EKS / Client / disassociate_access_policy

disassociate_access_policy#

EKS.Client.disassociate_access_policy(**kwargs)#

Disassociates an access policy from an access entry.

See also: AWS API Documentation

Request Syntax

response = client.disassociate_access_policy(
    clusterName='string',
    principalArn='string',
    policyArn='string'
)
Parameters:
  • clusterName (string) –

    [REQUIRED]

    The name of your cluster.

  • principalArn (string) –

    [REQUIRED]

    The ARN of the IAM principal for the AccessEntry.

  • policyArn (string) –

    [REQUIRED]

    The ARN of the policy to disassociate from the access entry. For a list of associated policies ARNs, use ListAssociatedAccessPolicies.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • EKS.Client.exceptions.ServerException

  • EKS.Client.exceptions.ResourceNotFoundException

  • EKS.Client.exceptions.InvalidRequestException