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)


58027
58028
58029
58030
58031
58032
58033
58034
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 58027

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)


58027
58028
58029
58030
58031
58032
58033
58034
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 58027

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)


58027
58028
58029
58030
58031
58032
58033
58034
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 58027

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)


58027
58028
58029
58030
58031
58032
58033
58034
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 58027

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