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>)


31768
31769
31770
31771
31772
31773
31774
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 31768

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)


31768
31769
31770
31771
31772
31773
31774
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 31768

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 Amazon Web Services account.

Returns:

  • (Array<String>)


31768
31769
31770
31771
31772
31773
31774
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 31768

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