aws-sdk-iotthingsgraph 1.35.0 → 1.37.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/client.rbs ADDED
@@ -0,0 +1,542 @@
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 IoTThingsGraph
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> instance
73
+ | (?Hash[Symbol, untyped]) -> instance
74
+
75
+
76
+ interface _AssociateEntityToThingResponseSuccess
77
+ include ::Seahorse::Client::_ResponseSuccess[Types::AssociateEntityToThingResponse]
78
+ end
79
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Client.html#associate_entity_to_thing-instance_method
80
+ def associate_entity_to_thing: (
81
+ thing_name: ::String,
82
+ entity_id: ::String,
83
+ ?namespace_version: ::Integer
84
+ ) -> _AssociateEntityToThingResponseSuccess
85
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateEntityToThingResponseSuccess
86
+
87
+ interface _CreateFlowTemplateResponseSuccess
88
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateFlowTemplateResponse]
89
+ def summary: () -> Types::FlowTemplateSummary
90
+ end
91
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Client.html#create_flow_template-instance_method
92
+ def create_flow_template: (
93
+ definition: {
94
+ language: ("GRAPHQL"),
95
+ text: ::String
96
+ },
97
+ ?compatible_namespace_version: ::Integer
98
+ ) -> _CreateFlowTemplateResponseSuccess
99
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFlowTemplateResponseSuccess
100
+
101
+ interface _CreateSystemInstanceResponseSuccess
102
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateSystemInstanceResponse]
103
+ def summary: () -> Types::SystemInstanceSummary
104
+ end
105
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Client.html#create_system_instance-instance_method
106
+ def create_system_instance: (
107
+ ?tags: Array[
108
+ {
109
+ key: ::String,
110
+ value: ::String
111
+ },
112
+ ],
113
+ definition: {
114
+ language: ("GRAPHQL"),
115
+ text: ::String
116
+ },
117
+ target: ("GREENGRASS" | "CLOUD"),
118
+ ?greengrass_group_name: ::String,
119
+ ?s3_bucket_name: ::String,
120
+ ?metrics_configuration: {
121
+ cloud_metric_enabled: bool?,
122
+ metric_rule_role_arn: ::String?
123
+ },
124
+ ?flow_actions_role_arn: ::String
125
+ ) -> _CreateSystemInstanceResponseSuccess
126
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSystemInstanceResponseSuccess
127
+
128
+ interface _CreateSystemTemplateResponseSuccess
129
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateSystemTemplateResponse]
130
+ def summary: () -> Types::SystemTemplateSummary
131
+ end
132
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Client.html#create_system_template-instance_method
133
+ def create_system_template: (
134
+ definition: {
135
+ language: ("GRAPHQL"),
136
+ text: ::String
137
+ },
138
+ ?compatible_namespace_version: ::Integer
139
+ ) -> _CreateSystemTemplateResponseSuccess
140
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSystemTemplateResponseSuccess
141
+
142
+ interface _DeleteFlowTemplateResponseSuccess
143
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteFlowTemplateResponse]
144
+ end
145
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Client.html#delete_flow_template-instance_method
146
+ def delete_flow_template: (
147
+ id: ::String
148
+ ) -> _DeleteFlowTemplateResponseSuccess
149
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteFlowTemplateResponseSuccess
150
+
151
+ interface _DeleteNamespaceResponseSuccess
152
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteNamespaceResponse]
153
+ def namespace_arn: () -> ::String
154
+ def namespace_name: () -> ::String
155
+ end
156
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Client.html#delete_namespace-instance_method
157
+ def delete_namespace: (
158
+ ) -> _DeleteNamespaceResponseSuccess
159
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteNamespaceResponseSuccess
160
+
161
+ interface _DeleteSystemInstanceResponseSuccess
162
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSystemInstanceResponse]
163
+ end
164
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Client.html#delete_system_instance-instance_method
165
+ def delete_system_instance: (
166
+ ?id: ::String
167
+ ) -> _DeleteSystemInstanceResponseSuccess
168
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSystemInstanceResponseSuccess
169
+
170
+ interface _DeleteSystemTemplateResponseSuccess
171
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSystemTemplateResponse]
172
+ end
173
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Client.html#delete_system_template-instance_method
174
+ def delete_system_template: (
175
+ id: ::String
176
+ ) -> _DeleteSystemTemplateResponseSuccess
177
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSystemTemplateResponseSuccess
178
+
179
+ interface _DeploySystemInstanceResponseSuccess
180
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeploySystemInstanceResponse]
181
+ def summary: () -> Types::SystemInstanceSummary
182
+ def greengrass_deployment_id: () -> ::String
183
+ end
184
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Client.html#deploy_system_instance-instance_method
185
+ def deploy_system_instance: (
186
+ ?id: ::String
187
+ ) -> _DeploySystemInstanceResponseSuccess
188
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeploySystemInstanceResponseSuccess
189
+
190
+ interface _DeprecateFlowTemplateResponseSuccess
191
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeprecateFlowTemplateResponse]
192
+ end
193
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Client.html#deprecate_flow_template-instance_method
194
+ def deprecate_flow_template: (
195
+ id: ::String
196
+ ) -> _DeprecateFlowTemplateResponseSuccess
197
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeprecateFlowTemplateResponseSuccess
198
+
199
+ interface _DeprecateSystemTemplateResponseSuccess
200
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeprecateSystemTemplateResponse]
201
+ end
202
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Client.html#deprecate_system_template-instance_method
203
+ def deprecate_system_template: (
204
+ id: ::String
205
+ ) -> _DeprecateSystemTemplateResponseSuccess
206
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeprecateSystemTemplateResponseSuccess
207
+
208
+ interface _DescribeNamespaceResponseSuccess
209
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeNamespaceResponse]
210
+ def namespace_arn: () -> ::String
211
+ def namespace_name: () -> ::String
212
+ def tracking_namespace_name: () -> ::String
213
+ def tracking_namespace_version: () -> ::Integer
214
+ def namespace_version: () -> ::Integer
215
+ end
216
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Client.html#describe_namespace-instance_method
217
+ def describe_namespace: (
218
+ ?namespace_name: ::String
219
+ ) -> _DescribeNamespaceResponseSuccess
220
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeNamespaceResponseSuccess
221
+
222
+ interface _DissociateEntityFromThingResponseSuccess
223
+ include ::Seahorse::Client::_ResponseSuccess[Types::DissociateEntityFromThingResponse]
224
+ end
225
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Client.html#dissociate_entity_from_thing-instance_method
226
+ def dissociate_entity_from_thing: (
227
+ thing_name: ::String,
228
+ entity_type: ("DEVICE" | "SERVICE" | "DEVICE_MODEL" | "CAPABILITY" | "STATE" | "ACTION" | "EVENT" | "PROPERTY" | "MAPPING" | "ENUM")
229
+ ) -> _DissociateEntityFromThingResponseSuccess
230
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DissociateEntityFromThingResponseSuccess
231
+
232
+ interface _GetEntitiesResponseSuccess
233
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetEntitiesResponse]
234
+ def descriptions: () -> ::Array[Types::EntityDescription]
235
+ end
236
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Client.html#get_entities-instance_method
237
+ def get_entities: (
238
+ ids: Array[::String],
239
+ ?namespace_version: ::Integer
240
+ ) -> _GetEntitiesResponseSuccess
241
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEntitiesResponseSuccess
242
+
243
+ interface _GetFlowTemplateResponseSuccess
244
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetFlowTemplateResponse]
245
+ def description: () -> Types::FlowTemplateDescription
246
+ end
247
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Client.html#get_flow_template-instance_method
248
+ def get_flow_template: (
249
+ id: ::String,
250
+ ?revision_number: ::Integer
251
+ ) -> _GetFlowTemplateResponseSuccess
252
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFlowTemplateResponseSuccess
253
+
254
+ interface _GetFlowTemplateRevisionsResponseSuccess
255
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetFlowTemplateRevisionsResponse]
256
+ def summaries: () -> ::Array[Types::FlowTemplateSummary]
257
+ def next_token: () -> ::String
258
+ end
259
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Client.html#get_flow_template_revisions-instance_method
260
+ def get_flow_template_revisions: (
261
+ id: ::String,
262
+ ?next_token: ::String,
263
+ ?max_results: ::Integer
264
+ ) -> _GetFlowTemplateRevisionsResponseSuccess
265
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFlowTemplateRevisionsResponseSuccess
266
+
267
+ interface _GetNamespaceDeletionStatusResponseSuccess
268
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetNamespaceDeletionStatusResponse]
269
+ def namespace_arn: () -> ::String
270
+ def namespace_name: () -> ::String
271
+ def status: () -> ("IN_PROGRESS" | "SUCCEEDED" | "FAILED")
272
+ def error_code: () -> ("VALIDATION_FAILED")
273
+ def error_message: () -> ::String
274
+ end
275
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Client.html#get_namespace_deletion_status-instance_method
276
+ def get_namespace_deletion_status: (
277
+ ) -> _GetNamespaceDeletionStatusResponseSuccess
278
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetNamespaceDeletionStatusResponseSuccess
279
+
280
+ interface _GetSystemInstanceResponseSuccess
281
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSystemInstanceResponse]
282
+ def description: () -> Types::SystemInstanceDescription
283
+ end
284
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Client.html#get_system_instance-instance_method
285
+ def get_system_instance: (
286
+ id: ::String
287
+ ) -> _GetSystemInstanceResponseSuccess
288
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSystemInstanceResponseSuccess
289
+
290
+ interface _GetSystemTemplateResponseSuccess
291
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSystemTemplateResponse]
292
+ def description: () -> Types::SystemTemplateDescription
293
+ end
294
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Client.html#get_system_template-instance_method
295
+ def get_system_template: (
296
+ id: ::String,
297
+ ?revision_number: ::Integer
298
+ ) -> _GetSystemTemplateResponseSuccess
299
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSystemTemplateResponseSuccess
300
+
301
+ interface _GetSystemTemplateRevisionsResponseSuccess
302
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSystemTemplateRevisionsResponse]
303
+ def summaries: () -> ::Array[Types::SystemTemplateSummary]
304
+ def next_token: () -> ::String
305
+ end
306
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Client.html#get_system_template_revisions-instance_method
307
+ def get_system_template_revisions: (
308
+ id: ::String,
309
+ ?next_token: ::String,
310
+ ?max_results: ::Integer
311
+ ) -> _GetSystemTemplateRevisionsResponseSuccess
312
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSystemTemplateRevisionsResponseSuccess
313
+
314
+ interface _GetUploadStatusResponseSuccess
315
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetUploadStatusResponse]
316
+ def upload_id: () -> ::String
317
+ def upload_status: () -> ("IN_PROGRESS" | "SUCCEEDED" | "FAILED")
318
+ def namespace_arn: () -> ::String
319
+ def namespace_name: () -> ::String
320
+ def namespace_version: () -> ::Integer
321
+ def failure_reason: () -> ::Array[::String]
322
+ def created_date: () -> ::Time
323
+ end
324
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Client.html#get_upload_status-instance_method
325
+ def get_upload_status: (
326
+ upload_id: ::String
327
+ ) -> _GetUploadStatusResponseSuccess
328
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetUploadStatusResponseSuccess
329
+
330
+ interface _ListFlowExecutionMessagesResponseSuccess
331
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListFlowExecutionMessagesResponse]
332
+ def messages: () -> ::Array[Types::FlowExecutionMessage]
333
+ def next_token: () -> ::String
334
+ end
335
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Client.html#list_flow_execution_messages-instance_method
336
+ def list_flow_execution_messages: (
337
+ flow_execution_id: ::String,
338
+ ?next_token: ::String,
339
+ ?max_results: ::Integer
340
+ ) -> _ListFlowExecutionMessagesResponseSuccess
341
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFlowExecutionMessagesResponseSuccess
342
+
343
+ interface _ListTagsForResourceResponseSuccess
344
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
345
+ def tags: () -> ::Array[Types::Tag]
346
+ def next_token: () -> ::String
347
+ end
348
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Client.html#list_tags_for_resource-instance_method
349
+ def list_tags_for_resource: (
350
+ ?max_results: ::Integer,
351
+ resource_arn: ::String,
352
+ ?next_token: ::String
353
+ ) -> _ListTagsForResourceResponseSuccess
354
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
355
+
356
+ interface _SearchEntitiesResponseSuccess
357
+ include ::Seahorse::Client::_ResponseSuccess[Types::SearchEntitiesResponse]
358
+ def descriptions: () -> ::Array[Types::EntityDescription]
359
+ def next_token: () -> ::String
360
+ end
361
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Client.html#search_entities-instance_method
362
+ def search_entities: (
363
+ entity_types: Array[("DEVICE" | "SERVICE" | "DEVICE_MODEL" | "CAPABILITY" | "STATE" | "ACTION" | "EVENT" | "PROPERTY" | "MAPPING" | "ENUM")],
364
+ ?filters: Array[
365
+ {
366
+ name: ("NAME" | "NAMESPACE" | "SEMANTIC_TYPE_PATH" | "REFERENCED_ENTITY_ID")?,
367
+ value: Array[::String]?
368
+ },
369
+ ],
370
+ ?next_token: ::String,
371
+ ?max_results: ::Integer,
372
+ ?namespace_version: ::Integer
373
+ ) -> _SearchEntitiesResponseSuccess
374
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchEntitiesResponseSuccess
375
+
376
+ interface _SearchFlowExecutionsResponseSuccess
377
+ include ::Seahorse::Client::_ResponseSuccess[Types::SearchFlowExecutionsResponse]
378
+ def summaries: () -> ::Array[Types::FlowExecutionSummary]
379
+ def next_token: () -> ::String
380
+ end
381
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Client.html#search_flow_executions-instance_method
382
+ def search_flow_executions: (
383
+ system_instance_id: ::String,
384
+ ?flow_execution_id: ::String,
385
+ ?start_time: ::Time,
386
+ ?end_time: ::Time,
387
+ ?next_token: ::String,
388
+ ?max_results: ::Integer
389
+ ) -> _SearchFlowExecutionsResponseSuccess
390
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchFlowExecutionsResponseSuccess
391
+
392
+ interface _SearchFlowTemplatesResponseSuccess
393
+ include ::Seahorse::Client::_ResponseSuccess[Types::SearchFlowTemplatesResponse]
394
+ def summaries: () -> ::Array[Types::FlowTemplateSummary]
395
+ def next_token: () -> ::String
396
+ end
397
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Client.html#search_flow_templates-instance_method
398
+ def search_flow_templates: (
399
+ ?filters: Array[
400
+ {
401
+ name: ("DEVICE_MODEL_ID"),
402
+ value: Array[::String]
403
+ },
404
+ ],
405
+ ?next_token: ::String,
406
+ ?max_results: ::Integer
407
+ ) -> _SearchFlowTemplatesResponseSuccess
408
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchFlowTemplatesResponseSuccess
409
+
410
+ interface _SearchSystemInstancesResponseSuccess
411
+ include ::Seahorse::Client::_ResponseSuccess[Types::SearchSystemInstancesResponse]
412
+ def summaries: () -> ::Array[Types::SystemInstanceSummary]
413
+ def next_token: () -> ::String
414
+ end
415
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Client.html#search_system_instances-instance_method
416
+ def search_system_instances: (
417
+ ?filters: Array[
418
+ {
419
+ name: ("SYSTEM_TEMPLATE_ID" | "STATUS" | "GREENGRASS_GROUP_NAME")?,
420
+ value: Array[::String]?
421
+ },
422
+ ],
423
+ ?next_token: ::String,
424
+ ?max_results: ::Integer
425
+ ) -> _SearchSystemInstancesResponseSuccess
426
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchSystemInstancesResponseSuccess
427
+
428
+ interface _SearchSystemTemplatesResponseSuccess
429
+ include ::Seahorse::Client::_ResponseSuccess[Types::SearchSystemTemplatesResponse]
430
+ def summaries: () -> ::Array[Types::SystemTemplateSummary]
431
+ def next_token: () -> ::String
432
+ end
433
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Client.html#search_system_templates-instance_method
434
+ def search_system_templates: (
435
+ ?filters: Array[
436
+ {
437
+ name: ("FLOW_TEMPLATE_ID"),
438
+ value: Array[::String]
439
+ },
440
+ ],
441
+ ?next_token: ::String,
442
+ ?max_results: ::Integer
443
+ ) -> _SearchSystemTemplatesResponseSuccess
444
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchSystemTemplatesResponseSuccess
445
+
446
+ interface _SearchThingsResponseSuccess
447
+ include ::Seahorse::Client::_ResponseSuccess[Types::SearchThingsResponse]
448
+ def things: () -> ::Array[Types::Thing]
449
+ def next_token: () -> ::String
450
+ end
451
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Client.html#search_things-instance_method
452
+ def search_things: (
453
+ entity_id: ::String,
454
+ ?next_token: ::String,
455
+ ?max_results: ::Integer,
456
+ ?namespace_version: ::Integer
457
+ ) -> _SearchThingsResponseSuccess
458
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchThingsResponseSuccess
459
+
460
+ interface _TagResourceResponseSuccess
461
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
462
+ end
463
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Client.html#tag_resource-instance_method
464
+ def tag_resource: (
465
+ resource_arn: ::String,
466
+ tags: Array[
467
+ {
468
+ key: ::String,
469
+ value: ::String
470
+ },
471
+ ]
472
+ ) -> _TagResourceResponseSuccess
473
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
474
+
475
+ interface _UndeploySystemInstanceResponseSuccess
476
+ include ::Seahorse::Client::_ResponseSuccess[Types::UndeploySystemInstanceResponse]
477
+ def summary: () -> Types::SystemInstanceSummary
478
+ end
479
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Client.html#undeploy_system_instance-instance_method
480
+ def undeploy_system_instance: (
481
+ ?id: ::String
482
+ ) -> _UndeploySystemInstanceResponseSuccess
483
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UndeploySystemInstanceResponseSuccess
484
+
485
+ interface _UntagResourceResponseSuccess
486
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
487
+ end
488
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Client.html#untag_resource-instance_method
489
+ def untag_resource: (
490
+ resource_arn: ::String,
491
+ tag_keys: Array[::String]
492
+ ) -> _UntagResourceResponseSuccess
493
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
494
+
495
+ interface _UpdateFlowTemplateResponseSuccess
496
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateFlowTemplateResponse]
497
+ def summary: () -> Types::FlowTemplateSummary
498
+ end
499
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Client.html#update_flow_template-instance_method
500
+ def update_flow_template: (
501
+ id: ::String,
502
+ definition: {
503
+ language: ("GRAPHQL"),
504
+ text: ::String
505
+ },
506
+ ?compatible_namespace_version: ::Integer
507
+ ) -> _UpdateFlowTemplateResponseSuccess
508
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFlowTemplateResponseSuccess
509
+
510
+ interface _UpdateSystemTemplateResponseSuccess
511
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSystemTemplateResponse]
512
+ def summary: () -> Types::SystemTemplateSummary
513
+ end
514
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Client.html#update_system_template-instance_method
515
+ def update_system_template: (
516
+ id: ::String,
517
+ definition: {
518
+ language: ("GRAPHQL"),
519
+ text: ::String
520
+ },
521
+ ?compatible_namespace_version: ::Integer
522
+ ) -> _UpdateSystemTemplateResponseSuccess
523
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSystemTemplateResponseSuccess
524
+
525
+ interface _UploadEntityDefinitionsResponseSuccess
526
+ include ::Seahorse::Client::_ResponseSuccess[Types::UploadEntityDefinitionsResponse]
527
+ def upload_id: () -> ::String
528
+ end
529
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Client.html#upload_entity_definitions-instance_method
530
+ def upload_entity_definitions: (
531
+ ?document: {
532
+ language: ("GRAPHQL"),
533
+ text: ::String
534
+ },
535
+ ?sync_with_public_namespace: bool,
536
+ ?deprecate_existing_entities: bool
537
+ ) -> _UploadEntityDefinitionsResponseSuccess
538
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UploadEntityDefinitionsResponseSuccess
539
+ end
540
+ end
541
+ end
542
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,37 @@
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 IoTThingsGraph
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class InternalFailureException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class InvalidRequestException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class LimitExceededException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class ResourceAlreadyExistsException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class ResourceInUseException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ end
29
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
30
+ def message: () -> ::String
31
+ end
32
+ class ThrottlingException < ::Aws::Errors::ServiceError
33
+ def message: () -> ::String
34
+ end
35
+ end
36
+ end
37
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,80 @@
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 IoTThingsGraph
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoTThingsGraph/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> void
73
+ | (?Hash[Symbol, untyped]) -> void
74
+
75
+ def client: () -> Client
76
+
77
+
78
+ end
79
+ end
80
+ end