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
12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 12277 12278 12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 12296 12297 12298 12299 12300 12301 12302 12303 12304 12305 12306 12307 12308 | |