PinpointSMSVoiceV2 / Client / delete_registration_attachment

delete_registration_attachment#

PinpointSMSVoiceV2.Client.delete_registration_attachment(**kwargs)#

Permanently delete the specified registration attachment.

See also: AWS API Documentation

Request Syntax

response = client.delete_registration_attachment(
    RegistrationAttachmentId='string'
)
Parameters:

RegistrationAttachmentId (string) –

[REQUIRED]

The unique identifier for the registration attachment.

Return type:

dict

Returns:

Response Syntax

{
    'RegistrationAttachmentArn': 'string',
    'RegistrationAttachmentId': 'string',
    'AttachmentStatus': 'UPLOAD_IN_PROGRESS'|'UPLOAD_COMPLETE'|'UPLOAD_FAILED'|'DELETED',
    'AttachmentUploadErrorReason': 'INTERNAL_ERROR',
    'CreatedTimestamp': datetime(2015, 1, 1)
}

Response Structure

  • (dict) –

    • RegistrationAttachmentArn (string) –

      The Amazon Resource Name (ARN) for the registration attachment.

    • RegistrationAttachmentId (string) –

      The unique identifier for the registration attachment.

    • AttachmentStatus (string) –

      The status of the registration attachment.

      • UPLOAD_IN_PROGRESS The attachment is being uploaded.

      • UPLOAD_COMPLETE The attachment has been uploaded.

      • UPLOAD_FAILED The attachment failed to uploaded.

      • DELETED The attachment has been deleted..

    • AttachmentUploadErrorReason (string) –

      The error message if the upload failed.

    • CreatedTimestamp (datetime) –

      The time when the registration attachment was created, in UNIX epoch time format.

Exceptions