import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateInstanceRequest, CreateInstanceResponse } from "../models/models_0"; import type { ServiceInputTypes, ServiceOutputTypes, SSOAdminClientResolvedConfig } from "../SSOAdminClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link CreateInstanceCommand}. */ export interface CreateInstanceCommandInput extends CreateInstanceRequest { } /** * @public * * The output of {@link CreateInstanceCommand}. */ export interface CreateInstanceCommandOutput extends CreateInstanceResponse, __MetadataBearer { } declare const CreateInstanceCommand_base: { new (input: CreateInstanceCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [CreateInstanceCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Creates an instance of IAM Identity Center for a standalone Amazon Web Services account that is not managed by Organizations or a member Amazon Web Services account in an organization. You can create only one instance per account and across all Amazon Web Services Regions.

The CreateInstance request is rejected if the following apply:

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SSOAdminClient, CreateInstanceCommand } from "@aws-sdk/client-sso-admin"; // ES Modules import * // const { SSOAdminClient, CreateInstanceCommand } = 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 = { // CreateInstanceRequest * Name: "STRING_VALUE", * ClientToken: "STRING_VALUE", * Tags: [ // TagList * { // Tag * Key: "STRING_VALUE", // required * Value: "STRING_VALUE", // required * }, * ], * }; * const command = new CreateInstanceCommand(input); * const response = await client.send(command); * // { // CreateInstanceResponse * // InstanceArn: "STRING_VALUE", * // }; * * ``` * * @param CreateInstanceCommandInput - {@link CreateInstanceCommandInput} * @returns {@link CreateInstanceCommandOutput} * @see {@link CreateInstanceCommandInput} for command's `input` shape. * @see {@link CreateInstanceCommandOutput} 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 ConflictException} (client fault) *

Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.

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

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

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

Indicates that the principal has crossed the permitted number of resources that can be created.

* * @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 CreateInstanceCommand extends CreateInstanceCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateInstanceRequest; output: CreateInstanceResponse; }; sdk: { input: CreateInstanceCommandInput; output: CreateInstanceCommandOutput; }; }; }