delete_application_assignment
¶
delete_application_assignment(
application_arn: ApplicationArn,
principal_id: PrincipalId,
principal_type: PrincipalType,
*,
config_overrides: Optional[SSOAdminClientConfig] = None,
) -> DeleteApplicationAssignmentResponse
Revoke application access to an application by deleting application assignments for a user or group.
Parameters:
-
application_arn(ApplicationArn) –Specifies the ARN of the application.
-
principal_id(PrincipalId) –An identifier for an object in IAM Identity Center, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in IAM Identity Center, see the IAM Identity Center Identity Store API Reference.
-
principal_type(PrincipalType) –The entity type for which the assignment will be deleted.
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.