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

Creates an OAuth 2.0 customer managed application in IAM Identity Center for the given application provider.

This API does not support creating SAML 2.0 customer managed applications or Amazon Web Services managed applications. To learn how to create an Amazon Web Services managed application, see the application user guide. You can create a SAML 2.0 customer managed application in the Amazon Web Services Management Console only. See Setting up customer managed SAML 2.0 applications. For more information on these application types, see Amazon Web Services managed applications.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SSOAdminClient, CreateApplicationCommand } from "@aws-sdk/client-sso-admin"; // ES Modules import * // const { SSOAdminClient, CreateApplicationCommand } = 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 = { // CreateApplicationRequest * InstanceArn: "STRING_VALUE", // required * ApplicationProviderArn: "STRING_VALUE", // required * Name: "STRING_VALUE", // required * Description: "STRING_VALUE", * PortalOptions: { // PortalOptions * SignInOptions: { // SignInOptions * Origin: "IDENTITY_CENTER" || "APPLICATION", // required * ApplicationUrl: "STRING_VALUE", * }, * Visibility: "ENABLED" || "DISABLED", * }, * Tags: [ // TagList * { // Tag * Key: "STRING_VALUE", // required * Value: "STRING_VALUE", // required * }, * ], * Status: "ENABLED" || "DISABLED", * ClientToken: "STRING_VALUE", * }; * const command = new CreateApplicationCommand(input); * const response = await client.send(command); * // { // CreateApplicationResponse * // ApplicationArn: "STRING_VALUE", * // InstanceArn: "STRING_VALUE", * // IdentityStoreArn: "STRING_VALUE", * // }; * * ``` * * @param CreateApplicationCommandInput - {@link CreateApplicationCommandInput} * @returns {@link CreateApplicationCommandOutput} * @see {@link CreateApplicationCommandInput} for command's `input` shape. * @see {@link CreateApplicationCommandOutput} 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 ResourceNotFoundException} (client fault) *

Indicates that a requested resource is not found.

* * @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 CreateApplicationCommand extends CreateApplicationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateApplicationRequest; output: CreateApplicationResponse; }; sdk: { input: CreateApplicationCommandInput; output: CreateApplicationCommandOutput; }; }; }