aws-sdk-qconnect 1.54.0 → 1.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 347e78ceeb5eff82924b95fbf2e9dc7d4c6f9895ed5fbdad31380e6323a8132b
4
- data.tar.gz: 843fd5d6380bca85de1ac47ef977e31516d4e44ad9457ca24cbb7c5918f348ba
3
+ metadata.gz: 49ac6e5bec752cc5b436060e105a8f1fcbb95827f82b2a8be5584a1f90b56594
4
+ data.tar.gz: a45cc182e824c8af3b703e91f89aff88d8bda8234bbfad42fff1449cdf6dd9dd
5
5
  SHA512:
6
- metadata.gz: 664d44a4c1434538170f78a42babaa164d6594b449bf44ccdb4cc72f02a91b93d5631eb4f1f6bedfe6f734193b274a946ff08e6d5b67b9fba4099704f99fba3c
7
- data.tar.gz: 7680a8ad3ab32909287672fb29481a7e1dfff539a115240b0253219cc6354eeef39b693c6bdd3720c74332ca29f0a4d919204cbea496db0d08bfaffd81eb82e5
6
+ metadata.gz: 5f2927b90f01fc1e31c0cab12f36b2a71a911fb98037fbd0866b96485b563c67693b321c4516a5b9b47a240c5aaf47654c4b475d7c5209237ffd76515bc81ea6
7
+ data.tar.gz: ce1c31854e98e771c4292ee89633df17cabc4c85452f3a5efc1a0b650a94f1e71c56fa07e6ae4c4a3dde242d614a504cad896b219aa6a4a990fbb7d626f5afe4
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.56.0 (2026-05-19)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.55.0 (2026-05-14)
10
+ ------------------
11
+
12
+ * Feature - ListModels is an API that returns the available AI models for a Connect Assistant based on its region and AI prompt type.
13
+
4
14
  1.54.0 (2026-05-13)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.54.0
1
+ 1.56.0
@@ -6065,6 +6065,71 @@ module Aws::QConnect
6065
6065
  req.send_request(options)
6066
6066
  end
6067
6067
 
6068
+ # Lists the models available to an Amazon Q in Connect assistant in the
6069
+ # assistant's Amazon Web Services Region. The available models are
6070
+ # determined by the region of the specified assistant.
6071
+ #
6072
+ # @option params [required, String] :assistant_id
6073
+ # The identifier of the Amazon Q in Connect assistant. Can be either the
6074
+ # ID or the ARN. URLs cannot contain the ARN. The assistant's region
6075
+ # determines which models are available.
6076
+ #
6077
+ # @option params [String] :ai_prompt_type
6078
+ # The type of the AI Prompt to filter models by. When specified, only
6079
+ # models that support the given AI Prompt type are returned.
6080
+ #
6081
+ # @option params [String] :model_lifecycle
6082
+ # The lifecycle status of models to filter by. When specified, only
6083
+ # models with the given lifecycle status are returned.
6084
+ #
6085
+ # @option params [String] :next_token
6086
+ # The token for the next set of results. Use the value returned in the
6087
+ # previous response in the next request to retrieve the next set of
6088
+ # results.
6089
+ #
6090
+ # @option params [Integer] :max_results
6091
+ # The maximum number of results to return per page.
6092
+ #
6093
+ # @return [Types::ListModelsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6094
+ #
6095
+ # * {Types::ListModelsResponse#model_summaries #model_summaries} => Array<Types::ModelSummary>
6096
+ # * {Types::ListModelsResponse#next_token #next_token} => String
6097
+ #
6098
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6099
+ #
6100
+ # @example Request syntax with placeholder values
6101
+ #
6102
+ # resp = client.list_models({
6103
+ # assistant_id: "UuidOrArn", # required
6104
+ # ai_prompt_type: "ANSWER_GENERATION", # accepts ANSWER_GENERATION, INTENT_LABELING_GENERATION, QUERY_REFORMULATION, SELF_SERVICE_PRE_PROCESSING, SELF_SERVICE_ANSWER_GENERATION, EMAIL_RESPONSE, EMAIL_OVERVIEW, EMAIL_GENERATIVE_ANSWER, EMAIL_QUERY_REFORMULATION, ORCHESTRATION, NOTE_TAKING, CASE_SUMMARIZATION
6105
+ # model_lifecycle: "ACTIVE", # accepts ACTIVE, LEGACY
6106
+ # next_token: "NextToken",
6107
+ # max_results: 1,
6108
+ # })
6109
+ #
6110
+ # @example Response structure
6111
+ #
6112
+ # resp.model_summaries #=> Array
6113
+ # resp.model_summaries[0].model_id #=> String
6114
+ # resp.model_summaries[0].display_name #=> String
6115
+ # resp.model_summaries[0].cross_region_status #=> String, one of "NONE", "REGIONAL", "GLOBAL"
6116
+ # resp.model_summaries[0].supports_prompt_caching #=> Boolean
6117
+ # resp.model_summaries[0].supported_ai_prompt_types #=> Array
6118
+ # resp.model_summaries[0].supported_ai_prompt_types[0] #=> String, one of "ANSWER_GENERATION", "INTENT_LABELING_GENERATION", "QUERY_REFORMULATION", "SELF_SERVICE_PRE_PROCESSING", "SELF_SERVICE_ANSWER_GENERATION", "EMAIL_RESPONSE", "EMAIL_OVERVIEW", "EMAIL_GENERATIVE_ANSWER", "EMAIL_QUERY_REFORMULATION", "ORCHESTRATION", "NOTE_TAKING", "CASE_SUMMARIZATION"
6119
+ # resp.model_summaries[0].model_lifecycle #=> String, one of "ACTIVE", "LEGACY"
6120
+ # resp.model_summaries[0].legacy_timestamp #=> Time
6121
+ # resp.model_summaries[0].end_of_life_timestamp #=> Time
6122
+ # resp.next_token #=> String
6123
+ #
6124
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/ListModels AWS API Documentation
6125
+ #
6126
+ # @overload list_models(params = {})
6127
+ # @param [Hash] params ({})
6128
+ def list_models(params = {}, options = {})
6129
+ req = build_request(:list_models, params)
6130
+ req.send_request(options)
6131
+ end
6132
+
6068
6133
  # Lists information about quick response.
6069
6134
  #
6070
6135
  # @option params [String] :next_token
@@ -9464,7 +9529,7 @@ module Aws::QConnect
9464
9529
  tracer: tracer
9465
9530
  )
9466
9531
  context[:gem_name] = 'aws-sdk-qconnect'
9467
- context[:gem_version] = '1.54.0'
9532
+ context[:gem_version] = '1.56.0'
9468
9533
  Seahorse::Client::Request.new(handlers, context)
9469
9534
  end
9470
9535
 
@@ -46,6 +46,7 @@ module Aws::QConnect
46
46
  AIPromptTemplateConfiguration = Shapes::UnionShape.new(name: 'AIPromptTemplateConfiguration')
47
47
  AIPromptTemplateType = Shapes::StringShape.new(name: 'AIPromptTemplateType')
48
48
  AIPromptType = Shapes::StringShape.new(name: 'AIPromptType')
49
+ AIPromptTypeList = Shapes::ListShape.new(name: 'AIPromptTypeList')
49
50
  AIPromptVersionSummariesList = Shapes::ListShape.new(name: 'AIPromptVersionSummariesList')
50
51
  AIPromptVersionSummary = Shapes::StructureShape.new(name: 'AIPromptVersionSummary')
51
52
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
@@ -156,6 +157,7 @@ module Aws::QConnect
156
157
  CreateQuickResponseResponse = Shapes::StructureShape.new(name: 'CreateQuickResponseResponse')
157
158
  CreateSessionRequest = Shapes::StructureShape.new(name: 'CreateSessionRequest')
158
159
  CreateSessionResponse = Shapes::StructureShape.new(name: 'CreateSessionResponse')
160
+ CrossRegionStatus = Shapes::StringShape.new(name: 'CrossRegionStatus')
159
161
  CustomAttributes = Shapes::MapShape.new(name: 'CustomAttributes')
160
162
  CustomerProfileAttributes = Shapes::StructureShape.new(name: 'CustomerProfileAttributes')
161
163
  DataDetails = Shapes::UnionShape.new(name: 'DataDetails')
@@ -351,6 +353,8 @@ module Aws::QConnect
351
353
  ListMessageTemplatesResponse = Shapes::StructureShape.new(name: 'ListMessageTemplatesResponse')
352
354
  ListMessagesRequest = Shapes::StructureShape.new(name: 'ListMessagesRequest')
353
355
  ListMessagesResponse = Shapes::StructureShape.new(name: 'ListMessagesResponse')
356
+ ListModelsRequest = Shapes::StructureShape.new(name: 'ListModelsRequest')
357
+ ListModelsResponse = Shapes::StructureShape.new(name: 'ListModelsResponse')
354
358
  ListQuickResponsesRequest = Shapes::StructureShape.new(name: 'ListQuickResponsesRequest')
355
359
  ListQuickResponsesResponse = Shapes::StructureShape.new(name: 'ListQuickResponsesResponse')
356
360
  ListSpansRequest = Shapes::StructureShape.new(name: 'ListSpansRequest')
@@ -402,6 +406,11 @@ module Aws::QConnect
402
406
  MessageTemplateVersionSummary = Shapes::StructureShape.new(name: 'MessageTemplateVersionSummary')
403
407
  MessageTemplateVersionSummaryList = Shapes::ListShape.new(name: 'MessageTemplateVersionSummaryList')
404
408
  MessageType = Shapes::StringShape.new(name: 'MessageType')
409
+ ModelDisplayName = Shapes::StringShape.new(name: 'ModelDisplayName')
410
+ ModelId = Shapes::StringShape.new(name: 'ModelId')
411
+ ModelLifecycle = Shapes::StringShape.new(name: 'ModelLifecycle')
412
+ ModelSummary = Shapes::StructureShape.new(name: 'ModelSummary')
413
+ ModelSummaryList = Shapes::ListShape.new(name: 'ModelSummaryList')
405
414
  Name = Shapes::StringShape.new(name: 'Name')
406
415
  NextToken = Shapes::StringShape.new(name: 'NextToken')
407
416
  NonEmptySensitiveString = Shapes::StringShape.new(name: 'NonEmptySensitiveString')
@@ -848,6 +857,8 @@ module Aws::QConnect
848
857
  AIPromptTemplateConfiguration.add_member_subclass(:unknown, Types::AIPromptTemplateConfiguration::Unknown)
849
858
  AIPromptTemplateConfiguration.struct_class = Types::AIPromptTemplateConfiguration
850
859
 
860
+ AIPromptTypeList.member = Shapes::ShapeRef.new(shape: AIPromptType)
861
+
851
862
  AIPromptVersionSummariesList.member = Shapes::ShapeRef.new(shape: AIPromptVersionSummary)
852
863
 
853
864
  AIPromptVersionSummary.add_member(:ai_prompt_summary, Shapes::ShapeRef.new(shape: AIPromptSummary, location_name: "aiPromptSummary"))
@@ -2077,6 +2088,17 @@ module Aws::QConnect
2077
2088
  ListMessagesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
2078
2089
  ListMessagesResponse.struct_class = Types::ListMessagesResponse
2079
2090
 
2091
+ ListModelsRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
2092
+ ListModelsRequest.add_member(:ai_prompt_type, Shapes::ShapeRef.new(shape: AIPromptType, location: "querystring", location_name: "aiPromptType"))
2093
+ ListModelsRequest.add_member(:model_lifecycle, Shapes::ShapeRef.new(shape: ModelLifecycle, location: "querystring", location_name: "modelLifecycle"))
2094
+ ListModelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
2095
+ ListModelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
2096
+ ListModelsRequest.struct_class = Types::ListModelsRequest
2097
+
2098
+ ListModelsResponse.add_member(:model_summaries, Shapes::ShapeRef.new(shape: ModelSummaryList, required: true, location_name: "modelSummaries"))
2099
+ ListModelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
2100
+ ListModelsResponse.struct_class = Types::ListModelsResponse
2101
+
2080
2102
  ListQuickResponsesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NonEmptyString, location: "querystring", location_name: "nextToken"))
2081
2103
  ListQuickResponsesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
2082
2104
  ListQuickResponsesRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
@@ -2293,6 +2315,18 @@ module Aws::QConnect
2293
2315
 
2294
2316
  MessageTemplateVersionSummaryList.member = Shapes::ShapeRef.new(shape: MessageTemplateVersionSummary)
2295
2317
 
2318
+ ModelSummary.add_member(:model_id, Shapes::ShapeRef.new(shape: ModelId, required: true, location_name: "modelId"))
2319
+ ModelSummary.add_member(:display_name, Shapes::ShapeRef.new(shape: ModelDisplayName, required: true, location_name: "displayName"))
2320
+ ModelSummary.add_member(:cross_region_status, Shapes::ShapeRef.new(shape: CrossRegionStatus, location_name: "crossRegionStatus"))
2321
+ ModelSummary.add_member(:supports_prompt_caching, Shapes::ShapeRef.new(shape: Boolean, location_name: "supportsPromptCaching"))
2322
+ ModelSummary.add_member(:supported_ai_prompt_types, Shapes::ShapeRef.new(shape: AIPromptTypeList, location_name: "supportedAIPromptTypes"))
2323
+ ModelSummary.add_member(:model_lifecycle, Shapes::ShapeRef.new(shape: ModelLifecycle, location_name: "modelLifecycle"))
2324
+ ModelSummary.add_member(:legacy_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "legacyTimestamp"))
2325
+ ModelSummary.add_member(:end_of_life_timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endOfLifeTimestamp"))
2326
+ ModelSummary.struct_class = Types::ModelSummary
2327
+
2328
+ ModelSummaryList.member = Shapes::ShapeRef.new(shape: ModelSummary)
2329
+
2296
2330
  NoteTakingAIAgentConfiguration.add_member(:note_taking_ai_prompt_id, Shapes::ShapeRef.new(shape: UuidWithQualifier, location_name: "noteTakingAIPromptId"))
2297
2331
  NoteTakingAIAgentConfiguration.add_member(:note_taking_ai_guardrail_id, Shapes::ShapeRef.new(shape: UuidWithQualifier, location_name: "noteTakingAIGuardrailId"))
2298
2332
  NoteTakingAIAgentConfiguration.add_member(:locale, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "locale"))
@@ -4193,6 +4227,26 @@ module Aws::QConnect
4193
4227
  )
4194
4228
  end)
4195
4229
 
4230
+ api.add_operation(:list_models, Seahorse::Model::Operation.new.tap do |o|
4231
+ o.name = "ListModels"
4232
+ o.http_method = "GET"
4233
+ o.http_request_uri = "/assistants/{assistantId}/models"
4234
+ o.input = Shapes::ShapeRef.new(shape: ListModelsRequest)
4235
+ o.output = Shapes::ShapeRef.new(shape: ListModelsResponse)
4236
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
4237
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
4238
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
4239
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4240
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4241
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4242
+ o[:pager] = Aws::Pager.new(
4243
+ limit_key: "max_results",
4244
+ tokens: {
4245
+ "next_token" => "next_token"
4246
+ }
4247
+ )
4248
+ end)
4249
+
4196
4250
  api.add_operation(:list_quick_responses, Seahorse::Model::Operation.new.tap do |o|
4197
4251
  o.name = "ListQuickResponses"
4198
4252
  o.http_method = "GET"
@@ -7010,6 +7010,62 @@ module Aws::QConnect
7010
7010
  include Aws::Structure
7011
7011
  end
7012
7012
 
7013
+ # @!attribute [rw] assistant_id
7014
+ # The identifier of the Amazon Q in Connect assistant. Can be either
7015
+ # the ID or the ARN. URLs cannot contain the ARN. The assistant's
7016
+ # region determines which models are available.
7017
+ # @return [String]
7018
+ #
7019
+ # @!attribute [rw] ai_prompt_type
7020
+ # The type of the AI Prompt to filter models by. When specified, only
7021
+ # models that support the given AI Prompt type are returned.
7022
+ # @return [String]
7023
+ #
7024
+ # @!attribute [rw] model_lifecycle
7025
+ # The lifecycle status of models to filter by. When specified, only
7026
+ # models with the given lifecycle status are returned.
7027
+ # @return [String]
7028
+ #
7029
+ # @!attribute [rw] next_token
7030
+ # The token for the next set of results. Use the value returned in the
7031
+ # previous response in the next request to retrieve the next set of
7032
+ # results.
7033
+ # @return [String]
7034
+ #
7035
+ # @!attribute [rw] max_results
7036
+ # The maximum number of results to return per page.
7037
+ # @return [Integer]
7038
+ #
7039
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/ListModelsRequest AWS API Documentation
7040
+ #
7041
+ class ListModelsRequest < Struct.new(
7042
+ :assistant_id,
7043
+ :ai_prompt_type,
7044
+ :model_lifecycle,
7045
+ :next_token,
7046
+ :max_results)
7047
+ SENSITIVE = []
7048
+ include Aws::Structure
7049
+ end
7050
+
7051
+ # @!attribute [rw] model_summaries
7052
+ # The summaries of the models available to the assistant.
7053
+ # @return [Array<Types::ModelSummary>]
7054
+ #
7055
+ # @!attribute [rw] next_token
7056
+ # If there are additional results, this is the token for the next set
7057
+ # of results.
7058
+ # @return [String]
7059
+ #
7060
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/ListModelsResponse AWS API Documentation
7061
+ #
7062
+ class ListModelsResponse < Struct.new(
7063
+ :model_summaries,
7064
+ :next_token)
7065
+ SENSITIVE = []
7066
+ include Aws::Structure
7067
+ end
7068
+
7013
7069
  # @!attribute [rw] next_token
7014
7070
  # The token for the next set of results. Use the value returned in the
7015
7071
  # previous response in the next request to retrieve the next set of
@@ -7987,6 +8043,63 @@ module Aws::QConnect
7987
8043
  include Aws::Structure
7988
8044
  end
7989
8045
 
8046
+ # The summary of a model available to an Amazon Q in Connect assistant.
8047
+ #
8048
+ # @!attribute [rw] model_id
8049
+ # The identifier of the model.
8050
+ # @return [String]
8051
+ #
8052
+ # @!attribute [rw] display_name
8053
+ # The display name of the model.
8054
+ # @return [String]
8055
+ #
8056
+ # @!attribute [rw] cross_region_status
8057
+ # The cross-region availability status of the model. `NONE` indicates
8058
+ # the model is only available in a single region, `REGIONAL` indicates
8059
+ # the model is available through regional inference, and `GLOBAL`
8060
+ # indicates the model is available through global cross-region
8061
+ # inference.
8062
+ # @return [String]
8063
+ #
8064
+ # @!attribute [rw] supports_prompt_caching
8065
+ # Whether the model supports prompt caching.
8066
+ # @return [Boolean]
8067
+ #
8068
+ # @!attribute [rw] supported_ai_prompt_types
8069
+ # The list of AI Prompt types that the model supports.
8070
+ # @return [Array<String>]
8071
+ #
8072
+ # @!attribute [rw] model_lifecycle
8073
+ # The current lifecycle of the model. `ACTIVE` indicates the model is
8074
+ # recommended for use and `LEGACY` indicates the model is still usable
8075
+ # but is deprecated.
8076
+ # @return [String]
8077
+ #
8078
+ # @!attribute [rw] legacy_timestamp
8079
+ # The timestamp when the model lifecycle will transition from `ACTIVE`
8080
+ # to `LEGACY`.
8081
+ # @return [Time]
8082
+ #
8083
+ # @!attribute [rw] end_of_life_timestamp
8084
+ # The timestamp when the model will reach end of life and no longer be
8085
+ # available for use.
8086
+ # @return [Time]
8087
+ #
8088
+ # @see http://docs.aws.amazon.com/goto/WebAPI/qconnect-2020-10-19/ModelSummary AWS API Documentation
8089
+ #
8090
+ class ModelSummary < Struct.new(
8091
+ :model_id,
8092
+ :display_name,
8093
+ :cross_region_status,
8094
+ :supports_prompt_caching,
8095
+ :supported_ai_prompt_types,
8096
+ :model_lifecycle,
8097
+ :legacy_timestamp,
8098
+ :end_of_life_timestamp)
8099
+ SENSITIVE = []
8100
+ include Aws::Structure
8101
+ end
8102
+
7990
8103
  # The configuration for AI Agents of type `NOTE_TAKING`.
7991
8104
  #
7992
8105
  # @!attribute [rw] note_taking_ai_prompt_id
@@ -55,7 +55,7 @@ module Aws::QConnect
55
55
  autoload :EndpointProvider, 'aws-sdk-qconnect/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-qconnect/endpoints'
57
57
 
58
- GEM_VERSION = '1.54.0'
58
+ GEM_VERSION = '1.56.0'
59
59
 
60
60
  end
61
61