SecurityIncidentResponse / Client / get_case_attachment_upload_url
get_case_attachment_upload_url#
- SecurityIncidentResponse.Client.get_case_attachment_upload_url(**kwargs)#
- Grants permission to upload an attachment to a case. - See also: AWS API Documentation - Request Syntax- response = client.get_case_attachment_upload_url( caseId='string', fileName='string', contentLength=123, clientToken='string' ) - Parameters:
- caseId (string) – - [REQUIRED] - Required element for GetCaseAttachmentUploadUrl to identify the case ID for uploading an attachment to. 
- fileName (string) – - [REQUIRED] - Required element for GetCaseAttachmentUploadUrl to identify the file name of the attachment to upload. 
- contentLength (integer) – - [REQUIRED] - Required element for GetCaseAttachmentUploadUrl to identify the size od the file attachment. 
- clientToken (string) – - Optional element for customer provided token. - This field is autopopulated if not provided. 
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'attachmentPresignedUrl': 'string' } - Response Structure- (dict) – - attachmentPresignedUrl (string) – - Response element providing the Amazon S3 presigned UTL to upload the attachment. 
 
 
 - Exceptions- SecurityIncidentResponse.Client.exceptions.ServiceQuotaExceededException
- SecurityIncidentResponse.Client.exceptions.AccessDeniedException
- SecurityIncidentResponse.Client.exceptions.ValidationException
- SecurityIncidentResponse.Client.exceptions.SecurityIncidentResponseNotActiveException
- SecurityIncidentResponse.Client.exceptions.InternalServerException
- SecurityIncidentResponse.Client.exceptions.ConflictException
- SecurityIncidentResponse.Client.exceptions.ResourceNotFoundException
- SecurityIncidentResponse.Client.exceptions.ThrottlingException
- SecurityIncidentResponse.Client.exceptions.InvalidTokenException