import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ConfigServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConfigServiceClient"; import type { DescribeAggregationAuthorizationsRequest, DescribeAggregationAuthorizationsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeAggregationAuthorizationsCommand}. */ export interface DescribeAggregationAuthorizationsCommandInput extends DescribeAggregationAuthorizationsRequest { } /** * @public * * The output of {@link DescribeAggregationAuthorizationsCommand}. */ export interface DescribeAggregationAuthorizationsCommandOutput extends DescribeAggregationAuthorizationsResponse, __MetadataBearer { } declare const DescribeAggregationAuthorizationsCommand_base: { new (input: DescribeAggregationAuthorizationsCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [DescribeAggregationAuthorizationsCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Returns a list of authorizations granted to various aggregator * accounts and regions.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ConfigServiceClient, DescribeAggregationAuthorizationsCommand } from "@aws-sdk/client-config-service"; // ES Modules import * // const { ConfigServiceClient, DescribeAggregationAuthorizationsCommand } = require("@aws-sdk/client-config-service"); // CommonJS import * // import type { ConfigServiceClientConfig } from "@aws-sdk/client-config-service"; * const config = {}; // type is ConfigServiceClientConfig * const client = new ConfigServiceClient(config); * const input = { // DescribeAggregationAuthorizationsRequest * Limit: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new DescribeAggregationAuthorizationsCommand(input); * const response = await client.send(command); * // { // DescribeAggregationAuthorizationsResponse * // AggregationAuthorizations: [ // AggregationAuthorizationList * // { // AggregationAuthorization * // AggregationAuthorizationArn: "STRING_VALUE", * // AuthorizedAccountId: "STRING_VALUE", * // AuthorizedAwsRegion: "STRING_VALUE", * // CreationTime: new Date("TIMESTAMP"), * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param DescribeAggregationAuthorizationsCommandInput - {@link DescribeAggregationAuthorizationsCommandInput} * @returns {@link DescribeAggregationAuthorizationsCommandOutput} * @see {@link DescribeAggregationAuthorizationsCommandInput} for command's `input` shape. * @see {@link DescribeAggregationAuthorizationsCommandOutput} for command's `response` shape. * @see {@link ConfigServiceClientResolvedConfig | config} for ConfigServiceClient's `config` shape. * * @throws {@link InvalidLimitException} (client fault) *

The specified limit is outside the allowable range.

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

The specified next token is not valid. Specify the * nextToken string that was returned in the previous * response to get the next page of results.

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

One or more of the specified parameters are not valid. Verify * that your parameters are valid and try again.

* * @throws {@link ConfigServiceServiceException} *

Base exception class for all service exceptions from ConfigService service.

* * * @public */ export declare class DescribeAggregationAuthorizationsCommand extends DescribeAggregationAuthorizationsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeAggregationAuthorizationsRequest; output: DescribeAggregationAuthorizationsResponse; }; sdk: { input: DescribeAggregationAuthorizationsCommandInput; output: DescribeAggregationAuthorizationsCommandOutput; }; }; }