list_account_assignments
async
¶
list_account_assignments(
instance_arn: InstanceArn,
account_id: TargetId,
permission_set_arn: PermissionSetArn,
*,
config_overrides: Optional[AsyncSSOAdminClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[Token] = None,
) -> ListAccountAssignmentsResponse
Lists the assignee of the specified Amazon Web Services account with the specified permission set.
Parameters:
-
instance_arn(InstanceArn) –The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
-
account_id(TargetId) –The identifier of the Amazon Web Services account from which to list the assignments.
-
permission_set_arn(PermissionSetArn) –The ARN of the permission set from which to list assignments.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to display for the assignment.
-
next_token(Optional[Token], default:None) –The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
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.
Source code in docs_src/capo_sso_admin/_services/async_sso_admin.py
2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 | |