aws-sdk-snowdevicemanagement 1.18.0 → 1.20.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4c8ce475394d191bdb48b8549e2e86d8d789bf0ec877fba8a686ec10b49fa248
4
- data.tar.gz: 39922319693c2ca0e5816f30b15eea61bd15e21fea9a12246dcfb399af7e8294
3
+ metadata.gz: f40ee1bf7216a07486269f21e5bf94b7a30d5177356362afdca7a6964476646c
4
+ data.tar.gz: f32ff0968d0f6b2c7984ac4c857d11e931f9012cf83ac6a84478a7e24842fdb1
5
5
  SHA512:
6
- metadata.gz: 1d62378d6a06edb5c3eded1b297da5c08cb4b863c129dee8d71db26ab68ea11aa2a088c55d2f61457bea9bde2230839b2b506586d1fcbd8927f8e132546cb48f
7
- data.tar.gz: d2232afe4697f78a8ecd8147e4a35e77e218b2cbb616b552929420157bc13caaf998c0e5fb8244ed37bd6b765d918bd5b445b81b67609baf36faf674a1337343
6
+ metadata.gz: 5a1f1ecff5a02f94626ecc25d8f9dee0e42803cf46cfa5bfcc734127e161d81a84ce2bcf00bea44ea99f3d89cd302e956406e346ec2caf148df56ee88097690a
7
+ data.tar.gz: 285789f937c9211c03dda713fe53293714a19bd30a43e9a04901f864bd886181a51426a6dee25d955fe137e9f279941f336519e24b2de5ca547d6393182d4b4f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.20.0 (2024-04-25)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.19.0 (2024-01-26)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.18.0 (2023-11-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.18.0
1
+ 1.20.0
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
22
  require 'aws-sdk-core/plugins/response_paging.rb'
23
23
  require 'aws-sdk-core/plugins/stub_responses.rb'
24
24
  require 'aws-sdk-core/plugins/idempotency_token.rb'
25
+ require 'aws-sdk-core/plugins/invocation_id.rb'
25
26
  require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
27
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
28
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
@@ -72,6 +73,7 @@ module Aws::SnowDeviceManagement
72
73
  add_plugin(Aws::Plugins::ResponsePaging)
73
74
  add_plugin(Aws::Plugins::StubResponses)
74
75
  add_plugin(Aws::Plugins::IdempotencyToken)
76
+ add_plugin(Aws::Plugins::InvocationId)
75
77
  add_plugin(Aws::Plugins::JsonvalueConverter)
76
78
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
77
79
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
@@ -196,10 +198,17 @@ module Aws::SnowDeviceManagement
196
198
  # When set to 'true' the request body will not be compressed
197
199
  # for supported operations.
198
200
  #
199
- # @option options [String] :endpoint
200
- # The client endpoint is normally constructed from the `:region`
201
- # option. You should only configure an `:endpoint` when connecting
202
- # to test or custom endpoints. This should be a valid HTTP(S) URI.
201
+ # @option options [String, URI::HTTPS, URI::HTTP] :endpoint
202
+ # Normally you should not configure the `:endpoint` option
203
+ # directly. This is normally constructed from the `:region`
204
+ # option. Configuring `:endpoint` is normally reserved for
205
+ # connecting to test or custom endpoints. The endpoint should
206
+ # be a URI formatted like:
207
+ #
208
+ # 'http://example.com'
209
+ # 'https://example.com'
210
+ # 'http://example.com:123'
211
+ #
203
212
  #
204
213
  # @option options [Integer] :endpoint_cache_max_entries (1000)
205
214
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -337,50 +346,65 @@ module Aws::SnowDeviceManagement
337
346
  # @option options [Aws::SnowDeviceManagement::EndpointProvider] :endpoint_provider
338
347
  # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::SnowDeviceManagement::EndpointParameters`
339
348
  #
340
- # @option options [URI::HTTP,String] :http_proxy A proxy to send
341
- # requests through. Formatted like 'http://proxy.com:123'.
342
- #
343
- # @option options [Float] :http_open_timeout (15) The number of
344
- # seconds to wait when opening a HTTP session before raising a
345
- # `Timeout::Error`.
346
- #
347
- # @option options [Float] :http_read_timeout (60) The default
348
- # number of seconds to wait for response data. This value can
349
- # safely be set per-request on the session.
350
- #
351
- # @option options [Float] :http_idle_timeout (5) The number of
352
- # seconds a connection is allowed to sit idle before it is
353
- # considered stale. Stale connections are closed and removed
354
- # from the pool before making a request.
355
- #
356
- # @option options [Float] :http_continue_timeout (1) The number of
357
- # seconds to wait for a 100-continue response before sending the
358
- # request body. This option has no effect unless the request has
359
- # "Expect" header set to "100-continue". Defaults to `nil` which
360
- # disables this behaviour. This value can safely be set per
361
- # request on the session.
362
- #
363
- # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
364
- # in seconds.
349
+ # @option options [Float] :http_continue_timeout (1)
350
+ # The number of seconds to wait for a 100-continue response before sending the
351
+ # request body. This option has no effect unless the request has "Expect"
352
+ # header set to "100-continue". Defaults to `nil` which disables this
353
+ # behaviour. This value can safely be set per request on the session.
354
+ #
355
+ # @option options [Float] :http_idle_timeout (5)
356
+ # The number of seconds a connection is allowed to sit idle before it
357
+ # is considered stale. Stale connections are closed and removed from the
358
+ # pool before making a request.
359
+ #
360
+ # @option options [Float] :http_open_timeout (15)
361
+ # The default number of seconds to wait for response data.
362
+ # This value can safely be set per-request on the session.
363
+ #
364
+ # @option options [URI::HTTP,String] :http_proxy
365
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
366
+ #
367
+ # @option options [Float] :http_read_timeout (60)
368
+ # The default number of seconds to wait for response data.
369
+ # This value can safely be set per-request on the session.
370
+ #
371
+ # @option options [Boolean] :http_wire_trace (false)
372
+ # When `true`, HTTP debug output will be sent to the `:logger`.
373
+ #
374
+ # @option options [Proc] :on_chunk_received
375
+ # When a Proc object is provided, it will be used as callback when each chunk
376
+ # of the response body is received. It provides three arguments: the chunk,
377
+ # the number of bytes received, and the total number of
378
+ # bytes in the response (or nil if the server did not send a `content-length`).
379
+ #
380
+ # @option options [Proc] :on_chunk_sent
381
+ # When a Proc object is provided, it will be used as callback when each chunk
382
+ # of the request body is sent. It provides three arguments: the chunk,
383
+ # the number of bytes read from the body, and the total number of
384
+ # bytes in the body.
385
+ #
386
+ # @option options [Boolean] :raise_response_errors (true)
387
+ # When `true`, response errors are raised.
388
+ #
389
+ # @option options [String] :ssl_ca_bundle
390
+ # Full path to the SSL certificate authority bundle file that should be used when
391
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
392
+ # `:ssl_ca_directory` the the system default will be used if available.
393
+ #
394
+ # @option options [String] :ssl_ca_directory
395
+ # Full path of the directory that contains the unbundled SSL certificate
396
+ # authority files for verifying peer certificates. If you do
397
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
398
+ # default will be used if available.
365
399
  #
366
- # @option options [Boolean] :http_wire_trace (false) When `true`,
367
- # HTTP debug output will be sent to the `:logger`.
400
+ # @option options [String] :ssl_ca_store
401
+ # Sets the X509::Store to verify peer certificate.
368
402
  #
369
- # @option options [Boolean] :ssl_verify_peer (true) When `true`,
370
- # SSL peer certificates are verified when establishing a
371
- # connection.
403
+ # @option options [Float] :ssl_timeout
404
+ # Sets the SSL timeout in seconds
372
405
  #
373
- # @option options [String] :ssl_ca_bundle Full path to the SSL
374
- # certificate authority bundle file that should be used when
375
- # verifying peer certificates. If you do not pass
376
- # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
377
- # will be used if available.
378
- #
379
- # @option options [String] :ssl_ca_directory Full path of the
380
- # directory that contains the unbundled SSL certificate
381
- # authority files for verifying peer certificates. If you do
382
- # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
383
- # system default will be used if available.
406
+ # @option options [Boolean] :ssl_verify_peer (true)
407
+ # When `true`, SSL peer certificates are verified when establishing a connection.
384
408
  #
385
409
  def initialize(*args)
386
410
  super
@@ -985,7 +1009,7 @@ module Aws::SnowDeviceManagement
985
1009
  params: params,
986
1010
  config: config)
987
1011
  context[:gem_name] = 'aws-sdk-snowdevicemanagement'
988
- context[:gem_version] = '1.18.0'
1012
+ context[:gem_version] = '1.20.0'
989
1013
  Seahorse::Client::Request.new(handlers, context)
990
1014
  end
991
1015
 
@@ -14,6 +14,7 @@ module Aws::SnowDeviceManagement
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::SnowDeviceManagement::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-snowdevicemanagement/customizations'
52
52
  # @!group service
53
53
  module Aws::SnowDeviceManagement
54
54
 
55
- GEM_VERSION = '1.18.0'
55
+ GEM_VERSION = '1.20.0'
56
56
 
57
57
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,250 @@
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 SnowDeviceManagement
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SnowDeviceManagement/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 _CancelTaskResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::CancelTaskOutput]
77
+ def task_id: () -> ::String
78
+ end
79
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SnowDeviceManagement/Client.html#cancel_task-instance_method
80
+ def cancel_task: (
81
+ task_id: ::String
82
+ ) -> _CancelTaskResponseSuccess
83
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelTaskResponseSuccess
84
+
85
+ interface _CreateTaskResponseSuccess
86
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateTaskOutput]
87
+ def task_arn: () -> ::String
88
+ def task_id: () -> ::String
89
+ end
90
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SnowDeviceManagement/Client.html#create_task-instance_method
91
+ def create_task: (
92
+ ?client_token: ::String,
93
+ command: {
94
+ reboot: {
95
+ }?,
96
+ unlock: {
97
+ }?
98
+ },
99
+ ?description: ::String,
100
+ ?tags: Hash[::String, ::String],
101
+ targets: Array[::String]
102
+ ) -> _CreateTaskResponseSuccess
103
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTaskResponseSuccess
104
+
105
+ interface _DescribeDeviceResponseSuccess
106
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDeviceOutput]
107
+ def associated_with_job: () -> ::String
108
+ def device_capacities: () -> ::Array[Types::Capacity]
109
+ def device_state: () -> ("UNLOCKED" | "LOCKED" | "UNLOCKING")
110
+ def device_type: () -> ::String
111
+ def last_reached_out_at: () -> ::Time
112
+ def last_updated_at: () -> ::Time
113
+ def managed_device_arn: () -> ::String
114
+ def managed_device_id: () -> ::String
115
+ def physical_network_interfaces: () -> ::Array[Types::PhysicalNetworkInterface]
116
+ def software: () -> Types::SoftwareInformation
117
+ def tags: () -> ::Hash[::String, ::String]
118
+ end
119
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SnowDeviceManagement/Client.html#describe_device-instance_method
120
+ def describe_device: (
121
+ managed_device_id: ::String
122
+ ) -> _DescribeDeviceResponseSuccess
123
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDeviceResponseSuccess
124
+
125
+ interface _DescribeDeviceEc2InstancesResponseSuccess
126
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDeviceEc2Output]
127
+ def instances: () -> ::Array[Types::InstanceSummary]
128
+ end
129
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SnowDeviceManagement/Client.html#describe_device_ec2_instances-instance_method
130
+ def describe_device_ec2_instances: (
131
+ instance_ids: Array[::String],
132
+ managed_device_id: ::String
133
+ ) -> _DescribeDeviceEc2InstancesResponseSuccess
134
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDeviceEc2InstancesResponseSuccess
135
+
136
+ interface _DescribeExecutionResponseSuccess
137
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeExecutionOutput]
138
+ def execution_id: () -> ::String
139
+ def last_updated_at: () -> ::Time
140
+ def managed_device_id: () -> ::String
141
+ def started_at: () -> ::Time
142
+ def state: () -> ("QUEUED" | "IN_PROGRESS" | "CANCELED" | "FAILED" | "SUCCEEDED" | "REJECTED" | "TIMED_OUT")
143
+ def task_id: () -> ::String
144
+ end
145
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SnowDeviceManagement/Client.html#describe_execution-instance_method
146
+ def describe_execution: (
147
+ managed_device_id: ::String,
148
+ task_id: ::String
149
+ ) -> _DescribeExecutionResponseSuccess
150
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeExecutionResponseSuccess
151
+
152
+ interface _DescribeTaskResponseSuccess
153
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeTaskOutput]
154
+ def completed_at: () -> ::Time
155
+ def created_at: () -> ::Time
156
+ def description: () -> ::String
157
+ def last_updated_at: () -> ::Time
158
+ def state: () -> ("IN_PROGRESS" | "CANCELED" | "COMPLETED")
159
+ def tags: () -> ::Hash[::String, ::String]
160
+ def targets: () -> ::Array[::String]
161
+ def task_arn: () -> ::String
162
+ def task_id: () -> ::String
163
+ end
164
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SnowDeviceManagement/Client.html#describe_task-instance_method
165
+ def describe_task: (
166
+ task_id: ::String
167
+ ) -> _DescribeTaskResponseSuccess
168
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeTaskResponseSuccess
169
+
170
+ interface _ListDeviceResourcesResponseSuccess
171
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDeviceResourcesOutput]
172
+ def next_token: () -> ::String
173
+ def resources: () -> ::Array[Types::ResourceSummary]
174
+ end
175
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SnowDeviceManagement/Client.html#list_device_resources-instance_method
176
+ def list_device_resources: (
177
+ managed_device_id: ::String,
178
+ ?max_results: ::Integer,
179
+ ?next_token: ::String,
180
+ ?type: ::String
181
+ ) -> _ListDeviceResourcesResponseSuccess
182
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDeviceResourcesResponseSuccess
183
+
184
+ interface _ListDevicesResponseSuccess
185
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDevicesOutput]
186
+ def devices: () -> ::Array[Types::DeviceSummary]
187
+ def next_token: () -> ::String
188
+ end
189
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SnowDeviceManagement/Client.html#list_devices-instance_method
190
+ def list_devices: (
191
+ ?job_id: ::String,
192
+ ?max_results: ::Integer,
193
+ ?next_token: ::String
194
+ ) -> _ListDevicesResponseSuccess
195
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDevicesResponseSuccess
196
+
197
+ interface _ListExecutionsResponseSuccess
198
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListExecutionsOutput]
199
+ def executions: () -> ::Array[Types::ExecutionSummary]
200
+ def next_token: () -> ::String
201
+ end
202
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SnowDeviceManagement/Client.html#list_executions-instance_method
203
+ def list_executions: (
204
+ ?max_results: ::Integer,
205
+ ?next_token: ::String,
206
+ ?state: ("QUEUED" | "IN_PROGRESS" | "CANCELED" | "FAILED" | "SUCCEEDED" | "REJECTED" | "TIMED_OUT"),
207
+ task_id: ::String
208
+ ) -> _ListExecutionsResponseSuccess
209
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListExecutionsResponseSuccess
210
+
211
+ interface _ListTagsForResourceResponseSuccess
212
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceOutput]
213
+ def tags: () -> ::Hash[::String, ::String]
214
+ end
215
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SnowDeviceManagement/Client.html#list_tags_for_resource-instance_method
216
+ def list_tags_for_resource: (
217
+ resource_arn: ::String
218
+ ) -> _ListTagsForResourceResponseSuccess
219
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
220
+
221
+ interface _ListTasksResponseSuccess
222
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTasksOutput]
223
+ def next_token: () -> ::String
224
+ def tasks: () -> ::Array[Types::TaskSummary]
225
+ end
226
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SnowDeviceManagement/Client.html#list_tasks-instance_method
227
+ def list_tasks: (
228
+ ?max_results: ::Integer,
229
+ ?next_token: ::String,
230
+ ?state: ("IN_PROGRESS" | "CANCELED" | "COMPLETED")
231
+ ) -> _ListTasksResponseSuccess
232
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTasksResponseSuccess
233
+
234
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SnowDeviceManagement/Client.html#tag_resource-instance_method
235
+ def tag_resource: (
236
+ resource_arn: ::String,
237
+ tags: Hash[::String, ::String]
238
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
239
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
240
+
241
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SnowDeviceManagement/Client.html#untag_resource-instance_method
242
+ def untag_resource: (
243
+ resource_arn: ::String,
244
+ tag_keys: Array[::String]
245
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
246
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
247
+ end
248
+ end
249
+ end
250
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,34 @@
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 SnowDeviceManagement
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 InternalServerException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class ThrottlingException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ end
29
+ class ValidationException < ::Aws::Errors::ServiceError
30
+ def message: () -> ::String
31
+ end
32
+ end
33
+ end
34
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,79 @@
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 SnowDeviceManagement
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SnowDeviceManagement/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SnowDeviceManagement/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
+ ?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
+ ) -> void
72
+ | (?Hash[Symbol, untyped]) -> void
73
+
74
+ def client: () -> Client
75
+
76
+
77
+ end
78
+ end
79
+ end
data/sig/types.rbs ADDED
@@ -0,0 +1,340 @@
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::SnowDeviceManagement
9
+ module Types
10
+
11
+ class AccessDeniedException
12
+ attr_accessor message: ::String
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class CancelTaskInput
17
+ attr_accessor task_id: ::String
18
+ SENSITIVE: []
19
+ end
20
+
21
+ class CancelTaskOutput
22
+ attr_accessor task_id: ::String
23
+ SENSITIVE: []
24
+ end
25
+
26
+ class Capacity
27
+ attr_accessor available: ::Integer
28
+ attr_accessor name: ::String
29
+ attr_accessor total: ::Integer
30
+ attr_accessor unit: ::String
31
+ attr_accessor used: ::Integer
32
+ SENSITIVE: []
33
+ end
34
+
35
+ class Command
36
+ attr_accessor reboot: Types::Reboot
37
+ attr_accessor unlock: Types::Unlock
38
+ attr_accessor unknown: untyped
39
+ SENSITIVE: []
40
+
41
+ class Reboot < Command
42
+ end
43
+ class Unlock < Command
44
+ end
45
+ class Unknown < Command
46
+ end
47
+ end
48
+
49
+ class CpuOptions
50
+ attr_accessor core_count: ::Integer
51
+ attr_accessor threads_per_core: ::Integer
52
+ SENSITIVE: []
53
+ end
54
+
55
+ class CreateTaskInput
56
+ attr_accessor client_token: ::String
57
+ attr_accessor command: Types::Command
58
+ attr_accessor description: ::String
59
+ attr_accessor tags: ::Hash[::String, ::String]
60
+ attr_accessor targets: ::Array[::String]
61
+ SENSITIVE: []
62
+ end
63
+
64
+ class CreateTaskOutput
65
+ attr_accessor task_arn: ::String
66
+ attr_accessor task_id: ::String
67
+ SENSITIVE: []
68
+ end
69
+
70
+ class DescribeDeviceEc2Input
71
+ attr_accessor instance_ids: ::Array[::String]
72
+ attr_accessor managed_device_id: ::String
73
+ SENSITIVE: []
74
+ end
75
+
76
+ class DescribeDeviceEc2Output
77
+ attr_accessor instances: ::Array[Types::InstanceSummary]
78
+ SENSITIVE: []
79
+ end
80
+
81
+ class DescribeDeviceInput
82
+ attr_accessor managed_device_id: ::String
83
+ SENSITIVE: []
84
+ end
85
+
86
+ class DescribeDeviceOutput
87
+ attr_accessor associated_with_job: ::String
88
+ attr_accessor device_capacities: ::Array[Types::Capacity]
89
+ attr_accessor device_state: ("UNLOCKED" | "LOCKED" | "UNLOCKING")
90
+ attr_accessor device_type: ::String
91
+ attr_accessor last_reached_out_at: ::Time
92
+ attr_accessor last_updated_at: ::Time
93
+ attr_accessor managed_device_arn: ::String
94
+ attr_accessor managed_device_id: ::String
95
+ attr_accessor physical_network_interfaces: ::Array[Types::PhysicalNetworkInterface]
96
+ attr_accessor software: Types::SoftwareInformation
97
+ attr_accessor tags: ::Hash[::String, ::String]
98
+ SENSITIVE: []
99
+ end
100
+
101
+ class DescribeExecutionInput
102
+ attr_accessor managed_device_id: ::String
103
+ attr_accessor task_id: ::String
104
+ SENSITIVE: []
105
+ end
106
+
107
+ class DescribeExecutionOutput
108
+ attr_accessor execution_id: ::String
109
+ attr_accessor last_updated_at: ::Time
110
+ attr_accessor managed_device_id: ::String
111
+ attr_accessor started_at: ::Time
112
+ attr_accessor state: ("QUEUED" | "IN_PROGRESS" | "CANCELED" | "FAILED" | "SUCCEEDED" | "REJECTED" | "TIMED_OUT")
113
+ attr_accessor task_id: ::String
114
+ SENSITIVE: []
115
+ end
116
+
117
+ class DescribeTaskInput
118
+ attr_accessor task_id: ::String
119
+ SENSITIVE: []
120
+ end
121
+
122
+ class DescribeTaskOutput
123
+ attr_accessor completed_at: ::Time
124
+ attr_accessor created_at: ::Time
125
+ attr_accessor description: ::String
126
+ attr_accessor last_updated_at: ::Time
127
+ attr_accessor state: ("IN_PROGRESS" | "CANCELED" | "COMPLETED")
128
+ attr_accessor tags: ::Hash[::String, ::String]
129
+ attr_accessor targets: ::Array[::String]
130
+ attr_accessor task_arn: ::String
131
+ attr_accessor task_id: ::String
132
+ SENSITIVE: []
133
+ end
134
+
135
+ class DeviceSummary
136
+ attr_accessor associated_with_job: ::String
137
+ attr_accessor managed_device_arn: ::String
138
+ attr_accessor managed_device_id: ::String
139
+ attr_accessor tags: ::Hash[::String, ::String]
140
+ SENSITIVE: []
141
+ end
142
+
143
+ class EbsInstanceBlockDevice
144
+ attr_accessor attach_time: ::Time
145
+ attr_accessor delete_on_termination: bool
146
+ attr_accessor status: ("ATTACHING" | "ATTACHED" | "DETACHING" | "DETACHED")
147
+ attr_accessor volume_id: ::String
148
+ SENSITIVE: []
149
+ end
150
+
151
+ class ExecutionSummary
152
+ attr_accessor execution_id: ::String
153
+ attr_accessor managed_device_id: ::String
154
+ attr_accessor state: ("QUEUED" | "IN_PROGRESS" | "CANCELED" | "FAILED" | "SUCCEEDED" | "REJECTED" | "TIMED_OUT")
155
+ attr_accessor task_id: ::String
156
+ SENSITIVE: []
157
+ end
158
+
159
+ class Instance
160
+ attr_accessor ami_launch_index: ::Integer
161
+ attr_accessor block_device_mappings: ::Array[Types::InstanceBlockDeviceMapping]
162
+ attr_accessor cpu_options: Types::CpuOptions
163
+ attr_accessor created_at: ::Time
164
+ attr_accessor image_id: ::String
165
+ attr_accessor instance_id: ::String
166
+ attr_accessor instance_type: ::String
167
+ attr_accessor private_ip_address: ::String
168
+ attr_accessor public_ip_address: ::String
169
+ attr_accessor root_device_name: ::String
170
+ attr_accessor security_groups: ::Array[Types::SecurityGroupIdentifier]
171
+ attr_accessor state: Types::InstanceState
172
+ attr_accessor updated_at: ::Time
173
+ SENSITIVE: []
174
+ end
175
+
176
+ class InstanceBlockDeviceMapping
177
+ attr_accessor device_name: ::String
178
+ attr_accessor ebs: Types::EbsInstanceBlockDevice
179
+ SENSITIVE: []
180
+ end
181
+
182
+ class InstanceState
183
+ attr_accessor code: ::Integer
184
+ attr_accessor name: ("PENDING" | "RUNNING" | "SHUTTING_DOWN" | "TERMINATED" | "STOPPING" | "STOPPED")
185
+ SENSITIVE: []
186
+ end
187
+
188
+ class InstanceSummary
189
+ attr_accessor instance: Types::Instance
190
+ attr_accessor last_updated_at: ::Time
191
+ SENSITIVE: []
192
+ end
193
+
194
+ class InternalServerException
195
+ attr_accessor message: ::String
196
+ SENSITIVE: []
197
+ end
198
+
199
+ class ListDeviceResourcesInput
200
+ attr_accessor managed_device_id: ::String
201
+ attr_accessor max_results: ::Integer
202
+ attr_accessor next_token: ::String
203
+ attr_accessor type: ::String
204
+ SENSITIVE: []
205
+ end
206
+
207
+ class ListDeviceResourcesOutput
208
+ attr_accessor next_token: ::String
209
+ attr_accessor resources: ::Array[Types::ResourceSummary]
210
+ SENSITIVE: []
211
+ end
212
+
213
+ class ListDevicesInput
214
+ attr_accessor job_id: ::String
215
+ attr_accessor max_results: ::Integer
216
+ attr_accessor next_token: ::String
217
+ SENSITIVE: []
218
+ end
219
+
220
+ class ListDevicesOutput
221
+ attr_accessor devices: ::Array[Types::DeviceSummary]
222
+ attr_accessor next_token: ::String
223
+ SENSITIVE: []
224
+ end
225
+
226
+ class ListExecutionsInput
227
+ attr_accessor max_results: ::Integer
228
+ attr_accessor next_token: ::String
229
+ attr_accessor state: ("QUEUED" | "IN_PROGRESS" | "CANCELED" | "FAILED" | "SUCCEEDED" | "REJECTED" | "TIMED_OUT")
230
+ attr_accessor task_id: ::String
231
+ SENSITIVE: []
232
+ end
233
+
234
+ class ListExecutionsOutput
235
+ attr_accessor executions: ::Array[Types::ExecutionSummary]
236
+ attr_accessor next_token: ::String
237
+ SENSITIVE: []
238
+ end
239
+
240
+ class ListTagsForResourceInput
241
+ attr_accessor resource_arn: ::String
242
+ SENSITIVE: []
243
+ end
244
+
245
+ class ListTagsForResourceOutput
246
+ attr_accessor tags: ::Hash[::String, ::String]
247
+ SENSITIVE: []
248
+ end
249
+
250
+ class ListTasksInput
251
+ attr_accessor max_results: ::Integer
252
+ attr_accessor next_token: ::String
253
+ attr_accessor state: ("IN_PROGRESS" | "CANCELED" | "COMPLETED")
254
+ SENSITIVE: []
255
+ end
256
+
257
+ class ListTasksOutput
258
+ attr_accessor next_token: ::String
259
+ attr_accessor tasks: ::Array[Types::TaskSummary]
260
+ SENSITIVE: []
261
+ end
262
+
263
+ class PhysicalNetworkInterface
264
+ attr_accessor default_gateway: ::String
265
+ attr_accessor ip_address: ::String
266
+ attr_accessor ip_address_assignment: ("DHCP" | "STATIC")
267
+ attr_accessor mac_address: ::String
268
+ attr_accessor netmask: ::String
269
+ attr_accessor physical_connector_type: ("RJ45" | "SFP_PLUS" | "QSFP" | "RJ45_2" | "WIFI")
270
+ attr_accessor physical_network_interface_id: ::String
271
+ SENSITIVE: []
272
+ end
273
+
274
+ class Reboot < Aws::EmptyStructure
275
+ end
276
+
277
+ class ResourceNotFoundException
278
+ attr_accessor message: ::String
279
+ SENSITIVE: []
280
+ end
281
+
282
+ class ResourceSummary
283
+ attr_accessor arn: ::String
284
+ attr_accessor id: ::String
285
+ attr_accessor resource_type: ::String
286
+ SENSITIVE: []
287
+ end
288
+
289
+ class SecurityGroupIdentifier
290
+ attr_accessor group_id: ::String
291
+ attr_accessor group_name: ::String
292
+ SENSITIVE: []
293
+ end
294
+
295
+ class ServiceQuotaExceededException
296
+ attr_accessor message: ::String
297
+ SENSITIVE: []
298
+ end
299
+
300
+ class SoftwareInformation
301
+ attr_accessor install_state: ::String
302
+ attr_accessor installed_version: ::String
303
+ attr_accessor installing_version: ::String
304
+ SENSITIVE: []
305
+ end
306
+
307
+ class TagResourceInput
308
+ attr_accessor resource_arn: ::String
309
+ attr_accessor tags: ::Hash[::String, ::String]
310
+ SENSITIVE: []
311
+ end
312
+
313
+ class TaskSummary
314
+ attr_accessor state: ("IN_PROGRESS" | "CANCELED" | "COMPLETED")
315
+ attr_accessor tags: ::Hash[::String, ::String]
316
+ attr_accessor task_arn: ::String
317
+ attr_accessor task_id: ::String
318
+ SENSITIVE: []
319
+ end
320
+
321
+ class ThrottlingException
322
+ attr_accessor message: ::String
323
+ SENSITIVE: []
324
+ end
325
+
326
+ class Unlock < Aws::EmptyStructure
327
+ end
328
+
329
+ class UntagResourceInput
330
+ attr_accessor resource_arn: ::String
331
+ attr_accessor tag_keys: ::Array[::String]
332
+ SENSITIVE: []
333
+ end
334
+
335
+ class ValidationException
336
+ attr_accessor message: ::String
337
+ SENSITIVE: []
338
+ end
339
+ end
340
+ 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 SnowDeviceManagement
10
+ module Waiters
11
+ end
12
+ end
13
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-snowdevicemanagement
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.18.0
4
+ version: 1.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-28 00:00:00.000000000 Z
11
+ date: 2024-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.188.0
22
+ version: 3.193.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.188.0
32
+ version: 3.193.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -66,13 +66,18 @@ files:
66
66
  - lib/aws-sdk-snowdevicemanagement/plugins/endpoints.rb
67
67
  - lib/aws-sdk-snowdevicemanagement/resource.rb
68
68
  - lib/aws-sdk-snowdevicemanagement/types.rb
69
+ - sig/client.rbs
70
+ - sig/errors.rbs
71
+ - sig/resource.rbs
72
+ - sig/types.rbs
73
+ - sig/waiters.rbs
69
74
  homepage: https://github.com/aws/aws-sdk-ruby
70
75
  licenses:
71
76
  - Apache-2.0
72
77
  metadata:
73
78
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-snowdevicemanagement
74
79
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-snowdevicemanagement/CHANGELOG.md
75
- post_install_message:
80
+ post_install_message:
76
81
  rdoc_options: []
77
82
  require_paths:
78
83
  - lib
@@ -87,8 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
92
  - !ruby/object:Gem::Version
88
93
  version: '0'
89
94
  requirements: []
90
- rubygems_version: 3.1.6
91
- signing_key:
95
+ rubygems_version: 3.4.10
96
+ signing_key:
92
97
  specification_version: 4
93
98
  summary: AWS SDK for Ruby - AWS Snow Device Management
94
99
  test_files: []