« blib/lib/Paws/Organizations/DescribeAccountResponse.pm
↑ Summary
blib/lib/Paws/Organizations/DescribeCreateAccountStatusResponse.pm »
| 1 | |||
| 2 | package Paws::Organizations::DescribeCreateAccountStatus; | ||
| 3 | use Moose; | ||
| 4 | has CreateAccountRequestId => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | |||
| 6 | use MooseX::ClassAttribute; | ||
| 7 | |||
| 8 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeCreateAccountStatus'); | ||
| 9 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Organizations::DescribeCreateAccountStatusResponse'); | ||
| 10 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 11 | 1; | ||
| 12 | |||
| 13 | ### main pod documentation begin ### | ||
| 14 | |||
| 15 | =head1 NAME | ||
| 16 | |||
| 17 | Paws::Organizations::DescribeCreateAccountStatus - Arguments for method DescribeCreateAccountStatus on L<Paws::Organizations> | ||
| 18 | |||
| 19 | =head1 DESCRIPTION | ||
| 20 | |||
| 21 | This class represents the parameters used for calling the method DescribeCreateAccountStatus on the | ||
| 22 | L<AWS Organizations|Paws::Organizations> service. Use the attributes of this class | ||
| 23 | as arguments to method DescribeCreateAccountStatus. | ||
| 24 | |||
| 25 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeCreateAccountStatus. | ||
| 26 | |||
| 27 | =head1 SYNOPSIS | ||
| 28 | |||
| 29 | my $organizations = Paws->service('Organizations'); | ||
| 30 | # To get information about a request to create an account | ||
| 31 | # The following example shows how to request the status about a previous request | ||
| 32 | # to create an account in an organization. This operation can be called only by | ||
| 33 | # a principal from the organization's master account. In the example, the | ||
| 34 | # specified "createAccountRequestId" comes from the response of the original | ||
| 35 | # call to "CreateAccount": | ||
| 36 | my $DescribeCreateAccountStatusResponse = | ||
| 37 | $organizations->DescribeCreateAccountStatus( | ||
| 38 | 'CreateAccountRequestId' => 'car-exampleaccountcreationrequestid' ); | ||
| 39 | |||
| 40 | # Results: | ||
| 41 | my $CreateAccountStatus = | ||
| 42 | $DescribeCreateAccountStatusResponse->CreateAccountStatus; | ||
| 43 | |||
| 44 | # Returns a L<Paws::Organizations::DescribeCreateAccountStatusResponse> object. | ||
| 45 | |||
| 46 | Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. | ||
| 47 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/organizations/DescribeCreateAccountStatus> | ||
| 48 | |||
| 49 | =head1 ATTRIBUTES | ||
| 50 | |||
| 51 | |||
| 52 | =head2 B<REQUIRED> CreateAccountRequestId => Str | ||
| 53 | |||
| 54 | Specifies the C<Id> value that uniquely identifies the C<CreateAccount> | ||
| 55 | request. You can get the value from the C<CreateAccountStatus.Id> | ||
| 56 | response in an earlier CreateAccount request, or from the | ||
| 57 | ListCreateAccountStatus operation. | ||
| 58 | |||
| 59 | The regex pattern (http://wikipedia.org/wiki/regex) for a create | ||
| 60 | account request ID string requires "car-" followed by from 8 to 32 | ||
| 61 | lowercase letters or digits. | ||
| 62 | |||
| 63 | |||
| 64 | |||
| 65 | |||
| 66 | =head1 SEE ALSO | ||
| 67 | |||
| 68 | This class forms part of L<Paws>, documenting arguments for method DescribeCreateAccountStatus in L<Paws::Organizations> | ||
| 69 | |||
| 70 | =head1 BUGS and CONTRIBUTIONS | ||
| 71 | |||
| 72 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 73 | |||
| 74 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 75 | |||
| 76 | =cut | ||
| 77 |