Skip to content

Commit 44c78e5

Browse files
Update models for release
1 parent a87d99b commit 44c78e5

17 files changed

+229
-46
lines changed

.changes/3.293.2

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

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# CHANGELOG
22

3+
## next release
4+
5+
* `Aws\RecycleBin` - Added resource identifier in the output and updated error handling.
6+
* `Aws\QConnect` - This release adds the PutFeedback API and allows providing feedback against the specified assistant for the specified target.
7+
* `Aws\VerifiedPermissions` - Adds description field to PolicyStore API's and namespaces field to GetSchema.
8+
39
## 3.293.1 - 2023-11-30
410

511
* `Aws\Glue` - Adds observation and analyzer support to the GetDataQualityResult and BatchGetDataQualityResult APIs.

src/QConnect/QConnectClient.php

+2
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@
6363
* @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = [])
6464
* @method \Aws\Result notifyRecommendationsReceived(array $args = [])
6565
* @method \GuzzleHttp\Promise\Promise notifyRecommendationsReceivedAsync(array $args = [])
66+
* @method \Aws\Result putFeedback(array $args = [])
67+
* @method \GuzzleHttp\Promise\Promise putFeedbackAsync(array $args = [])
6668
* @method \Aws\Result queryAssistant(array $args = [])
6769
* @method \GuzzleHttp\Promise\Promise queryAssistantAsync(array $args = [])
6870
* @method \Aws\Result removeKnowledgeBaseTemplateUri(array $args = [])

src/data/qconnect/2020-10-19/api-2.json

+80
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,22 @@
465465
],
466466
"idempotent":true
467467
},
468+
"PutFeedback":{
469+
"name":"PutFeedback",
470+
"http":{
471+
"method":"PUT",
472+
"requestUri":"/assistants/{assistantId}/feedback",
473+
"responseCode":200
474+
},
475+
"input":{"shape":"PutFeedbackRequest"},
476+
"output":{"shape":"PutFeedbackResponse"},
477+
"errors":[
478+
{"shape":"ValidationException"},
479+
{"shape":"AccessDeniedException"},
480+
{"shape":"ResourceNotFoundException"}
481+
],
482+
"idempotent":true
483+
},
468484
"QueryAssistant":{
469485
"name":"QueryAssistant",
470486
"http":{
@@ -921,6 +937,13 @@
921937
"textData":{"shape":"TextData"}
922938
}
923939
},
940+
"ContentFeedbackData":{
941+
"type":"structure",
942+
"members":{
943+
"generativeContentFeedbackData":{"shape":"GenerativeContentFeedbackData"}
944+
},
945+
"union":true
946+
},
924947
"ContentMetadata":{
925948
"type":"map",
926949
"key":{"shape":"NonEmptyString"},
@@ -1383,6 +1406,13 @@
13831406
"type":"string",
13841407
"enum":["EQUALS"]
13851408
},
1409+
"GenerativeContentFeedbackData":{
1410+
"type":"structure",
1411+
"required":["relevance"],
1412+
"members":{
1413+
"relevance":{"shape":"Relevance"}
1414+
}
1415+
},
13861416
"GenerativeDataDetails":{
13871417
"type":"structure",
13881418
"required":[
@@ -2102,6 +2132,42 @@
21022132
"LOW"
21032133
]
21042134
},
2135+
"PutFeedbackRequest":{
2136+
"type":"structure",
2137+
"required":[
2138+
"assistantId",
2139+
"contentFeedback",
2140+
"targetId",
2141+
"targetType"
2142+
],
2143+
"members":{
2144+
"assistantId":{
2145+
"shape":"UuidOrArn",
2146+
"location":"uri",
2147+
"locationName":"assistantId"
2148+
},
2149+
"contentFeedback":{"shape":"ContentFeedbackData"},
2150+
"targetId":{"shape":"Uuid"},
2151+
"targetType":{"shape":"TargetType"}
2152+
}
2153+
},
2154+
"PutFeedbackResponse":{
2155+
"type":"structure",
2156+
"required":[
2157+
"assistantArn",
2158+
"assistantId",
2159+
"contentFeedback",
2160+
"targetId",
2161+
"targetType"
2162+
],
2163+
"members":{
2164+
"assistantArn":{"shape":"UuidOrArn"},
2165+
"assistantId":{"shape":"Uuid"},
2166+
"contentFeedback":{"shape":"ContentFeedbackData"},
2167+
"targetId":{"shape":"Uuid"},
2168+
"targetType":{"shape":"TargetType"}
2169+
}
2170+
},
21052171
"QueryAssistantRequest":{
21062172
"type":"structure",
21072173
"required":[
@@ -2527,6 +2593,13 @@
25272593
"GENERATIVE_ANSWER"
25282594
]
25292595
},
2596+
"Relevance":{
2597+
"type":"string",
2598+
"enum":[
2599+
"HELPFUL",
2600+
"NOT_HELPFUL"
2601+
]
2602+
},
25302603
"RelevanceLevel":{
25312604
"type":"string",
25322605
"enum":[
@@ -2903,6 +2976,13 @@
29032976
"key":{"shape":"TagKey"},
29042977
"value":{"shape":"TagValue"}
29052978
},
2979+
"TargetType":{
2980+
"type":"string",
2981+
"enum":[
2982+
"RECOMMENDATION",
2983+
"RESULT"
2984+
]
2985+
},
29062986
"TextData":{
29072987
"type":"structure",
29082988
"members":{

src/data/qconnect/2020-10-19/api-2.json.php

+1-1
Large diffs are not rendered by default.

src/data/qconnect/2020-10-19/docs-2.json

+46-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"version": "2.0",
3-
"service": "<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>",
3+
"service": "<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>",
44
"operations": {
55
"CreateAssistant": "<p>Creates an Amazon Q in Connect assistant.</p>",
66
"CreateAssistantAssociation": "<p>Creates an association between an Amazon Q in Connect assistant and another resource. Currently, the only supported association is with a knowledge base. An assistant can have only a single association.</p>",
77
"CreateContent": "<p>Creates Amazon Q content. Before to calling this API, use <a href=\"https://docs.aws.amazon.com/amazon-q-connect/latest/APIReference/API_StartContentUpload.html\">StartContentUpload</a> to upload an asset.</p>",
88
"CreateKnowledgeBase": "<p>Creates a knowledge base.</p> <note> <p>When using this API, you cannot reuse <a href=\"https://docs.aws.amazon.com/appintegrations/latest/APIReference/Welcome.html\">Amazon AppIntegrations</a> DataIntegrations with external knowledge bases such as Salesforce and ServiceNow. If you do, you'll get an <code>InvalidRequestException</code> error. </p> <p>For example, you're programmatically managing your external knowledge base, and you want to add or remove one of the fields that is being ingested from Salesforce. Do the following:</p> <ol> <li> <p>Call <a href=\"https://docs.aws.amazon.com/amazon-q-connect/latest/APIReference/API_DeleteKnowledgeBase.html\">DeleteKnowledgeBase</a>.</p> </li> <li> <p>Call <a href=\"https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_DeleteDataIntegration.html\">DeleteDataIntegration</a>.</p> </li> <li> <p>Call <a href=\"https://docs.aws.amazon.com/appintegrations/latest/APIReference/API_CreateDataIntegration.html\">CreateDataIntegration</a> to recreate the DataIntegration or a create different one.</p> </li> <li> <p>Call CreateKnowledgeBase.</p> </li> </ol> </note>",
9-
"CreateQuickResponse": "<p>Creates a Amazon Q quick response.</p>",
9+
"CreateQuickResponse": "<p>Creates an Amazon Q quick response.</p>",
1010
"CreateSession": "<p>Creates a session. A session is a contextual container used for generating recommendations. Amazon Connect creates a new Amazon Q session for each contact on which Amazon Q is enabled.</p>",
1111
"DeleteAssistant": "<p>Deletes an assistant.</p>",
1212
"DeleteAssistantAssociation": "<p>Deletes an assistant association.</p>",
@@ -31,10 +31,11 @@
3131
"ListQuickResponses": "<p>Lists information about quick response.</p>",
3232
"ListTagsForResource": "<p>Lists the tags for the specified resource.</p>",
3333
"NotifyRecommendationsReceived": "<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>",
34+
"PutFeedback": "<p>Provides feedback against the specified assistant for the specified target. This API only supports generative targets.</p>",
3435
"QueryAssistant": "<p>Performs a manual search against the specified assistant. To retrieve recommendations for an assistant, use <a href=\"https://docs.aws.amazon.com/amazon-q-connect/latest/APIReference/API_GetRecommendations.html\">GetRecommendations</a>. </p>",
3536
"RemoveKnowledgeBaseTemplateUri": "<p>Removes a URI template from a knowledge base.</p>",
3637
"SearchContent": "<p>Searches for content in a specified knowledge base. Can be used to get a specific content resource by its name.</p>",
37-
"SearchQuickResponses": "<p>Searches existing Amazon Q quick responses in a Amazon Q knowledge base.</p>",
38+
"SearchQuickResponses": "<p>Searches existing Amazon Q quick responses in an Amazon Q knowledge base.</p>",
3839
"SearchSessions": "<p>Searches for sessions.</p>",
3940
"StartContentUpload": "<p>Get a URL to upload content to a knowledge base. To upload content, first make a PUT request to the returned URL with your file, making sure to include the required headers. Then use <a href=\"https://docs.aws.amazon.com/amazon-q-connect/latest/APIReference/API_CreateContent.html\">CreateContent</a> to finalize the content creation process or <a href=\"https://docs.aws.amazon.com/amazon-q-connect/latest/APIReference/API_UpdateContent.html\">UpdateContent</a> to modify an existing resource. You can only upload content to a knowledge base of type CUSTOM.</p>",
4041
"StartImportJob": "<p>Start an asynchronous job to import Amazon Q resources from an uploaded source file. Before calling this API, use <a href=\"https://docs.aws.amazon.com/wisdom/latest/APIReference/API_StartContentUpload.html\">StartContentUpload</a> to upload an asset that contains the resource data.</p> <ul> <li> <p>For importing Amazon Q quick responses, you need to upload a csv file including the quick responses. For information about how to format the csv file for importing quick responses, see <a href=\"https://docs.aws.amazon.com/console/connect/quick-responses/add-data\">Import quick responses</a>.</p> </li> </ul>",
@@ -123,7 +124,7 @@
123124
}
124125
},
125126
"AssistantCapabilityConfiguration": {
126-
"base": "<p>The capability configuration for a Amazon Q assistant. </p>",
127+
"base": "<p>The capability configuration for an Amazon Q assistant. </p>",
127128
"refs": {
128129
"AssistantData$capabilityConfiguration": "<p>The configuration information for the Amazon Q assistant capability. </p>",
129130
"AssistantSummary$capabilityConfiguration": "<p>The configuration information for the Amazon Q assistant capability. </p>"
@@ -281,6 +282,13 @@
281282
"DataDetails$contentData": "<p>Details about the content data.</p>"
282283
}
283284
},
285+
"ContentFeedbackData": {
286+
"base": "<p>Information about the feedback.</p>",
287+
"refs": {
288+
"PutFeedbackRequest$contentFeedback": "<p>Information about the feedback provided.</p>",
289+
"PutFeedbackResponse$contentFeedback": "<p>Information about the feedback provided.</p>"
290+
}
291+
},
284292
"ContentMetadata": {
285293
"base": null,
286294
"refs": {
@@ -551,6 +559,12 @@
551559
"Filter$operator": "<p>The operator to use for comparing the field’s value with the provided value.</p>"
552560
}
553561
},
562+
"GenerativeContentFeedbackData": {
563+
"base": "<p>The feedback information for a generative target type.</p>",
564+
"refs": {
565+
"ContentFeedbackData$generativeContentFeedbackData": "<p>Information about the feedback for a generative target type.</p>"
566+
}
567+
},
554568
"GenerativeDataDetails": {
555569
"base": "<p>Details about generative data.</p>",
556570
"refs": {
@@ -1008,6 +1022,16 @@
10081022
"QuickResponseQueryField$priority": "<p>The importance of the attribute field when calculating query result relevancy scores. The value set for this parameter affects the ordering of search results.</p>"
10091023
}
10101024
},
1025+
"PutFeedbackRequest": {
1026+
"base": null,
1027+
"refs": {
1028+
}
1029+
},
1030+
"PutFeedbackResponse": {
1031+
"base": null,
1032+
"refs": {
1033+
}
1034+
},
10111035
"QueryAssistantRequest": {
10121036
"base": null,
10131037
"refs": {
@@ -1315,6 +1339,12 @@
13151339
"RecommendationData$type": "<p>The type of recommendation.</p>"
13161340
}
13171341
},
1342+
"Relevance": {
1343+
"base": null,
1344+
"refs": {
1345+
"GenerativeContentFeedbackData$relevance": "<p>The relevance of the feedback.</p>"
1346+
}
1347+
},
13181348
"RelevanceLevel": {
13191349
"base": null,
13201350
"refs": {
@@ -1586,6 +1616,13 @@
15861616
"TagResourceRequest$tags": "<p>The tags used to organize, track, or control access for this resource.</p>"
15871617
}
15881618
},
1619+
"TargetType": {
1620+
"base": null,
1621+
"refs": {
1622+
"PutFeedbackRequest$targetType": "<p>The type of the feedback target.</p>",
1623+
"PutFeedbackResponse$targetType": "<p>The type of the feedback target.</p>"
1624+
}
1625+
},
15891626
"TextData": {
15901627
"base": "<p>Details about the source content text data.</p>",
15911628
"refs": {
@@ -1700,6 +1737,9 @@
17001737
"KnowledgeBaseAssociationData$knowledgeBaseId": "<p>The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it.</p>",
17011738
"KnowledgeBaseData$knowledgeBaseId": "<p>The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it.</p>",
17021739
"KnowledgeBaseSummary$knowledgeBaseId": "<p>The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it.</p>",
1740+
"PutFeedbackRequest$targetId": "<p>The identifier of the feedback target.</p>",
1741+
"PutFeedbackResponse$assistantId": "<p>The identifier of the Amazon Q assistant.</p>",
1742+
"PutFeedbackResponse$targetId": "<p>The identifier of the feedback target.</p>",
17031743
"QuickResponseData$knowledgeBaseId": "<p>The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>",
17041744
"QuickResponseData$quickResponseId": "<p>The identifier of the quick response.</p>",
17051745
"QuickResponseSearchResultData$knowledgeBaseId": "<p>The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>",
@@ -1751,6 +1791,8 @@
17511791
"ListQuickResponsesRequest$knowledgeBaseId": "<p>The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>",
17521792
"NotifyRecommendationsReceivedRequest$assistantId": "<p>The identifier of the Amazon Q assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>",
17531793
"NotifyRecommendationsReceivedRequest$sessionId": "<p>The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>",
1794+
"PutFeedbackRequest$assistantId": "<p>The identifier of the Amazon Q assistant.</p>",
1795+
"PutFeedbackResponse$assistantArn": "<p>The Amazon Resource Name (ARN) of the Amazon Q assistant.</p>",
17541796
"QueryAssistantRequest$assistantId": "<p>The identifier of the Amazon Q assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>",
17551797
"QueryAssistantRequest$sessionId": "<p>The identifier of the Amazon Q session. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>",
17561798
"RemoveKnowledgeBaseTemplateUriRequest$knowledgeBaseId": "<p>The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Amazon Q Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>",

src/data/qconnect/2020-10-19/docs-2.json.php

+1-1
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)