aws-sdk-glacier 1.31.0 → 1.36.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-glacier.rb +3 -2
- data/lib/aws-sdk-glacier/client.rb +25 -10
- data/lib/aws-sdk-glacier/multipart_upload.rb +1 -1
- data/lib/aws-sdk-glacier/vault.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ebb61d563b607c186995e85e778699f2229a4b18e26c1426cdd5b1da046cfe66
|
4
|
+
data.tar.gz: 4b7470e92246c1df039890d3d730da1cba63c40198d7aefae8b1c375ac0b7d5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64a32096b9a56800a9dedc57b85655b69661a82d5be47d2de7b2e8062052e2947bd4f3c00949176890d1b989dff2a06d1aa0a8690cdd9b38ff7ab5af11f2905e
|
7
|
+
data.tar.gz: b1d3ce606344b045bd4f952480ec67b0de1c4f6a6a1fd577353ad421b7a05476a4f4a4ea8b44e6fd8cf8a53831191036148188ec4092c551733926616d48ec62
|
data/lib/aws-sdk-glacier.rb
CHANGED
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -51,9 +52,9 @@ require_relative 'aws-sdk-glacier/customizations'
|
|
51
52
|
#
|
52
53
|
# See {Errors} for more information.
|
53
54
|
#
|
54
|
-
#
|
55
|
+
# @!group service
|
55
56
|
module Aws::Glacier
|
56
57
|
|
57
|
-
GEM_VERSION = '1.
|
58
|
+
GEM_VERSION = '1.36.0'
|
58
59
|
|
59
60
|
end
|
@@ -91,13 +91,28 @@ module Aws::Glacier
|
|
91
91
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
92
92
|
# credentials.
|
93
93
|
#
|
94
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
95
|
+
# shared file, such as `~/.aws/config`.
|
96
|
+
#
|
97
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
98
|
+
#
|
99
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
100
|
+
# assume a role after providing credentials via the web.
|
101
|
+
#
|
102
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
103
|
+
# access token generated from `aws login`.
|
104
|
+
#
|
105
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
106
|
+
# process that outputs to stdout.
|
107
|
+
#
|
94
108
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
95
109
|
# from an EC2 IMDS on an EC2 instance.
|
96
110
|
#
|
97
|
-
# * `Aws::
|
98
|
-
#
|
111
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
112
|
+
# instances running in ECS.
|
99
113
|
#
|
100
|
-
# * `Aws::
|
114
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
115
|
+
# from the Cognito Identity service.
|
101
116
|
#
|
102
117
|
# When `:credentials` are not configured directly, the following
|
103
118
|
# locations will be searched for credentials:
|
@@ -107,10 +122,10 @@ module Aws::Glacier
|
|
107
122
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
108
123
|
# * `~/.aws/credentials`
|
109
124
|
# * `~/.aws/config`
|
110
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
111
|
-
# very aggressive. Construct and pass an instance of
|
112
|
-
# `Aws::InstanceProfileCredentails`
|
113
|
-
# timeouts.
|
125
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
126
|
+
# are very aggressive. Construct and pass an instance of
|
127
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
128
|
+
# enable retries and extended timeouts.
|
114
129
|
#
|
115
130
|
# @option options [required, String] :region
|
116
131
|
# The AWS region to connect to. The configured `:region` is
|
@@ -3171,7 +3186,7 @@ module Aws::Glacier
|
|
3171
3186
|
# @option params [String] :checksum
|
3172
3187
|
# The SHA256 tree hash of the data being uploaded.
|
3173
3188
|
#
|
3174
|
-
# @option params [String,
|
3189
|
+
# @option params [String, StringIO, File] :body
|
3175
3190
|
# The data to upload.
|
3176
3191
|
#
|
3177
3192
|
# @return [Types::ArchiveCreationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -3302,7 +3317,7 @@ module Aws::Glacier
|
|
3302
3317
|
# follows RFC 2616. An example header is Content-Range:bytes
|
3303
3318
|
# 0-4194303/*.
|
3304
3319
|
#
|
3305
|
-
# @option params [String,
|
3320
|
+
# @option params [String, StringIO, File] :body
|
3306
3321
|
# The data to upload.
|
3307
3322
|
#
|
3308
3323
|
# @return [Types::UploadMultipartPartOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -3363,7 +3378,7 @@ module Aws::Glacier
|
|
3363
3378
|
params: params,
|
3364
3379
|
config: config)
|
3365
3380
|
context[:gem_name] = 'aws-sdk-glacier'
|
3366
|
-
context[:gem_version] = '1.
|
3381
|
+
context[:gem_version] = '1.36.0'
|
3367
3382
|
Seahorse::Client::Request.new(handlers, context)
|
3368
3383
|
end
|
3369
3384
|
|
@@ -293,7 +293,7 @@ module Aws::Glacier
|
|
293
293
|
# assemble the archive in the proper sequence. The format of this header
|
294
294
|
# follows RFC 2616. An example header is Content-Range:bytes
|
295
295
|
# 0-4194303/*.
|
296
|
-
# @option options [String,
|
296
|
+
# @option options [String, StringIO, File] :body
|
297
297
|
# The data to upload.
|
298
298
|
# @return [Types::UploadMultipartPartOutput]
|
299
299
|
def upload_part(options = {})
|
@@ -312,7 +312,7 @@ module Aws::Glacier
|
|
312
312
|
# The optional description of the archive you are uploading.
|
313
313
|
# @option options [String] :checksum
|
314
314
|
# The SHA256 tree hash of the data being uploaded.
|
315
|
-
# @option options [String,
|
315
|
+
# @option options [String, StringIO, File] :body
|
316
316
|
# The data to upload.
|
317
317
|
# @return [Archive]
|
318
318
|
def upload_archive(options = {})
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-glacier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.36.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-02 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.
|
22
|
+
version: 3.112.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.
|
32
|
+
version: 3.112.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|