Learn R Programming

paws.storage (version 0.7.0)

glacier_upload_archive: This operation adds an archive to a vault

Description

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.

Usage

glacier_upload_archive(
  vaultName,
  accountId,
  archiveDescription = NULL,
  checksum = NULL,
  body = NULL
)

Arguments

vaultName

[required] The name of the vault.

accountId

[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.

archiveDescription

The optional description of the archive you are uploading.

checksum

The SHA256 tree hash of the data being uploaded.

body

The data to upload.