delete_image_permissions

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

Request Syntax

response = client.delete_image_permissions(
    Name='string',
    SharedAccountId='string'
)
Parameters
  • Name (string) --

    [REQUIRED]

    The name of the private image.

  • SharedAccountId (string) --

    [REQUIRED]

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

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • AppStream.Client.exceptions.ResourceNotAvailableException
  • AppStream.Client.exceptions.ResourceNotFoundException