import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeSourceNetworksRequest, DescribeSourceNetworksResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeSourceNetworksCommand}. */ export interface DescribeSourceNetworksCommandInput extends DescribeSourceNetworksRequest { } /** * @public * * The output of {@link DescribeSourceNetworksCommand}. */ export interface DescribeSourceNetworksCommandOutput extends DescribeSourceNetworksResponse, __MetadataBearer { } declare const DescribeSourceNetworksCommand_base: { new (input: DescribeSourceNetworksCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [DescribeSourceNetworksCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Lists all Source Networks or multiple Source Networks filtered by ID.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DrsClient, DescribeSourceNetworksCommand } from "@aws-sdk/client-drs"; // ES Modules import * // const { DrsClient, DescribeSourceNetworksCommand } = require("@aws-sdk/client-drs"); // CommonJS import * // import type { DrsClientConfig } from "@aws-sdk/client-drs"; * const config = {}; // type is DrsClientConfig * const client = new DrsClient(config); * const input = { // DescribeSourceNetworksRequest * filters: { // DescribeSourceNetworksRequestFilters * sourceNetworkIDs: [ // DescribeSourceNetworksRequestFiltersIDs * "STRING_VALUE", * ], * originAccountID: "STRING_VALUE", * originRegion: "STRING_VALUE", * }, * maxResults: Number("int"), * nextToken: "STRING_VALUE", * }; * const command = new DescribeSourceNetworksCommand(input); * const response = await client.send(command); * // { // DescribeSourceNetworksResponse * // items: [ // SourceNetworksList * // { // SourceNetwork * // sourceNetworkID: "STRING_VALUE", * // sourceVpcID: "STRING_VALUE", * // arn: "STRING_VALUE", * // tags: { // TagsMap * // "": "STRING_VALUE", * // }, * // replicationStatus: "STRING_VALUE", * // replicationStatusDetails: "STRING_VALUE", * // cfnStackName: "STRING_VALUE", * // sourceRegion: "STRING_VALUE", * // sourceAccountID: "STRING_VALUE", * // lastRecovery: { // RecoveryLifeCycle * // apiCallDateTime: new Date("TIMESTAMP"), * // jobID: "STRING_VALUE", * // lastRecoveryResult: "STRING_VALUE", * // }, * // launchedVpcID: "STRING_VALUE", * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param DescribeSourceNetworksCommandInput - {@link DescribeSourceNetworksCommandInput} * @returns {@link DescribeSourceNetworksCommandOutput} * @see {@link DescribeSourceNetworksCommandInput} for command's `input` shape. * @see {@link DescribeSourceNetworksCommandOutput} for command's `response` shape. * @see {@link DrsClientResolvedConfig | config} for DrsClient's `config` shape. * * @throws {@link InternalServerException} (server fault) *

The request processing has failed because of an unknown error, exception or failure.

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

The request was denied due to request throttling.

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

The account performing the request has not been initialized.

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

The input fails to satisfy the constraints specified by the AWS service.

* * @throws {@link DrsServiceException} *

Base exception class for all service exceptions from Drs service.

* * * @public */ export declare class DescribeSourceNetworksCommand extends DescribeSourceNetworksCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeSourceNetworksRequest; output: DescribeSourceNetworksResponse; }; sdk: { input: DescribeSourceNetworksCommandInput; output: DescribeSourceNetworksCommandOutput; }; }; }