You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::WAF::Types::UpdateXssMatchSetRequest

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

{
  xss_match_set_id: "ResourceId", # required
  change_token: "ChangeToken", # required
  updates: [ # required
    {
      action: "INSERT", # required, accepts INSERT, DELETE
      xss_match_tuple: { # required
        field_to_match: { # required
          type: "URI", # required, accepts URI, QUERY_STRING, HEADER, METHOD, BODY
          data: "MatchFieldData",
        },
        text_transformation: "NONE", # required, accepts NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE
      },
    },
  ],
}

A request to update an XssMatchSet.

Instance Attribute Summary collapse

Instance Attribute Details

#change_tokenString

The value returned by the most recent call to GetChangeToken.

Returns:

  • (String)


3658
3659
3660
3661
3662
3663
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 3658

class UpdateXssMatchSetRequest < Struct.new(
  :xss_match_set_id,
  :change_token,
  :updates)
  include Aws::Structure
end

#updatesArray<Types::XssMatchSetUpdate>

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

  • XssMatchSetUpdate: Contains Action and XssMatchTuple

  • XssMatchTuple: Contains FieldToMatch and TextTransformation

  • FieldToMatch: Contains Data and Type

Returns:



3658
3659
3660
3661
3662
3663
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 3658

class UpdateXssMatchSetRequest < Struct.new(
  :xss_match_set_id,
  :change_token,
  :updates)
  include Aws::Structure
end

#xss_match_set_idString

The XssMatchSetId of the XssMatchSet that you want to update. XssMatchSetId is returned by CreateXssMatchSet and by ListXssMatchSets.

Returns:

  • (String)


3658
3659
3660
3661
3662
3663
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 3658

class UpdateXssMatchSetRequest < Struct.new(
  :xss_match_set_id,
  :change_token,
  :updates)
  include Aws::Structure
end