list_iam_policy_assignments_for_user
async
¶
list_iam_policy_assignments_for_user(
aws_account_id: AwsAccountId,
user_name: UserName,
namespace: Namespace,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = None,
next_token: Optional[String] = None,
max_results: Optional[MaxResults] = None,
) -> ListIAMPolicyAssignmentsForUserResponse
Lists all of the IAM policy assignments, including the Amazon Resource Names (ARNs), for the IAM policies assigned to the specified user and group, or groups that the user belongs to.
Parameters:
-
aws_account_id(AwsAccountId) –The ID of the Amazon Web Services account that contains the assignments.
-
user_name(UserName) –The name of the user.
-
next_token(Optional[String], default:None) –The token for the next set of results, or null if there are no more results.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to be returned per request.
-
namespace(Namespace) –The namespace of the assignment.
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.
-
ConcurrentUpdatingException–A resource is already in a state that indicates an operation is happening that must complete before a new update can be applied.
-
InternalFailureException–An internal failure occurred.
-
InvalidParameterValueException–One or more parameters has a value that isn't valid.
-
ResourceExistsException–The resource specified already exists.
-
ResourceNotFoundException–One or more resources can't be found.
-
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
13222 13223 13224 13225 13226 13227 13228 13229 13230 13231 13232 13233 13234 13235 13236 13237 13238 13239 13240 13241 13242 13243 13244 13245 13246 13247 13248 13249 13250 13251 13252 13253 13254 13255 13256 13257 13258 13259 13260 13261 13262 13263 13264 13265 13266 13267 13268 13269 13270 13271 13272 13273 13274 13275 13276 13277 13278 13279 13280 13281 13282 13283 13284 13285 13286 | |