NAME

Paws::WAFV2::UpdateRegexPatternSet - Arguments for method UpdateRegexPatternSet on Paws::WAFV2

DESCRIPTION

This class represents the parameters used for calling the method UpdateRegexPatternSet on the AWS WAFV2 service. Use the attributes of this class as arguments to method UpdateRegexPatternSet.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateRegexPatternSet.

SYNOPSIS

my $wafv2 = Paws->service('WAFV2');
my $UpdateRegexPatternSetResponse = $wafv2->UpdateRegexPatternSet(
  Id                    => 'MyEntityId',
  LockToken             => 'MyLockToken',
  Name                  => 'MyEntityName',
  RegularExpressionList => [
    {
      RegexString => 'MyRegexPatternString',    # min: 1, max: 512; OPTIONAL
    },
    ...
  ],
  Scope       => 'CLOUDFRONT',
  Description => 'MyEntityDescription',    # OPTIONAL
);

# Results:
my $NextLockToken = $UpdateRegexPatternSetResponse->NextLockToken;

# Returns a L<Paws::WAFV2::UpdateRegexPatternSetResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/wafv2/UpdateRegexPatternSet

ATTRIBUTES

Description => Str

A description of the set that helps with identification.

REQUIRED Id => Str

A unique identifier for the set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.

REQUIRED LockToken => Str

A token used for optimistic locking. WAF returns a token to your get and list requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update and delete. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException. If this happens, perform another get, and use the new token returned by that operation.

REQUIRED Name => Str

The name of the set. You cannot change the name after you create the set.

REQUIRED RegularExpressionList => ArrayRef[Paws::WAFV2::Regex]

REQUIRED Scope => Str

Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync GraphQL API.

To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:

  • CLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1.

  • API and SDKs - For all calls, use the Region endpoint us-east-1.

Valid values are: "CLOUDFRONT", "REGIONAL"

SEE ALSO

This class forms part of Paws, documenting arguments for method UpdateRegexPatternSet in Paws::WAFV2

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues