SecurityIncidentResponse / Client / get_case_attachment_download_url
get_case_attachment_download_url#
- SecurityIncidentResponse.Client.get_case_attachment_download_url(**kwargs)#
Grants permission to obtain an Amazon S3 presigned URL to download an attachment.
See also: AWS API Documentation
Request Syntax
response = client.get_case_attachment_download_url( caseId='string', attachmentId='string' )
- Parameters:
caseId (string) –
[REQUIRED]
Required element for GetCaseAttachmentDownloadUrl to identify the case ID for downloading an attachment from.
attachmentId (string) –
[REQUIRED]
Required element for GetCaseAttachmentDownloadUrl to identify the attachment ID for downloading an attachment.
- Return type:
dict
- Returns:
Response Syntax
{ 'attachmentPresignedUrl': 'string' }
Response Structure
(dict) –
attachmentPresignedUrl (string) –
Response element providing the Amazon S3 presigned URL to download an 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