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 |
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
- data StartDBInstanceAutomatedBackupsReplication = StartDBInstanceAutomatedBackupsReplication' {}
- newStartDBInstanceAutomatedBackupsReplication :: Text -> StartDBInstanceAutomatedBackupsReplication
- startDBInstanceAutomatedBackupsReplication_backupRetentionPeriod :: Lens' StartDBInstanceAutomatedBackupsReplication (Maybe Int)
- startDBInstanceAutomatedBackupsReplication_destinationRegion :: Lens' StartDBInstanceAutomatedBackupsReplication (Maybe Text)
- startDBInstanceAutomatedBackupsReplication_kmsKeyId :: Lens' StartDBInstanceAutomatedBackupsReplication (Maybe Text)
- startDBInstanceAutomatedBackupsReplication_preSignedUrl :: Lens' StartDBInstanceAutomatedBackupsReplication (Maybe Text)
- startDBInstanceAutomatedBackupsReplication_sourceDBInstanceArn :: Lens' StartDBInstanceAutomatedBackupsReplication Text
- data StartDBInstanceAutomatedBackupsReplicationResponse = StartDBInstanceAutomatedBackupsReplicationResponse' {}
- newStartDBInstanceAutomatedBackupsReplicationResponse :: Int -> StartDBInstanceAutomatedBackupsReplicationResponse
- startDBInstanceAutomatedBackupsReplicationResponse_dbInstanceAutomatedBackup :: Lens' StartDBInstanceAutomatedBackupsReplicationResponse (Maybe DBInstanceAutomatedBackup)
- startDBInstanceAutomatedBackupsReplicationResponse_httpStatus :: Lens' StartDBInstanceAutomatedBackupsReplicationResponse Int
Creating a Request
data StartDBInstanceAutomatedBackupsReplication Source #
See: newStartDBInstanceAutomatedBackupsReplication
smart constructor.
StartDBInstanceAutomatedBackupsReplication' | |
|
Instances
newStartDBInstanceAutomatedBackupsReplication Source #
:: Text |
|
-> StartDBInstanceAutomatedBackupsReplication |
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_backupRetentionPeriod :: Lens' StartDBInstanceAutomatedBackupsReplication (Maybe Int) Source #
The retention period for the replicated automated backups.
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 #
See: newStartDBInstanceAutomatedBackupsReplicationResponse
smart constructor.
StartDBInstanceAutomatedBackupsReplicationResponse' | |
|
Instances
newStartDBInstanceAutomatedBackupsReplicationResponse Source #
:: Int |
|
-> StartDBInstanceAutomatedBackupsReplicationResponse |
Create a value of StartDBInstanceAutomatedBackupsReplicationResponse
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:dbInstanceAutomatedBackup:StartDBInstanceAutomatedBackupsReplicationResponse'
, startDBInstanceAutomatedBackupsReplicationResponse_dbInstanceAutomatedBackup
- Undocumented member.
$sel:httpStatus:StartDBInstanceAutomatedBackupsReplicationResponse'
, startDBInstanceAutomatedBackupsReplicationResponse_httpStatus
- The response's http status code.
Response Lenses
startDBInstanceAutomatedBackupsReplicationResponse_dbInstanceAutomatedBackup :: Lens' StartDBInstanceAutomatedBackupsReplicationResponse (Maybe DBInstanceAutomatedBackup) Source #
Undocumented member.
startDBInstanceAutomatedBackupsReplicationResponse_httpStatus :: Lens' StartDBInstanceAutomatedBackupsReplicationResponse Int Source #
The response's http status code.