list_user_associations
¶
list_user_associations(
instance_id: str,
identity_provider: IdentityProvider,
*,
config_overrides: Optional[LicenseManagerUserSubscriptionsClientConfig] = 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/license_manager_user_subscriptions.py
960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 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 | |