Class | AWS::Glacier::ArchiveCollection |
In: |
lib/aws/glacier/archive_collection.rb
|
Parent: | Object |
account_id | [R] | @return [String] |
vault | [R] | @return [Vault] |
@param [Vault] vault @param [Hash] options @option options [String] :account_id
Creates an archive by uploading a file to a vault. @param [File,Pathname,IO,String] data The data to upload.
If `data` is a string, this is treated as a path to a file on disk.
@param [Hash] options @option options [String] description @return [Archive]
Computes two checksums in a single pass of the data:
The tree hash is required by the streaming operations, the simple hash is required for generating the signature (via sigv4).
The sigv4 module will compute the hash of the payload for us, but that requires reading the data a 2nd time. :(