| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::SSM::ResourceDataSyncSourceWithState; | ||
| 3 | use Moose; | ||
| 4 | has AwsOrganizationsSource => (is => 'ro', isa => 'Paws::SSM::ResourceDataSyncAwsOrganizationsSource'); | ||
| 5 | has EnableAllOpsDataSources => (is => 'ro', isa => 'Bool'); | ||
| 6 | has IncludeFutureRegions => (is => 'ro', isa => 'Bool'); | ||
| 7 | has SourceRegions => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | ||
| 8 | has SourceType => (is => 'ro', isa => 'Str'); | ||
| 9 | has State => (is => 'ro', isa => 'Str'); | ||
| 10 | |||
| 11 | 1; | ||
| 12 | |||
| 13 | ### main pod documentation begin ### | ||
| 14 | |||
| 15 | =head1 NAME | ||
| 16 | |||
| 17 | Paws::SSM::ResourceDataSyncSourceWithState | ||
| 18 | |||
| 19 | =head1 USAGE | ||
| 20 | |||
| 21 | This class represents one of two things: | ||
| 22 | |||
| 23 | =head3 Arguments in a call to a service | ||
| 24 | |||
| 25 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 26 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 27 | |||
| 28 | As an example, if Att1 is expected to be a Paws::SSM::ResourceDataSyncSourceWithState object: | ||
| 29 | |||
| 30 | $service_obj->Method(Att1 => { AwsOrganizationsSource => $value, ..., State => $value }); | ||
| 31 | |||
| 32 | =head3 Results returned from an API call | ||
| 33 | |||
| 34 | Use accessors for each attribute. If Att1 is expected to be an Paws::SSM::ResourceDataSyncSourceWithState object: | ||
| 35 | |||
| 36 | $result = $service_obj->Method(...); | ||
| 37 | $result->Att1->AwsOrganizationsSource | ||
| 38 | |||
| 39 | =head1 DESCRIPTION | ||
| 40 | |||
| 41 | The data type name for including resource data sync state. There are | ||
| 42 | four sync states: | ||
| 43 | |||
| 44 | C<OrganizationNotExists> (Your organization doesn't exist) | ||
| 45 | |||
| 46 | C<NoPermissions> (The system can't locate the service-linked role. This | ||
| 47 | role is automatically created when a user creates a resource data sync | ||
| 48 | in Explorer.) | ||
| 49 | |||
| 50 | C<InvalidOrganizationalUnit> (You specified or selected an invalid unit | ||
| 51 | in the resource data sync configuration.) | ||
| 52 | |||
| 53 | C<TrustedAccessDisabled> (You disabled Systems Manager access in the | ||
| 54 | organization in AWS Organizations.) | ||
| 55 | |||
| 56 | =head1 ATTRIBUTES | ||
| 57 | |||
| 58 | |||
| 59 | =head2 AwsOrganizationsSource => L<Paws::SSM::ResourceDataSyncAwsOrganizationsSource> | ||
| 60 | |||
| 61 | The field name in C<SyncSource> for the | ||
| 62 | C<ResourceDataSyncAwsOrganizationsSource> type. | ||
| 63 | |||
| 64 | |||
| 65 | =head2 EnableAllOpsDataSources => Bool | ||
| 66 | |||
| 67 | When you create a resource data sync, if you choose one of the AWS | ||
| 68 | Organizations options, then Systems Manager automatically enables all | ||
| 69 | OpsData sources in the selected AWS Regions for all AWS accounts in | ||
| 70 | your organization (or in the selected organization units). For more | ||
| 71 | information, see About multiple account and Region resource data syncs | ||
| 72 | (https://docs.aws.amazon.com/systems-manager/latest/userguide/Explorer-resouce-data-sync-multiple-accounts-and-regions.html) | ||
| 73 | in the I<AWS Systems Manager User Guide>. | ||
| 74 | |||
| 75 | |||
| 76 | =head2 IncludeFutureRegions => Bool | ||
| 77 | |||
| 78 | Whether to automatically synchronize and aggregate data from new AWS | ||
| 79 | Regions when those Regions come online. | ||
| 80 | |||
| 81 | |||
| 82 | =head2 SourceRegions => ArrayRef[Str|Undef] | ||
| 83 | |||
| 84 | The C<SyncSource> AWS Regions included in the resource data sync. | ||
| 85 | |||
| 86 | |||
| 87 | =head2 SourceType => Str | ||
| 88 | |||
| 89 | The type of data source for the resource data sync. C<SourceType> is | ||
| 90 | either C<AwsOrganizations> (if an organization is present in AWS | ||
| 91 | Organizations) or C<singleAccountMultiRegions>. | ||
| 92 | |||
| 93 | |||
| 94 | =head2 State => Str | ||
| 95 | |||
| 96 | The data type name for including resource data sync state. There are | ||
| 97 | four sync states: | ||
| 98 | |||
| 99 | C<OrganizationNotExists>: Your organization doesn't exist. | ||
| 100 | |||
| 101 | C<NoPermissions>: The system can't locate the service-linked role. This | ||
| 102 | role is automatically created when a user creates a resource data sync | ||
| 103 | in Explorer. | ||
| 104 | |||
| 105 | C<InvalidOrganizationalUnit>: You specified or selected an invalid unit | ||
| 106 | in the resource data sync configuration. | ||
| 107 | |||
| 108 | C<TrustedAccessDisabled>: You disabled Systems Manager access in the | ||
| 109 | organization in AWS Organizations. | ||
| 110 | |||
| 111 | |||
| 112 | |||
| 113 | =head1 SEE ALSO | ||
| 114 | |||
| 115 | This class forms part of L<Paws>, describing an object used in L<Paws::SSM> | ||
| 116 | |||
| 117 | =head1 BUGS and CONTRIBUTIONS | ||
| 118 | |||
| 119 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 120 | |||
| 121 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 122 | |||
| 123 | =cut | ||
| 124 |