list_account_assignments
¶
list_account_assignments(
instance_arn: InstanceArn,
account_id: TargetId,
permission_set_arn: PermissionSetArn,
*,
config_overrides: Optional[SSOAdminClientConfig] = 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/sso_admin.py
2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 | |