import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetScopeInput, GetScopeOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetScopeCommand}. */ export interface GetScopeCommandInput extends GetScopeInput { } /** * @public * * The output of {@link GetScopeCommand}. */ export interface GetScopeCommandOutput extends GetScopeOutput, __MetadataBearer { } declare const GetScopeCommand_base: { new (input: GetScopeCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetScopeCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Gets information about a scope, including the name, status, tags, and target details. The scope in Network Flow Monitor is an account.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { NetworkFlowMonitorClient, GetScopeCommand } from "@aws-sdk/client-networkflowmonitor"; // ES Modules import * // const { NetworkFlowMonitorClient, GetScopeCommand } = require("@aws-sdk/client-networkflowmonitor"); // CommonJS import * // import type { NetworkFlowMonitorClientConfig } from "@aws-sdk/client-networkflowmonitor"; * const config = {}; // type is NetworkFlowMonitorClientConfig * const client = new NetworkFlowMonitorClient(config); * const input = { // GetScopeInput * scopeId: "STRING_VALUE", // required * }; * const command = new GetScopeCommand(input); * const response = await client.send(command); * // { // GetScopeOutput * // scopeId: "STRING_VALUE", // required * // status: "SUCCEEDED" || "IN_PROGRESS" || "FAILED" || "DEACTIVATING" || "DEACTIVATED", // required * // scopeArn: "STRING_VALUE", // required * // targets: [ // TargetResourceList // required * // { // TargetResource * // targetIdentifier: { // TargetIdentifier * // targetId: { // TargetId Union: only one key present * // accountId: "STRING_VALUE", * // }, * // targetType: "ACCOUNT", // required * // }, * // region: "STRING_VALUE", // required * // }, * // ], * // tags: { // TagMap * // "": "STRING_VALUE", * // }, * // }; * * ``` * * @param GetScopeCommandInput - {@link GetScopeCommandInput} * @returns {@link GetScopeCommandOutput} * @see {@link GetScopeCommandInput} for command's `input` shape. * @see {@link GetScopeCommandOutput} for command's `response` shape. * @see {@link NetworkFlowMonitorClientResolvedConfig | config} for NetworkFlowMonitorClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You don't have sufficient permission to perform this action.

* * @throws {@link InternalServerException} (server fault) *

An internal error occurred.

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

The request specifies a resource that doesn't exist.

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

The request exceeded a service quota.

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

The request was denied due to request throttling.

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

Invalid request.

* * @throws {@link NetworkFlowMonitorServiceException} *

Base exception class for all service exceptions from NetworkFlowMonitor service.

* * * @public */ export declare class GetScopeCommand extends GetScopeCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetScopeInput; output: GetScopeOutput; }; sdk: { input: GetScopeCommandInput; output: GetScopeCommandOutput; }; }; }