diff --git a/codegen/sdk-codegen/aws-models/qconnect.json b/codegen/sdk-codegen/aws-models/qconnect.json index 116df8f1ce0..83508b15623 100644 --- a/codegen/sdk-codegen/aws-models/qconnect.json +++ b/codegen/sdk-codegen/aws-models/qconnect.json @@ -67,6 +67,9 @@ { "target": "com.amazonaws.qconnect#NotifyRecommendationsReceived" }, + { + "target": "com.amazonaws.qconnect#PutFeedback" + }, { "target": "com.amazonaws.qconnect#QueryAssistant" }, @@ -287,7 +290,7 @@ } }, "traits": { - "smithy.api#documentation": "

The capability configuration for a Amazon Q assistant.

" + "smithy.api#documentation": "

The capability configuration for an Amazon Q assistant.

" } }, "com.amazonaws.qconnect#AssistantCapabilityType": { @@ -793,6 +796,20 @@ "smithy.api#documentation": "

Details about the content data.

" } }, + "com.amazonaws.qconnect#ContentFeedbackData": { + "type": "union", + "members": { + "generativeContentFeedbackData": { + "target": "com.amazonaws.qconnect#GenerativeContentFeedbackData", + "traits": { + "smithy.api#documentation": "

Information about the feedback for a generative target type.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Information about the feedback.

" + } + }, "com.amazonaws.qconnect#ContentMetadata": { "type": "map", "key": { @@ -1386,7 +1403,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a Amazon Q quick response.

", + "smithy.api#documentation": "

Creates an Amazon Q quick response.

", "smithy.api#http": { "uri": "/knowledgeBases/{knowledgeBaseId}/quickResponses", "method": "POST" @@ -2115,6 +2132,21 @@ ] } }, + "com.amazonaws.qconnect#GenerativeContentFeedbackData": { + "type": "structure", + "members": { + "relevance": { + "target": "com.amazonaws.qconnect#Relevance", + "traits": { + "smithy.api#documentation": "

The relevance of the feedback.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The feedback information for a generative target type.

" + } + }, "com.amazonaws.qconnect#GenerativeDataDetails": { "type": "structure", "members": { @@ -4072,6 +4104,114 @@ ] } }, + "com.amazonaws.qconnect#PutFeedback": { + "type": "operation", + "input": { + "target": "com.amazonaws.qconnect#PutFeedbackRequest" + }, + "output": { + "target": "com.amazonaws.qconnect#PutFeedbackResponse" + }, + "errors": [ + { + "target": "com.amazonaws.qconnect#AccessDeniedException" + }, + { + "target": "com.amazonaws.qconnect#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.qconnect#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Provides feedback against the specified assistant for the specified target. This API only supports generative targets.

", + "smithy.api#http": { + "uri": "/assistants/{assistantId}/feedback", + "method": "PUT" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.qconnect#PutFeedbackRequest": { + "type": "structure", + "members": { + "assistantId": { + "target": "com.amazonaws.qconnect#UuidOrArn", + "traits": { + "smithy.api#documentation": "

The identifier of the Amazon Q assistant.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "targetId": { + "target": "com.amazonaws.qconnect#Uuid", + "traits": { + "smithy.api#documentation": "

The identifier of the feedback target.

", + "smithy.api#required": {} + } + }, + "targetType": { + "target": "com.amazonaws.qconnect#TargetType", + "traits": { + "smithy.api#documentation": "

The type of the feedback target.

", + "smithy.api#required": {} + } + }, + "contentFeedback": { + "target": "com.amazonaws.qconnect#ContentFeedbackData", + "traits": { + "smithy.api#documentation": "

Information about the feedback provided.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.qconnect#PutFeedbackResponse": { + "type": "structure", + "members": { + "assistantId": { + "target": "com.amazonaws.qconnect#Uuid", + "traits": { + "smithy.api#documentation": "

The identifier of the Amazon Q assistant.

", + "smithy.api#required": {} + } + }, + "assistantArn": { + "target": "com.amazonaws.qconnect#UuidOrArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon Q assistant.

", + "smithy.api#required": {} + } + }, + "targetId": { + "target": "com.amazonaws.qconnect#Uuid", + "traits": { + "smithy.api#documentation": "

The identifier of the feedback target.

", + "smithy.api#required": {} + } + }, + "targetType": { + "target": "com.amazonaws.qconnect#TargetType", + "traits": { + "smithy.api#documentation": "

The type of the feedback target.

", + "smithy.api#required": {} + } + }, + "contentFeedback": { + "target": "com.amazonaws.qconnect#ContentFeedbackData", + "traits": { + "smithy.api#documentation": "

Information about the feedback provided.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.qconnect#QueryAssistant": { "type": "operation", "input": { @@ -5279,6 +5419,21 @@ ] } }, + "com.amazonaws.qconnect#Relevance": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "HELPFUL", + "name": "HELPFUL" + }, + { + "value": "NOT_HELPFUL", + "name": "NOT_HELPFUL" + } + ] + } + }, "com.amazonaws.qconnect#RelevanceLevel": { "type": "string", "traits": { @@ -5563,7 +5718,7 @@ } ], "traits": { - "smithy.api#documentation": "

Searches existing Amazon Q quick responses in a Amazon Q knowledge base.

", + "smithy.api#documentation": "

Searches existing Amazon Q quick responses in an Amazon Q knowledge base.

", "smithy.api#http": { "uri": "/knowledgeBases/{knowledgeBaseId}/search/quickResponses", "method": "POST" @@ -6228,6 +6383,21 @@ "target": "com.amazonaws.qconnect#TagValue" } }, + "com.amazonaws.qconnect#TargetType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "RECOMMENDATION", + "name": "RECOMMENDATION" + }, + { + "value": "RESULT", + "name": "RESULT" + } + ] + } + }, "com.amazonaws.qconnect#TextData": { "type": "structure", "members": { @@ -6713,7 +6883,7 @@ }, "aws.protocols#restJson1": {}, "smithy.api#cors": {}, - "smithy.api#documentation": "

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.

\n

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.

\n

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.

\n

For more information, see Use Amazon Q in Connect for generative AI\n powered agent assistance in real-time in the Amazon Connect\n Administrator Guide.

", + "smithy.api#documentation": "\n

\n Powered by Amazon Bedrock: Amazon Web Services implements automated abuse\n detection. 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).

\n
\n

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.

\n

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.

\n

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.

\n

For more information, see Use Amazon Q in Connect for generative AI\n powered agent assistance in real-time in the Amazon Connect\n Administrator Guide.

", "smithy.api#title": "Amazon Q Connect", "smithy.rules#endpointRuleSet": { "version": "1.0", diff --git a/codegen/sdk-codegen/aws-models/rbin.json b/codegen/sdk-codegen/aws-models/rbin.json index 8749707767c..63d8601fe58 100644 --- a/codegen/sdk-codegen/aws-models/rbin.json +++ b/codegen/sdk-codegen/aws-models/rbin.json @@ -76,7 +76,7 @@ "name": "rbin" }, "aws.protocols#restJson1": {}, - "smithy.api#documentation": "

This is the Recycle Bin API Reference. This documentation provides \n descriptions and syntax for each of the actions and data types in Recycle Bin.

\n

Recycle Bin is a resource recovery feature that enables you to restore accidentally \n deleted snapshots and EBS-backed AMIs. When using Recycle Bin, if your resources are \n deleted, they are retained in the Recycle Bin for a time period that you specify.

\n

You can restore a resource from the Recycle Bin at any time before its retention period \n expires. After you restore a resource from the Recycle Bin, the resource is removed from the \n Recycle Bin, and you can then use it in the same way you use any other resource of that type \n in your account. If the retention period expires and the resource is not restored, the resource \n is permanently deleted from the Recycle Bin and is no longer available for recovery. For more \n information about Recycle Bin, see \n Recycle Bin in the Amazon Elastic Compute Cloud User Guide.

", + "smithy.api#documentation": "

This is the Recycle Bin API Reference. This documentation provides \n descriptions and syntax for each of the actions and data types in Recycle Bin.

\n

Recycle Bin is a resource recovery feature that enables you to restore accidentally \n deleted snapshots and EBS-backed AMIs. When using Recycle Bin, if your resources are \n deleted, they are retained in the Recycle Bin for a time period that you specify.

\n

You can restore a resource from the Recycle Bin at any time before its retention period \n expires. After you restore a resource from the Recycle Bin, the resource is removed from the \n Recycle Bin, and you can then use it in the same way you use any other resource of that type \n in your account. If the retention period expires and the resource is not restored, the resource \n is permanently deleted from the Recycle Bin and is no longer available for recovery. For more \n information about Recycle Bin, see \n Recycle Bin in the Amazon Elastic Compute Cloud User Guide.

", "smithy.api#title": "Amazon Recycle Bin", "smithy.rules#endpointRuleSet": { "version": "1.0", @@ -120,7 +120,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -163,7 +162,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -176,7 +176,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -190,7 +189,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -213,7 +211,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -248,7 +245,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -259,14 +255,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -280,14 +278,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -296,11 +292,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -311,14 +307,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -332,7 +330,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -352,7 +349,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -363,14 +359,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -381,9 +379,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -1125,6 +1125,12 @@ "traits": { "smithy.api#documentation": "

The lock state for the retention rule.

\n " } + }, + "RuleArn": { + "target": "com.amazonaws.rbin#RuleArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the retention rule.

" + } } }, "traits": { @@ -1294,6 +1300,12 @@ "traits": { "smithy.api#documentation": "

The date and time at which the unlock delay is set to expire. Only returned \n for retention rules that have been unlocked and that are still within the unlock \n delay period.

" } + }, + "RuleArn": { + "target": "com.amazonaws.rbin#RuleArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the retention rule.

" + } } }, "traits": { @@ -1577,6 +1589,12 @@ "traits": { "smithy.api#documentation": "

The lock state for the retention rule.

\n " } + }, + "RuleArn": { + "target": "com.amazonaws.rbin#RuleArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the retention rule.

" + } } }, "traits": { @@ -1814,6 +1832,12 @@ "traits": { "smithy.api#documentation": "

The lock state for the retention rule.

\n " } + }, + "RuleArn": { + "target": "com.amazonaws.rbin#RuleArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the retention rule.

" + } } }, "traits": { @@ -2128,6 +2152,12 @@ "traits": { "smithy.api#documentation": "

The date and time at which the unlock delay is set to expire. Only returned \n for retention rules that have been unlocked and that are still within the unlock \n delay period.

" } + }, + "RuleArn": { + "target": "com.amazonaws.rbin#RuleArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the retention rule.

" + } } }, "traits": { @@ -2211,6 +2241,9 @@ { "target": "com.amazonaws.rbin#ResourceNotFoundException" }, + { + "target": "com.amazonaws.rbin#ServiceQuotaExceededException" + }, { "target": "com.amazonaws.rbin#ValidationException" } @@ -2311,6 +2344,12 @@ "traits": { "smithy.api#documentation": "

The date and time at which the unlock delay is set to expire. Only returned \n for retention rules that have been unlocked and that are still within the unlock \n delay period.

" } + }, + "RuleArn": { + "target": "com.amazonaws.rbin#RuleArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the retention rule.

" + } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/verifiedpermissions.json b/codegen/sdk-codegen/aws-models/verifiedpermissions.json index 451b6992e0a..57088f83822 100644 --- a/codegen/sdk-codegen/aws-models/verifiedpermissions.json +++ b/codegen/sdk-codegen/aws-models/verifiedpermissions.json @@ -121,7 +121,7 @@ "traits": { "aws.iam#actionName": "IsAuthorized", "aws.iam#actionPermissionDescription": "Grants permission to make a batch authorization decision about a service request described in the parameters", - "smithy.api#documentation": "

Makes a series of decisions about multiple authorization requests for one principal or\n resource. Each request contains the equivalent content of an IsAuthorized\n request: principal, action, resource, and context. Either the principal or\n the resource parameter must be identical across all requests. For example,\n Verified Permissions won't evaluate a pair of requests where bob views\n photo1 and alice views photo2. Authorization\n of bob to view photo1 and photo2, or\n bob and alice to view photo1, are valid\n batches.

\n

The request is evaluated against all policies in the specified policy store that match the\n entities that you declare. The result of the decisions is a series of Allow\n or Deny responses, along with the IDs of the policies that produced each\n decision.

\n

The entities of a BatchIsAuthorized API request can contain up to 100 principals and up\n to 100 resources. The requests of a BatchIsAuthorized API request can contain up to 30\n requests.

", + "smithy.api#documentation": "

Makes a series of decisions about multiple authorization requests for one principal or\n resource. Each request contains the equivalent content of an IsAuthorized\n request: principal, action, resource, and context. Either the principal or\n the resource parameter must be identical across all requests. For example,\n Verified Permissions won't evaluate a pair of requests where bob views\n photo1 and alice views photo2. Authorization\n of bob to view photo1 and photo2, or\n bob and alice to view photo1, are valid\n batches.

\n

The request is evaluated against all policies in the specified policy store that match the\n entities that you declare. The result of the decisions is a series of Allow\n or Deny responses, along with the IDs of the policies that produced each\n decision.

\n

The entities of a BatchIsAuthorized API request can contain\n up to 100 principals and up to 100 resources. The requests of a\n BatchIsAuthorized API request can contain up to 30 requests.

\n \n

The BatchIsAuthorized operation doesn't have its own IAM\n permission. To authorize this operation for Amazon Web Services principals, include the permission\n verifiedpermissions:IsAuthorized in their IAM policies.

\n
", "smithy.api#readonly": {} } }, @@ -606,6 +606,12 @@ "smithy.api#documentation": "

Specifies the validation setting for this policy store.

\n

Currently, the only valid and required value is Mode.

\n \n

We recommend that you turn on STRICT mode only after you define a\n schema. If a schema doesn't exist, then STRICT mode causes any policy\n to fail validation, and Verified Permissions rejects the policy. You can turn off validation by\n using the UpdatePolicyStore. Then, when you have a schema defined, use UpdatePolicyStore again to turn validation back on.

\n
", "smithy.api#required": {} } + }, + "description": { + "target": "com.amazonaws.verifiedpermissions#PolicyStoreDescription", + "traits": { + "smithy.api#documentation": "

Descriptive text that you can provide to help with identification \n of the current policy store.

" + } } }, "traits": { @@ -1401,6 +1407,12 @@ "smithy.api#documentation": "

The date and time that the policy store was last updated.

", "smithy.api#required": {} } + }, + "description": { + "target": "com.amazonaws.verifiedpermissions#PolicyStoreDescription", + "traits": { + "smithy.api#documentation": "

Descriptive text that you can provide to help with identification \n of the current policy store.

" + } } }, "traits": { @@ -1563,6 +1575,12 @@ "smithy.api#documentation": "

The date and time that the schema was most recently updated.

", "smithy.api#required": {} } + }, + "namespaces": { + "target": "com.amazonaws.verifiedpermissions#NamespaceList", + "traits": { + "smithy.api#documentation": "

The namespaces of the entities referenced by this schema.

" + } } }, "traits": { @@ -2613,6 +2631,16 @@ "smithy.api#documentation": "Represents a policy store that you can place schema, policies, and policy templates in to validate authorization requests" } }, + "com.amazonaws.verifiedpermissions#PolicyStoreDescription": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 150 + }, + "smithy.api#sensitive": {} + } + }, "com.amazonaws.verifiedpermissions#PolicyStoreId": { "type": "string", "traits": { @@ -2646,6 +2674,18 @@ "smithy.api#documentation": "

The date and time the policy was created.

", "smithy.api#required": {} } + }, + "lastUpdatedDate": { + "target": "com.amazonaws.verifiedpermissions#TimestampFormat", + "traits": { + "smithy.api#documentation": "

The date and time the policy store was most recently updated.

" + } + }, + "description": { + "target": "com.amazonaws.verifiedpermissions#PolicyStoreDescription", + "traits": { + "smithy.api#documentation": "

Descriptive text that you can provide to help with identification \n of the current policy store.

" + } } }, "traits": { @@ -3542,6 +3582,12 @@ "smithy.api#documentation": "

A structure that defines the validation settings that want to enable for the\n policy store.

", "smithy.api#required": {} } + }, + "description": { + "target": "com.amazonaws.verifiedpermissions#PolicyStoreDescription", + "traits": { + "smithy.api#documentation": "

Descriptive text that you can provide to help with identification \n of the current policy store.

" + } } }, "traits": {