« blib/lib/Paws/Organizations/CreateGovCloudAccountResponse.pm
↑ Summary
blib/lib/Paws/Organizations/CreateOrganizationResponse.pm »
| 1 | |||
| 2 | package Paws::Organizations::CreateOrganization; | ||
| 3 | use Moose; | ||
| 4 | has FeatureSet => (is => 'ro', isa => 'Str'); | ||
| 5 | |||
| 6 | use MooseX::ClassAttribute; | ||
| 7 | |||
| 8 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateOrganization'); | ||
| 9 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Organizations::CreateOrganizationResponse'); | ||
| 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::CreateOrganization - Arguments for method CreateOrganization on L<Paws::Organizations> | ||
| 18 | |||
| 19 | =head1 DESCRIPTION | ||
| 20 | |||
| 21 | This class represents the parameters used for calling the method CreateOrganization on the | ||
| 22 | L<AWS Organizations|Paws::Organizations> service. Use the attributes of this class | ||
| 23 | as arguments to method CreateOrganization. | ||
| 24 | |||
| 25 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateOrganization. | ||
| 26 | |||
| 27 | =head1 SYNOPSIS | ||
| 28 | |||
| 29 | my $organizations = Paws->service('Organizations'); | ||
| 30 | # To create a new organization with all features enabled | ||
| 31 | # Bill wants to create an organization using credentials from account | ||
| 32 | # 111111111111. The following example shows that the account becomes the master | ||
| 33 | # account in the new organization. Because he does not specify a feature set, | ||
| 34 | # the new organization defaults to all features enabled and service control | ||
| 35 | # policies enabled on the root: | ||
| 36 | |||
| 37 | my $CreateOrganizationResponse = $organizations->CreateOrganization(); | ||
| 38 | |||
| 39 | # Results: | ||
| 40 | my $Organization = $CreateOrganizationResponse->Organization; | ||
| 41 | |||
| 42 | # Returns a L<Paws::Organizations::CreateOrganizationResponse> object. | ||
| 43 | # To create a new organization with consolidated billing features only | ||
| 44 | # In the following example, Bill creates an organization using credentials from | ||
| 45 | # account 111111111111, and configures the organization to support only the | ||
| 46 | # consolidated billing feature set: | ||
| 47 | |||
| 48 | my $CreateOrganizationResponse = $organizations->CreateOrganization( | ||
| 49 | 'FeatureSet' => 'CONSOLIDATED_BILLING' ); | ||
| 50 | |||
| 51 | # Results: | ||
| 52 | my $Organization = $CreateOrganizationResponse->Organization; | ||
| 53 | |||
| 54 | # Returns a L<Paws::Organizations::CreateOrganizationResponse> object. | ||
| 55 | |||
| 56 | 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. | ||
| 57 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/organizations/CreateOrganization> | ||
| 58 | |||
| 59 | =head1 ATTRIBUTES | ||
| 60 | |||
| 61 | |||
| 62 | =head2 FeatureSet => Str | ||
| 63 | |||
| 64 | Specifies the feature set supported by the new organization. Each | ||
| 65 | feature set supports different levels of functionality. | ||
| 66 | |||
| 67 | =over | ||
| 68 | |||
| 69 | =item * | ||
| 70 | |||
| 71 | C<CONSOLIDATED_BILLING>: All member accounts have their bills | ||
| 72 | consolidated to and paid by the management account. For more | ||
| 73 | information, see Consolidated billing | ||
| 74 | (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#feature-set-cb-only) | ||
| 75 | in the I<AWS Organizations User Guide.> | ||
| 76 | |||
| 77 | The consolidated billing feature subset isn't available for | ||
| 78 | organizations in the AWS GovCloud (US) Region. | ||
| 79 | |||
| 80 | =item * | ||
| 81 | |||
| 82 | C<ALL>: In addition to all the features supported by the consolidated | ||
| 83 | billing feature set, the management account can also apply any policy | ||
| 84 | type to any member account in the organization. For more information, | ||
| 85 | see All features | ||
| 86 | (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_getting-started_concepts.html#feature-set-all) | ||
| 87 | in the I<AWS Organizations User Guide.> | ||
| 88 | |||
| 89 | =back | ||
| 90 | |||
| 91 | |||
| 92 | Valid values are: C<"ALL">, C<"CONSOLIDATED_BILLING"> | ||
| 93 | |||
| 94 | |||
| 95 | =head1 SEE ALSO | ||
| 96 | |||
| 97 | This class forms part of L<Paws>, documenting arguments for method CreateOrganization in L<Paws::Organizations> | ||
| 98 | |||
| 99 | =head1 BUGS and CONTRIBUTIONS | ||
| 100 | |||
| 101 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 102 | |||
| 103 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 104 | |||
| 105 | =cut | ||
| 106 |