list_iam_policy_assignments
async
¶
list_iam_policy_assignments(
aws_account_id: AwsAccountId,
namespace: Namespace,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = None,
assignment_status: Optional[AssignmentStatus] = None,
next_token: Optional[String] = None,
max_results: Optional[MaxResults] = None,
) -> ListIAMPolicyAssignmentsResponse
Lists the IAM policy assignments in the current Amazon Quick Sight account.
Parameters:
-
aws_account_id(AwsAccountId) –The ID of the Amazon Web Services account that contains these IAM policy assignments.
-
assignment_status(Optional[AssignmentStatus], default:None) –The status of the assignments.
-
namespace(Namespace) –The namespace for the assignments.
-
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.
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.
-
InvalidNextTokenException–The
NextTokenvalue isn't valid. -
InvalidParameterValueException–One or more parameters has a value that isn't valid.
-
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
13125 13126 13127 13128 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139 13140 13141 13142 13143 13144 13145 13146 13147 13148 13149 13150 13151 13152 13153 13154 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 13166 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 | |