put_application_assignment_configuration
async
¶
put_application_assignment_configuration(
application_arn: ApplicationArn,
assignment_required: AssignmentRequired,
*,
config_overrides: Optional[AsyncSSOAdminClientConfig] = None,
) -> PutApplicationAssignmentConfigurationResponse
Configure how users gain access to an application. If AssignmentsRequired is true (default value), users don’t have access to the application unless an assignment is created using the CreateApplicationAssignment API. If false, all users have access to the application. If an assignment is created using CreateApplicationAssignment., the user retains access if AssignmentsRequired is set to true.
Parameters:
-
application_arn(ApplicationArn) –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.
-
assignment_required(AssignmentRequired) –If
AssignmentsRequiredistrue(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.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–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.
-
InternalServerException–The request processing has failed because of an unknown error, exception, or failure with an internal server.
-
ResourceNotFoundException–Indicates that a requested resource is not found.
-
ThrottlingException–Indicates that the principal has crossed the throttling limits of the API operations.
-
ValidationException–The request failed because it contains a syntax error.
-
UnknownServiceError–The service returned an error code this client does not model.