aws-sdk-dlm 1.5.0 → 1.6.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-dlm.rb +1 -1
- data/lib/aws-sdk-dlm/client.rb +25 -1
- data/lib/aws-sdk-dlm/client_api.rb +2 -0
- data/lib/aws-sdk-dlm/types.rb +8 -0
- 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: 7e3e2e9f41eb609f275645464522d96b87992bfa
|
4
|
+
data.tar.gz: 168c6ac88810305819f982de6cf3f2d924066b09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13af2f43e60253c8659397e87a0a54153b54df480ebd37bd048ef27ce17235e1e9c24e4564167d99d964cc31f212e5ccbe8c9142d9d213f1ceb0cae3031fcc90
|
7
|
+
data.tar.gz: fa95f82f7977c00e487f9a8a0ea33d33c6d51fba3606a744a04795edff69691a29334c66ea54c92207efea635568f6424743ed93fcd68b04439c3d98c8aa06da
|
data/lib/aws-sdk-dlm.rb
CHANGED
data/lib/aws-sdk-dlm/client.rb
CHANGED
@@ -15,6 +15,7 @@ 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'
|
18
19
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
19
20
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
20
21
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
@@ -45,6 +46,7 @@ module Aws::DLM
|
|
45
46
|
add_plugin(Aws::Plugins::RetryErrors)
|
46
47
|
add_plugin(Aws::Plugins::GlobalConfiguration)
|
47
48
|
add_plugin(Aws::Plugins::RegionalEndpoint)
|
49
|
+
add_plugin(Aws::Plugins::EndpointDiscovery)
|
48
50
|
add_plugin(Aws::Plugins::ResponsePaging)
|
49
51
|
add_plugin(Aws::Plugins::StubResponses)
|
50
52
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
@@ -98,6 +100,10 @@ module Aws::DLM
|
|
98
100
|
#
|
99
101
|
# @option options [String] :access_key_id
|
100
102
|
#
|
103
|
+
# @option options [Boolean] :active_endpoint_cache (false)
|
104
|
+
# When set to `true`, a thread polling for endpoints will be running in
|
105
|
+
# the background every 60 secs (default). Defaults to `false`.
|
106
|
+
#
|
101
107
|
# @option options [Boolean] :client_side_monitoring (false)
|
102
108
|
# When `true`, client-side metrics will be collected for all API requests from
|
103
109
|
# this client.
|
@@ -123,6 +129,21 @@ module Aws::DLM
|
|
123
129
|
# option. You should only configure an `:endpoint` when connecting
|
124
130
|
# to test endpoints. This should be avalid HTTP(S) URI.
|
125
131
|
#
|
132
|
+
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
133
|
+
# Used for the maximum size limit of the LRU cache storing endpoints data
|
134
|
+
# for endpoint discovery enabled operations. Defaults to 1000.
|
135
|
+
#
|
136
|
+
# @option options [Integer] :endpoint_cache_max_threads (10)
|
137
|
+
# Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
|
138
|
+
#
|
139
|
+
# @option options [Integer] :endpoint_cache_poll_interval (60)
|
140
|
+
# When :endpoint_discovery and :active_endpoint_cache is enabled,
|
141
|
+
# Use this option to config the time interval in seconds for making
|
142
|
+
# requests fetching endpoints information. Defaults to 60 sec.
|
143
|
+
#
|
144
|
+
# @option options [Boolean] :endpoint_discovery (false)
|
145
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
|
146
|
+
#
|
126
147
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
127
148
|
# The log formatter.
|
128
149
|
#
|
@@ -218,6 +239,7 @@ module Aws::DLM
|
|
218
239
|
# schedules: [
|
219
240
|
# {
|
220
241
|
# name: "ScheduleName",
|
242
|
+
# copy_tags: false,
|
221
243
|
# tags_to_add: [
|
222
244
|
# {
|
223
245
|
# key: "String", # required
|
@@ -360,6 +382,7 @@ module Aws::DLM
|
|
360
382
|
# resp.policy.policy_details.target_tags[0].value #=> String
|
361
383
|
# resp.policy.policy_details.schedules #=> Array
|
362
384
|
# resp.policy.policy_details.schedules[0].name #=> String
|
385
|
+
# resp.policy.policy_details.schedules[0].copy_tags #=> Boolean
|
363
386
|
# resp.policy.policy_details.schedules[0].tags_to_add #=> Array
|
364
387
|
# resp.policy.policy_details.schedules[0].tags_to_add[0].key #=> String
|
365
388
|
# resp.policy.policy_details.schedules[0].tags_to_add[0].value #=> String
|
@@ -418,6 +441,7 @@ module Aws::DLM
|
|
418
441
|
# schedules: [
|
419
442
|
# {
|
420
443
|
# name: "ScheduleName",
|
444
|
+
# copy_tags: false,
|
421
445
|
# tags_to_add: [
|
422
446
|
# {
|
423
447
|
# key: "String", # required
|
@@ -459,7 +483,7 @@ module Aws::DLM
|
|
459
483
|
params: params,
|
460
484
|
config: config)
|
461
485
|
context[:gem_name] = 'aws-sdk-dlm'
|
462
|
-
context[:gem_version] = '1.
|
486
|
+
context[:gem_version] = '1.6.0'
|
463
487
|
Seahorse::Client::Request.new(handlers, context)
|
464
488
|
end
|
465
489
|
|
@@ -11,6 +11,7 @@ module Aws::DLM
|
|
11
11
|
|
12
12
|
include Seahorse::Model
|
13
13
|
|
14
|
+
CopyTags = Shapes::BooleanShape.new(name: 'CopyTags')
|
14
15
|
Count = Shapes::IntegerShape.new(name: 'Count')
|
15
16
|
CreateLifecyclePolicyRequest = Shapes::StructureShape.new(name: 'CreateLifecyclePolicyRequest')
|
16
17
|
CreateLifecyclePolicyResponse = Shapes::StructureShape.new(name: 'CreateLifecyclePolicyResponse')
|
@@ -126,6 +127,7 @@ module Aws::DLM
|
|
126
127
|
RetainRule.struct_class = Types::RetainRule
|
127
128
|
|
128
129
|
Schedule.add_member(:name, Shapes::ShapeRef.new(shape: ScheduleName, location_name: "Name"))
|
130
|
+
Schedule.add_member(:copy_tags, Shapes::ShapeRef.new(shape: CopyTags, location_name: "CopyTags"))
|
129
131
|
Schedule.add_member(:tags_to_add, Shapes::ShapeRef.new(shape: TagsToAddList, location_name: "TagsToAdd"))
|
130
132
|
Schedule.add_member(:create_rule, Shapes::ShapeRef.new(shape: CreateRule, location_name: "CreateRule"))
|
131
133
|
Schedule.add_member(:retain_rule, Shapes::ShapeRef.new(shape: RetainRule, location_name: "RetainRule"))
|
data/lib/aws-sdk-dlm/types.rb
CHANGED
@@ -26,6 +26,7 @@ module Aws::DLM
|
|
26
26
|
# schedules: [
|
27
27
|
# {
|
28
28
|
# name: "ScheduleName",
|
29
|
+
# copy_tags: false,
|
29
30
|
# tags_to_add: [
|
30
31
|
# {
|
31
32
|
# key: "String", # required
|
@@ -315,6 +316,7 @@ module Aws::DLM
|
|
315
316
|
# schedules: [
|
316
317
|
# {
|
317
318
|
# name: "ScheduleName",
|
319
|
+
# copy_tags: false,
|
318
320
|
# tags_to_add: [
|
319
321
|
# {
|
320
322
|
# key: "String", # required
|
@@ -382,6 +384,7 @@ module Aws::DLM
|
|
382
384
|
#
|
383
385
|
# {
|
384
386
|
# name: "ScheduleName",
|
387
|
+
# copy_tags: false,
|
385
388
|
# tags_to_add: [
|
386
389
|
# {
|
387
390
|
# key: "String", # required
|
@@ -402,6 +405,9 @@ module Aws::DLM
|
|
402
405
|
# The name of the schedule.
|
403
406
|
# @return [String]
|
404
407
|
#
|
408
|
+
# @!attribute [rw] copy_tags
|
409
|
+
# @return [Boolean]
|
410
|
+
#
|
405
411
|
# @!attribute [rw] tags_to_add
|
406
412
|
# The tags to apply to policy-created resources. These user-defined
|
407
413
|
# tags are in addition to the AWS-added lifecycle tags.
|
@@ -419,6 +425,7 @@ module Aws::DLM
|
|
419
425
|
#
|
420
426
|
class Schedule < Struct.new(
|
421
427
|
:name,
|
428
|
+
:copy_tags,
|
422
429
|
:tags_to_add,
|
423
430
|
:create_rule,
|
424
431
|
:retain_rule)
|
@@ -470,6 +477,7 @@ module Aws::DLM
|
|
470
477
|
# schedules: [
|
471
478
|
# {
|
472
479
|
# name: "ScheduleName",
|
480
|
+
# copy_tags: false,
|
473
481
|
# tags_to_add: [
|
474
482
|
# {
|
475
483
|
# key: "String", # required
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-dlm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.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-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|