Class: Aws::EC2::Types::ModifyManagedPrefixListRequest

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

{
  dry_run: false,
  prefix_list_id: "PrefixListResourceId", # required
  current_version: 1,
  prefix_list_name: "String",
  add_entries: [
    {
      cidr: "String", # required
      description: "String",
    },
  ],
  remove_entries: [
    {
      cidr: "String", # required
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#add_entriesArray<Types::AddPrefixListEntry>

One or more entries to add to the prefix list.

Returns:



34971
34972
34973
34974
34975
34976
34977
34978
34979
34980
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 34971

class ModifyManagedPrefixListRequest < Struct.new(
  :dry_run,
  :prefix_list_id,
  :current_version,
  :prefix_list_name,
  :add_entries,
  :remove_entries)
  SENSITIVE = []
  include Aws::Structure
end

#current_versionInteger

The current version of the prefix list.

Returns:

  • (Integer)


34971
34972
34973
34974
34975
34976
34977
34978
34979
34980
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 34971

class ModifyManagedPrefixListRequest < Struct.new(
  :dry_run,
  :prefix_list_id,
  :current_version,
  :prefix_list_name,
  :add_entries,
  :remove_entries)
  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)


34971
34972
34973
34974
34975
34976
34977
34978
34979
34980
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 34971

class ModifyManagedPrefixListRequest < Struct.new(
  :dry_run,
  :prefix_list_id,
  :current_version,
  :prefix_list_name,
  :add_entries,
  :remove_entries)
  SENSITIVE = []
  include Aws::Structure
end

#prefix_list_idString

The ID of the prefix list.

Returns:

  • (String)


34971
34972
34973
34974
34975
34976
34977
34978
34979
34980
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 34971

class ModifyManagedPrefixListRequest < Struct.new(
  :dry_run,
  :prefix_list_id,
  :current_version,
  :prefix_list_name,
  :add_entries,
  :remove_entries)
  SENSITIVE = []
  include Aws::Structure
end

#prefix_list_nameString

A name for the prefix list.

Returns:

  • (String)


34971
34972
34973
34974
34975
34976
34977
34978
34979
34980
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 34971

class ModifyManagedPrefixListRequest < Struct.new(
  :dry_run,
  :prefix_list_id,
  :current_version,
  :prefix_list_name,
  :add_entries,
  :remove_entries)
  SENSITIVE = []
  include Aws::Structure
end

#remove_entriesArray<Types::RemovePrefixListEntry>

One or more entries to remove from the prefix list.

Returns:



34971
34972
34973
34974
34975
34976
34977
34978
34979
34980
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 34971

class ModifyManagedPrefixListRequest < Struct.new(
  :dry_run,
  :prefix_list_id,
  :current_version,
  :prefix_list_name,
  :add_entries,
  :remove_entries)
  SENSITIVE = []
  include Aws::Structure
end