list_user_groups
async
¶
list_user_groups(
user_name: UserName,
aws_account_id: AwsAccountId,
namespace: Namespace,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = None,
next_token: Optional[String] = None,
max_results: Optional[MaxResults] = None,
) -> ListUserGroupsResponse
Lists the Amazon Quick Sight groups that an Amazon Quick Sight user is a member of.
Parameters:
-
user_name(UserName) –The Amazon Quick Sight user name that you want to list group memberships for.
-
aws_account_id(AwsAccountId) –The Amazon Web Services account ID that the user is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon Quick Sight account.
-
namespace(Namespace) –The namespace. Currently, you should set this to
default. -
next_token(Optional[String], default:None) –A pagination token that can be used in a subsequent request.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return from this request.
Raises:
-
AccessDeniedException–You don't have access to this item. The provided credentials couldn't be validated. You might not be authorized to carry out the request. Make sure that your account is authorized to use the Amazon Quick Sight service, that your policies have the correct permissions, and that you are using the correct credentials.
-
InternalFailureException–An internal failure occurred.
-
InvalidParameterValueException–One or more parameters has a value that isn't valid.
-
PreconditionNotMetException–One or more preconditions aren't met.
-
ResourceNotFoundException–One or more resources can't be found.
-
ResourceUnavailableException–This resource is currently unavailable.
-
ThrottlingException–Access is throttled.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_quicksight/_services/async_quick_sight.py
14986 14987 14988 14989 14990 14991 14992 14993 14994 14995 14996 14997 14998 14999 15000 15001 15002 15003 15004 15005 15006 15007 15008 15009 15010 15011 15012 15013 15014 15015 15016 15017 15018 15019 15020 15021 15022 15023 15024 15025 15026 15027 15028 15029 15030 15031 15032 15033 15034 15035 15036 15037 15038 15039 15040 15041 15042 15043 15044 15045 15046 15047 15048 15049 15050 | |