libZSservicesZSamazonka-rdsZSamazonka-rds
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.RDS.StartDBInstanceAutomatedBackupsReplication

Description

Enables replication of automated backups to a different Amazon Web Services Region.

For more information, see Replicating Automated Backups to Another Amazon Web Services Region in the Amazon RDS User Guide.

Synopsis

Creating a Request

data StartDBInstanceAutomatedBackupsReplication Source #

Constructors

StartDBInstanceAutomatedBackupsReplication' 

Fields

  • preSignedUrl :: Maybe Text

    A URL that contains a Signature Version 4 signed request for the StartDBInstanceAutomatedBackupsReplication action to be called in the Amazon Web Services Region of the source DB instance. The presigned URL must be a valid request for the StartDBInstanceAutomatedBackupsReplication API action that can be executed in the Amazon Web Services Region that contains the source DB instance.

  • destinationRegion :: Maybe Text

    Pseudo-parameter used when populating the PreSignedUrl of a cross-region StartDBInstanceAutomatedBackupsReplication request. To replicate from region SRC to region DST, send a request to region DST. In that request, pass a PreSignedUrl for region SRC with DestinationRegion set to region DST.

  • kmsKeyId :: Maybe Text

    The Amazon Web Services KMS key identifier for encryption of the replicated automated backups. The KMS key ID is the Amazon Resource Name (ARN) for the KMS encryption key in the destination Amazon Web Services Region, for example, arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE.

  • backupRetentionPeriod :: Maybe Int

    The retention period for the replicated automated backups.

  • sourceDBInstanceArn :: Text

    The Amazon Resource Name (ARN) of the source DB instance for the replicated automated backups, for example, arn:aws:rds:us-west-2:123456789012:db:mydatabase.

Instances

Instances details
Eq StartDBInstanceAutomatedBackupsReplication Source # 
Instance details

Defined in Amazonka.RDS.StartDBInstanceAutomatedBackupsReplication

Read StartDBInstanceAutomatedBackupsReplication Source # 
Instance details

Defined in Amazonka.RDS.StartDBInstanceAutomatedBackupsReplication

Show StartDBInstanceAutomatedBackupsReplication Source # 
Instance details

Defined in Amazonka.RDS.StartDBInstanceAutomatedBackupsReplication

Generic StartDBInstanceAutomatedBackupsReplication Source # 
Instance details

Defined in Amazonka.RDS.StartDBInstanceAutomatedBackupsReplication

NFData StartDBInstanceAutomatedBackupsReplication Source # 
Instance details

Defined in Amazonka.RDS.StartDBInstanceAutomatedBackupsReplication

Hashable StartDBInstanceAutomatedBackupsReplication Source # 
Instance details

Defined in Amazonka.RDS.StartDBInstanceAutomatedBackupsReplication

AWSRequest StartDBInstanceAutomatedBackupsReplication Source # 
Instance details

Defined in Amazonka.RDS.StartDBInstanceAutomatedBackupsReplication

ToHeaders StartDBInstanceAutomatedBackupsReplication Source # 
Instance details

Defined in Amazonka.RDS.StartDBInstanceAutomatedBackupsReplication

ToPath StartDBInstanceAutomatedBackupsReplication Source # 
Instance details

Defined in Amazonka.RDS.StartDBInstanceAutomatedBackupsReplication

ToQuery StartDBInstanceAutomatedBackupsReplication Source # 
Instance details

Defined in Amazonka.RDS.StartDBInstanceAutomatedBackupsReplication

type Rep StartDBInstanceAutomatedBackupsReplication Source # 
Instance details

Defined in Amazonka.RDS.StartDBInstanceAutomatedBackupsReplication

type Rep StartDBInstanceAutomatedBackupsReplication = D1 ('MetaData "StartDBInstanceAutomatedBackupsReplication" "Amazonka.RDS.StartDBInstanceAutomatedBackupsReplication" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "StartDBInstanceAutomatedBackupsReplication'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "preSignedUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "destinationRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "backupRetentionPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "sourceDBInstanceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse StartDBInstanceAutomatedBackupsReplication Source # 
Instance details

Defined in Amazonka.RDS.StartDBInstanceAutomatedBackupsReplication

newStartDBInstanceAutomatedBackupsReplication Source #

Create a value of StartDBInstanceAutomatedBackupsReplication 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:preSignedUrl:StartDBInstanceAutomatedBackupsReplication', startDBInstanceAutomatedBackupsReplication_preSignedUrl - A URL that contains a Signature Version 4 signed request for the StartDBInstanceAutomatedBackupsReplication action to be called in the Amazon Web Services Region of the source DB instance. The presigned URL must be a valid request for the StartDBInstanceAutomatedBackupsReplication API action that can be executed in the Amazon Web Services Region that contains the source DB instance.

$sel:destinationRegion:StartDBInstanceAutomatedBackupsReplication', startDBInstanceAutomatedBackupsReplication_destinationRegion - Pseudo-parameter used when populating the PreSignedUrl of a cross-region StartDBInstanceAutomatedBackupsReplication request. To replicate from region SRC to region DST, send a request to region DST. In that request, pass a PreSignedUrl for region SRC with DestinationRegion set to region DST.

$sel:kmsKeyId:StartDBInstanceAutomatedBackupsReplication', startDBInstanceAutomatedBackupsReplication_kmsKeyId - The Amazon Web Services KMS key identifier for encryption of the replicated automated backups. The KMS key ID is the Amazon Resource Name (ARN) for the KMS encryption key in the destination Amazon Web Services Region, for example, arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE.

$sel:backupRetentionPeriod:StartDBInstanceAutomatedBackupsReplication', startDBInstanceAutomatedBackupsReplication_backupRetentionPeriod - The retention period for the replicated automated backups.

$sel:sourceDBInstanceArn:StartDBInstanceAutomatedBackupsReplication', startDBInstanceAutomatedBackupsReplication_sourceDBInstanceArn - The Amazon Resource Name (ARN) of the source DB instance for the replicated automated backups, for example, arn:aws:rds:us-west-2:123456789012:db:mydatabase.

Request Lenses

startDBInstanceAutomatedBackupsReplication_preSignedUrl :: Lens' StartDBInstanceAutomatedBackupsReplication (Maybe Text) Source #

A URL that contains a Signature Version 4 signed request for the StartDBInstanceAutomatedBackupsReplication action to be called in the Amazon Web Services Region of the source DB instance. The presigned URL must be a valid request for the StartDBInstanceAutomatedBackupsReplication API action that can be executed in the Amazon Web Services Region that contains the source DB instance.

startDBInstanceAutomatedBackupsReplication_destinationRegion :: Lens' StartDBInstanceAutomatedBackupsReplication (Maybe Text) Source #

Pseudo-parameter used when populating the PreSignedUrl of a cross-region StartDBInstanceAutomatedBackupsReplication request. To replicate from region SRC to region DST, send a request to region DST. In that request, pass a PreSignedUrl for region SRC with DestinationRegion set to region DST.

startDBInstanceAutomatedBackupsReplication_kmsKeyId :: Lens' StartDBInstanceAutomatedBackupsReplication (Maybe Text) Source #

The Amazon Web Services KMS key identifier for encryption of the replicated automated backups. The KMS key ID is the Amazon Resource Name (ARN) for the KMS encryption key in the destination Amazon Web Services Region, for example, arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE.

startDBInstanceAutomatedBackupsReplication_sourceDBInstanceArn :: Lens' StartDBInstanceAutomatedBackupsReplication Text Source #

The Amazon Resource Name (ARN) of the source DB instance for the replicated automated backups, for example, arn:aws:rds:us-west-2:123456789012:db:mydatabase.

Destructuring the Response

data StartDBInstanceAutomatedBackupsReplicationResponse Source #

Instances

Instances details
Eq StartDBInstanceAutomatedBackupsReplicationResponse Source # 
Instance details

Defined in Amazonka.RDS.StartDBInstanceAutomatedBackupsReplication

Read StartDBInstanceAutomatedBackupsReplicationResponse Source # 
Instance details

Defined in Amazonka.RDS.StartDBInstanceAutomatedBackupsReplication

Show StartDBInstanceAutomatedBackupsReplicationResponse Source # 
Instance details

Defined in Amazonka.RDS.StartDBInstanceAutomatedBackupsReplication

Generic StartDBInstanceAutomatedBackupsReplicationResponse Source # 
Instance details

Defined in Amazonka.RDS.StartDBInstanceAutomatedBackupsReplication

NFData StartDBInstanceAutomatedBackupsReplicationResponse Source # 
Instance details

Defined in Amazonka.RDS.StartDBInstanceAutomatedBackupsReplication

type Rep StartDBInstanceAutomatedBackupsReplicationResponse Source # 
Instance details

Defined in Amazonka.RDS.StartDBInstanceAutomatedBackupsReplication

type Rep StartDBInstanceAutomatedBackupsReplicationResponse = D1 ('MetaData "StartDBInstanceAutomatedBackupsReplicationResponse" "Amazonka.RDS.StartDBInstanceAutomatedBackupsReplication" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "StartDBInstanceAutomatedBackupsReplicationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dbInstanceAutomatedBackup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DBInstanceAutomatedBackup)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

Response Lenses