:doc:`AppStream <../../appstream>` / Client / delete_image_permissions

************************
delete_image_permissions
************************



.. py:method:: AppStream.Client.delete_image_permissions(**kwargs)

  

  Deletes permissions for the specified private image. After you delete permissions for an image, AWS accounts to which you previously granted these permissions can no longer use the image.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImagePermissions>`_  


  **Request Syntax**
  ::

    response = client.delete_image_permissions(
        Name='string',
        SharedAccountId='string'
    )
    
  :type Name: string
  :param Name: **[REQUIRED]** 

    The name of the private image.

    

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

    The 12-digit identifier of the AWS account for which to delete image permissions.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`AppStream.Client.exceptions.ResourceNotAvailableException`

  
  *   :py:class:`AppStream.Client.exceptions.ResourceNotFoundException`

  