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.
data/sig/types.rbs ADDED
@@ -0,0 +1,411 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::NovaAct
9
+ module Types
10
+
11
+ class AccessDeniedException
12
+ attr_accessor message: ::String
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class ActError
17
+ attr_accessor message: ::String
18
+ attr_accessor type: ::String
19
+ SENSITIVE: [:message]
20
+ end
21
+
22
+ class ActSummary
23
+ attr_accessor workflow_run_id: ::String
24
+ attr_accessor session_id: ::String
25
+ attr_accessor act_id: ::String
26
+ attr_accessor status: ("RUNNING" | "PENDING_CLIENT_ACTION" | "PENDING_HUMAN_ACTION" | "SUCCEEDED" | "FAILED" | "TIMED_OUT")
27
+ attr_accessor started_at: ::Time
28
+ attr_accessor ended_at: ::Time
29
+ attr_accessor trace_location: Types::TraceLocation
30
+ SENSITIVE: []
31
+ end
32
+
33
+ class Call
34
+ attr_accessor call_id: ::String
35
+ attr_accessor input: untyped
36
+ attr_accessor name: ::String
37
+ SENSITIVE: [:input]
38
+ end
39
+
40
+ class CallResult
41
+ attr_accessor call_id: ::String
42
+ attr_accessor content: ::Array[Types::CallResultContent]
43
+ SENSITIVE: []
44
+ end
45
+
46
+ class CallResultContent
47
+ attr_accessor text: ::String
48
+ attr_accessor unknown: untyped
49
+ SENSITIVE: []
50
+
51
+ class Text < CallResultContent
52
+ end
53
+ class Unknown < CallResultContent
54
+ end
55
+ end
56
+
57
+ class ClientInfo
58
+ attr_accessor compatibility_version: ::Integer
59
+ attr_accessor sdk_version: ::String
60
+ SENSITIVE: []
61
+ end
62
+
63
+ class CompatibilityInformation
64
+ attr_accessor client_compatibility_version: ::Integer
65
+ attr_accessor supported_model_ids: ::Array[::String]
66
+ attr_accessor message: ::String
67
+ SENSITIVE: []
68
+ end
69
+
70
+ class ConflictException
71
+ attr_accessor message: ::String
72
+ attr_accessor resource_id: ::String
73
+ attr_accessor resource_type: ::String
74
+ SENSITIVE: []
75
+ end
76
+
77
+ class CreateActRequest
78
+ attr_accessor workflow_definition_name: ::String
79
+ attr_accessor workflow_run_id: ::String
80
+ attr_accessor session_id: ::String
81
+ attr_accessor task: ::String
82
+ attr_accessor tool_specs: ::Array[Types::ToolSpec]
83
+ attr_accessor client_token: ::String
84
+ SENSITIVE: [:task]
85
+ end
86
+
87
+ class CreateActResponse
88
+ attr_accessor act_id: ::String
89
+ attr_accessor status: ("RUNNING" | "PENDING_CLIENT_ACTION" | "PENDING_HUMAN_ACTION" | "SUCCEEDED" | "FAILED" | "TIMED_OUT")
90
+ SENSITIVE: []
91
+ end
92
+
93
+ class CreateSessionRequest
94
+ attr_accessor workflow_definition_name: ::String
95
+ attr_accessor workflow_run_id: ::String
96
+ attr_accessor client_token: ::String
97
+ SENSITIVE: []
98
+ end
99
+
100
+ class CreateSessionResponse
101
+ attr_accessor session_id: ::String
102
+ SENSITIVE: []
103
+ end
104
+
105
+ class CreateWorkflowDefinitionRequest
106
+ attr_accessor name: ::String
107
+ attr_accessor description: ::String
108
+ attr_accessor export_config: Types::WorkflowExportConfig
109
+ attr_accessor client_token: ::String
110
+ SENSITIVE: [:description]
111
+ end
112
+
113
+ class CreateWorkflowDefinitionResponse
114
+ attr_accessor status: ("ACTIVE" | "DELETING")
115
+ SENSITIVE: []
116
+ end
117
+
118
+ class CreateWorkflowRunRequest
119
+ attr_accessor workflow_definition_name: ::String
120
+ attr_accessor model_id: ::String
121
+ attr_accessor client_token: ::String
122
+ attr_accessor log_group_name: ::String
123
+ attr_accessor client_info: Types::ClientInfo
124
+ SENSITIVE: []
125
+ end
126
+
127
+ class CreateWorkflowRunResponse
128
+ attr_accessor workflow_run_id: ::String
129
+ attr_accessor status: ("RUNNING" | "SUCCEEDED" | "FAILED" | "TIMED_OUT" | "DELETING")
130
+ SENSITIVE: []
131
+ end
132
+
133
+ class DeleteWorkflowDefinitionRequest
134
+ attr_accessor workflow_definition_name: ::String
135
+ SENSITIVE: []
136
+ end
137
+
138
+ class DeleteWorkflowDefinitionResponse
139
+ attr_accessor status: ("ACTIVE" | "DELETING")
140
+ SENSITIVE: []
141
+ end
142
+
143
+ class DeleteWorkflowRunRequest
144
+ attr_accessor workflow_definition_name: ::String
145
+ attr_accessor workflow_run_id: ::String
146
+ SENSITIVE: []
147
+ end
148
+
149
+ class DeleteWorkflowRunResponse
150
+ attr_accessor status: ("RUNNING" | "SUCCEEDED" | "FAILED" | "TIMED_OUT" | "DELETING")
151
+ SENSITIVE: []
152
+ end
153
+
154
+ class GetWorkflowDefinitionRequest
155
+ attr_accessor workflow_definition_name: ::String
156
+ SENSITIVE: []
157
+ end
158
+
159
+ class GetWorkflowDefinitionResponse
160
+ attr_accessor name: ::String
161
+ attr_accessor arn: ::String
162
+ attr_accessor created_at: ::Time
163
+ attr_accessor description: ::String
164
+ attr_accessor export_config: Types::WorkflowExportConfig
165
+ attr_accessor status: ("ACTIVE" | "DELETING")
166
+ SENSITIVE: [:description]
167
+ end
168
+
169
+ class GetWorkflowRunRequest
170
+ attr_accessor workflow_definition_name: ::String
171
+ attr_accessor workflow_run_id: ::String
172
+ SENSITIVE: []
173
+ end
174
+
175
+ class GetWorkflowRunResponse
176
+ attr_accessor workflow_run_arn: ::String
177
+ attr_accessor workflow_run_id: ::String
178
+ attr_accessor status: ("RUNNING" | "SUCCEEDED" | "FAILED" | "TIMED_OUT" | "DELETING")
179
+ attr_accessor started_at: ::Time
180
+ attr_accessor ended_at: ::Time
181
+ attr_accessor model_id: ::String
182
+ attr_accessor log_group_name: ::String
183
+ SENSITIVE: []
184
+ end
185
+
186
+ class InternalServerException
187
+ attr_accessor message: ::String
188
+ attr_accessor retry_after_seconds: ::Integer
189
+ attr_accessor reason: ("InvalidModelGeneration" | "RequestTokenLimitExceeded")
190
+ SENSITIVE: []
191
+ end
192
+
193
+ class InvokeActStepRequest
194
+ attr_accessor workflow_definition_name: ::String
195
+ attr_accessor workflow_run_id: ::String
196
+ attr_accessor session_id: ::String
197
+ attr_accessor act_id: ::String
198
+ attr_accessor call_results: ::Array[Types::CallResult]
199
+ attr_accessor previous_step_id: ::String
200
+ SENSITIVE: []
201
+ end
202
+
203
+ class InvokeActStepResponse
204
+ attr_accessor calls: ::Array[Types::Call]
205
+ attr_accessor step_id: ::String
206
+ SENSITIVE: []
207
+ end
208
+
209
+ class ListActsRequest
210
+ attr_accessor workflow_definition_name: ::String
211
+ attr_accessor workflow_run_id: ::String
212
+ attr_accessor session_id: ::String
213
+ attr_accessor max_results: ::Integer
214
+ attr_accessor next_token: ::String
215
+ attr_accessor sort_order: ("Ascending" | "Descending")
216
+ SENSITIVE: []
217
+ end
218
+
219
+ class ListActsResponse
220
+ attr_accessor act_summaries: ::Array[Types::ActSummary]
221
+ attr_accessor next_token: ::String
222
+ SENSITIVE: []
223
+ end
224
+
225
+ class ListModelsRequest
226
+ attr_accessor client_compatibility_version: ::Integer
227
+ SENSITIVE: []
228
+ end
229
+
230
+ class ListModelsResponse
231
+ attr_accessor model_summaries: ::Array[Types::ModelSummary]
232
+ attr_accessor model_aliases: ::Array[Types::ModelAlias]
233
+ attr_accessor compatibility_information: Types::CompatibilityInformation
234
+ SENSITIVE: []
235
+ end
236
+
237
+ class ListSessionsRequest
238
+ attr_accessor workflow_definition_name: ::String
239
+ attr_accessor workflow_run_id: ::String
240
+ attr_accessor max_results: ::Integer
241
+ attr_accessor next_token: ::String
242
+ attr_accessor sort_order: ("Ascending" | "Descending")
243
+ SENSITIVE: []
244
+ end
245
+
246
+ class ListSessionsResponse
247
+ attr_accessor session_summaries: ::Array[Types::SessionSummary]
248
+ attr_accessor next_token: ::String
249
+ SENSITIVE: []
250
+ end
251
+
252
+ class ListWorkflowDefinitionsRequest
253
+ attr_accessor max_results: ::Integer
254
+ attr_accessor next_token: ::String
255
+ attr_accessor sort_order: ("Ascending" | "Descending")
256
+ SENSITIVE: []
257
+ end
258
+
259
+ class ListWorkflowDefinitionsResponse
260
+ attr_accessor workflow_definition_summaries: ::Array[Types::WorkflowDefinitionSummary]
261
+ attr_accessor next_token: ::String
262
+ SENSITIVE: []
263
+ end
264
+
265
+ class ListWorkflowRunsRequest
266
+ attr_accessor workflow_definition_name: ::String
267
+ attr_accessor max_results: ::Integer
268
+ attr_accessor next_token: ::String
269
+ attr_accessor sort_order: ("Ascending" | "Descending")
270
+ SENSITIVE: []
271
+ end
272
+
273
+ class ListWorkflowRunsResponse
274
+ attr_accessor workflow_run_summaries: ::Array[Types::WorkflowRunSummary]
275
+ attr_accessor next_token: ::String
276
+ SENSITIVE: []
277
+ end
278
+
279
+ class ModelAlias
280
+ attr_accessor alias_name: ::String
281
+ attr_accessor latest_model_id: ::String
282
+ attr_accessor resolved_model_id: ::String
283
+ SENSITIVE: []
284
+ end
285
+
286
+ class ModelLifecycle
287
+ attr_accessor status: ("ACTIVE" | "LEGACY" | "DEPRECATED" | "PREVIEW")
288
+ SENSITIVE: []
289
+ end
290
+
291
+ class ModelSummary
292
+ attr_accessor model_id: ::String
293
+ attr_accessor model_lifecycle: Types::ModelLifecycle
294
+ attr_accessor minimum_compatibility_version: ::Integer
295
+ SENSITIVE: []
296
+ end
297
+
298
+ class ResourceNotFoundException
299
+ attr_accessor message: ::String
300
+ attr_accessor resource_id: ::String
301
+ attr_accessor resource_type: ::String
302
+ SENSITIVE: []
303
+ end
304
+
305
+ class ServiceQuotaExceededException
306
+ attr_accessor message: ::String
307
+ attr_accessor resource_id: ::String
308
+ attr_accessor resource_type: ::String
309
+ attr_accessor service_code: ::String
310
+ attr_accessor quota_code: ::String
311
+ SENSITIVE: []
312
+ end
313
+
314
+ class SessionSummary
315
+ attr_accessor session_id: ::String
316
+ SENSITIVE: []
317
+ end
318
+
319
+ class ThrottlingException
320
+ attr_accessor message: ::String
321
+ attr_accessor service_code: ::String
322
+ attr_accessor quota_code: ::String
323
+ attr_accessor retry_after_seconds: ::Integer
324
+ SENSITIVE: []
325
+ end
326
+
327
+ class ToolInputSchema
328
+ attr_accessor json: untyped
329
+ attr_accessor unknown: untyped
330
+ SENSITIVE: []
331
+
332
+ class Json < ToolInputSchema
333
+ end
334
+ class Unknown < ToolInputSchema
335
+ end
336
+ end
337
+
338
+ class ToolSpec
339
+ attr_accessor name: ::String
340
+ attr_accessor description: ::String
341
+ attr_accessor input_schema: Types::ToolInputSchema
342
+ SENSITIVE: [:description, :input_schema]
343
+ end
344
+
345
+ class TraceLocation
346
+ attr_accessor location_type: ("S3")
347
+ attr_accessor location: ::String
348
+ SENSITIVE: []
349
+ end
350
+
351
+ class UpdateActRequest
352
+ attr_accessor workflow_definition_name: ::String
353
+ attr_accessor workflow_run_id: ::String
354
+ attr_accessor session_id: ::String
355
+ attr_accessor act_id: ::String
356
+ attr_accessor status: ("RUNNING" | "PENDING_CLIENT_ACTION" | "PENDING_HUMAN_ACTION" | "SUCCEEDED" | "FAILED" | "TIMED_OUT")
357
+ attr_accessor error: Types::ActError
358
+ SENSITIVE: []
359
+ end
360
+
361
+ class UpdateActResponse < Aws::EmptyStructure
362
+ end
363
+
364
+ class UpdateWorkflowRunRequest
365
+ attr_accessor workflow_definition_name: ::String
366
+ attr_accessor workflow_run_id: ::String
367
+ attr_accessor status: ("RUNNING" | "SUCCEEDED" | "FAILED" | "TIMED_OUT" | "DELETING")
368
+ SENSITIVE: []
369
+ end
370
+
371
+ class UpdateWorkflowRunResponse < Aws::EmptyStructure
372
+ end
373
+
374
+ class ValidationException
375
+ attr_accessor message: ::String
376
+ attr_accessor reason: ("FieldValidationFailed" | "InvalidStatus" | "GuardrailIntervened")
377
+ attr_accessor field_list: ::Array[Types::ValidationExceptionField]
378
+ SENSITIVE: []
379
+ end
380
+
381
+ class ValidationExceptionField
382
+ attr_accessor name: ::String
383
+ attr_accessor message: ::String
384
+ SENSITIVE: []
385
+ end
386
+
387
+ class WorkflowDefinitionSummary
388
+ attr_accessor workflow_definition_arn: ::String
389
+ attr_accessor workflow_definition_name: ::String
390
+ attr_accessor created_at: ::Time
391
+ attr_accessor status: ("ACTIVE" | "DELETING")
392
+ SENSITIVE: []
393
+ end
394
+
395
+ class WorkflowExportConfig
396
+ attr_accessor s3_bucket_name: ::String
397
+ attr_accessor s3_key_prefix: ::String
398
+ SENSITIVE: []
399
+ end
400
+
401
+ class WorkflowRunSummary
402
+ attr_accessor workflow_run_arn: ::String
403
+ attr_accessor workflow_run_id: ::String
404
+ attr_accessor status: ("RUNNING" | "SUCCEEDED" | "FAILED" | "TIMED_OUT" | "DELETING")
405
+ attr_accessor started_at: ::Time
406
+ attr_accessor ended_at: ::Time
407
+ attr_accessor trace_location: Types::TraceLocation
408
+ SENSITIVE: []
409
+ end
410
+ end
411
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,13 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module NovaAct
10
+ module Waiters
11
+ end
12
+ end
13
+ end
metadata ADDED
@@ -0,0 +1,97 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: aws-sdk-novaact
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Amazon Web Services
8
+ bindir: bin
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: aws-sdk-core
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - "~>"
17
+ - !ruby/object:Gem::Version
18
+ version: '3'
19
+ - - ">="
20
+ - !ruby/object:Gem::Version
21
+ version: 3.239.1
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - "~>"
27
+ - !ruby/object:Gem::Version
28
+ version: '3'
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ version: 3.239.1
32
+ - !ruby/object:Gem::Dependency
33
+ name: aws-sigv4
34
+ requirement: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - "~>"
37
+ - !ruby/object:Gem::Version
38
+ version: '1.5'
39
+ type: :runtime
40
+ prerelease: false
41
+ version_requirements: !ruby/object:Gem::Requirement
42
+ requirements:
43
+ - - "~>"
44
+ - !ruby/object:Gem::Version
45
+ version: '1.5'
46
+ description: Official AWS Ruby gem for Nova Act Service. This gem is part of the AWS
47
+ SDK for Ruby.
48
+ email:
49
+ - aws-dr-rubygems@amazon.com
50
+ executables: []
51
+ extensions: []
52
+ extra_rdoc_files: []
53
+ files:
54
+ - CHANGELOG.md
55
+ - LICENSE.txt
56
+ - VERSION
57
+ - lib/aws-sdk-novaact.rb
58
+ - lib/aws-sdk-novaact/client.rb
59
+ - lib/aws-sdk-novaact/client_api.rb
60
+ - lib/aws-sdk-novaact/customizations.rb
61
+ - lib/aws-sdk-novaact/endpoint_parameters.rb
62
+ - lib/aws-sdk-novaact/endpoint_provider.rb
63
+ - lib/aws-sdk-novaact/endpoints.rb
64
+ - lib/aws-sdk-novaact/errors.rb
65
+ - lib/aws-sdk-novaact/plugins/endpoints.rb
66
+ - lib/aws-sdk-novaact/resource.rb
67
+ - lib/aws-sdk-novaact/types.rb
68
+ - lib/aws-sdk-novaact/waiters.rb
69
+ - sig/client.rbs
70
+ - sig/errors.rbs
71
+ - sig/resource.rbs
72
+ - sig/types.rbs
73
+ - sig/waiters.rbs
74
+ homepage: https://github.com/aws/aws-sdk-ruby
75
+ licenses:
76
+ - Apache-2.0
77
+ metadata:
78
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-novaact
79
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-novaact/CHANGELOG.md
80
+ rdoc_options: []
81
+ require_paths:
82
+ - lib
83
+ required_ruby_version: !ruby/object:Gem::Requirement
84
+ requirements:
85
+ - - ">="
86
+ - !ruby/object:Gem::Version
87
+ version: '2.7'
88
+ required_rubygems_version: !ruby/object:Gem::Requirement
89
+ requirements:
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ version: '0'
93
+ requirements: []
94
+ rubygems_version: 3.6.7
95
+ specification_version: 4
96
+ summary: AWS SDK for Ruby - Nova Act Service
97
+ test_files: []