import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetNetworkResourceCountsRequest, GetNetworkResourceCountsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetNetworkResourceCountsCommand}. */ export interface GetNetworkResourceCountsCommandInput extends GetNetworkResourceCountsRequest { } /** * @public * * The output of {@link GetNetworkResourceCountsCommand}. */ export interface GetNetworkResourceCountsCommandOutput extends GetNetworkResourceCountsResponse, __MetadataBearer { } declare const GetNetworkResourceCountsCommand_base: { new (input: GetNetworkResourceCountsCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetNetworkResourceCountsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Gets the count of network resources, by resource type, for the specified global network.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { NetworkManagerClient, GetNetworkResourceCountsCommand } from "@aws-sdk/client-networkmanager"; // ES Modules import * // const { NetworkManagerClient, GetNetworkResourceCountsCommand } = require("@aws-sdk/client-networkmanager"); // CommonJS import * // import type { NetworkManagerClientConfig } from "@aws-sdk/client-networkmanager"; * const config = {}; // type is NetworkManagerClientConfig * const client = new NetworkManagerClient(config); * const input = { // GetNetworkResourceCountsRequest * GlobalNetworkId: "STRING_VALUE", // required * ResourceType: "STRING_VALUE", * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new GetNetworkResourceCountsCommand(input); * const response = await client.send(command); * // { // GetNetworkResourceCountsResponse * // NetworkResourceCounts: [ // NetworkResourceCountList * // { // NetworkResourceCount * // ResourceType: "STRING_VALUE", * // Count: Number("int"), * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param GetNetworkResourceCountsCommandInput - {@link GetNetworkResourceCountsCommandInput} * @returns {@link GetNetworkResourceCountsCommandOutput} * @see {@link GetNetworkResourceCountsCommandInput} for command's `input` shape. * @see {@link GetNetworkResourceCountsCommandOutput} for command's `response` shape. * @see {@link NetworkManagerClientResolvedConfig | config} for NetworkManagerClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

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

The request has failed due to an internal error.

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

The request was denied due to request throttling.

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

The input fails to satisfy the constraints.

* * @throws {@link NetworkManagerServiceException} *

Base exception class for all service exceptions from NetworkManager service.

* * * @public */ export declare class GetNetworkResourceCountsCommand extends GetNetworkResourceCountsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetNetworkResourceCountsRequest; output: GetNetworkResourceCountsResponse; }; sdk: { input: GetNetworkResourceCountsCommandInput; output: GetNetworkResourceCountsCommandOutput; }; }; }