SSOAdmin / Client / put_application_access_scope

put_application_access_scope#

SSOAdmin.Client.put_application_access_scope(**kwargs)#

Adds or updates the list of authorized targets for an IAM Identity Center access scope for an application.

See also: AWS API Documentation

Request Syntax

response = client.put_application_access_scope(
    ApplicationArn='string',
    AuthorizedTargets=[
        'string',
    ],
    Scope='string'
)
Parameters:
  • ApplicationArn (string) –

    [REQUIRED]

    Specifies the ARN of the application with the access scope with the targets to add or update.

  • AuthorizedTargets (list) –

    Specifies an array list of ARNs that represent the authorized targets for this access scope.

    • (string) –

  • Scope (string) –

    [REQUIRED]

    Specifies the name of the access scope to be associated with the specified targets.

Returns:

None

Exceptions

  • SSOAdmin.Client.exceptions.ThrottlingException

  • SSOAdmin.Client.exceptions.InternalServerException

  • SSOAdmin.Client.exceptions.ResourceNotFoundException

  • SSOAdmin.Client.exceptions.AccessDeniedException

  • SSOAdmin.Client.exceptions.ValidationException

  • SSOAdmin.Client.exceptions.ConflictException