Skip to content

Commit 4d4a620

Browse files
author
AWS
committed
QBusiness Update: This release supports deleting attachments from conversations.
1 parent 6c6032d commit 4d4a620

File tree

2 files changed

+65
-0
lines changed

2 files changed

+65
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "QBusiness",
4+
"contributor": "",
5+
"description": "This release supports deleting attachments from conversations."
6+
}

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

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,26 @@
339339
"documentation":"<p>Deletes an Amazon Q Business application.</p>",
340340
"idempotent":true
341341
},
342+
"DeleteAttachment":{
343+
"name":"DeleteAttachment",
344+
"http":{
345+
"method":"DELETE",
346+
"requestUri":"/applications/{applicationId}/conversations/{conversationId}/attachments/{attachmentId}",
347+
"responseCode":200
348+
},
349+
"input":{"shape":"DeleteAttachmentRequest"},
350+
"output":{"shape":"DeleteAttachmentResponse"},
351+
"errors":[
352+
{"shape":"ResourceNotFoundException"},
353+
{"shape":"InternalServerException"},
354+
{"shape":"LicenseNotFoundException"},
355+
{"shape":"ThrottlingException"},
356+
{"shape":"ValidationException"},
357+
{"shape":"AccessDeniedException"}
358+
],
359+
"documentation":"<p>Deletes an attachment associated with a specific Amazon Q Business conversation.</p>",
360+
"idempotent":true
361+
},
342362
"DeleteChatControlsConfiguration":{
343363
"name":"DeleteChatControlsConfiguration",
344364
"http":{
@@ -3703,6 +3723,45 @@
37033723
"members":{
37043724
}
37053725
},
3726+
"DeleteAttachmentRequest":{
3727+
"type":"structure",
3728+
"required":[
3729+
"applicationId",
3730+
"conversationId",
3731+
"attachmentId"
3732+
],
3733+
"members":{
3734+
"applicationId":{
3735+
"shape":"ApplicationId",
3736+
"documentation":"<p>The unique identifier for the Amazon Q Business application environment.</p>",
3737+
"location":"uri",
3738+
"locationName":"applicationId"
3739+
},
3740+
"conversationId":{
3741+
"shape":"ConversationId",
3742+
"documentation":"<p>The unique identifier of the conversation.</p>",
3743+
"location":"uri",
3744+
"locationName":"conversationId"
3745+
},
3746+
"attachmentId":{
3747+
"shape":"AttachmentId",
3748+
"documentation":"<p>The unique identifier for the attachment.</p>",
3749+
"location":"uri",
3750+
"locationName":"attachmentId"
3751+
},
3752+
"userId":{
3753+
"shape":"UserId",
3754+
"documentation":"<p>The unique identifier of the user involved in the conversation.</p>",
3755+
"location":"querystring",
3756+
"locationName":"userId"
3757+
}
3758+
}
3759+
},
3760+
"DeleteAttachmentResponse":{
3761+
"type":"structure",
3762+
"members":{
3763+
}
3764+
},
37063765
"DeleteChatControlsConfigurationRequest":{
37073766
"type":"structure",
37083767
"required":["applicationId"],

0 commit comments

Comments
 (0)