aws-sdk-bedrockagentcore 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,1146 @@
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::BedrockAgentCore
12
+ # @api private
13
+ module ClientApi
14
+
15
+ include Seahorse::Model
16
+
17
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
18
+ AccessTokenType = Shapes::StringShape.new(name: 'AccessTokenType')
19
+ ActorId = Shapes::StringShape.new(name: 'ActorId')
20
+ ActorSummary = Shapes::StructureShape.new(name: 'ActorSummary')
21
+ ActorSummaryList = Shapes::ListShape.new(name: 'ActorSummaryList')
22
+ ApiKeyType = Shapes::StringShape.new(name: 'ApiKeyType')
23
+ AutomationStream = Shapes::StructureShape.new(name: 'AutomationStream')
24
+ AutomationStreamStatus = Shapes::StringShape.new(name: 'AutomationStreamStatus')
25
+ AutomationStreamUpdate = Shapes::StructureShape.new(name: 'AutomationStreamUpdate')
26
+ Blob = Shapes::BlobShape.new(name: 'Blob')
27
+ Body = Shapes::BlobShape.new(name: 'Body')
28
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
29
+ Branch = Shapes::StructureShape.new(name: 'Branch')
30
+ BranchFilter = Shapes::StructureShape.new(name: 'BranchFilter')
31
+ BranchName = Shapes::StringShape.new(name: 'BranchName')
32
+ BrowserSessionId = Shapes::StringShape.new(name: 'BrowserSessionId')
33
+ BrowserSessionStatus = Shapes::StringShape.new(name: 'BrowserSessionStatus')
34
+ BrowserSessionStream = Shapes::StructureShape.new(name: 'BrowserSessionStream')
35
+ BrowserSessionSummaries = Shapes::ListShape.new(name: 'BrowserSessionSummaries')
36
+ BrowserSessionSummary = Shapes::StructureShape.new(name: 'BrowserSessionSummary')
37
+ BrowserSessionTimeout = Shapes::IntegerShape.new(name: 'BrowserSessionTimeout')
38
+ BrowserStreamEndpoint = Shapes::StringShape.new(name: 'BrowserStreamEndpoint')
39
+ ClientToken = Shapes::StringShape.new(name: 'ClientToken')
40
+ CodeInterpreterResult = Shapes::StructureShape.new(name: 'CodeInterpreterResult')
41
+ CodeInterpreterSessionId = Shapes::StringShape.new(name: 'CodeInterpreterSessionId')
42
+ CodeInterpreterSessionStatus = Shapes::StringShape.new(name: 'CodeInterpreterSessionStatus')
43
+ CodeInterpreterSessionSummaries = Shapes::ListShape.new(name: 'CodeInterpreterSessionSummaries')
44
+ CodeInterpreterSessionSummary = Shapes::StructureShape.new(name: 'CodeInterpreterSessionSummary')
45
+ CodeInterpreterSessionTimeout = Shapes::IntegerShape.new(name: 'CodeInterpreterSessionTimeout')
46
+ CodeInterpreterStreamOutput = Shapes::StructureShape.new(name: 'CodeInterpreterStreamOutput')
47
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
48
+ Content = Shapes::UnionShape.new(name: 'Content')
49
+ ContentBlock = Shapes::StructureShape.new(name: 'ContentBlock')
50
+ ContentBlockList = Shapes::ListShape.new(name: 'ContentBlockList')
51
+ ContentBlockType = Shapes::StringShape.new(name: 'ContentBlockType')
52
+ ContentTextString = Shapes::StringShape.new(name: 'ContentTextString')
53
+ Conversational = Shapes::StructureShape.new(name: 'Conversational')
54
+ CreateEventInput = Shapes::StructureShape.new(name: 'CreateEventInput')
55
+ CreateEventOutput = Shapes::StructureShape.new(name: 'CreateEventOutput')
56
+ CredentialProviderName = Shapes::StringShape.new(name: 'CredentialProviderName')
57
+ CustomRequestKeyType = Shapes::StringShape.new(name: 'CustomRequestKeyType')
58
+ CustomRequestParametersType = Shapes::MapShape.new(name: 'CustomRequestParametersType')
59
+ CustomRequestValueType = Shapes::StringShape.new(name: 'CustomRequestValueType')
60
+ DateTimestamp = Shapes::TimestampShape.new(name: 'DateTimestamp', timestampFormat: "iso8601")
61
+ DeleteEventInput = Shapes::StructureShape.new(name: 'DeleteEventInput')
62
+ DeleteEventOutput = Shapes::StructureShape.new(name: 'DeleteEventOutput')
63
+ DeleteMemoryRecordInput = Shapes::StructureShape.new(name: 'DeleteMemoryRecordInput')
64
+ DeleteMemoryRecordOutput = Shapes::StructureShape.new(name: 'DeleteMemoryRecordOutput')
65
+ Document = Shapes::DocumentShape.new(name: 'Document', document: true)
66
+ Double = Shapes::FloatShape.new(name: 'Double')
67
+ Event = Shapes::StructureShape.new(name: 'Event')
68
+ EventId = Shapes::StringShape.new(name: 'EventId')
69
+ EventList = Shapes::ListShape.new(name: 'EventList')
70
+ FilterInput = Shapes::StructureShape.new(name: 'FilterInput')
71
+ GetBrowserSessionRequest = Shapes::StructureShape.new(name: 'GetBrowserSessionRequest')
72
+ GetBrowserSessionResponse = Shapes::StructureShape.new(name: 'GetBrowserSessionResponse')
73
+ GetCodeInterpreterSessionRequest = Shapes::StructureShape.new(name: 'GetCodeInterpreterSessionRequest')
74
+ GetCodeInterpreterSessionResponse = Shapes::StructureShape.new(name: 'GetCodeInterpreterSessionResponse')
75
+ GetEventInput = Shapes::StructureShape.new(name: 'GetEventInput')
76
+ GetEventOutput = Shapes::StructureShape.new(name: 'GetEventOutput')
77
+ GetMemoryRecordInput = Shapes::StructureShape.new(name: 'GetMemoryRecordInput')
78
+ GetMemoryRecordOutput = Shapes::StructureShape.new(name: 'GetMemoryRecordOutput')
79
+ GetResourceApiKeyRequest = Shapes::StructureShape.new(name: 'GetResourceApiKeyRequest')
80
+ GetResourceApiKeyResponse = Shapes::StructureShape.new(name: 'GetResourceApiKeyResponse')
81
+ GetResourceOauth2TokenRequest = Shapes::StructureShape.new(name: 'GetResourceOauth2TokenRequest')
82
+ GetResourceOauth2TokenResponse = Shapes::StructureShape.new(name: 'GetResourceOauth2TokenResponse')
83
+ GetWorkloadAccessTokenForJWTRequest = Shapes::StructureShape.new(name: 'GetWorkloadAccessTokenForJWTRequest')
84
+ GetWorkloadAccessTokenForJWTResponse = Shapes::StructureShape.new(name: 'GetWorkloadAccessTokenForJWTResponse')
85
+ GetWorkloadAccessTokenForUserIdRequest = Shapes::StructureShape.new(name: 'GetWorkloadAccessTokenForUserIdRequest')
86
+ GetWorkloadAccessTokenForUserIdResponse = Shapes::StructureShape.new(name: 'GetWorkloadAccessTokenForUserIdResponse')
87
+ GetWorkloadAccessTokenRequest = Shapes::StructureShape.new(name: 'GetWorkloadAccessTokenRequest')
88
+ GetWorkloadAccessTokenResponse = Shapes::StructureShape.new(name: 'GetWorkloadAccessTokenResponse')
89
+ HttpResponseCode = Shapes::IntegerShape.new(name: 'HttpResponseCode')
90
+ InputContentBlock = Shapes::StructureShape.new(name: 'InputContentBlock')
91
+ InputContentBlockList = Shapes::ListShape.new(name: 'InputContentBlockList')
92
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
93
+ InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
94
+ InvalidInputException = Shapes::StructureShape.new(name: 'InvalidInputException')
95
+ InvokeAgentRuntimeRequest = Shapes::StructureShape.new(name: 'InvokeAgentRuntimeRequest')
96
+ InvokeAgentRuntimeRequestBaggageString = Shapes::StringShape.new(name: 'InvokeAgentRuntimeRequestBaggageString')
97
+ InvokeAgentRuntimeRequestTraceIdString = Shapes::StringShape.new(name: 'InvokeAgentRuntimeRequestTraceIdString')
98
+ InvokeAgentRuntimeRequestTraceParentString = Shapes::StringShape.new(name: 'InvokeAgentRuntimeRequestTraceParentString')
99
+ InvokeAgentRuntimeRequestTraceStateString = Shapes::StringShape.new(name: 'InvokeAgentRuntimeRequestTraceStateString')
100
+ InvokeAgentRuntimeResponse = Shapes::StructureShape.new(name: 'InvokeAgentRuntimeResponse')
101
+ InvokeCodeInterpreterRequest = Shapes::StructureShape.new(name: 'InvokeCodeInterpreterRequest')
102
+ InvokeCodeInterpreterResponse = Shapes::StructureShape.new(name: 'InvokeCodeInterpreterResponse')
103
+ ListActorsInput = Shapes::StructureShape.new(name: 'ListActorsInput')
104
+ ListActorsOutput = Shapes::StructureShape.new(name: 'ListActorsOutput')
105
+ ListBrowserSessionsRequest = Shapes::StructureShape.new(name: 'ListBrowserSessionsRequest')
106
+ ListBrowserSessionsResponse = Shapes::StructureShape.new(name: 'ListBrowserSessionsResponse')
107
+ ListCodeInterpreterSessionsRequest = Shapes::StructureShape.new(name: 'ListCodeInterpreterSessionsRequest')
108
+ ListCodeInterpreterSessionsResponse = Shapes::StructureShape.new(name: 'ListCodeInterpreterSessionsResponse')
109
+ ListEventsInput = Shapes::StructureShape.new(name: 'ListEventsInput')
110
+ ListEventsOutput = Shapes::StructureShape.new(name: 'ListEventsOutput')
111
+ ListMemoryRecordsInput = Shapes::StructureShape.new(name: 'ListMemoryRecordsInput')
112
+ ListMemoryRecordsOutput = Shapes::StructureShape.new(name: 'ListMemoryRecordsOutput')
113
+ ListSessionsInput = Shapes::StructureShape.new(name: 'ListSessionsInput')
114
+ ListSessionsOutput = Shapes::StructureShape.new(name: 'ListSessionsOutput')
115
+ LiveViewStream = Shapes::StructureShape.new(name: 'LiveViewStream')
116
+ Long = Shapes::IntegerShape.new(name: 'Long')
117
+ MaxLenString = Shapes::StringShape.new(name: 'MaxLenString')
118
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
119
+ MemoryContent = Shapes::UnionShape.new(name: 'MemoryContent')
120
+ MemoryId = Shapes::StringShape.new(name: 'MemoryId')
121
+ MemoryRecord = Shapes::StructureShape.new(name: 'MemoryRecord')
122
+ MemoryRecordId = Shapes::StringShape.new(name: 'MemoryRecordId')
123
+ MemoryRecordSummary = Shapes::StructureShape.new(name: 'MemoryRecordSummary')
124
+ MemoryRecordSummaryList = Shapes::ListShape.new(name: 'MemoryRecordSummaryList')
125
+ MemoryStrategyId = Shapes::StringShape.new(name: 'MemoryStrategyId')
126
+ MimeType = Shapes::StringShape.new(name: 'MimeType')
127
+ Name = Shapes::StringShape.new(name: 'Name')
128
+ Namespace = Shapes::StringShape.new(name: 'Namespace')
129
+ NamespacesList = Shapes::ListShape.new(name: 'NamespacesList')
130
+ NextToken = Shapes::StringShape.new(name: 'NextToken')
131
+ NonBlankString = Shapes::StringShape.new(name: 'NonBlankString')
132
+ Oauth2FlowType = Shapes::StringShape.new(name: 'Oauth2FlowType')
133
+ PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
134
+ PayloadType = Shapes::UnionShape.new(name: 'PayloadType')
135
+ PayloadTypeList = Shapes::ListShape.new(name: 'PayloadTypeList')
136
+ ProgrammingLanguage = Shapes::StringShape.new(name: 'ProgrammingLanguage')
137
+ ResourceContent = Shapes::StructureShape.new(name: 'ResourceContent')
138
+ ResourceContentType = Shapes::StringShape.new(name: 'ResourceContentType')
139
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
140
+ ResourceOauth2ReturnUrlType = Shapes::StringShape.new(name: 'ResourceOauth2ReturnUrlType')
141
+ ResponseStream = Shapes::BlobShape.new(name: 'ResponseStream', streaming: true)
142
+ RetrieveMemoryRecordsInput = Shapes::StructureShape.new(name: 'RetrieveMemoryRecordsInput')
143
+ RetrieveMemoryRecordsOutput = Shapes::StructureShape.new(name: 'RetrieveMemoryRecordsOutput')
144
+ Role = Shapes::StringShape.new(name: 'Role')
145
+ RuntimeClientError = Shapes::StructureShape.new(name: 'RuntimeClientError')
146
+ ScopeType = Shapes::StringShape.new(name: 'ScopeType')
147
+ ScopesListType = Shapes::ListShape.new(name: 'ScopesListType')
148
+ SearchCriteria = Shapes::StructureShape.new(name: 'SearchCriteria')
149
+ SearchCriteriaSearchQueryString = Shapes::StringShape.new(name: 'SearchCriteriaSearchQueryString')
150
+ SearchCriteriaTopKInteger = Shapes::IntegerShape.new(name: 'SearchCriteriaTopKInteger')
151
+ SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
152
+ ServiceException = Shapes::StructureShape.new(name: 'ServiceException')
153
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
154
+ SessionId = Shapes::StringShape.new(name: 'SessionId')
155
+ SessionSummary = Shapes::StructureShape.new(name: 'SessionSummary')
156
+ SessionSummaryList = Shapes::ListShape.new(name: 'SessionSummaryList')
157
+ SessionType = Shapes::StringShape.new(name: 'SessionType')
158
+ StartBrowserSessionRequest = Shapes::StructureShape.new(name: 'StartBrowserSessionRequest')
159
+ StartBrowserSessionResponse = Shapes::StructureShape.new(name: 'StartBrowserSessionResponse')
160
+ StartCodeInterpreterSessionRequest = Shapes::StructureShape.new(name: 'StartCodeInterpreterSessionRequest')
161
+ StartCodeInterpreterSessionResponse = Shapes::StructureShape.new(name: 'StartCodeInterpreterSessionResponse')
162
+ StopBrowserSessionRequest = Shapes::StructureShape.new(name: 'StopBrowserSessionRequest')
163
+ StopBrowserSessionResponse = Shapes::StructureShape.new(name: 'StopBrowserSessionResponse')
164
+ StopCodeInterpreterSessionRequest = Shapes::StructureShape.new(name: 'StopCodeInterpreterSessionRequest')
165
+ StopCodeInterpreterSessionResponse = Shapes::StructureShape.new(name: 'StopCodeInterpreterSessionResponse')
166
+ StreamUpdate = Shapes::UnionShape.new(name: 'StreamUpdate')
167
+ String = Shapes::StringShape.new(name: 'String')
168
+ StringList = Shapes::ListShape.new(name: 'StringList')
169
+ StringType = Shapes::StringShape.new(name: 'StringType')
170
+ TaskStatus = Shapes::StringShape.new(name: 'TaskStatus')
171
+ ThrottledException = Shapes::StructureShape.new(name: 'ThrottledException')
172
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
173
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
174
+ ToolArguments = Shapes::StructureShape.new(name: 'ToolArguments')
175
+ ToolName = Shapes::StringShape.new(name: 'ToolName')
176
+ ToolResultStructuredContent = Shapes::StructureShape.new(name: 'ToolResultStructuredContent')
177
+ UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
178
+ UpdateBrowserStreamRequest = Shapes::StructureShape.new(name: 'UpdateBrowserStreamRequest')
179
+ UpdateBrowserStreamResponse = Shapes::StructureShape.new(name: 'UpdateBrowserStreamResponse')
180
+ UserIdType = Shapes::StringShape.new(name: 'UserIdType')
181
+ UserTokenType = Shapes::StringShape.new(name: 'UserTokenType')
182
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
183
+ ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
184
+ ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
185
+ ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
186
+ ViewPort = Shapes::StructureShape.new(name: 'ViewPort')
187
+ ViewPortHeight = Shapes::IntegerShape.new(name: 'ViewPortHeight')
188
+ ViewPortWidth = Shapes::IntegerShape.new(name: 'ViewPortWidth')
189
+ WorkloadIdentityNameType = Shapes::StringShape.new(name: 'WorkloadIdentityNameType')
190
+ WorkloadIdentityTokenType = Shapes::StringShape.new(name: 'WorkloadIdentityTokenType')
191
+
192
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
193
+ AccessDeniedException.struct_class = Types::AccessDeniedException
194
+
195
+ ActorSummary.add_member(:actor_id, Shapes::ShapeRef.new(shape: ActorId, required: true, location_name: "actorId"))
196
+ ActorSummary.struct_class = Types::ActorSummary
197
+
198
+ ActorSummaryList.member = Shapes::ShapeRef.new(shape: ActorSummary)
199
+
200
+ AutomationStream.add_member(:stream_endpoint, Shapes::ShapeRef.new(shape: BrowserStreamEndpoint, required: true, location_name: "streamEndpoint"))
201
+ AutomationStream.add_member(:stream_status, Shapes::ShapeRef.new(shape: AutomationStreamStatus, required: true, location_name: "streamStatus"))
202
+ AutomationStream.struct_class = Types::AutomationStream
203
+
204
+ AutomationStreamUpdate.add_member(:stream_status, Shapes::ShapeRef.new(shape: AutomationStreamStatus, location_name: "streamStatus"))
205
+ AutomationStreamUpdate.struct_class = Types::AutomationStreamUpdate
206
+
207
+ Branch.add_member(:root_event_id, Shapes::ShapeRef.new(shape: EventId, location_name: "rootEventId"))
208
+ Branch.add_member(:name, Shapes::ShapeRef.new(shape: BranchName, required: true, location_name: "name"))
209
+ Branch.struct_class = Types::Branch
210
+
211
+ BranchFilter.add_member(:name, Shapes::ShapeRef.new(shape: BranchName, required: true, location_name: "name"))
212
+ BranchFilter.add_member(:include_parent_branches, Shapes::ShapeRef.new(shape: Boolean, location_name: "includeParentBranches"))
213
+ BranchFilter.struct_class = Types::BranchFilter
214
+
215
+ BrowserSessionStream.add_member(:automation_stream, Shapes::ShapeRef.new(shape: AutomationStream, required: true, location_name: "automationStream"))
216
+ BrowserSessionStream.add_member(:live_view_stream, Shapes::ShapeRef.new(shape: LiveViewStream, location_name: "liveViewStream"))
217
+ BrowserSessionStream.struct_class = Types::BrowserSessionStream
218
+
219
+ BrowserSessionSummaries.member = Shapes::ShapeRef.new(shape: BrowserSessionSummary)
220
+
221
+ BrowserSessionSummary.add_member(:browser_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "browserIdentifier"))
222
+ BrowserSessionSummary.add_member(:session_id, Shapes::ShapeRef.new(shape: BrowserSessionId, required: true, location_name: "sessionId"))
223
+ BrowserSessionSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
224
+ BrowserSessionSummary.add_member(:status, Shapes::ShapeRef.new(shape: BrowserSessionStatus, required: true, location_name: "status"))
225
+ BrowserSessionSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
226
+ BrowserSessionSummary.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, location_name: "lastUpdatedAt"))
227
+ BrowserSessionSummary.struct_class = Types::BrowserSessionSummary
228
+
229
+ CodeInterpreterResult.add_member(:content, Shapes::ShapeRef.new(shape: ContentBlockList, required: true, location_name: "content"))
230
+ CodeInterpreterResult.add_member(:structured_content, Shapes::ShapeRef.new(shape: ToolResultStructuredContent, location_name: "structuredContent"))
231
+ CodeInterpreterResult.add_member(:is_error, Shapes::ShapeRef.new(shape: Boolean, location_name: "isError"))
232
+ CodeInterpreterResult.struct_class = Types::CodeInterpreterResult
233
+
234
+ CodeInterpreterSessionSummaries.member = Shapes::ShapeRef.new(shape: CodeInterpreterSessionSummary)
235
+
236
+ CodeInterpreterSessionSummary.add_member(:code_interpreter_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "codeInterpreterIdentifier"))
237
+ CodeInterpreterSessionSummary.add_member(:session_id, Shapes::ShapeRef.new(shape: CodeInterpreterSessionId, required: true, location_name: "sessionId"))
238
+ CodeInterpreterSessionSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
239
+ CodeInterpreterSessionSummary.add_member(:status, Shapes::ShapeRef.new(shape: CodeInterpreterSessionStatus, required: true, location_name: "status"))
240
+ CodeInterpreterSessionSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
241
+ CodeInterpreterSessionSummary.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, location_name: "lastUpdatedAt"))
242
+ CodeInterpreterSessionSummary.struct_class = Types::CodeInterpreterSessionSummary
243
+
244
+ CodeInterpreterStreamOutput.add_member(:result, Shapes::ShapeRef.new(shape: CodeInterpreterResult, event: true, location_name: "result"))
245
+ CodeInterpreterStreamOutput.add_member(:access_denied_exception, Shapes::ShapeRef.new(shape: AccessDeniedException, location_name: "accessDeniedException"))
246
+ CodeInterpreterStreamOutput.add_member(:conflict_exception, Shapes::ShapeRef.new(shape: ConflictException, location_name: "conflictException"))
247
+ CodeInterpreterStreamOutput.add_member(:internal_server_exception, Shapes::ShapeRef.new(shape: InternalServerException, location_name: "internalServerException"))
248
+ CodeInterpreterStreamOutput.add_member(:resource_not_found_exception, Shapes::ShapeRef.new(shape: ResourceNotFoundException, location_name: "resourceNotFoundException"))
249
+ CodeInterpreterStreamOutput.add_member(:service_quota_exceeded_exception, Shapes::ShapeRef.new(shape: ServiceQuotaExceededException, location_name: "serviceQuotaExceededException"))
250
+ CodeInterpreterStreamOutput.add_member(:throttling_exception, Shapes::ShapeRef.new(shape: ThrottlingException, location_name: "throttlingException"))
251
+ CodeInterpreterStreamOutput.add_member(:validation_exception, Shapes::ShapeRef.new(shape: ValidationException, location_name: "validationException"))
252
+ CodeInterpreterStreamOutput.struct_class = Types::CodeInterpreterStreamOutput
253
+
254
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
255
+ ConflictException.struct_class = Types::ConflictException
256
+
257
+ Content.add_member(:text, Shapes::ShapeRef.new(shape: ContentTextString, location_name: "text"))
258
+ Content.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
259
+ Content.add_member_subclass(:text, Types::Content::Text)
260
+ Content.add_member_subclass(:unknown, Types::Content::Unknown)
261
+ Content.struct_class = Types::Content
262
+
263
+ ContentBlock.add_member(:type, Shapes::ShapeRef.new(shape: ContentBlockType, required: true, location_name: "type"))
264
+ ContentBlock.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "text"))
265
+ ContentBlock.add_member(:data, Shapes::ShapeRef.new(shape: Blob, location_name: "data"))
266
+ ContentBlock.add_member(:mime_type, Shapes::ShapeRef.new(shape: String, location_name: "mimeType"))
267
+ ContentBlock.add_member(:uri, Shapes::ShapeRef.new(shape: String, location_name: "uri"))
268
+ ContentBlock.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
269
+ ContentBlock.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
270
+ ContentBlock.add_member(:size, Shapes::ShapeRef.new(shape: Long, location_name: "size"))
271
+ ContentBlock.add_member(:resource, Shapes::ShapeRef.new(shape: ResourceContent, location_name: "resource"))
272
+ ContentBlock.struct_class = Types::ContentBlock
273
+
274
+ ContentBlockList.member = Shapes::ShapeRef.new(shape: ContentBlock)
275
+
276
+ Conversational.add_member(:content, Shapes::ShapeRef.new(shape: Content, required: true, location_name: "content"))
277
+ Conversational.add_member(:role, Shapes::ShapeRef.new(shape: Role, required: true, location_name: "role"))
278
+ Conversational.struct_class = Types::Conversational
279
+
280
+ CreateEventInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "uri", location_name: "memoryId"))
281
+ CreateEventInput.add_member(:actor_id, Shapes::ShapeRef.new(shape: ActorId, required: true, location_name: "actorId"))
282
+ CreateEventInput.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, location_name: "sessionId"))
283
+ CreateEventInput.add_member(:event_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "eventTimestamp"))
284
+ CreateEventInput.add_member(:payload, Shapes::ShapeRef.new(shape: PayloadTypeList, required: true, location_name: "payload"))
285
+ CreateEventInput.add_member(:branch, Shapes::ShapeRef.new(shape: Branch, location_name: "branch"))
286
+ CreateEventInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
287
+ CreateEventInput.struct_class = Types::CreateEventInput
288
+
289
+ CreateEventOutput.add_member(:event, Shapes::ShapeRef.new(shape: Event, required: true, location_name: "event"))
290
+ CreateEventOutput.struct_class = Types::CreateEventOutput
291
+
292
+ CustomRequestParametersType.key = Shapes::ShapeRef.new(shape: CustomRequestKeyType)
293
+ CustomRequestParametersType.value = Shapes::ShapeRef.new(shape: CustomRequestValueType)
294
+
295
+ DeleteEventInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "uri", location_name: "memoryId"))
296
+ DeleteEventInput.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location: "uri", location_name: "sessionId"))
297
+ DeleteEventInput.add_member(:event_id, Shapes::ShapeRef.new(shape: EventId, required: true, location: "uri", location_name: "eventId"))
298
+ DeleteEventInput.add_member(:actor_id, Shapes::ShapeRef.new(shape: ActorId, required: true, location: "uri", location_name: "actorId"))
299
+ DeleteEventInput.struct_class = Types::DeleteEventInput
300
+
301
+ DeleteEventOutput.add_member(:event_id, Shapes::ShapeRef.new(shape: EventId, required: true, location_name: "eventId"))
302
+ DeleteEventOutput.struct_class = Types::DeleteEventOutput
303
+
304
+ DeleteMemoryRecordInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "uri", location_name: "memoryId"))
305
+ DeleteMemoryRecordInput.add_member(:memory_record_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "memoryRecordId"))
306
+ DeleteMemoryRecordInput.struct_class = Types::DeleteMemoryRecordInput
307
+
308
+ DeleteMemoryRecordOutput.add_member(:memory_record_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "memoryRecordId"))
309
+ DeleteMemoryRecordOutput.struct_class = Types::DeleteMemoryRecordOutput
310
+
311
+ Event.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location_name: "memoryId"))
312
+ Event.add_member(:actor_id, Shapes::ShapeRef.new(shape: ActorId, required: true, location_name: "actorId"))
313
+ Event.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location_name: "sessionId"))
314
+ Event.add_member(:event_id, Shapes::ShapeRef.new(shape: EventId, required: true, location_name: "eventId"))
315
+ Event.add_member(:event_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "eventTimestamp"))
316
+ Event.add_member(:payload, Shapes::ShapeRef.new(shape: PayloadTypeList, required: true, location_name: "payload"))
317
+ Event.add_member(:branch, Shapes::ShapeRef.new(shape: Branch, location_name: "branch"))
318
+ Event.struct_class = Types::Event
319
+
320
+ EventList.member = Shapes::ShapeRef.new(shape: Event)
321
+
322
+ FilterInput.add_member(:branch, Shapes::ShapeRef.new(shape: BranchFilter, location_name: "branch"))
323
+ FilterInput.struct_class = Types::FilterInput
324
+
325
+ GetBrowserSessionRequest.add_member(:browser_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "browserIdentifier"))
326
+ GetBrowserSessionRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: BrowserSessionId, required: true, location: "querystring", location_name: "sessionId"))
327
+ GetBrowserSessionRequest.struct_class = Types::GetBrowserSessionRequest
328
+
329
+ GetBrowserSessionResponse.add_member(:browser_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "browserIdentifier"))
330
+ GetBrowserSessionResponse.add_member(:session_id, Shapes::ShapeRef.new(shape: BrowserSessionId, required: true, location_name: "sessionId"))
331
+ GetBrowserSessionResponse.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
332
+ GetBrowserSessionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
333
+ GetBrowserSessionResponse.add_member(:view_port, Shapes::ShapeRef.new(shape: ViewPort, location_name: "viewPort"))
334
+ GetBrowserSessionResponse.add_member(:session_timeout_seconds, Shapes::ShapeRef.new(shape: BrowserSessionTimeout, location_name: "sessionTimeoutSeconds"))
335
+ GetBrowserSessionResponse.add_member(:status, Shapes::ShapeRef.new(shape: BrowserSessionStatus, location_name: "status"))
336
+ GetBrowserSessionResponse.add_member(:streams, Shapes::ShapeRef.new(shape: BrowserSessionStream, location_name: "streams"))
337
+ GetBrowserSessionResponse.add_member(:session_replay_artifact, Shapes::ShapeRef.new(shape: String, location_name: "sessionReplayArtifact"))
338
+ GetBrowserSessionResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, location_name: "lastUpdatedAt"))
339
+ GetBrowserSessionResponse.struct_class = Types::GetBrowserSessionResponse
340
+
341
+ GetCodeInterpreterSessionRequest.add_member(:code_interpreter_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "codeInterpreterIdentifier"))
342
+ GetCodeInterpreterSessionRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: CodeInterpreterSessionId, required: true, location: "querystring", location_name: "sessionId"))
343
+ GetCodeInterpreterSessionRequest.struct_class = Types::GetCodeInterpreterSessionRequest
344
+
345
+ GetCodeInterpreterSessionResponse.add_member(:code_interpreter_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "codeInterpreterIdentifier"))
346
+ GetCodeInterpreterSessionResponse.add_member(:session_id, Shapes::ShapeRef.new(shape: CodeInterpreterSessionId, required: true, location_name: "sessionId"))
347
+ GetCodeInterpreterSessionResponse.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
348
+ GetCodeInterpreterSessionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
349
+ GetCodeInterpreterSessionResponse.add_member(:session_timeout_seconds, Shapes::ShapeRef.new(shape: CodeInterpreterSessionTimeout, location_name: "sessionTimeoutSeconds"))
350
+ GetCodeInterpreterSessionResponse.add_member(:status, Shapes::ShapeRef.new(shape: CodeInterpreterSessionStatus, location_name: "status"))
351
+ GetCodeInterpreterSessionResponse.struct_class = Types::GetCodeInterpreterSessionResponse
352
+
353
+ GetEventInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "uri", location_name: "memoryId"))
354
+ GetEventInput.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location: "uri", location_name: "sessionId"))
355
+ GetEventInput.add_member(:actor_id, Shapes::ShapeRef.new(shape: ActorId, required: true, location: "uri", location_name: "actorId"))
356
+ GetEventInput.add_member(:event_id, Shapes::ShapeRef.new(shape: EventId, required: true, location: "uri", location_name: "eventId"))
357
+ GetEventInput.struct_class = Types::GetEventInput
358
+
359
+ GetEventOutput.add_member(:event, Shapes::ShapeRef.new(shape: Event, required: true, location_name: "event"))
360
+ GetEventOutput.struct_class = Types::GetEventOutput
361
+
362
+ GetMemoryRecordInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "uri", location_name: "memoryId"))
363
+ GetMemoryRecordInput.add_member(:memory_record_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "memoryRecordId"))
364
+ GetMemoryRecordInput.struct_class = Types::GetMemoryRecordInput
365
+
366
+ GetMemoryRecordOutput.add_member(:memory_record, Shapes::ShapeRef.new(shape: MemoryRecord, required: true, location_name: "memoryRecord"))
367
+ GetMemoryRecordOutput.struct_class = Types::GetMemoryRecordOutput
368
+
369
+ GetResourceApiKeyRequest.add_member(:workload_identity_token, Shapes::ShapeRef.new(shape: WorkloadIdentityTokenType, required: true, location_name: "workloadIdentityToken"))
370
+ GetResourceApiKeyRequest.add_member(:resource_credential_provider_name, Shapes::ShapeRef.new(shape: CredentialProviderName, required: true, location_name: "resourceCredentialProviderName"))
371
+ GetResourceApiKeyRequest.struct_class = Types::GetResourceApiKeyRequest
372
+
373
+ GetResourceApiKeyResponse.add_member(:api_key, Shapes::ShapeRef.new(shape: ApiKeyType, required: true, location_name: "apiKey"))
374
+ GetResourceApiKeyResponse.struct_class = Types::GetResourceApiKeyResponse
375
+
376
+ GetResourceOauth2TokenRequest.add_member(:workload_identity_token, Shapes::ShapeRef.new(shape: WorkloadIdentityTokenType, required: true, location_name: "workloadIdentityToken"))
377
+ GetResourceOauth2TokenRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserIdType, location_name: "userId"))
378
+ GetResourceOauth2TokenRequest.add_member(:resource_credential_provider_name, Shapes::ShapeRef.new(shape: CredentialProviderName, required: true, location_name: "resourceCredentialProviderName"))
379
+ GetResourceOauth2TokenRequest.add_member(:scopes, Shapes::ShapeRef.new(shape: ScopesListType, required: true, location_name: "scopes"))
380
+ GetResourceOauth2TokenRequest.add_member(:oauth2_flow, Shapes::ShapeRef.new(shape: Oauth2FlowType, required: true, location_name: "oauth2Flow"))
381
+ GetResourceOauth2TokenRequest.add_member(:resource_oauth_2_return_url, Shapes::ShapeRef.new(shape: ResourceOauth2ReturnUrlType, location_name: "resourceOauth2ReturnUrl"))
382
+ GetResourceOauth2TokenRequest.add_member(:force_authentication, Shapes::ShapeRef.new(shape: Boolean, location_name: "forceAuthentication"))
383
+ GetResourceOauth2TokenRequest.add_member(:custom_parameters, Shapes::ShapeRef.new(shape: CustomRequestParametersType, location_name: "customParameters"))
384
+ GetResourceOauth2TokenRequest.struct_class = Types::GetResourceOauth2TokenRequest
385
+
386
+ GetResourceOauth2TokenResponse.add_member(:authorization_url, Shapes::ShapeRef.new(shape: String, location_name: "authorizationUrl"))
387
+ GetResourceOauth2TokenResponse.add_member(:access_token, Shapes::ShapeRef.new(shape: AccessTokenType, location_name: "accessToken"))
388
+ GetResourceOauth2TokenResponse.struct_class = Types::GetResourceOauth2TokenResponse
389
+
390
+ GetWorkloadAccessTokenForJWTRequest.add_member(:workload_name, Shapes::ShapeRef.new(shape: WorkloadIdentityNameType, required: true, location_name: "workloadName"))
391
+ GetWorkloadAccessTokenForJWTRequest.add_member(:user_token, Shapes::ShapeRef.new(shape: UserTokenType, required: true, location_name: "userToken"))
392
+ GetWorkloadAccessTokenForJWTRequest.struct_class = Types::GetWorkloadAccessTokenForJWTRequest
393
+
394
+ GetWorkloadAccessTokenForJWTResponse.add_member(:workload_access_token, Shapes::ShapeRef.new(shape: WorkloadIdentityTokenType, required: true, location_name: "workloadAccessToken"))
395
+ GetWorkloadAccessTokenForJWTResponse.struct_class = Types::GetWorkloadAccessTokenForJWTResponse
396
+
397
+ GetWorkloadAccessTokenForUserIdRequest.add_member(:workload_name, Shapes::ShapeRef.new(shape: WorkloadIdentityNameType, required: true, location_name: "workloadName"))
398
+ GetWorkloadAccessTokenForUserIdRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: UserIdType, required: true, location_name: "userId"))
399
+ GetWorkloadAccessTokenForUserIdRequest.struct_class = Types::GetWorkloadAccessTokenForUserIdRequest
400
+
401
+ GetWorkloadAccessTokenForUserIdResponse.add_member(:workload_access_token, Shapes::ShapeRef.new(shape: WorkloadIdentityTokenType, required: true, location_name: "workloadAccessToken"))
402
+ GetWorkloadAccessTokenForUserIdResponse.struct_class = Types::GetWorkloadAccessTokenForUserIdResponse
403
+
404
+ GetWorkloadAccessTokenRequest.add_member(:workload_name, Shapes::ShapeRef.new(shape: WorkloadIdentityNameType, required: true, location_name: "workloadName"))
405
+ GetWorkloadAccessTokenRequest.struct_class = Types::GetWorkloadAccessTokenRequest
406
+
407
+ GetWorkloadAccessTokenResponse.add_member(:workload_access_token, Shapes::ShapeRef.new(shape: WorkloadIdentityTokenType, required: true, location_name: "workloadAccessToken"))
408
+ GetWorkloadAccessTokenResponse.struct_class = Types::GetWorkloadAccessTokenResponse
409
+
410
+ InputContentBlock.add_member(:path, Shapes::ShapeRef.new(shape: MaxLenString, required: true, location_name: "path"))
411
+ InputContentBlock.add_member(:text, Shapes::ShapeRef.new(shape: MaxLenString, location_name: "text"))
412
+ InputContentBlock.add_member(:blob, Shapes::ShapeRef.new(shape: Body, location_name: "blob"))
413
+ InputContentBlock.struct_class = Types::InputContentBlock
414
+
415
+ InputContentBlockList.member = Shapes::ShapeRef.new(shape: InputContentBlock)
416
+
417
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
418
+ InternalServerException.struct_class = Types::InternalServerException
419
+
420
+ InvalidInputException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
421
+ InvalidInputException.struct_class = Types::InvalidInputException
422
+
423
+ InvokeAgentRuntimeRequest.add_member(:content_type, Shapes::ShapeRef.new(shape: MimeType, location: "header", location_name: "Content-Type"))
424
+ InvokeAgentRuntimeRequest.add_member(:accept, Shapes::ShapeRef.new(shape: MimeType, location: "header", location_name: "Accept"))
425
+ InvokeAgentRuntimeRequest.add_member(:mcp_session_id, Shapes::ShapeRef.new(shape: StringType, location: "header", location_name: "Mcp-Session-Id"))
426
+ InvokeAgentRuntimeRequest.add_member(:runtime_session_id, Shapes::ShapeRef.new(shape: SessionType, location: "header", location_name: "X-Amzn-Bedrock-AgentCore-Runtime-Session-Id", metadata: {"idempotencyToken" => true}))
427
+ InvokeAgentRuntimeRequest.add_member(:mcp_protocol_version, Shapes::ShapeRef.new(shape: StringType, location: "header", location_name: "Mcp-Protocol-Version"))
428
+ InvokeAgentRuntimeRequest.add_member(:runtime_user_id, Shapes::ShapeRef.new(shape: StringType, location: "header", location_name: "X-Amzn-Bedrock-AgentCore-Runtime-User-Id"))
429
+ InvokeAgentRuntimeRequest.add_member(:trace_id, Shapes::ShapeRef.new(shape: InvokeAgentRuntimeRequestTraceIdString, location: "header", location_name: "X-Amzn-Trace-Id"))
430
+ InvokeAgentRuntimeRequest.add_member(:trace_parent, Shapes::ShapeRef.new(shape: InvokeAgentRuntimeRequestTraceParentString, location: "header", location_name: "traceparent"))
431
+ InvokeAgentRuntimeRequest.add_member(:trace_state, Shapes::ShapeRef.new(shape: InvokeAgentRuntimeRequestTraceStateString, location: "header", location_name: "tracestate"))
432
+ InvokeAgentRuntimeRequest.add_member(:baggage, Shapes::ShapeRef.new(shape: InvokeAgentRuntimeRequestBaggageString, location: "header", location_name: "baggage"))
433
+ InvokeAgentRuntimeRequest.add_member(:agent_runtime_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "agentRuntimeArn"))
434
+ InvokeAgentRuntimeRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "qualifier"))
435
+ InvokeAgentRuntimeRequest.add_member(:payload, Shapes::ShapeRef.new(shape: Body, required: true, location_name: "payload"))
436
+ InvokeAgentRuntimeRequest.struct_class = Types::InvokeAgentRuntimeRequest
437
+ InvokeAgentRuntimeRequest[:payload] = :payload
438
+ InvokeAgentRuntimeRequest[:payload_member] = InvokeAgentRuntimeRequest.member(:payload)
439
+
440
+ InvokeAgentRuntimeResponse.add_member(:runtime_session_id, Shapes::ShapeRef.new(shape: SessionId, location: "header", location_name: "X-Amzn-Bedrock-AgentCore-Runtime-Session-Id"))
441
+ InvokeAgentRuntimeResponse.add_member(:mcp_session_id, Shapes::ShapeRef.new(shape: SessionId, location: "header", location_name: "Mcp-Session-Id"))
442
+ InvokeAgentRuntimeResponse.add_member(:mcp_protocol_version, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Mcp-Protocol-Version"))
443
+ InvokeAgentRuntimeResponse.add_member(:trace_id, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "X-Amzn-Trace-Id"))
444
+ InvokeAgentRuntimeResponse.add_member(:trace_parent, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "traceparent"))
445
+ InvokeAgentRuntimeResponse.add_member(:trace_state, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "tracestate"))
446
+ InvokeAgentRuntimeResponse.add_member(:baggage, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "baggage"))
447
+ InvokeAgentRuntimeResponse.add_member(:content_type, Shapes::ShapeRef.new(shape: String, required: true, location: "header", location_name: "Content-Type"))
448
+ InvokeAgentRuntimeResponse.add_member(:response, Shapes::ShapeRef.new(shape: ResponseStream, location_name: "response"))
449
+ InvokeAgentRuntimeResponse.add_member(:status_code, Shapes::ShapeRef.new(shape: HttpResponseCode, location: "statusCode", location_name: "statusCode"))
450
+ InvokeAgentRuntimeResponse.struct_class = Types::InvokeAgentRuntimeResponse
451
+ InvokeAgentRuntimeResponse[:payload] = :response
452
+ InvokeAgentRuntimeResponse[:payload_member] = InvokeAgentRuntimeResponse.member(:response)
453
+
454
+ InvokeCodeInterpreterRequest.add_member(:code_interpreter_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "codeInterpreterIdentifier"))
455
+ InvokeCodeInterpreterRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: CodeInterpreterSessionId, location: "header", location_name: "x-amzn-code-interpreter-session-id"))
456
+ InvokeCodeInterpreterRequest.add_member(:name, Shapes::ShapeRef.new(shape: ToolName, required: true, location_name: "name"))
457
+ InvokeCodeInterpreterRequest.add_member(:arguments, Shapes::ShapeRef.new(shape: ToolArguments, location_name: "arguments"))
458
+ InvokeCodeInterpreterRequest.struct_class = Types::InvokeCodeInterpreterRequest
459
+
460
+ InvokeCodeInterpreterResponse.add_member(:session_id, Shapes::ShapeRef.new(shape: CodeInterpreterSessionId, location: "header", location_name: "x-amzn-code-interpreter-session-id"))
461
+ InvokeCodeInterpreterResponse.add_member(:stream, Shapes::ShapeRef.new(shape: CodeInterpreterStreamOutput, required: true, eventstream: true, location_name: "stream"))
462
+ InvokeCodeInterpreterResponse.struct_class = Types::InvokeCodeInterpreterResponse
463
+ InvokeCodeInterpreterResponse[:payload] = :stream
464
+ InvokeCodeInterpreterResponse[:payload_member] = InvokeCodeInterpreterResponse.member(:stream)
465
+
466
+ ListActorsInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "uri", location_name: "memoryId"))
467
+ ListActorsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
468
+ ListActorsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
469
+ ListActorsInput.struct_class = Types::ListActorsInput
470
+
471
+ ListActorsOutput.add_member(:actor_summaries, Shapes::ShapeRef.new(shape: ActorSummaryList, required: true, location_name: "actorSummaries"))
472
+ ListActorsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
473
+ ListActorsOutput.struct_class = Types::ListActorsOutput
474
+
475
+ ListBrowserSessionsRequest.add_member(:browser_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "browserIdentifier"))
476
+ ListBrowserSessionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
477
+ ListBrowserSessionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
478
+ ListBrowserSessionsRequest.add_member(:status, Shapes::ShapeRef.new(shape: BrowserSessionStatus, location_name: "status"))
479
+ ListBrowserSessionsRequest.struct_class = Types::ListBrowserSessionsRequest
480
+
481
+ ListBrowserSessionsResponse.add_member(:items, Shapes::ShapeRef.new(shape: BrowserSessionSummaries, required: true, location_name: "items"))
482
+ ListBrowserSessionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
483
+ ListBrowserSessionsResponse.struct_class = Types::ListBrowserSessionsResponse
484
+
485
+ ListCodeInterpreterSessionsRequest.add_member(:code_interpreter_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "codeInterpreterIdentifier"))
486
+ ListCodeInterpreterSessionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
487
+ ListCodeInterpreterSessionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
488
+ ListCodeInterpreterSessionsRequest.add_member(:status, Shapes::ShapeRef.new(shape: CodeInterpreterSessionStatus, location_name: "status"))
489
+ ListCodeInterpreterSessionsRequest.struct_class = Types::ListCodeInterpreterSessionsRequest
490
+
491
+ ListCodeInterpreterSessionsResponse.add_member(:items, Shapes::ShapeRef.new(shape: CodeInterpreterSessionSummaries, required: true, location_name: "items"))
492
+ ListCodeInterpreterSessionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
493
+ ListCodeInterpreterSessionsResponse.struct_class = Types::ListCodeInterpreterSessionsResponse
494
+
495
+ ListEventsInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "uri", location_name: "memoryId"))
496
+ ListEventsInput.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location: "uri", location_name: "sessionId"))
497
+ ListEventsInput.add_member(:actor_id, Shapes::ShapeRef.new(shape: ActorId, required: true, location: "uri", location_name: "actorId"))
498
+ ListEventsInput.add_member(:include_payloads, Shapes::ShapeRef.new(shape: Boolean, location_name: "includePayloads"))
499
+ ListEventsInput.add_member(:filter, Shapes::ShapeRef.new(shape: FilterInput, location_name: "filter"))
500
+ ListEventsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
501
+ ListEventsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
502
+ ListEventsInput.struct_class = Types::ListEventsInput
503
+
504
+ ListEventsOutput.add_member(:events, Shapes::ShapeRef.new(shape: EventList, required: true, location_name: "events"))
505
+ ListEventsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
506
+ ListEventsOutput.struct_class = Types::ListEventsOutput
507
+
508
+ ListMemoryRecordsInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "uri", location_name: "memoryId"))
509
+ ListMemoryRecordsInput.add_member(:namespace, Shapes::ShapeRef.new(shape: Namespace, required: true, location_name: "namespace"))
510
+ ListMemoryRecordsInput.add_member(:memory_strategy_id, Shapes::ShapeRef.new(shape: MemoryStrategyId, location_name: "memoryStrategyId"))
511
+ ListMemoryRecordsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
512
+ ListMemoryRecordsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
513
+ ListMemoryRecordsInput.struct_class = Types::ListMemoryRecordsInput
514
+
515
+ ListMemoryRecordsOutput.add_member(:memory_record_summaries, Shapes::ShapeRef.new(shape: MemoryRecordSummaryList, required: true, location_name: "memoryRecordSummaries"))
516
+ ListMemoryRecordsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
517
+ ListMemoryRecordsOutput.struct_class = Types::ListMemoryRecordsOutput
518
+
519
+ ListSessionsInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "uri", location_name: "memoryId"))
520
+ ListSessionsInput.add_member(:actor_id, Shapes::ShapeRef.new(shape: ActorId, required: true, location: "uri", location_name: "actorId"))
521
+ ListSessionsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
522
+ ListSessionsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
523
+ ListSessionsInput.struct_class = Types::ListSessionsInput
524
+
525
+ ListSessionsOutput.add_member(:session_summaries, Shapes::ShapeRef.new(shape: SessionSummaryList, required: true, location_name: "sessionSummaries"))
526
+ ListSessionsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
527
+ ListSessionsOutput.struct_class = Types::ListSessionsOutput
528
+
529
+ LiveViewStream.add_member(:stream_endpoint, Shapes::ShapeRef.new(shape: BrowserStreamEndpoint, location_name: "streamEndpoint"))
530
+ LiveViewStream.struct_class = Types::LiveViewStream
531
+
532
+ MemoryContent.add_member(:text, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "text"))
533
+ MemoryContent.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
534
+ MemoryContent.add_member_subclass(:text, Types::MemoryContent::Text)
535
+ MemoryContent.add_member_subclass(:unknown, Types::MemoryContent::Unknown)
536
+ MemoryContent.struct_class = Types::MemoryContent
537
+
538
+ MemoryRecord.add_member(:memory_record_id, Shapes::ShapeRef.new(shape: MemoryRecordId, required: true, location_name: "memoryRecordId"))
539
+ MemoryRecord.add_member(:content, Shapes::ShapeRef.new(shape: MemoryContent, required: true, location_name: "content"))
540
+ MemoryRecord.add_member(:memory_strategy_id, Shapes::ShapeRef.new(shape: MemoryStrategyId, required: true, location_name: "memoryStrategyId"))
541
+ MemoryRecord.add_member(:namespaces, Shapes::ShapeRef.new(shape: NamespacesList, required: true, location_name: "namespaces"))
542
+ MemoryRecord.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
543
+ MemoryRecord.struct_class = Types::MemoryRecord
544
+
545
+ MemoryRecordSummary.add_member(:memory_record_id, Shapes::ShapeRef.new(shape: MemoryRecordId, required: true, location_name: "memoryRecordId"))
546
+ MemoryRecordSummary.add_member(:content, Shapes::ShapeRef.new(shape: MemoryContent, required: true, location_name: "content"))
547
+ MemoryRecordSummary.add_member(:memory_strategy_id, Shapes::ShapeRef.new(shape: MemoryStrategyId, required: true, location_name: "memoryStrategyId"))
548
+ MemoryRecordSummary.add_member(:namespaces, Shapes::ShapeRef.new(shape: NamespacesList, required: true, location_name: "namespaces"))
549
+ MemoryRecordSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
550
+ MemoryRecordSummary.add_member(:score, Shapes::ShapeRef.new(shape: Double, location_name: "score"))
551
+ MemoryRecordSummary.struct_class = Types::MemoryRecordSummary
552
+
553
+ MemoryRecordSummaryList.member = Shapes::ShapeRef.new(shape: MemoryRecordSummary)
554
+
555
+ NamespacesList.member = Shapes::ShapeRef.new(shape: Namespace)
556
+
557
+ PayloadType.add_member(:conversational, Shapes::ShapeRef.new(shape: Conversational, location_name: "conversational"))
558
+ PayloadType.add_member(:blob, Shapes::ShapeRef.new(shape: Document, location_name: "blob"))
559
+ PayloadType.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
560
+ PayloadType.add_member_subclass(:conversational, Types::PayloadType::Conversational)
561
+ PayloadType.add_member_subclass(:blob, Types::PayloadType::Blob)
562
+ PayloadType.add_member_subclass(:unknown, Types::PayloadType::Unknown)
563
+ PayloadType.struct_class = Types::PayloadType
564
+
565
+ PayloadTypeList.member = Shapes::ShapeRef.new(shape: PayloadType)
566
+
567
+ ResourceContent.add_member(:type, Shapes::ShapeRef.new(shape: ResourceContentType, required: true, location_name: "type"))
568
+ ResourceContent.add_member(:uri, Shapes::ShapeRef.new(shape: String, location_name: "uri"))
569
+ ResourceContent.add_member(:mime_type, Shapes::ShapeRef.new(shape: String, location_name: "mimeType"))
570
+ ResourceContent.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "text"))
571
+ ResourceContent.add_member(:blob, Shapes::ShapeRef.new(shape: Blob, location_name: "blob"))
572
+ ResourceContent.struct_class = Types::ResourceContent
573
+
574
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
575
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
576
+
577
+ RetrieveMemoryRecordsInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "uri", location_name: "memoryId"))
578
+ RetrieveMemoryRecordsInput.add_member(:namespace, Shapes::ShapeRef.new(shape: Namespace, required: true, location_name: "namespace"))
579
+ RetrieveMemoryRecordsInput.add_member(:search_criteria, Shapes::ShapeRef.new(shape: SearchCriteria, required: true, location_name: "searchCriteria"))
580
+ RetrieveMemoryRecordsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
581
+ RetrieveMemoryRecordsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
582
+ RetrieveMemoryRecordsInput.struct_class = Types::RetrieveMemoryRecordsInput
583
+
584
+ RetrieveMemoryRecordsOutput.add_member(:memory_record_summaries, Shapes::ShapeRef.new(shape: MemoryRecordSummaryList, required: true, location_name: "memoryRecordSummaries"))
585
+ RetrieveMemoryRecordsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
586
+ RetrieveMemoryRecordsOutput.struct_class = Types::RetrieveMemoryRecordsOutput
587
+
588
+ RuntimeClientError.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
589
+ RuntimeClientError.struct_class = Types::RuntimeClientError
590
+
591
+ ScopesListType.member = Shapes::ShapeRef.new(shape: ScopeType)
592
+
593
+ SearchCriteria.add_member(:search_query, Shapes::ShapeRef.new(shape: SearchCriteriaSearchQueryString, required: true, location_name: "searchQuery"))
594
+ SearchCriteria.add_member(:memory_strategy_id, Shapes::ShapeRef.new(shape: MemoryStrategyId, location_name: "memoryStrategyId"))
595
+ SearchCriteria.add_member(:top_k, Shapes::ShapeRef.new(shape: SearchCriteriaTopKInteger, location_name: "topK"))
596
+ SearchCriteria.struct_class = Types::SearchCriteria
597
+
598
+ ServiceException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
599
+ ServiceException.struct_class = Types::ServiceException
600
+
601
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
602
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
603
+
604
+ SessionSummary.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location_name: "sessionId"))
605
+ SessionSummary.add_member(:actor_id, Shapes::ShapeRef.new(shape: ActorId, required: true, location_name: "actorId"))
606
+ SessionSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
607
+ SessionSummary.struct_class = Types::SessionSummary
608
+
609
+ SessionSummaryList.member = Shapes::ShapeRef.new(shape: SessionSummary)
610
+
611
+ StartBrowserSessionRequest.add_member(:browser_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "browserIdentifier"))
612
+ StartBrowserSessionRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
613
+ StartBrowserSessionRequest.add_member(:session_timeout_seconds, Shapes::ShapeRef.new(shape: BrowserSessionTimeout, location_name: "sessionTimeoutSeconds"))
614
+ StartBrowserSessionRequest.add_member(:view_port, Shapes::ShapeRef.new(shape: ViewPort, location_name: "viewPort"))
615
+ StartBrowserSessionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
616
+ StartBrowserSessionRequest.struct_class = Types::StartBrowserSessionRequest
617
+
618
+ StartBrowserSessionResponse.add_member(:browser_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "browserIdentifier"))
619
+ StartBrowserSessionResponse.add_member(:session_id, Shapes::ShapeRef.new(shape: BrowserSessionId, required: true, location_name: "sessionId"))
620
+ StartBrowserSessionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
621
+ StartBrowserSessionResponse.add_member(:streams, Shapes::ShapeRef.new(shape: BrowserSessionStream, location_name: "streams"))
622
+ StartBrowserSessionResponse.struct_class = Types::StartBrowserSessionResponse
623
+
624
+ StartCodeInterpreterSessionRequest.add_member(:code_interpreter_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "codeInterpreterIdentifier"))
625
+ StartCodeInterpreterSessionRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
626
+ StartCodeInterpreterSessionRequest.add_member(:session_timeout_seconds, Shapes::ShapeRef.new(shape: CodeInterpreterSessionTimeout, location_name: "sessionTimeoutSeconds"))
627
+ StartCodeInterpreterSessionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
628
+ StartCodeInterpreterSessionRequest.struct_class = Types::StartCodeInterpreterSessionRequest
629
+
630
+ StartCodeInterpreterSessionResponse.add_member(:code_interpreter_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "codeInterpreterIdentifier"))
631
+ StartCodeInterpreterSessionResponse.add_member(:session_id, Shapes::ShapeRef.new(shape: CodeInterpreterSessionId, required: true, location_name: "sessionId"))
632
+ StartCodeInterpreterSessionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
633
+ StartCodeInterpreterSessionResponse.struct_class = Types::StartCodeInterpreterSessionResponse
634
+
635
+ StopBrowserSessionRequest.add_member(:browser_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "browserIdentifier"))
636
+ StopBrowserSessionRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: BrowserSessionId, required: true, location: "querystring", location_name: "sessionId"))
637
+ StopBrowserSessionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
638
+ StopBrowserSessionRequest.struct_class = Types::StopBrowserSessionRequest
639
+
640
+ StopBrowserSessionResponse.add_member(:browser_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "browserIdentifier"))
641
+ StopBrowserSessionResponse.add_member(:session_id, Shapes::ShapeRef.new(shape: BrowserSessionId, required: true, location_name: "sessionId"))
642
+ StopBrowserSessionResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "lastUpdatedAt"))
643
+ StopBrowserSessionResponse.struct_class = Types::StopBrowserSessionResponse
644
+
645
+ StopCodeInterpreterSessionRequest.add_member(:code_interpreter_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "codeInterpreterIdentifier"))
646
+ StopCodeInterpreterSessionRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: CodeInterpreterSessionId, required: true, location: "querystring", location_name: "sessionId"))
647
+ StopCodeInterpreterSessionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
648
+ StopCodeInterpreterSessionRequest.struct_class = Types::StopCodeInterpreterSessionRequest
649
+
650
+ StopCodeInterpreterSessionResponse.add_member(:code_interpreter_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "codeInterpreterIdentifier"))
651
+ StopCodeInterpreterSessionResponse.add_member(:session_id, Shapes::ShapeRef.new(shape: CodeInterpreterSessionId, required: true, location_name: "sessionId"))
652
+ StopCodeInterpreterSessionResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "lastUpdatedAt"))
653
+ StopCodeInterpreterSessionResponse.struct_class = Types::StopCodeInterpreterSessionResponse
654
+
655
+ StreamUpdate.add_member(:automation_stream_update, Shapes::ShapeRef.new(shape: AutomationStreamUpdate, location_name: "automationStreamUpdate"))
656
+ StreamUpdate.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
657
+ StreamUpdate.add_member_subclass(:automation_stream_update, Types::StreamUpdate::AutomationStreamUpdate)
658
+ StreamUpdate.add_member_subclass(:unknown, Types::StreamUpdate::Unknown)
659
+ StreamUpdate.struct_class = Types::StreamUpdate
660
+
661
+ StringList.member = Shapes::ShapeRef.new(shape: MaxLenString)
662
+
663
+ ThrottledException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
664
+ ThrottledException.struct_class = Types::ThrottledException
665
+
666
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
667
+ ThrottlingException.struct_class = Types::ThrottlingException
668
+
669
+ ToolArguments.add_member(:code, Shapes::ShapeRef.new(shape: MaxLenString, location_name: "code"))
670
+ ToolArguments.add_member(:language, Shapes::ShapeRef.new(shape: ProgrammingLanguage, location_name: "language"))
671
+ ToolArguments.add_member(:clear_context, Shapes::ShapeRef.new(shape: Boolean, location_name: "clearContext"))
672
+ ToolArguments.add_member(:command, Shapes::ShapeRef.new(shape: MaxLenString, location_name: "command"))
673
+ ToolArguments.add_member(:path, Shapes::ShapeRef.new(shape: MaxLenString, location_name: "path"))
674
+ ToolArguments.add_member(:paths, Shapes::ShapeRef.new(shape: StringList, location_name: "paths"))
675
+ ToolArguments.add_member(:content, Shapes::ShapeRef.new(shape: InputContentBlockList, location_name: "content"))
676
+ ToolArguments.add_member(:directory_path, Shapes::ShapeRef.new(shape: MaxLenString, location_name: "directoryPath"))
677
+ ToolArguments.add_member(:task_id, Shapes::ShapeRef.new(shape: MaxLenString, location_name: "taskId"))
678
+ ToolArguments.struct_class = Types::ToolArguments
679
+
680
+ ToolResultStructuredContent.add_member(:task_id, Shapes::ShapeRef.new(shape: String, location_name: "taskId"))
681
+ ToolResultStructuredContent.add_member(:task_status, Shapes::ShapeRef.new(shape: TaskStatus, location_name: "taskStatus"))
682
+ ToolResultStructuredContent.add_member(:stdout, Shapes::ShapeRef.new(shape: String, location_name: "stdout"))
683
+ ToolResultStructuredContent.add_member(:stderr, Shapes::ShapeRef.new(shape: String, location_name: "stderr"))
684
+ ToolResultStructuredContent.add_member(:exit_code, Shapes::ShapeRef.new(shape: Integer, location_name: "exitCode"))
685
+ ToolResultStructuredContent.add_member(:execution_time, Shapes::ShapeRef.new(shape: Double, location_name: "executionTime"))
686
+ ToolResultStructuredContent.struct_class = Types::ToolResultStructuredContent
687
+
688
+ UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
689
+ UnauthorizedException.struct_class = Types::UnauthorizedException
690
+
691
+ UpdateBrowserStreamRequest.add_member(:browser_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "browserIdentifier"))
692
+ UpdateBrowserStreamRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: BrowserSessionId, required: true, location: "querystring", location_name: "sessionId"))
693
+ UpdateBrowserStreamRequest.add_member(:stream_update, Shapes::ShapeRef.new(shape: StreamUpdate, required: true, location_name: "streamUpdate"))
694
+ UpdateBrowserStreamRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
695
+ UpdateBrowserStreamRequest.struct_class = Types::UpdateBrowserStreamRequest
696
+
697
+ UpdateBrowserStreamResponse.add_member(:browser_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "browserIdentifier"))
698
+ UpdateBrowserStreamResponse.add_member(:session_id, Shapes::ShapeRef.new(shape: BrowserSessionId, required: true, location_name: "sessionId"))
699
+ UpdateBrowserStreamResponse.add_member(:streams, Shapes::ShapeRef.new(shape: BrowserSessionStream, required: true, location_name: "streams"))
700
+ UpdateBrowserStreamResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "updatedAt"))
701
+ UpdateBrowserStreamResponse.struct_class = Types::UpdateBrowserStreamResponse
702
+
703
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
704
+ ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, required: true, location_name: "reason"))
705
+ ValidationException.add_member(:field_list, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "fieldList"))
706
+ ValidationException.struct_class = Types::ValidationException
707
+
708
+ ValidationExceptionField.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
709
+ ValidationExceptionField.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
710
+ ValidationExceptionField.struct_class = Types::ValidationExceptionField
711
+
712
+ ValidationExceptionFieldList.member = Shapes::ShapeRef.new(shape: ValidationExceptionField)
713
+
714
+ ViewPort.add_member(:width, Shapes::ShapeRef.new(shape: ViewPortWidth, required: true, location_name: "width"))
715
+ ViewPort.add_member(:height, Shapes::ShapeRef.new(shape: ViewPortHeight, required: true, location_name: "height"))
716
+ ViewPort.struct_class = Types::ViewPort
717
+
718
+
719
+ # @api private
720
+ API = Seahorse::Model::Api.new.tap do |api|
721
+
722
+ api.version = "2024-02-28"
723
+
724
+ api.metadata = {
725
+ "apiVersion" => "2024-02-28",
726
+ "auth" => ["aws.auth#sigv4"],
727
+ "endpointPrefix" => "bedrock-agentcore",
728
+ "protocol" => "rest-json",
729
+ "protocols" => ["rest-json"],
730
+ "serviceFullName" => "Amazon Bedrock AgentCore Data Plane Fronting Layer",
731
+ "serviceId" => "Bedrock AgentCore",
732
+ "signatureVersion" => "v4",
733
+ "signingName" => "bedrock-agentcore",
734
+ "uid" => "bedrock-agentcore-2024-02-28",
735
+ }
736
+
737
+ api.add_operation(:create_event, Seahorse::Model::Operation.new.tap do |o|
738
+ o.name = "CreateEvent"
739
+ o.http_method = "POST"
740
+ o.http_request_uri = "/memories/{memoryId}/events"
741
+ o.input = Shapes::ShapeRef.new(shape: CreateEventInput)
742
+ o.output = Shapes::ShapeRef.new(shape: CreateEventOutput)
743
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
744
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
745
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
746
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
747
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
748
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
749
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
750
+ end)
751
+
752
+ api.add_operation(:delete_event, Seahorse::Model::Operation.new.tap do |o|
753
+ o.name = "DeleteEvent"
754
+ o.http_method = "DELETE"
755
+ o.http_request_uri = "/memories/{memoryId}/actor/{actorId}/sessions/{sessionId}/events/{eventId}"
756
+ o.input = Shapes::ShapeRef.new(shape: DeleteEventInput)
757
+ o.output = Shapes::ShapeRef.new(shape: DeleteEventOutput)
758
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
759
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
760
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
761
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
762
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
763
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
764
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
765
+ end)
766
+
767
+ api.add_operation(:delete_memory_record, Seahorse::Model::Operation.new.tap do |o|
768
+ o.name = "DeleteMemoryRecord"
769
+ o.http_method = "DELETE"
770
+ o.http_request_uri = "/memories/{memoryId}/memoryRecords/{memoryRecordId}"
771
+ o.input = Shapes::ShapeRef.new(shape: DeleteMemoryRecordInput)
772
+ o.output = Shapes::ShapeRef.new(shape: DeleteMemoryRecordOutput)
773
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
774
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
775
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
776
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
777
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
778
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
779
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
780
+ end)
781
+
782
+ api.add_operation(:get_browser_session, Seahorse::Model::Operation.new.tap do |o|
783
+ o.name = "GetBrowserSession"
784
+ o.http_method = "GET"
785
+ o.http_request_uri = "/browsers/{browserIdentifier}/sessions/get"
786
+ o.input = Shapes::ShapeRef.new(shape: GetBrowserSessionRequest)
787
+ o.output = Shapes::ShapeRef.new(shape: GetBrowserSessionResponse)
788
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
789
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
790
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
791
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
792
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
793
+ end)
794
+
795
+ api.add_operation(:get_code_interpreter_session, Seahorse::Model::Operation.new.tap do |o|
796
+ o.name = "GetCodeInterpreterSession"
797
+ o.http_method = "GET"
798
+ o.http_request_uri = "/code-interpreters/{codeInterpreterIdentifier}/sessions/get"
799
+ o.input = Shapes::ShapeRef.new(shape: GetCodeInterpreterSessionRequest)
800
+ o.output = Shapes::ShapeRef.new(shape: GetCodeInterpreterSessionResponse)
801
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
802
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
803
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
804
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
805
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
806
+ end)
807
+
808
+ api.add_operation(:get_event, Seahorse::Model::Operation.new.tap do |o|
809
+ o.name = "GetEvent"
810
+ o.http_method = "GET"
811
+ o.http_request_uri = "/memories/{memoryId}/actor/{actorId}/sessions/{sessionId}/events/{eventId}"
812
+ o.input = Shapes::ShapeRef.new(shape: GetEventInput)
813
+ o.output = Shapes::ShapeRef.new(shape: GetEventOutput)
814
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
815
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
816
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
817
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
818
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
819
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
820
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
821
+ end)
822
+
823
+ api.add_operation(:get_memory_record, Seahorse::Model::Operation.new.tap do |o|
824
+ o.name = "GetMemoryRecord"
825
+ o.http_method = "GET"
826
+ o.http_request_uri = "/memories/{memoryId}/memoryRecord/{memoryRecordId}"
827
+ o.input = Shapes::ShapeRef.new(shape: GetMemoryRecordInput)
828
+ o.output = Shapes::ShapeRef.new(shape: GetMemoryRecordOutput)
829
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
830
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
831
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
832
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
833
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
834
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
835
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
836
+ end)
837
+
838
+ api.add_operation(:get_resource_api_key, Seahorse::Model::Operation.new.tap do |o|
839
+ o.name = "GetResourceApiKey"
840
+ o.http_method = "POST"
841
+ o.http_request_uri = "/identities/api-key"
842
+ o.input = Shapes::ShapeRef.new(shape: GetResourceApiKeyRequest)
843
+ o.output = Shapes::ShapeRef.new(shape: GetResourceApiKeyResponse)
844
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
845
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
846
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
847
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
848
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
849
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
850
+ end)
851
+
852
+ api.add_operation(:get_resource_oauth_2_token, Seahorse::Model::Operation.new.tap do |o|
853
+ o.name = "GetResourceOauth2Token"
854
+ o.http_method = "POST"
855
+ o.http_request_uri = "/identities/oauth2/token"
856
+ o.input = Shapes::ShapeRef.new(shape: GetResourceOauth2TokenRequest)
857
+ o.output = Shapes::ShapeRef.new(shape: GetResourceOauth2TokenResponse)
858
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
859
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
860
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
861
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
862
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
863
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
864
+ end)
865
+
866
+ api.add_operation(:get_workload_access_token, Seahorse::Model::Operation.new.tap do |o|
867
+ o.name = "GetWorkloadAccessToken"
868
+ o.http_method = "POST"
869
+ o.http_request_uri = "/identities/GetWorkloadAccessToken"
870
+ o.input = Shapes::ShapeRef.new(shape: GetWorkloadAccessTokenRequest)
871
+ o.output = Shapes::ShapeRef.new(shape: GetWorkloadAccessTokenResponse)
872
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
873
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
874
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
875
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
876
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
877
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
878
+ end)
879
+
880
+ api.add_operation(:get_workload_access_token_for_jwt, Seahorse::Model::Operation.new.tap do |o|
881
+ o.name = "GetWorkloadAccessTokenForJWT"
882
+ o.http_method = "POST"
883
+ o.http_request_uri = "/identities/GetWorkloadAccessTokenForJWT"
884
+ o.input = Shapes::ShapeRef.new(shape: GetWorkloadAccessTokenForJWTRequest)
885
+ o.output = Shapes::ShapeRef.new(shape: GetWorkloadAccessTokenForJWTResponse)
886
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
887
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
888
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
889
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
890
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
891
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
892
+ end)
893
+
894
+ api.add_operation(:get_workload_access_token_for_user_id, Seahorse::Model::Operation.new.tap do |o|
895
+ o.name = "GetWorkloadAccessTokenForUserId"
896
+ o.http_method = "POST"
897
+ o.http_request_uri = "/identities/GetWorkloadAccessTokenForUserId"
898
+ o.input = Shapes::ShapeRef.new(shape: GetWorkloadAccessTokenForUserIdRequest)
899
+ o.output = Shapes::ShapeRef.new(shape: GetWorkloadAccessTokenForUserIdResponse)
900
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
901
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
902
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
903
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
904
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
905
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
906
+ end)
907
+
908
+ api.add_operation(:invoke_agent_runtime, Seahorse::Model::Operation.new.tap do |o|
909
+ o.name = "InvokeAgentRuntime"
910
+ o.http_method = "POST"
911
+ o.http_request_uri = "/runtimes/{agentRuntimeArn}/invocations"
912
+ o.input = Shapes::ShapeRef.new(shape: InvokeAgentRuntimeRequest)
913
+ o.output = Shapes::ShapeRef.new(shape: InvokeAgentRuntimeResponse)
914
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
915
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
916
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
917
+ o.errors << Shapes::ShapeRef.new(shape: RuntimeClientError)
918
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
919
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
920
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
921
+ end)
922
+
923
+ api.add_operation(:invoke_code_interpreter, Seahorse::Model::Operation.new.tap do |o|
924
+ o.name = "InvokeCodeInterpreter"
925
+ o.http_method = "POST"
926
+ o.http_request_uri = "/code-interpreters/{codeInterpreterIdentifier}/tools/invoke"
927
+ o.input = Shapes::ShapeRef.new(shape: InvokeCodeInterpreterRequest)
928
+ o.output = Shapes::ShapeRef.new(shape: InvokeCodeInterpreterResponse)
929
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
930
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
931
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
932
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
933
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
934
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
935
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
936
+ end)
937
+
938
+ api.add_operation(:list_actors, Seahorse::Model::Operation.new.tap do |o|
939
+ o.name = "ListActors"
940
+ o.http_method = "POST"
941
+ o.http_request_uri = "/memories/{memoryId}/actors"
942
+ o.input = Shapes::ShapeRef.new(shape: ListActorsInput)
943
+ o.output = Shapes::ShapeRef.new(shape: ListActorsOutput)
944
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
945
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
946
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
947
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
948
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
949
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
950
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
951
+ o[:pager] = Aws::Pager.new(
952
+ limit_key: "max_results",
953
+ tokens: {
954
+ "next_token" => "next_token"
955
+ }
956
+ )
957
+ end)
958
+
959
+ api.add_operation(:list_browser_sessions, Seahorse::Model::Operation.new.tap do |o|
960
+ o.name = "ListBrowserSessions"
961
+ o.http_method = "POST"
962
+ o.http_request_uri = "/browsers/{browserIdentifier}/sessions/list"
963
+ o.input = Shapes::ShapeRef.new(shape: ListBrowserSessionsRequest)
964
+ o.output = Shapes::ShapeRef.new(shape: ListBrowserSessionsResponse)
965
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
966
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
967
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
968
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
969
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
970
+ end)
971
+
972
+ api.add_operation(:list_code_interpreter_sessions, Seahorse::Model::Operation.new.tap do |o|
973
+ o.name = "ListCodeInterpreterSessions"
974
+ o.http_method = "POST"
975
+ o.http_request_uri = "/code-interpreters/{codeInterpreterIdentifier}/sessions/list"
976
+ o.input = Shapes::ShapeRef.new(shape: ListCodeInterpreterSessionsRequest)
977
+ o.output = Shapes::ShapeRef.new(shape: ListCodeInterpreterSessionsResponse)
978
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
979
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
980
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
981
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
982
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
983
+ end)
984
+
985
+ api.add_operation(:list_events, Seahorse::Model::Operation.new.tap do |o|
986
+ o.name = "ListEvents"
987
+ o.http_method = "POST"
988
+ o.http_request_uri = "/memories/{memoryId}/actor/{actorId}/sessions/{sessionId}"
989
+ o.input = Shapes::ShapeRef.new(shape: ListEventsInput)
990
+ o.output = Shapes::ShapeRef.new(shape: ListEventsOutput)
991
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
992
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
993
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
994
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
995
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
996
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
997
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
998
+ o[:pager] = Aws::Pager.new(
999
+ limit_key: "max_results",
1000
+ tokens: {
1001
+ "next_token" => "next_token"
1002
+ }
1003
+ )
1004
+ end)
1005
+
1006
+ api.add_operation(:list_memory_records, Seahorse::Model::Operation.new.tap do |o|
1007
+ o.name = "ListMemoryRecords"
1008
+ o.http_method = "POST"
1009
+ o.http_request_uri = "/memories/{memoryId}/memoryRecords"
1010
+ o.input = Shapes::ShapeRef.new(shape: ListMemoryRecordsInput)
1011
+ o.output = Shapes::ShapeRef.new(shape: ListMemoryRecordsOutput)
1012
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1013
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1014
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1015
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1016
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1017
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1018
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1019
+ o[:pager] = Aws::Pager.new(
1020
+ limit_key: "max_results",
1021
+ tokens: {
1022
+ "next_token" => "next_token"
1023
+ }
1024
+ )
1025
+ end)
1026
+
1027
+ api.add_operation(:list_sessions, Seahorse::Model::Operation.new.tap do |o|
1028
+ o.name = "ListSessions"
1029
+ o.http_method = "POST"
1030
+ o.http_request_uri = "/memories/{memoryId}/actor/{actorId}/sessions"
1031
+ o.input = Shapes::ShapeRef.new(shape: ListSessionsInput)
1032
+ o.output = Shapes::ShapeRef.new(shape: ListSessionsOutput)
1033
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1034
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1035
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1036
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1037
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1038
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1039
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1040
+ o[:pager] = Aws::Pager.new(
1041
+ limit_key: "max_results",
1042
+ tokens: {
1043
+ "next_token" => "next_token"
1044
+ }
1045
+ )
1046
+ end)
1047
+
1048
+ api.add_operation(:retrieve_memory_records, Seahorse::Model::Operation.new.tap do |o|
1049
+ o.name = "RetrieveMemoryRecords"
1050
+ o.http_method = "POST"
1051
+ o.http_request_uri = "/memories/{memoryId}/retrieve"
1052
+ o.input = Shapes::ShapeRef.new(shape: RetrieveMemoryRecordsInput)
1053
+ o.output = Shapes::ShapeRef.new(shape: RetrieveMemoryRecordsOutput)
1054
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1055
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1056
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1057
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1058
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1059
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
1060
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
1061
+ o[:pager] = Aws::Pager.new(
1062
+ limit_key: "max_results",
1063
+ tokens: {
1064
+ "next_token" => "next_token"
1065
+ }
1066
+ )
1067
+ end)
1068
+
1069
+ api.add_operation(:start_browser_session, Seahorse::Model::Operation.new.tap do |o|
1070
+ o.name = "StartBrowserSession"
1071
+ o.http_method = "PUT"
1072
+ o.http_request_uri = "/browsers/{browserIdentifier}/sessions/start"
1073
+ o.input = Shapes::ShapeRef.new(shape: StartBrowserSessionRequest)
1074
+ o.output = Shapes::ShapeRef.new(shape: StartBrowserSessionResponse)
1075
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1076
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1077
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1078
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1079
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1080
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1081
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1082
+ end)
1083
+
1084
+ api.add_operation(:start_code_interpreter_session, Seahorse::Model::Operation.new.tap do |o|
1085
+ o.name = "StartCodeInterpreterSession"
1086
+ o.http_method = "PUT"
1087
+ o.http_request_uri = "/code-interpreters/{codeInterpreterIdentifier}/sessions/start"
1088
+ o.input = Shapes::ShapeRef.new(shape: StartCodeInterpreterSessionRequest)
1089
+ o.output = Shapes::ShapeRef.new(shape: StartCodeInterpreterSessionResponse)
1090
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1091
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1092
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1093
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1094
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1095
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1096
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1097
+ end)
1098
+
1099
+ api.add_operation(:stop_browser_session, Seahorse::Model::Operation.new.tap do |o|
1100
+ o.name = "StopBrowserSession"
1101
+ o.http_method = "PUT"
1102
+ o.http_request_uri = "/browsers/{browserIdentifier}/sessions/stop"
1103
+ o.input = Shapes::ShapeRef.new(shape: StopBrowserSessionRequest)
1104
+ o.output = Shapes::ShapeRef.new(shape: StopBrowserSessionResponse)
1105
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1106
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1107
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1108
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1109
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1110
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1111
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1112
+ end)
1113
+
1114
+ api.add_operation(:stop_code_interpreter_session, Seahorse::Model::Operation.new.tap do |o|
1115
+ o.name = "StopCodeInterpreterSession"
1116
+ o.http_method = "PUT"
1117
+ o.http_request_uri = "/code-interpreters/{codeInterpreterIdentifier}/sessions/stop"
1118
+ o.input = Shapes::ShapeRef.new(shape: StopCodeInterpreterSessionRequest)
1119
+ o.output = Shapes::ShapeRef.new(shape: StopCodeInterpreterSessionResponse)
1120
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1121
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1122
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1123
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1124
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1125
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1126
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1127
+ end)
1128
+
1129
+ api.add_operation(:update_browser_stream, Seahorse::Model::Operation.new.tap do |o|
1130
+ o.name = "UpdateBrowserStream"
1131
+ o.http_method = "PUT"
1132
+ o.http_request_uri = "/browsers/{browserIdentifier}/sessions/streams/update"
1133
+ o.input = Shapes::ShapeRef.new(shape: UpdateBrowserStreamRequest)
1134
+ o.output = Shapes::ShapeRef.new(shape: UpdateBrowserStreamResponse)
1135
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1136
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1137
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1138
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1139
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1140
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1141
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1142
+ end)
1143
+ end
1144
+
1145
+ end
1146
+ end