import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ModifyDBSubnetGroupMessage, ModifyDBSubnetGroupResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ModifyDBSubnetGroupCommand}. */ export interface ModifyDBSubnetGroupCommandInput extends ModifyDBSubnetGroupMessage { } /** * @public * * The output of {@link ModifyDBSubnetGroupCommand}. */ export interface ModifyDBSubnetGroupCommandOutput extends ModifyDBSubnetGroupResult, __MetadataBearer { } declare const ModifyDBSubnetGroupCommand_base: { new (input: ModifyDBSubnetGroupCommandInput): import("@smithy/core/client").CommandImpl; new (input: ModifyDBSubnetGroupCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Modifies an existing subnet group. subnet groups must contain at least one subnet in at least two Availability Zones in the Amazon Web Services Region.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DocDBClient, ModifyDBSubnetGroupCommand } from "@aws-sdk/client-docdb"; // ES Modules import * // const { DocDBClient, ModifyDBSubnetGroupCommand } = require("@aws-sdk/client-docdb"); // CommonJS import * // import type { DocDBClientConfig } from "@aws-sdk/client-docdb"; * const config = {}; // type is DocDBClientConfig * const client = new DocDBClient(config); * const input = { // ModifyDBSubnetGroupMessage * DBSubnetGroupName: "STRING_VALUE", // required * DBSubnetGroupDescription: "STRING_VALUE", * SubnetIds: [ // SubnetIdentifierList // required * "STRING_VALUE", * ], * }; * const command = new ModifyDBSubnetGroupCommand(input); * const response = await client.send(command); * // { // ModifyDBSubnetGroupResult * // DBSubnetGroup: { // DBSubnetGroup * // DBSubnetGroupName: "STRING_VALUE", * // DBSubnetGroupDescription: "STRING_VALUE", * // VpcId: "STRING_VALUE", * // SubnetGroupStatus: "STRING_VALUE", * // Subnets: [ // SubnetList * // { // Subnet * // SubnetIdentifier: "STRING_VALUE", * // SubnetAvailabilityZone: { // AvailabilityZone * // Name: "STRING_VALUE", * // }, * // SubnetStatus: "STRING_VALUE", * // }, * // ], * // DBSubnetGroupArn: "STRING_VALUE", * // SupportedNetworkTypes: [ // NetworkTypeList * // "STRING_VALUE", * // ], * // }, * // }; * * ``` * * @param ModifyDBSubnetGroupCommandInput - {@link ModifyDBSubnetGroupCommandInput} * @returns {@link ModifyDBSubnetGroupCommandOutput} * @see {@link ModifyDBSubnetGroupCommandInput} for command's `input` shape. * @see {@link ModifyDBSubnetGroupCommandOutput} for command's `response` shape. * @see {@link DocDBClientResolvedConfig | config} for DocDBClient's `config` shape. * * @throws {@link DBSubnetGroupDoesNotCoverEnoughAZs} (client fault) *

Subnets in the subnet group should cover at least two Availability Zones unless there is only one Availability Zone.

* * @throws {@link DBSubnetGroupNotFoundFault} (client fault) *

* DBSubnetGroupName doesn't refer to an existing subnet group.

* * @throws {@link DBSubnetQuotaExceededFault} (client fault) *

The request would cause you to exceed the allowed number of subnets in a subnet group.

* * @throws {@link InvalidSubnet} (client fault) *

The requested subnet is not valid, or multiple subnets were requested that are not all * in a common virtual private cloud (VPC).

* * @throws {@link SubnetAlreadyInUse} (client fault) *

The subnet is already in use in the Availability Zone.

* * @throws {@link DocDBServiceException} *

Base exception class for all service exceptions from DocDB service.

* * * @public */ export declare class ModifyDBSubnetGroupCommand extends ModifyDBSubnetGroupCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ModifyDBSubnetGroupMessage; output: ModifyDBSubnetGroupResult; }; sdk: { input: ModifyDBSubnetGroupCommandInput; output: ModifyDBSubnetGroupCommandOutput; }; }; }