update_resource_data_sync
¶
update_resource_data_sync(
sync_name: ResourceDataSyncName,
sync_type: ResourceDataSyncType,
sync_source: ResourceDataSyncSource,
*,
config_overrides: Optional[SSMClientConfig] = 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/ssm.py
12382 12383 12384 12385 12386 12387 12388 12389 12390 12391 12392 12393 12394 12395 12396 12397 12398 12399 12400 12401 12402 12403 12404 12405 12406 12407 12408 12409 12410 12411 12412 12413 12414 12415 12416 12417 12418 12419 12420 12421 12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 12432 12433 12434 | |