blib/lib/Paws/CloudFront/AliasICPRecordal.pm untested

filter: Statementstmt 0.0% 0 / 5 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 6 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::CloudFront::AliasICPRecordal;
3 use Moose;
4 has CNAME => (is => 'ro', isa => 'Str');
5 has ICPRecordalStatus => (is => 'ro', isa => 'Str');
6  
7 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::CloudFront::AliasICPRecordal
14  
15 =head1 USAGE
16  
17 This class represents one of two things:
18  
19 =head3 Arguments in a call to a service
20  
21 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22 Each attribute should be used as a named argument in the calls that expect this type of object.
23  
24 As an example, if Att1 is expected to be a Paws::CloudFront::AliasICPRecordal object:
25  
26 $service_obj->Method(Att1 => { CNAME => $value, ..., ICPRecordalStatus => $value });
27  
28 =head3 Results returned from an API call
29  
30 Use accessors for each attribute. If Att1 is expected to be an Paws::CloudFront::AliasICPRecordal object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->CNAME
34  
35 =head1 DESCRIPTION
36  
37 AWS services in China customers must file for an Internet Content
38 Provider (ICP) recordal if they want to serve content publicly on an
39 alternate domain name, also known as a CNAME, that they've added to
40 CloudFront. AliasICPRecordal provides the ICP recordal status for
41 CNAMEs associated with distributions. The status is returned in the
42 CloudFront response; you can't configure it yourself.
43  
44 For more information about ICP recordals, see Signup, Accounts, and
45 Credentials
46 (https://docs.amazonaws.cn/en_us/aws/latest/userguide/accounts-and-credentials.html)
47 in I<Getting Started with AWS services in China>.
48  
49 =head1 ATTRIBUTES
50  
51  
52 =head2 CNAME => Str
53  
54 A domain name associated with a distribution.
55  
56  
57 =head2 ICPRecordalStatus => Str
58  
59 The Internet Content Provider (ICP) recordal status for a CNAME. The
60 ICPRecordalStatus is set to APPROVED for all CNAMEs (aliases) in
61 regions outside of China.
62  
63 The status values returned are the following:
64  
65 =over
66  
67 =item *
68  
69 B<APPROVED> indicates that the associated CNAME has a valid ICP
70 recordal number. Multiple CNAMEs can be associated with a distribution,
71 and CNAMEs can correspond to different ICP recordals. To be marked as
72 APPROVED, that is, valid to use with China region, a CNAME must have
73 one ICP recordal number associated with it.
74  
75 =item *
76  
77 B<SUSPENDED> indicates that the associated CNAME does not have a valid
78 ICP recordal number.
79  
80 =item *
81  
82 B<PENDING> indicates that CloudFront can't determine the ICP recordal
83 status of the CNAME associated with the distribution because there was
84 an error in trying to determine the status. You can try again to see if
85 the error is resolved in which case CloudFront returns an APPROVED or
86 SUSPENDED status.
87  
88 =back
89  
90  
91  
92  
93 =head1 SEE ALSO
94  
95 This class forms part of L<Paws>, describing an object used in L<Paws::CloudFront>
96  
97 =head1 BUGS and CONTRIBUTIONS
98  
99 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
100  
101 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
102  
103 =cut
104