:doc:`Kafka <../../kafka>` / Client / get_cluster_policy

******************
get_cluster_policy
******************



.. py:method:: Kafka.Client.get_cluster_policy(**kwargs)

  

  Get the MSK cluster policy specified by the Amazon Resource Name (ARN) in the request.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/GetClusterPolicy>`_  


  **Request Syntax**
  ::

    response = client.get_cluster_policy(
        ClusterArn='string'
    )
    
  :type ClusterArn: string
  :param ClusterArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the cluster.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'CurrentVersion': 'string',
          'Policy': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 

      Successful response.

      
      

      - **CurrentVersion** *(string) --* 

        The version of cluster policy.

        
      

      - **Policy** *(string) --* 

        The cluster policy.

        
  
  **Exceptions**
  
  *   :py:class:`Kafka.Client.exceptions.NotFoundException`

  
  *   :py:class:`Kafka.Client.exceptions.BadRequestException`

  
  *   :py:class:`Kafka.Client.exceptions.InternalServerErrorException`

  
  *   :py:class:`Kafka.Client.exceptions.ForbiddenException`

  