aws-sdk-connectwisdomservice 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-connectwisdomservice/client.rb +1942 -0
- data/lib/aws-sdk-connectwisdomservice/client_api.rb +1057 -0
- data/lib/aws-sdk-connectwisdomservice/customizations.rb +0 -0
- data/lib/aws-sdk-connectwisdomservice/errors.rb +160 -0
- data/lib/aws-sdk-connectwisdomservice/resource.rb +26 -0
- data/lib/aws-sdk-connectwisdomservice/types.rb +2585 -0
- data/lib/aws-sdk-connectwisdomservice.rb +53 -0
- metadata +90 -0
@@ -0,0 +1,1057 @@
|
|
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::ConnectWisdomService
|
11
|
+
# @api private
|
12
|
+
module ClientApi
|
13
|
+
|
14
|
+
include Seahorse::Model
|
15
|
+
|
16
|
+
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
17
|
+
AppIntegrationsConfiguration = Shapes::StructureShape.new(name: 'AppIntegrationsConfiguration')
|
18
|
+
Arn = Shapes::StringShape.new(name: 'Arn')
|
19
|
+
AssistantAssociationData = Shapes::StructureShape.new(name: 'AssistantAssociationData')
|
20
|
+
AssistantAssociationInputData = Shapes::UnionShape.new(name: 'AssistantAssociationInputData')
|
21
|
+
AssistantAssociationOutputData = Shapes::UnionShape.new(name: 'AssistantAssociationOutputData')
|
22
|
+
AssistantAssociationSummary = Shapes::StructureShape.new(name: 'AssistantAssociationSummary')
|
23
|
+
AssistantAssociationSummaryList = Shapes::ListShape.new(name: 'AssistantAssociationSummaryList')
|
24
|
+
AssistantData = Shapes::StructureShape.new(name: 'AssistantData')
|
25
|
+
AssistantList = Shapes::ListShape.new(name: 'AssistantList')
|
26
|
+
AssistantStatus = Shapes::StringShape.new(name: 'AssistantStatus')
|
27
|
+
AssistantSummary = Shapes::StructureShape.new(name: 'AssistantSummary')
|
28
|
+
AssistantType = Shapes::StringShape.new(name: 'AssistantType')
|
29
|
+
AssociationType = Shapes::StringShape.new(name: 'AssociationType')
|
30
|
+
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
31
|
+
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
32
|
+
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
33
|
+
ContentData = Shapes::StructureShape.new(name: 'ContentData')
|
34
|
+
ContentMetadata = Shapes::MapShape.new(name: 'ContentMetadata')
|
35
|
+
ContentReference = Shapes::StructureShape.new(name: 'ContentReference')
|
36
|
+
ContentStatus = Shapes::StringShape.new(name: 'ContentStatus')
|
37
|
+
ContentSummary = Shapes::StructureShape.new(name: 'ContentSummary')
|
38
|
+
ContentSummaryList = Shapes::ListShape.new(name: 'ContentSummaryList')
|
39
|
+
ContentTitle = Shapes::StringShape.new(name: 'ContentTitle')
|
40
|
+
ContentType = Shapes::StringShape.new(name: 'ContentType')
|
41
|
+
CreateAssistantAssociationRequest = Shapes::StructureShape.new(name: 'CreateAssistantAssociationRequest')
|
42
|
+
CreateAssistantAssociationResponse = Shapes::StructureShape.new(name: 'CreateAssistantAssociationResponse')
|
43
|
+
CreateAssistantRequest = Shapes::StructureShape.new(name: 'CreateAssistantRequest')
|
44
|
+
CreateAssistantResponse = Shapes::StructureShape.new(name: 'CreateAssistantResponse')
|
45
|
+
CreateContentRequest = Shapes::StructureShape.new(name: 'CreateContentRequest')
|
46
|
+
CreateContentResponse = Shapes::StructureShape.new(name: 'CreateContentResponse')
|
47
|
+
CreateKnowledgeBaseRequest = Shapes::StructureShape.new(name: 'CreateKnowledgeBaseRequest')
|
48
|
+
CreateKnowledgeBaseResponse = Shapes::StructureShape.new(name: 'CreateKnowledgeBaseResponse')
|
49
|
+
CreateSessionRequest = Shapes::StructureShape.new(name: 'CreateSessionRequest')
|
50
|
+
CreateSessionResponse = Shapes::StructureShape.new(name: 'CreateSessionResponse')
|
51
|
+
DeleteAssistantAssociationRequest = Shapes::StructureShape.new(name: 'DeleteAssistantAssociationRequest')
|
52
|
+
DeleteAssistantAssociationResponse = Shapes::StructureShape.new(name: 'DeleteAssistantAssociationResponse')
|
53
|
+
DeleteAssistantRequest = Shapes::StructureShape.new(name: 'DeleteAssistantRequest')
|
54
|
+
DeleteAssistantResponse = Shapes::StructureShape.new(name: 'DeleteAssistantResponse')
|
55
|
+
DeleteContentRequest = Shapes::StructureShape.new(name: 'DeleteContentRequest')
|
56
|
+
DeleteContentResponse = Shapes::StructureShape.new(name: 'DeleteContentResponse')
|
57
|
+
DeleteKnowledgeBaseRequest = Shapes::StructureShape.new(name: 'DeleteKnowledgeBaseRequest')
|
58
|
+
DeleteKnowledgeBaseResponse = Shapes::StructureShape.new(name: 'DeleteKnowledgeBaseResponse')
|
59
|
+
Description = Shapes::StringShape.new(name: 'Description')
|
60
|
+
Document = Shapes::StructureShape.new(name: 'Document')
|
61
|
+
DocumentText = Shapes::StructureShape.new(name: 'DocumentText')
|
62
|
+
Filter = Shapes::StructureShape.new(name: 'Filter')
|
63
|
+
FilterField = Shapes::StringShape.new(name: 'FilterField')
|
64
|
+
FilterList = Shapes::ListShape.new(name: 'FilterList')
|
65
|
+
FilterOperator = Shapes::StringShape.new(name: 'FilterOperator')
|
66
|
+
GenericArn = Shapes::StringShape.new(name: 'GenericArn')
|
67
|
+
GetAssistantAssociationRequest = Shapes::StructureShape.new(name: 'GetAssistantAssociationRequest')
|
68
|
+
GetAssistantAssociationResponse = Shapes::StructureShape.new(name: 'GetAssistantAssociationResponse')
|
69
|
+
GetAssistantRequest = Shapes::StructureShape.new(name: 'GetAssistantRequest')
|
70
|
+
GetAssistantResponse = Shapes::StructureShape.new(name: 'GetAssistantResponse')
|
71
|
+
GetContentRequest = Shapes::StructureShape.new(name: 'GetContentRequest')
|
72
|
+
GetContentResponse = Shapes::StructureShape.new(name: 'GetContentResponse')
|
73
|
+
GetContentSummaryRequest = Shapes::StructureShape.new(name: 'GetContentSummaryRequest')
|
74
|
+
GetContentSummaryResponse = Shapes::StructureShape.new(name: 'GetContentSummaryResponse')
|
75
|
+
GetKnowledgeBaseRequest = Shapes::StructureShape.new(name: 'GetKnowledgeBaseRequest')
|
76
|
+
GetKnowledgeBaseResponse = Shapes::StructureShape.new(name: 'GetKnowledgeBaseResponse')
|
77
|
+
GetRecommendationsRequest = Shapes::StructureShape.new(name: 'GetRecommendationsRequest')
|
78
|
+
GetRecommendationsResponse = Shapes::StructureShape.new(name: 'GetRecommendationsResponse')
|
79
|
+
GetSessionRequest = Shapes::StructureShape.new(name: 'GetSessionRequest')
|
80
|
+
GetSessionResponse = Shapes::StructureShape.new(name: 'GetSessionResponse')
|
81
|
+
Headers = Shapes::MapShape.new(name: 'Headers')
|
82
|
+
Highlight = Shapes::StructureShape.new(name: 'Highlight')
|
83
|
+
HighlightOffset = Shapes::IntegerShape.new(name: 'HighlightOffset')
|
84
|
+
Highlights = Shapes::ListShape.new(name: 'Highlights')
|
85
|
+
KnowledgeBaseAssociationData = Shapes::StructureShape.new(name: 'KnowledgeBaseAssociationData')
|
86
|
+
KnowledgeBaseData = Shapes::StructureShape.new(name: 'KnowledgeBaseData')
|
87
|
+
KnowledgeBaseList = Shapes::ListShape.new(name: 'KnowledgeBaseList')
|
88
|
+
KnowledgeBaseStatus = Shapes::StringShape.new(name: 'KnowledgeBaseStatus')
|
89
|
+
KnowledgeBaseSummary = Shapes::StructureShape.new(name: 'KnowledgeBaseSummary')
|
90
|
+
KnowledgeBaseType = Shapes::StringShape.new(name: 'KnowledgeBaseType')
|
91
|
+
ListAssistantAssociationsRequest = Shapes::StructureShape.new(name: 'ListAssistantAssociationsRequest')
|
92
|
+
ListAssistantAssociationsResponse = Shapes::StructureShape.new(name: 'ListAssistantAssociationsResponse')
|
93
|
+
ListAssistantsRequest = Shapes::StructureShape.new(name: 'ListAssistantsRequest')
|
94
|
+
ListAssistantsResponse = Shapes::StructureShape.new(name: 'ListAssistantsResponse')
|
95
|
+
ListContentsRequest = Shapes::StructureShape.new(name: 'ListContentsRequest')
|
96
|
+
ListContentsResponse = Shapes::StructureShape.new(name: 'ListContentsResponse')
|
97
|
+
ListKnowledgeBasesRequest = Shapes::StructureShape.new(name: 'ListKnowledgeBasesRequest')
|
98
|
+
ListKnowledgeBasesResponse = Shapes::StructureShape.new(name: 'ListKnowledgeBasesResponse')
|
99
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
100
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
101
|
+
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
102
|
+
Name = Shapes::StringShape.new(name: 'Name')
|
103
|
+
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
104
|
+
NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
|
105
|
+
NotifyRecommendationsReceivedError = Shapes::StructureShape.new(name: 'NotifyRecommendationsReceivedError')
|
106
|
+
NotifyRecommendationsReceivedErrorList = Shapes::ListShape.new(name: 'NotifyRecommendationsReceivedErrorList')
|
107
|
+
NotifyRecommendationsReceivedErrorMessage = Shapes::StringShape.new(name: 'NotifyRecommendationsReceivedErrorMessage')
|
108
|
+
NotifyRecommendationsReceivedRequest = Shapes::StructureShape.new(name: 'NotifyRecommendationsReceivedRequest')
|
109
|
+
NotifyRecommendationsReceivedResponse = Shapes::StructureShape.new(name: 'NotifyRecommendationsReceivedResponse')
|
110
|
+
ObjectFieldsList = Shapes::ListShape.new(name: 'ObjectFieldsList')
|
111
|
+
PreconditionFailedException = Shapes::StructureShape.new(name: 'PreconditionFailedException')
|
112
|
+
QueryAssistantRequest = Shapes::StructureShape.new(name: 'QueryAssistantRequest')
|
113
|
+
QueryAssistantResponse = Shapes::StructureShape.new(name: 'QueryAssistantResponse')
|
114
|
+
QueryResultsList = Shapes::ListShape.new(name: 'QueryResultsList')
|
115
|
+
QueryText = Shapes::StringShape.new(name: 'QueryText')
|
116
|
+
RecommendationData = Shapes::StructureShape.new(name: 'RecommendationData')
|
117
|
+
RecommendationIdList = Shapes::ListShape.new(name: 'RecommendationIdList')
|
118
|
+
RecommendationList = Shapes::ListShape.new(name: 'RecommendationList')
|
119
|
+
RelevanceLevel = Shapes::StringShape.new(name: 'RelevanceLevel')
|
120
|
+
RelevanceScore = Shapes::FloatShape.new(name: 'RelevanceScore')
|
121
|
+
RemoveKnowledgeBaseTemplateUriRequest = Shapes::StructureShape.new(name: 'RemoveKnowledgeBaseTemplateUriRequest')
|
122
|
+
RemoveKnowledgeBaseTemplateUriResponse = Shapes::StructureShape.new(name: 'RemoveKnowledgeBaseTemplateUriResponse')
|
123
|
+
RenderingConfiguration = Shapes::StructureShape.new(name: 'RenderingConfiguration')
|
124
|
+
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
125
|
+
ResultData = Shapes::StructureShape.new(name: 'ResultData')
|
126
|
+
SearchContentRequest = Shapes::StructureShape.new(name: 'SearchContentRequest')
|
127
|
+
SearchContentResponse = Shapes::StructureShape.new(name: 'SearchContentResponse')
|
128
|
+
SearchExpression = Shapes::StructureShape.new(name: 'SearchExpression')
|
129
|
+
SearchSessionsRequest = Shapes::StructureShape.new(name: 'SearchSessionsRequest')
|
130
|
+
SearchSessionsResponse = Shapes::StructureShape.new(name: 'SearchSessionsResponse')
|
131
|
+
ServerSideEncryptionConfiguration = Shapes::StructureShape.new(name: 'ServerSideEncryptionConfiguration')
|
132
|
+
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
133
|
+
SessionData = Shapes::StructureShape.new(name: 'SessionData')
|
134
|
+
SessionSummaries = Shapes::ListShape.new(name: 'SessionSummaries')
|
135
|
+
SessionSummary = Shapes::StructureShape.new(name: 'SessionSummary')
|
136
|
+
SourceConfiguration = Shapes::UnionShape.new(name: 'SourceConfiguration')
|
137
|
+
StartContentUploadRequest = Shapes::StructureShape.new(name: 'StartContentUploadRequest')
|
138
|
+
StartContentUploadResponse = Shapes::StructureShape.new(name: 'StartContentUploadResponse')
|
139
|
+
String = Shapes::StringShape.new(name: 'String')
|
140
|
+
SyntheticContentDataUrl = Shapes::StringShape.new(name: 'SyntheticContentDataUrl')
|
141
|
+
SyntheticDocumentTextString = Shapes::StringShape.new(name: 'SyntheticDocumentTextString')
|
142
|
+
SyntheticStartContentUploadResponseUrl = Shapes::StringShape.new(name: 'SyntheticStartContentUploadResponseUrl')
|
143
|
+
SyntheticTimestamp_epoch_seconds = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_epoch_seconds', timestampFormat: "unixTimestamp")
|
144
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
145
|
+
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
146
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
147
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
148
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
149
|
+
Tags = Shapes::MapShape.new(name: 'Tags')
|
150
|
+
TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
|
151
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
152
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
153
|
+
UpdateContentRequest = Shapes::StructureShape.new(name: 'UpdateContentRequest')
|
154
|
+
UpdateContentResponse = Shapes::StructureShape.new(name: 'UpdateContentResponse')
|
155
|
+
UpdateKnowledgeBaseTemplateUriRequest = Shapes::StructureShape.new(name: 'UpdateKnowledgeBaseTemplateUriRequest')
|
156
|
+
UpdateKnowledgeBaseTemplateUriResponse = Shapes::StructureShape.new(name: 'UpdateKnowledgeBaseTemplateUriResponse')
|
157
|
+
Uri = Shapes::StringShape.new(name: 'Uri')
|
158
|
+
Uuid = Shapes::StringShape.new(name: 'Uuid')
|
159
|
+
UuidOrArn = Shapes::StringShape.new(name: 'UuidOrArn')
|
160
|
+
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
161
|
+
WaitTimeSeconds = Shapes::IntegerShape.new(name: 'WaitTimeSeconds')
|
162
|
+
|
163
|
+
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
164
|
+
AccessDeniedException.struct_class = Types::AccessDeniedException
|
165
|
+
|
166
|
+
AppIntegrationsConfiguration.add_member(:app_integration_arn, Shapes::ShapeRef.new(shape: GenericArn, required: true, location_name: "appIntegrationArn"))
|
167
|
+
AppIntegrationsConfiguration.add_member(:object_fields, Shapes::ShapeRef.new(shape: ObjectFieldsList, required: true, location_name: "objectFields"))
|
168
|
+
AppIntegrationsConfiguration.struct_class = Types::AppIntegrationsConfiguration
|
169
|
+
|
170
|
+
AssistantAssociationData.add_member(:assistant_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assistantArn"))
|
171
|
+
AssistantAssociationData.add_member(:assistant_association_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assistantAssociationArn"))
|
172
|
+
AssistantAssociationData.add_member(:assistant_association_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "assistantAssociationId"))
|
173
|
+
AssistantAssociationData.add_member(:assistant_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "assistantId"))
|
174
|
+
AssistantAssociationData.add_member(:association_data, Shapes::ShapeRef.new(shape: AssistantAssociationOutputData, required: true, location_name: "associationData"))
|
175
|
+
AssistantAssociationData.add_member(:association_type, Shapes::ShapeRef.new(shape: AssociationType, required: true, location_name: "associationType"))
|
176
|
+
AssistantAssociationData.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
177
|
+
AssistantAssociationData.struct_class = Types::AssistantAssociationData
|
178
|
+
|
179
|
+
AssistantAssociationInputData.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Uuid, location_name: "knowledgeBaseId"))
|
180
|
+
AssistantAssociationInputData.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
181
|
+
AssistantAssociationInputData.add_member_subclass(:knowledge_base_id, Types::AssistantAssociationInputData::KnowledgeBaseId)
|
182
|
+
AssistantAssociationInputData.add_member_subclass(:unknown, Types::AssistantAssociationInputData::Unknown)
|
183
|
+
AssistantAssociationInputData.struct_class = Types::AssistantAssociationInputData
|
184
|
+
|
185
|
+
AssistantAssociationOutputData.add_member(:knowledge_base_association, Shapes::ShapeRef.new(shape: KnowledgeBaseAssociationData, location_name: "knowledgeBaseAssociation"))
|
186
|
+
AssistantAssociationOutputData.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
187
|
+
AssistantAssociationOutputData.add_member_subclass(:knowledge_base_association, Types::AssistantAssociationOutputData::KnowledgeBaseAssociation)
|
188
|
+
AssistantAssociationOutputData.add_member_subclass(:unknown, Types::AssistantAssociationOutputData::Unknown)
|
189
|
+
AssistantAssociationOutputData.struct_class = Types::AssistantAssociationOutputData
|
190
|
+
|
191
|
+
AssistantAssociationSummary.add_member(:assistant_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assistantArn"))
|
192
|
+
AssistantAssociationSummary.add_member(:assistant_association_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assistantAssociationArn"))
|
193
|
+
AssistantAssociationSummary.add_member(:assistant_association_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "assistantAssociationId"))
|
194
|
+
AssistantAssociationSummary.add_member(:assistant_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "assistantId"))
|
195
|
+
AssistantAssociationSummary.add_member(:association_data, Shapes::ShapeRef.new(shape: AssistantAssociationOutputData, required: true, location_name: "associationData"))
|
196
|
+
AssistantAssociationSummary.add_member(:association_type, Shapes::ShapeRef.new(shape: AssociationType, required: true, location_name: "associationType"))
|
197
|
+
AssistantAssociationSummary.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
198
|
+
AssistantAssociationSummary.struct_class = Types::AssistantAssociationSummary
|
199
|
+
|
200
|
+
AssistantAssociationSummaryList.member = Shapes::ShapeRef.new(shape: AssistantAssociationSummary)
|
201
|
+
|
202
|
+
AssistantData.add_member(:assistant_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assistantArn"))
|
203
|
+
AssistantData.add_member(:assistant_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "assistantId"))
|
204
|
+
AssistantData.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
205
|
+
AssistantData.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
206
|
+
AssistantData.add_member(:server_side_encryption_configuration, Shapes::ShapeRef.new(shape: ServerSideEncryptionConfiguration, location_name: "serverSideEncryptionConfiguration"))
|
207
|
+
AssistantData.add_member(:status, Shapes::ShapeRef.new(shape: AssistantStatus, required: true, location_name: "status"))
|
208
|
+
AssistantData.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
209
|
+
AssistantData.add_member(:type, Shapes::ShapeRef.new(shape: AssistantType, required: true, location_name: "type"))
|
210
|
+
AssistantData.struct_class = Types::AssistantData
|
211
|
+
|
212
|
+
AssistantList.member = Shapes::ShapeRef.new(shape: AssistantSummary)
|
213
|
+
|
214
|
+
AssistantSummary.add_member(:assistant_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assistantArn"))
|
215
|
+
AssistantSummary.add_member(:assistant_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "assistantId"))
|
216
|
+
AssistantSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
217
|
+
AssistantSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
218
|
+
AssistantSummary.add_member(:server_side_encryption_configuration, Shapes::ShapeRef.new(shape: ServerSideEncryptionConfiguration, location_name: "serverSideEncryptionConfiguration"))
|
219
|
+
AssistantSummary.add_member(:status, Shapes::ShapeRef.new(shape: AssistantStatus, required: true, location_name: "status"))
|
220
|
+
AssistantSummary.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
221
|
+
AssistantSummary.add_member(:type, Shapes::ShapeRef.new(shape: AssistantType, required: true, location_name: "type"))
|
222
|
+
AssistantSummary.struct_class = Types::AssistantSummary
|
223
|
+
|
224
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
225
|
+
ConflictException.struct_class = Types::ConflictException
|
226
|
+
|
227
|
+
ContentData.add_member(:content_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "contentArn"))
|
228
|
+
ContentData.add_member(:content_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "contentId"))
|
229
|
+
ContentData.add_member(:content_type, Shapes::ShapeRef.new(shape: ContentType, required: true, location_name: "contentType"))
|
230
|
+
ContentData.add_member(:knowledge_base_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "knowledgeBaseArn"))
|
231
|
+
ContentData.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "knowledgeBaseId"))
|
232
|
+
ContentData.add_member(:link_out_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "linkOutUri"))
|
233
|
+
ContentData.add_member(:metadata, Shapes::ShapeRef.new(shape: ContentMetadata, required: true, location_name: "metadata"))
|
234
|
+
ContentData.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
235
|
+
ContentData.add_member(:revision_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "revisionId"))
|
236
|
+
ContentData.add_member(:status, Shapes::ShapeRef.new(shape: ContentStatus, required: true, location_name: "status"))
|
237
|
+
ContentData.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
238
|
+
ContentData.add_member(:title, Shapes::ShapeRef.new(shape: ContentTitle, required: true, location_name: "title"))
|
239
|
+
ContentData.add_member(:url, Shapes::ShapeRef.new(shape: SyntheticContentDataUrl, required: true, location_name: "url"))
|
240
|
+
ContentData.add_member(:url_expiry, Shapes::ShapeRef.new(shape: SyntheticTimestamp_epoch_seconds, required: true, location_name: "urlExpiry"))
|
241
|
+
ContentData.struct_class = Types::ContentData
|
242
|
+
|
243
|
+
ContentMetadata.key = Shapes::ShapeRef.new(shape: NonEmptyString)
|
244
|
+
ContentMetadata.value = Shapes::ShapeRef.new(shape: NonEmptyString)
|
245
|
+
|
246
|
+
ContentReference.add_member(:content_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "contentArn"))
|
247
|
+
ContentReference.add_member(:content_id, Shapes::ShapeRef.new(shape: Uuid, location_name: "contentId"))
|
248
|
+
ContentReference.add_member(:knowledge_base_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "knowledgeBaseArn"))
|
249
|
+
ContentReference.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Uuid, location_name: "knowledgeBaseId"))
|
250
|
+
ContentReference.struct_class = Types::ContentReference
|
251
|
+
|
252
|
+
ContentSummary.add_member(:content_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "contentArn"))
|
253
|
+
ContentSummary.add_member(:content_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "contentId"))
|
254
|
+
ContentSummary.add_member(:content_type, Shapes::ShapeRef.new(shape: ContentType, required: true, location_name: "contentType"))
|
255
|
+
ContentSummary.add_member(:knowledge_base_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "knowledgeBaseArn"))
|
256
|
+
ContentSummary.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "knowledgeBaseId"))
|
257
|
+
ContentSummary.add_member(:metadata, Shapes::ShapeRef.new(shape: ContentMetadata, required: true, location_name: "metadata"))
|
258
|
+
ContentSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
259
|
+
ContentSummary.add_member(:revision_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "revisionId"))
|
260
|
+
ContentSummary.add_member(:status, Shapes::ShapeRef.new(shape: ContentStatus, required: true, location_name: "status"))
|
261
|
+
ContentSummary.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
262
|
+
ContentSummary.add_member(:title, Shapes::ShapeRef.new(shape: ContentTitle, required: true, location_name: "title"))
|
263
|
+
ContentSummary.struct_class = Types::ContentSummary
|
264
|
+
|
265
|
+
ContentSummaryList.member = Shapes::ShapeRef.new(shape: ContentSummary)
|
266
|
+
|
267
|
+
CreateAssistantAssociationRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
|
268
|
+
CreateAssistantAssociationRequest.add_member(:association, Shapes::ShapeRef.new(shape: AssistantAssociationInputData, required: true, location_name: "association"))
|
269
|
+
CreateAssistantAssociationRequest.add_member(:association_type, Shapes::ShapeRef.new(shape: AssociationType, required: true, location_name: "associationType"))
|
270
|
+
CreateAssistantAssociationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
271
|
+
CreateAssistantAssociationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
272
|
+
CreateAssistantAssociationRequest.struct_class = Types::CreateAssistantAssociationRequest
|
273
|
+
|
274
|
+
CreateAssistantAssociationResponse.add_member(:assistant_association, Shapes::ShapeRef.new(shape: AssistantAssociationData, location_name: "assistantAssociation"))
|
275
|
+
CreateAssistantAssociationResponse.struct_class = Types::CreateAssistantAssociationResponse
|
276
|
+
|
277
|
+
CreateAssistantRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
278
|
+
CreateAssistantRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
279
|
+
CreateAssistantRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
280
|
+
CreateAssistantRequest.add_member(:server_side_encryption_configuration, Shapes::ShapeRef.new(shape: ServerSideEncryptionConfiguration, location_name: "serverSideEncryptionConfiguration"))
|
281
|
+
CreateAssistantRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
282
|
+
CreateAssistantRequest.add_member(:type, Shapes::ShapeRef.new(shape: AssistantType, required: true, location_name: "type"))
|
283
|
+
CreateAssistantRequest.struct_class = Types::CreateAssistantRequest
|
284
|
+
|
285
|
+
CreateAssistantResponse.add_member(:assistant, Shapes::ShapeRef.new(shape: AssistantData, location_name: "assistant"))
|
286
|
+
CreateAssistantResponse.struct_class = Types::CreateAssistantResponse
|
287
|
+
|
288
|
+
CreateContentRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
289
|
+
CreateContentRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
|
290
|
+
CreateContentRequest.add_member(:metadata, Shapes::ShapeRef.new(shape: ContentMetadata, location_name: "metadata"))
|
291
|
+
CreateContentRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
292
|
+
CreateContentRequest.add_member(:override_link_out_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "overrideLinkOutUri"))
|
293
|
+
CreateContentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
294
|
+
CreateContentRequest.add_member(:title, Shapes::ShapeRef.new(shape: ContentTitle, location_name: "title"))
|
295
|
+
CreateContentRequest.add_member(:upload_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "uploadId"))
|
296
|
+
CreateContentRequest.struct_class = Types::CreateContentRequest
|
297
|
+
|
298
|
+
CreateContentResponse.add_member(:content, Shapes::ShapeRef.new(shape: ContentData, location_name: "content"))
|
299
|
+
CreateContentResponse.struct_class = Types::CreateContentResponse
|
300
|
+
|
301
|
+
CreateKnowledgeBaseRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
302
|
+
CreateKnowledgeBaseRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
303
|
+
CreateKnowledgeBaseRequest.add_member(:knowledge_base_type, Shapes::ShapeRef.new(shape: KnowledgeBaseType, required: true, location_name: "knowledgeBaseType"))
|
304
|
+
CreateKnowledgeBaseRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
305
|
+
CreateKnowledgeBaseRequest.add_member(:rendering_configuration, Shapes::ShapeRef.new(shape: RenderingConfiguration, location_name: "renderingConfiguration"))
|
306
|
+
CreateKnowledgeBaseRequest.add_member(:server_side_encryption_configuration, Shapes::ShapeRef.new(shape: ServerSideEncryptionConfiguration, location_name: "serverSideEncryptionConfiguration"))
|
307
|
+
CreateKnowledgeBaseRequest.add_member(:source_configuration, Shapes::ShapeRef.new(shape: SourceConfiguration, location_name: "sourceConfiguration"))
|
308
|
+
CreateKnowledgeBaseRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
309
|
+
CreateKnowledgeBaseRequest.struct_class = Types::CreateKnowledgeBaseRequest
|
310
|
+
|
311
|
+
CreateKnowledgeBaseResponse.add_member(:knowledge_base, Shapes::ShapeRef.new(shape: KnowledgeBaseData, location_name: "knowledgeBase"))
|
312
|
+
CreateKnowledgeBaseResponse.struct_class = Types::CreateKnowledgeBaseResponse
|
313
|
+
|
314
|
+
CreateSessionRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
|
315
|
+
CreateSessionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
316
|
+
CreateSessionRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
317
|
+
CreateSessionRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
318
|
+
CreateSessionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
319
|
+
CreateSessionRequest.struct_class = Types::CreateSessionRequest
|
320
|
+
|
321
|
+
CreateSessionResponse.add_member(:session, Shapes::ShapeRef.new(shape: SessionData, location_name: "session"))
|
322
|
+
CreateSessionResponse.struct_class = Types::CreateSessionResponse
|
323
|
+
|
324
|
+
DeleteAssistantAssociationRequest.add_member(:assistant_association_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantAssociationId"))
|
325
|
+
DeleteAssistantAssociationRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
|
326
|
+
DeleteAssistantAssociationRequest.struct_class = Types::DeleteAssistantAssociationRequest
|
327
|
+
|
328
|
+
DeleteAssistantAssociationResponse.struct_class = Types::DeleteAssistantAssociationResponse
|
329
|
+
|
330
|
+
DeleteAssistantRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
|
331
|
+
DeleteAssistantRequest.struct_class = Types::DeleteAssistantRequest
|
332
|
+
|
333
|
+
DeleteAssistantResponse.struct_class = Types::DeleteAssistantResponse
|
334
|
+
|
335
|
+
DeleteContentRequest.add_member(:content_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "contentId"))
|
336
|
+
DeleteContentRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
|
337
|
+
DeleteContentRequest.struct_class = Types::DeleteContentRequest
|
338
|
+
|
339
|
+
DeleteContentResponse.struct_class = Types::DeleteContentResponse
|
340
|
+
|
341
|
+
DeleteKnowledgeBaseRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
|
342
|
+
DeleteKnowledgeBaseRequest.struct_class = Types::DeleteKnowledgeBaseRequest
|
343
|
+
|
344
|
+
DeleteKnowledgeBaseResponse.struct_class = Types::DeleteKnowledgeBaseResponse
|
345
|
+
|
346
|
+
Document.add_member(:content_reference, Shapes::ShapeRef.new(shape: ContentReference, required: true, location_name: "contentReference"))
|
347
|
+
Document.add_member(:excerpt, Shapes::ShapeRef.new(shape: DocumentText, location_name: "excerpt"))
|
348
|
+
Document.add_member(:title, Shapes::ShapeRef.new(shape: DocumentText, location_name: "title"))
|
349
|
+
Document.struct_class = Types::Document
|
350
|
+
|
351
|
+
DocumentText.add_member(:highlights, Shapes::ShapeRef.new(shape: Highlights, location_name: "highlights"))
|
352
|
+
DocumentText.add_member(:text, Shapes::ShapeRef.new(shape: SyntheticDocumentTextString, location_name: "text"))
|
353
|
+
DocumentText.struct_class = Types::DocumentText
|
354
|
+
|
355
|
+
Filter.add_member(:field, Shapes::ShapeRef.new(shape: FilterField, required: true, location_name: "field"))
|
356
|
+
Filter.add_member(:operator, Shapes::ShapeRef.new(shape: FilterOperator, required: true, location_name: "operator"))
|
357
|
+
Filter.add_member(:value, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "value"))
|
358
|
+
Filter.struct_class = Types::Filter
|
359
|
+
|
360
|
+
FilterList.member = Shapes::ShapeRef.new(shape: Filter)
|
361
|
+
|
362
|
+
GetAssistantAssociationRequest.add_member(:assistant_association_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantAssociationId"))
|
363
|
+
GetAssistantAssociationRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
|
364
|
+
GetAssistantAssociationRequest.struct_class = Types::GetAssistantAssociationRequest
|
365
|
+
|
366
|
+
GetAssistantAssociationResponse.add_member(:assistant_association, Shapes::ShapeRef.new(shape: AssistantAssociationData, location_name: "assistantAssociation"))
|
367
|
+
GetAssistantAssociationResponse.struct_class = Types::GetAssistantAssociationResponse
|
368
|
+
|
369
|
+
GetAssistantRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
|
370
|
+
GetAssistantRequest.struct_class = Types::GetAssistantRequest
|
371
|
+
|
372
|
+
GetAssistantResponse.add_member(:assistant, Shapes::ShapeRef.new(shape: AssistantData, location_name: "assistant"))
|
373
|
+
GetAssistantResponse.struct_class = Types::GetAssistantResponse
|
374
|
+
|
375
|
+
GetContentRequest.add_member(:content_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "contentId"))
|
376
|
+
GetContentRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
|
377
|
+
GetContentRequest.struct_class = Types::GetContentRequest
|
378
|
+
|
379
|
+
GetContentResponse.add_member(:content, Shapes::ShapeRef.new(shape: ContentData, location_name: "content"))
|
380
|
+
GetContentResponse.struct_class = Types::GetContentResponse
|
381
|
+
|
382
|
+
GetContentSummaryRequest.add_member(:content_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "contentId"))
|
383
|
+
GetContentSummaryRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
|
384
|
+
GetContentSummaryRequest.struct_class = Types::GetContentSummaryRequest
|
385
|
+
|
386
|
+
GetContentSummaryResponse.add_member(:content_summary, Shapes::ShapeRef.new(shape: ContentSummary, location_name: "contentSummary"))
|
387
|
+
GetContentSummaryResponse.struct_class = Types::GetContentSummaryResponse
|
388
|
+
|
389
|
+
GetKnowledgeBaseRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
|
390
|
+
GetKnowledgeBaseRequest.struct_class = Types::GetKnowledgeBaseRequest
|
391
|
+
|
392
|
+
GetKnowledgeBaseResponse.add_member(:knowledge_base, Shapes::ShapeRef.new(shape: KnowledgeBaseData, location_name: "knowledgeBase"))
|
393
|
+
GetKnowledgeBaseResponse.struct_class = Types::GetKnowledgeBaseResponse
|
394
|
+
|
395
|
+
GetRecommendationsRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
|
396
|
+
GetRecommendationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
397
|
+
GetRecommendationsRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "sessionId"))
|
398
|
+
GetRecommendationsRequest.add_member(:wait_time_seconds, Shapes::ShapeRef.new(shape: WaitTimeSeconds, location: "querystring", location_name: "waitTimeSeconds"))
|
399
|
+
GetRecommendationsRequest.struct_class = Types::GetRecommendationsRequest
|
400
|
+
|
401
|
+
GetRecommendationsResponse.add_member(:recommendations, Shapes::ShapeRef.new(shape: RecommendationList, required: true, location_name: "recommendations"))
|
402
|
+
GetRecommendationsResponse.struct_class = Types::GetRecommendationsResponse
|
403
|
+
|
404
|
+
GetSessionRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
|
405
|
+
GetSessionRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "sessionId"))
|
406
|
+
GetSessionRequest.struct_class = Types::GetSessionRequest
|
407
|
+
|
408
|
+
GetSessionResponse.add_member(:session, Shapes::ShapeRef.new(shape: SessionData, location_name: "session"))
|
409
|
+
GetSessionResponse.struct_class = Types::GetSessionResponse
|
410
|
+
|
411
|
+
Headers.key = Shapes::ShapeRef.new(shape: NonEmptyString)
|
412
|
+
Headers.value = Shapes::ShapeRef.new(shape: NonEmptyString)
|
413
|
+
|
414
|
+
Highlight.add_member(:begin_offset_inclusive, Shapes::ShapeRef.new(shape: HighlightOffset, location_name: "beginOffsetInclusive"))
|
415
|
+
Highlight.add_member(:end_offset_exclusive, Shapes::ShapeRef.new(shape: HighlightOffset, location_name: "endOffsetExclusive"))
|
416
|
+
Highlight.struct_class = Types::Highlight
|
417
|
+
|
418
|
+
Highlights.member = Shapes::ShapeRef.new(shape: Highlight)
|
419
|
+
|
420
|
+
KnowledgeBaseAssociationData.add_member(:knowledge_base_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "knowledgeBaseArn"))
|
421
|
+
KnowledgeBaseAssociationData.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Uuid, location_name: "knowledgeBaseId"))
|
422
|
+
KnowledgeBaseAssociationData.struct_class = Types::KnowledgeBaseAssociationData
|
423
|
+
|
424
|
+
KnowledgeBaseData.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
425
|
+
KnowledgeBaseData.add_member(:knowledge_base_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "knowledgeBaseArn"))
|
426
|
+
KnowledgeBaseData.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "knowledgeBaseId"))
|
427
|
+
KnowledgeBaseData.add_member(:knowledge_base_type, Shapes::ShapeRef.new(shape: KnowledgeBaseType, required: true, location_name: "knowledgeBaseType"))
|
428
|
+
KnowledgeBaseData.add_member(:last_content_modification_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_epoch_seconds, location_name: "lastContentModificationTime"))
|
429
|
+
KnowledgeBaseData.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
430
|
+
KnowledgeBaseData.add_member(:rendering_configuration, Shapes::ShapeRef.new(shape: RenderingConfiguration, location_name: "renderingConfiguration"))
|
431
|
+
KnowledgeBaseData.add_member(:server_side_encryption_configuration, Shapes::ShapeRef.new(shape: ServerSideEncryptionConfiguration, location_name: "serverSideEncryptionConfiguration"))
|
432
|
+
KnowledgeBaseData.add_member(:source_configuration, Shapes::ShapeRef.new(shape: SourceConfiguration, location_name: "sourceConfiguration"))
|
433
|
+
KnowledgeBaseData.add_member(:status, Shapes::ShapeRef.new(shape: KnowledgeBaseStatus, required: true, location_name: "status"))
|
434
|
+
KnowledgeBaseData.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
435
|
+
KnowledgeBaseData.struct_class = Types::KnowledgeBaseData
|
436
|
+
|
437
|
+
KnowledgeBaseList.member = Shapes::ShapeRef.new(shape: KnowledgeBaseSummary)
|
438
|
+
|
439
|
+
KnowledgeBaseSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
440
|
+
KnowledgeBaseSummary.add_member(:knowledge_base_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "knowledgeBaseArn"))
|
441
|
+
KnowledgeBaseSummary.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "knowledgeBaseId"))
|
442
|
+
KnowledgeBaseSummary.add_member(:knowledge_base_type, Shapes::ShapeRef.new(shape: KnowledgeBaseType, required: true, location_name: "knowledgeBaseType"))
|
443
|
+
KnowledgeBaseSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
444
|
+
KnowledgeBaseSummary.add_member(:rendering_configuration, Shapes::ShapeRef.new(shape: RenderingConfiguration, location_name: "renderingConfiguration"))
|
445
|
+
KnowledgeBaseSummary.add_member(:server_side_encryption_configuration, Shapes::ShapeRef.new(shape: ServerSideEncryptionConfiguration, location_name: "serverSideEncryptionConfiguration"))
|
446
|
+
KnowledgeBaseSummary.add_member(:source_configuration, Shapes::ShapeRef.new(shape: SourceConfiguration, location_name: "sourceConfiguration"))
|
447
|
+
KnowledgeBaseSummary.add_member(:status, Shapes::ShapeRef.new(shape: KnowledgeBaseStatus, required: true, location_name: "status"))
|
448
|
+
KnowledgeBaseSummary.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
449
|
+
KnowledgeBaseSummary.struct_class = Types::KnowledgeBaseSummary
|
450
|
+
|
451
|
+
ListAssistantAssociationsRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
|
452
|
+
ListAssistantAssociationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
453
|
+
ListAssistantAssociationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
454
|
+
ListAssistantAssociationsRequest.struct_class = Types::ListAssistantAssociationsRequest
|
455
|
+
|
456
|
+
ListAssistantAssociationsResponse.add_member(:assistant_association_summaries, Shapes::ShapeRef.new(shape: AssistantAssociationSummaryList, required: true, location_name: "assistantAssociationSummaries"))
|
457
|
+
ListAssistantAssociationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
458
|
+
ListAssistantAssociationsResponse.struct_class = Types::ListAssistantAssociationsResponse
|
459
|
+
|
460
|
+
ListAssistantsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
461
|
+
ListAssistantsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
462
|
+
ListAssistantsRequest.struct_class = Types::ListAssistantsRequest
|
463
|
+
|
464
|
+
ListAssistantsResponse.add_member(:assistant_summaries, Shapes::ShapeRef.new(shape: AssistantList, required: true, location_name: "assistantSummaries"))
|
465
|
+
ListAssistantsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
466
|
+
ListAssistantsResponse.struct_class = Types::ListAssistantsResponse
|
467
|
+
|
468
|
+
ListContentsRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
|
469
|
+
ListContentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
470
|
+
ListContentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
471
|
+
ListContentsRequest.struct_class = Types::ListContentsRequest
|
472
|
+
|
473
|
+
ListContentsResponse.add_member(:content_summaries, Shapes::ShapeRef.new(shape: ContentSummaryList, required: true, location_name: "contentSummaries"))
|
474
|
+
ListContentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
475
|
+
ListContentsResponse.struct_class = Types::ListContentsResponse
|
476
|
+
|
477
|
+
ListKnowledgeBasesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
478
|
+
ListKnowledgeBasesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NonEmptyString, location: "querystring", location_name: "nextToken"))
|
479
|
+
ListKnowledgeBasesRequest.struct_class = Types::ListKnowledgeBasesRequest
|
480
|
+
|
481
|
+
ListKnowledgeBasesResponse.add_member(:knowledge_base_summaries, Shapes::ShapeRef.new(shape: KnowledgeBaseList, required: true, location_name: "knowledgeBaseSummaries"))
|
482
|
+
ListKnowledgeBasesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "nextToken"))
|
483
|
+
ListKnowledgeBasesResponse.struct_class = Types::ListKnowledgeBasesResponse
|
484
|
+
|
485
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
|
486
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
487
|
+
|
488
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
489
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
490
|
+
|
491
|
+
NotifyRecommendationsReceivedError.add_member(:message, Shapes::ShapeRef.new(shape: NotifyRecommendationsReceivedErrorMessage, location_name: "message"))
|
492
|
+
NotifyRecommendationsReceivedError.add_member(:recommendation_id, Shapes::ShapeRef.new(shape: String, location_name: "recommendationId"))
|
493
|
+
NotifyRecommendationsReceivedError.struct_class = Types::NotifyRecommendationsReceivedError
|
494
|
+
|
495
|
+
NotifyRecommendationsReceivedErrorList.member = Shapes::ShapeRef.new(shape: NotifyRecommendationsReceivedError)
|
496
|
+
|
497
|
+
NotifyRecommendationsReceivedRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
|
498
|
+
NotifyRecommendationsReceivedRequest.add_member(:recommendation_ids, Shapes::ShapeRef.new(shape: RecommendationIdList, required: true, location_name: "recommendationIds"))
|
499
|
+
NotifyRecommendationsReceivedRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "sessionId"))
|
500
|
+
NotifyRecommendationsReceivedRequest.struct_class = Types::NotifyRecommendationsReceivedRequest
|
501
|
+
|
502
|
+
NotifyRecommendationsReceivedResponse.add_member(:errors, Shapes::ShapeRef.new(shape: NotifyRecommendationsReceivedErrorList, location_name: "errors"))
|
503
|
+
NotifyRecommendationsReceivedResponse.add_member(:recommendation_ids, Shapes::ShapeRef.new(shape: RecommendationIdList, location_name: "recommendationIds"))
|
504
|
+
NotifyRecommendationsReceivedResponse.struct_class = Types::NotifyRecommendationsReceivedResponse
|
505
|
+
|
506
|
+
ObjectFieldsList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
507
|
+
|
508
|
+
PreconditionFailedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
509
|
+
PreconditionFailedException.struct_class = Types::PreconditionFailedException
|
510
|
+
|
511
|
+
QueryAssistantRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
|
512
|
+
QueryAssistantRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
513
|
+
QueryAssistantRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
514
|
+
QueryAssistantRequest.add_member(:query_text, Shapes::ShapeRef.new(shape: QueryText, required: true, location_name: "queryText"))
|
515
|
+
QueryAssistantRequest.struct_class = Types::QueryAssistantRequest
|
516
|
+
|
517
|
+
QueryAssistantResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
518
|
+
QueryAssistantResponse.add_member(:results, Shapes::ShapeRef.new(shape: QueryResultsList, required: true, location_name: "results"))
|
519
|
+
QueryAssistantResponse.struct_class = Types::QueryAssistantResponse
|
520
|
+
|
521
|
+
QueryResultsList.member = Shapes::ShapeRef.new(shape: ResultData)
|
522
|
+
|
523
|
+
RecommendationData.add_member(:document, Shapes::ShapeRef.new(shape: Document, required: true, location_name: "document"))
|
524
|
+
RecommendationData.add_member(:recommendation_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "recommendationId"))
|
525
|
+
RecommendationData.add_member(:relevance_level, Shapes::ShapeRef.new(shape: RelevanceLevel, location_name: "relevanceLevel"))
|
526
|
+
RecommendationData.add_member(:relevance_score, Shapes::ShapeRef.new(shape: RelevanceScore, location_name: "relevanceScore"))
|
527
|
+
RecommendationData.struct_class = Types::RecommendationData
|
528
|
+
|
529
|
+
RecommendationIdList.member = Shapes::ShapeRef.new(shape: String)
|
530
|
+
|
531
|
+
RecommendationList.member = Shapes::ShapeRef.new(shape: RecommendationData)
|
532
|
+
|
533
|
+
RemoveKnowledgeBaseTemplateUriRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
|
534
|
+
RemoveKnowledgeBaseTemplateUriRequest.struct_class = Types::RemoveKnowledgeBaseTemplateUriRequest
|
535
|
+
|
536
|
+
RemoveKnowledgeBaseTemplateUriResponse.struct_class = Types::RemoveKnowledgeBaseTemplateUriResponse
|
537
|
+
|
538
|
+
RenderingConfiguration.add_member(:template_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "templateUri"))
|
539
|
+
RenderingConfiguration.struct_class = Types::RenderingConfiguration
|
540
|
+
|
541
|
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
542
|
+
ResourceNotFoundException.add_member(:resource_name, Shapes::ShapeRef.new(shape: String, location_name: "resourceName"))
|
543
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
544
|
+
|
545
|
+
ResultData.add_member(:document, Shapes::ShapeRef.new(shape: Document, required: true, location_name: "document"))
|
546
|
+
ResultData.add_member(:relevance_score, Shapes::ShapeRef.new(shape: RelevanceScore, location_name: "relevanceScore"))
|
547
|
+
ResultData.add_member(:result_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "resultId"))
|
548
|
+
ResultData.struct_class = Types::ResultData
|
549
|
+
|
550
|
+
SearchContentRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
|
551
|
+
SearchContentRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
552
|
+
SearchContentRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
553
|
+
SearchContentRequest.add_member(:search_expression, Shapes::ShapeRef.new(shape: SearchExpression, required: true, location_name: "searchExpression"))
|
554
|
+
SearchContentRequest.struct_class = Types::SearchContentRequest
|
555
|
+
|
556
|
+
SearchContentResponse.add_member(:content_summaries, Shapes::ShapeRef.new(shape: ContentSummaryList, required: true, location_name: "contentSummaries"))
|
557
|
+
SearchContentResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
558
|
+
SearchContentResponse.struct_class = Types::SearchContentResponse
|
559
|
+
|
560
|
+
SearchExpression.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, required: true, location_name: "filters"))
|
561
|
+
SearchExpression.struct_class = Types::SearchExpression
|
562
|
+
|
563
|
+
SearchSessionsRequest.add_member(:assistant_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "assistantId"))
|
564
|
+
SearchSessionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
565
|
+
SearchSessionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
566
|
+
SearchSessionsRequest.add_member(:search_expression, Shapes::ShapeRef.new(shape: SearchExpression, required: true, location_name: "searchExpression"))
|
567
|
+
SearchSessionsRequest.struct_class = Types::SearchSessionsRequest
|
568
|
+
|
569
|
+
SearchSessionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
570
|
+
SearchSessionsResponse.add_member(:session_summaries, Shapes::ShapeRef.new(shape: SessionSummaries, required: true, location_name: "sessionSummaries"))
|
571
|
+
SearchSessionsResponse.struct_class = Types::SearchSessionsResponse
|
572
|
+
|
573
|
+
ServerSideEncryptionConfiguration.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "kmsKeyId"))
|
574
|
+
ServerSideEncryptionConfiguration.struct_class = Types::ServerSideEncryptionConfiguration
|
575
|
+
|
576
|
+
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
577
|
+
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
578
|
+
|
579
|
+
SessionData.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
580
|
+
SessionData.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
|
581
|
+
SessionData.add_member(:session_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "sessionArn"))
|
582
|
+
SessionData.add_member(:session_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "sessionId"))
|
583
|
+
SessionData.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
584
|
+
SessionData.struct_class = Types::SessionData
|
585
|
+
|
586
|
+
SessionSummaries.member = Shapes::ShapeRef.new(shape: SessionSummary)
|
587
|
+
|
588
|
+
SessionSummary.add_member(:assistant_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "assistantArn"))
|
589
|
+
SessionSummary.add_member(:assistant_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "assistantId"))
|
590
|
+
SessionSummary.add_member(:session_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "sessionArn"))
|
591
|
+
SessionSummary.add_member(:session_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "sessionId"))
|
592
|
+
SessionSummary.struct_class = Types::SessionSummary
|
593
|
+
|
594
|
+
SourceConfiguration.add_member(:app_integrations, Shapes::ShapeRef.new(shape: AppIntegrationsConfiguration, location_name: "appIntegrations"))
|
595
|
+
SourceConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
596
|
+
SourceConfiguration.add_member_subclass(:app_integrations, Types::SourceConfiguration::AppIntegrations)
|
597
|
+
SourceConfiguration.add_member_subclass(:unknown, Types::SourceConfiguration::Unknown)
|
598
|
+
SourceConfiguration.struct_class = Types::SourceConfiguration
|
599
|
+
|
600
|
+
StartContentUploadRequest.add_member(:content_type, Shapes::ShapeRef.new(shape: ContentType, required: true, location_name: "contentType"))
|
601
|
+
StartContentUploadRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
|
602
|
+
StartContentUploadRequest.struct_class = Types::StartContentUploadRequest
|
603
|
+
|
604
|
+
StartContentUploadResponse.add_member(:headers_to_include, Shapes::ShapeRef.new(shape: Headers, required: true, location_name: "headersToInclude"))
|
605
|
+
StartContentUploadResponse.add_member(:upload_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "uploadId"))
|
606
|
+
StartContentUploadResponse.add_member(:url, Shapes::ShapeRef.new(shape: SyntheticStartContentUploadResponseUrl, required: true, location_name: "url"))
|
607
|
+
StartContentUploadResponse.add_member(:url_expiry, Shapes::ShapeRef.new(shape: SyntheticTimestamp_epoch_seconds, required: true, location_name: "urlExpiry"))
|
608
|
+
StartContentUploadResponse.struct_class = Types::StartContentUploadResponse
|
609
|
+
|
610
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
611
|
+
|
612
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
|
613
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "tags"))
|
614
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
615
|
+
|
616
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
617
|
+
|
618
|
+
Tags.key = Shapes::ShapeRef.new(shape: TagKey)
|
619
|
+
Tags.value = Shapes::ShapeRef.new(shape: TagValue)
|
620
|
+
|
621
|
+
TooManyTagsException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
622
|
+
TooManyTagsException.add_member(:resource_name, Shapes::ShapeRef.new(shape: String, location_name: "resourceName"))
|
623
|
+
TooManyTagsException.struct_class = Types::TooManyTagsException
|
624
|
+
|
625
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
|
626
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
|
627
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
628
|
+
|
629
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
630
|
+
|
631
|
+
UpdateContentRequest.add_member(:content_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "contentId"))
|
632
|
+
UpdateContentRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
|
633
|
+
UpdateContentRequest.add_member(:metadata, Shapes::ShapeRef.new(shape: ContentMetadata, location_name: "metadata"))
|
634
|
+
UpdateContentRequest.add_member(:override_link_out_uri, Shapes::ShapeRef.new(shape: Uri, location_name: "overrideLinkOutUri"))
|
635
|
+
UpdateContentRequest.add_member(:remove_override_link_out_uri, Shapes::ShapeRef.new(shape: Boolean, location_name: "removeOverrideLinkOutUri"))
|
636
|
+
UpdateContentRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "revisionId"))
|
637
|
+
UpdateContentRequest.add_member(:title, Shapes::ShapeRef.new(shape: ContentTitle, location_name: "title"))
|
638
|
+
UpdateContentRequest.add_member(:upload_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "uploadId"))
|
639
|
+
UpdateContentRequest.struct_class = Types::UpdateContentRequest
|
640
|
+
|
641
|
+
UpdateContentResponse.add_member(:content, Shapes::ShapeRef.new(shape: ContentData, location_name: "content"))
|
642
|
+
UpdateContentResponse.struct_class = Types::UpdateContentResponse
|
643
|
+
|
644
|
+
UpdateKnowledgeBaseTemplateUriRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: UuidOrArn, required: true, location: "uri", location_name: "knowledgeBaseId"))
|
645
|
+
UpdateKnowledgeBaseTemplateUriRequest.add_member(:template_uri, Shapes::ShapeRef.new(shape: Uri, required: true, location_name: "templateUri"))
|
646
|
+
UpdateKnowledgeBaseTemplateUriRequest.struct_class = Types::UpdateKnowledgeBaseTemplateUriRequest
|
647
|
+
|
648
|
+
UpdateKnowledgeBaseTemplateUriResponse.add_member(:knowledge_base, Shapes::ShapeRef.new(shape: KnowledgeBaseData, location_name: "knowledgeBase"))
|
649
|
+
UpdateKnowledgeBaseTemplateUriResponse.struct_class = Types::UpdateKnowledgeBaseTemplateUriResponse
|
650
|
+
|
651
|
+
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
652
|
+
ValidationException.struct_class = Types::ValidationException
|
653
|
+
|
654
|
+
|
655
|
+
# @api private
|
656
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
657
|
+
|
658
|
+
api.version = "2020-10-19"
|
659
|
+
|
660
|
+
api.metadata = {
|
661
|
+
"apiVersion" => "2020-10-19",
|
662
|
+
"endpointPrefix" => "wisdom",
|
663
|
+
"jsonVersion" => "1.1",
|
664
|
+
"protocol" => "rest-json",
|
665
|
+
"serviceFullName" => "Amazon Connect Wisdom Service",
|
666
|
+
"serviceId" => "Wisdom",
|
667
|
+
"signatureVersion" => "v4",
|
668
|
+
"signingName" => "wisdom",
|
669
|
+
"uid" => "wisdom-2020-10-19",
|
670
|
+
}
|
671
|
+
|
672
|
+
api.add_operation(:create_assistant, Seahorse::Model::Operation.new.tap do |o|
|
673
|
+
o.name = "CreateAssistant"
|
674
|
+
o.http_method = "POST"
|
675
|
+
o.http_request_uri = "/assistants"
|
676
|
+
o.input = Shapes::ShapeRef.new(shape: CreateAssistantRequest)
|
677
|
+
o.output = Shapes::ShapeRef.new(shape: CreateAssistantResponse)
|
678
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
679
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
680
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
681
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
682
|
+
end)
|
683
|
+
|
684
|
+
api.add_operation(:create_assistant_association, Seahorse::Model::Operation.new.tap do |o|
|
685
|
+
o.name = "CreateAssistantAssociation"
|
686
|
+
o.http_method = "POST"
|
687
|
+
o.http_request_uri = "/assistants/{assistantId}/associations"
|
688
|
+
o.input = Shapes::ShapeRef.new(shape: CreateAssistantAssociationRequest)
|
689
|
+
o.output = Shapes::ShapeRef.new(shape: CreateAssistantAssociationResponse)
|
690
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
691
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
692
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
693
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
694
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
695
|
+
end)
|
696
|
+
|
697
|
+
api.add_operation(:create_content, Seahorse::Model::Operation.new.tap do |o|
|
698
|
+
o.name = "CreateContent"
|
699
|
+
o.http_method = "POST"
|
700
|
+
o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/contents"
|
701
|
+
o.input = Shapes::ShapeRef.new(shape: CreateContentRequest)
|
702
|
+
o.output = Shapes::ShapeRef.new(shape: CreateContentResponse)
|
703
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
704
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
705
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
706
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
707
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
708
|
+
end)
|
709
|
+
|
710
|
+
api.add_operation(:create_knowledge_base, Seahorse::Model::Operation.new.tap do |o|
|
711
|
+
o.name = "CreateKnowledgeBase"
|
712
|
+
o.http_method = "POST"
|
713
|
+
o.http_request_uri = "/knowledgeBases"
|
714
|
+
o.input = Shapes::ShapeRef.new(shape: CreateKnowledgeBaseRequest)
|
715
|
+
o.output = Shapes::ShapeRef.new(shape: CreateKnowledgeBaseResponse)
|
716
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
717
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
718
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
719
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
720
|
+
end)
|
721
|
+
|
722
|
+
api.add_operation(:create_session, Seahorse::Model::Operation.new.tap do |o|
|
723
|
+
o.name = "CreateSession"
|
724
|
+
o.http_method = "POST"
|
725
|
+
o.http_request_uri = "/assistants/{assistantId}/sessions"
|
726
|
+
o.input = Shapes::ShapeRef.new(shape: CreateSessionRequest)
|
727
|
+
o.output = Shapes::ShapeRef.new(shape: CreateSessionResponse)
|
728
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
729
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
730
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
731
|
+
end)
|
732
|
+
|
733
|
+
api.add_operation(:delete_assistant, Seahorse::Model::Operation.new.tap do |o|
|
734
|
+
o.name = "DeleteAssistant"
|
735
|
+
o.http_method = "DELETE"
|
736
|
+
o.http_request_uri = "/assistants/{assistantId}"
|
737
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteAssistantRequest)
|
738
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteAssistantResponse)
|
739
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
740
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
741
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
742
|
+
end)
|
743
|
+
|
744
|
+
api.add_operation(:delete_assistant_association, Seahorse::Model::Operation.new.tap do |o|
|
745
|
+
o.name = "DeleteAssistantAssociation"
|
746
|
+
o.http_method = "DELETE"
|
747
|
+
o.http_request_uri = "/assistants/{assistantId}/associations/{assistantAssociationId}"
|
748
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteAssistantAssociationRequest)
|
749
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteAssistantAssociationResponse)
|
750
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
751
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
752
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
753
|
+
end)
|
754
|
+
|
755
|
+
api.add_operation(:delete_content, Seahorse::Model::Operation.new.tap do |o|
|
756
|
+
o.name = "DeleteContent"
|
757
|
+
o.http_method = "DELETE"
|
758
|
+
o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/contents/{contentId}"
|
759
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteContentRequest)
|
760
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteContentResponse)
|
761
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
762
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
763
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
764
|
+
end)
|
765
|
+
|
766
|
+
api.add_operation(:delete_knowledge_base, Seahorse::Model::Operation.new.tap do |o|
|
767
|
+
o.name = "DeleteKnowledgeBase"
|
768
|
+
o.http_method = "DELETE"
|
769
|
+
o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}"
|
770
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteKnowledgeBaseRequest)
|
771
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteKnowledgeBaseResponse)
|
772
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
773
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
774
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
775
|
+
end)
|
776
|
+
|
777
|
+
api.add_operation(:get_assistant, Seahorse::Model::Operation.new.tap do |o|
|
778
|
+
o.name = "GetAssistant"
|
779
|
+
o.http_method = "GET"
|
780
|
+
o.http_request_uri = "/assistants/{assistantId}"
|
781
|
+
o.input = Shapes::ShapeRef.new(shape: GetAssistantRequest)
|
782
|
+
o.output = Shapes::ShapeRef.new(shape: GetAssistantResponse)
|
783
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
784
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
785
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
786
|
+
end)
|
787
|
+
|
788
|
+
api.add_operation(:get_assistant_association, Seahorse::Model::Operation.new.tap do |o|
|
789
|
+
o.name = "GetAssistantAssociation"
|
790
|
+
o.http_method = "GET"
|
791
|
+
o.http_request_uri = "/assistants/{assistantId}/associations/{assistantAssociationId}"
|
792
|
+
o.input = Shapes::ShapeRef.new(shape: GetAssistantAssociationRequest)
|
793
|
+
o.output = Shapes::ShapeRef.new(shape: GetAssistantAssociationResponse)
|
794
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
795
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
796
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
797
|
+
end)
|
798
|
+
|
799
|
+
api.add_operation(:get_content, Seahorse::Model::Operation.new.tap do |o|
|
800
|
+
o.name = "GetContent"
|
801
|
+
o.http_method = "GET"
|
802
|
+
o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/contents/{contentId}"
|
803
|
+
o.input = Shapes::ShapeRef.new(shape: GetContentRequest)
|
804
|
+
o.output = Shapes::ShapeRef.new(shape: GetContentResponse)
|
805
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
806
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
807
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
808
|
+
end)
|
809
|
+
|
810
|
+
api.add_operation(:get_content_summary, Seahorse::Model::Operation.new.tap do |o|
|
811
|
+
o.name = "GetContentSummary"
|
812
|
+
o.http_method = "GET"
|
813
|
+
o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/contents/{contentId}/summary"
|
814
|
+
o.input = Shapes::ShapeRef.new(shape: GetContentSummaryRequest)
|
815
|
+
o.output = Shapes::ShapeRef.new(shape: GetContentSummaryResponse)
|
816
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
817
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
818
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
819
|
+
end)
|
820
|
+
|
821
|
+
api.add_operation(:get_knowledge_base, Seahorse::Model::Operation.new.tap do |o|
|
822
|
+
o.name = "GetKnowledgeBase"
|
823
|
+
o.http_method = "GET"
|
824
|
+
o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}"
|
825
|
+
o.input = Shapes::ShapeRef.new(shape: GetKnowledgeBaseRequest)
|
826
|
+
o.output = Shapes::ShapeRef.new(shape: GetKnowledgeBaseResponse)
|
827
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
828
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
829
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
830
|
+
end)
|
831
|
+
|
832
|
+
api.add_operation(:get_recommendations, Seahorse::Model::Operation.new.tap do |o|
|
833
|
+
o.name = "GetRecommendations"
|
834
|
+
o.http_method = "GET"
|
835
|
+
o.http_request_uri = "/assistants/{assistantId}/sessions/{sessionId}/recommendations"
|
836
|
+
o.input = Shapes::ShapeRef.new(shape: GetRecommendationsRequest)
|
837
|
+
o.output = Shapes::ShapeRef.new(shape: GetRecommendationsResponse)
|
838
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
839
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
840
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
841
|
+
end)
|
842
|
+
|
843
|
+
api.add_operation(:get_session, Seahorse::Model::Operation.new.tap do |o|
|
844
|
+
o.name = "GetSession"
|
845
|
+
o.http_method = "GET"
|
846
|
+
o.http_request_uri = "/assistants/{assistantId}/sessions/{sessionId}"
|
847
|
+
o.input = Shapes::ShapeRef.new(shape: GetSessionRequest)
|
848
|
+
o.output = Shapes::ShapeRef.new(shape: GetSessionResponse)
|
849
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
850
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
851
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
852
|
+
end)
|
853
|
+
|
854
|
+
api.add_operation(:list_assistant_associations, Seahorse::Model::Operation.new.tap do |o|
|
855
|
+
o.name = "ListAssistantAssociations"
|
856
|
+
o.http_method = "GET"
|
857
|
+
o.http_request_uri = "/assistants/{assistantId}/associations"
|
858
|
+
o.input = Shapes::ShapeRef.new(shape: ListAssistantAssociationsRequest)
|
859
|
+
o.output = Shapes::ShapeRef.new(shape: ListAssistantAssociationsResponse)
|
860
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
861
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
862
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
863
|
+
o[:pager] = Aws::Pager.new(
|
864
|
+
limit_key: "max_results",
|
865
|
+
tokens: {
|
866
|
+
"next_token" => "next_token"
|
867
|
+
}
|
868
|
+
)
|
869
|
+
end)
|
870
|
+
|
871
|
+
api.add_operation(:list_assistants, Seahorse::Model::Operation.new.tap do |o|
|
872
|
+
o.name = "ListAssistants"
|
873
|
+
o.http_method = "GET"
|
874
|
+
o.http_request_uri = "/assistants"
|
875
|
+
o.input = Shapes::ShapeRef.new(shape: ListAssistantsRequest)
|
876
|
+
o.output = Shapes::ShapeRef.new(shape: ListAssistantsResponse)
|
877
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
878
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
879
|
+
o[:pager] = Aws::Pager.new(
|
880
|
+
limit_key: "max_results",
|
881
|
+
tokens: {
|
882
|
+
"next_token" => "next_token"
|
883
|
+
}
|
884
|
+
)
|
885
|
+
end)
|
886
|
+
|
887
|
+
api.add_operation(:list_contents, Seahorse::Model::Operation.new.tap do |o|
|
888
|
+
o.name = "ListContents"
|
889
|
+
o.http_method = "GET"
|
890
|
+
o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/contents"
|
891
|
+
o.input = Shapes::ShapeRef.new(shape: ListContentsRequest)
|
892
|
+
o.output = Shapes::ShapeRef.new(shape: ListContentsResponse)
|
893
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
894
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
895
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
896
|
+
o[:pager] = Aws::Pager.new(
|
897
|
+
limit_key: "max_results",
|
898
|
+
tokens: {
|
899
|
+
"next_token" => "next_token"
|
900
|
+
}
|
901
|
+
)
|
902
|
+
end)
|
903
|
+
|
904
|
+
api.add_operation(:list_knowledge_bases, Seahorse::Model::Operation.new.tap do |o|
|
905
|
+
o.name = "ListKnowledgeBases"
|
906
|
+
o.http_method = "GET"
|
907
|
+
o.http_request_uri = "/knowledgeBases"
|
908
|
+
o.input = Shapes::ShapeRef.new(shape: ListKnowledgeBasesRequest)
|
909
|
+
o.output = Shapes::ShapeRef.new(shape: ListKnowledgeBasesResponse)
|
910
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
911
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
912
|
+
o[:pager] = Aws::Pager.new(
|
913
|
+
limit_key: "max_results",
|
914
|
+
tokens: {
|
915
|
+
"next_token" => "next_token"
|
916
|
+
}
|
917
|
+
)
|
918
|
+
end)
|
919
|
+
|
920
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
921
|
+
o.name = "ListTagsForResource"
|
922
|
+
o.http_method = "GET"
|
923
|
+
o.http_request_uri = "/tags/{resourceArn}"
|
924
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
925
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
926
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
927
|
+
end)
|
928
|
+
|
929
|
+
api.add_operation(:notify_recommendations_received, Seahorse::Model::Operation.new.tap do |o|
|
930
|
+
o.name = "NotifyRecommendationsReceived"
|
931
|
+
o.http_method = "POST"
|
932
|
+
o.http_request_uri = "/assistants/{assistantId}/sessions/{sessionId}/recommendations/notify"
|
933
|
+
o.input = Shapes::ShapeRef.new(shape: NotifyRecommendationsReceivedRequest)
|
934
|
+
o.output = Shapes::ShapeRef.new(shape: NotifyRecommendationsReceivedResponse)
|
935
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
936
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
937
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
938
|
+
end)
|
939
|
+
|
940
|
+
api.add_operation(:query_assistant, Seahorse::Model::Operation.new.tap do |o|
|
941
|
+
o.name = "QueryAssistant"
|
942
|
+
o.http_method = "POST"
|
943
|
+
o.http_request_uri = "/assistants/{assistantId}/query"
|
944
|
+
o.input = Shapes::ShapeRef.new(shape: QueryAssistantRequest)
|
945
|
+
o.output = Shapes::ShapeRef.new(shape: QueryAssistantResponse)
|
946
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
947
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
948
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
949
|
+
o[:pager] = Aws::Pager.new(
|
950
|
+
limit_key: "max_results",
|
951
|
+
tokens: {
|
952
|
+
"next_token" => "next_token"
|
953
|
+
}
|
954
|
+
)
|
955
|
+
end)
|
956
|
+
|
957
|
+
api.add_operation(:remove_knowledge_base_template_uri, Seahorse::Model::Operation.new.tap do |o|
|
958
|
+
o.name = "RemoveKnowledgeBaseTemplateUri"
|
959
|
+
o.http_method = "DELETE"
|
960
|
+
o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/templateUri"
|
961
|
+
o.input = Shapes::ShapeRef.new(shape: RemoveKnowledgeBaseTemplateUriRequest)
|
962
|
+
o.output = Shapes::ShapeRef.new(shape: RemoveKnowledgeBaseTemplateUriResponse)
|
963
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
964
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
965
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
966
|
+
end)
|
967
|
+
|
968
|
+
api.add_operation(:search_content, Seahorse::Model::Operation.new.tap do |o|
|
969
|
+
o.name = "SearchContent"
|
970
|
+
o.http_method = "POST"
|
971
|
+
o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/search"
|
972
|
+
o.input = Shapes::ShapeRef.new(shape: SearchContentRequest)
|
973
|
+
o.output = Shapes::ShapeRef.new(shape: SearchContentResponse)
|
974
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
975
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
976
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
977
|
+
o[:pager] = Aws::Pager.new(
|
978
|
+
limit_key: "max_results",
|
979
|
+
tokens: {
|
980
|
+
"next_token" => "next_token"
|
981
|
+
}
|
982
|
+
)
|
983
|
+
end)
|
984
|
+
|
985
|
+
api.add_operation(:search_sessions, Seahorse::Model::Operation.new.tap do |o|
|
986
|
+
o.name = "SearchSessions"
|
987
|
+
o.http_method = "POST"
|
988
|
+
o.http_request_uri = "/assistants/{assistantId}/searchSessions"
|
989
|
+
o.input = Shapes::ShapeRef.new(shape: SearchSessionsRequest)
|
990
|
+
o.output = Shapes::ShapeRef.new(shape: SearchSessionsResponse)
|
991
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
992
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
993
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
994
|
+
o[:pager] = Aws::Pager.new(
|
995
|
+
limit_key: "max_results",
|
996
|
+
tokens: {
|
997
|
+
"next_token" => "next_token"
|
998
|
+
}
|
999
|
+
)
|
1000
|
+
end)
|
1001
|
+
|
1002
|
+
api.add_operation(:start_content_upload, Seahorse::Model::Operation.new.tap do |o|
|
1003
|
+
o.name = "StartContentUpload"
|
1004
|
+
o.http_method = "POST"
|
1005
|
+
o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/upload"
|
1006
|
+
o.input = Shapes::ShapeRef.new(shape: StartContentUploadRequest)
|
1007
|
+
o.output = Shapes::ShapeRef.new(shape: StartContentUploadResponse)
|
1008
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1009
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1010
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1011
|
+
end)
|
1012
|
+
|
1013
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
1014
|
+
o.name = "TagResource"
|
1015
|
+
o.http_method = "POST"
|
1016
|
+
o.http_request_uri = "/tags/{resourceArn}"
|
1017
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
1018
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
1019
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
1020
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1021
|
+
end)
|
1022
|
+
|
1023
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
1024
|
+
o.name = "UntagResource"
|
1025
|
+
o.http_method = "DELETE"
|
1026
|
+
o.http_request_uri = "/tags/{resourceArn}"
|
1027
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
1028
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
1029
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1030
|
+
end)
|
1031
|
+
|
1032
|
+
api.add_operation(:update_content, Seahorse::Model::Operation.new.tap do |o|
|
1033
|
+
o.name = "UpdateContent"
|
1034
|
+
o.http_method = "POST"
|
1035
|
+
o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/contents/{contentId}"
|
1036
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateContentRequest)
|
1037
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateContentResponse)
|
1038
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1039
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1040
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
1041
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1042
|
+
end)
|
1043
|
+
|
1044
|
+
api.add_operation(:update_knowledge_base_template_uri, Seahorse::Model::Operation.new.tap do |o|
|
1045
|
+
o.name = "UpdateKnowledgeBaseTemplateUri"
|
1046
|
+
o.http_method = "POST"
|
1047
|
+
o.http_request_uri = "/knowledgeBases/{knowledgeBaseId}/templateUri"
|
1048
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateKnowledgeBaseTemplateUriRequest)
|
1049
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateKnowledgeBaseTemplateUriResponse)
|
1050
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1051
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1052
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1053
|
+
end)
|
1054
|
+
end
|
1055
|
+
|
1056
|
+
end
|
1057
|
+
end
|