aws-sdk-dlm 1.20.0 → 1.21.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 +12 -1
- data/lib/aws-sdk-dlm/client_api.rb +10 -0
- data/lib/aws-sdk-dlm/types.rb +48 -1
- 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: 88a24052928cf45572c2d7e6e9e99e95e80885e2
|
4
|
+
data.tar.gz: 93b9f3e5641982f712761e6eaab3e377cff3129c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86db0702541705b631a64d2c12425da5f6ecc41fb287bf0e42c3e6db812329555b4dea671967cfa69667db158d7211a80d1d48130d0962acc8cc37e7a654f160
|
7
|
+
data.tar.gz: 163fe17f8b199567c34ff28d90c0279aa56cfea782c202307eeacd7e22a81f540ed168d5111d986cc7710c9c1f5fc2947eca49ce0d411b9375f426c12b926c2b
|
data/lib/aws-sdk-dlm.rb
CHANGED
data/lib/aws-sdk-dlm/client.rb
CHANGED
@@ -317,6 +317,10 @@ module Aws::DLM
|
|
317
317
|
# retain_rule: {
|
318
318
|
# count: 1, # required
|
319
319
|
# },
|
320
|
+
# fast_restore_rule: {
|
321
|
+
# count: 1, # required
|
322
|
+
# availability_zones: ["AvailabilityZone"], # required
|
323
|
+
# },
|
320
324
|
# },
|
321
325
|
# ],
|
322
326
|
# parameters: {
|
@@ -467,6 +471,9 @@ module Aws::DLM
|
|
467
471
|
# resp.policy.policy_details.schedules[0].create_rule.times #=> Array
|
468
472
|
# resp.policy.policy_details.schedules[0].create_rule.times[0] #=> String
|
469
473
|
# resp.policy.policy_details.schedules[0].retain_rule.count #=> Integer
|
474
|
+
# resp.policy.policy_details.schedules[0].fast_restore_rule.count #=> Integer
|
475
|
+
# resp.policy.policy_details.schedules[0].fast_restore_rule.availability_zones #=> Array
|
476
|
+
# resp.policy.policy_details.schedules[0].fast_restore_rule.availability_zones[0] #=> String
|
470
477
|
# resp.policy.policy_details.parameters.exclude_boot_volume #=> Boolean
|
471
478
|
# resp.policy.tags #=> Hash
|
472
479
|
# resp.policy.tags["TagKey"] #=> String
|
@@ -625,6 +632,10 @@ module Aws::DLM
|
|
625
632
|
# retain_rule: {
|
626
633
|
# count: 1, # required
|
627
634
|
# },
|
635
|
+
# fast_restore_rule: {
|
636
|
+
# count: 1, # required
|
637
|
+
# availability_zones: ["AvailabilityZone"], # required
|
638
|
+
# },
|
628
639
|
# },
|
629
640
|
# ],
|
630
641
|
# parameters: {
|
@@ -655,7 +666,7 @@ module Aws::DLM
|
|
655
666
|
params: params,
|
656
667
|
config: config)
|
657
668
|
context[:gem_name] = 'aws-sdk-dlm'
|
658
|
-
context[:gem_version] = '1.
|
669
|
+
context[:gem_version] = '1.21.0'
|
659
670
|
Seahorse::Client::Request.new(handlers, context)
|
660
671
|
end
|
661
672
|
|
@@ -11,6 +11,8 @@ module Aws::DLM
|
|
11
11
|
|
12
12
|
include Seahorse::Model
|
13
13
|
|
14
|
+
AvailabilityZone = Shapes::StringShape.new(name: 'AvailabilityZone')
|
15
|
+
AvailabilityZoneList = Shapes::ListShape.new(name: 'AvailabilityZoneList')
|
14
16
|
CopyTags = Shapes::BooleanShape.new(name: 'CopyTags')
|
15
17
|
Count = Shapes::IntegerShape.new(name: 'Count')
|
16
18
|
CreateLifecyclePolicyRequest = Shapes::StructureShape.new(name: 'CreateLifecyclePolicyRequest')
|
@@ -22,6 +24,7 @@ module Aws::DLM
|
|
22
24
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
23
25
|
ExcludeBootVolume = Shapes::BooleanShape.new(name: 'ExcludeBootVolume')
|
24
26
|
ExecutionRoleArn = Shapes::StringShape.new(name: 'ExecutionRoleArn')
|
27
|
+
FastRestoreRule = Shapes::StructureShape.new(name: 'FastRestoreRule')
|
25
28
|
GetLifecyclePoliciesRequest = Shapes::StructureShape.new(name: 'GetLifecyclePoliciesRequest')
|
26
29
|
GetLifecyclePoliciesResponse = Shapes::StructureShape.new(name: 'GetLifecyclePoliciesResponse')
|
27
30
|
GetLifecyclePolicyRequest = Shapes::StructureShape.new(name: 'GetLifecyclePolicyRequest')
|
@@ -77,6 +80,8 @@ module Aws::DLM
|
|
77
80
|
UpdateLifecyclePolicyResponse = Shapes::StructureShape.new(name: 'UpdateLifecyclePolicyResponse')
|
78
81
|
VariableTagsList = Shapes::ListShape.new(name: 'VariableTagsList')
|
79
82
|
|
83
|
+
AvailabilityZoneList.member = Shapes::ShapeRef.new(shape: AvailabilityZone)
|
84
|
+
|
80
85
|
CreateLifecyclePolicyRequest.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: ExecutionRoleArn, required: true, location_name: "ExecutionRoleArn"))
|
81
86
|
CreateLifecyclePolicyRequest.add_member(:description, Shapes::ShapeRef.new(shape: PolicyDescription, required: true, location_name: "Description"))
|
82
87
|
CreateLifecyclePolicyRequest.add_member(:state, Shapes::ShapeRef.new(shape: SettablePolicyStateValues, required: true, location_name: "State"))
|
@@ -97,6 +102,10 @@ module Aws::DLM
|
|
97
102
|
|
98
103
|
DeleteLifecyclePolicyResponse.struct_class = Types::DeleteLifecyclePolicyResponse
|
99
104
|
|
105
|
+
FastRestoreRule.add_member(:count, Shapes::ShapeRef.new(shape: Count, required: true, location_name: "Count"))
|
106
|
+
FastRestoreRule.add_member(:availability_zones, Shapes::ShapeRef.new(shape: AvailabilityZoneList, required: true, location_name: "AvailabilityZones"))
|
107
|
+
FastRestoreRule.struct_class = Types::FastRestoreRule
|
108
|
+
|
100
109
|
GetLifecyclePoliciesRequest.add_member(:policy_ids, Shapes::ShapeRef.new(shape: PolicyIdList, location: "querystring", location_name: "policyIds"))
|
101
110
|
GetLifecyclePoliciesRequest.add_member(:state, Shapes::ShapeRef.new(shape: GettablePolicyStateValues, location: "querystring", location_name: "state"))
|
102
111
|
GetLifecyclePoliciesRequest.add_member(:resource_types, Shapes::ShapeRef.new(shape: ResourceTypeValuesList, location: "querystring", location_name: "resourceTypes"))
|
@@ -185,6 +194,7 @@ module Aws::DLM
|
|
185
194
|
Schedule.add_member(:variable_tags, Shapes::ShapeRef.new(shape: VariableTagsList, location_name: "VariableTags"))
|
186
195
|
Schedule.add_member(:create_rule, Shapes::ShapeRef.new(shape: CreateRule, location_name: "CreateRule"))
|
187
196
|
Schedule.add_member(:retain_rule, Shapes::ShapeRef.new(shape: RetainRule, location_name: "RetainRule"))
|
197
|
+
Schedule.add_member(:fast_restore_rule, Shapes::ShapeRef.new(shape: FastRestoreRule, location_name: "FastRestoreRule"))
|
188
198
|
Schedule.struct_class = Types::Schedule
|
189
199
|
|
190
200
|
ScheduleList.member = Shapes::ShapeRef.new(shape: Schedule)
|
data/lib/aws-sdk-dlm/types.rb
CHANGED
@@ -48,6 +48,10 @@ module Aws::DLM
|
|
48
48
|
# retain_rule: {
|
49
49
|
# count: 1, # required
|
50
50
|
# },
|
51
|
+
# fast_restore_rule: {
|
52
|
+
# count: 1, # required
|
53
|
+
# availability_zones: ["AvailabilityZone"], # required
|
54
|
+
# },
|
51
55
|
# },
|
52
56
|
# ],
|
53
57
|
# parameters: {
|
@@ -162,6 +166,32 @@ module Aws::DLM
|
|
162
166
|
#
|
163
167
|
class DeleteLifecyclePolicyResponse < Aws::EmptyStructure; end
|
164
168
|
|
169
|
+
# Specifies when to enable fast snapshot restore.
|
170
|
+
#
|
171
|
+
# @note When making an API call, you may pass FastRestoreRule
|
172
|
+
# data as a hash:
|
173
|
+
#
|
174
|
+
# {
|
175
|
+
# count: 1, # required
|
176
|
+
# availability_zones: ["AvailabilityZone"], # required
|
177
|
+
# }
|
178
|
+
#
|
179
|
+
# @!attribute [rw] count
|
180
|
+
# The number of snapshots to be enabled with fast snapshot restore.
|
181
|
+
# @return [Integer]
|
182
|
+
#
|
183
|
+
# @!attribute [rw] availability_zones
|
184
|
+
# The Availability Zones in which to enable fast snapshot restore.
|
185
|
+
# @return [Array<String>]
|
186
|
+
#
|
187
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/FastRestoreRule AWS API Documentation
|
188
|
+
#
|
189
|
+
class FastRestoreRule < Struct.new(
|
190
|
+
:count,
|
191
|
+
:availability_zones)
|
192
|
+
include Aws::Structure
|
193
|
+
end
|
194
|
+
|
165
195
|
# @note When making an API call, you may pass GetLifecyclePoliciesRequest
|
166
196
|
# data as a hash:
|
167
197
|
#
|
@@ -494,6 +524,10 @@ module Aws::DLM
|
|
494
524
|
# retain_rule: {
|
495
525
|
# count: 1, # required
|
496
526
|
# },
|
527
|
+
# fast_restore_rule: {
|
528
|
+
# count: 1, # required
|
529
|
+
# availability_zones: ["AvailabilityZone"], # required
|
530
|
+
# },
|
497
531
|
# },
|
498
532
|
# ],
|
499
533
|
# parameters: {
|
@@ -609,6 +643,10 @@ module Aws::DLM
|
|
609
643
|
# retain_rule: {
|
610
644
|
# count: 1, # required
|
611
645
|
# },
|
646
|
+
# fast_restore_rule: {
|
647
|
+
# count: 1, # required
|
648
|
+
# availability_zones: ["AvailabilityZone"], # required
|
649
|
+
# },
|
612
650
|
# }
|
613
651
|
#
|
614
652
|
# @!attribute [rw] name
|
@@ -641,6 +679,10 @@ module Aws::DLM
|
|
641
679
|
# The retain rule.
|
642
680
|
# @return [Types::RetainRule]
|
643
681
|
#
|
682
|
+
# @!attribute [rw] fast_restore_rule
|
683
|
+
# Enable fast snapshot restore.
|
684
|
+
# @return [Types::FastRestoreRule]
|
685
|
+
#
|
644
686
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/Schedule AWS API Documentation
|
645
687
|
#
|
646
688
|
class Schedule < Struct.new(
|
@@ -649,7 +691,8 @@ module Aws::DLM
|
|
649
691
|
:tags_to_add,
|
650
692
|
:variable_tags,
|
651
693
|
:create_rule,
|
652
|
-
:retain_rule
|
694
|
+
:retain_rule,
|
695
|
+
:fast_restore_rule)
|
653
696
|
include Aws::Structure
|
654
697
|
end
|
655
698
|
|
@@ -778,6 +821,10 @@ module Aws::DLM
|
|
778
821
|
# retain_rule: {
|
779
822
|
# count: 1, # required
|
780
823
|
# },
|
824
|
+
# fast_restore_rule: {
|
825
|
+
# count: 1, # required
|
826
|
+
# availability_zones: ["AvailabilityZone"], # required
|
827
|
+
# },
|
781
828
|
# },
|
782
829
|
# ],
|
783
830
|
# parameters: {
|
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.21.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-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|