import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeMetricCollectionTypesAnswer } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeMetricCollectionTypesCommand}. */ export interface DescribeMetricCollectionTypesCommandInput { } /** * @public * * The output of {@link DescribeMetricCollectionTypesCommand}. */ export interface DescribeMetricCollectionTypesCommandOutput extends DescribeMetricCollectionTypesAnswer, __MetadataBearer { } declare const DescribeMetricCollectionTypesCommand_base: { new (input: DescribeMetricCollectionTypesCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [DescribeMetricCollectionTypesCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Describes the available CloudWatch metrics for Amazon EC2 Auto Scaling.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { AutoScalingClient, DescribeMetricCollectionTypesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import * // const { AutoScalingClient, DescribeMetricCollectionTypesCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import * // import type { AutoScalingClientConfig } from "@aws-sdk/client-auto-scaling"; * const config = {}; // type is AutoScalingClientConfig * const client = new AutoScalingClient(config); * const input = {}; * const command = new DescribeMetricCollectionTypesCommand(input); * const response = await client.send(command); * // { // DescribeMetricCollectionTypesAnswer * // Metrics: [ // MetricCollectionTypes * // { // MetricCollectionType * // Metric: "STRING_VALUE", * // }, * // ], * // Granularities: [ // MetricGranularityTypes * // { // MetricGranularityType * // Granularity: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param DescribeMetricCollectionTypesCommandInput - {@link DescribeMetricCollectionTypesCommandInput} * @returns {@link DescribeMetricCollectionTypesCommandOutput} * @see {@link DescribeMetricCollectionTypesCommandInput} for command's `input` shape. * @see {@link DescribeMetricCollectionTypesCommandOutput} for command's `response` shape. * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape. * * @throws {@link ResourceContentionFault} (server fault) *

You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group, * instance, or load balancer).

* * @throws {@link AutoScalingServiceException} *

Base exception class for all service exceptions from AutoScaling service.

* * * @example To describe the Auto Scaling metric collection types * ```javascript * // This example describes the available metric collection types. * const input = { /* empty *\/ }; * const command = new DescribeMetricCollectionTypesCommand(input); * const response = await client.send(command); * /* response is * { * Granularities: [ * { * Granularity: "1Minute" * } * ], * Metrics: [ * { * Metric: "GroupMinSize" * }, * { * Metric: "GroupMaxSize" * }, * { * Metric: "GroupDesiredCapacity" * }, * { * Metric: "GroupInServiceInstances" * }, * { * Metric: "GroupPendingInstances" * }, * { * Metric: "GroupTerminatingInstances" * }, * { * Metric: "GroupStandbyInstances" * }, * { * Metric: "GroupTotalInstances" * } * ] * } * *\/ * ``` * * @public */ export declare class DescribeMetricCollectionTypesCommand extends DescribeMetricCollectionTypesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: {}; output: DescribeMetricCollectionTypesAnswer; }; sdk: { input: DescribeMetricCollectionTypesCommandInput; output: DescribeMetricCollectionTypesCommandOutput; }; }; }