Class: Aws::WAF::Types::UpdateIPSetRequest

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

Overview

Note:

When making an API call, you may pass UpdateIPSetRequest data as a hash:

{
  ip_set_id: "ResourceId", # required
  change_token: "ChangeToken", # required
  updates: [ # required
    {
      action: "INSERT", # required, accepts INSERT, DELETE
      ip_set_descriptor: { # required
        type: "IPV4", # required, accepts IPV4, IPV6
        value: "IPSetDescriptorValue", # required
      },
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#change_tokenString

The value returned by the most recent call to GetChangeToken.

Returns:

  • (String)


6224
6225
6226
6227
6228
6229
6230
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 6224

class UpdateIPSetRequest < Struct.new(
  :ip_set_id,
  :change_token,
  :updates)
  SENSITIVE = []
  include Aws::Structure
end

#ip_set_idString

The IPSetId of the IPSet that you want to update. IPSetId is returned by CreateIPSet and by ListIPSets.

Returns:

  • (String)


6224
6225
6226
6227
6228
6229
6230
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 6224

class UpdateIPSetRequest < Struct.new(
  :ip_set_id,
  :change_token,
  :updates)
  SENSITIVE = []
  include Aws::Structure
end

#updatesArray<Types::IPSetUpdate>

An array of IPSetUpdate objects that you want to insert into or delete from an IPSet. For more information, see the applicable data types:

  • IPSetUpdate: Contains Action and IPSetDescriptor

  • IPSetDescriptor: Contains Type and Value

You can insert a maximum of 1000 addresses in a single request.

Returns:



6224
6225
6226
6227
6228
6229
6230
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 6224

class UpdateIPSetRequest < Struct.new(
  :ip_set_id,
  :change_token,
  :updates)
  SENSITIVE = []
  include Aws::Structure
end