aws-sdk-shield 1.8.0 → 1.9.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-shield.rb +1 -1
- data/lib/aws-sdk-shield/client.rb +28 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 47d63b5a205f3a4682f4d3837443b8dabe673354
|
4
|
+
data.tar.gz: b77b97f383853e8e5a5dbd9b4512733eb55fdea9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '081386c211474cc9d115c59507f10f04c18e0e579c5f0ac3d9ff60a6d312dd8bc33ceec1b45cbc2cca73017244939edb2f2e9c79c7b870eccd1208aaedee836c'
|
7
|
+
data.tar.gz: df83ae548f5b2a707c43e310a80f1d09cce9c66aa8130f3764a8b7635827c2944c76ee6bff2bea086c6d39b3c46e4cca61d5a313e9e6ab04a8d3c6a5131cb3da
|
data/lib/aws-sdk-shield.rb
CHANGED
@@ -15,6 +15,8 @@ require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
|
|
15
15
|
require 'aws-sdk-core/plugins/retry_errors.rb'
|
16
16
|
require 'aws-sdk-core/plugins/global_configuration.rb'
|
17
17
|
require 'aws-sdk-core/plugins/regional_endpoint.rb'
|
18
|
+
require 'aws-sdk-core/plugins/endpoint_discovery.rb'
|
19
|
+
require 'aws-sdk-core/plugins/endpoint_pattern.rb'
|
18
20
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
19
21
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
20
22
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
@@ -45,6 +47,8 @@ module Aws::Shield
|
|
45
47
|
add_plugin(Aws::Plugins::RetryErrors)
|
46
48
|
add_plugin(Aws::Plugins::GlobalConfiguration)
|
47
49
|
add_plugin(Aws::Plugins::RegionalEndpoint)
|
50
|
+
add_plugin(Aws::Plugins::EndpointDiscovery)
|
51
|
+
add_plugin(Aws::Plugins::EndpointPattern)
|
48
52
|
add_plugin(Aws::Plugins::ResponsePaging)
|
49
53
|
add_plugin(Aws::Plugins::StubResponses)
|
50
54
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
@@ -98,6 +102,10 @@ module Aws::Shield
|
|
98
102
|
#
|
99
103
|
# @option options [String] :access_key_id
|
100
104
|
#
|
105
|
+
# @option options [Boolean] :active_endpoint_cache (false)
|
106
|
+
# When set to `true`, a thread polling for endpoints will be running in
|
107
|
+
# the background every 60 secs (default). Defaults to `false`.
|
108
|
+
#
|
101
109
|
# @option options [Boolean] :client_side_monitoring (false)
|
102
110
|
# When `true`, client-side metrics will be collected for all API requests from
|
103
111
|
# this client.
|
@@ -118,11 +126,30 @@ module Aws::Shield
|
|
118
126
|
# When `true`, an attempt is made to coerce request parameters into
|
119
127
|
# the required types.
|
120
128
|
#
|
129
|
+
# @option options [Boolean] :disable_host_prefix_injection (false)
|
130
|
+
# Set to true to disable SDK automatically adding host prefix
|
131
|
+
# to default service endpoint when available.
|
132
|
+
#
|
121
133
|
# @option options [String] :endpoint
|
122
134
|
# The client endpoint is normally constructed from the `:region`
|
123
135
|
# option. You should only configure an `:endpoint` when connecting
|
124
136
|
# to test endpoints. This should be avalid HTTP(S) URI.
|
125
137
|
#
|
138
|
+
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
139
|
+
# Used for the maximum size limit of the LRU cache storing endpoints data
|
140
|
+
# for endpoint discovery enabled operations. Defaults to 1000.
|
141
|
+
#
|
142
|
+
# @option options [Integer] :endpoint_cache_max_threads (10)
|
143
|
+
# Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
|
144
|
+
#
|
145
|
+
# @option options [Integer] :endpoint_cache_poll_interval (60)
|
146
|
+
# When :endpoint_discovery and :active_endpoint_cache is enabled,
|
147
|
+
# Use this option to config the time interval in seconds for making
|
148
|
+
# requests fetching endpoints information. Defaults to 60 sec.
|
149
|
+
#
|
150
|
+
# @option options [Boolean] :endpoint_discovery (false)
|
151
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
|
152
|
+
#
|
126
153
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
127
154
|
# The log formatter.
|
128
155
|
#
|
@@ -866,7 +893,7 @@ module Aws::Shield
|
|
866
893
|
params: params,
|
867
894
|
config: config)
|
868
895
|
context[:gem_name] = 'aws-sdk-shield'
|
869
|
-
context[:gem_version] = '1.
|
896
|
+
context[:gem_version] = '1.9.0'
|
870
897
|
Seahorse::Client::Request.new(handlers, context)
|
871
898
|
end
|
872
899
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-shield
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.9.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-
|
11
|
+
date: 2018-11-20 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.39.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.39.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|