import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DatabaseMigrationServiceClient"; import type { ModifyReplicationSubnetGroupMessage, ModifyReplicationSubnetGroupResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ModifyReplicationSubnetGroupCommand}. */ export interface ModifyReplicationSubnetGroupCommandInput extends ModifyReplicationSubnetGroupMessage { } /** * @public * * The output of {@link ModifyReplicationSubnetGroupCommand}. */ export interface ModifyReplicationSubnetGroupCommandOutput extends ModifyReplicationSubnetGroupResponse, __MetadataBearer { } declare const ModifyReplicationSubnetGroupCommand_base: { new (input: ModifyReplicationSubnetGroupCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: ModifyReplicationSubnetGroupCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Modifies the settings for the specified replication subnet group.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DatabaseMigrationServiceClient, ModifyReplicationSubnetGroupCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import * // const { DatabaseMigrationServiceClient, ModifyReplicationSubnetGroupCommand } = require("@aws-sdk/client-database-migration-service"); // CommonJS import * // import type { DatabaseMigrationServiceClientConfig } from "@aws-sdk/client-database-migration-service"; * const config = {}; // type is DatabaseMigrationServiceClientConfig * const client = new DatabaseMigrationServiceClient(config); * const input = { // ModifyReplicationSubnetGroupMessage * ReplicationSubnetGroupIdentifier: "STRING_VALUE", // required * ReplicationSubnetGroupDescription: "STRING_VALUE", * SubnetIds: [ // SubnetIdentifierList // required * "STRING_VALUE", * ], * }; * const command = new ModifyReplicationSubnetGroupCommand(input); * const response = await client.send(command); * // { // ModifyReplicationSubnetGroupResponse * // ReplicationSubnetGroup: { // ReplicationSubnetGroup * // ReplicationSubnetGroupIdentifier: "STRING_VALUE", * // ReplicationSubnetGroupDescription: "STRING_VALUE", * // VpcId: "STRING_VALUE", * // SubnetGroupStatus: "STRING_VALUE", * // Subnets: [ // SubnetList * // { // Subnet * // SubnetIdentifier: "STRING_VALUE", * // SubnetAvailabilityZone: { // AvailabilityZone * // Name: "STRING_VALUE", * // }, * // SubnetStatus: "STRING_VALUE", * // }, * // ], * // SupportedNetworkTypes: [ // StringList * // "STRING_VALUE", * // ], * // IsReadOnly: true || false, * // }, * // }; * * ``` * * @param ModifyReplicationSubnetGroupCommandInput - {@link ModifyReplicationSubnetGroupCommandInput} * @returns {@link ModifyReplicationSubnetGroupCommandOutput} * @see {@link ModifyReplicationSubnetGroupCommandInput} for command's `input` shape. * @see {@link ModifyReplicationSubnetGroupCommandOutput} for command's `response` shape. * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape. * * @throws {@link AccessDeniedFault} (client fault) *

DMS was denied access to the endpoint. Check that the * role is correctly configured.

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

The subnet provided isn't valid.

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

The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.

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

The resource could not be found.

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

The quota for this resource quota has been exceeded.

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

The specified subnet is already in use.

* * @throws {@link DatabaseMigrationServiceServiceException} *

Base exception class for all service exceptions from DatabaseMigrationService service.

* * * @example Modify replication subnet group * ```javascript * // Modifies the settings for the specified replication subnet group. * const input = { * ReplicationSubnetGroupDescription: "", * ReplicationSubnetGroupIdentifier: "", * SubnetIds: [] * }; * const command = new ModifyReplicationSubnetGroupCommand(input); * const response = await client.send(command); * /* response is * { * ReplicationSubnetGroup: { /* empty *\/ } * } * *\/ * ``` * * @public */ export declare class ModifyReplicationSubnetGroupCommand extends ModifyReplicationSubnetGroupCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ModifyReplicationSubnetGroupMessage; output: ModifyReplicationSubnetGroupResponse; }; sdk: { input: ModifyReplicationSubnetGroupCommandInput; output: ModifyReplicationSubnetGroupCommandOutput; }; }; }