QuickSight / Client / delete_iam_policy_assignment

delete_iam_policy_assignment#

QuickSight.Client.delete_iam_policy_assignment(**kwargs)#

Deletes an existing IAM policy assignment.

See also: AWS API Documentation

Request Syntax

response = client.delete_iam_policy_assignment(
    AwsAccountId='string',
    AssignmentName='string',
    Namespace='string'
)
Parameters:
  • AwsAccountId (string) –

    [REQUIRED]

    The Amazon Web Services account ID where you want to delete the IAM policy assignment.

  • AssignmentName (string) –

    [REQUIRED]

    The name of the assignment.

  • Namespace (string) –

    [REQUIRED]

    The namespace that contains the assignment.

Return type:

dict

Returns:

Response Syntax

{
    'AssignmentName': 'string',
    'RequestId': 'string',
    'Status': 123
}

Response Structure

  • (dict) –

    • AssignmentName (string) –

      The name of the assignment.

    • RequestId (string) –

      The Amazon Web Services request ID for this operation.

    • Status (integer) –

      The HTTP status of the request.

Exceptions

  • QuickSight.Client.exceptions.AccessDeniedException

  • QuickSight.Client.exceptions.InvalidParameterValueException

  • QuickSight.Client.exceptions.ResourceExistsException

  • QuickSight.Client.exceptions.ResourceNotFoundException

  • QuickSight.Client.exceptions.ThrottlingException

  • QuickSight.Client.exceptions.ConcurrentUpdatingException

  • QuickSight.Client.exceptions.InternalFailureException