list_accounts_for_provisioned_permission_set
async
¶
list_accounts_for_provisioned_permission_set(
instance_arn: InstanceArn,
permission_set_arn: PermissionSetArn,
*,
config_overrides: Optional[AsyncSSOAdminClientConfig] = None,
provisioning_status: Optional[ProvisioningStatus] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[Token] = None,
) -> ListAccountsForProvisionedPermissionSetResponse
Lists all the Amazon Web Services accounts where the specified permission set is provisioned.
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.
-
permission_set_arn(PermissionSetArn) –The ARN of the PermissionSet from which the associated Amazon Web Services accounts will be listed.
-
provisioning_status(Optional[ProvisioningStatus], default:None) –The permission set provisioning status for an Amazon Web Services account.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to display for the PermissionSet.
-
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
2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 | |