SSOAdmin / Client / put_application_assignment_configuration
put_application_assignment_configuration#
- SSOAdmin.Client.put_application_assignment_configuration(**kwargs)#
Configure how users gain access to an application. If
AssignmentsRequired
istrue
(default value), users don’t have access to the application unless an assignment is created using the CreateApplicationAssignment API. Iffalse
, all users have access to the application. If an assignment is created using CreateApplicationAssignment., the user retains access ifAssignmentsRequired
is set totrue
.See also: AWS API Documentation
Request Syntax
response = client.put_application_assignment_configuration( ApplicationArn='string', AssignmentRequired=True|False )
- Parameters:
ApplicationArn (string) –
[REQUIRED]
Specifies the ARN of the application. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
AssignmentRequired (boolean) –
[REQUIRED]
If
AssignmentsRequired
istrue
(default value), users don’t have access to the application unless an assignment is created using the CreateApplicationAssignment API. Iffalse
, all users have access to the application.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
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