Skip to content

Commit fb09502

Browse files
author
awstools
committed
Updates SDK to v2.1510.0
1 parent 0a647f5 commit fb09502

18 files changed

+466
-57
lines changed

.changes/2.1510.0.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[
2+
{
3+
"type": "feature",
4+
"category": "QConnect",
5+
"description": "This release adds the PutFeedback API and allows providing feedback against the specified assistant for the specified target."
6+
},
7+
{
8+
"type": "feature",
9+
"category": "Rbin",
10+
"description": "Added resource identifier in the output and updated error handling."
11+
},
12+
{
13+
"type": "feature",
14+
"category": "VerifiedPermissions",
15+
"description": "Adds description field to PolicyStore API's and namespaces field to GetSchema."
16+
}
17+
]

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
# Changelog for AWS SDK for JavaScript
2-
<!--LATEST=2.1509.0-->
2+
<!--LATEST=2.1510.0-->
33
<!--ENTRYINSERT-->
44

5+
## 2.1510.0
6+
* feature: QConnect: This release adds the PutFeedback API and allows providing feedback against the specified assistant for the specified target.
7+
* feature: Rbin: Added resource identifier in the output and updated error handling.
8+
* feature: VerifiedPermissions: Adds description field to PolicyStore API's and namespaces field to GetSchema.
9+
510
## 2.1509.0
611
* feature: ARCZonalShift: This release adds a new capability, zonal autoshift. You can configure zonal autoshift so that AWS shifts traffic for a resource away from an Availability Zone, on your behalf, when AWS determines that there is an issue that could potentially affect customers in the Availability Zone.
712
* feature: Glue: Adds observation and analyzer support to the GetDataQualityResult and BatchGetDataQualityResult APIs.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ require('aws-sdk/lib/maintenance_mode_message').suppress = true;
6969
To use the SDK in the browser, simply add the following script tag to your
7070
HTML pages:
7171

72-
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1509.0.min.js"></script>
72+
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1510.0.min.js"></script>
7373

7474
You can also build a custom browser SDK with your specified set of AWS services.
7575
This can allow you to reduce the SDK's size, specify different API versions of

apis/qconnect-2020-10-19.min.json

Lines changed: 68 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1229,6 +1229,53 @@
12291229
},
12301230
"idempotent": true
12311231
},
1232+
"PutFeedback": {
1233+
"http": {
1234+
"method": "PUT",
1235+
"requestUri": "/assistants/{assistantId}/feedback",
1236+
"responseCode": 200
1237+
},
1238+
"input": {
1239+
"type": "structure",
1240+
"required": [
1241+
"assistantId",
1242+
"contentFeedback",
1243+
"targetId",
1244+
"targetType"
1245+
],
1246+
"members": {
1247+
"assistantId": {
1248+
"location": "uri",
1249+
"locationName": "assistantId"
1250+
},
1251+
"contentFeedback": {
1252+
"shape": "S4x"
1253+
},
1254+
"targetId": {},
1255+
"targetType": {}
1256+
}
1257+
},
1258+
"output": {
1259+
"type": "structure",
1260+
"required": [
1261+
"assistantArn",
1262+
"assistantId",
1263+
"contentFeedback",
1264+
"targetId",
1265+
"targetType"
1266+
],
1267+
"members": {
1268+
"assistantArn": {},
1269+
"assistantId": {},
1270+
"contentFeedback": {
1271+
"shape": "S4x"
1272+
},
1273+
"targetId": {},
1274+
"targetType": {}
1275+
}
1276+
},
1277+
"idempotent": true
1278+
},
12321279
"QueryAssistant": {
12331280
"http": {
12341281
"requestUri": "/assistants/{assistantId}/query",
@@ -1358,7 +1405,7 @@
13581405
"locationName": "nextToken"
13591406
},
13601407
"searchExpression": {
1361-
"shape": "S59"
1408+
"shape": "S5f"
13621409
}
13631410
}
13641411
},
@@ -1493,10 +1540,10 @@
14931540
],
14941541
"members": {
14951542
"attributesInterpolated": {
1496-
"shape": "S60"
1543+
"shape": "S66"
14971544
},
14981545
"attributesNotInterpolated": {
1499-
"shape": "S60"
1546+
"shape": "S66"
15001547
},
15011548
"channels": {
15021549
"shape": "S1d"
@@ -1562,7 +1609,7 @@
15621609
"locationName": "nextToken"
15631610
},
15641611
"searchExpression": {
1565-
"shape": "S59"
1612+
"shape": "S5f"
15661613
}
15671614
}
15681615
},
@@ -2466,7 +2513,22 @@
24662513
"shape": "S2k"
24672514
}
24682515
},
2469-
"S59": {
2516+
"S4x": {
2517+
"type": "structure",
2518+
"members": {
2519+
"generativeContentFeedbackData": {
2520+
"type": "structure",
2521+
"required": [
2522+
"relevance"
2523+
],
2524+
"members": {
2525+
"relevance": {}
2526+
}
2527+
}
2528+
},
2529+
"union": true
2530+
},
2531+
"S5f": {
24702532
"type": "structure",
24712533
"required": [
24722534
"filters"
@@ -2490,7 +2552,7 @@
24902552
}
24912553
}
24922554
},
2493-
"S60": {
2555+
"S66": {
24942556
"type": "list",
24952557
"member": {},
24962558
"sensitive": true

apis/qconnect-2020-10-19.normal.json

Lines changed: 130 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
"shape": "ResourceNotFoundException"
169169
}
170170
],
171-
"documentation": "<p>Creates a Amazon Q quick response.</p>",
171+
"documentation": "<p>Creates an Amazon Q quick response.</p>",
172172
"idempotent": true
173173
},
174174
"CreateSession": {
@@ -794,6 +794,33 @@
794794
"documentation": "<p>Removes the specified recommendations from the specified assistant's queue of newly available recommendations. You can use this API in conjunction with <a href=\"https://docs.aws.amazon.com/amazon-q-connect/latest/APIReference/API_GetRecommendations.html\">GetRecommendations</a> and a <code>waitTimeSeconds</code> input for long-polling behavior and avoiding duplicate recommendations.</p>",
795795
"idempotent": true
796796
},
797+
"PutFeedback": {
798+
"name": "PutFeedback",
799+
"http": {
800+
"method": "PUT",
801+
"requestUri": "/assistants/{assistantId}/feedback",
802+
"responseCode": 200
803+
},
804+
"input": {
805+
"shape": "PutFeedbackRequest"
806+
},
807+
"output": {
808+
"shape": "PutFeedbackResponse"
809+
},
810+
"errors": [
811+
{
812+
"shape": "ValidationException"
813+
},
814+
{
815+
"shape": "AccessDeniedException"
816+
},
817+
{
818+
"shape": "ResourceNotFoundException"
819+
}
820+
],
821+
"documentation": "<p>Provides feedback against the specified assistant for the specified target. This API only supports generative targets.</p>",
822+
"idempotent": true
823+
},
797824
"QueryAssistant": {
798825
"name": "QueryAssistant",
799826
"http": {
@@ -902,7 +929,7 @@
902929
"shape": "ResourceNotFoundException"
903930
}
904931
],
905-
"documentation": "<p>Searches existing Amazon Q quick responses in a Amazon Q knowledge base.</p>"
932+
"documentation": "<p>Searches existing Amazon Q quick responses in an Amazon Q knowledge base.</p>"
906933
},
907934
"SearchSessions": {
908935
"name": "SearchSessions",
@@ -1264,7 +1291,7 @@
12641291
"documentation": "<p>The type of Amazon Q assistant capability. </p>"
12651292
}
12661293
},
1267-
"documentation": "<p>The capability configuration for a Amazon Q assistant. </p>"
1294+
"documentation": "<p>The capability configuration for an Amazon Q assistant. </p>"
12681295
},
12691296
"AssistantCapabilityType": {
12701297
"type": "string",
@@ -1577,6 +1604,17 @@
15771604
},
15781605
"documentation": "<p>Details about the content data.</p>"
15791606
},
1607+
"ContentFeedbackData": {
1608+
"type": "structure",
1609+
"members": {
1610+
"generativeContentFeedbackData": {
1611+
"shape": "GenerativeContentFeedbackData",
1612+
"documentation": "<p>Information about the feedback for a generative target type.</p>"
1613+
}
1614+
},
1615+
"documentation": "<p>Information about the feedback.</p>",
1616+
"union": true
1617+
},
15801618
"ContentMetadata": {
15811619
"type": "map",
15821620
"key": {
@@ -2299,6 +2337,19 @@
22992337
"EQUALS"
23002338
]
23012339
},
2340+
"GenerativeContentFeedbackData": {
2341+
"type": "structure",
2342+
"required": [
2343+
"relevance"
2344+
],
2345+
"members": {
2346+
"relevance": {
2347+
"shape": "Relevance",
2348+
"documentation": "<p>The relevance of the feedback.</p>"
2349+
}
2350+
},
2351+
"documentation": "<p>The feedback information for a generative target type.</p>"
2352+
},
23022353
"GenerativeDataDetails": {
23032354
"type": "structure",
23042355
"required": [
@@ -3352,6 +3403,67 @@
33523403
"LOW"
33533404
]
33543405
},
3406+
"PutFeedbackRequest": {
3407+
"type": "structure",
3408+
"required": [
3409+
"assistantId",
3410+
"contentFeedback",
3411+
"targetId",
3412+
"targetType"
3413+
],
3414+
"members": {
3415+
"assistantId": {
3416+
"shape": "UuidOrArn",
3417+
"documentation": "<p>The identifier of the Amazon Q assistant.</p>",
3418+
"location": "uri",
3419+
"locationName": "assistantId"
3420+
},
3421+
"contentFeedback": {
3422+
"shape": "ContentFeedbackData",
3423+
"documentation": "<p>Information about the feedback provided.</p>"
3424+
},
3425+
"targetId": {
3426+
"shape": "Uuid",
3427+
"documentation": "<p>The identifier of the feedback target.</p>"
3428+
},
3429+
"targetType": {
3430+
"shape": "TargetType",
3431+
"documentation": "<p>The type of the feedback target.</p>"
3432+
}
3433+
}
3434+
},
3435+
"PutFeedbackResponse": {
3436+
"type": "structure",
3437+
"required": [
3438+
"assistantArn",
3439+
"assistantId",
3440+
"contentFeedback",
3441+
"targetId",
3442+
"targetType"
3443+
],
3444+
"members": {
3445+
"assistantArn": {
3446+
"shape": "UuidOrArn",
3447+
"documentation": "<p>The Amazon Resource Name (ARN) of the Amazon Q assistant.</p>"
3448+
},
3449+
"assistantId": {
3450+
"shape": "Uuid",
3451+
"documentation": "<p>The identifier of the Amazon Q assistant.</p>"
3452+
},
3453+
"contentFeedback": {
3454+
"shape": "ContentFeedbackData",
3455+
"documentation": "<p>Information about the feedback provided.</p>"
3456+
},
3457+
"targetId": {
3458+
"shape": "Uuid",
3459+
"documentation": "<p>The identifier of the feedback target.</p>"
3460+
},
3461+
"targetType": {
3462+
"shape": "TargetType",
3463+
"documentation": "<p>The type of the feedback target.</p>"
3464+
}
3465+
}
3466+
},
33553467
"QueryAssistantRequest": {
33563468
"type": "structure",
33573469
"required": [
@@ -4113,6 +4225,13 @@
41134225
"GENERATIVE_ANSWER"
41144226
]
41154227
},
4228+
"Relevance": {
4229+
"type": "string",
4230+
"enum": [
4231+
"HELPFUL",
4232+
"NOT_HELPFUL"
4233+
]
4234+
},
41164235
"RelevanceLevel": {
41174236
"type": "string",
41184237
"enum": [
@@ -4634,6 +4753,13 @@
46344753
"shape": "TagValue"
46354754
}
46364755
},
4756+
"TargetType": {
4757+
"type": "string",
4758+
"enum": [
4759+
"RECOMMENDATION",
4760+
"RESULT"
4761+
]
4762+
},
46374763
"TextData": {
46384764
"type": "structure",
46394765
"members": {
@@ -4868,5 +4994,5 @@
48684994
"min": 0
48694995
}
48704996
},
4871-
"documentation": "<p>Amazon Q in Connect is a generative AI customer service assistant. It is an LLM-enhanced evolution of Amazon Connect Wisdom that delivers real-time recommendations to help contact center agents resolve customer issues quickly and accurately.</p> <p>Amazon Q automatically detects customer intent during calls and chats using conversational analytics and natural language understanding (NLU). It then provides agents with immediate, real-time generative responses and suggested actions, and links to relevant documents and articles. Agents can also query Amazon Q directly using natural language or keywords to answer customer requests.</p> <p>Use the Amazon Q in Connect APIs to create an assistant and a knowledge base, for example, or manage content by uploading custom files.</p> <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 powered agent assistance in real-time</a> in the <i>Amazon Connect Administrator Guide</i>.</p>"
4997+
"documentation": "<note> <p> <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 detection</a>. Because Amazon Q in Connect is built on Amazon Bedrock, users can take full advantage of the controls implemented in Amazon Bedrock to enforce safety, security, and the responsible use of artificial intelligence (AI).</p> </note> <p>Amazon Q in Connect is a generative AI customer service assistant. It is an LLM-enhanced evolution of Amazon Connect Wisdom that delivers real-time recommendations to help contact center agents resolve customer issues quickly and accurately.</p> <p>Amazon Q automatically detects customer intent during calls and chats using conversational analytics and natural language understanding (NLU). It then provides agents with immediate, real-time generative responses and suggested actions, and links to relevant documents and articles. Agents can also query Amazon Q directly using natural language or keywords to answer customer requests.</p> <p>Use the Amazon Q in Connect APIs to create an assistant and a knowledge base, for example, or manage content by uploading custom files.</p> <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 powered agent assistance in real-time</a> in the <i>Amazon Connect Administrator Guide</i>.</p>"
48724998
}

0 commit comments

Comments
 (0)