aws-sdk-opensearchmemory 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,932 @@
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
+
11
+ module Aws::OpenSearchMemory
12
+ # @api private
13
+ module ClientApi
14
+
15
+ include Seahorse::Model
16
+
17
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
18
+ ActorId = Shapes::StringShape.new(name: 'ActorId')
19
+ ActorIdList = Shapes::ListShape.new(name: 'ActorIdList')
20
+ BatchGetEventError = Shapes::StructureShape.new(name: 'BatchGetEventError')
21
+ BatchGetEventErrorCode = Shapes::StringShape.new(name: 'BatchGetEventErrorCode')
22
+ BatchGetEventErrorList = Shapes::ListShape.new(name: 'BatchGetEventErrorList')
23
+ BatchGetEventIdList = Shapes::ListShape.new(name: 'BatchGetEventIdList')
24
+ BatchGetEventInput = Shapes::StructureShape.new(name: 'BatchGetEventInput')
25
+ BatchGetEventOutput = Shapes::StructureShape.new(name: 'BatchGetEventOutput')
26
+ BlobContentType = Shapes::StringShape.new(name: 'BlobContentType')
27
+ BlobPayload = Shapes::StructureShape.new(name: 'BlobPayload')
28
+ BlobSource = Shapes::UnionShape.new(name: 'BlobSource')
29
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
30
+ ClientToken = Shapes::StringShape.new(name: 'ClientToken')
31
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
32
+ ConversationalPayload = Shapes::UnionShape.new(name: 'ConversationalPayload')
33
+ CreateEventInput = Shapes::StructureShape.new(name: 'CreateEventInput')
34
+ CreateEventOutput = Shapes::StructureShape.new(name: 'CreateEventOutput')
35
+ CreateMemoryContent = Shapes::StringShape.new(name: 'CreateMemoryContent')
36
+ CreateMemoryDetail = Shapes::StructureShape.new(name: 'CreateMemoryDetail')
37
+ CreateMemoryInput = Shapes::StructureShape.new(name: 'CreateMemoryInput')
38
+ CreateMemoryOutput = Shapes::StructureShape.new(name: 'CreateMemoryOutput')
39
+ CreateSpaceRequest = Shapes::StructureShape.new(name: 'CreateSpaceRequest')
40
+ CreateSpaceResponse = Shapes::StructureShape.new(name: 'CreateSpaceResponse')
41
+ DeleteEventInput = Shapes::StructureShape.new(name: 'DeleteEventInput')
42
+ DeleteEventOutput = Shapes::StructureShape.new(name: 'DeleteEventOutput')
43
+ DeleteMemoryInput = Shapes::StructureShape.new(name: 'DeleteMemoryInput')
44
+ DeleteMemoryOutput = Shapes::StructureShape.new(name: 'DeleteMemoryOutput')
45
+ DeleteSpaceRequest = Shapes::StructureShape.new(name: 'DeleteSpaceRequest')
46
+ DeleteSpaceResponse = Shapes::StructureShape.new(name: 'DeleteSpaceResponse')
47
+ Document = Shapes::DocumentShape.new(name: 'Document', document: true)
48
+ Double = Shapes::FloatShape.new(name: 'Double')
49
+ EncryptionConfiguration = Shapes::StructureShape.new(name: 'EncryptionConfiguration')
50
+ Event = Shapes::StructureShape.new(name: 'Event')
51
+ EventDetail = Shapes::StructureShape.new(name: 'EventDetail')
52
+ EventExpiryDays = Shapes::IntegerShape.new(name: 'EventExpiryDays')
53
+ EventId = Shapes::StringShape.new(name: 'EventId')
54
+ EventList = Shapes::ListShape.new(name: 'EventList')
55
+ EventPayload = Shapes::UnionShape.new(name: 'EventPayload')
56
+ EventSearchSummary = Shapes::StructureShape.new(name: 'EventSearchSummary')
57
+ EventSearchSummaryList = Shapes::ListShape.new(name: 'EventSearchSummaryList')
58
+ EventSummary = Shapes::StructureShape.new(name: 'EventSummary')
59
+ EventSummaryList = Shapes::ListShape.new(name: 'EventSummaryList')
60
+ EventTimestamp = Shapes::TimestampShape.new(name: 'EventTimestamp', timestampFormat: "iso8601")
61
+ ExtractionModelId = Shapes::StringShape.new(name: 'ExtractionModelId')
62
+ ExtractionPrompt = Shapes::StringShape.new(name: 'ExtractionPrompt')
63
+ GetEventInput = Shapes::StructureShape.new(name: 'GetEventInput')
64
+ GetEventOutput = Shapes::StructureShape.new(name: 'GetEventOutput')
65
+ GetMemoryInput = Shapes::StructureShape.new(name: 'GetMemoryInput')
66
+ GetMemoryOutput = Shapes::StructureShape.new(name: 'GetMemoryOutput')
67
+ GetSpaceRequest = Shapes::StructureShape.new(name: 'GetSpaceRequest')
68
+ GetSpaceResponse = Shapes::StructureShape.new(name: 'GetSpaceResponse')
69
+ IdleTimeoutSeconds = Shapes::IntegerShape.new(name: 'IdleTimeoutSeconds')
70
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
71
+ InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
72
+ ListEventsInput = Shapes::StructureShape.new(name: 'ListEventsInput')
73
+ ListEventsOutput = Shapes::StructureShape.new(name: 'ListEventsOutput')
74
+ ListMemoriesInput = Shapes::StructureShape.new(name: 'ListMemoriesInput')
75
+ ListMemoriesOutput = Shapes::StructureShape.new(name: 'ListMemoriesOutput')
76
+ ListSpacesRequest = Shapes::StructureShape.new(name: 'ListSpacesRequest')
77
+ ListSpacesResponse = Shapes::StructureShape.new(name: 'ListSpacesResponse')
78
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
79
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
80
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
81
+ Memory = Shapes::StructureShape.new(name: 'Memory')
82
+ MemoryExpiryDays = Shapes::IntegerShape.new(name: 'MemoryExpiryDays')
83
+ MemoryId = Shapes::StringShape.new(name: 'MemoryId')
84
+ MemoryListSummary = Shapes::StructureShape.new(name: 'MemoryListSummary')
85
+ MemoryListSummaryList = Shapes::ListShape.new(name: 'MemoryListSummaryList')
86
+ MemorySearchSummary = Shapes::StructureShape.new(name: 'MemorySearchSummary')
87
+ MemorySearchSummaryList = Shapes::ListShape.new(name: 'MemorySearchSummaryList')
88
+ MemorySortField = Shapes::StringShape.new(name: 'MemorySortField')
89
+ MemoryStrategy = Shapes::StructureShape.new(name: 'MemoryStrategy')
90
+ MemoryStrategyConfiguration = Shapes::StructureShape.new(name: 'MemoryStrategyConfiguration')
91
+ MemoryStrategyDescription = Shapes::StringShape.new(name: 'MemoryStrategyDescription')
92
+ MemoryStrategyList = Shapes::ListShape.new(name: 'MemoryStrategyList')
93
+ MemoryStrategyName = Shapes::StringShape.new(name: 'MemoryStrategyName')
94
+ MemoryStrategyType = Shapes::StringShape.new(name: 'MemoryStrategyType')
95
+ MemoryType = Shapes::StringShape.new(name: 'MemoryType')
96
+ MemoryUpdateContent = Shapes::StringShape.new(name: 'MemoryUpdateContent')
97
+ Message = Shapes::StructureShape.new(name: 'Message')
98
+ MessageContent = Shapes::StructureShape.new(name: 'MessageContent')
99
+ MessageList = Shapes::ListShape.new(name: 'MessageList')
100
+ MessageRole = Shapes::StringShape.new(name: 'MessageRole')
101
+ MessageText = Shapes::StringShape.new(name: 'MessageText')
102
+ MetadataKey = Shapes::StringShape.new(name: 'MetadataKey')
103
+ MetadataMap = Shapes::MapShape.new(name: 'MetadataMap')
104
+ MetadataMode = Shapes::StringShape.new(name: 'MetadataMode')
105
+ MetadataValue = Shapes::StringShape.new(name: 'MetadataValue')
106
+ NextToken = Shapes::StringShape.new(name: 'NextToken')
107
+ PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
108
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
109
+ S3Location = Shapes::StructureShape.new(name: 'S3Location')
110
+ S3LocationUriString = Shapes::StringShape.new(name: 'S3LocationUriString')
111
+ SearchEventsInput = Shapes::StructureShape.new(name: 'SearchEventsInput')
112
+ SearchEventsOutput = Shapes::StructureShape.new(name: 'SearchEventsOutput')
113
+ SearchMemoriesInput = Shapes::StructureShape.new(name: 'SearchMemoriesInput')
114
+ SearchMemoriesOutput = Shapes::StructureShape.new(name: 'SearchMemoriesOutput')
115
+ SearchQuery = Shapes::DocumentShape.new(name: 'SearchQuery', document: true)
116
+ SearchSort = Shapes::DocumentShape.new(name: 'SearchSort', document: true)
117
+ SeedMemoryCount = Shapes::IntegerShape.new(name: 'SeedMemoryCount')
118
+ SensitiveContent = Shapes::StringShape.new(name: 'SensitiveContent')
119
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
120
+ SessionId = Shapes::StringShape.new(name: 'SessionId')
121
+ SessionIdList = Shapes::ListShape.new(name: 'SessionIdList')
122
+ SortOrder = Shapes::StringShape.new(name: 'SortOrder')
123
+ SourceEventIdList = Shapes::ListShape.new(name: 'SourceEventIdList')
124
+ SpaceArn = Shapes::StringShape.new(name: 'SpaceArn')
125
+ SpaceId = Shapes::StringShape.new(name: 'SpaceId')
126
+ SpaceName = Shapes::StringShape.new(name: 'SpaceName')
127
+ SpaceStatus = Shapes::StringShape.new(name: 'SpaceStatus')
128
+ SpaceSummary = Shapes::StructureShape.new(name: 'SpaceSummary')
129
+ SpaceSummaryList = Shapes::ListShape.new(name: 'SpaceSummaryList')
130
+ StrategyName = Shapes::StringShape.new(name: 'StrategyName')
131
+ StrategyNameList = Shapes::ListShape.new(name: 'StrategyNameList')
132
+ StrategySelector = Shapes::StructureShape.new(name: 'StrategySelector')
133
+ StrategySelectorList = Shapes::ListShape.new(name: 'StrategySelectorList')
134
+ String = Shapes::StringShape.new(name: 'String')
135
+ StructuredDataPayload = Shapes::StructureShape.new(name: 'StructuredDataPayload')
136
+ StructuredDataSource = Shapes::UnionShape.new(name: 'StructuredDataSource')
137
+ SyntheticTimestamp_date_time = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_date_time', timestampFormat: "iso8601")
138
+ SystemMetadata = Shapes::StructureShape.new(name: 'SystemMetadata')
139
+ Tag = Shapes::StructureShape.new(name: 'Tag')
140
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
141
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
142
+ TagList = Shapes::ListShape.new(name: 'TagList')
143
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
144
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
145
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
146
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
147
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
148
+ TokenCount = Shapes::IntegerShape.new(name: 'TokenCount')
149
+ TriggerEveryNMessages = Shapes::IntegerShape.new(name: 'TriggerEveryNMessages')
150
+ UnifiedConversational = Shapes::StructureShape.new(name: 'UnifiedConversational')
151
+ UnifiedConversationalObject = Shapes::StructureShape.new(name: 'UnifiedConversationalObject')
152
+ UnifiedConversationalSource = Shapes::UnionShape.new(name: 'UnifiedConversationalSource')
153
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
154
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
155
+ UpdateMemoryInput = Shapes::StructureShape.new(name: 'UpdateMemoryInput')
156
+ UpdateMemoryOutput = Shapes::StructureShape.new(name: 'UpdateMemoryOutput')
157
+ UpdateSpaceRequest = Shapes::StructureShape.new(name: 'UpdateSpaceRequest')
158
+ UpdateSpaceResponse = Shapes::StructureShape.new(name: 'UpdateSpaceResponse')
159
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
160
+ ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
161
+ ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
162
+ ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
163
+
164
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
165
+ AccessDeniedException.struct_class = Types::AccessDeniedException
166
+
167
+ ActorIdList.member = Shapes::ShapeRef.new(shape: ActorId)
168
+
169
+ BatchGetEventError.add_member(:event_id, Shapes::ShapeRef.new(shape: EventId, required: true, location_name: "eventId"))
170
+ BatchGetEventError.add_member(:error_code, Shapes::ShapeRef.new(shape: BatchGetEventErrorCode, required: true, location_name: "errorCode"))
171
+ BatchGetEventError.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
172
+ BatchGetEventError.struct_class = Types::BatchGetEventError
173
+
174
+ BatchGetEventErrorList.member = Shapes::ShapeRef.new(shape: BatchGetEventError)
175
+
176
+ BatchGetEventIdList.member = Shapes::ShapeRef.new(shape: EventId)
177
+
178
+ BatchGetEventInput.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location_name: "spaceId", metadata: {"contextParam" => {"name" => "SpaceId"}}))
179
+ BatchGetEventInput.add_member(:actor_id, Shapes::ShapeRef.new(shape: ActorId, location_name: "actorId"))
180
+ BatchGetEventInput.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, location_name: "sessionId"))
181
+ BatchGetEventInput.add_member(:event_ids, Shapes::ShapeRef.new(shape: BatchGetEventIdList, required: true, location_name: "eventIds"))
182
+ BatchGetEventInput.struct_class = Types::BatchGetEventInput
183
+
184
+ BatchGetEventOutput.add_member(:events, Shapes::ShapeRef.new(shape: EventList, required: true, location_name: "events"))
185
+ BatchGetEventOutput.add_member(:errors, Shapes::ShapeRef.new(shape: BatchGetEventErrorList, required: true, location_name: "errors"))
186
+ BatchGetEventOutput.struct_class = Types::BatchGetEventOutput
187
+
188
+ BlobPayload.add_member(:content_type, Shapes::ShapeRef.new(shape: BlobContentType, required: true, location_name: "contentType"))
189
+ BlobPayload.add_member(:source, Shapes::ShapeRef.new(shape: BlobSource, required: true, location_name: "source"))
190
+ BlobPayload.struct_class = Types::BlobPayload
191
+
192
+ BlobSource.add_member(:s3_location, Shapes::ShapeRef.new(shape: S3Location, location_name: "s3Location"))
193
+ BlobSource.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
194
+ BlobSource.add_member_subclass(:s3_location, Types::BlobSource::S3Location)
195
+ BlobSource.add_member_subclass(:unknown, Types::BlobSource::Unknown)
196
+ BlobSource.struct_class = Types::BlobSource
197
+
198
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
199
+ ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "resourceId"))
200
+ ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
201
+ ConflictException.struct_class = Types::ConflictException
202
+
203
+ ConversationalPayload.add_member(:unified, Shapes::ShapeRef.new(shape: UnifiedConversational, location_name: "unified"))
204
+ ConversationalPayload.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
205
+ ConversationalPayload.add_member_subclass(:unified, Types::ConversationalPayload::Unified)
206
+ ConversationalPayload.add_member_subclass(:unknown, Types::ConversationalPayload::Unknown)
207
+ ConversationalPayload.struct_class = Types::ConversationalPayload
208
+
209
+ CreateEventInput.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location_name: "spaceId", metadata: {"contextParam" => {"name" => "SpaceId"}}))
210
+ CreateEventInput.add_member(:actor_id, Shapes::ShapeRef.new(shape: ActorId, required: true, location_name: "actorId"))
211
+ CreateEventInput.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, location_name: "sessionId"))
212
+ CreateEventInput.add_member(:event_timestamp, Shapes::ShapeRef.new(shape: EventTimestamp, location_name: "eventTimestamp"))
213
+ CreateEventInput.add_member(:payload, Shapes::ShapeRef.new(shape: EventPayload, required: true, location_name: "payload"))
214
+ CreateEventInput.add_member(:metadata, Shapes::ShapeRef.new(shape: MetadataMap, location_name: "metadata"))
215
+ CreateEventInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
216
+ CreateEventInput.add_member(:infer, Shapes::ShapeRef.new(shape: Boolean, location_name: "infer"))
217
+ CreateEventInput.struct_class = Types::CreateEventInput
218
+
219
+ CreateEventOutput.add_member(:event, Shapes::ShapeRef.new(shape: EventDetail, required: true, location_name: "event"))
220
+ CreateEventOutput.struct_class = Types::CreateEventOutput
221
+
222
+ CreateMemoryDetail.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location_name: "memoryId"))
223
+ CreateMemoryDetail.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location_name: "spaceId"))
224
+ CreateMemoryDetail.add_member(:name, Shapes::ShapeRef.new(shape: StrategyName, required: true, location_name: "name"))
225
+ CreateMemoryDetail.add_member(:actor_id, Shapes::ShapeRef.new(shape: ActorId, required: true, location_name: "actorId"))
226
+ CreateMemoryDetail.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location_name: "sessionId"))
227
+ CreateMemoryDetail.struct_class = Types::CreateMemoryDetail
228
+
229
+ CreateMemoryInput.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location_name: "spaceId", metadata: {"contextParam" => {"name" => "SpaceId"}}))
230
+ CreateMemoryInput.add_member(:name, Shapes::ShapeRef.new(shape: StrategyName, required: true, location_name: "name"))
231
+ CreateMemoryInput.add_member(:content, Shapes::ShapeRef.new(shape: CreateMemoryContent, required: true, location_name: "content"))
232
+ CreateMemoryInput.add_member(:actor_id, Shapes::ShapeRef.new(shape: ActorId, required: true, location_name: "actorId"))
233
+ CreateMemoryInput.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, location_name: "sessionId"))
234
+ CreateMemoryInput.add_member(:metadata, Shapes::ShapeRef.new(shape: MetadataMap, location_name: "metadata"))
235
+ CreateMemoryInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
236
+ CreateMemoryInput.struct_class = Types::CreateMemoryInput
237
+
238
+ CreateMemoryOutput.add_member(:memory, Shapes::ShapeRef.new(shape: CreateMemoryDetail, required: true, location_name: "memory"))
239
+ CreateMemoryOutput.struct_class = Types::CreateMemoryOutput
240
+
241
+ CreateSpaceRequest.add_member(:name, Shapes::ShapeRef.new(shape: SpaceName, required: true, location_name: "name"))
242
+ CreateSpaceRequest.add_member(:memory_strategies, Shapes::ShapeRef.new(shape: MemoryStrategyList, location_name: "memoryStrategies"))
243
+ CreateSpaceRequest.add_member(:event_expiry_days, Shapes::ShapeRef.new(shape: EventExpiryDays, location_name: "eventExpiryDays"))
244
+ CreateSpaceRequest.add_member(:memory_expiry_days, Shapes::ShapeRef.new(shape: MemoryExpiryDays, location_name: "memoryExpiryDays"))
245
+ CreateSpaceRequest.add_member(:extraction_model_id, Shapes::ShapeRef.new(shape: ExtractionModelId, location_name: "extractionModelId"))
246
+ CreateSpaceRequest.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "encryptionConfiguration"))
247
+ CreateSpaceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
248
+ CreateSpaceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
249
+ CreateSpaceRequest.struct_class = Types::CreateSpaceRequest
250
+
251
+ CreateSpaceResponse.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location_name: "spaceId"))
252
+ CreateSpaceResponse.add_member(:arn, Shapes::ShapeRef.new(shape: SpaceArn, required: true, location_name: "arn"))
253
+ CreateSpaceResponse.add_member(:name, Shapes::ShapeRef.new(shape: SpaceName, required: true, location_name: "name"))
254
+ CreateSpaceResponse.add_member(:status, Shapes::ShapeRef.new(shape: SpaceStatus, required: true, location_name: "status"))
255
+ CreateSpaceResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
256
+ CreateSpaceResponse.struct_class = Types::CreateSpaceResponse
257
+
258
+ DeleteEventInput.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location_name: "spaceId", metadata: {"contextParam" => {"name" => "SpaceId"}}))
259
+ DeleteEventInput.add_member(:event_id, Shapes::ShapeRef.new(shape: EventId, required: true, location_name: "eventId"))
260
+ DeleteEventInput.add_member(:actor_id, Shapes::ShapeRef.new(shape: ActorId, location_name: "actorId"))
261
+ DeleteEventInput.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, location_name: "sessionId"))
262
+ DeleteEventInput.struct_class = Types::DeleteEventInput
263
+
264
+ DeleteEventOutput.add_member(:event_id, Shapes::ShapeRef.new(shape: EventId, required: true, location_name: "eventId"))
265
+ DeleteEventOutput.struct_class = Types::DeleteEventOutput
266
+
267
+ DeleteMemoryInput.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location_name: "spaceId", metadata: {"contextParam" => {"name" => "SpaceId"}}))
268
+ DeleteMemoryInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location_name: "memoryId"))
269
+ DeleteMemoryInput.add_member(:actor_id, Shapes::ShapeRef.new(shape: ActorId, location_name: "actorId"))
270
+ DeleteMemoryInput.add_member(:strategy_name, Shapes::ShapeRef.new(shape: StrategyName, location_name: "strategyName"))
271
+ DeleteMemoryInput.struct_class = Types::DeleteMemoryInput
272
+
273
+ DeleteMemoryOutput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location_name: "memoryId"))
274
+ DeleteMemoryOutput.struct_class = Types::DeleteMemoryOutput
275
+
276
+ DeleteSpaceRequest.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location_name: "spaceId"))
277
+ DeleteSpaceRequest.struct_class = Types::DeleteSpaceRequest
278
+
279
+ DeleteSpaceResponse.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location_name: "spaceId"))
280
+ DeleteSpaceResponse.add_member(:status, Shapes::ShapeRef.new(shape: SpaceStatus, required: true, location_name: "status"))
281
+ DeleteSpaceResponse.struct_class = Types::DeleteSpaceResponse
282
+
283
+ EncryptionConfiguration.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyArn"))
284
+ EncryptionConfiguration.struct_class = Types::EncryptionConfiguration
285
+
286
+ Event.add_member(:event_id, Shapes::ShapeRef.new(shape: EventId, required: true, location_name: "eventId"))
287
+ Event.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location_name: "spaceId"))
288
+ Event.add_member(:actor_id, Shapes::ShapeRef.new(shape: ActorId, required: true, location_name: "actorId"))
289
+ Event.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location_name: "sessionId"))
290
+ Event.add_member(:payload, Shapes::ShapeRef.new(shape: EventPayload, required: true, location_name: "payload"))
291
+ Event.add_member(:metadata, Shapes::ShapeRef.new(shape: MetadataMap, location_name: "metadata"))
292
+ Event.add_member(:event_timestamp, Shapes::ShapeRef.new(shape: EventTimestamp, required: true, location_name: "eventTimestamp"))
293
+ Event.struct_class = Types::Event
294
+
295
+ EventDetail.add_member(:event_id, Shapes::ShapeRef.new(shape: EventId, required: true, location_name: "eventId"))
296
+ EventDetail.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location_name: "spaceId"))
297
+ EventDetail.add_member(:actor_id, Shapes::ShapeRef.new(shape: ActorId, required: true, location_name: "actorId"))
298
+ EventDetail.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location_name: "sessionId"))
299
+ EventDetail.add_member(:event_timestamp, Shapes::ShapeRef.new(shape: EventTimestamp, required: true, location_name: "eventTimestamp"))
300
+ EventDetail.struct_class = Types::EventDetail
301
+
302
+ EventList.member = Shapes::ShapeRef.new(shape: Event)
303
+
304
+ EventPayload.add_member(:conversational, Shapes::ShapeRef.new(shape: ConversationalPayload, location_name: "conversational"))
305
+ EventPayload.add_member(:structured_data, Shapes::ShapeRef.new(shape: StructuredDataPayload, location_name: "structuredData"))
306
+ EventPayload.add_member(:blob, Shapes::ShapeRef.new(shape: BlobPayload, location_name: "blob"))
307
+ EventPayload.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
308
+ EventPayload.add_member_subclass(:conversational, Types::EventPayload::Conversational)
309
+ EventPayload.add_member_subclass(:structured_data, Types::EventPayload::StructuredData)
310
+ EventPayload.add_member_subclass(:blob, Types::EventPayload::Blob)
311
+ EventPayload.add_member_subclass(:unknown, Types::EventPayload::Unknown)
312
+ EventPayload.struct_class = Types::EventPayload
313
+
314
+ EventSearchSummary.add_member(:event_id, Shapes::ShapeRef.new(shape: EventId, required: true, location_name: "eventId"))
315
+ EventSearchSummary.add_member(:score, Shapes::ShapeRef.new(shape: Double, location_name: "score"))
316
+ EventSearchSummary.add_member(:system_metadata, Shapes::ShapeRef.new(shape: SystemMetadata, location_name: "systemMetadata"))
317
+ EventSearchSummary.add_member(:metadata, Shapes::ShapeRef.new(shape: MetadataMap, location_name: "metadata"))
318
+ EventSearchSummary.add_member(:matched_content, Shapes::ShapeRef.new(shape: SensitiveContent, location_name: "matchedContent"))
319
+ EventSearchSummary.struct_class = Types::EventSearchSummary
320
+
321
+ EventSearchSummaryList.member = Shapes::ShapeRef.new(shape: EventSearchSummary)
322
+
323
+ EventSummary.add_member(:event_id, Shapes::ShapeRef.new(shape: EventId, required: true, location_name: "eventId"))
324
+ EventSummary.add_member(:metadata, Shapes::ShapeRef.new(shape: MetadataMap, location_name: "metadata"))
325
+ EventSummary.add_member(:event_timestamp, Shapes::ShapeRef.new(shape: EventTimestamp, required: true, location_name: "eventTimestamp"))
326
+ EventSummary.struct_class = Types::EventSummary
327
+
328
+ EventSummaryList.member = Shapes::ShapeRef.new(shape: EventSummary)
329
+
330
+ GetEventInput.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location_name: "spaceId", metadata: {"contextParam" => {"name" => "SpaceId"}}))
331
+ GetEventInput.add_member(:event_id, Shapes::ShapeRef.new(shape: EventId, required: true, location_name: "eventId"))
332
+ GetEventInput.add_member(:actor_id, Shapes::ShapeRef.new(shape: ActorId, location_name: "actorId"))
333
+ GetEventInput.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, location_name: "sessionId"))
334
+ GetEventInput.struct_class = Types::GetEventInput
335
+
336
+ GetEventOutput.add_member(:event, Shapes::ShapeRef.new(shape: Event, required: true, location_name: "event"))
337
+ GetEventOutput.struct_class = Types::GetEventOutput
338
+
339
+ GetMemoryInput.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location_name: "spaceId", metadata: {"contextParam" => {"name" => "SpaceId"}}))
340
+ GetMemoryInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location_name: "memoryId"))
341
+ GetMemoryInput.add_member(:actor_id, Shapes::ShapeRef.new(shape: ActorId, location_name: "actorId"))
342
+ GetMemoryInput.add_member(:strategy_name, Shapes::ShapeRef.new(shape: StrategyName, location_name: "strategyName"))
343
+ GetMemoryInput.struct_class = Types::GetMemoryInput
344
+
345
+ GetMemoryOutput.add_member(:memory, Shapes::ShapeRef.new(shape: Memory, required: true, location_name: "memory"))
346
+ GetMemoryOutput.struct_class = Types::GetMemoryOutput
347
+
348
+ GetSpaceRequest.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location_name: "spaceId"))
349
+ GetSpaceRequest.struct_class = Types::GetSpaceRequest
350
+
351
+ GetSpaceResponse.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location_name: "spaceId"))
352
+ GetSpaceResponse.add_member(:arn, Shapes::ShapeRef.new(shape: SpaceArn, required: true, location_name: "arn"))
353
+ GetSpaceResponse.add_member(:name, Shapes::ShapeRef.new(shape: SpaceName, required: true, location_name: "name"))
354
+ GetSpaceResponse.add_member(:status, Shapes::ShapeRef.new(shape: SpaceStatus, required: true, location_name: "status"))
355
+ GetSpaceResponse.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
356
+ GetSpaceResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
357
+ GetSpaceResponse.add_member(:memory_strategies, Shapes::ShapeRef.new(shape: MemoryStrategyList, location_name: "memoryStrategies"))
358
+ GetSpaceResponse.add_member(:event_expiry_days, Shapes::ShapeRef.new(shape: EventExpiryDays, location_name: "eventExpiryDays"))
359
+ GetSpaceResponse.add_member(:memory_expiry_days, Shapes::ShapeRef.new(shape: MemoryExpiryDays, location_name: "memoryExpiryDays"))
360
+ GetSpaceResponse.add_member(:extraction_model_id, Shapes::ShapeRef.new(shape: ExtractionModelId, location_name: "extractionModelId"))
361
+ GetSpaceResponse.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "encryptionConfiguration"))
362
+ GetSpaceResponse.struct_class = Types::GetSpaceResponse
363
+
364
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
365
+ InternalServerException.struct_class = Types::InternalServerException
366
+
367
+ ListEventsInput.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location_name: "spaceId", metadata: {"contextParam" => {"name" => "SpaceId"}}))
368
+ ListEventsInput.add_member(:actor_id, Shapes::ShapeRef.new(shape: ActorId, required: true, location_name: "actorId"))
369
+ ListEventsInput.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location_name: "sessionId"))
370
+ ListEventsInput.add_member(:event_timestamp_before, Shapes::ShapeRef.new(shape: EventTimestamp, location_name: "eventTimestampBefore"))
371
+ ListEventsInput.add_member(:event_timestamp_after, Shapes::ShapeRef.new(shape: EventTimestamp, location_name: "eventTimestampAfter"))
372
+ ListEventsInput.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location_name: "sortOrder"))
373
+ ListEventsInput.add_member(:metadata_filters, Shapes::ShapeRef.new(shape: MetadataMap, location_name: "metadataFilters"))
374
+ ListEventsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
375
+ ListEventsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
376
+ ListEventsInput.struct_class = Types::ListEventsInput
377
+
378
+ ListEventsOutput.add_member(:events, Shapes::ShapeRef.new(shape: EventSummaryList, required: true, location_name: "events"))
379
+ ListEventsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
380
+ ListEventsOutput.struct_class = Types::ListEventsOutput
381
+
382
+ ListMemoriesInput.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location_name: "spaceId", metadata: {"contextParam" => {"name" => "SpaceId"}}))
383
+ ListMemoriesInput.add_member(:memory_strategies, Shapes::ShapeRef.new(shape: StrategySelectorList, location_name: "memoryStrategies"))
384
+ ListMemoriesInput.add_member(:actor_ids, Shapes::ShapeRef.new(shape: ActorIdList, location_name: "actorIds"))
385
+ ListMemoriesInput.add_member(:session_ids, Shapes::ShapeRef.new(shape: SessionIdList, location_name: "sessionIds"))
386
+ ListMemoriesInput.add_member(:sort_by, Shapes::ShapeRef.new(shape: MemorySortField, location_name: "sortBy"))
387
+ ListMemoriesInput.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location_name: "sortOrder"))
388
+ ListMemoriesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
389
+ ListMemoriesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
390
+ ListMemoriesInput.struct_class = Types::ListMemoriesInput
391
+
392
+ ListMemoriesOutput.add_member(:memories, Shapes::ShapeRef.new(shape: MemoryListSummaryList, required: true, location_name: "memories"))
393
+ ListMemoriesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
394
+ ListMemoriesOutput.struct_class = Types::ListMemoriesOutput
395
+
396
+ ListSpacesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
397
+ ListSpacesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
398
+ ListSpacesRequest.struct_class = Types::ListSpacesRequest
399
+
400
+ ListSpacesResponse.add_member(:spaces, Shapes::ShapeRef.new(shape: SpaceSummaryList, required: true, location_name: "spaces"))
401
+ ListSpacesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
402
+ ListSpacesResponse.struct_class = Types::ListSpacesResponse
403
+
404
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: SpaceArn, required: true, location_name: "resourceArn"))
405
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
406
+
407
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
408
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
409
+
410
+ Memory.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location_name: "memoryId"))
411
+ Memory.add_member(:memory_type, Shapes::ShapeRef.new(shape: MemoryType, required: true, location_name: "memoryType"))
412
+ Memory.add_member(:strategy_name, Shapes::ShapeRef.new(shape: StrategyName, location_name: "strategyName"))
413
+ Memory.add_member(:content, Shapes::ShapeRef.new(shape: SensitiveContent, required: true, location_name: "content"))
414
+ Memory.add_member(:system_metadata, Shapes::ShapeRef.new(shape: SystemMetadata, required: true, location_name: "systemMetadata"))
415
+ Memory.add_member(:metadata, Shapes::ShapeRef.new(shape: MetadataMap, location_name: "metadata"))
416
+ Memory.struct_class = Types::Memory
417
+
418
+ MemoryListSummary.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location_name: "memoryId"))
419
+ MemoryListSummary.add_member(:memory_type, Shapes::ShapeRef.new(shape: MemoryType, required: true, location_name: "memoryType"))
420
+ MemoryListSummary.add_member(:strategy_name, Shapes::ShapeRef.new(shape: StrategyName, location_name: "strategyName"))
421
+ MemoryListSummary.add_member(:system_metadata, Shapes::ShapeRef.new(shape: SystemMetadata, required: true, location_name: "systemMetadata"))
422
+ MemoryListSummary.add_member(:metadata, Shapes::ShapeRef.new(shape: MetadataMap, location_name: "metadata"))
423
+ MemoryListSummary.struct_class = Types::MemoryListSummary
424
+
425
+ MemoryListSummaryList.member = Shapes::ShapeRef.new(shape: MemoryListSummary)
426
+
427
+ MemorySearchSummary.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location_name: "memoryId"))
428
+ MemorySearchSummary.add_member(:memory_type, Shapes::ShapeRef.new(shape: MemoryType, location_name: "memoryType"))
429
+ MemorySearchSummary.add_member(:strategy_name, Shapes::ShapeRef.new(shape: StrategyName, location_name: "strategyName"))
430
+ MemorySearchSummary.add_member(:content, Shapes::ShapeRef.new(shape: SensitiveContent, location_name: "content"))
431
+ MemorySearchSummary.add_member(:score, Shapes::ShapeRef.new(shape: Double, location_name: "score"))
432
+ MemorySearchSummary.add_member(:system_metadata, Shapes::ShapeRef.new(shape: SystemMetadata, location_name: "systemMetadata"))
433
+ MemorySearchSummary.add_member(:metadata, Shapes::ShapeRef.new(shape: MetadataMap, location_name: "metadata"))
434
+ MemorySearchSummary.add_member(:source_event_ids, Shapes::ShapeRef.new(shape: SourceEventIdList, location_name: "sourceEventIds"))
435
+ MemorySearchSummary.struct_class = Types::MemorySearchSummary
436
+
437
+ MemorySearchSummaryList.member = Shapes::ShapeRef.new(shape: MemorySearchSummary)
438
+
439
+ MemoryStrategy.add_member(:type, Shapes::ShapeRef.new(shape: MemoryStrategyType, required: true, location_name: "type"))
440
+ MemoryStrategy.add_member(:name, Shapes::ShapeRef.new(shape: MemoryStrategyName, location_name: "name"))
441
+ MemoryStrategy.add_member(:description, Shapes::ShapeRef.new(shape: MemoryStrategyDescription, location_name: "description"))
442
+ MemoryStrategy.add_member(:configuration, Shapes::ShapeRef.new(shape: MemoryStrategyConfiguration, location_name: "configuration"))
443
+ MemoryStrategy.struct_class = Types::MemoryStrategy
444
+
445
+ MemoryStrategyConfiguration.add_member(:extraction_prompt, Shapes::ShapeRef.new(shape: ExtractionPrompt, location_name: "extractionPrompt"))
446
+ MemoryStrategyConfiguration.add_member(:extract_every_n_messages, Shapes::ShapeRef.new(shape: TriggerEveryNMessages, location_name: "extractEveryNMessages"))
447
+ MemoryStrategyConfiguration.add_member(:extract_every_n_tokens, Shapes::ShapeRef.new(shape: TokenCount, location_name: "extractEveryNTokens"))
448
+ MemoryStrategyConfiguration.add_member(:idle_timeout_seconds, Shapes::ShapeRef.new(shape: IdleTimeoutSeconds, location_name: "idleTimeoutSeconds"))
449
+ MemoryStrategyConfiguration.add_member(:extraction_seed_top_k, Shapes::ShapeRef.new(shape: SeedMemoryCount, location_name: "extractionSeedTopK"))
450
+ MemoryStrategyConfiguration.add_member(:extraction_seed_recent_n, Shapes::ShapeRef.new(shape: SeedMemoryCount, location_name: "extractionSeedRecentN"))
451
+ MemoryStrategyConfiguration.add_member(:consolidation_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "consolidationEnabled"))
452
+ MemoryStrategyConfiguration.struct_class = Types::MemoryStrategyConfiguration
453
+
454
+ MemoryStrategyList.member = Shapes::ShapeRef.new(shape: MemoryStrategy)
455
+
456
+ Message.add_member(:role, Shapes::ShapeRef.new(shape: MessageRole, required: true, location_name: "role"))
457
+ Message.add_member(:content, Shapes::ShapeRef.new(shape: MessageContent, required: true, location_name: "content"))
458
+ Message.struct_class = Types::Message
459
+
460
+ MessageContent.add_member(:text, Shapes::ShapeRef.new(shape: MessageText, required: true, location_name: "text"))
461
+ MessageContent.struct_class = Types::MessageContent
462
+
463
+ MessageList.member = Shapes::ShapeRef.new(shape: Message)
464
+
465
+ MetadataMap.key = Shapes::ShapeRef.new(shape: MetadataKey)
466
+ MetadataMap.value = Shapes::ShapeRef.new(shape: MetadataValue)
467
+
468
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
469
+ ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "resourceId"))
470
+ ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
471
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
472
+
473
+ S3Location.add_member(:uri, Shapes::ShapeRef.new(shape: S3LocationUriString, required: true, location_name: "uri"))
474
+ S3Location.struct_class = Types::S3Location
475
+
476
+ SearchEventsInput.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location_name: "spaceId", metadata: {"contextParam" => {"name" => "SpaceId"}}))
477
+ SearchEventsInput.add_member(:actor_id, Shapes::ShapeRef.new(shape: ActorId, required: true, location_name: "actorId"))
478
+ SearchEventsInput.add_member(:session_ids, Shapes::ShapeRef.new(shape: SessionIdList, location_name: "sessionIds"))
479
+ SearchEventsInput.add_member(:query, Shapes::ShapeRef.new(shape: SearchQuery, required: true, location_name: "query"))
480
+ SearchEventsInput.add_member(:sort, Shapes::ShapeRef.new(shape: SearchSort, location_name: "sort"))
481
+ SearchEventsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
482
+ SearchEventsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
483
+ SearchEventsInput.struct_class = Types::SearchEventsInput
484
+
485
+ SearchEventsOutput.add_member(:events, Shapes::ShapeRef.new(shape: EventSearchSummaryList, required: true, location_name: "events"))
486
+ SearchEventsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
487
+ SearchEventsOutput.struct_class = Types::SearchEventsOutput
488
+
489
+ SearchMemoriesInput.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location_name: "spaceId", metadata: {"contextParam" => {"name" => "SpaceId"}}))
490
+ SearchMemoriesInput.add_member(:memory_strategies, Shapes::ShapeRef.new(shape: StrategySelectorList, location_name: "memoryStrategies"))
491
+ SearchMemoriesInput.add_member(:actor_id, Shapes::ShapeRef.new(shape: ActorId, required: true, location_name: "actorId"))
492
+ SearchMemoriesInput.add_member(:query, Shapes::ShapeRef.new(shape: SearchQuery, required: true, location_name: "query"))
493
+ SearchMemoriesInput.add_member(:sort, Shapes::ShapeRef.new(shape: SearchSort, location_name: "sort"))
494
+ SearchMemoriesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
495
+ SearchMemoriesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
496
+ SearchMemoriesInput.struct_class = Types::SearchMemoriesInput
497
+
498
+ SearchMemoriesOutput.add_member(:memories, Shapes::ShapeRef.new(shape: MemorySearchSummaryList, required: true, location_name: "memories"))
499
+ SearchMemoriesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
500
+ SearchMemoriesOutput.struct_class = Types::SearchMemoriesOutput
501
+
502
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
503
+ ServiceQuotaExceededException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, location_name: "quotaCode"))
504
+ ServiceQuotaExceededException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, location_name: "serviceCode"))
505
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
506
+
507
+ SessionIdList.member = Shapes::ShapeRef.new(shape: SessionId)
508
+
509
+ SourceEventIdList.member = Shapes::ShapeRef.new(shape: EventId)
510
+
511
+ SpaceSummary.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location_name: "spaceId"))
512
+ SpaceSummary.add_member(:arn, Shapes::ShapeRef.new(shape: SpaceArn, required: true, location_name: "arn"))
513
+ SpaceSummary.add_member(:name, Shapes::ShapeRef.new(shape: SpaceName, required: true, location_name: "name"))
514
+ SpaceSummary.add_member(:status, Shapes::ShapeRef.new(shape: SpaceStatus, required: true, location_name: "status"))
515
+ SpaceSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
516
+ SpaceSummary.struct_class = Types::SpaceSummary
517
+
518
+ SpaceSummaryList.member = Shapes::ShapeRef.new(shape: SpaceSummary)
519
+
520
+ StrategyNameList.member = Shapes::ShapeRef.new(shape: StrategyName)
521
+
522
+ StrategySelector.add_member(:memory_type, Shapes::ShapeRef.new(shape: MemoryType, required: true, location_name: "memoryType"))
523
+ StrategySelector.add_member(:memory_strategy_names, Shapes::ShapeRef.new(shape: StrategyNameList, location_name: "memoryStrategyNames"))
524
+ StrategySelector.struct_class = Types::StrategySelector
525
+
526
+ StrategySelectorList.member = Shapes::ShapeRef.new(shape: StrategySelector)
527
+
528
+ StructuredDataPayload.add_member(:source, Shapes::ShapeRef.new(shape: StructuredDataSource, required: true, location_name: "source"))
529
+ StructuredDataPayload.struct_class = Types::StructuredDataPayload
530
+
531
+ StructuredDataSource.add_member(:json, Shapes::ShapeRef.new(shape: Document, location_name: "json"))
532
+ StructuredDataSource.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
533
+ StructuredDataSource.add_member_subclass(:json, Types::StructuredDataSource::Json)
534
+ StructuredDataSource.add_member_subclass(:unknown, Types::StructuredDataSource::Unknown)
535
+ StructuredDataSource.struct_class = Types::StructuredDataSource
536
+
537
+ SystemMetadata.add_member(:actor_id, Shapes::ShapeRef.new(shape: ActorId, location_name: "actorId"))
538
+ SystemMetadata.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, location_name: "sessionId"))
539
+ SystemMetadata.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "createdAt"))
540
+ SystemMetadata.add_member(:updated_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "updatedAt"))
541
+ SystemMetadata.struct_class = Types::SystemMetadata
542
+
543
+ Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "key"))
544
+ Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "value"))
545
+ Tag.struct_class = Types::Tag
546
+
547
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
548
+
549
+ TagList.member = Shapes::ShapeRef.new(shape: Tag)
550
+
551
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: SpaceArn, required: true, location_name: "resourceArn"))
552
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "tags"))
553
+ TagResourceRequest.struct_class = Types::TagResourceRequest
554
+
555
+ TagResourceResponse.struct_class = Types::TagResourceResponse
556
+
557
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
558
+ ThrottlingException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "retryAfterSeconds"))
559
+ ThrottlingException.struct_class = Types::ThrottlingException
560
+
561
+ UnifiedConversational.add_member(:source, Shapes::ShapeRef.new(shape: UnifiedConversationalSource, required: true, location_name: "source"))
562
+ UnifiedConversational.struct_class = Types::UnifiedConversational
563
+
564
+ UnifiedConversationalObject.add_member(:messages, Shapes::ShapeRef.new(shape: MessageList, required: true, location_name: "messages"))
565
+ UnifiedConversationalObject.struct_class = Types::UnifiedConversationalObject
566
+
567
+ UnifiedConversationalSource.add_member(:object, Shapes::ShapeRef.new(shape: UnifiedConversationalObject, location_name: "object"))
568
+ UnifiedConversationalSource.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
569
+ UnifiedConversationalSource.add_member_subclass(:object, Types::UnifiedConversationalSource::Object)
570
+ UnifiedConversationalSource.add_member_subclass(:unknown, Types::UnifiedConversationalSource::Unknown)
571
+ UnifiedConversationalSource.struct_class = Types::UnifiedConversationalSource
572
+
573
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: SpaceArn, required: true, location_name: "resourceArn"))
574
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "tagKeys"))
575
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
576
+
577
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
578
+
579
+ UpdateMemoryInput.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location_name: "spaceId", metadata: {"contextParam" => {"name" => "SpaceId"}}))
580
+ UpdateMemoryInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location_name: "memoryId"))
581
+ UpdateMemoryInput.add_member(:content, Shapes::ShapeRef.new(shape: MemoryUpdateContent, location_name: "content"))
582
+ UpdateMemoryInput.add_member(:metadata, Shapes::ShapeRef.new(shape: MetadataMap, location_name: "metadata"))
583
+ UpdateMemoryInput.add_member(:metadata_mode, Shapes::ShapeRef.new(shape: MetadataMode, location_name: "metadataMode"))
584
+ UpdateMemoryInput.add_member(:actor_id, Shapes::ShapeRef.new(shape: ActorId, location_name: "actorId"))
585
+ UpdateMemoryInput.add_member(:strategy_name, Shapes::ShapeRef.new(shape: StrategyName, location_name: "strategyName"))
586
+ UpdateMemoryInput.struct_class = Types::UpdateMemoryInput
587
+
588
+ UpdateMemoryOutput.add_member(:memory, Shapes::ShapeRef.new(shape: Memory, required: true, location_name: "memory"))
589
+ UpdateMemoryOutput.struct_class = Types::UpdateMemoryOutput
590
+
591
+ UpdateSpaceRequest.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location_name: "spaceId"))
592
+ UpdateSpaceRequest.add_member(:memory_strategies, Shapes::ShapeRef.new(shape: MemoryStrategyList, location_name: "memoryStrategies"))
593
+ UpdateSpaceRequest.add_member(:event_expiry_days, Shapes::ShapeRef.new(shape: EventExpiryDays, location_name: "eventExpiryDays"))
594
+ UpdateSpaceRequest.add_member(:memory_expiry_days, Shapes::ShapeRef.new(shape: MemoryExpiryDays, location_name: "memoryExpiryDays"))
595
+ UpdateSpaceRequest.add_member(:extraction_model_id, Shapes::ShapeRef.new(shape: ExtractionModelId, location_name: "extractionModelId"))
596
+ UpdateSpaceRequest.struct_class = Types::UpdateSpaceRequest
597
+
598
+ UpdateSpaceResponse.add_member(:space_id, Shapes::ShapeRef.new(shape: SpaceId, required: true, location_name: "spaceId"))
599
+ UpdateSpaceResponse.add_member(:status, Shapes::ShapeRef.new(shape: SpaceStatus, required: true, location_name: "status"))
600
+ UpdateSpaceResponse.struct_class = Types::UpdateSpaceResponse
601
+
602
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
603
+ ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, location_name: "reason"))
604
+ ValidationException.add_member(:field_list, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "fieldList"))
605
+ ValidationException.struct_class = Types::ValidationException
606
+
607
+ ValidationExceptionField.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
608
+ ValidationExceptionField.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
609
+ ValidationExceptionField.struct_class = Types::ValidationExceptionField
610
+
611
+ ValidationExceptionFieldList.member = Shapes::ShapeRef.new(shape: ValidationExceptionField)
612
+
613
+
614
+ # @api private
615
+ API = Seahorse::Model::Api.new.tap do |api|
616
+
617
+ api.version = "2026-08-24"
618
+
619
+ api.metadata = {
620
+ "apiVersion" => "2026-08-24",
621
+ "auth" => ["aws.auth#sigv4"],
622
+ "endpointPrefix" => "osm",
623
+ "jsonVersion" => "1.0",
624
+ "protocol" => "json",
625
+ "protocols" => ["json"],
626
+ "serviceFullName" => "Amazon OpenSearch Memory",
627
+ "serviceId" => "OpenSearchMemory",
628
+ "signatureVersion" => "v4",
629
+ "signingName" => "osm",
630
+ "targetPrefix" => "OpenSearchMemory",
631
+ "uid" => "opensearchmemory-2026-08-24",
632
+ }
633
+
634
+ api.add_operation(:batch_get_event, Seahorse::Model::Operation.new.tap do |o|
635
+ o.name = "BatchGetEvent"
636
+ o.http_method = "POST"
637
+ o.http_request_uri = "/"
638
+ o.input = Shapes::ShapeRef.new(shape: BatchGetEventInput)
639
+ o.output = Shapes::ShapeRef.new(shape: BatchGetEventOutput)
640
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
641
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
642
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
643
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
644
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
645
+ end)
646
+
647
+ api.add_operation(:create_event, Seahorse::Model::Operation.new.tap do |o|
648
+ o.name = "CreateEvent"
649
+ o.http_method = "POST"
650
+ o.http_request_uri = "/"
651
+ o.input = Shapes::ShapeRef.new(shape: CreateEventInput)
652
+ o.output = Shapes::ShapeRef.new(shape: CreateEventOutput)
653
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
654
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
655
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
656
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
657
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
658
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
659
+ end)
660
+
661
+ api.add_operation(:create_memory, Seahorse::Model::Operation.new.tap do |o|
662
+ o.name = "CreateMemory"
663
+ o.http_method = "POST"
664
+ o.http_request_uri = "/"
665
+ o.input = Shapes::ShapeRef.new(shape: CreateMemoryInput)
666
+ o.output = Shapes::ShapeRef.new(shape: CreateMemoryOutput)
667
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
668
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
669
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
670
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
671
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
672
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
673
+ end)
674
+
675
+ api.add_operation(:create_space, Seahorse::Model::Operation.new.tap do |o|
676
+ o.name = "CreateSpace"
677
+ o.http_method = "POST"
678
+ o.http_request_uri = "/"
679
+ o.input = Shapes::ShapeRef.new(shape: CreateSpaceRequest)
680
+ o.output = Shapes::ShapeRef.new(shape: CreateSpaceResponse)
681
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
682
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
683
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
684
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
685
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
686
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
687
+ end)
688
+
689
+ api.add_operation(:delete_event, Seahorse::Model::Operation.new.tap do |o|
690
+ o.name = "DeleteEvent"
691
+ o.http_method = "POST"
692
+ o.http_request_uri = "/"
693
+ o.input = Shapes::ShapeRef.new(shape: DeleteEventInput)
694
+ o.output = Shapes::ShapeRef.new(shape: DeleteEventOutput)
695
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
696
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
697
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
698
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
699
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
700
+ end)
701
+
702
+ api.add_operation(:delete_memory, Seahorse::Model::Operation.new.tap do |o|
703
+ o.name = "DeleteMemory"
704
+ o.http_method = "POST"
705
+ o.http_request_uri = "/"
706
+ o.input = Shapes::ShapeRef.new(shape: DeleteMemoryInput)
707
+ o.output = Shapes::ShapeRef.new(shape: DeleteMemoryOutput)
708
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
709
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
710
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
711
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
712
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
713
+ end)
714
+
715
+ api.add_operation(:delete_space, Seahorse::Model::Operation.new.tap do |o|
716
+ o.name = "DeleteSpace"
717
+ o.http_method = "POST"
718
+ o.http_request_uri = "/"
719
+ o.input = Shapes::ShapeRef.new(shape: DeleteSpaceRequest)
720
+ o.output = Shapes::ShapeRef.new(shape: DeleteSpaceResponse)
721
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
722
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
723
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
724
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
725
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
726
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
727
+ end)
728
+
729
+ api.add_operation(:get_event, Seahorse::Model::Operation.new.tap do |o|
730
+ o.name = "GetEvent"
731
+ o.http_method = "POST"
732
+ o.http_request_uri = "/"
733
+ o.input = Shapes::ShapeRef.new(shape: GetEventInput)
734
+ o.output = Shapes::ShapeRef.new(shape: GetEventOutput)
735
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
736
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
737
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
738
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
739
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
740
+ end)
741
+
742
+ api.add_operation(:get_memory, Seahorse::Model::Operation.new.tap do |o|
743
+ o.name = "GetMemory"
744
+ o.http_method = "POST"
745
+ o.http_request_uri = "/"
746
+ o.input = Shapes::ShapeRef.new(shape: GetMemoryInput)
747
+ o.output = Shapes::ShapeRef.new(shape: GetMemoryOutput)
748
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
749
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
750
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
751
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
752
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
753
+ end)
754
+
755
+ api.add_operation(:get_space, Seahorse::Model::Operation.new.tap do |o|
756
+ o.name = "GetSpace"
757
+ o.http_method = "POST"
758
+ o.http_request_uri = "/"
759
+ o.input = Shapes::ShapeRef.new(shape: GetSpaceRequest)
760
+ o.output = Shapes::ShapeRef.new(shape: GetSpaceResponse)
761
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
762
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
763
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
764
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
765
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
766
+ end)
767
+
768
+ api.add_operation(:list_events, Seahorse::Model::Operation.new.tap do |o|
769
+ o.name = "ListEvents"
770
+ o.http_method = "POST"
771
+ o.http_request_uri = "/"
772
+ o.input = Shapes::ShapeRef.new(shape: ListEventsInput)
773
+ o.output = Shapes::ShapeRef.new(shape: ListEventsOutput)
774
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
775
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
776
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
777
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
778
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
779
+ o[:pager] = Aws::Pager.new(
780
+ limit_key: "max_results",
781
+ tokens: {
782
+ "next_token" => "next_token"
783
+ }
784
+ )
785
+ end)
786
+
787
+ api.add_operation(:list_memories, Seahorse::Model::Operation.new.tap do |o|
788
+ o.name = "ListMemories"
789
+ o.http_method = "POST"
790
+ o.http_request_uri = "/"
791
+ o.input = Shapes::ShapeRef.new(shape: ListMemoriesInput)
792
+ o.output = Shapes::ShapeRef.new(shape: ListMemoriesOutput)
793
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
794
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
795
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
796
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
797
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
798
+ o[:pager] = Aws::Pager.new(
799
+ limit_key: "max_results",
800
+ tokens: {
801
+ "next_token" => "next_token"
802
+ }
803
+ )
804
+ end)
805
+
806
+ api.add_operation(:list_spaces, Seahorse::Model::Operation.new.tap do |o|
807
+ o.name = "ListSpaces"
808
+ o.http_method = "POST"
809
+ o.http_request_uri = "/"
810
+ o.input = Shapes::ShapeRef.new(shape: ListSpacesRequest)
811
+ o.output = Shapes::ShapeRef.new(shape: ListSpacesResponse)
812
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
813
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
814
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
815
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
816
+ o[:pager] = Aws::Pager.new(
817
+ limit_key: "max_results",
818
+ tokens: {
819
+ "next_token" => "next_token"
820
+ }
821
+ )
822
+ end)
823
+
824
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
825
+ o.name = "ListTagsForResource"
826
+ o.http_method = "POST"
827
+ o.http_request_uri = "/"
828
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
829
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
830
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
831
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
832
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
833
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
834
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
835
+ end)
836
+
837
+ api.add_operation(:search_events, Seahorse::Model::Operation.new.tap do |o|
838
+ o.name = "SearchEvents"
839
+ o.http_method = "POST"
840
+ o.http_request_uri = "/"
841
+ o.input = Shapes::ShapeRef.new(shape: SearchEventsInput)
842
+ o.output = Shapes::ShapeRef.new(shape: SearchEventsOutput)
843
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
844
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
845
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
846
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
847
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
848
+ o[:pager] = Aws::Pager.new(
849
+ limit_key: "max_results",
850
+ tokens: {
851
+ "next_token" => "next_token"
852
+ }
853
+ )
854
+ end)
855
+
856
+ api.add_operation(:search_memories, Seahorse::Model::Operation.new.tap do |o|
857
+ o.name = "SearchMemories"
858
+ o.http_method = "POST"
859
+ o.http_request_uri = "/"
860
+ o.input = Shapes::ShapeRef.new(shape: SearchMemoriesInput)
861
+ o.output = Shapes::ShapeRef.new(shape: SearchMemoriesOutput)
862
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
863
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
864
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
865
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
866
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
867
+ o[:pager] = Aws::Pager.new(
868
+ limit_key: "max_results",
869
+ tokens: {
870
+ "next_token" => "next_token"
871
+ }
872
+ )
873
+ end)
874
+
875
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
876
+ o.name = "TagResource"
877
+ o.http_method = "POST"
878
+ o.http_request_uri = "/"
879
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
880
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
881
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
882
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
883
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
884
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
885
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
886
+ end)
887
+
888
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
889
+ o.name = "UntagResource"
890
+ o.http_method = "POST"
891
+ o.http_request_uri = "/"
892
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
893
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
894
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
895
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
896
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
897
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
898
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
899
+ end)
900
+
901
+ api.add_operation(:update_memory, Seahorse::Model::Operation.new.tap do |o|
902
+ o.name = "UpdateMemory"
903
+ o.http_method = "POST"
904
+ o.http_request_uri = "/"
905
+ o.input = Shapes::ShapeRef.new(shape: UpdateMemoryInput)
906
+ o.output = Shapes::ShapeRef.new(shape: UpdateMemoryOutput)
907
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
908
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
909
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
910
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
911
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
912
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
913
+ end)
914
+
915
+ api.add_operation(:update_space, Seahorse::Model::Operation.new.tap do |o|
916
+ o.name = "UpdateSpace"
917
+ o.http_method = "POST"
918
+ o.http_request_uri = "/"
919
+ o.input = Shapes::ShapeRef.new(shape: UpdateSpaceRequest)
920
+ o.output = Shapes::ShapeRef.new(shape: UpdateSpaceResponse)
921
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
922
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
923
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
924
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
925
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
926
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
927
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
928
+ end)
929
+ end
930
+
931
+ end
932
+ end