aws-sdk-bedrockagent 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,1592 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::BedrockAgent
11
+ # @api private
12
+ module ClientApi
13
+
14
+ include Seahorse::Model
15
+
16
+ APISchema = Shapes::UnionShape.new(name: 'APISchema')
17
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
18
+ ActionGroupExecutor = Shapes::UnionShape.new(name: 'ActionGroupExecutor')
19
+ ActionGroupSignature = Shapes::StringShape.new(name: 'ActionGroupSignature')
20
+ ActionGroupState = Shapes::StringShape.new(name: 'ActionGroupState')
21
+ ActionGroupSummaries = Shapes::ListShape.new(name: 'ActionGroupSummaries')
22
+ ActionGroupSummary = Shapes::StructureShape.new(name: 'ActionGroupSummary')
23
+ Agent = Shapes::StructureShape.new(name: 'Agent')
24
+ AgentActionGroup = Shapes::StructureShape.new(name: 'AgentActionGroup')
25
+ AgentAlias = Shapes::StructureShape.new(name: 'AgentAlias')
26
+ AgentAliasArn = Shapes::StringShape.new(name: 'AgentAliasArn')
27
+ AgentAliasHistoryEvent = Shapes::StructureShape.new(name: 'AgentAliasHistoryEvent')
28
+ AgentAliasHistoryEvents = Shapes::ListShape.new(name: 'AgentAliasHistoryEvents')
29
+ AgentAliasId = Shapes::StringShape.new(name: 'AgentAliasId')
30
+ AgentAliasRoutingConfiguration = Shapes::ListShape.new(name: 'AgentAliasRoutingConfiguration')
31
+ AgentAliasRoutingConfigurationListItem = Shapes::StructureShape.new(name: 'AgentAliasRoutingConfigurationListItem')
32
+ AgentAliasStatus = Shapes::StringShape.new(name: 'AgentAliasStatus')
33
+ AgentAliasSummaries = Shapes::ListShape.new(name: 'AgentAliasSummaries')
34
+ AgentAliasSummary = Shapes::StructureShape.new(name: 'AgentAliasSummary')
35
+ AgentArn = Shapes::StringShape.new(name: 'AgentArn')
36
+ AgentKnowledgeBase = Shapes::StructureShape.new(name: 'AgentKnowledgeBase')
37
+ AgentKnowledgeBaseSummaries = Shapes::ListShape.new(name: 'AgentKnowledgeBaseSummaries')
38
+ AgentKnowledgeBaseSummary = Shapes::StructureShape.new(name: 'AgentKnowledgeBaseSummary')
39
+ AgentRoleArn = Shapes::StringShape.new(name: 'AgentRoleArn')
40
+ AgentStatus = Shapes::StringShape.new(name: 'AgentStatus')
41
+ AgentSummaries = Shapes::ListShape.new(name: 'AgentSummaries')
42
+ AgentSummary = Shapes::StructureShape.new(name: 'AgentSummary')
43
+ AgentVersion = Shapes::StructureShape.new(name: 'AgentVersion')
44
+ AgentVersionSummaries = Shapes::ListShape.new(name: 'AgentVersionSummaries')
45
+ AgentVersionSummary = Shapes::StructureShape.new(name: 'AgentVersionSummary')
46
+ AssociateAgentKnowledgeBaseRequest = Shapes::StructureShape.new(name: 'AssociateAgentKnowledgeBaseRequest')
47
+ AssociateAgentKnowledgeBaseResponse = Shapes::StructureShape.new(name: 'AssociateAgentKnowledgeBaseResponse')
48
+ BasePromptTemplate = Shapes::StringShape.new(name: 'BasePromptTemplate')
49
+ BedrockEmbeddingModelArn = Shapes::StringShape.new(name: 'BedrockEmbeddingModelArn')
50
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
51
+ ChunkingConfiguration = Shapes::StructureShape.new(name: 'ChunkingConfiguration')
52
+ ChunkingStrategy = Shapes::StringShape.new(name: 'ChunkingStrategy')
53
+ ClientToken = Shapes::StringShape.new(name: 'ClientToken')
54
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
55
+ CreateAgentActionGroupRequest = Shapes::StructureShape.new(name: 'CreateAgentActionGroupRequest')
56
+ CreateAgentActionGroupResponse = Shapes::StructureShape.new(name: 'CreateAgentActionGroupResponse')
57
+ CreateAgentAliasRequest = Shapes::StructureShape.new(name: 'CreateAgentAliasRequest')
58
+ CreateAgentAliasResponse = Shapes::StructureShape.new(name: 'CreateAgentAliasResponse')
59
+ CreateAgentRequest = Shapes::StructureShape.new(name: 'CreateAgentRequest')
60
+ CreateAgentResponse = Shapes::StructureShape.new(name: 'CreateAgentResponse')
61
+ CreateDataSourceRequest = Shapes::StructureShape.new(name: 'CreateDataSourceRequest')
62
+ CreateDataSourceResponse = Shapes::StructureShape.new(name: 'CreateDataSourceResponse')
63
+ CreateKnowledgeBaseRequest = Shapes::StructureShape.new(name: 'CreateKnowledgeBaseRequest')
64
+ CreateKnowledgeBaseResponse = Shapes::StructureShape.new(name: 'CreateKnowledgeBaseResponse')
65
+ CreationMode = Shapes::StringShape.new(name: 'CreationMode')
66
+ DataSource = Shapes::StructureShape.new(name: 'DataSource')
67
+ DataSourceConfiguration = Shapes::StructureShape.new(name: 'DataSourceConfiguration')
68
+ DataSourceStatus = Shapes::StringShape.new(name: 'DataSourceStatus')
69
+ DataSourceSummaries = Shapes::ListShape.new(name: 'DataSourceSummaries')
70
+ DataSourceSummary = Shapes::StructureShape.new(name: 'DataSourceSummary')
71
+ DataSourceType = Shapes::StringShape.new(name: 'DataSourceType')
72
+ DateTimestamp = Shapes::TimestampShape.new(name: 'DateTimestamp', timestampFormat: "iso8601")
73
+ DeleteAgentActionGroupRequest = Shapes::StructureShape.new(name: 'DeleteAgentActionGroupRequest')
74
+ DeleteAgentActionGroupResponse = Shapes::StructureShape.new(name: 'DeleteAgentActionGroupResponse')
75
+ DeleteAgentAliasRequest = Shapes::StructureShape.new(name: 'DeleteAgentAliasRequest')
76
+ DeleteAgentAliasResponse = Shapes::StructureShape.new(name: 'DeleteAgentAliasResponse')
77
+ DeleteAgentRequest = Shapes::StructureShape.new(name: 'DeleteAgentRequest')
78
+ DeleteAgentResponse = Shapes::StructureShape.new(name: 'DeleteAgentResponse')
79
+ DeleteAgentVersionRequest = Shapes::StructureShape.new(name: 'DeleteAgentVersionRequest')
80
+ DeleteAgentVersionResponse = Shapes::StructureShape.new(name: 'DeleteAgentVersionResponse')
81
+ DeleteDataSourceRequest = Shapes::StructureShape.new(name: 'DeleteDataSourceRequest')
82
+ DeleteDataSourceResponse = Shapes::StructureShape.new(name: 'DeleteDataSourceResponse')
83
+ DeleteKnowledgeBaseRequest = Shapes::StructureShape.new(name: 'DeleteKnowledgeBaseRequest')
84
+ DeleteKnowledgeBaseResponse = Shapes::StructureShape.new(name: 'DeleteKnowledgeBaseResponse')
85
+ Description = Shapes::StringShape.new(name: 'Description')
86
+ DisassociateAgentKnowledgeBaseRequest = Shapes::StructureShape.new(name: 'DisassociateAgentKnowledgeBaseRequest')
87
+ DisassociateAgentKnowledgeBaseResponse = Shapes::StructureShape.new(name: 'DisassociateAgentKnowledgeBaseResponse')
88
+ DraftVersion = Shapes::StringShape.new(name: 'DraftVersion')
89
+ FailureReason = Shapes::StringShape.new(name: 'FailureReason')
90
+ FailureReasons = Shapes::ListShape.new(name: 'FailureReasons')
91
+ FieldName = Shapes::StringShape.new(name: 'FieldName')
92
+ FixedSizeChunkingConfiguration = Shapes::StructureShape.new(name: 'FixedSizeChunkingConfiguration')
93
+ FixedSizeChunkingConfigurationMaxTokensInteger = Shapes::IntegerShape.new(name: 'FixedSizeChunkingConfigurationMaxTokensInteger')
94
+ FixedSizeChunkingConfigurationOverlapPercentageInteger = Shapes::IntegerShape.new(name: 'FixedSizeChunkingConfigurationOverlapPercentageInteger')
95
+ GetAgentActionGroupRequest = Shapes::StructureShape.new(name: 'GetAgentActionGroupRequest')
96
+ GetAgentActionGroupResponse = Shapes::StructureShape.new(name: 'GetAgentActionGroupResponse')
97
+ GetAgentAliasRequest = Shapes::StructureShape.new(name: 'GetAgentAliasRequest')
98
+ GetAgentAliasResponse = Shapes::StructureShape.new(name: 'GetAgentAliasResponse')
99
+ GetAgentKnowledgeBaseRequest = Shapes::StructureShape.new(name: 'GetAgentKnowledgeBaseRequest')
100
+ GetAgentKnowledgeBaseResponse = Shapes::StructureShape.new(name: 'GetAgentKnowledgeBaseResponse')
101
+ GetAgentRequest = Shapes::StructureShape.new(name: 'GetAgentRequest')
102
+ GetAgentResponse = Shapes::StructureShape.new(name: 'GetAgentResponse')
103
+ GetAgentVersionRequest = Shapes::StructureShape.new(name: 'GetAgentVersionRequest')
104
+ GetAgentVersionResponse = Shapes::StructureShape.new(name: 'GetAgentVersionResponse')
105
+ GetDataSourceRequest = Shapes::StructureShape.new(name: 'GetDataSourceRequest')
106
+ GetDataSourceResponse = Shapes::StructureShape.new(name: 'GetDataSourceResponse')
107
+ GetIngestionJobRequest = Shapes::StructureShape.new(name: 'GetIngestionJobRequest')
108
+ GetIngestionJobResponse = Shapes::StructureShape.new(name: 'GetIngestionJobResponse')
109
+ GetKnowledgeBaseRequest = Shapes::StructureShape.new(name: 'GetKnowledgeBaseRequest')
110
+ GetKnowledgeBaseResponse = Shapes::StructureShape.new(name: 'GetKnowledgeBaseResponse')
111
+ Id = Shapes::StringShape.new(name: 'Id')
112
+ InferenceConfiguration = Shapes::StructureShape.new(name: 'InferenceConfiguration')
113
+ IngestionJob = Shapes::StructureShape.new(name: 'IngestionJob')
114
+ IngestionJobFilter = Shapes::StructureShape.new(name: 'IngestionJobFilter')
115
+ IngestionJobFilterAttribute = Shapes::StringShape.new(name: 'IngestionJobFilterAttribute')
116
+ IngestionJobFilterOperator = Shapes::StringShape.new(name: 'IngestionJobFilterOperator')
117
+ IngestionJobFilterValue = Shapes::StringShape.new(name: 'IngestionJobFilterValue')
118
+ IngestionJobFilterValues = Shapes::ListShape.new(name: 'IngestionJobFilterValues')
119
+ IngestionJobFilters = Shapes::ListShape.new(name: 'IngestionJobFilters')
120
+ IngestionJobSortBy = Shapes::StructureShape.new(name: 'IngestionJobSortBy')
121
+ IngestionJobSortByAttribute = Shapes::StringShape.new(name: 'IngestionJobSortByAttribute')
122
+ IngestionJobStatistics = Shapes::StructureShape.new(name: 'IngestionJobStatistics')
123
+ IngestionJobStatus = Shapes::StringShape.new(name: 'IngestionJobStatus')
124
+ IngestionJobSummaries = Shapes::ListShape.new(name: 'IngestionJobSummaries')
125
+ IngestionJobSummary = Shapes::StructureShape.new(name: 'IngestionJobSummary')
126
+ Instruction = Shapes::StringShape.new(name: 'Instruction')
127
+ InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
128
+ KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
129
+ KnowledgeBase = Shapes::StructureShape.new(name: 'KnowledgeBase')
130
+ KnowledgeBaseArn = Shapes::StringShape.new(name: 'KnowledgeBaseArn')
131
+ KnowledgeBaseConfiguration = Shapes::StructureShape.new(name: 'KnowledgeBaseConfiguration')
132
+ KnowledgeBaseRoleArn = Shapes::StringShape.new(name: 'KnowledgeBaseRoleArn')
133
+ KnowledgeBaseState = Shapes::StringShape.new(name: 'KnowledgeBaseState')
134
+ KnowledgeBaseStatus = Shapes::StringShape.new(name: 'KnowledgeBaseStatus')
135
+ KnowledgeBaseStorageType = Shapes::StringShape.new(name: 'KnowledgeBaseStorageType')
136
+ KnowledgeBaseSummaries = Shapes::ListShape.new(name: 'KnowledgeBaseSummaries')
137
+ KnowledgeBaseSummary = Shapes::StructureShape.new(name: 'KnowledgeBaseSummary')
138
+ KnowledgeBaseType = Shapes::StringShape.new(name: 'KnowledgeBaseType')
139
+ LambdaArn = Shapes::StringShape.new(name: 'LambdaArn')
140
+ ListAgentActionGroupsRequest = Shapes::StructureShape.new(name: 'ListAgentActionGroupsRequest')
141
+ ListAgentActionGroupsResponse = Shapes::StructureShape.new(name: 'ListAgentActionGroupsResponse')
142
+ ListAgentAliasesRequest = Shapes::StructureShape.new(name: 'ListAgentAliasesRequest')
143
+ ListAgentAliasesResponse = Shapes::StructureShape.new(name: 'ListAgentAliasesResponse')
144
+ ListAgentKnowledgeBasesRequest = Shapes::StructureShape.new(name: 'ListAgentKnowledgeBasesRequest')
145
+ ListAgentKnowledgeBasesResponse = Shapes::StructureShape.new(name: 'ListAgentKnowledgeBasesResponse')
146
+ ListAgentVersionsRequest = Shapes::StructureShape.new(name: 'ListAgentVersionsRequest')
147
+ ListAgentVersionsResponse = Shapes::StructureShape.new(name: 'ListAgentVersionsResponse')
148
+ ListAgentsRequest = Shapes::StructureShape.new(name: 'ListAgentsRequest')
149
+ ListAgentsResponse = Shapes::StructureShape.new(name: 'ListAgentsResponse')
150
+ ListDataSourcesRequest = Shapes::StructureShape.new(name: 'ListDataSourcesRequest')
151
+ ListDataSourcesResponse = Shapes::StructureShape.new(name: 'ListDataSourcesResponse')
152
+ ListIngestionJobsRequest = Shapes::StructureShape.new(name: 'ListIngestionJobsRequest')
153
+ ListIngestionJobsResponse = Shapes::StructureShape.new(name: 'ListIngestionJobsResponse')
154
+ ListKnowledgeBasesRequest = Shapes::StructureShape.new(name: 'ListKnowledgeBasesRequest')
155
+ ListKnowledgeBasesResponse = Shapes::StructureShape.new(name: 'ListKnowledgeBasesResponse')
156
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
157
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
158
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
159
+ MaximumLength = Shapes::IntegerShape.new(name: 'MaximumLength')
160
+ ModelIdentifier = Shapes::StringShape.new(name: 'ModelIdentifier')
161
+ Name = Shapes::StringShape.new(name: 'Name')
162
+ NextToken = Shapes::StringShape.new(name: 'NextToken')
163
+ NonBlankString = Shapes::StringShape.new(name: 'NonBlankString')
164
+ NumericalVersion = Shapes::StringShape.new(name: 'NumericalVersion')
165
+ OpenSearchServerlessCollectionArn = Shapes::StringShape.new(name: 'OpenSearchServerlessCollectionArn')
166
+ OpenSearchServerlessConfiguration = Shapes::StructureShape.new(name: 'OpenSearchServerlessConfiguration')
167
+ OpenSearchServerlessFieldMapping = Shapes::StructureShape.new(name: 'OpenSearchServerlessFieldMapping')
168
+ OpenSearchServerlessIndexName = Shapes::StringShape.new(name: 'OpenSearchServerlessIndexName')
169
+ Payload = Shapes::StringShape.new(name: 'Payload')
170
+ PineconeConfiguration = Shapes::StructureShape.new(name: 'PineconeConfiguration')
171
+ PineconeConnectionString = Shapes::StringShape.new(name: 'PineconeConnectionString')
172
+ PineconeFieldMapping = Shapes::StructureShape.new(name: 'PineconeFieldMapping')
173
+ PineconeNamespace = Shapes::StringShape.new(name: 'PineconeNamespace')
174
+ PrepareAgentRequest = Shapes::StructureShape.new(name: 'PrepareAgentRequest')
175
+ PrepareAgentResponse = Shapes::StructureShape.new(name: 'PrepareAgentResponse')
176
+ PrimitiveLong = Shapes::IntegerShape.new(name: 'PrimitiveLong')
177
+ PromptConfiguration = Shapes::StructureShape.new(name: 'PromptConfiguration')
178
+ PromptConfigurations = Shapes::ListShape.new(name: 'PromptConfigurations')
179
+ PromptOverrideConfiguration = Shapes::StructureShape.new(name: 'PromptOverrideConfiguration')
180
+ PromptState = Shapes::StringShape.new(name: 'PromptState')
181
+ PromptType = Shapes::StringShape.new(name: 'PromptType')
182
+ RecommendedAction = Shapes::StringShape.new(name: 'RecommendedAction')
183
+ RecommendedActions = Shapes::ListShape.new(name: 'RecommendedActions')
184
+ RedisEnterpriseCloudConfiguration = Shapes::StructureShape.new(name: 'RedisEnterpriseCloudConfiguration')
185
+ RedisEnterpriseCloudEndpoint = Shapes::StringShape.new(name: 'RedisEnterpriseCloudEndpoint')
186
+ RedisEnterpriseCloudFieldMapping = Shapes::StructureShape.new(name: 'RedisEnterpriseCloudFieldMapping')
187
+ RedisEnterpriseCloudIndexName = Shapes::StringShape.new(name: 'RedisEnterpriseCloudIndexName')
188
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
189
+ S3BucketArn = Shapes::StringShape.new(name: 'S3BucketArn')
190
+ S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
191
+ S3DataSourceConfiguration = Shapes::StructureShape.new(name: 'S3DataSourceConfiguration')
192
+ S3Identifier = Shapes::StructureShape.new(name: 'S3Identifier')
193
+ S3ObjectKey = Shapes::StringShape.new(name: 'S3ObjectKey')
194
+ S3Prefix = Shapes::StringShape.new(name: 'S3Prefix')
195
+ S3Prefixes = Shapes::ListShape.new(name: 'S3Prefixes')
196
+ SecretArn = Shapes::StringShape.new(name: 'SecretArn')
197
+ ServerSideEncryptionConfiguration = Shapes::StructureShape.new(name: 'ServerSideEncryptionConfiguration')
198
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
199
+ SessionTTL = Shapes::IntegerShape.new(name: 'SessionTTL')
200
+ SortOrder = Shapes::StringShape.new(name: 'SortOrder')
201
+ StartIngestionJobRequest = Shapes::StructureShape.new(name: 'StartIngestionJobRequest')
202
+ StartIngestionJobResponse = Shapes::StructureShape.new(name: 'StartIngestionJobResponse')
203
+ StopSequences = Shapes::ListShape.new(name: 'StopSequences')
204
+ StorageConfiguration = Shapes::StructureShape.new(name: 'StorageConfiguration')
205
+ String = Shapes::StringShape.new(name: 'String')
206
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
207
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
208
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
209
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
210
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
211
+ TaggableResourcesArn = Shapes::StringShape.new(name: 'TaggableResourcesArn')
212
+ TagsMap = Shapes::MapShape.new(name: 'TagsMap')
213
+ Temperature = Shapes::FloatShape.new(name: 'Temperature')
214
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
215
+ TopK = Shapes::IntegerShape.new(name: 'TopK')
216
+ TopP = Shapes::FloatShape.new(name: 'TopP')
217
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
218
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
219
+ UpdateAgentActionGroupRequest = Shapes::StructureShape.new(name: 'UpdateAgentActionGroupRequest')
220
+ UpdateAgentActionGroupResponse = Shapes::StructureShape.new(name: 'UpdateAgentActionGroupResponse')
221
+ UpdateAgentAliasRequest = Shapes::StructureShape.new(name: 'UpdateAgentAliasRequest')
222
+ UpdateAgentAliasResponse = Shapes::StructureShape.new(name: 'UpdateAgentAliasResponse')
223
+ UpdateAgentKnowledgeBaseRequest = Shapes::StructureShape.new(name: 'UpdateAgentKnowledgeBaseRequest')
224
+ UpdateAgentKnowledgeBaseResponse = Shapes::StructureShape.new(name: 'UpdateAgentKnowledgeBaseResponse')
225
+ UpdateAgentRequest = Shapes::StructureShape.new(name: 'UpdateAgentRequest')
226
+ UpdateAgentResponse = Shapes::StructureShape.new(name: 'UpdateAgentResponse')
227
+ UpdateDataSourceRequest = Shapes::StructureShape.new(name: 'UpdateDataSourceRequest')
228
+ UpdateDataSourceResponse = Shapes::StructureShape.new(name: 'UpdateDataSourceResponse')
229
+ UpdateKnowledgeBaseRequest = Shapes::StructureShape.new(name: 'UpdateKnowledgeBaseRequest')
230
+ UpdateKnowledgeBaseResponse = Shapes::StructureShape.new(name: 'UpdateKnowledgeBaseResponse')
231
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
232
+ ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
233
+ ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
234
+ VectorIngestionConfiguration = Shapes::StructureShape.new(name: 'VectorIngestionConfiguration')
235
+ VectorKnowledgeBaseConfiguration = Shapes::StructureShape.new(name: 'VectorKnowledgeBaseConfiguration')
236
+ Version = Shapes::StringShape.new(name: 'Version')
237
+
238
+ APISchema.add_member(:s3, Shapes::ShapeRef.new(shape: S3Identifier, location_name: "s3"))
239
+ APISchema.add_member(:payload, Shapes::ShapeRef.new(shape: Payload, location_name: "payload"))
240
+ APISchema.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
241
+ APISchema.add_member_subclass(:s3, Types::APISchema::S3)
242
+ APISchema.add_member_subclass(:payload, Types::APISchema::Payload)
243
+ APISchema.add_member_subclass(:unknown, Types::APISchema::Unknown)
244
+ APISchema.struct_class = Types::APISchema
245
+
246
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
247
+ AccessDeniedException.struct_class = Types::AccessDeniedException
248
+
249
+ ActionGroupExecutor.add_member(:lambda, Shapes::ShapeRef.new(shape: LambdaArn, location_name: "lambda"))
250
+ ActionGroupExecutor.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
251
+ ActionGroupExecutor.add_member_subclass(:lambda, Types::ActionGroupExecutor::Lambda)
252
+ ActionGroupExecutor.add_member_subclass(:unknown, Types::ActionGroupExecutor::Unknown)
253
+ ActionGroupExecutor.struct_class = Types::ActionGroupExecutor
254
+
255
+ ActionGroupSummaries.member = Shapes::ShapeRef.new(shape: ActionGroupSummary)
256
+
257
+ ActionGroupSummary.add_member(:action_group_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "actionGroupId"))
258
+ ActionGroupSummary.add_member(:action_group_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "actionGroupName"))
259
+ ActionGroupSummary.add_member(:action_group_state, Shapes::ShapeRef.new(shape: ActionGroupState, required: true, location_name: "actionGroupState"))
260
+ ActionGroupSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
261
+ ActionGroupSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "updatedAt"))
262
+ ActionGroupSummary.struct_class = Types::ActionGroupSummary
263
+
264
+ Agent.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "agentId"))
265
+ Agent.add_member(:agent_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "agentName"))
266
+ Agent.add_member(:agent_arn, Shapes::ShapeRef.new(shape: AgentArn, required: true, location_name: "agentArn"))
267
+ Agent.add_member(:agent_version, Shapes::ShapeRef.new(shape: DraftVersion, required: true, location_name: "agentVersion"))
268
+ Agent.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken"))
269
+ Agent.add_member(:instruction, Shapes::ShapeRef.new(shape: Instruction, location_name: "instruction"))
270
+ Agent.add_member(:agent_status, Shapes::ShapeRef.new(shape: AgentStatus, required: true, location_name: "agentStatus"))
271
+ Agent.add_member(:foundation_model, Shapes::ShapeRef.new(shape: ModelIdentifier, location_name: "foundationModel"))
272
+ Agent.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
273
+ Agent.add_member(:idle_session_ttl_in_seconds, Shapes::ShapeRef.new(shape: SessionTTL, required: true, location_name: "idleSessionTTLInSeconds"))
274
+ Agent.add_member(:agent_resource_role_arn, Shapes::ShapeRef.new(shape: AgentRoleArn, required: true, location_name: "agentResourceRoleArn"))
275
+ Agent.add_member(:customer_encryption_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "customerEncryptionKeyArn"))
276
+ Agent.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
277
+ Agent.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "updatedAt"))
278
+ Agent.add_member(:prepared_at, Shapes::ShapeRef.new(shape: DateTimestamp, location_name: "preparedAt"))
279
+ Agent.add_member(:failure_reasons, Shapes::ShapeRef.new(shape: FailureReasons, location_name: "failureReasons"))
280
+ Agent.add_member(:recommended_actions, Shapes::ShapeRef.new(shape: RecommendedActions, location_name: "recommendedActions"))
281
+ Agent.add_member(:prompt_override_configuration, Shapes::ShapeRef.new(shape: PromptOverrideConfiguration, location_name: "promptOverrideConfiguration"))
282
+ Agent.struct_class = Types::Agent
283
+
284
+ AgentActionGroup.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "agentId"))
285
+ AgentActionGroup.add_member(:agent_version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "agentVersion"))
286
+ AgentActionGroup.add_member(:action_group_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "actionGroupId"))
287
+ AgentActionGroup.add_member(:action_group_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "actionGroupName"))
288
+ AgentActionGroup.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken"))
289
+ AgentActionGroup.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
290
+ AgentActionGroup.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
291
+ AgentActionGroup.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "updatedAt"))
292
+ AgentActionGroup.add_member(:parent_action_signature, Shapes::ShapeRef.new(shape: ActionGroupSignature, location_name: "parentActionSignature"))
293
+ AgentActionGroup.add_member(:action_group_executor, Shapes::ShapeRef.new(shape: ActionGroupExecutor, location_name: "actionGroupExecutor"))
294
+ AgentActionGroup.add_member(:api_schema, Shapes::ShapeRef.new(shape: APISchema, location_name: "apiSchema"))
295
+ AgentActionGroup.add_member(:action_group_state, Shapes::ShapeRef.new(shape: ActionGroupState, required: true, location_name: "actionGroupState"))
296
+ AgentActionGroup.struct_class = Types::AgentActionGroup
297
+
298
+ AgentAlias.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "agentId"))
299
+ AgentAlias.add_member(:agent_alias_id, Shapes::ShapeRef.new(shape: AgentAliasId, required: true, location_name: "agentAliasId"))
300
+ AgentAlias.add_member(:agent_alias_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "agentAliasName"))
301
+ AgentAlias.add_member(:agent_alias_arn, Shapes::ShapeRef.new(shape: AgentAliasArn, required: true, location_name: "agentAliasArn"))
302
+ AgentAlias.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken"))
303
+ AgentAlias.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
304
+ AgentAlias.add_member(:routing_configuration, Shapes::ShapeRef.new(shape: AgentAliasRoutingConfiguration, required: true, location_name: "routingConfiguration"))
305
+ AgentAlias.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
306
+ AgentAlias.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "updatedAt"))
307
+ AgentAlias.add_member(:agent_alias_history_events, Shapes::ShapeRef.new(shape: AgentAliasHistoryEvents, location_name: "agentAliasHistoryEvents"))
308
+ AgentAlias.add_member(:agent_alias_status, Shapes::ShapeRef.new(shape: AgentAliasStatus, required: true, location_name: "agentAliasStatus"))
309
+ AgentAlias.struct_class = Types::AgentAlias
310
+
311
+ AgentAliasHistoryEvent.add_member(:routing_configuration, Shapes::ShapeRef.new(shape: AgentAliasRoutingConfiguration, location_name: "routingConfiguration"))
312
+ AgentAliasHistoryEvent.add_member(:end_date, Shapes::ShapeRef.new(shape: DateTimestamp, location_name: "endDate"))
313
+ AgentAliasHistoryEvent.add_member(:start_date, Shapes::ShapeRef.new(shape: DateTimestamp, location_name: "startDate"))
314
+ AgentAliasHistoryEvent.struct_class = Types::AgentAliasHistoryEvent
315
+
316
+ AgentAliasHistoryEvents.member = Shapes::ShapeRef.new(shape: AgentAliasHistoryEvent)
317
+
318
+ AgentAliasRoutingConfiguration.member = Shapes::ShapeRef.new(shape: AgentAliasRoutingConfigurationListItem)
319
+
320
+ AgentAliasRoutingConfigurationListItem.add_member(:agent_version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "agentVersion"))
321
+ AgentAliasRoutingConfigurationListItem.struct_class = Types::AgentAliasRoutingConfigurationListItem
322
+
323
+ AgentAliasSummaries.member = Shapes::ShapeRef.new(shape: AgentAliasSummary)
324
+
325
+ AgentAliasSummary.add_member(:agent_alias_id, Shapes::ShapeRef.new(shape: AgentAliasId, required: true, location_name: "agentAliasId"))
326
+ AgentAliasSummary.add_member(:agent_alias_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "agentAliasName"))
327
+ AgentAliasSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
328
+ AgentAliasSummary.add_member(:routing_configuration, Shapes::ShapeRef.new(shape: AgentAliasRoutingConfiguration, location_name: "routingConfiguration"))
329
+ AgentAliasSummary.add_member(:agent_alias_status, Shapes::ShapeRef.new(shape: AgentAliasStatus, required: true, location_name: "agentAliasStatus"))
330
+ AgentAliasSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
331
+ AgentAliasSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "updatedAt"))
332
+ AgentAliasSummary.struct_class = Types::AgentAliasSummary
333
+
334
+ AgentKnowledgeBase.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "agentId"))
335
+ AgentKnowledgeBase.add_member(:agent_version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "agentVersion"))
336
+ AgentKnowledgeBase.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "knowledgeBaseId"))
337
+ AgentKnowledgeBase.add_member(:description, Shapes::ShapeRef.new(shape: Description, required: true, location_name: "description"))
338
+ AgentKnowledgeBase.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
339
+ AgentKnowledgeBase.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "updatedAt"))
340
+ AgentKnowledgeBase.add_member(:knowledge_base_state, Shapes::ShapeRef.new(shape: KnowledgeBaseState, required: true, location_name: "knowledgeBaseState"))
341
+ AgentKnowledgeBase.struct_class = Types::AgentKnowledgeBase
342
+
343
+ AgentKnowledgeBaseSummaries.member = Shapes::ShapeRef.new(shape: AgentKnowledgeBaseSummary)
344
+
345
+ AgentKnowledgeBaseSummary.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "knowledgeBaseId"))
346
+ AgentKnowledgeBaseSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
347
+ AgentKnowledgeBaseSummary.add_member(:knowledge_base_state, Shapes::ShapeRef.new(shape: KnowledgeBaseState, required: true, location_name: "knowledgeBaseState"))
348
+ AgentKnowledgeBaseSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "updatedAt"))
349
+ AgentKnowledgeBaseSummary.struct_class = Types::AgentKnowledgeBaseSummary
350
+
351
+ AgentSummaries.member = Shapes::ShapeRef.new(shape: AgentSummary)
352
+
353
+ AgentSummary.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "agentId"))
354
+ AgentSummary.add_member(:agent_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "agentName"))
355
+ AgentSummary.add_member(:agent_status, Shapes::ShapeRef.new(shape: AgentStatus, required: true, location_name: "agentStatus"))
356
+ AgentSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
357
+ AgentSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "updatedAt"))
358
+ AgentSummary.add_member(:latest_agent_version, Shapes::ShapeRef.new(shape: Version, location_name: "latestAgentVersion"))
359
+ AgentSummary.struct_class = Types::AgentSummary
360
+
361
+ AgentVersion.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "agentId"))
362
+ AgentVersion.add_member(:agent_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "agentName"))
363
+ AgentVersion.add_member(:agent_arn, Shapes::ShapeRef.new(shape: AgentArn, required: true, location_name: "agentArn"))
364
+ AgentVersion.add_member(:version, Shapes::ShapeRef.new(shape: NumericalVersion, required: true, location_name: "version"))
365
+ AgentVersion.add_member(:instruction, Shapes::ShapeRef.new(shape: Instruction, location_name: "instruction"))
366
+ AgentVersion.add_member(:agent_status, Shapes::ShapeRef.new(shape: AgentStatus, required: true, location_name: "agentStatus"))
367
+ AgentVersion.add_member(:foundation_model, Shapes::ShapeRef.new(shape: ModelIdentifier, location_name: "foundationModel"))
368
+ AgentVersion.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
369
+ AgentVersion.add_member(:idle_session_ttl_in_seconds, Shapes::ShapeRef.new(shape: SessionTTL, required: true, location_name: "idleSessionTTLInSeconds"))
370
+ AgentVersion.add_member(:agent_resource_role_arn, Shapes::ShapeRef.new(shape: AgentRoleArn, required: true, location_name: "agentResourceRoleArn"))
371
+ AgentVersion.add_member(:customer_encryption_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "customerEncryptionKeyArn"))
372
+ AgentVersion.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
373
+ AgentVersion.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "updatedAt"))
374
+ AgentVersion.add_member(:failure_reasons, Shapes::ShapeRef.new(shape: FailureReasons, location_name: "failureReasons"))
375
+ AgentVersion.add_member(:recommended_actions, Shapes::ShapeRef.new(shape: RecommendedActions, location_name: "recommendedActions"))
376
+ AgentVersion.add_member(:prompt_override_configuration, Shapes::ShapeRef.new(shape: PromptOverrideConfiguration, location_name: "promptOverrideConfiguration"))
377
+ AgentVersion.struct_class = Types::AgentVersion
378
+
379
+ AgentVersionSummaries.member = Shapes::ShapeRef.new(shape: AgentVersionSummary)
380
+
381
+ AgentVersionSummary.add_member(:agent_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "agentName"))
382
+ AgentVersionSummary.add_member(:agent_status, Shapes::ShapeRef.new(shape: AgentStatus, required: true, location_name: "agentStatus"))
383
+ AgentVersionSummary.add_member(:agent_version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "agentVersion"))
384
+ AgentVersionSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
385
+ AgentVersionSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "updatedAt"))
386
+ AgentVersionSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
387
+ AgentVersionSummary.struct_class = Types::AgentVersionSummary
388
+
389
+ AssociateAgentKnowledgeBaseRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
390
+ AssociateAgentKnowledgeBaseRequest.add_member(:agent_version, Shapes::ShapeRef.new(shape: DraftVersion, required: true, location: "uri", location_name: "agentVersion"))
391
+ AssociateAgentKnowledgeBaseRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "knowledgeBaseId"))
392
+ AssociateAgentKnowledgeBaseRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, required: true, location_name: "description"))
393
+ AssociateAgentKnowledgeBaseRequest.add_member(:knowledge_base_state, Shapes::ShapeRef.new(shape: KnowledgeBaseState, location_name: "knowledgeBaseState"))
394
+ AssociateAgentKnowledgeBaseRequest.struct_class = Types::AssociateAgentKnowledgeBaseRequest
395
+
396
+ AssociateAgentKnowledgeBaseResponse.add_member(:agent_knowledge_base, Shapes::ShapeRef.new(shape: AgentKnowledgeBase, required: true, location_name: "agentKnowledgeBase"))
397
+ AssociateAgentKnowledgeBaseResponse.struct_class = Types::AssociateAgentKnowledgeBaseResponse
398
+
399
+ ChunkingConfiguration.add_member(:chunking_strategy, Shapes::ShapeRef.new(shape: ChunkingStrategy, required: true, location_name: "chunkingStrategy"))
400
+ ChunkingConfiguration.add_member(:fixed_size_chunking_configuration, Shapes::ShapeRef.new(shape: FixedSizeChunkingConfiguration, location_name: "fixedSizeChunkingConfiguration"))
401
+ ChunkingConfiguration.struct_class = Types::ChunkingConfiguration
402
+
403
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
404
+ ConflictException.struct_class = Types::ConflictException
405
+
406
+ CreateAgentActionGroupRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
407
+ CreateAgentActionGroupRequest.add_member(:agent_version, Shapes::ShapeRef.new(shape: DraftVersion, required: true, location: "uri", location_name: "agentVersion"))
408
+ CreateAgentActionGroupRequest.add_member(:action_group_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "actionGroupName"))
409
+ CreateAgentActionGroupRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
410
+ CreateAgentActionGroupRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
411
+ CreateAgentActionGroupRequest.add_member(:parent_action_group_signature, Shapes::ShapeRef.new(shape: ActionGroupSignature, location_name: "parentActionGroupSignature"))
412
+ CreateAgentActionGroupRequest.add_member(:action_group_executor, Shapes::ShapeRef.new(shape: ActionGroupExecutor, location_name: "actionGroupExecutor"))
413
+ CreateAgentActionGroupRequest.add_member(:api_schema, Shapes::ShapeRef.new(shape: APISchema, location_name: "apiSchema"))
414
+ CreateAgentActionGroupRequest.add_member(:action_group_state, Shapes::ShapeRef.new(shape: ActionGroupState, location_name: "actionGroupState"))
415
+ CreateAgentActionGroupRequest.struct_class = Types::CreateAgentActionGroupRequest
416
+
417
+ CreateAgentActionGroupResponse.add_member(:agent_action_group, Shapes::ShapeRef.new(shape: AgentActionGroup, required: true, location_name: "agentActionGroup"))
418
+ CreateAgentActionGroupResponse.struct_class = Types::CreateAgentActionGroupResponse
419
+
420
+ CreateAgentAliasRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
421
+ CreateAgentAliasRequest.add_member(:agent_alias_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "agentAliasName"))
422
+ CreateAgentAliasRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
423
+ CreateAgentAliasRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
424
+ CreateAgentAliasRequest.add_member(:routing_configuration, Shapes::ShapeRef.new(shape: AgentAliasRoutingConfiguration, location_name: "routingConfiguration"))
425
+ CreateAgentAliasRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
426
+ CreateAgentAliasRequest.struct_class = Types::CreateAgentAliasRequest
427
+
428
+ CreateAgentAliasResponse.add_member(:agent_alias, Shapes::ShapeRef.new(shape: AgentAlias, required: true, location_name: "agentAlias"))
429
+ CreateAgentAliasResponse.struct_class = Types::CreateAgentAliasResponse
430
+
431
+ CreateAgentRequest.add_member(:agent_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "agentName"))
432
+ CreateAgentRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
433
+ CreateAgentRequest.add_member(:instruction, Shapes::ShapeRef.new(shape: Instruction, location_name: "instruction"))
434
+ CreateAgentRequest.add_member(:foundation_model, Shapes::ShapeRef.new(shape: ModelIdentifier, location_name: "foundationModel"))
435
+ CreateAgentRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
436
+ CreateAgentRequest.add_member(:idle_session_ttl_in_seconds, Shapes::ShapeRef.new(shape: SessionTTL, location_name: "idleSessionTTLInSeconds"))
437
+ CreateAgentRequest.add_member(:agent_resource_role_arn, Shapes::ShapeRef.new(shape: AgentRoleArn, required: true, location_name: "agentResourceRoleArn"))
438
+ CreateAgentRequest.add_member(:customer_encryption_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "customerEncryptionKeyArn"))
439
+ CreateAgentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
440
+ CreateAgentRequest.add_member(:prompt_override_configuration, Shapes::ShapeRef.new(shape: PromptOverrideConfiguration, location_name: "promptOverrideConfiguration"))
441
+ CreateAgentRequest.struct_class = Types::CreateAgentRequest
442
+
443
+ CreateAgentResponse.add_member(:agent, Shapes::ShapeRef.new(shape: Agent, required: true, location_name: "agent"))
444
+ CreateAgentResponse.struct_class = Types::CreateAgentResponse
445
+
446
+ CreateDataSourceRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "knowledgeBaseId"))
447
+ CreateDataSourceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
448
+ CreateDataSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
449
+ CreateDataSourceRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
450
+ CreateDataSourceRequest.add_member(:data_source_configuration, Shapes::ShapeRef.new(shape: DataSourceConfiguration, required: true, location_name: "dataSourceConfiguration"))
451
+ CreateDataSourceRequest.add_member(:server_side_encryption_configuration, Shapes::ShapeRef.new(shape: ServerSideEncryptionConfiguration, location_name: "serverSideEncryptionConfiguration"))
452
+ CreateDataSourceRequest.add_member(:vector_ingestion_configuration, Shapes::ShapeRef.new(shape: VectorIngestionConfiguration, location_name: "vectorIngestionConfiguration"))
453
+ CreateDataSourceRequest.struct_class = Types::CreateDataSourceRequest
454
+
455
+ CreateDataSourceResponse.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, required: true, location_name: "dataSource"))
456
+ CreateDataSourceResponse.struct_class = Types::CreateDataSourceResponse
457
+
458
+ CreateKnowledgeBaseRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
459
+ CreateKnowledgeBaseRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
460
+ CreateKnowledgeBaseRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
461
+ CreateKnowledgeBaseRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: KnowledgeBaseRoleArn, required: true, location_name: "roleArn"))
462
+ CreateKnowledgeBaseRequest.add_member(:knowledge_base_configuration, Shapes::ShapeRef.new(shape: KnowledgeBaseConfiguration, required: true, location_name: "knowledgeBaseConfiguration"))
463
+ CreateKnowledgeBaseRequest.add_member(:storage_configuration, Shapes::ShapeRef.new(shape: StorageConfiguration, required: true, location_name: "storageConfiguration"))
464
+ CreateKnowledgeBaseRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
465
+ CreateKnowledgeBaseRequest.struct_class = Types::CreateKnowledgeBaseRequest
466
+
467
+ CreateKnowledgeBaseResponse.add_member(:knowledge_base, Shapes::ShapeRef.new(shape: KnowledgeBase, required: true, location_name: "knowledgeBase"))
468
+ CreateKnowledgeBaseResponse.struct_class = Types::CreateKnowledgeBaseResponse
469
+
470
+ DataSource.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "knowledgeBaseId"))
471
+ DataSource.add_member(:data_source_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "dataSourceId"))
472
+ DataSource.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
473
+ DataSource.add_member(:status, Shapes::ShapeRef.new(shape: DataSourceStatus, required: true, location_name: "status"))
474
+ DataSource.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
475
+ DataSource.add_member(:data_source_configuration, Shapes::ShapeRef.new(shape: DataSourceConfiguration, required: true, location_name: "dataSourceConfiguration"))
476
+ DataSource.add_member(:server_side_encryption_configuration, Shapes::ShapeRef.new(shape: ServerSideEncryptionConfiguration, location_name: "serverSideEncryptionConfiguration"))
477
+ DataSource.add_member(:vector_ingestion_configuration, Shapes::ShapeRef.new(shape: VectorIngestionConfiguration, location_name: "vectorIngestionConfiguration"))
478
+ DataSource.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
479
+ DataSource.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "updatedAt"))
480
+ DataSource.struct_class = Types::DataSource
481
+
482
+ DataSourceConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: DataSourceType, required: true, location_name: "type"))
483
+ DataSourceConfiguration.add_member(:s3_configuration, Shapes::ShapeRef.new(shape: S3DataSourceConfiguration, location_name: "s3Configuration"))
484
+ DataSourceConfiguration.struct_class = Types::DataSourceConfiguration
485
+
486
+ DataSourceSummaries.member = Shapes::ShapeRef.new(shape: DataSourceSummary)
487
+
488
+ DataSourceSummary.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "knowledgeBaseId"))
489
+ DataSourceSummary.add_member(:data_source_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "dataSourceId"))
490
+ DataSourceSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
491
+ DataSourceSummary.add_member(:status, Shapes::ShapeRef.new(shape: DataSourceStatus, required: true, location_name: "status"))
492
+ DataSourceSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
493
+ DataSourceSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "updatedAt"))
494
+ DataSourceSummary.struct_class = Types::DataSourceSummary
495
+
496
+ DeleteAgentActionGroupRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
497
+ DeleteAgentActionGroupRequest.add_member(:agent_version, Shapes::ShapeRef.new(shape: DraftVersion, required: true, location: "uri", location_name: "agentVersion"))
498
+ DeleteAgentActionGroupRequest.add_member(:action_group_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "actionGroupId"))
499
+ DeleteAgentActionGroupRequest.add_member(:skip_resource_in_use_check, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "skipResourceInUseCheck"))
500
+ DeleteAgentActionGroupRequest.struct_class = Types::DeleteAgentActionGroupRequest
501
+
502
+ DeleteAgentActionGroupResponse.struct_class = Types::DeleteAgentActionGroupResponse
503
+
504
+ DeleteAgentAliasRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
505
+ DeleteAgentAliasRequest.add_member(:agent_alias_id, Shapes::ShapeRef.new(shape: AgentAliasId, required: true, location: "uri", location_name: "agentAliasId"))
506
+ DeleteAgentAliasRequest.struct_class = Types::DeleteAgentAliasRequest
507
+
508
+ DeleteAgentAliasResponse.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "agentId"))
509
+ DeleteAgentAliasResponse.add_member(:agent_alias_id, Shapes::ShapeRef.new(shape: AgentAliasId, required: true, location_name: "agentAliasId"))
510
+ DeleteAgentAliasResponse.add_member(:agent_alias_status, Shapes::ShapeRef.new(shape: AgentAliasStatus, required: true, location_name: "agentAliasStatus"))
511
+ DeleteAgentAliasResponse.struct_class = Types::DeleteAgentAliasResponse
512
+
513
+ DeleteAgentRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
514
+ DeleteAgentRequest.add_member(:skip_resource_in_use_check, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "skipResourceInUseCheck"))
515
+ DeleteAgentRequest.struct_class = Types::DeleteAgentRequest
516
+
517
+ DeleteAgentResponse.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "agentId"))
518
+ DeleteAgentResponse.add_member(:agent_status, Shapes::ShapeRef.new(shape: AgentStatus, required: true, location_name: "agentStatus"))
519
+ DeleteAgentResponse.struct_class = Types::DeleteAgentResponse
520
+
521
+ DeleteAgentVersionRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
522
+ DeleteAgentVersionRequest.add_member(:agent_version, Shapes::ShapeRef.new(shape: NumericalVersion, required: true, location: "uri", location_name: "agentVersion"))
523
+ DeleteAgentVersionRequest.add_member(:skip_resource_in_use_check, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "skipResourceInUseCheck"))
524
+ DeleteAgentVersionRequest.struct_class = Types::DeleteAgentVersionRequest
525
+
526
+ DeleteAgentVersionResponse.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "agentId"))
527
+ DeleteAgentVersionResponse.add_member(:agent_version, Shapes::ShapeRef.new(shape: NumericalVersion, required: true, location_name: "agentVersion"))
528
+ DeleteAgentVersionResponse.add_member(:agent_status, Shapes::ShapeRef.new(shape: AgentStatus, required: true, location_name: "agentStatus"))
529
+ DeleteAgentVersionResponse.struct_class = Types::DeleteAgentVersionResponse
530
+
531
+ DeleteDataSourceRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "knowledgeBaseId"))
532
+ DeleteDataSourceRequest.add_member(:data_source_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "dataSourceId"))
533
+ DeleteDataSourceRequest.struct_class = Types::DeleteDataSourceRequest
534
+
535
+ DeleteDataSourceResponse.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "knowledgeBaseId"))
536
+ DeleteDataSourceResponse.add_member(:data_source_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "dataSourceId"))
537
+ DeleteDataSourceResponse.add_member(:status, Shapes::ShapeRef.new(shape: DataSourceStatus, required: true, location_name: "status"))
538
+ DeleteDataSourceResponse.struct_class = Types::DeleteDataSourceResponse
539
+
540
+ DeleteKnowledgeBaseRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "knowledgeBaseId"))
541
+ DeleteKnowledgeBaseRequest.struct_class = Types::DeleteKnowledgeBaseRequest
542
+
543
+ DeleteKnowledgeBaseResponse.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "knowledgeBaseId"))
544
+ DeleteKnowledgeBaseResponse.add_member(:status, Shapes::ShapeRef.new(shape: KnowledgeBaseStatus, required: true, location_name: "status"))
545
+ DeleteKnowledgeBaseResponse.struct_class = Types::DeleteKnowledgeBaseResponse
546
+
547
+ DisassociateAgentKnowledgeBaseRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
548
+ DisassociateAgentKnowledgeBaseRequest.add_member(:agent_version, Shapes::ShapeRef.new(shape: DraftVersion, required: true, location: "uri", location_name: "agentVersion"))
549
+ DisassociateAgentKnowledgeBaseRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "knowledgeBaseId"))
550
+ DisassociateAgentKnowledgeBaseRequest.struct_class = Types::DisassociateAgentKnowledgeBaseRequest
551
+
552
+ DisassociateAgentKnowledgeBaseResponse.struct_class = Types::DisassociateAgentKnowledgeBaseResponse
553
+
554
+ FailureReasons.member = Shapes::ShapeRef.new(shape: FailureReason)
555
+
556
+ FixedSizeChunkingConfiguration.add_member(:max_tokens, Shapes::ShapeRef.new(shape: FixedSizeChunkingConfigurationMaxTokensInteger, required: true, location_name: "maxTokens"))
557
+ FixedSizeChunkingConfiguration.add_member(:overlap_percentage, Shapes::ShapeRef.new(shape: FixedSizeChunkingConfigurationOverlapPercentageInteger, required: true, location_name: "overlapPercentage"))
558
+ FixedSizeChunkingConfiguration.struct_class = Types::FixedSizeChunkingConfiguration
559
+
560
+ GetAgentActionGroupRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
561
+ GetAgentActionGroupRequest.add_member(:agent_version, Shapes::ShapeRef.new(shape: Version, required: true, location: "uri", location_name: "agentVersion"))
562
+ GetAgentActionGroupRequest.add_member(:action_group_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "actionGroupId"))
563
+ GetAgentActionGroupRequest.struct_class = Types::GetAgentActionGroupRequest
564
+
565
+ GetAgentActionGroupResponse.add_member(:agent_action_group, Shapes::ShapeRef.new(shape: AgentActionGroup, required: true, location_name: "agentActionGroup"))
566
+ GetAgentActionGroupResponse.struct_class = Types::GetAgentActionGroupResponse
567
+
568
+ GetAgentAliasRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
569
+ GetAgentAliasRequest.add_member(:agent_alias_id, Shapes::ShapeRef.new(shape: AgentAliasId, required: true, location: "uri", location_name: "agentAliasId"))
570
+ GetAgentAliasRequest.struct_class = Types::GetAgentAliasRequest
571
+
572
+ GetAgentAliasResponse.add_member(:agent_alias, Shapes::ShapeRef.new(shape: AgentAlias, required: true, location_name: "agentAlias"))
573
+ GetAgentAliasResponse.struct_class = Types::GetAgentAliasResponse
574
+
575
+ GetAgentKnowledgeBaseRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
576
+ GetAgentKnowledgeBaseRequest.add_member(:agent_version, Shapes::ShapeRef.new(shape: Version, required: true, location: "uri", location_name: "agentVersion"))
577
+ GetAgentKnowledgeBaseRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "knowledgeBaseId"))
578
+ GetAgentKnowledgeBaseRequest.struct_class = Types::GetAgentKnowledgeBaseRequest
579
+
580
+ GetAgentKnowledgeBaseResponse.add_member(:agent_knowledge_base, Shapes::ShapeRef.new(shape: AgentKnowledgeBase, required: true, location_name: "agentKnowledgeBase"))
581
+ GetAgentKnowledgeBaseResponse.struct_class = Types::GetAgentKnowledgeBaseResponse
582
+
583
+ GetAgentRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
584
+ GetAgentRequest.struct_class = Types::GetAgentRequest
585
+
586
+ GetAgentResponse.add_member(:agent, Shapes::ShapeRef.new(shape: Agent, required: true, location_name: "agent"))
587
+ GetAgentResponse.struct_class = Types::GetAgentResponse
588
+
589
+ GetAgentVersionRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
590
+ GetAgentVersionRequest.add_member(:agent_version, Shapes::ShapeRef.new(shape: NumericalVersion, required: true, location: "uri", location_name: "agentVersion"))
591
+ GetAgentVersionRequest.struct_class = Types::GetAgentVersionRequest
592
+
593
+ GetAgentVersionResponse.add_member(:agent_version, Shapes::ShapeRef.new(shape: AgentVersion, required: true, location_name: "agentVersion"))
594
+ GetAgentVersionResponse.struct_class = Types::GetAgentVersionResponse
595
+
596
+ GetDataSourceRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "knowledgeBaseId"))
597
+ GetDataSourceRequest.add_member(:data_source_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "dataSourceId"))
598
+ GetDataSourceRequest.struct_class = Types::GetDataSourceRequest
599
+
600
+ GetDataSourceResponse.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, required: true, location_name: "dataSource"))
601
+ GetDataSourceResponse.struct_class = Types::GetDataSourceResponse
602
+
603
+ GetIngestionJobRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "knowledgeBaseId"))
604
+ GetIngestionJobRequest.add_member(:data_source_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "dataSourceId"))
605
+ GetIngestionJobRequest.add_member(:ingestion_job_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "ingestionJobId"))
606
+ GetIngestionJobRequest.struct_class = Types::GetIngestionJobRequest
607
+
608
+ GetIngestionJobResponse.add_member(:ingestion_job, Shapes::ShapeRef.new(shape: IngestionJob, required: true, location_name: "ingestionJob"))
609
+ GetIngestionJobResponse.struct_class = Types::GetIngestionJobResponse
610
+
611
+ GetKnowledgeBaseRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "knowledgeBaseId"))
612
+ GetKnowledgeBaseRequest.struct_class = Types::GetKnowledgeBaseRequest
613
+
614
+ GetKnowledgeBaseResponse.add_member(:knowledge_base, Shapes::ShapeRef.new(shape: KnowledgeBase, required: true, location_name: "knowledgeBase"))
615
+ GetKnowledgeBaseResponse.struct_class = Types::GetKnowledgeBaseResponse
616
+
617
+ InferenceConfiguration.add_member(:temperature, Shapes::ShapeRef.new(shape: Temperature, location_name: "temperature"))
618
+ InferenceConfiguration.add_member(:top_p, Shapes::ShapeRef.new(shape: TopP, location_name: "topP"))
619
+ InferenceConfiguration.add_member(:top_k, Shapes::ShapeRef.new(shape: TopK, location_name: "topK"))
620
+ InferenceConfiguration.add_member(:maximum_length, Shapes::ShapeRef.new(shape: MaximumLength, location_name: "maximumLength"))
621
+ InferenceConfiguration.add_member(:stop_sequences, Shapes::ShapeRef.new(shape: StopSequences, location_name: "stopSequences"))
622
+ InferenceConfiguration.struct_class = Types::InferenceConfiguration
623
+
624
+ IngestionJob.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "knowledgeBaseId"))
625
+ IngestionJob.add_member(:data_source_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "dataSourceId"))
626
+ IngestionJob.add_member(:ingestion_job_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "ingestionJobId"))
627
+ IngestionJob.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
628
+ IngestionJob.add_member(:status, Shapes::ShapeRef.new(shape: IngestionJobStatus, required: true, location_name: "status"))
629
+ IngestionJob.add_member(:statistics, Shapes::ShapeRef.new(shape: IngestionJobStatistics, location_name: "statistics"))
630
+ IngestionJob.add_member(:failure_reasons, Shapes::ShapeRef.new(shape: FailureReasons, location_name: "failureReasons"))
631
+ IngestionJob.add_member(:started_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "startedAt"))
632
+ IngestionJob.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "updatedAt"))
633
+ IngestionJob.struct_class = Types::IngestionJob
634
+
635
+ IngestionJobFilter.add_member(:attribute, Shapes::ShapeRef.new(shape: IngestionJobFilterAttribute, required: true, location_name: "attribute"))
636
+ IngestionJobFilter.add_member(:operator, Shapes::ShapeRef.new(shape: IngestionJobFilterOperator, required: true, location_name: "operator"))
637
+ IngestionJobFilter.add_member(:values, Shapes::ShapeRef.new(shape: IngestionJobFilterValues, required: true, location_name: "values"))
638
+ IngestionJobFilter.struct_class = Types::IngestionJobFilter
639
+
640
+ IngestionJobFilterValues.member = Shapes::ShapeRef.new(shape: IngestionJobFilterValue)
641
+
642
+ IngestionJobFilters.member = Shapes::ShapeRef.new(shape: IngestionJobFilter)
643
+
644
+ IngestionJobSortBy.add_member(:attribute, Shapes::ShapeRef.new(shape: IngestionJobSortByAttribute, required: true, location_name: "attribute"))
645
+ IngestionJobSortBy.add_member(:order, Shapes::ShapeRef.new(shape: SortOrder, required: true, location_name: "order"))
646
+ IngestionJobSortBy.struct_class = Types::IngestionJobSortBy
647
+
648
+ IngestionJobStatistics.add_member(:number_of_documents_scanned, Shapes::ShapeRef.new(shape: PrimitiveLong, location_name: "numberOfDocumentsScanned"))
649
+ IngestionJobStatistics.add_member(:number_of_new_documents_indexed, Shapes::ShapeRef.new(shape: PrimitiveLong, location_name: "numberOfNewDocumentsIndexed"))
650
+ IngestionJobStatistics.add_member(:number_of_modified_documents_indexed, Shapes::ShapeRef.new(shape: PrimitiveLong, location_name: "numberOfModifiedDocumentsIndexed"))
651
+ IngestionJobStatistics.add_member(:number_of_documents_deleted, Shapes::ShapeRef.new(shape: PrimitiveLong, location_name: "numberOfDocumentsDeleted"))
652
+ IngestionJobStatistics.add_member(:number_of_documents_failed, Shapes::ShapeRef.new(shape: PrimitiveLong, location_name: "numberOfDocumentsFailed"))
653
+ IngestionJobStatistics.struct_class = Types::IngestionJobStatistics
654
+
655
+ IngestionJobSummaries.member = Shapes::ShapeRef.new(shape: IngestionJobSummary)
656
+
657
+ IngestionJobSummary.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "knowledgeBaseId"))
658
+ IngestionJobSummary.add_member(:data_source_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "dataSourceId"))
659
+ IngestionJobSummary.add_member(:ingestion_job_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "ingestionJobId"))
660
+ IngestionJobSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
661
+ IngestionJobSummary.add_member(:status, Shapes::ShapeRef.new(shape: IngestionJobStatus, required: true, location_name: "status"))
662
+ IngestionJobSummary.add_member(:started_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "startedAt"))
663
+ IngestionJobSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "updatedAt"))
664
+ IngestionJobSummary.add_member(:statistics, Shapes::ShapeRef.new(shape: IngestionJobStatistics, location_name: "statistics"))
665
+ IngestionJobSummary.struct_class = Types::IngestionJobSummary
666
+
667
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
668
+ InternalServerException.struct_class = Types::InternalServerException
669
+
670
+ KnowledgeBase.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "knowledgeBaseId"))
671
+ KnowledgeBase.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
672
+ KnowledgeBase.add_member(:knowledge_base_arn, Shapes::ShapeRef.new(shape: KnowledgeBaseArn, required: true, location_name: "knowledgeBaseArn"))
673
+ KnowledgeBase.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
674
+ KnowledgeBase.add_member(:role_arn, Shapes::ShapeRef.new(shape: KnowledgeBaseRoleArn, required: true, location_name: "roleArn"))
675
+ KnowledgeBase.add_member(:knowledge_base_configuration, Shapes::ShapeRef.new(shape: KnowledgeBaseConfiguration, required: true, location_name: "knowledgeBaseConfiguration"))
676
+ KnowledgeBase.add_member(:storage_configuration, Shapes::ShapeRef.new(shape: StorageConfiguration, required: true, location_name: "storageConfiguration"))
677
+ KnowledgeBase.add_member(:status, Shapes::ShapeRef.new(shape: KnowledgeBaseStatus, required: true, location_name: "status"))
678
+ KnowledgeBase.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
679
+ KnowledgeBase.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "updatedAt"))
680
+ KnowledgeBase.add_member(:failure_reasons, Shapes::ShapeRef.new(shape: FailureReasons, location_name: "failureReasons"))
681
+ KnowledgeBase.struct_class = Types::KnowledgeBase
682
+
683
+ KnowledgeBaseConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: KnowledgeBaseType, required: true, location_name: "type"))
684
+ KnowledgeBaseConfiguration.add_member(:vector_knowledge_base_configuration, Shapes::ShapeRef.new(shape: VectorKnowledgeBaseConfiguration, location_name: "vectorKnowledgeBaseConfiguration"))
685
+ KnowledgeBaseConfiguration.struct_class = Types::KnowledgeBaseConfiguration
686
+
687
+ KnowledgeBaseSummaries.member = Shapes::ShapeRef.new(shape: KnowledgeBaseSummary)
688
+
689
+ KnowledgeBaseSummary.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "knowledgeBaseId"))
690
+ KnowledgeBaseSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
691
+ KnowledgeBaseSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
692
+ KnowledgeBaseSummary.add_member(:status, Shapes::ShapeRef.new(shape: KnowledgeBaseStatus, required: true, location_name: "status"))
693
+ KnowledgeBaseSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "updatedAt"))
694
+ KnowledgeBaseSummary.struct_class = Types::KnowledgeBaseSummary
695
+
696
+ ListAgentActionGroupsRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
697
+ ListAgentActionGroupsRequest.add_member(:agent_version, Shapes::ShapeRef.new(shape: Version, required: true, location: "uri", location_name: "agentVersion"))
698
+ ListAgentActionGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
699
+ ListAgentActionGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
700
+ ListAgentActionGroupsRequest.struct_class = Types::ListAgentActionGroupsRequest
701
+
702
+ ListAgentActionGroupsResponse.add_member(:action_group_summaries, Shapes::ShapeRef.new(shape: ActionGroupSummaries, required: true, location_name: "actionGroupSummaries"))
703
+ ListAgentActionGroupsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
704
+ ListAgentActionGroupsResponse.struct_class = Types::ListAgentActionGroupsResponse
705
+
706
+ ListAgentAliasesRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
707
+ ListAgentAliasesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
708
+ ListAgentAliasesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
709
+ ListAgentAliasesRequest.struct_class = Types::ListAgentAliasesRequest
710
+
711
+ ListAgentAliasesResponse.add_member(:agent_alias_summaries, Shapes::ShapeRef.new(shape: AgentAliasSummaries, required: true, location_name: "agentAliasSummaries"))
712
+ ListAgentAliasesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
713
+ ListAgentAliasesResponse.struct_class = Types::ListAgentAliasesResponse
714
+
715
+ ListAgentKnowledgeBasesRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
716
+ ListAgentKnowledgeBasesRequest.add_member(:agent_version, Shapes::ShapeRef.new(shape: Version, required: true, location: "uri", location_name: "agentVersion"))
717
+ ListAgentKnowledgeBasesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
718
+ ListAgentKnowledgeBasesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
719
+ ListAgentKnowledgeBasesRequest.struct_class = Types::ListAgentKnowledgeBasesRequest
720
+
721
+ ListAgentKnowledgeBasesResponse.add_member(:agent_knowledge_base_summaries, Shapes::ShapeRef.new(shape: AgentKnowledgeBaseSummaries, required: true, location_name: "agentKnowledgeBaseSummaries"))
722
+ ListAgentKnowledgeBasesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
723
+ ListAgentKnowledgeBasesResponse.struct_class = Types::ListAgentKnowledgeBasesResponse
724
+
725
+ ListAgentVersionsRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
726
+ ListAgentVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
727
+ ListAgentVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
728
+ ListAgentVersionsRequest.struct_class = Types::ListAgentVersionsRequest
729
+
730
+ ListAgentVersionsResponse.add_member(:agent_version_summaries, Shapes::ShapeRef.new(shape: AgentVersionSummaries, required: true, location_name: "agentVersionSummaries"))
731
+ ListAgentVersionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
732
+ ListAgentVersionsResponse.struct_class = Types::ListAgentVersionsResponse
733
+
734
+ ListAgentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
735
+ ListAgentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
736
+ ListAgentsRequest.struct_class = Types::ListAgentsRequest
737
+
738
+ ListAgentsResponse.add_member(:agent_summaries, Shapes::ShapeRef.new(shape: AgentSummaries, required: true, location_name: "agentSummaries"))
739
+ ListAgentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
740
+ ListAgentsResponse.struct_class = Types::ListAgentsResponse
741
+
742
+ ListDataSourcesRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "knowledgeBaseId"))
743
+ ListDataSourcesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
744
+ ListDataSourcesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
745
+ ListDataSourcesRequest.struct_class = Types::ListDataSourcesRequest
746
+
747
+ ListDataSourcesResponse.add_member(:data_source_summaries, Shapes::ShapeRef.new(shape: DataSourceSummaries, required: true, location_name: "dataSourceSummaries"))
748
+ ListDataSourcesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
749
+ ListDataSourcesResponse.struct_class = Types::ListDataSourcesResponse
750
+
751
+ ListIngestionJobsRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "knowledgeBaseId"))
752
+ ListIngestionJobsRequest.add_member(:data_source_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "dataSourceId"))
753
+ ListIngestionJobsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: IngestionJobFilters, location_name: "filters"))
754
+ ListIngestionJobsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: IngestionJobSortBy, location_name: "sortBy"))
755
+ ListIngestionJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
756
+ ListIngestionJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
757
+ ListIngestionJobsRequest.struct_class = Types::ListIngestionJobsRequest
758
+
759
+ ListIngestionJobsResponse.add_member(:ingestion_job_summaries, Shapes::ShapeRef.new(shape: IngestionJobSummaries, required: true, location_name: "ingestionJobSummaries"))
760
+ ListIngestionJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
761
+ ListIngestionJobsResponse.struct_class = Types::ListIngestionJobsResponse
762
+
763
+ ListKnowledgeBasesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
764
+ ListKnowledgeBasesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
765
+ ListKnowledgeBasesRequest.struct_class = Types::ListKnowledgeBasesRequest
766
+
767
+ ListKnowledgeBasesResponse.add_member(:knowledge_base_summaries, Shapes::ShapeRef.new(shape: KnowledgeBaseSummaries, required: true, location_name: "knowledgeBaseSummaries"))
768
+ ListKnowledgeBasesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
769
+ ListKnowledgeBasesResponse.struct_class = Types::ListKnowledgeBasesResponse
770
+
771
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TaggableResourcesArn, required: true, location: "uri", location_name: "resourceArn"))
772
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
773
+
774
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
775
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
776
+
777
+ OpenSearchServerlessConfiguration.add_member(:collection_arn, Shapes::ShapeRef.new(shape: OpenSearchServerlessCollectionArn, required: true, location_name: "collectionArn"))
778
+ OpenSearchServerlessConfiguration.add_member(:vector_index_name, Shapes::ShapeRef.new(shape: OpenSearchServerlessIndexName, required: true, location_name: "vectorIndexName"))
779
+ OpenSearchServerlessConfiguration.add_member(:field_mapping, Shapes::ShapeRef.new(shape: OpenSearchServerlessFieldMapping, required: true, location_name: "fieldMapping"))
780
+ OpenSearchServerlessConfiguration.struct_class = Types::OpenSearchServerlessConfiguration
781
+
782
+ OpenSearchServerlessFieldMapping.add_member(:vector_field, Shapes::ShapeRef.new(shape: FieldName, required: true, location_name: "vectorField"))
783
+ OpenSearchServerlessFieldMapping.add_member(:text_field, Shapes::ShapeRef.new(shape: FieldName, required: true, location_name: "textField"))
784
+ OpenSearchServerlessFieldMapping.add_member(:metadata_field, Shapes::ShapeRef.new(shape: FieldName, required: true, location_name: "metadataField"))
785
+ OpenSearchServerlessFieldMapping.struct_class = Types::OpenSearchServerlessFieldMapping
786
+
787
+ PineconeConfiguration.add_member(:connection_string, Shapes::ShapeRef.new(shape: PineconeConnectionString, required: true, location_name: "connectionString"))
788
+ PineconeConfiguration.add_member(:credentials_secret_arn, Shapes::ShapeRef.new(shape: SecretArn, required: true, location_name: "credentialsSecretArn"))
789
+ PineconeConfiguration.add_member(:namespace, Shapes::ShapeRef.new(shape: PineconeNamespace, location_name: "namespace"))
790
+ PineconeConfiguration.add_member(:field_mapping, Shapes::ShapeRef.new(shape: PineconeFieldMapping, required: true, location_name: "fieldMapping"))
791
+ PineconeConfiguration.struct_class = Types::PineconeConfiguration
792
+
793
+ PineconeFieldMapping.add_member(:text_field, Shapes::ShapeRef.new(shape: FieldName, required: true, location_name: "textField"))
794
+ PineconeFieldMapping.add_member(:metadata_field, Shapes::ShapeRef.new(shape: FieldName, required: true, location_name: "metadataField"))
795
+ PineconeFieldMapping.struct_class = Types::PineconeFieldMapping
796
+
797
+ PrepareAgentRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
798
+ PrepareAgentRequest.struct_class = Types::PrepareAgentRequest
799
+
800
+ PrepareAgentResponse.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "agentId"))
801
+ PrepareAgentResponse.add_member(:agent_status, Shapes::ShapeRef.new(shape: AgentStatus, required: true, location_name: "agentStatus"))
802
+ PrepareAgentResponse.add_member(:agent_version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "agentVersion"))
803
+ PrepareAgentResponse.add_member(:prepared_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "preparedAt"))
804
+ PrepareAgentResponse.struct_class = Types::PrepareAgentResponse
805
+
806
+ PromptConfiguration.add_member(:prompt_type, Shapes::ShapeRef.new(shape: PromptType, location_name: "promptType"))
807
+ PromptConfiguration.add_member(:prompt_creation_mode, Shapes::ShapeRef.new(shape: CreationMode, location_name: "promptCreationMode"))
808
+ PromptConfiguration.add_member(:prompt_state, Shapes::ShapeRef.new(shape: PromptState, location_name: "promptState"))
809
+ PromptConfiguration.add_member(:base_prompt_template, Shapes::ShapeRef.new(shape: BasePromptTemplate, location_name: "basePromptTemplate"))
810
+ PromptConfiguration.add_member(:inference_configuration, Shapes::ShapeRef.new(shape: InferenceConfiguration, location_name: "inferenceConfiguration"))
811
+ PromptConfiguration.add_member(:parser_mode, Shapes::ShapeRef.new(shape: CreationMode, location_name: "parserMode"))
812
+ PromptConfiguration.struct_class = Types::PromptConfiguration
813
+
814
+ PromptConfigurations.member = Shapes::ShapeRef.new(shape: PromptConfiguration)
815
+
816
+ PromptOverrideConfiguration.add_member(:prompt_configurations, Shapes::ShapeRef.new(shape: PromptConfigurations, required: true, location_name: "promptConfigurations"))
817
+ PromptOverrideConfiguration.add_member(:override_lambda, Shapes::ShapeRef.new(shape: LambdaArn, location_name: "overrideLambda"))
818
+ PromptOverrideConfiguration.struct_class = Types::PromptOverrideConfiguration
819
+
820
+ RecommendedActions.member = Shapes::ShapeRef.new(shape: RecommendedAction)
821
+
822
+ RedisEnterpriseCloudConfiguration.add_member(:endpoint, Shapes::ShapeRef.new(shape: RedisEnterpriseCloudEndpoint, required: true, location_name: "endpoint"))
823
+ RedisEnterpriseCloudConfiguration.add_member(:vector_index_name, Shapes::ShapeRef.new(shape: RedisEnterpriseCloudIndexName, required: true, location_name: "vectorIndexName"))
824
+ RedisEnterpriseCloudConfiguration.add_member(:credentials_secret_arn, Shapes::ShapeRef.new(shape: SecretArn, required: true, location_name: "credentialsSecretArn"))
825
+ RedisEnterpriseCloudConfiguration.add_member(:field_mapping, Shapes::ShapeRef.new(shape: RedisEnterpriseCloudFieldMapping, required: true, location_name: "fieldMapping"))
826
+ RedisEnterpriseCloudConfiguration.struct_class = Types::RedisEnterpriseCloudConfiguration
827
+
828
+ RedisEnterpriseCloudFieldMapping.add_member(:vector_field, Shapes::ShapeRef.new(shape: FieldName, required: true, location_name: "vectorField"))
829
+ RedisEnterpriseCloudFieldMapping.add_member(:text_field, Shapes::ShapeRef.new(shape: FieldName, required: true, location_name: "textField"))
830
+ RedisEnterpriseCloudFieldMapping.add_member(:metadata_field, Shapes::ShapeRef.new(shape: FieldName, required: true, location_name: "metadataField"))
831
+ RedisEnterpriseCloudFieldMapping.struct_class = Types::RedisEnterpriseCloudFieldMapping
832
+
833
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
834
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
835
+
836
+ S3DataSourceConfiguration.add_member(:bucket_arn, Shapes::ShapeRef.new(shape: S3BucketArn, required: true, location_name: "bucketArn"))
837
+ S3DataSourceConfiguration.add_member(:inclusion_prefixes, Shapes::ShapeRef.new(shape: S3Prefixes, location_name: "inclusionPrefixes"))
838
+ S3DataSourceConfiguration.struct_class = Types::S3DataSourceConfiguration
839
+
840
+ S3Identifier.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: S3BucketName, location_name: "s3BucketName"))
841
+ S3Identifier.add_member(:s3_object_key, Shapes::ShapeRef.new(shape: S3ObjectKey, location_name: "s3ObjectKey"))
842
+ S3Identifier.struct_class = Types::S3Identifier
843
+
844
+ S3Prefixes.member = Shapes::ShapeRef.new(shape: S3Prefix)
845
+
846
+ ServerSideEncryptionConfiguration.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
847
+ ServerSideEncryptionConfiguration.struct_class = Types::ServerSideEncryptionConfiguration
848
+
849
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
850
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
851
+
852
+ StartIngestionJobRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "knowledgeBaseId"))
853
+ StartIngestionJobRequest.add_member(:data_source_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "dataSourceId"))
854
+ StartIngestionJobRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
855
+ StartIngestionJobRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
856
+ StartIngestionJobRequest.struct_class = Types::StartIngestionJobRequest
857
+
858
+ StartIngestionJobResponse.add_member(:ingestion_job, Shapes::ShapeRef.new(shape: IngestionJob, required: true, location_name: "ingestionJob"))
859
+ StartIngestionJobResponse.struct_class = Types::StartIngestionJobResponse
860
+
861
+ StopSequences.member = Shapes::ShapeRef.new(shape: String)
862
+
863
+ StorageConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: KnowledgeBaseStorageType, required: true, location_name: "type"))
864
+ StorageConfiguration.add_member(:opensearch_serverless_configuration, Shapes::ShapeRef.new(shape: OpenSearchServerlessConfiguration, location_name: "opensearchServerlessConfiguration"))
865
+ StorageConfiguration.add_member(:pinecone_configuration, Shapes::ShapeRef.new(shape: PineconeConfiguration, location_name: "pineconeConfiguration"))
866
+ StorageConfiguration.add_member(:redis_enterprise_cloud_configuration, Shapes::ShapeRef.new(shape: RedisEnterpriseCloudConfiguration, location_name: "redisEnterpriseCloudConfiguration"))
867
+ StorageConfiguration.struct_class = Types::StorageConfiguration
868
+
869
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
870
+
871
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TaggableResourcesArn, required: true, location: "uri", location_name: "resourceArn"))
872
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, required: true, location_name: "tags"))
873
+ TagResourceRequest.struct_class = Types::TagResourceRequest
874
+
875
+ TagResourceResponse.struct_class = Types::TagResourceResponse
876
+
877
+ TagsMap.key = Shapes::ShapeRef.new(shape: TagKey)
878
+ TagsMap.value = Shapes::ShapeRef.new(shape: TagValue)
879
+
880
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
881
+ ThrottlingException.struct_class = Types::ThrottlingException
882
+
883
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TaggableResourcesArn, required: true, location: "uri", location_name: "resourceArn"))
884
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
885
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
886
+
887
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
888
+
889
+ UpdateAgentActionGroupRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
890
+ UpdateAgentActionGroupRequest.add_member(:agent_version, Shapes::ShapeRef.new(shape: DraftVersion, required: true, location: "uri", location_name: "agentVersion"))
891
+ UpdateAgentActionGroupRequest.add_member(:action_group_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "actionGroupId"))
892
+ UpdateAgentActionGroupRequest.add_member(:action_group_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "actionGroupName"))
893
+ UpdateAgentActionGroupRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
894
+ UpdateAgentActionGroupRequest.add_member(:parent_action_group_signature, Shapes::ShapeRef.new(shape: ActionGroupSignature, location_name: "parentActionGroupSignature"))
895
+ UpdateAgentActionGroupRequest.add_member(:action_group_executor, Shapes::ShapeRef.new(shape: ActionGroupExecutor, location_name: "actionGroupExecutor"))
896
+ UpdateAgentActionGroupRequest.add_member(:action_group_state, Shapes::ShapeRef.new(shape: ActionGroupState, location_name: "actionGroupState"))
897
+ UpdateAgentActionGroupRequest.add_member(:api_schema, Shapes::ShapeRef.new(shape: APISchema, location_name: "apiSchema"))
898
+ UpdateAgentActionGroupRequest.struct_class = Types::UpdateAgentActionGroupRequest
899
+
900
+ UpdateAgentActionGroupResponse.add_member(:agent_action_group, Shapes::ShapeRef.new(shape: AgentActionGroup, required: true, location_name: "agentActionGroup"))
901
+ UpdateAgentActionGroupResponse.struct_class = Types::UpdateAgentActionGroupResponse
902
+
903
+ UpdateAgentAliasRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
904
+ UpdateAgentAliasRequest.add_member(:agent_alias_id, Shapes::ShapeRef.new(shape: AgentAliasId, required: true, location: "uri", location_name: "agentAliasId"))
905
+ UpdateAgentAliasRequest.add_member(:agent_alias_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "agentAliasName"))
906
+ UpdateAgentAliasRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
907
+ UpdateAgentAliasRequest.add_member(:routing_configuration, Shapes::ShapeRef.new(shape: AgentAliasRoutingConfiguration, location_name: "routingConfiguration"))
908
+ UpdateAgentAliasRequest.struct_class = Types::UpdateAgentAliasRequest
909
+
910
+ UpdateAgentAliasResponse.add_member(:agent_alias, Shapes::ShapeRef.new(shape: AgentAlias, required: true, location_name: "agentAlias"))
911
+ UpdateAgentAliasResponse.struct_class = Types::UpdateAgentAliasResponse
912
+
913
+ UpdateAgentKnowledgeBaseRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
914
+ UpdateAgentKnowledgeBaseRequest.add_member(:agent_version, Shapes::ShapeRef.new(shape: DraftVersion, required: true, location: "uri", location_name: "agentVersion"))
915
+ UpdateAgentKnowledgeBaseRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "knowledgeBaseId"))
916
+ UpdateAgentKnowledgeBaseRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
917
+ UpdateAgentKnowledgeBaseRequest.add_member(:knowledge_base_state, Shapes::ShapeRef.new(shape: KnowledgeBaseState, location_name: "knowledgeBaseState"))
918
+ UpdateAgentKnowledgeBaseRequest.struct_class = Types::UpdateAgentKnowledgeBaseRequest
919
+
920
+ UpdateAgentKnowledgeBaseResponse.add_member(:agent_knowledge_base, Shapes::ShapeRef.new(shape: AgentKnowledgeBase, required: true, location_name: "agentKnowledgeBase"))
921
+ UpdateAgentKnowledgeBaseResponse.struct_class = Types::UpdateAgentKnowledgeBaseResponse
922
+
923
+ UpdateAgentRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
924
+ UpdateAgentRequest.add_member(:agent_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "agentName"))
925
+ UpdateAgentRequest.add_member(:instruction, Shapes::ShapeRef.new(shape: Instruction, location_name: "instruction"))
926
+ UpdateAgentRequest.add_member(:foundation_model, Shapes::ShapeRef.new(shape: ModelIdentifier, location_name: "foundationModel"))
927
+ UpdateAgentRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
928
+ UpdateAgentRequest.add_member(:idle_session_ttl_in_seconds, Shapes::ShapeRef.new(shape: SessionTTL, location_name: "idleSessionTTLInSeconds"))
929
+ UpdateAgentRequest.add_member(:agent_resource_role_arn, Shapes::ShapeRef.new(shape: AgentRoleArn, required: true, location_name: "agentResourceRoleArn"))
930
+ UpdateAgentRequest.add_member(:customer_encryption_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "customerEncryptionKeyArn"))
931
+ UpdateAgentRequest.add_member(:prompt_override_configuration, Shapes::ShapeRef.new(shape: PromptOverrideConfiguration, location_name: "promptOverrideConfiguration"))
932
+ UpdateAgentRequest.struct_class = Types::UpdateAgentRequest
933
+
934
+ UpdateAgentResponse.add_member(:agent, Shapes::ShapeRef.new(shape: Agent, required: true, location_name: "agent"))
935
+ UpdateAgentResponse.struct_class = Types::UpdateAgentResponse
936
+
937
+ UpdateDataSourceRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "knowledgeBaseId"))
938
+ UpdateDataSourceRequest.add_member(:data_source_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "dataSourceId"))
939
+ UpdateDataSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
940
+ UpdateDataSourceRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
941
+ UpdateDataSourceRequest.add_member(:data_source_configuration, Shapes::ShapeRef.new(shape: DataSourceConfiguration, required: true, location_name: "dataSourceConfiguration"))
942
+ UpdateDataSourceRequest.add_member(:server_side_encryption_configuration, Shapes::ShapeRef.new(shape: ServerSideEncryptionConfiguration, location_name: "serverSideEncryptionConfiguration"))
943
+ UpdateDataSourceRequest.add_member(:vector_ingestion_configuration, Shapes::ShapeRef.new(shape: VectorIngestionConfiguration, location_name: "vectorIngestionConfiguration"))
944
+ UpdateDataSourceRequest.struct_class = Types::UpdateDataSourceRequest
945
+
946
+ UpdateDataSourceResponse.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, required: true, location_name: "dataSource"))
947
+ UpdateDataSourceResponse.struct_class = Types::UpdateDataSourceResponse
948
+
949
+ UpdateKnowledgeBaseRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "knowledgeBaseId"))
950
+ UpdateKnowledgeBaseRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
951
+ UpdateKnowledgeBaseRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
952
+ UpdateKnowledgeBaseRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: KnowledgeBaseRoleArn, required: true, location_name: "roleArn"))
953
+ UpdateKnowledgeBaseRequest.add_member(:knowledge_base_configuration, Shapes::ShapeRef.new(shape: KnowledgeBaseConfiguration, required: true, location_name: "knowledgeBaseConfiguration"))
954
+ UpdateKnowledgeBaseRequest.add_member(:storage_configuration, Shapes::ShapeRef.new(shape: StorageConfiguration, required: true, location_name: "storageConfiguration"))
955
+ UpdateKnowledgeBaseRequest.struct_class = Types::UpdateKnowledgeBaseRequest
956
+
957
+ UpdateKnowledgeBaseResponse.add_member(:knowledge_base, Shapes::ShapeRef.new(shape: KnowledgeBase, required: true, location_name: "knowledgeBase"))
958
+ UpdateKnowledgeBaseResponse.struct_class = Types::UpdateKnowledgeBaseResponse
959
+
960
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
961
+ ValidationException.add_member(:field_list, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "fieldList"))
962
+ ValidationException.struct_class = Types::ValidationException
963
+
964
+ ValidationExceptionField.add_member(:name, Shapes::ShapeRef.new(shape: NonBlankString, required: true, location_name: "name"))
965
+ ValidationExceptionField.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, required: true, location_name: "message"))
966
+ ValidationExceptionField.struct_class = Types::ValidationExceptionField
967
+
968
+ ValidationExceptionFieldList.member = Shapes::ShapeRef.new(shape: ValidationExceptionField)
969
+
970
+ VectorIngestionConfiguration.add_member(:chunking_configuration, Shapes::ShapeRef.new(shape: ChunkingConfiguration, location_name: "chunkingConfiguration"))
971
+ VectorIngestionConfiguration.struct_class = Types::VectorIngestionConfiguration
972
+
973
+ VectorKnowledgeBaseConfiguration.add_member(:embedding_model_arn, Shapes::ShapeRef.new(shape: BedrockEmbeddingModelArn, required: true, location_name: "embeddingModelArn"))
974
+ VectorKnowledgeBaseConfiguration.struct_class = Types::VectorKnowledgeBaseConfiguration
975
+
976
+
977
+ # @api private
978
+ API = Seahorse::Model::Api.new.tap do |api|
979
+
980
+ api.version = "2023-06-05"
981
+
982
+ api.metadata = {
983
+ "apiVersion" => "2023-06-05",
984
+ "endpointPrefix" => "bedrock-agent",
985
+ "jsonVersion" => "1.1",
986
+ "protocol" => "rest-json",
987
+ "serviceFullName" => "Agents for Amazon Bedrock",
988
+ "serviceId" => "Bedrock Agent",
989
+ "signatureVersion" => "v4",
990
+ "signingName" => "bedrock",
991
+ "uid" => "bedrock-agent-2023-06-05",
992
+ }
993
+
994
+ api.add_operation(:associate_agent_knowledge_base, Seahorse::Model::Operation.new.tap do |o|
995
+ o.name = "AssociateAgentKnowledgeBase"
996
+ o.http_method = "PUT"
997
+ o.http_request_uri = "/agents/{agentId}/agentversions/{agentVersion}/knowledgebases/"
998
+ o.input = Shapes::ShapeRef.new(shape: AssociateAgentKnowledgeBaseRequest)
999
+ o.output = Shapes::ShapeRef.new(shape: AssociateAgentKnowledgeBaseResponse)
1000
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1001
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1002
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1003
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1004
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1005
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1006
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1007
+ end)
1008
+
1009
+ api.add_operation(:create_agent, Seahorse::Model::Operation.new.tap do |o|
1010
+ o.name = "CreateAgent"
1011
+ o.http_method = "PUT"
1012
+ o.http_request_uri = "/agents/"
1013
+ o.input = Shapes::ShapeRef.new(shape: CreateAgentRequest)
1014
+ o.output = Shapes::ShapeRef.new(shape: CreateAgentResponse)
1015
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1016
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1017
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1018
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1019
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1020
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1021
+ end)
1022
+
1023
+ api.add_operation(:create_agent_action_group, Seahorse::Model::Operation.new.tap do |o|
1024
+ o.name = "CreateAgentActionGroup"
1025
+ o.http_method = "PUT"
1026
+ o.http_request_uri = "/agents/{agentId}/agentversions/{agentVersion}/actiongroups/"
1027
+ o.input = Shapes::ShapeRef.new(shape: CreateAgentActionGroupRequest)
1028
+ o.output = Shapes::ShapeRef.new(shape: CreateAgentActionGroupResponse)
1029
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1030
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1031
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1032
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1033
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1034
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1035
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1036
+ end)
1037
+
1038
+ api.add_operation(:create_agent_alias, Seahorse::Model::Operation.new.tap do |o|
1039
+ o.name = "CreateAgentAlias"
1040
+ o.http_method = "PUT"
1041
+ o.http_request_uri = "/agents/{agentId}/agentaliases/"
1042
+ o.input = Shapes::ShapeRef.new(shape: CreateAgentAliasRequest)
1043
+ o.output = Shapes::ShapeRef.new(shape: CreateAgentAliasResponse)
1044
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1045
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1046
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1047
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1048
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1049
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1050
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1051
+ end)
1052
+
1053
+ api.add_operation(:create_data_source, Seahorse::Model::Operation.new.tap do |o|
1054
+ o.name = "CreateDataSource"
1055
+ o.http_method = "PUT"
1056
+ o.http_request_uri = "/knowledgebases/{knowledgeBaseId}/datasources/"
1057
+ o.input = Shapes::ShapeRef.new(shape: CreateDataSourceRequest)
1058
+ o.output = Shapes::ShapeRef.new(shape: CreateDataSourceResponse)
1059
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1060
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1061
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1062
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1063
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1064
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1065
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1066
+ end)
1067
+
1068
+ api.add_operation(:create_knowledge_base, Seahorse::Model::Operation.new.tap do |o|
1069
+ o.name = "CreateKnowledgeBase"
1070
+ o.http_method = "PUT"
1071
+ o.http_request_uri = "/knowledgebases/"
1072
+ o.input = Shapes::ShapeRef.new(shape: CreateKnowledgeBaseRequest)
1073
+ o.output = Shapes::ShapeRef.new(shape: CreateKnowledgeBaseResponse)
1074
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1075
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1076
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1077
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1078
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1079
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1080
+ end)
1081
+
1082
+ api.add_operation(:delete_agent, Seahorse::Model::Operation.new.tap do |o|
1083
+ o.name = "DeleteAgent"
1084
+ o.http_method = "DELETE"
1085
+ o.http_request_uri = "/agents/{agentId}/"
1086
+ o.input = Shapes::ShapeRef.new(shape: DeleteAgentRequest)
1087
+ o.output = Shapes::ShapeRef.new(shape: DeleteAgentResponse)
1088
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1089
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1090
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1091
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1092
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1093
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1094
+ end)
1095
+
1096
+ api.add_operation(:delete_agent_action_group, Seahorse::Model::Operation.new.tap do |o|
1097
+ o.name = "DeleteAgentActionGroup"
1098
+ o.http_method = "DELETE"
1099
+ o.http_request_uri = "/agents/{agentId}/agentversions/{agentVersion}/actiongroups/{actionGroupId}/"
1100
+ o.input = Shapes::ShapeRef.new(shape: DeleteAgentActionGroupRequest)
1101
+ o.output = Shapes::ShapeRef.new(shape: DeleteAgentActionGroupResponse)
1102
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1103
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1104
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1105
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1106
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1107
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1108
+ end)
1109
+
1110
+ api.add_operation(:delete_agent_alias, Seahorse::Model::Operation.new.tap do |o|
1111
+ o.name = "DeleteAgentAlias"
1112
+ o.http_method = "DELETE"
1113
+ o.http_request_uri = "/agents/{agentId}/agentaliases/{agentAliasId}/"
1114
+ o.input = Shapes::ShapeRef.new(shape: DeleteAgentAliasRequest)
1115
+ o.output = Shapes::ShapeRef.new(shape: DeleteAgentAliasResponse)
1116
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1117
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1118
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1119
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1120
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1121
+ end)
1122
+
1123
+ api.add_operation(:delete_agent_version, Seahorse::Model::Operation.new.tap do |o|
1124
+ o.name = "DeleteAgentVersion"
1125
+ o.http_method = "DELETE"
1126
+ o.http_request_uri = "/agents/{agentId}/agentversions/{agentVersion}/"
1127
+ o.input = Shapes::ShapeRef.new(shape: DeleteAgentVersionRequest)
1128
+ o.output = Shapes::ShapeRef.new(shape: DeleteAgentVersionResponse)
1129
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1130
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1131
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1132
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1133
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1134
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1135
+ end)
1136
+
1137
+ api.add_operation(:delete_data_source, Seahorse::Model::Operation.new.tap do |o|
1138
+ o.name = "DeleteDataSource"
1139
+ o.http_method = "DELETE"
1140
+ o.http_request_uri = "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}"
1141
+ o.input = Shapes::ShapeRef.new(shape: DeleteDataSourceRequest)
1142
+ o.output = Shapes::ShapeRef.new(shape: DeleteDataSourceResponse)
1143
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1144
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1145
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1146
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1147
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1148
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1149
+ end)
1150
+
1151
+ api.add_operation(:delete_knowledge_base, Seahorse::Model::Operation.new.tap do |o|
1152
+ o.name = "DeleteKnowledgeBase"
1153
+ o.http_method = "DELETE"
1154
+ o.http_request_uri = "/knowledgebases/{knowledgeBaseId}"
1155
+ o.input = Shapes::ShapeRef.new(shape: DeleteKnowledgeBaseRequest)
1156
+ o.output = Shapes::ShapeRef.new(shape: DeleteKnowledgeBaseResponse)
1157
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1158
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1159
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1160
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1161
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1162
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1163
+ end)
1164
+
1165
+ api.add_operation(:disassociate_agent_knowledge_base, Seahorse::Model::Operation.new.tap do |o|
1166
+ o.name = "DisassociateAgentKnowledgeBase"
1167
+ o.http_method = "DELETE"
1168
+ o.http_request_uri = "/agents/{agentId}/agentversions/{agentVersion}/knowledgebases/{knowledgeBaseId}/"
1169
+ o.input = Shapes::ShapeRef.new(shape: DisassociateAgentKnowledgeBaseRequest)
1170
+ o.output = Shapes::ShapeRef.new(shape: DisassociateAgentKnowledgeBaseResponse)
1171
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1172
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1173
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1174
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1175
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1176
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1177
+ end)
1178
+
1179
+ api.add_operation(:get_agent, Seahorse::Model::Operation.new.tap do |o|
1180
+ o.name = "GetAgent"
1181
+ o.http_method = "GET"
1182
+ o.http_request_uri = "/agents/{agentId}/"
1183
+ o.input = Shapes::ShapeRef.new(shape: GetAgentRequest)
1184
+ o.output = Shapes::ShapeRef.new(shape: GetAgentResponse)
1185
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1186
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1187
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1188
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1189
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1190
+ end)
1191
+
1192
+ api.add_operation(:get_agent_action_group, Seahorse::Model::Operation.new.tap do |o|
1193
+ o.name = "GetAgentActionGroup"
1194
+ o.http_method = "GET"
1195
+ o.http_request_uri = "/agents/{agentId}/agentversions/{agentVersion}/actiongroups/{actionGroupId}/"
1196
+ o.input = Shapes::ShapeRef.new(shape: GetAgentActionGroupRequest)
1197
+ o.output = Shapes::ShapeRef.new(shape: GetAgentActionGroupResponse)
1198
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1199
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1200
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1201
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1202
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1203
+ end)
1204
+
1205
+ api.add_operation(:get_agent_alias, Seahorse::Model::Operation.new.tap do |o|
1206
+ o.name = "GetAgentAlias"
1207
+ o.http_method = "GET"
1208
+ o.http_request_uri = "/agents/{agentId}/agentaliases/{agentAliasId}/"
1209
+ o.input = Shapes::ShapeRef.new(shape: GetAgentAliasRequest)
1210
+ o.output = Shapes::ShapeRef.new(shape: GetAgentAliasResponse)
1211
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1212
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1213
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1214
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1215
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1216
+ end)
1217
+
1218
+ api.add_operation(:get_agent_knowledge_base, Seahorse::Model::Operation.new.tap do |o|
1219
+ o.name = "GetAgentKnowledgeBase"
1220
+ o.http_method = "GET"
1221
+ o.http_request_uri = "/agents/{agentId}/agentversions/{agentVersion}/knowledgebases/{knowledgeBaseId}/"
1222
+ o.input = Shapes::ShapeRef.new(shape: GetAgentKnowledgeBaseRequest)
1223
+ o.output = Shapes::ShapeRef.new(shape: GetAgentKnowledgeBaseResponse)
1224
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1225
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1226
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1227
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1228
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1229
+ end)
1230
+
1231
+ api.add_operation(:get_agent_version, Seahorse::Model::Operation.new.tap do |o|
1232
+ o.name = "GetAgentVersion"
1233
+ o.http_method = "GET"
1234
+ o.http_request_uri = "/agents/{agentId}/agentversions/{agentVersion}/"
1235
+ o.input = Shapes::ShapeRef.new(shape: GetAgentVersionRequest)
1236
+ o.output = Shapes::ShapeRef.new(shape: GetAgentVersionResponse)
1237
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1238
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1239
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1240
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1241
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1242
+ end)
1243
+
1244
+ api.add_operation(:get_data_source, Seahorse::Model::Operation.new.tap do |o|
1245
+ o.name = "GetDataSource"
1246
+ o.http_method = "GET"
1247
+ o.http_request_uri = "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}"
1248
+ o.input = Shapes::ShapeRef.new(shape: GetDataSourceRequest)
1249
+ o.output = Shapes::ShapeRef.new(shape: GetDataSourceResponse)
1250
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1251
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1252
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1253
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1254
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1255
+ end)
1256
+
1257
+ api.add_operation(:get_ingestion_job, Seahorse::Model::Operation.new.tap do |o|
1258
+ o.name = "GetIngestionJob"
1259
+ o.http_method = "GET"
1260
+ o.http_request_uri = "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/{ingestionJobId}"
1261
+ o.input = Shapes::ShapeRef.new(shape: GetIngestionJobRequest)
1262
+ o.output = Shapes::ShapeRef.new(shape: GetIngestionJobResponse)
1263
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1264
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1265
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1266
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1267
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1268
+ end)
1269
+
1270
+ api.add_operation(:get_knowledge_base, Seahorse::Model::Operation.new.tap do |o|
1271
+ o.name = "GetKnowledgeBase"
1272
+ o.http_method = "GET"
1273
+ o.http_request_uri = "/knowledgebases/{knowledgeBaseId}"
1274
+ o.input = Shapes::ShapeRef.new(shape: GetKnowledgeBaseRequest)
1275
+ o.output = Shapes::ShapeRef.new(shape: GetKnowledgeBaseResponse)
1276
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1277
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1278
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1279
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1280
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1281
+ end)
1282
+
1283
+ api.add_operation(:list_agent_action_groups, Seahorse::Model::Operation.new.tap do |o|
1284
+ o.name = "ListAgentActionGroups"
1285
+ o.http_method = "POST"
1286
+ o.http_request_uri = "/agents/{agentId}/agentversions/{agentVersion}/actiongroups/"
1287
+ o.input = Shapes::ShapeRef.new(shape: ListAgentActionGroupsRequest)
1288
+ o.output = Shapes::ShapeRef.new(shape: ListAgentActionGroupsResponse)
1289
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1290
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1291
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1292
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1293
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1294
+ o[:pager] = Aws::Pager.new(
1295
+ limit_key: "max_results",
1296
+ tokens: {
1297
+ "next_token" => "next_token"
1298
+ }
1299
+ )
1300
+ end)
1301
+
1302
+ api.add_operation(:list_agent_aliases, Seahorse::Model::Operation.new.tap do |o|
1303
+ o.name = "ListAgentAliases"
1304
+ o.http_method = "POST"
1305
+ o.http_request_uri = "/agents/{agentId}/agentaliases/"
1306
+ o.input = Shapes::ShapeRef.new(shape: ListAgentAliasesRequest)
1307
+ o.output = Shapes::ShapeRef.new(shape: ListAgentAliasesResponse)
1308
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1309
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1310
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1311
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1312
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1313
+ o[:pager] = Aws::Pager.new(
1314
+ limit_key: "max_results",
1315
+ tokens: {
1316
+ "next_token" => "next_token"
1317
+ }
1318
+ )
1319
+ end)
1320
+
1321
+ api.add_operation(:list_agent_knowledge_bases, Seahorse::Model::Operation.new.tap do |o|
1322
+ o.name = "ListAgentKnowledgeBases"
1323
+ o.http_method = "POST"
1324
+ o.http_request_uri = "/agents/{agentId}/agentversions/{agentVersion}/knowledgebases/"
1325
+ o.input = Shapes::ShapeRef.new(shape: ListAgentKnowledgeBasesRequest)
1326
+ o.output = Shapes::ShapeRef.new(shape: ListAgentKnowledgeBasesResponse)
1327
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1328
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1329
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1330
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1331
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1332
+ o[:pager] = Aws::Pager.new(
1333
+ limit_key: "max_results",
1334
+ tokens: {
1335
+ "next_token" => "next_token"
1336
+ }
1337
+ )
1338
+ end)
1339
+
1340
+ api.add_operation(:list_agent_versions, Seahorse::Model::Operation.new.tap do |o|
1341
+ o.name = "ListAgentVersions"
1342
+ o.http_method = "POST"
1343
+ o.http_request_uri = "/agents/{agentId}/agentversions/"
1344
+ o.input = Shapes::ShapeRef.new(shape: ListAgentVersionsRequest)
1345
+ o.output = Shapes::ShapeRef.new(shape: ListAgentVersionsResponse)
1346
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1347
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1348
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1349
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1350
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1351
+ o[:pager] = Aws::Pager.new(
1352
+ limit_key: "max_results",
1353
+ tokens: {
1354
+ "next_token" => "next_token"
1355
+ }
1356
+ )
1357
+ end)
1358
+
1359
+ api.add_operation(:list_agents, Seahorse::Model::Operation.new.tap do |o|
1360
+ o.name = "ListAgents"
1361
+ o.http_method = "POST"
1362
+ o.http_request_uri = "/agents/"
1363
+ o.input = Shapes::ShapeRef.new(shape: ListAgentsRequest)
1364
+ o.output = Shapes::ShapeRef.new(shape: ListAgentsResponse)
1365
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1366
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1367
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1368
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1369
+ o[:pager] = Aws::Pager.new(
1370
+ limit_key: "max_results",
1371
+ tokens: {
1372
+ "next_token" => "next_token"
1373
+ }
1374
+ )
1375
+ end)
1376
+
1377
+ api.add_operation(:list_data_sources, Seahorse::Model::Operation.new.tap do |o|
1378
+ o.name = "ListDataSources"
1379
+ o.http_method = "POST"
1380
+ o.http_request_uri = "/knowledgebases/{knowledgeBaseId}/datasources/"
1381
+ o.input = Shapes::ShapeRef.new(shape: ListDataSourcesRequest)
1382
+ o.output = Shapes::ShapeRef.new(shape: ListDataSourcesResponse)
1383
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1384
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1385
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1386
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1387
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1388
+ o[:pager] = Aws::Pager.new(
1389
+ limit_key: "max_results",
1390
+ tokens: {
1391
+ "next_token" => "next_token"
1392
+ }
1393
+ )
1394
+ end)
1395
+
1396
+ api.add_operation(:list_ingestion_jobs, Seahorse::Model::Operation.new.tap do |o|
1397
+ o.name = "ListIngestionJobs"
1398
+ o.http_method = "POST"
1399
+ o.http_request_uri = "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/"
1400
+ o.input = Shapes::ShapeRef.new(shape: ListIngestionJobsRequest)
1401
+ o.output = Shapes::ShapeRef.new(shape: ListIngestionJobsResponse)
1402
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1403
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1404
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1405
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1406
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1407
+ o[:pager] = Aws::Pager.new(
1408
+ limit_key: "max_results",
1409
+ tokens: {
1410
+ "next_token" => "next_token"
1411
+ }
1412
+ )
1413
+ end)
1414
+
1415
+ api.add_operation(:list_knowledge_bases, Seahorse::Model::Operation.new.tap do |o|
1416
+ o.name = "ListKnowledgeBases"
1417
+ o.http_method = "POST"
1418
+ o.http_request_uri = "/knowledgebases/"
1419
+ o.input = Shapes::ShapeRef.new(shape: ListKnowledgeBasesRequest)
1420
+ o.output = Shapes::ShapeRef.new(shape: ListKnowledgeBasesResponse)
1421
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1422
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1423
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1424
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1425
+ o[:pager] = Aws::Pager.new(
1426
+ limit_key: "max_results",
1427
+ tokens: {
1428
+ "next_token" => "next_token"
1429
+ }
1430
+ )
1431
+ end)
1432
+
1433
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
1434
+ o.name = "ListTagsForResource"
1435
+ o.http_method = "GET"
1436
+ o.http_request_uri = "/tags/{resourceArn}"
1437
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
1438
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
1439
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1440
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1441
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1442
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1443
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1444
+ end)
1445
+
1446
+ api.add_operation(:prepare_agent, Seahorse::Model::Operation.new.tap do |o|
1447
+ o.name = "PrepareAgent"
1448
+ o.http_method = "POST"
1449
+ o.http_request_uri = "/agents/{agentId}/"
1450
+ o.input = Shapes::ShapeRef.new(shape: PrepareAgentRequest)
1451
+ o.output = Shapes::ShapeRef.new(shape: PrepareAgentResponse)
1452
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1453
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1454
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1455
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1456
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1457
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1458
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1459
+ end)
1460
+
1461
+ api.add_operation(:start_ingestion_job, Seahorse::Model::Operation.new.tap do |o|
1462
+ o.name = "StartIngestionJob"
1463
+ o.http_method = "PUT"
1464
+ o.http_request_uri = "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/ingestionjobs/"
1465
+ o.input = Shapes::ShapeRef.new(shape: StartIngestionJobRequest)
1466
+ o.output = Shapes::ShapeRef.new(shape: StartIngestionJobResponse)
1467
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1468
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1469
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1470
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1471
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1472
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1473
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1474
+ end)
1475
+
1476
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1477
+ o.name = "TagResource"
1478
+ o.http_method = "POST"
1479
+ o.http_request_uri = "/tags/{resourceArn}"
1480
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
1481
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
1482
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1483
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1484
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1485
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1486
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1487
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1488
+ end)
1489
+
1490
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
1491
+ o.name = "UntagResource"
1492
+ o.http_method = "DELETE"
1493
+ o.http_request_uri = "/tags/{resourceArn}"
1494
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
1495
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
1496
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1497
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1498
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1499
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1500
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1501
+ end)
1502
+
1503
+ api.add_operation(:update_agent, Seahorse::Model::Operation.new.tap do |o|
1504
+ o.name = "UpdateAgent"
1505
+ o.http_method = "PUT"
1506
+ o.http_request_uri = "/agents/{agentId}/"
1507
+ o.input = Shapes::ShapeRef.new(shape: UpdateAgentRequest)
1508
+ o.output = Shapes::ShapeRef.new(shape: UpdateAgentResponse)
1509
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1510
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1511
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1512
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1513
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1514
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1515
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1516
+ end)
1517
+
1518
+ api.add_operation(:update_agent_action_group, Seahorse::Model::Operation.new.tap do |o|
1519
+ o.name = "UpdateAgentActionGroup"
1520
+ o.http_method = "PUT"
1521
+ o.http_request_uri = "/agents/{agentId}/agentversions/{agentVersion}/actiongroups/{actionGroupId}/"
1522
+ o.input = Shapes::ShapeRef.new(shape: UpdateAgentActionGroupRequest)
1523
+ o.output = Shapes::ShapeRef.new(shape: UpdateAgentActionGroupResponse)
1524
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1525
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1526
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1527
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1528
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1529
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1530
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1531
+ end)
1532
+
1533
+ api.add_operation(:update_agent_alias, Seahorse::Model::Operation.new.tap do |o|
1534
+ o.name = "UpdateAgentAlias"
1535
+ o.http_method = "PUT"
1536
+ o.http_request_uri = "/agents/{agentId}/agentaliases/{agentAliasId}/"
1537
+ o.input = Shapes::ShapeRef.new(shape: UpdateAgentAliasRequest)
1538
+ o.output = Shapes::ShapeRef.new(shape: UpdateAgentAliasResponse)
1539
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1540
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1541
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1542
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1543
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1544
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1545
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1546
+ end)
1547
+
1548
+ api.add_operation(:update_agent_knowledge_base, Seahorse::Model::Operation.new.tap do |o|
1549
+ o.name = "UpdateAgentKnowledgeBase"
1550
+ o.http_method = "PUT"
1551
+ o.http_request_uri = "/agents/{agentId}/agentversions/{agentVersion}/knowledgebases/{knowledgeBaseId}/"
1552
+ o.input = Shapes::ShapeRef.new(shape: UpdateAgentKnowledgeBaseRequest)
1553
+ o.output = Shapes::ShapeRef.new(shape: UpdateAgentKnowledgeBaseResponse)
1554
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1555
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1556
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1557
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1558
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1559
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1560
+ end)
1561
+
1562
+ api.add_operation(:update_data_source, Seahorse::Model::Operation.new.tap do |o|
1563
+ o.name = "UpdateDataSource"
1564
+ o.http_method = "PUT"
1565
+ o.http_request_uri = "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}"
1566
+ o.input = Shapes::ShapeRef.new(shape: UpdateDataSourceRequest)
1567
+ o.output = Shapes::ShapeRef.new(shape: UpdateDataSourceResponse)
1568
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1569
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1570
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1571
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1572
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1573
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1574
+ end)
1575
+
1576
+ api.add_operation(:update_knowledge_base, Seahorse::Model::Operation.new.tap do |o|
1577
+ o.name = "UpdateKnowledgeBase"
1578
+ o.http_method = "PUT"
1579
+ o.http_request_uri = "/knowledgebases/{knowledgeBaseId}"
1580
+ o.input = Shapes::ShapeRef.new(shape: UpdateKnowledgeBaseRequest)
1581
+ o.output = Shapes::ShapeRef.new(shape: UpdateKnowledgeBaseResponse)
1582
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1583
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1584
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1585
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1586
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1587
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1588
+ end)
1589
+ end
1590
+
1591
+ end
1592
+ end