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_PROGRESSThe attachment is being uploaded.
- UPLOAD_COMPLETEThe attachment has been uploaded.
- UPLOAD_FAILEDThe attachment failed to uploaded.
- DELETEDThe 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- PinpointSMSVoiceV2.Client.exceptions.ThrottlingException
- PinpointSMSVoiceV2.Client.exceptions.AccessDeniedException
- PinpointSMSVoiceV2.Client.exceptions.ResourceNotFoundException
- PinpointSMSVoiceV2.Client.exceptions.ValidationException
- PinpointSMSVoiceV2.Client.exceptions.ConflictException
- PinpointSMSVoiceV2.Client.exceptions.InternalServerException