Skip to content

Disable Fast Snapshot Restores

ec2_disable_fast_snapshot_restores R Documentation

Disables fast snapshot restores for the specified snapshots in the specified Availability Zones

Description

Disables fast snapshot restores for the specified snapshots in the specified Availability Zones.

Usage

ec2_disable_fast_snapshot_restores(AvailabilityZones, SourceSnapshotIds,
  DryRun)

Arguments

AvailabilityZones

[required] One or more Availability Zones. For example, ⁠us-east-2a⁠.

SourceSnapshotIds

[required] The IDs of one or more snapshots. For example, ⁠snap-1234567890abcdef0⁠.

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(
  Successful = list(
    list(
      SnapshotId = "string",
      AvailabilityZone = "string",
      State = "enabling"|"optimizing"|"enabled"|"disabling"|"disabled",
      StateTransitionReason = "string",
      OwnerId = "string",
      OwnerAlias = "string",
      EnablingTime = as.POSIXct(
        "2015-01-01"
      ),
      OptimizingTime = as.POSIXct(
        "2015-01-01"
      ),
      EnabledTime = as.POSIXct(
        "2015-01-01"
      ),
      DisablingTime = as.POSIXct(
        "2015-01-01"
      ),
      DisabledTime = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  Unsuccessful = list(
    list(
      SnapshotId = "string",
      FastSnapshotRestoreStateErrors = list(
        list(
          AvailabilityZone = "string",
          Error = list(
            Code = "string",
            Message = "string"
          )
        )
      )
    )
  )
)

Request syntax

svc$disable_fast_snapshot_restores(
  AvailabilityZones = list(
    "string"
  ),
  SourceSnapshotIds = list(
    "string"
  ),
  DryRun = TRUE|FALSE
)