Amazon Simple Systems Manager (SSM)

2019/11/21 - Amazon Simple Systems Manager (SSM) - 1 new api methods

Changes  The release contains new API and API changes for AWS Systems Manager Explorer product.

UpdateResourceDataSync (new) Link ΒΆ

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 AWS Organizations configuration option. Instead, you must delete the first resource data sync, and create a new one.

See also: AWS API Documentation

Request Syntax

client.update_resource_data_sync(
    SyncName='string',
    SyncType='string',
    SyncSource={
        'SourceType': 'string',
        'AwsOrganizationsSource': {
            'OrganizationSourceType': 'string',
            'OrganizationalUnits': [
                {
                    'OrganizationalUnitId': 'string'
                },
            ]
        },
        'SourceRegions': [
            'string',
        ],
        'IncludeFutureRegions': True|False
    }
)
type SyncName

string

param SyncName

[REQUIRED]

The name of the resource data sync you want to update.

type SyncType

string

param SyncType

[REQUIRED]

The type of resource data sync. If SyncType is SyncToDestination , then the resource data sync synchronizes data to an Amazon S3 bucket. If the SyncType is SyncFromSource then the resource data sync synchronizes data from AWS Organizations or from multiple AWS Regions.

type SyncSource

dict

param SyncSource

[REQUIRED]

Specify information about the data sources to synchronize.

  • SourceType (string) -- [REQUIRED]

    The type of data source for the resource data sync. SourceType is either AwsOrganizations (if an organization is present in AWS Organizations) or singleAccountMultiRegions .

  • AwsOrganizationsSource (dict) --

    The field name in SyncSource for the ResourceDataSyncAwsOrganizationsSource type.

    • OrganizationSourceType (string) -- [REQUIRED]

      If an AWS Organization is present, this is either OrganizationalUnits or EntireOrganization . For OrganizationalUnits , the data is aggregated from a set of organization units. For EntireOrganization , the data is aggregated from the entire AWS Organization.

    • OrganizationalUnits (list) --

      The AWS Organizations organization units included in the sync.

      • (dict) --

        The AWS Organizations organizational unit data source for the sync.

        • OrganizationalUnitId (string) --

          The AWS Organization unit ID data source for the sync.

  • SourceRegions (list) -- [REQUIRED]

    The SyncSource AWS Regions included in the resource data sync.

    • (string) --

  • IncludeFutureRegions (boolean) --

    Whether to automatically synchronize and aggregate data from new AWS Regions when those Regions come online.

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) --