blib/lib/Paws/Amplify/DomainAssociation.pm untested

filter: Statementstmt 0.0% 0 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 22 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Amplify::DomainAssociation;
3 use Moose;
4 has AutoSubDomainCreationPatterns => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'autoSubDomainCreationPatterns', traits => ['NameInRequest']);
5 has AutoSubDomainIAMRole => (is => 'ro', isa => 'Str', request_name => 'autoSubDomainIAMRole', traits => ['NameInRequest']);
6 has CertificateVerificationDNSRecord => (is => 'ro', isa => 'Str', request_name => 'certificateVerificationDNSRecord', traits => ['NameInRequest']);
7 has DomainAssociationArn => (is => 'ro', isa => 'Str', request_name => 'domainAssociationArn', traits => ['NameInRequest'], required => 1);
8 has DomainName => (is => 'ro', isa => 'Str', request_name => 'domainName', traits => ['NameInRequest'], required => 1);
9 has DomainStatus => (is => 'ro', isa => 'Str', request_name => 'domainStatus', traits => ['NameInRequest'], required => 1);
10 has EnableAutoSubDomain => (is => 'ro', isa => 'Bool', request_name => 'enableAutoSubDomain', traits => ['NameInRequest'], required => 1);
11 has StatusReason => (is => 'ro', isa => 'Str', request_name => 'statusReason', traits => ['NameInRequest'], required => 1);
12 has SubDomains => (is => 'ro', isa => 'ArrayRef[Paws::Amplify::SubDomain]', request_name => 'subDomains', traits => ['NameInRequest'], required => 1);
13  
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::Amplify::DomainAssociation
21  
22 =head1 USAGE
23  
24 This class represents one of two things:
25  
26 =head3 Arguments in a call to a service
27  
28 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
29 Each attribute should be used as a named argument in the calls that expect this type of object.
30  
31 As an example, if Att1 is expected to be a Paws::Amplify::DomainAssociation object:
32  
33 $service_obj->Method(Att1 => { AutoSubDomainCreationPatterns => $value, ..., SubDomains => $value });
34  
35 =head3 Results returned from an API call
36  
37 Use accessors for each attribute. If Att1 is expected to be an Paws::Amplify::DomainAssociation object:
38  
39 $result = $service_obj->Method(...);
40 $result->Att1->AutoSubDomainCreationPatterns
41  
42 =head1 DESCRIPTION
43  
44 Describes a domain association that associates a custom domain with an
45 Amplify app.
46  
47 =head1 ATTRIBUTES
48  
49  
50 =head2 AutoSubDomainCreationPatterns => ArrayRef[Str|Undef]
51  
52 Sets branch patterns for automatic subdomain creation.
53  
54  
55 =head2 AutoSubDomainIAMRole => Str
56  
57 The required AWS Identity and Access Management (IAM) service role for
58 the Amazon Resource Name (ARN) for automatically creating subdomains.
59  
60  
61 =head2 CertificateVerificationDNSRecord => Str
62  
63 The DNS record for certificate verification.
64  
65  
66 =head2 B<REQUIRED> DomainAssociationArn => Str
67  
68 The Amazon Resource Name (ARN) for the domain association.
69  
70  
71 =head2 B<REQUIRED> DomainName => Str
72  
73 The name of the domain.
74  
75  
76 =head2 B<REQUIRED> DomainStatus => Str
77  
78 The current status of the domain association.
79  
80  
81 =head2 B<REQUIRED> EnableAutoSubDomain => Bool
82  
83 Enables the automated creation of subdomains for branches.
84  
85  
86 =head2 B<REQUIRED> StatusReason => Str
87  
88 The reason for the current status of the domain association.
89  
90  
91 =head2 B<REQUIRED> SubDomains => ArrayRef[L<Paws::Amplify::SubDomain>]
92  
93 The subdomains for the domain association.
94  
95  
96  
97 =head1 SEE ALSO
98  
99 This class forms part of L<Paws>, describing an object used in L<Paws::Amplify>
100  
101 =head1 BUGS and CONTRIBUTIONS
102  
103 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
104  
105 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
106  
107 =cut
108