This operation adds an archive to a vault. This is a synchronous operation, and for a successful upload, your data is durably persisted. Amazon S3 Glacier returns the archive ID in the x-amz-archive-id
header of the response.
See https://www.paws-r-sdk.com/docs/glacier_upload_archive/ for full documentation.
glacier_upload_archive(
vaultName,
accountId,
archiveDescription = NULL,
checksum = NULL,
body = NULL
)
[required] The name of the vault.
[required] The AccountId
value is the AWS account ID of the account that owns the
vault. You can either specify an AWS account ID or optionally a single
'-
' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID
associated with the credentials used to sign the request. If you use an
account ID, do not include any hyphens ('-') in the ID.
The optional description of the archive you are uploading.
The SHA256 tree hash of the data being uploaded.
The data to upload.