Skip to content

Commit dad003b

Browse files
author
AWS
committed
Amazon Connect Service Update: Added support for task attachments. The StartTaskContact API now accepts file attachments, enabling customers to include files (.csv, .doc, .docx, .heic, .jfif, .jpeg, .jpg, .mov, .mp4, .pdf, .png, .ppt, .pptx, .rtf, .txt, etc.) when creating Task contacts. Supports up to 5 attachments per task.
1 parent fb5d876 commit dad003b

2 files changed

Lines changed: 35 additions & 0 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Connect Service",
4+
"contributor": "",
5+
"description": "Added support for task attachments. The StartTaskContact API now accepts file attachments, enabling customers to include files (.csv, .doc, .docx, .heic, .jfif, .jpeg, .jpg, .mov, .mp4, .pdf, .png, .ppt, .pptx, .rtf, .txt, etc.) when creating Task contacts. Supports up to 5 attachments per task."
6+
}

services/connect/src/main/resources/codegen-resources/service-2.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30976,6 +30976,10 @@
3097630976
"SegmentAttributes":{
3097730977
"shape":"SegmentAttributes",
3097830978
"documentation":"<p>A set of system defined key-value pairs stored on individual contact segments (unique contact ID) using an attribute map. The attributes are standard Amazon Connect attributes. They can be accessed in flows.</p> <p>Attribute keys can include only alphanumeric, -, and _.</p> <p>This field can be used to set Contact Expiry as a duration in minutes and set a UserId for the User who created a task.</p> <note> <p>To set contact expiry, a ValueMap must be specified containing the integer number of minutes the contact will be active for before expiring, with <code>SegmentAttributes</code> like { <code> \"connect:ContactExpiry\": {\"ValueMap\" : { \"ExpiryDuration\": { \"ValueInteger\": 135}}}}</code>. </p> <p>To set the created by user, a valid AgentResourceId must be supplied, with <code>SegmentAttributes</code> like { <code>\"connect:CreatedByUser\" { \"ValueString\": \"arn:aws:connect:us-west-2:xxxxxxxxxxxx:instance/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/agent/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"}}}</code>. </p> </note>"
30979+
},
30980+
"Attachments":{
30981+
"shape":"TaskAttachments",
30982+
"documentation":"<p>List of S3 presigned URLs of task attachments and their file name. You can have a maximum of 5 attachments per task.</p>"
3097930983
}
3098030984
}
3098130985
},
@@ -31671,6 +31675,31 @@
3167131675
},
3167231676
"documentation":"<p>Information about the task action.</p>"
3167331677
},
31678+
"TaskAttachment":{
31679+
"type":"structure",
31680+
"required":[
31681+
"FileName",
31682+
"S3Url"
31683+
],
31684+
"members":{
31685+
"FileName":{
31686+
"shape":"FileName",
31687+
"documentation":"<p>A case-sensitive name of the attached file being uploaded.</p>"
31688+
},
31689+
"S3Url":{
31690+
"shape":"PreSignedAttachmentUrl",
31691+
"documentation":"<p>The pre-signed URLs for the S3 bucket where the task attachment is stored.</p>"
31692+
}
31693+
},
31694+
"documentation":"<p>Information about the task attachment files.</p>"
31695+
},
31696+
"TaskAttachments":{
31697+
"type":"list",
31698+
"member":{"shape":"TaskAttachment"},
31699+
"max":5,
31700+
"min":1,
31701+
"sensitive":true
31702+
},
3167431703
"TaskDescriptionExpression":{
3167531704
"type":"string",
3167631705
"max":4096,

0 commit comments

Comments
 (0)