Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data ReplicationRun = ReplicationRun' {
- amiId :: Maybe Text
- completedTime :: Maybe POSIX
- description :: Maybe Text
- encrypted :: Maybe Bool
- kmsKeyId :: Maybe Text
- replicationRunId :: Maybe Text
- scheduledStartTime :: Maybe POSIX
- stageDetails :: Maybe ReplicationRunStageDetails
- state :: Maybe ReplicationRunState
- statusMessage :: Maybe Text
- type' :: Maybe ReplicationRunType
- newReplicationRun :: ReplicationRun
- replicationRun_amiId :: Lens' ReplicationRun (Maybe Text)
- replicationRun_completedTime :: Lens' ReplicationRun (Maybe UTCTime)
- replicationRun_description :: Lens' ReplicationRun (Maybe Text)
- replicationRun_encrypted :: Lens' ReplicationRun (Maybe Bool)
- replicationRun_kmsKeyId :: Lens' ReplicationRun (Maybe Text)
- replicationRun_replicationRunId :: Lens' ReplicationRun (Maybe Text)
- replicationRun_scheduledStartTime :: Lens' ReplicationRun (Maybe UTCTime)
- replicationRun_stageDetails :: Lens' ReplicationRun (Maybe ReplicationRunStageDetails)
- replicationRun_state :: Lens' ReplicationRun (Maybe ReplicationRunState)
- replicationRun_statusMessage :: Lens' ReplicationRun (Maybe Text)
- replicationRun_type :: Lens' ReplicationRun (Maybe ReplicationRunType)
Documentation
data ReplicationRun Source #
Represents a replication run.
See: newReplicationRun
smart constructor.
ReplicationRun' | |
|
Instances
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:amiId:ReplicationRun'
, replicationRun_amiId
- The ID of the Amazon Machine Image (AMI) from the replication run.
$sel:completedTime:ReplicationRun'
, replicationRun_completedTime
- The completion time of the last replication run.
$sel:description:ReplicationRun'
, replicationRun_description
- The description of the replication run.
$sel:encrypted:ReplicationRun'
, replicationRun_encrypted
- Indicates whether the replication run should produce an encrypted AMI.
$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:replicationRunId:ReplicationRun'
, replicationRun_replicationRunId
- The ID of the replication run.
$sel:scheduledStartTime:ReplicationRun'
, replicationRun_scheduledStartTime
- The start time of the next replication run.
$sel:stageDetails:ReplicationRun'
, replicationRun_stageDetails
- Details about the current stage of the replication run.
$sel:state:ReplicationRun'
, replicationRun_state
- The state of the replication run.
$sel:statusMessage:ReplicationRun'
, replicationRun_statusMessage
- The description of the current status of the replication job.
$sel:type':ReplicationRun'
, replicationRun_type
- The type of replication run.
replicationRun_amiId :: Lens' ReplicationRun (Maybe Text) Source #
The ID of the Amazon Machine Image (AMI) from the replication run.
replicationRun_completedTime :: Lens' ReplicationRun (Maybe UTCTime) Source #
The completion time of the last replication run.
replicationRun_description :: Lens' ReplicationRun (Maybe Text) Source #
The description of the replication run.
replicationRun_encrypted :: Lens' ReplicationRun (Maybe Bool) Source #
Indicates whether the replication run should produce an encrypted AMI.
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_replicationRunId :: Lens' ReplicationRun (Maybe Text) Source #
The ID of the replication run.
replicationRun_scheduledStartTime :: Lens' ReplicationRun (Maybe UTCTime) Source #
The start time of the next replication run.
replicationRun_stageDetails :: Lens' ReplicationRun (Maybe ReplicationRunStageDetails) Source #
Details about the current stage of the replication run.
replicationRun_state :: Lens' ReplicationRun (Maybe ReplicationRunState) Source #
The state of the replication run.
replicationRun_statusMessage :: Lens' ReplicationRun (Maybe Text) Source #
The description of the current status of the replication job.
replicationRun_type :: Lens' ReplicationRun (Maybe ReplicationRunType) Source #
The type of replication run.