import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeInstanceRequest, DescribeInstanceResponse } from "../models/models_0"; import type { ServiceInputTypes, ServiceOutputTypes, SSOAdminClientResolvedConfig } from "../SSOAdminClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeInstanceCommand}. */ export interface DescribeInstanceCommandInput extends DescribeInstanceRequest { } /** * @public * * The output of {@link DescribeInstanceCommand}. */ export interface DescribeInstanceCommandOutput extends DescribeInstanceResponse, __MetadataBearer { } declare const DescribeInstanceCommand_base: { new (input: DescribeInstanceCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: DescribeInstanceCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Returns the details of an instance of IAM Identity Center. The status can be one of the following:

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SSOAdminClient, DescribeInstanceCommand } from "@aws-sdk/client-sso-admin"; // ES Modules import * // const { SSOAdminClient, DescribeInstanceCommand } = require("@aws-sdk/client-sso-admin"); // CommonJS import * // import type { SSOAdminClientConfig } from "@aws-sdk/client-sso-admin"; * const config = {}; // type is SSOAdminClientConfig * const client = new SSOAdminClient(config); * const input = { // DescribeInstanceRequest * InstanceArn: "STRING_VALUE", // required * }; * const command = new DescribeInstanceCommand(input); * const response = await client.send(command); * // { // DescribeInstanceResponse * // InstanceArn: "STRING_VALUE", * // IdentityStoreId: "STRING_VALUE", * // OwnerAccountId: "STRING_VALUE", * // Name: "STRING_VALUE", * // CreatedDate: new Date("TIMESTAMP"), * // Status: "CREATE_IN_PROGRESS" || "CREATE_FAILED" || "DELETE_IN_PROGRESS" || "ACTIVE", * // StatusReason: "STRING_VALUE", * // EncryptionConfigurationDetails: { // EncryptionConfigurationDetails * // KeyType: "AWS_OWNED_KMS_KEY" || "CUSTOMER_MANAGED_KEY", * // KmsKeyArn: "STRING_VALUE", * // EncryptionStatus: "UPDATING" || "ENABLED" || "UPDATE_FAILED", * // EncryptionStatusReason: "STRING_VALUE", * // }, * // }; * * ``` * * @param DescribeInstanceCommandInput - {@link DescribeInstanceCommandInput} * @returns {@link DescribeInstanceCommandOutput} * @see {@link DescribeInstanceCommandInput} for command's `input` shape. * @see {@link DescribeInstanceCommandOutput} for command's `response` shape. * @see {@link SSOAdminClientResolvedConfig | config} for SSOAdminClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

* * @throws {@link InternalServerException} (server fault) *

The request processing has failed because of an unknown error, exception, or failure with an internal server.

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

Indicates that the principal has crossed the throttling limits of the API operations.

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

The request failed because it contains a syntax error.

* * @throws {@link SSOAdminServiceException} *

Base exception class for all service exceptions from SSOAdmin service.

* * * @public */ export declare class DescribeInstanceCommand extends DescribeInstanceCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeInstanceRequest; output: DescribeInstanceResponse; }; sdk: { input: DescribeInstanceCommandInput; output: DescribeInstanceCommandOutput; }; }; }