list_user_associations
async
¶
list_user_associations(
instance_id: str,
identity_provider: IdentityProvider,
*,
config_overrides: Optional[AsyncLicenseManagerUserSubscriptionsClientConfig] = None,
max_results: Optional[BoxInteger] = None,
filters: Optional[FilterList] = None,
next_token: Optional[str] = None,
) -> ListUserAssociationsResponse
Lists user associations for an identity provider.
Parameters:
-
instance_id(str) –The ID of the EC2 instance, which provides user-based subscriptions.
-
identity_provider(IdentityProvider) –An object that specifies details for the identity provider.
-
max_results(Optional[BoxInteger], default:None) –The maximum number of results to return from a single request.
-
filters(Optional[FilterList], default:None) –You can use the following filters to streamline results:
-
Status
-
Username
-
Domain
-
-
next_token(Optional[str], default:None) –A token to specify where to start paginating. This is the nextToken from a previously truncated response.
Raises:
-
AccessDeniedException–You don't have sufficient access to perform this action.
-
ConflictException–The request couldn't be completed because it conflicted with the current state of the resource.
-
InternalServerException–An exception occurred with the service.
-
ResourceNotFoundException–The resource couldn't be found.
-
ServiceQuotaExceededException–The request failed because a service quota is exceeded.
-
ThrottlingException–The request was denied because of request throttling. Retry the request.
-
ValidationException–A parameter is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_license_manager_user_subscriptions/_services/async_license_manager_user_subscriptions.py
1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 | |