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
12411 12412 12413 12414 12415 12416 12417 12418 12419 12420 12421 12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 12432 12433 12434 12435 12436 12437 12438 12439 12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 12450 12451 12452 12453 12454 12455 12456 12457 12458 12459 12460 12461 12462 12463 12464 | |