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 { DescribeRetentionConfigurationsRequest, DescribeRetentionConfigurationsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeRetentionConfigurationsCommand}. */ export interface DescribeRetentionConfigurationsCommandInput extends DescribeRetentionConfigurationsRequest { } /** * @public * * The output of {@link DescribeRetentionConfigurationsCommand}. */ export interface DescribeRetentionConfigurationsCommandOutput extends DescribeRetentionConfigurationsResponse, __MetadataBearer { } declare const DescribeRetentionConfigurationsCommand_base: { new (input: DescribeRetentionConfigurationsCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [DescribeRetentionConfigurationsCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Returns the details of one or more retention configurations. If * the retention configuration name is not specified, this operation * returns the details for all the retention configurations for that * account.

* *

Currently, Config supports only one retention * configuration per region in your account.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ConfigServiceClient, DescribeRetentionConfigurationsCommand } from "@aws-sdk/client-config-service"; // ES Modules import * // const { ConfigServiceClient, DescribeRetentionConfigurationsCommand } = 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 = { // DescribeRetentionConfigurationsRequest * RetentionConfigurationNames: [ // RetentionConfigurationNameList * "STRING_VALUE", * ], * NextToken: "STRING_VALUE", * }; * const command = new DescribeRetentionConfigurationsCommand(input); * const response = await client.send(command); * // { // DescribeRetentionConfigurationsResponse * // RetentionConfigurations: [ // RetentionConfigurationList * // { // RetentionConfiguration * // Name: "STRING_VALUE", // required * // RetentionPeriodInDays: Number("int"), // required * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param DescribeRetentionConfigurationsCommandInput - {@link DescribeRetentionConfigurationsCommandInput} * @returns {@link DescribeRetentionConfigurationsCommandOutput} * @see {@link DescribeRetentionConfigurationsCommandInput} for command's `input` shape. * @see {@link DescribeRetentionConfigurationsCommandOutput} for command's `response` shape. * @see {@link ConfigServiceClientResolvedConfig | config} for ConfigServiceClient's `config` shape. * * @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 NoSuchRetentionConfigurationException} (client fault) *

You have specified a retention configuration that does not exist.

* * @throws {@link ConfigServiceServiceException} *

Base exception class for all service exceptions from ConfigService service.

* * * @public */ export declare class DescribeRetentionConfigurationsCommand extends DescribeRetentionConfigurationsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeRetentionConfigurationsRequest; output: DescribeRetentionConfigurationsResponse; }; sdk: { input: DescribeRetentionConfigurationsCommandInput; output: DescribeRetentionConfigurationsCommandOutput; }; }; }