aws-sdk-glacier 1.32.0 → 1.33.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 +2 -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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 828711713e8e32057e6da6f29ca0bf34567c592fec01a2a3e673a569d93cc9f7
|
4
|
+
data.tar.gz: 75a3bb82c309da7f463eb46d618fb1e664ab3340e8c73cf1613ef51d53efff22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3995accdb431dcbc60c2b42c0352c3c4430d17ab3297d83be5b7a5242332c39e12162d098394a8955459a64e9ad5e50fbb1f4c2c8ecca2cc738549afc4a2e6b5
|
7
|
+
data.tar.gz: 7bdcdc6b41fbe5b261fe058b57fc795fdb056224cef19a2ddfaa2062b22bb889bff8c8800dc15fe7b0c6ea82579923b1c3e2528d553299f78f7dda4f535ed864
|
data/lib/aws-sdk-glacier.rb
CHANGED
@@ -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.33.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.33.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: 2020-
|
11
|
+
date: 2020-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|