« blib/lib/Paws/Route53Resolver/CreateResolverEndpointResponse.pm
↑ Summary
blib/lib/Paws/Route53Resolver/CreateResolverQueryLogConfigResponse.pm »
| 1 | |||
| 2 | package Paws::Route53Resolver::CreateResolverQueryLogConfig; | ||
| 3 | use Moose; | ||
| 4 | has CreatorRequestId => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has DestinationArn => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | has Name => (is => 'ro', isa => 'Str', required => 1); | ||
| 7 | has Tags => (is => 'ro', isa => 'ArrayRef[Paws::Route53Resolver::Tag]'); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateResolverQueryLogConfig'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Route53Resolver::CreateResolverQueryLogConfigResponse'); | ||
| 13 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::Route53Resolver::CreateResolverQueryLogConfig - Arguments for method CreateResolverQueryLogConfig on L<Paws::Route53Resolver> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method CreateResolverQueryLogConfig on the | ||
| 25 | L<Amazon Route 53 Resolver|Paws::Route53Resolver> service. Use the attributes of this class | ||
| 26 | as arguments to method CreateResolverQueryLogConfig. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateResolverQueryLogConfig. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $route53resolver = Paws->service('Route53Resolver'); | ||
| 33 | my $CreateResolverQueryLogConfigResponse = | ||
| 34 | $route53resolver->CreateResolverQueryLogConfig( | ||
| 35 | CreatorRequestId => 'MyCreatorRequestId', | ||
| 36 | DestinationArn => 'MyDestinationArn', | ||
| 37 | Name => 'MyResolverQueryLogConfigName', | ||
| 38 | Tags => [ | ||
| 39 | { | ||
| 40 | Key => 'MyTagKey', # min: 1, max: 128 | ||
| 41 | Value => 'MyTagValue', # max: 256 | ||
| 42 | |||
| 43 | }, | ||
| 44 | ... | ||
| 45 | ], # OPTIONAL | ||
| 46 | ); | ||
| 47 | |||
| 48 | # Results: | ||
| 49 | my $ResolverQueryLogConfig = | ||
| 50 | $CreateResolverQueryLogConfigResponse->ResolverQueryLogConfig; | ||
| 51 | |||
| 52 | # Returns a L<Paws::Route53Resolver::CreateResolverQueryLogConfigResponse> object. | ||
| 53 | |||
| 54 | 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. | ||
| 55 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/route53resolver/CreateResolverQueryLogConfig> | ||
| 56 | |||
| 57 | =head1 ATTRIBUTES | ||
| 58 | |||
| 59 | |||
| 60 | =head2 B<REQUIRED> CreatorRequestId => Str | ||
| 61 | |||
| 62 | A unique string that identifies the request and that allows failed | ||
| 63 | requests to be retried without the risk of running the operation twice. | ||
| 64 | C<CreatorRequestId> can be any unique string, for example, a date/time | ||
| 65 | stamp. | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | =head2 B<REQUIRED> DestinationArn => Str | ||
| 70 | |||
| 71 | The ARN of the resource that you want Resolver to send query logs. You | ||
| 72 | can send query logs to an S3 bucket, a CloudWatch Logs log group, or a | ||
| 73 | Kinesis Data Firehose delivery stream. Examples of valid values include | ||
| 74 | the following: | ||
| 75 | |||
| 76 | =over | ||
| 77 | |||
| 78 | =item * | ||
| 79 | |||
| 80 | B<S3 bucket>: | ||
| 81 | |||
| 82 | C<arn:aws:s3:::examplebucket> | ||
| 83 | |||
| 84 | You can optionally append a file prefix to the end of the ARN. | ||
| 85 | |||
| 86 | C<arn:aws:s3:::examplebucket/development/> | ||
| 87 | |||
| 88 | =item * | ||
| 89 | |||
| 90 | B<CloudWatch Logs log group>: | ||
| 91 | |||
| 92 | C<arn:aws:logs:us-west-1:123456789012:log-group:/mystack-testgroup-12ABC1AB12A1:*> | ||
| 93 | |||
| 94 | =item * | ||
| 95 | |||
| 96 | B<Kinesis Data Firehose delivery stream>: | ||
| 97 | |||
| 98 | C<arn:aws:kinesis:us-east-2:0123456789:stream/my_stream_name> | ||
| 99 | |||
| 100 | =back | ||
| 101 | |||
| 102 | |||
| 103 | |||
| 104 | |||
| 105 | =head2 B<REQUIRED> Name => Str | ||
| 106 | |||
| 107 | The name that you want to give the query logging configuration. | ||
| 108 | |||
| 109 | |||
| 110 | |||
| 111 | =head2 Tags => ArrayRef[L<Paws::Route53Resolver::Tag>] | ||
| 112 | |||
| 113 | A list of the tag keys and values that you want to associate with the | ||
| 114 | query logging configuration. | ||
| 115 | |||
| 116 | |||
| 117 | |||
| 118 | |||
| 119 | =head1 SEE ALSO | ||
| 120 | |||
| 121 | This class forms part of L<Paws>, documenting arguments for method CreateResolverQueryLogConfig in L<Paws::Route53Resolver> | ||
| 122 | |||
| 123 | =head1 BUGS and CONTRIBUTIONS | ||
| 124 | |||
| 125 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 126 | |||
| 127 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 128 | |||
| 129 | =cut | ||
| 130 |