Omics / Client / delete_share

delete_share#

Omics.Client.delete_share(**kwargs)#

Deletes a resource share. If you are the resource owner, the subscriber will no longer have access to the shared resource. If you are the subscriber, this operation deletes your access to the share.

See also: AWS API Documentation

Request Syntax

response = client.delete_share(
    shareId='string'
)
Parameters:

shareId (string) –

[REQUIRED]

The ID for the resource share to be deleted.

Return type:

dict

Returns:

Response Syntax

{
    'status': 'PENDING'|'ACTIVATING'|'ACTIVE'|'DELETING'|'DELETED'|'FAILED'
}

Response Structure

  • (dict) –

    • status (string) –

      The status of the share being deleted.

Exceptions

  • Omics.Client.exceptions.InternalServerException

  • Omics.Client.exceptions.ServiceQuotaExceededException

  • Omics.Client.exceptions.ThrottlingException

  • Omics.Client.exceptions.ValidationException

  • Omics.Client.exceptions.ConflictException

  • Omics.Client.exceptions.ResourceNotFoundException

  • Omics.Client.exceptions.AccessDeniedException