aws-sdk-backupstorage 1.11.0 → 1.13.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: 995690f46932b96bbab3cc668041cecbcf5226d8becaf998e18d590c7d46e6f0
4
- data.tar.gz: 1c54bea3ae418e4ba0770328631e7735b655fec6f4bc3ad8e8827701f8dfeece
3
+ metadata.gz: 58362f44c68f374190f0b91a82ff332bc4acdf39d29f789641f05d71c9552d4f
4
+ data.tar.gz: 2128093baa48e3885f1a2f75314b81ed4affd7545adbae2292ec3c6746bcdbaf
5
5
  SHA512:
6
- metadata.gz: becdebf924b51ecd3390422971360e23d1af16a289d1911a4ed08d7f4dad877173ed7482c5f7744970882e90c8c1d7c6ce6aac976273123ed9af5e6b0d2d0573
7
- data.tar.gz: afae3ab73ac4850470d5a245c3e4c16951a4f729a3e5a09dad20dcf93de2fe85b83857e5bea14096727ce335064ccf437d738b196966220b9378680a02c26a7b
6
+ metadata.gz: 745f70e3803ee8d66899153417f2a948bdea7ce2af99560af9409d53bad4fa60463635a77ed652c38ef0f5a99592e20a4475659103b6266747cdf0c9b05097d3
7
+ data.tar.gz: 643568519688d1d7de5f7fead990377958b07d759439e63165390d4965ca22b32a6d8b246f4ff3bbcc4aab94be01b78d783fc38951bb3ded71709bac755398eb
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.13.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.12.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.11.0 (2023-11-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.11.0
1
+ 1.13.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::BackupStorage
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::BackupStorage
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::BackupStorage
337
346
  # @option options [Aws::BackupStorage::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::BackupStorage::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
@@ -843,7 +867,7 @@ module Aws::BackupStorage
843
867
  params: params,
844
868
  config: config)
845
869
  context[:gem_name] = 'aws-sdk-backupstorage'
846
- context[:gem_version] = '1.11.0'
870
+ context[:gem_version] = '1.13.0'
847
871
  Seahorse::Client::Request.new(handlers, context)
848
872
  end
849
873
 
@@ -14,6 +14,7 @@ module Aws::BackupStorage
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::BackupStorage::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-backupstorage/customizations'
52
52
  # @!group service
53
53
  module Aws::BackupStorage
54
54
 
55
- GEM_VERSION = '1.11.0'
55
+ GEM_VERSION = '1.13.0'
56
56
 
57
57
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,213 @@
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 BackupStorage
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupStorage/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
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupStorage/Client.html#delete_object-instance_method
76
+ def delete_object: (
77
+ backup_job_id: ::String,
78
+ object_name: ::String
79
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
80
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
81
+
82
+ interface _GetChunkResponseSuccess
83
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetChunkOutput]
84
+ def length: () -> ::Integer
85
+ def checksum: () -> ::String
86
+ def checksum_algorithm: () -> ("SHA256")
87
+ end
88
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupStorage/Client.html#get_chunk-instance_method
89
+ def get_chunk: (
90
+ storage_job_id: ::String,
91
+ chunk_token: ::String
92
+ ) ?{ (*untyped) -> void } -> _GetChunkResponseSuccess
93
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _GetChunkResponseSuccess
94
+
95
+ interface _GetObjectMetadataResponseSuccess
96
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetObjectMetadataOutput]
97
+ def metadata_string: () -> ::String
98
+ def metadata_blob: () -> ::IO
99
+ def metadata_blob_length: () -> ::Integer
100
+ def metadata_blob_checksum: () -> ::String
101
+ def metadata_blob_checksum_algorithm: () -> ("SHA256")
102
+ end
103
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupStorage/Client.html#get_object_metadata-instance_method
104
+ def get_object_metadata: (
105
+ storage_job_id: ::String,
106
+ object_token: ::String
107
+ ) ?{ (*untyped) -> void } -> _GetObjectMetadataResponseSuccess
108
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _GetObjectMetadataResponseSuccess
109
+
110
+ interface _ListChunksResponseSuccess
111
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListChunksOutput]
112
+ def chunk_list: () -> ::Array[Types::Chunk]
113
+ def next_token: () -> ::String
114
+ end
115
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupStorage/Client.html#list_chunks-instance_method
116
+ def list_chunks: (
117
+ storage_job_id: ::String,
118
+ object_token: ::String,
119
+ ?max_results: ::Integer,
120
+ ?next_token: ::String
121
+ ) -> _ListChunksResponseSuccess
122
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListChunksResponseSuccess
123
+
124
+ interface _ListObjectsResponseSuccess
125
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListObjectsOutput]
126
+ def object_list: () -> ::Array[Types::BackupObject]
127
+ def next_token: () -> ::String
128
+ end
129
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupStorage/Client.html#list_objects-instance_method
130
+ def list_objects: (
131
+ storage_job_id: ::String,
132
+ ?starting_object_name: ::String,
133
+ ?starting_object_prefix: ::String,
134
+ ?max_results: ::Integer,
135
+ ?next_token: ::String,
136
+ ?created_before: ::Time,
137
+ ?created_after: ::Time
138
+ ) -> _ListObjectsResponseSuccess
139
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListObjectsResponseSuccess
140
+
141
+ interface _NotifyObjectCompleteResponseSuccess
142
+ include ::Seahorse::Client::_ResponseSuccess[Types::NotifyObjectCompleteOutput]
143
+ def object_checksum: () -> ::String
144
+ def object_checksum_algorithm: () -> ("SUMMARY")
145
+ end
146
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupStorage/Client.html#notify_object_complete-instance_method
147
+ def notify_object_complete: (
148
+ backup_job_id: ::String,
149
+ upload_id: ::String,
150
+ object_checksum: ::String,
151
+ object_checksum_algorithm: ("SUMMARY"),
152
+ ?metadata_string: ::String,
153
+ ?metadata_blob: ::String,
154
+ ?metadata_blob_length: ::Integer,
155
+ ?metadata_blob_checksum: ::String,
156
+ ?metadata_blob_checksum_algorithm: ("SHA256")
157
+ ) -> _NotifyObjectCompleteResponseSuccess
158
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _NotifyObjectCompleteResponseSuccess
159
+
160
+ interface _PutChunkResponseSuccess
161
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutChunkOutput]
162
+ def chunk_checksum: () -> ::String
163
+ def chunk_checksum_algorithm: () -> ("SHA256")
164
+ end
165
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupStorage/Client.html#put_chunk-instance_method
166
+ def put_chunk: (
167
+ backup_job_id: ::String,
168
+ upload_id: ::String,
169
+ chunk_index: ::Integer,
170
+ data: ::String,
171
+ length: ::Integer,
172
+ checksum: ::String,
173
+ checksum_algorithm: ("SHA256")
174
+ ) -> _PutChunkResponseSuccess
175
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutChunkResponseSuccess
176
+
177
+ interface _PutObjectResponseSuccess
178
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutObjectOutput]
179
+ def inline_chunk_checksum: () -> ::String
180
+ def inline_chunk_checksum_algorithm: () -> ("SHA256")
181
+ def object_checksum: () -> ::String
182
+ def object_checksum_algorithm: () -> ("SUMMARY")
183
+ end
184
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupStorage/Client.html#put_object-instance_method
185
+ def put_object: (
186
+ backup_job_id: ::String,
187
+ object_name: ::String,
188
+ ?metadata_string: ::String,
189
+ ?inline_chunk: ::String,
190
+ ?inline_chunk_length: ::Integer,
191
+ ?inline_chunk_checksum: ::String,
192
+ ?inline_chunk_checksum_algorithm: ::String,
193
+ ?object_checksum: ::String,
194
+ ?object_checksum_algorithm: ("SUMMARY"),
195
+ ?throw_on_duplicate: bool
196
+ ) -> _PutObjectResponseSuccess
197
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutObjectResponseSuccess
198
+
199
+ interface _StartObjectResponseSuccess
200
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartObjectOutput]
201
+ def upload_id: () -> ::String
202
+ end
203
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupStorage/Client.html#start_object-instance_method
204
+ def start_object: (
205
+ backup_job_id: ::String,
206
+ object_name: ::String,
207
+ ?throw_on_duplicate: bool
208
+ ) -> _StartObjectResponseSuccess
209
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartObjectResponseSuccess
210
+ end
211
+ end
212
+ end
213
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,48 @@
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 BackupStorage
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 DataAlreadyExistsException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ def checksum: () -> ::String
20
+ def checksum_algorithm: () -> ::String
21
+ end
22
+ class IllegalArgumentException < ::Aws::Errors::ServiceError
23
+ def message: () -> ::String
24
+ end
25
+ class KMSInvalidKeyUsageException < ::Aws::Errors::ServiceError
26
+ def message: () -> ::String
27
+ end
28
+ class NotReadableInputStreamException < ::Aws::Errors::ServiceError
29
+ def message: () -> ::String
30
+ end
31
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
32
+ def message: () -> ::String
33
+ end
34
+ class RetryableException < ::Aws::Errors::ServiceError
35
+ def message: () -> ::String
36
+ end
37
+ class ServiceInternalException < ::Aws::Errors::ServiceError
38
+ def message: () -> ::String
39
+ end
40
+ class ServiceUnavailableException < ::Aws::Errors::ServiceError
41
+ def message: () -> ::String
42
+ end
43
+ class ThrottlingException < ::Aws::Errors::ServiceError
44
+ def message: () -> ::String
45
+ end
46
+ end
47
+ end
48
+ 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 BackupStorage
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupStorage/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BackupStorage/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,218 @@
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::BackupStorage
9
+ module Types
10
+
11
+ class AccessDeniedException
12
+ attr_accessor message: ::String
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class BackupObject
17
+ attr_accessor name: ::String
18
+ attr_accessor chunks_count: ::Integer
19
+ attr_accessor metadata_string: ::String
20
+ attr_accessor object_checksum: ::String
21
+ attr_accessor object_checksum_algorithm: ("SUMMARY")
22
+ attr_accessor object_token: ::String
23
+ SENSITIVE: []
24
+ end
25
+
26
+ class Chunk
27
+ attr_accessor index: ::Integer
28
+ attr_accessor length: ::Integer
29
+ attr_accessor checksum: ::String
30
+ attr_accessor checksum_algorithm: ("SHA256")
31
+ attr_accessor chunk_token: ::String
32
+ SENSITIVE: []
33
+ end
34
+
35
+ class DataAlreadyExistsException
36
+ attr_accessor message: ::String
37
+ attr_accessor checksum: ::String
38
+ attr_accessor checksum_algorithm: ::String
39
+ SENSITIVE: []
40
+ end
41
+
42
+ class DeleteObjectInput
43
+ attr_accessor backup_job_id: ::String
44
+ attr_accessor object_name: ::String
45
+ SENSITIVE: []
46
+ end
47
+
48
+ class GetChunkInput
49
+ attr_accessor storage_job_id: ::String
50
+ attr_accessor chunk_token: ::String
51
+ SENSITIVE: []
52
+ end
53
+
54
+ class GetChunkOutput
55
+ attr_accessor data: ::IO
56
+ attr_accessor length: ::Integer
57
+ attr_accessor checksum: ::String
58
+ attr_accessor checksum_algorithm: ("SHA256")
59
+ SENSITIVE: []
60
+ end
61
+
62
+ class GetObjectMetadataInput
63
+ attr_accessor storage_job_id: ::String
64
+ attr_accessor object_token: ::String
65
+ SENSITIVE: []
66
+ end
67
+
68
+ class GetObjectMetadataOutput
69
+ attr_accessor metadata_string: ::String
70
+ attr_accessor metadata_blob: ::IO
71
+ attr_accessor metadata_blob_length: ::Integer
72
+ attr_accessor metadata_blob_checksum: ::String
73
+ attr_accessor metadata_blob_checksum_algorithm: ("SHA256")
74
+ SENSITIVE: []
75
+ end
76
+
77
+ class IllegalArgumentException
78
+ attr_accessor message: ::String
79
+ SENSITIVE: []
80
+ end
81
+
82
+ class KMSInvalidKeyUsageException
83
+ attr_accessor message: ::String
84
+ SENSITIVE: []
85
+ end
86
+
87
+ class ListChunksInput
88
+ attr_accessor storage_job_id: ::String
89
+ attr_accessor object_token: ::String
90
+ attr_accessor max_results: ::Integer
91
+ attr_accessor next_token: ::String
92
+ SENSITIVE: []
93
+ end
94
+
95
+ class ListChunksOutput
96
+ attr_accessor chunk_list: ::Array[Types::Chunk]
97
+ attr_accessor next_token: ::String
98
+ SENSITIVE: []
99
+ end
100
+
101
+ class ListObjectsInput
102
+ attr_accessor storage_job_id: ::String
103
+ attr_accessor starting_object_name: ::String
104
+ attr_accessor starting_object_prefix: ::String
105
+ attr_accessor max_results: ::Integer
106
+ attr_accessor next_token: ::String
107
+ attr_accessor created_before: ::Time
108
+ attr_accessor created_after: ::Time
109
+ SENSITIVE: []
110
+ end
111
+
112
+ class ListObjectsOutput
113
+ attr_accessor object_list: ::Array[Types::BackupObject]
114
+ attr_accessor next_token: ::String
115
+ SENSITIVE: []
116
+ end
117
+
118
+ class NotReadableInputStreamException
119
+ attr_accessor message: ::String
120
+ SENSITIVE: []
121
+ end
122
+
123
+ class NotifyObjectCompleteInput
124
+ attr_accessor backup_job_id: ::String
125
+ attr_accessor upload_id: ::String
126
+ attr_accessor object_checksum: ::String
127
+ attr_accessor object_checksum_algorithm: ("SUMMARY")
128
+ attr_accessor metadata_string: ::String
129
+ attr_accessor metadata_blob: ::IO
130
+ attr_accessor metadata_blob_length: ::Integer
131
+ attr_accessor metadata_blob_checksum: ::String
132
+ attr_accessor metadata_blob_checksum_algorithm: ("SHA256")
133
+ SENSITIVE: []
134
+ end
135
+
136
+ class NotifyObjectCompleteOutput
137
+ attr_accessor object_checksum: ::String
138
+ attr_accessor object_checksum_algorithm: ("SUMMARY")
139
+ SENSITIVE: []
140
+ end
141
+
142
+ class PutChunkInput
143
+ attr_accessor backup_job_id: ::String
144
+ attr_accessor upload_id: ::String
145
+ attr_accessor chunk_index: ::Integer
146
+ attr_accessor data: ::IO
147
+ attr_accessor length: ::Integer
148
+ attr_accessor checksum: ::String
149
+ attr_accessor checksum_algorithm: ("SHA256")
150
+ SENSITIVE: []
151
+ end
152
+
153
+ class PutChunkOutput
154
+ attr_accessor chunk_checksum: ::String
155
+ attr_accessor chunk_checksum_algorithm: ("SHA256")
156
+ SENSITIVE: []
157
+ end
158
+
159
+ class PutObjectInput
160
+ attr_accessor backup_job_id: ::String
161
+ attr_accessor object_name: ::String
162
+ attr_accessor metadata_string: ::String
163
+ attr_accessor inline_chunk: ::IO
164
+ attr_accessor inline_chunk_length: ::Integer
165
+ attr_accessor inline_chunk_checksum: ::String
166
+ attr_accessor inline_chunk_checksum_algorithm: ::String
167
+ attr_accessor object_checksum: ::String
168
+ attr_accessor object_checksum_algorithm: ("SUMMARY")
169
+ attr_accessor throw_on_duplicate: bool
170
+ SENSITIVE: []
171
+ end
172
+
173
+ class PutObjectOutput
174
+ attr_accessor inline_chunk_checksum: ::String
175
+ attr_accessor inline_chunk_checksum_algorithm: ("SHA256")
176
+ attr_accessor object_checksum: ::String
177
+ attr_accessor object_checksum_algorithm: ("SUMMARY")
178
+ SENSITIVE: []
179
+ end
180
+
181
+ class ResourceNotFoundException
182
+ attr_accessor message: ::String
183
+ SENSITIVE: []
184
+ end
185
+
186
+ class RetryableException
187
+ attr_accessor message: ::String
188
+ SENSITIVE: []
189
+ end
190
+
191
+ class ServiceInternalException
192
+ attr_accessor message: ::String
193
+ SENSITIVE: []
194
+ end
195
+
196
+ class ServiceUnavailableException
197
+ attr_accessor message: ::String
198
+ SENSITIVE: []
199
+ end
200
+
201
+ class StartObjectInput
202
+ attr_accessor backup_job_id: ::String
203
+ attr_accessor object_name: ::String
204
+ attr_accessor throw_on_duplicate: bool
205
+ SENSITIVE: []
206
+ end
207
+
208
+ class StartObjectOutput
209
+ attr_accessor upload_id: ::String
210
+ SENSITIVE: []
211
+ end
212
+
213
+ class ThrottlingException
214
+ attr_accessor message: ::String
215
+ SENSITIVE: []
216
+ end
217
+ end
218
+ 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 BackupStorage
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-backupstorage
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0
4
+ version: 1.13.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-backupstorage/plugins/endpoints.rb
67
67
  - lib/aws-sdk-backupstorage/resource.rb
68
68
  - lib/aws-sdk-backupstorage/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-backupstorage
74
79
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-backupstorage/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 Backup Storage
94
99
  test_files: []