aws-sdk-storagegateway 1.11.0 → 1.12.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-storagegateway.rb +1 -1
- data/lib/aws-sdk-storagegateway/client.rb +99 -97
- 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: a4d6e8e228ede3f20a0e262f837b85d93e5f0d4e
|
4
|
+
data.tar.gz: 46bdff5b99ad2b3e64822cad01aeb6a0c02feebf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f83c051f54bd20bb4cf02cc03ea32792663275b69f56c91a72a0d794b0bb696dc49bdbe7297aa5b155ce9b09fa94017ed64a511632d08975e5cfd685a8bee6c4
|
7
|
+
data.tar.gz: ef7747215566251b2e0aaad96e43f5d451449f1d2c93fb43f20adb32ac849efc1cc9efb0d69c6e2ea31f938acdfaa6cca8cf8805d2b4329aabfb3dac286fca7b
|
@@ -54,131 +54,133 @@ module Aws::StorageGateway
|
|
54
54
|
add_plugin(Aws::Plugins::SignatureV4)
|
55
55
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
56
56
|
|
57
|
-
# @
|
58
|
-
#
|
59
|
-
#
|
57
|
+
# @overload initialize(options)
|
58
|
+
# @param [Hash] options
|
59
|
+
# @option options [required, Aws::CredentialProvider] :credentials
|
60
|
+
# Your AWS credentials. This can be an instance of any one of the
|
61
|
+
# following classes:
|
60
62
|
#
|
61
|
-
#
|
62
|
-
#
|
63
|
+
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
64
|
+
# credentials.
|
63
65
|
#
|
64
|
-
#
|
65
|
-
#
|
66
|
+
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
67
|
+
# from an EC2 IMDS on an EC2 instance.
|
66
68
|
#
|
67
|
-
#
|
68
|
-
#
|
69
|
+
# * `Aws::SharedCredentials` - Used for loading credentials from a
|
70
|
+
# shared file, such as `~/.aws/config`.
|
69
71
|
#
|
70
|
-
#
|
72
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
71
73
|
#
|
72
|
-
#
|
73
|
-
#
|
74
|
+
# When `:credentials` are not configured directly, the following
|
75
|
+
# locations will be searched for credentials:
|
76
|
+
#
|
77
|
+
# * `Aws.config[:credentials]`
|
78
|
+
# * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
|
79
|
+
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
80
|
+
# * `~/.aws/credentials`
|
81
|
+
# * `~/.aws/config`
|
82
|
+
# * EC2 IMDS instance profile - When used by default, the timeouts are
|
83
|
+
# very aggressive. Construct and pass an instance of
|
84
|
+
# `Aws::InstanceProfileCredentails` to enable retries and extended
|
85
|
+
# timeouts.
|
74
86
|
#
|
75
|
-
#
|
76
|
-
#
|
77
|
-
#
|
78
|
-
#
|
79
|
-
# * `~/.aws/config`
|
80
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts are
|
81
|
-
# very aggressive. Construct and pass an instance of
|
82
|
-
# `Aws::InstanceProfileCredentails` to enable retries and extended
|
83
|
-
# timeouts.
|
87
|
+
# @option options [required, String] :region
|
88
|
+
# The AWS region to connect to. The configured `:region` is
|
89
|
+
# used to determine the service `:endpoint`. When not passed,
|
90
|
+
# a default `:region` is search for in the following locations:
|
84
91
|
#
|
85
|
-
#
|
86
|
-
#
|
87
|
-
#
|
88
|
-
#
|
92
|
+
# * `Aws.config[:region]`
|
93
|
+
# * `ENV['AWS_REGION']`
|
94
|
+
# * `ENV['AMAZON_REGION']`
|
95
|
+
# * `ENV['AWS_DEFAULT_REGION']`
|
96
|
+
# * `~/.aws/credentials`
|
97
|
+
# * `~/.aws/config`
|
89
98
|
#
|
90
|
-
#
|
91
|
-
# * `ENV['AWS_REGION']`
|
92
|
-
# * `ENV['AMAZON_REGION']`
|
93
|
-
# * `ENV['AWS_DEFAULT_REGION']`
|
94
|
-
# * `~/.aws/credentials`
|
95
|
-
# * `~/.aws/config`
|
99
|
+
# @option options [String] :access_key_id
|
96
100
|
#
|
97
|
-
#
|
101
|
+
# @option options [Boolean] :client_side_monitoring (false)
|
102
|
+
# When `true`, client-side metrics will be collected for all API requests from
|
103
|
+
# this client.
|
98
104
|
#
|
99
|
-
#
|
100
|
-
#
|
101
|
-
#
|
105
|
+
# @option options [String] :client_side_monitoring_client_id ("")
|
106
|
+
# Allows you to provide an identifier for this client which will be attached to
|
107
|
+
# all generated client side metrics. Defaults to an empty string.
|
102
108
|
#
|
103
|
-
#
|
104
|
-
#
|
105
|
-
#
|
109
|
+
# @option options [Integer] :client_side_monitoring_port (31000)
|
110
|
+
# Required for publishing client metrics. The port that the client side monitoring
|
111
|
+
# agent is running on, where client metrics will be published via UDP.
|
106
112
|
#
|
107
|
-
#
|
108
|
-
#
|
109
|
-
#
|
113
|
+
# @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
|
114
|
+
# Allows you to provide a custom client-side monitoring publisher class. By default,
|
115
|
+
# will use the Client Side Monitoring Agent Publisher.
|
110
116
|
#
|
111
|
-
#
|
112
|
-
#
|
113
|
-
#
|
117
|
+
# @option options [Boolean] :convert_params (true)
|
118
|
+
# When `true`, an attempt is made to coerce request parameters into
|
119
|
+
# the required types.
|
114
120
|
#
|
115
|
-
#
|
116
|
-
#
|
117
|
-
#
|
121
|
+
# @option options [String] :endpoint
|
122
|
+
# The client endpoint is normally constructed from the `:region`
|
123
|
+
# option. You should only configure an `:endpoint` when connecting
|
124
|
+
# to test endpoints. This should be avalid HTTP(S) URI.
|
118
125
|
#
|
119
|
-
#
|
120
|
-
#
|
121
|
-
# option. You should only configure an `:endpoint` when connecting
|
122
|
-
# to test endpoints. This should be avalid HTTP(S) URI.
|
126
|
+
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
127
|
+
# The log formatter.
|
123
128
|
#
|
124
|
-
#
|
125
|
-
#
|
129
|
+
# @option options [Symbol] :log_level (:info)
|
130
|
+
# The log level to send messages to the `:logger` at.
|
126
131
|
#
|
127
|
-
#
|
128
|
-
#
|
132
|
+
# @option options [Logger] :logger
|
133
|
+
# The Logger instance to send log messages to. If this option
|
134
|
+
# is not set, logging will be disabled.
|
129
135
|
#
|
130
|
-
#
|
131
|
-
#
|
132
|
-
#
|
136
|
+
# @option options [String] :profile ("default")
|
137
|
+
# Used when loading credentials from the shared credentials file
|
138
|
+
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
133
139
|
#
|
134
|
-
#
|
135
|
-
#
|
136
|
-
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
140
|
+
# @option options [Float] :retry_base_delay (0.3)
|
141
|
+
# The base delay in seconds used by the default backoff function.
|
137
142
|
#
|
138
|
-
#
|
139
|
-
#
|
143
|
+
# @option options [Symbol] :retry_jitter (:none)
|
144
|
+
# 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.
|
140
145
|
#
|
141
|
-
#
|
142
|
-
# 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.
|
146
|
+
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
143
147
|
#
|
144
|
-
# @
|
148
|
+
# @option options [Integer] :retry_limit (3)
|
149
|
+
# The maximum number of times to retry failed requests. Only
|
150
|
+
# ~ 500 level server errors and certain ~ 400 level client errors
|
151
|
+
# are retried. Generally, these are throttling errors, data
|
152
|
+
# checksum errors, networking errors, timeout errors and auth
|
153
|
+
# errors from expired credentials.
|
145
154
|
#
|
146
|
-
#
|
147
|
-
#
|
148
|
-
# ~ 500 level server errors and certain ~ 400 level client errors
|
149
|
-
# are retried. Generally, these are throttling errors, data
|
150
|
-
# checksum errors, networking errors, timeout errors and auth
|
151
|
-
# errors from expired credentials.
|
155
|
+
# @option options [Integer] :retry_max_delay (0)
|
156
|
+
# The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
|
152
157
|
#
|
153
|
-
#
|
154
|
-
# The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
|
158
|
+
# @option options [String] :secret_access_key
|
155
159
|
#
|
156
|
-
#
|
160
|
+
# @option options [String] :session_token
|
157
161
|
#
|
158
|
-
#
|
162
|
+
# @option options [Boolean] :simple_json (false)
|
163
|
+
# Disables request parameter conversion, validation, and formatting.
|
164
|
+
# Also disable response data type conversions. This option is useful
|
165
|
+
# when you want to ensure the highest level of performance by
|
166
|
+
# avoiding overhead of walking request parameters and response data
|
167
|
+
# structures.
|
159
168
|
#
|
160
|
-
#
|
161
|
-
#
|
162
|
-
# Also disable response data type conversions. This option is useful
|
163
|
-
# when you want to ensure the highest level of performance by
|
164
|
-
# avoiding overhead of walking request parameters and response data
|
165
|
-
# structures.
|
169
|
+
# When `:simple_json` is enabled, the request parameters hash must
|
170
|
+
# be formatted exactly as the DynamoDB API expects.
|
166
171
|
#
|
167
|
-
#
|
168
|
-
#
|
172
|
+
# @option options [Boolean] :stub_responses (false)
|
173
|
+
# Causes the client to return stubbed responses. By default
|
174
|
+
# fake responses are generated and returned. You can specify
|
175
|
+
# the response data to return or errors to raise by calling
|
176
|
+
# {ClientStubs#stub_responses}. See {ClientStubs} for more information.
|
177
|
+
#
|
178
|
+
# ** Please note ** When response stubbing is enabled, no HTTP
|
179
|
+
# requests are made, and retries are disabled.
|
169
180
|
#
|
170
|
-
#
|
171
|
-
#
|
172
|
-
#
|
173
|
-
# the response data to return or errors to raise by calling
|
174
|
-
# {ClientStubs#stub_responses}. See {ClientStubs} for more information.
|
175
|
-
#
|
176
|
-
# ** Please note ** When response stubbing is enabled, no HTTP
|
177
|
-
# requests are made, and retries are disabled.
|
178
|
-
#
|
179
|
-
# @option options [Boolean] :validate_params (true)
|
180
|
-
# When `true`, request parameters are validated before
|
181
|
-
# sending the request.
|
181
|
+
# @option options [Boolean] :validate_params (true)
|
182
|
+
# When `true`, request parameters are validated before
|
183
|
+
# sending the request.
|
182
184
|
#
|
183
185
|
def initialize(*args)
|
184
186
|
super
|
@@ -5057,7 +5059,7 @@ module Aws::StorageGateway
|
|
5057
5059
|
params: params,
|
5058
5060
|
config: config)
|
5059
5061
|
context[:gem_name] = 'aws-sdk-storagegateway'
|
5060
|
-
context[:gem_version] = '1.
|
5062
|
+
context[:gem_version] = '1.12.0'
|
5061
5063
|
Seahorse::Client::Request.new(handlers, context)
|
5062
5064
|
end
|
5063
5065
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-storagegateway
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.12.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
|