ssm_update_resource_data_sync: Update a resource data sync

Description Usage Arguments Value Request syntax

View source: R/ssm_operations.R

Description

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.

This API action only supports a resource data sync that was created with a SyncFromSource SyncType.

Usage

1
ssm_update_resource_data_sync(SyncName, SyncType, SyncSource)

Arguments

SyncName

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

SyncType

[required] The type of resource data sync. The supported SyncType is SyncFromSource.

SyncSource

[required] Specify information about the data sources to synchronize.

Value

An empty list.

Request syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
svc$update_resource_data_sync(
  SyncName = "string",
  SyncType = "string",
  SyncSource = list(
    SourceType = "string",
    AwsOrganizationsSource = list(
      OrganizationSourceType = "string",
      OrganizationalUnits = list(
        list(
          OrganizationalUnitId = "string"
        )
      )
    ),
    SourceRegions = list(
      "string"
    ),
    IncludeFutureRegions = TRUE|FALSE
  )
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.