From 2a9f8c3e4f7d82a08dd6e797181645d07ed87825 Mon Sep 17 00:00:00 2001 From: awstools Date: Fri, 15 Apr 2022 18:18:23 +0000 Subject: [PATCH] feat(client-rds): Removes Amazon RDS on VMware with the deletion of APIs related to Custom Availability Zones and Media installation --- clients/client-rds/src/RDS.ts | 242 +---- clients/client-rds/src/RDSClient.ts | 36 - .../CreateCustomAvailabilityZoneCommand.ts | 105 --- .../DeleteCustomAvailabilityZoneCommand.ts | 105 --- .../DeleteInstallationMediaCommand.ts | 96 -- .../DescribeCustomAvailabilityZonesCommand.ts | 106 --- .../commands/DescribeDBProxyTargetsCommand.ts | 3 +- .../DescribeDBSecurityGroupsCommand.ts | 2 +- .../DescribeDBSnapshotAttributesCommand.ts | 2 +- .../commands/DescribeDBSnapshotsCommand.ts | 3 +- .../DescribeInstallationMediaCommand.ts | 99 -- .../ImportInstallationMediaCommand.ts | 97 -- .../src/commands/ModifyCertificatesCommand.ts | 2 +- clients/client-rds/src/commands/index.ts | 6 - clients/client-rds/src/models/models_0.ts | 754 +++++++-------- clients/client-rds/src/models/models_1.ts | 709 ++++---------- ...escribeCustomAvailabilityZonesPaginator.ts | 59 -- .../DescribeInstallationMediaPaginator.ts | 59 -- clients/client-rds/src/pagination/index.ts | 4 +- clients/client-rds/src/protocols/Aws_query.ts | 866 +----------------- codegen/sdk-codegen/aws-models/rds.json | 626 +------------ 21 files changed, 602 insertions(+), 3379 deletions(-) delete mode 100644 clients/client-rds/src/commands/CreateCustomAvailabilityZoneCommand.ts delete mode 100644 clients/client-rds/src/commands/DeleteCustomAvailabilityZoneCommand.ts delete mode 100644 clients/client-rds/src/commands/DeleteInstallationMediaCommand.ts delete mode 100644 clients/client-rds/src/commands/DescribeCustomAvailabilityZonesCommand.ts delete mode 100644 clients/client-rds/src/commands/DescribeInstallationMediaCommand.ts delete mode 100644 clients/client-rds/src/commands/ImportInstallationMediaCommand.ts delete mode 100644 clients/client-rds/src/pagination/DescribeCustomAvailabilityZonesPaginator.ts delete mode 100644 clients/client-rds/src/pagination/DescribeInstallationMediaPaginator.ts diff --git a/clients/client-rds/src/RDS.ts b/clients/client-rds/src/RDS.ts index 2537d042af22..2bba884d1406 100644 --- a/clients/client-rds/src/RDS.ts +++ b/clients/client-rds/src/RDS.ts @@ -65,11 +65,6 @@ import { CopyOptionGroupCommandInput, CopyOptionGroupCommandOutput, } from "./commands/CopyOptionGroupCommand"; -import { - CreateCustomAvailabilityZoneCommand, - CreateCustomAvailabilityZoneCommandInput, - CreateCustomAvailabilityZoneCommandOutput, -} from "./commands/CreateCustomAvailabilityZoneCommand"; import { CreateCustomDBEngineVersionCommand, CreateCustomDBEngineVersionCommandInput, @@ -150,11 +145,6 @@ import { CreateOptionGroupCommandInput, CreateOptionGroupCommandOutput, } from "./commands/CreateOptionGroupCommand"; -import { - DeleteCustomAvailabilityZoneCommand, - DeleteCustomAvailabilityZoneCommandInput, - DeleteCustomAvailabilityZoneCommandOutput, -} from "./commands/DeleteCustomAvailabilityZoneCommand"; import { DeleteCustomDBEngineVersionCommand, DeleteCustomDBEngineVersionCommandInput, @@ -230,11 +220,6 @@ import { DeleteGlobalClusterCommandInput, DeleteGlobalClusterCommandOutput, } from "./commands/DeleteGlobalClusterCommand"; -import { - DeleteInstallationMediaCommand, - DeleteInstallationMediaCommandInput, - DeleteInstallationMediaCommandOutput, -} from "./commands/DeleteInstallationMediaCommand"; import { DeleteOptionGroupCommand, DeleteOptionGroupCommandInput, @@ -255,11 +240,6 @@ import { DescribeCertificatesCommandInput, DescribeCertificatesCommandOutput, } from "./commands/DescribeCertificatesCommand"; -import { - DescribeCustomAvailabilityZonesCommand, - DescribeCustomAvailabilityZonesCommandInput, - DescribeCustomAvailabilityZonesCommandOutput, -} from "./commands/DescribeCustomAvailabilityZonesCommand"; import { DescribeDBClusterBacktracksCommand, DescribeDBClusterBacktracksCommandInput, @@ -400,11 +380,6 @@ import { DescribeGlobalClustersCommandInput, DescribeGlobalClustersCommandOutput, } from "./commands/DescribeGlobalClustersCommand"; -import { - DescribeInstallationMediaCommand, - DescribeInstallationMediaCommandInput, - DescribeInstallationMediaCommandOutput, -} from "./commands/DescribeInstallationMediaCommand"; import { DescribeOptionGroupOptionsCommand, DescribeOptionGroupOptionsCommandInput, @@ -460,11 +435,6 @@ import { FailoverGlobalClusterCommandInput, FailoverGlobalClusterCommandOutput, } from "./commands/FailoverGlobalClusterCommand"; -import { - ImportInstallationMediaCommand, - ImportInstallationMediaCommandInput, - ImportInstallationMediaCommandOutput, -} from "./commands/ImportInstallationMediaCommand"; import { ListTagsForResourceCommand, ListTagsForResourceCommandInput, @@ -1279,43 +1249,6 @@ export class RDS extends RDSClient { } } - /** - *

Creates a custom Availability Zone (AZ).

- *

A custom AZ is an on-premises AZ that is integrated with a VMware vSphere cluster.

- *

For more information about RDS on VMware, see the - * - * RDS on VMware User Guide. - *

- */ - public createCustomAvailabilityZone( - args: CreateCustomAvailabilityZoneCommandInput, - options?: __HttpHandlerOptions - ): Promise; - public createCustomAvailabilityZone( - args: CreateCustomAvailabilityZoneCommandInput, - cb: (err: any, data?: CreateCustomAvailabilityZoneCommandOutput) => void - ): void; - public createCustomAvailabilityZone( - args: CreateCustomAvailabilityZoneCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: CreateCustomAvailabilityZoneCommandOutput) => void - ): void; - public createCustomAvailabilityZone( - args: CreateCustomAvailabilityZoneCommandInput, - optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateCustomAvailabilityZoneCommandOutput) => void), - cb?: (err: any, data?: CreateCustomAvailabilityZoneCommandOutput) => void - ): Promise | void { - const command = new CreateCustomAvailabilityZoneCommand(args); - if (typeof optionsOrCb === "function") { - this.send(command, optionsOrCb); - } else if (typeof cb === "function") { - if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); - this.send(command, optionsOrCb || {}, cb); - } else { - return this.send(command, optionsOrCb); - } - } - /** *

Creates a custom DB engine version (CEV). A CEV is a binary volume snapshot of a database engine and specific * AMI. The supported engines are the following:

@@ -1976,43 +1909,6 @@ export class RDS extends RDSClient { } } - /** - *

Deletes a custom Availability Zone (AZ).

- *

A custom AZ is an on-premises AZ that is integrated with a VMware vSphere cluster.

- *

For more information about RDS on VMware, see the - * - * RDS on VMware User Guide. - *

- */ - public deleteCustomAvailabilityZone( - args: DeleteCustomAvailabilityZoneCommandInput, - options?: __HttpHandlerOptions - ): Promise; - public deleteCustomAvailabilityZone( - args: DeleteCustomAvailabilityZoneCommandInput, - cb: (err: any, data?: DeleteCustomAvailabilityZoneCommandOutput) => void - ): void; - public deleteCustomAvailabilityZone( - args: DeleteCustomAvailabilityZoneCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteCustomAvailabilityZoneCommandOutput) => void - ): void; - public deleteCustomAvailabilityZone( - args: DeleteCustomAvailabilityZoneCommandInput, - optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteCustomAvailabilityZoneCommandOutput) => void), - cb?: (err: any, data?: DeleteCustomAvailabilityZoneCommandOutput) => void - ): Promise | void { - const command = new DeleteCustomAvailabilityZoneCommand(args); - if (typeof optionsOrCb === "function") { - this.send(command, optionsOrCb); - } else if (typeof cb === "function") { - if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); - this.send(command, optionsOrCb || {}, cb); - } else { - return this.send(command, optionsOrCb); - } - } - /** *

Deletes a custom engine version. To run this command, make sure you meet the following prerequisites:

*
    @@ -2578,39 +2474,6 @@ export class RDS extends RDSClient { } } - /** - *

    Deletes the installation medium for a DB engine that requires an on-premises customer provided license, - * such as Microsoft SQL Server.

    - */ - public deleteInstallationMedia( - args: DeleteInstallationMediaCommandInput, - options?: __HttpHandlerOptions - ): Promise; - public deleteInstallationMedia( - args: DeleteInstallationMediaCommandInput, - cb: (err: any, data?: DeleteInstallationMediaCommandOutput) => void - ): void; - public deleteInstallationMedia( - args: DeleteInstallationMediaCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteInstallationMediaCommandOutput) => void - ): void; - public deleteInstallationMedia( - args: DeleteInstallationMediaCommandInput, - optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteInstallationMediaCommandOutput) => void), - cb?: (err: any, data?: DeleteInstallationMediaCommandOutput) => void - ): Promise | void { - const command = new DeleteInstallationMediaCommand(args); - if (typeof optionsOrCb === "function") { - this.send(command, optionsOrCb); - } else if (typeof cb === "function") { - if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); - this.send(command, optionsOrCb || {}, cb); - } else { - return this.send(command, optionsOrCb); - } - } - /** *

    Deletes an existing option group.

    */ @@ -2740,43 +2603,6 @@ export class RDS extends RDSClient { } } - /** - *

    Returns information about custom Availability Zones (AZs).

    - *

    A custom AZ is an on-premises AZ that is integrated with a VMware vSphere cluster.

    - *

    For more information about RDS on VMware, see the - * - * RDS on VMware User Guide. - *

    - */ - public describeCustomAvailabilityZones( - args: DescribeCustomAvailabilityZonesCommandInput, - options?: __HttpHandlerOptions - ): Promise; - public describeCustomAvailabilityZones( - args: DescribeCustomAvailabilityZonesCommandInput, - cb: (err: any, data?: DescribeCustomAvailabilityZonesCommandOutput) => void - ): void; - public describeCustomAvailabilityZones( - args: DescribeCustomAvailabilityZonesCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DescribeCustomAvailabilityZonesCommandOutput) => void - ): void; - public describeCustomAvailabilityZones( - args: DescribeCustomAvailabilityZonesCommandInput, - optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeCustomAvailabilityZonesCommandOutput) => void), - cb?: (err: any, data?: DescribeCustomAvailabilityZonesCommandOutput) => void - ): Promise | void { - const command = new DescribeCustomAvailabilityZonesCommand(args); - if (typeof optionsOrCb === "function") { - this.send(command, optionsOrCb); - } else if (typeof cb === "function") { - if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); - this.send(command, optionsOrCb || {}, cb); - } else { - return this.send(command, optionsOrCb); - } - } - /** *

    Returns information about backtracks for a DB cluster.

    *

    For more information on Amazon Aurora, see @@ -3761,39 +3587,6 @@ export class RDS extends RDSClient { } } - /** - *

    Describes the available installation media for a DB engine that requires an - * on-premises customer provided license, such as Microsoft SQL Server.

    - */ - public describeInstallationMedia( - args: DescribeInstallationMediaCommandInput, - options?: __HttpHandlerOptions - ): Promise; - public describeInstallationMedia( - args: DescribeInstallationMediaCommandInput, - cb: (err: any, data?: DescribeInstallationMediaCommandOutput) => void - ): void; - public describeInstallationMedia( - args: DescribeInstallationMediaCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DescribeInstallationMediaCommandOutput) => void - ): void; - public describeInstallationMedia( - args: DescribeInstallationMediaCommandInput, - optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeInstallationMediaCommandOutput) => void), - cb?: (err: any, data?: DescribeInstallationMediaCommandOutput) => void - ): Promise | void { - const command = new DescribeInstallationMediaCommand(args); - if (typeof optionsOrCb === "function") { - this.send(command, optionsOrCb); - } else if (typeof cb === "function") { - if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); - this.send(command, optionsOrCb || {}, cb); - } else { - return this.send(command, optionsOrCb); - } - } - /** *

    Describes all available options.

    */ @@ -4178,39 +3971,6 @@ export class RDS extends RDSClient { } } - /** - *

    Imports the installation media for a DB engine that requires an on-premises - * customer provided license, such as SQL Server.

    - */ - public importInstallationMedia( - args: ImportInstallationMediaCommandInput, - options?: __HttpHandlerOptions - ): Promise; - public importInstallationMedia( - args: ImportInstallationMediaCommandInput, - cb: (err: any, data?: ImportInstallationMediaCommandOutput) => void - ): void; - public importInstallationMedia( - args: ImportInstallationMediaCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ImportInstallationMediaCommandOutput) => void - ): void; - public importInstallationMedia( - args: ImportInstallationMediaCommandInput, - optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ImportInstallationMediaCommandOutput) => void), - cb?: (err: any, data?: ImportInstallationMediaCommandOutput) => void - ): Promise | void { - const command = new ImportInstallationMediaCommand(args); - if (typeof optionsOrCb === "function") { - this.send(command, optionsOrCb); - } else if (typeof cb === "function") { - if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`); - this.send(command, optionsOrCb || {}, cb); - } else { - return this.send(command, optionsOrCb); - } - } - /** *

    Lists all tags on an Amazon RDS resource.

    *

    For an overview on tagging an Amazon RDS resource, @@ -4248,7 +4008,7 @@ export class RDS extends RDSClient { /** *

    Override the system-default Secure Sockets Layer/Transport Layer Security (SSL/TLS) - * certificate for Amazon RDS for new DB instances temporarily, or remove the override.

    + * certificate for Amazon RDS for new DB instances, or remove the override.

    *

    By using this operation, you can specify an RDS-approved SSL/TLS certificate for new DB * instances that is different from the default certificate provided by RDS. You can also * use this operation to remove the override, so that new DB instances use the default diff --git a/clients/client-rds/src/RDSClient.ts b/clients/client-rds/src/RDSClient.ts index 02bce76b361c..12d5b7ac746c 100644 --- a/clients/client-rds/src/RDSClient.ts +++ b/clients/client-rds/src/RDSClient.ts @@ -85,10 +85,6 @@ import { } from "./commands/CopyDBParameterGroupCommand"; import { CopyDBSnapshotCommandInput, CopyDBSnapshotCommandOutput } from "./commands/CopyDBSnapshotCommand"; import { CopyOptionGroupCommandInput, CopyOptionGroupCommandOutput } from "./commands/CopyOptionGroupCommand"; -import { - CreateCustomAvailabilityZoneCommandInput, - CreateCustomAvailabilityZoneCommandOutput, -} from "./commands/CreateCustomAvailabilityZoneCommand"; import { CreateCustomDBEngineVersionCommandInput, CreateCustomDBEngineVersionCommandOutput, @@ -138,10 +134,6 @@ import { CreateGlobalClusterCommandOutput, } from "./commands/CreateGlobalClusterCommand"; import { CreateOptionGroupCommandInput, CreateOptionGroupCommandOutput } from "./commands/CreateOptionGroupCommand"; -import { - DeleteCustomAvailabilityZoneCommandInput, - DeleteCustomAvailabilityZoneCommandOutput, -} from "./commands/DeleteCustomAvailabilityZoneCommand"; import { DeleteCustomDBEngineVersionCommandInput, DeleteCustomDBEngineVersionCommandOutput, @@ -190,10 +182,6 @@ import { DeleteGlobalClusterCommandInput, DeleteGlobalClusterCommandOutput, } from "./commands/DeleteGlobalClusterCommand"; -import { - DeleteInstallationMediaCommandInput, - DeleteInstallationMediaCommandOutput, -} from "./commands/DeleteInstallationMediaCommand"; import { DeleteOptionGroupCommandInput, DeleteOptionGroupCommandOutput } from "./commands/DeleteOptionGroupCommand"; import { DeregisterDBProxyTargetsCommandInput, @@ -207,10 +195,6 @@ import { DescribeCertificatesCommandInput, DescribeCertificatesCommandOutput, } from "./commands/DescribeCertificatesCommand"; -import { - DescribeCustomAvailabilityZonesCommandInput, - DescribeCustomAvailabilityZonesCommandOutput, -} from "./commands/DescribeCustomAvailabilityZonesCommand"; import { DescribeDBClusterBacktracksCommandInput, DescribeDBClusterBacktracksCommandOutput, @@ -311,10 +295,6 @@ import { DescribeGlobalClustersCommandInput, DescribeGlobalClustersCommandOutput, } from "./commands/DescribeGlobalClustersCommand"; -import { - DescribeInstallationMediaCommandInput, - DescribeInstallationMediaCommandOutput, -} from "./commands/DescribeInstallationMediaCommand"; import { DescribeOptionGroupOptionsCommandInput, DescribeOptionGroupOptionsCommandOutput, @@ -356,10 +336,6 @@ import { FailoverGlobalClusterCommandInput, FailoverGlobalClusterCommandOutput, } from "./commands/FailoverGlobalClusterCommand"; -import { - ImportInstallationMediaCommandInput, - ImportInstallationMediaCommandOutput, -} from "./commands/ImportInstallationMediaCommand"; import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, @@ -523,7 +499,6 @@ export type ServiceInputTypes = | CopyDBParameterGroupCommandInput | CopyDBSnapshotCommandInput | CopyOptionGroupCommandInput - | CreateCustomAvailabilityZoneCommandInput | CreateCustomDBEngineVersionCommandInput | CreateDBClusterCommandInput | CreateDBClusterEndpointCommandInput @@ -540,7 +515,6 @@ export type ServiceInputTypes = | CreateEventSubscriptionCommandInput | CreateGlobalClusterCommandInput | CreateOptionGroupCommandInput - | DeleteCustomAvailabilityZoneCommandInput | DeleteCustomDBEngineVersionCommandInput | DeleteDBClusterCommandInput | DeleteDBClusterEndpointCommandInput @@ -556,12 +530,10 @@ export type ServiceInputTypes = | DeleteDBSubnetGroupCommandInput | DeleteEventSubscriptionCommandInput | DeleteGlobalClusterCommandInput - | DeleteInstallationMediaCommandInput | DeleteOptionGroupCommandInput | DeregisterDBProxyTargetsCommandInput | DescribeAccountAttributesCommandInput | DescribeCertificatesCommandInput - | DescribeCustomAvailabilityZonesCommandInput | DescribeDBClusterBacktracksCommandInput | DescribeDBClusterEndpointsCommandInput | DescribeDBClusterParameterGroupsCommandInput @@ -590,7 +562,6 @@ export type ServiceInputTypes = | DescribeEventsCommandInput | DescribeExportTasksCommandInput | DescribeGlobalClustersCommandInput - | DescribeInstallationMediaCommandInput | DescribeOptionGroupOptionsCommandInput | DescribeOptionGroupsCommandInput | DescribeOrderableDBInstanceOptionsCommandInput @@ -602,7 +573,6 @@ export type ServiceInputTypes = | DownloadDBLogFilePortionCommandInput | FailoverDBClusterCommandInput | FailoverGlobalClusterCommandInput - | ImportInstallationMediaCommandInput | ListTagsForResourceCommandInput | ModifyCertificatesCommandInput | ModifyCurrentDBClusterCapacityCommandInput @@ -666,7 +636,6 @@ export type ServiceOutputTypes = | CopyDBParameterGroupCommandOutput | CopyDBSnapshotCommandOutput | CopyOptionGroupCommandOutput - | CreateCustomAvailabilityZoneCommandOutput | CreateCustomDBEngineVersionCommandOutput | CreateDBClusterCommandOutput | CreateDBClusterEndpointCommandOutput @@ -683,7 +652,6 @@ export type ServiceOutputTypes = | CreateEventSubscriptionCommandOutput | CreateGlobalClusterCommandOutput | CreateOptionGroupCommandOutput - | DeleteCustomAvailabilityZoneCommandOutput | DeleteCustomDBEngineVersionCommandOutput | DeleteDBClusterCommandOutput | DeleteDBClusterEndpointCommandOutput @@ -699,12 +667,10 @@ export type ServiceOutputTypes = | DeleteDBSubnetGroupCommandOutput | DeleteEventSubscriptionCommandOutput | DeleteGlobalClusterCommandOutput - | DeleteInstallationMediaCommandOutput | DeleteOptionGroupCommandOutput | DeregisterDBProxyTargetsCommandOutput | DescribeAccountAttributesCommandOutput | DescribeCertificatesCommandOutput - | DescribeCustomAvailabilityZonesCommandOutput | DescribeDBClusterBacktracksCommandOutput | DescribeDBClusterEndpointsCommandOutput | DescribeDBClusterParameterGroupsCommandOutput @@ -733,7 +699,6 @@ export type ServiceOutputTypes = | DescribeEventsCommandOutput | DescribeExportTasksCommandOutput | DescribeGlobalClustersCommandOutput - | DescribeInstallationMediaCommandOutput | DescribeOptionGroupOptionsCommandOutput | DescribeOptionGroupsCommandOutput | DescribeOrderableDBInstanceOptionsCommandOutput @@ -745,7 +710,6 @@ export type ServiceOutputTypes = | DownloadDBLogFilePortionCommandOutput | FailoverDBClusterCommandOutput | FailoverGlobalClusterCommandOutput - | ImportInstallationMediaCommandOutput | ListTagsForResourceCommandOutput | ModifyCertificatesCommandOutput | ModifyCurrentDBClusterCapacityCommandOutput diff --git a/clients/client-rds/src/commands/CreateCustomAvailabilityZoneCommand.ts b/clients/client-rds/src/commands/CreateCustomAvailabilityZoneCommand.ts deleted file mode 100644 index 11ed2d6c700d..000000000000 --- a/clients/client-rds/src/commands/CreateCustomAvailabilityZoneCommand.ts +++ /dev/null @@ -1,105 +0,0 @@ -import { getSerdePlugin } from "@aws-sdk/middleware-serde"; -import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; -import { Command as $Command } from "@aws-sdk/smithy-client"; -import { - FinalizeHandlerArguments, - Handler, - HandlerExecutionContext, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, - SerdeContext as __SerdeContext, -} from "@aws-sdk/types"; - -import { CreateCustomAvailabilityZoneMessage, CreateCustomAvailabilityZoneResult } from "../models/models_0"; -import { - deserializeAws_queryCreateCustomAvailabilityZoneCommand, - serializeAws_queryCreateCustomAvailabilityZoneCommand, -} from "../protocols/Aws_query"; -import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient"; - -export interface CreateCustomAvailabilityZoneCommandInput extends CreateCustomAvailabilityZoneMessage {} -export interface CreateCustomAvailabilityZoneCommandOutput - extends CreateCustomAvailabilityZoneResult, - __MetadataBearer {} - -/** - *

    Creates a custom Availability Zone (AZ).

    - *

    A custom AZ is an on-premises AZ that is integrated with a VMware vSphere cluster.

    - *

    For more information about RDS on VMware, see the - * - * RDS on VMware User Guide. - *

    - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { RDSClient, CreateCustomAvailabilityZoneCommand } from "@aws-sdk/client-rds"; // ES Modules import - * // const { RDSClient, CreateCustomAvailabilityZoneCommand } = require("@aws-sdk/client-rds"); // CommonJS import - * const client = new RDSClient(config); - * const command = new CreateCustomAvailabilityZoneCommand(input); - * const response = await client.send(command); - * ``` - * - * @see {@link CreateCustomAvailabilityZoneCommandInput} for command's `input` shape. - * @see {@link CreateCustomAvailabilityZoneCommandOutput} for command's `response` shape. - * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape. - * - */ -export class CreateCustomAvailabilityZoneCommand extends $Command< - CreateCustomAvailabilityZoneCommandInput, - CreateCustomAvailabilityZoneCommandOutput, - RDSClientResolvedConfig -> { - // Start section: command_properties - // End section: command_properties - - constructor(readonly input: CreateCustomAvailabilityZoneCommandInput) { - // Start section: command_constructor - super(); - // End section: command_constructor - } - - /** - * @internal - */ - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: RDSClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - - const stack = clientStack.concat(this.middlewareStack); - - const { logger } = configuration; - const clientName = "RDSClient"; - const commandName = "CreateCustomAvailabilityZoneCommand"; - const handlerExecutionContext: HandlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: CreateCustomAvailabilityZoneMessage.filterSensitiveLog, - outputFilterSensitiveLog: CreateCustomAvailabilityZoneResult.filterSensitiveLog, - }; - const { requestHandler } = configuration; - return stack.resolve( - (request: FinalizeHandlerArguments) => - requestHandler.handle(request.request as __HttpRequest, options || {}), - handlerExecutionContext - ); - } - - private serialize(input: CreateCustomAvailabilityZoneCommandInput, context: __SerdeContext): Promise<__HttpRequest> { - return serializeAws_queryCreateCustomAvailabilityZoneCommand(input, context); - } - - private deserialize( - output: __HttpResponse, - context: __SerdeContext - ): Promise { - return deserializeAws_queryCreateCustomAvailabilityZoneCommand(output, context); - } - - // Start section: command_body_extra - // End section: command_body_extra -} diff --git a/clients/client-rds/src/commands/DeleteCustomAvailabilityZoneCommand.ts b/clients/client-rds/src/commands/DeleteCustomAvailabilityZoneCommand.ts deleted file mode 100644 index 83c1dcc12a6f..000000000000 --- a/clients/client-rds/src/commands/DeleteCustomAvailabilityZoneCommand.ts +++ /dev/null @@ -1,105 +0,0 @@ -import { getSerdePlugin } from "@aws-sdk/middleware-serde"; -import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; -import { Command as $Command } from "@aws-sdk/smithy-client"; -import { - FinalizeHandlerArguments, - Handler, - HandlerExecutionContext, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, - SerdeContext as __SerdeContext, -} from "@aws-sdk/types"; - -import { DeleteCustomAvailabilityZoneMessage, DeleteCustomAvailabilityZoneResult } from "../models/models_0"; -import { - deserializeAws_queryDeleteCustomAvailabilityZoneCommand, - serializeAws_queryDeleteCustomAvailabilityZoneCommand, -} from "../protocols/Aws_query"; -import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient"; - -export interface DeleteCustomAvailabilityZoneCommandInput extends DeleteCustomAvailabilityZoneMessage {} -export interface DeleteCustomAvailabilityZoneCommandOutput - extends DeleteCustomAvailabilityZoneResult, - __MetadataBearer {} - -/** - *

    Deletes a custom Availability Zone (AZ).

    - *

    A custom AZ is an on-premises AZ that is integrated with a VMware vSphere cluster.

    - *

    For more information about RDS on VMware, see the - * - * RDS on VMware User Guide. - *

    - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { RDSClient, DeleteCustomAvailabilityZoneCommand } from "@aws-sdk/client-rds"; // ES Modules import - * // const { RDSClient, DeleteCustomAvailabilityZoneCommand } = require("@aws-sdk/client-rds"); // CommonJS import - * const client = new RDSClient(config); - * const command = new DeleteCustomAvailabilityZoneCommand(input); - * const response = await client.send(command); - * ``` - * - * @see {@link DeleteCustomAvailabilityZoneCommandInput} for command's `input` shape. - * @see {@link DeleteCustomAvailabilityZoneCommandOutput} for command's `response` shape. - * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape. - * - */ -export class DeleteCustomAvailabilityZoneCommand extends $Command< - DeleteCustomAvailabilityZoneCommandInput, - DeleteCustomAvailabilityZoneCommandOutput, - RDSClientResolvedConfig -> { - // Start section: command_properties - // End section: command_properties - - constructor(readonly input: DeleteCustomAvailabilityZoneCommandInput) { - // Start section: command_constructor - super(); - // End section: command_constructor - } - - /** - * @internal - */ - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: RDSClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - - const stack = clientStack.concat(this.middlewareStack); - - const { logger } = configuration; - const clientName = "RDSClient"; - const commandName = "DeleteCustomAvailabilityZoneCommand"; - const handlerExecutionContext: HandlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: DeleteCustomAvailabilityZoneMessage.filterSensitiveLog, - outputFilterSensitiveLog: DeleteCustomAvailabilityZoneResult.filterSensitiveLog, - }; - const { requestHandler } = configuration; - return stack.resolve( - (request: FinalizeHandlerArguments) => - requestHandler.handle(request.request as __HttpRequest, options || {}), - handlerExecutionContext - ); - } - - private serialize(input: DeleteCustomAvailabilityZoneCommandInput, context: __SerdeContext): Promise<__HttpRequest> { - return serializeAws_queryDeleteCustomAvailabilityZoneCommand(input, context); - } - - private deserialize( - output: __HttpResponse, - context: __SerdeContext - ): Promise { - return deserializeAws_queryDeleteCustomAvailabilityZoneCommand(output, context); - } - - // Start section: command_body_extra - // End section: command_body_extra -} diff --git a/clients/client-rds/src/commands/DeleteInstallationMediaCommand.ts b/clients/client-rds/src/commands/DeleteInstallationMediaCommand.ts deleted file mode 100644 index 73220b870119..000000000000 --- a/clients/client-rds/src/commands/DeleteInstallationMediaCommand.ts +++ /dev/null @@ -1,96 +0,0 @@ -import { getSerdePlugin } from "@aws-sdk/middleware-serde"; -import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; -import { Command as $Command } from "@aws-sdk/smithy-client"; -import { - FinalizeHandlerArguments, - Handler, - HandlerExecutionContext, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, - SerdeContext as __SerdeContext, -} from "@aws-sdk/types"; - -import { DeleteInstallationMediaMessage, InstallationMedia } from "../models/models_0"; -import { - deserializeAws_queryDeleteInstallationMediaCommand, - serializeAws_queryDeleteInstallationMediaCommand, -} from "../protocols/Aws_query"; -import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient"; - -export interface DeleteInstallationMediaCommandInput extends DeleteInstallationMediaMessage {} -export interface DeleteInstallationMediaCommandOutput extends InstallationMedia, __MetadataBearer {} - -/** - *

    Deletes the installation medium for a DB engine that requires an on-premises customer provided license, - * such as Microsoft SQL Server.

    - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { RDSClient, DeleteInstallationMediaCommand } from "@aws-sdk/client-rds"; // ES Modules import - * // const { RDSClient, DeleteInstallationMediaCommand } = require("@aws-sdk/client-rds"); // CommonJS import - * const client = new RDSClient(config); - * const command = new DeleteInstallationMediaCommand(input); - * const response = await client.send(command); - * ``` - * - * @see {@link DeleteInstallationMediaCommandInput} for command's `input` shape. - * @see {@link DeleteInstallationMediaCommandOutput} for command's `response` shape. - * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape. - * - */ -export class DeleteInstallationMediaCommand extends $Command< - DeleteInstallationMediaCommandInput, - DeleteInstallationMediaCommandOutput, - RDSClientResolvedConfig -> { - // Start section: command_properties - // End section: command_properties - - constructor(readonly input: DeleteInstallationMediaCommandInput) { - // Start section: command_constructor - super(); - // End section: command_constructor - } - - /** - * @internal - */ - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: RDSClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - - const stack = clientStack.concat(this.middlewareStack); - - const { logger } = configuration; - const clientName = "RDSClient"; - const commandName = "DeleteInstallationMediaCommand"; - const handlerExecutionContext: HandlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: DeleteInstallationMediaMessage.filterSensitiveLog, - outputFilterSensitiveLog: InstallationMedia.filterSensitiveLog, - }; - const { requestHandler } = configuration; - return stack.resolve( - (request: FinalizeHandlerArguments) => - requestHandler.handle(request.request as __HttpRequest, options || {}), - handlerExecutionContext - ); - } - - private serialize(input: DeleteInstallationMediaCommandInput, context: __SerdeContext): Promise<__HttpRequest> { - return serializeAws_queryDeleteInstallationMediaCommand(input, context); - } - - private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { - return deserializeAws_queryDeleteInstallationMediaCommand(output, context); - } - - // Start section: command_body_extra - // End section: command_body_extra -} diff --git a/clients/client-rds/src/commands/DescribeCustomAvailabilityZonesCommand.ts b/clients/client-rds/src/commands/DescribeCustomAvailabilityZonesCommand.ts deleted file mode 100644 index 8355b1f366d0..000000000000 --- a/clients/client-rds/src/commands/DescribeCustomAvailabilityZonesCommand.ts +++ /dev/null @@ -1,106 +0,0 @@ -import { getSerdePlugin } from "@aws-sdk/middleware-serde"; -import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; -import { Command as $Command } from "@aws-sdk/smithy-client"; -import { - FinalizeHandlerArguments, - Handler, - HandlerExecutionContext, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, - SerdeContext as __SerdeContext, -} from "@aws-sdk/types"; - -import { CustomAvailabilityZoneMessage, DescribeCustomAvailabilityZonesMessage } from "../models/models_0"; -import { - deserializeAws_queryDescribeCustomAvailabilityZonesCommand, - serializeAws_queryDescribeCustomAvailabilityZonesCommand, -} from "../protocols/Aws_query"; -import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient"; - -export interface DescribeCustomAvailabilityZonesCommandInput extends DescribeCustomAvailabilityZonesMessage {} -export interface DescribeCustomAvailabilityZonesCommandOutput extends CustomAvailabilityZoneMessage, __MetadataBearer {} - -/** - *

    Returns information about custom Availability Zones (AZs).

    - *

    A custom AZ is an on-premises AZ that is integrated with a VMware vSphere cluster.

    - *

    For more information about RDS on VMware, see the - * - * RDS on VMware User Guide. - *

    - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { RDSClient, DescribeCustomAvailabilityZonesCommand } from "@aws-sdk/client-rds"; // ES Modules import - * // const { RDSClient, DescribeCustomAvailabilityZonesCommand } = require("@aws-sdk/client-rds"); // CommonJS import - * const client = new RDSClient(config); - * const command = new DescribeCustomAvailabilityZonesCommand(input); - * const response = await client.send(command); - * ``` - * - * @see {@link DescribeCustomAvailabilityZonesCommandInput} for command's `input` shape. - * @see {@link DescribeCustomAvailabilityZonesCommandOutput} for command's `response` shape. - * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape. - * - */ -export class DescribeCustomAvailabilityZonesCommand extends $Command< - DescribeCustomAvailabilityZonesCommandInput, - DescribeCustomAvailabilityZonesCommandOutput, - RDSClientResolvedConfig -> { - // Start section: command_properties - // End section: command_properties - - constructor(readonly input: DescribeCustomAvailabilityZonesCommandInput) { - // Start section: command_constructor - super(); - // End section: command_constructor - } - - /** - * @internal - */ - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: RDSClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - - const stack = clientStack.concat(this.middlewareStack); - - const { logger } = configuration; - const clientName = "RDSClient"; - const commandName = "DescribeCustomAvailabilityZonesCommand"; - const handlerExecutionContext: HandlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: DescribeCustomAvailabilityZonesMessage.filterSensitiveLog, - outputFilterSensitiveLog: CustomAvailabilityZoneMessage.filterSensitiveLog, - }; - const { requestHandler } = configuration; - return stack.resolve( - (request: FinalizeHandlerArguments) => - requestHandler.handle(request.request as __HttpRequest, options || {}), - handlerExecutionContext - ); - } - - private serialize( - input: DescribeCustomAvailabilityZonesCommandInput, - context: __SerdeContext - ): Promise<__HttpRequest> { - return serializeAws_queryDescribeCustomAvailabilityZonesCommand(input, context); - } - - private deserialize( - output: __HttpResponse, - context: __SerdeContext - ): Promise { - return deserializeAws_queryDescribeCustomAvailabilityZonesCommand(output, context); - } - - // Start section: command_body_extra - // End section: command_body_extra -} diff --git a/clients/client-rds/src/commands/DescribeDBProxyTargetsCommand.ts b/clients/client-rds/src/commands/DescribeDBProxyTargetsCommand.ts index f0e806888c64..e7801c452b3f 100644 --- a/clients/client-rds/src/commands/DescribeDBProxyTargetsCommand.ts +++ b/clients/client-rds/src/commands/DescribeDBProxyTargetsCommand.ts @@ -11,8 +11,7 @@ import { SerdeContext as __SerdeContext, } from "@aws-sdk/types"; -import { DescribeDBProxyTargetsRequest } from "../models/models_0"; -import { DescribeDBProxyTargetsResponse } from "../models/models_1"; +import { DescribeDBProxyTargetsRequest, DescribeDBProxyTargetsResponse } from "../models/models_0"; import { deserializeAws_queryDescribeDBProxyTargetsCommand, serializeAws_queryDescribeDBProxyTargetsCommand, diff --git a/clients/client-rds/src/commands/DescribeDBSecurityGroupsCommand.ts b/clients/client-rds/src/commands/DescribeDBSecurityGroupsCommand.ts index fe3f940dc4f0..6e85c9f618cb 100644 --- a/clients/client-rds/src/commands/DescribeDBSecurityGroupsCommand.ts +++ b/clients/client-rds/src/commands/DescribeDBSecurityGroupsCommand.ts @@ -11,7 +11,7 @@ import { SerdeContext as __SerdeContext, } from "@aws-sdk/types"; -import { DBSecurityGroupMessage, DescribeDBSecurityGroupsMessage } from "../models/models_1"; +import { DBSecurityGroupMessage, DescribeDBSecurityGroupsMessage } from "../models/models_0"; import { deserializeAws_queryDescribeDBSecurityGroupsCommand, serializeAws_queryDescribeDBSecurityGroupsCommand, diff --git a/clients/client-rds/src/commands/DescribeDBSnapshotAttributesCommand.ts b/clients/client-rds/src/commands/DescribeDBSnapshotAttributesCommand.ts index 2fe2cdf9d485..a7b26e6b457f 100644 --- a/clients/client-rds/src/commands/DescribeDBSnapshotAttributesCommand.ts +++ b/clients/client-rds/src/commands/DescribeDBSnapshotAttributesCommand.ts @@ -11,7 +11,7 @@ import { SerdeContext as __SerdeContext, } from "@aws-sdk/types"; -import { DescribeDBSnapshotAttributesMessage, DescribeDBSnapshotAttributesResult } from "../models/models_1"; +import { DescribeDBSnapshotAttributesMessage, DescribeDBSnapshotAttributesResult } from "../models/models_0"; import { deserializeAws_queryDescribeDBSnapshotAttributesCommand, serializeAws_queryDescribeDBSnapshotAttributesCommand, diff --git a/clients/client-rds/src/commands/DescribeDBSnapshotsCommand.ts b/clients/client-rds/src/commands/DescribeDBSnapshotsCommand.ts index 773e6ebf950a..9a335aa9b07c 100644 --- a/clients/client-rds/src/commands/DescribeDBSnapshotsCommand.ts +++ b/clients/client-rds/src/commands/DescribeDBSnapshotsCommand.ts @@ -11,7 +11,8 @@ import { SerdeContext as __SerdeContext, } from "@aws-sdk/types"; -import { DBSnapshotMessage, DescribeDBSnapshotsMessage } from "../models/models_1"; +import { DBSnapshotMessage } from "../models/models_0"; +import { DescribeDBSnapshotsMessage } from "../models/models_1"; import { deserializeAws_queryDescribeDBSnapshotsCommand, serializeAws_queryDescribeDBSnapshotsCommand, diff --git a/clients/client-rds/src/commands/DescribeInstallationMediaCommand.ts b/clients/client-rds/src/commands/DescribeInstallationMediaCommand.ts deleted file mode 100644 index 05cddb0ef661..000000000000 --- a/clients/client-rds/src/commands/DescribeInstallationMediaCommand.ts +++ /dev/null @@ -1,99 +0,0 @@ -import { getSerdePlugin } from "@aws-sdk/middleware-serde"; -import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; -import { Command as $Command } from "@aws-sdk/smithy-client"; -import { - FinalizeHandlerArguments, - Handler, - HandlerExecutionContext, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, - SerdeContext as __SerdeContext, -} from "@aws-sdk/types"; - -import { DescribeInstallationMediaMessage, InstallationMediaMessage } from "../models/models_1"; -import { - deserializeAws_queryDescribeInstallationMediaCommand, - serializeAws_queryDescribeInstallationMediaCommand, -} from "../protocols/Aws_query"; -import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient"; - -export interface DescribeInstallationMediaCommandInput extends DescribeInstallationMediaMessage {} -export interface DescribeInstallationMediaCommandOutput extends InstallationMediaMessage, __MetadataBearer {} - -/** - *

    Describes the available installation media for a DB engine that requires an - * on-premises customer provided license, such as Microsoft SQL Server.

    - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { RDSClient, DescribeInstallationMediaCommand } from "@aws-sdk/client-rds"; // ES Modules import - * // const { RDSClient, DescribeInstallationMediaCommand } = require("@aws-sdk/client-rds"); // CommonJS import - * const client = new RDSClient(config); - * const command = new DescribeInstallationMediaCommand(input); - * const response = await client.send(command); - * ``` - * - * @see {@link DescribeInstallationMediaCommandInput} for command's `input` shape. - * @see {@link DescribeInstallationMediaCommandOutput} for command's `response` shape. - * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape. - * - */ -export class DescribeInstallationMediaCommand extends $Command< - DescribeInstallationMediaCommandInput, - DescribeInstallationMediaCommandOutput, - RDSClientResolvedConfig -> { - // Start section: command_properties - // End section: command_properties - - constructor(readonly input: DescribeInstallationMediaCommandInput) { - // Start section: command_constructor - super(); - // End section: command_constructor - } - - /** - * @internal - */ - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: RDSClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - - const stack = clientStack.concat(this.middlewareStack); - - const { logger } = configuration; - const clientName = "RDSClient"; - const commandName = "DescribeInstallationMediaCommand"; - const handlerExecutionContext: HandlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: DescribeInstallationMediaMessage.filterSensitiveLog, - outputFilterSensitiveLog: InstallationMediaMessage.filterSensitiveLog, - }; - const { requestHandler } = configuration; - return stack.resolve( - (request: FinalizeHandlerArguments) => - requestHandler.handle(request.request as __HttpRequest, options || {}), - handlerExecutionContext - ); - } - - private serialize(input: DescribeInstallationMediaCommandInput, context: __SerdeContext): Promise<__HttpRequest> { - return serializeAws_queryDescribeInstallationMediaCommand(input, context); - } - - private deserialize( - output: __HttpResponse, - context: __SerdeContext - ): Promise { - return deserializeAws_queryDescribeInstallationMediaCommand(output, context); - } - - // Start section: command_body_extra - // End section: command_body_extra -} diff --git a/clients/client-rds/src/commands/ImportInstallationMediaCommand.ts b/clients/client-rds/src/commands/ImportInstallationMediaCommand.ts deleted file mode 100644 index 13ee5b5ea66b..000000000000 --- a/clients/client-rds/src/commands/ImportInstallationMediaCommand.ts +++ /dev/null @@ -1,97 +0,0 @@ -import { getSerdePlugin } from "@aws-sdk/middleware-serde"; -import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http"; -import { Command as $Command } from "@aws-sdk/smithy-client"; -import { - FinalizeHandlerArguments, - Handler, - HandlerExecutionContext, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, - SerdeContext as __SerdeContext, -} from "@aws-sdk/types"; - -import { InstallationMedia } from "../models/models_0"; -import { ImportInstallationMediaMessage } from "../models/models_1"; -import { - deserializeAws_queryImportInstallationMediaCommand, - serializeAws_queryImportInstallationMediaCommand, -} from "../protocols/Aws_query"; -import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient"; - -export interface ImportInstallationMediaCommandInput extends ImportInstallationMediaMessage {} -export interface ImportInstallationMediaCommandOutput extends InstallationMedia, __MetadataBearer {} - -/** - *

    Imports the installation media for a DB engine that requires an on-premises - * customer provided license, such as SQL Server.

    - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { RDSClient, ImportInstallationMediaCommand } from "@aws-sdk/client-rds"; // ES Modules import - * // const { RDSClient, ImportInstallationMediaCommand } = require("@aws-sdk/client-rds"); // CommonJS import - * const client = new RDSClient(config); - * const command = new ImportInstallationMediaCommand(input); - * const response = await client.send(command); - * ``` - * - * @see {@link ImportInstallationMediaCommandInput} for command's `input` shape. - * @see {@link ImportInstallationMediaCommandOutput} for command's `response` shape. - * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape. - * - */ -export class ImportInstallationMediaCommand extends $Command< - ImportInstallationMediaCommandInput, - ImportInstallationMediaCommandOutput, - RDSClientResolvedConfig -> { - // Start section: command_properties - // End section: command_properties - - constructor(readonly input: ImportInstallationMediaCommandInput) { - // Start section: command_constructor - super(); - // End section: command_constructor - } - - /** - * @internal - */ - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: RDSClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - - const stack = clientStack.concat(this.middlewareStack); - - const { logger } = configuration; - const clientName = "RDSClient"; - const commandName = "ImportInstallationMediaCommand"; - const handlerExecutionContext: HandlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: ImportInstallationMediaMessage.filterSensitiveLog, - outputFilterSensitiveLog: InstallationMedia.filterSensitiveLog, - }; - const { requestHandler } = configuration; - return stack.resolve( - (request: FinalizeHandlerArguments) => - requestHandler.handle(request.request as __HttpRequest, options || {}), - handlerExecutionContext - ); - } - - private serialize(input: ImportInstallationMediaCommandInput, context: __SerdeContext): Promise<__HttpRequest> { - return serializeAws_queryImportInstallationMediaCommand(input, context); - } - - private deserialize(output: __HttpResponse, context: __SerdeContext): Promise { - return deserializeAws_queryImportInstallationMediaCommand(output, context); - } - - // Start section: command_body_extra - // End section: command_body_extra -} diff --git a/clients/client-rds/src/commands/ModifyCertificatesCommand.ts b/clients/client-rds/src/commands/ModifyCertificatesCommand.ts index 8ce02b80d04e..f8bb5851fd07 100644 --- a/clients/client-rds/src/commands/ModifyCertificatesCommand.ts +++ b/clients/client-rds/src/commands/ModifyCertificatesCommand.ts @@ -23,7 +23,7 @@ export interface ModifyCertificatesCommandOutput extends ModifyCertificatesResul /** *

    Override the system-default Secure Sockets Layer/Transport Layer Security (SSL/TLS) - * certificate for Amazon RDS for new DB instances temporarily, or remove the override.

    + * certificate for Amazon RDS for new DB instances, or remove the override.

    *

    By using this operation, you can specify an RDS-approved SSL/TLS certificate for new DB * instances that is different from the default certificate provided by RDS. You can also * use this operation to remove the override, so that new DB instances use the default diff --git a/clients/client-rds/src/commands/index.ts b/clients/client-rds/src/commands/index.ts index b2d9332d684e..ac11d8eee62f 100644 --- a/clients/client-rds/src/commands/index.ts +++ b/clients/client-rds/src/commands/index.ts @@ -11,7 +11,6 @@ export * from "./CopyDBClusterSnapshotCommand"; export * from "./CopyDBParameterGroupCommand"; export * from "./CopyDBSnapshotCommand"; export * from "./CopyOptionGroupCommand"; -export * from "./CreateCustomAvailabilityZoneCommand"; export * from "./CreateCustomDBEngineVersionCommand"; export * from "./CreateDBClusterCommand"; export * from "./CreateDBClusterEndpointCommand"; @@ -28,7 +27,6 @@ export * from "./CreateDBSubnetGroupCommand"; export * from "./CreateEventSubscriptionCommand"; export * from "./CreateGlobalClusterCommand"; export * from "./CreateOptionGroupCommand"; -export * from "./DeleteCustomAvailabilityZoneCommand"; export * from "./DeleteCustomDBEngineVersionCommand"; export * from "./DeleteDBClusterCommand"; export * from "./DeleteDBClusterEndpointCommand"; @@ -44,12 +42,10 @@ export * from "./DeleteDBSnapshotCommand"; export * from "./DeleteDBSubnetGroupCommand"; export * from "./DeleteEventSubscriptionCommand"; export * from "./DeleteGlobalClusterCommand"; -export * from "./DeleteInstallationMediaCommand"; export * from "./DeleteOptionGroupCommand"; export * from "./DeregisterDBProxyTargetsCommand"; export * from "./DescribeAccountAttributesCommand"; export * from "./DescribeCertificatesCommand"; -export * from "./DescribeCustomAvailabilityZonesCommand"; export * from "./DescribeDBClusterBacktracksCommand"; export * from "./DescribeDBClusterEndpointsCommand"; export * from "./DescribeDBClusterParameterGroupsCommand"; @@ -78,7 +74,6 @@ export * from "./DescribeEventSubscriptionsCommand"; export * from "./DescribeEventsCommand"; export * from "./DescribeExportTasksCommand"; export * from "./DescribeGlobalClustersCommand"; -export * from "./DescribeInstallationMediaCommand"; export * from "./DescribeOptionGroupOptionsCommand"; export * from "./DescribeOptionGroupsCommand"; export * from "./DescribeOrderableDBInstanceOptionsCommand"; @@ -90,7 +85,6 @@ export * from "./DescribeValidDBInstanceModificationsCommand"; export * from "./DownloadDBLogFilePortionCommand"; export * from "./FailoverDBClusterCommand"; export * from "./FailoverGlobalClusterCommand"; -export * from "./ImportInstallationMediaCommand"; export * from "./ListTagsForResourceCommand"; export * from "./ModifyCertificatesCommand"; export * from "./ModifyCurrentDBClusterCapacityCommand"; diff --git a/clients/client-rds/src/models/models_0.ts b/clients/client-rds/src/models/models_0.ts index 53ad08976954..ab65ea74b70d 100644 --- a/clients/client-rds/src/models/models_0.ts +++ b/clients/client-rds/src/models/models_0.ts @@ -1,4 +1,4 @@ -import { ExceptionOptionType as __ExceptionOptionType, SENSITIVE_STRING } from "@aws-sdk/smithy-client"; +import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client"; import { MetadataBearer as $MetadataBearer } from "@aws-sdk/types"; import { RDSServiceException as __BaseException } from "./RDSServiceException"; @@ -2961,196 +2961,6 @@ export class OptionGroupQuotaExceededFault extends __BaseException { } } -/** - *

    - */ -export interface CreateCustomAvailabilityZoneMessage { - /** - *

    The name of the custom Availability Zone (AZ).

    - */ - CustomAvailabilityZoneName: string | undefined; - - /** - *

    The ID of an existing virtual private network (VPN) between the Amazon RDS website and - * the VMware vSphere cluster.

    - */ - ExistingVpnId?: string; - - /** - *

    The name of a new VPN tunnel between the Amazon RDS website and the VMware vSphere cluster.

    - *

    Specify this parameter only if ExistingVpnId isn't specified.

    - */ - NewVpnTunnelName?: string; - - /** - *

    The IP address of network traffic from your on-premises data center. A custom AZ receives the network traffic.

    - *

    Specify this parameter only if ExistingVpnId isn't specified.

    - */ - VpnTunnelOriginatorIP?: string; -} - -export namespace CreateCustomAvailabilityZoneMessage { - /** - * @internal - */ - export const filterSensitiveLog = (obj: CreateCustomAvailabilityZoneMessage): any => ({ - ...obj, - }); -} - -/** - *

    Information about the virtual private network (VPN) between the VMware vSphere cluster and the Amazon Web Services website.

    - *

    For more information about RDS on VMware, see the - * - * RDS on VMware User Guide. - *

    - */ -export interface VpnDetails { - /** - *

    The ID of the VPN.

    - */ - VpnId?: string; - - /** - *

    The IP address of network traffic from your on-premises data center. A custom AZ receives the network traffic.

    - */ - VpnTunnelOriginatorIP?: string; - - /** - *

    The IP address of network traffic from Amazon Web Services to your on-premises data center.

    - */ - VpnGatewayIp?: string; - - /** - *

    The preshared key (PSK) for the VPN.

    - */ - VpnPSK?: string; - - /** - *

    The name of the VPN.

    - */ - VpnName?: string; - - /** - *

    The state of the VPN.

    - */ - VpnState?: string; -} - -export namespace VpnDetails { - /** - * @internal - */ - export const filterSensitiveLog = (obj: VpnDetails): any => ({ - ...obj, - ...(obj.VpnPSK && { VpnPSK: SENSITIVE_STRING }), - }); -} - -/** - *

    A custom Availability Zone (AZ) is an on-premises AZ that is integrated with a VMware vSphere cluster.

    - *

    For more information about RDS on VMware, see the - * - * RDS on VMware User Guide. - *

    - */ -export interface CustomAvailabilityZone { - /** - *

    The identifier of the custom AZ.

    - *

    Amazon RDS generates a unique identifier when a custom AZ is created.

    - */ - CustomAvailabilityZoneId?: string; - - /** - *

    The name of the custom AZ.

    - */ - CustomAvailabilityZoneName?: string; - - /** - *

    The status of the custom AZ.

    - */ - CustomAvailabilityZoneStatus?: string; - - /** - *

    Information about the virtual private network (VPN) between the VMware vSphere cluster - * and the Amazon Web Services website.

    - */ - VpnDetails?: VpnDetails; -} - -export namespace CustomAvailabilityZone { - /** - * @internal - */ - export const filterSensitiveLog = (obj: CustomAvailabilityZone): any => ({ - ...obj, - ...(obj.VpnDetails && { VpnDetails: VpnDetails.filterSensitiveLog(obj.VpnDetails) }), - }); -} - -export interface CreateCustomAvailabilityZoneResult { - /** - *

    A custom Availability Zone (AZ) is an on-premises AZ that is integrated with a VMware vSphere cluster.

    - *

    For more information about RDS on VMware, see the - * - * RDS on VMware User Guide. - *

    - */ - CustomAvailabilityZone?: CustomAvailabilityZone; -} - -export namespace CreateCustomAvailabilityZoneResult { - /** - * @internal - */ - export const filterSensitiveLog = (obj: CreateCustomAvailabilityZoneResult): any => ({ - ...obj, - ...(obj.CustomAvailabilityZone && { - CustomAvailabilityZone: CustomAvailabilityZone.filterSensitiveLog(obj.CustomAvailabilityZone), - }), - }); -} - -/** - *

    - * CustomAvailabilityZoneName is already used by an existing custom - * Availability Zone.

    - */ -export class CustomAvailabilityZoneAlreadyExistsFault extends __BaseException { - readonly name: "CustomAvailabilityZoneAlreadyExistsFault" = "CustomAvailabilityZoneAlreadyExistsFault"; - readonly $fault: "client" = "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType) { - super({ - name: "CustomAvailabilityZoneAlreadyExistsFault", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, CustomAvailabilityZoneAlreadyExistsFault.prototype); - } -} - -/** - *

    You have exceeded the maximum number of custom Availability Zones.

    - */ -export class CustomAvailabilityZoneQuotaExceededFault extends __BaseException { - readonly name: "CustomAvailabilityZoneQuotaExceededFault" = "CustomAvailabilityZoneQuotaExceededFault"; - readonly $fault: "client" = "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType) { - super({ - name: "CustomAvailabilityZoneQuotaExceededFault", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, CustomAvailabilityZoneQuotaExceededFault.prototype); - } -} - export interface CreateCustomDBEngineVersionMessage { /** *

    The database engine to use for your custom engine version (CEV). The only supported value is @@ -6122,7 +5932,8 @@ export interface CreateDBInstanceMessage { *

    * Amazon Aurora *

    - *

    Not applicable. Availability Zones are managed by the DB cluster.

    + *

    Each Aurora DB cluster hosts copies of its storage in three separate Availability Zones. Specify one of these + * Availability Zones. Aurora automatically chooses an appropriate Availability Zone if you don't specify one.

    *

    Default: A random, system-chosen Availability Zone in the endpoint's Amazon Web Services Region.

    *

    Example: us-east-1d *

    @@ -9967,45 +9778,6 @@ export namespace CreateOptionGroupResult { }); } -export interface DeleteCustomAvailabilityZoneMessage { - /** - *

    The custom AZ identifier.

    - */ - CustomAvailabilityZoneId: string | undefined; -} - -export namespace DeleteCustomAvailabilityZoneMessage { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DeleteCustomAvailabilityZoneMessage): any => ({ - ...obj, - }); -} - -export interface DeleteCustomAvailabilityZoneResult { - /** - *

    A custom Availability Zone (AZ) is an on-premises AZ that is integrated with a VMware vSphere cluster.

    - *

    For more information about RDS on VMware, see the - * - * RDS on VMware User Guide. - *

    - */ - CustomAvailabilityZone?: CustomAvailabilityZone; -} - -export namespace DeleteCustomAvailabilityZoneResult { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DeleteCustomAvailabilityZoneResult): any => ({ - ...obj, - ...(obj.CustomAvailabilityZone && { - CustomAvailabilityZone: CustomAvailabilityZone.filterSensitiveLog(obj.CustomAvailabilityZone), - }), - }); -} - /** *

    The specified CEV was not found.

    */ @@ -11035,118 +10807,6 @@ export namespace DeleteGlobalClusterResult { }); } -export interface DeleteInstallationMediaMessage { - /** - *

    The installation medium ID.

    - */ - InstallationMediaId: string | undefined; -} - -export namespace DeleteInstallationMediaMessage { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DeleteInstallationMediaMessage): any => ({ - ...obj, - }); -} - -/** - *

    Contains the cause of an installation media failure. Installation media is used - * for a DB engine that requires an on-premises - * customer provided license, such as Microsoft SQL Server.

    - */ -export interface InstallationMediaFailureCause { - /** - *

    The reason that an installation media import failed.

    - */ - Message?: string; -} - -export namespace InstallationMediaFailureCause { - /** - * @internal - */ - export const filterSensitiveLog = (obj: InstallationMediaFailureCause): any => ({ - ...obj, - }); -} - -/** - *

    Contains the installation media for a DB engine that requires an on-premises - * customer provided license, such as Microsoft SQL Server.

    - */ -export interface InstallationMedia { - /** - *

    The installation medium ID.

    - */ - InstallationMediaId?: string; - - /** - *

    The custom Availability Zone (AZ) that contains the installation media.

    - */ - CustomAvailabilityZoneId?: string; - - /** - *

    The DB engine.

    - */ - Engine?: string; - - /** - *

    The engine version of the DB engine.

    - */ - EngineVersion?: string; - - /** - *

    The path to the installation medium for the DB engine.

    - */ - EngineInstallationMediaPath?: string; - - /** - *

    The path to the installation medium for the operating system associated with the DB engine.

    - */ - OSInstallationMediaPath?: string; - - /** - *

    The status of the installation medium.

    - */ - Status?: string; - - /** - *

    If an installation media failure occurred, the cause of the failure.

    - */ - FailureCause?: InstallationMediaFailureCause; -} - -export namespace InstallationMedia { - /** - * @internal - */ - export const filterSensitiveLog = (obj: InstallationMedia): any => ({ - ...obj, - }); -} - -/** - *

    - * InstallationMediaID doesn't refer to an existing installation medium.

    - */ -export class InstallationMediaNotFoundFault extends __BaseException { - readonly name: "InstallationMediaNotFoundFault" = "InstallationMediaNotFoundFault"; - readonly $fault: "client" = "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType) { - super({ - name: "InstallationMediaNotFoundFault", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, InstallationMediaNotFoundFault.prototype); - } -} - /** *

    */ @@ -11473,75 +11133,6 @@ export namespace DescribeCertificatesMessage { }); } -export interface CustomAvailabilityZoneMessage { - /** - *

    An optional pagination token provided by a previous - * DescribeCustomAvailabilityZones request. - * If this parameter is specified, the response includes - * only records beyond the marker, - * up to the value specified by MaxRecords.

    - */ - Marker?: string; - - /** - *

    The list of CustomAvailabilityZone objects for the Amazon Web Services account.

    - */ - CustomAvailabilityZones?: CustomAvailabilityZone[]; -} - -export namespace CustomAvailabilityZoneMessage { - /** - * @internal - */ - export const filterSensitiveLog = (obj: CustomAvailabilityZoneMessage): any => ({ - ...obj, - ...(obj.CustomAvailabilityZones && { - CustomAvailabilityZones: obj.CustomAvailabilityZones.map((item) => - CustomAvailabilityZone.filterSensitiveLog(item) - ), - }), - }); -} - -export interface DescribeCustomAvailabilityZonesMessage { - /** - *

    The custom AZ identifier. If this parameter is specified, information from only the specific custom AZ is returned.

    - */ - CustomAvailabilityZoneId?: string; - - /** - *

    A filter that specifies one or more custom AZs to describe.

    - */ - Filters?: Filter[]; - - /** - *

    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; - - /** - *

    An optional pagination token provided by a previous - * DescribeCustomAvailabilityZones request. - * If this parameter is specified, the response includes - * only records beyond the marker, - * up to the value specified by MaxRecords.

    - */ - Marker?: string; -} - -export namespace DescribeCustomAvailabilityZonesMessage { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DescribeCustomAvailabilityZonesMessage): any => ({ - ...obj, - }); -} - /** *

    Contains the result of a successful invocation of the DescribeDBClusterBacktracks action.

    */ @@ -13469,3 +13060,342 @@ export namespace DescribeDBProxyTargetsRequest { ...obj, }); } + +export enum TargetRole { + READ_ONLY = "READ_ONLY", + READ_WRITE = "READ_WRITE", + UNKNOWN = "UNKNOWN", +} + +export enum TargetHealthReason { + AUTH_FAILURE = "AUTH_FAILURE", + CONNECTION_FAILED = "CONNECTION_FAILED", + INVALID_REPLICATION_STATE = "INVALID_REPLICATION_STATE", + PENDING_PROXY_CAPACITY = "PENDING_PROXY_CAPACITY", + UNREACHABLE = "UNREACHABLE", +} + +export enum TargetState { + available = "AVAILABLE", + registering = "REGISTERING", + unavailable = "UNAVAILABLE", +} + +/** + *

    Information about the connection health of an RDS Proxy target.

    + */ +export interface TargetHealth { + /** + *

    The current state of the connection health lifecycle for the RDS Proxy target. + * The following is a typical lifecycle example for the states of an RDS Proxy target:

    + *

    + * registering > unavailable > available > unavailable > available + *

    + */ + State?: TargetState | string; + + /** + *

    The reason for the current health State of the RDS Proxy target.

    + */ + Reason?: TargetHealthReason | string; + + /** + *

    A description of the health of the RDS Proxy target. + * If the State is AVAILABLE, a description is not included.

    + */ + Description?: string; +} + +export namespace TargetHealth { + /** + * @internal + */ + export const filterSensitiveLog = (obj: TargetHealth): any => ({ + ...obj, + }); +} + +export enum TargetType { + RDS_INSTANCE = "RDS_INSTANCE", + RDS_SERVERLESS_ENDPOINT = "RDS_SERVERLESS_ENDPOINT", + TRACKED_CLUSTER = "TRACKED_CLUSTER", +} + +/** + *

    Contains the details for an RDS Proxy target. It represents an RDS DB instance or Aurora DB cluster + * that the proxy can connect to. One or more targets are associated with an RDS Proxy target group.

    + *

    This data type is used as a response element in the DescribeDBProxyTargets action.

    + */ +export interface DBProxyTarget { + /** + *

    The Amazon Resource Name (ARN) for the RDS DB instance or Aurora DB cluster.

    + */ + TargetArn?: string; + + /** + *

    The writer endpoint for the RDS DB instance or Aurora DB cluster.

    + */ + Endpoint?: string; + + /** + *

    The DB cluster identifier when the target represents an Aurora DB cluster. This field is blank when the target represents an RDS DB instance.

    + */ + TrackedClusterId?: string; + + /** + *

    The identifier representing the target. It can be the instance identifier for an RDS DB instance, + * or the cluster identifier for an Aurora DB cluster.

    + */ + RdsResourceId?: string; + + /** + *

    The port that the RDS Proxy uses to connect to the target RDS DB instance or Aurora DB cluster.

    + */ + Port?: number; + + /** + *

    Specifies the kind of database, such as an RDS DB instance or an Aurora DB cluster, that the target represents.

    + */ + Type?: TargetType | string; + + /** + *

    A value that indicates whether the target of the proxy can be used for read/write or read-only operations.

    + */ + Role?: TargetRole | string; + + /** + *

    Information about the connection health of the RDS Proxy target.

    + */ + TargetHealth?: TargetHealth; +} + +export namespace DBProxyTarget { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DBProxyTarget): any => ({ + ...obj, + }); +} + +export interface DescribeDBProxyTargetsResponse { + /** + *

    An arbitrary number of DBProxyTarget objects, containing details of the corresponding targets.

    + */ + Targets?: DBProxyTarget[]; + + /** + *

    An optional pagination token provided by a previous request. + * If this parameter is specified, the response includes only records beyond the marker, + * up to the value specified by MaxRecords.

    + */ + Marker?: string; +} + +export namespace DescribeDBProxyTargetsResponse { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeDBProxyTargetsResponse): any => ({ + ...obj, + }); +} + +/** + *

    Contains the result of a successful invocation of the DescribeDBSecurityGroups action.

    + */ +export interface DBSecurityGroupMessage { + /** + *

    An optional pagination token provided by a previous request. + * If this parameter is specified, the response includes + * only records beyond the marker, + * up to the value specified by MaxRecords.

    + */ + Marker?: string; + + /** + *

    A list of DBSecurityGroup instances.

    + */ + DBSecurityGroups?: DBSecurityGroup[]; +} + +export namespace DBSecurityGroupMessage { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DBSecurityGroupMessage): any => ({ + ...obj, + }); +} + +/** + *

    + */ +export interface DescribeDBSecurityGroupsMessage { + /** + *

    The name of the DB security group to return details for.

    + */ + DBSecurityGroupName?: string; + + /** + *

    This parameter isn't currently supported.

    + */ + Filters?: Filter[]; + + /** + *

    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 that + * you can retrieve the remaining results.

    + *

    Default: 100

    + *

    Constraints: Minimum 20, maximum 100.

    + */ + MaxRecords?: number; + + /** + *

    An optional pagination token provided by a previous + * DescribeDBSecurityGroups request. + * If this parameter is specified, the response includes + * only records beyond the marker, + * up to the value specified by MaxRecords.

    + */ + Marker?: string; +} + +export namespace DescribeDBSecurityGroupsMessage { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeDBSecurityGroupsMessage): any => ({ + ...obj, + }); +} + +/** + *

    + */ +export interface DescribeDBSnapshotAttributesMessage { + /** + *

    The identifier for the DB snapshot to describe the attributes for.

    + */ + DBSnapshotIdentifier: string | undefined; +} + +export namespace DescribeDBSnapshotAttributesMessage { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeDBSnapshotAttributesMessage): any => ({ + ...obj, + }); +} + +/** + *

    Contains the name and values of a manual DB snapshot attribute

    + *

    Manual DB snapshot attributes are used to authorize other Amazon Web Services accounts + * to restore a manual DB snapshot. For more information, see the ModifyDBSnapshotAttribute + * API.

    + */ +export interface DBSnapshotAttribute { + /** + *

    The name of the manual DB snapshot attribute.

    + *

    The attribute named restore refers to the list of Amazon Web Services accounts that + * have permission to copy or restore the manual DB cluster snapshot. For more information, + * see the ModifyDBSnapshotAttribute + * API action.

    + */ + AttributeName?: string; + + /** + *

    The value or values for the manual DB snapshot attribute.

    + *

    If the AttributeName field is set to restore, then this element + * returns a list of IDs of the Amazon Web Services accounts that are authorized to copy or restore the manual + * DB snapshot. If a value of all is in the list, then the manual DB snapshot + * is public and available for any Amazon Web Services account to copy or restore.

    + */ + AttributeValues?: string[]; +} + +export namespace DBSnapshotAttribute { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DBSnapshotAttribute): any => ({ + ...obj, + }); +} + +/** + *

    Contains the results of a successful call to the DescribeDBSnapshotAttributes + * API action.

    + *

    Manual DB snapshot attributes are used to authorize other Amazon Web Services accounts + * to copy or restore a manual DB snapshot. For more information, see the ModifyDBSnapshotAttribute + * API action.

    + */ +export interface DBSnapshotAttributesResult { + /** + *

    The identifier of the manual DB snapshot that the attributes apply to.

    + */ + DBSnapshotIdentifier?: string; + + /** + *

    The list of attributes and values for the manual DB snapshot.

    + */ + DBSnapshotAttributes?: DBSnapshotAttribute[]; +} + +export namespace DBSnapshotAttributesResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DBSnapshotAttributesResult): any => ({ + ...obj, + }); +} + +export interface DescribeDBSnapshotAttributesResult { + /** + *

    Contains the results of a successful call to the DescribeDBSnapshotAttributes + * API action.

    + *

    Manual DB snapshot attributes are used to authorize other Amazon Web Services accounts + * to copy or restore a manual DB snapshot. For more information, see the ModifyDBSnapshotAttribute + * API action.

    + */ + DBSnapshotAttributesResult?: DBSnapshotAttributesResult; +} + +export namespace DescribeDBSnapshotAttributesResult { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DescribeDBSnapshotAttributesResult): any => ({ + ...obj, + }); +} + +/** + *

    Contains the result of a successful invocation of the DescribeDBSnapshots action.

    + */ +export interface DBSnapshotMessage { + /** + *

    An optional pagination token provided by a previous request. + * If this parameter is specified, the response includes + * only records beyond the marker, + * up to the value specified by MaxRecords.

    + */ + Marker?: string; + + /** + *

    A list of DBSnapshot instances.

    + */ + DBSnapshots?: DBSnapshot[]; +} + +export namespace DBSnapshotMessage { + /** + * @internal + */ + export const filterSensitiveLog = (obj: DBSnapshotMessage): any => ({ + ...obj, + }); +} diff --git a/clients/client-rds/src/models/models_1.ts b/clients/client-rds/src/models/models_1.ts index 5f4a26d3a513..ab424b8a71de 100644 --- a/clients/client-rds/src/models/models_1.ts +++ b/clients/client-rds/src/models/models_1.ts @@ -13,15 +13,16 @@ import { DBInstanceAutomatedBackup, DBProxy, DBProxyEndpoint, + DBProxyTarget, DBProxyTargetGroup, DBSecurityGroup, DBSnapshot, + DBSnapshotAttributesResult, DBSubnetGroup, EventSubscription, ExportTask, Filter, GlobalCluster, - InstallationMedia, OptionGroup, OptionSetting, Parameter, @@ -34,345 +35,6 @@ import { } from "./models_0"; import { RDSServiceException as __BaseException } from "./RDSServiceException"; -export enum TargetRole { - READ_ONLY = "READ_ONLY", - READ_WRITE = "READ_WRITE", - UNKNOWN = "UNKNOWN", -} - -export enum TargetHealthReason { - AUTH_FAILURE = "AUTH_FAILURE", - CONNECTION_FAILED = "CONNECTION_FAILED", - INVALID_REPLICATION_STATE = "INVALID_REPLICATION_STATE", - PENDING_PROXY_CAPACITY = "PENDING_PROXY_CAPACITY", - UNREACHABLE = "UNREACHABLE", -} - -export enum TargetState { - available = "AVAILABLE", - registering = "REGISTERING", - unavailable = "UNAVAILABLE", -} - -/** - *

    Information about the connection health of an RDS Proxy target.

    - */ -export interface TargetHealth { - /** - *

    The current state of the connection health lifecycle for the RDS Proxy target. - * The following is a typical lifecycle example for the states of an RDS Proxy target:

    - *

    - * registering > unavailable > available > unavailable > available - *

    - */ - State?: TargetState | string; - - /** - *

    The reason for the current health State of the RDS Proxy target.

    - */ - Reason?: TargetHealthReason | string; - - /** - *

    A description of the health of the RDS Proxy target. - * If the State is AVAILABLE, a description is not included.

    - */ - Description?: string; -} - -export namespace TargetHealth { - /** - * @internal - */ - export const filterSensitiveLog = (obj: TargetHealth): any => ({ - ...obj, - }); -} - -export enum TargetType { - RDS_INSTANCE = "RDS_INSTANCE", - RDS_SERVERLESS_ENDPOINT = "RDS_SERVERLESS_ENDPOINT", - TRACKED_CLUSTER = "TRACKED_CLUSTER", -} - -/** - *

    Contains the details for an RDS Proxy target. It represents an RDS DB instance or Aurora DB cluster - * that the proxy can connect to. One or more targets are associated with an RDS Proxy target group.

    - *

    This data type is used as a response element in the DescribeDBProxyTargets action.

    - */ -export interface DBProxyTarget { - /** - *

    The Amazon Resource Name (ARN) for the RDS DB instance or Aurora DB cluster.

    - */ - TargetArn?: string; - - /** - *

    The writer endpoint for the RDS DB instance or Aurora DB cluster.

    - */ - Endpoint?: string; - - /** - *

    The DB cluster identifier when the target represents an Aurora DB cluster. This field is blank when the target represents an RDS DB instance.

    - */ - TrackedClusterId?: string; - - /** - *

    The identifier representing the target. It can be the instance identifier for an RDS DB instance, - * or the cluster identifier for an Aurora DB cluster.

    - */ - RdsResourceId?: string; - - /** - *

    The port that the RDS Proxy uses to connect to the target RDS DB instance or Aurora DB cluster.

    - */ - Port?: number; - - /** - *

    Specifies the kind of database, such as an RDS DB instance or an Aurora DB cluster, that the target represents.

    - */ - Type?: TargetType | string; - - /** - *

    A value that indicates whether the target of the proxy can be used for read/write or read-only operations.

    - */ - Role?: TargetRole | string; - - /** - *

    Information about the connection health of the RDS Proxy target.

    - */ - TargetHealth?: TargetHealth; -} - -export namespace DBProxyTarget { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DBProxyTarget): any => ({ - ...obj, - }); -} - -export interface DescribeDBProxyTargetsResponse { - /** - *

    An arbitrary number of DBProxyTarget objects, containing details of the corresponding targets.

    - */ - Targets?: DBProxyTarget[]; - - /** - *

    An optional pagination token provided by a previous request. - * If this parameter is specified, the response includes only records beyond the marker, - * up to the value specified by MaxRecords.

    - */ - Marker?: string; -} - -export namespace DescribeDBProxyTargetsResponse { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DescribeDBProxyTargetsResponse): any => ({ - ...obj, - }); -} - -/** - *

    Contains the result of a successful invocation of the DescribeDBSecurityGroups action.

    - */ -export interface DBSecurityGroupMessage { - /** - *

    An optional pagination token provided by a previous request. - * If this parameter is specified, the response includes - * only records beyond the marker, - * up to the value specified by MaxRecords.

    - */ - Marker?: string; - - /** - *

    A list of DBSecurityGroup instances.

    - */ - DBSecurityGroups?: DBSecurityGroup[]; -} - -export namespace DBSecurityGroupMessage { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DBSecurityGroupMessage): any => ({ - ...obj, - }); -} - -/** - *

    - */ -export interface DescribeDBSecurityGroupsMessage { - /** - *

    The name of the DB security group to return details for.

    - */ - DBSecurityGroupName?: string; - - /** - *

    This parameter isn't currently supported.

    - */ - Filters?: Filter[]; - - /** - *

    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 that - * you can retrieve the remaining results.

    - *

    Default: 100

    - *

    Constraints: Minimum 20, maximum 100.

    - */ - MaxRecords?: number; - - /** - *

    An optional pagination token provided by a previous - * DescribeDBSecurityGroups request. - * If this parameter is specified, the response includes - * only records beyond the marker, - * up to the value specified by MaxRecords.

    - */ - Marker?: string; -} - -export namespace DescribeDBSecurityGroupsMessage { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DescribeDBSecurityGroupsMessage): any => ({ - ...obj, - }); -} - -/** - *

    - */ -export interface DescribeDBSnapshotAttributesMessage { - /** - *

    The identifier for the DB snapshot to describe the attributes for.

    - */ - DBSnapshotIdentifier: string | undefined; -} - -export namespace DescribeDBSnapshotAttributesMessage { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DescribeDBSnapshotAttributesMessage): any => ({ - ...obj, - }); -} - -/** - *

    Contains the name and values of a manual DB snapshot attribute

    - *

    Manual DB snapshot attributes are used to authorize other Amazon Web Services accounts - * to restore a manual DB snapshot. For more information, see the ModifyDBSnapshotAttribute - * API.

    - */ -export interface DBSnapshotAttribute { - /** - *

    The name of the manual DB snapshot attribute.

    - *

    The attribute named restore refers to the list of Amazon Web Services accounts that - * have permission to copy or restore the manual DB cluster snapshot. For more information, - * see the ModifyDBSnapshotAttribute - * API action.

    - */ - AttributeName?: string; - - /** - *

    The value or values for the manual DB snapshot attribute.

    - *

    If the AttributeName field is set to restore, then this element - * returns a list of IDs of the Amazon Web Services accounts that are authorized to copy or restore the manual - * DB snapshot. If a value of all is in the list, then the manual DB snapshot - * is public and available for any Amazon Web Services account to copy or restore.

    - */ - AttributeValues?: string[]; -} - -export namespace DBSnapshotAttribute { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DBSnapshotAttribute): any => ({ - ...obj, - }); -} - -/** - *

    Contains the results of a successful call to the DescribeDBSnapshotAttributes - * API action.

    - *

    Manual DB snapshot attributes are used to authorize other Amazon Web Services accounts - * to copy or restore a manual DB snapshot. For more information, see the ModifyDBSnapshotAttribute - * API action.

    - */ -export interface DBSnapshotAttributesResult { - /** - *

    The identifier of the manual DB snapshot that the attributes apply to.

    - */ - DBSnapshotIdentifier?: string; - - /** - *

    The list of attributes and values for the manual DB snapshot.

    - */ - DBSnapshotAttributes?: DBSnapshotAttribute[]; -} - -export namespace DBSnapshotAttributesResult { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DBSnapshotAttributesResult): any => ({ - ...obj, - }); -} - -export interface DescribeDBSnapshotAttributesResult { - /** - *

    Contains the results of a successful call to the DescribeDBSnapshotAttributes - * API action.

    - *

    Manual DB snapshot attributes are used to authorize other Amazon Web Services accounts - * to copy or restore a manual DB snapshot. For more information, see the ModifyDBSnapshotAttribute - * API action.

    - */ - DBSnapshotAttributesResult?: DBSnapshotAttributesResult; -} - -export namespace DescribeDBSnapshotAttributesResult { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DescribeDBSnapshotAttributesResult): any => ({ - ...obj, - }); -} - -/** - *

    Contains the result of a successful invocation of the DescribeDBSnapshots action.

    - */ -export interface DBSnapshotMessage { - /** - *

    An optional pagination token provided by a previous request. - * If this parameter is specified, the response includes - * only records beyond the marker, - * up to the value specified by MaxRecords.

    - */ - Marker?: string; - - /** - *

    A list of DBSnapshot instances.

    - */ - DBSnapshots?: DBSnapshot[]; -} - -export namespace DBSnapshotMessage { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DBSnapshotMessage): any => ({ - ...obj, - }); -} - /** *

    */ @@ -695,6 +357,204 @@ export namespace DescribeEngineDefaultClusterParametersResult { export interface DescribeEngineDefaultParametersMessage { /** *

    The name of the DB parameter group family.

    + *

    Valid Values:

    + *
      + *
    • + *

      + * aurora5.6 + *

      + *
    • + *
    • + *

      + * aurora-mysql5.7 + *

      + *
    • + *
    • + *

      + * aurora-mysql8.0 + *

      + *
    • + *
    • + *

      + * aurora-postgresql10 + *

      + *
    • + *
    • + *

      + * aurora-postgresql11 + *

      + *
    • + *
    • + *

      + * aurora-postgresql12 + *

      + *
    • + *
    • + *

      + * aurora-postgresql13 + *

      + *
    • + *
    • + *

      + * mariadb10.2 + *

      + *
    • + *
    • + *

      + * mariadb10.3 + *

      + *
    • + *
    • + *

      + * mariadb10.4 + *

      + *
    • + *
    • + *

      + * mariadb10.5 + *

      + *
    • + *
    • + *

      + * mariadb10.6 + *

      + *
    • + *
    • + *

      + * mysql5.7 + *

      + *
    • + *
    • + *

      + * mysql8.0 + *

      + *
    • + *
    • + *

      + * postgres10 + *

      + *
    • + *
    • + *

      + * postgres11 + *

      + *
    • + *
    • + *

      + * postgres12 + *

      + *
    • + *
    • + *

      + * postgres13 + *

      + *
    • + *
    • + *

      + * postgres14 + *

      + *
    • + *
    • + *

      + * sqlserver-ee-11.0 + *

      + *
    • + *
    • + *

      + * sqlserver-ee-12.0 + *

      + *
    • + *
    • + *

      + * sqlserver-ee-13.0 + *

      + *
    • + *
    • + *

      + * sqlserver-ee-14.0 + *

      + *
    • + *
    • + *

      + * sqlserver-ee-15.0 + *

      + *
    • + *
    • + *

      + * sqlserver-ex-11.0 + *

      + *
    • + *
    • + *

      + * sqlserver-ex-12.0 + *

      + *
    • + *
    • + *

      + * sqlserver-ex-13.0 + *

      + *
    • + *
    • + *

      + * sqlserver-ex-14.0 + *

      + *
    • + *
    • + *

      + * sqlserver-ex-15.0 + *

      + *
    • + *
    • + *

      + * sqlserver-se-11.0 + *

      + *
    • + *
    • + *

      + * sqlserver-se-12.0 + *

      + *
    • + *
    • + *

      + * sqlserver-se-13.0 + *

      + *
    • + *
    • + *

      + * sqlserver-se-14.0 + *

      + *
    • + *
    • + *

      + * sqlserver-se-15.0 + *

      + *
    • + *
    • + *

      + * sqlserver-web-11.0 + *

      + *
    • + *
    • + *

      + * sqlserver-web-12.0 + *

      + *
    • + *
    • + *

      + * sqlserver-web-13.0 + *

      + *
    • + *
    • + *

      + * sqlserver-web-14.0 + *

      + *
    • + *
    • + *

      + * sqlserver-web-15.0 + *

      + *
    • + *
    */ DBParameterGroupFamily: string | undefined; @@ -1260,82 +1120,6 @@ export namespace GlobalClustersMessage { }); } -export interface DescribeInstallationMediaMessage { - /** - *

    The installation medium ID.

    - */ - InstallationMediaId?: string; - - /** - *

    A filter that specifies one or more installation media to describe. Supported filters - * include the following:

    - *
      - *
    • - *

      - * custom-availability-zone-id - Accepts custom Availability Zone (AZ) - * identifiers. The results list includes information about only the custom AZs - * identified by these identifiers.

      - *
    • - *
    • - *

      - * engine - Accepts database engines. The results list includes information about - * only the database engines identified by these identifiers.

      - *

      For more information about the valid engines for installation media, see ImportInstallationMedia.

      - *
    • - *
    - */ - Filters?: Filter[]; - - /** - *

    An optional pagination token provided by a previous DescribeInstallationMedia request. - * If this parameter is specified, the response includes - * only records beyond the marker, up to the value specified by MaxRecords.

    - */ - MaxRecords?: number; - - /** - *

    An optional pagination token provided by a previous request. - * If this parameter is specified, the response includes - * only records beyond the marker, - * up to the value specified by MaxRecords.

    - */ - Marker?: string; -} - -export namespace DescribeInstallationMediaMessage { - /** - * @internal - */ - export const filterSensitiveLog = (obj: DescribeInstallationMediaMessage): any => ({ - ...obj, - }); -} - -export interface InstallationMediaMessage { - /** - *

    An optional pagination token provided by a previous - * DescribeInstallationMedia request. - * If this parameter is specified, the response includes - * only records beyond the marker, - * up to the value specified by MaxRecords.

    - */ - Marker?: string; - - /** - *

    The list of InstallationMedia objects for the Amazon Web Services account.

    - */ - InstallationMedia?: InstallationMedia[]; -} - -export namespace InstallationMediaMessage { - /** - * @internal - */ - export const filterSensitiveLog = (obj: InstallationMediaMessage): any => ({ - ...obj, - }); -} - /** *

    */ @@ -3215,99 +2999,6 @@ export namespace FailoverGlobalClusterResult { }); } -export interface ImportInstallationMediaMessage { - /** - *

    The identifier of the custom Availability Zone (AZ) to import the installation media to.

    - */ - CustomAvailabilityZoneId: string | undefined; - - /** - *

    The name of the database engine to be used for this instance.

    - *

    The list only includes supported DB engines that require an on-premises - * customer provided license.

    - *

    Valid Values:

    - *
      - *
    • - *

      - * sqlserver-ee - *

      - *
    • - *
    • - *

      - * sqlserver-se - *

      - *
    • - *
    • - *

      - * sqlserver-ex - *

      - *
    • - *
    • - *

      - * sqlserver-web - *

      - *
    • - *
    - */ - Engine: string | undefined; - - /** - *

    The version number of the database engine to use.

    - *

    For a list of valid engine versions, call DescribeDBEngineVersions.

    - *

    The following are the database engines and links to information about the major and minor - * versions. The list only includes DB engines that require an on-premises - * customer provided license.

    - *

    - * Microsoft SQL Server - *

    - *

    See - * Microsoft SQL Server Versions on Amazon RDS in the Amazon RDS User Guide.

    - */ - EngineVersion: string | undefined; - - /** - *

    The path to the installation medium for the specified DB engine.

    - *

    Example: SQLServerISO/en_sql_server_2016_enterprise_x64_dvd_8701793.iso - *

    - */ - EngineInstallationMediaPath: string | undefined; - - /** - *

    The path to the installation medium for the operating system associated with the specified DB engine.

    - *

    Example: WindowsISO/en_windows_server_2016_x64_dvd_9327751.iso - *

    - */ - OSInstallationMediaPath: string | undefined; -} - -export namespace ImportInstallationMediaMessage { - /** - * @internal - */ - export const filterSensitiveLog = (obj: ImportInstallationMediaMessage): any => ({ - ...obj, - }); -} - -/** - *

    The specified installation medium has already been imported.

    - */ -export class InstallationMediaAlreadyExistsFault extends __BaseException { - readonly name: "InstallationMediaAlreadyExistsFault" = "InstallationMediaAlreadyExistsFault"; - readonly $fault: "client" = "client"; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType) { - super({ - name: "InstallationMediaAlreadyExistsFault", - $fault: "client", - ...opts, - }); - Object.setPrototypeOf(this, InstallationMediaAlreadyExistsFault.prototype); - } -} - /** *

    */ diff --git a/clients/client-rds/src/pagination/DescribeCustomAvailabilityZonesPaginator.ts b/clients/client-rds/src/pagination/DescribeCustomAvailabilityZonesPaginator.ts deleted file mode 100644 index 18991133517a..000000000000 --- a/clients/client-rds/src/pagination/DescribeCustomAvailabilityZonesPaginator.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Paginator } from "@aws-sdk/types"; - -import { - DescribeCustomAvailabilityZonesCommand, - DescribeCustomAvailabilityZonesCommandInput, - DescribeCustomAvailabilityZonesCommandOutput, -} from "../commands/DescribeCustomAvailabilityZonesCommand"; -import { RDS } from "../RDS"; -import { RDSClient } from "../RDSClient"; -import { RDSPaginationConfiguration } from "./Interfaces"; - -/** - * @private - */ -const makePagedClientRequest = async ( - client: RDSClient, - input: DescribeCustomAvailabilityZonesCommandInput, - ...args: any -): Promise => { - // @ts-ignore - return await client.send(new DescribeCustomAvailabilityZonesCommand(input), ...args); -}; -/** - * @private - */ -const makePagedRequest = async ( - client: RDS, - input: DescribeCustomAvailabilityZonesCommandInput, - ...args: any -): Promise => { - // @ts-ignore - return await client.describeCustomAvailabilityZones(input, ...args); -}; -export async function* paginateDescribeCustomAvailabilityZones( - config: RDSPaginationConfiguration, - input: DescribeCustomAvailabilityZonesCommandInput, - ...additionalArguments: any -): Paginator { - // ToDo: replace with actual type instead of typeof input.Marker - let token: typeof input.Marker | undefined = config.startingToken || undefined; - let hasNext = true; - let page: DescribeCustomAvailabilityZonesCommandOutput; - while (hasNext) { - input.Marker = token; - input["MaxRecords"] = config.pageSize; - if (config.client instanceof RDS) { - page = await makePagedRequest(config.client, input, ...additionalArguments); - } else if (config.client instanceof RDSClient) { - page = await makePagedClientRequest(config.client, input, ...additionalArguments); - } else { - throw new Error("Invalid client, expected RDS | RDSClient"); - } - yield page; - token = page.Marker; - hasNext = !!token; - } - // @ts-ignore - return undefined; -} diff --git a/clients/client-rds/src/pagination/DescribeInstallationMediaPaginator.ts b/clients/client-rds/src/pagination/DescribeInstallationMediaPaginator.ts deleted file mode 100644 index 7521a1d77ec4..000000000000 --- a/clients/client-rds/src/pagination/DescribeInstallationMediaPaginator.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Paginator } from "@aws-sdk/types"; - -import { - DescribeInstallationMediaCommand, - DescribeInstallationMediaCommandInput, - DescribeInstallationMediaCommandOutput, -} from "../commands/DescribeInstallationMediaCommand"; -import { RDS } from "../RDS"; -import { RDSClient } from "../RDSClient"; -import { RDSPaginationConfiguration } from "./Interfaces"; - -/** - * @private - */ -const makePagedClientRequest = async ( - client: RDSClient, - input: DescribeInstallationMediaCommandInput, - ...args: any -): Promise => { - // @ts-ignore - return await client.send(new DescribeInstallationMediaCommand(input), ...args); -}; -/** - * @private - */ -const makePagedRequest = async ( - client: RDS, - input: DescribeInstallationMediaCommandInput, - ...args: any -): Promise => { - // @ts-ignore - return await client.describeInstallationMedia(input, ...args); -}; -export async function* paginateDescribeInstallationMedia( - config: RDSPaginationConfiguration, - input: DescribeInstallationMediaCommandInput, - ...additionalArguments: any -): Paginator { - // ToDo: replace with actual type instead of typeof input.Marker - let token: typeof input.Marker | undefined = config.startingToken || undefined; - let hasNext = true; - let page: DescribeInstallationMediaCommandOutput; - while (hasNext) { - input.Marker = token; - input["MaxRecords"] = config.pageSize; - if (config.client instanceof RDS) { - page = await makePagedRequest(config.client, input, ...additionalArguments); - } else if (config.client instanceof RDSClient) { - page = await makePagedClientRequest(config.client, input, ...additionalArguments); - } else { - throw new Error("Invalid client, expected RDS | RDSClient"); - } - yield page; - token = page.Marker; - hasNext = !!token; - } - // @ts-ignore - return undefined; -} diff --git a/clients/client-rds/src/pagination/index.ts b/clients/client-rds/src/pagination/index.ts index 28a923808296..a893a948aa05 100644 --- a/clients/client-rds/src/pagination/index.ts +++ b/clients/client-rds/src/pagination/index.ts @@ -1,5 +1,4 @@ export * from "./DescribeCertificatesPaginator"; -export * from "./DescribeCustomAvailabilityZonesPaginator"; export * from "./DescribeDBClusterBacktracksPaginator"; export * from "./DescribeDBClusterEndpointsPaginator"; export * from "./DescribeDBClusterParameterGroupsPaginator"; @@ -8,8 +7,8 @@ export * from "./DescribeDBClusterSnapshotsPaginator"; export * from "./DescribeDBClustersPaginator"; export * from "./DescribeDBEngineVersionsPaginator"; export * from "./DescribeDBInstanceAutomatedBackupsPaginator"; -export * from "./Interfaces"; export * from "./DescribeDBInstancesPaginator"; +export * from "./Interfaces"; export * from "./DescribeDBLogFilesPaginator"; export * from "./DescribeDBParameterGroupsPaginator"; export * from "./DescribeDBParametersPaginator"; @@ -25,7 +24,6 @@ export * from "./DescribeEventSubscriptionsPaginator"; export * from "./DescribeEventsPaginator"; export * from "./DescribeExportTasksPaginator"; export * from "./DescribeGlobalClustersPaginator"; -export * from "./DescribeInstallationMediaPaginator"; export * from "./DescribeOptionGroupOptionsPaginator"; export * from "./DescribeOptionGroupsPaginator"; export * from "./DescribeOrderableDBInstanceOptionsPaginator"; diff --git a/clients/client-rds/src/protocols/Aws_query.ts b/clients/client-rds/src/protocols/Aws_query.ts index 1e395bc4d4f1..5896c41650cf 100644 --- a/clients/client-rds/src/protocols/Aws_query.ts +++ b/clients/client-rds/src/protocols/Aws_query.ts @@ -55,10 +55,6 @@ import { } from "../commands/CopyDBParameterGroupCommand"; import { CopyDBSnapshotCommandInput, CopyDBSnapshotCommandOutput } from "../commands/CopyDBSnapshotCommand"; import { CopyOptionGroupCommandInput, CopyOptionGroupCommandOutput } from "../commands/CopyOptionGroupCommand"; -import { - CreateCustomAvailabilityZoneCommandInput, - CreateCustomAvailabilityZoneCommandOutput, -} from "../commands/CreateCustomAvailabilityZoneCommand"; import { CreateCustomDBEngineVersionCommandInput, CreateCustomDBEngineVersionCommandOutput, @@ -108,10 +104,6 @@ import { CreateGlobalClusterCommandOutput, } from "../commands/CreateGlobalClusterCommand"; import { CreateOptionGroupCommandInput, CreateOptionGroupCommandOutput } from "../commands/CreateOptionGroupCommand"; -import { - DeleteCustomAvailabilityZoneCommandInput, - DeleteCustomAvailabilityZoneCommandOutput, -} from "../commands/DeleteCustomAvailabilityZoneCommand"; import { DeleteCustomDBEngineVersionCommandInput, DeleteCustomDBEngineVersionCommandOutput, @@ -160,10 +152,6 @@ import { DeleteGlobalClusterCommandInput, DeleteGlobalClusterCommandOutput, } from "../commands/DeleteGlobalClusterCommand"; -import { - DeleteInstallationMediaCommandInput, - DeleteInstallationMediaCommandOutput, -} from "../commands/DeleteInstallationMediaCommand"; import { DeleteOptionGroupCommandInput, DeleteOptionGroupCommandOutput } from "../commands/DeleteOptionGroupCommand"; import { DeregisterDBProxyTargetsCommandInput, @@ -177,10 +165,6 @@ import { DescribeCertificatesCommandInput, DescribeCertificatesCommandOutput, } from "../commands/DescribeCertificatesCommand"; -import { - DescribeCustomAvailabilityZonesCommandInput, - DescribeCustomAvailabilityZonesCommandOutput, -} from "../commands/DescribeCustomAvailabilityZonesCommand"; import { DescribeDBClusterBacktracksCommandInput, DescribeDBClusterBacktracksCommandOutput, @@ -281,10 +265,6 @@ import { DescribeGlobalClustersCommandInput, DescribeGlobalClustersCommandOutput, } from "../commands/DescribeGlobalClustersCommand"; -import { - DescribeInstallationMediaCommandInput, - DescribeInstallationMediaCommandOutput, -} from "../commands/DescribeInstallationMediaCommand"; import { DescribeOptionGroupOptionsCommandInput, DescribeOptionGroupOptionsCommandOutput, @@ -326,10 +306,6 @@ import { FailoverGlobalClusterCommandInput, FailoverGlobalClusterCommandOutput, } from "../commands/FailoverGlobalClusterCommand"; -import { - ImportInstallationMediaCommandInput, - ImportInstallationMediaCommandOutput, -} from "../commands/ImportInstallationMediaCommand"; import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, @@ -512,8 +488,6 @@ import { CopyDBSnapshotResult, CopyOptionGroupMessage, CopyOptionGroupResult, - CreateCustomAvailabilityZoneMessage, - CreateCustomAvailabilityZoneResult, CreateCustomDBEngineVersionMessage, CreateDBClusterEndpointMessage, CreateDBClusterMessage, @@ -544,11 +518,7 @@ import { CreateGlobalClusterResult, CreateOptionGroupMessage, CreateOptionGroupResult, - CustomAvailabilityZone, - CustomAvailabilityZoneAlreadyExistsFault, - CustomAvailabilityZoneMessage, CustomAvailabilityZoneNotFoundFault, - CustomAvailabilityZoneQuotaExceededFault, CustomDBEngineVersionAlreadyExistsFault, CustomDBEngineVersionNotFoundFault, CustomDBEngineVersionQuotaExceededFault, @@ -610,17 +580,22 @@ import { DBProxyEndpointQuotaExceededFault, DBProxyNotFoundFault, DBProxyQuotaExceededFault, + DBProxyTarget, DBProxyTargetGroup, DBProxyTargetGroupNotFoundFault, DBProxyTargetNotFoundFault, DBSecurityGroup, DBSecurityGroupAlreadyExistsFault, DBSecurityGroupMembership, + DBSecurityGroupMessage, DBSecurityGroupNotFoundFault, DBSecurityGroupNotSupportedFault, DBSecurityGroupQuotaExceededFault, DBSnapshot, DBSnapshotAlreadyExistsFault, + DBSnapshotAttribute, + DBSnapshotAttributesResult, + DBSnapshotMessage, DBSnapshotNotFoundFault, DBSubnetGroup, DBSubnetGroupAlreadyExistsFault, @@ -629,8 +604,6 @@ import { DBSubnetGroupNotFoundFault, DBSubnetGroupQuotaExceededFault, DBSubnetQuotaExceededFault, - DeleteCustomAvailabilityZoneMessage, - DeleteCustomAvailabilityZoneResult, DeleteCustomDBEngineVersionMessage, DeleteDBClusterEndpointMessage, DeleteDBClusterMessage, @@ -655,13 +628,11 @@ import { DeleteEventSubscriptionResult, DeleteGlobalClusterMessage, DeleteGlobalClusterResult, - DeleteInstallationMediaMessage, DeleteOptionGroupMessage, DeregisterDBProxyTargetsRequest, DeregisterDBProxyTargetsResponse, DescribeAccountAttributesMessage, DescribeCertificatesMessage, - DescribeCustomAvailabilityZonesMessage, DescribeDBClusterBacktracksMessage, DescribeDBClusterEndpointsMessage, DescribeDBClusterParameterGroupsMessage, @@ -685,6 +656,10 @@ import { DescribeDBProxyTargetGroupsRequest, DescribeDBProxyTargetGroupsResponse, DescribeDBProxyTargetsRequest, + DescribeDBProxyTargetsResponse, + DescribeDBSecurityGroupsMessage, + DescribeDBSnapshotAttributesMessage, + DescribeDBSnapshotAttributesResult, DomainMembership, DomainNotFoundFault, EC2SecurityGroup, @@ -700,9 +675,6 @@ import { GlobalClusterMember, GlobalClusterNotFoundFault, GlobalClusterQuotaExceededFault, - InstallationMedia, - InstallationMediaFailureCause, - InstallationMediaNotFoundFault, InstanceQuotaExceededFault, InsufficientDBInstanceCapacityFault, InsufficientStorageClusterCapacityFault, @@ -759,12 +731,12 @@ import { SubscriptionCategoryNotFoundFault, SubscriptionNotFoundFault, Tag, + TargetHealth, Timezone, UpgradeTarget, UserAuthConfig, UserAuthConfigInfo, VpcSecurityGroupMembership, - VpnDetails, } from "../models/models_0"; import { AvailableProcessorFeature, @@ -776,18 +748,9 @@ import { DBInstanceRoleNotFoundFault, DBLogFileNotFoundFault, DBParameterGroupNameMessage, - DBProxyTarget, DBProxyTargetAlreadyRegisteredFault, - DBSecurityGroupMessage, - DBSnapshotAttribute, - DBSnapshotAttributesResult, - DBSnapshotMessage, DBSubnetGroupMessage, DBUpgradeDependencyFailureFault, - DescribeDBProxyTargetsResponse, - DescribeDBSecurityGroupsMessage, - DescribeDBSnapshotAttributesMessage, - DescribeDBSnapshotAttributesResult, DescribeDBSnapshotsMessage, DescribeDBSubnetGroupsMessage, DescribeEngineDefaultClusterParametersMessage, @@ -799,7 +762,6 @@ import { DescribeEventSubscriptionsMessage, DescribeExportTasksMessage, DescribeGlobalClustersMessage, - DescribeInstallationMediaMessage, DescribeOptionGroupOptionsMessage, DescribeOptionGroupsMessage, DescribeOrderableDBInstanceOptionsMessage, @@ -827,9 +789,6 @@ import { GlobalClustersMessage, IamRoleMissingPermissionsFault, IamRoleNotFoundFault, - ImportInstallationMediaMessage, - InstallationMediaAlreadyExistsFault, - InstallationMediaMessage, InsufficientAvailableIPsInSubnetFault, InsufficientDBClusterCapacityFault, InvalidDBClusterCapacityFault, @@ -947,7 +906,6 @@ import { StopDBInstanceResult, SubnetAlreadyInUse, TagListMessage, - TargetHealth, ValidDBInstanceModificationsMessage, ValidStorageOptions, } from "../models/models_1"; @@ -1161,22 +1119,6 @@ export const serializeAws_queryCopyOptionGroupCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; -export const serializeAws_queryCreateCustomAvailabilityZoneCommand = async ( - input: CreateCustomAvailabilityZoneCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const headers: __HeaderBag = { - "content-type": "application/x-www-form-urlencoded", - }; - let body: any; - body = buildFormUrlencodedString({ - ...serializeAws_queryCreateCustomAvailabilityZoneMessage(input, context), - Action: "CreateCustomAvailabilityZone", - Version: "2014-10-31", - }); - return buildHttpRpcRequest(context, headers, "/", undefined, body); -}; - export const serializeAws_queryCreateCustomDBEngineVersionCommand = async ( input: CreateCustomDBEngineVersionCommandInput, context: __SerdeContext @@ -1433,22 +1375,6 @@ export const serializeAws_queryCreateOptionGroupCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; -export const serializeAws_queryDeleteCustomAvailabilityZoneCommand = async ( - input: DeleteCustomAvailabilityZoneCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const headers: __HeaderBag = { - "content-type": "application/x-www-form-urlencoded", - }; - let body: any; - body = buildFormUrlencodedString({ - ...serializeAws_queryDeleteCustomAvailabilityZoneMessage(input, context), - Action: "DeleteCustomAvailabilityZone", - Version: "2014-10-31", - }); - return buildHttpRpcRequest(context, headers, "/", undefined, body); -}; - export const serializeAws_queryDeleteCustomDBEngineVersionCommand = async ( input: DeleteCustomDBEngineVersionCommandInput, context: __SerdeContext @@ -1689,22 +1615,6 @@ export const serializeAws_queryDeleteGlobalClusterCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; -export const serializeAws_queryDeleteInstallationMediaCommand = async ( - input: DeleteInstallationMediaCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const headers: __HeaderBag = { - "content-type": "application/x-www-form-urlencoded", - }; - let body: any; - body = buildFormUrlencodedString({ - ...serializeAws_queryDeleteInstallationMediaMessage(input, context), - Action: "DeleteInstallationMedia", - Version: "2014-10-31", - }); - return buildHttpRpcRequest(context, headers, "/", undefined, body); -}; - export const serializeAws_queryDeleteOptionGroupCommand = async ( input: DeleteOptionGroupCommandInput, context: __SerdeContext @@ -1769,22 +1679,6 @@ export const serializeAws_queryDescribeCertificatesCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; -export const serializeAws_queryDescribeCustomAvailabilityZonesCommand = async ( - input: DescribeCustomAvailabilityZonesCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const headers: __HeaderBag = { - "content-type": "application/x-www-form-urlencoded", - }; - let body: any; - body = buildFormUrlencodedString({ - ...serializeAws_queryDescribeCustomAvailabilityZonesMessage(input, context), - Action: "DescribeCustomAvailabilityZones", - Version: "2014-10-31", - }); - return buildHttpRpcRequest(context, headers, "/", undefined, body); -}; - export const serializeAws_queryDescribeDBClusterBacktracksCommand = async ( input: DescribeDBClusterBacktracksCommandInput, context: __SerdeContext @@ -2233,22 +2127,6 @@ export const serializeAws_queryDescribeGlobalClustersCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; -export const serializeAws_queryDescribeInstallationMediaCommand = async ( - input: DescribeInstallationMediaCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const headers: __HeaderBag = { - "content-type": "application/x-www-form-urlencoded", - }; - let body: any; - body = buildFormUrlencodedString({ - ...serializeAws_queryDescribeInstallationMediaMessage(input, context), - Action: "DescribeInstallationMedia", - Version: "2014-10-31", - }); - return buildHttpRpcRequest(context, headers, "/", undefined, body); -}; - export const serializeAws_queryDescribeOptionGroupOptionsCommand = async ( input: DescribeOptionGroupOptionsCommandInput, context: __SerdeContext @@ -2425,22 +2303,6 @@ export const serializeAws_queryFailoverGlobalClusterCommand = async ( return buildHttpRpcRequest(context, headers, "/", undefined, body); }; -export const serializeAws_queryImportInstallationMediaCommand = async ( - input: ImportInstallationMediaCommandInput, - context: __SerdeContext -): Promise<__HttpRequest> => { - const headers: __HeaderBag = { - "content-type": "application/x-www-form-urlencoded", - }; - let body: any; - body = buildFormUrlencodedString({ - ...serializeAws_queryImportInstallationMediaMessage(input, context), - Action: "ImportInstallationMedia", - Version: "2014-10-31", - }); - return buildHttpRpcRequest(context, headers, "/", undefined, body); -}; - export const serializeAws_queryListTagsForResourceCommand = async ( input: ListTagsForResourceCommandInput, context: __SerdeContext @@ -3867,55 +3729,6 @@ const deserializeAws_queryCopyOptionGroupCommandError = async ( } }; -export const deserializeAws_queryCreateCustomAvailabilityZoneCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode >= 300) { - return deserializeAws_queryCreateCustomAvailabilityZoneCommandError(output, context); - } - const data: any = await parseBody(output.body, context); - let contents: any = {}; - contents = deserializeAws_queryCreateCustomAvailabilityZoneResult(data.CreateCustomAvailabilityZoneResult, context); - const response: CreateCustomAvailabilityZoneCommandOutput = { - $metadata: deserializeMetadata(output), - ...contents, - }; - return Promise.resolve(response); -}; - -const deserializeAws_queryCreateCustomAvailabilityZoneCommandError = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - const parsedOutput: any = { - ...output, - body: await parseBody(output.body, context), - }; - let response: __BaseException; - let errorCode = "UnknownError"; - errorCode = loadQueryErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "CustomAvailabilityZoneAlreadyExistsFault": - case "com.amazonaws.rds#CustomAvailabilityZoneAlreadyExistsFault": - throw await deserializeAws_queryCustomAvailabilityZoneAlreadyExistsFaultResponse(parsedOutput, context); - case "CustomAvailabilityZoneQuotaExceededFault": - case "com.amazonaws.rds#CustomAvailabilityZoneQuotaExceededFault": - throw await deserializeAws_queryCustomAvailabilityZoneQuotaExceededFaultResponse(parsedOutput, context); - case "KMSKeyNotAccessibleFault": - case "com.amazonaws.rds#KMSKeyNotAccessibleFault": - throw await deserializeAws_queryKMSKeyNotAccessibleFaultResponse(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - response = new __BaseException({ - name: parsedBody.Error.code || parsedBody.Error.Code || errorCode, - $fault: "client", - $metadata: deserializeMetadata(output), - }); - throw __decorateServiceException(response, parsedBody.Error); - } -}; - export const deserializeAws_queryCreateCustomDBEngineVersionCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -4877,52 +4690,6 @@ const deserializeAws_queryCreateOptionGroupCommandError = async ( } }; -export const deserializeAws_queryDeleteCustomAvailabilityZoneCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode >= 300) { - return deserializeAws_queryDeleteCustomAvailabilityZoneCommandError(output, context); - } - const data: any = await parseBody(output.body, context); - let contents: any = {}; - contents = deserializeAws_queryDeleteCustomAvailabilityZoneResult(data.DeleteCustomAvailabilityZoneResult, context); - const response: DeleteCustomAvailabilityZoneCommandOutput = { - $metadata: deserializeMetadata(output), - ...contents, - }; - return Promise.resolve(response); -}; - -const deserializeAws_queryDeleteCustomAvailabilityZoneCommandError = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - const parsedOutput: any = { - ...output, - body: await parseBody(output.body, context), - }; - let response: __BaseException; - let errorCode = "UnknownError"; - errorCode = loadQueryErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "CustomAvailabilityZoneNotFoundFault": - case "com.amazonaws.rds#CustomAvailabilityZoneNotFoundFault": - throw await deserializeAws_queryCustomAvailabilityZoneNotFoundFaultResponse(parsedOutput, context); - case "KMSKeyNotAccessibleFault": - case "com.amazonaws.rds#KMSKeyNotAccessibleFault": - throw await deserializeAws_queryKMSKeyNotAccessibleFaultResponse(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - response = new __BaseException({ - name: parsedBody.Error.code || parsedBody.Error.Code || errorCode, - $fault: "client", - $metadata: deserializeMetadata(output), - }); - throw __decorateServiceException(response, parsedBody.Error); - } -}; - export const deserializeAws_queryDeleteCustomDBEngineVersionCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -5631,49 +5398,6 @@ const deserializeAws_queryDeleteGlobalClusterCommandError = async ( } }; -export const deserializeAws_queryDeleteInstallationMediaCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode >= 300) { - return deserializeAws_queryDeleteInstallationMediaCommandError(output, context); - } - const data: any = await parseBody(output.body, context); - let contents: any = {}; - contents = deserializeAws_queryInstallationMedia(data.DeleteInstallationMediaResult, context); - const response: DeleteInstallationMediaCommandOutput = { - $metadata: deserializeMetadata(output), - ...contents, - }; - return Promise.resolve(response); -}; - -const deserializeAws_queryDeleteInstallationMediaCommandError = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - const parsedOutput: any = { - ...output, - body: await parseBody(output.body, context), - }; - let response: __BaseException; - let errorCode = "UnknownError"; - errorCode = loadQueryErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InstallationMediaNotFoundFault": - case "com.amazonaws.rds#InstallationMediaNotFoundFault": - throw await deserializeAws_queryInstallationMediaNotFoundFaultResponse(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - response = new __BaseException({ - name: parsedBody.Error.code || parsedBody.Error.Code || errorCode, - $fault: "client", - $metadata: deserializeMetadata(output), - }); - throw __decorateServiceException(response, parsedBody.Error); - } -}; - export const deserializeAws_queryDeleteOptionGroupCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -5852,49 +5576,6 @@ const deserializeAws_queryDescribeCertificatesCommandError = async ( } }; -export const deserializeAws_queryDescribeCustomAvailabilityZonesCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode >= 300) { - return deserializeAws_queryDescribeCustomAvailabilityZonesCommandError(output, context); - } - const data: any = await parseBody(output.body, context); - let contents: any = {}; - contents = deserializeAws_queryCustomAvailabilityZoneMessage(data.DescribeCustomAvailabilityZonesResult, context); - const response: DescribeCustomAvailabilityZonesCommandOutput = { - $metadata: deserializeMetadata(output), - ...contents, - }; - return Promise.resolve(response); -}; - -const deserializeAws_queryDescribeCustomAvailabilityZonesCommandError = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - const parsedOutput: any = { - ...output, - body: await parseBody(output.body, context), - }; - let response: __BaseException; - let errorCode = "UnknownError"; - errorCode = loadQueryErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "CustomAvailabilityZoneNotFoundFault": - case "com.amazonaws.rds#CustomAvailabilityZoneNotFoundFault": - throw await deserializeAws_queryCustomAvailabilityZoneNotFoundFaultResponse(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - response = new __BaseException({ - name: parsedBody.Error.code || parsedBody.Error.Code || errorCode, - $fault: "client", - $metadata: deserializeMetadata(output), - }); - throw __decorateServiceException(response, parsedBody.Error); - } -}; - export const deserializeAws_queryDescribeDBClusterBacktracksCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -7117,49 +6798,6 @@ const deserializeAws_queryDescribeGlobalClustersCommandError = async ( } }; -export const deserializeAws_queryDescribeInstallationMediaCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode >= 300) { - return deserializeAws_queryDescribeInstallationMediaCommandError(output, context); - } - const data: any = await parseBody(output.body, context); - let contents: any = {}; - contents = deserializeAws_queryInstallationMediaMessage(data.DescribeInstallationMediaResult, context); - const response: DescribeInstallationMediaCommandOutput = { - $metadata: deserializeMetadata(output), - ...contents, - }; - return Promise.resolve(response); -}; - -const deserializeAws_queryDescribeInstallationMediaCommandError = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - const parsedOutput: any = { - ...output, - body: await parseBody(output.body, context), - }; - let response: __BaseException; - let errorCode = "UnknownError"; - errorCode = loadQueryErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InstallationMediaNotFoundFault": - case "com.amazonaws.rds#InstallationMediaNotFoundFault": - throw await deserializeAws_queryInstallationMediaNotFoundFaultResponse(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - response = new __BaseException({ - name: parsedBody.Error.code || parsedBody.Error.Code || errorCode, - $fault: "client", - $metadata: deserializeMetadata(output), - }); - throw __decorateServiceException(response, parsedBody.Error); - } -}; - export const deserializeAws_queryDescribeOptionGroupOptionsCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -7657,52 +7295,6 @@ const deserializeAws_queryFailoverGlobalClusterCommandError = async ( } }; -export const deserializeAws_queryImportInstallationMediaCommand = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - if (output.statusCode >= 300) { - return deserializeAws_queryImportInstallationMediaCommandError(output, context); - } - const data: any = await parseBody(output.body, context); - let contents: any = {}; - contents = deserializeAws_queryInstallationMedia(data.ImportInstallationMediaResult, context); - const response: ImportInstallationMediaCommandOutput = { - $metadata: deserializeMetadata(output), - ...contents, - }; - return Promise.resolve(response); -}; - -const deserializeAws_queryImportInstallationMediaCommandError = async ( - output: __HttpResponse, - context: __SerdeContext -): Promise => { - const parsedOutput: any = { - ...output, - body: await parseBody(output.body, context), - }; - let response: __BaseException; - let errorCode = "UnknownError"; - errorCode = loadQueryErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "CustomAvailabilityZoneNotFoundFault": - case "com.amazonaws.rds#CustomAvailabilityZoneNotFoundFault": - throw await deserializeAws_queryCustomAvailabilityZoneNotFoundFaultResponse(parsedOutput, context); - case "InstallationMediaAlreadyExistsFault": - case "com.amazonaws.rds#InstallationMediaAlreadyExistsFault": - throw await deserializeAws_queryInstallationMediaAlreadyExistsFaultResponse(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - response = new __BaseException({ - name: parsedBody.Error.code || parsedBody.Error.Code || errorCode, - $fault: "client", - $metadata: deserializeMetadata(output), - }); - throw __decorateServiceException(response, parsedBody.Error); - } -}; - export const deserializeAws_queryListTagsForResourceCommand = async ( output: __HttpResponse, context: __SerdeContext @@ -10558,19 +10150,6 @@ const deserializeAws_queryCertificateNotFoundFaultResponse = async ( return __decorateServiceException(exception, body); }; -const deserializeAws_queryCustomAvailabilityZoneAlreadyExistsFaultResponse = async ( - parsedOutput: any, - context: __SerdeContext -): Promise => { - const body = parsedOutput.body; - const deserialized: any = deserializeAws_queryCustomAvailabilityZoneAlreadyExistsFault(body.Error, context); - const exception = new CustomAvailabilityZoneAlreadyExistsFault({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized, - }); - return __decorateServiceException(exception, body); -}; - const deserializeAws_queryCustomAvailabilityZoneNotFoundFaultResponse = async ( parsedOutput: any, context: __SerdeContext @@ -10584,19 +10163,6 @@ const deserializeAws_queryCustomAvailabilityZoneNotFoundFaultResponse = async ( return __decorateServiceException(exception, body); }; -const deserializeAws_queryCustomAvailabilityZoneQuotaExceededFaultResponse = async ( - parsedOutput: any, - context: __SerdeContext -): Promise => { - const body = parsedOutput.body; - const deserialized: any = deserializeAws_queryCustomAvailabilityZoneQuotaExceededFault(body.Error, context); - const exception = new CustomAvailabilityZoneQuotaExceededFault({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized, - }); - return __decorateServiceException(exception, body); -}; - const deserializeAws_queryCustomDBEngineVersionAlreadyExistsFaultResponse = async ( parsedOutput: any, context: __SerdeContext @@ -11330,47 +10896,21 @@ const deserializeAws_queryIamRoleMissingPermissionsFaultResponse = async ( context: __SerdeContext ): Promise => { const body = parsedOutput.body; - const deserialized: any = deserializeAws_queryIamRoleMissingPermissionsFault(body.Error, context); - const exception = new IamRoleMissingPermissionsFault({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized, - }); - return __decorateServiceException(exception, body); -}; - -const deserializeAws_queryIamRoleNotFoundFaultResponse = async ( - parsedOutput: any, - context: __SerdeContext -): Promise => { - const body = parsedOutput.body; - const deserialized: any = deserializeAws_queryIamRoleNotFoundFault(body.Error, context); - const exception = new IamRoleNotFoundFault({ - $metadata: deserializeMetadata(parsedOutput), - ...deserialized, - }); - return __decorateServiceException(exception, body); -}; - -const deserializeAws_queryInstallationMediaAlreadyExistsFaultResponse = async ( - parsedOutput: any, - context: __SerdeContext -): Promise => { - const body = parsedOutput.body; - const deserialized: any = deserializeAws_queryInstallationMediaAlreadyExistsFault(body.Error, context); - const exception = new InstallationMediaAlreadyExistsFault({ + const deserialized: any = deserializeAws_queryIamRoleMissingPermissionsFault(body.Error, context); + const exception = new IamRoleMissingPermissionsFault({ $metadata: deserializeMetadata(parsedOutput), ...deserialized, }); return __decorateServiceException(exception, body); }; -const deserializeAws_queryInstallationMediaNotFoundFaultResponse = async ( +const deserializeAws_queryIamRoleNotFoundFaultResponse = async ( parsedOutput: any, context: __SerdeContext -): Promise => { +): Promise => { const body = parsedOutput.body; - const deserialized: any = deserializeAws_queryInstallationMediaNotFoundFault(body.Error, context); - const exception = new InstallationMediaNotFoundFault({ + const deserialized: any = deserializeAws_queryIamRoleNotFoundFault(body.Error, context); + const exception = new IamRoleNotFoundFault({ $metadata: deserializeMetadata(parsedOutput), ...deserialized, }); @@ -12416,26 +11956,6 @@ const serializeAws_queryCopyOptionGroupMessage = (input: CopyOptionGroupMessage, return entries; }; -const serializeAws_queryCreateCustomAvailabilityZoneMessage = ( - input: CreateCustomAvailabilityZoneMessage, - context: __SerdeContext -): any => { - const entries: any = {}; - if (input.CustomAvailabilityZoneName !== undefined && input.CustomAvailabilityZoneName !== null) { - entries["CustomAvailabilityZoneName"] = input.CustomAvailabilityZoneName; - } - if (input.ExistingVpnId !== undefined && input.ExistingVpnId !== null) { - entries["ExistingVpnId"] = input.ExistingVpnId; - } - if (input.NewVpnTunnelName !== undefined && input.NewVpnTunnelName !== null) { - entries["NewVpnTunnelName"] = input.NewVpnTunnelName; - } - if (input.VpnTunnelOriginatorIP !== undefined && input.VpnTunnelOriginatorIP !== null) { - entries["VpnTunnelOriginatorIP"] = input.VpnTunnelOriginatorIP; - } - return entries; -}; - const serializeAws_queryCreateCustomDBEngineVersionMessage = ( input: CreateCustomDBEngineVersionMessage, context: __SerdeContext @@ -13300,17 +12820,6 @@ const serializeAws_queryDBSecurityGroupNameList = (input: string[], context: __S return entries; }; -const serializeAws_queryDeleteCustomAvailabilityZoneMessage = ( - input: DeleteCustomAvailabilityZoneMessage, - context: __SerdeContext -): any => { - const entries: any = {}; - if (input.CustomAvailabilityZoneId !== undefined && input.CustomAvailabilityZoneId !== null) { - entries["CustomAvailabilityZoneId"] = input.CustomAvailabilityZoneId; - } - return entries; -}; - const serializeAws_queryDeleteCustomDBEngineVersionMessage = ( input: DeleteCustomDBEngineVersionMessage, context: __SerdeContext @@ -13485,17 +12994,6 @@ const serializeAws_queryDeleteGlobalClusterMessage = ( return entries; }; -const serializeAws_queryDeleteInstallationMediaMessage = ( - input: DeleteInstallationMediaMessage, - context: __SerdeContext -): any => { - const entries: any = {}; - if (input.InstallationMediaId !== undefined && input.InstallationMediaId !== null) { - entries["InstallationMediaId"] = input.InstallationMediaId; - } - return entries; -}; - const serializeAws_queryDeleteOptionGroupMessage = (input: DeleteOptionGroupMessage, context: __SerdeContext): any => { const entries: any = {}; if (input.OptionGroupName !== undefined && input.OptionGroupName !== null) { @@ -13564,30 +13062,6 @@ const serializeAws_queryDescribeCertificatesMessage = ( return entries; }; -const serializeAws_queryDescribeCustomAvailabilityZonesMessage = ( - input: DescribeCustomAvailabilityZonesMessage, - context: __SerdeContext -): any => { - const entries: any = {}; - if (input.CustomAvailabilityZoneId !== undefined && input.CustomAvailabilityZoneId !== null) { - entries["CustomAvailabilityZoneId"] = input.CustomAvailabilityZoneId; - } - if (input.Filters !== undefined && input.Filters !== null) { - const memberEntries = serializeAws_queryFilterList(input.Filters, context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filters.${key}`; - entries[loc] = value; - }); - } - if (input.MaxRecords !== undefined && input.MaxRecords !== null) { - entries["MaxRecords"] = input.MaxRecords; - } - if (input.Marker !== undefined && input.Marker !== null) { - entries["Marker"] = input.Marker; - } - return entries; -}; - const serializeAws_queryDescribeDBClusterBacktracksMessage = ( input: DescribeDBClusterBacktracksMessage, context: __SerdeContext @@ -14328,30 +13802,6 @@ const serializeAws_queryDescribeGlobalClustersMessage = ( return entries; }; -const serializeAws_queryDescribeInstallationMediaMessage = ( - input: DescribeInstallationMediaMessage, - context: __SerdeContext -): any => { - const entries: any = {}; - if (input.InstallationMediaId !== undefined && input.InstallationMediaId !== null) { - entries["InstallationMediaId"] = input.InstallationMediaId; - } - if (input.Filters !== undefined && input.Filters !== null) { - const memberEntries = serializeAws_queryFilterList(input.Filters, context); - Object.entries(memberEntries).forEach(([key, value]) => { - const loc = `Filters.${key}`; - entries[loc] = value; - }); - } - if (input.MaxRecords !== undefined && input.MaxRecords !== null) { - entries["MaxRecords"] = input.MaxRecords; - } - if (input.Marker !== undefined && input.Marker !== null) { - entries["Marker"] = input.Marker; - } - return entries; -}; - const serializeAws_queryDescribeOptionGroupOptionsMessage = ( input: DescribeOptionGroupOptionsMessage, context: __SerdeContext @@ -14706,29 +14156,6 @@ const serializeAws_queryFilterValueList = (input: string[], context: __SerdeCont return entries; }; -const serializeAws_queryImportInstallationMediaMessage = ( - input: ImportInstallationMediaMessage, - context: __SerdeContext -): any => { - const entries: any = {}; - if (input.CustomAvailabilityZoneId !== undefined && input.CustomAvailabilityZoneId !== null) { - entries["CustomAvailabilityZoneId"] = input.CustomAvailabilityZoneId; - } - if (input.Engine !== undefined && input.Engine !== null) { - entries["Engine"] = input.Engine; - } - if (input.EngineVersion !== undefined && input.EngineVersion !== null) { - entries["EngineVersion"] = input.EngineVersion; - } - if (input.EngineInstallationMediaPath !== undefined && input.EngineInstallationMediaPath !== null) { - entries["EngineInstallationMediaPath"] = input.EngineInstallationMediaPath; - } - if (input.OSInstallationMediaPath !== undefined && input.OSInstallationMediaPath !== null) { - entries["OSInstallationMediaPath"] = input.OSInstallationMediaPath; - } - return entries; -}; - const serializeAws_queryKeyList = (input: string[], context: __SerdeContext): any => { const entries: any = {}; let counter = 1; @@ -17325,22 +16752,6 @@ const deserializeAws_queryCopyOptionGroupResult = (output: any, context: __Serde return contents; }; -const deserializeAws_queryCreateCustomAvailabilityZoneResult = ( - output: any, - context: __SerdeContext -): CreateCustomAvailabilityZoneResult => { - const contents: any = { - CustomAvailabilityZone: undefined, - }; - if (output["CustomAvailabilityZone"] !== undefined) { - contents.CustomAvailabilityZone = deserializeAws_queryCustomAvailabilityZone( - output["CustomAvailabilityZone"], - context - ); - } - return contents; -}; - const deserializeAws_queryCreateDBClusterParameterGroupResult = ( output: any, context: __SerdeContext @@ -17511,81 +16922,6 @@ const deserializeAws_queryCreateOptionGroupResult = (output: any, context: __Ser return contents; }; -const deserializeAws_queryCustomAvailabilityZone = (output: any, context: __SerdeContext): CustomAvailabilityZone => { - const contents: any = { - CustomAvailabilityZoneId: undefined, - CustomAvailabilityZoneName: undefined, - CustomAvailabilityZoneStatus: undefined, - VpnDetails: undefined, - }; - if (output["CustomAvailabilityZoneId"] !== undefined) { - contents.CustomAvailabilityZoneId = __expectString(output["CustomAvailabilityZoneId"]); - } - if (output["CustomAvailabilityZoneName"] !== undefined) { - contents.CustomAvailabilityZoneName = __expectString(output["CustomAvailabilityZoneName"]); - } - if (output["CustomAvailabilityZoneStatus"] !== undefined) { - contents.CustomAvailabilityZoneStatus = __expectString(output["CustomAvailabilityZoneStatus"]); - } - if (output["VpnDetails"] !== undefined) { - contents.VpnDetails = deserializeAws_queryVpnDetails(output["VpnDetails"], context); - } - return contents; -}; - -const deserializeAws_queryCustomAvailabilityZoneAlreadyExistsFault = ( - output: any, - context: __SerdeContext -): CustomAvailabilityZoneAlreadyExistsFault => { - const contents: any = { - message: undefined, - }; - if (output["message"] !== undefined) { - contents.message = __expectString(output["message"]); - } - return contents; -}; - -const deserializeAws_queryCustomAvailabilityZoneList = ( - output: any, - context: __SerdeContext -): CustomAvailabilityZone[] => { - return (output || []) - .filter((e: any) => e != null) - .map((entry: any) => { - if (entry === null) { - return null as any; - } - return deserializeAws_queryCustomAvailabilityZone(entry, context); - }); -}; - -const deserializeAws_queryCustomAvailabilityZoneMessage = ( - output: any, - context: __SerdeContext -): CustomAvailabilityZoneMessage => { - const contents: any = { - Marker: undefined, - CustomAvailabilityZones: undefined, - }; - if (output["Marker"] !== undefined) { - contents.Marker = __expectString(output["Marker"]); - } - if (output.CustomAvailabilityZones === "") { - contents.CustomAvailabilityZones = []; - } - if ( - output["CustomAvailabilityZones"] !== undefined && - output["CustomAvailabilityZones"]["CustomAvailabilityZone"] !== undefined - ) { - contents.CustomAvailabilityZones = deserializeAws_queryCustomAvailabilityZoneList( - __getArrayIfSingleItem(output["CustomAvailabilityZones"]["CustomAvailabilityZone"]), - context - ); - } - return contents; -}; - const deserializeAws_queryCustomAvailabilityZoneNotFoundFault = ( output: any, context: __SerdeContext @@ -17599,19 +16935,6 @@ const deserializeAws_queryCustomAvailabilityZoneNotFoundFault = ( return contents; }; -const deserializeAws_queryCustomAvailabilityZoneQuotaExceededFault = ( - output: any, - context: __SerdeContext -): CustomAvailabilityZoneQuotaExceededFault => { - const contents: any = { - message: undefined, - }; - if (output["message"] !== undefined) { - contents.message = __expectString(output["message"]); - } - return contents; -}; - const deserializeAws_queryCustomDBEngineVersionAlreadyExistsFault = ( output: any, context: __SerdeContext @@ -20839,22 +20162,6 @@ const deserializeAws_queryDBUpgradeDependencyFailureFault = ( return contents; }; -const deserializeAws_queryDeleteCustomAvailabilityZoneResult = ( - output: any, - context: __SerdeContext -): DeleteCustomAvailabilityZoneResult => { - const contents: any = { - CustomAvailabilityZone: undefined, - }; - if (output["CustomAvailabilityZone"] !== undefined) { - contents.CustomAvailabilityZone = deserializeAws_queryCustomAvailabilityZone( - output["CustomAvailabilityZone"], - context - ); - } - return contents; -}; - const deserializeAws_queryDeleteDBClusterResult = (output: any, context: __SerdeContext): DeleteDBClusterResult => { const contents: any = { DBCluster: undefined, @@ -21969,117 +21276,6 @@ const deserializeAws_queryIamRoleNotFoundFault = (output: any, context: __SerdeC return contents; }; -const deserializeAws_queryInstallationMedia = (output: any, context: __SerdeContext): InstallationMedia => { - const contents: any = { - InstallationMediaId: undefined, - CustomAvailabilityZoneId: undefined, - Engine: undefined, - EngineVersion: undefined, - EngineInstallationMediaPath: undefined, - OSInstallationMediaPath: undefined, - Status: undefined, - FailureCause: undefined, - }; - if (output["InstallationMediaId"] !== undefined) { - contents.InstallationMediaId = __expectString(output["InstallationMediaId"]); - } - if (output["CustomAvailabilityZoneId"] !== undefined) { - contents.CustomAvailabilityZoneId = __expectString(output["CustomAvailabilityZoneId"]); - } - if (output["Engine"] !== undefined) { - contents.Engine = __expectString(output["Engine"]); - } - if (output["EngineVersion"] !== undefined) { - contents.EngineVersion = __expectString(output["EngineVersion"]); - } - if (output["EngineInstallationMediaPath"] !== undefined) { - contents.EngineInstallationMediaPath = __expectString(output["EngineInstallationMediaPath"]); - } - if (output["OSInstallationMediaPath"] !== undefined) { - contents.OSInstallationMediaPath = __expectString(output["OSInstallationMediaPath"]); - } - if (output["Status"] !== undefined) { - contents.Status = __expectString(output["Status"]); - } - if (output["FailureCause"] !== undefined) { - contents.FailureCause = deserializeAws_queryInstallationMediaFailureCause(output["FailureCause"], context); - } - return contents; -}; - -const deserializeAws_queryInstallationMediaAlreadyExistsFault = ( - output: any, - context: __SerdeContext -): InstallationMediaAlreadyExistsFault => { - const contents: any = { - message: undefined, - }; - if (output["message"] !== undefined) { - contents.message = __expectString(output["message"]); - } - return contents; -}; - -const deserializeAws_queryInstallationMediaFailureCause = ( - output: any, - context: __SerdeContext -): InstallationMediaFailureCause => { - const contents: any = { - Message: undefined, - }; - if (output["Message"] !== undefined) { - contents.Message = __expectString(output["Message"]); - } - return contents; -}; - -const deserializeAws_queryInstallationMediaList = (output: any, context: __SerdeContext): InstallationMedia[] => { - return (output || []) - .filter((e: any) => e != null) - .map((entry: any) => { - if (entry === null) { - return null as any; - } - return deserializeAws_queryInstallationMedia(entry, context); - }); -}; - -const deserializeAws_queryInstallationMediaMessage = ( - output: any, - context: __SerdeContext -): InstallationMediaMessage => { - const contents: any = { - Marker: undefined, - InstallationMedia: undefined, - }; - if (output["Marker"] !== undefined) { - contents.Marker = __expectString(output["Marker"]); - } - if (output.InstallationMedia === "") { - contents.InstallationMedia = []; - } - if (output["InstallationMedia"] !== undefined && output["InstallationMedia"]["InstallationMedia"] !== undefined) { - contents.InstallationMedia = deserializeAws_queryInstallationMediaList( - __getArrayIfSingleItem(output["InstallationMedia"]["InstallationMedia"]), - context - ); - } - return contents; -}; - -const deserializeAws_queryInstallationMediaNotFoundFault = ( - output: any, - context: __SerdeContext -): InstallationMediaNotFoundFault => { - const contents: any = { - message: undefined, - }; - if (output["message"] !== undefined) { - contents.message = __expectString(output["message"]); - } - return contents; -}; - const deserializeAws_queryInstanceQuotaExceededFault = ( output: any, context: __SerdeContext @@ -25083,36 +24279,6 @@ const deserializeAws_queryVpcSecurityGroupMembershipList = ( }); }; -const deserializeAws_queryVpnDetails = (output: any, context: __SerdeContext): VpnDetails => { - const contents: any = { - VpnId: undefined, - VpnTunnelOriginatorIP: undefined, - VpnGatewayIp: undefined, - VpnPSK: undefined, - VpnName: undefined, - VpnState: undefined, - }; - if (output["VpnId"] !== undefined) { - contents.VpnId = __expectString(output["VpnId"]); - } - if (output["VpnTunnelOriginatorIP"] !== undefined) { - contents.VpnTunnelOriginatorIP = __expectString(output["VpnTunnelOriginatorIP"]); - } - if (output["VpnGatewayIp"] !== undefined) { - contents.VpnGatewayIp = __expectString(output["VpnGatewayIp"]); - } - if (output["VpnPSK"] !== undefined) { - contents.VpnPSK = __expectString(output["VpnPSK"]); - } - if (output["VpnName"] !== undefined) { - contents.VpnName = __expectString(output["VpnName"]); - } - if (output["VpnState"] !== undefined) { - contents.VpnState = __expectString(output["VpnState"]); - } - return contents; -}; - const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ httpStatusCode: output.statusCode, requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"], diff --git a/codegen/sdk-codegen/aws-models/rds.json b/codegen/sdk-codegen/aws-models/rds.json index 0f5b2facbbd3..6c47d9761ad5 100644 --- a/codegen/sdk-codegen/aws-models/rds.json +++ b/codegen/sdk-codegen/aws-models/rds.json @@ -127,6 +127,9 @@ "input": { "target": "com.amazonaws.rds#AddRoleToDBClusterMessage" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.rds#DBClusterNotFoundFault" @@ -175,6 +178,9 @@ "input": { "target": "com.amazonaws.rds#AddRoleToDBInstanceMessage" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.rds#DBInstanceNotFoundFault" @@ -274,6 +280,9 @@ "input": { "target": "com.amazonaws.rds#AddTagsToResourceMessage" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.rds#DBClusterNotFoundFault" @@ -378,9 +387,6 @@ { "target": "com.amazonaws.rds#CopyOptionGroup" }, - { - "target": "com.amazonaws.rds#CreateCustomAvailabilityZone" - }, { "target": "com.amazonaws.rds#CreateCustomDBEngineVersion" }, @@ -429,9 +435,6 @@ { "target": "com.amazonaws.rds#CreateOptionGroup" }, - { - "target": "com.amazonaws.rds#DeleteCustomAvailabilityZone" - }, { "target": "com.amazonaws.rds#DeleteCustomDBEngineVersion" }, @@ -477,9 +480,6 @@ { "target": "com.amazonaws.rds#DeleteGlobalCluster" }, - { - "target": "com.amazonaws.rds#DeleteInstallationMedia" - }, { "target": "com.amazonaws.rds#DeleteOptionGroup" }, @@ -492,9 +492,6 @@ { "target": "com.amazonaws.rds#DescribeCertificates" }, - { - "target": "com.amazonaws.rds#DescribeCustomAvailabilityZones" - }, { "target": "com.amazonaws.rds#DescribeDBClusterBacktracks" }, @@ -579,9 +576,6 @@ { "target": "com.amazonaws.rds#DescribeGlobalClusters" }, - { - "target": "com.amazonaws.rds#DescribeInstallationMedia" - }, { "target": "com.amazonaws.rds#DescribeOptionGroupOptions" }, @@ -615,9 +609,6 @@ { "target": "com.amazonaws.rds#FailoverGlobalCluster" }, - { - "target": "com.amazonaws.rds#ImportInstallationMedia" - }, { "target": "com.amazonaws.rds#ListTagsForResource" }, @@ -1816,70 +1807,6 @@ } } }, - "com.amazonaws.rds#CreateCustomAvailabilityZone": { - "type": "operation", - "input": { - "target": "com.amazonaws.rds#CreateCustomAvailabilityZoneMessage" - }, - "output": { - "target": "com.amazonaws.rds#CreateCustomAvailabilityZoneResult" - }, - "errors": [ - { - "target": "com.amazonaws.rds#CustomAvailabilityZoneAlreadyExistsFault" - }, - { - "target": "com.amazonaws.rds#CustomAvailabilityZoneQuotaExceededFault" - }, - { - "target": "com.amazonaws.rds#KMSKeyNotAccessibleFault" - } - ], - "traits": { - "smithy.api#documentation": "

    Creates a custom Availability Zone (AZ).

    \n

    A custom AZ is an on-premises AZ that is integrated with a VMware vSphere cluster.

    \n

    For more information about RDS on VMware, see the \n \n RDS on VMware User Guide.\n

    " - } - }, - "com.amazonaws.rds#CreateCustomAvailabilityZoneMessage": { - "type": "structure", - "members": { - "CustomAvailabilityZoneName": { - "target": "com.amazonaws.rds#String", - "traits": { - "smithy.api#documentation": "

    The name of the custom Availability Zone (AZ).

    ", - "smithy.api#required": {} - } - }, - "ExistingVpnId": { - "target": "com.amazonaws.rds#String", - "traits": { - "smithy.api#documentation": "

    The ID of an existing virtual private network (VPN) between the Amazon RDS website and\n the VMware vSphere cluster.

    " - } - }, - "NewVpnTunnelName": { - "target": "com.amazonaws.rds#String", - "traits": { - "smithy.api#documentation": "

    The name of a new VPN tunnel between the Amazon RDS website and the VMware vSphere cluster.

    \n

    Specify this parameter only if ExistingVpnId isn't specified.

    " - } - }, - "VpnTunnelOriginatorIP": { - "target": "com.amazonaws.rds#String", - "traits": { - "smithy.api#documentation": "

    The IP address of network traffic from your on-premises data center. A custom AZ receives the network traffic.

    \n

    Specify this parameter only if ExistingVpnId isn't specified.

    " - } - } - }, - "traits": { - "smithy.api#documentation": "

    " - } - }, - "com.amazonaws.rds#CreateCustomAvailabilityZoneResult": { - "type": "structure", - "members": { - "CustomAvailabilityZone": { - "target": "com.amazonaws.rds#CustomAvailabilityZone" - } - } - }, "com.amazonaws.rds#CreateCustomDBEngineVersion": { "type": "operation", "input": { @@ -2646,7 +2573,7 @@ "AvailabilityZone": { "target": "com.amazonaws.rds#String", "traits": { - "smithy.api#documentation": "

    The Availability Zone (AZ) where the database will be created. For information on\n Amazon Web Services Regions and Availability Zones, see \n Regions\n and Availability Zones.

    \n

    \n Amazon Aurora\n

    \n

    Not applicable. Availability Zones are managed by the DB cluster.

    \n

    Default: A random, system-chosen Availability Zone in the endpoint's Amazon Web Services Region.

    \n

    Example: us-east-1d\n

    \n

    Constraint: The AvailabilityZone parameter can't be specified if the DB instance is a Multi-AZ deployment. \n The specified Availability Zone must be in the same Amazon Web Services Region as the current endpoint.

    \n \n

    If you're creating a DB instance in an RDS on VMware environment,\n specify the identifier of the custom Availability Zone to create the DB instance\n in.

    \n

    For more information about RDS on VMware, see the \n \n RDS on VMware User Guide.\n

    \n
    " + "smithy.api#documentation": "

    The Availability Zone (AZ) where the database will be created. For information on\n Amazon Web Services Regions and Availability Zones, see \n Regions\n and Availability Zones.

    \n

    \n Amazon Aurora\n

    \n

    Each Aurora DB cluster hosts copies of its storage in three separate Availability Zones. Specify one of these \n Availability Zones. Aurora automatically chooses an appropriate Availability Zone if you don't specify one.

    \n

    Default: A random, system-chosen Availability Zone in the endpoint's Amazon Web Services Region.

    \n

    Example: us-east-1d\n

    \n

    Constraint: The AvailabilityZone parameter can't be specified if the DB instance is a Multi-AZ deployment. \n The specified Availability Zone must be in the same Amazon Web Services Region as the current endpoint.

    \n \n

    If you're creating a DB instance in an RDS on VMware environment,\n specify the identifier of the custom Availability Zone to create the DB instance\n in.

    \n

    For more information about RDS on VMware, see the \n \n RDS on VMware User Guide.\n

    \n
    " } }, "DBSubnetGroupName": { @@ -3864,81 +3791,6 @@ } } }, - "com.amazonaws.rds#CustomAvailabilityZone": { - "type": "structure", - "members": { - "CustomAvailabilityZoneId": { - "target": "com.amazonaws.rds#String", - "traits": { - "smithy.api#documentation": "

    The identifier of the custom AZ.

    \n

    Amazon RDS generates a unique identifier when a custom AZ is created.

    " - } - }, - "CustomAvailabilityZoneName": { - "target": "com.amazonaws.rds#String", - "traits": { - "smithy.api#documentation": "

    The name of the custom AZ.

    " - } - }, - "CustomAvailabilityZoneStatus": { - "target": "com.amazonaws.rds#String", - "traits": { - "smithy.api#documentation": "

    The status of the custom AZ.

    " - } - }, - "VpnDetails": { - "target": "com.amazonaws.rds#VpnDetails", - "traits": { - "smithy.api#documentation": "

    Information about the virtual private network (VPN) between the VMware vSphere cluster\n and the Amazon Web Services website.

    " - } - } - }, - "traits": { - "smithy.api#documentation": "

    A custom Availability Zone (AZ) is an on-premises AZ that is integrated with a VMware vSphere cluster.

    \n

    For more information about RDS on VMware, see the \n \n RDS on VMware User Guide.\n

    " - } - }, - "com.amazonaws.rds#CustomAvailabilityZoneAlreadyExistsFault": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.rds#ExceptionMessage" - } - }, - "traits": { - "aws.protocols#awsQueryError": { - "code": "CustomAvailabilityZoneAlreadyExists", - "httpResponseCode": 400 - }, - "smithy.api#documentation": "

    \n CustomAvailabilityZoneName is already used by an existing custom\n Availability Zone.

    ", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.rds#CustomAvailabilityZoneList": { - "type": "list", - "member": { - "target": "com.amazonaws.rds#CustomAvailabilityZone", - "traits": { - "smithy.api#xmlName": "CustomAvailabilityZone" - } - } - }, - "com.amazonaws.rds#CustomAvailabilityZoneMessage": { - "type": "structure", - "members": { - "Marker": { - "target": "com.amazonaws.rds#String", - "traits": { - "smithy.api#documentation": "

    An optional pagination token provided by a previous\n DescribeCustomAvailabilityZones request.\n If this parameter is specified, the response includes\n only records beyond the marker,\n up to the value specified by MaxRecords.

    " - } - }, - "CustomAvailabilityZones": { - "target": "com.amazonaws.rds#CustomAvailabilityZoneList", - "traits": { - "smithy.api#documentation": "

    The list of CustomAvailabilityZone objects for the Amazon Web Services account.

    " - } - } - } - }, "com.amazonaws.rds#CustomAvailabilityZoneNotFoundFault": { "type": "structure", "members": { @@ -3956,23 +3808,6 @@ "smithy.api#httpError": 404 } }, - "com.amazonaws.rds#CustomAvailabilityZoneQuotaExceededFault": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.rds#ExceptionMessage" - } - }, - "traits": { - "aws.protocols#awsQueryError": { - "code": "CustomAvailabilityZoneQuotaExceeded", - "httpResponseCode": 400 - }, - "smithy.api#documentation": "

    You have exceeded the maximum number of custom Availability Zones.

    ", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, "com.amazonaws.rds#CustomDBEngineVersionAlreadyExistsFault": { "type": "structure", "members": { @@ -7869,46 +7704,6 @@ "smithy.api#httpError": 400 } }, - "com.amazonaws.rds#DeleteCustomAvailabilityZone": { - "type": "operation", - "input": { - "target": "com.amazonaws.rds#DeleteCustomAvailabilityZoneMessage" - }, - "output": { - "target": "com.amazonaws.rds#DeleteCustomAvailabilityZoneResult" - }, - "errors": [ - { - "target": "com.amazonaws.rds#CustomAvailabilityZoneNotFoundFault" - }, - { - "target": "com.amazonaws.rds#KMSKeyNotAccessibleFault" - } - ], - "traits": { - "smithy.api#documentation": "

    Deletes a custom Availability Zone (AZ).

    \n

    A custom AZ is an on-premises AZ that is integrated with a VMware vSphere cluster.

    \n

    For more information about RDS on VMware, see the \n \n RDS on VMware User Guide.\n

    " - } - }, - "com.amazonaws.rds#DeleteCustomAvailabilityZoneMessage": { - "type": "structure", - "members": { - "CustomAvailabilityZoneId": { - "target": "com.amazonaws.rds#String", - "traits": { - "smithy.api#documentation": "

    The custom AZ identifier.

    ", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.rds#DeleteCustomAvailabilityZoneResult": { - "type": "structure", - "members": { - "CustomAvailabilityZone": { - "target": "com.amazonaws.rds#CustomAvailabilityZone" - } - } - }, "com.amazonaws.rds#DeleteCustomDBEngineVersion": { "type": "operation", "input": { @@ -8044,6 +7839,9 @@ "input": { "target": "com.amazonaws.rds#DeleteDBClusterParameterGroupMessage" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.rds#DBParameterGroupNotFoundFault" @@ -8248,6 +8046,9 @@ "input": { "target": "com.amazonaws.rds#DeleteDBParameterGroupMessage" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.rds#DBParameterGroupNotFoundFault" @@ -8366,6 +8167,9 @@ "input": { "target": "com.amazonaws.rds#DeleteDBSecurityGroupMessage" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.rds#DBSecurityGroupNotFoundFault" @@ -8441,6 +8245,9 @@ "input": { "target": "com.amazonaws.rds#DeleteDBSubnetGroupMessage" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.rds#DBSubnetGroupNotFoundFault" @@ -8554,40 +8361,14 @@ } } }, - "com.amazonaws.rds#DeleteInstallationMedia": { - "type": "operation", - "input": { - "target": "com.amazonaws.rds#DeleteInstallationMediaMessage" - }, - "output": { - "target": "com.amazonaws.rds#InstallationMedia" - }, - "errors": [ - { - "target": "com.amazonaws.rds#InstallationMediaNotFoundFault" - } - ], - "traits": { - "smithy.api#documentation": "

    Deletes the installation medium for a DB engine that requires an on-premises customer provided license,\n such as Microsoft SQL Server.

    " - } - }, - "com.amazonaws.rds#DeleteInstallationMediaMessage": { - "type": "structure", - "members": { - "InstallationMediaId": { - "target": "com.amazonaws.rds#String", - "traits": { - "smithy.api#documentation": "

    The installation medium ID.

    ", - "smithy.api#required": {} - } - } - } - }, "com.amazonaws.rds#DeleteOptionGroup": { "type": "operation", "input": { "target": "com.amazonaws.rds#DeleteOptionGroupMessage" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.rds#InvalidOptionGroupStateFault" @@ -8749,58 +8530,6 @@ "smithy.api#documentation": "

    " } }, - "com.amazonaws.rds#DescribeCustomAvailabilityZones": { - "type": "operation", - "input": { - "target": "com.amazonaws.rds#DescribeCustomAvailabilityZonesMessage" - }, - "output": { - "target": "com.amazonaws.rds#CustomAvailabilityZoneMessage" - }, - "errors": [ - { - "target": "com.amazonaws.rds#CustomAvailabilityZoneNotFoundFault" - } - ], - "traits": { - "smithy.api#documentation": "

    Returns information about custom Availability Zones (AZs).

    \n

    A custom AZ is an on-premises AZ that is integrated with a VMware vSphere cluster.

    \n

    For more information about RDS on VMware, see the \n \n RDS on VMware User Guide.\n

    ", - "smithy.api#paginated": { - "inputToken": "Marker", - "outputToken": "Marker", - "items": "CustomAvailabilityZones", - "pageSize": "MaxRecords" - } - } - }, - "com.amazonaws.rds#DescribeCustomAvailabilityZonesMessage": { - "type": "structure", - "members": { - "CustomAvailabilityZoneId": { - "target": "com.amazonaws.rds#String", - "traits": { - "smithy.api#documentation": "

    The custom AZ identifier. If this parameter is specified, information from only the specific custom AZ is returned.

    " - } - }, - "Filters": { - "target": "com.amazonaws.rds#FilterList", - "traits": { - "smithy.api#documentation": "

    A filter that specifies one or more custom AZs to describe.

    " - } - }, - "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.

    " - } - }, - "Marker": { - "target": "com.amazonaws.rds#String", - "traits": { - "smithy.api#documentation": "

    An optional pagination token provided by a previous\n DescribeCustomAvailabilityZones request.\n If this parameter is specified, the response includes\n only records beyond the marker,\n up to the value specified by MaxRecords.

    " - } - } - } - }, "com.amazonaws.rds#DescribeDBClusterBacktracks": { "type": "operation", "input": { @@ -10681,7 +10410,7 @@ "DBParameterGroupFamily": { "target": "com.amazonaws.rds#String", "traits": { - "smithy.api#documentation": "

    The name of the DB parameter group family.

    ", + "smithy.api#documentation": "

    The name of the DB parameter group family.

    \n

    Valid Values:

    \n
      \n
    • \n

      \n aurora5.6\n

      \n
    • \n
    • \n

      \n aurora-mysql5.7\n

      \n
    • \n
    • \n

      \n aurora-mysql8.0\n

      \n
    • \n
    • \n

      \n aurora-postgresql10\n

      \n
    • \n
    • \n

      \n aurora-postgresql11\n

      \n
    • \n
    • \n

      \n aurora-postgresql12\n

      \n
    • \n
    • \n

      \n aurora-postgresql13\n

      \n
    • \n
    • \n

      \n mariadb10.2\n

      \n
    • \n
    • \n

      \n mariadb10.3\n

      \n
    • \n
    • \n

      \n mariadb10.4\n

      \n
    • \n
    • \n

      \n mariadb10.5\n

      \n
    • \n
    • \n

      \n mariadb10.6\n

      \n
    • \n
    • \n

      \n mysql5.7\n

      \n
    • \n
    • \n

      \n mysql8.0\n

      \n
    • \n
    • \n

      \n postgres10\n

      \n
    • \n
    • \n

      \n postgres11\n

      \n
    • \n
    • \n

      \n postgres12\n

      \n
    • \n
    • \n

      \n postgres13\n

      \n
    • \n
    • \n

      \n postgres14\n

      \n
    • \n
    • \n

      \n sqlserver-ee-11.0\n

      \n
    • \n
    • \n

      \n sqlserver-ee-12.0\n

      \n
    • \n
    • \n

      \n sqlserver-ee-13.0\n

      \n
    • \n
    • \n

      \n sqlserver-ee-14.0\n

      \n
    • \n
    • \n

      \n sqlserver-ee-15.0\n

      \n
    • \n
    • \n

      \n sqlserver-ex-11.0\n

      \n
    • \n
    • \n

      \n sqlserver-ex-12.0\n

      \n
    • \n
    • \n

      \n sqlserver-ex-13.0\n

      \n
    • \n
    • \n

      \n sqlserver-ex-14.0\n

      \n
    • \n
    • \n

      \n sqlserver-ex-15.0\n

      \n
    • \n
    • \n

      \n sqlserver-se-11.0\n

      \n
    • \n
    • \n

      \n sqlserver-se-12.0\n

      \n
    • \n
    • \n

      \n sqlserver-se-13.0\n

      \n
    • \n
    • \n

      \n sqlserver-se-14.0\n

      \n
    • \n
    • \n

      \n sqlserver-se-15.0\n

      \n
    • \n
    • \n

      \n sqlserver-web-11.0\n

      \n
    • \n
    • \n

      \n sqlserver-web-12.0\n

      \n
    • \n
    • \n

      \n sqlserver-web-13.0\n

      \n
    • \n
    • \n

      \n sqlserver-web-14.0\n

      \n
    • \n
    • \n

      \n sqlserver-web-15.0\n

      \n
    • \n
    ", "smithy.api#required": {} } }, @@ -10993,58 +10722,6 @@ } } }, - "com.amazonaws.rds#DescribeInstallationMedia": { - "type": "operation", - "input": { - "target": "com.amazonaws.rds#DescribeInstallationMediaMessage" - }, - "output": { - "target": "com.amazonaws.rds#InstallationMediaMessage" - }, - "errors": [ - { - "target": "com.amazonaws.rds#InstallationMediaNotFoundFault" - } - ], - "traits": { - "smithy.api#documentation": "

    Describes the available installation media for a DB engine that requires an \n on-premises customer provided license, such as Microsoft SQL Server.

    ", - "smithy.api#paginated": { - "inputToken": "Marker", - "outputToken": "Marker", - "items": "InstallationMedia", - "pageSize": "MaxRecords" - } - } - }, - "com.amazonaws.rds#DescribeInstallationMediaMessage": { - "type": "structure", - "members": { - "InstallationMediaId": { - "target": "com.amazonaws.rds#String", - "traits": { - "smithy.api#documentation": "

    The installation medium ID.

    " - } - }, - "Filters": { - "target": "com.amazonaws.rds#FilterList", - "traits": { - "smithy.api#documentation": "

    A filter that specifies one or more installation media to describe. Supported filters\n include the following:

    \n
      \n
    • \n

      \n custom-availability-zone-id - Accepts custom Availability Zone (AZ)\n identifiers. The results list includes information about only the custom AZs\n identified by these identifiers.

      \n
    • \n
    • \n

      \n engine - Accepts database engines. The results list includes information about \n only the database engines identified by these identifiers.

      \n

      For more information about the valid engines for installation media, see ImportInstallationMedia.

      \n
    • \n
    " - } - }, - "MaxRecords": { - "target": "com.amazonaws.rds#IntegerOptional", - "traits": { - "smithy.api#documentation": "

    An optional pagination token provided by a previous DescribeInstallationMedia request.\n If this parameter is specified, the response includes\n only records beyond the marker, up to the value specified by MaxRecords.

    " - } - }, - "Marker": { - "target": "com.amazonaws.rds#String", - "traits": { - "smithy.api#documentation": "

    An optional pagination token provided by a previous request.\n If this parameter is specified, the response includes\n only records beyond the marker,\n up to the value specified by MaxRecords.

    " - } - } - } - }, "com.amazonaws.rds#DescribeOptionGroupOptions": { "type": "operation", "input": { @@ -12761,196 +12438,6 @@ "smithy.api#httpError": 404 } }, - "com.amazonaws.rds#ImportInstallationMedia": { - "type": "operation", - "input": { - "target": "com.amazonaws.rds#ImportInstallationMediaMessage" - }, - "output": { - "target": "com.amazonaws.rds#InstallationMedia" - }, - "errors": [ - { - "target": "com.amazonaws.rds#CustomAvailabilityZoneNotFoundFault" - }, - { - "target": "com.amazonaws.rds#InstallationMediaAlreadyExistsFault" - } - ], - "traits": { - "smithy.api#documentation": "

    Imports the installation media for a DB engine that requires an on-premises \n customer provided license, such as SQL Server.

    " - } - }, - "com.amazonaws.rds#ImportInstallationMediaMessage": { - "type": "structure", - "members": { - "CustomAvailabilityZoneId": { - "target": "com.amazonaws.rds#String", - "traits": { - "smithy.api#documentation": "

    The identifier of the custom Availability Zone (AZ) to import the installation media to.

    ", - "smithy.api#required": {} - } - }, - "Engine": { - "target": "com.amazonaws.rds#String", - "traits": { - "smithy.api#documentation": "

    The name of the database engine to be used for this instance.

    \n

    The list only includes supported DB engines that require an on-premises \n customer provided license.

    \n

    Valid Values:

    \n
      \n
    • \n

      \n sqlserver-ee\n

      \n
    • \n
    • \n

      \n sqlserver-se\n

      \n
    • \n
    • \n

      \n sqlserver-ex\n

      \n
    • \n
    • \n

      \n sqlserver-web\n

      \n
    • \n
    ", - "smithy.api#required": {} - } - }, - "EngineVersion": { - "target": "com.amazonaws.rds#String", - "traits": { - "smithy.api#documentation": "

    The version number of the database engine to use.

    \n

    For a list of valid engine versions, call DescribeDBEngineVersions.

    \n

    The following are the database engines and links to information about the major and minor \n versions. The list only includes DB engines that require an on-premises \n customer provided license.

    \n

    \n Microsoft SQL Server\n

    \n

    See \n Microsoft SQL Server Versions on Amazon RDS in the Amazon RDS User Guide.

    ", - "smithy.api#required": {} - } - }, - "EngineInstallationMediaPath": { - "target": "com.amazonaws.rds#String", - "traits": { - "smithy.api#documentation": "

    The path to the installation medium for the specified DB engine.

    \n

    Example: SQLServerISO/en_sql_server_2016_enterprise_x64_dvd_8701793.iso\n

    ", - "smithy.api#required": {} - } - }, - "OSInstallationMediaPath": { - "target": "com.amazonaws.rds#String", - "traits": { - "smithy.api#documentation": "

    The path to the installation medium for the operating system associated with the specified DB engine.

    \n

    Example: WindowsISO/en_windows_server_2016_x64_dvd_9327751.iso\n

    ", - "smithy.api#required": {} - } - } - } - }, - "com.amazonaws.rds#InstallationMedia": { - "type": "structure", - "members": { - "InstallationMediaId": { - "target": "com.amazonaws.rds#String", - "traits": { - "smithy.api#documentation": "

    The installation medium ID.

    " - } - }, - "CustomAvailabilityZoneId": { - "target": "com.amazonaws.rds#String", - "traits": { - "smithy.api#documentation": "

    The custom Availability Zone (AZ) that contains the installation media.

    " - } - }, - "Engine": { - "target": "com.amazonaws.rds#String", - "traits": { - "smithy.api#documentation": "

    The DB engine.

    " - } - }, - "EngineVersion": { - "target": "com.amazonaws.rds#String", - "traits": { - "smithy.api#documentation": "

    The engine version of the DB engine.

    " - } - }, - "EngineInstallationMediaPath": { - "target": "com.amazonaws.rds#String", - "traits": { - "smithy.api#documentation": "

    The path to the installation medium for the DB engine.

    " - } - }, - "OSInstallationMediaPath": { - "target": "com.amazonaws.rds#String", - "traits": { - "smithy.api#documentation": "

    The path to the installation medium for the operating system associated with the DB engine.

    " - } - }, - "Status": { - "target": "com.amazonaws.rds#String", - "traits": { - "smithy.api#documentation": "

    The status of the installation medium.

    " - } - }, - "FailureCause": { - "target": "com.amazonaws.rds#InstallationMediaFailureCause", - "traits": { - "smithy.api#documentation": "

    If an installation media failure occurred, the cause of the failure.

    " - } - } - }, - "traits": { - "smithy.api#documentation": "

    Contains the installation media for a DB engine that requires an on-premises \n customer provided license, such as Microsoft SQL Server.

    " - } - }, - "com.amazonaws.rds#InstallationMediaAlreadyExistsFault": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.rds#ExceptionMessage" - } - }, - "traits": { - "aws.protocols#awsQueryError": { - "code": "InstallationMediaAlreadyExists", - "httpResponseCode": 400 - }, - "smithy.api#documentation": "

    The specified installation medium has already been imported.

    ", - "smithy.api#error": "client", - "smithy.api#httpError": 400 - } - }, - "com.amazonaws.rds#InstallationMediaFailureCause": { - "type": "structure", - "members": { - "Message": { - "target": "com.amazonaws.rds#String", - "traits": { - "smithy.api#documentation": "

    The reason that an installation media import failed.

    " - } - } - }, - "traits": { - "smithy.api#documentation": "

    Contains the cause of an installation media failure. Installation media is used \n for a DB engine that requires an on-premises \n customer provided license, such as Microsoft SQL Server.

    " - } - }, - "com.amazonaws.rds#InstallationMediaList": { - "type": "list", - "member": { - "target": "com.amazonaws.rds#InstallationMedia", - "traits": { - "smithy.api#xmlName": "InstallationMedia" - } - } - }, - "com.amazonaws.rds#InstallationMediaMessage": { - "type": "structure", - "members": { - "Marker": { - "target": "com.amazonaws.rds#String", - "traits": { - "smithy.api#documentation": "

    An optional pagination token provided by a previous\n DescribeInstallationMedia request.\n If this parameter is specified, the response includes\n only records beyond the marker,\n up to the value specified by MaxRecords.

    " - } - }, - "InstallationMedia": { - "target": "com.amazonaws.rds#InstallationMediaList", - "traits": { - "smithy.api#documentation": "

    The list of InstallationMedia objects for the Amazon Web Services account.

    " - } - } - } - }, - "com.amazonaws.rds#InstallationMediaNotFoundFault": { - "type": "structure", - "members": { - "message": { - "target": "com.amazonaws.rds#ExceptionMessage" - } - }, - "traits": { - "aws.protocols#awsQueryError": { - "code": "InstallationMediaNotFound", - "httpResponseCode": 404 - }, - "smithy.api#documentation": "

    \n InstallationMediaID doesn't refer to an existing installation medium.

    ", - "smithy.api#error": "client", - "smithy.api#httpError": 404 - } - }, "com.amazonaws.rds#InstanceQuotaExceededFault": { "type": "structure", "members": { @@ -13621,7 +13108,7 @@ } ], "traits": { - "smithy.api#documentation": "

    Override the system-default Secure Sockets Layer/Transport Layer Security (SSL/TLS)\n certificate for Amazon RDS for new DB instances temporarily, or remove the override.

    \n

    By using this operation, you can specify an RDS-approved SSL/TLS certificate for new DB\n instances that is different from the default certificate provided by RDS. You can also\n use this operation to remove the override, so that new DB instances use the default\n certificate provided by RDS.

    \n

    You might need to override the default certificate in the following situations:

    \n
      \n
    • \n

      You already migrated your applications to support the latest certificate authority (CA) certificate, but the new CA certificate is not yet \n the RDS default CA certificate for the specified Amazon Web Services Region.

      \n
    • \n
    • \n

      RDS has already moved to a new default CA certificate for the specified Amazon Web Services\n Region, but you are still in the process of supporting the new CA certificate.\n In this case, you temporarily need additional time to finish your application\n changes.

      \n
    • \n
    \n

    For more information about rotating your SSL/TLS certificate for RDS DB engines, see \n \n Rotating Your SSL/TLS Certificate in the Amazon RDS User Guide.

    \n

    For more information about rotating your SSL/TLS certificate for Aurora DB engines, see \n \n Rotating Your SSL/TLS Certificate in the Amazon Aurora User Guide.

    " + "smithy.api#documentation": "

    Override the system-default Secure Sockets Layer/Transport Layer Security (SSL/TLS)\n certificate for Amazon RDS for new DB instances, or remove the override.

    \n

    By using this operation, you can specify an RDS-approved SSL/TLS certificate for new DB\n instances that is different from the default certificate provided by RDS. You can also\n use this operation to remove the override, so that new DB instances use the default\n certificate provided by RDS.

    \n

    You might need to override the default certificate in the following situations:

    \n
      \n
    • \n

      You already migrated your applications to support the latest certificate authority (CA) certificate, but the new CA certificate is not yet \n the RDS default CA certificate for the specified Amazon Web Services Region.

      \n
    • \n
    • \n

      RDS has already moved to a new default CA certificate for the specified Amazon Web Services\n Region, but you are still in the process of supporting the new CA certificate.\n In this case, you temporarily need additional time to finish your application\n changes.

      \n
    • \n
    \n

    For more information about rotating your SSL/TLS certificate for RDS DB engines, see \n \n Rotating Your SSL/TLS Certificate in the Amazon RDS User Guide.

    \n

    For more information about rotating your SSL/TLS certificate for Aurora DB engines, see \n \n Rotating Your SSL/TLS Certificate in the Amazon Aurora User Guide.

    " } }, "com.amazonaws.rds#ModifyCertificatesMessage": { @@ -16894,6 +16381,9 @@ "input": { "target": "com.amazonaws.rds#RemoveRoleFromDBClusterMessage" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.rds#DBClusterNotFoundFault" @@ -16939,6 +16429,9 @@ "input": { "target": "com.amazonaws.rds#RemoveRoleFromDBInstanceMessage" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.rds#DBInstanceNotFoundFault" @@ -17035,6 +16528,9 @@ "input": { "target": "com.amazonaws.rds#RemoveTagsFromResourceMessage" }, + "output": { + "target": "smithy.api#Unit" + }, "errors": [ { "target": "com.amazonaws.rds#DBClusterNotFoundFault" @@ -20220,12 +19716,6 @@ "target": "com.amazonaws.rds#String" } }, - "com.amazonaws.rds#StringSensitive": { - "type": "string", - "traits": { - "smithy.api#sensitive": {} - } - }, "com.amazonaws.rds#Subnet": { "type": "structure", "members": { @@ -20808,50 +20298,6 @@ } } }, - "com.amazonaws.rds#VpnDetails": { - "type": "structure", - "members": { - "VpnId": { - "target": "com.amazonaws.rds#String", - "traits": { - "smithy.api#documentation": "

    The ID of the VPN.

    " - } - }, - "VpnTunnelOriginatorIP": { - "target": "com.amazonaws.rds#String", - "traits": { - "smithy.api#documentation": "

    The IP address of network traffic from your on-premises data center. A custom AZ receives the network traffic.

    " - } - }, - "VpnGatewayIp": { - "target": "com.amazonaws.rds#String", - "traits": { - "smithy.api#documentation": "

    The IP address of network traffic from Amazon Web Services to your on-premises data center.

    " - } - }, - "VpnPSK": { - "target": "com.amazonaws.rds#StringSensitive", - "traits": { - "smithy.api#documentation": "

    The preshared key (PSK) for the VPN.

    " - } - }, - "VpnName": { - "target": "com.amazonaws.rds#String", - "traits": { - "smithy.api#documentation": "

    The name of the VPN.

    " - } - }, - "VpnState": { - "target": "com.amazonaws.rds#String", - "traits": { - "smithy.api#documentation": "

    The state of the VPN.

    " - } - } - }, - "traits": { - "smithy.api#documentation": "

    Information about the virtual private network (VPN) between the VMware vSphere cluster and the Amazon Web Services website.

    \n

    For more information about RDS on VMware, see the \n \n RDS on VMware User Guide.\n

    " - } - }, "com.amazonaws.rds#WriteForwardingStatus": { "type": "string", "traits": {