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)


58135
58136
58137
58138
58139
58140
58141
58142
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 58135

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)


58135
58136
58137
58138
58139
58140
58141
58142
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 58135

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)


58135
58136
58137
58138
58139
58140
58141
58142
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 58135

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)


58135
58136
58137
58138
58139
58140
58141
58142
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 58135

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