amazonka-rds-2.0: Amazon Relational Database Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.RDS.StartDBInstanceAutomatedBackupsReplication

Description

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

This command doesn't apply to RDS Custom.

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

  • backupRetentionPeriod :: Maybe Int

    The retention period for the replicated automated backups.

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

  • preSignedUrl :: Maybe Text

    In an Amazon Web Services GovCloud (US) Region, an URL that contains a Signature Version 4 signed request for the StartDBInstanceAutomatedBackupsReplication operation to call in the Amazon Web Services Region of the source DB instance. The presigned URL must be a valid request for the StartDBInstanceAutomatedBackupsReplication API operation that can run in the Amazon Web Services Region that contains the source DB instance.

    This setting applies only to Amazon Web Services GovCloud (US) Regions. It's ignored in other Amazon Web Services Regions.

    To learn how to generate a Signature Version 4 signed request, see Authenticating Requests: Using Query Parameters (Amazon Web Services Signature Version 4) and Signature Version 4 Signing Process.

    If you are using an Amazon Web Services SDK tool or the CLI, you can specify SourceRegion (or --source-region for the CLI) instead of specifying PreSignedUrl manually. Specifying SourceRegion autogenerates a presigned URL that is a valid request for the operation that can run in the source Amazon Web Services Region.

  • 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
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

AWSRequest StartDBInstanceAutomatedBackupsReplication Source # 
Instance details

Defined in Amazonka.RDS.StartDBInstanceAutomatedBackupsReplication

Generic 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

NFData StartDBInstanceAutomatedBackupsReplication Source # 
Instance details

Defined in Amazonka.RDS.StartDBInstanceAutomatedBackupsReplication

Eq StartDBInstanceAutomatedBackupsReplication Source # 
Instance details

Defined in Amazonka.RDS.StartDBInstanceAutomatedBackupsReplication

Hashable StartDBInstanceAutomatedBackupsReplication Source # 
Instance details

Defined in Amazonka.RDS.StartDBInstanceAutomatedBackupsReplication

type AWSResponse 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" "amazonka-rds-2.0-3xXyiLHmAvvCXXUIx1uhpP" 'False) (C1 ('MetaCons "StartDBInstanceAutomatedBackupsReplication'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "backupRetentionPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "destinationRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "preSignedUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sourceDBInstanceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

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:

StartDBInstanceAutomatedBackupsReplication, startDBInstanceAutomatedBackupsReplication_backupRetentionPeriod - The retention period for the replicated automated backups.

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

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:preSignedUrl:StartDBInstanceAutomatedBackupsReplication', startDBInstanceAutomatedBackupsReplication_preSignedUrl - In an Amazon Web Services GovCloud (US) Region, an URL that contains a Signature Version 4 signed request for the StartDBInstanceAutomatedBackupsReplication operation to call in the Amazon Web Services Region of the source DB instance. The presigned URL must be a valid request for the StartDBInstanceAutomatedBackupsReplication API operation that can run in the Amazon Web Services Region that contains the source DB instance.

This setting applies only to Amazon Web Services GovCloud (US) Regions. It's ignored in other Amazon Web Services Regions.

To learn how to generate a Signature Version 4 signed request, see Authenticating Requests: Using Query Parameters (Amazon Web Services Signature Version 4) and Signature Version 4 Signing Process.

If you are using an Amazon Web Services SDK tool or the CLI, you can specify SourceRegion (or --source-region for the CLI) instead of specifying PreSignedUrl manually. Specifying SourceRegion autogenerates a presigned URL that is a valid request for the operation that can run in the source Amazon Web Services Region.

$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_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_preSignedUrl :: Lens' StartDBInstanceAutomatedBackupsReplication (Maybe Text) Source #

In an Amazon Web Services GovCloud (US) Region, an URL that contains a Signature Version 4 signed request for the StartDBInstanceAutomatedBackupsReplication operation to call in the Amazon Web Services Region of the source DB instance. The presigned URL must be a valid request for the StartDBInstanceAutomatedBackupsReplication API operation that can run in the Amazon Web Services Region that contains the source DB instance.

This setting applies only to Amazon Web Services GovCloud (US) Regions. It's ignored in other Amazon Web Services Regions.

To learn how to generate a Signature Version 4 signed request, see Authenticating Requests: Using Query Parameters (Amazon Web Services Signature Version 4) and Signature Version 4 Signing Process.

If you are using an Amazon Web Services SDK tool or the CLI, you can specify SourceRegion (or --source-region for the CLI) instead of specifying PreSignedUrl manually. Specifying SourceRegion autogenerates a presigned URL that is a valid request for the operation that can run in the source Amazon Web Services Region.

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
Generic 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

NFData StartDBInstanceAutomatedBackupsReplicationResponse Source # 
Instance details

Defined in Amazonka.RDS.StartDBInstanceAutomatedBackupsReplication

Eq 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" "amazonka-rds-2.0-3xXyiLHmAvvCXXUIx1uhpP" '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