« blib/lib/Paws/WAFV2/DeleteRuleGroupResponse.pm
↑ Summary
blib/lib/Paws/WAFV2/DeleteWebACLResponse.pm »
| 1 | |||
| 2 | package Paws::WAFV2::DeleteWebACL; | ||
| 3 | use Moose; | ||
| 4 | has Id => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has LockToken => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | has Name => (is => 'ro', isa => 'Str', required => 1); | ||
| 7 | has Scope => (is => 'ro', isa => 'Str', required => 1); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'DeleteWebACL'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::WAFV2::DeleteWebACLResponse'); | ||
| 13 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::WAFV2::DeleteWebACL - Arguments for method DeleteWebACL on L<Paws::WAFV2> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method DeleteWebACL on the | ||
| 25 | L<AWS WAFV2|Paws::WAFV2> service. Use the attributes of this class | ||
| 26 | as arguments to method DeleteWebACL. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DeleteWebACL. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $wafv2 = Paws->service('WAFV2'); | ||
| 33 | my $DeleteWebACLResponse = $wafv2->DeleteWebACL( | ||
| 34 | Id => 'MyEntityId', | ||
| 35 | LockToken => 'MyLockToken', | ||
| 36 | Name => 'MyEntityName', | ||
| 37 | Scope => 'CLOUDFRONT', | ||
| 38 | |||
| 39 | ); | ||
| 40 | |||
| 41 | 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. | ||
| 42 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/wafv2/DeleteWebACL> | ||
| 43 | |||
| 44 | =head1 ATTRIBUTES | ||
| 45 | |||
| 46 | |||
| 47 | =head2 B<REQUIRED> Id => Str | ||
| 48 | |||
| 49 | The unique identifier for the web ACL. This ID is returned in the | ||
| 50 | responses to create and list commands. You provide it to operations | ||
| 51 | like update and delete. | ||
| 52 | |||
| 53 | |||
| 54 | |||
| 55 | =head2 B<REQUIRED> LockToken => Str | ||
| 56 | |||
| 57 | A token used for optimistic locking. WAF returns a token to your get | ||
| 58 | and list requests, to mark the state of the entity at the time of the | ||
| 59 | request. To make changes to the entity associated with the token, you | ||
| 60 | provide the token to operations like update and delete. WAF uses the | ||
| 61 | token to ensure that no changes have been made to the entity since you | ||
| 62 | last retrieved it. If a change has been made, the update fails with a | ||
| 63 | C<WAFOptimisticLockException>. If this happens, perform another get, | ||
| 64 | and use the new token returned by that operation. | ||
| 65 | |||
| 66 | |||
| 67 | |||
| 68 | =head2 B<REQUIRED> Name => Str | ||
| 69 | |||
| 70 | The name of the web ACL. You cannot change the name of a web ACL after | ||
| 71 | you create it. | ||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | =head2 B<REQUIRED> Scope => Str | ||
| 76 | |||
| 77 | Specifies whether this is for an Amazon CloudFront distribution or for | ||
| 78 | a regional application. A regional application can be an Application | ||
| 79 | Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync | ||
| 80 | GraphQL API. | ||
| 81 | |||
| 82 | To work with CloudFront, you must also specify the Region US East (N. | ||
| 83 | Virginia) as follows: | ||
| 84 | |||
| 85 | =over | ||
| 86 | |||
| 87 | =item * | ||
| 88 | |||
| 89 | CLI - Specify the Region when you use the CloudFront scope: | ||
| 90 | C<--scope=CLOUDFRONT --region=us-east-1>. | ||
| 91 | |||
| 92 | =item * | ||
| 93 | |||
| 94 | API and SDKs - For all calls, use the Region endpoint us-east-1. | ||
| 95 | |||
| 96 | =back | ||
| 97 | |||
| 98 | |||
| 99 | Valid values are: C<"CLOUDFRONT">, C<"REGIONAL"> | ||
| 100 | |||
| 101 | |||
| 102 | =head1 SEE ALSO | ||
| 103 | |||
| 104 | This class forms part of L<Paws>, documenting arguments for method DeleteWebACL in L<Paws::WAFV2> | ||
| 105 | |||
| 106 | =head1 BUGS and CONTRIBUTIONS | ||
| 107 | |||
| 108 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 109 | |||
| 110 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 111 | |||
| 112 | =cut | ||
| 113 |