File Coverage

blib/lib/Paws/Organizations/CreateAccountStatus.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::Organizations::CreateAccountStatus;
2 1     1   518 use Moose;
  1         4  
  1         8  
3             has AccountId => (is => 'ro', isa => 'Str');
4             has AccountName => (is => 'ro', isa => 'Str');
5             has CompletedTimestamp => (is => 'ro', isa => 'Str');
6             has FailureReason => (is => 'ro', isa => 'Str');
7             has Id => (is => 'ro', isa => 'Str');
8             has RequestedTimestamp => (is => 'ro', isa => 'Str');
9             has State => (is => 'ro', isa => 'Str');
10             1;
11              
12             ### main pod documentation begin ###
13              
14             =head1 NAME
15              
16             Paws::Organizations::CreateAccountStatus
17              
18             =head1 USAGE
19              
20             This class represents one of two things:
21              
22             =head3 Arguments in a call to a service
23              
24             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25             Each attribute should be used as a named argument in the calls that expect this type of object.
26              
27             As an example, if Att1 is expected to be a Paws::Organizations::CreateAccountStatus object:
28              
29             $service_obj->Method(Att1 => { AccountId => $value, ..., State => $value });
30              
31             =head3 Results returned from an API call
32              
33             Use accessors for each attribute. If Att1 is expected to be an Paws::Organizations::CreateAccountStatus object:
34              
35             $result = $service_obj->Method(...);
36             $result->Att1->AccountId
37              
38             =head1 DESCRIPTION
39              
40             Contains the status about a CreateAccount request to create an AWS
41             account in an organization.
42              
43             =head1 ATTRIBUTES
44              
45              
46             =head2 AccountId => Str
47              
48             If the account was created successfully, the unique identifier (ID) of
49             the new account.
50              
51             The regex pattern for an account ID string requires exactly 12 digits.
52              
53              
54             =head2 AccountName => Str
55              
56             The account name given to the account when it was created.
57              
58              
59             =head2 CompletedTimestamp => Str
60              
61             The date and time that the account was created and the request
62             completed.
63              
64              
65             =head2 FailureReason => Str
66              
67             If the request failed, a description of the reason for the failure.
68              
69             =over
70              
71             =item *
72              
73             ACCOUNT_LIMIT_EXCEEDED: The account could not be created because you
74             have reached the limit on the number of accounts in your organization.
75              
76             =item *
77              
78             EMAIL_ALREADY_EXISTS: The account could not be created because another
79             AWS account with that email address already exists.
80              
81             =item *
82              
83             INVALID_ADDRESS: The account could not be created because the address
84             you provided is not valid.
85              
86             =item *
87              
88             INVALID_EMAIL: The account could not be created because the email
89             address you provided is not valid.
90              
91             =item *
92              
93             INTERNAL_FAILURE: The account could not be created because of an
94             internal failure. Try again later. If the problem persists, contact
95             Customer Support.
96              
97             =back
98              
99              
100              
101             =head2 Id => Str
102              
103             The unique identifier (ID) that references this request. You get this
104             value from the response of the initial CreateAccount request to create
105             the account.
106              
107             The regex pattern for an create account request ID string requires
108             "car-" followed by from 8 to 32 lower-case letters or digits.
109              
110              
111             =head2 RequestedTimestamp => Str
112              
113             The date and time that the request was made for the account creation.
114              
115              
116             =head2 State => Str
117              
118             The status of the request.
119              
120              
121              
122             =head1 SEE ALSO
123              
124             This class forms part of L<Paws>, describing an object used in L<Paws::Organizations>
125              
126             =head1 BUGS and CONTRIBUTIONS
127              
128             The source code is located here: https://github.com/pplu/aws-sdk-perl
129              
130             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
131              
132             =cut
133