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

Description

 
Synopsis

Documentation

data ResourceDataSyncItem Source #

Information about a resource data sync configuration, including its current status and last successful sync.

See: newResourceDataSyncItem smart constructor.

Constructors

ResourceDataSyncItem' 

Fields

Instances

Instances details
Eq ResourceDataSyncItem Source # 
Instance details

Defined in Amazonka.SSM.Types.ResourceDataSyncItem

Read ResourceDataSyncItem Source # 
Instance details

Defined in Amazonka.SSM.Types.ResourceDataSyncItem

Show ResourceDataSyncItem Source # 
Instance details

Defined in Amazonka.SSM.Types.ResourceDataSyncItem

Generic ResourceDataSyncItem Source # 
Instance details

Defined in Amazonka.SSM.Types.ResourceDataSyncItem

Associated Types

type Rep ResourceDataSyncItem :: Type -> Type #

NFData ResourceDataSyncItem Source # 
Instance details

Defined in Amazonka.SSM.Types.ResourceDataSyncItem

Methods

rnf :: ResourceDataSyncItem -> () #

Hashable ResourceDataSyncItem Source # 
Instance details

Defined in Amazonka.SSM.Types.ResourceDataSyncItem

FromJSON ResourceDataSyncItem Source # 
Instance details

Defined in Amazonka.SSM.Types.ResourceDataSyncItem

type Rep ResourceDataSyncItem Source # 
Instance details

Defined in Amazonka.SSM.Types.ResourceDataSyncItem

type Rep ResourceDataSyncItem = D1 ('MetaData "ResourceDataSyncItem" "Amazonka.SSM.Types.ResourceDataSyncItem" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "ResourceDataSyncItem'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "syncType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "syncSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceDataSyncSourceWithState))) :*: (S1 ('MetaSel ('Just "lastSyncStatusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "syncCreatedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "lastSyncTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))) :*: ((S1 ('MetaSel ('Just "syncName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LastResourceDataSyncStatus))) :*: (S1 ('MetaSel ('Just "syncLastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "s3Destination") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceDataSyncS3Destination)) :*: S1 ('MetaSel ('Just "lastSuccessfulSyncTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))))

newResourceDataSyncItem :: ResourceDataSyncItem Source #

Create a value of ResourceDataSyncItem 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:syncType:ResourceDataSyncItem', resourceDataSyncItem_syncType - The type of resource data sync. If SyncType is SyncToDestination, then the resource data sync synchronizes data to an S3 bucket. If the SyncType is SyncFromSource then the resource data sync synchronizes data from Organizations or from multiple Amazon Web Services Regions.

$sel:syncSource:ResourceDataSyncItem', resourceDataSyncItem_syncSource - Information about the source where the data was synchronized.

$sel:lastSyncStatusMessage:ResourceDataSyncItem', resourceDataSyncItem_lastSyncStatusMessage - The status message details reported by the last sync.

$sel:syncCreatedTime:ResourceDataSyncItem', resourceDataSyncItem_syncCreatedTime - The date and time the configuration was created (UTC).

$sel:lastSyncTime:ResourceDataSyncItem', resourceDataSyncItem_lastSyncTime - The last time the configuration attempted to sync (UTC).

$sel:syncName:ResourceDataSyncItem', resourceDataSyncItem_syncName - The name of the resource data sync.

$sel:lastStatus:ResourceDataSyncItem', resourceDataSyncItem_lastStatus - The status reported by the last sync.

$sel:syncLastModifiedTime:ResourceDataSyncItem', resourceDataSyncItem_syncLastModifiedTime - The date and time the resource data sync was changed.

$sel:s3Destination:ResourceDataSyncItem', resourceDataSyncItem_s3Destination - Configuration information for the target S3 bucket.

$sel:lastSuccessfulSyncTime:ResourceDataSyncItem', resourceDataSyncItem_lastSuccessfulSyncTime - The last time the sync operations returned a status of SUCCESSFUL (UTC).

resourceDataSyncItem_syncType :: Lens' ResourceDataSyncItem (Maybe Text) Source #

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

resourceDataSyncItem_syncSource :: Lens' ResourceDataSyncItem (Maybe ResourceDataSyncSourceWithState) Source #

Information about the source where the data was synchronized.

resourceDataSyncItem_lastSyncStatusMessage :: Lens' ResourceDataSyncItem (Maybe Text) Source #

The status message details reported by the last sync.

resourceDataSyncItem_syncCreatedTime :: Lens' ResourceDataSyncItem (Maybe UTCTime) Source #

The date and time the configuration was created (UTC).

resourceDataSyncItem_lastSyncTime :: Lens' ResourceDataSyncItem (Maybe UTCTime) Source #

The last time the configuration attempted to sync (UTC).

resourceDataSyncItem_syncLastModifiedTime :: Lens' ResourceDataSyncItem (Maybe UTCTime) Source #

The date and time the resource data sync was changed.

resourceDataSyncItem_lastSuccessfulSyncTime :: Lens' ResourceDataSyncItem (Maybe UTCTime) Source #

The last time the sync operations returned a status of SUCCESSFUL (UTC).