Skip to content

Modify Snapshot Tier

ec2_modify_snapshot_tier R Documentation

Archives an Amazon EBS snapshot

Description

Archives an Amazon EBS snapshot. When you archive a snapshot, it is converted to a full snapshot that includes all of the blocks of data that were written to the volume at the time the snapshot was created, and moved from the standard tier to the archive tier. For more information, see Archive Amazon EBS snapshots in the Amazon EBS User Guide.

Usage

ec2_modify_snapshot_tier(SnapshotId, StorageTier, DryRun)

Arguments

SnapshotId

[required] The ID of the snapshot.

StorageTier

The name of the storage tier. You must specify archive.

DryRun

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Value

A list with the following syntax:

list(
  SnapshotId = "string",
  TieringStartTime = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$modify_snapshot_tier(
  SnapshotId = "string",
  StorageTier = "archive",
  DryRun = TRUE|FALSE
)