import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeResourceGroupsRequest, DescribeResourceGroupsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeResourceGroupsCommand}. */ export interface DescribeResourceGroupsCommandInput extends DescribeResourceGroupsRequest { } /** * @public * * The output of {@link DescribeResourceGroupsCommand}. */ export interface DescribeResourceGroupsCommandOutput extends DescribeResourceGroupsResponse, __MetadataBearer { } declare const DescribeResourceGroupsCommand_base: { new (input: DescribeResourceGroupsCommandInput): import("@smithy/core/client").CommandImpl; new (input: DescribeResourceGroupsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Describes the resource groups that are specified by the ARNs of the resource * groups.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { InspectorClient, DescribeResourceGroupsCommand } from "@aws-sdk/client-inspector"; // ES Modules import * // const { InspectorClient, DescribeResourceGroupsCommand } = require("@aws-sdk/client-inspector"); // CommonJS import * // import type { InspectorClientConfig } from "@aws-sdk/client-inspector"; * const config = {}; // type is InspectorClientConfig * const client = new InspectorClient(config); * const input = { // DescribeResourceGroupsRequest * resourceGroupArns: [ // BatchDescribeArnList // required * "STRING_VALUE", * ], * }; * const command = new DescribeResourceGroupsCommand(input); * const response = await client.send(command); * // { // DescribeResourceGroupsResponse * // resourceGroups: [ // ResourceGroupList // required * // { // ResourceGroup * // arn: "STRING_VALUE", // required * // tags: [ // ResourceGroupTags // required * // { // ResourceGroupTag * // key: "STRING_VALUE", // required * // value: "STRING_VALUE", * // }, * // ], * // createdAt: new Date("TIMESTAMP"), // required * // }, * // ], * // failedItems: { // FailedItems // required * // "": { // FailedItemDetails * // failureCode: "INVALID_ARN" || "DUPLICATE_ARN" || "ITEM_DOES_NOT_EXIST" || "ACCESS_DENIED" || "LIMIT_EXCEEDED" || "INTERNAL_ERROR", // required * // retryable: true || false, // required * // }, * // }, * // }; * * ``` * * @param DescribeResourceGroupsCommandInput - {@link DescribeResourceGroupsCommandInput} * @returns {@link DescribeResourceGroupsCommandOutput} * @see {@link DescribeResourceGroupsCommandInput} for command's `input` shape. * @see {@link DescribeResourceGroupsCommandOutput} for command's `response` shape. * @see {@link InspectorClientResolvedConfig | config} for InspectorClient's `config` shape. * * @throws {@link InternalException} (server fault) *

Internal server error.

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

The request was rejected because an invalid or out-of-range value was supplied for an * input parameter.

* * @throws {@link InspectorServiceException} *

Base exception class for all service exceptions from Inspector service.

* * * @public */ export declare class DescribeResourceGroupsCommand extends DescribeResourceGroupsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeResourceGroupsRequest; output: DescribeResourceGroupsResponse; }; sdk: { input: DescribeResourceGroupsCommandInput; output: DescribeResourceGroupsCommandOutput; }; }; }