Skip to content

List Snapshots In Recycle Bin

ec2_list_snapshots_in_recycle_bin R Documentation

Lists one or more snapshots that are currently in the Recycle Bin

Description

Lists one or more snapshots that are currently in the Recycle Bin.

Usage

ec2_list_snapshots_in_recycle_bin(MaxResults, NextToken, SnapshotIds,
  DryRun)

Arguments

MaxResults

The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.

NextToken

The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

SnapshotIds

The IDs of the snapshots to list. Omit this parameter to list all of the snapshots that are in the Recycle Bin.

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(
  Snapshots = list(
    list(
      SnapshotId = "string",
      RecycleBinEnterTime = as.POSIXct(
        "2015-01-01"
      ),
      RecycleBinExitTime = as.POSIXct(
        "2015-01-01"
      ),
      Description = "string",
      VolumeId = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_snapshots_in_recycle_bin(
  MaxResults = 123,
  NextToken = "string",
  SnapshotIds = list(
    "string"
  ),
  DryRun = TRUE|FALSE
)