AccountAccess / Client / create_application

create_application

AccountAccess.Client.create_application(**kwargs)

Creates an account access manager instance and its Amazon Web Services account access application in the associated IAM Identity Center instance. This operation is idempotent; calling it multiple times with the same parameters returns the existing application.

See also: AWS API Documentation

Request Syntax

response = client.create_application(
    identitySource={
        'identityCenter': {
            'instanceArn': 'string'
        }
    },
    tags={
        'string': 'string'
    }
)
Parameters:
  • identitySource (dict) –

    [REQUIRED]

    Specifies the identity source for the application. The identity source defines the IAM Identity Center instance that provides principals for entitlements.

    Note

    This is a Tagged Union structure. Only one of the following top level keys can be set: identityCenter.

    • identityCenter (dict) –

      The IAM Identity Center instance to use as the identity source.

      • instanceArn (string) – [REQUIRED]

        The ARN of the IAM Identity Center instance.

  • tags (dict) –

    Specifies the tags to assign to the application.

    • (string) –

      • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'applicationArn': 'string'
}

Response Structure

  • (dict) –

    • applicationArn (string) –

      The Amazon Resource Name (ARN) of the created application.

Exceptions