get_case_attachment_download_url
async
¶
get_case_attachment_download_url(
case_id: CaseId,
attachment_id: AttachmentId,
*,
config_overrides: Optional[AsyncSecurityIRClientConfig] = None,
) -> GetCaseAttachmentDownloadUrlResponse
Returns a Pre-Signed URL for uploading attachments into a case.
Parameters:
-
case_id(CaseId) –Required element for GetCaseAttachmentDownloadUrl to identify the case ID for downloading an attachment from.
-
attachment_id(AttachmentId) –Required element for GetCaseAttachmentDownloadUrl to identify the attachment ID for downloading an attachment.
Raises:
-
AccessDeniedException– -
ConflictException– -
InternalServerException– -
InvalidTokenException– -
ResourceNotFoundException– -
SecurityIncidentResponseNotActiveException– -
ServiceQuotaExceededException– -
ThrottlingException– -
ValidationException– -
UnknownServiceError–The service returned an error code this client does not model.
Examples:
Invoke GetCaseAttachmentDownloadUrl
>>> await client.get_case_attachment_download_url(case_id='8403556009', attachment_id='3C5A6B89-1DEF-4C2D-A5B6-123456789ABC')
Source code in docs_src/capo_security_ir/_services/async_security_ir.py
980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 | |