diff --git a/CHANGELOG.md b/CHANGELOG.md index 77e09111ccd..4891592a184 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +Release v1.37.15 (2021-02-19) +=== + +### Service Client Updates +* `service/rds`: Updates service API and documentation + * Added awsBackupRecoveryPointArn in ModifyDBInstanceRequest and in the response of ModifyDBInstance. + Release v1.37.14 (2021-02-18) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index f472e558c6f..50a3c1c92e1 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -6582,6 +6582,7 @@ var awsPartition = partition{ "transfer": service{ Endpoints: endpoints{ + "ap-east-1": endpoint{}, "ap-northeast-1": endpoint{}, "ap-northeast-2": endpoint{}, "ap-south-1": endpoint{}, @@ -6623,11 +6624,12 @@ var awsPartition = partition{ Region: "us-west-2", }, }, - "sa-east-1": endpoint{}, - "us-east-1": endpoint{}, - "us-east-2": endpoint{}, - "us-west-1": endpoint{}, - "us-west-2": endpoint{}, + "me-south-1": endpoint{}, + "sa-east-1": endpoint{}, + "us-east-1": endpoint{}, + "us-east-2": endpoint{}, + "us-west-1": endpoint{}, + "us-west-2": endpoint{}, }, }, "translate": service{ diff --git a/aws/version.go b/aws/version.go index 83754737c78..fe73428eb24 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.37.14" +const SDKVersion = "1.37.15" diff --git a/models/apis/rds/2014-10-31/api-2.json b/models/apis/rds/2014-10-31/api-2.json index 9bffdfc24c0..6ffb8db88ce 100644 --- a/models/apis/rds/2014-10-31/api-2.json +++ b/models/apis/rds/2014-10-31/api-2.json @@ -2548,6 +2548,12 @@ "locationName":"AvailableProcessorFeature" } }, + "AwsBackupRecoveryPointArn":{ + "type":"string", + "max":350, + "min":43, + "pattern":"^arn:aws[a-z-]*:backup:[-a-z0-9]+:[0-9]{12}:[-a-z]+:([a-z0-9\\-]+:)?[a-z][a-z0-9\\-]{0,255}$" + }, "BacktrackDBClusterMessage":{ "type":"structure", "required":[ @@ -3760,7 +3766,8 @@ "MaxAllocatedStorage":{"shape":"IntegerOptional"}, "TagList":{"shape":"TagList"}, "DBInstanceAutomatedBackupsReplications":{"shape":"DBInstanceAutomatedBackupsReplicationList"}, - "CustomerOwnedIpEnabled":{"shape":"BooleanOptional"} + "CustomerOwnedIpEnabled":{"shape":"BooleanOptional"}, + "AwsBackupRecoveryPointArn":{"shape":"String"} }, "wrapper":true }, @@ -6159,7 +6166,8 @@ "MaxAllocatedStorage":{"shape":"IntegerOptional"}, "CertificateRotationRestart":{"shape":"BooleanOptional"}, "ReplicaMode":{"shape":"ReplicaMode"}, - "EnableCustomerOwnedIp":{"shape":"BooleanOptional"} + "EnableCustomerOwnedIp":{"shape":"BooleanOptional"}, + "AwsBackupRecoveryPointArn":{"shape":"AwsBackupRecoveryPointArn"} } }, "ModifyDBInstanceResult":{ diff --git a/models/apis/rds/2014-10-31/docs-2.json b/models/apis/rds/2014-10-31/docs-2.json index 7c9ae122c7e..d968eb45958 100644 --- a/models/apis/rds/2014-10-31/docs-2.json +++ b/models/apis/rds/2014-10-31/docs-2.json @@ -290,6 +290,12 @@ "ValidDBInstanceModificationsMessage$ValidProcessorFeatures": "

Valid processor features for your DB instance.

" } }, + "AwsBackupRecoveryPointArn": { + "base": null, + "refs": { + "ModifyDBInstanceMessage$AwsBackupRecoveryPointArn": "

The Amazon Resource Name (ARN) of the recovery point in AWS Backup.

" + } + }, "BacktrackDBClusterMessage": { "base": "

", "refs": { @@ -2574,7 +2580,7 @@ "refs": { "CloudwatchLogsExportConfiguration$EnableLogTypes": "

The list of log types to enable.

", "CloudwatchLogsExportConfiguration$DisableLogTypes": "

The list of log types to disable.

", - "CreateDBClusterMessage$EnableCloudwatchLogsExports": "

The list of log types that need to be enabled for exporting to CloudWatch Logs. The values in the list depend on the DB engine being used. For more information, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

Aurora MySQL

Possible values are audit, error, general, and slowquery.

Aurora PostgreSQL

Possible values are postgresql and upgrade.

", + "CreateDBClusterMessage$EnableCloudwatchLogsExports": "

The list of log types that need to be enabled for exporting to CloudWatch Logs. The values in the list depend on the DB engine being used. For more information, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Aurora User Guide.

Aurora MySQL

Possible values are audit, error, general, and slowquery.

Aurora PostgreSQL

Possible value is postgresql.

", "CreateDBInstanceMessage$EnableCloudwatchLogsExports": "

The list of log types that need to be enabled for exporting to CloudWatch Logs. The values in the list depend on the DB engine being used. For more information, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon Relational Database Service User Guide.

Amazon Aurora

Not applicable. CloudWatch Logs exports are managed by the DB cluster.

MariaDB

Possible values are audit, error, general, and slowquery.

Microsoft SQL Server

Possible values are agent and error.

MySQL

Possible values are audit, error, general, and slowquery.

Oracle

Possible values are alert, audit, listener, trace, and oemagent.

PostgreSQL

Possible values are postgresql and upgrade.

", "CreateDBInstanceReadReplicaMessage$EnableCloudwatchLogsExports": "

The list of logs that the new DB instance is to export to CloudWatch Logs. The values in the list depend on the DB engine being used. For more information, see Publishing Database Logs to Amazon CloudWatch Logs in the Amazon RDS User Guide.

", "DBCluster$EnabledCloudwatchLogsExports": "

A list of log types that this DB cluster is configured to export to CloudWatch Logs.

Log types vary by DB engine. For information about the log types for each DB engine, see Amazon RDS Database Log Files in the Amazon Aurora User Guide.

", @@ -3756,6 +3762,7 @@ "DBInstance$DBInstanceArn": "

The Amazon Resource Name (ARN) for the DB instance.

", "DBInstance$Timezone": "

The time zone of the DB instance. In most cases, the Timezone element is empty. Timezone content appears only for Microsoft SQL Server DB instances that were created with a time zone specified.

", "DBInstance$PerformanceInsightsKMSKeyId": "

The AWS KMS key identifier for encryption of Performance Insights data.

The AWS KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the AWS KMS customer master key (CMK).

", + "DBInstance$AwsBackupRecoveryPointArn": "

The Amazon Resource Name (ARN) of the recovery point in AWS Backup.

", "DBInstanceAutomatedBackup$DBInstanceArn": "

The Amazon Resource Name (ARN) for the automated backups.

", "DBInstanceAutomatedBackup$DbiResourceId": "

The identifier for the source DB instance, which can't be changed and which is unique to an AWS Region.

", "DBInstanceAutomatedBackup$Region": "

The AWS Region associated with the automated backup.

", diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 93a2ab4f658..c69c2ff96f1 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -6349,6 +6349,7 @@ }, "transfer" : { "endpoints" : { + "ap-east-1" : { }, "ap-northeast-1" : { }, "ap-northeast-2" : { }, "ap-south-1" : { }, @@ -6390,6 +6391,7 @@ }, "hostname" : "transfer-fips.us-west-2.amazonaws.com" }, + "me-south-1" : { }, "sa-east-1" : { }, "us-east-1" : { }, "us-east-2" : { }, diff --git a/service/rds/api.go b/service/rds/api.go index 333b846611c..d516fc54656 100644 --- a/service/rds/api.go +++ b/service/rds/api.go @@ -17419,7 +17419,7 @@ type CreateDBClusterInput struct { // // Aurora PostgreSQL // - // Possible values are postgresql and upgrade. + // Possible value is postgresql. EnableCloudwatchLogsExports []*string `type:"list"` // A value that indicates whether to enable this DB cluster to forward write @@ -22464,6 +22464,9 @@ type DBInstance struct { // Specifies the name of the Availability Zone the DB instance is located in. AvailabilityZone *string `type:"string"` + // The Amazon Resource Name (ARN) of the recovery point in AWS Backup. + AwsBackupRecoveryPointArn *string `type:"string"` + // Specifies the number of days for which automatic DB snapshots are retained. BackupRetentionPeriod *int64 `type:"integer"` @@ -22793,6 +22796,12 @@ func (s *DBInstance) SetAvailabilityZone(v string) *DBInstance { return s } +// SetAwsBackupRecoveryPointArn sets the AwsBackupRecoveryPointArn field's value. +func (s *DBInstance) SetAwsBackupRecoveryPointArn(v string) *DBInstance { + s.AwsBackupRecoveryPointArn = &v + return s +} + // SetBackupRetentionPeriod sets the BackupRetentionPeriod field's value. func (s *DBInstance) SetBackupRetentionPeriod(v int64) *DBInstance { s.BackupRetentionPeriod = &v @@ -33952,6 +33961,9 @@ type ModifyDBInstanceInput struct { // and RDS has enabled auto patching for that engine version. AutoMinorVersionUpgrade *bool `type:"boolean"` + // The Amazon Resource Name (ARN) of the recovery point in AWS Backup. + AwsBackupRecoveryPointArn *string `min:"43" type:"string"` + // The number of days to retain automated backups. Setting this parameter to // a positive number enables backups. Setting this parameter to 0 disables automated // backups. @@ -34497,6 +34509,9 @@ func (s ModifyDBInstanceInput) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *ModifyDBInstanceInput) Validate() error { invalidParams := request.ErrInvalidParams{Context: "ModifyDBInstanceInput"} + if s.AwsBackupRecoveryPointArn != nil && len(*s.AwsBackupRecoveryPointArn) < 43 { + invalidParams.Add(request.NewErrParamMinLen("AwsBackupRecoveryPointArn", 43)) + } if s.DBInstanceIdentifier == nil { invalidParams.Add(request.NewErrParamRequired("DBInstanceIdentifier")) } @@ -34531,6 +34546,12 @@ func (s *ModifyDBInstanceInput) SetAutoMinorVersionUpgrade(v bool) *ModifyDBInst return s } +// SetAwsBackupRecoveryPointArn sets the AwsBackupRecoveryPointArn field's value. +func (s *ModifyDBInstanceInput) SetAwsBackupRecoveryPointArn(v string) *ModifyDBInstanceInput { + s.AwsBackupRecoveryPointArn = &v + return s +} + // SetBackupRetentionPeriod sets the BackupRetentionPeriod field's value. func (s *ModifyDBInstanceInput) SetBackupRetentionPeriod(v int64) *ModifyDBInstanceInput { s.BackupRetentionPeriod = &v