File Coverage

blib/lib/Paws/CloudFront/CloudFrontOriginAccessIdentityConfig.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::CloudFront::CloudFrontOriginAccessIdentityConfig;
2 1     1   459 use Moose;
  1         3  
  1         6  
3             has CallerReference => (is => 'ro', isa => 'Str', required => 1);
4             has Comment => (is => 'ro', isa => 'Str', required => 1);
5             1;
6              
7             ### main pod documentation begin ###
8              
9             =head1 NAME
10              
11             Paws::CloudFront::CloudFrontOriginAccessIdentityConfig
12              
13             =head1 USAGE
14              
15             This class represents one of two things:
16              
17             =head3 Arguments in a call to a service
18              
19             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
20             Each attribute should be used as a named argument in the calls that expect this type of object.
21              
22             As an example, if Att1 is expected to be a Paws::CloudFront::CloudFrontOriginAccessIdentityConfig object:
23              
24             $service_obj->Method(Att1 => { CallerReference => $value, ..., Comment => $value });
25              
26             =head3 Results returned from an API call
27              
28             Use accessors for each attribute. If Att1 is expected to be an Paws::CloudFront::CloudFrontOriginAccessIdentityConfig object:
29              
30             $result = $service_obj->Method(...);
31             $result->Att1->CallerReference
32              
33             =head1 DESCRIPTION
34              
35             Origin access identity configuration. Send a C<GET> request to the
36             C</I<CloudFront API version>/CloudFront/identity ID/config> resource.
37              
38             =head1 ATTRIBUTES
39              
40              
41             =head2 B<REQUIRED> CallerReference => Str
42              
43             A unique number that ensures the request can't be replayed.
44              
45             If the C<CallerReference> is new (no matter the content of the
46             C<CloudFrontOriginAccessIdentityConfig> object), a new origin access
47             identity is created.
48              
49             If the C<CallerReference> is a value already sent in a previous
50             identity request, and the content of the
51             C<CloudFrontOriginAccessIdentityConfig> is identical to the original
52             request (ignoring white space), the response includes the same
53             information returned to the original request.
54              
55             If the C<CallerReference> is a value you already sent in a previous
56             request to create an identity, but the content of the
57             C<CloudFrontOriginAccessIdentityConfig> is different from the original
58             request, CloudFront returns a
59             C<CloudFrontOriginAccessIdentityAlreadyExists> error.
60              
61              
62             =head2 B<REQUIRED> Comment => Str
63              
64             Any comments you want to include about the origin access identity.
65              
66              
67              
68             =head1 SEE ALSO
69              
70             This class forms part of L<Paws>, describing an object used in L<Paws::CloudFront>
71              
72             =head1 BUGS and CONTRIBUTIONS
73              
74             The source code is located here: https://github.com/pplu/aws-sdk-perl
75              
76             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
77              
78             =cut
79