update_resource_data_sync
async
¶
update_resource_data_sync(
sync_name: ResourceDataSyncName,
sync_type: ResourceDataSyncType,
sync_source: ResourceDataSyncSource,
*,
config_overrides: Optional[AsyncSSMClientConfig] = None,
) -> UpdateResourceDataSyncResult
Update a resource data sync. After you create a resource data sync for a Region, you can't change the account options for that sync. For example, if you create a sync in the us-east-2 (Ohio) Region and you choose the Include only the current account option, you can't edit that sync later and choose the Include all accounts from my Organizations configuration option. Instead, you must delete the first resource data sync, and create a new one.
This API operation only supports a resource data sync that was created with a SyncFromSource SyncType.
Parameters:
-
sync_name(ResourceDataSyncName) –The name of the resource data sync you want to update.
-
sync_type(ResourceDataSyncType) –The type of resource data sync. The supported
SyncTypeis SyncFromSource. -
sync_source(ResourceDataSyncSource) –Specify information about the data sources to synchronize.
Raises:
-
InternalServerError–An error occurred on the server side.
-
ResourceDataSyncConflictException–Another
UpdateResourceDataSyncrequest is being processed. Wait a few minutes and try again. -
ResourceDataSyncInvalidConfigurationException–The specified sync configuration is invalid.
-
ResourceDataSyncNotFoundException–The specified sync name wasn't found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ssm/_services/async_ssm.py
12539 12540 12541 12542 12543 12544 12545 12546 12547 12548 12549 12550 12551 12552 12553 12554 12555 12556 12557 12558 12559 12560 12561 12562 12563 12564 12565 12566 12567 12568 12569 12570 12571 12572 12573 12574 12575 12576 12577 12578 12579 12580 12581 12582 12583 12584 12585 12586 12587 12588 12589 12590 12591 12592 | |