aws-sdk-glacier 1.12.0 → 1.13.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/lib/aws-sdk-glacier.rb +1 -1
- data/lib/aws-sdk-glacier/client.rb +93 -91
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 12a39d72dd6ef3c3d49cb046b1bff446463c9346
|
4
|
+
data.tar.gz: bf01803a4acc50556a1093199db00f0969ee923c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66c81300841d7fb9da372e55197280cd98de70a45d52585abc683955982f280a52b289a1fb1febc266e36b463654a0e9a5c40ad64e3bfe8e4f64c2a6494221f0
|
7
|
+
data.tar.gz: a0dfd9b8e622a5919482a57a9324a9fed102c1f9af5a7fb983257ce6653655f147ad359df625c4c993ef82828a5ea96cf4b4b0b91fe70612ab9478721cf37aae
|
data/lib/aws-sdk-glacier.rb
CHANGED
@@ -60,126 +60,128 @@ module Aws::Glacier
|
|
60
60
|
add_plugin(Aws::Glacier::Plugins::ApiVersion)
|
61
61
|
add_plugin(Aws::Glacier::Plugins::Checksums)
|
62
62
|
|
63
|
-
# @
|
64
|
-
#
|
65
|
-
#
|
63
|
+
# @overload initialize(options)
|
64
|
+
# @param [Hash] options
|
65
|
+
# @option options [required, Aws::CredentialProvider] :credentials
|
66
|
+
# Your AWS credentials. This can be an instance of any one of the
|
67
|
+
# following classes:
|
66
68
|
#
|
67
|
-
#
|
68
|
-
#
|
69
|
+
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
70
|
+
# credentials.
|
69
71
|
#
|
70
|
-
#
|
71
|
-
#
|
72
|
+
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
73
|
+
# from an EC2 IMDS on an EC2 instance.
|
72
74
|
#
|
73
|
-
#
|
74
|
-
#
|
75
|
+
# * `Aws::SharedCredentials` - Used for loading credentials from a
|
76
|
+
# shared file, such as `~/.aws/config`.
|
75
77
|
#
|
76
|
-
#
|
78
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
77
79
|
#
|
78
|
-
#
|
79
|
-
#
|
80
|
+
# When `:credentials` are not configured directly, the following
|
81
|
+
# locations will be searched for credentials:
|
80
82
|
#
|
81
|
-
#
|
82
|
-
#
|
83
|
-
#
|
84
|
-
#
|
85
|
-
#
|
86
|
-
#
|
87
|
-
#
|
88
|
-
#
|
89
|
-
#
|
83
|
+
# * `Aws.config[:credentials]`
|
84
|
+
# * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
|
85
|
+
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
86
|
+
# * `~/.aws/credentials`
|
87
|
+
# * `~/.aws/config`
|
88
|
+
# * EC2 IMDS instance profile - When used by default, the timeouts are
|
89
|
+
# very aggressive. Construct and pass an instance of
|
90
|
+
# `Aws::InstanceProfileCredentails` to enable retries and extended
|
91
|
+
# timeouts.
|
90
92
|
#
|
91
|
-
#
|
92
|
-
#
|
93
|
-
#
|
94
|
-
#
|
93
|
+
# @option options [required, String] :region
|
94
|
+
# The AWS region to connect to. The configured `:region` is
|
95
|
+
# used to determine the service `:endpoint`. When not passed,
|
96
|
+
# a default `:region` is search for in the following locations:
|
95
97
|
#
|
96
|
-
#
|
97
|
-
#
|
98
|
-
#
|
99
|
-
#
|
100
|
-
#
|
101
|
-
#
|
98
|
+
# * `Aws.config[:region]`
|
99
|
+
# * `ENV['AWS_REGION']`
|
100
|
+
# * `ENV['AMAZON_REGION']`
|
101
|
+
# * `ENV['AWS_DEFAULT_REGION']`
|
102
|
+
# * `~/.aws/credentials`
|
103
|
+
# * `~/.aws/config`
|
102
104
|
#
|
103
|
-
#
|
105
|
+
# @option options [String] :access_key_id
|
104
106
|
#
|
105
|
-
#
|
106
|
-
#
|
107
|
-
#
|
108
|
-
#
|
107
|
+
# @option options [String] :account_id ("-")
|
108
|
+
# The default Glacier AWS account ID to use for all glacier
|
109
|
+
# operations. The default value of `-` uses the account
|
110
|
+
# your `:credentials` belong to.
|
109
111
|
#
|
110
|
-
#
|
111
|
-
#
|
112
|
-
#
|
112
|
+
# @option options [Boolean] :client_side_monitoring (false)
|
113
|
+
# When `true`, client-side metrics will be collected for all API requests from
|
114
|
+
# this client.
|
113
115
|
#
|
114
|
-
#
|
115
|
-
#
|
116
|
-
#
|
116
|
+
# @option options [String] :client_side_monitoring_client_id ("")
|
117
|
+
# Allows you to provide an identifier for this client which will be attached to
|
118
|
+
# all generated client side metrics. Defaults to an empty string.
|
117
119
|
#
|
118
|
-
#
|
119
|
-
#
|
120
|
-
#
|
120
|
+
# @option options [Integer] :client_side_monitoring_port (31000)
|
121
|
+
# Required for publishing client metrics. The port that the client side monitoring
|
122
|
+
# agent is running on, where client metrics will be published via UDP.
|
121
123
|
#
|
122
|
-
#
|
123
|
-
#
|
124
|
-
#
|
124
|
+
# @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
|
125
|
+
# Allows you to provide a custom client-side monitoring publisher class. By default,
|
126
|
+
# will use the Client Side Monitoring Agent Publisher.
|
125
127
|
#
|
126
|
-
#
|
127
|
-
#
|
128
|
-
#
|
128
|
+
# @option options [Boolean] :convert_params (true)
|
129
|
+
# When `true`, an attempt is made to coerce request parameters into
|
130
|
+
# the required types.
|
129
131
|
#
|
130
|
-
#
|
131
|
-
#
|
132
|
-
#
|
133
|
-
#
|
132
|
+
# @option options [String] :endpoint
|
133
|
+
# The client endpoint is normally constructed from the `:region`
|
134
|
+
# option. You should only configure an `:endpoint` when connecting
|
135
|
+
# to test endpoints. This should be avalid HTTP(S) URI.
|
134
136
|
#
|
135
|
-
#
|
136
|
-
#
|
137
|
+
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
138
|
+
# The log formatter.
|
137
139
|
#
|
138
|
-
#
|
139
|
-
#
|
140
|
+
# @option options [Symbol] :log_level (:info)
|
141
|
+
# The log level to send messages to the `:logger` at.
|
140
142
|
#
|
141
|
-
#
|
142
|
-
#
|
143
|
-
#
|
143
|
+
# @option options [Logger] :logger
|
144
|
+
# The Logger instance to send log messages to. If this option
|
145
|
+
# is not set, logging will be disabled.
|
144
146
|
#
|
145
|
-
#
|
146
|
-
#
|
147
|
-
#
|
147
|
+
# @option options [String] :profile ("default")
|
148
|
+
# Used when loading credentials from the shared credentials file
|
149
|
+
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
148
150
|
#
|
149
|
-
#
|
150
|
-
#
|
151
|
+
# @option options [Float] :retry_base_delay (0.3)
|
152
|
+
# The base delay in seconds used by the default backoff function.
|
151
153
|
#
|
152
|
-
#
|
153
|
-
#
|
154
|
+
# @option options [Symbol] :retry_jitter (:none)
|
155
|
+
# A delay randomiser function used by the default backoff function. Some predefined functions can be referenced by name - :none, :equal, :full, otherwise a Proc that takes and returns a number.
|
154
156
|
#
|
155
|
-
#
|
157
|
+
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
156
158
|
#
|
157
|
-
#
|
158
|
-
#
|
159
|
-
#
|
160
|
-
#
|
161
|
-
#
|
162
|
-
#
|
159
|
+
# @option options [Integer] :retry_limit (3)
|
160
|
+
# The maximum number of times to retry failed requests. Only
|
161
|
+
# ~ 500 level server errors and certain ~ 400 level client errors
|
162
|
+
# are retried. Generally, these are throttling errors, data
|
163
|
+
# checksum errors, networking errors, timeout errors and auth
|
164
|
+
# errors from expired credentials.
|
163
165
|
#
|
164
|
-
#
|
165
|
-
#
|
166
|
+
# @option options [Integer] :retry_max_delay (0)
|
167
|
+
# The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
|
166
168
|
#
|
167
|
-
#
|
169
|
+
# @option options [String] :secret_access_key
|
168
170
|
#
|
169
|
-
#
|
171
|
+
# @option options [String] :session_token
|
170
172
|
#
|
171
|
-
#
|
172
|
-
#
|
173
|
-
#
|
174
|
-
#
|
175
|
-
#
|
173
|
+
# @option options [Boolean] :stub_responses (false)
|
174
|
+
# Causes the client to return stubbed responses. By default
|
175
|
+
# fake responses are generated and returned. You can specify
|
176
|
+
# the response data to return or errors to raise by calling
|
177
|
+
# {ClientStubs#stub_responses}. See {ClientStubs} for more information.
|
176
178
|
#
|
177
|
-
#
|
178
|
-
#
|
179
|
+
# ** Please note ** When response stubbing is enabled, no HTTP
|
180
|
+
# requests are made, and retries are disabled.
|
179
181
|
#
|
180
|
-
#
|
181
|
-
#
|
182
|
-
#
|
182
|
+
# @option options [Boolean] :validate_params (true)
|
183
|
+
# When `true`, request parameters are validated before
|
184
|
+
# sending the request.
|
183
185
|
#
|
184
186
|
def initialize(*args)
|
185
187
|
super
|
@@ -3210,7 +3212,7 @@ module Aws::Glacier
|
|
3210
3212
|
params: params,
|
3211
3213
|
config: config)
|
3212
3214
|
context[:gem_name] = 'aws-sdk-glacier'
|
3213
|
-
context[:gem_version] = '1.
|
3215
|
+
context[:gem_version] = '1.13.0'
|
3214
3216
|
Seahorse::Client::Request.new(handlers, context)
|
3215
3217
|
end
|
3216
3218
|
|
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.13.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: 2018-10-
|
11
|
+
date: 2018-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|