aws-sdk-ebs 1.37.0 → 1.39.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ea45fd95bd2377580d934d9cf1c4669c149d7bfd3d12a1fb624ac11c0a48e5c2
4
- data.tar.gz: 14488b6893ad417acebf373efec477dd62c3e62117ce008558d7b117795c1dcc
3
+ metadata.gz: b54d4c90c8aca4668bacaba3782fb03098de143b3a0b526316cdcb7fa70434c0
4
+ data.tar.gz: a2869fc69d20d547c3b27e1e854751b8498450df5c3445ca9fe772697a4a00d4
5
5
  SHA512:
6
- metadata.gz: ffac1b9ad93a3acdc2f92fe0a51bc334f9ccf36ee4a6b1c6cd91ead89671ac94dfb6ad186670c0b4b71631d011724c200dcc1c34ab4edacac33316569aab03f4
7
- data.tar.gz: 50a80e6841f7f06bbfcc654c01e1f48c5b0c2dc4156a3c17b9ab9061d7a924e5afa6d042b05a2af40418d53d79dbc10f54d64fecc24c1559f7c2fdff54cf53fb
6
+ metadata.gz: f85f4400a34c53653b01bb40810c9ac1273f42aea8b0522c41bf4939bf2b60fe31edfa57651cbe99807d3b803bca8adb11cff41841feebe38151f8a2b5de3510
7
+ data.tar.gz: 6fa43e7f3d86c091e45922d919002b0641d48d7aff9ae40114e1ae3ebf15dd82d1ad952f518c4a450eb86f9d97b2b6c97b1fb30ca35d3bf47cdc70d0520da28b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.39.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.38.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.37.0 (2023-11-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.37.0
1
+ 1.39.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::EBS
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::EBS
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::EBS
337
346
  # @option options [Aws::EBS::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::EBS::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
@@ -994,7 +1018,7 @@ module Aws::EBS
994
1018
  params: params,
995
1019
  config: config)
996
1020
  context[:gem_name] = 'aws-sdk-ebs'
997
- context[:gem_version] = '1.37.0'
1021
+ context[:gem_version] = '1.39.0'
998
1022
  Seahorse::Client::Request.new(handlers, context)
999
1023
  end
1000
1024
 
@@ -14,6 +14,7 @@ module Aws::EBS
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::EBS::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 '\
data/lib/aws-sdk-ebs.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-ebs/customizations'
52
52
  # @!group service
53
53
  module Aws::EBS
54
54
 
55
- GEM_VERSION = '1.37.0'
55
+ GEM_VERSION = '1.39.0'
56
56
 
57
57
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,190 @@
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 EBS
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EBS/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 _CompleteSnapshotResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::CompleteSnapshotResponse]
77
+ def status: () -> ("completed" | "pending" | "error")
78
+ end
79
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EBS/Client.html#complete_snapshot-instance_method
80
+ def complete_snapshot: (
81
+ snapshot_id: ::String,
82
+ changed_blocks_count: ::Integer,
83
+ ?checksum: ::String,
84
+ ?checksum_algorithm: ("SHA256"),
85
+ ?checksum_aggregation_method: ("LINEAR")
86
+ ) -> _CompleteSnapshotResponseSuccess
87
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CompleteSnapshotResponseSuccess
88
+
89
+ interface _GetSnapshotBlockResponseSuccess
90
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSnapshotBlockResponse]
91
+ def data_length: () -> ::Integer
92
+ def block_data: () -> ::IO
93
+ def checksum: () -> ::String
94
+ def checksum_algorithm: () -> ("SHA256")
95
+ end
96
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EBS/Client.html#get_snapshot_block-instance_method
97
+ def get_snapshot_block: (
98
+ snapshot_id: ::String,
99
+ block_index: ::Integer,
100
+ block_token: ::String
101
+ ) ?{ (*untyped) -> void } -> _GetSnapshotBlockResponseSuccess
102
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _GetSnapshotBlockResponseSuccess
103
+
104
+ interface _ListChangedBlocksResponseSuccess
105
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListChangedBlocksResponse]
106
+ def changed_blocks: () -> ::Array[Types::ChangedBlock]
107
+ def expiry_time: () -> ::Time
108
+ def volume_size: () -> ::Integer
109
+ def block_size: () -> ::Integer
110
+ def next_token: () -> ::String
111
+ end
112
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EBS/Client.html#list_changed_blocks-instance_method
113
+ def list_changed_blocks: (
114
+ ?first_snapshot_id: ::String,
115
+ second_snapshot_id: ::String,
116
+ ?next_token: ::String,
117
+ ?max_results: ::Integer,
118
+ ?starting_block_index: ::Integer
119
+ ) -> _ListChangedBlocksResponseSuccess
120
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListChangedBlocksResponseSuccess
121
+
122
+ interface _ListSnapshotBlocksResponseSuccess
123
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSnapshotBlocksResponse]
124
+ def blocks: () -> ::Array[Types::Block]
125
+ def expiry_time: () -> ::Time
126
+ def volume_size: () -> ::Integer
127
+ def block_size: () -> ::Integer
128
+ def next_token: () -> ::String
129
+ end
130
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EBS/Client.html#list_snapshot_blocks-instance_method
131
+ def list_snapshot_blocks: (
132
+ snapshot_id: ::String,
133
+ ?next_token: ::String,
134
+ ?max_results: ::Integer,
135
+ ?starting_block_index: ::Integer
136
+ ) -> _ListSnapshotBlocksResponseSuccess
137
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSnapshotBlocksResponseSuccess
138
+
139
+ interface _PutSnapshotBlockResponseSuccess
140
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutSnapshotBlockResponse]
141
+ def checksum: () -> ::String
142
+ def checksum_algorithm: () -> ("SHA256")
143
+ end
144
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EBS/Client.html#put_snapshot_block-instance_method
145
+ def put_snapshot_block: (
146
+ snapshot_id: ::String,
147
+ block_index: ::Integer,
148
+ block_data: ::String,
149
+ data_length: ::Integer,
150
+ ?progress: ::Integer,
151
+ checksum: ::String,
152
+ checksum_algorithm: ("SHA256")
153
+ ) -> _PutSnapshotBlockResponseSuccess
154
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutSnapshotBlockResponseSuccess
155
+
156
+ interface _StartSnapshotResponseSuccess
157
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartSnapshotResponse]
158
+ def description: () -> ::String
159
+ def snapshot_id: () -> ::String
160
+ def owner_id: () -> ::String
161
+ def status: () -> ("completed" | "pending" | "error")
162
+ def start_time: () -> ::Time
163
+ def volume_size: () -> ::Integer
164
+ def block_size: () -> ::Integer
165
+ def tags: () -> ::Array[Types::Tag]
166
+ def parent_snapshot_id: () -> ::String
167
+ def kms_key_arn: () -> ::String
168
+ def sse_type: () -> ("sse-ebs" | "sse-kms" | "none")
169
+ end
170
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EBS/Client.html#start_snapshot-instance_method
171
+ def start_snapshot: (
172
+ volume_size: ::Integer,
173
+ ?parent_snapshot_id: ::String,
174
+ ?tags: Array[
175
+ {
176
+ key: ::String?,
177
+ value: ::String?
178
+ },
179
+ ],
180
+ ?description: ::String,
181
+ ?client_token: ::String,
182
+ ?encrypted: bool,
183
+ ?kms_key_arn: ::String,
184
+ ?timeout: ::Integer
185
+ ) -> _StartSnapshotResponseSuccess
186
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartSnapshotResponseSuccess
187
+ end
188
+ end
189
+ end
190
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,45 @@
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 EBS
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class AccessDeniedException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ def reason: () -> ::String
17
+ end
18
+ class ConcurrentLimitExceededException < ::Aws::Errors::ServiceError
19
+ def message: () -> ::String
20
+ end
21
+ class ConflictException < ::Aws::Errors::ServiceError
22
+ def message: () -> ::String
23
+ end
24
+ class InternalServerException < ::Aws::Errors::ServiceError
25
+ def message: () -> ::String
26
+ end
27
+ class RequestThrottledException < ::Aws::Errors::ServiceError
28
+ def message: () -> ::String
29
+ def reason: () -> ::String
30
+ end
31
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
32
+ def message: () -> ::String
33
+ def reason: () -> ::String
34
+ end
35
+ class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
36
+ def message: () -> ::String
37
+ def reason: () -> ::String
38
+ end
39
+ class ValidationException < ::Aws::Errors::ServiceError
40
+ def message: () -> ::String
41
+ def reason: () -> ::String
42
+ end
43
+ end
44
+ end
45
+ 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 EBS
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EBS/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EBS/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,183 @@
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::EBS
9
+ module Types
10
+
11
+ class AccessDeniedException
12
+ attr_accessor message: ::String
13
+ attr_accessor reason: ("UNAUTHORIZED_ACCOUNT" | "DEPENDENCY_ACCESS_DENIED")
14
+ SENSITIVE: []
15
+ end
16
+
17
+ class Block
18
+ attr_accessor block_index: ::Integer
19
+ attr_accessor block_token: ::String
20
+ SENSITIVE: []
21
+ end
22
+
23
+ class ChangedBlock
24
+ attr_accessor block_index: ::Integer
25
+ attr_accessor first_block_token: ::String
26
+ attr_accessor second_block_token: ::String
27
+ SENSITIVE: []
28
+ end
29
+
30
+ class CompleteSnapshotRequest
31
+ attr_accessor snapshot_id: ::String
32
+ attr_accessor changed_blocks_count: ::Integer
33
+ attr_accessor checksum: ::String
34
+ attr_accessor checksum_algorithm: ("SHA256")
35
+ attr_accessor checksum_aggregation_method: ("LINEAR")
36
+ SENSITIVE: []
37
+ end
38
+
39
+ class CompleteSnapshotResponse
40
+ attr_accessor status: ("completed" | "pending" | "error")
41
+ SENSITIVE: []
42
+ end
43
+
44
+ class ConcurrentLimitExceededException
45
+ attr_accessor message: ::String
46
+ SENSITIVE: []
47
+ end
48
+
49
+ class ConflictException
50
+ attr_accessor message: ::String
51
+ SENSITIVE: []
52
+ end
53
+
54
+ class GetSnapshotBlockRequest
55
+ attr_accessor snapshot_id: ::String
56
+ attr_accessor block_index: ::Integer
57
+ attr_accessor block_token: ::String
58
+ SENSITIVE: []
59
+ end
60
+
61
+ class GetSnapshotBlockResponse
62
+ attr_accessor data_length: ::Integer
63
+ attr_accessor block_data: ::IO
64
+ attr_accessor checksum: ::String
65
+ attr_accessor checksum_algorithm: ("SHA256")
66
+ SENSITIVE: [:block_data]
67
+ end
68
+
69
+ class InternalServerException
70
+ attr_accessor message: ::String
71
+ SENSITIVE: []
72
+ end
73
+
74
+ class ListChangedBlocksRequest
75
+ attr_accessor first_snapshot_id: ::String
76
+ attr_accessor second_snapshot_id: ::String
77
+ attr_accessor next_token: ::String
78
+ attr_accessor max_results: ::Integer
79
+ attr_accessor starting_block_index: ::Integer
80
+ SENSITIVE: []
81
+ end
82
+
83
+ class ListChangedBlocksResponse
84
+ attr_accessor changed_blocks: ::Array[Types::ChangedBlock]
85
+ attr_accessor expiry_time: ::Time
86
+ attr_accessor volume_size: ::Integer
87
+ attr_accessor block_size: ::Integer
88
+ attr_accessor next_token: ::String
89
+ SENSITIVE: []
90
+ end
91
+
92
+ class ListSnapshotBlocksRequest
93
+ attr_accessor snapshot_id: ::String
94
+ attr_accessor next_token: ::String
95
+ attr_accessor max_results: ::Integer
96
+ attr_accessor starting_block_index: ::Integer
97
+ SENSITIVE: []
98
+ end
99
+
100
+ class ListSnapshotBlocksResponse
101
+ attr_accessor blocks: ::Array[Types::Block]
102
+ attr_accessor expiry_time: ::Time
103
+ attr_accessor volume_size: ::Integer
104
+ attr_accessor block_size: ::Integer
105
+ attr_accessor next_token: ::String
106
+ SENSITIVE: [:blocks]
107
+ end
108
+
109
+ class PutSnapshotBlockRequest
110
+ attr_accessor snapshot_id: ::String
111
+ attr_accessor block_index: ::Integer
112
+ attr_accessor block_data: ::IO
113
+ attr_accessor data_length: ::Integer
114
+ attr_accessor progress: ::Integer
115
+ attr_accessor checksum: ::String
116
+ attr_accessor checksum_algorithm: ("SHA256")
117
+ SENSITIVE: [:block_data]
118
+ end
119
+
120
+ class PutSnapshotBlockResponse
121
+ attr_accessor checksum: ::String
122
+ attr_accessor checksum_algorithm: ("SHA256")
123
+ SENSITIVE: []
124
+ end
125
+
126
+ class RequestThrottledException
127
+ attr_accessor message: ::String
128
+ attr_accessor reason: ("ACCOUNT_THROTTLED" | "DEPENDENCY_REQUEST_THROTTLED" | "RESOURCE_LEVEL_THROTTLE")
129
+ SENSITIVE: []
130
+ end
131
+
132
+ class ResourceNotFoundException
133
+ attr_accessor message: ::String
134
+ attr_accessor reason: ("SNAPSHOT_NOT_FOUND" | "GRANT_NOT_FOUND" | "DEPENDENCY_RESOURCE_NOT_FOUND" | "IMAGE_NOT_FOUND")
135
+ SENSITIVE: []
136
+ end
137
+
138
+ class ServiceQuotaExceededException
139
+ attr_accessor message: ::String
140
+ attr_accessor reason: ("DEPENDENCY_SERVICE_QUOTA_EXCEEDED")
141
+ SENSITIVE: []
142
+ end
143
+
144
+ class StartSnapshotRequest
145
+ attr_accessor volume_size: ::Integer
146
+ attr_accessor parent_snapshot_id: ::String
147
+ attr_accessor tags: ::Array[Types::Tag]
148
+ attr_accessor description: ::String
149
+ attr_accessor client_token: ::String
150
+ attr_accessor encrypted: bool
151
+ attr_accessor kms_key_arn: ::String
152
+ attr_accessor timeout: ::Integer
153
+ SENSITIVE: [:kms_key_arn]
154
+ end
155
+
156
+ class StartSnapshotResponse
157
+ attr_accessor description: ::String
158
+ attr_accessor snapshot_id: ::String
159
+ attr_accessor owner_id: ::String
160
+ attr_accessor status: ("completed" | "pending" | "error")
161
+ attr_accessor start_time: ::Time
162
+ attr_accessor volume_size: ::Integer
163
+ attr_accessor block_size: ::Integer
164
+ attr_accessor tags: ::Array[Types::Tag]
165
+ attr_accessor parent_snapshot_id: ::String
166
+ attr_accessor kms_key_arn: ::String
167
+ attr_accessor sse_type: ("sse-ebs" | "sse-kms" | "none")
168
+ SENSITIVE: [:kms_key_arn]
169
+ end
170
+
171
+ class Tag
172
+ attr_accessor key: ::String
173
+ attr_accessor value: ::String
174
+ SENSITIVE: []
175
+ end
176
+
177
+ class ValidationException
178
+ attr_accessor message: ::String
179
+ attr_accessor reason: ("INVALID_CUSTOMER_KEY" | "INVALID_PAGE_TOKEN" | "INVALID_BLOCK_TOKEN" | "INVALID_GRANT_TOKEN" | "INVALID_SNAPSHOT_ID" | "UNRELATED_SNAPSHOTS" | "INVALID_BLOCK" | "INVALID_CONTENT_ENCODING" | "INVALID_TAG" | "INVALID_DEPENDENCY_REQUEST" | "INVALID_PARAMETER_VALUE" | "INVALID_VOLUME_SIZE" | "CONFLICTING_BLOCK_UPDATE" | "INVALID_IMAGE_ID" | "WRITE_REQUEST_TIMEOUT")
180
+ SENSITIVE: []
181
+ end
182
+ end
183
+ 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 EBS
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-ebs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.37.0
4
+ version: 1.39.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-ebs/plugins/endpoints.rb
67
67
  - lib/aws-sdk-ebs/resource.rb
68
68
  - lib/aws-sdk-ebs/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-ebs
74
79
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ebs/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 - Amazon EBS
94
99
  test_files: []