import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeActivityInput, DescribeActivityOutput } from "../models/models_0"; import type { ServiceInputTypes, ServiceOutputTypes, SFNClientResolvedConfig } from "../SFNClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeActivityCommand}. */ export interface DescribeActivityCommandInput extends DescribeActivityInput { } /** * @public * * The output of {@link DescribeActivityCommand}. */ export interface DescribeActivityCommandOutput extends DescribeActivityOutput, __MetadataBearer { } declare const DescribeActivityCommand_base: { new (input: DescribeActivityCommandInput): import("@smithy/core/client").CommandImpl; new (input: DescribeActivityCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Describes an activity.

* *

This operation is eventually consistent. The results are best effort and may not reflect very recent updates and changes.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SFNClient, DescribeActivityCommand } from "@aws-sdk/client-sfn"; // ES Modules import * // const { SFNClient, DescribeActivityCommand } = require("@aws-sdk/client-sfn"); // CommonJS import * // import type { SFNClientConfig } from "@aws-sdk/client-sfn"; * const config = {}; // type is SFNClientConfig * const client = new SFNClient(config); * const input = { // DescribeActivityInput * activityArn: "STRING_VALUE", // required * }; * const command = new DescribeActivityCommand(input); * const response = await client.send(command); * // { // DescribeActivityOutput * // activityArn: "STRING_VALUE", // required * // name: "STRING_VALUE", // required * // creationDate: new Date("TIMESTAMP"), // required * // encryptionConfiguration: { // EncryptionConfiguration * // kmsKeyId: "STRING_VALUE", * // kmsDataKeyReusePeriodSeconds: Number("int"), * // type: "AWS_OWNED_KEY" || "CUSTOMER_MANAGED_KMS_KEY", // required * // }, * // }; * * ``` * * @param DescribeActivityCommandInput - {@link DescribeActivityCommandInput} * @returns {@link DescribeActivityCommandOutput} * @see {@link DescribeActivityCommandInput} for command's `input` shape. * @see {@link DescribeActivityCommandOutput} for command's `response` shape. * @see {@link SFNClientResolvedConfig | config} for SFNClient's `config` shape. * * @throws {@link ActivityDoesNotExist} (client fault) *

The specified activity does not exist.

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

The provided Amazon Resource Name (ARN) is not valid.

* * @throws {@link SFNServiceException} *

Base exception class for all service exceptions from SFN service.

* * * @public */ export declare class DescribeActivityCommand extends DescribeActivityCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeActivityInput; output: DescribeActivityOutput; }; sdk: { input: DescribeActivityCommandInput; output: DescribeActivityCommandOutput; }; }; }