Class: Aws::EC2::Types::EnableFastSnapshotRestoresRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Note:

When making an API call, you may pass EnableFastSnapshotRestoresRequest data as a hash:

{
  availability_zones: ["String"], # required
  source_snapshot_ids: ["SnapshotId"], # required
  dry_run: false,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#availability_zonesArray<String>

One or more Availability Zones. For example, us-east-2a.

Returns:

  • (Array<String>)


25105
25106
25107
25108
25109
25110
25111
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25105

class EnableFastSnapshotRestoresRequest < Struct.new(
  :availability_zones,
  :source_snapshot_ids,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#dry_runBoolean

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.

Returns:

  • (Boolean)


25105
25106
25107
25108
25109
25110
25111
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25105

class EnableFastSnapshotRestoresRequest < Struct.new(
  :availability_zones,
  :source_snapshot_ids,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end

#source_snapshot_idsArray<String>

The IDs of one or more snapshots. For example, snap-1234567890abcdef0. You can specify a snapshot that was shared with you from another AWS account.

Returns:

  • (Array<String>)


25105
25106
25107
25108
25109
25110
25111
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 25105

class EnableFastSnapshotRestoresRequest < Struct.new(
  :availability_zones,
  :source_snapshot_ids,
  :dry_run)
  SENSITIVE = []
  include Aws::Structure
end