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 { DescribeReplicationSubnetGroupsMessage, DescribeReplicationSubnetGroupsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeReplicationSubnetGroupsCommand}. */ export interface DescribeReplicationSubnetGroupsCommandInput extends DescribeReplicationSubnetGroupsMessage { } /** * @public * * The output of {@link DescribeReplicationSubnetGroupsCommand}. */ export interface DescribeReplicationSubnetGroupsCommandOutput extends DescribeReplicationSubnetGroupsResponse, __MetadataBearer { } declare const DescribeReplicationSubnetGroupsCommand_base: { new (input: DescribeReplicationSubnetGroupsCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [DescribeReplicationSubnetGroupsCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Returns information about the replication subnet groups.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DatabaseMigrationServiceClient, DescribeReplicationSubnetGroupsCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import * // const { DatabaseMigrationServiceClient, DescribeReplicationSubnetGroupsCommand } = 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 = { // DescribeReplicationSubnetGroupsMessage * Filters: [ // FilterList * { // Filter * Name: "STRING_VALUE", // required * Values: [ // FilterValueList // required * "STRING_VALUE", * ], * }, * ], * MaxRecords: Number("int"), * Marker: "STRING_VALUE", * }; * const command = new DescribeReplicationSubnetGroupsCommand(input); * const response = await client.send(command); * // { // DescribeReplicationSubnetGroupsResponse * // Marker: "STRING_VALUE", * // ReplicationSubnetGroups: [ // ReplicationSubnetGroups * // { // 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 DescribeReplicationSubnetGroupsCommandInput - {@link DescribeReplicationSubnetGroupsCommandInput} * @returns {@link DescribeReplicationSubnetGroupsCommandOutput} * @see {@link DescribeReplicationSubnetGroupsCommandInput} for command's `input` shape. * @see {@link DescribeReplicationSubnetGroupsCommandOutput} for command's `response` shape. * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape. * * @throws {@link ResourceNotFoundFault} (client fault) *

The resource could not be found.

* * @throws {@link DatabaseMigrationServiceServiceException} *

Base exception class for all service exceptions from DatabaseMigrationService service.

* * * @example Describe replication subnet groups * ```javascript * // Returns information about the replication subnet groups. * const input = { * Filters: [ * { * Name: "string", * Values: [ * "string", * "string" * ] * } * ], * Marker: "", * MaxRecords: 123 * }; * const command = new DescribeReplicationSubnetGroupsCommand(input); * const response = await client.send(command); * /* response is * { * Marker: "", * ReplicationSubnetGroups: [] * } * *\/ * ``` * * @public */ export declare class DescribeReplicationSubnetGroupsCommand extends DescribeReplicationSubnetGroupsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeReplicationSubnetGroupsMessage; output: DescribeReplicationSubnetGroupsResponse; }; sdk: { input: DescribeReplicationSubnetGroupsCommandInput; output: DescribeReplicationSubnetGroupsCommandOutput; }; }; }