« blib/lib/Paws/Organizations/CreateAccountResponse.pm
↑ Summary
blib/lib/Paws/Organizations/CreateGovCloudAccount.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Organizations::CreateAccountStatus; | ||
| 3 | use Moose; | ||
| 4 | has AccountId => (is => 'ro', isa => 'Str'); | ||
| 5 | has AccountName => (is => 'ro', isa => 'Str'); | ||
| 6 | has CompletedTimestamp => (is => 'ro', isa => 'Str'); | ||
| 7 | has FailureReason => (is => 'ro', isa => 'Str'); | ||
| 8 | has GovCloudAccountId => (is => 'ro', isa => 'Str'); | ||
| 9 | has Id => (is => 'ro', isa => 'Str'); | ||
| 10 | has RequestedTimestamp => (is => 'ro', isa => 'Str'); | ||
| 11 | has State => (is => 'ro', isa => 'Str'); | ||
| 12 | |||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::Organizations::CreateAccountStatus | ||
| 20 | |||
| 21 | =head1 USAGE | ||
| 22 | |||
| 23 | This class represents one of two things: | ||
| 24 | |||
| 25 | =head3 Arguments in a call to a service | ||
| 26 | |||
| 27 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 28 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 29 | |||
| 30 | As an example, if Att1 is expected to be a Paws::Organizations::CreateAccountStatus object: | ||
| 31 | |||
| 32 | $service_obj->Method(Att1 => { AccountId => $value, ..., State => $value }); | ||
| 33 | |||
| 34 | =head3 Results returned from an API call | ||
| 35 | |||
| 36 | Use accessors for each attribute. If Att1 is expected to be an Paws::Organizations::CreateAccountStatus object: | ||
| 37 | |||
| 38 | $result = $service_obj->Method(...); | ||
| 39 | $result->Att1->AccountId | ||
| 40 | |||
| 41 | =head1 DESCRIPTION | ||
| 42 | |||
| 43 | Contains the status about a CreateAccount or CreateGovCloudAccount | ||
| 44 | request to create an AWS account or an AWS GovCloud (US) account in an | ||
| 45 | organization. | ||
| 46 | |||
| 47 | =head1 ATTRIBUTES | ||
| 48 | |||
| 49 | |||
| 50 | =head2 AccountId => Str | ||
| 51 | |||
| 52 | If the account was created successfully, the unique identifier (ID) of | ||
| 53 | the new account. | ||
| 54 | |||
| 55 | The regex pattern (http://wikipedia.org/wiki/regex) for an account ID | ||
| 56 | string requires exactly 12 digits. | ||
| 57 | |||
| 58 | |||
| 59 | =head2 AccountName => Str | ||
| 60 | |||
| 61 | The account name given to the account when it was created. | ||
| 62 | |||
| 63 | |||
| 64 | =head2 CompletedTimestamp => Str | ||
| 65 | |||
| 66 | The date and time that the account was created and the request | ||
| 67 | completed. | ||
| 68 | |||
| 69 | |||
| 70 | =head2 FailureReason => Str | ||
| 71 | |||
| 72 | If the request failed, a description of the reason for the failure. | ||
| 73 | |||
| 74 | =over | ||
| 75 | |||
| 76 | =item * | ||
| 77 | |||
| 78 | ACCOUNT_LIMIT_EXCEEDED: The account couldn't be created because you | ||
| 79 | reached the limit on the number of accounts in your organization. | ||
| 80 | |||
| 81 | =item * | ||
| 82 | |||
| 83 | CONCURRENT_ACCOUNT_MODIFICATION: You already submitted a request with | ||
| 84 | the same information. | ||
| 85 | |||
| 86 | =item * | ||
| 87 | |||
| 88 | EMAIL_ALREADY_EXISTS: The account could not be created because another | ||
| 89 | AWS account with that email address already exists. | ||
| 90 | |||
| 91 | =item * | ||
| 92 | |||
| 93 | FAILED_BUSINESS_VALIDATION: The AWS account that owns your organization | ||
| 94 | failed to receive business license validation. | ||
| 95 | |||
| 96 | =item * | ||
| 97 | |||
| 98 | GOVCLOUD_ACCOUNT_ALREADY_EXISTS: The account in the AWS GovCloud (US) | ||
| 99 | Region could not be created because this Region already includes an | ||
| 100 | account with that email address. | ||
| 101 | |||
| 102 | =item * | ||
| 103 | |||
| 104 | IDENTITY_INVALID_BUSINESS_VALIDATION: The AWS account that owns your | ||
| 105 | organization can't complete business license validation because it | ||
| 106 | doesn't have valid identity data. | ||
| 107 | |||
| 108 | =item * | ||
| 109 | |||
| 110 | INVALID_ADDRESS: The account could not be created because the address | ||
| 111 | you provided is not valid. | ||
| 112 | |||
| 113 | =item * | ||
| 114 | |||
| 115 | INVALID_EMAIL: The account could not be created because the email | ||
| 116 | address you provided is not valid. | ||
| 117 | |||
| 118 | =item * | ||
| 119 | |||
| 120 | INTERNAL_FAILURE: The account could not be created because of an | ||
| 121 | internal failure. Try again later. If the problem persists, contact AWS | ||
| 122 | Customer Support. | ||
| 123 | |||
| 124 | =item * | ||
| 125 | |||
| 126 | MISSING_BUSINESS_VALIDATION: The AWS account that owns your | ||
| 127 | organization has not received Business Validation. | ||
| 128 | |||
| 129 | =item * | ||
| 130 | |||
| 131 | MISSING_PAYMENT_INSTRUMENT: You must configure the management account | ||
| 132 | with a valid payment method, such as a credit card. | ||
| 133 | |||
| 134 | =item * | ||
| 135 | |||
| 136 | PENDING_BUSINESS_VALIDATION: The AWS account that owns your | ||
| 137 | organization is still in the process of completing business license | ||
| 138 | validation. | ||
| 139 | |||
| 140 | =item * | ||
| 141 | |||
| 142 | UNKNOWN_BUSINESS_VALIDATION: The AWS account that owns your | ||
| 143 | organization has an unknown issue with business license validation. | ||
| 144 | |||
| 145 | =back | ||
| 146 | |||
| 147 | |||
| 148 | |||
| 149 | =head2 GovCloudAccountId => Str | ||
| 150 | |||
| 151 | If the account was created successfully, the unique identifier (ID) of | ||
| 152 | the new account in the AWS GovCloud (US) Region. | ||
| 153 | |||
| 154 | |||
| 155 | =head2 Id => Str | ||
| 156 | |||
| 157 | The unique identifier (ID) that references this request. You get this | ||
| 158 | value from the response of the initial CreateAccount request to create | ||
| 159 | the account. | ||
| 160 | |||
| 161 | The regex pattern (http://wikipedia.org/wiki/regex) for a create | ||
| 162 | account request ID string requires "car-" followed by from 8 to 32 | ||
| 163 | lowercase letters or digits. | ||
| 164 | |||
| 165 | |||
| 166 | =head2 RequestedTimestamp => Str | ||
| 167 | |||
| 168 | The date and time that the request was made for the account creation. | ||
| 169 | |||
| 170 | |||
| 171 | =head2 State => Str | ||
| 172 | |||
| 173 | The status of the asynchronous request to create an AWS account. | ||
| 174 | |||
| 175 | |||
| 176 | |||
| 177 | =head1 SEE ALSO | ||
| 178 | |||
| 179 | This class forms part of L<Paws>, describing an object used in L<Paws::Organizations> | ||
| 180 | |||
| 181 | =head1 BUGS and CONTRIBUTIONS | ||
| 182 | |||
| 183 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 184 | |||
| 185 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 186 | |||
| 187 | =cut | ||
| 188 |