« blib/lib/Paws/Route53Resolver/UpdateFirewallConfigResponse.pm
↑ Summary
blib/lib/Paws/Route53Resolver/UpdateFirewallDomainsResponse.pm »
| 1 | |||
| 2 | package Paws::Route53Resolver::UpdateFirewallDomains; | ||
| 3 | use Moose; | ||
| 4 | has Domains => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1); | ||
| 5 | has FirewallDomainListId => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | has Operation => (is => 'ro', isa => 'Str', required => 1); | ||
| 7 | |||
| 8 | use MooseX::ClassAttribute; | ||
| 9 | |||
| 10 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateFirewallDomains'); | ||
| 11 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Route53Resolver::UpdateFirewallDomainsResponse'); | ||
| 12 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::Route53Resolver::UpdateFirewallDomains - Arguments for method UpdateFirewallDomains on L<Paws::Route53Resolver> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method UpdateFirewallDomains on the | ||
| 24 | L<Amazon Route 53 Resolver|Paws::Route53Resolver> service. Use the attributes of this class | ||
| 25 | as arguments to method UpdateFirewallDomains. | ||
| 26 | |||
| 27 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateFirewallDomains. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $route53resolver = Paws->service('Route53Resolver'); | ||
| 32 | my $UpdateFirewallDomainsResponse = $route53resolver->UpdateFirewallDomains( | ||
| 33 | Domains => [ | ||
| 34 | 'MyFirewallDomainName', ... # min: 1, max: 255 | ||
| 35 | ], | ||
| 36 | FirewallDomainListId => 'MyResourceId', | ||
| 37 | Operation => 'ADD', | ||
| 38 | |||
| 39 | ); | ||
| 40 | |||
| 41 | # Results: | ||
| 42 | my $Id = $UpdateFirewallDomainsResponse->Id; | ||
| 43 | my $Name = $UpdateFirewallDomainsResponse->Name; | ||
| 44 | my $Status = $UpdateFirewallDomainsResponse->Status; | ||
| 45 | my $StatusMessage = $UpdateFirewallDomainsResponse->StatusMessage; | ||
| 46 | |||
| 47 | # Returns a L<Paws::Route53Resolver::UpdateFirewallDomainsResponse> object. | ||
| 48 | |||
| 49 | 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. | ||
| 50 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/route53resolver/UpdateFirewallDomains> | ||
| 51 | |||
| 52 | =head1 ATTRIBUTES | ||
| 53 | |||
| 54 | |||
| 55 | =head2 B<REQUIRED> Domains => ArrayRef[Str|Undef] | ||
| 56 | |||
| 57 | A list of domains to use in the update operation. | ||
| 58 | |||
| 59 | Each domain specification in your domain list must satisfy the | ||
| 60 | following requirements: | ||
| 61 | |||
| 62 | =over | ||
| 63 | |||
| 64 | =item * | ||
| 65 | |||
| 66 | It can optionally start with C<*> (asterisk). | ||
| 67 | |||
| 68 | =item * | ||
| 69 | |||
| 70 | With the exception of the optional starting asterisk, it must only | ||
| 71 | contain the following characters: C<A-Z>, C<a-z>, C<0-9>, C<-> | ||
| 72 | (hyphen). | ||
| 73 | |||
| 74 | =item * | ||
| 75 | |||
| 76 | It must be from 1-255 characters in length. | ||
| 77 | |||
| 78 | =back | ||
| 79 | |||
| 80 | |||
| 81 | |||
| 82 | |||
| 83 | =head2 B<REQUIRED> FirewallDomainListId => Str | ||
| 84 | |||
| 85 | The ID of the domain list whose domains you want to update. | ||
| 86 | |||
| 87 | |||
| 88 | |||
| 89 | =head2 B<REQUIRED> Operation => Str | ||
| 90 | |||
| 91 | What you want DNS Firewall to do with the domains that you are | ||
| 92 | providing: | ||
| 93 | |||
| 94 | =over | ||
| 95 | |||
| 96 | =item * | ||
| 97 | |||
| 98 | C<ADD> - Add the domains to the ones that are already in the domain | ||
| 99 | list. | ||
| 100 | |||
| 101 | =item * | ||
| 102 | |||
| 103 | C<REMOVE> - Search the domain list for the domains and remove them from | ||
| 104 | the list. | ||
| 105 | |||
| 106 | =item * | ||
| 107 | |||
| 108 | C<REPLACE> - Update the domain list to exactly match the list that you | ||
| 109 | are providing. | ||
| 110 | |||
| 111 | =back | ||
| 112 | |||
| 113 | |||
| 114 | Valid values are: C<"ADD">, C<"REMOVE">, C<"REPLACE"> | ||
| 115 | |||
| 116 | |||
| 117 | =head1 SEE ALSO | ||
| 118 | |||
| 119 | This class forms part of L<Paws>, documenting arguments for method UpdateFirewallDomains in L<Paws::Route53Resolver> | ||
| 120 | |||
| 121 | =head1 BUGS and CONTRIBUTIONS | ||
| 122 | |||
| 123 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 124 | |||
| 125 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 126 | |||
| 127 | =cut | ||
| 128 |