aws-sdk-dlm 1.27.0 → 1.28.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 +8 -5
- data/lib/aws-sdk-dlm/client_api.rb +4 -2
- data/lib/aws-sdk-dlm/types.rb +35 -13
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f590ce7753d25c0bdabfc772e8ed8b4f8580dc9d391865f1c2d50966e35dcf0f
|
4
|
+
data.tar.gz: 7477fdb666252fd245633fd75890c0d80c475274d7c0c3d04d7201b65c86ce3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ee8068ff066adcbe89b01c0f7c2424031add2f8662d43c9bed60e5977d46b0f3032e892ef79806704d93838f5cb0473e770d486a72d874b5a30da33906faae9
|
7
|
+
data.tar.gz: 468844a643d782f07ce04caeda6c423c20119f9d6e7df72dc543dc78155d3fda5362ef443bc038ebac156bee9aba0eb76542c11bb1eb514bfc5a33d00fb3ed60
|
data/lib/aws-sdk-dlm.rb
CHANGED
data/lib/aws-sdk-dlm/client.rb
CHANGED
@@ -364,9 +364,10 @@ module Aws::DLM
|
|
364
364
|
# },
|
365
365
|
# ],
|
366
366
|
# create_rule: {
|
367
|
-
# interval: 1,
|
368
|
-
# interval_unit: "HOURS", #
|
367
|
+
# interval: 1,
|
368
|
+
# interval_unit: "HOURS", # accepts HOURS
|
369
369
|
# times: ["Time"],
|
370
|
+
# cron_expression: "CronExpression",
|
370
371
|
# },
|
371
372
|
# retain_rule: {
|
372
373
|
# count: 1,
|
@@ -540,6 +541,7 @@ module Aws::DLM
|
|
540
541
|
# resp.policy.policy_details.schedules[0].create_rule.interval_unit #=> String, one of "HOURS"
|
541
542
|
# resp.policy.policy_details.schedules[0].create_rule.times #=> Array
|
542
543
|
# resp.policy.policy_details.schedules[0].create_rule.times[0] #=> String
|
544
|
+
# resp.policy.policy_details.schedules[0].create_rule.cron_expression #=> String
|
543
545
|
# resp.policy.policy_details.schedules[0].retain_rule.count #=> Integer
|
544
546
|
# resp.policy.policy_details.schedules[0].retain_rule.interval #=> Integer
|
545
547
|
# resp.policy.policy_details.schedules[0].retain_rule.interval_unit #=> String, one of "DAYS", "WEEKS", "MONTHS", "YEARS"
|
@@ -706,9 +708,10 @@ module Aws::DLM
|
|
706
708
|
# },
|
707
709
|
# ],
|
708
710
|
# create_rule: {
|
709
|
-
# interval: 1,
|
710
|
-
# interval_unit: "HOURS", #
|
711
|
+
# interval: 1,
|
712
|
+
# interval_unit: "HOURS", # accepts HOURS
|
711
713
|
# times: ["Time"],
|
714
|
+
# cron_expression: "CronExpression",
|
712
715
|
# },
|
713
716
|
# retain_rule: {
|
714
717
|
# count: 1,
|
@@ -763,7 +766,7 @@ module Aws::DLM
|
|
763
766
|
params: params,
|
764
767
|
config: config)
|
765
768
|
context[:gem_name] = 'aws-sdk-dlm'
|
766
|
-
context[:gem_version] = '1.
|
769
|
+
context[:gem_version] = '1.28.0'
|
767
770
|
Seahorse::Client::Request.new(handlers, context)
|
768
771
|
end
|
769
772
|
|
@@ -20,6 +20,7 @@ module Aws::DLM
|
|
20
20
|
CreateLifecyclePolicyRequest = Shapes::StructureShape.new(name: 'CreateLifecyclePolicyRequest')
|
21
21
|
CreateLifecyclePolicyResponse = Shapes::StructureShape.new(name: 'CreateLifecyclePolicyResponse')
|
22
22
|
CreateRule = Shapes::StructureShape.new(name: 'CreateRule')
|
23
|
+
CronExpression = Shapes::StringShape.new(name: 'CronExpression')
|
23
24
|
CrossRegionCopyRetainRule = Shapes::StructureShape.new(name: 'CrossRegionCopyRetainRule')
|
24
25
|
CrossRegionCopyRule = Shapes::StructureShape.new(name: 'CrossRegionCopyRule')
|
25
26
|
CrossRegionCopyRules = Shapes::ListShape.new(name: 'CrossRegionCopyRules')
|
@@ -100,9 +101,10 @@ module Aws::DLM
|
|
100
101
|
CreateLifecyclePolicyResponse.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, location_name: "PolicyId"))
|
101
102
|
CreateLifecyclePolicyResponse.struct_class = Types::CreateLifecyclePolicyResponse
|
102
103
|
|
103
|
-
CreateRule.add_member(:interval, Shapes::ShapeRef.new(shape: Interval,
|
104
|
-
CreateRule.add_member(:interval_unit, Shapes::ShapeRef.new(shape: IntervalUnitValues,
|
104
|
+
CreateRule.add_member(:interval, Shapes::ShapeRef.new(shape: Interval, location_name: "Interval"))
|
105
|
+
CreateRule.add_member(:interval_unit, Shapes::ShapeRef.new(shape: IntervalUnitValues, location_name: "IntervalUnit"))
|
105
106
|
CreateRule.add_member(:times, Shapes::ShapeRef.new(shape: TimesList, location_name: "Times"))
|
107
|
+
CreateRule.add_member(:cron_expression, Shapes::ShapeRef.new(shape: CronExpression, location_name: "CronExpression"))
|
106
108
|
CreateRule.struct_class = Types::CreateRule
|
107
109
|
|
108
110
|
CrossRegionCopyRetainRule.add_member(:interval, Shapes::ShapeRef.new(shape: Interval, location_name: "Interval"))
|
data/lib/aws-sdk-dlm/types.rb
CHANGED
@@ -41,9 +41,10 @@ module Aws::DLM
|
|
41
41
|
# },
|
42
42
|
# ],
|
43
43
|
# create_rule: {
|
44
|
-
# interval: 1,
|
45
|
-
# interval_unit: "HOURS", #
|
44
|
+
# interval: 1,
|
45
|
+
# interval_unit: "HOURS", # accepts HOURS
|
46
46
|
# times: ["Time"],
|
47
|
+
# cron_expression: "CronExpression",
|
47
48
|
# },
|
48
49
|
# retain_rule: {
|
49
50
|
# count: 1,
|
@@ -125,13 +126,17 @@ module Aws::DLM
|
|
125
126
|
|
126
127
|
# Specifies when to create snapshots of EBS volumes.
|
127
128
|
#
|
129
|
+
# You must specify either a Cron expression or an interval, interval
|
130
|
+
# unit, and start time. You cannot specify both.
|
131
|
+
#
|
128
132
|
# @note When making an API call, you may pass CreateRule
|
129
133
|
# data as a hash:
|
130
134
|
#
|
131
135
|
# {
|
132
|
-
# interval: 1,
|
133
|
-
# interval_unit: "HOURS", #
|
136
|
+
# interval: 1,
|
137
|
+
# interval_unit: "HOURS", # accepts HOURS
|
134
138
|
# times: ["Time"],
|
139
|
+
# cron_expression: "CronExpression",
|
135
140
|
# }
|
136
141
|
#
|
137
142
|
# @!attribute [rw] interval
|
@@ -148,15 +153,27 @@ module Aws::DLM
|
|
148
153
|
# hh:mm.
|
149
154
|
#
|
150
155
|
# The operation occurs within a one-hour window following the
|
151
|
-
# specified time.
|
156
|
+
# specified time. If you do not specify a time, Amazon DLM selects a
|
157
|
+
# time within the next 24 hours.
|
152
158
|
# @return [Array<String>]
|
153
159
|
#
|
160
|
+
# @!attribute [rw] cron_expression
|
161
|
+
# The schedule, as a Cron expression. The schedule interval must be
|
162
|
+
# between 1 hour and 1 year. For more information, see [Cron
|
163
|
+
# expressions][1] in the *Amazon CloudWatch User Guide*.
|
164
|
+
#
|
165
|
+
#
|
166
|
+
#
|
167
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions
|
168
|
+
# @return [String]
|
169
|
+
#
|
154
170
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/CreateRule AWS API Documentation
|
155
171
|
#
|
156
172
|
class CreateRule < Struct.new(
|
157
173
|
:interval,
|
158
174
|
:interval_unit,
|
159
|
-
:times
|
175
|
+
:times,
|
176
|
+
:cron_expression)
|
160
177
|
include Aws::Structure
|
161
178
|
end
|
162
179
|
|
@@ -631,9 +648,10 @@ module Aws::DLM
|
|
631
648
|
# },
|
632
649
|
# ],
|
633
650
|
# create_rule: {
|
634
|
-
# interval: 1,
|
635
|
-
# interval_unit: "HOURS", #
|
651
|
+
# interval: 1,
|
652
|
+
# interval_unit: "HOURS", # accepts HOURS
|
636
653
|
# times: ["Time"],
|
654
|
+
# cron_expression: "CronExpression",
|
637
655
|
# },
|
638
656
|
# retain_rule: {
|
639
657
|
# count: 1,
|
@@ -671,7 +689,9 @@ module Aws::DLM
|
|
671
689
|
# @return [String]
|
672
690
|
#
|
673
691
|
# @!attribute [rw] resource_types
|
674
|
-
# The resource type.
|
692
|
+
# The resource type. Use VOLUME to create snapshots of individual
|
693
|
+
# volumes or use INSTANCE to create multi-volume snapshots from the
|
694
|
+
# volumes for an instance.
|
675
695
|
# @return [Array<String>]
|
676
696
|
#
|
677
697
|
# @!attribute [rw] target_tags
|
@@ -779,9 +799,10 @@ module Aws::DLM
|
|
779
799
|
# },
|
780
800
|
# ],
|
781
801
|
# create_rule: {
|
782
|
-
# interval: 1,
|
783
|
-
# interval_unit: "HOURS", #
|
802
|
+
# interval: 1,
|
803
|
+
# interval_unit: "HOURS", # accepts HOURS
|
784
804
|
# times: ["Time"],
|
805
|
+
# cron_expression: "CronExpression",
|
785
806
|
# },
|
786
807
|
# retain_rule: {
|
787
808
|
# count: 1,
|
@@ -978,9 +999,10 @@ module Aws::DLM
|
|
978
999
|
# },
|
979
1000
|
# ],
|
980
1001
|
# create_rule: {
|
981
|
-
# interval: 1,
|
982
|
-
# interval_unit: "HOURS", #
|
1002
|
+
# interval: 1,
|
1003
|
+
# interval_unit: "HOURS", # accepts HOURS
|
983
1004
|
# times: ["Time"],
|
1005
|
+
# cron_expression: "CronExpression",
|
984
1006
|
# },
|
985
1007
|
# retain_rule: {
|
986
1008
|
# count: 1,
|
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.28.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: 2020-05-
|
11
|
+
date: 2020-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|