aws-sdk-novaact 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,691 @@
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::NovaAct
12
+ # @api private
13
+ module ClientApi
14
+
15
+ include Seahorse::Model
16
+
17
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
18
+ ActError = Shapes::StructureShape.new(name: 'ActError')
19
+ ActErrorMessageString = Shapes::StringShape.new(name: 'ActErrorMessageString')
20
+ ActErrorTypeString = Shapes::StringShape.new(name: 'ActErrorTypeString')
21
+ ActStatus = Shapes::StringShape.new(name: 'ActStatus')
22
+ ActSummaries = Shapes::ListShape.new(name: 'ActSummaries')
23
+ ActSummary = Shapes::StructureShape.new(name: 'ActSummary')
24
+ Call = Shapes::StructureShape.new(name: 'Call')
25
+ CallId = Shapes::StringShape.new(name: 'CallId')
26
+ CallResult = Shapes::StructureShape.new(name: 'CallResult')
27
+ CallResultContent = Shapes::UnionShape.new(name: 'CallResultContent')
28
+ CallResultContents = Shapes::ListShape.new(name: 'CallResultContents')
29
+ CallResults = Shapes::ListShape.new(name: 'CallResults')
30
+ Calls = Shapes::ListShape.new(name: 'Calls')
31
+ ClientInfo = Shapes::StructureShape.new(name: 'ClientInfo')
32
+ ClientToken = Shapes::StringShape.new(name: 'ClientToken')
33
+ CloudWatchLogGroupName = Shapes::StringShape.new(name: 'CloudWatchLogGroupName')
34
+ CompatibilityInformation = Shapes::StructureShape.new(name: 'CompatibilityInformation')
35
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
36
+ CreateActRequest = Shapes::StructureShape.new(name: 'CreateActRequest')
37
+ CreateActResponse = Shapes::StructureShape.new(name: 'CreateActResponse')
38
+ CreateSessionRequest = Shapes::StructureShape.new(name: 'CreateSessionRequest')
39
+ CreateSessionResponse = Shapes::StructureShape.new(name: 'CreateSessionResponse')
40
+ CreateWorkflowDefinitionRequest = Shapes::StructureShape.new(name: 'CreateWorkflowDefinitionRequest')
41
+ CreateWorkflowDefinitionResponse = Shapes::StructureShape.new(name: 'CreateWorkflowDefinitionResponse')
42
+ CreateWorkflowRunRequest = Shapes::StructureShape.new(name: 'CreateWorkflowRunRequest')
43
+ CreateWorkflowRunResponse = Shapes::StructureShape.new(name: 'CreateWorkflowRunResponse')
44
+ DateTimestamp = Shapes::TimestampShape.new(name: 'DateTimestamp', timestampFormat: "iso8601")
45
+ DeleteWorkflowDefinitionRequest = Shapes::StructureShape.new(name: 'DeleteWorkflowDefinitionRequest')
46
+ DeleteWorkflowDefinitionResponse = Shapes::StructureShape.new(name: 'DeleteWorkflowDefinitionResponse')
47
+ DeleteWorkflowRunRequest = Shapes::StructureShape.new(name: 'DeleteWorkflowRunRequest')
48
+ DeleteWorkflowRunResponse = Shapes::StructureShape.new(name: 'DeleteWorkflowRunResponse')
49
+ GetWorkflowDefinitionRequest = Shapes::StructureShape.new(name: 'GetWorkflowDefinitionRequest')
50
+ GetWorkflowDefinitionResponse = Shapes::StructureShape.new(name: 'GetWorkflowDefinitionResponse')
51
+ GetWorkflowRunRequest = Shapes::StructureShape.new(name: 'GetWorkflowRunRequest')
52
+ GetWorkflowRunResponse = Shapes::StructureShape.new(name: 'GetWorkflowRunResponse')
53
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
54
+ InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
55
+ InternalServerExceptionReason = Shapes::StringShape.new(name: 'InternalServerExceptionReason')
56
+ InvokeActStepRequest = Shapes::StructureShape.new(name: 'InvokeActStepRequest')
57
+ InvokeActStepResponse = Shapes::StructureShape.new(name: 'InvokeActStepResponse')
58
+ ListActsRequest = Shapes::StructureShape.new(name: 'ListActsRequest')
59
+ ListActsResponse = Shapes::StructureShape.new(name: 'ListActsResponse')
60
+ ListModelsRequest = Shapes::StructureShape.new(name: 'ListModelsRequest')
61
+ ListModelsResponse = Shapes::StructureShape.new(name: 'ListModelsResponse')
62
+ ListSessionsRequest = Shapes::StructureShape.new(name: 'ListSessionsRequest')
63
+ ListSessionsResponse = Shapes::StructureShape.new(name: 'ListSessionsResponse')
64
+ ListWorkflowDefinitionsRequest = Shapes::StructureShape.new(name: 'ListWorkflowDefinitionsRequest')
65
+ ListWorkflowDefinitionsResponse = Shapes::StructureShape.new(name: 'ListWorkflowDefinitionsResponse')
66
+ ListWorkflowRunsRequest = Shapes::StructureShape.new(name: 'ListWorkflowRunsRequest')
67
+ ListWorkflowRunsResponse = Shapes::StructureShape.new(name: 'ListWorkflowRunsResponse')
68
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
69
+ ModelAlias = Shapes::StructureShape.new(name: 'ModelAlias')
70
+ ModelAliases = Shapes::ListShape.new(name: 'ModelAliases')
71
+ ModelId = Shapes::StringShape.new(name: 'ModelId')
72
+ ModelIdList = Shapes::ListShape.new(name: 'ModelIdList')
73
+ ModelLifecycle = Shapes::StructureShape.new(name: 'ModelLifecycle')
74
+ ModelStatus = Shapes::StringShape.new(name: 'ModelStatus')
75
+ ModelSummaries = Shapes::ListShape.new(name: 'ModelSummaries')
76
+ ModelSummary = Shapes::StructureShape.new(name: 'ModelSummary')
77
+ NextToken = Shapes::StringShape.new(name: 'NextToken')
78
+ NonBlankString = Shapes::StringShape.new(name: 'NonBlankString')
79
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
80
+ S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
81
+ S3KeyPrefix = Shapes::StringShape.new(name: 'S3KeyPrefix')
82
+ SensitiveDocument = Shapes::DocumentShape.new(name: 'SensitiveDocument', document: true)
83
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
84
+ SessionSummaries = Shapes::ListShape.new(name: 'SessionSummaries')
85
+ SessionSummary = Shapes::StructureShape.new(name: 'SessionSummary')
86
+ SortOrder = Shapes::StringShape.new(name: 'SortOrder')
87
+ String = Shapes::StringShape.new(name: 'String')
88
+ Task = Shapes::StringShape.new(name: 'Task')
89
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
90
+ ToolDescription = Shapes::StringShape.new(name: 'ToolDescription')
91
+ ToolInputSchema = Shapes::UnionShape.new(name: 'ToolInputSchema')
92
+ ToolInputSchemaDocument = Shapes::DocumentShape.new(name: 'ToolInputSchemaDocument', document: true)
93
+ ToolName = Shapes::StringShape.new(name: 'ToolName')
94
+ ToolSpec = Shapes::StructureShape.new(name: 'ToolSpec')
95
+ ToolSpecs = Shapes::ListShape.new(name: 'ToolSpecs')
96
+ TraceLocation = Shapes::StructureShape.new(name: 'TraceLocation')
97
+ TraceLocationType = Shapes::StringShape.new(name: 'TraceLocationType')
98
+ UpdateActRequest = Shapes::StructureShape.new(name: 'UpdateActRequest')
99
+ UpdateActResponse = Shapes::StructureShape.new(name: 'UpdateActResponse')
100
+ UpdateWorkflowRunRequest = Shapes::StructureShape.new(name: 'UpdateWorkflowRunRequest')
101
+ UpdateWorkflowRunResponse = Shapes::StructureShape.new(name: 'UpdateWorkflowRunResponse')
102
+ UuidString = Shapes::StringShape.new(name: 'UuidString')
103
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
104
+ ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
105
+ ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
106
+ ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
107
+ WorkflowDefinitionArn = Shapes::StringShape.new(name: 'WorkflowDefinitionArn')
108
+ WorkflowDefinitionName = Shapes::StringShape.new(name: 'WorkflowDefinitionName')
109
+ WorkflowDefinitionStatus = Shapes::StringShape.new(name: 'WorkflowDefinitionStatus')
110
+ WorkflowDefinitionSummaries = Shapes::ListShape.new(name: 'WorkflowDefinitionSummaries')
111
+ WorkflowDefinitionSummary = Shapes::StructureShape.new(name: 'WorkflowDefinitionSummary')
112
+ WorkflowDescription = Shapes::StringShape.new(name: 'WorkflowDescription')
113
+ WorkflowExportConfig = Shapes::StructureShape.new(name: 'WorkflowExportConfig')
114
+ WorkflowRunArn = Shapes::StringShape.new(name: 'WorkflowRunArn')
115
+ WorkflowRunStatus = Shapes::StringShape.new(name: 'WorkflowRunStatus')
116
+ WorkflowRunSummaries = Shapes::ListShape.new(name: 'WorkflowRunSummaries')
117
+ WorkflowRunSummary = Shapes::StructureShape.new(name: 'WorkflowRunSummary')
118
+
119
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, required: true, location_name: "message"))
120
+ AccessDeniedException.struct_class = Types::AccessDeniedException
121
+
122
+ ActError.add_member(:message, Shapes::ShapeRef.new(shape: ActErrorMessageString, required: true, location_name: "message"))
123
+ ActError.add_member(:type, Shapes::ShapeRef.new(shape: ActErrorTypeString, location_name: "type"))
124
+ ActError.struct_class = Types::ActError
125
+
126
+ ActSummaries.member = Shapes::ShapeRef.new(shape: ActSummary)
127
+
128
+ ActSummary.add_member(:workflow_run_id, Shapes::ShapeRef.new(shape: UuidString, required: true, location_name: "workflowRunId"))
129
+ ActSummary.add_member(:session_id, Shapes::ShapeRef.new(shape: UuidString, required: true, location_name: "sessionId"))
130
+ ActSummary.add_member(:act_id, Shapes::ShapeRef.new(shape: UuidString, required: true, location_name: "actId"))
131
+ ActSummary.add_member(:status, Shapes::ShapeRef.new(shape: ActStatus, required: true, location_name: "status"))
132
+ ActSummary.add_member(:started_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "startedAt"))
133
+ ActSummary.add_member(:ended_at, Shapes::ShapeRef.new(shape: DateTimestamp, location_name: "endedAt"))
134
+ ActSummary.add_member(:trace_location, Shapes::ShapeRef.new(shape: TraceLocation, location_name: "traceLocation"))
135
+ ActSummary.struct_class = Types::ActSummary
136
+
137
+ Call.add_member(:call_id, Shapes::ShapeRef.new(shape: CallId, required: true, location_name: "callId"))
138
+ Call.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveDocument, required: true, location_name: "input"))
139
+ Call.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
140
+ Call.struct_class = Types::Call
141
+
142
+ CallResult.add_member(:call_id, Shapes::ShapeRef.new(shape: CallId, location_name: "callId"))
143
+ CallResult.add_member(:content, Shapes::ShapeRef.new(shape: CallResultContents, required: true, location_name: "content"))
144
+ CallResult.struct_class = Types::CallResult
145
+
146
+ CallResultContent.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "text"))
147
+ CallResultContent.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
148
+ CallResultContent.add_member_subclass(:text, Types::CallResultContent::Text)
149
+ CallResultContent.add_member_subclass(:unknown, Types::CallResultContent::Unknown)
150
+ CallResultContent.struct_class = Types::CallResultContent
151
+
152
+ CallResultContents.member = Shapes::ShapeRef.new(shape: CallResultContent)
153
+
154
+ CallResults.member = Shapes::ShapeRef.new(shape: CallResult)
155
+
156
+ Calls.member = Shapes::ShapeRef.new(shape: Call)
157
+
158
+ ClientInfo.add_member(:compatibility_version, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "compatibilityVersion"))
159
+ ClientInfo.add_member(:sdk_version, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "sdkVersion"))
160
+ ClientInfo.struct_class = Types::ClientInfo
161
+
162
+ CompatibilityInformation.add_member(:client_compatibility_version, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "clientCompatibilityVersion"))
163
+ CompatibilityInformation.add_member(:supported_model_ids, Shapes::ShapeRef.new(shape: ModelIdList, required: true, location_name: "supportedModelIds"))
164
+ CompatibilityInformation.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
165
+ CompatibilityInformation.struct_class = Types::CompatibilityInformation
166
+
167
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, required: true, location_name: "message"))
168
+ ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: NonBlankString, required: true, location_name: "resourceId"))
169
+ ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: NonBlankString, required: true, location_name: "resourceType"))
170
+ ConflictException.struct_class = Types::ConflictException
171
+
172
+ CreateActRequest.add_member(:workflow_definition_name, Shapes::ShapeRef.new(shape: WorkflowDefinitionName, required: true, location: "uri", location_name: "workflowDefinitionName"))
173
+ CreateActRequest.add_member(:workflow_run_id, Shapes::ShapeRef.new(shape: UuidString, required: true, location: "uri", location_name: "workflowRunId"))
174
+ CreateActRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: UuidString, required: true, location: "uri", location_name: "sessionId"))
175
+ CreateActRequest.add_member(:task, Shapes::ShapeRef.new(shape: Task, required: true, location_name: "task"))
176
+ CreateActRequest.add_member(:tool_specs, Shapes::ShapeRef.new(shape: ToolSpecs, location_name: "toolSpecs"))
177
+ CreateActRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
178
+ CreateActRequest.struct_class = Types::CreateActRequest
179
+
180
+ CreateActResponse.add_member(:act_id, Shapes::ShapeRef.new(shape: UuidString, required: true, location_name: "actId"))
181
+ CreateActResponse.add_member(:status, Shapes::ShapeRef.new(shape: ActStatus, required: true, location_name: "status"))
182
+ CreateActResponse.struct_class = Types::CreateActResponse
183
+
184
+ CreateSessionRequest.add_member(:workflow_definition_name, Shapes::ShapeRef.new(shape: WorkflowDefinitionName, required: true, location: "uri", location_name: "workflowDefinitionName"))
185
+ CreateSessionRequest.add_member(:workflow_run_id, Shapes::ShapeRef.new(shape: UuidString, required: true, location: "uri", location_name: "workflowRunId"))
186
+ CreateSessionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
187
+ CreateSessionRequest.struct_class = Types::CreateSessionRequest
188
+
189
+ CreateSessionResponse.add_member(:session_id, Shapes::ShapeRef.new(shape: UuidString, required: true, location_name: "sessionId"))
190
+ CreateSessionResponse.struct_class = Types::CreateSessionResponse
191
+
192
+ CreateWorkflowDefinitionRequest.add_member(:name, Shapes::ShapeRef.new(shape: WorkflowDefinitionName, required: true, location_name: "name"))
193
+ CreateWorkflowDefinitionRequest.add_member(:description, Shapes::ShapeRef.new(shape: WorkflowDescription, location_name: "description"))
194
+ CreateWorkflowDefinitionRequest.add_member(:export_config, Shapes::ShapeRef.new(shape: WorkflowExportConfig, location_name: "exportConfig"))
195
+ CreateWorkflowDefinitionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
196
+ CreateWorkflowDefinitionRequest.struct_class = Types::CreateWorkflowDefinitionRequest
197
+
198
+ CreateWorkflowDefinitionResponse.add_member(:status, Shapes::ShapeRef.new(shape: WorkflowDefinitionStatus, required: true, location_name: "status"))
199
+ CreateWorkflowDefinitionResponse.struct_class = Types::CreateWorkflowDefinitionResponse
200
+
201
+ CreateWorkflowRunRequest.add_member(:workflow_definition_name, Shapes::ShapeRef.new(shape: WorkflowDefinitionName, required: true, location: "uri", location_name: "workflowDefinitionName"))
202
+ CreateWorkflowRunRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: ModelId, required: true, location_name: "modelId"))
203
+ CreateWorkflowRunRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
204
+ CreateWorkflowRunRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: CloudWatchLogGroupName, location_name: "logGroupName"))
205
+ CreateWorkflowRunRequest.add_member(:client_info, Shapes::ShapeRef.new(shape: ClientInfo, required: true, location_name: "clientInfo"))
206
+ CreateWorkflowRunRequest.struct_class = Types::CreateWorkflowRunRequest
207
+
208
+ CreateWorkflowRunResponse.add_member(:workflow_run_id, Shapes::ShapeRef.new(shape: UuidString, required: true, location_name: "workflowRunId"))
209
+ CreateWorkflowRunResponse.add_member(:status, Shapes::ShapeRef.new(shape: WorkflowRunStatus, required: true, location_name: "status"))
210
+ CreateWorkflowRunResponse.struct_class = Types::CreateWorkflowRunResponse
211
+
212
+ DeleteWorkflowDefinitionRequest.add_member(:workflow_definition_name, Shapes::ShapeRef.new(shape: WorkflowDefinitionName, required: true, location: "uri", location_name: "workflowDefinitionName"))
213
+ DeleteWorkflowDefinitionRequest.struct_class = Types::DeleteWorkflowDefinitionRequest
214
+
215
+ DeleteWorkflowDefinitionResponse.add_member(:status, Shapes::ShapeRef.new(shape: WorkflowDefinitionStatus, required: true, location_name: "status"))
216
+ DeleteWorkflowDefinitionResponse.struct_class = Types::DeleteWorkflowDefinitionResponse
217
+
218
+ DeleteWorkflowRunRequest.add_member(:workflow_definition_name, Shapes::ShapeRef.new(shape: WorkflowDefinitionName, required: true, location: "uri", location_name: "workflowDefinitionName"))
219
+ DeleteWorkflowRunRequest.add_member(:workflow_run_id, Shapes::ShapeRef.new(shape: UuidString, required: true, location: "uri", location_name: "workflowRunId"))
220
+ DeleteWorkflowRunRequest.struct_class = Types::DeleteWorkflowRunRequest
221
+
222
+ DeleteWorkflowRunResponse.add_member(:status, Shapes::ShapeRef.new(shape: WorkflowRunStatus, required: true, location_name: "status"))
223
+ DeleteWorkflowRunResponse.struct_class = Types::DeleteWorkflowRunResponse
224
+
225
+ GetWorkflowDefinitionRequest.add_member(:workflow_definition_name, Shapes::ShapeRef.new(shape: WorkflowDefinitionName, required: true, location: "uri", location_name: "workflowDefinitionName"))
226
+ GetWorkflowDefinitionRequest.struct_class = Types::GetWorkflowDefinitionRequest
227
+
228
+ GetWorkflowDefinitionResponse.add_member(:name, Shapes::ShapeRef.new(shape: WorkflowDefinitionName, required: true, location_name: "name"))
229
+ GetWorkflowDefinitionResponse.add_member(:arn, Shapes::ShapeRef.new(shape: WorkflowDefinitionArn, required: true, location_name: "arn"))
230
+ GetWorkflowDefinitionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
231
+ GetWorkflowDefinitionResponse.add_member(:description, Shapes::ShapeRef.new(shape: WorkflowDescription, location_name: "description"))
232
+ GetWorkflowDefinitionResponse.add_member(:export_config, Shapes::ShapeRef.new(shape: WorkflowExportConfig, location_name: "exportConfig"))
233
+ GetWorkflowDefinitionResponse.add_member(:status, Shapes::ShapeRef.new(shape: WorkflowDefinitionStatus, required: true, location_name: "status"))
234
+ GetWorkflowDefinitionResponse.struct_class = Types::GetWorkflowDefinitionResponse
235
+
236
+ GetWorkflowRunRequest.add_member(:workflow_definition_name, Shapes::ShapeRef.new(shape: WorkflowDefinitionName, required: true, location: "uri", location_name: "workflowDefinitionName"))
237
+ GetWorkflowRunRequest.add_member(:workflow_run_id, Shapes::ShapeRef.new(shape: UuidString, required: true, location: "uri", location_name: "workflowRunId"))
238
+ GetWorkflowRunRequest.struct_class = Types::GetWorkflowRunRequest
239
+
240
+ GetWorkflowRunResponse.add_member(:workflow_run_arn, Shapes::ShapeRef.new(shape: WorkflowRunArn, required: true, location_name: "workflowRunArn"))
241
+ GetWorkflowRunResponse.add_member(:workflow_run_id, Shapes::ShapeRef.new(shape: UuidString, required: true, location_name: "workflowRunId"))
242
+ GetWorkflowRunResponse.add_member(:status, Shapes::ShapeRef.new(shape: WorkflowRunStatus, required: true, location_name: "status"))
243
+ GetWorkflowRunResponse.add_member(:started_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "startedAt"))
244
+ GetWorkflowRunResponse.add_member(:ended_at, Shapes::ShapeRef.new(shape: DateTimestamp, location_name: "endedAt"))
245
+ GetWorkflowRunResponse.add_member(:model_id, Shapes::ShapeRef.new(shape: ModelId, required: true, location_name: "modelId"))
246
+ GetWorkflowRunResponse.add_member(:log_group_name, Shapes::ShapeRef.new(shape: CloudWatchLogGroupName, location_name: "logGroupName"))
247
+ GetWorkflowRunResponse.struct_class = Types::GetWorkflowRunResponse
248
+
249
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, required: true, location_name: "message"))
250
+ InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
251
+ InternalServerException.add_member(:reason, Shapes::ShapeRef.new(shape: InternalServerExceptionReason, location_name: "reason"))
252
+ InternalServerException.struct_class = Types::InternalServerException
253
+
254
+ InvokeActStepRequest.add_member(:workflow_definition_name, Shapes::ShapeRef.new(shape: WorkflowDefinitionName, required: true, location: "uri", location_name: "workflowDefinitionName"))
255
+ InvokeActStepRequest.add_member(:workflow_run_id, Shapes::ShapeRef.new(shape: UuidString, required: true, location: "uri", location_name: "workflowRunId"))
256
+ InvokeActStepRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: UuidString, required: true, location: "uri", location_name: "sessionId"))
257
+ InvokeActStepRequest.add_member(:act_id, Shapes::ShapeRef.new(shape: UuidString, required: true, location: "uri", location_name: "actId"))
258
+ InvokeActStepRequest.add_member(:call_results, Shapes::ShapeRef.new(shape: CallResults, required: true, location_name: "callResults"))
259
+ InvokeActStepRequest.add_member(:previous_step_id, Shapes::ShapeRef.new(shape: UuidString, location_name: "previousStepId"))
260
+ InvokeActStepRequest.struct_class = Types::InvokeActStepRequest
261
+
262
+ InvokeActStepResponse.add_member(:calls, Shapes::ShapeRef.new(shape: Calls, required: true, location_name: "calls"))
263
+ InvokeActStepResponse.add_member(:step_id, Shapes::ShapeRef.new(shape: UuidString, required: true, location_name: "stepId"))
264
+ InvokeActStepResponse.struct_class = Types::InvokeActStepResponse
265
+
266
+ ListActsRequest.add_member(:workflow_definition_name, Shapes::ShapeRef.new(shape: WorkflowDefinitionName, required: true, location: "uri", location_name: "workflowDefinitionName"))
267
+ ListActsRequest.add_member(:workflow_run_id, Shapes::ShapeRef.new(shape: UuidString, location: "querystring", location_name: "workflowRunId"))
268
+ ListActsRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: UuidString, location: "querystring", location_name: "sessionId"))
269
+ ListActsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
270
+ ListActsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
271
+ ListActsRequest.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location_name: "sortOrder"))
272
+ ListActsRequest.struct_class = Types::ListActsRequest
273
+
274
+ ListActsResponse.add_member(:act_summaries, Shapes::ShapeRef.new(shape: ActSummaries, required: true, location_name: "actSummaries"))
275
+ ListActsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
276
+ ListActsResponse.struct_class = Types::ListActsResponse
277
+
278
+ ListModelsRequest.add_member(:client_compatibility_version, Shapes::ShapeRef.new(shape: Integer, required: true, location: "querystring", location_name: "clientCompatibilityVersion"))
279
+ ListModelsRequest.struct_class = Types::ListModelsRequest
280
+
281
+ ListModelsResponse.add_member(:model_summaries, Shapes::ShapeRef.new(shape: ModelSummaries, required: true, location_name: "modelSummaries"))
282
+ ListModelsResponse.add_member(:model_aliases, Shapes::ShapeRef.new(shape: ModelAliases, required: true, location_name: "modelAliases"))
283
+ ListModelsResponse.add_member(:compatibility_information, Shapes::ShapeRef.new(shape: CompatibilityInformation, required: true, location_name: "compatibilityInformation"))
284
+ ListModelsResponse.struct_class = Types::ListModelsResponse
285
+
286
+ ListSessionsRequest.add_member(:workflow_definition_name, Shapes::ShapeRef.new(shape: WorkflowDefinitionName, required: true, location: "uri", location_name: "workflowDefinitionName"))
287
+ ListSessionsRequest.add_member(:workflow_run_id, Shapes::ShapeRef.new(shape: UuidString, required: true, location: "uri", location_name: "workflowRunId"))
288
+ ListSessionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
289
+ ListSessionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
290
+ ListSessionsRequest.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location_name: "sortOrder"))
291
+ ListSessionsRequest.struct_class = Types::ListSessionsRequest
292
+
293
+ ListSessionsResponse.add_member(:session_summaries, Shapes::ShapeRef.new(shape: SessionSummaries, required: true, location_name: "sessionSummaries"))
294
+ ListSessionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
295
+ ListSessionsResponse.struct_class = Types::ListSessionsResponse
296
+
297
+ ListWorkflowDefinitionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
298
+ ListWorkflowDefinitionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
299
+ ListWorkflowDefinitionsRequest.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location_name: "sortOrder"))
300
+ ListWorkflowDefinitionsRequest.struct_class = Types::ListWorkflowDefinitionsRequest
301
+
302
+ ListWorkflowDefinitionsResponse.add_member(:workflow_definition_summaries, Shapes::ShapeRef.new(shape: WorkflowDefinitionSummaries, required: true, location_name: "workflowDefinitionSummaries"))
303
+ ListWorkflowDefinitionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
304
+ ListWorkflowDefinitionsResponse.struct_class = Types::ListWorkflowDefinitionsResponse
305
+
306
+ ListWorkflowRunsRequest.add_member(:workflow_definition_name, Shapes::ShapeRef.new(shape: WorkflowDefinitionName, required: true, location: "uri", location_name: "workflowDefinitionName"))
307
+ ListWorkflowRunsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
308
+ ListWorkflowRunsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
309
+ ListWorkflowRunsRequest.add_member(:sort_order, Shapes::ShapeRef.new(shape: SortOrder, location_name: "sortOrder"))
310
+ ListWorkflowRunsRequest.struct_class = Types::ListWorkflowRunsRequest
311
+
312
+ ListWorkflowRunsResponse.add_member(:workflow_run_summaries, Shapes::ShapeRef.new(shape: WorkflowRunSummaries, required: true, location_name: "workflowRunSummaries"))
313
+ ListWorkflowRunsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
314
+ ListWorkflowRunsResponse.struct_class = Types::ListWorkflowRunsResponse
315
+
316
+ ModelAlias.add_member(:alias_name, Shapes::ShapeRef.new(shape: ModelId, required: true, location_name: "aliasName"))
317
+ ModelAlias.add_member(:latest_model_id, Shapes::ShapeRef.new(shape: ModelId, required: true, location_name: "latestModelId"))
318
+ ModelAlias.add_member(:resolved_model_id, Shapes::ShapeRef.new(shape: ModelId, location_name: "resolvedModelId"))
319
+ ModelAlias.struct_class = Types::ModelAlias
320
+
321
+ ModelAliases.member = Shapes::ShapeRef.new(shape: ModelAlias)
322
+
323
+ ModelIdList.member = Shapes::ShapeRef.new(shape: ModelId)
324
+
325
+ ModelLifecycle.add_member(:status, Shapes::ShapeRef.new(shape: ModelStatus, required: true, location_name: "status"))
326
+ ModelLifecycle.struct_class = Types::ModelLifecycle
327
+
328
+ ModelSummaries.member = Shapes::ShapeRef.new(shape: ModelSummary)
329
+
330
+ ModelSummary.add_member(:model_id, Shapes::ShapeRef.new(shape: ModelId, required: true, location_name: "modelId"))
331
+ ModelSummary.add_member(:model_lifecycle, Shapes::ShapeRef.new(shape: ModelLifecycle, required: true, location_name: "modelLifecycle"))
332
+ ModelSummary.add_member(:minimum_compatibility_version, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "minimumCompatibilityVersion"))
333
+ ModelSummary.struct_class = Types::ModelSummary
334
+
335
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, required: true, location_name: "message"))
336
+ ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: NonBlankString, required: true, location_name: "resourceId"))
337
+ ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: NonBlankString, required: true, location_name: "resourceType"))
338
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
339
+
340
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, required: true, location_name: "message"))
341
+ ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: NonBlankString, required: true, location_name: "resourceId"))
342
+ ServiceQuotaExceededException.add_member(:resource_type, Shapes::ShapeRef.new(shape: NonBlankString, required: true, location_name: "resourceType"))
343
+ ServiceQuotaExceededException.add_member(:service_code, Shapes::ShapeRef.new(shape: NonBlankString, required: true, location_name: "serviceCode"))
344
+ ServiceQuotaExceededException.add_member(:quota_code, Shapes::ShapeRef.new(shape: NonBlankString, required: true, location_name: "quotaCode"))
345
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
346
+
347
+ SessionSummaries.member = Shapes::ShapeRef.new(shape: SessionSummary)
348
+
349
+ SessionSummary.add_member(:session_id, Shapes::ShapeRef.new(shape: UuidString, required: true, location_name: "sessionId"))
350
+ SessionSummary.struct_class = Types::SessionSummary
351
+
352
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, required: true, location_name: "message"))
353
+ ThrottlingException.add_member(:service_code, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "serviceCode"))
354
+ ThrottlingException.add_member(:quota_code, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "quotaCode"))
355
+ ThrottlingException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
356
+ ThrottlingException.struct_class = Types::ThrottlingException
357
+
358
+ ToolInputSchema.add_member(:json, Shapes::ShapeRef.new(shape: ToolInputSchemaDocument, location_name: "json"))
359
+ ToolInputSchema.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
360
+ ToolInputSchema.add_member_subclass(:json, Types::ToolInputSchema::Json)
361
+ ToolInputSchema.add_member_subclass(:unknown, Types::ToolInputSchema::Unknown)
362
+ ToolInputSchema.struct_class = Types::ToolInputSchema
363
+
364
+ ToolSpec.add_member(:name, Shapes::ShapeRef.new(shape: ToolName, required: true, location_name: "name"))
365
+ ToolSpec.add_member(:description, Shapes::ShapeRef.new(shape: ToolDescription, required: true, location_name: "description"))
366
+ ToolSpec.add_member(:input_schema, Shapes::ShapeRef.new(shape: ToolInputSchema, required: true, location_name: "inputSchema"))
367
+ ToolSpec.struct_class = Types::ToolSpec
368
+
369
+ ToolSpecs.member = Shapes::ShapeRef.new(shape: ToolSpec)
370
+
371
+ TraceLocation.add_member(:location_type, Shapes::ShapeRef.new(shape: TraceLocationType, required: true, location_name: "locationType"))
372
+ TraceLocation.add_member(:location, Shapes::ShapeRef.new(shape: NonBlankString, required: true, location_name: "location"))
373
+ TraceLocation.struct_class = Types::TraceLocation
374
+
375
+ UpdateActRequest.add_member(:workflow_definition_name, Shapes::ShapeRef.new(shape: WorkflowDefinitionName, required: true, location: "uri", location_name: "workflowDefinitionName"))
376
+ UpdateActRequest.add_member(:workflow_run_id, Shapes::ShapeRef.new(shape: UuidString, required: true, location: "uri", location_name: "workflowRunId"))
377
+ UpdateActRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: UuidString, required: true, location: "uri", location_name: "sessionId"))
378
+ UpdateActRequest.add_member(:act_id, Shapes::ShapeRef.new(shape: UuidString, required: true, location: "uri", location_name: "actId"))
379
+ UpdateActRequest.add_member(:status, Shapes::ShapeRef.new(shape: ActStatus, required: true, location_name: "status"))
380
+ UpdateActRequest.add_member(:error, Shapes::ShapeRef.new(shape: ActError, location_name: "error"))
381
+ UpdateActRequest.struct_class = Types::UpdateActRequest
382
+
383
+ UpdateActResponse.struct_class = Types::UpdateActResponse
384
+
385
+ UpdateWorkflowRunRequest.add_member(:workflow_definition_name, Shapes::ShapeRef.new(shape: WorkflowDefinitionName, required: true, location: "uri", location_name: "workflowDefinitionName"))
386
+ UpdateWorkflowRunRequest.add_member(:workflow_run_id, Shapes::ShapeRef.new(shape: UuidString, required: true, location: "uri", location_name: "workflowRunId"))
387
+ UpdateWorkflowRunRequest.add_member(:status, Shapes::ShapeRef.new(shape: WorkflowRunStatus, required: true, location_name: "status"))
388
+ UpdateWorkflowRunRequest.struct_class = Types::UpdateWorkflowRunRequest
389
+
390
+ UpdateWorkflowRunResponse.struct_class = Types::UpdateWorkflowRunResponse
391
+
392
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, required: true, location_name: "message"))
393
+ ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, required: true, location_name: "reason"))
394
+ ValidationException.add_member(:field_list, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "fieldList"))
395
+ ValidationException.struct_class = Types::ValidationException
396
+
397
+ ValidationExceptionField.add_member(:name, Shapes::ShapeRef.new(shape: NonBlankString, required: true, location_name: "name"))
398
+ ValidationExceptionField.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, required: true, location_name: "message"))
399
+ ValidationExceptionField.struct_class = Types::ValidationExceptionField
400
+
401
+ ValidationExceptionFieldList.member = Shapes::ShapeRef.new(shape: ValidationExceptionField)
402
+
403
+ WorkflowDefinitionSummaries.member = Shapes::ShapeRef.new(shape: WorkflowDefinitionSummary)
404
+
405
+ WorkflowDefinitionSummary.add_member(:workflow_definition_arn, Shapes::ShapeRef.new(shape: WorkflowDefinitionArn, required: true, location_name: "workflowDefinitionArn"))
406
+ WorkflowDefinitionSummary.add_member(:workflow_definition_name, Shapes::ShapeRef.new(shape: WorkflowDefinitionName, required: true, location_name: "workflowDefinitionName"))
407
+ WorkflowDefinitionSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
408
+ WorkflowDefinitionSummary.add_member(:status, Shapes::ShapeRef.new(shape: WorkflowDefinitionStatus, required: true, location_name: "status"))
409
+ WorkflowDefinitionSummary.struct_class = Types::WorkflowDefinitionSummary
410
+
411
+ WorkflowExportConfig.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: S3BucketName, required: true, location_name: "s3BucketName"))
412
+ WorkflowExportConfig.add_member(:s3_key_prefix, Shapes::ShapeRef.new(shape: S3KeyPrefix, location_name: "s3KeyPrefix"))
413
+ WorkflowExportConfig.struct_class = Types::WorkflowExportConfig
414
+
415
+ WorkflowRunSummaries.member = Shapes::ShapeRef.new(shape: WorkflowRunSummary)
416
+
417
+ WorkflowRunSummary.add_member(:workflow_run_arn, Shapes::ShapeRef.new(shape: WorkflowRunArn, required: true, location_name: "workflowRunArn"))
418
+ WorkflowRunSummary.add_member(:workflow_run_id, Shapes::ShapeRef.new(shape: UuidString, required: true, location_name: "workflowRunId"))
419
+ WorkflowRunSummary.add_member(:status, Shapes::ShapeRef.new(shape: WorkflowRunStatus, required: true, location_name: "status"))
420
+ WorkflowRunSummary.add_member(:started_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "startedAt"))
421
+ WorkflowRunSummary.add_member(:ended_at, Shapes::ShapeRef.new(shape: DateTimestamp, location_name: "endedAt"))
422
+ WorkflowRunSummary.add_member(:trace_location, Shapes::ShapeRef.new(shape: TraceLocation, location_name: "traceLocation"))
423
+ WorkflowRunSummary.struct_class = Types::WorkflowRunSummary
424
+
425
+
426
+ # @api private
427
+ API = Seahorse::Model::Api.new.tap do |api|
428
+
429
+ api.version = "2025-08-22"
430
+
431
+ api.metadata = {
432
+ "apiVersion" => "2025-08-22",
433
+ "auth" => ["aws.auth#sigv4"],
434
+ "endpointPrefix" => "nova-act",
435
+ "protocol" => "rest-json",
436
+ "protocols" => ["rest-json"],
437
+ "serviceFullName" => "Nova Act Service",
438
+ "serviceId" => "Nova Act",
439
+ "signatureVersion" => "v4",
440
+ "signingName" => "nova-act",
441
+ "uid" => "nova-act-2025-08-22",
442
+ }
443
+
444
+ api.add_operation(:create_act, Seahorse::Model::Operation.new.tap do |o|
445
+ o.name = "CreateAct"
446
+ o.http_method = "PUT"
447
+ o.http_request_uri = "/workflow-definitions/{workflowDefinitionName}/workflow-runs/{workflowRunId}/sessions/{sessionId}/acts"
448
+ o.input = Shapes::ShapeRef.new(shape: CreateActRequest)
449
+ o.output = Shapes::ShapeRef.new(shape: CreateActResponse)
450
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
451
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
452
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
453
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
454
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
455
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
456
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
457
+ end)
458
+
459
+ api.add_operation(:create_session, Seahorse::Model::Operation.new.tap do |o|
460
+ o.name = "CreateSession"
461
+ o.http_method = "PUT"
462
+ o.http_request_uri = "/workflow-definitions/{workflowDefinitionName}/workflow-runs/{workflowRunId}/sessions"
463
+ o.input = Shapes::ShapeRef.new(shape: CreateSessionRequest)
464
+ o.output = Shapes::ShapeRef.new(shape: CreateSessionResponse)
465
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
466
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
467
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
468
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
469
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
470
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
471
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
472
+ end)
473
+
474
+ api.add_operation(:create_workflow_definition, Seahorse::Model::Operation.new.tap do |o|
475
+ o.name = "CreateWorkflowDefinition"
476
+ o.http_method = "PUT"
477
+ o.http_request_uri = "/workflow-definitions"
478
+ o.input = Shapes::ShapeRef.new(shape: CreateWorkflowDefinitionRequest)
479
+ o.output = Shapes::ShapeRef.new(shape: CreateWorkflowDefinitionResponse)
480
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
481
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
482
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
483
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
484
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
485
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
486
+ end)
487
+
488
+ api.add_operation(:create_workflow_run, Seahorse::Model::Operation.new.tap do |o|
489
+ o.name = "CreateWorkflowRun"
490
+ o.http_method = "PUT"
491
+ o.http_request_uri = "/workflow-definitions/{workflowDefinitionName}/workflow-runs"
492
+ o.input = Shapes::ShapeRef.new(shape: CreateWorkflowRunRequest)
493
+ o.output = Shapes::ShapeRef.new(shape: CreateWorkflowRunResponse)
494
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
495
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
496
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
497
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
498
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
499
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
500
+ end)
501
+
502
+ api.add_operation(:delete_workflow_definition, Seahorse::Model::Operation.new.tap do |o|
503
+ o.name = "DeleteWorkflowDefinition"
504
+ o.http_method = "DELETE"
505
+ o.http_request_uri = "/workflow-definitions/{workflowDefinitionName}"
506
+ o.input = Shapes::ShapeRef.new(shape: DeleteWorkflowDefinitionRequest)
507
+ o.output = Shapes::ShapeRef.new(shape: DeleteWorkflowDefinitionResponse)
508
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
509
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
510
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
511
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
512
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
513
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
514
+ end)
515
+
516
+ api.add_operation(:delete_workflow_run, Seahorse::Model::Operation.new.tap do |o|
517
+ o.name = "DeleteWorkflowRun"
518
+ o.http_method = "DELETE"
519
+ o.http_request_uri = "/workflow-definitions/{workflowDefinitionName}/workflow-runs/{workflowRunId}"
520
+ o.input = Shapes::ShapeRef.new(shape: DeleteWorkflowRunRequest)
521
+ o.output = Shapes::ShapeRef.new(shape: DeleteWorkflowRunResponse)
522
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
523
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
524
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
525
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
526
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
527
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
528
+ end)
529
+
530
+ api.add_operation(:get_workflow_definition, Seahorse::Model::Operation.new.tap do |o|
531
+ o.name = "GetWorkflowDefinition"
532
+ o.http_method = "GET"
533
+ o.http_request_uri = "/workflow-definitions/{workflowDefinitionName}"
534
+ o.input = Shapes::ShapeRef.new(shape: GetWorkflowDefinitionRequest)
535
+ o.output = Shapes::ShapeRef.new(shape: GetWorkflowDefinitionResponse)
536
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
537
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
538
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
539
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
540
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
541
+ end)
542
+
543
+ api.add_operation(:get_workflow_run, Seahorse::Model::Operation.new.tap do |o|
544
+ o.name = "GetWorkflowRun"
545
+ o.http_method = "GET"
546
+ o.http_request_uri = "/workflow-definitions/{workflowDefinitionName}/workflow-runs/{workflowRunId}"
547
+ o.input = Shapes::ShapeRef.new(shape: GetWorkflowRunRequest)
548
+ o.output = Shapes::ShapeRef.new(shape: GetWorkflowRunResponse)
549
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
550
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
551
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
552
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
553
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
554
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
555
+ end)
556
+
557
+ api.add_operation(:invoke_act_step, Seahorse::Model::Operation.new.tap do |o|
558
+ o.name = "InvokeActStep"
559
+ o.http_method = "PUT"
560
+ o.http_request_uri = "/workflow-definitions/{workflowDefinitionName}/workflow-runs/{workflowRunId}/sessions/{sessionId}/acts/{actId}/invoke-step/"
561
+ o.input = Shapes::ShapeRef.new(shape: InvokeActStepRequest)
562
+ o.output = Shapes::ShapeRef.new(shape: InvokeActStepResponse)
563
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
564
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
565
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
566
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
567
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
568
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
569
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
570
+ end)
571
+
572
+ api.add_operation(:list_acts, Seahorse::Model::Operation.new.tap do |o|
573
+ o.name = "ListActs"
574
+ o.http_method = "POST"
575
+ o.http_request_uri = "/workflow-definitions/{workflowDefinitionName}/acts"
576
+ o.input = Shapes::ShapeRef.new(shape: ListActsRequest)
577
+ o.output = Shapes::ShapeRef.new(shape: ListActsResponse)
578
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
579
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
580
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
581
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
582
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
583
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
584
+ o[:pager] = Aws::Pager.new(
585
+ limit_key: "max_results",
586
+ tokens: {
587
+ "next_token" => "next_token"
588
+ }
589
+ )
590
+ end)
591
+
592
+ api.add_operation(:list_models, Seahorse::Model::Operation.new.tap do |o|
593
+ o.name = "ListModels"
594
+ o.http_method = "POST"
595
+ o.http_request_uri = "/models"
596
+ o.input = Shapes::ShapeRef.new(shape: ListModelsRequest)
597
+ o.output = Shapes::ShapeRef.new(shape: ListModelsResponse)
598
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
599
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
600
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
601
+ end)
602
+
603
+ api.add_operation(:list_sessions, Seahorse::Model::Operation.new.tap do |o|
604
+ o.name = "ListSessions"
605
+ o.http_method = "POST"
606
+ o.http_request_uri = "/workflow-definitions/{workflowDefinitionName}/workflow-runs/{workflowRunId}"
607
+ o.input = Shapes::ShapeRef.new(shape: ListSessionsRequest)
608
+ o.output = Shapes::ShapeRef.new(shape: ListSessionsResponse)
609
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
610
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
611
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
612
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
613
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
614
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
615
+ o[:pager] = Aws::Pager.new(
616
+ limit_key: "max_results",
617
+ tokens: {
618
+ "next_token" => "next_token"
619
+ }
620
+ )
621
+ end)
622
+
623
+ api.add_operation(:list_workflow_definitions, Seahorse::Model::Operation.new.tap do |o|
624
+ o.name = "ListWorkflowDefinitions"
625
+ o.http_method = "POST"
626
+ o.http_request_uri = "/workflow-definitions"
627
+ o.input = Shapes::ShapeRef.new(shape: ListWorkflowDefinitionsRequest)
628
+ o.output = Shapes::ShapeRef.new(shape: ListWorkflowDefinitionsResponse)
629
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
630
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
631
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
632
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
633
+ o[:pager] = Aws::Pager.new(
634
+ limit_key: "max_results",
635
+ tokens: {
636
+ "next_token" => "next_token"
637
+ }
638
+ )
639
+ end)
640
+
641
+ api.add_operation(:list_workflow_runs, Seahorse::Model::Operation.new.tap do |o|
642
+ o.name = "ListWorkflowRuns"
643
+ o.http_method = "POST"
644
+ o.http_request_uri = "/workflow-definitions/{workflowDefinitionName}/workflow-runs"
645
+ o.input = Shapes::ShapeRef.new(shape: ListWorkflowRunsRequest)
646
+ o.output = Shapes::ShapeRef.new(shape: ListWorkflowRunsResponse)
647
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
648
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
649
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
650
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
651
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
652
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
653
+ o[:pager] = Aws::Pager.new(
654
+ limit_key: "max_results",
655
+ tokens: {
656
+ "next_token" => "next_token"
657
+ }
658
+ )
659
+ end)
660
+
661
+ api.add_operation(:update_act, Seahorse::Model::Operation.new.tap do |o|
662
+ o.name = "UpdateAct"
663
+ o.http_method = "PUT"
664
+ o.http_request_uri = "/workflow-definitions/{workflowDefinitionName}/workflow-runs/{workflowRunId}/sessions/{sessionId}/acts/{actId}"
665
+ o.input = Shapes::ShapeRef.new(shape: UpdateActRequest)
666
+ o.output = Shapes::ShapeRef.new(shape: UpdateActResponse)
667
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
668
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
669
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
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(:update_workflow_run, Seahorse::Model::Operation.new.tap do |o|
676
+ o.name = "UpdateWorkflowRun"
677
+ o.http_method = "PUT"
678
+ o.http_request_uri = "/workflow-definitions/{workflowDefinitionName}/workflow-runs/{workflowRunId}"
679
+ o.input = Shapes::ShapeRef.new(shape: UpdateWorkflowRunRequest)
680
+ o.output = Shapes::ShapeRef.new(shape: UpdateWorkflowRunResponse)
681
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
682
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
683
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
684
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
685
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
686
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
687
+ end)
688
+ end
689
+
690
+ end
691
+ end