Values_1.ResourceDataSyncSourceWithStateSourceThe data type name for including resource data sync state. There are four sync states: OrganizationNotExists (Your organization doesn't exist) NoPermissions (The system can't locate the service-linked role. This role is automatically created when a user creates a resource data sync in Amazon Web Services Systems Manager Explorer.) InvalidOrganizationalUnit (You specified or selected an invalid unit in the resource data sync configuration.) TrustedAccessDisabled (You disabled Systems Manager access in the organization in Organizations.)
type nonrec t = {sourceType : Values_0.ResourceDataSyncSourceType.t option;The type of data source for the resource data sync. SourceType is either AwsOrganizations (if an organization is present in Organizations) or singleAccountMultiRegions.
*)awsOrganizationsSource : Values_0.ResourceDataSyncAwsOrganizationsSource.t
option;The field name in SyncSource for the ResourceDataSyncAwsOrganizationsSource type.
*)sourceRegions : Values_0.ResourceDataSyncSourceRegionList.t option;The SyncSource Amazon Web Services Regions included in the resource data sync.
*)includeFutureRegions : Values_0.ResourceDataSyncIncludeFutureRegions.t option;Whether to automatically synchronize and aggregate data from new Amazon Web Services Regions when those Regions come online.
*)state : ResourceDataSyncState.t option;The data type name for including resource data sync state. There are four sync states: OrganizationNotExists: Your organization doesn't exist. NoPermissions: The system can't locate the service-linked role. This role is automatically created when a user creates a resource data sync in Explorer. InvalidOrganizationalUnit: You specified or selected an invalid unit in the resource data sync configuration. TrustedAccessDisabled: You disabled Systems Manager access in the organization in Organizations.
*)enableAllOpsDataSources : Values_0.ResourceDataSyncEnableAllOpsDataSources.t
option;When you create a resource data sync, if you choose one of the Organizations options, then Systems Manager automatically enables all OpsData sources in the selected Amazon Web Services Regions for all Amazon Web Services accounts in your organization (or in the selected organization units). For more information, see Setting up Systems Manager Explorer to display data from multiple accounts and Regions in the Amazon Web Services Systems Manager User Guide.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Boolean of Values_0.ResourceDataSyncIncludeFutureRegions.t
| `List of [> `String of string ] list
| `String of Values_0.ResourceDataSyncSourceType.t
| `Structure of
(string
* [> `List of
[> `Structure of (string * [> `String of string ]) list ]
list
| `String of string ])
list ])
list ]