libZSservicesZSamazonka-ssmZSamazonka-ssm
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SSM.UpdateResourceDataSync

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 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.

Synopsis

Creating a Request

data UpdateResourceDataSync Source #

See: newUpdateResourceDataSync smart constructor.

Constructors

UpdateResourceDataSync' 

Fields

Instances

Instances details
Eq UpdateResourceDataSync Source # 
Instance details

Defined in Amazonka.SSM.UpdateResourceDataSync

Read UpdateResourceDataSync Source # 
Instance details

Defined in Amazonka.SSM.UpdateResourceDataSync

Show UpdateResourceDataSync Source # 
Instance details

Defined in Amazonka.SSM.UpdateResourceDataSync

Generic UpdateResourceDataSync Source # 
Instance details

Defined in Amazonka.SSM.UpdateResourceDataSync

Associated Types

type Rep UpdateResourceDataSync :: Type -> Type #

NFData UpdateResourceDataSync Source # 
Instance details

Defined in Amazonka.SSM.UpdateResourceDataSync

Methods

rnf :: UpdateResourceDataSync -> () #

Hashable UpdateResourceDataSync Source # 
Instance details

Defined in Amazonka.SSM.UpdateResourceDataSync

ToJSON UpdateResourceDataSync Source # 
Instance details

Defined in Amazonka.SSM.UpdateResourceDataSync

AWSRequest UpdateResourceDataSync Source # 
Instance details

Defined in Amazonka.SSM.UpdateResourceDataSync

Associated Types

type AWSResponse UpdateResourceDataSync #

ToHeaders UpdateResourceDataSync Source # 
Instance details

Defined in Amazonka.SSM.UpdateResourceDataSync

ToPath UpdateResourceDataSync Source # 
Instance details

Defined in Amazonka.SSM.UpdateResourceDataSync

ToQuery UpdateResourceDataSync Source # 
Instance details

Defined in Amazonka.SSM.UpdateResourceDataSync

type Rep UpdateResourceDataSync Source # 
Instance details

Defined in Amazonka.SSM.UpdateResourceDataSync

type Rep UpdateResourceDataSync = D1 ('MetaData "UpdateResourceDataSync" "Amazonka.SSM.UpdateResourceDataSync" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "UpdateResourceDataSync'" 'PrefixI 'True) (S1 ('MetaSel ('Just "syncName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "syncType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "syncSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResourceDataSyncSource))))
type AWSResponse UpdateResourceDataSync Source # 
Instance details

Defined in Amazonka.SSM.UpdateResourceDataSync

newUpdateResourceDataSync Source #

Create a value of UpdateResourceDataSync with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:syncName:UpdateResourceDataSync', updateResourceDataSync_syncName - The name of the resource data sync you want to update.

$sel:syncType:UpdateResourceDataSync', updateResourceDataSync_syncType - The type of resource data sync. The supported SyncType is SyncFromSource.

$sel:syncSource:UpdateResourceDataSync', updateResourceDataSync_syncSource - Specify information about the data sources to synchronize.

Request Lenses

updateResourceDataSync_syncName :: Lens' UpdateResourceDataSync Text Source #

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

updateResourceDataSync_syncType :: Lens' UpdateResourceDataSync Text Source #

The type of resource data sync. The supported SyncType is SyncFromSource.

updateResourceDataSync_syncSource :: Lens' UpdateResourceDataSync ResourceDataSyncSource Source #

Specify information about the data sources to synchronize.

Destructuring the Response

data UpdateResourceDataSyncResponse Source #

See: newUpdateResourceDataSyncResponse smart constructor.

Constructors

UpdateResourceDataSyncResponse' 

Fields

Instances

Instances details
Eq UpdateResourceDataSyncResponse Source # 
Instance details

Defined in Amazonka.SSM.UpdateResourceDataSync

Read UpdateResourceDataSyncResponse Source # 
Instance details

Defined in Amazonka.SSM.UpdateResourceDataSync

Show UpdateResourceDataSyncResponse Source # 
Instance details

Defined in Amazonka.SSM.UpdateResourceDataSync

Generic UpdateResourceDataSyncResponse Source # 
Instance details

Defined in Amazonka.SSM.UpdateResourceDataSync

Associated Types

type Rep UpdateResourceDataSyncResponse :: Type -> Type #

NFData UpdateResourceDataSyncResponse Source # 
Instance details

Defined in Amazonka.SSM.UpdateResourceDataSync

type Rep UpdateResourceDataSyncResponse Source # 
Instance details

Defined in Amazonka.SSM.UpdateResourceDataSync

type Rep UpdateResourceDataSyncResponse = D1 ('MetaData "UpdateResourceDataSyncResponse" "Amazonka.SSM.UpdateResourceDataSync" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "UpdateResourceDataSyncResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateResourceDataSyncResponse Source #

Create a value of UpdateResourceDataSyncResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:UpdateResourceDataSyncResponse', updateResourceDataSyncResponse_httpStatus - The response's http status code.

Response Lenses