libZSservicesZSamazonka-smsZSamazonka-sms
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.SMS.Types.ReplicationRun

Description

 
Synopsis

Documentation

data ReplicationRun Source #

Represents a replication run.

See: newReplicationRun smart constructor.

Constructors

ReplicationRun' 

Fields

Instances

Instances details
Eq ReplicationRun Source # 
Instance details

Defined in Amazonka.SMS.Types.ReplicationRun

Read ReplicationRun Source # 
Instance details

Defined in Amazonka.SMS.Types.ReplicationRun

Show ReplicationRun Source # 
Instance details

Defined in Amazonka.SMS.Types.ReplicationRun

Generic ReplicationRun Source # 
Instance details

Defined in Amazonka.SMS.Types.ReplicationRun

Associated Types

type Rep ReplicationRun :: Type -> Type #

NFData ReplicationRun Source # 
Instance details

Defined in Amazonka.SMS.Types.ReplicationRun

Methods

rnf :: ReplicationRun -> () #

Hashable ReplicationRun Source # 
Instance details

Defined in Amazonka.SMS.Types.ReplicationRun

FromJSON ReplicationRun Source # 
Instance details

Defined in Amazonka.SMS.Types.ReplicationRun

type Rep ReplicationRun Source # 
Instance details

Defined in Amazonka.SMS.Types.ReplicationRun

type Rep ReplicationRun = D1 ('MetaData "ReplicationRun" "Amazonka.SMS.Types.ReplicationRun" "libZSservicesZSamazonka-smsZSamazonka-sms" 'False) (C1 ('MetaCons "ReplicationRun'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReplicationRunState)) :*: S1 ('MetaSel ('Just "replicationRunId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "encrypted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "stageDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReplicationRunStageDetails)) :*: S1 ('MetaSel ('Just "scheduledStartTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))) :*: ((S1 ('MetaSel ('Just "statusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "completedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "amiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReplicationRunType)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newReplicationRun :: ReplicationRun Source #

Create a value of ReplicationRun 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:state:ReplicationRun', replicationRun_state - The state of the replication run.

$sel:replicationRunId:ReplicationRun', replicationRun_replicationRunId - The ID of the replication run.

$sel:encrypted:ReplicationRun', replicationRun_encrypted - Indicates whether the replication run should produce an encrypted AMI.

$sel:stageDetails:ReplicationRun', replicationRun_stageDetails - Details about the current stage of the replication run.

$sel:scheduledStartTime:ReplicationRun', replicationRun_scheduledStartTime - The start time of the next replication run.

$sel:statusMessage:ReplicationRun', replicationRun_statusMessage - The description of the current status of the replication job.

$sel:kmsKeyId:ReplicationRun', replicationRun_kmsKeyId - The ID of the KMS key for replication jobs that produce encrypted AMIs. This value can be any of the following:

  • KMS key ID
  • KMS key alias
  • ARN referring to the KMS key ID
  • ARN referring to the KMS key alias

If encrypted is true but a KMS key ID is not specified, the customer's default KMS key for Amazon EBS is used.

$sel:completedTime:ReplicationRun', replicationRun_completedTime - The completion time of the last replication run.

$sel:amiId:ReplicationRun', replicationRun_amiId - The ID of the Amazon Machine Image (AMI) from the replication run.

$sel:type':ReplicationRun', replicationRun_type - The type of replication run.

$sel:description:ReplicationRun', replicationRun_description - The description of the replication run.

replicationRun_encrypted :: Lens' ReplicationRun (Maybe Bool) Source #

Indicates whether the replication run should produce an encrypted AMI.

replicationRun_stageDetails :: Lens' ReplicationRun (Maybe ReplicationRunStageDetails) Source #

Details about the current stage of the replication run.

replicationRun_scheduledStartTime :: Lens' ReplicationRun (Maybe UTCTime) Source #

The start time of the next replication run.

replicationRun_statusMessage :: Lens' ReplicationRun (Maybe Text) Source #

The description of the current status of the replication job.

replicationRun_kmsKeyId :: Lens' ReplicationRun (Maybe Text) Source #

The ID of the KMS key for replication jobs that produce encrypted AMIs. This value can be any of the following:

  • KMS key ID
  • KMS key alias
  • ARN referring to the KMS key ID
  • ARN referring to the KMS key alias

If encrypted is true but a KMS key ID is not specified, the customer's default KMS key for Amazon EBS is used.

replicationRun_completedTime :: Lens' ReplicationRun (Maybe UTCTime) Source #

The completion time of the last replication run.

replicationRun_amiId :: Lens' ReplicationRun (Maybe Text) Source #

The ID of the Amazon Machine Image (AMI) from the replication run.

replicationRun_description :: Lens' ReplicationRun (Maybe Text) Source #

The description of the replication run.