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


24526
24527
24528
24529
24530
24531
24532
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24526

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)


24526
24527
24528
24529
24530
24531
24532
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24526

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


24526
24527
24528
24529
24530
24531
24532
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 24526

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