import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DescribeActivationsRequest, DescribeActivationsResult } from "../models/models_0"; import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeActivationsCommand}. */ export interface DescribeActivationsCommandInput extends DescribeActivationsRequest { } /** * @public * * The output of {@link DescribeActivationsCommand}. */ export interface DescribeActivationsCommandOutput extends DescribeActivationsResult, __MetadataBearer { } declare const DescribeActivationsCommand_base: { new (input: DescribeActivationsCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [DescribeActivationsCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Describes details about the activation, such as the date and time the activation was * created, its expiration date, the Identity and Access Management (IAM) role assigned to * the managed nodes in the activation, and the number of nodes registered by using this * activation.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SSMClient, DescribeActivationsCommand } from "@aws-sdk/client-ssm"; // ES Modules import * // const { SSMClient, DescribeActivationsCommand } = require("@aws-sdk/client-ssm"); // CommonJS import * const client = new SSMClient(config); * const input = { // DescribeActivationsRequest * Filters: [ // DescribeActivationsFilterList * { // DescribeActivationsFilter * FilterKey: "ActivationIds" || "DefaultInstanceName" || "IamRole", * FilterValues: [ // StringList * "STRING_VALUE", * ], * }, * ], * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new DescribeActivationsCommand(input); * const response = await client.send(command); * // { // DescribeActivationsResult * // ActivationList: [ // ActivationList * // { // Activation * // ActivationId: "STRING_VALUE", * // Description: "STRING_VALUE", * // DefaultInstanceName: "STRING_VALUE", * // IamRole: "STRING_VALUE", * // RegistrationLimit: Number("int"), * // RegistrationsCount: Number("int"), * // ExpirationDate: new Date("TIMESTAMP"), * // Expired: true || false, * // CreatedDate: new Date("TIMESTAMP"), * // Tags: [ // TagList * // { // Tag * // Key: "STRING_VALUE", // required * // Value: "STRING_VALUE", // required * // }, * // ], * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param DescribeActivationsCommandInput - {@link DescribeActivationsCommandInput} * @returns {@link DescribeActivationsCommandOutput} * @see {@link DescribeActivationsCommandInput} for command's `input` shape. * @see {@link DescribeActivationsCommandOutput} for command's `response` shape. * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. * * @throws {@link InternalServerError} (server fault) *

An error occurred on the server side.

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

The filter name isn't valid. Verify that you entered the correct name and try again.

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

The specified token isn't valid.

* * @throws {@link SSMServiceException} *

Base exception class for all service exceptions from SSM service.

* * * @public */ export declare class DescribeActivationsCommand extends DescribeActivationsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeActivationsRequest; output: DescribeActivationsResult; }; sdk: { input: DescribeActivationsCommandInput; output: DescribeActivationsCommandOutput; }; }; }