:doc:`SNS <../../sns>` / Client / remove_permission

*****************
remove_permission
*****************



.. py:method:: SNS.Client.remove_permission(**kwargs)

  

  Removes a statement from a topic's access control policy.

   

  .. note::

    

    To remove the ability to change topic permissions, you must deny permissions to the ``AddPermission``, ``RemovePermission``, and ``SetTopicAttributes`` actions in your IAM policy.

    

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/RemovePermission>`_  


  **Request Syntax**
  ::

    response = client.remove_permission(
        TopicArn='string',
        Label='string'
    )
    
  :type TopicArn: string
  :param TopicArn: **[REQUIRED]** 

    The ARN of the topic whose access control policy you wish to modify.

    

  
  :type Label: string
  :param Label: **[REQUIRED]** 

    The unique label of the statement you want to remove.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`SNS.Client.exceptions.InvalidParameterException`

  
  *   :py:class:`SNS.Client.exceptions.InternalErrorException`

  
  *   :py:class:`SNS.Client.exceptions.AuthorizationErrorException`

  
  *   :py:class:`SNS.Client.exceptions.NotFoundException`

  