Creates an OAuth 2¶
Description¶
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.
Usage¶
ssoadmin_create_application(InstanceArn, ApplicationProviderArn, Name,
Description, PortalOptions, Tags, Status, ClientToken)
Arguments¶
-
InstanceArn[required] The ARN of the instance of IAM Identity Center under which the operation will run. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
-
ApplicationProviderArn[required] The ARN of the application provider under which the operation will run.
-
Name[required] The name of the .
-
DescriptionThe description of the .
-
PortalOptionsA structure that describes the options for the portal associated with an application.
-
TagsSpecifies tags to be attached to the application.
-
StatusSpecifies whether the application is enabled or disabled.
-
ClientTokenSpecifies a unique, case-sensitive ID that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value.
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same
ClientToken, but with different parameters, the retry fails with anIdempotentParameterMismatcherror.
Value¶
A list with the following syntax:
Request syntax¶
svc$create_application(
InstanceArn = "string",
ApplicationProviderArn = "string",
Name = "string",
Description = "string",
PortalOptions = list(
SignInOptions = list(
Origin = "IDENTITY_CENTER"|"APPLICATION",
ApplicationUrl = "string"
),
Visibility = "ENABLED"|"DISABLED"
),
Tags = list(
list(
Key = "string",
Value = "string"
)
),
Status = "ENABLED"|"DISABLED",
ClientToken = "string"
)