describe_iam_policy_assignment
¶
describe_iam_policy_assignment(
aws_account_id: AwsAccountId,
assignment_name: IAMPolicyAssignmentName,
namespace: Namespace,
*,
config_overrides: Optional[QuickSightClientConfig] = None,
) -> DescribeIAMPolicyAssignmentResponse
Describes an existing IAM policy assignment, as specified by the assignment name.
Parameters:
-
aws_account_id(AwsAccountId) –The ID of the Amazon Web Services account that contains the assignment that you want to describe.
-
assignment_name(IAMPolicyAssignmentName) –The name of the assignment, also called a rule.
-
namespace(Namespace) –The namespace that contains 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.
-
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.