aws-sdk-dlm 1.21.0 → 1.22.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-dlm.rb +1 -1
- data/lib/aws-sdk-dlm/client.rb +17 -5
- data/lib/aws-sdk-dlm/client_api.rb +7 -2
- data/lib/aws-sdk-dlm/types.rb +61 -16
- 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: 8e96d9c14d0746124ca213572889e7f4e6bee5cb
|
4
|
+
data.tar.gz: e3bc166d1d6986062fb0947ff92ccfdc9f689162
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9c59c44f504911868240e0f9a7135c9d0f622a8b22b52504d1fd61bb106e20267aa4fd6e1cc866c30c381a6e173d31cfd38fcf9975e27e46a3c61e803d30c80
|
7
|
+
data.tar.gz: a84dbd3d9ee7ae5c0bebd70453a41f5d4a8dd00108e67e31694c814ea94b07d53cf9f3768c48d7c558e2c0a954d3a62eaf058dfd2f2de20a370f0d487a0591ff
|
data/lib/aws-sdk-dlm.rb
CHANGED
data/lib/aws-sdk-dlm/client.rb
CHANGED
@@ -315,10 +315,14 @@ module Aws::DLM
|
|
315
315
|
# times: ["Time"],
|
316
316
|
# },
|
317
317
|
# retain_rule: {
|
318
|
-
# count: 1,
|
318
|
+
# count: 1,
|
319
|
+
# interval: 1,
|
320
|
+
# interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
|
319
321
|
# },
|
320
322
|
# fast_restore_rule: {
|
321
|
-
# count: 1,
|
323
|
+
# count: 1,
|
324
|
+
# interval: 1,
|
325
|
+
# interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
|
322
326
|
# availability_zones: ["AvailabilityZone"], # required
|
323
327
|
# },
|
324
328
|
# },
|
@@ -471,7 +475,11 @@ module Aws::DLM
|
|
471
475
|
# resp.policy.policy_details.schedules[0].create_rule.times #=> Array
|
472
476
|
# resp.policy.policy_details.schedules[0].create_rule.times[0] #=> String
|
473
477
|
# resp.policy.policy_details.schedules[0].retain_rule.count #=> Integer
|
478
|
+
# resp.policy.policy_details.schedules[0].retain_rule.interval #=> Integer
|
479
|
+
# resp.policy.policy_details.schedules[0].retain_rule.interval_unit #=> String, one of "DAYS", "WEEKS", "MONTHS", "YEARS"
|
474
480
|
# resp.policy.policy_details.schedules[0].fast_restore_rule.count #=> Integer
|
481
|
+
# resp.policy.policy_details.schedules[0].fast_restore_rule.interval #=> Integer
|
482
|
+
# resp.policy.policy_details.schedules[0].fast_restore_rule.interval_unit #=> String, one of "DAYS", "WEEKS", "MONTHS", "YEARS"
|
475
483
|
# resp.policy.policy_details.schedules[0].fast_restore_rule.availability_zones #=> Array
|
476
484
|
# resp.policy.policy_details.schedules[0].fast_restore_rule.availability_zones[0] #=> String
|
477
485
|
# resp.policy.policy_details.parameters.exclude_boot_volume #=> Boolean
|
@@ -630,10 +638,14 @@ module Aws::DLM
|
|
630
638
|
# times: ["Time"],
|
631
639
|
# },
|
632
640
|
# retain_rule: {
|
633
|
-
# count: 1,
|
641
|
+
# count: 1,
|
642
|
+
# interval: 1,
|
643
|
+
# interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
|
634
644
|
# },
|
635
645
|
# fast_restore_rule: {
|
636
|
-
# count: 1,
|
646
|
+
# count: 1,
|
647
|
+
# interval: 1,
|
648
|
+
# interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
|
637
649
|
# availability_zones: ["AvailabilityZone"], # required
|
638
650
|
# },
|
639
651
|
# },
|
@@ -666,7 +678,7 @@ module Aws::DLM
|
|
666
678
|
params: params,
|
667
679
|
config: config)
|
668
680
|
context[:gem_name] = 'aws-sdk-dlm'
|
669
|
-
context[:gem_version] = '1.
|
681
|
+
context[:gem_version] = '1.22.0'
|
670
682
|
Seahorse::Client::Request.new(handlers, context)
|
671
683
|
end
|
672
684
|
|
@@ -53,6 +53,7 @@ module Aws::DLM
|
|
53
53
|
ResourceTypeValues = Shapes::StringShape.new(name: 'ResourceTypeValues')
|
54
54
|
ResourceTypeValuesList = Shapes::ListShape.new(name: 'ResourceTypeValuesList')
|
55
55
|
RetainRule = Shapes::StructureShape.new(name: 'RetainRule')
|
56
|
+
RetentionIntervalUnitValues = Shapes::StringShape.new(name: 'RetentionIntervalUnitValues')
|
56
57
|
Schedule = Shapes::StructureShape.new(name: 'Schedule')
|
57
58
|
ScheduleList = Shapes::ListShape.new(name: 'ScheduleList')
|
58
59
|
ScheduleName = Shapes::StringShape.new(name: 'ScheduleName')
|
@@ -102,7 +103,9 @@ module Aws::DLM
|
|
102
103
|
|
103
104
|
DeleteLifecyclePolicyResponse.struct_class = Types::DeleteLifecyclePolicyResponse
|
104
105
|
|
105
|
-
FastRestoreRule.add_member(:count, Shapes::ShapeRef.new(shape: Count,
|
106
|
+
FastRestoreRule.add_member(:count, Shapes::ShapeRef.new(shape: Count, location_name: "Count"))
|
107
|
+
FastRestoreRule.add_member(:interval, Shapes::ShapeRef.new(shape: Interval, location_name: "Interval"))
|
108
|
+
FastRestoreRule.add_member(:interval_unit, Shapes::ShapeRef.new(shape: RetentionIntervalUnitValues, location_name: "IntervalUnit"))
|
106
109
|
FastRestoreRule.add_member(:availability_zones, Shapes::ShapeRef.new(shape: AvailabilityZoneList, required: true, location_name: "AvailabilityZones"))
|
107
110
|
FastRestoreRule.struct_class = Types::FastRestoreRule
|
108
111
|
|
@@ -185,7 +188,9 @@ module Aws::DLM
|
|
185
188
|
|
186
189
|
ResourceTypeValuesList.member = Shapes::ShapeRef.new(shape: ResourceTypeValues)
|
187
190
|
|
188
|
-
RetainRule.add_member(:count, Shapes::ShapeRef.new(shape: Count,
|
191
|
+
RetainRule.add_member(:count, Shapes::ShapeRef.new(shape: Count, location_name: "Count"))
|
192
|
+
RetainRule.add_member(:interval, Shapes::ShapeRef.new(shape: Interval, location_name: "Interval"))
|
193
|
+
RetainRule.add_member(:interval_unit, Shapes::ShapeRef.new(shape: RetentionIntervalUnitValues, location_name: "IntervalUnit"))
|
189
194
|
RetainRule.struct_class = Types::RetainRule
|
190
195
|
|
191
196
|
Schedule.add_member(:name, Shapes::ShapeRef.new(shape: ScheduleName, location_name: "Name"))
|
data/lib/aws-sdk-dlm/types.rb
CHANGED
@@ -46,10 +46,14 @@ module Aws::DLM
|
|
46
46
|
# times: ["Time"],
|
47
47
|
# },
|
48
48
|
# retain_rule: {
|
49
|
-
# count: 1,
|
49
|
+
# count: 1,
|
50
|
+
# interval: 1,
|
51
|
+
# interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
|
50
52
|
# },
|
51
53
|
# fast_restore_rule: {
|
52
|
-
# count: 1,
|
54
|
+
# count: 1,
|
55
|
+
# interval: 1,
|
56
|
+
# interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
|
53
57
|
# availability_zones: ["AvailabilityZone"], # required
|
54
58
|
# },
|
55
59
|
# },
|
@@ -166,13 +170,16 @@ module Aws::DLM
|
|
166
170
|
#
|
167
171
|
class DeleteLifecyclePolicyResponse < Aws::EmptyStructure; end
|
168
172
|
|
169
|
-
# Specifies
|
173
|
+
# Specifies a rule for enabling fast snapshot restore. You can enable
|
174
|
+
# fast snapshot restore based on either a count or a time interval.
|
170
175
|
#
|
171
176
|
# @note When making an API call, you may pass FastRestoreRule
|
172
177
|
# data as a hash:
|
173
178
|
#
|
174
179
|
# {
|
175
|
-
# count: 1,
|
180
|
+
# count: 1,
|
181
|
+
# interval: 1,
|
182
|
+
# interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
|
176
183
|
# availability_zones: ["AvailabilityZone"], # required
|
177
184
|
# }
|
178
185
|
#
|
@@ -180,6 +187,16 @@ module Aws::DLM
|
|
180
187
|
# The number of snapshots to be enabled with fast snapshot restore.
|
181
188
|
# @return [Integer]
|
182
189
|
#
|
190
|
+
# @!attribute [rw] interval
|
191
|
+
# The amount of time to enable fast snapshot restore. The maximum is
|
192
|
+
# 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500
|
193
|
+
# days.
|
194
|
+
# @return [Integer]
|
195
|
+
#
|
196
|
+
# @!attribute [rw] interval_unit
|
197
|
+
# The unit of time for enabling fast snapshot restore.
|
198
|
+
# @return [String]
|
199
|
+
#
|
183
200
|
# @!attribute [rw] availability_zones
|
184
201
|
# The Availability Zones in which to enable fast snapshot restore.
|
185
202
|
# @return [Array<String>]
|
@@ -188,6 +205,8 @@ module Aws::DLM
|
|
188
205
|
#
|
189
206
|
class FastRestoreRule < Struct.new(
|
190
207
|
:count,
|
208
|
+
:interval,
|
209
|
+
:interval_unit,
|
191
210
|
:availability_zones)
|
192
211
|
include Aws::Structure
|
193
212
|
end
|
@@ -522,10 +541,14 @@ module Aws::DLM
|
|
522
541
|
# times: ["Time"],
|
523
542
|
# },
|
524
543
|
# retain_rule: {
|
525
|
-
# count: 1,
|
544
|
+
# count: 1,
|
545
|
+
# interval: 1,
|
546
|
+
# interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
|
526
547
|
# },
|
527
548
|
# fast_restore_rule: {
|
528
|
-
# count: 1,
|
549
|
+
# count: 1,
|
550
|
+
# interval: 1,
|
551
|
+
# interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
|
529
552
|
# availability_zones: ["AvailabilityZone"], # required
|
530
553
|
# },
|
531
554
|
# },
|
@@ -594,24 +617,38 @@ module Aws::DLM
|
|
594
617
|
include Aws::Structure
|
595
618
|
end
|
596
619
|
|
597
|
-
# Specifies the
|
620
|
+
# Specifies the retention rule for a lifecycle policy. You can retain
|
621
|
+
# snapshots based on either a count or a time interval.
|
598
622
|
#
|
599
623
|
# @note When making an API call, you may pass RetainRule
|
600
624
|
# data as a hash:
|
601
625
|
#
|
602
626
|
# {
|
603
|
-
# count: 1,
|
627
|
+
# count: 1,
|
628
|
+
# interval: 1,
|
629
|
+
# interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
|
604
630
|
# }
|
605
631
|
#
|
606
632
|
# @!attribute [rw] count
|
607
|
-
# The number of snapshots to
|
608
|
-
# 1000.
|
633
|
+
# The number of snapshots to retain for each volume, up to a maximum
|
634
|
+
# of 1000.
|
609
635
|
# @return [Integer]
|
610
636
|
#
|
637
|
+
# @!attribute [rw] interval
|
638
|
+
# The amount of time to retain each snapshot. The maximum is 100
|
639
|
+
# years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.
|
640
|
+
# @return [Integer]
|
641
|
+
#
|
642
|
+
# @!attribute [rw] interval_unit
|
643
|
+
# The unit of time for time-based retention.
|
644
|
+
# @return [String]
|
645
|
+
#
|
611
646
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/RetainRule AWS API Documentation
|
612
647
|
#
|
613
648
|
class RetainRule < Struct.new(
|
614
|
-
:count
|
649
|
+
:count,
|
650
|
+
:interval,
|
651
|
+
:interval_unit)
|
615
652
|
include Aws::Structure
|
616
653
|
end
|
617
654
|
|
@@ -641,10 +678,14 @@ module Aws::DLM
|
|
641
678
|
# times: ["Time"],
|
642
679
|
# },
|
643
680
|
# retain_rule: {
|
644
|
-
# count: 1,
|
681
|
+
# count: 1,
|
682
|
+
# interval: 1,
|
683
|
+
# interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
|
645
684
|
# },
|
646
685
|
# fast_restore_rule: {
|
647
|
-
# count: 1,
|
686
|
+
# count: 1,
|
687
|
+
# interval: 1,
|
688
|
+
# interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
|
648
689
|
# availability_zones: ["AvailabilityZone"], # required
|
649
690
|
# },
|
650
691
|
# }
|
@@ -676,7 +717,7 @@ module Aws::DLM
|
|
676
717
|
# @return [Types::CreateRule]
|
677
718
|
#
|
678
719
|
# @!attribute [rw] retain_rule
|
679
|
-
# The
|
720
|
+
# The retention rule.
|
680
721
|
# @return [Types::RetainRule]
|
681
722
|
#
|
682
723
|
# @!attribute [rw] fast_restore_rule
|
@@ -819,10 +860,14 @@ module Aws::DLM
|
|
819
860
|
# times: ["Time"],
|
820
861
|
# },
|
821
862
|
# retain_rule: {
|
822
|
-
# count: 1,
|
863
|
+
# count: 1,
|
864
|
+
# interval: 1,
|
865
|
+
# interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
|
823
866
|
# },
|
824
867
|
# fast_restore_rule: {
|
825
|
-
# count: 1,
|
868
|
+
# count: 1,
|
869
|
+
# interval: 1,
|
870
|
+
# interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
|
826
871
|
# availability_zones: ["AvailabilityZone"], # required
|
827
872
|
# },
|
828
873
|
# },
|
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.22.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: 2019-11-
|
11
|
+
date: 2019-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|