diff --git a/clients/client-rds/src/commands/CreateBlueGreenDeploymentCommand.ts b/clients/client-rds/src/commands/CreateBlueGreenDeploymentCommand.ts index 40d87f75ea52..539f6bc92da9 100644 --- a/clients/client-rds/src/commands/CreateBlueGreenDeploymentCommand.ts +++ b/clients/client-rds/src/commands/CreateBlueGreenDeploymentCommand.ts @@ -31,8 +31,8 @@ export interface CreateBlueGreenDeploymentCommandOutput extends CreateBlueGreenD *

Creates a blue/green deployment.

*

A blue/green deployment creates a staging environment that copies the production environment. * In a blue/green deployment, the blue environment is the current production environment. - * The green environment is the staging environment. The staging environment stays in sync - * with the current production environment using logical replication.

+ * The green environment is the staging environment, and it stays in sync + * with the current production environment.

*

You can make changes to the databases in the green environment without affecting * production workloads. For example, you can upgrade the major or minor DB engine version, change * database parameters, or make schema changes in the staging environment. You can thoroughly test @@ -63,6 +63,10 @@ export interface CreateBlueGreenDeploymentCommandOutput extends CreateBlueGreenD * ], * TargetDBInstanceClass: "STRING_VALUE", * UpgradeTargetStorageConfig: true || false, + * TargetIops: Number("int"), + * TargetStorageType: "STRING_VALUE", + * TargetAllocatedStorage: Number("int"), + * TargetStorageThroughput: Number("int"), * }; * const command = new CreateBlueGreenDeploymentCommand(input); * const response = await client.send(command); diff --git a/clients/client-rds/src/models/models_0.ts b/clients/client-rds/src/models/models_0.ts index 7b081dfe73fc..0a6bdc4d3b2d 100644 --- a/clients/client-rds/src/models/models_0.ts +++ b/clients/client-rds/src/models/models_0.ts @@ -3346,6 +3346,41 @@ export interface CreateBlueGreenDeploymentRequest { * @public */ UpgradeTargetStorageConfig?: boolean | undefined; + + /** + *

The amount of Provisioned IOPS (input/output operations per second) to allocate for the green DB instance. + * For information about valid IOPS values, see + * Amazon RDS DB instance storage + * in the Amazon RDS User Guide.

+ *

This setting doesn't apply to Amazon Aurora blue/green deployments.

+ * @public + */ + TargetIops?: number | undefined; + + /** + *

The storage type to associate with the green DB instance.

+ *

Valid Values: gp2 | gp3 | io1 | io2 + *

+ *

This setting doesn't apply to Amazon Aurora blue/green deployments.

+ * @public + */ + TargetStorageType?: string | undefined; + + /** + *

The amount of storage in gibibytes (GiB) to allocate for the green DB instance. You can choose to + * increase or decrease the allocated storage on the green DB instance.

+ *

This setting doesn't apply to Amazon Aurora blue/green deployments.

+ * @public + */ + TargetAllocatedStorage?: number | undefined; + + /** + *

The storage throughput value for the green DB instance.

+ *

This setting applies only to the gp3 storage type.

+ *

This setting doesn't apply to Amazon Aurora blue/green deployments.

+ * @public + */ + TargetStorageThroughput?: number | undefined; } /** diff --git a/clients/client-rds/src/protocols/Aws_query.ts b/clients/client-rds/src/protocols/Aws_query.ts index 73e58c66b7c8..d5a898120313 100644 --- a/clients/client-rds/src/protocols/Aws_query.ts +++ b/clients/client-rds/src/protocols/Aws_query.ts @@ -10277,6 +10277,18 @@ const se_CreateBlueGreenDeploymentRequest = (input: CreateBlueGreenDeploymentReq if (input[_UTSC] != null) { entries[_UTSC] = input[_UTSC]; } + if (input[_TI] != null) { + entries[_TI] = input[_TI]; + } + if (input[_TST] != null) { + entries[_TST] = input[_TST]; + } + if (input[_TAS] != null) { + entries[_TAS] = input[_TAS]; + } + if (input[_TSTa] != null) { + entries[_TSTa] = input[_TSTa]; + } return entries; }; @@ -19584,8 +19596,8 @@ const de_DBRecommendation = (output: any, context: __SerdeContext): DBRecommenda if (output[_RIe] != null) { contents[_RIe] = __expectString(output[_RIe]); } - if (output[_TI] != null) { - contents[_TI] = __expectString(output[_TI]); + if (output[_TIy] != null) { + contents[_TIy] = __expectString(output[_TIy]); } if (output[_Se] != null) { contents[_Se] = __expectString(output[_Se]); @@ -21193,8 +21205,8 @@ const de_ExportTask = (output: any, context: __SerdeContext): ExportTask => { if (output[_STnap] != null) { contents[_STnap] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_STnap])); } - if (output[_TST] != null) { - contents[_TST] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_TST])); + if (output[_TSTas] != null) { + contents[_TSTas] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_TSTas])); } if (output[_TET] != null) { contents[_TET] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_TET])); @@ -25856,6 +25868,7 @@ const _Sub = "Subnet"; const _Sw = "Switchover"; const _T = "Tags"; const _TA = "TargetArn"; +const _TAS = "TargetAllocatedStorage"; const _TAi = "TimeoutAction"; const _TCA = "TdeCredentialArn"; const _TCAZ = "TargetCustomAvailabilityZone"; @@ -25888,7 +25901,8 @@ const _TGA = "TargetGroupArn"; const _TGMDI = "TransitGatewayMulticastDomainId"; const _TGN = "TargetGroupName"; const _TH = "TargetHealth"; -const _TI = "TypeId"; +const _TI = "TargetIops"; +const _TIy = "TypeId"; const _TK = "TagKeys"; const _TL = "TagList"; const _TM = "TargetMember"; @@ -25897,7 +25911,9 @@ const _TOGD = "TargetOptionGroupDescription"; const _TOGI = "TargetOptionGroupIdentifier"; const _TR = "TargetRole"; const _TRy = "TypeRecommendation"; -const _TST = "TaskStartTime"; +const _TST = "TargetStorageType"; +const _TSTa = "TargetStorageThroughput"; +const _TSTas = "TaskStartTime"; const _Ta = "Target"; const _Tag = "Tag"; const _Tar = "Targets"; diff --git a/codegen/sdk-codegen/aws-models/rds.json b/codegen/sdk-codegen/aws-models/rds.json index 84ad9a371ede..acc798e59afe 100644 --- a/codegen/sdk-codegen/aws-models/rds.json +++ b/codegen/sdk-codegen/aws-models/rds.json @@ -3677,7 +3677,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a blue/green deployment.

\n

A blue/green deployment creates a staging environment that copies the production environment. \n In a blue/green deployment, the blue environment is the current production environment. \n The green environment is the staging environment. The staging environment stays in sync \n with the current production environment using logical replication.

\n

You can make changes to the databases in the green environment without affecting \n production workloads. For example, you can upgrade the major or minor DB engine version, change \n database parameters, or make schema changes in the staging environment. You can thoroughly test \n changes in the green environment. When ready, you can switch over the environments to promote the \n green environment to be the new production environment. The switchover typically takes under a minute.

\n

For more information, see Using Amazon RDS Blue/Green Deployments \n for database updates in the Amazon RDS User Guide and \n \n Using Amazon RDS Blue/Green Deployments for database updates in the Amazon Aurora \n User Guide.

" + "smithy.api#documentation": "

Creates a blue/green deployment.

\n

A blue/green deployment creates a staging environment that copies the production environment. \n In a blue/green deployment, the blue environment is the current production environment. \n The green environment is the staging environment, and it stays in sync \n with the current production environment.

\n

You can make changes to the databases in the green environment without affecting \n production workloads. For example, you can upgrade the major or minor DB engine version, change \n database parameters, or make schema changes in the staging environment. You can thoroughly test \n changes in the green environment. When ready, you can switch over the environments to promote the \n green environment to be the new production environment. The switchover typically takes under a minute.

\n

For more information, see Using Amazon RDS Blue/Green Deployments \n for database updates in the Amazon RDS User Guide and \n \n Using Amazon RDS Blue/Green Deployments for database updates in the Amazon Aurora \n User Guide.

" } }, "com.amazonaws.rds#CreateBlueGreenDeploymentRequest": { @@ -3734,6 +3734,30 @@ "traits": { "smithy.api#documentation": "

Whether to upgrade the storage file system configuration on the green database. This\n option migrates the green DB instance from the older 32-bit file system to the preferred\n configuration. For more information, see Upgrading the storage file system for a DB instance.

" } + }, + "TargetIops": { + "target": "com.amazonaws.rds#IntegerOptional", + "traits": { + "smithy.api#documentation": "

The amount of Provisioned IOPS (input/output operations per second) to allocate for the green DB instance.\n For information about valid IOPS values, see \n Amazon RDS DB instance storage \n in the Amazon RDS User Guide.

\n

This setting doesn't apply to Amazon Aurora blue/green deployments.

" + } + }, + "TargetStorageType": { + "target": "com.amazonaws.rds#TargetStorageType", + "traits": { + "smithy.api#documentation": "

The storage type to associate with the green DB instance.

\n

Valid Values: gp2 | gp3 | io1 | io2\n

\n

This setting doesn't apply to Amazon Aurora blue/green deployments.

" + } + }, + "TargetAllocatedStorage": { + "target": "com.amazonaws.rds#IntegerOptional", + "traits": { + "smithy.api#documentation": "

The amount of storage in gibibytes (GiB) to allocate for the green DB instance. You can choose to\n increase or decrease the allocated storage on the green DB instance.

\n

This setting doesn't apply to Amazon Aurora blue/green deployments.

" + } + }, + "TargetStorageThroughput": { + "target": "com.amazonaws.rds#IntegerOptional", + "traits": { + "smithy.api#documentation": "

The storage throughput value for the green DB instance.

\n

This setting applies only to the gp3 storage type.

\n

This setting doesn't apply to Amazon Aurora blue/green deployments.

" + } } }, "traits": { @@ -30988,6 +31012,9 @@ } } }, + "com.amazonaws.rds#TargetStorageType": { + "type": "string" + }, "com.amazonaws.rds#TargetType": { "type": "enum", "members": {