Class: Aws::EC2::Types::RestoreManagedPrefixListVersionRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#current_versionInteger

The current version number for the prefix list.

Returns:

  • (Integer)


58211
58212
58213
58214
58215
58216
58217
58218
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 58211

class RestoreManagedPrefixListVersionRequest < Struct.new(
  :dry_run,
  :prefix_list_id,
  :previous_version,
  :current_version)
  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)


58211
58212
58213
58214
58215
58216
58217
58218
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 58211

class RestoreManagedPrefixListVersionRequest < Struct.new(
  :dry_run,
  :prefix_list_id,
  :previous_version,
  :current_version)
  SENSITIVE = []
  include Aws::Structure
end

#prefix_list_idString

The ID of the prefix list.

Returns:

  • (String)


58211
58212
58213
58214
58215
58216
58217
58218
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 58211

class RestoreManagedPrefixListVersionRequest < Struct.new(
  :dry_run,
  :prefix_list_id,
  :previous_version,
  :current_version)
  SENSITIVE = []
  include Aws::Structure
end

#previous_versionInteger

The version to restore.

Returns:

  • (Integer)


58211
58212
58213
58214
58215
58216
58217
58218
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 58211

class RestoreManagedPrefixListVersionRequest < Struct.new(
  :dry_run,
  :prefix_list_id,
  :previous_version,
  :current_version)
  SENSITIVE = []
  include Aws::Structure
end