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

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 RestoreManagedPrefixListVersionRequest data as a hash:

{
  dry_run: false,
  prefix_list_id: "PrefixListResourceId", # required
  previous_version: 1, # required
  current_version: 1, # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#current_versionInteger

The current version number for the prefix list.

Returns:

  • (Integer)


42203
42204
42205
42206
42207
42208
42209
42210
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 42203

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)


42203
42204
42205
42206
42207
42208
42209
42210
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 42203

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)


42203
42204
42205
42206
42207
42208
42209
42210
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 42203

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)


42203
42204
42205
42206
42207
42208
42209
42210
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 42203

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