/AWS1/CL_CNT=>STARTATTACHEDFILEUPLOAD()
¶
About StartAttachedFileUpload¶
Provides a pre-signed Amazon S3 URL in response for uploading your content.
You may only use this API to upload attachments to a Connect Case.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_INSTANCEID
TYPE /AWS1/CNTINSTANCEID
/AWS1/CNTINSTANCEID
¶
The unique identifier of the Connect instance.
IV_FILENAME
TYPE /AWS1/CNTFILENAME
/AWS1/CNTFILENAME
¶
A case-sensitive name of the attached file being uploaded.
IV_FILESIZEINBYTES
TYPE /AWS1/CNTFILESIZEINBYTES
/AWS1/CNTFILESIZEINBYTES
¶
The size of the attached file in bytes.
IV_FILEUSECASETYPE
TYPE /AWS1/CNTFILEUSECASETYPE
/AWS1/CNTFILEUSECASETYPE
¶
The use case for the file.
IV_ASSOCIATEDRESOURCEARN
TYPE /AWS1/CNTARN
/AWS1/CNTARN
¶
The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.
This value must be a valid ARN.
Optional arguments:¶
IV_CLIENTTOKEN
TYPE /AWS1/CNTCLIENTTOKEN
/AWS1/CNTCLIENTTOKEN
¶
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
IV_URLEXPIRYINSECONDS
TYPE /AWS1/CNTURLEXPIRYINSECONDS
/AWS1/CNTURLEXPIRYINSECONDS
¶
Optional override for the expiry of the pre-signed S3 URL in seconds. The default value is 300.
IO_CREATEDBY
TYPE REF TO /AWS1/CL_CNTCREATEDBYINFO
/AWS1/CL_CNTCREATEDBYINFO
¶
Represents the identity that created the file.
IT_TAGS
TYPE /AWS1/CL_CNTTAGMAP_W=>TT_TAGMAP
TT_TAGMAP
¶
The tags used to organize, track, or control access for this resource. For example,
{ "Tags": {"key1":"value1", "key2":"value2"} }
.