Skip to content

SSMClient.create_resource_data_sync

rboto-ssm==0.4.0 · Service index · Types

Model summary (excerpt): A resource data sync helps you view data from multiple sources in a single location. Amazon Web Services Systems Manager offers two types of resource data sync: SyncToDestination and SyncFromSource . You can configure Systems Manager Inventory to use the SyncToDestination type to synchronize Inventory data from multiple Amazon Web Services Regions to a single Amazon Simple Storage Service...

Install and imports

python -m pip install "rboto[ssm]==0.4.0"
from rboto import SSMClient
from rboto_ssm.types import (
    CreateResourceDataSyncOutput,
    ResourceDataSyncS3Destination,
    ResourceDataSyncSource,
)

Signature

async def create_resource_data_sync(
    *,
    sync_name: str,
    s3_destination: ResourceDataSyncS3Destination | None = None,
    sync_type: str | None = None,
    sync_source: ResourceDataSyncSource | None = None,
) -> CreateResourceDataSyncOutput: ...

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 A name for the configuration.
s3_destination No Amazon S3 configuration details for the sync. This parameter is required if the SyncType value is SyncToDestination.
sync_type No Specify SyncToDestination to create a resource data sync that synchronizes data to an S3 bucket for Inventory. If you specify SyncToDestination , you must provide a value for S3Destination . Specify SyncFromSource to synchronize data from a single account and multiple Regions, or multiple Amazon Web Services accounts and Amazon Web Services Regions, as listed in Organizations for Explorer. If...
sync_source No Specify information about the data sources to synchronize. This parameter is required if the SyncType value is SyncFromSource.

Output

CreateResourceDataSyncOutput.

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.

CreateResourceDataSyncOutput, ResourceDataSyncS3Destination, ResourceDataSyncSource

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, ResourceDataSyncAlreadyExistsError, ResourceDataSyncCountExceededError, ResourceDataSyncInvalidConfigurationError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model