aws-sdk-glacier 1.58.0 → 1.60.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-glacier/client.rb +70 -46
- data/lib/aws-sdk-glacier/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-glacier.rb +1 -1
- data/sig/account.rbs +48 -0
- data/sig/archive.rbs +53 -0
- data/sig/client.rbs +564 -0
- data/sig/errors.rbs +56 -0
- data/sig/job.rbs +113 -0
- data/sig/multipart_upload.rbs +83 -0
- data/sig/notification.rbs +63 -0
- data/sig/resource.rbs +94 -0
- data/sig/types.rbs +600 -0
- data/sig/vault.rbs +137 -0
- data/sig/waiters.rbs +35 -0
- metadata +19 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8f2e0e6c0f75748d37018c3c899307a8a7d68e75f8b18c966c7b71f9eb32d52
|
4
|
+
data.tar.gz: f86f00ec5a44448f7ee4a0c1ee1766ec8d80c6c595f0091ebf3d3e7647f0885d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4fce4d3f081920a43b489b6c759267f932f6514cec70c0a4353164beb1502ee8dc03fdc45de8e211cfa726fce453160a9f2c23494135f2a578d90617ecaa3bc5
|
7
|
+
data.tar.gz: 9d7935799ad3091943adead613473e571ad1c73d5227bab4d11eafc03387e105a84223bb934ede480198d03de0b305d3d3b43b200575940a899d6b7b23ceb5b4
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.60.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.59.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.58.0 (2023-11-28)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.60.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'
|
@@ -75,6 +76,7 @@ module Aws::Glacier
|
|
75
76
|
add_plugin(Aws::Plugins::ResponsePaging)
|
76
77
|
add_plugin(Aws::Plugins::StubResponses)
|
77
78
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
79
|
+
add_plugin(Aws::Plugins::InvocationId)
|
78
80
|
add_plugin(Aws::Plugins::JsonvalueConverter)
|
79
81
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
80
82
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
@@ -207,10 +209,17 @@ module Aws::Glacier
|
|
207
209
|
# When set to 'true' the request body will not be compressed
|
208
210
|
# for supported operations.
|
209
211
|
#
|
210
|
-
# @option options [String] :endpoint
|
211
|
-
#
|
212
|
-
#
|
213
|
-
#
|
212
|
+
# @option options [String, URI::HTTPS, URI::HTTP] :endpoint
|
213
|
+
# Normally you should not configure the `:endpoint` option
|
214
|
+
# directly. This is normally constructed from the `:region`
|
215
|
+
# option. Configuring `:endpoint` is normally reserved for
|
216
|
+
# connecting to test or custom endpoints. The endpoint should
|
217
|
+
# be a URI formatted like:
|
218
|
+
#
|
219
|
+
# 'http://example.com'
|
220
|
+
# 'https://example.com'
|
221
|
+
# 'http://example.com:123'
|
222
|
+
#
|
214
223
|
#
|
215
224
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
216
225
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -348,50 +357,65 @@ module Aws::Glacier
|
|
348
357
|
# @option options [Aws::Glacier::EndpointProvider] :endpoint_provider
|
349
358
|
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::Glacier::EndpointParameters`
|
350
359
|
#
|
351
|
-
# @option options [
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
#
|
362
|
-
# @option options [Float] :
|
363
|
-
#
|
364
|
-
#
|
365
|
-
#
|
366
|
-
#
|
367
|
-
#
|
368
|
-
#
|
369
|
-
#
|
370
|
-
#
|
371
|
-
#
|
372
|
-
#
|
373
|
-
#
|
374
|
-
#
|
375
|
-
#
|
360
|
+
# @option options [Float] :http_continue_timeout (1)
|
361
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
362
|
+
# request body. This option has no effect unless the request has "Expect"
|
363
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
364
|
+
# behaviour. This value can safely be set per request on the session.
|
365
|
+
#
|
366
|
+
# @option options [Float] :http_idle_timeout (5)
|
367
|
+
# The number of seconds a connection is allowed to sit idle before it
|
368
|
+
# is considered stale. Stale connections are closed and removed from the
|
369
|
+
# pool before making a request.
|
370
|
+
#
|
371
|
+
# @option options [Float] :http_open_timeout (15)
|
372
|
+
# The default number of seconds to wait for response data.
|
373
|
+
# This value can safely be set per-request on the session.
|
374
|
+
#
|
375
|
+
# @option options [URI::HTTP,String] :http_proxy
|
376
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
377
|
+
#
|
378
|
+
# @option options [Float] :http_read_timeout (60)
|
379
|
+
# The default number of seconds to wait for response data.
|
380
|
+
# This value can safely be set per-request on the session.
|
381
|
+
#
|
382
|
+
# @option options [Boolean] :http_wire_trace (false)
|
383
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
384
|
+
#
|
385
|
+
# @option options [Proc] :on_chunk_received
|
386
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
387
|
+
# of the response body is received. It provides three arguments: the chunk,
|
388
|
+
# the number of bytes received, and the total number of
|
389
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
390
|
+
#
|
391
|
+
# @option options [Proc] :on_chunk_sent
|
392
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
393
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
394
|
+
# the number of bytes read from the body, and the total number of
|
395
|
+
# bytes in the body.
|
396
|
+
#
|
397
|
+
# @option options [Boolean] :raise_response_errors (true)
|
398
|
+
# When `true`, response errors are raised.
|
399
|
+
#
|
400
|
+
# @option options [String] :ssl_ca_bundle
|
401
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
402
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
403
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
404
|
+
#
|
405
|
+
# @option options [String] :ssl_ca_directory
|
406
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
407
|
+
# authority files for verifying peer certificates. If you do
|
408
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
409
|
+
# default will be used if available.
|
376
410
|
#
|
377
|
-
# @option options [
|
378
|
-
#
|
411
|
+
# @option options [String] :ssl_ca_store
|
412
|
+
# Sets the X509::Store to verify peer certificate.
|
379
413
|
#
|
380
|
-
# @option options [
|
381
|
-
#
|
382
|
-
# connection.
|
414
|
+
# @option options [Float] :ssl_timeout
|
415
|
+
# Sets the SSL timeout in seconds
|
383
416
|
#
|
384
|
-
# @option options [
|
385
|
-
#
|
386
|
-
# verifying peer certificates. If you do not pass
|
387
|
-
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
388
|
-
# will be used if available.
|
389
|
-
#
|
390
|
-
# @option options [String] :ssl_ca_directory Full path of the
|
391
|
-
# directory that contains the unbundled SSL certificate
|
392
|
-
# authority files for verifying peer certificates. If you do
|
393
|
-
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
394
|
-
# system default will be used if available.
|
417
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
418
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
395
419
|
#
|
396
420
|
def initialize(*args)
|
397
421
|
super
|
@@ -3439,7 +3463,7 @@ module Aws::Glacier
|
|
3439
3463
|
params: params,
|
3440
3464
|
config: config)
|
3441
3465
|
context[:gem_name] = 'aws-sdk-glacier'
|
3442
|
-
context[:gem_version] = '1.
|
3466
|
+
context[:gem_version] = '1.60.0'
|
3443
3467
|
Seahorse::Client::Request.new(handlers, context)
|
3444
3468
|
end
|
3445
3469
|
|
@@ -14,6 +14,7 @@ module Aws::Glacier
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::Glacier::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-glacier.rb
CHANGED
data/sig/account.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 Glacier
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Account.html
|
11
|
+
class Account
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Account.html#initialize-instance_method
|
13
|
+
def initialize: (String id, Hash[Symbol, untyped] options) -> void
|
14
|
+
| (id: String, ?client: Client) -> void
|
15
|
+
| (Hash[Symbol, untyped] args) -> void
|
16
|
+
|
17
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Account.html#id-instance_method
|
18
|
+
def id: () -> String
|
19
|
+
|
20
|
+
def client: () -> Client
|
21
|
+
|
22
|
+
|
23
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Account.html#data-instance_method
|
24
|
+
def data: () -> EmptyStructure
|
25
|
+
|
26
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Account.html#data_loaded?-instance_method
|
27
|
+
def data_loaded?: () -> bool
|
28
|
+
|
29
|
+
|
30
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Account.html#create_vault-instance_method
|
31
|
+
def create_vault: (
|
32
|
+
vault_name: ::String
|
33
|
+
) -> Vault
|
34
|
+
| (?Hash[Symbol, untyped]) -> Vault
|
35
|
+
|
36
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Account.html#vault-instance_method
|
37
|
+
def vault: (String name) -> Vault
|
38
|
+
|
39
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Account.html#vaults-instance_method
|
40
|
+
def vaults: (
|
41
|
+
) -> Vault::Collection
|
42
|
+
| (?Hash[Symbol, untyped]) -> Vault::Collection
|
43
|
+
|
44
|
+
class Collection < ::Aws::Resources::Collection[Account]
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
data/sig/archive.rbs
ADDED
@@ -0,0 +1,53 @@
|
|
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 Glacier
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Archive.html
|
11
|
+
class Archive
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Archive.html#initialize-instance_method
|
13
|
+
def initialize: (String account_id, String vault_name, String id, Hash[Symbol, untyped] options) -> void
|
14
|
+
| (account_id: String, vault_name: String, id: String, ?client: Client) -> void
|
15
|
+
| (Hash[Symbol, untyped] args) -> void
|
16
|
+
|
17
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Archive.html#account_id-instance_method
|
18
|
+
def account_id: () -> String
|
19
|
+
|
20
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Archive.html#vault_name-instance_method
|
21
|
+
def vault_name: () -> String
|
22
|
+
|
23
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Archive.html#id-instance_method
|
24
|
+
def id: () -> String
|
25
|
+
|
26
|
+
def client: () -> Client
|
27
|
+
|
28
|
+
|
29
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Archive.html#data-instance_method
|
30
|
+
def data: () -> EmptyStructure
|
31
|
+
|
32
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Archive.html#data_loaded?-instance_method
|
33
|
+
def data_loaded?: () -> bool
|
34
|
+
|
35
|
+
|
36
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Archive.html#delete-instance_method
|
37
|
+
def delete: (
|
38
|
+
) -> ::Aws::EmptyStructure
|
39
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
40
|
+
|
41
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Archive.html#initiate_archive_retrieval-instance_method
|
42
|
+
def initiate_archive_retrieval: (
|
43
|
+
) -> Job
|
44
|
+
| (?Hash[Symbol, untyped]) -> Job
|
45
|
+
|
46
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glacier/Archive.html#vault-instance_method
|
47
|
+
def vault: () -> Vault
|
48
|
+
|
49
|
+
class Collection < ::Aws::Resources::Collection[Archive]
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|