Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data UpdateResourceDataSync = UpdateResourceDataSync' {}
- newUpdateResourceDataSync :: Text -> Text -> ResourceDataSyncSource -> UpdateResourceDataSync
- updateResourceDataSync_syncName :: Lens' UpdateResourceDataSync Text
- updateResourceDataSync_syncType :: Lens' UpdateResourceDataSync Text
- updateResourceDataSync_syncSource :: Lens' UpdateResourceDataSync ResourceDataSyncSource
- data UpdateResourceDataSyncResponse = UpdateResourceDataSyncResponse' {
- httpStatus :: Int
- newUpdateResourceDataSyncResponse :: Int -> UpdateResourceDataSyncResponse
- updateResourceDataSyncResponse_httpStatus :: Lens' UpdateResourceDataSyncResponse Int
Creating a Request
data UpdateResourceDataSync Source #
See: newUpdateResourceDataSync
smart constructor.
UpdateResourceDataSync' | |
|
Instances
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.
UpdateResourceDataSyncResponse' | |
|
Instances
Eq UpdateResourceDataSyncResponse Source # | |
Read UpdateResourceDataSyncResponse Source # | |
Show UpdateResourceDataSyncResponse Source # | |
Defined in Amazonka.SSM.UpdateResourceDataSync | |
Generic UpdateResourceDataSyncResponse Source # | |
NFData UpdateResourceDataSyncResponse Source # | |
Defined in Amazonka.SSM.UpdateResourceDataSync rnf :: UpdateResourceDataSyncResponse -> () # | |
type Rep UpdateResourceDataSyncResponse Source # | |
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
updateResourceDataSyncResponse_httpStatus :: Lens' UpdateResourceDataSyncResponse Int Source #
The response's http status code.