From ecd7fe6a2ca4aa7a30c7f6086c83b3da36f5ce50 Mon Sep 17 00:00:00 2001
From: awstools
Date: Wed, 24 Jan 2024 19:19:17 +0000
Subject: [PATCH] feat(client-rds): This release adds support for Aurora
Limitless Database.
---
clients/client-rds/README.md | 40 +
clients/client-rds/src/RDS.ts | 115 +++
clients/client-rds/src/RDSClient.ts | 18 +
.../src/commands/CreateDBClusterCommand.ts | 5 +
.../src/commands/CreateDBShardGroupCommand.ts | 116 +++
.../src/commands/DeleteDBClusterCommand.ts | 4 +
.../src/commands/DeleteDBShardGroupCommand.ts | 97 +++
.../commands/DeleteTenantDatabaseCommand.ts | 7 +-
.../DeregisterDBProxyTargetsCommand.ts | 2 +-
.../DescribeAccountAttributesCommand.ts | 3 +-
.../DescribeBlueGreenDeploymentsCommand.ts | 2 +-
.../commands/DescribeCertificatesCommand.ts | 2 +-
.../src/commands/DescribeDBClustersCommand.ts | 4 +
.../commands/DescribeDBShardGroupsCommand.ts | 110 +++
.../src/commands/FailoverDBClusterCommand.ts | 10 +-
.../src/commands/ModifyDBClusterCommand.ts | 5 +
.../src/commands/ModifyDBShardGroupCommand.ts | 103 +++
.../PromoteReadReplicaDBClusterCommand.ts | 4 +
.../src/commands/RebootDBClusterCommand.ts | 4 +
.../src/commands/RebootDBShardGroupCommand.ts | 97 +++
.../commands/RestoreDBClusterFromS3Command.ts | 4 +
.../RestoreDBClusterFromSnapshotCommand.ts | 4 +
.../RestoreDBClusterToPointInTimeCommand.ts | 4 +
.../src/commands/StartDBClusterCommand.ts | 4 +
.../src/commands/StopDBClusterCommand.ts | 4 +
clients/client-rds/src/commands/index.ts | 5 +
clients/client-rds/src/models/models_0.ts | 707 ++++++++--------
clients/client-rds/src/models/models_1.ts | 466 ++++++++++-
clients/client-rds/src/protocols/Aws_query.ts | 755 +++++++++++++++++-
codegen/sdk-codegen/aws-models/rds.json | 616 +++++++++++++-
30 files changed, 2908 insertions(+), 409 deletions(-)
create mode 100644 clients/client-rds/src/commands/CreateDBShardGroupCommand.ts
create mode 100644 clients/client-rds/src/commands/DeleteDBShardGroupCommand.ts
create mode 100644 clients/client-rds/src/commands/DescribeDBShardGroupsCommand.ts
create mode 100644 clients/client-rds/src/commands/ModifyDBShardGroupCommand.ts
create mode 100644 clients/client-rds/src/commands/RebootDBShardGroupCommand.ts
diff --git a/clients/client-rds/README.md b/clients/client-rds/README.md
index 377a50e4d552..849020cc9809 100644
--- a/clients/client-rds/README.md
+++ b/clients/client-rds/README.md
@@ -455,6 +455,14 @@ CreateDBSecurityGroup
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/rds/command/CreateDBSecurityGroupCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds/Interface/CreateDBSecurityGroupCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds/Interface/CreateDBSecurityGroupCommandOutput/)
+
+
+
+CreateDBShardGroup
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/rds/command/CreateDBShardGroupCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds/Interface/CreateDBShardGroupCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds/Interface/CreateDBShardGroupCommandOutput/)
+
@@ -615,6 +623,14 @@ DeleteDBSecurityGroup
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/rds/command/DeleteDBSecurityGroupCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds/Interface/DeleteDBSecurityGroupCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds/Interface/DeleteDBSecurityGroupCommandOutput/)
+
+
+
+DeleteDBShardGroup
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/rds/command/DeleteDBShardGroupCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds/Interface/DeleteDBShardGroupCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds/Interface/DeleteDBShardGroupCommandOutput/)
+
@@ -863,6 +879,14 @@ DescribeDBSecurityGroups
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/rds/command/DescribeDBSecurityGroupsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds/Interface/DescribeDBSecurityGroupsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds/Interface/DescribeDBSecurityGroupsCommandOutput/)
+
+
+
+DescribeDBShardGroups
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/rds/command/DescribeDBShardGroupsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds/Interface/DescribeDBShardGroupsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds/Interface/DescribeDBShardGroupsCommandOutput/)
+
@@ -1191,6 +1215,14 @@ ModifyDBRecommendation
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/rds/command/ModifyDBRecommendationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds/Interface/ModifyDBRecommendationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds/Interface/ModifyDBRecommendationCommandOutput/)
+
+
+
+ModifyDBShardGroup
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/rds/command/ModifyDBShardGroupCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds/Interface/ModifyDBShardGroupCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds/Interface/ModifyDBShardGroupCommandOutput/)
+
@@ -1287,6 +1319,14 @@ RebootDBInstance
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/rds/command/RebootDBInstanceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds/Interface/RebootDBInstanceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds/Interface/RebootDBInstanceCommandOutput/)
+
+
+
+RebootDBShardGroup
+
+
+[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/rds/command/RebootDBShardGroupCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds/Interface/RebootDBShardGroupCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds/Interface/RebootDBShardGroupCommandOutput/)
+
diff --git a/clients/client-rds/src/RDS.ts b/clients/client-rds/src/RDS.ts
index 3ff7b7c43b34..8f83507773ea 100644
--- a/clients/client-rds/src/RDS.ts
+++ b/clients/client-rds/src/RDS.ts
@@ -127,6 +127,11 @@ import {
CreateDBSecurityGroupCommandInput,
CreateDBSecurityGroupCommandOutput,
} from "./commands/CreateDBSecurityGroupCommand";
+import {
+ CreateDBShardGroupCommand,
+ CreateDBShardGroupCommandInput,
+ CreateDBShardGroupCommandOutput,
+} from "./commands/CreateDBShardGroupCommand";
import {
CreateDBSnapshotCommand,
CreateDBSnapshotCommandInput,
@@ -227,6 +232,11 @@ import {
DeleteDBSecurityGroupCommandInput,
DeleteDBSecurityGroupCommandOutput,
} from "./commands/DeleteDBSecurityGroupCommand";
+import {
+ DeleteDBShardGroupCommand,
+ DeleteDBShardGroupCommandInput,
+ DeleteDBShardGroupCommandOutput,
+} from "./commands/DeleteDBShardGroupCommand";
import {
DeleteDBSnapshotCommand,
DeleteDBSnapshotCommandInput,
@@ -382,6 +392,11 @@ import {
DescribeDBSecurityGroupsCommandInput,
DescribeDBSecurityGroupsCommandOutput,
} from "./commands/DescribeDBSecurityGroupsCommand";
+import {
+ DescribeDBShardGroupsCommand,
+ DescribeDBShardGroupsCommandInput,
+ DescribeDBShardGroupsCommandOutput,
+} from "./commands/DescribeDBShardGroupsCommand";
import {
DescribeDBSnapshotAttributesCommand,
DescribeDBSnapshotAttributesCommandInput,
@@ -587,6 +602,11 @@ import {
ModifyDBRecommendationCommandInput,
ModifyDBRecommendationCommandOutput,
} from "./commands/ModifyDBRecommendationCommand";
+import {
+ ModifyDBShardGroupCommand,
+ ModifyDBShardGroupCommandInput,
+ ModifyDBShardGroupCommandOutput,
+} from "./commands/ModifyDBShardGroupCommand";
import {
ModifyDBSnapshotAttributeCommand,
ModifyDBSnapshotAttributeCommandInput,
@@ -647,6 +667,11 @@ import {
RebootDBInstanceCommandInput,
RebootDBInstanceCommandOutput,
} from "./commands/RebootDBInstanceCommand";
+import {
+ RebootDBShardGroupCommand,
+ RebootDBShardGroupCommandInput,
+ RebootDBShardGroupCommandOutput,
+} from "./commands/RebootDBShardGroupCommand";
import {
RegisterDBProxyTargetsCommand,
RegisterDBProxyTargetsCommandInput,
@@ -810,6 +835,7 @@ const commands = {
CreateDBProxyCommand,
CreateDBProxyEndpointCommand,
CreateDBSecurityGroupCommand,
+ CreateDBShardGroupCommand,
CreateDBSnapshotCommand,
CreateDBSubnetGroupCommand,
CreateEventSubscriptionCommand,
@@ -830,6 +856,7 @@ const commands = {
DeleteDBProxyCommand,
DeleteDBProxyEndpointCommand,
DeleteDBSecurityGroupCommand,
+ DeleteDBShardGroupCommand,
DeleteDBSnapshotCommand,
DeleteDBSubnetGroupCommand,
DeleteEventSubscriptionCommand,
@@ -861,6 +888,7 @@ const commands = {
DescribeDBProxyTargetsCommand,
DescribeDBRecommendationsCommand,
DescribeDBSecurityGroupsCommand,
+ DescribeDBShardGroupsCommand,
DescribeDBSnapshotAttributesCommand,
DescribeDBSnapshotsCommand,
DescribeDBSnapshotTenantDatabasesCommand,
@@ -902,6 +930,7 @@ const commands = {
ModifyDBProxyEndpointCommand,
ModifyDBProxyTargetGroupCommand,
ModifyDBRecommendationCommand,
+ ModifyDBShardGroupCommand,
ModifyDBSnapshotCommand,
ModifyDBSnapshotAttributeCommand,
ModifyDBSubnetGroupCommand,
@@ -914,6 +943,7 @@ const commands = {
PurchaseReservedDBInstancesOfferingCommand,
RebootDBClusterCommand,
RebootDBInstanceCommand,
+ RebootDBShardGroupCommand,
RegisterDBProxyTargetsCommand,
RemoveFromGlobalClusterCommand,
RemoveRoleFromDBClusterCommand,
@@ -1354,6 +1384,23 @@ export interface RDS {
cb: (err: any, data?: CreateDBSecurityGroupCommandOutput) => void
): void;
+ /**
+ * @see {@link CreateDBShardGroupCommand}
+ */
+ createDBShardGroup(
+ args: CreateDBShardGroupCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ createDBShardGroup(
+ args: CreateDBShardGroupCommandInput,
+ cb: (err: any, data?: CreateDBShardGroupCommandOutput) => void
+ ): void;
+ createDBShardGroup(
+ args: CreateDBShardGroupCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: CreateDBShardGroupCommandOutput) => void
+ ): void;
+
/**
* @see {@link CreateDBSnapshotCommand}
*/
@@ -1685,6 +1732,23 @@ export interface RDS {
cb: (err: any, data?: DeleteDBSecurityGroupCommandOutput) => void
): void;
+ /**
+ * @see {@link DeleteDBShardGroupCommand}
+ */
+ deleteDBShardGroup(
+ args: DeleteDBShardGroupCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ deleteDBShardGroup(
+ args: DeleteDBShardGroupCommandInput,
+ cb: (err: any, data?: DeleteDBShardGroupCommandOutput) => void
+ ): void;
+ deleteDBShardGroup(
+ args: DeleteDBShardGroupCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DeleteDBShardGroupCommandOutput) => void
+ ): void;
+
/**
* @see {@link DeleteDBSnapshotCommand}
*/
@@ -2212,6 +2276,23 @@ export interface RDS {
cb: (err: any, data?: DescribeDBSecurityGroupsCommandOutput) => void
): void;
+ /**
+ * @see {@link DescribeDBShardGroupsCommand}
+ */
+ describeDBShardGroups(
+ args: DescribeDBShardGroupsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ describeDBShardGroups(
+ args: DescribeDBShardGroupsCommandInput,
+ cb: (err: any, data?: DescribeDBShardGroupsCommandOutput) => void
+ ): void;
+ describeDBShardGroups(
+ args: DescribeDBShardGroupsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DescribeDBShardGroupsCommandOutput) => void
+ ): void;
+
/**
* @see {@link DescribeDBSnapshotAttributesCommand}
*/
@@ -2897,6 +2978,23 @@ export interface RDS {
cb: (err: any, data?: ModifyDBRecommendationCommandOutput) => void
): void;
+ /**
+ * @see {@link ModifyDBShardGroupCommand}
+ */
+ modifyDBShardGroup(
+ args: ModifyDBShardGroupCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ modifyDBShardGroup(
+ args: ModifyDBShardGroupCommandInput,
+ cb: (err: any, data?: ModifyDBShardGroupCommandOutput) => void
+ ): void;
+ modifyDBShardGroup(
+ args: ModifyDBShardGroupCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ModifyDBShardGroupCommandOutput) => void
+ ): void;
+
/**
* @see {@link ModifyDBSnapshotCommand}
*/
@@ -3098,6 +3196,23 @@ export interface RDS {
cb: (err: any, data?: RebootDBInstanceCommandOutput) => void
): void;
+ /**
+ * @see {@link RebootDBShardGroupCommand}
+ */
+ rebootDBShardGroup(
+ args: RebootDBShardGroupCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ rebootDBShardGroup(
+ args: RebootDBShardGroupCommandInput,
+ cb: (err: any, data?: RebootDBShardGroupCommandOutput) => void
+ ): void;
+ rebootDBShardGroup(
+ args: RebootDBShardGroupCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: RebootDBShardGroupCommandOutput) => void
+ ): void;
+
/**
* @see {@link RegisterDBProxyTargetsCommand}
*/
diff --git a/clients/client-rds/src/RDSClient.ts b/clients/client-rds/src/RDSClient.ts
index 54505c6d560b..3873d3d25182 100644
--- a/clients/client-rds/src/RDSClient.ts
+++ b/clients/client-rds/src/RDSClient.ts
@@ -126,6 +126,7 @@ import {
CreateDBSecurityGroupCommandInput,
CreateDBSecurityGroupCommandOutput,
} from "./commands/CreateDBSecurityGroupCommand";
+import { CreateDBShardGroupCommandInput, CreateDBShardGroupCommandOutput } from "./commands/CreateDBShardGroupCommand";
import { CreateDBSnapshotCommandInput, CreateDBSnapshotCommandOutput } from "./commands/CreateDBSnapshotCommand";
import {
CreateDBSubnetGroupCommandInput,
@@ -188,6 +189,7 @@ import {
DeleteDBSecurityGroupCommandInput,
DeleteDBSecurityGroupCommandOutput,
} from "./commands/DeleteDBSecurityGroupCommand";
+import { DeleteDBShardGroupCommandInput, DeleteDBShardGroupCommandOutput } from "./commands/DeleteDBShardGroupCommand";
import { DeleteDBSnapshotCommandInput, DeleteDBSnapshotCommandOutput } from "./commands/DeleteDBSnapshotCommand";
import {
DeleteDBSubnetGroupCommandInput,
@@ -294,6 +296,10 @@ import {
DescribeDBSecurityGroupsCommandInput,
DescribeDBSecurityGroupsCommandOutput,
} from "./commands/DescribeDBSecurityGroupsCommand";
+import {
+ DescribeDBShardGroupsCommandInput,
+ DescribeDBShardGroupsCommandOutput,
+} from "./commands/DescribeDBShardGroupsCommand";
import {
DescribeDBSnapshotAttributesCommandInput,
DescribeDBSnapshotAttributesCommandOutput,
@@ -437,6 +443,7 @@ import {
ModifyDBRecommendationCommandInput,
ModifyDBRecommendationCommandOutput,
} from "./commands/ModifyDBRecommendationCommand";
+import { ModifyDBShardGroupCommandInput, ModifyDBShardGroupCommandOutput } from "./commands/ModifyDBShardGroupCommand";
import {
ModifyDBSnapshotAttributeCommandInput,
ModifyDBSnapshotAttributeCommandOutput,
@@ -470,6 +477,7 @@ import {
} from "./commands/PurchaseReservedDBInstancesOfferingCommand";
import { RebootDBClusterCommandInput, RebootDBClusterCommandOutput } from "./commands/RebootDBClusterCommand";
import { RebootDBInstanceCommandInput, RebootDBInstanceCommandOutput } from "./commands/RebootDBInstanceCommand";
+import { RebootDBShardGroupCommandInput, RebootDBShardGroupCommandOutput } from "./commands/RebootDBShardGroupCommand";
import {
RegisterDBProxyTargetsCommandInput,
RegisterDBProxyTargetsCommandOutput,
@@ -600,6 +608,7 @@ export type ServiceInputTypes =
| CreateDBProxyCommandInput
| CreateDBProxyEndpointCommandInput
| CreateDBSecurityGroupCommandInput
+ | CreateDBShardGroupCommandInput
| CreateDBSnapshotCommandInput
| CreateDBSubnetGroupCommandInput
| CreateEventSubscriptionCommandInput
@@ -620,6 +629,7 @@ export type ServiceInputTypes =
| DeleteDBProxyCommandInput
| DeleteDBProxyEndpointCommandInput
| DeleteDBSecurityGroupCommandInput
+ | DeleteDBShardGroupCommandInput
| DeleteDBSnapshotCommandInput
| DeleteDBSubnetGroupCommandInput
| DeleteEventSubscriptionCommandInput
@@ -651,6 +661,7 @@ export type ServiceInputTypes =
| DescribeDBProxyTargetsCommandInput
| DescribeDBRecommendationsCommandInput
| DescribeDBSecurityGroupsCommandInput
+ | DescribeDBShardGroupsCommandInput
| DescribeDBSnapshotAttributesCommandInput
| DescribeDBSnapshotTenantDatabasesCommandInput
| DescribeDBSnapshotsCommandInput
@@ -692,6 +703,7 @@ export type ServiceInputTypes =
| ModifyDBProxyEndpointCommandInput
| ModifyDBProxyTargetGroupCommandInput
| ModifyDBRecommendationCommandInput
+ | ModifyDBShardGroupCommandInput
| ModifyDBSnapshotAttributeCommandInput
| ModifyDBSnapshotCommandInput
| ModifyDBSubnetGroupCommandInput
@@ -704,6 +716,7 @@ export type ServiceInputTypes =
| PurchaseReservedDBInstancesOfferingCommandInput
| RebootDBClusterCommandInput
| RebootDBInstanceCommandInput
+ | RebootDBShardGroupCommandInput
| RegisterDBProxyTargetsCommandInput
| RemoveFromGlobalClusterCommandInput
| RemoveRoleFromDBClusterCommandInput
@@ -761,6 +774,7 @@ export type ServiceOutputTypes =
| CreateDBProxyCommandOutput
| CreateDBProxyEndpointCommandOutput
| CreateDBSecurityGroupCommandOutput
+ | CreateDBShardGroupCommandOutput
| CreateDBSnapshotCommandOutput
| CreateDBSubnetGroupCommandOutput
| CreateEventSubscriptionCommandOutput
@@ -781,6 +795,7 @@ export type ServiceOutputTypes =
| DeleteDBProxyCommandOutput
| DeleteDBProxyEndpointCommandOutput
| DeleteDBSecurityGroupCommandOutput
+ | DeleteDBShardGroupCommandOutput
| DeleteDBSnapshotCommandOutput
| DeleteDBSubnetGroupCommandOutput
| DeleteEventSubscriptionCommandOutput
@@ -812,6 +827,7 @@ export type ServiceOutputTypes =
| DescribeDBProxyTargetsCommandOutput
| DescribeDBRecommendationsCommandOutput
| DescribeDBSecurityGroupsCommandOutput
+ | DescribeDBShardGroupsCommandOutput
| DescribeDBSnapshotAttributesCommandOutput
| DescribeDBSnapshotTenantDatabasesCommandOutput
| DescribeDBSnapshotsCommandOutput
@@ -853,6 +869,7 @@ export type ServiceOutputTypes =
| ModifyDBProxyEndpointCommandOutput
| ModifyDBProxyTargetGroupCommandOutput
| ModifyDBRecommendationCommandOutput
+ | ModifyDBShardGroupCommandOutput
| ModifyDBSnapshotAttributeCommandOutput
| ModifyDBSnapshotCommandOutput
| ModifyDBSubnetGroupCommandOutput
@@ -865,6 +882,7 @@ export type ServiceOutputTypes =
| PurchaseReservedDBInstancesOfferingCommandOutput
| RebootDBClusterCommandOutput
| RebootDBInstanceCommandOutput
+ | RebootDBShardGroupCommandOutput
| RegisterDBProxyTargetsCommandOutput
| RemoveFromGlobalClusterCommandOutput
| RemoveRoleFromDBClusterCommandOutput
diff --git a/clients/client-rds/src/commands/CreateDBClusterCommand.ts b/clients/client-rds/src/commands/CreateDBClusterCommand.ts
index f9d78ba13960..67b28fbe84a8 100644
--- a/clients/client-rds/src/commands/CreateDBClusterCommand.ts
+++ b/clients/client-rds/src/commands/CreateDBClusterCommand.ts
@@ -117,6 +117,7 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
* EnablePerformanceInsights: true || false,
* PerformanceInsightsKMSKeyId: "STRING_VALUE",
* PerformanceInsightsRetentionPeriod: Number("int"),
+ * EnableLimitlessDatabase: true || false,
* ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfiguration
* MinCapacity: Number("double"),
* MaxCapacity: Number("double"),
@@ -302,6 +303,10 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
* // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
* // LocalWriteForwardingStatus: "enabled" || "disabled" || "enabling" || "disabling" || "requested",
* // AwsBackupRecoveryPointArn: "STRING_VALUE",
+ * // LimitlessDatabase: { // LimitlessDatabase
+ * // Status: "active" || "not-in-use" || "enabled" || "disabled" || "enabling" || "disabling" || "modifying-max-capacity" || "error",
+ * // MinRequiredACU: Number("double"),
+ * // },
* // },
* // };
*
diff --git a/clients/client-rds/src/commands/CreateDBShardGroupCommand.ts b/clients/client-rds/src/commands/CreateDBShardGroupCommand.ts
new file mode 100644
index 000000000000..a09f708407fa
--- /dev/null
+++ b/clients/client-rds/src/commands/CreateDBShardGroupCommand.ts
@@ -0,0 +1,116 @@
+// smithy-typescript generated code
+import { getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { Command as $Command } from "@smithy/smithy-client";
+import { MetadataBearer as __MetadataBearer } from "@smithy/types";
+
+import { commonParams } from "../endpoint/EndpointParameters";
+import { CreateDBShardGroupMessage, DBShardGroup } from "../models/models_0";
+import { de_CreateDBShardGroupCommand, se_CreateDBShardGroupCommand } from "../protocols/Aws_query";
+import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link CreateDBShardGroupCommand}.
+ */
+export interface CreateDBShardGroupCommandInput extends CreateDBShardGroupMessage {}
+/**
+ * @public
+ *
+ * The output of {@link CreateDBShardGroupCommand}.
+ */
+export interface CreateDBShardGroupCommandOutput extends DBShardGroup, __MetadataBearer {}
+
+/**
+ * @public
+ * Creates a new DB shard group for Aurora Limitless Database. You must enable Aurora Limitless Database to create a DB shard group.
+ * Valid for: Aurora DB clusters only
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { RDSClient, CreateDBShardGroupCommand } from "@aws-sdk/client-rds"; // ES Modules import
+ * // const { RDSClient, CreateDBShardGroupCommand } = require("@aws-sdk/client-rds"); // CommonJS import
+ * const client = new RDSClient(config);
+ * const input = { // CreateDBShardGroupMessage
+ * DBShardGroupIdentifier: "STRING_VALUE", // required
+ * DBClusterIdentifier: "STRING_VALUE", // required
+ * ComputeRedundancy: Number("int"),
+ * MaxACU: Number("double"), // required
+ * PubliclyAccessible: true || false,
+ * };
+ * const command = new CreateDBShardGroupCommand(input);
+ * const response = await client.send(command);
+ * // { // DBShardGroup
+ * // DBShardGroupResourceId: "STRING_VALUE",
+ * // DBShardGroupIdentifier: "STRING_VALUE",
+ * // DBClusterIdentifier: "STRING_VALUE",
+ * // MaxACU: Number("double"),
+ * // ComputeRedundancy: Number("int"),
+ * // Status: "STRING_VALUE",
+ * // PubliclyAccessible: true || false,
+ * // Endpoint: "STRING_VALUE",
+ * // };
+ *
+ * ```
+ *
+ * @param CreateDBShardGroupCommandInput - {@link CreateDBShardGroupCommandInput}
+ * @returns {@link CreateDBShardGroupCommandOutput}
+ * @see {@link CreateDBShardGroupCommandInput} for command's `input` shape.
+ * @see {@link CreateDBShardGroupCommandOutput} for command's `response` shape.
+ * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
+ *
+ * @throws {@link DBClusterNotFoundFault} (client fault)
+ *
+ * DBClusterIdentifier
doesn't refer to an existing DB cluster.
+ *
+ * @throws {@link DBShardGroupAlreadyExistsFault} (client fault)
+ * The specified DB shard group name must be unique in your Amazon Web Services account in the specified Amazon Web Services Region.
+ *
+ * @throws {@link InvalidDBClusterStateFault} (client fault)
+ * The requested operation can't be performed while the cluster is in this state.
+ *
+ * @throws {@link InvalidMaxAcuFault} (client fault)
+ * The maximum capacity of the DB shard group must be 48-7168 Aurora capacity units (ACUs).
+ *
+ * @throws {@link InvalidVPCNetworkStateFault} (client fault)
+ * The DB subnet group doesn't cover all Availability Zones after it's
+ * created because of users' change.
+ *
+ * @throws {@link MaxDBShardGroupLimitReached} (client fault)
+ * The maximum number of DB shard groups for your Amazon Web Services account in the specified Amazon Web Services Region has been reached.
+ *
+ * @throws {@link UnsupportedDBEngineVersionFault} (client fault)
+ * The specified DB engine version isn't supported for Aurora Limitless Database.
+ *
+ * @throws {@link RDSServiceException}
+ * Base exception class for all service exceptions from RDS service.
+ *
+ */
+export class CreateDBShardGroupCommand extends $Command
+ .classBuilder<
+ CreateDBShardGroupCommandInput,
+ CreateDBShardGroupCommandOutput,
+ RDSClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+ >()
+ .ep({
+ ...commonParams,
+ })
+ .m(function (this: any, Command: any, cs: any, config: RDSClientResolvedConfig, o: any) {
+ return [
+ getSerdePlugin(config, this.serialize, this.deserialize),
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
+ ];
+ })
+ .s("AmazonRDSv19", "CreateDBShardGroup", {})
+ .n("RDSClient", "CreateDBShardGroupCommand")
+ .f(void 0, void 0)
+ .ser(se_CreateDBShardGroupCommand)
+ .de(de_CreateDBShardGroupCommand)
+ .build() {}
diff --git a/clients/client-rds/src/commands/DeleteDBClusterCommand.ts b/clients/client-rds/src/commands/DeleteDBClusterCommand.ts
index d5dc56c632f0..0011285783a7 100644
--- a/clients/client-rds/src/commands/DeleteDBClusterCommand.ts
+++ b/clients/client-rds/src/commands/DeleteDBClusterCommand.ts
@@ -226,6 +226,10 @@ export interface DeleteDBClusterCommandOutput extends DeleteDBClusterResult, __M
* // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
* // LocalWriteForwardingStatus: "enabled" || "disabled" || "enabling" || "disabling" || "requested",
* // AwsBackupRecoveryPointArn: "STRING_VALUE",
+ * // LimitlessDatabase: { // LimitlessDatabase
+ * // Status: "active" || "not-in-use" || "enabled" || "disabled" || "enabling" || "disabling" || "modifying-max-capacity" || "error",
+ * // MinRequiredACU: Number("double"),
+ * // },
* // },
* // };
*
diff --git a/clients/client-rds/src/commands/DeleteDBShardGroupCommand.ts b/clients/client-rds/src/commands/DeleteDBShardGroupCommand.ts
new file mode 100644
index 000000000000..7798a1e5f320
--- /dev/null
+++ b/clients/client-rds/src/commands/DeleteDBShardGroupCommand.ts
@@ -0,0 +1,97 @@
+// smithy-typescript generated code
+import { getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { Command as $Command } from "@smithy/smithy-client";
+import { MetadataBearer as __MetadataBearer } from "@smithy/types";
+
+import { commonParams } from "../endpoint/EndpointParameters";
+import { DBShardGroup, DeleteDBShardGroupMessage } from "../models/models_0";
+import { de_DeleteDBShardGroupCommand, se_DeleteDBShardGroupCommand } from "../protocols/Aws_query";
+import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link DeleteDBShardGroupCommand}.
+ */
+export interface DeleteDBShardGroupCommandInput extends DeleteDBShardGroupMessage {}
+/**
+ * @public
+ *
+ * The output of {@link DeleteDBShardGroupCommand}.
+ */
+export interface DeleteDBShardGroupCommandOutput extends DBShardGroup, __MetadataBearer {}
+
+/**
+ * @public
+ * Deletes an Aurora Limitless Database DB shard group.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { RDSClient, DeleteDBShardGroupCommand } from "@aws-sdk/client-rds"; // ES Modules import
+ * // const { RDSClient, DeleteDBShardGroupCommand } = require("@aws-sdk/client-rds"); // CommonJS import
+ * const client = new RDSClient(config);
+ * const input = { // DeleteDBShardGroupMessage
+ * DBShardGroupIdentifier: "STRING_VALUE", // required
+ * };
+ * const command = new DeleteDBShardGroupCommand(input);
+ * const response = await client.send(command);
+ * // { // DBShardGroup
+ * // DBShardGroupResourceId: "STRING_VALUE",
+ * // DBShardGroupIdentifier: "STRING_VALUE",
+ * // DBClusterIdentifier: "STRING_VALUE",
+ * // MaxACU: Number("double"),
+ * // ComputeRedundancy: Number("int"),
+ * // Status: "STRING_VALUE",
+ * // PubliclyAccessible: true || false,
+ * // Endpoint: "STRING_VALUE",
+ * // };
+ *
+ * ```
+ *
+ * @param DeleteDBShardGroupCommandInput - {@link DeleteDBShardGroupCommandInput}
+ * @returns {@link DeleteDBShardGroupCommandOutput}
+ * @see {@link DeleteDBShardGroupCommandInput} for command's `input` shape.
+ * @see {@link DeleteDBShardGroupCommandOutput} for command's `response` shape.
+ * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
+ *
+ * @throws {@link DBShardGroupNotFoundFault} (client fault)
+ * The specified DB shard group name wasn't found.
+ *
+ * @throws {@link InvalidDBClusterStateFault} (client fault)
+ * The requested operation can't be performed while the cluster is in this state.
+ *
+ * @throws {@link InvalidDBShardGroupStateFault} (client fault)
+ * The DB shard group must be in the available state.
+ *
+ * @throws {@link RDSServiceException}
+ * Base exception class for all service exceptions from RDS service.
+ *
+ */
+export class DeleteDBShardGroupCommand extends $Command
+ .classBuilder<
+ DeleteDBShardGroupCommandInput,
+ DeleteDBShardGroupCommandOutput,
+ RDSClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+ >()
+ .ep({
+ ...commonParams,
+ })
+ .m(function (this: any, Command: any, cs: any, config: RDSClientResolvedConfig, o: any) {
+ return [
+ getSerdePlugin(config, this.serialize, this.deserialize),
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
+ ];
+ })
+ .s("AmazonRDSv19", "DeleteDBShardGroup", {})
+ .n("RDSClient", "DeleteDBShardGroupCommand")
+ .f(void 0, void 0)
+ .ser(se_DeleteDBShardGroupCommand)
+ .de(de_DeleteDBShardGroupCommand)
+ .build() {}
diff --git a/clients/client-rds/src/commands/DeleteTenantDatabaseCommand.ts b/clients/client-rds/src/commands/DeleteTenantDatabaseCommand.ts
index 6d8ab18764c3..ed2dcb483904 100644
--- a/clients/client-rds/src/commands/DeleteTenantDatabaseCommand.ts
+++ b/clients/client-rds/src/commands/DeleteTenantDatabaseCommand.ts
@@ -5,11 +5,8 @@ import { Command as $Command } from "@smithy/smithy-client";
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
import { commonParams } from "../endpoint/EndpointParameters";
-import {
- DeleteTenantDatabaseMessage,
- DeleteTenantDatabaseResult,
- DeleteTenantDatabaseResultFilterSensitiveLog,
-} from "../models/models_0";
+import { DeleteTenantDatabaseMessage } from "../models/models_0";
+import { DeleteTenantDatabaseResult, DeleteTenantDatabaseResultFilterSensitiveLog } from "../models/models_1";
import { de_DeleteTenantDatabaseCommand, se_DeleteTenantDatabaseCommand } from "../protocols/Aws_query";
import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";
diff --git a/clients/client-rds/src/commands/DeregisterDBProxyTargetsCommand.ts b/clients/client-rds/src/commands/DeregisterDBProxyTargetsCommand.ts
index 5c241a44e670..eef4dce66082 100644
--- a/clients/client-rds/src/commands/DeregisterDBProxyTargetsCommand.ts
+++ b/clients/client-rds/src/commands/DeregisterDBProxyTargetsCommand.ts
@@ -5,7 +5,7 @@ import { Command as $Command } from "@smithy/smithy-client";
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
import { commonParams } from "../endpoint/EndpointParameters";
-import { DeregisterDBProxyTargetsRequest, DeregisterDBProxyTargetsResponse } from "../models/models_0";
+import { DeregisterDBProxyTargetsRequest, DeregisterDBProxyTargetsResponse } from "../models/models_1";
import { de_DeregisterDBProxyTargetsCommand, se_DeregisterDBProxyTargetsCommand } from "../protocols/Aws_query";
import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";
diff --git a/clients/client-rds/src/commands/DescribeAccountAttributesCommand.ts b/clients/client-rds/src/commands/DescribeAccountAttributesCommand.ts
index 8999f35132bb..93d9cd0a3e79 100644
--- a/clients/client-rds/src/commands/DescribeAccountAttributesCommand.ts
+++ b/clients/client-rds/src/commands/DescribeAccountAttributesCommand.ts
@@ -5,7 +5,8 @@ import { Command as $Command } from "@smithy/smithy-client";
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
import { commonParams } from "../endpoint/EndpointParameters";
-import { AccountAttributesMessage, DescribeAccountAttributesMessage } from "../models/models_0";
+import { AccountAttributesMessage } from "../models/models_0";
+import { DescribeAccountAttributesMessage } from "../models/models_1";
import { de_DescribeAccountAttributesCommand, se_DescribeAccountAttributesCommand } from "../protocols/Aws_query";
import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";
diff --git a/clients/client-rds/src/commands/DescribeBlueGreenDeploymentsCommand.ts b/clients/client-rds/src/commands/DescribeBlueGreenDeploymentsCommand.ts
index d548dae989e7..01de00409500 100644
--- a/clients/client-rds/src/commands/DescribeBlueGreenDeploymentsCommand.ts
+++ b/clients/client-rds/src/commands/DescribeBlueGreenDeploymentsCommand.ts
@@ -5,7 +5,7 @@ import { Command as $Command } from "@smithy/smithy-client";
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
import { commonParams } from "../endpoint/EndpointParameters";
-import { DescribeBlueGreenDeploymentsRequest, DescribeBlueGreenDeploymentsResponse } from "../models/models_0";
+import { DescribeBlueGreenDeploymentsRequest, DescribeBlueGreenDeploymentsResponse } from "../models/models_1";
import { de_DescribeBlueGreenDeploymentsCommand, se_DescribeBlueGreenDeploymentsCommand } from "../protocols/Aws_query";
import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";
diff --git a/clients/client-rds/src/commands/DescribeCertificatesCommand.ts b/clients/client-rds/src/commands/DescribeCertificatesCommand.ts
index fa98477375a5..84daf2d9688b 100644
--- a/clients/client-rds/src/commands/DescribeCertificatesCommand.ts
+++ b/clients/client-rds/src/commands/DescribeCertificatesCommand.ts
@@ -5,7 +5,7 @@ import { Command as $Command } from "@smithy/smithy-client";
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
import { commonParams } from "../endpoint/EndpointParameters";
-import { CertificateMessage, DescribeCertificatesMessage } from "../models/models_0";
+import { CertificateMessage, DescribeCertificatesMessage } from "../models/models_1";
import { de_DescribeCertificatesCommand, se_DescribeCertificatesCommand } from "../protocols/Aws_query";
import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";
diff --git a/clients/client-rds/src/commands/DescribeDBClustersCommand.ts b/clients/client-rds/src/commands/DescribeDBClustersCommand.ts
index 8353fdd843df..0a3280be9cfe 100644
--- a/clients/client-rds/src/commands/DescribeDBClustersCommand.ts
+++ b/clients/client-rds/src/commands/DescribeDBClustersCommand.ts
@@ -233,6 +233,10 @@ export interface DescribeDBClustersCommandOutput extends DBClusterMessage, __Met
* // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
* // LocalWriteForwardingStatus: "enabled" || "disabled" || "enabling" || "disabling" || "requested",
* // AwsBackupRecoveryPointArn: "STRING_VALUE",
+ * // LimitlessDatabase: { // LimitlessDatabase
+ * // Status: "active" || "not-in-use" || "enabled" || "disabled" || "enabling" || "disabling" || "modifying-max-capacity" || "error",
+ * // MinRequiredACU: Number("double"),
+ * // },
* // },
* // ],
* // };
diff --git a/clients/client-rds/src/commands/DescribeDBShardGroupsCommand.ts b/clients/client-rds/src/commands/DescribeDBShardGroupsCommand.ts
new file mode 100644
index 000000000000..3730320ade6d
--- /dev/null
+++ b/clients/client-rds/src/commands/DescribeDBShardGroupsCommand.ts
@@ -0,0 +1,110 @@
+// smithy-typescript generated code
+import { getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { Command as $Command } from "@smithy/smithy-client";
+import { MetadataBearer as __MetadataBearer } from "@smithy/types";
+
+import { commonParams } from "../endpoint/EndpointParameters";
+import { DescribeDBShardGroupsMessage, DescribeDBShardGroupsResponse } from "../models/models_1";
+import { de_DescribeDBShardGroupsCommand, se_DescribeDBShardGroupsCommand } from "../protocols/Aws_query";
+import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link DescribeDBShardGroupsCommand}.
+ */
+export interface DescribeDBShardGroupsCommandInput extends DescribeDBShardGroupsMessage {}
+/**
+ * @public
+ *
+ * The output of {@link DescribeDBShardGroupsCommand}.
+ */
+export interface DescribeDBShardGroupsCommandOutput extends DescribeDBShardGroupsResponse, __MetadataBearer {}
+
+/**
+ * @public
+ * Describes existing Aurora Limitless Database DB shard groups.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { RDSClient, DescribeDBShardGroupsCommand } from "@aws-sdk/client-rds"; // ES Modules import
+ * // const { RDSClient, DescribeDBShardGroupsCommand } = require("@aws-sdk/client-rds"); // CommonJS import
+ * const client = new RDSClient(config);
+ * const input = { // DescribeDBShardGroupsMessage
+ * DBShardGroupIdentifier: "STRING_VALUE",
+ * Filters: [ // FilterList
+ * { // Filter
+ * Name: "STRING_VALUE", // required
+ * Values: [ // FilterValueList // required
+ * "STRING_VALUE",
+ * ],
+ * },
+ * ],
+ * Marker: "STRING_VALUE",
+ * MaxRecords: Number("int"),
+ * };
+ * const command = new DescribeDBShardGroupsCommand(input);
+ * const response = await client.send(command);
+ * // { // DescribeDBShardGroupsResponse
+ * // DBShardGroups: [ // DBShardGroupsList
+ * // { // DBShardGroup
+ * // DBShardGroupResourceId: "STRING_VALUE",
+ * // DBShardGroupIdentifier: "STRING_VALUE",
+ * // DBClusterIdentifier: "STRING_VALUE",
+ * // MaxACU: Number("double"),
+ * // ComputeRedundancy: Number("int"),
+ * // Status: "STRING_VALUE",
+ * // PubliclyAccessible: true || false,
+ * // Endpoint: "STRING_VALUE",
+ * // },
+ * // ],
+ * // Marker: "STRING_VALUE",
+ * // };
+ *
+ * ```
+ *
+ * @param DescribeDBShardGroupsCommandInput - {@link DescribeDBShardGroupsCommandInput}
+ * @returns {@link DescribeDBShardGroupsCommandOutput}
+ * @see {@link DescribeDBShardGroupsCommandInput} for command's `input` shape.
+ * @see {@link DescribeDBShardGroupsCommandOutput} for command's `response` shape.
+ * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
+ *
+ * @throws {@link DBClusterNotFoundFault} (client fault)
+ *
+ * DBClusterIdentifier
doesn't refer to an existing DB cluster.
+ *
+ * @throws {@link DBShardGroupNotFoundFault} (client fault)
+ * The specified DB shard group name wasn't found.
+ *
+ * @throws {@link RDSServiceException}
+ * Base exception class for all service exceptions from RDS service.
+ *
+ */
+export class DescribeDBShardGroupsCommand extends $Command
+ .classBuilder<
+ DescribeDBShardGroupsCommandInput,
+ DescribeDBShardGroupsCommandOutput,
+ RDSClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+ >()
+ .ep({
+ ...commonParams,
+ })
+ .m(function (this: any, Command: any, cs: any, config: RDSClientResolvedConfig, o: any) {
+ return [
+ getSerdePlugin(config, this.serialize, this.deserialize),
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
+ ];
+ })
+ .s("AmazonRDSv19", "DescribeDBShardGroups", {})
+ .n("RDSClient", "DescribeDBShardGroupsCommand")
+ .f(void 0, void 0)
+ .ser(se_DescribeDBShardGroupsCommand)
+ .de(de_DescribeDBShardGroupsCommand)
+ .build() {}
diff --git a/clients/client-rds/src/commands/FailoverDBClusterCommand.ts b/clients/client-rds/src/commands/FailoverDBClusterCommand.ts
index eb0cfab7ec1a..8a7867f63ec8 100644
--- a/clients/client-rds/src/commands/FailoverDBClusterCommand.ts
+++ b/clients/client-rds/src/commands/FailoverDBClusterCommand.ts
@@ -31,8 +31,10 @@ export interface FailoverDBClusterCommandOutput extends FailoverDBClusterResult,
* Forces a failover for a DB cluster.
* For an Aurora DB cluster, failover for a DB cluster promotes one of the Aurora Replicas (read-only instances)
* in the DB cluster to be the primary DB instance (the cluster writer).
- * For a Multi-AZ DB cluster, failover for a DB cluster promotes one of the readable standby DB instances (read-only instances)
- * in the DB cluster to be the primary DB instance (the cluster writer).
+ * For a Multi-AZ DB cluster, after RDS terminates the primary DB instance, the
+ * internal monitoring system detects that the primary DB instance is unhealthy and promotes a readable standby (read-only instances)
+ * in the DB cluster to be the primary DB instance (the cluster writer).
+ * Failover times are typically less than 35 seconds.
* An Amazon Aurora DB cluster automatically fails over to an Aurora Replica, if one exists,
* when the primary DB instance fails. A Multi-AZ DB cluster automatically fails over to a readable standby
* DB instance when the primary DB instance fails.
@@ -230,6 +232,10 @@ export interface FailoverDBClusterCommandOutput extends FailoverDBClusterResult,
* // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
* // LocalWriteForwardingStatus: "enabled" || "disabled" || "enabling" || "disabling" || "requested",
* // AwsBackupRecoveryPointArn: "STRING_VALUE",
+ * // LimitlessDatabase: { // LimitlessDatabase
+ * // Status: "active" || "not-in-use" || "enabled" || "disabled" || "enabling" || "disabling" || "modifying-max-capacity" || "error",
+ * // MinRequiredACU: Number("double"),
+ * // },
* // },
* // };
*
diff --git a/clients/client-rds/src/commands/ModifyDBClusterCommand.ts b/clients/client-rds/src/commands/ModifyDBClusterCommand.ts
index 828cb895df2c..ed117f3bea10 100644
--- a/clients/client-rds/src/commands/ModifyDBClusterCommand.ts
+++ b/clients/client-rds/src/commands/ModifyDBClusterCommand.ts
@@ -106,6 +106,7 @@ export interface ModifyDBClusterCommandOutput extends ModifyDBClusterResult, __M
* AllowEngineModeChange: true || false,
* EnableLocalWriteForwarding: true || false,
* AwsBackupRecoveryPointArn: "STRING_VALUE",
+ * EnableLimitlessDatabase: true || false,
* };
* const command = new ModifyDBClusterCommand(input);
* const response = await client.send(command);
@@ -282,6 +283,10 @@ export interface ModifyDBClusterCommandOutput extends ModifyDBClusterResult, __M
* // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
* // LocalWriteForwardingStatus: "enabled" || "disabled" || "enabling" || "disabling" || "requested",
* // AwsBackupRecoveryPointArn: "STRING_VALUE",
+ * // LimitlessDatabase: { // LimitlessDatabase
+ * // Status: "active" || "not-in-use" || "enabled" || "disabled" || "enabling" || "disabling" || "modifying-max-capacity" || "error",
+ * // MinRequiredACU: Number("double"),
+ * // },
* // },
* // };
*
diff --git a/clients/client-rds/src/commands/ModifyDBShardGroupCommand.ts b/clients/client-rds/src/commands/ModifyDBShardGroupCommand.ts
new file mode 100644
index 000000000000..08bbf01167fd
--- /dev/null
+++ b/clients/client-rds/src/commands/ModifyDBShardGroupCommand.ts
@@ -0,0 +1,103 @@
+// smithy-typescript generated code
+import { getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { Command as $Command } from "@smithy/smithy-client";
+import { MetadataBearer as __MetadataBearer } from "@smithy/types";
+
+import { commonParams } from "../endpoint/EndpointParameters";
+import { DBShardGroup } from "../models/models_0";
+import { ModifyDBShardGroupMessage } from "../models/models_1";
+import { de_ModifyDBShardGroupCommand, se_ModifyDBShardGroupCommand } from "../protocols/Aws_query";
+import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link ModifyDBShardGroupCommand}.
+ */
+export interface ModifyDBShardGroupCommandInput extends ModifyDBShardGroupMessage {}
+/**
+ * @public
+ *
+ * The output of {@link ModifyDBShardGroupCommand}.
+ */
+export interface ModifyDBShardGroupCommandOutput extends DBShardGroup, __MetadataBearer {}
+
+/**
+ * @public
+ * Modifies the settings of an Aurora Limitless Database DB shard group. You can change one or more settings by
+ * specifying these parameters and the new values in the request.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { RDSClient, ModifyDBShardGroupCommand } from "@aws-sdk/client-rds"; // ES Modules import
+ * // const { RDSClient, ModifyDBShardGroupCommand } = require("@aws-sdk/client-rds"); // CommonJS import
+ * const client = new RDSClient(config);
+ * const input = { // ModifyDBShardGroupMessage
+ * DBShardGroupIdentifier: "STRING_VALUE", // required
+ * MaxACU: Number("double"),
+ * };
+ * const command = new ModifyDBShardGroupCommand(input);
+ * const response = await client.send(command);
+ * // { // DBShardGroup
+ * // DBShardGroupResourceId: "STRING_VALUE",
+ * // DBShardGroupIdentifier: "STRING_VALUE",
+ * // DBClusterIdentifier: "STRING_VALUE",
+ * // MaxACU: Number("double"),
+ * // ComputeRedundancy: Number("int"),
+ * // Status: "STRING_VALUE",
+ * // PubliclyAccessible: true || false,
+ * // Endpoint: "STRING_VALUE",
+ * // };
+ *
+ * ```
+ *
+ * @param ModifyDBShardGroupCommandInput - {@link ModifyDBShardGroupCommandInput}
+ * @returns {@link ModifyDBShardGroupCommandOutput}
+ * @see {@link ModifyDBShardGroupCommandInput} for command's `input` shape.
+ * @see {@link ModifyDBShardGroupCommandOutput} for command's `response` shape.
+ * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
+ *
+ * @throws {@link DBShardGroupAlreadyExistsFault} (client fault)
+ * The specified DB shard group name must be unique in your Amazon Web Services account in the specified Amazon Web Services Region.
+ *
+ * @throws {@link DBShardGroupNotFoundFault} (client fault)
+ * The specified DB shard group name wasn't found.
+ *
+ * @throws {@link InvalidDBClusterStateFault} (client fault)
+ * The requested operation can't be performed while the cluster is in this state.
+ *
+ * @throws {@link InvalidMaxAcuFault} (client fault)
+ * The maximum capacity of the DB shard group must be 48-7168 Aurora capacity units (ACUs).
+ *
+ * @throws {@link RDSServiceException}
+ * Base exception class for all service exceptions from RDS service.
+ *
+ */
+export class ModifyDBShardGroupCommand extends $Command
+ .classBuilder<
+ ModifyDBShardGroupCommandInput,
+ ModifyDBShardGroupCommandOutput,
+ RDSClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+ >()
+ .ep({
+ ...commonParams,
+ })
+ .m(function (this: any, Command: any, cs: any, config: RDSClientResolvedConfig, o: any) {
+ return [
+ getSerdePlugin(config, this.serialize, this.deserialize),
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
+ ];
+ })
+ .s("AmazonRDSv19", "ModifyDBShardGroup", {})
+ .n("RDSClient", "ModifyDBShardGroupCommand")
+ .f(void 0, void 0)
+ .ser(se_ModifyDBShardGroupCommand)
+ .de(de_ModifyDBShardGroupCommand)
+ .build() {}
diff --git a/clients/client-rds/src/commands/PromoteReadReplicaDBClusterCommand.ts b/clients/client-rds/src/commands/PromoteReadReplicaDBClusterCommand.ts
index d0c6a02b2784..0ba272c69e5f 100644
--- a/clients/client-rds/src/commands/PromoteReadReplicaDBClusterCommand.ts
+++ b/clients/client-rds/src/commands/PromoteReadReplicaDBClusterCommand.ts
@@ -213,6 +213,10 @@ export interface PromoteReadReplicaDBClusterCommandOutput extends PromoteReadRep
* // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
* // LocalWriteForwardingStatus: "enabled" || "disabled" || "enabling" || "disabling" || "requested",
* // AwsBackupRecoveryPointArn: "STRING_VALUE",
+ * // LimitlessDatabase: { // LimitlessDatabase
+ * // Status: "active" || "not-in-use" || "enabled" || "disabled" || "enabling" || "disabling" || "modifying-max-capacity" || "error",
+ * // MinRequiredACU: Number("double"),
+ * // },
* // },
* // };
*
diff --git a/clients/client-rds/src/commands/RebootDBClusterCommand.ts b/clients/client-rds/src/commands/RebootDBClusterCommand.ts
index 311e1f00c89d..f4eab70ccd93 100644
--- a/clients/client-rds/src/commands/RebootDBClusterCommand.ts
+++ b/clients/client-rds/src/commands/RebootDBClusterCommand.ts
@@ -223,6 +223,10 @@ export interface RebootDBClusterCommandOutput extends RebootDBClusterResult, __M
* // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
* // LocalWriteForwardingStatus: "enabled" || "disabled" || "enabling" || "disabling" || "requested",
* // AwsBackupRecoveryPointArn: "STRING_VALUE",
+ * // LimitlessDatabase: { // LimitlessDatabase
+ * // Status: "active" || "not-in-use" || "enabled" || "disabled" || "enabling" || "disabling" || "modifying-max-capacity" || "error",
+ * // MinRequiredACU: Number("double"),
+ * // },
* // },
* // };
*
diff --git a/clients/client-rds/src/commands/RebootDBShardGroupCommand.ts b/clients/client-rds/src/commands/RebootDBShardGroupCommand.ts
new file mode 100644
index 000000000000..abb043deb774
--- /dev/null
+++ b/clients/client-rds/src/commands/RebootDBShardGroupCommand.ts
@@ -0,0 +1,97 @@
+// smithy-typescript generated code
+import { getEndpointPlugin } from "@smithy/middleware-endpoint";
+import { getSerdePlugin } from "@smithy/middleware-serde";
+import { Command as $Command } from "@smithy/smithy-client";
+import { MetadataBearer as __MetadataBearer } from "@smithy/types";
+
+import { commonParams } from "../endpoint/EndpointParameters";
+import { DBShardGroup } from "../models/models_0";
+import { RebootDBShardGroupMessage } from "../models/models_1";
+import { de_RebootDBShardGroupCommand, se_RebootDBShardGroupCommand } from "../protocols/Aws_query";
+import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";
+
+/**
+ * @public
+ */
+export { __MetadataBearer, $Command };
+/**
+ * @public
+ *
+ * The input for {@link RebootDBShardGroupCommand}.
+ */
+export interface RebootDBShardGroupCommandInput extends RebootDBShardGroupMessage {}
+/**
+ * @public
+ *
+ * The output of {@link RebootDBShardGroupCommand}.
+ */
+export interface RebootDBShardGroupCommandOutput extends DBShardGroup, __MetadataBearer {}
+
+/**
+ * @public
+ * You might need to reboot your DB shard group, usually for maintenance reasons. For example, if you make certain modifications, reboot
+ * the DB shard group for the changes to take effect.
+ * This operation applies only to Aurora Limitless Database DBb shard groups.
+ * @example
+ * Use a bare-bones client and the command you need to make an API call.
+ * ```javascript
+ * import { RDSClient, RebootDBShardGroupCommand } from "@aws-sdk/client-rds"; // ES Modules import
+ * // const { RDSClient, RebootDBShardGroupCommand } = require("@aws-sdk/client-rds"); // CommonJS import
+ * const client = new RDSClient(config);
+ * const input = { // RebootDBShardGroupMessage
+ * DBShardGroupIdentifier: "STRING_VALUE", // required
+ * };
+ * const command = new RebootDBShardGroupCommand(input);
+ * const response = await client.send(command);
+ * // { // DBShardGroup
+ * // DBShardGroupResourceId: "STRING_VALUE",
+ * // DBShardGroupIdentifier: "STRING_VALUE",
+ * // DBClusterIdentifier: "STRING_VALUE",
+ * // MaxACU: Number("double"),
+ * // ComputeRedundancy: Number("int"),
+ * // Status: "STRING_VALUE",
+ * // PubliclyAccessible: true || false,
+ * // Endpoint: "STRING_VALUE",
+ * // };
+ *
+ * ```
+ *
+ * @param RebootDBShardGroupCommandInput - {@link RebootDBShardGroupCommandInput}
+ * @returns {@link RebootDBShardGroupCommandOutput}
+ * @see {@link RebootDBShardGroupCommandInput} for command's `input` shape.
+ * @see {@link RebootDBShardGroupCommandOutput} for command's `response` shape.
+ * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
+ *
+ * @throws {@link DBShardGroupNotFoundFault} (client fault)
+ * The specified DB shard group name wasn't found.
+ *
+ * @throws {@link InvalidDBShardGroupStateFault} (client fault)
+ * The DB shard group must be in the available state.
+ *
+ * @throws {@link RDSServiceException}
+ * Base exception class for all service exceptions from RDS service.
+ *
+ */
+export class RebootDBShardGroupCommand extends $Command
+ .classBuilder<
+ RebootDBShardGroupCommandInput,
+ RebootDBShardGroupCommandOutput,
+ RDSClientResolvedConfig,
+ ServiceInputTypes,
+ ServiceOutputTypes
+ >()
+ .ep({
+ ...commonParams,
+ })
+ .m(function (this: any, Command: any, cs: any, config: RDSClientResolvedConfig, o: any) {
+ return [
+ getSerdePlugin(config, this.serialize, this.deserialize),
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
+ ];
+ })
+ .s("AmazonRDSv19", "RebootDBShardGroup", {})
+ .n("RDSClient", "RebootDBShardGroupCommand")
+ .f(void 0, void 0)
+ .ser(se_RebootDBShardGroupCommand)
+ .de(de_RebootDBShardGroupCommand)
+ .build() {}
diff --git a/clients/client-rds/src/commands/RestoreDBClusterFromS3Command.ts b/clients/client-rds/src/commands/RestoreDBClusterFromS3Command.ts
index a8ed5feb00b4..fb3b5fda30ec 100644
--- a/clients/client-rds/src/commands/RestoreDBClusterFromS3Command.ts
+++ b/clients/client-rds/src/commands/RestoreDBClusterFromS3Command.ts
@@ -279,6 +279,10 @@ export interface RestoreDBClusterFromS3CommandOutput extends RestoreDBClusterFro
* // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
* // LocalWriteForwardingStatus: "enabled" || "disabled" || "enabling" || "disabling" || "requested",
* // AwsBackupRecoveryPointArn: "STRING_VALUE",
+ * // LimitlessDatabase: { // LimitlessDatabase
+ * // Status: "active" || "not-in-use" || "enabled" || "disabled" || "enabling" || "disabling" || "modifying-max-capacity" || "error",
+ * // MinRequiredACU: Number("double"),
+ * // },
* // },
* // };
*
diff --git a/clients/client-rds/src/commands/RestoreDBClusterFromSnapshotCommand.ts b/clients/client-rds/src/commands/RestoreDBClusterFromSnapshotCommand.ts
index b0a773c7bc04..4adf30eddb5d 100644
--- a/clients/client-rds/src/commands/RestoreDBClusterFromSnapshotCommand.ts
+++ b/clients/client-rds/src/commands/RestoreDBClusterFromSnapshotCommand.ts
@@ -286,6 +286,10 @@ export interface RestoreDBClusterFromSnapshotCommandOutput
* // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
* // LocalWriteForwardingStatus: "enabled" || "disabled" || "enabling" || "disabling" || "requested",
* // AwsBackupRecoveryPointArn: "STRING_VALUE",
+ * // LimitlessDatabase: { // LimitlessDatabase
+ * // Status: "active" || "not-in-use" || "enabled" || "disabled" || "enabling" || "disabling" || "modifying-max-capacity" || "error",
+ * // MinRequiredACU: Number("double"),
+ * // },
* // },
* // };
*
diff --git a/clients/client-rds/src/commands/RestoreDBClusterToPointInTimeCommand.ts b/clients/client-rds/src/commands/RestoreDBClusterToPointInTimeCommand.ts
index b75728fdc61d..15f1c7f18bf2 100644
--- a/clients/client-rds/src/commands/RestoreDBClusterToPointInTimeCommand.ts
+++ b/clients/client-rds/src/commands/RestoreDBClusterToPointInTimeCommand.ts
@@ -288,6 +288,10 @@ export interface RestoreDBClusterToPointInTimeCommandOutput
* // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
* // LocalWriteForwardingStatus: "enabled" || "disabled" || "enabling" || "disabling" || "requested",
* // AwsBackupRecoveryPointArn: "STRING_VALUE",
+ * // LimitlessDatabase: { // LimitlessDatabase
+ * // Status: "active" || "not-in-use" || "enabled" || "disabled" || "enabling" || "disabling" || "modifying-max-capacity" || "error",
+ * // MinRequiredACU: Number("double"),
+ * // },
* // },
* // };
*
diff --git a/clients/client-rds/src/commands/StartDBClusterCommand.ts b/clients/client-rds/src/commands/StartDBClusterCommand.ts
index 16f2e2766f4b..dae34ea5c4d9 100644
--- a/clients/client-rds/src/commands/StartDBClusterCommand.ts
+++ b/clients/client-rds/src/commands/StartDBClusterCommand.ts
@@ -220,6 +220,10 @@ export interface StartDBClusterCommandOutput extends StartDBClusterResult, __Met
* // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
* // LocalWriteForwardingStatus: "enabled" || "disabled" || "enabling" || "disabling" || "requested",
* // AwsBackupRecoveryPointArn: "STRING_VALUE",
+ * // LimitlessDatabase: { // LimitlessDatabase
+ * // Status: "active" || "not-in-use" || "enabled" || "disabled" || "enabling" || "disabling" || "modifying-max-capacity" || "error",
+ * // MinRequiredACU: Number("double"),
+ * // },
* // },
* // };
*
diff --git a/clients/client-rds/src/commands/StopDBClusterCommand.ts b/clients/client-rds/src/commands/StopDBClusterCommand.ts
index 98a46b9db519..572700f916f8 100644
--- a/clients/client-rds/src/commands/StopDBClusterCommand.ts
+++ b/clients/client-rds/src/commands/StopDBClusterCommand.ts
@@ -221,6 +221,10 @@ export interface StopDBClusterCommandOutput extends StopDBClusterResult, __Metad
* // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
* // LocalWriteForwardingStatus: "enabled" || "disabled" || "enabling" || "disabling" || "requested",
* // AwsBackupRecoveryPointArn: "STRING_VALUE",
+ * // LimitlessDatabase: { // LimitlessDatabase
+ * // Status: "active" || "not-in-use" || "enabled" || "disabled" || "enabling" || "disabling" || "modifying-max-capacity" || "error",
+ * // MinRequiredACU: Number("double"),
+ * // },
* // },
* // };
*
diff --git a/clients/client-rds/src/commands/index.ts b/clients/client-rds/src/commands/index.ts
index 41bb7bad3d83..17b454ad6eac 100644
--- a/clients/client-rds/src/commands/index.ts
+++ b/clients/client-rds/src/commands/index.ts
@@ -24,6 +24,7 @@ export * from "./CreateDBParameterGroupCommand";
export * from "./CreateDBProxyCommand";
export * from "./CreateDBProxyEndpointCommand";
export * from "./CreateDBSecurityGroupCommand";
+export * from "./CreateDBShardGroupCommand";
export * from "./CreateDBSnapshotCommand";
export * from "./CreateDBSubnetGroupCommand";
export * from "./CreateEventSubscriptionCommand";
@@ -44,6 +45,7 @@ export * from "./DeleteDBParameterGroupCommand";
export * from "./DeleteDBProxyCommand";
export * from "./DeleteDBProxyEndpointCommand";
export * from "./DeleteDBSecurityGroupCommand";
+export * from "./DeleteDBShardGroupCommand";
export * from "./DeleteDBSnapshotCommand";
export * from "./DeleteDBSubnetGroupCommand";
export * from "./DeleteEventSubscriptionCommand";
@@ -75,6 +77,7 @@ export * from "./DescribeDBProxyTargetGroupsCommand";
export * from "./DescribeDBProxyTargetsCommand";
export * from "./DescribeDBRecommendationsCommand";
export * from "./DescribeDBSecurityGroupsCommand";
+export * from "./DescribeDBShardGroupsCommand";
export * from "./DescribeDBSnapshotAttributesCommand";
export * from "./DescribeDBSnapshotTenantDatabasesCommand";
export * from "./DescribeDBSnapshotsCommand";
@@ -116,6 +119,7 @@ export * from "./ModifyDBProxyCommand";
export * from "./ModifyDBProxyEndpointCommand";
export * from "./ModifyDBProxyTargetGroupCommand";
export * from "./ModifyDBRecommendationCommand";
+export * from "./ModifyDBShardGroupCommand";
export * from "./ModifyDBSnapshotAttributeCommand";
export * from "./ModifyDBSnapshotCommand";
export * from "./ModifyDBSubnetGroupCommand";
@@ -128,6 +132,7 @@ export * from "./PromoteReadReplicaDBClusterCommand";
export * from "./PurchaseReservedDBInstancesOfferingCommand";
export * from "./RebootDBClusterCommand";
export * from "./RebootDBInstanceCommand";
+export * from "./RebootDBShardGroupCommand";
export * from "./RegisterDBProxyTargetsCommand";
export * from "./RemoveFromGlobalClusterCommand";
export * from "./RemoveRoleFromDBClusterCommand";
diff --git a/clients/client-rds/src/models/models_0.ts b/clients/client-rds/src/models/models_0.ts
index 10444b99619b..63789aec2c21 100644
--- a/clients/client-rds/src/models/models_0.ts
+++ b/clients/client-rds/src/models/models_0.ts
@@ -3252,6 +3252,10 @@ export interface CreateBlueGreenDeploymentRequest {
/**
* @public
* Specify the DB instance class for the databases in the green environment.
+ * This parameter only applies to RDS DB instances, because DB instances within an Aurora DB cluster can
+ * have multiple different instance classes. If you're creating a blue/green deployment from an Aurora DB cluster,
+ * don't specify this parameter. After the green environment is created, you can individually modify the instance classes
+ * of the DB instances within the green DB cluster.
*/
TargetDBInstanceClass?: string;
@@ -5037,6 +5041,13 @@ export interface CreateDBClusterMessage {
*/
PerformanceInsightsRetentionPeriod?: number;
+ /**
+ * @public
+ * Specifies whether to enable Aurora Limitless Database. You must enable Aurora Limitless Database to create a DB shard group.
+ * Valid for: Aurora DB clusters only
+ */
+ EnableLimitlessDatabase?: boolean;
+
/**
* @public
* Contains the scaling configuration of an Aurora Serverless v2 DB cluster.
@@ -5270,6 +5281,44 @@ export const WriteForwardingStatus = {
*/
export type WriteForwardingStatus = (typeof WriteForwardingStatus)[keyof typeof WriteForwardingStatus];
+/**
+ * @public
+ * @enum
+ */
+export const LimitlessDatabaseStatus = {
+ ACTIVE: "active",
+ DISABLED: "disabled",
+ DISABLING: "disabling",
+ ENABLED: "enabled",
+ ENABLING: "enabling",
+ ERROR: "error",
+ MODIFYING_MAX_CAPACITY: "modifying-max-capacity",
+ NOT_IN_USE: "not-in-use",
+} as const;
+
+/**
+ * @public
+ */
+export type LimitlessDatabaseStatus = (typeof LimitlessDatabaseStatus)[keyof typeof LimitlessDatabaseStatus];
+
+/**
+ * @public
+ * Contains details for Aurora Limitless Database.
+ */
+export interface LimitlessDatabase {
+ /**
+ * @public
+ * The status of Aurora Limitless Database.
+ */
+ Status?: LimitlessDatabaseStatus;
+
+ /**
+ * @public
+ * The minimum required capacity for Aurora Limitless Database in Aurora capacity units (ACUs).
+ */
+ MinRequiredACU?: number;
+}
+
/**
* @public
* @enum
@@ -6112,6 +6161,12 @@ export interface DBCluster {
* The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services Backup.
*/
AwsBackupRecoveryPointArn?: string;
+
+ /**
+ * @public
+ * The details for Aurora Limitless Database.
+ */
+ LimitlessDatabase?: LimitlessDatabase;
}
/**
@@ -11108,6 +11163,229 @@ export class DBSecurityGroupQuotaExceededFault extends __BaseException {
}
}
+/**
+ * @public
+ */
+export interface CreateDBShardGroupMessage {
+ /**
+ * @public
+ * The name of the DB shard group.
+ */
+ DBShardGroupIdentifier: string | undefined;
+
+ /**
+ * @public
+ * The name of the primary DB cluster for the DB shard group.
+ */
+ DBClusterIdentifier: string | undefined;
+
+ /**
+ * @public
+ * Specifies whether to create standby instances for the DB shard group. Valid values are the following:
+ *
+ * -
+ *
0 - Creates a single, primary DB instance for each physical shard. This is the default value, and the only one supported for the preview.
+ *
+ * -
+ *
1 - Creates a primary DB instance and a standby instance in a different Availability Zone (AZ) for each physical shard.
+ *
+ * -
+ *
2 - Creates a primary DB instance and two standby instances in different AZs for each physical shard.
+ *
+ *
+ */
+ ComputeRedundancy?: number;
+
+ /**
+ * @public
+ * The maximum capacity of the DB shard group in Aurora capacity units (ACUs).
+ */
+ MaxACU: number | undefined;
+
+ /**
+ * @public
+ * Specifies whether the DB shard group is publicly accessible.
+ * When the DB shard group is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private IP address from
+ * within the DB shard group's virtual private cloud (VPC). It resolves to the public IP address from outside of the DB shard group's VPC.
+ * Access to the DB shard group is ultimately controlled by the security group it uses.
+ * That public access is not permitted if the security group assigned to the DB shard group doesn't permit it.
+ * When the DB shard group isn't publicly accessible, it is an internal DB shard group with a DNS name that resolves to a private IP address.
+ * Default: The default behavior varies depending on whether DBSubnetGroupName
is specified.
+ * If DBSubnetGroupName
isn't specified, and PubliclyAccessible
isn't specified, the following applies:
+ *
+ * -
+ *
If the default VPC in the target Region doesn’t have an internet gateway attached to it, the DB shard group is private.
+ *
+ * -
+ *
If the default VPC in the target Region has an internet gateway attached to it, the DB shard group is public.
+ *
+ *
+ * If DBSubnetGroupName
is specified, and PubliclyAccessible
isn't specified, the following applies:
+ *
+ * -
+ *
If the subnets are part of a VPC that doesn’t have an internet gateway attached to it, the DB shard group is private.
+ *
+ * -
+ *
If the subnets are part of a VPC that has an internet gateway attached to it, the DB shard group is public.
+ *
+ *
+ */
+ PubliclyAccessible?: boolean;
+}
+
+/**
+ * @public
+ */
+export interface DBShardGroup {
+ /**
+ * @public
+ * The Amazon Web Services Region-unique, immutable identifier for the DB shard group.
+ */
+ DBShardGroupResourceId?: string;
+
+ /**
+ * @public
+ * The name of the DB shard group.
+ */
+ DBShardGroupIdentifier?: string;
+
+ /**
+ * @public
+ * The name of the primary DB cluster for the DB shard group.
+ */
+ DBClusterIdentifier?: string;
+
+ /**
+ * @public
+ * The maximum capacity of the DB shard group in Aurora capacity units (ACUs).
+ */
+ MaxACU?: number;
+
+ /**
+ * @public
+ * Specifies whether to create standby instances for the DB shard group. Valid values are the following:
+ *
+ * -
+ *
0 - Creates a single, primary DB instance for each physical shard. This is the default value, and the only one supported for the preview.
+ *
+ * -
+ *
1 - Creates a primary DB instance and a standby instance in a different Availability Zone (AZ) for each physical shard.
+ *
+ * -
+ *
2 - Creates a primary DB instance and two standby instances in different AZs for each physical shard.
+ *
+ *
+ */
+ ComputeRedundancy?: number;
+
+ /**
+ * @public
+ * The status of the DB shard group.
+ */
+ Status?: string;
+
+ /**
+ * @public
+ * Indicates whether the DB shard group is publicly accessible.
+ * When the DB shard group is publicly accessible, its Domain Name System (DNS) endpoint
+ * resolves to the private IP address from within the DB shard group's virtual private cloud
+ * (VPC). It resolves to the public IP address from outside of the DB shard group's VPC. Access
+ * to the DB shard group is ultimately controlled by the security group it uses. That public
+ * access isn't permitted if the security group assigned to the DB shard group doesn't permit
+ * it.
+ * When the DB shard group isn't publicly accessible, it is an internal DB shard group with a DNS name that resolves to a private IP address.
+ * For more information, see CreateDBShardGroup.
+ * This setting is only for Aurora Limitless Database.
+ */
+ PubliclyAccessible?: boolean;
+
+ /**
+ * @public
+ * The connection endpoint for the DB shard group.
+ */
+ Endpoint?: string;
+}
+
+/**
+ * @public
+ * The specified DB shard group name must be unique in your Amazon Web Services account in the specified Amazon Web Services Region.
+ */
+export class DBShardGroupAlreadyExistsFault extends __BaseException {
+ readonly name: "DBShardGroupAlreadyExistsFault" = "DBShardGroupAlreadyExistsFault";
+ readonly $fault: "client" = "client";
+ /**
+ * @internal
+ */
+ constructor(opts: __ExceptionOptionType) {
+ super({
+ name: "DBShardGroupAlreadyExistsFault",
+ $fault: "client",
+ ...opts,
+ });
+ Object.setPrototypeOf(this, DBShardGroupAlreadyExistsFault.prototype);
+ }
+}
+
+/**
+ * @public
+ * The maximum capacity of the DB shard group must be 48-7168 Aurora capacity units (ACUs).
+ */
+export class InvalidMaxAcuFault extends __BaseException {
+ readonly name: "InvalidMaxAcuFault" = "InvalidMaxAcuFault";
+ readonly $fault: "client" = "client";
+ /**
+ * @internal
+ */
+ constructor(opts: __ExceptionOptionType) {
+ super({
+ name: "InvalidMaxAcuFault",
+ $fault: "client",
+ ...opts,
+ });
+ Object.setPrototypeOf(this, InvalidMaxAcuFault.prototype);
+ }
+}
+
+/**
+ * @public
+ * The maximum number of DB shard groups for your Amazon Web Services account in the specified Amazon Web Services Region has been reached.
+ */
+export class MaxDBShardGroupLimitReached extends __BaseException {
+ readonly name: "MaxDBShardGroupLimitReached" = "MaxDBShardGroupLimitReached";
+ readonly $fault: "client" = "client";
+ /**
+ * @internal
+ */
+ constructor(opts: __ExceptionOptionType) {
+ super({
+ name: "MaxDBShardGroupLimitReached",
+ $fault: "client",
+ ...opts,
+ });
+ Object.setPrototypeOf(this, MaxDBShardGroupLimitReached.prototype);
+ }
+}
+
+/**
+ * @public
+ * The specified DB engine version isn't supported for Aurora Limitless Database.
+ */
+export class UnsupportedDBEngineVersionFault extends __BaseException {
+ readonly name: "UnsupportedDBEngineVersionFault" = "UnsupportedDBEngineVersionFault";
+ readonly $fault: "client" = "client";
+ /**
+ * @internal
+ */
+ constructor(opts: __ExceptionOptionType) {
+ super({
+ name: "UnsupportedDBEngineVersionFault",
+ $fault: "client",
+ ...opts,
+ });
+ Object.setPrototypeOf(this, UnsupportedDBEngineVersionFault.prototype);
+ }
+}
+
/**
* @public
*
@@ -11304,7 +11582,14 @@ export interface CreateEventSubscriptionMessage {
/**
* @public
- * The Amazon Resource Name (ARN) of the SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.
+ * The Amazon Resource Name (ARN) of the SNS topic created for event notification. SNS
+ * automatically creates the ARN when you create a topic and subscribe to it.
+ *
+ * RDS doesn't support FIFO (first in, first out) topics. For more information, see
+ * Message
+ * ordering and deduplication (FIFO topics) in the Amazon Simple
+ * Notification Service Developer Guide.
+ *
*/
SnsTopicArn: string | undefined;
@@ -13567,6 +13852,57 @@ export interface DeleteDBSecurityGroupMessage {
DBSecurityGroupName: string | undefined;
}
+/**
+ * @public
+ * The specified DB shard group name wasn't found.
+ */
+export class DBShardGroupNotFoundFault extends __BaseException {
+ readonly name: "DBShardGroupNotFoundFault" = "DBShardGroupNotFoundFault";
+ readonly $fault: "client" = "client";
+ /**
+ * @internal
+ */
+ constructor(opts: __ExceptionOptionType) {
+ super({
+ name: "DBShardGroupNotFoundFault",
+ $fault: "client",
+ ...opts,
+ });
+ Object.setPrototypeOf(this, DBShardGroupNotFoundFault.prototype);
+ }
+}
+
+/**
+ * @public
+ */
+export interface DeleteDBShardGroupMessage {
+ /**
+ * @public
+ * Teh name of the DB shard group to delete.
+ */
+ DBShardGroupIdentifier: string | undefined;
+}
+
+/**
+ * @public
+ * The DB shard group must be in the available state.
+ */
+export class InvalidDBShardGroupStateFault extends __BaseException {
+ readonly name: "InvalidDBShardGroupStateFault" = "InvalidDBShardGroupStateFault";
+ readonly $fault: "client" = "client";
+ /**
+ * @internal
+ */
+ constructor(opts: __ExceptionOptionType) {
+ super({
+ name: "InvalidDBShardGroupStateFault",
+ $fault: "client",
+ ...opts,
+ });
+ Object.setPrototypeOf(this, InvalidDBShardGroupStateFault.prototype);
+ }
+}
+
/**
* @public
*
@@ -13804,367 +14140,6 @@ export interface DeleteTenantDatabaseMessage {
FinalDBSnapshotIdentifier?: string;
}
-/**
- * @public
- */
-export interface DeleteTenantDatabaseResult {
- /**
- * @public
- * A tenant database in the DB instance. This data type is an element in the response to
- * the DescribeTenantDatabases
action.
- */
- TenantDatabase?: TenantDatabase;
-}
-
-/**
- * @public
- * The specified RDS DB instance or Aurora DB cluster isn't available for a proxy owned by your Amazon Web Services account in the specified Amazon Web Services Region.
- */
-export class DBProxyTargetNotFoundFault extends __BaseException {
- readonly name: "DBProxyTargetNotFoundFault" = "DBProxyTargetNotFoundFault";
- readonly $fault: "client" = "client";
- /**
- * @internal
- */
- constructor(opts: __ExceptionOptionType) {
- super({
- name: "DBProxyTargetNotFoundFault",
- $fault: "client",
- ...opts,
- });
- Object.setPrototypeOf(this, DBProxyTargetNotFoundFault.prototype);
- }
-}
-
-/**
- * @public
- */
-export interface DeregisterDBProxyTargetsRequest {
- /**
- * @public
- * The identifier of the DBProxy
that is associated with the DBProxyTargetGroup
.
- */
- DBProxyName: string | undefined;
-
- /**
- * @public
- * The identifier of the DBProxyTargetGroup
.
- */
- TargetGroupName?: string;
-
- /**
- * @public
- * One or more DB instance identifiers.
- */
- DBInstanceIdentifiers?: string[];
-
- /**
- * @public
- * One or more DB cluster identifiers.
- */
- DBClusterIdentifiers?: string[];
-}
-
-/**
- * @public
- */
-export interface DeregisterDBProxyTargetsResponse {}
-
-/**
- * @public
- *
- */
-export interface DescribeAccountAttributesMessage {}
-
-/**
- * @public
- * A filter name and value pair that is used to return a more specific list of results
- * from a describe operation. Filters can be used to match a set of resources by specific
- * criteria, such as IDs. The filters supported by a describe operation are documented
- * with the describe operation.
- *
- * Currently, wildcards are not supported in filters.
- *
- * The following actions can be filtered:
- *
- * -
- *
- * DescribeDBClusterBacktracks
- *
- *
- * -
- *
- * DescribeDBClusterEndpoints
- *
- *
- * -
- *
- * DescribeDBClusters
- *
- *
- * -
- *
- * DescribeDBInstances
- *
- *
- * -
- *
- * DescribeDBRecommendations
- *
- *
- * -
- *
- * DescribePendingMaintenanceActions
- *
- *
- *
- */
-export interface Filter {
- /**
- * @public
- * The name of the filter. Filter names are case-sensitive.
- */
- Name: string | undefined;
-
- /**
- * @public
- * One or more filter values. Filter values are case-sensitive.
- */
- Values: string[] | undefined;
-}
-
-/**
- * @public
- */
-export interface DescribeBlueGreenDeploymentsRequest {
- /**
- * @public
- * The blue/green deployment identifier. If you specify this parameter, the response only
- * includes information about the specific blue/green deployment. This parameter isn't
- * case-sensitive.
- * Constraints:
- *
- */
- BlueGreenDeploymentIdentifier?: string;
-
- /**
- * @public
- * A filter that specifies one or more blue/green deployments to describe.
- * Valid Values:
- *
- * -
- *
- * blue-green-deployment-identifier
- Accepts system-generated
- * identifiers for blue/green deployments. The results list only includes
- * information about the blue/green deployments with the specified
- * identifiers.
- *
- * -
- *
- * blue-green-deployment-name
- Accepts user-supplied names for blue/green deployments.
- * The results list only includes information about the blue/green deployments with the
- * specified names.
- *
- * -
- *
- * source
- Accepts source databases for a blue/green deployment.
- * The results list only includes information about the blue/green deployments with
- * the specified source databases.
- *
- * -
- *
- * target
- Accepts target databases for a blue/green deployment.
- * The results list only includes information about the blue/green deployments with
- * the specified target databases.
- *
- *
- */
- Filters?: Filter[];
-
- /**
- * @public
- * An optional pagination token provided by a previous
- * DescribeBlueGreenDeployments
request. If you specify this parameter,
- * the response only includes records beyond the marker, up to the value specified by
- * MaxRecords
.
- */
- Marker?: string;
-
- /**
- * @public
- * The maximum number of records to include in the response.
- * If more records exist than the specified MaxRecords
value,
- * a pagination token called a marker is included in the response so you can retrieve the remaining results.
- * Default: 100
- * Constraints:
- *
- * -
- *
Must be a minimum of 20.
- *
- * -
- *
Can't exceed 100.
- *
- *
- */
- MaxRecords?: number;
-}
-
-/**
- * @public
- */
-export interface DescribeBlueGreenDeploymentsResponse {
- /**
- * @public
- * A list of blue/green deployments in the current account and Amazon Web Services Region.
- */
- BlueGreenDeployments?: BlueGreenDeployment[];
-
- /**
- * @public
- * A pagination token that can be used in a later
- * DescribeBlueGreenDeployments
request.
- */
- Marker?: string;
-}
-
-/**
- * @public
- * A CA certificate for an Amazon Web Services account.
- * For more information, see Using SSL/TLS to encrypt a connection to a DB
- * instance in the Amazon RDS User Guide and
- *
- * Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora
- * User Guide.
- */
-export interface Certificate {
- /**
- * @public
- * The unique key that identifies a certificate.
- */
- CertificateIdentifier?: string;
-
- /**
- * @public
- * The type of the certificate.
- */
- CertificateType?: string;
-
- /**
- * @public
- * The thumbprint of the certificate.
- */
- Thumbprint?: string;
-
- /**
- * @public
- * The starting date from which the certificate is valid.
- */
- ValidFrom?: Date;
-
- /**
- * @public
- * The final date that the certificate continues to be valid.
- */
- ValidTill?: Date;
-
- /**
- * @public
- * The Amazon Resource Name (ARN) for the certificate.
- */
- CertificateArn?: string;
-
- /**
- * @public
- * Indicates whether there is an override for the default certificate identifier.
- */
- CustomerOverride?: boolean;
-
- /**
- * @public
- * If there is an override for the default certificate identifier, when the override
- * expires.
- */
- CustomerOverrideValidTill?: Date;
-}
-
-/**
- * @public
- * Data returned by the DescribeCertificates action.
- */
-export interface CertificateMessage {
- /**
- * @public
- * The default root CA for new databases created by your Amazon Web Services account. This is either the root CA override
- * set on your Amazon Web Services account or the system default CA for the Region if no override exists. To override the default CA, use the
- * ModifyCertificates
operation.
- */
- DefaultCertificateForNewLaunches?: string;
-
- /**
- * @public
- * The list of Certificate
objects for the Amazon Web Services account.
- */
- Certificates?: Certificate[];
-
- /**
- * @public
- * An optional pagination token provided by a previous
- * DescribeCertificates
request.
- * If this parameter is specified, the response includes
- * only records beyond the marker,
- * up to the value specified by MaxRecords
.
- */
- Marker?: string;
-}
-
-/**
- * @public
- *
- */
-export interface DescribeCertificatesMessage {
- /**
- * @public
- * The user-supplied certificate identifier. If this parameter is specified, information for only the identified certificate is returned. This parameter isn't case-sensitive.
- * Constraints:
- *
- */
- CertificateIdentifier?: string;
-
- /**
- * @public
- * This parameter isn't currently supported.
- */
- Filters?: Filter[];
-
- /**
- * @public
- * The maximum number of records to include in the response.
- * If more records exist than the specified MaxRecords
value,
- * a pagination token called a marker is included in the response so you can retrieve the remaining results.
- * Default: 100
- * Constraints: Minimum 20, maximum 100.
- */
- MaxRecords?: number;
-
- /**
- * @public
- * An optional pagination token provided by a previous
- * DescribeCertificates
request.
- * If this parameter is specified, the response includes
- * only records beyond the marker,
- * up to the value specified by MaxRecords
.
- */
- Marker?: string;
-}
-
/**
* @internal
*/
@@ -14200,11 +14175,3 @@ export const CreateTenantDatabaseResultFilterSensitiveLog = (obj: CreateTenantDa
...obj,
...(obj.TenantDatabase && { TenantDatabase: TenantDatabaseFilterSensitiveLog(obj.TenantDatabase) }),
});
-
-/**
- * @internal
- */
-export const DeleteTenantDatabaseResultFilterSensitiveLog = (obj: DeleteTenantDatabaseResult): any => ({
- ...obj,
- ...(obj.TenantDatabase && { TenantDatabase: TenantDatabaseFilterSensitiveLog(obj.TenantDatabase) }),
-});
diff --git a/clients/client-rds/src/models/models_1.ts b/clients/client-rds/src/models/models_1.ts
index 27c4d639b7a0..99e56322b688 100644
--- a/clients/client-rds/src/models/models_1.ts
+++ b/clients/client-rds/src/models/models_1.ts
@@ -8,7 +8,6 @@ import {
AutomationMode,
AvailabilityZone,
BlueGreenDeployment,
- Certificate,
DBCluster,
DBClusterAutomatedBackup,
DBClusterBacktrack,
@@ -22,12 +21,12 @@ import {
DBProxy,
DBProxyEndpoint,
DBSecurityGroup,
+ DBShardGroup,
DBSnapshot,
DBSubnetGroup,
EventSubscription,
ExportSourceType,
ExportTask,
- Filter,
GlobalCluster,
Integration,
OptionGroup,
@@ -46,6 +45,367 @@ import {
import { RDSServiceException as __BaseException } from "./RDSServiceException";
+/**
+ * @public
+ */
+export interface DeleteTenantDatabaseResult {
+ /**
+ * @public
+ * A tenant database in the DB instance. This data type is an element in the response to
+ * the DescribeTenantDatabases
action.
+ */
+ TenantDatabase?: TenantDatabase;
+}
+
+/**
+ * @public
+ * The specified RDS DB instance or Aurora DB cluster isn't available for a proxy owned by your Amazon Web Services account in the specified Amazon Web Services Region.
+ */
+export class DBProxyTargetNotFoundFault extends __BaseException {
+ readonly name: "DBProxyTargetNotFoundFault" = "DBProxyTargetNotFoundFault";
+ readonly $fault: "client" = "client";
+ /**
+ * @internal
+ */
+ constructor(opts: __ExceptionOptionType) {
+ super({
+ name: "DBProxyTargetNotFoundFault",
+ $fault: "client",
+ ...opts,
+ });
+ Object.setPrototypeOf(this, DBProxyTargetNotFoundFault.prototype);
+ }
+}
+
+/**
+ * @public
+ */
+export interface DeregisterDBProxyTargetsRequest {
+ /**
+ * @public
+ * The identifier of the DBProxy
that is associated with the DBProxyTargetGroup
.
+ */
+ DBProxyName: string | undefined;
+
+ /**
+ * @public
+ * The identifier of the DBProxyTargetGroup
.
+ */
+ TargetGroupName?: string;
+
+ /**
+ * @public
+ * One or more DB instance identifiers.
+ */
+ DBInstanceIdentifiers?: string[];
+
+ /**
+ * @public
+ * One or more DB cluster identifiers.
+ */
+ DBClusterIdentifiers?: string[];
+}
+
+/**
+ * @public
+ */
+export interface DeregisterDBProxyTargetsResponse {}
+
+/**
+ * @public
+ *
+ */
+export interface DescribeAccountAttributesMessage {}
+
+/**
+ * @public
+ * A filter name and value pair that is used to return a more specific list of results
+ * from a describe operation. Filters can be used to match a set of resources by specific
+ * criteria, such as IDs. The filters supported by a describe operation are documented
+ * with the describe operation.
+ *
+ * Currently, wildcards are not supported in filters.
+ *
+ * The following actions can be filtered:
+ *
+ * -
+ *
+ * DescribeDBClusterBacktracks
+ *
+ *
+ * -
+ *
+ * DescribeDBClusterEndpoints
+ *
+ *
+ * -
+ *
+ * DescribeDBClusters
+ *
+ *
+ * -
+ *
+ * DescribeDBInstances
+ *
+ *
+ * -
+ *
+ * DescribeDBRecommendations
+ *
+ *
+ * -
+ *
+ * DescribePendingMaintenanceActions
+ *
+ *
+ *
+ */
+export interface Filter {
+ /**
+ * @public
+ * The name of the filter. Filter names are case-sensitive.
+ */
+ Name: string | undefined;
+
+ /**
+ * @public
+ * One or more filter values. Filter values are case-sensitive.
+ */
+ Values: string[] | undefined;
+}
+
+/**
+ * @public
+ */
+export interface DescribeBlueGreenDeploymentsRequest {
+ /**
+ * @public
+ * The blue/green deployment identifier. If you specify this parameter, the response only
+ * includes information about the specific blue/green deployment. This parameter isn't
+ * case-sensitive.
+ * Constraints:
+ *
+ */
+ BlueGreenDeploymentIdentifier?: string;
+
+ /**
+ * @public
+ * A filter that specifies one or more blue/green deployments to describe.
+ * Valid Values:
+ *
+ * -
+ *
+ * blue-green-deployment-identifier
- Accepts system-generated
+ * identifiers for blue/green deployments. The results list only includes
+ * information about the blue/green deployments with the specified
+ * identifiers.
+ *
+ * -
+ *
+ * blue-green-deployment-name
- Accepts user-supplied names for blue/green deployments.
+ * The results list only includes information about the blue/green deployments with the
+ * specified names.
+ *
+ * -
+ *
+ * source
- Accepts source databases for a blue/green deployment.
+ * The results list only includes information about the blue/green deployments with
+ * the specified source databases.
+ *
+ * -
+ *
+ * target
- Accepts target databases for a blue/green deployment.
+ * The results list only includes information about the blue/green deployments with
+ * the specified target databases.
+ *
+ *
+ */
+ Filters?: Filter[];
+
+ /**
+ * @public
+ * An optional pagination token provided by a previous
+ * DescribeBlueGreenDeployments
request. If you specify this parameter,
+ * the response only includes records beyond the marker, up to the value specified by
+ * MaxRecords
.
+ */
+ Marker?: string;
+
+ /**
+ * @public
+ * The maximum number of records to include in the response.
+ * If more records exist than the specified MaxRecords
value,
+ * a pagination token called a marker is included in the response so you can retrieve the remaining results.
+ * Default: 100
+ * Constraints:
+ *
+ * -
+ *
Must be a minimum of 20.
+ *
+ * -
+ *
Can't exceed 100.
+ *
+ *
+ */
+ MaxRecords?: number;
+}
+
+/**
+ * @public
+ */
+export interface DescribeBlueGreenDeploymentsResponse {
+ /**
+ * @public
+ * A list of blue/green deployments in the current account and Amazon Web Services Region.
+ */
+ BlueGreenDeployments?: BlueGreenDeployment[];
+
+ /**
+ * @public
+ * A pagination token that can be used in a later
+ * DescribeBlueGreenDeployments
request.
+ */
+ Marker?: string;
+}
+
+/**
+ * @public
+ * A CA certificate for an Amazon Web Services account.
+ * For more information, see Using SSL/TLS to encrypt a connection to a DB
+ * instance in the Amazon RDS User Guide and
+ *
+ * Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora
+ * User Guide.
+ */
+export interface Certificate {
+ /**
+ * @public
+ * The unique key that identifies a certificate.
+ */
+ CertificateIdentifier?: string;
+
+ /**
+ * @public
+ * The type of the certificate.
+ */
+ CertificateType?: string;
+
+ /**
+ * @public
+ * The thumbprint of the certificate.
+ */
+ Thumbprint?: string;
+
+ /**
+ * @public
+ * The starting date from which the certificate is valid.
+ */
+ ValidFrom?: Date;
+
+ /**
+ * @public
+ * The final date that the certificate continues to be valid.
+ */
+ ValidTill?: Date;
+
+ /**
+ * @public
+ * The Amazon Resource Name (ARN) for the certificate.
+ */
+ CertificateArn?: string;
+
+ /**
+ * @public
+ * Indicates whether there is an override for the default certificate identifier.
+ */
+ CustomerOverride?: boolean;
+
+ /**
+ * @public
+ * If there is an override for the default certificate identifier, when the override
+ * expires.
+ */
+ CustomerOverrideValidTill?: Date;
+}
+
+/**
+ * @public
+ * Data returned by the DescribeCertificates action.
+ */
+export interface CertificateMessage {
+ /**
+ * @public
+ * The default root CA for new databases created by your Amazon Web Services account. This is either the root CA override
+ * set on your Amazon Web Services account or the system default CA for the Region if no override exists. To override the default CA, use the
+ * ModifyCertificates
operation.
+ */
+ DefaultCertificateForNewLaunches?: string;
+
+ /**
+ * @public
+ * The list of Certificate
objects for the Amazon Web Services account.
+ */
+ Certificates?: Certificate[];
+
+ /**
+ * @public
+ * An optional pagination token provided by a previous
+ * DescribeCertificates
request.
+ * If this parameter is specified, the response includes
+ * only records beyond the marker,
+ * up to the value specified by MaxRecords
.
+ */
+ Marker?: string;
+}
+
+/**
+ * @public
+ *
+ */
+export interface DescribeCertificatesMessage {
+ /**
+ * @public
+ * The user-supplied certificate identifier. If this parameter is specified, information for only the identified certificate is returned. This parameter isn't case-sensitive.
+ * Constraints:
+ *
+ */
+ CertificateIdentifier?: string;
+
+ /**
+ * @public
+ * This parameter isn't currently supported.
+ */
+ Filters?: Filter[];
+
+ /**
+ * @public
+ * The maximum number of records to include in the response.
+ * If more records exist than the specified MaxRecords
value,
+ * a pagination token called a marker is included in the response so you can retrieve the remaining results.
+ * Default: 100
+ * Constraints: Minimum 20, maximum 100.
+ */
+ MaxRecords?: number;
+
+ /**
+ * @public
+ * An optional pagination token provided by a previous
+ * DescribeCertificates
request.
+ * If this parameter is specified, the response includes
+ * only records beyond the marker,
+ * up to the value specified by MaxRecords
.
+ */
+ Marker?: string;
+}
+
/**
* @public
*/
@@ -674,7 +1034,7 @@ export interface DescribeDBClustersMessage {
* If more records exist than the specified MaxRecords
value,
* a pagination token called a marker is included in the response so you can retrieve the remaining results.
* Default: 100
- * Constraints: Minimum 20, maximum 100.
+ * Constraints: Minimum 20, maximum 100
*/
MaxRecords?: number;
@@ -2986,6 +3346,63 @@ export interface DescribeDBSecurityGroupsMessage {
Marker?: string;
}
+/**
+ * @public
+ */
+export interface DescribeDBShardGroupsMessage {
+ /**
+ * @public
+ * The user-supplied DB shard group identifier or the Amazon Resource Name (ARN) of the DB shard group. If this parameter is specified,
+ * information for only the specific DB shard group is returned. This parameter isn't case-sensitive.
+ * Constraints:
+ *
+ */
+ DBShardGroupIdentifier?: string;
+
+ /**
+ * @public
+ * A filter that specifies one or more DB shard groups to describe.
+ */
+ Filters?: Filter[];
+
+ /**
+ * @public
+ * An optional pagination token provided by a previous DescribeDBShardGroups
request. If this parameter is
+ * specified, the response includes only records beyond the marker, up to the value specified by MaxRecords
.
+ */
+ Marker?: string;
+
+ /**
+ * @public
+ * The maximum number of records to include in the response. If more records exist than the specified MaxRecords
+ * value, a pagination token called a marker is included in the response so you can retrieve the remaining results.
+ * Default: 100
+ * Constraints: Minimum 20, maximum 100
+ */
+ MaxRecords?: number;
+}
+
+/**
+ * @public
+ */
+export interface DescribeDBShardGroupsResponse {
+ /**
+ * @public
+ * Contains a list of DB shard groups for the user.
+ */
+ DBShardGroups?: DBShardGroup[];
+
+ /**
+ * @public
+ * A pagination token that can be used in a later DescribeDBClusters
request.
+ */
+ Marker?: string;
+}
+
/**
* @public
*
@@ -7505,6 +7922,13 @@ export interface ModifyDBClusterMessage {
* The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services Backup.
*/
AwsBackupRecoveryPointArn?: string;
+
+ /**
+ * @public
+ * Specifies whether to enable Aurora Limitless Database. You must enable Aurora Limitless Database to create a DB shard group.
+ * Valid for: Aurora DB clusters only
+ */
+ EnableLimitlessDatabase?: boolean;
}
/**
@@ -9183,6 +9607,23 @@ export interface ModifyDBRecommendationMessage {
RecommendedActionUpdates?: RecommendedActionUpdate[];
}
+/**
+ * @public
+ */
+export interface ModifyDBShardGroupMessage {
+ /**
+ * @public
+ * The name of the DB shard group to modify.
+ */
+ DBShardGroupIdentifier: string | undefined;
+
+ /**
+ * @public
+ * The maximum capacity of the DB shard group in Aurora capacity units (ACUs).
+ */
+ MaxACU?: number;
+}
+
/**
* @public
*/
@@ -9998,6 +10439,17 @@ export interface RebootDBInstanceResult {
DBInstance?: DBInstance;
}
+/**
+ * @public
+ */
+export interface RebootDBShardGroupMessage {
+ /**
+ * @public
+ * The name of the DB shard group to reboot.
+ */
+ DBShardGroupIdentifier: string | undefined;
+}
+
/**
* @public
* The proxy is already associated with the specified RDS DB instance or Aurora DB cluster.
@@ -14313,6 +14765,14 @@ export interface SwitchoverReadReplicaResult {
DBInstance?: DBInstance;
}
+/**
+ * @internal
+ */
+export const DeleteTenantDatabaseResultFilterSensitiveLog = (obj: DeleteTenantDatabaseResult): any => ({
+ ...obj,
+ ...(obj.TenantDatabase && { TenantDatabase: TenantDatabaseFilterSensitiveLog(obj.TenantDatabase) }),
+});
+
/**
* @internal
*/
diff --git a/clients/client-rds/src/protocols/Aws_query.ts b/clients/client-rds/src/protocols/Aws_query.ts
index 88ad49004028..72f1f6439c9e 100644
--- a/clients/client-rds/src/protocols/Aws_query.ts
+++ b/clients/client-rds/src/protocols/Aws_query.ts
@@ -97,6 +97,7 @@ import {
CreateDBSecurityGroupCommandInput,
CreateDBSecurityGroupCommandOutput,
} from "../commands/CreateDBSecurityGroupCommand";
+import { CreateDBShardGroupCommandInput, CreateDBShardGroupCommandOutput } from "../commands/CreateDBShardGroupCommand";
import { CreateDBSnapshotCommandInput, CreateDBSnapshotCommandOutput } from "../commands/CreateDBSnapshotCommand";
import {
CreateDBSubnetGroupCommandInput,
@@ -159,6 +160,7 @@ import {
DeleteDBSecurityGroupCommandInput,
DeleteDBSecurityGroupCommandOutput,
} from "../commands/DeleteDBSecurityGroupCommand";
+import { DeleteDBShardGroupCommandInput, DeleteDBShardGroupCommandOutput } from "../commands/DeleteDBShardGroupCommand";
import { DeleteDBSnapshotCommandInput, DeleteDBSnapshotCommandOutput } from "../commands/DeleteDBSnapshotCommand";
import {
DeleteDBSubnetGroupCommandInput,
@@ -265,6 +267,10 @@ import {
DescribeDBSecurityGroupsCommandInput,
DescribeDBSecurityGroupsCommandOutput,
} from "../commands/DescribeDBSecurityGroupsCommand";
+import {
+ DescribeDBShardGroupsCommandInput,
+ DescribeDBShardGroupsCommandOutput,
+} from "../commands/DescribeDBShardGroupsCommand";
import {
DescribeDBSnapshotAttributesCommandInput,
DescribeDBSnapshotAttributesCommandOutput,
@@ -408,6 +414,7 @@ import {
ModifyDBRecommendationCommandInput,
ModifyDBRecommendationCommandOutput,
} from "../commands/ModifyDBRecommendationCommand";
+import { ModifyDBShardGroupCommandInput, ModifyDBShardGroupCommandOutput } from "../commands/ModifyDBShardGroupCommand";
import {
ModifyDBSnapshotAttributeCommandInput,
ModifyDBSnapshotAttributeCommandOutput,
@@ -441,6 +448,7 @@ import {
} from "../commands/PurchaseReservedDBInstancesOfferingCommand";
import { RebootDBClusterCommandInput, RebootDBClusterCommandOutput } from "../commands/RebootDBClusterCommand";
import { RebootDBInstanceCommandInput, RebootDBInstanceCommandOutput } from "../commands/RebootDBInstanceCommand";
+import { RebootDBShardGroupCommandInput, RebootDBShardGroupCommandOutput } from "../commands/RebootDBShardGroupCommand";
import {
RegisterDBProxyTargetsCommandInput,
RegisterDBProxyTargetsCommandOutput,
@@ -554,9 +562,7 @@ import {
BlueGreenDeploymentNotFoundFault,
BlueGreenDeploymentTask,
CancelExportTaskMessage,
- Certificate,
CertificateDetails,
- CertificateMessage,
CertificateNotFoundFault,
CharacterSet,
ClusterPendingModifiedValues,
@@ -593,6 +599,7 @@ import {
CreateDBProxyResponse,
CreateDBSecurityGroupMessage,
CreateDBSecurityGroupResult,
+ CreateDBShardGroupMessage,
CreateDBSnapshotMessage,
CreateDBSnapshotResult,
CreateDBSubnetGroupMessage,
@@ -660,13 +667,15 @@ import {
DBProxyNotFoundFault,
DBProxyQuotaExceededFault,
DBProxyTargetGroupNotFoundFault,
- DBProxyTargetNotFoundFault,
DBSecurityGroup,
DBSecurityGroupAlreadyExistsFault,
DBSecurityGroupMembership,
DBSecurityGroupNotFoundFault,
DBSecurityGroupNotSupportedFault,
DBSecurityGroupQuotaExceededFault,
+ DBShardGroup,
+ DBShardGroupAlreadyExistsFault,
+ DBShardGroupNotFoundFault,
DBSnapshot,
DBSnapshotAlreadyExistsFault,
DBSnapshotNotFoundFault,
@@ -699,6 +708,7 @@ import {
DeleteDBProxyRequest,
DeleteDBProxyResponse,
DeleteDBSecurityGroupMessage,
+ DeleteDBShardGroupMessage,
DeleteDBSnapshotMessage,
DeleteDBSnapshotResult,
DeleteDBSubnetGroupMessage,
@@ -709,13 +719,6 @@ import {
DeleteIntegrationMessage,
DeleteOptionGroupMessage,
DeleteTenantDatabaseMessage,
- DeleteTenantDatabaseResult,
- DeregisterDBProxyTargetsRequest,
- DeregisterDBProxyTargetsResponse,
- DescribeAccountAttributesMessage,
- DescribeBlueGreenDeploymentsRequest,
- DescribeBlueGreenDeploymentsResponse,
- DescribeCertificatesMessage,
DomainMembership,
DomainNotFoundFault,
Ec2ImagePropertiesNotSupportedFault,
@@ -726,7 +729,6 @@ import {
ExportTask,
ExportTaskNotFoundFault,
FailoverState,
- Filter,
GlobalCluster,
GlobalClusterAlreadyExistsFault,
GlobalClusterMember,
@@ -753,6 +755,7 @@ import {
InvalidDBProxyEndpointStateFault,
InvalidDBProxyStateFault,
InvalidDBSecurityGroupStateFault,
+ InvalidDBShardGroupStateFault,
InvalidDBSnapshotStateFault,
InvalidDBSubnetGroupFault,
InvalidDBSubnetGroupStateFault,
@@ -761,12 +764,15 @@ import {
InvalidExportTaskStateFault,
InvalidGlobalClusterStateFault,
InvalidIntegrationStateFault,
+ InvalidMaxAcuFault,
InvalidOptionGroupStateFault,
InvalidSubnet,
InvalidVPCNetworkStateFault,
IPRange,
KMSKeyNotAccessibleFault,
+ LimitlessDatabase,
MasterUserSecret,
+ MaxDBShardGroupLimitReached,
NetworkTypeNotSupported,
Option,
OptionGroup,
@@ -810,6 +816,7 @@ import {
TenantDatabasePendingModifiedValues,
TenantDatabaseQuotaExceededFault,
Timezone,
+ UnsupportedDBEngineVersionFault,
UpgradeTarget,
UserAuthConfig,
UserAuthConfigInfo,
@@ -817,6 +824,8 @@ import {
} from "../models/models_0";
import {
AvailableProcessorFeature,
+ Certificate,
+ CertificateMessage,
CloudwatchLogsExportConfiguration,
ConnectionPoolConfiguration,
ConnectionPoolConfigurationInfo,
@@ -845,6 +854,7 @@ import {
DBProxyTarget,
DBProxyTargetAlreadyRegisteredFault,
DBProxyTargetGroup,
+ DBProxyTargetNotFoundFault,
DBRecommendation,
DBRecommendationMessage,
DBRecommendationsMessage,
@@ -856,6 +866,13 @@ import {
DBSnapshotTenantDatabasesMessage,
DBSubnetGroupMessage,
DBUpgradeDependencyFailureFault,
+ DeleteTenantDatabaseResult,
+ DeregisterDBProxyTargetsRequest,
+ DeregisterDBProxyTargetsResponse,
+ DescribeAccountAttributesMessage,
+ DescribeBlueGreenDeploymentsRequest,
+ DescribeBlueGreenDeploymentsResponse,
+ DescribeCertificatesMessage,
DescribeDBClusterAutomatedBackupsMessage,
DescribeDBClusterBacktracksMessage,
DescribeDBClusterEndpointsMessage,
@@ -883,6 +900,8 @@ import {
DescribeDBProxyTargetsResponse,
DescribeDBRecommendationsMessage,
DescribeDBSecurityGroupsMessage,
+ DescribeDBShardGroupsMessage,
+ DescribeDBShardGroupsResponse,
DescribeDBSnapshotAttributesMessage,
DescribeDBSnapshotAttributesResult,
DescribeDBSnapshotsMessage,
@@ -929,6 +948,7 @@ import {
FailoverDBClusterResult,
FailoverGlobalClusterMessage,
FailoverGlobalClusterResult,
+ Filter,
GlobalClustersMessage,
IamRoleMissingPermissionsFault,
IamRoleNotFoundFault,
@@ -968,6 +988,7 @@ import {
ModifyDBProxyTargetGroupRequest,
ModifyDBProxyTargetGroupResponse,
ModifyDBRecommendationMessage,
+ ModifyDBShardGroupMessage,
ModifyDBSnapshotAttributeMessage,
ModifyDBSnapshotAttributeResult,
ModifyDBSnapshotMessage,
@@ -1007,6 +1028,7 @@ import {
RebootDBClusterResult,
RebootDBInstanceMessage,
RebootDBInstanceResult,
+ RebootDBShardGroupMessage,
RecommendedAction,
RecommendedActionParameter,
RecommendedActionUpdate,
@@ -1507,6 +1529,23 @@ export const se_CreateDBSecurityGroupCommand = async (
return buildHttpRpcRequest(context, headers, "/", undefined, body);
};
+/**
+ * serializeAws_queryCreateDBShardGroupCommand
+ */
+export const se_CreateDBShardGroupCommand = async (
+ input: CreateDBShardGroupCommandInput,
+ context: __SerdeContext
+): Promise<__HttpRequest> => {
+ const headers: __HeaderBag = SHARED_HEADERS;
+ let body: any;
+ body = buildFormUrlencodedString({
+ ...se_CreateDBShardGroupMessage(input, context),
+ [_A]: _CDBSGr,
+ [_V]: _,
+ });
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
+};
+
/**
* serializeAws_queryCreateDBSnapshotCommand
*/
@@ -1535,7 +1574,7 @@ export const se_CreateDBSubnetGroupCommand = async (
let body: any;
body = buildFormUrlencodedString({
...se_CreateDBSubnetGroupMessage(input, context),
- [_A]: _CDBSGr,
+ [_A]: _CDBSGre,
[_V]: _,
});
return buildHttpRpcRequest(context, headers, "/", undefined, body);
@@ -1847,6 +1886,23 @@ export const se_DeleteDBSecurityGroupCommand = async (
return buildHttpRpcRequest(context, headers, "/", undefined, body);
};
+/**
+ * serializeAws_queryDeleteDBShardGroupCommand
+ */
+export const se_DeleteDBShardGroupCommand = async (
+ input: DeleteDBShardGroupCommandInput,
+ context: __SerdeContext
+): Promise<__HttpRequest> => {
+ const headers: __HeaderBag = SHARED_HEADERS;
+ let body: any;
+ body = buildFormUrlencodedString({
+ ...se_DeleteDBShardGroupMessage(input, context),
+ [_A]: _DDBSGe,
+ [_V]: _,
+ });
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
+};
+
/**
* serializeAws_queryDeleteDBSnapshotCommand
*/
@@ -1875,7 +1931,7 @@ export const se_DeleteDBSubnetGroupCommand = async (
let body: any;
body = buildFormUrlencodedString({
...se_DeleteDBSubnetGroupMessage(input, context),
- [_A]: _DDBSGe,
+ [_A]: _DDBSGel,
[_V]: _,
});
return buildHttpRpcRequest(context, headers, "/", undefined, body);
@@ -2374,6 +2430,23 @@ export const se_DescribeDBSecurityGroupsCommand = async (
return buildHttpRpcRequest(context, headers, "/", undefined, body);
};
+/**
+ * serializeAws_queryDescribeDBShardGroupsCommand
+ */
+export const se_DescribeDBShardGroupsCommand = async (
+ input: DescribeDBShardGroupsCommandInput,
+ context: __SerdeContext
+): Promise<__HttpRequest> => {
+ const headers: __HeaderBag = SHARED_HEADERS;
+ let body: any;
+ body = buildFormUrlencodedString({
+ ...se_DescribeDBShardGroupsMessage(input, context),
+ [_A]: _DDBSGesc,
+ [_V]: _,
+ });
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
+};
+
/**
* serializeAws_queryDescribeDBSnapshotAttributesCommand
*/
@@ -2436,7 +2509,7 @@ export const se_DescribeDBSubnetGroupsCommand = async (
let body: any;
body = buildFormUrlencodedString({
...se_DescribeDBSubnetGroupsMessage(input, context),
- [_A]: _DDBSGesc,
+ [_A]: _DDBSGescr,
[_V]: _,
});
return buildHttpRpcRequest(context, headers, "/", undefined, body);
@@ -3071,6 +3144,23 @@ export const se_ModifyDBRecommendationCommand = async (
return buildHttpRpcRequest(context, headers, "/", undefined, body);
};
+/**
+ * serializeAws_queryModifyDBShardGroupCommand
+ */
+export const se_ModifyDBShardGroupCommand = async (
+ input: ModifyDBShardGroupCommandInput,
+ context: __SerdeContext
+): Promise<__HttpRequest> => {
+ const headers: __HeaderBag = SHARED_HEADERS;
+ let body: any;
+ body = buildFormUrlencodedString({
+ ...se_ModifyDBShardGroupMessage(input, context),
+ [_A]: _MDBSG,
+ [_V]: _,
+ });
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
+};
+
/**
* serializeAws_queryModifyDBSnapshotCommand
*/
@@ -3116,7 +3206,7 @@ export const se_ModifyDBSubnetGroupCommand = async (
let body: any;
body = buildFormUrlencodedString({
...se_ModifyDBSubnetGroupMessage(input, context),
- [_A]: _MDBSG,
+ [_A]: _MDBSGo,
[_V]: _,
});
return buildHttpRpcRequest(context, headers, "/", undefined, body);
@@ -3275,6 +3365,23 @@ export const se_RebootDBInstanceCommand = async (
return buildHttpRpcRequest(context, headers, "/", undefined, body);
};
+/**
+ * serializeAws_queryRebootDBShardGroupCommand
+ */
+export const se_RebootDBShardGroupCommand = async (
+ input: RebootDBShardGroupCommandInput,
+ context: __SerdeContext
+): Promise<__HttpRequest> => {
+ const headers: __HeaderBag = SHARED_HEADERS;
+ let body: any;
+ body = buildFormUrlencodedString({
+ ...se_RebootDBShardGroupMessage(input, context),
+ [_A]: _RDBSG,
+ [_V]: _,
+ });
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
+};
+
/**
* serializeAws_queryRegisterDBProxyTargetsCommand
*/
@@ -5277,6 +5384,70 @@ const de_CreateDBSecurityGroupCommandError = async (
}
};
+/**
+ * deserializeAws_queryCreateDBShardGroupCommand
+ */
+export const de_CreateDBShardGroupCommand = async (
+ output: __HttpResponse,
+ context: __SerdeContext
+): Promise => {
+ if (output.statusCode >= 300) {
+ return de_CreateDBShardGroupCommandError(output, context);
+ }
+ const data: any = await parseBody(output.body, context);
+ let contents: any = {};
+ contents = de_DBShardGroup(data.CreateDBShardGroupResult, context);
+ const response: CreateDBShardGroupCommandOutput = {
+ $metadata: deserializeMetadata(output),
+ ...contents,
+ };
+ return response;
+};
+
+/**
+ * deserializeAws_queryCreateDBShardGroupCommandError
+ */
+const de_CreateDBShardGroupCommandError = async (
+ output: __HttpResponse,
+ context: __SerdeContext
+): Promise => {
+ const parsedOutput: any = {
+ ...output,
+ body: await parseErrorBody(output.body, context),
+ };
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
+ switch (errorCode) {
+ case "DBClusterNotFoundFault":
+ case "com.amazonaws.rds#DBClusterNotFoundFault":
+ throw await de_DBClusterNotFoundFaultRes(parsedOutput, context);
+ case "DBShardGroupAlreadyExists":
+ case "com.amazonaws.rds#DBShardGroupAlreadyExistsFault":
+ throw await de_DBShardGroupAlreadyExistsFaultRes(parsedOutput, context);
+ case "InvalidDBClusterStateFault":
+ case "com.amazonaws.rds#InvalidDBClusterStateFault":
+ throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
+ case "InvalidMaxAcu":
+ case "com.amazonaws.rds#InvalidMaxAcuFault":
+ throw await de_InvalidMaxAcuFaultRes(parsedOutput, context);
+ case "InvalidVPCNetworkStateFault":
+ case "com.amazonaws.rds#InvalidVPCNetworkStateFault":
+ throw await de_InvalidVPCNetworkStateFaultRes(parsedOutput, context);
+ case "MaxDBShardGroupLimitReached":
+ case "com.amazonaws.rds#MaxDBShardGroupLimitReached":
+ throw await de_MaxDBShardGroupLimitReachedRes(parsedOutput, context);
+ case "UnsupportedDBEngineVersion":
+ case "com.amazonaws.rds#UnsupportedDBEngineVersionFault":
+ throw await de_UnsupportedDBEngineVersionFaultRes(parsedOutput, context);
+ default:
+ const parsedBody = parsedOutput.body;
+ return throwDefaultError({
+ output,
+ parsedBody: parsedBody.Error,
+ errorCode,
+ });
+ }
+};
+
/**
* deserializeAws_queryCreateDBSnapshotCommand
*/
@@ -6329,6 +6500,58 @@ const de_DeleteDBSecurityGroupCommandError = async (
}
};
+/**
+ * deserializeAws_queryDeleteDBShardGroupCommand
+ */
+export const de_DeleteDBShardGroupCommand = async (
+ output: __HttpResponse,
+ context: __SerdeContext
+): Promise => {
+ if (output.statusCode >= 300) {
+ return de_DeleteDBShardGroupCommandError(output, context);
+ }
+ const data: any = await parseBody(output.body, context);
+ let contents: any = {};
+ contents = de_DBShardGroup(data.DeleteDBShardGroupResult, context);
+ const response: DeleteDBShardGroupCommandOutput = {
+ $metadata: deserializeMetadata(output),
+ ...contents,
+ };
+ return response;
+};
+
+/**
+ * deserializeAws_queryDeleteDBShardGroupCommandError
+ */
+const de_DeleteDBShardGroupCommandError = async (
+ output: __HttpResponse,
+ context: __SerdeContext
+): Promise => {
+ const parsedOutput: any = {
+ ...output,
+ body: await parseErrorBody(output.body, context),
+ };
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
+ switch (errorCode) {
+ case "DBShardGroupNotFound":
+ case "com.amazonaws.rds#DBShardGroupNotFoundFault":
+ throw await de_DBShardGroupNotFoundFaultRes(parsedOutput, context);
+ case "InvalidDBClusterStateFault":
+ case "com.amazonaws.rds#InvalidDBClusterStateFault":
+ throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
+ case "InvalidDBShardGroupState":
+ case "com.amazonaws.rds#InvalidDBShardGroupStateFault":
+ throw await de_InvalidDBShardGroupStateFaultRes(parsedOutput, context);
+ default:
+ const parsedBody = parsedOutput.body;
+ return throwDefaultError({
+ output,
+ parsedBody: parsedBody.Error,
+ errorCode,
+ });
+ }
+};
+
/**
* deserializeAws_queryDeleteDBSnapshotCommand
*/
@@ -7791,6 +8014,55 @@ const de_DescribeDBSecurityGroupsCommandError = async (
}
};
+/**
+ * deserializeAws_queryDescribeDBShardGroupsCommand
+ */
+export const de_DescribeDBShardGroupsCommand = async (
+ output: __HttpResponse,
+ context: __SerdeContext
+): Promise => {
+ if (output.statusCode >= 300) {
+ return de_DescribeDBShardGroupsCommandError(output, context);
+ }
+ const data: any = await parseBody(output.body, context);
+ let contents: any = {};
+ contents = de_DescribeDBShardGroupsResponse(data.DescribeDBShardGroupsResult, context);
+ const response: DescribeDBShardGroupsCommandOutput = {
+ $metadata: deserializeMetadata(output),
+ ...contents,
+ };
+ return response;
+};
+
+/**
+ * deserializeAws_queryDescribeDBShardGroupsCommandError
+ */
+const de_DescribeDBShardGroupsCommandError = async (
+ output: __HttpResponse,
+ context: __SerdeContext
+): Promise => {
+ const parsedOutput: any = {
+ ...output,
+ body: await parseErrorBody(output.body, context),
+ };
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
+ switch (errorCode) {
+ case "DBClusterNotFoundFault":
+ case "com.amazonaws.rds#DBClusterNotFoundFault":
+ throw await de_DBClusterNotFoundFaultRes(parsedOutput, context);
+ case "DBShardGroupNotFound":
+ case "com.amazonaws.rds#DBShardGroupNotFoundFault":
+ throw await de_DBShardGroupNotFoundFaultRes(parsedOutput, context);
+ default:
+ const parsedBody = parsedOutput.body;
+ return throwDefaultError({
+ output,
+ parsedBody: parsedBody.Error,
+ errorCode,
+ });
+ }
+};
+
/**
* deserializeAws_queryDescribeDBSnapshotAttributesCommand
*/
@@ -9845,6 +10117,61 @@ const de_ModifyDBRecommendationCommandError = async (
});
};
+/**
+ * deserializeAws_queryModifyDBShardGroupCommand
+ */
+export const de_ModifyDBShardGroupCommand = async (
+ output: __HttpResponse,
+ context: __SerdeContext
+): Promise => {
+ if (output.statusCode >= 300) {
+ return de_ModifyDBShardGroupCommandError(output, context);
+ }
+ const data: any = await parseBody(output.body, context);
+ let contents: any = {};
+ contents = de_DBShardGroup(data.ModifyDBShardGroupResult, context);
+ const response: ModifyDBShardGroupCommandOutput = {
+ $metadata: deserializeMetadata(output),
+ ...contents,
+ };
+ return response;
+};
+
+/**
+ * deserializeAws_queryModifyDBShardGroupCommandError
+ */
+const de_ModifyDBShardGroupCommandError = async (
+ output: __HttpResponse,
+ context: __SerdeContext
+): Promise => {
+ const parsedOutput: any = {
+ ...output,
+ body: await parseErrorBody(output.body, context),
+ };
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
+ switch (errorCode) {
+ case "DBShardGroupAlreadyExists":
+ case "com.amazonaws.rds#DBShardGroupAlreadyExistsFault":
+ throw await de_DBShardGroupAlreadyExistsFaultRes(parsedOutput, context);
+ case "DBShardGroupNotFound":
+ case "com.amazonaws.rds#DBShardGroupNotFoundFault":
+ throw await de_DBShardGroupNotFoundFaultRes(parsedOutput, context);
+ case "InvalidDBClusterStateFault":
+ case "com.amazonaws.rds#InvalidDBClusterStateFault":
+ throw await de_InvalidDBClusterStateFaultRes(parsedOutput, context);
+ case "InvalidMaxAcu":
+ case "com.amazonaws.rds#InvalidMaxAcuFault":
+ throw await de_InvalidMaxAcuFaultRes(parsedOutput, context);
+ default:
+ const parsedBody = parsedOutput.body;
+ return throwDefaultError({
+ output,
+ parsedBody: parsedBody.Error,
+ errorCode,
+ });
+ }
+};
+
/**
* deserializeAws_queryModifyDBSnapshotCommand
*/
@@ -10472,6 +10799,55 @@ const de_RebootDBInstanceCommandError = async (
}
};
+/**
+ * deserializeAws_queryRebootDBShardGroupCommand
+ */
+export const de_RebootDBShardGroupCommand = async (
+ output: __HttpResponse,
+ context: __SerdeContext
+): Promise => {
+ if (output.statusCode >= 300) {
+ return de_RebootDBShardGroupCommandError(output, context);
+ }
+ const data: any = await parseBody(output.body, context);
+ let contents: any = {};
+ contents = de_DBShardGroup(data.RebootDBShardGroupResult, context);
+ const response: RebootDBShardGroupCommandOutput = {
+ $metadata: deserializeMetadata(output),
+ ...contents,
+ };
+ return response;
+};
+
+/**
+ * deserializeAws_queryRebootDBShardGroupCommandError
+ */
+const de_RebootDBShardGroupCommandError = async (
+ output: __HttpResponse,
+ context: __SerdeContext
+): Promise => {
+ const parsedOutput: any = {
+ ...output,
+ body: await parseErrorBody(output.body, context),
+ };
+ const errorCode = loadQueryErrorCode(output, parsedOutput.body);
+ switch (errorCode) {
+ case "DBShardGroupNotFound":
+ case "com.amazonaws.rds#DBShardGroupNotFoundFault":
+ throw await de_DBShardGroupNotFoundFaultRes(parsedOutput, context);
+ case "InvalidDBShardGroupState":
+ case "com.amazonaws.rds#InvalidDBShardGroupStateFault":
+ throw await de_InvalidDBShardGroupStateFaultRes(parsedOutput, context);
+ default:
+ const parsedBody = parsedOutput.body;
+ return throwDefaultError({
+ output,
+ parsedBody: parsedBody.Error,
+ errorCode,
+ });
+ }
+};
+
/**
* deserializeAws_queryRegisterDBProxyTargetsCommand
*/
@@ -13085,6 +13461,38 @@ const de_DBSecurityGroupQuotaExceededFaultRes = async (
return __decorateServiceException(exception, body);
};
+/**
+ * deserializeAws_queryDBShardGroupAlreadyExistsFaultRes
+ */
+const de_DBShardGroupAlreadyExistsFaultRes = async (
+ parsedOutput: any,
+ context: __SerdeContext
+): Promise => {
+ const body = parsedOutput.body;
+ const deserialized: any = de_DBShardGroupAlreadyExistsFault(body.Error, context);
+ const exception = new DBShardGroupAlreadyExistsFault({
+ $metadata: deserializeMetadata(parsedOutput),
+ ...deserialized,
+ });
+ return __decorateServiceException(exception, body);
+};
+
+/**
+ * deserializeAws_queryDBShardGroupNotFoundFaultRes
+ */
+const de_DBShardGroupNotFoundFaultRes = async (
+ parsedOutput: any,
+ context: __SerdeContext
+): Promise => {
+ const body = parsedOutput.body;
+ const deserialized: any = de_DBShardGroupNotFoundFault(body.Error, context);
+ const exception = new DBShardGroupNotFoundFault({
+ $metadata: deserializeMetadata(parsedOutput),
+ ...deserialized,
+ });
+ return __decorateServiceException(exception, body);
+};
+
/**
* deserializeAws_queryDBSnapshotAlreadyExistsFaultRes
*/
@@ -13754,6 +14162,22 @@ const de_InvalidDBSecurityGroupStateFaultRes = async (
return __decorateServiceException(exception, body);
};
+/**
+ * deserializeAws_queryInvalidDBShardGroupStateFaultRes
+ */
+const de_InvalidDBShardGroupStateFaultRes = async (
+ parsedOutput: any,
+ context: __SerdeContext
+): Promise => {
+ const body = parsedOutput.body;
+ const deserialized: any = de_InvalidDBShardGroupStateFault(body.Error, context);
+ const exception = new InvalidDBShardGroupStateFault({
+ $metadata: deserializeMetadata(parsedOutput),
+ ...deserialized,
+ });
+ return __decorateServiceException(exception, body);
+};
+
/**
* deserializeAws_queryInvalidDBSnapshotStateFaultRes
*/
@@ -13914,6 +14338,19 @@ const de_InvalidIntegrationStateFaultRes = async (
return __decorateServiceException(exception, body);
};
+/**
+ * deserializeAws_queryInvalidMaxAcuFaultRes
+ */
+const de_InvalidMaxAcuFaultRes = async (parsedOutput: any, context: __SerdeContext): Promise => {
+ const body = parsedOutput.body;
+ const deserialized: any = de_InvalidMaxAcuFault(body.Error, context);
+ const exception = new InvalidMaxAcuFault({
+ $metadata: deserializeMetadata(parsedOutput),
+ ...deserialized,
+ });
+ return __decorateServiceException(exception, body);
+};
+
/**
* deserializeAws_queryInvalidOptionGroupStateFaultRes
*/
@@ -14020,6 +14457,22 @@ const de_KMSKeyNotAccessibleFaultRes = async (
return __decorateServiceException(exception, body);
};
+/**
+ * deserializeAws_queryMaxDBShardGroupLimitReachedRes
+ */
+const de_MaxDBShardGroupLimitReachedRes = async (
+ parsedOutput: any,
+ context: __SerdeContext
+): Promise => {
+ const body = parsedOutput.body;
+ const deserialized: any = de_MaxDBShardGroupLimitReached(body.Error, context);
+ const exception = new MaxDBShardGroupLimitReached({
+ $metadata: deserializeMetadata(parsedOutput),
+ ...deserialized,
+ });
+ return __decorateServiceException(exception, body);
+};
+
/**
* deserializeAws_queryNetworkTypeNotSupportedRes
*/
@@ -14478,6 +14931,22 @@ const de_TenantDatabaseQuotaExceededFaultRes = async (
return __decorateServiceException(exception, body);
};
+/**
+ * deserializeAws_queryUnsupportedDBEngineVersionFaultRes
+ */
+const de_UnsupportedDBEngineVersionFaultRes = async (
+ parsedOutput: any,
+ context: __SerdeContext
+): Promise => {
+ const body = parsedOutput.body;
+ const deserialized: any = de_UnsupportedDBEngineVersionFault(body.Error, context);
+ const exception = new UnsupportedDBEngineVersionFault({
+ $metadata: deserializeMetadata(parsedOutput),
+ ...deserialized,
+ });
+ return __decorateServiceException(exception, body);
+};
+
/**
* serializeAws_queryAddRoleToDBClusterMessage
*/
@@ -15192,6 +15661,9 @@ const se_CreateDBClusterMessage = (input: CreateDBClusterMessage, context: __Ser
if (input[_PIRP] != null) {
entries[_PIRP] = input[_PIRP];
}
+ if (input[_ELD] != null) {
+ entries[_ELD] = input[_ELD];
+ }
if (input[_SVSC] != null) {
const memberEntries = se_ServerlessV2ScalingConfiguration(input[_SVSC], context);
Object.entries(memberEntries).forEach(([key, value]) => {
@@ -15849,6 +16321,29 @@ const se_CreateDBSecurityGroupMessage = (input: CreateDBSecurityGroupMessage, co
return entries;
};
+/**
+ * serializeAws_queryCreateDBShardGroupMessage
+ */
+const se_CreateDBShardGroupMessage = (input: CreateDBShardGroupMessage, context: __SerdeContext): any => {
+ const entries: any = {};
+ if (input[_DBSGI] != null) {
+ entries[_DBSGI] = input[_DBSGI];
+ }
+ if (input[_DBCI] != null) {
+ entries[_DBCI] = input[_DBCI];
+ }
+ if (input[_CR] != null) {
+ entries[_CR] = input[_CR];
+ }
+ if (input[_MACU] != null) {
+ entries[_MACU] = __serializeFloat(input[_MACU]);
+ }
+ if (input[_PA] != null) {
+ entries[_PA] = input[_PA];
+ }
+ return entries;
+};
+
/**
* serializeAws_queryCreateDBSnapshotMessage
*/
@@ -16287,6 +16782,17 @@ const se_DeleteDBSecurityGroupMessage = (input: DeleteDBSecurityGroupMessage, co
return entries;
};
+/**
+ * serializeAws_queryDeleteDBShardGroupMessage
+ */
+const se_DeleteDBShardGroupMessage = (input: DeleteDBShardGroupMessage, context: __SerdeContext): any => {
+ const entries: any = {};
+ if (input[_DBSGI] != null) {
+ entries[_DBSGI] = input[_DBSGI];
+ }
+ return entries;
+};
+
/**
* serializeAws_queryDeleteDBSnapshotMessage
*/
@@ -17104,6 +17610,33 @@ const se_DescribeDBSecurityGroupsMessage = (input: DescribeDBSecurityGroupsMessa
return entries;
};
+/**
+ * serializeAws_queryDescribeDBShardGroupsMessage
+ */
+const se_DescribeDBShardGroupsMessage = (input: DescribeDBShardGroupsMessage, context: __SerdeContext): any => {
+ const entries: any = {};
+ if (input[_DBSGI] != null) {
+ entries[_DBSGI] = input[_DBSGI];
+ }
+ if (input[_Fi] != null) {
+ const memberEntries = se_FilterList(input[_Fi], context);
+ if (input[_Fi]?.length === 0) {
+ entries.Filters = [];
+ }
+ Object.entries(memberEntries).forEach(([key, value]) => {
+ const loc = `Filters.${key}`;
+ entries[loc] = value;
+ });
+ }
+ if (input[_Ma] != null) {
+ entries[_Ma] = input[_Ma];
+ }
+ if (input[_MR] != null) {
+ entries[_MR] = input[_MR];
+ }
+ return entries;
+};
+
/**
* serializeAws_queryDescribeDBSnapshotAttributesMessage
*/
@@ -18275,6 +18808,9 @@ const se_ModifyDBClusterMessage = (input: ModifyDBClusterMessage, context: __Ser
if (input[_ABRPA] != null) {
entries[_ABRPA] = input[_ABRPA];
}
+ if (input[_ELD] != null) {
+ entries[_ELD] = input[_ELD];
+ }
return entries;
};
@@ -18701,6 +19237,20 @@ const se_ModifyDBRecommendationMessage = (input: ModifyDBRecommendationMessage,
return entries;
};
+/**
+ * serializeAws_queryModifyDBShardGroupMessage
+ */
+const se_ModifyDBShardGroupMessage = (input: ModifyDBShardGroupMessage, context: __SerdeContext): any => {
+ const entries: any = {};
+ if (input[_DBSGI] != null) {
+ entries[_DBSGI] = input[_DBSGI];
+ }
+ if (input[_MACU] != null) {
+ entries[_MACU] = __serializeFloat(input[_MACU]);
+ }
+ return entries;
+};
+
/**
* serializeAws_queryModifyDBSnapshotAttributeMessage
*/
@@ -19222,6 +19772,17 @@ const se_RebootDBInstanceMessage = (input: RebootDBInstanceMessage, context: __S
return entries;
};
+/**
+ * serializeAws_queryRebootDBShardGroupMessage
+ */
+const se_RebootDBShardGroupMessage = (input: RebootDBShardGroupMessage, context: __SerdeContext): any => {
+ const entries: any = {};
+ if (input[_DBSGI] != null) {
+ entries[_DBSGI] = input[_DBSGI];
+ }
+ return entries;
+};
+
/**
* serializeAws_queryRecommendedActionUpdate
*/
@@ -21887,6 +22448,9 @@ const de_DBCluster = (output: any, context: __SerdeContext): DBCluster => {
if (output[_ABRPA] != null) {
contents[_ABRPA] = __expectString(output[_ABRPA]);
}
+ if (output[_LD] != null) {
+ contents[_LD] = de_LimitlessDatabase(output[_LD], context);
+ }
return contents;
};
@@ -24190,6 +24754,71 @@ const de_DBSecurityGroups = (output: any, context: __SerdeContext): DBSecurityGr
});
};
+/**
+ * deserializeAws_queryDBShardGroup
+ */
+const de_DBShardGroup = (output: any, context: __SerdeContext): DBShardGroup => {
+ const contents: any = {};
+ if (output[_DBSGRI] != null) {
+ contents[_DBSGRI] = __expectString(output[_DBSGRI]);
+ }
+ if (output[_DBSGI] != null) {
+ contents[_DBSGI] = __expectString(output[_DBSGI]);
+ }
+ if (output[_DBCI] != null) {
+ contents[_DBCI] = __expectString(output[_DBCI]);
+ }
+ if (output[_MACU] != null) {
+ contents[_MACU] = __strictParseFloat(output[_MACU]) as number;
+ }
+ if (output[_CR] != null) {
+ contents[_CR] = __strictParseInt32(output[_CR]) as number;
+ }
+ if (output[_St] != null) {
+ contents[_St] = __expectString(output[_St]);
+ }
+ if (output[_PA] != null) {
+ contents[_PA] = __parseBoolean(output[_PA]);
+ }
+ if (output[_End] != null) {
+ contents[_End] = __expectString(output[_End]);
+ }
+ return contents;
+};
+
+/**
+ * deserializeAws_queryDBShardGroupAlreadyExistsFault
+ */
+const de_DBShardGroupAlreadyExistsFault = (output: any, context: __SerdeContext): DBShardGroupAlreadyExistsFault => {
+ const contents: any = {};
+ if (output[_m] != null) {
+ contents[_m] = __expectString(output[_m]);
+ }
+ return contents;
+};
+
+/**
+ * deserializeAws_queryDBShardGroupNotFoundFault
+ */
+const de_DBShardGroupNotFoundFault = (output: any, context: __SerdeContext): DBShardGroupNotFoundFault => {
+ const contents: any = {};
+ if (output[_m] != null) {
+ contents[_m] = __expectString(output[_m]);
+ }
+ return contents;
+};
+
+/**
+ * deserializeAws_queryDBShardGroupsList
+ */
+const de_DBShardGroupsList = (output: any, context: __SerdeContext): DBShardGroup[] => {
+ return (output || [])
+ .filter((e: any) => e != null)
+ .map((entry: any) => {
+ return de_DBShardGroup(entry, context);
+ });
+};
+
/**
* deserializeAws_queryDBSnapshot
*/
@@ -24934,6 +25563,22 @@ const de_DescribeDBProxyTargetsResponse = (output: any, context: __SerdeContext)
return contents;
};
+/**
+ * deserializeAws_queryDescribeDBShardGroupsResponse
+ */
+const de_DescribeDBShardGroupsResponse = (output: any, context: __SerdeContext): DescribeDBShardGroupsResponse => {
+ const contents: any = {};
+ if (output.DBShardGroups === "") {
+ contents[_DBSGh] = [];
+ } else if (output[_DBSGh] != null && output[_DBSGh][_DBSGha] != null) {
+ contents[_DBSGh] = de_DBShardGroupsList(__getArrayIfSingleItem(output[_DBSGh][_DBSGha]), context);
+ }
+ if (output[_Ma] != null) {
+ contents[_Ma] = __expectString(output[_Ma]);
+ }
+ return contents;
+};
+
/**
* deserializeAws_queryDescribeDBSnapshotAttributesResult
*/
@@ -26133,6 +26778,17 @@ const de_InvalidDBSecurityGroupStateFault = (
return contents;
};
+/**
+ * deserializeAws_queryInvalidDBShardGroupStateFault
+ */
+const de_InvalidDBShardGroupStateFault = (output: any, context: __SerdeContext): InvalidDBShardGroupStateFault => {
+ const contents: any = {};
+ if (output[_m] != null) {
+ contents[_m] = __expectString(output[_m]);
+ }
+ return contents;
+};
+
/**
* deserializeAws_queryInvalidDBSnapshotStateFault
*/
@@ -26246,6 +26902,17 @@ const de_InvalidIntegrationStateFault = (output: any, context: __SerdeContext):
return contents;
};
+/**
+ * deserializeAws_queryInvalidMaxAcuFault
+ */
+const de_InvalidMaxAcuFault = (output: any, context: __SerdeContext): InvalidMaxAcuFault => {
+ const contents: any = {};
+ if (output[_m] != null) {
+ contents[_m] = __expectString(output[_m]);
+ }
+ return contents;
+};
+
/**
* deserializeAws_queryInvalidOptionGroupStateFault
*/
@@ -26359,6 +27026,20 @@ const de_KMSKeyNotAccessibleFault = (output: any, context: __SerdeContext): KMSK
return contents;
};
+/**
+ * deserializeAws_queryLimitlessDatabase
+ */
+const de_LimitlessDatabase = (output: any, context: __SerdeContext): LimitlessDatabase => {
+ const contents: any = {};
+ if (output[_St] != null) {
+ contents[_St] = __expectString(output[_St]);
+ }
+ if (output[_MRACU] != null) {
+ contents[_MRACU] = __strictParseFloat(output[_MRACU]) as number;
+ }
+ return contents;
+};
+
/**
* deserializeAws_queryLogTypeList
*/
@@ -26387,6 +27068,17 @@ const de_MasterUserSecret = (output: any, context: __SerdeContext): MasterUserSe
return contents;
};
+/**
+ * deserializeAws_queryMaxDBShardGroupLimitReached
+ */
+const de_MaxDBShardGroupLimitReached = (output: any, context: __SerdeContext): MaxDBShardGroupLimitReached => {
+ const contents: any = {};
+ if (output[_m] != null) {
+ contents[_m] = __expectString(output[_m]);
+ }
+ return contents;
+};
+
/**
* deserializeAws_queryMetric
*/
@@ -28983,6 +29675,17 @@ const de_Timezone = (output: any, context: __SerdeContext): Timezone => {
return contents;
};
+/**
+ * deserializeAws_queryUnsupportedDBEngineVersionFault
+ */
+const de_UnsupportedDBEngineVersionFault = (output: any, context: __SerdeContext): UnsupportedDBEngineVersionFault => {
+ const contents: any = {};
+ if (output[_m] != null) {
+ contents[_m] = __expectString(output[_m]);
+ }
+ return contents;
+};
+
/**
* deserializeAws_queryUpgradeTarget
*/
@@ -29314,7 +30017,8 @@ const _CDBPG = "CopyDBParameterGroup";
const _CDBPGr = "CreateDBParameterGroup";
const _CDBS = "CopyDBSnapshot";
const _CDBSG = "CreateDBSecurityGroup";
-const _CDBSGr = "CreateDBSubnetGroup";
+const _CDBSGr = "CreateDBShardGroup";
+const _CDBSGre = "CreateDBSubnetGroup";
const _CDBSr = "CreateDBSnapshot";
const _CDr = "CreatedDate";
const _CE = "CustomEndpoints";
@@ -29335,6 +30039,7 @@ const _COIE = "CustomerOwnedIpEnabled";
const _COVT = "CustomerOverrideValidTill";
const _CPAT = "ClientPasswordAuthType";
const _CPC = "ConnectionPoolConfig";
+const _CR = "ComputeRedundancy";
const _CRR = "CertificateRotationRestart";
const _CS = "CharacterSet";
const _CSD = "CharacterSetDescription";
@@ -29442,10 +30147,14 @@ const _DBSGA = "DBSecurityGroupArn";
const _DBSGAu = "DBSubnetGroupArn";
const _DBSGD = "DBSecurityGroupDescription";
const _DBSGDu = "DBSubnetGroupDescription";
+const _DBSGI = "DBShardGroupIdentifier";
const _DBSGM = "DBSecurityGroupMemberships";
const _DBSGN = "DBSecurityGroupName";
const _DBSGNu = "DBSubnetGroupName";
+const _DBSGRI = "DBShardGroupResourceId";
const _DBSGe = "DBSecurityGroup";
+const _DBSGh = "DBShardGroups";
+const _DBSGha = "DBShardGroup";
const _DBSGu = "DBSubnetGroup";
const _DBSGub = "DBSubnetGroups";
const _DBSI = "DBSystemId";
@@ -29496,9 +30205,11 @@ const _DDBR = "DescribeDBRecommendations";
const _DDBS = "DeleteDBSnapshot";
const _DDBSA = "DescribeDBSnapshotAttributes";
const _DDBSG = "DeleteDBSecurityGroup";
-const _DDBSGe = "DeleteDBSubnetGroup";
+const _DDBSGe = "DeleteDBShardGroup";
+const _DDBSGel = "DeleteDBSubnetGroup";
const _DDBSGes = "DescribeDBSecurityGroups";
-const _DDBSGesc = "DescribeDBSubnetGroups";
+const _DDBSGesc = "DescribeDBShardGroups";
+const _DDBSGescr = "DescribeDBSubnetGroups";
const _DDBSTD = "DescribeDBSnapshotTenantDatabases";
const _DDBSe = "DescribeDBSnapshots";
const _DDI = "DomainDnsIps";
@@ -29573,6 +30284,7 @@ const _EF = "EngineFamily";
const _EGWF = "EnableGlobalWriteForwarding";
const _EHE = "EnableHttpEndpoint";
const _EIAMDA = "EnableIAMDatabaseAuthentication";
+const _ELD = "EnableLimitlessDatabase";
const _ELT = "EnableLogTypes";
const _ELTx = "ExportableLogTypes";
const _ELWF = "EnableLocalWriteForwarding";
@@ -29671,6 +30383,7 @@ const _KKI = "KmsKeyId";
const _KMSKI = "KMSKeyId";
const _KSN = "KinesisStreamName";
const _L = "Locale";
+const _LD = "LimitlessDatabase";
const _LE = "ListenerEndpoint";
const _LFD = "LogFileData";
const _LFN = "LogFileName";
@@ -29690,6 +30403,7 @@ const _LWFS = "LocalWriteForwardingStatus";
const _Li = "Links";
const _Lim = "Limit";
const _M = "Manifest";
+const _MACU = "MaxACU";
const _MAS = "ModifyActivityStream";
const _MASa = "MaxAllocatedStorage";
const _MAZ = "MultiAZ";
@@ -29712,7 +30426,8 @@ const _MDBPTG = "ModifyDBProxyTargetGroup";
const _MDBR = "ModifyDBRecommendation";
const _MDBS = "ModifyDBSnapshot";
const _MDBSA = "ModifyDBSnapshotAttribute";
-const _MDBSG = "ModifyDBSubnetGroup";
+const _MDBSG = "ModifyDBShardGroup";
+const _MDBSGo = "ModifyDBSubnetGroup";
const _MES = "ModifyEventSubscription";
const _MEV = "MajorEngineVersion";
const _MEVPAV = "MinimumEngineVersionPerAllowedValue";
@@ -29729,6 +30444,7 @@ const _MOG = "ModifyOptionGroup";
const _MQ = "MetricQuery";
const _MR = "MaxRecords";
const _MRA = "MonitoringRoleArn";
+const _MRACU = "MinRequiredACU";
const _MRMEV = "MinimumRequiredMinorEngineVersion";
const _MSS = "MinStorageSize";
const _MSSa = "MaxStorageSize";
@@ -29861,6 +30577,7 @@ const _RDBIe = "ReservedDBInstance";
const _RDBIes = "ReservedDBInstances";
const _RDBPG = "ResetDBParameterGroup";
const _RDBPT = "RegisterDBProxyTargets";
+const _RDBSG = "RebootDBShardGroup";
const _RDBSGI = "RevokeDBSecurityGroupIngress";
const _RE = "ReaderEndpoint";
const _RFAMM = "ResumeFullAutomationModeMinutes";
diff --git a/codegen/sdk-codegen/aws-models/rds.json b/codegen/sdk-codegen/aws-models/rds.json
index 61d7eccd6465..50c80c6c7a26 100644
--- a/codegen/sdk-codegen/aws-models/rds.json
+++ b/codegen/sdk-codegen/aws-models/rds.json
@@ -535,6 +535,9 @@
{
"target": "com.amazonaws.rds#CreateDBSecurityGroup"
},
+ {
+ "target": "com.amazonaws.rds#CreateDBShardGroup"
+ },
{
"target": "com.amazonaws.rds#CreateDBSnapshot"
},
@@ -595,6 +598,9 @@
{
"target": "com.amazonaws.rds#DeleteDBSecurityGroup"
},
+ {
+ "target": "com.amazonaws.rds#DeleteDBShardGroup"
+ },
{
"target": "com.amazonaws.rds#DeleteDBSnapshot"
},
@@ -688,6 +694,9 @@
{
"target": "com.amazonaws.rds#DescribeDBSecurityGroups"
},
+ {
+ "target": "com.amazonaws.rds#DescribeDBShardGroups"
+ },
{
"target": "com.amazonaws.rds#DescribeDBSnapshotAttributes"
},
@@ -811,6 +820,9 @@
{
"target": "com.amazonaws.rds#ModifyDBRecommendation"
},
+ {
+ "target": "com.amazonaws.rds#ModifyDBShardGroup"
+ },
{
"target": "com.amazonaws.rds#ModifyDBSnapshot"
},
@@ -847,6 +859,9 @@
{
"target": "com.amazonaws.rds#RebootDBInstance"
},
+ {
+ "target": "com.amazonaws.rds#RebootDBShardGroup"
+ },
{
"target": "com.amazonaws.rds#RegisterDBProxyTargets"
},
@@ -3688,7 +3703,7 @@
"TargetDBInstanceClass": {
"target": "com.amazonaws.rds#TargetDBInstanceClass",
"traits": {
- "smithy.api#documentation": "Specify the DB instance class for the databases in the green environment.
"
+ "smithy.api#documentation": "Specify the DB instance class for the databases in the green environment.
\n This parameter only applies to RDS DB instances, because DB instances within an Aurora DB cluster can\n have multiple different instance classes. If you're creating a blue/green deployment from an Aurora DB cluster,\n don't specify this parameter. After the green environment is created, you can individually modify the instance classes \n of the DB instances within the green DB cluster.
"
}
},
"UpgradeTargetStorageConfig": {
@@ -4399,6 +4414,12 @@
"smithy.api#documentation": "The number of days to retain Performance Insights data.
\n Valid for Cluster Type: Multi-AZ DB clusters only
\n Valid Values:
\n \n - \n
\n 7
\n
\n \n - \n
\n month * 31, where month is a number of months from 1-23. \n Examples: 93
(3 months * 31), 341
(11 months * 31), 589
(19 months * 31)
\n \n - \n
\n 731
\n
\n \n
\n Default: 7
days
\n If you specify a retention period that isn't valid, such as 94
, Amazon RDS issues an error.
"
}
},
+ "EnableLimitlessDatabase": {
+ "target": "com.amazonaws.rds#BooleanOptional",
+ "traits": {
+ "smithy.api#documentation": "Specifies whether to enable Aurora Limitless Database. You must enable Aurora Limitless Database to create a DB shard group.
\n Valid for: Aurora DB clusters only
"
+ }
+ },
"ServerlessV2ScalingConfiguration": {
"target": "com.amazonaws.rds#ServerlessV2ScalingConfiguration"
},
@@ -5980,6 +6001,85 @@
"smithy.api#output": {}
}
},
+ "com.amazonaws.rds#CreateDBShardGroup": {
+ "type": "operation",
+ "input": {
+ "target": "com.amazonaws.rds#CreateDBShardGroupMessage"
+ },
+ "output": {
+ "target": "com.amazonaws.rds#DBShardGroup"
+ },
+ "errors": [
+ {
+ "target": "com.amazonaws.rds#DBClusterNotFoundFault"
+ },
+ {
+ "target": "com.amazonaws.rds#DBShardGroupAlreadyExistsFault"
+ },
+ {
+ "target": "com.amazonaws.rds#InvalidDBClusterStateFault"
+ },
+ {
+ "target": "com.amazonaws.rds#InvalidMaxAcuFault"
+ },
+ {
+ "target": "com.amazonaws.rds#InvalidVPCNetworkStateFault"
+ },
+ {
+ "target": "com.amazonaws.rds#MaxDBShardGroupLimitReached"
+ },
+ {
+ "target": "com.amazonaws.rds#UnsupportedDBEngineVersionFault"
+ }
+ ],
+ "traits": {
+ "smithy.api#documentation": "Creates a new DB shard group for Aurora Limitless Database. You must enable Aurora Limitless Database to create a DB shard group.
\n Valid for: Aurora DB clusters only
"
+ }
+ },
+ "com.amazonaws.rds#CreateDBShardGroupMessage": {
+ "type": "structure",
+ "members": {
+ "DBShardGroupIdentifier": {
+ "target": "com.amazonaws.rds#String",
+ "traits": {
+ "smithy.api#clientOptional": {},
+ "smithy.api#documentation": "The name of the DB shard group.
",
+ "smithy.api#required": {}
+ }
+ },
+ "DBClusterIdentifier": {
+ "target": "com.amazonaws.rds#String",
+ "traits": {
+ "smithy.api#clientOptional": {},
+ "smithy.api#documentation": "The name of the primary DB cluster for the DB shard group.
",
+ "smithy.api#required": {}
+ }
+ },
+ "ComputeRedundancy": {
+ "target": "com.amazonaws.rds#IntegerOptional",
+ "traits": {
+ "smithy.api#documentation": "Specifies whether to create standby instances for the DB shard group. Valid values are the following:
\n \n - \n
0 - Creates a single, primary DB instance for each physical shard. This is the default value, and the only one supported for the preview.
\n \n - \n
1 - Creates a primary DB instance and a standby instance in a different Availability Zone (AZ) for each physical shard.
\n \n - \n
2 - Creates a primary DB instance and two standby instances in different AZs for each physical shard.
\n \n
"
+ }
+ },
+ "MaxACU": {
+ "target": "com.amazonaws.rds#DoubleOptional",
+ "traits": {
+ "smithy.api#clientOptional": {},
+ "smithy.api#documentation": "The maximum capacity of the DB shard group in Aurora capacity units (ACUs).
",
+ "smithy.api#required": {}
+ }
+ },
+ "PubliclyAccessible": {
+ "target": "com.amazonaws.rds#BooleanOptional",
+ "traits": {
+ "smithy.api#documentation": "Specifies whether the DB shard group is publicly accessible.
\n When the DB shard group is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private IP address from \n within the DB shard group's virtual private cloud (VPC). It resolves to the public IP address from outside of the DB shard group's VPC. \n Access to the DB shard group is ultimately controlled by the security group it uses. \n That public access is not permitted if the security group assigned to the DB shard group doesn't permit it.
\n When the DB shard group isn't publicly accessible, it is an internal DB shard group with a DNS name that resolves to a private IP address.
\n Default: The default behavior varies depending on whether DBSubnetGroupName
is specified.
\n If DBSubnetGroupName
isn't specified, and PubliclyAccessible
isn't specified, the following applies:
\n \n - \n
If the default VPC in the target Region doesn’t have an internet gateway attached to it, the DB shard group is private.
\n \n - \n
If the default VPC in the target Region has an internet gateway attached to it, the DB shard group is public.
\n \n
\n If DBSubnetGroupName
is specified, and PubliclyAccessible
isn't specified, the following applies:
\n \n - \n
If the subnets are part of a VPC that doesn’t have an internet gateway attached to it, the DB shard group is private.
\n \n - \n
If the subnets are part of a VPC that has an internet gateway attached to it, the DB shard group is public.
\n \n
"
+ }
+ }
+ },
+ "traits": {
+ "smithy.api#input": {}
+ }
+ },
"com.amazonaws.rds#CreateDBSnapshot": {
"type": "operation",
"input": {
@@ -6279,7 +6379,7 @@
"target": "com.amazonaws.rds#String",
"traits": {
"smithy.api#clientOptional": {},
- "smithy.api#documentation": "The Amazon Resource Name (ARN) of the SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.
",
+ "smithy.api#documentation": "The Amazon Resource Name (ARN) of the SNS topic created for event notification. SNS\n automatically creates the ARN when you create a topic and subscribe to it.
\n \n RDS doesn't support FIFO (first in, first out) topics. For more information, see\n Message\n ordering and deduplication (FIFO topics) in the Amazon Simple\n Notification Service Developer Guide.
\n ",
"smithy.api#required": {}
}
},
@@ -6466,7 +6566,27 @@
}
],
"traits": {
- "smithy.api#documentation": "Creates a zero-ETL integration with Amazon Redshift.
"
+ "smithy.api#documentation": "Creates a zero-ETL integration with Amazon Redshift.
",
+ "smithy.api#examples": [
+ {
+ "title": "To create a zero-ETL integration",
+ "documentation": "The following example creates a zero-ETL integration with Amazon Redshift.",
+ "input": {
+ "IntegrationName": "my-integration",
+ "SourceArn": "arn:aws:rds:us-east-1:123456789012:cluster:my-cluster",
+ "TargetArn": "arn:aws:redshift-serverless:us-east-1:123456789012:namespace/62c70612-0302-4db7-8414-b5e3e049f0d8"
+ },
+ "output": {
+ "SourceArn": "arn:aws:rds:us-east-1:123456789012:cluster:my-cluster",
+ "IntegrationName": "my-integration",
+ "TargetArn": "arn:aws:redshift-serverless:us-east-1:123456789012:namespace/62c70612-0302-4db7-8414-b5e3e049f0d8",
+ "Tags": [],
+ "CreateTime": "2023-12-28T17:20:20.629Z",
+ "KMSKeyId": "arn:aws:kms:us-east-1:123456789012:key/a1b2c3d4-5678-90ab-cdef-EXAMPLEaaaaa",
+ "Status": "creating"
+ }
+ }
+ ]
}
},
"com.amazonaws.rds#CreateIntegrationMessage": {
@@ -7299,6 +7419,12 @@
"traits": {
"smithy.api#documentation": "The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services Backup.
"
}
+ },
+ "LimitlessDatabase": {
+ "target": "com.amazonaws.rds#LimitlessDatabase",
+ "traits": {
+ "smithy.api#documentation": "The details for Aurora Limitless Database.
"
+ }
}
},
"traits": {
@@ -10810,6 +10936,102 @@
}
}
},
+ "com.amazonaws.rds#DBShardGroup": {
+ "type": "structure",
+ "members": {
+ "DBShardGroupResourceId": {
+ "target": "com.amazonaws.rds#String",
+ "traits": {
+ "smithy.api#documentation": "The Amazon Web Services Region-unique, immutable identifier for the DB shard group.
"
+ }
+ },
+ "DBShardGroupIdentifier": {
+ "target": "com.amazonaws.rds#String",
+ "traits": {
+ "smithy.api#documentation": "The name of the DB shard group.
"
+ }
+ },
+ "DBClusterIdentifier": {
+ "target": "com.amazonaws.rds#String",
+ "traits": {
+ "smithy.api#documentation": "The name of the primary DB cluster for the DB shard group.
"
+ }
+ },
+ "MaxACU": {
+ "target": "com.amazonaws.rds#DoubleOptional",
+ "traits": {
+ "smithy.api#documentation": "The maximum capacity of the DB shard group in Aurora capacity units (ACUs).
"
+ }
+ },
+ "ComputeRedundancy": {
+ "target": "com.amazonaws.rds#IntegerOptional",
+ "traits": {
+ "smithy.api#documentation": "Specifies whether to create standby instances for the DB shard group. Valid values are the following:
\n \n - \n
0 - Creates a single, primary DB instance for each physical shard. This is the default value, and the only one supported for the preview.
\n \n - \n
1 - Creates a primary DB instance and a standby instance in a different Availability Zone (AZ) for each physical shard.
\n \n - \n
2 - Creates a primary DB instance and two standby instances in different AZs for each physical shard.
\n \n
"
+ }
+ },
+ "Status": {
+ "target": "com.amazonaws.rds#String",
+ "traits": {
+ "smithy.api#documentation": "The status of the DB shard group.
"
+ }
+ },
+ "PubliclyAccessible": {
+ "target": "com.amazonaws.rds#BooleanOptional",
+ "traits": {
+ "smithy.api#documentation": "Indicates whether the DB shard group is publicly accessible.
\n When the DB shard group is publicly accessible, its Domain Name System (DNS) endpoint\n resolves to the private IP address from within the DB shard group's virtual private cloud\n (VPC). It resolves to the public IP address from outside of the DB shard group's VPC. Access\n to the DB shard group is ultimately controlled by the security group it uses. That public\n access isn't permitted if the security group assigned to the DB shard group doesn't permit\n it.
\n When the DB shard group isn't publicly accessible, it is an internal DB shard group with a DNS name that resolves to a private IP address.
\n For more information, see CreateDBShardGroup.
\n This setting is only for Aurora Limitless Database.
"
+ }
+ },
+ "Endpoint": {
+ "target": "com.amazonaws.rds#String",
+ "traits": {
+ "smithy.api#documentation": "The connection endpoint for the DB shard group.
"
+ }
+ }
+ }
+ },
+ "com.amazonaws.rds#DBShardGroupAlreadyExistsFault": {
+ "type": "structure",
+ "members": {
+ "message": {
+ "target": "com.amazonaws.rds#ExceptionMessage"
+ }
+ },
+ "traits": {
+ "aws.protocols#awsQueryError": {
+ "code": "DBShardGroupAlreadyExists",
+ "httpResponseCode": 400
+ },
+ "smithy.api#documentation": "The specified DB shard group name must be unique in your Amazon Web Services account in the specified Amazon Web Services Region.
",
+ "smithy.api#error": "client",
+ "smithy.api#httpError": 400
+ }
+ },
+ "com.amazonaws.rds#DBShardGroupNotFoundFault": {
+ "type": "structure",
+ "members": {
+ "message": {
+ "target": "com.amazonaws.rds#ExceptionMessage"
+ }
+ },
+ "traits": {
+ "aws.protocols#awsQueryError": {
+ "code": "DBShardGroupNotFound",
+ "httpResponseCode": 404
+ },
+ "smithy.api#documentation": "The specified DB shard group name wasn't found.
",
+ "smithy.api#error": "client",
+ "smithy.api#httpError": 404
+ }
+ },
+ "com.amazonaws.rds#DBShardGroupsList": {
+ "type": "list",
+ "member": {
+ "target": "com.amazonaws.rds#DBShardGroup",
+ "traits": {
+ "smithy.api#xmlName": "DBShardGroup"
+ }
+ }
+ },
"com.amazonaws.rds#DBSnapshot": {
"type": "structure",
"members": {
@@ -12285,6 +12507,45 @@
"smithy.api#input": {}
}
},
+ "com.amazonaws.rds#DeleteDBShardGroup": {
+ "type": "operation",
+ "input": {
+ "target": "com.amazonaws.rds#DeleteDBShardGroupMessage"
+ },
+ "output": {
+ "target": "com.amazonaws.rds#DBShardGroup"
+ },
+ "errors": [
+ {
+ "target": "com.amazonaws.rds#DBShardGroupNotFoundFault"
+ },
+ {
+ "target": "com.amazonaws.rds#InvalidDBClusterStateFault"
+ },
+ {
+ "target": "com.amazonaws.rds#InvalidDBShardGroupStateFault"
+ }
+ ],
+ "traits": {
+ "smithy.api#documentation": "Deletes an Aurora Limitless Database DB shard group.
"
+ }
+ },
+ "com.amazonaws.rds#DeleteDBShardGroupMessage": {
+ "type": "structure",
+ "members": {
+ "DBShardGroupIdentifier": {
+ "target": "com.amazonaws.rds#String",
+ "traits": {
+ "smithy.api#clientOptional": {},
+ "smithy.api#documentation": "Teh name of the DB shard group to delete.
",
+ "smithy.api#required": {}
+ }
+ }
+ },
+ "traits": {
+ "smithy.api#input": {}
+ }
+ },
"com.amazonaws.rds#DeleteDBSnapshot": {
"type": "operation",
"input": {
@@ -12579,7 +12840,25 @@
}
],
"traits": {
- "smithy.api#documentation": "Deletes a zero-ETL integration with Amazon Redshift.
"
+ "smithy.api#documentation": "Deletes a zero-ETL integration with Amazon Redshift.
",
+ "smithy.api#examples": [
+ {
+ "title": "To delete a zero-ETL integration",
+ "documentation": "The following example deletes a zero-ETL integration with Amazon Redshift.",
+ "input": {
+ "IntegrationIdentifier": "5b9f3d79-7392-4a3e-896c-58eaa1b53231"
+ },
+ "output": {
+ "SourceArn": "arn:aws:rds:us-east-1:123456789012:cluster:my-cluster",
+ "IntegrationName": "my-integration",
+ "TargetArn": "arn:aws:redshift-serverless:us-east-1:123456789012:namespace/62c70612-0302-4db7-8414-b5e3e049f0d8",
+ "Tags": [],
+ "CreateTime": "2023-12-28T17:20:20.629Z",
+ "KMSKeyId": "arn:aws:kms:us-east-1:123456789012:key/a1b2c3d4-5678-90ab-cdef-EXAMPLEaaaaa",
+ "Status": "deleting"
+ }
+ }
+ ]
}
},
"com.amazonaws.rds#DeleteIntegrationMessage": {
@@ -14075,7 +14354,7 @@
"MaxRecords": {
"target": "com.amazonaws.rds#IntegerOptional",
"traits": {
- "smithy.api#documentation": "The maximum number of records to include in the response.\n If more records exist than the specified MaxRecords
value,\n a pagination token called a marker is included in the response so you can retrieve the remaining results.
\n Default: 100
\n Constraints: Minimum 20, maximum 100.
"
+ "smithy.api#documentation": "The maximum number of records to include in the response.\n If more records exist than the specified MaxRecords
value,\n a pagination token called a marker is included in the response so you can retrieve the remaining results.
\n Default: 100
\n Constraints: Minimum 20, maximum 100
"
}
},
"Marker": {
@@ -15362,6 +15641,78 @@
"smithy.api#input": {}
}
},
+ "com.amazonaws.rds#DescribeDBShardGroups": {
+ "type": "operation",
+ "input": {
+ "target": "com.amazonaws.rds#DescribeDBShardGroupsMessage"
+ },
+ "output": {
+ "target": "com.amazonaws.rds#DescribeDBShardGroupsResponse"
+ },
+ "errors": [
+ {
+ "target": "com.amazonaws.rds#DBClusterNotFoundFault"
+ },
+ {
+ "target": "com.amazonaws.rds#DBShardGroupNotFoundFault"
+ }
+ ],
+ "traits": {
+ "smithy.api#documentation": "Describes existing Aurora Limitless Database DB shard groups.
"
+ }
+ },
+ "com.amazonaws.rds#DescribeDBShardGroupsMessage": {
+ "type": "structure",
+ "members": {
+ "DBShardGroupIdentifier": {
+ "target": "com.amazonaws.rds#String",
+ "traits": {
+ "smithy.api#documentation": "The user-supplied DB shard group identifier or the Amazon Resource Name (ARN) of the DB shard group. If this parameter is specified, \n information for only the specific DB shard group is returned. This parameter isn't case-sensitive.
\n Constraints:
\n "
+ }
+ },
+ "Filters": {
+ "target": "com.amazonaws.rds#FilterList",
+ "traits": {
+ "smithy.api#documentation": "A filter that specifies one or more DB shard groups to describe.
"
+ }
+ },
+ "Marker": {
+ "target": "com.amazonaws.rds#String",
+ "traits": {
+ "smithy.api#documentation": "An optional pagination token provided by a previous DescribeDBShardGroups
request. If this parameter is\n specified, the response includes only records beyond the marker, up to the value specified by MaxRecords
.
"
+ }
+ },
+ "MaxRecords": {
+ "target": "com.amazonaws.rds#MaxRecords",
+ "traits": {
+ "smithy.api#documentation": "The maximum number of records to include in the response. If more records exist than the specified MaxRecords
\n value, a pagination token called a marker is included in the response so you can retrieve the remaining results.
\n Default: 100
\n Constraints: Minimum 20, maximum 100
"
+ }
+ }
+ },
+ "traits": {
+ "smithy.api#input": {}
+ }
+ },
+ "com.amazonaws.rds#DescribeDBShardGroupsResponse": {
+ "type": "structure",
+ "members": {
+ "DBShardGroups": {
+ "target": "com.amazonaws.rds#DBShardGroupsList",
+ "traits": {
+ "smithy.api#documentation": "Contains a list of DB shard groups for the user.
"
+ }
+ },
+ "Marker": {
+ "target": "com.amazonaws.rds#String",
+ "traits": {
+ "smithy.api#documentation": "A pagination token that can be used in a later DescribeDBClusters
request.
"
+ }
+ }
+ },
+ "traits": {
+ "smithy.api#output": {}
+ }
+ },
"com.amazonaws.rds#DescribeDBSnapshotAttributes": {
"type": "operation",
"input": {
@@ -16493,6 +16844,28 @@
],
"traits": {
"smithy.api#documentation": "Describe one or more zero-ETL integrations with Amazon Redshift.
",
+ "smithy.api#examples": [
+ {
+ "title": "To describe a zero-ETL integration",
+ "documentation": "The following example retrieves information about a zero-ETL integration with Amazon Redshift.",
+ "input": {
+ "IntegrationIdentifier": "5b9f3d79-7392-4a3e-896c-58eaa1b53231"
+ },
+ "output": {
+ "Integrations": [
+ {
+ "IntegrationName": "my-integration",
+ "SourceArn": "arn:aws:rds:us-east-1:123456789012:cluster:my-cluster",
+ "TargetArn": "arn:aws:redshift-serverless:us-east-1:123456789012:namespace/62c70612-0302-4db7-8414-b5e3e049f0d8",
+ "Tags": [],
+ "CreateTime": "2023-12-28T17:20:20.629Z",
+ "KMSKeyId": "arn:aws:kms:us-east-1:123456789012:key/a1b2c3d4-5678-90ab-cdef-EXAMPLEaaaaa",
+ "Status": "active"
+ }
+ ]
+ }
+ }
+ ],
"smithy.api#paginated": {
"inputToken": "Marker",
"outputToken": "Marker",
@@ -18550,7 +18923,7 @@
}
],
"traits": {
- "smithy.api#documentation": "Forces a failover for a DB cluster.
\n For an Aurora DB cluster, failover for a DB cluster promotes one of the Aurora Replicas (read-only instances)\n in the DB cluster to be the primary DB instance (the cluster writer).
\n For a Multi-AZ DB cluster, failover for a DB cluster promotes one of the readable standby DB instances (read-only instances)\n in the DB cluster to be the primary DB instance (the cluster writer).
\n An Amazon Aurora DB cluster automatically fails over to an Aurora Replica, if one exists,\n when the primary DB instance fails. A Multi-AZ DB cluster automatically fails over to a readable standby \n DB instance when the primary DB instance fails.
\n To simulate a failure of a primary instance for testing, you can force a failover. \n Because each instance in a DB cluster has its own endpoint address, make sure to clean up and re-establish any existing \n connections that use those endpoint addresses when the failover is complete.
\n For more information on Amazon Aurora DB clusters, see \n \n What is Amazon Aurora? in the Amazon Aurora User Guide.
\n For more information on Multi-AZ DB clusters, see Multi-AZ DB\n cluster deployments in the Amazon RDS User\n Guide.
",
+ "smithy.api#documentation": "Forces a failover for a DB cluster.
\n For an Aurora DB cluster, failover for a DB cluster promotes one of the Aurora Replicas (read-only instances)\n in the DB cluster to be the primary DB instance (the cluster writer).
\n For a Multi-AZ DB cluster, after RDS terminates the primary DB instance, the\n internal monitoring system detects that the primary DB instance is unhealthy and promotes a readable standby (read-only instances) \n in the DB cluster to be the primary DB instance (the cluster writer).\n Failover times are typically less than 35 seconds.
\n An Amazon Aurora DB cluster automatically fails over to an Aurora Replica, if one exists,\n when the primary DB instance fails. A Multi-AZ DB cluster automatically fails over to a readable standby \n DB instance when the primary DB instance fails.
\n To simulate a failure of a primary instance for testing, you can force a failover. \n Because each instance in a DB cluster has its own endpoint address, make sure to clean up and re-establish any existing \n connections that use those endpoint addresses when the failover is complete.
\n For more information on Amazon Aurora DB clusters, see \n \n What is Amazon Aurora? in the Amazon Aurora User Guide.
\n For more information on Multi-AZ DB clusters, see Multi-AZ DB\n cluster deployments in the Amazon RDS User\n Guide.
",
"smithy.api#examples": [
{
"title": "To perform a failover for a DB cluster",
@@ -19652,6 +20025,23 @@
"smithy.api#httpError": 400
}
},
+ "com.amazonaws.rds#InvalidDBShardGroupStateFault": {
+ "type": "structure",
+ "members": {
+ "message": {
+ "target": "com.amazonaws.rds#ExceptionMessage"
+ }
+ },
+ "traits": {
+ "aws.protocols#awsQueryError": {
+ "code": "InvalidDBShardGroupState",
+ "httpResponseCode": 400
+ },
+ "smithy.api#documentation": "The DB shard group must be in the available state.
",
+ "smithy.api#error": "client",
+ "smithy.api#httpError": 400
+ }
+ },
"com.amazonaws.rds#InvalidDBSnapshotStateFault": {
"type": "structure",
"members": {
@@ -19822,6 +20212,23 @@
"smithy.api#httpError": 400
}
},
+ "com.amazonaws.rds#InvalidMaxAcuFault": {
+ "type": "structure",
+ "members": {
+ "message": {
+ "target": "com.amazonaws.rds#ExceptionMessage"
+ }
+ },
+ "traits": {
+ "aws.protocols#awsQueryError": {
+ "code": "InvalidMaxAcu",
+ "httpResponseCode": 400
+ },
+ "smithy.api#documentation": "The maximum capacity of the DB shard group must be 48-7168 Aurora capacity units (ACUs).
",
+ "smithy.api#error": "client",
+ "smithy.api#httpError": 400
+ }
+ },
"com.amazonaws.rds#InvalidOptionGroupStateFault": {
"type": "structure",
"members": {
@@ -19971,6 +20378,79 @@
"smithy.api#pattern": "^[a-zA-Z0-9_:\\-\\/]+$"
}
},
+ "com.amazonaws.rds#LimitlessDatabase": {
+ "type": "structure",
+ "members": {
+ "Status": {
+ "target": "com.amazonaws.rds#LimitlessDatabaseStatus",
+ "traits": {
+ "smithy.api#documentation": "The status of Aurora Limitless Database.
"
+ }
+ },
+ "MinRequiredACU": {
+ "target": "com.amazonaws.rds#DoubleOptional",
+ "traits": {
+ "smithy.api#documentation": "The minimum required capacity for Aurora Limitless Database in Aurora capacity units (ACUs).
"
+ }
+ }
+ },
+ "traits": {
+ "smithy.api#documentation": "Contains details for Aurora Limitless Database.
"
+ }
+ },
+ "com.amazonaws.rds#LimitlessDatabaseStatus": {
+ "type": "enum",
+ "members": {
+ "ACTIVE": {
+ "target": "smithy.api#Unit",
+ "traits": {
+ "smithy.api#enumValue": "active"
+ }
+ },
+ "NOT_IN_USE": {
+ "target": "smithy.api#Unit",
+ "traits": {
+ "smithy.api#enumValue": "not-in-use"
+ }
+ },
+ "ENABLED": {
+ "target": "smithy.api#Unit",
+ "traits": {
+ "smithy.api#enumValue": "enabled"
+ }
+ },
+ "DISABLED": {
+ "target": "smithy.api#Unit",
+ "traits": {
+ "smithy.api#enumValue": "disabled"
+ }
+ },
+ "ENABLING": {
+ "target": "smithy.api#Unit",
+ "traits": {
+ "smithy.api#enumValue": "enabling"
+ }
+ },
+ "DISABLING": {
+ "target": "smithy.api#Unit",
+ "traits": {
+ "smithy.api#enumValue": "disabling"
+ }
+ },
+ "MODIFYING_MAX_CAPACITY": {
+ "target": "smithy.api#Unit",
+ "traits": {
+ "smithy.api#enumValue": "modifying-max-capacity"
+ }
+ },
+ "ERROR": {
+ "target": "smithy.api#Unit",
+ "traits": {
+ "smithy.api#enumValue": "error"
+ }
+ }
+ }
+ },
"com.amazonaws.rds#ListTagsForResource": {
"type": "operation",
"input": {
@@ -20138,6 +20618,23 @@
"smithy.api#documentation": "Contains the secret managed by RDS in Amazon Web Services Secrets Manager for the master user password.
\n For more information, see Password management with Amazon Web Services Secrets Manager \n in the Amazon RDS User Guide and Password management with Amazon Web Services Secrets Manager \n in the Amazon Aurora User Guide.\n
"
}
},
+ "com.amazonaws.rds#MaxDBShardGroupLimitReached": {
+ "type": "structure",
+ "members": {
+ "message": {
+ "target": "com.amazonaws.rds#ExceptionMessage"
+ }
+ },
+ "traits": {
+ "aws.protocols#awsQueryError": {
+ "code": "MaxDBShardGroupLimitReached",
+ "httpResponseCode": 400
+ },
+ "smithy.api#documentation": "The maximum number of DB shard groups for your Amazon Web Services account in the specified Amazon Web Services Region has been reached.
",
+ "smithy.api#error": "client",
+ "smithy.api#httpError": 400
+ }
+ },
"com.amazonaws.rds#MaxRecords": {
"type": "integer",
"traits": {
@@ -21007,6 +21504,12 @@
"traits": {
"smithy.api#documentation": "The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services Backup.
"
}
+ },
+ "EnableLimitlessDatabase": {
+ "target": "com.amazonaws.rds#BooleanOptional",
+ "traits": {
+ "smithy.api#documentation": "Specifies whether to enable Aurora Limitless Database. You must enable Aurora Limitless Database to create a DB shard group.
\n Valid for: Aurora DB clusters only
"
+ }
}
},
"traits": {
@@ -22037,6 +22540,54 @@
"smithy.api#input": {}
}
},
+ "com.amazonaws.rds#ModifyDBShardGroup": {
+ "type": "operation",
+ "input": {
+ "target": "com.amazonaws.rds#ModifyDBShardGroupMessage"
+ },
+ "output": {
+ "target": "com.amazonaws.rds#DBShardGroup"
+ },
+ "errors": [
+ {
+ "target": "com.amazonaws.rds#DBShardGroupAlreadyExistsFault"
+ },
+ {
+ "target": "com.amazonaws.rds#DBShardGroupNotFoundFault"
+ },
+ {
+ "target": "com.amazonaws.rds#InvalidDBClusterStateFault"
+ },
+ {
+ "target": "com.amazonaws.rds#InvalidMaxAcuFault"
+ }
+ ],
+ "traits": {
+ "smithy.api#documentation": "Modifies the settings of an Aurora Limitless Database DB shard group. You can change one or more settings by \n specifying these parameters and the new values in the request.
"
+ }
+ },
+ "com.amazonaws.rds#ModifyDBShardGroupMessage": {
+ "type": "structure",
+ "members": {
+ "DBShardGroupIdentifier": {
+ "target": "com.amazonaws.rds#String",
+ "traits": {
+ "smithy.api#clientOptional": {},
+ "smithy.api#documentation": "The name of the DB shard group to modify.
",
+ "smithy.api#required": {}
+ }
+ },
+ "MaxACU": {
+ "target": "com.amazonaws.rds#DoubleOptional",
+ "traits": {
+ "smithy.api#documentation": "The maximum capacity of the DB shard group in Aurora capacity units (ACUs).
"
+ }
+ }
+ },
+ "traits": {
+ "smithy.api#input": {}
+ }
+ },
"com.amazonaws.rds#ModifyDBSnapshot": {
"type": "operation",
"input": {
@@ -24573,6 +25124,42 @@
"smithy.api#output": {}
}
},
+ "com.amazonaws.rds#RebootDBShardGroup": {
+ "type": "operation",
+ "input": {
+ "target": "com.amazonaws.rds#RebootDBShardGroupMessage"
+ },
+ "output": {
+ "target": "com.amazonaws.rds#DBShardGroup"
+ },
+ "errors": [
+ {
+ "target": "com.amazonaws.rds#DBShardGroupNotFoundFault"
+ },
+ {
+ "target": "com.amazonaws.rds#InvalidDBShardGroupStateFault"
+ }
+ ],
+ "traits": {
+ "smithy.api#documentation": "You might need to reboot your DB shard group, usually for maintenance reasons. For example, if you make certain modifications, reboot \n the DB shard group for the changes to take effect.
\n This operation applies only to Aurora Limitless Database DBb shard groups.
"
+ }
+ },
+ "com.amazonaws.rds#RebootDBShardGroupMessage": {
+ "type": "structure",
+ "members": {
+ "DBShardGroupIdentifier": {
+ "target": "com.amazonaws.rds#String",
+ "traits": {
+ "smithy.api#clientOptional": {},
+ "smithy.api#documentation": "The name of the DB shard group to reboot.
",
+ "smithy.api#required": {}
+ }
+ }
+ },
+ "traits": {
+ "smithy.api#input": {}
+ }
+ },
"com.amazonaws.rds#RecommendedAction": {
"type": "structure",
"members": {
@@ -30112,6 +30699,23 @@
"smithy.api#documentation": "A time zone associated with a \n DBInstance
\n or a DBSnapshot
.\n This data type is an element in the response to \n the DescribeDBInstances
, \n the DescribeDBSnapshots
,\n and the DescribeDBEngineVersions
\n actions.
"
}
},
+ "com.amazonaws.rds#UnsupportedDBEngineVersionFault": {
+ "type": "structure",
+ "members": {
+ "message": {
+ "target": "com.amazonaws.rds#ExceptionMessage"
+ }
+ },
+ "traits": {
+ "aws.protocols#awsQueryError": {
+ "code": "UnsupportedDBEngineVersion",
+ "httpResponseCode": 400
+ },
+ "smithy.api#documentation": "The specified DB engine version isn't supported for Aurora Limitless Database.
",
+ "smithy.api#error": "client",
+ "smithy.api#httpError": 400
+ }
+ },
"com.amazonaws.rds#UpgradeTarget": {
"type": "structure",
"members": {