aws-sdk-greengrassv2 1.34.0 → 1.36.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-greengrassv2/client.rb +70 -46
- data/lib/aws-sdk-greengrassv2/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-greengrassv2.rb +1 -1
- data/sig/client.rbs +557 -0
- data/sig/errors.rbs +54 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +720 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
data/sig/client.rbs
ADDED
@@ -0,0 +1,557 @@
|
|
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 GreengrassV2
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GreengrassV2/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
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> instance
|
72
|
+
| (?Hash[Symbol, untyped]) -> instance
|
73
|
+
|
74
|
+
|
75
|
+
interface _AssociateServiceRoleToAccountResponseSuccess
|
76
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AssociateServiceRoleToAccountResponse]
|
77
|
+
def associated_at: () -> ::String
|
78
|
+
end
|
79
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GreengrassV2/Client.html#associate_service_role_to_account-instance_method
|
80
|
+
def associate_service_role_to_account: (
|
81
|
+
role_arn: ::String
|
82
|
+
) -> _AssociateServiceRoleToAccountResponseSuccess
|
83
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateServiceRoleToAccountResponseSuccess
|
84
|
+
|
85
|
+
interface _BatchAssociateClientDeviceWithCoreDeviceResponseSuccess
|
86
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchAssociateClientDeviceWithCoreDeviceResponse]
|
87
|
+
def error_entries: () -> ::Array[Types::AssociateClientDeviceWithCoreDeviceErrorEntry]
|
88
|
+
end
|
89
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GreengrassV2/Client.html#batch_associate_client_device_with_core_device-instance_method
|
90
|
+
def batch_associate_client_device_with_core_device: (
|
91
|
+
?entries: Array[
|
92
|
+
{
|
93
|
+
thing_name: ::String
|
94
|
+
},
|
95
|
+
],
|
96
|
+
core_device_thing_name: ::String
|
97
|
+
) -> _BatchAssociateClientDeviceWithCoreDeviceResponseSuccess
|
98
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchAssociateClientDeviceWithCoreDeviceResponseSuccess
|
99
|
+
|
100
|
+
interface _BatchDisassociateClientDeviceFromCoreDeviceResponseSuccess
|
101
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchDisassociateClientDeviceFromCoreDeviceResponse]
|
102
|
+
def error_entries: () -> ::Array[Types::DisassociateClientDeviceFromCoreDeviceErrorEntry]
|
103
|
+
end
|
104
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GreengrassV2/Client.html#batch_disassociate_client_device_from_core_device-instance_method
|
105
|
+
def batch_disassociate_client_device_from_core_device: (
|
106
|
+
?entries: Array[
|
107
|
+
{
|
108
|
+
thing_name: ::String
|
109
|
+
},
|
110
|
+
],
|
111
|
+
core_device_thing_name: ::String
|
112
|
+
) -> _BatchDisassociateClientDeviceFromCoreDeviceResponseSuccess
|
113
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDisassociateClientDeviceFromCoreDeviceResponseSuccess
|
114
|
+
|
115
|
+
interface _CancelDeploymentResponseSuccess
|
116
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CancelDeploymentResponse]
|
117
|
+
def message: () -> ::String
|
118
|
+
end
|
119
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GreengrassV2/Client.html#cancel_deployment-instance_method
|
120
|
+
def cancel_deployment: (
|
121
|
+
deployment_id: ::String
|
122
|
+
) -> _CancelDeploymentResponseSuccess
|
123
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelDeploymentResponseSuccess
|
124
|
+
|
125
|
+
interface _CreateComponentVersionResponseSuccess
|
126
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateComponentVersionResponse]
|
127
|
+
def arn: () -> ::String
|
128
|
+
def component_name: () -> ::String
|
129
|
+
def component_version: () -> ::String
|
130
|
+
def creation_timestamp: () -> ::Time
|
131
|
+
def status: () -> Types::CloudComponentStatus
|
132
|
+
end
|
133
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GreengrassV2/Client.html#create_component_version-instance_method
|
134
|
+
def create_component_version: (
|
135
|
+
?inline_recipe: ::String,
|
136
|
+
?lambda_function: {
|
137
|
+
lambda_arn: ::String,
|
138
|
+
component_name: ::String?,
|
139
|
+
component_version: ::String?,
|
140
|
+
component_platforms: Array[
|
141
|
+
{
|
142
|
+
name: ::String?,
|
143
|
+
attributes: Hash[::String, ::String]?
|
144
|
+
},
|
145
|
+
]?,
|
146
|
+
component_dependencies: Hash[::String, {
|
147
|
+
version_requirement: ::String?,
|
148
|
+
dependency_type: ("HARD" | "SOFT")?
|
149
|
+
}]?,
|
150
|
+
component_lambda_parameters: {
|
151
|
+
event_sources: Array[
|
152
|
+
{
|
153
|
+
topic: ::String,
|
154
|
+
type: ("PUB_SUB" | "IOT_CORE")
|
155
|
+
},
|
156
|
+
]?,
|
157
|
+
max_queue_size: ::Integer?,
|
158
|
+
max_instances_count: ::Integer?,
|
159
|
+
max_idle_time_in_seconds: ::Integer?,
|
160
|
+
timeout_in_seconds: ::Integer?,
|
161
|
+
status_timeout_in_seconds: ::Integer?,
|
162
|
+
pinned: bool?,
|
163
|
+
input_payload_encoding_type: ("json" | "binary")?,
|
164
|
+
exec_args: Array[::String]?,
|
165
|
+
environment_variables: Hash[::String, ::String]?,
|
166
|
+
linux_process_params: {
|
167
|
+
isolation_mode: ("GreengrassContainer" | "NoContainer")?,
|
168
|
+
container_params: {
|
169
|
+
memory_size_in_kb: ::Integer?,
|
170
|
+
mount_ro_sysfs: bool?,
|
171
|
+
volumes: Array[
|
172
|
+
{
|
173
|
+
source_path: ::String,
|
174
|
+
destination_path: ::String,
|
175
|
+
permission: ("ro" | "rw")?,
|
176
|
+
add_group_owner: bool?
|
177
|
+
},
|
178
|
+
]?,
|
179
|
+
devices: Array[
|
180
|
+
{
|
181
|
+
path: ::String,
|
182
|
+
permission: ("ro" | "rw")?,
|
183
|
+
add_group_owner: bool?
|
184
|
+
},
|
185
|
+
]?
|
186
|
+
}?
|
187
|
+
}?
|
188
|
+
}?
|
189
|
+
},
|
190
|
+
?tags: Hash[::String, ::String],
|
191
|
+
?client_token: ::String
|
192
|
+
) -> _CreateComponentVersionResponseSuccess
|
193
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateComponentVersionResponseSuccess
|
194
|
+
|
195
|
+
interface _CreateDeploymentResponseSuccess
|
196
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateDeploymentResponse]
|
197
|
+
def deployment_id: () -> ::String
|
198
|
+
def iot_job_id: () -> ::String
|
199
|
+
def iot_job_arn: () -> ::String
|
200
|
+
end
|
201
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GreengrassV2/Client.html#create_deployment-instance_method
|
202
|
+
def create_deployment: (
|
203
|
+
target_arn: ::String,
|
204
|
+
?deployment_name: ::String,
|
205
|
+
?components: Hash[::String, {
|
206
|
+
component_version: ::String?,
|
207
|
+
configuration_update: {
|
208
|
+
merge: ::String?,
|
209
|
+
reset: Array[::String]?
|
210
|
+
}?,
|
211
|
+
run_with: {
|
212
|
+
posix_user: ::String?,
|
213
|
+
system_resource_limits: {
|
214
|
+
memory: ::Integer?,
|
215
|
+
cpus: ::Float?
|
216
|
+
}?,
|
217
|
+
windows_user: ::String?
|
218
|
+
}?
|
219
|
+
}],
|
220
|
+
?iot_job_configuration: {
|
221
|
+
job_executions_rollout_config: {
|
222
|
+
exponential_rate: {
|
223
|
+
base_rate_per_minute: ::Integer,
|
224
|
+
increment_factor: ::Float,
|
225
|
+
rate_increase_criteria: {
|
226
|
+
number_of_notified_things: ::Integer?,
|
227
|
+
number_of_succeeded_things: ::Integer?
|
228
|
+
}
|
229
|
+
}?,
|
230
|
+
maximum_per_minute: ::Integer?
|
231
|
+
}?,
|
232
|
+
abort_config: {
|
233
|
+
criteria_list: Array[
|
234
|
+
{
|
235
|
+
failure_type: ("FAILED" | "REJECTED" | "TIMED_OUT" | "ALL"),
|
236
|
+
action: ("CANCEL"),
|
237
|
+
threshold_percentage: ::Float,
|
238
|
+
min_number_of_executed_things: ::Integer
|
239
|
+
},
|
240
|
+
]
|
241
|
+
}?,
|
242
|
+
timeout_config: {
|
243
|
+
in_progress_timeout_in_minutes: ::Integer?
|
244
|
+
}?
|
245
|
+
},
|
246
|
+
?deployment_policies: {
|
247
|
+
failure_handling_policy: ("ROLLBACK" | "DO_NOTHING")?,
|
248
|
+
component_update_policy: {
|
249
|
+
timeout_in_seconds: ::Integer?,
|
250
|
+
action: ("NOTIFY_COMPONENTS" | "SKIP_NOTIFY_COMPONENTS")?
|
251
|
+
}?,
|
252
|
+
configuration_validation_policy: {
|
253
|
+
timeout_in_seconds: ::Integer?
|
254
|
+
}?
|
255
|
+
},
|
256
|
+
?parent_target_arn: ::String,
|
257
|
+
?tags: Hash[::String, ::String],
|
258
|
+
?client_token: ::String
|
259
|
+
) -> _CreateDeploymentResponseSuccess
|
260
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDeploymentResponseSuccess
|
261
|
+
|
262
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GreengrassV2/Client.html#delete_component-instance_method
|
263
|
+
def delete_component: (
|
264
|
+
arn: ::String
|
265
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
266
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
267
|
+
|
268
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GreengrassV2/Client.html#delete_core_device-instance_method
|
269
|
+
def delete_core_device: (
|
270
|
+
core_device_thing_name: ::String
|
271
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
272
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
273
|
+
|
274
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GreengrassV2/Client.html#delete_deployment-instance_method
|
275
|
+
def delete_deployment: (
|
276
|
+
deployment_id: ::String
|
277
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
278
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
279
|
+
|
280
|
+
interface _DescribeComponentResponseSuccess
|
281
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeComponentResponse]
|
282
|
+
def arn: () -> ::String
|
283
|
+
def component_name: () -> ::String
|
284
|
+
def component_version: () -> ::String
|
285
|
+
def creation_timestamp: () -> ::Time
|
286
|
+
def publisher: () -> ::String
|
287
|
+
def description: () -> ::String
|
288
|
+
def status: () -> Types::CloudComponentStatus
|
289
|
+
def platforms: () -> ::Array[Types::ComponentPlatform]
|
290
|
+
def tags: () -> ::Hash[::String, ::String]
|
291
|
+
end
|
292
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GreengrassV2/Client.html#describe_component-instance_method
|
293
|
+
def describe_component: (
|
294
|
+
arn: ::String
|
295
|
+
) -> _DescribeComponentResponseSuccess
|
296
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeComponentResponseSuccess
|
297
|
+
|
298
|
+
interface _DisassociateServiceRoleFromAccountResponseSuccess
|
299
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateServiceRoleFromAccountResponse]
|
300
|
+
def disassociated_at: () -> ::String
|
301
|
+
end
|
302
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GreengrassV2/Client.html#disassociate_service_role_from_account-instance_method
|
303
|
+
def disassociate_service_role_from_account: (
|
304
|
+
) -> _DisassociateServiceRoleFromAccountResponseSuccess
|
305
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateServiceRoleFromAccountResponseSuccess
|
306
|
+
|
307
|
+
interface _GetComponentResponseSuccess
|
308
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetComponentResponse]
|
309
|
+
def recipe_output_format: () -> ("JSON" | "YAML")
|
310
|
+
def recipe: () -> ::String
|
311
|
+
def tags: () -> ::Hash[::String, ::String]
|
312
|
+
end
|
313
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GreengrassV2/Client.html#get_component-instance_method
|
314
|
+
def get_component: (
|
315
|
+
?recipe_output_format: ("JSON" | "YAML"),
|
316
|
+
arn: ::String
|
317
|
+
) -> _GetComponentResponseSuccess
|
318
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetComponentResponseSuccess
|
319
|
+
|
320
|
+
interface _GetComponentVersionArtifactResponseSuccess
|
321
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetComponentVersionArtifactResponse]
|
322
|
+
def pre_signed_url: () -> ::String
|
323
|
+
end
|
324
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GreengrassV2/Client.html#get_component_version_artifact-instance_method
|
325
|
+
def get_component_version_artifact: (
|
326
|
+
arn: ::String,
|
327
|
+
artifact_name: ::String
|
328
|
+
) -> _GetComponentVersionArtifactResponseSuccess
|
329
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetComponentVersionArtifactResponseSuccess
|
330
|
+
|
331
|
+
interface _GetConnectivityInfoResponseSuccess
|
332
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetConnectivityInfoResponse]
|
333
|
+
def connectivity_info: () -> ::Array[Types::ConnectivityInfo]
|
334
|
+
def message: () -> ::String
|
335
|
+
end
|
336
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GreengrassV2/Client.html#get_connectivity_info-instance_method
|
337
|
+
def get_connectivity_info: (
|
338
|
+
thing_name: ::String
|
339
|
+
) -> _GetConnectivityInfoResponseSuccess
|
340
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetConnectivityInfoResponseSuccess
|
341
|
+
|
342
|
+
interface _GetCoreDeviceResponseSuccess
|
343
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetCoreDeviceResponse]
|
344
|
+
def core_device_thing_name: () -> ::String
|
345
|
+
def core_version: () -> ::String
|
346
|
+
def platform: () -> ::String
|
347
|
+
def architecture: () -> ::String
|
348
|
+
def status: () -> ("HEALTHY" | "UNHEALTHY")
|
349
|
+
def last_status_update_timestamp: () -> ::Time
|
350
|
+
def tags: () -> ::Hash[::String, ::String]
|
351
|
+
end
|
352
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GreengrassV2/Client.html#get_core_device-instance_method
|
353
|
+
def get_core_device: (
|
354
|
+
core_device_thing_name: ::String
|
355
|
+
) -> _GetCoreDeviceResponseSuccess
|
356
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCoreDeviceResponseSuccess
|
357
|
+
|
358
|
+
interface _GetDeploymentResponseSuccess
|
359
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetDeploymentResponse]
|
360
|
+
def target_arn: () -> ::String
|
361
|
+
def revision_id: () -> ::String
|
362
|
+
def deployment_id: () -> ::String
|
363
|
+
def deployment_name: () -> ::String
|
364
|
+
def deployment_status: () -> ("ACTIVE" | "COMPLETED" | "CANCELED" | "FAILED" | "INACTIVE")
|
365
|
+
def iot_job_id: () -> ::String
|
366
|
+
def iot_job_arn: () -> ::String
|
367
|
+
def components: () -> ::Hash[::String, Types::ComponentDeploymentSpecification]
|
368
|
+
def deployment_policies: () -> Types::DeploymentPolicies
|
369
|
+
def iot_job_configuration: () -> Types::DeploymentIoTJobConfiguration
|
370
|
+
def creation_timestamp: () -> ::Time
|
371
|
+
def is_latest_for_target: () -> bool
|
372
|
+
def parent_target_arn: () -> ::String
|
373
|
+
def tags: () -> ::Hash[::String, ::String]
|
374
|
+
end
|
375
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GreengrassV2/Client.html#get_deployment-instance_method
|
376
|
+
def get_deployment: (
|
377
|
+
deployment_id: ::String
|
378
|
+
) -> _GetDeploymentResponseSuccess
|
379
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDeploymentResponseSuccess
|
380
|
+
|
381
|
+
interface _GetServiceRoleForAccountResponseSuccess
|
382
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetServiceRoleForAccountResponse]
|
383
|
+
def associated_at: () -> ::String
|
384
|
+
def role_arn: () -> ::String
|
385
|
+
end
|
386
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GreengrassV2/Client.html#get_service_role_for_account-instance_method
|
387
|
+
def get_service_role_for_account: (
|
388
|
+
) -> _GetServiceRoleForAccountResponseSuccess
|
389
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetServiceRoleForAccountResponseSuccess
|
390
|
+
|
391
|
+
interface _ListClientDevicesAssociatedWithCoreDeviceResponseSuccess
|
392
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListClientDevicesAssociatedWithCoreDeviceResponse]
|
393
|
+
def associated_client_devices: () -> ::Array[Types::AssociatedClientDevice]
|
394
|
+
def next_token: () -> ::String
|
395
|
+
end
|
396
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GreengrassV2/Client.html#list_client_devices_associated_with_core_device-instance_method
|
397
|
+
def list_client_devices_associated_with_core_device: (
|
398
|
+
core_device_thing_name: ::String,
|
399
|
+
?max_results: ::Integer,
|
400
|
+
?next_token: ::String
|
401
|
+
) -> _ListClientDevicesAssociatedWithCoreDeviceResponseSuccess
|
402
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListClientDevicesAssociatedWithCoreDeviceResponseSuccess
|
403
|
+
|
404
|
+
interface _ListComponentVersionsResponseSuccess
|
405
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListComponentVersionsResponse]
|
406
|
+
def component_versions: () -> ::Array[Types::ComponentVersionListItem]
|
407
|
+
def next_token: () -> ::String
|
408
|
+
end
|
409
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GreengrassV2/Client.html#list_component_versions-instance_method
|
410
|
+
def list_component_versions: (
|
411
|
+
arn: ::String,
|
412
|
+
?max_results: ::Integer,
|
413
|
+
?next_token: ::String
|
414
|
+
) -> _ListComponentVersionsResponseSuccess
|
415
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListComponentVersionsResponseSuccess
|
416
|
+
|
417
|
+
interface _ListComponentsResponseSuccess
|
418
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListComponentsResponse]
|
419
|
+
def components: () -> ::Array[Types::Component]
|
420
|
+
def next_token: () -> ::String
|
421
|
+
end
|
422
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GreengrassV2/Client.html#list_components-instance_method
|
423
|
+
def list_components: (
|
424
|
+
?scope: ("PRIVATE" | "PUBLIC"),
|
425
|
+
?max_results: ::Integer,
|
426
|
+
?next_token: ::String
|
427
|
+
) -> _ListComponentsResponseSuccess
|
428
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListComponentsResponseSuccess
|
429
|
+
|
430
|
+
interface _ListCoreDevicesResponseSuccess
|
431
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListCoreDevicesResponse]
|
432
|
+
def core_devices: () -> ::Array[Types::CoreDevice]
|
433
|
+
def next_token: () -> ::String
|
434
|
+
end
|
435
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GreengrassV2/Client.html#list_core_devices-instance_method
|
436
|
+
def list_core_devices: (
|
437
|
+
?thing_group_arn: ::String,
|
438
|
+
?status: ("HEALTHY" | "UNHEALTHY"),
|
439
|
+
?max_results: ::Integer,
|
440
|
+
?next_token: ::String
|
441
|
+
) -> _ListCoreDevicesResponseSuccess
|
442
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCoreDevicesResponseSuccess
|
443
|
+
|
444
|
+
interface _ListDeploymentsResponseSuccess
|
445
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListDeploymentsResponse]
|
446
|
+
def deployments: () -> ::Array[Types::Deployment]
|
447
|
+
def next_token: () -> ::String
|
448
|
+
end
|
449
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GreengrassV2/Client.html#list_deployments-instance_method
|
450
|
+
def list_deployments: (
|
451
|
+
?target_arn: ::String,
|
452
|
+
?history_filter: ("ALL" | "LATEST_ONLY"),
|
453
|
+
?parent_target_arn: ::String,
|
454
|
+
?max_results: ::Integer,
|
455
|
+
?next_token: ::String
|
456
|
+
) -> _ListDeploymentsResponseSuccess
|
457
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDeploymentsResponseSuccess
|
458
|
+
|
459
|
+
interface _ListEffectiveDeploymentsResponseSuccess
|
460
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListEffectiveDeploymentsResponse]
|
461
|
+
def effective_deployments: () -> ::Array[Types::EffectiveDeployment]
|
462
|
+
def next_token: () -> ::String
|
463
|
+
end
|
464
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GreengrassV2/Client.html#list_effective_deployments-instance_method
|
465
|
+
def list_effective_deployments: (
|
466
|
+
core_device_thing_name: ::String,
|
467
|
+
?max_results: ::Integer,
|
468
|
+
?next_token: ::String
|
469
|
+
) -> _ListEffectiveDeploymentsResponseSuccess
|
470
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEffectiveDeploymentsResponseSuccess
|
471
|
+
|
472
|
+
interface _ListInstalledComponentsResponseSuccess
|
473
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListInstalledComponentsResponse]
|
474
|
+
def installed_components: () -> ::Array[Types::InstalledComponent]
|
475
|
+
def next_token: () -> ::String
|
476
|
+
end
|
477
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GreengrassV2/Client.html#list_installed_components-instance_method
|
478
|
+
def list_installed_components: (
|
479
|
+
core_device_thing_name: ::String,
|
480
|
+
?max_results: ::Integer,
|
481
|
+
?next_token: ::String,
|
482
|
+
?topology_filter: ("ALL" | "ROOT")
|
483
|
+
) -> _ListInstalledComponentsResponseSuccess
|
484
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInstalledComponentsResponseSuccess
|
485
|
+
|
486
|
+
interface _ListTagsForResourceResponseSuccess
|
487
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
488
|
+
def tags: () -> ::Hash[::String, ::String]
|
489
|
+
end
|
490
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GreengrassV2/Client.html#list_tags_for_resource-instance_method
|
491
|
+
def list_tags_for_resource: (
|
492
|
+
resource_arn: ::String
|
493
|
+
) -> _ListTagsForResourceResponseSuccess
|
494
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
495
|
+
|
496
|
+
interface _ResolveComponentCandidatesResponseSuccess
|
497
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ResolveComponentCandidatesResponse]
|
498
|
+
def resolved_component_versions: () -> ::Array[Types::ResolvedComponentVersion]
|
499
|
+
end
|
500
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GreengrassV2/Client.html#resolve_component_candidates-instance_method
|
501
|
+
def resolve_component_candidates: (
|
502
|
+
?platform: {
|
503
|
+
name: ::String?,
|
504
|
+
attributes: Hash[::String, ::String]?
|
505
|
+
},
|
506
|
+
?component_candidates: Array[
|
507
|
+
{
|
508
|
+
component_name: ::String?,
|
509
|
+
component_version: ::String?,
|
510
|
+
version_requirements: Hash[::String, ::String]?
|
511
|
+
},
|
512
|
+
]
|
513
|
+
) -> _ResolveComponentCandidatesResponseSuccess
|
514
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ResolveComponentCandidatesResponseSuccess
|
515
|
+
|
516
|
+
interface _TagResourceResponseSuccess
|
517
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
518
|
+
end
|
519
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GreengrassV2/Client.html#tag_resource-instance_method
|
520
|
+
def tag_resource: (
|
521
|
+
resource_arn: ::String,
|
522
|
+
tags: Hash[::String, ::String]
|
523
|
+
) -> _TagResourceResponseSuccess
|
524
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
525
|
+
|
526
|
+
interface _UntagResourceResponseSuccess
|
527
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
528
|
+
end
|
529
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GreengrassV2/Client.html#untag_resource-instance_method
|
530
|
+
def untag_resource: (
|
531
|
+
resource_arn: ::String,
|
532
|
+
tag_keys: Array[::String]
|
533
|
+
) -> _UntagResourceResponseSuccess
|
534
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
535
|
+
|
536
|
+
interface _UpdateConnectivityInfoResponseSuccess
|
537
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateConnectivityInfoResponse]
|
538
|
+
def version: () -> ::String
|
539
|
+
def message: () -> ::String
|
540
|
+
end
|
541
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GreengrassV2/Client.html#update_connectivity_info-instance_method
|
542
|
+
def update_connectivity_info: (
|
543
|
+
thing_name: ::String,
|
544
|
+
connectivity_info: Array[
|
545
|
+
{
|
546
|
+
id: ::String?,
|
547
|
+
host_address: ::String?,
|
548
|
+
port_number: ::Integer?,
|
549
|
+
metadata: ::String?
|
550
|
+
},
|
551
|
+
]
|
552
|
+
) -> _UpdateConnectivityInfoResponseSuccess
|
553
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateConnectivityInfoResponseSuccess
|
554
|
+
end
|
555
|
+
end
|
556
|
+
end
|
557
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,54 @@
|
|
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 GreengrassV2
|
10
|
+
module Errors
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
12
|
+
end
|
13
|
+
|
14
|
+
class AccessDeniedException < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
end
|
17
|
+
class ConflictException < ::Aws::Errors::ServiceError
|
18
|
+
def message: () -> ::String
|
19
|
+
def resource_id: () -> ::String
|
20
|
+
def resource_type: () -> ::String
|
21
|
+
end
|
22
|
+
class InternalServerException < ::Aws::Errors::ServiceError
|
23
|
+
def message: () -> ::String
|
24
|
+
def retry_after_seconds: () -> ::String
|
25
|
+
end
|
26
|
+
class RequestAlreadyInProgressException < ::Aws::Errors::ServiceError
|
27
|
+
def message: () -> ::String
|
28
|
+
end
|
29
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
30
|
+
def message: () -> ::String
|
31
|
+
def resource_id: () -> ::String
|
32
|
+
def resource_type: () -> ::String
|
33
|
+
end
|
34
|
+
class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
|
35
|
+
def message: () -> ::String
|
36
|
+
def resource_id: () -> ::String
|
37
|
+
def resource_type: () -> ::String
|
38
|
+
def quota_code: () -> ::String
|
39
|
+
def service_code: () -> ::String
|
40
|
+
end
|
41
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
42
|
+
def message: () -> ::String
|
43
|
+
def quota_code: () -> ::String
|
44
|
+
def service_code: () -> ::String
|
45
|
+
def retry_after_seconds: () -> ::String
|
46
|
+
end
|
47
|
+
class ValidationException < ::Aws::Errors::ServiceError
|
48
|
+
def message: () -> ::String
|
49
|
+
def reason: () -> ::String
|
50
|
+
def fields: () -> ::String
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|