8000 Update API model · aws/aws-sdk-go-v2@3a00ef5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3a00ef5

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent 1f61a06 commit 3a00ef5

File tree

3 files changed

+281
-26
lines changed

3 files changed

+281
-26
lines changed

codegen/sdk-codegen/aws-models/qconnect.json

Lines changed: 174 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@
6767
{
6868
"target": "com.amazonaws.qconnect#NotifyRecommendationsReceived"
6969
},
70+
{
71+
"target": "com.amazonaws.qconnect#PutFeedback"
72+
},
7073
{
7174
"target": "com.amazonaws.qconnect#QueryAssistant"
7275
},
@@ -287,7 +290,7 @@
287290
}
288291
},
289292
"traits": {
290-
"smithy.api#documentation": "<p>The capability configuration for a Amazon Q assistant. </p>"
293+
"smithy.api#documentation": "<p>The capability configuration for an Amazon Q assistant. </p>"
291294
}
292295
},
293296
"com.amazonaws.qconnect#AssistantCapabilityType": {
@@ -793,6 +796,20 @@
793796
"smithy.api#documentation": "<p>Details about the content data.</p>"
794797
}
795798
},
799+
"com.amazonaws.qconnect#ContentFeedbackData": {
800+
"type": "union",
801+
"members": {
802+
"generativeContentFeedbackData": {
803+
"target": "com.amazonaws.qconnect#GenerativeContentFeedbackData",
804+
"traits": {
805+
"smithy.api#documentation": "<p>Information about the feedback for a generative target type.</p>"
806+
}
807+
}
808+
},
809+
"traits": {
810+
"smithy.api#documentation": "<p>Information about the feedback.</p>"
811+
}
812+
},
796813
"com.amazonaws.qconnect#ContentMetadata": {
797814
"type": "map",
798815
"key": {
@@ -1386,7 +1403,7 @@
13861403
}
13871404
],
13881405
"traits": {
1389-
"smithy.api#documentation": "<p>Creates a Amazon Q quick response.</p>",
1406+
"smithy.api#documentation": "<p>Creates an Amazon Q quick response.</p>",
13901407
"smithy.api#http": {
13911408
"uri": "/knowledgeBases/{knowledgeBaseId}/quickResponses",
13921409
"method": "POST"
@@ -2115,6 +2132,21 @@
21152132
]
21162133
}
21172134
},
2135+
"com.amazonaws.qconnect#GenerativeContentFeedbackData": {
2136+
"type": "structure",
2137+
"members": {
2138+
"relevance": {
2139+
"target": "com.amazonaws.qconnect#Relevance",
2140+
"traits": {
2141+
"smithy.api#documentation": "<p>The relevance of the feedback.</p>",
2142+
"smithy.api#required": {}
2143+
}
2144+
}
2145+
},
2146+
"traits": {
2147+
"smithy.api#documentation": "<p>The feedback information for a generative target type.</p>"
2148+
}
2149+
},
21182150
"com.amazonaws.qconnect#GenerativeDataDetails": {
21192151
"type": "structure",
21202152
"members": {
@@ -4072,6 +4104,114 @@
40724104
]
40734105
}
40744106
},
4107+
"com.amazonaws.qconnect#PutFeedback": {
4108+
"type": "operation",
4109+
"input": {
4110+
"target": "com.amazonaws.qconnect#PutFeedbackRequest"
4111+
},
4112+
"output": {
4113+
"target": "com.amazonaws.qconnect#PutFeedbackResponse"
4114+
},
4115+
"errors": [
4116+
{
4117+
"target": "com.amazonaws.qconnect#AccessDeniedException"
4118+
},
4119+
{
4120+
"target": "com.amazonaws.qconnect#ResourceNotFoundException"
4121+
},
4122+
{
4123+
"target": "com.amazonaws.qconnect#ValidationException"
4124+
}
4125+
],
4126+
"traits": {
4127+
"smithy.api#documentation": "<p>Provides feedback against the specified assistant for the specified target. This API only supports generative targets.</p>",
4128+
"smithy.api#http": {
4129+
"uri": "/assistants/{assistantId}/feedback",
4130+
"method": "PUT"
4131+
},
4132+
"smithy.api#idempotent": {}
4133+
}
4134+
},
4135+
"com.amazonaws.qconnect#PutFeedbackRequest": {
4136+
"type": "structure",
4137+
"members": {
4138+
"assistantId": {
4139+
"target": "com.amazonaws.qconnect#UuidOrArn",
4140+
"traits": {
4141+
"smithy.api#documentation": "<p>The identifier of the Amazon Q assistant.</p>",
4142+
"smithy.api#httpLabel": {},
4143+
"smithy.api#required": {}
4144+
}
4145+
},
4146+
"targetId": {
4147+
"target": "com.amazonaws.qconnect#Uuid",
4148+
"traits": {
4149+
"smithy.api#documentation": "<p>The identifier of the feedback target.</p>",
4150+
"smithy.api#required": {}
4151+
}
4152+
},
4153+
"targetType": {
4154+
"target": "com.amazonaws.qconnect#TargetType",
4155+
"trait 55CE s": {
4156+
"smithy.api#documentation": "<p>The type of the feedback target.</p>",
4157+
"smithy.api#required": {}
4158+
}
4159+
},
4160+
"contentFeedback": {
4161+
"target": "com.amazonaws.qconnect#ContentFeedbackData",
4162+
"traits": {
4163+
"smithy.api#documentation": "<p>Information about the feedback provided.</p>",
4164+
"smithy.api#required": {}
4165+
}
4166+
}
4167+
},
4168+
"traits": {
4169+
"smithy.api#input": {}
4170+
}
4171+
},
4172+
"com.amazonaws.qconnect#PutFeedbackResponse": {
4173+
"type": "structure",
4174+
"members": {
4175+
"assistantId": {
4176+
"target": "com.amazonaws.qconnect#Uuid",
4177+
"traits": {
4178+
"smithy.api#documentation": "<p>The identifier of the Amazon Q assistant.</p>",
4179+
"smithy.api#required": {}
4180+
}
4181+
},
4182+
"assistantArn": {
4183+
"target": "com.amazonaws.qconnect#UuidOrArn",
4184+
"traits": {
4185+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Amazon Q assistant.</p>",
4186+
"smithy.api#required": {}
4187+
}
4188+
},
4189+
"targetId": {
4190+
"target": "com.amazonaws.qconnect#Uuid",
4191+
"traits": {
4192+
"smithy.api#documentation": "<p>The identifier of the feedback target.</p>",
4193+
"smithy.api#required": {}
4194+
}
4195+
},
4196+
"targetType": {
4197+
"target": "com.amazonaws.qconnect#TargetType",
4198+
"traits": {
4199+
"smithy.api#documentation": "<p>The type of the feedback target.</p>",
4200+
"smithy.api#required": {}
4201+
}
4202+
},
4203+
"contentFeedback": {
4204+
"target": "com.amazonaws.qconnect#ContentFeedbackData",
4205+
"traits": {
4206+
"smithy.api#documentation": "<p>Information about the feedback provided.</p>",
4207+
"smithy.api#required": {}
4208+
}
4209+
}
4210+
},
4211+
"traits": {
4212+
"smithy.api#output": {}
4213+
}
4214+
},
40754215
"com.amazonaws.qconnect#QueryAssistant": {
40764216
"type": "operation",
40774217
"input": {
@@ -5279,6 +5419,21 @@
52795419
]
52805420
}
52815421
},
5422+
"com.amazonaws.qconnect#Relevance": {
5423+
"type": "string",
5424+
"traits": {
5425+
"smithy.api#enum": [
5426+
{
5427+
"value": "HELPFUL",
5428+
"name": "HELPFUL"
5429+
},
5430+
{
5431+
"value": "NOT_HELPFUL",
5432+
"name": "NOT_HELPFUL"
5433+
}
5434+
]
5435+
}
5436+
},
52825437
"com.amazonaws.qconnect#RelevanceLevel": {
52835438
"type": "string",
52845439
"traits": {
@@ -5563,7 +5718,7 @@
55635718
}
55645719
],
55655720
"traits": {
5566-
"smithy.api#documentation": "<p>Searches existing Amazon Q quick responses in a Amazon Q knowledge base.</p>",
5721+
"smithy.api#documentation": "<p>Searches existing Amazon Q quick responses in an Amazon Q knowledge base.</p>",
55675722
"smithy.api#http": {
55685723
"uri": "/knowledgeBases/{knowledgeBaseId}/search/quickResponses",
55695724
"method": "POST"
@@ -6228,6 +6383,21 @@
62286383
"target": "com.amazonaws.qconnect#TagValue"
62296384
}
62306385
},
6386+
"com.amazonaws.qconnect#TargetType": {
6387+
"type": "string",
6388+
"traits": {
6389+
"smithy.api#enum": [
6390+
{
6391+
"value": "RECOMMENDATION",
6392+
"name": "RECOMMENDATION"
6393+
},
6394+
{
6395+
"value": "RESULT",
6396+
"name": "RESULT"
6397+
}
6398+
]
6399+
}
6400+
},
62316401
"com.amazonaws.qconnect#TextData": {
62326402
"type": "structure",
62336403
"members": {
@@ -6713,7 +6883,7 @@
67136883
},
67146884
"aws.protocols#restJson1": {},
67156885
"smithy.api#cors": {},
6716-
"smithy.api#documentation": "<p>Amazon Q in Connect is a generative AI customer service assistant. It is an LLM-enhanced evolution\n of Amazon Connect Wisdom that delivers real-time recommendations to help contact center\n agents resolve customer issues quickly and accurately.</p>\n <p>Amazon Q automatically detects customer intent during calls and chats using\n conversational analytics and natural language understanding (NLU). It then provides agents\n with immediate, real-time generative responses and suggested actions, and links to relevant\n documents and articles. Agents can also query Amazon Q directly using natural language or\n keywords to answer customer requests.</p>\n <p>Use the Amazon Q in Connect APIs to create an assistant and a knowledge base, for example, or\n manage content by uploading custom files.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/amazon-q-connect.html\">Use Amazon Q in Connect for generative AI\n powered agent assistance in real-time</a> in the <i>Amazon Connect\n Administrator Guide</i>.</p>",
6886+
"smithy.api#documentation": "<note>\n <p>\n <b>Powered by Amazon Bedrock</b>: Amazon Web Services implements <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/abuse-detection.html\">automated abuse\n detection</a>. Because Amazon Q in Connect is built on Amazon Bedrock, users can take full\n advantage of the controls implemented in Amazon Bedrock to enforce safety, security, and the\n responsible use of artificial intelligence (AI).</p>\n </note>\n <p>Amazon Q in Connect is a generative AI customer service assistant. It is an LLM-enhanced evolution\n of Amazon Connect Wisdom that delivers real-time recommendations to help contact center\n agents resolve customer issues quickly and accurately.</p>\n <p>Amazon Q automatically detects customer intent during calls and chats using\n conversational analytics and natural language understanding (NLU). It then provides agents\n with immediate, real-time generative responses and suggested actions, and links to relevant\n documents and articles. Agents can also query Amazon Q directly using natural language or\n keywords to answer customer requests.</p>\n <p>Use the Amazon Q in Connect APIs to create an assistant and a knowledge base, for example, or\n manage content by uploading custom files.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/amazon-q-connect.html\">Use Amazon Q in Connect for generative AI\n powered agent assistance in real-time</a> in the <i>Amazon Connect\n Administrator Guide</i>.</p>",
67176887
"smithy.api#title": "Amazon Q Connect",
437D
67186888
"smithy.rules#endpointRuleSet": {
67196889
"version": "1.0",

0 commit comments

Comments
 (0)
0