Skip to content

Commit

Permalink
Updates SDK to v2.1510.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Dec 1, 2023
1 parent 0a647f5 commit fb09502
Show file tree
Hide file tree
Showing 18 changed files with 466 additions and 57 deletions.
17 changes: 17 additions & 0 deletions .changes/2.1510.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[
{
"type": "feature",
"category": "QConnect",
"description": "This release adds the PutFeedback API and allows providing feedback against the specified assistant for the specified target."
},
{
"type": "feature",
"category": "Rbin",
"description": "Added resource identifier in the output and updated error handling."
},
{
"type": "feature",
"category": "VerifiedPermissions",
"description": "Adds description field to PolicyStore API's and namespaces field to GetSchema."
}
]
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.1509.0-->
<!--LATEST=2.1510.0-->
<!--ENTRYINSERT-->

## 2.1510.0
* feature: QConnect: This release adds the PutFeedback API and allows providing feedback against the specified assistant for the specified target.
* feature: Rbin: Added resource identifier in the output and updated error handling.
* feature: VerifiedPermissions: Adds description field to PolicyStore API's and namespaces field to GetSchema.

## 2.1509.0
* 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.
* feature: Glue: Adds observation and analyzer support to the GetDataQualityResult and BatchGetDataQualityResult APIs.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ require('aws-sdk/lib/maintenance_mode_message').suppress = true;
To use the SDK in the browser, simply add the following script tag to your
HTML pages:

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

You can also build a custom browser SDK with your specified set of AWS services.
This can allow you to reduce the SDK's size, specify different API versions of
Expand Down
74 changes: 68 additions & 6 deletions apis/qconnect-2020-10-19.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -1229,6 +1229,53 @@
},
"idempotent": true
},
"PutFeedback": {
"http": {
"method": "PUT",
"requestUri": "/assistants/{assistantId}/feedback",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"assistantId",
"contentFeedback",
"targetId",
"targetType"
],
"members": {
"assistantId": {
"location": "uri",
"locationName": "assistantId"
},
"contentFeedback": {
"shape": "S4x"
},
"targetId": {},
"targetType": {}
}
},
"output": {
"type": "structure",
"required": [
"assistantArn",
"assistantId",
"contentFeedback",
"targetId",
"targetType"
],
"members": {
"assistantArn": {},
"assistantId": {},
"contentFeedback": {
"shape": "S4x"
},
"targetId": {},
"targetType": {}
}
},
"idempotent": true
},
"QueryAssistant": {
"http": {
"requestUri": "/assistants/{assistantId}/query",
Expand Down Expand Up @@ -1358,7 +1405,7 @@
"locationName": "nextToken"
},
"searchExpression": {
"shape": "S59"
"shape": "S5f"
}
}
},
Expand Down Expand Up @@ -1493,10 +1540,10 @@
],
"members": {
"attributesInterpolated": {
"shape": "S60"
"shape": "S66"
},
"attributesNotInterpolated": {
"shape": "S60"
"shape": "S66"
},
"channels": {
"shape": "S1d"
Expand Down Expand Up @@ -1562,7 +1609,7 @@
"locationName": "nextToken"
},
"searchExpression": {
"shape": "S59"
"shape": "S5f"
}
}
},
Expand Down Expand Up @@ -2466,7 +2513,22 @@
"shape": "S2k"
}
},
"S59": {
"S4x": {
"type": "structure",
"members": {
"generativeContentFeedbackData": {
"type": "structure",
"required": [
"relevance"
],
"members": {
"relevance": {}
}
}
},
"union": true
},
"S5f": {
"type": "structure",
"required": [
"filters"
Expand All @@ -2490,7 +2552,7 @@
}
}
},
"S60": {
"S66": {
"type": "list",
"member": {},
"sensitive": true
Expand Down
134 changes: 130 additions & 4 deletions apis/qconnect-2020-10-19.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
"shape": "ResourceNotFoundException"
}
],
"documentation": "<p>Creates a Amazon Q quick response.</p>",
"documentation": "<p>Creates an Amazon Q quick response.</p>",
"idempotent": true
},
"CreateSession": {
Expand Down Expand Up @@ -794,6 +794,33 @@
"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>",
"idempotent": true
},
"PutFeedback": {
"name": "PutFeedback",
"http": {
"method": "PUT",
"requestUri": "/assistants/{assistantId}/feedback",
"responseCode": 200
},
"input": {
"shape": "PutFeedbackRequest"
},
"output": {
"shape": "PutFeedbackResponse"
},
"errors": [
{
"shape": "ValidationException"
},
{
"shape": "AccessDeniedException"
},
{
"shape": "ResourceNotFoundException"
}
],
"documentation": "<p>Provides feedback against the specified assistant for the specified target. This API only supports generative targets.</p>",
"idempotent": true
},
"QueryAssistant": {
"name": "QueryAssistant",
"http": {
Expand Down Expand Up @@ -902,7 +929,7 @@
"shape": "ResourceNotFoundException"
}
],
"documentation": "<p>Searches existing Amazon Q quick responses in a Amazon Q knowledge base.</p>"
"documentation": "<p>Searches existing Amazon Q quick responses in an Amazon Q knowledge base.</p>"
},
"SearchSessions": {
"name": "SearchSessions",
Expand Down Expand Up @@ -1264,7 +1291,7 @@
"documentation": "<p>The type of Amazon Q assistant capability. </p>"
}
},
"documentation": "<p>The capability configuration for a Amazon Q assistant. </p>"
"documentation": "<p>The capability configuration for an Amazon Q assistant. </p>"
},
"AssistantCapabilityType": {
"type": "string",
Expand Down Expand Up @@ -1577,6 +1604,17 @@
},
"documentation": "<p>Details about the content data.</p>"
},
"ContentFeedbackData": {
"type": "structure",
"members": {
"generativeContentFeedbackData": {
"shape": "GenerativeContentFeedbackData",
"documentation": "<p>Information about the feedback for a generative target type.</p>"
}
},
"documentation": "<p>Information about the feedback.</p>",
"union": true
},
"ContentMetadata": {
"type": "map",
"key": {
Expand Down Expand Up @@ -2299,6 +2337,19 @@
"EQUALS"
]
},
"GenerativeContentFeedbackData": {
"type": "structure",
"required": [
"relevance"
],
"members": {
"relevance": {
"shape": "Relevance",
"documentation": "<p>The relevance of the feedback.</p>"
}
},
"documentation": "<p>The feedback information for a generative target type.</p>"
},
"GenerativeDataDetails": {
"type": "structure",
"required": [
Expand Down Expand Up @@ -3352,6 +3403,67 @@
"LOW"
]
},
"PutFeedbackRequest": {
"type": "structure",
"required": [
"assistantId",
"contentFeedback",
"targetId",
"targetType"
],
"members": {
"assistantId": {
"shape": "UuidOrArn",
"documentation": "<p>The identifier of the Amazon Q assistant.</p>",
"location": "uri",
"locationName": "assistantId"
},
"contentFeedback": {
"shape": "ContentFeedbackData",
"documentation": "<p>Information about the feedback provided.</p>"
},
"targetId": {
"shape": "Uuid",
"documentation": "<p>The identifier of the feedback target.</p>"
},
"targetType": {
"shape": "TargetType",
"documentation": "<p>The type of the feedback target.</p>"
}
}
},
"PutFeedbackResponse": {
"type": "structure",
"required": [
"assistantArn",
"assistantId",
"contentFeedback",
"targetId",
"targetType"
],
"members": {
"assistantArn": {
"shape": "UuidOrArn",
"documentation": "<p>The Amazon Resource Name (ARN) of the Amazon Q assistant.</p>"
},
"assistantId": {
"shape": "Uuid",
"documentation": "<p>The identifier of the Amazon Q assistant.</p>"
},
"contentFeedback": {
"shape": "ContentFeedbackData",
"documentation": "<p>Information about the feedback provided.</p>"
},
"targetId": {
"shape": "Uuid",
"documentation": "<p>The identifier of the feedback target.</p>"
},
"targetType": {
"shape": "TargetType",
"documentation": "<p>The type of the feedback target.</p>"
}
}
},
"QueryAssistantRequest": {
"type": "structure",
"required": [
Expand Down Expand Up @@ -4113,6 +4225,13 @@
"GENERATIVE_ANSWER"
]
},
"Relevance": {
"type": "string",
"enum": [
"HELPFUL",
"NOT_HELPFUL"
]
},
"RelevanceLevel": {
"type": "string",
"enum": [
Expand Down Expand Up @@ -4634,6 +4753,13 @@
"shape": "TagValue"
}
},
"TargetType": {
"type": "string",
"enum": [
"RECOMMENDATION",
"RESULT"
]
},
"TextData": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -4868,5 +4994,5 @@
"min": 0
}
},
"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>"
"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>"
}
Loading

0 comments on commit fb09502

Please sign in to comment.