aws-sdk-qapps 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,991 @@
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::QApps
11
+ # @api private
12
+ module ClientApi
13
+
14
+ include Seahorse::Model
15
+
16
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
+ AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
18
+ AppArn = Shapes::StringShape.new(name: 'AppArn')
19
+ AppDefinition = Shapes::StructureShape.new(name: 'AppDefinition')
20
+ AppDefinitionInput = Shapes::StructureShape.new(name: 'AppDefinitionInput')
21
+ AppRequiredCapabilities = Shapes::ListShape.new(name: 'AppRequiredCapabilities')
22
+ AppRequiredCapability = Shapes::StringShape.new(name: 'AppRequiredCapability')
23
+ AppStatus = Shapes::StringShape.new(name: 'AppStatus')
24
+ AppVersion = Shapes::IntegerShape.new(name: 'AppVersion')
25
+ AssociateLibraryItemReviewInput = Shapes::StructureShape.new(name: 'AssociateLibraryItemReviewInput')
26
+ AssociateQAppWithUserInput = Shapes::StructureShape.new(name: 'AssociateQAppWithUserInput')
27
+ AttributeFilter = Shapes::StructureShape.new(name: 'AttributeFilter')
28
+ AttributeFilters = Shapes::ListShape.new(name: 'AttributeFilters')
29
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
30
+ Card = Shapes::UnionShape.new(name: 'Card')
31
+ CardInput = Shapes::UnionShape.new(name: 'CardInput')
32
+ CardList = Shapes::ListShape.new(name: 'CardList')
33
+ CardModelList = Shapes::ListShape.new(name: 'CardModelList')
34
+ CardOutputSource = Shapes::StringShape.new(name: 'CardOutputSource')
35
+ CardStatus = Shapes::StructureShape.new(name: 'CardStatus')
36
+ CardStatusMap = Shapes::MapShape.new(name: 'CardStatusMap')
37
+ CardType = Shapes::StringShape.new(name: 'CardType')
38
+ CardValue = Shapes::StructureShape.new(name: 'CardValue')
39
+ CardValueList = Shapes::ListShape.new(name: 'CardValueList')
40
+ CardValueValueString = Shapes::StringShape.new(name: 'CardValueValueString')
41
+ Category = Shapes::StructureShape.new(name: 'Category')
42
+ CategoryIdList = Shapes::ListShape.new(name: 'CategoryIdList')
43
+ CategoryList = Shapes::ListShape.new(name: 'CategoryList')
44
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
45
+ ContentTooLargeException = Shapes::StructureShape.new(name: 'ContentTooLargeException')
46
+ ConversationMessage = Shapes::StructureShape.new(name: 'ConversationMessage')
47
+ ConversationMessageBodyString = Shapes::StringShape.new(name: 'ConversationMessageBodyString')
48
+ CreateLibraryItemInput = Shapes::StructureShape.new(name: 'CreateLibraryItemInput')
49
+ CreateLibraryItemOutput = Shapes::StructureShape.new(name: 'CreateLibraryItemOutput')
50
+ CreateQAppInput = Shapes::StructureShape.new(name: 'CreateQAppInput')
51
+ CreateQAppOutput = Shapes::StructureShape.new(name: 'CreateQAppOutput')
52
+ Default = Shapes::StringShape.new(name: 'Default')
53
+ DeleteLibraryItemInput = Shapes::StructureShape.new(name: 'DeleteLibraryItemInput')
54
+ DeleteQAppInput = Shapes::StructureShape.new(name: 'DeleteQAppInput')
55
+ DependencyList = Shapes::ListShape.new(name: 'DependencyList')
56
+ Description = Shapes::StringShape.new(name: 'Description')
57
+ DisassociateLibraryItemReviewInput = Shapes::StructureShape.new(name: 'DisassociateLibraryItemReviewInput')
58
+ DisassociateQAppFromUserInput = Shapes::StructureShape.new(name: 'DisassociateQAppFromUserInput')
59
+ DocumentAttribute = Shapes::StructureShape.new(name: 'DocumentAttribute')
60
+ DocumentAttributeKey = Shapes::StringShape.new(name: 'DocumentAttributeKey')
61
+ DocumentAttributeStringListValue = Shapes::ListShape.new(name: 'DocumentAttributeStringListValue')
62
+ DocumentAttributeValue = Shapes::UnionShape.new(name: 'DocumentAttributeValue')
63
+ DocumentAttributeValueStringValueString = Shapes::StringShape.new(name: 'DocumentAttributeValueStringValueString')
64
+ DocumentScope = Shapes::StringShape.new(name: 'DocumentScope')
65
+ ExecutionStatus = Shapes::StringShape.new(name: 'ExecutionStatus')
66
+ FileUploadCard = Shapes::StructureShape.new(name: 'FileUploadCard')
67
+ FileUploadCardInput = Shapes::StructureShape.new(name: 'FileUploadCardInput')
68
+ Filename = Shapes::StringShape.new(name: 'Filename')
69
+ GetLibraryItemInput = Shapes::StructureShape.new(name: 'GetLibraryItemInput')
70
+ GetLibraryItemOutput = Shapes::StructureShape.new(name: 'GetLibraryItemOutput')
71
+ GetQAppInput = Shapes::StructureShape.new(name: 'GetQAppInput')
72
+ GetQAppOutput = Shapes::StructureShape.new(name: 'GetQAppOutput')
73
+ GetQAppSessionInput = Shapes::StructureShape.new(name: 'GetQAppSessionInput')
74
+ GetQAppSessionOutput = Shapes::StructureShape.new(name: 'GetQAppSessionOutput')
75
+ ImportDocumentInput = Shapes::StructureShape.new(name: 'ImportDocumentInput')
76
+ ImportDocumentOutput = Shapes::StructureShape.new(name: 'ImportDocumentOutput')
77
+ InitialPrompt = Shapes::StringShape.new(name: 'InitialPrompt')
78
+ InstanceId = Shapes::StringShape.new(name: 'InstanceId')
79
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
80
+ InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
81
+ LibraryItemList = Shapes::ListShape.new(name: 'LibraryItemList')
82
+ LibraryItemMember = Shapes::StructureShape.new(name: 'LibraryItemMember')
83
+ LibraryItemStatus = Shapes::StringShape.new(name: 'LibraryItemStatus')
84
+ ListLibraryItemsInput = Shapes::StructureShape.new(name: 'ListLibraryItemsInput')
85
+ ListLibraryItemsOutput = Shapes::StructureShape.new(name: 'ListLibraryItemsOutput')
86
+ ListQAppsInput = Shapes::StructureShape.new(name: 'ListQAppsInput')
87
+ ListQAppsOutput = Shapes::StructureShape.new(name: 'ListQAppsOutput')
88
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
89
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
90
+ Long = Shapes::IntegerShape.new(name: 'Long')
91
+ PageLimit = Shapes::IntegerShape.new(name: 'PageLimit')
92
+ PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
93
+ Placeholder = Shapes::StringShape.new(name: 'Placeholder')
94
+ PlatoString = Shapes::StringShape.new(name: 'PlatoString')
95
+ PluginId = Shapes::StringShape.new(name: 'PluginId')
96
+ PluginType = Shapes::StringShape.new(name: 'PluginType')
97
+ PredictAppDefinition = Shapes::StructureShape.new(name: 'PredictAppDefinition')
98
+ PredictQAppInput = Shapes::StructureShape.new(name: 'PredictQAppInput')
99
+ PredictQAppInputOptions = Shapes::UnionShape.new(name: 'PredictQAppInputOptions')
100
+ PredictQAppInputOptionsConversationList = Shapes::ListShape.new(name: 'PredictQAppInputOptionsConversationList')
101
+ PredictQAppInputOptionsProblemStatementString = Shapes::StringShape.new(name: 'PredictQAppInputOptionsProblemStatementString')
102
+ PredictQAppOutput = Shapes::StructureShape.new(name: 'PredictQAppOutput')
103
+ Prompt = Shapes::StringShape.new(name: 'Prompt')
104
+ QAppsTimestamp = Shapes::TimestampShape.new(name: 'QAppsTimestamp', timestampFormat: "iso8601")
105
+ QPluginCard = Shapes::StructureShape.new(name: 'QPluginCard')
106
+ QPluginCardInput = Shapes::StructureShape.new(name: 'QPluginCardInput')
107
+ QQueryCard = Shapes::StructureShape.new(name: 'QQueryCard')
108
+ QQueryCardInput = Shapes::StructureShape.new(name: 'QQueryCardInput')
109
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
110
+ Sender = Shapes::StringShape.new(name: 'Sender')
111
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
112
+ StartQAppSessionInput = Shapes::StructureShape.new(name: 'StartQAppSessionInput')
113
+ StartQAppSessionOutput = Shapes::StructureShape.new(name: 'StartQAppSessionOutput')
114
+ StopQAppSessionInput = Shapes::StructureShape.new(name: 'StopQAppSessionInput')
115
+ String = Shapes::StringShape.new(name: 'String')
116
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
117
+ TagKeys = Shapes::ListShape.new(name: 'TagKeys')
118
+ TagMap = Shapes::MapShape.new(name: 'TagMap')
119
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
120
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
121
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
122
+ Tags = Shapes::MapShape.new(name: 'Tags')
123
+ TextInputCard = Shapes::StructureShape.new(name: 'TextInputCard')
124
+ TextInputCardInput = Shapes::StructureShape.new(name: 'TextInputCardInput')
125
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
126
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
127
+ Title = Shapes::StringShape.new(name: 'Title')
128
+ UUID = Shapes::StringShape.new(name: 'UUID')
129
+ UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
130
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
131
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
132
+ UpdateLibraryItemInput = Shapes::StructureShape.new(name: 'UpdateLibraryItemInput')
133
+ UpdateLibraryItemOutput = Shapes::StructureShape.new(name: 'UpdateLibraryItemOutput')
134
+ UpdateQAppInput = Shapes::StructureShape.new(name: 'UpdateQAppInput')
135
+ UpdateQAppOutput = Shapes::StructureShape.new(name: 'UpdateQAppOutput')
136
+ UpdateQAppSessionInput = Shapes::StructureShape.new(name: 'UpdateQAppSessionInput')
137
+ UpdateQAppSessionOutput = Shapes::StructureShape.new(name: 'UpdateQAppSessionOutput')
138
+ UserAppItem = Shapes::StructureShape.new(name: 'UserAppItem')
139
+ UserAppsList = Shapes::ListShape.new(name: 'UserAppsList')
140
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
141
+
142
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
143
+ AccessDeniedException.struct_class = Types::AccessDeniedException
144
+
145
+ AppDefinition.add_member(:app_definition_version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "appDefinitionVersion"))
146
+ AppDefinition.add_member(:cards, Shapes::ShapeRef.new(shape: CardModelList, required: true, location_name: "cards"))
147
+ AppDefinition.add_member(:can_edit, Shapes::ShapeRef.new(shape: Boolean, location_name: "canEdit"))
148
+ AppDefinition.struct_class = Types::AppDefinition
149
+
150
+ AppDefinitionInput.add_member(:cards, Shapes::ShapeRef.new(shape: CardList, required: true, location_name: "cards"))
151
+ AppDefinitionInput.add_member(:initial_prompt, Shapes::ShapeRef.new(shape: InitialPrompt, location_name: "initialPrompt"))
152
+ AppDefinitionInput.struct_class = Types::AppDefinitionInput
153
+
154
+ AppRequiredCapabilities.member = Shapes::ShapeRef.new(shape: AppRequiredCapability)
155
+
156
+ AssociateLibraryItemReviewInput.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "header", location_name: "instance-id"))
157
+ AssociateLibraryItemReviewInput.add_member(:library_item_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "libraryItemId"))
158
+ AssociateLibraryItemReviewInput.struct_class = Types::AssociateLibraryItemReviewInput
159
+
160
+ AssociateQAppWithUserInput.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "header", location_name: "instance-id"))
161
+ AssociateQAppWithUserInput.add_member(:app_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "appId"))
162
+ AssociateQAppWithUserInput.struct_class = Types::AssociateQAppWithUserInput
163
+
164
+ AttributeFilter.add_member(:and_all_filters, Shapes::ShapeRef.new(shape: AttributeFilters, location_name: "andAllFilters"))
165
+ AttributeFilter.add_member(:or_all_filters, Shapes::ShapeRef.new(shape: AttributeFilters, location_name: "orAllFilters"))
166
+ AttributeFilter.add_member(:not_filter, Shapes::ShapeRef.new(shape: AttributeFilter, location_name: "notFilter"))
167
+ AttributeFilter.add_member(:equals_to, Shapes::ShapeRef.new(shape: DocumentAttribute, location_name: "equalsTo"))
168
+ AttributeFilter.add_member(:contains_all, Shapes::ShapeRef.new(shape: DocumentAttribute, location_name: "containsAll"))
169
+ AttributeFilter.add_member(:contains_any, Shapes::ShapeRef.new(shape: DocumentAttribute, location_name: "containsAny"))
170
+ AttributeFilter.add_member(:greater_than, Shapes::ShapeRef.new(shape: DocumentAttribute, location_name: "greaterThan"))
171
+ AttributeFilter.add_member(:greater_than_or_equals, Shapes::ShapeRef.new(shape: DocumentAttribute, location_name: "greaterThanOrEquals"))
172
+ AttributeFilter.add_member(:less_than, Shapes::ShapeRef.new(shape: DocumentAttribute, location_name: "lessThan"))
173
+ AttributeFilter.add_member(:less_than_or_equals, Shapes::ShapeRef.new(shape: DocumentAttribute, location_name: "lessThanOrEquals"))
174
+ AttributeFilter.struct_class = Types::AttributeFilter
175
+
176
+ AttributeFilters.member = Shapes::ShapeRef.new(shape: AttributeFilter)
177
+
178
+ Card.add_member(:text_input, Shapes::ShapeRef.new(shape: TextInputCard, location_name: "textInput"))
179
+ Card.add_member(:q_query, Shapes::ShapeRef.new(shape: QQueryCard, location_name: "qQuery"))
180
+ Card.add_member(:q_plugin, Shapes::ShapeRef.new(shape: QPluginCard, location_name: "qPlugin"))
181
+ Card.add_member(:file_upload, Shapes::ShapeRef.new(shape: FileUploadCard, location_name: "fileUpload"))
182
+ Card.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
183
+ Card.add_member_subclass(:text_input, Types::Card::TextInput)
184
+ Card.add_member_subclass(:q_query, Types::Card::QQuery)
185
+ Card.add_member_subclass(:q_plugin, Types::Card::QPlugin)
186
+ Card.add_member_subclass(:file_upload, Types::Card::FileUpload)
187
+ Card.add_member_subclass(:unknown, Types::Card::Unknown)
188
+ Card.struct_class = Types::Card
189
+
190
+ CardInput.add_member(:text_input, Shapes::ShapeRef.new(shape: TextInputCardInput, location_name: "textInput"))
191
+ CardInput.add_member(:q_query, Shapes::ShapeRef.new(shape: QQueryCardInput, location_name: "qQuery"))
192
+ CardInput.add_member(:q_plugin, Shapes::ShapeRef.new(shape: QPluginCardInput, location_name: "qPlugin"))
193
+ CardInput.add_member(:file_upload, Shapes::ShapeRef.new(shape: FileUploadCardInput, location_name: "fileUpload"))
194
+ CardInput.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
195
+ CardInput.add_member_subclass(:text_input, Types::CardInput::TextInput)
196
+ CardInput.add_member_subclass(:q_query, Types::CardInput::QQuery)
197
+ CardInput.add_member_subclass(:q_plugin, Types::CardInput::QPlugin)
198
+ CardInput.add_member_subclass(:file_upload, Types::CardInput::FileUpload)
199
+ CardInput.add_member_subclass(:unknown, Types::CardInput::Unknown)
200
+ CardInput.struct_class = Types::CardInput
201
+
202
+ CardList.member = Shapes::ShapeRef.new(shape: CardInput)
203
+
204
+ CardModelList.member = Shapes::ShapeRef.new(shape: Card)
205
+
206
+ CardStatus.add_member(:current_state, Shapes::ShapeRef.new(shape: ExecutionStatus, required: true, location_name: "currentState"))
207
+ CardStatus.add_member(:current_value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "currentValue"))
208
+ CardStatus.struct_class = Types::CardStatus
209
+
210
+ CardStatusMap.key = Shapes::ShapeRef.new(shape: UUID)
211
+ CardStatusMap.value = Shapes::ShapeRef.new(shape: CardStatus)
212
+
213
+ CardValue.add_member(:card_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "cardId"))
214
+ CardValue.add_member(:value, Shapes::ShapeRef.new(shape: CardValueValueString, required: true, location_name: "value"))
215
+ CardValue.struct_class = Types::CardValue
216
+
217
+ CardValueList.member = Shapes::ShapeRef.new(shape: CardValue)
218
+
219
+ Category.add_member(:id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "id"))
220
+ Category.add_member(:title, Shapes::ShapeRef.new(shape: String, required: true, location_name: "title"))
221
+ Category.struct_class = Types::Category
222
+
223
+ CategoryIdList.member = Shapes::ShapeRef.new(shape: UUID)
224
+
225
+ CategoryList.member = Shapes::ShapeRef.new(shape: Category)
226
+
227
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
228
+ ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
229
+ ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
230
+ ConflictException.struct_class = Types::ConflictException
231
+
232
+ ContentTooLargeException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
233
+ ContentTooLargeException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
234
+ ContentTooLargeException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
235
+ ContentTooLargeException.struct_class = Types::ContentTooLargeException
236
+
237
+ ConversationMessage.add_member(:body, Shapes::ShapeRef.new(shape: ConversationMessageBodyString, required: true, location_name: "body"))
238
+ ConversationMessage.add_member(:type, Shapes::ShapeRef.new(shape: Sender, required: true, location_name: "type"))
239
+ ConversationMessage.struct_class = Types::ConversationMessage
240
+
241
+ CreateLibraryItemInput.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "header", location_name: "instance-id"))
242
+ CreateLibraryItemInput.add_member(:app_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "appId"))
243
+ CreateLibraryItemInput.add_member(:app_version, Shapes::ShapeRef.new(shape: AppVersion, required: true, location_name: "appVersion"))
244
+ CreateLibraryItemInput.add_member(:categories, Shapes::ShapeRef.new(shape: CategoryIdList, required: true, location_name: "categories"))
245
+ CreateLibraryItemInput.struct_class = Types::CreateLibraryItemInput
246
+
247
+ CreateLibraryItemOutput.add_member(:library_item_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "libraryItemId"))
248
+ CreateLibraryItemOutput.add_member(:status, Shapes::ShapeRef.new(shape: String, required: true, location_name: "status"))
249
+ CreateLibraryItemOutput.add_member(:created_at, Shapes::ShapeRef.new(shape: QAppsTimestamp, required: true, location_name: "createdAt"))
250
+ CreateLibraryItemOutput.add_member(:created_by, Shapes::ShapeRef.new(shape: String, required: true, location_name: "createdBy"))
251
+ CreateLibraryItemOutput.add_member(:updated_at, Shapes::ShapeRef.new(shape: QAppsTimestamp, location_name: "updatedAt"))
252
+ CreateLibraryItemOutput.add_member(:updated_by, Shapes::ShapeRef.new(shape: String, location_name: "updatedBy"))
253
+ CreateLibraryItemOutput.add_member(:rating_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "ratingCount"))
254
+ CreateLibraryItemOutput.struct_class = Types::CreateLibraryItemOutput
255
+
256
+ CreateQAppInput.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "header", location_name: "instance-id"))
257
+ CreateQAppInput.add_member(:title, Shapes::ShapeRef.new(shape: Title, required: true, location_name: "title"))
258
+ CreateQAppInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
259
+ CreateQAppInput.add_member(:app_definition, Shapes::ShapeRef.new(shape: AppDefinitionInput, required: true, location_name: "appDefinition"))
260
+ CreateQAppInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
261
+ CreateQAppInput.struct_class = Types::CreateQAppInput
262
+
263
+ CreateQAppOutput.add_member(:app_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "appId"))
264
+ CreateQAppOutput.add_member(:app_arn, Shapes::ShapeRef.new(shape: AppArn, required: true, location_name: "appArn"))
265
+ CreateQAppOutput.add_member(:title, Shapes::ShapeRef.new(shape: Title, required: true, location_name: "title"))
266
+ CreateQAppOutput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
267
+ CreateQAppOutput.add_member(:initial_prompt, Shapes::ShapeRef.new(shape: InitialPrompt, location_name: "initialPrompt"))
268
+ CreateQAppOutput.add_member(:app_version, Shapes::ShapeRef.new(shape: AppVersion, required: true, location_name: "appVersion"))
269
+ CreateQAppOutput.add_member(:status, Shapes::ShapeRef.new(shape: AppStatus, required: true, location_name: "status"))
270
+ CreateQAppOutput.add_member(:created_at, Shapes::ShapeRef.new(shape: QAppsTimestamp, required: true, location_name: "createdAt"))
271
+ CreateQAppOutput.add_member(:created_by, Shapes::ShapeRef.new(shape: String, required: true, location_name: "createdBy"))
272
+ CreateQAppOutput.add_member(:updated_at, Shapes::ShapeRef.new(shape: QAppsTimestamp, required: true, location_name: "updatedAt"))
273
+ CreateQAppOutput.add_member(:updated_by, Shapes::ShapeRef.new(shape: String, required: true, location_name: "updatedBy"))
274
+ CreateQAppOutput.add_member(:required_capabilities, Shapes::ShapeRef.new(shape: AppRequiredCapabilities, location_name: "requiredCapabilities"))
275
+ CreateQAppOutput.struct_class = Types::CreateQAppOutput
276
+
277
+ DeleteLibraryItemInput.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "header", location_name: "instance-id"))
278
+ DeleteLibraryItemInput.add_member(:library_item_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "libraryItemId"))
279
+ DeleteLibraryItemInput.struct_class = Types::DeleteLibraryItemInput
280
+
281
+ DeleteQAppInput.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "header", location_name: "instance-id"))
282
+ DeleteQAppInput.add_member(:app_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "appId"))
283
+ DeleteQAppInput.struct_class = Types::DeleteQAppInput
284
+
285
+ DependencyList.member = Shapes::ShapeRef.new(shape: String)
286
+
287
+ DisassociateLibraryItemReviewInput.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "header", location_name: "instance-id"))
288
+ DisassociateLibraryItemReviewInput.add_member(:library_item_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "libraryItemId"))
289
+ DisassociateLibraryItemReviewInput.struct_class = Types::DisassociateLibraryItemReviewInput
290
+
291
+ DisassociateQAppFromUserInput.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "header", location_name: "instance-id"))
292
+ DisassociateQAppFromUserInput.add_member(:app_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "appId"))
293
+ DisassociateQAppFromUserInput.struct_class = Types::DisassociateQAppFromUserInput
294
+
295
+ DocumentAttribute.add_member(:name, Shapes::ShapeRef.new(shape: DocumentAttributeKey, required: true, location_name: "name"))
296
+ DocumentAttribute.add_member(:value, Shapes::ShapeRef.new(shape: DocumentAttributeValue, required: true, location_name: "value"))
297
+ DocumentAttribute.struct_class = Types::DocumentAttribute
298
+
299
+ DocumentAttributeStringListValue.member = Shapes::ShapeRef.new(shape: PlatoString)
300
+
301
+ DocumentAttributeValue.add_member(:string_value, Shapes::ShapeRef.new(shape: DocumentAttributeValueStringValueString, location_name: "stringValue"))
302
+ DocumentAttributeValue.add_member(:string_list_value, Shapes::ShapeRef.new(shape: DocumentAttributeStringListValue, location_name: "stringListValue"))
303
+ DocumentAttributeValue.add_member(:long_value, Shapes::ShapeRef.new(shape: Long, location_name: "longValue"))
304
+ DocumentAttributeValue.add_member(:date_value, Shapes::ShapeRef.new(shape: Timestamp, location_name: "dateValue"))
305
+ DocumentAttributeValue.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
306
+ DocumentAttributeValue.add_member_subclass(:string_value, Types::DocumentAttributeValue::StringValue)
307
+ DocumentAttributeValue.add_member_subclass(:string_list_value, Types::DocumentAttributeValue::StringListValue)
308
+ DocumentAttributeValue.add_member_subclass(:long_value, Types::DocumentAttributeValue::LongValue)
309
+ DocumentAttributeValue.add_member_subclass(:date_value, Types::DocumentAttributeValue::DateValue)
310
+ DocumentAttributeValue.add_member_subclass(:unknown, Types::DocumentAttributeValue::Unknown)
311
+ DocumentAttributeValue.struct_class = Types::DocumentAttributeValue
312
+
313
+ FileUploadCard.add_member(:id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "id"))
314
+ FileUploadCard.add_member(:title, Shapes::ShapeRef.new(shape: Title, required: true, location_name: "title"))
315
+ FileUploadCard.add_member(:dependencies, Shapes::ShapeRef.new(shape: DependencyList, required: true, location_name: "dependencies"))
316
+ FileUploadCard.add_member(:type, Shapes::ShapeRef.new(shape: CardType, required: true, location_name: "type"))
317
+ FileUploadCard.add_member(:filename, Shapes::ShapeRef.new(shape: String, location_name: "filename"))
318
+ FileUploadCard.add_member(:file_id, Shapes::ShapeRef.new(shape: String, location_name: "fileId"))
319
+ FileUploadCard.add_member(:allow_override, Shapes::ShapeRef.new(shape: Boolean, location_name: "allowOverride"))
320
+ FileUploadCard.struct_class = Types::FileUploadCard
321
+
322
+ FileUploadCardInput.add_member(:title, Shapes::ShapeRef.new(shape: Title, required: true, location_name: "title"))
323
+ FileUploadCardInput.add_member(:id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "id"))
324
+ FileUploadCardInput.add_member(:type, Shapes::ShapeRef.new(shape: CardType, required: true, location_name: "type"))
325
+ FileUploadCardInput.add_member(:filename, Shapes::ShapeRef.new(shape: Filename, location_name: "filename"))
326
+ FileUploadCardInput.add_member(:file_id, Shapes::ShapeRef.new(shape: UUID, location_name: "fileId"))
327
+ FileUploadCardInput.add_member(:allow_override, Shapes::ShapeRef.new(shape: Boolean, location_name: "allowOverride"))
328
+ FileUploadCardInput.struct_class = Types::FileUploadCardInput
329
+
330
+ GetLibraryItemInput.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "header", location_name: "instance-id"))
331
+ GetLibraryItemInput.add_member(:library_item_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "querystring", location_name: "libraryItemId"))
332
+ GetLibraryItemInput.add_member(:app_id, Shapes::ShapeRef.new(shape: UUID, location: "querystring", location_name: "appId"))
333
+ GetLibraryItemInput.struct_class = Types::GetLibraryItemInput
334
+
335
+ GetLibraryItemOutput.add_member(:library_item_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "libraryItemId"))
336
+ GetLibraryItemOutput.add_member(:app_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "appId"))
337
+ GetLibraryItemOutput.add_member(:app_version, Shapes::ShapeRef.new(shape: AppVersion, required: true, location_name: "appVersion"))
338
+ GetLibraryItemOutput.add_member(:categories, Shapes::ShapeRef.new(shape: CategoryList, required: true, location_name: "categories"))
339
+ GetLibraryItemOutput.add_member(:status, Shapes::ShapeRef.new(shape: String, required: true, location_name: "status"))
340
+ GetLibraryItemOutput.add_member(:created_at, Shapes::ShapeRef.new(shape: QAppsTimestamp, required: true, location_name: "createdAt"))
341
+ GetLibraryItemOutput.add_member(:created_by, Shapes::ShapeRef.new(shape: String, required: true, location_name: "createdBy"))
342
+ GetLibraryItemOutput.add_member(:updated_at, Shapes::ShapeRef.new(shape: QAppsTimestamp, location_name: "updatedAt"))
343
+ GetLibraryItemOutput.add_member(:updated_by, Shapes::ShapeRef.new(shape: String, location_name: "updatedBy"))
344
+ GetLibraryItemOutput.add_member(:rating_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "ratingCount"))
345
+ GetLibraryItemOutput.add_member(:is_rated_by_user, Shapes::ShapeRef.new(shape: Boolean, location_name: "isRatedByUser"))
346
+ GetLibraryItemOutput.add_member(:user_count, Shapes::ShapeRef.new(shape: Integer, location_name: "userCount"))
347
+ GetLibraryItemOutput.struct_class = Types::GetLibraryItemOutput
348
+
349
+ GetQAppInput.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "header", location_name: "instance-id"))
350
+ GetQAppInput.add_member(:app_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "querystring", location_name: "appId"))
351
+ GetQAppInput.struct_class = Types::GetQAppInput
352
+
353
+ GetQAppOutput.add_member(:app_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "appId"))
354
+ GetQAppOutput.add_member(:app_arn, Shapes::ShapeRef.new(shape: AppArn, required: true, location_name: "appArn"))
355
+ GetQAppOutput.add_member(:title, Shapes::ShapeRef.new(shape: Title, required: true, location_name: "title"))
356
+ GetQAppOutput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
357
+ GetQAppOutput.add_member(:initial_prompt, Shapes::ShapeRef.new(shape: InitialPrompt, location_name: "initialPrompt"))
358
+ GetQAppOutput.add_member(:app_version, Shapes::ShapeRef.new(shape: AppVersion, required: true, location_name: "appVersion"))
359
+ GetQAppOutput.add_member(:status, Shapes::ShapeRef.new(shape: AppStatus, required: true, location_name: "status"))
360
+ GetQAppOutput.add_member(:created_at, Shapes::ShapeRef.new(shape: QAppsTimestamp, required: true, location_name: "createdAt"))
361
+ GetQAppOutput.add_member(:created_by, Shapes::ShapeRef.new(shape: String, required: true, location_name: "createdBy"))
362
+ GetQAppOutput.add_member(:updated_at, Shapes::ShapeRef.new(shape: QAppsTimestamp, required: true, location_name: "updatedAt"))
363
+ GetQAppOutput.add_member(:updated_by, Shapes::ShapeRef.new(shape: String, required: true, location_name: "updatedBy"))
364
+ GetQAppOutput.add_member(:required_capabilities, Shapes::ShapeRef.new(shape: AppRequiredCapabilities, location_name: "requiredCapabilities"))
365
+ GetQAppOutput.add_member(:app_definition, Shapes::ShapeRef.new(shape: AppDefinition, required: true, location_name: "appDefinition"))
366
+ GetQAppOutput.struct_class = Types::GetQAppOutput
367
+
368
+ GetQAppSessionInput.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "header", location_name: "instance-id"))
369
+ GetQAppSessionInput.add_member(:session_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "querystring", location_name: "sessionId"))
370
+ GetQAppSessionInput.struct_class = Types::GetQAppSessionInput
371
+
372
+ GetQAppSessionOutput.add_member(:session_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "sessionId"))
373
+ GetQAppSessionOutput.add_member(:session_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "sessionArn"))
374
+ GetQAppSessionOutput.add_member(:status, Shapes::ShapeRef.new(shape: ExecutionStatus, required: true, location_name: "status"))
375
+ GetQAppSessionOutput.add_member(:card_status, Shapes::ShapeRef.new(shape: CardStatusMap, required: true, location_name: "cardStatus"))
376
+ GetQAppSessionOutput.struct_class = Types::GetQAppSessionOutput
377
+
378
+ ImportDocumentInput.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "header", location_name: "instance-id"))
379
+ ImportDocumentInput.add_member(:card_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "cardId"))
380
+ ImportDocumentInput.add_member(:app_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "appId"))
381
+ ImportDocumentInput.add_member(:file_contents_base_64, Shapes::ShapeRef.new(shape: String, required: true, location_name: "fileContentsBase64"))
382
+ ImportDocumentInput.add_member(:file_name, Shapes::ShapeRef.new(shape: Filename, required: true, location_name: "fileName"))
383
+ ImportDocumentInput.add_member(:scope, Shapes::ShapeRef.new(shape: DocumentScope, required: true, location_name: "scope"))
384
+ ImportDocumentInput.add_member(:session_id, Shapes::ShapeRef.new(shape: UUID, location_name: "sessionId"))
385
+ ImportDocumentInput.struct_class = Types::ImportDocumentInput
386
+
387
+ ImportDocumentOutput.add_member(:file_id, Shapes::ShapeRef.new(shape: String, location_name: "fileId"))
388
+ ImportDocumentOutput.struct_class = Types::ImportDocumentOutput
389
+
390
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
391
+ InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
392
+ InternalServerException.struct_class = Types::InternalServerException
393
+
394
+ LibraryItemList.member = Shapes::ShapeRef.new(shape: LibraryItemMember)
395
+
396
+ LibraryItemMember.add_member(:library_item_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "libraryItemId"))
397
+ LibraryItemMember.add_member(:app_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "appId"))
398
+ LibraryItemMember.add_member(:app_version, Shapes::ShapeRef.new(shape: AppVersion, required: true, location_name: "appVersion"))
399
+ LibraryItemMember.add_member(:categories, Shapes::ShapeRef.new(shape: CategoryList, required: true, location_name: "categories"))
400
+ LibraryItemMember.add_member(:status, Shapes::ShapeRef.new(shape: String, required: true, location_name: "status"))
401
+ LibraryItemMember.add_member(:created_at, Shapes::ShapeRef.new(shape: QAppsTimestamp, required: true, location_name: "createdAt"))
402
+ LibraryItemMember.add_member(:created_by, Shapes::ShapeRef.new(shape: String, required: true, location_name: "createdBy"))
403
+ LibraryItemMember.add_member(:updated_at, Shapes::ShapeRef.new(shape: QAppsTimestamp, location_name: "updatedAt"))
404
+ LibraryItemMember.add_member(:updated_by, Shapes::ShapeRef.new(shape: String, location_name: "updatedBy"))
405
+ LibraryItemMember.add_member(:rating_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "ratingCount"))
406
+ LibraryItemMember.add_member(:is_rated_by_user, Shapes::ShapeRef.new(shape: Boolean, location_name: "isRatedByUser"))
407
+ LibraryItemMember.add_member(:user_count, Shapes::ShapeRef.new(shape: Integer, location_name: "userCount"))
408
+ LibraryItemMember.struct_class = Types::LibraryItemMember
409
+
410
+ ListLibraryItemsInput.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "header", location_name: "instance-id"))
411
+ ListLibraryItemsInput.add_member(:limit, Shapes::ShapeRef.new(shape: PageLimit, location: "querystring", location_name: "limit"))
412
+ ListLibraryItemsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
413
+ ListLibraryItemsInput.add_member(:category_id, Shapes::ShapeRef.new(shape: UUID, location: "querystring", location_name: "categoryId"))
414
+ ListLibraryItemsInput.struct_class = Types::ListLibraryItemsInput
415
+
416
+ ListLibraryItemsOutput.add_member(:library_items, Shapes::ShapeRef.new(shape: LibraryItemList, location_name: "libraryItems"))
417
+ ListLibraryItemsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
418
+ ListLibraryItemsOutput.struct_class = Types::ListLibraryItemsOutput
419
+
420
+ ListQAppsInput.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "header", location_name: "instance-id"))
421
+ ListQAppsInput.add_member(:limit, Shapes::ShapeRef.new(shape: PageLimit, location: "querystring", location_name: "limit"))
422
+ ListQAppsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
423
+ ListQAppsInput.struct_class = Types::ListQAppsInput
424
+
425
+ ListQAppsOutput.add_member(:apps, Shapes::ShapeRef.new(shape: UserAppsList, required: true, location_name: "apps"))
426
+ ListQAppsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
427
+ ListQAppsOutput.struct_class = Types::ListQAppsOutput
428
+
429
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location: "uri", location_name: "resourceARN"))
430
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
431
+
432
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
433
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
434
+
435
+ PredictAppDefinition.add_member(:title, Shapes::ShapeRef.new(shape: Title, required: true, location_name: "title"))
436
+ PredictAppDefinition.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
437
+ PredictAppDefinition.add_member(:app_definition, Shapes::ShapeRef.new(shape: AppDefinitionInput, required: true, location_name: "appDefinition"))
438
+ PredictAppDefinition.struct_class = Types::PredictAppDefinition
439
+
440
+ PredictQAppInput.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "header", location_name: "instance-id"))
441
+ PredictQAppInput.add_member(:options, Shapes::ShapeRef.new(shape: PredictQAppInputOptions, location_name: "options"))
442
+ PredictQAppInput.struct_class = Types::PredictQAppInput
443
+
444
+ PredictQAppInputOptions.add_member(:conversation, Shapes::ShapeRef.new(shape: PredictQAppInputOptionsConversationList, location_name: "conversation"))
445
+ PredictQAppInputOptions.add_member(:problem_statement, Shapes::ShapeRef.new(shape: PredictQAppInputOptionsProblemStatementString, location_name: "problemStatement"))
446
+ PredictQAppInputOptions.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
447
+ PredictQAppInputOptions.add_member_subclass(:conversation, Types::PredictQAppInputOptions::Conversation)
448
+ PredictQAppInputOptions.add_member_subclass(:problem_statement, Types::PredictQAppInputOptions::ProblemStatement)
449
+ PredictQAppInputOptions.add_member_subclass(:unknown, Types::PredictQAppInputOptions::Unknown)
450
+ PredictQAppInputOptions.struct_class = Types::PredictQAppInputOptions
451
+
452
+ PredictQAppInputOptionsConversationList.member = Shapes::ShapeRef.new(shape: ConversationMessage)
453
+
454
+ PredictQAppOutput.add_member(:app, Shapes::ShapeRef.new(shape: PredictAppDefinition, required: true, location_name: "app"))
455
+ PredictQAppOutput.add_member(:problem_statement, Shapes::ShapeRef.new(shape: String, required: true, location_name: "problemStatement"))
456
+ PredictQAppOutput.struct_class = Types::PredictQAppOutput
457
+
458
+ QPluginCard.add_member(:id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "id"))
459
+ QPluginCard.add_member(:title, Shapes::ShapeRef.new(shape: Title, required: true, location_name: "title"))
460
+ QPluginCard.add_member(:dependencies, Shapes::ShapeRef.new(shape: DependencyList, required: true, location_name: "dependencies"))
461
+ QPluginCard.add_member(:type, Shapes::ShapeRef.new(shape: CardType, required: true, location_name: "type"))
462
+ QPluginCard.add_member(:prompt, Shapes::ShapeRef.new(shape: Prompt, required: true, location_name: "prompt"))
463
+ QPluginCard.add_member(:plugin_type, Shapes::ShapeRef.new(shape: PluginType, required: true, location_name: "pluginType"))
464
+ QPluginCard.add_member(:plugin_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "pluginId"))
465
+ QPluginCard.struct_class = Types::QPluginCard
466
+
467
+ QPluginCardInput.add_member(:title, Shapes::ShapeRef.new(shape: Title, required: true, location_name: "title"))
468
+ QPluginCardInput.add_member(:id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "id"))
469
+ QPluginCardInput.add_member(:type, Shapes::ShapeRef.new(shape: CardType, required: true, location_name: "type"))
470
+ QPluginCardInput.add_member(:prompt, Shapes::ShapeRef.new(shape: Prompt, required: true, location_name: "prompt"))
471
+ QPluginCardInput.add_member(:plugin_id, Shapes::ShapeRef.new(shape: PluginId, required: true, location_name: "pluginId"))
472
+ QPluginCardInput.struct_class = Types::QPluginCardInput
473
+
474
+ QQueryCard.add_member(:id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "id"))
475
+ QQueryCard.add_member(:title, Shapes::ShapeRef.new(shape: Title, required: true, location_name: "title"))
476
+ QQueryCard.add_member(:dependencies, Shapes::ShapeRef.new(shape: DependencyList, required: true, location_name: "dependencies"))
477
+ QQueryCard.add_member(:type, Shapes::ShapeRef.new(shape: CardType, required: true, location_name: "type"))
478
+ QQueryCard.add_member(:prompt, Shapes::ShapeRef.new(shape: Prompt, required: true, location_name: "prompt"))
479
+ QQueryCard.add_member(:output_source, Shapes::ShapeRef.new(shape: CardOutputSource, required: true, location_name: "outputSource"))
480
+ QQueryCard.add_member(:attribute_filter, Shapes::ShapeRef.new(shape: AttributeFilter, location_name: "attributeFilter"))
481
+ QQueryCard.struct_class = Types::QQueryCard
482
+
483
+ QQueryCardInput.add_member(:title, Shapes::ShapeRef.new(shape: Title, required: true, location_name: "title"))
484
+ QQueryCardInput.add_member(:id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "id"))
485
+ QQueryCardInput.add_member(:type, Shapes::ShapeRef.new(shape: CardType, required: true, location_name: "type"))
486
+ QQueryCardInput.add_member(:prompt, Shapes::ShapeRef.new(shape: Prompt, required: true, location_name: "prompt"))
487
+ QQueryCardInput.add_member(:output_source, Shapes::ShapeRef.new(shape: CardOutputSource, location_name: "outputSource"))
488
+ QQueryCardInput.add_member(:attribute_filter, Shapes::ShapeRef.new(shape: AttributeFilter, location_name: "attributeFilter"))
489
+ QQueryCardInput.struct_class = Types::QQueryCardInput
490
+
491
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
492
+ ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
493
+ ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
494
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
495
+
496
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
497
+ ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
498
+ ServiceQuotaExceededException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
499
+ ServiceQuotaExceededException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceCode"))
500
+ ServiceQuotaExceededException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "quotaCode"))
501
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
502
+
503
+ StartQAppSessionInput.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "header", location_name: "instance-id"))
504
+ StartQAppSessionInput.add_member(:app_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "appId"))
505
+ StartQAppSessionInput.add_member(:app_version, Shapes::ShapeRef.new(shape: AppVersion, required: true, location_name: "appVersion"))
506
+ StartQAppSessionInput.add_member(:initial_values, Shapes::ShapeRef.new(shape: CardValueList, location_name: "initialValues"))
507
+ StartQAppSessionInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
508
+ StartQAppSessionInput.struct_class = Types::StartQAppSessionInput
509
+
510
+ StartQAppSessionOutput.add_member(:session_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "sessionId"))
511
+ StartQAppSessionOutput.add_member(:session_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "sessionArn"))
512
+ StartQAppSessionOutput.struct_class = Types::StartQAppSessionOutput
513
+
514
+ StopQAppSessionInput.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "header", location_name: "instance-id"))
515
+ StopQAppSessionInput.add_member(:session_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "sessionId"))
516
+ StopQAppSessionInput.struct_class = Types::StopQAppSessionInput
517
+
518
+ TagKeys.member = Shapes::ShapeRef.new(shape: TagKey)
519
+
520
+ TagMap.key = Shapes::ShapeRef.new(shape: String)
521
+ TagMap.value = Shapes::ShapeRef.new(shape: String)
522
+
523
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location: "uri", location_name: "resourceARN"))
524
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "tags"))
525
+ TagResourceRequest.struct_class = Types::TagResourceRequest
526
+
527
+ TagResourceResponse.struct_class = Types::TagResourceResponse
528
+
529
+ Tags.key = Shapes::ShapeRef.new(shape: TagKey)
530
+ Tags.value = Shapes::ShapeRef.new(shape: TagValue)
531
+
532
+ TextInputCard.add_member(:id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "id"))
533
+ TextInputCard.add_member(:title, Shapes::ShapeRef.new(shape: Title, required: true, location_name: "title"))
534
+ TextInputCard.add_member(:dependencies, Shapes::ShapeRef.new(shape: DependencyList, required: true, location_name: "dependencies"))
535
+ TextInputCard.add_member(:type, Shapes::ShapeRef.new(shape: CardType, required: true, location_name: "type"))
536
+ TextInputCard.add_member(:placeholder, Shapes::ShapeRef.new(shape: Placeholder, location_name: "placeholder"))
537
+ TextInputCard.add_member(:default_value, Shapes::ShapeRef.new(shape: Default, location_name: "defaultValue"))
538
+ TextInputCard.struct_class = Types::TextInputCard
539
+
540
+ TextInputCardInput.add_member(:title, Shapes::ShapeRef.new(shape: Title, required: true, location_name: "title"))
541
+ TextInputCardInput.add_member(:id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "id"))
542
+ TextInputCardInput.add_member(:type, Shapes::ShapeRef.new(shape: CardType, required: true, location_name: "type"))
543
+ TextInputCardInput.add_member(:placeholder, Shapes::ShapeRef.new(shape: Placeholder, location_name: "placeholder"))
544
+ TextInputCardInput.add_member(:default_value, Shapes::ShapeRef.new(shape: Default, location_name: "defaultValue"))
545
+ TextInputCardInput.struct_class = Types::TextInputCardInput
546
+
547
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
548
+ ThrottlingException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceCode"))
549
+ ThrottlingException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "quotaCode"))
550
+ ThrottlingException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
551
+ ThrottlingException.struct_class = Types::ThrottlingException
552
+
553
+ UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
554
+ UnauthorizedException.struct_class = Types::UnauthorizedException
555
+
556
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location: "uri", location_name: "resourceARN"))
557
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location: "querystring", location_name: "tagKeys"))
558
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
559
+
560
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
561
+
562
+ UpdateLibraryItemInput.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "header", location_name: "instance-id"))
563
+ UpdateLibraryItemInput.add_member(:library_item_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "libraryItemId"))
564
+ UpdateLibraryItemInput.add_member(:status, Shapes::ShapeRef.new(shape: LibraryItemStatus, location_name: "status"))
565
+ UpdateLibraryItemInput.add_member(:categories, Shapes::ShapeRef.new(shape: CategoryIdList, location_name: "categories"))
566
+ UpdateLibraryItemInput.struct_class = Types::UpdateLibraryItemInput
567
+
568
+ UpdateLibraryItemOutput.add_member(:library_item_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "libraryItemId"))
569
+ UpdateLibraryItemOutput.add_member(:app_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "appId"))
570
+ UpdateLibraryItemOutput.add_member(:app_version, Shapes::ShapeRef.new(shape: AppVersion, required: true, location_name: "appVersion"))
571
+ UpdateLibraryItemOutput.add_member(:categories, Shapes::ShapeRef.new(shape: CategoryList, required: true, location_name: "categories"))
572
+ UpdateLibraryItemOutput.add_member(:status, Shapes::ShapeRef.new(shape: String, required: true, location_name: "status"))
573
+ UpdateLibraryItemOutput.add_member(:created_at, Shapes::ShapeRef.new(shape: QAppsTimestamp, required: true, location_name: "createdAt"))
574
+ UpdateLibraryItemOutput.add_member(:created_by, Shapes::ShapeRef.new(shape: String, required: true, location_name: "createdBy"))
575
+ UpdateLibraryItemOutput.add_member(:updated_at, Shapes::ShapeRef.new(shape: QAppsTimestamp, location_name: "updatedAt"))
576
+ UpdateLibraryItemOutput.add_member(:updated_by, Shapes::ShapeRef.new(shape: String, location_name: "updatedBy"))
577
+ UpdateLibraryItemOutput.add_member(:rating_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "ratingCount"))
578
+ UpdateLibraryItemOutput.add_member(:is_rated_by_user, Shapes::ShapeRef.new(shape: Boolean, location_name: "isRatedByUser"))
579
+ UpdateLibraryItemOutput.add_member(:user_count, Shapes::ShapeRef.new(shape: Integer, location_name: "userCount"))
580
+ UpdateLibraryItemOutput.struct_class = Types::UpdateLibraryItemOutput
581
+
582
+ UpdateQAppInput.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "header", location_name: "instance-id"))
583
+ UpdateQAppInput.add_member(:app_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "appId"))
584
+ UpdateQAppInput.add_member(:title, Shapes::ShapeRef.new(shape: Title, location_name: "title"))
585
+ UpdateQAppInput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
586
+ UpdateQAppInput.add_member(:app_definition, Shapes::ShapeRef.new(shape: AppDefinitionInput, location_name: "appDefinition"))
587
+ UpdateQAppInput.struct_class = Types::UpdateQAppInput
588
+
589
+ UpdateQAppOutput.add_member(:app_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "appId"))
590
+ UpdateQAppOutput.add_member(:app_arn, Shapes::ShapeRef.new(shape: AppArn, required: true, location_name: "appArn"))
591
+ UpdateQAppOutput.add_member(:title, Shapes::ShapeRef.new(shape: Title, required: true, location_name: "title"))
592
+ UpdateQAppOutput.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
593
+ UpdateQAppOutput.add_member(:initial_prompt, Shapes::ShapeRef.new(shape: InitialPrompt, location_name: "initialPrompt"))
594
+ UpdateQAppOutput.add_member(:app_version, Shapes::ShapeRef.new(shape: AppVersion, required: true, location_name: "appVersion"))
595
+ UpdateQAppOutput.add_member(:status, Shapes::ShapeRef.new(shape: AppStatus, required: true, location_name: "status"))
596
+ UpdateQAppOutput.add_member(:created_at, Shapes::ShapeRef.new(shape: QAppsTimestamp, required: true, location_name: "createdAt"))
597
+ UpdateQAppOutput.add_member(:created_by, Shapes::ShapeRef.new(shape: String, required: true, location_name: "createdBy"))
598
+ UpdateQAppOutput.add_member(:updated_at, Shapes::ShapeRef.new(shape: QAppsTimestamp, required: true, location_name: "updatedAt"))
599
+ UpdateQAppOutput.add_member(:updated_by, Shapes::ShapeRef.new(shape: String, required: true, location_name: "updatedBy"))
600
+ UpdateQAppOutput.add_member(:required_capabilities, Shapes::ShapeRef.new(shape: AppRequiredCapabilities, location_name: "requiredCapabilities"))
601
+ UpdateQAppOutput.struct_class = Types::UpdateQAppOutput
602
+
603
+ UpdateQAppSessionInput.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location: "header", location_name: "instance-id"))
604
+ UpdateQAppSessionInput.add_member(:session_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "sessionId"))
605
+ UpdateQAppSessionInput.add_member(:values, Shapes::ShapeRef.new(shape: CardValueList, location_name: "values"))
606
+ UpdateQAppSessionInput.struct_class = Types::UpdateQAppSessionInput
607
+
608
+ UpdateQAppSessionOutput.add_member(:session_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "sessionId"))
609
+ UpdateQAppSessionOutput.add_member(:session_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "sessionArn"))
610
+ UpdateQAppSessionOutput.struct_class = Types::UpdateQAppSessionOutput
611
+
612
+ UserAppItem.add_member(:app_id, Shapes::ShapeRef.new(shape: UUID, required: true, location_name: "appId"))
613
+ UserAppItem.add_member(:app_arn, Shapes::ShapeRef.new(shape: AppArn, required: true, location_name: "appArn"))
614
+ UserAppItem.add_member(:title, Shapes::ShapeRef.new(shape: Title, required: true, location_name: "title"))
615
+ UserAppItem.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
616
+ UserAppItem.add_member(:created_at, Shapes::ShapeRef.new(shape: QAppsTimestamp, required: true, location_name: "createdAt"))
617
+ UserAppItem.add_member(:can_edit, Shapes::ShapeRef.new(shape: Boolean, location_name: "canEdit"))
618
+ UserAppItem.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
619
+ UserAppItem.struct_class = Types::UserAppItem
620
+
621
+ UserAppsList.member = Shapes::ShapeRef.new(shape: UserAppItem)
622
+
623
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
624
+ ValidationException.struct_class = Types::ValidationException
625
+
626
+
627
+ # @api private
628
+ API = Seahorse::Model::Api.new.tap do |api|
629
+
630
+ api.version = "2023-11-27"
631
+
632
+ api.metadata = {
633
+ "apiVersion" => "2023-11-27",
634
+ "auth" => ["aws.auth#sigv4"],
635
+ "endpointPrefix" => "data.qapps",
636
+ "protocol" => "rest-json",
637
+ "protocols" => ["rest-json"],
638
+ "serviceFullName" => "QApps",
639
+ "serviceId" => "QApps",
640
+ "signatureVersion" => "v4",
641
+ "signingName" => "qapps",
642
+ "uid" => "qapps-2023-11-27",
643
+ }
644
+
645
+ api.add_operation(:associate_library_item_review, Seahorse::Model::Operation.new.tap do |o|
646
+ o.name = "AssociateLibraryItemReview"
647
+ o.http_method = "POST"
648
+ o.http_request_uri = "/catalog.associateItemRating"
649
+ o.input = Shapes::ShapeRef.new(shape: AssociateLibraryItemReviewInput)
650
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
651
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
652
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
653
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
654
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
655
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
656
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
657
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
658
+ end)
659
+
660
+ api.add_operation(:associate_q_app_with_user, Seahorse::Model::Operation.new.tap do |o|
661
+ o.name = "AssociateQAppWithUser"
662
+ o.http_method = "POST"
663
+ o.http_request_uri = "/apps.install"
664
+ o.input = Shapes::ShapeRef.new(shape: AssociateQAppWithUserInput)
665
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
666
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
667
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
668
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
669
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
670
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
671
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
672
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
673
+ end)
674
+
675
+ api.add_operation(:create_library_item, Seahorse::Model::Operation.new.tap do |o|
676
+ o.name = "CreateLibraryItem"
677
+ o.http_method = "POST"
678
+ o.http_request_uri = "/catalog.createItem"
679
+ o.input = Shapes::ShapeRef.new(shape: CreateLibraryItemInput)
680
+ o.output = Shapes::ShapeRef.new(shape: CreateLibraryItemOutput)
681
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
682
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
683
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
684
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
685
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
686
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
687
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
688
+ end)
689
+
690
+ api.add_operation(:create_q_app, Seahorse::Model::Operation.new.tap do |o|
691
+ o.name = "CreateQApp"
692
+ o.http_method = "POST"
693
+ o.http_request_uri = "/apps.create"
694
+ o.input = Shapes::ShapeRef.new(shape: CreateQAppInput)
695
+ o.output = Shapes::ShapeRef.new(shape: CreateQAppOutput)
696
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
697
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
698
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
699
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
700
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
701
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
702
+ o.errors << Shapes::ShapeRef.new(shape: ContentTooLargeException)
703
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
704
+ end)
705
+
706
+ api.add_operation(:delete_library_item, Seahorse::Model::Operation.new.tap do |o|
707
+ o.name = "DeleteLibraryItem"
708
+ o.http_method = "POST"
709
+ o.http_request_uri = "/catalog.deleteItem"
710
+ o.input = Shapes::ShapeRef.new(shape: DeleteLibraryItemInput)
711
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
712
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
713
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
714
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
715
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
716
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
717
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
718
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
719
+ end)
720
+
721
+ api.add_operation(:delete_q_app, Seahorse::Model::Operation.new.tap do |o|
722
+ o.name = "DeleteQApp"
723
+ o.http_method = "POST"
724
+ o.http_request_uri = "/apps.delete"
725
+ o.input = Shapes::ShapeRef.new(shape: DeleteQAppInput)
726
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
727
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
728
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
729
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
730
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
731
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
732
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
733
+ end)
734
+
735
+ api.add_operation(:disassociate_library_item_review, Seahorse::Model::Operation.new.tap do |o|
736
+ o.name = "DisassociateLibraryItemReview"
737
+ o.http_method = "POST"
738
+ o.http_request_uri = "/catalog.disassociateItemRating"
739
+ o.input = Shapes::ShapeRef.new(shape: DisassociateLibraryItemReviewInput)
740
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
741
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
742
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
743
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
744
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
745
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
746
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
747
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
748
+ end)
749
+
750
+ api.add_operation(:disassociate_q_app_from_user, Seahorse::Model::Operation.new.tap do |o|
751
+ o.name = "DisassociateQAppFromUser"
752
+ o.http_method = "POST"
753
+ o.http_request_uri = "/apps.uninstall"
754
+ o.input = Shapes::ShapeRef.new(shape: DisassociateQAppFromUserInput)
755
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
756
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
757
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
758
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
759
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
760
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
761
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
762
+ end)
763
+
764
+ api.add_operation(:get_library_item, Seahorse::Model::Operation.new.tap do |o|
765
+ o.name = "GetLibraryItem"
766
+ o.http_method = "GET"
767
+ o.http_request_uri = "/catalog.getItem"
768
+ o.input = Shapes::ShapeRef.new(shape: GetLibraryItemInput)
769
+ o.output = Shapes::ShapeRef.new(shape: GetLibraryItemOutput)
770
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
771
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
772
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
773
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
774
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
775
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
776
+ end)
777
+
778
+ api.add_operation(:get_q_app, Seahorse::Model::Operation.new.tap do |o|
779
+ o.name = "GetQApp"
780
+ o.http_method = "GET"
781
+ o.http_request_uri = "/apps.get"
782
+ o.input = Shapes::ShapeRef.new(shape: GetQAppInput)
783
+ o.output = Shapes::ShapeRef.new(shape: GetQAppOutput)
784
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
785
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
786
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
787
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
788
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
789
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
790
+ end)
791
+
792
+ api.add_operation(:get_q_app_session, Seahorse::Model::Operation.new.tap do |o|
793
+ o.name = "GetQAppSession"
794
+ o.http_method = "GET"
795
+ o.http_request_uri = "/runtime.getQAppSession"
796
+ o.input = Shapes::ShapeRef.new(shape: GetQAppSessionInput)
797
+ o.output = Shapes::ShapeRef.new(shape: GetQAppSessionOutput)
798
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
799
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
800
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
801
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
802
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
803
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
804
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
805
+ end)
806
+
807
+ api.add_operation(:import_document, Seahorse::Model::Operation.new.tap do |o|
808
+ o.name = "ImportDocument"
809
+ o.http_method = "POST"
810
+ o.http_request_uri = "/apps.importDocument"
811
+ o.input = Shapes::ShapeRef.new(shape: ImportDocumentInput)
812
+ o.output = Shapes::ShapeRef.new(shape: ImportDocumentOutput)
813
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
814
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
815
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
816
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
817
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
818
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
819
+ o.errors << Shapes::ShapeRef.new(shape: ContentTooLargeException)
820
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
821
+ end)
822
+
823
+ api.add_operation(:list_library_items, Seahorse::Model::Operation.new.tap do |o|
824
+ o.name = "ListLibraryItems"
825
+ o.http_method = "GET"
826
+ o.http_request_uri = "/catalog.list"
827
+ o.input = Shapes::ShapeRef.new(shape: ListLibraryItemsInput)
828
+ o.output = Shapes::ShapeRef.new(shape: ListLibraryItemsOutput)
829
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
830
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
831
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
832
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
833
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
834
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
835
+ o[:pager] = Aws::Pager.new(
836
+ limit_key: "limit",
837
+ tokens: {
838
+ "next_token" => "next_token"
839
+ }
840
+ )
841
+ end)
842
+
843
+ api.add_operation(:list_q_apps, Seahorse::Model::Operation.new.tap do |o|
844
+ o.name = "ListQApps"
845
+ o.http_method = "GET"
846
+ o.http_request_uri = "/apps.list"
847
+ o.input = Shapes::ShapeRef.new(shape: ListQAppsInput)
848
+ o.output = Shapes::ShapeRef.new(shape: ListQAppsOutput)
849
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
850
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
851
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
852
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
853
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
854
+ o[:pager] = Aws::Pager.new(
855
+ limit_key: "limit",
856
+ tokens: {
857
+ "next_token" => "next_token"
858
+ }
859
+ )
860
+ end)
861
+
862
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
863
+ o.name = "ListTagsForResource"
864
+ o.http_method = "GET"
865
+ o.http_request_uri = "/tags/{resourceARN}"
866
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
867
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
868
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
869
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
870
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
871
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
872
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
873
+ end)
874
+
875
+ api.add_operation(:predict_q_app, Seahorse::Model::Operation.new.tap do |o|
876
+ o.name = "PredictQApp"
877
+ o.http_method = "POST"
878
+ o.http_request_uri = "/apps.predictQApp"
879
+ o.input = Shapes::ShapeRef.new(shape: PredictQAppInput)
880
+ o.output = Shapes::ShapeRef.new(shape: PredictQAppOutput)
881
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
882
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
883
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
884
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
885
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
886
+ end)
887
+
888
+ api.add_operation(:start_q_app_session, Seahorse::Model::Operation.new.tap do |o|
889
+ o.name = "StartQAppSession"
890
+ o.http_method = "POST"
891
+ o.http_request_uri = "/runtime.startQAppSession"
892
+ o.input = Shapes::ShapeRef.new(shape: StartQAppSessionInput)
893
+ o.output = Shapes::ShapeRef.new(shape: StartQAppSessionOutput)
894
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
895
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
896
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
897
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
898
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
899
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
900
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
901
+ end)
902
+
903
+ api.add_operation(:stop_q_app_session, Seahorse::Model::Operation.new.tap do |o|
904
+ o.name = "StopQAppSession"
905
+ o.http_method = "POST"
906
+ o.http_request_uri = "/runtime.deleteMiniAppRun"
907
+ o.input = Shapes::ShapeRef.new(shape: StopQAppSessionInput)
908
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
909
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
910
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
911
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
912
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
913
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
914
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
915
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
916
+ end)
917
+
918
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
919
+ o.name = "TagResource"
920
+ o.http_method = "POST"
921
+ o.http_request_uri = "/tags/{resourceARN}"
922
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
923
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
924
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
925
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
926
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
927
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
928
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
929
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
930
+ end)
931
+
932
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
933
+ o.name = "UntagResource"
934
+ o.http_method = "DELETE"
935
+ o.http_request_uri = "/tags/{resourceARN}"
936
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
937
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
938
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
939
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
940
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
941
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
942
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
943
+ end)
944
+
945
+ api.add_operation(:update_library_item, Seahorse::Model::Operation.new.tap do |o|
946
+ o.name = "UpdateLibraryItem"
947
+ o.http_method = "POST"
948
+ o.http_request_uri = "/catalog.updateItem"
949
+ o.input = Shapes::ShapeRef.new(shape: UpdateLibraryItemInput)
950
+ o.output = Shapes::ShapeRef.new(shape: UpdateLibraryItemOutput)
951
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
952
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
953
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
954
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
955
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
956
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
957
+ end)
958
+
959
+ api.add_operation(:update_q_app, Seahorse::Model::Operation.new.tap do |o|
960
+ o.name = "UpdateQApp"
961
+ o.http_method = "POST"
962
+ o.http_request_uri = "/apps.update"
963
+ o.input = Shapes::ShapeRef.new(shape: UpdateQAppInput)
964
+ o.output = Shapes::ShapeRef.new(shape: UpdateQAppOutput)
965
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
966
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
967
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
968
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
969
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
970
+ o.errors << Shapes::ShapeRef.new(shape: ContentTooLargeException)
971
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
972
+ end)
973
+
974
+ api.add_operation(:update_q_app_session, Seahorse::Model::Operation.new.tap do |o|
975
+ o.name = "UpdateQAppSession"
976
+ o.http_method = "POST"
977
+ o.http_request_uri = "/runtime.updateQAppSession"
978
+ o.input = Shapes::ShapeRef.new(shape: UpdateQAppSessionInput)
979
+ o.output = Shapes::ShapeRef.new(shape: UpdateQAppSessionOutput)
980
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
981
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
982
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
983
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
984
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
985
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
986
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
987
+ end)
988
+ end
989
+
990
+ end
991
+ end