SSMClient.update_resource_data_sync
rboto-ssm==0.4.0 · Service index · Types
Model summary (excerpt): 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...
Install and imports
from rboto import SSMClient
from rboto_ssm.types import (
ResourceDataSyncSource,
UpdateResourceDataSyncOutput,
)
Signature
async def update_resource_data_sync(
*,
sync_name: str,
sync_type: str,
sync_source: ResourceDataSyncSource,
) -> UpdateResourceDataSyncOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
sync_name |
Yes | The name of the resource data sync you want to update. |
sync_type |
Yes | The type of resource data sync. The supported SyncType is SyncFromSource. |
sync_source |
Yes | Specify information about the data sources to synchronize. |
Output
UpdateResourceDataSyncOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
No fields.
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
ResourceDataSyncSource, UpdateResourceDataSyncOutput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_ssm.exceptions:
InternalServerError, ResourceDataSyncConflictError, ResourceDataSyncInvalidConfigurationError, ResourceDataSyncNotFoundError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.