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

Description

 
Synopsis

Documentation

data ReplicationJob Source #

Represents a replication job.

See: newReplicationJob smart constructor.

Constructors

ReplicationJob' 

Fields

Instances

Instances details
Eq ReplicationJob Source # 
Instance details

Defined in Amazonka.SMS.Types.ReplicationJob

Read ReplicationJob Source # 
Instance details

Defined in Amazonka.SMS.Types.ReplicationJob

Show ReplicationJob Source # 
Instance details

Defined in Amazonka.SMS.Types.ReplicationJob

Generic ReplicationJob Source # 
Instance details

Defined in Amazonka.SMS.Types.ReplicationJob

Associated Types

type Rep ReplicationJob :: Type -> Type #

NFData ReplicationJob Source # 
Instance details

Defined in Amazonka.SMS.Types.ReplicationJob

Methods

rnf :: ReplicationJob -> () #

Hashable ReplicationJob Source # 
Instance details

Defined in Amazonka.SMS.Types.ReplicationJob

FromJSON ReplicationJob Source # 
Instance details

Defined in Amazonka.SMS.Types.ReplicationJob

type Rep ReplicationJob Source # 
Instance details

Defined in Amazonka.SMS.Types.ReplicationJob

type Rep ReplicationJob = D1 ('MetaData "ReplicationJob" "Amazonka.SMS.Types.ReplicationJob" "libZSservicesZSamazonka-smsZSamazonka-sms" 'False) (C1 ('MetaCons "ReplicationJob'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "frequency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "numberOfRecentAmisToKeep") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReplicationJobState)) :*: S1 ('MetaSel ('Just "serverType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ServerType)))) :*: ((S1 ('MetaSel ('Just "serverId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "licenseType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LicenseType))) :*: (S1 ('MetaSel ('Just "roleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "vmServer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VmServer)) :*: S1 ('MetaSel ('Just "encrypted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))) :*: (((S1 ('MetaSel ('Just "replicationJobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "replicationRunList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ReplicationRun]))) :*: (S1 ('MetaSel ('Just "nextReplicationRunStartTime") '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 "latestAmiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "seedReplicationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "runOnce") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))))

newReplicationJob :: ReplicationJob Source #

Create a value of ReplicationJob 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:frequency:ReplicationJob', replicationJob_frequency - The time between consecutive replication runs, in hours.

$sel:numberOfRecentAmisToKeep:ReplicationJob', replicationJob_numberOfRecentAmisToKeep - The number of recent AMIs to keep in the customer's account for a replication job. By default, the value is set to zero, meaning that all AMIs are kept.

$sel:state:ReplicationJob', replicationJob_state - The state of the replication job.

$sel:serverType:ReplicationJob', replicationJob_serverType - The type of server.

$sel:serverId:ReplicationJob', replicationJob_serverId - The ID of the server.

$sel:licenseType:ReplicationJob', replicationJob_licenseType - The license type to be used for the AMI created by a successful replication run.

$sel:roleName:ReplicationJob', replicationJob_roleName - The name of the IAM role to be used by AWS SMS.

$sel:vmServer:ReplicationJob', replicationJob_vmServer - Information about the VM server.

$sel:encrypted:ReplicationJob', replicationJob_encrypted - Indicates whether the replication job should produce encrypted AMIs.

$sel:replicationJobId:ReplicationJob', replicationJob_replicationJobId - The ID of the replication job.

$sel:replicationRunList:ReplicationJob', replicationJob_replicationRunList - Information about the replication runs.

$sel:nextReplicationRunStartTime:ReplicationJob', replicationJob_nextReplicationRunStartTime - The start time of the next replication run.

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

$sel:kmsKeyId:ReplicationJob', replicationJob_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 enabled but a KMS key ID is not specified, the customer's default KMS key for Amazon EBS is used.

$sel:latestAmiId:ReplicationJob', replicationJob_latestAmiId - The ID of the latest Amazon Machine Image (AMI).

$sel:seedReplicationTime:ReplicationJob', replicationJob_seedReplicationTime - The seed replication time.

$sel:runOnce:ReplicationJob', replicationJob_runOnce - Indicates whether to run the replication job one time.

$sel:description:ReplicationJob', replicationJob_description - The description of the replication job.

replicationJob_frequency :: Lens' ReplicationJob (Maybe Int) Source #

The time between consecutive replication runs, in hours.

replicationJob_numberOfRecentAmisToKeep :: Lens' ReplicationJob (Maybe Int) Source #

The number of recent AMIs to keep in the customer's account for a replication job. By default, the value is set to zero, meaning that all AMIs are kept.

replicationJob_licenseType :: Lens' ReplicationJob (Maybe LicenseType) Source #

The license type to be used for the AMI created by a successful replication run.

replicationJob_roleName :: Lens' ReplicationJob (Maybe Text) Source #

The name of the IAM role to be used by AWS SMS.

replicationJob_vmServer :: Lens' ReplicationJob (Maybe VmServer) Source #

Information about the VM server.

replicationJob_encrypted :: Lens' ReplicationJob (Maybe Bool) Source #

Indicates whether the replication job should produce encrypted AMIs.

replicationJob_replicationRunList :: Lens' ReplicationJob (Maybe [ReplicationRun]) Source #

Information about the replication runs.

replicationJob_nextReplicationRunStartTime :: Lens' ReplicationJob (Maybe UTCTime) Source #

The start time of the next replication run.

replicationJob_statusMessage :: Lens' ReplicationJob (Maybe Text) Source #

The description of the current status of the replication job.

replicationJob_kmsKeyId :: Lens' ReplicationJob (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 enabled but a KMS key ID is not specified, the customer's default KMS key for Amazon EBS is used.

replicationJob_latestAmiId :: Lens' ReplicationJob (Maybe Text) Source #

The ID of the latest Amazon Machine Image (AMI).

replicationJob_runOnce :: Lens' ReplicationJob (Maybe Bool) Source #

Indicates whether to run the replication job one time.

replicationJob_description :: Lens' ReplicationJob (Maybe Text) Source #

The description of the replication job.