aws-sdk-dlm 1.22.0 → 1.23.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8e96d9c14d0746124ca213572889e7f4e6bee5cb
4
- data.tar.gz: e3bc166d1d6986062fb0947ff92ccfdc9f689162
3
+ metadata.gz: b6ee7261df9e02eb056915c5898dbd7d7d332cf8
4
+ data.tar.gz: 8a86530aff086100469a5bcd70c274047a3b347a
5
5
  SHA512:
6
- metadata.gz: d9c59c44f504911868240e0f9a7135c9d0f622a8b22b52504d1fd61bb106e20267aa4fd6e1cc866c30c381a6e173d31cfd38fcf9975e27e46a3c61e803d30c80
7
- data.tar.gz: a84dbd3d9ee7ae5c0bebd70453a41f5d4a8dd00108e67e31694c814ea94b07d53cf9f3768c48d7c558e2c0a954d3a62eaf058dfd2f2de20a370f0d487a0591ff
6
+ metadata.gz: 7015c803a668edf985eafe670dfdc4891259d3d01e1894db5af2822865ce8c29716fd2542f9f3d0a09af75b3d64bb5168903381849f947d22355830293641ab5
7
+ data.tar.gz: a1c1bc9e4b8348b1aea0c8bc2993be98eb045d3d6480cd94aef466510e06dd8232b7c5bc1f711f0c8c3afca1502b431282c7aedc39227939da8f8ac9e0761445
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-dlm/customizations'
42
42
  # @service
43
43
  module Aws::DLM
44
44
 
45
- GEM_VERSION = '1.22.0'
45
+ GEM_VERSION = '1.23.0'
46
46
 
47
47
  end
@@ -325,6 +325,18 @@ module Aws::DLM
325
325
  # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
326
326
  # availability_zones: ["AvailabilityZone"], # required
327
327
  # },
328
+ # cross_region_copy_rules: [
329
+ # {
330
+ # target_region: "TargetRegion", # required
331
+ # encrypted: false, # required
332
+ # cmk_arn: "CmkArn",
333
+ # copy_tags: false,
334
+ # retain_rule: {
335
+ # interval: 1,
336
+ # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
337
+ # },
338
+ # },
339
+ # ],
328
340
  # },
329
341
  # ],
330
342
  # parameters: {
@@ -482,6 +494,13 @@ module Aws::DLM
482
494
  # resp.policy.policy_details.schedules[0].fast_restore_rule.interval_unit #=> String, one of "DAYS", "WEEKS", "MONTHS", "YEARS"
483
495
  # resp.policy.policy_details.schedules[0].fast_restore_rule.availability_zones #=> Array
484
496
  # resp.policy.policy_details.schedules[0].fast_restore_rule.availability_zones[0] #=> String
497
+ # resp.policy.policy_details.schedules[0].cross_region_copy_rules #=> Array
498
+ # resp.policy.policy_details.schedules[0].cross_region_copy_rules[0].target_region #=> String
499
+ # resp.policy.policy_details.schedules[0].cross_region_copy_rules[0].encrypted #=> Boolean
500
+ # resp.policy.policy_details.schedules[0].cross_region_copy_rules[0].cmk_arn #=> String
501
+ # resp.policy.policy_details.schedules[0].cross_region_copy_rules[0].copy_tags #=> Boolean
502
+ # resp.policy.policy_details.schedules[0].cross_region_copy_rules[0].retain_rule.interval #=> Integer
503
+ # resp.policy.policy_details.schedules[0].cross_region_copy_rules[0].retain_rule.interval_unit #=> String, one of "DAYS", "WEEKS", "MONTHS", "YEARS"
485
504
  # resp.policy.policy_details.parameters.exclude_boot_volume #=> Boolean
486
505
  # resp.policy.tags #=> Hash
487
506
  # resp.policy.tags["TagKey"] #=> String
@@ -648,6 +667,18 @@ module Aws::DLM
648
667
  # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
649
668
  # availability_zones: ["AvailabilityZone"], # required
650
669
  # },
670
+ # cross_region_copy_rules: [
671
+ # {
672
+ # target_region: "TargetRegion", # required
673
+ # encrypted: false, # required
674
+ # cmk_arn: "CmkArn",
675
+ # copy_tags: false,
676
+ # retain_rule: {
677
+ # interval: 1,
678
+ # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
679
+ # },
680
+ # },
681
+ # ],
651
682
  # },
652
683
  # ],
653
684
  # parameters: {
@@ -678,7 +709,7 @@ module Aws::DLM
678
709
  params: params,
679
710
  config: config)
680
711
  context[:gem_name] = 'aws-sdk-dlm'
681
- context[:gem_version] = '1.22.0'
712
+ context[:gem_version] = '1.23.0'
682
713
  Seahorse::Client::Request.new(handlers, context)
683
714
  end
684
715
 
@@ -13,13 +13,19 @@ module Aws::DLM
13
13
 
14
14
  AvailabilityZone = Shapes::StringShape.new(name: 'AvailabilityZone')
15
15
  AvailabilityZoneList = Shapes::ListShape.new(name: 'AvailabilityZoneList')
16
+ CmkArn = Shapes::StringShape.new(name: 'CmkArn')
16
17
  CopyTags = Shapes::BooleanShape.new(name: 'CopyTags')
18
+ CopyTagsNullable = Shapes::BooleanShape.new(name: 'CopyTagsNullable')
17
19
  Count = Shapes::IntegerShape.new(name: 'Count')
18
20
  CreateLifecyclePolicyRequest = Shapes::StructureShape.new(name: 'CreateLifecyclePolicyRequest')
19
21
  CreateLifecyclePolicyResponse = Shapes::StructureShape.new(name: 'CreateLifecyclePolicyResponse')
20
22
  CreateRule = Shapes::StructureShape.new(name: 'CreateRule')
23
+ CrossRegionCopyRetainRule = Shapes::StructureShape.new(name: 'CrossRegionCopyRetainRule')
24
+ CrossRegionCopyRule = Shapes::StructureShape.new(name: 'CrossRegionCopyRule')
25
+ CrossRegionCopyRules = Shapes::ListShape.new(name: 'CrossRegionCopyRules')
21
26
  DeleteLifecyclePolicyRequest = Shapes::StructureShape.new(name: 'DeleteLifecyclePolicyRequest')
22
27
  DeleteLifecyclePolicyResponse = Shapes::StructureShape.new(name: 'DeleteLifecyclePolicyResponse')
28
+ Encrypted = Shapes::BooleanShape.new(name: 'Encrypted')
23
29
  ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
24
30
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
25
31
  ExcludeBootVolume = Shapes::BooleanShape.new(name: 'ExcludeBootVolume')
@@ -70,6 +76,7 @@ module Aws::DLM
70
76
  TagValue = Shapes::StringShape.new(name: 'TagValue')
71
77
  TagsToAddFilterList = Shapes::ListShape.new(name: 'TagsToAddFilterList')
72
78
  TagsToAddList = Shapes::ListShape.new(name: 'TagsToAddList')
79
+ TargetRegion = Shapes::StringShape.new(name: 'TargetRegion')
73
80
  TargetTagList = Shapes::ListShape.new(name: 'TargetTagList')
74
81
  TargetTagsFilterList = Shapes::ListShape.new(name: 'TargetTagsFilterList')
75
82
  Time = Shapes::StringShape.new(name: 'Time')
@@ -98,6 +105,19 @@ module Aws::DLM
98
105
  CreateRule.add_member(:times, Shapes::ShapeRef.new(shape: TimesList, location_name: "Times"))
99
106
  CreateRule.struct_class = Types::CreateRule
100
107
 
108
+ CrossRegionCopyRetainRule.add_member(:interval, Shapes::ShapeRef.new(shape: Interval, location_name: "Interval"))
109
+ CrossRegionCopyRetainRule.add_member(:interval_unit, Shapes::ShapeRef.new(shape: RetentionIntervalUnitValues, location_name: "IntervalUnit"))
110
+ CrossRegionCopyRetainRule.struct_class = Types::CrossRegionCopyRetainRule
111
+
112
+ CrossRegionCopyRule.add_member(:target_region, Shapes::ShapeRef.new(shape: TargetRegion, required: true, location_name: "TargetRegion"))
113
+ CrossRegionCopyRule.add_member(:encrypted, Shapes::ShapeRef.new(shape: Encrypted, required: true, location_name: "Encrypted"))
114
+ CrossRegionCopyRule.add_member(:cmk_arn, Shapes::ShapeRef.new(shape: CmkArn, location_name: "CmkArn"))
115
+ CrossRegionCopyRule.add_member(:copy_tags, Shapes::ShapeRef.new(shape: CopyTagsNullable, location_name: "CopyTags"))
116
+ CrossRegionCopyRule.add_member(:retain_rule, Shapes::ShapeRef.new(shape: CrossRegionCopyRetainRule, location_name: "RetainRule"))
117
+ CrossRegionCopyRule.struct_class = Types::CrossRegionCopyRule
118
+
119
+ CrossRegionCopyRules.member = Shapes::ShapeRef.new(shape: CrossRegionCopyRule)
120
+
101
121
  DeleteLifecyclePolicyRequest.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, required: true, location: "uri", location_name: "policyId"))
102
122
  DeleteLifecyclePolicyRequest.struct_class = Types::DeleteLifecyclePolicyRequest
103
123
 
@@ -200,6 +220,7 @@ module Aws::DLM
200
220
  Schedule.add_member(:create_rule, Shapes::ShapeRef.new(shape: CreateRule, location_name: "CreateRule"))
201
221
  Schedule.add_member(:retain_rule, Shapes::ShapeRef.new(shape: RetainRule, location_name: "RetainRule"))
202
222
  Schedule.add_member(:fast_restore_rule, Shapes::ShapeRef.new(shape: FastRestoreRule, location_name: "FastRestoreRule"))
223
+ Schedule.add_member(:cross_region_copy_rules, Shapes::ShapeRef.new(shape: CrossRegionCopyRules, location_name: "CrossRegionCopyRules"))
203
224
  Schedule.struct_class = Types::Schedule
204
225
 
205
226
  ScheduleList.member = Shapes::ShapeRef.new(shape: Schedule)
@@ -56,6 +56,18 @@ module Aws::DLM
56
56
  # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
57
57
  # availability_zones: ["AvailabilityZone"], # required
58
58
  # },
59
+ # cross_region_copy_rules: [
60
+ # {
61
+ # target_region: "TargetRegion", # required
62
+ # encrypted: false, # required
63
+ # cmk_arn: "CmkArn",
64
+ # copy_tags: false,
65
+ # retain_rule: {
66
+ # interval: 1,
67
+ # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
68
+ # },
69
+ # },
70
+ # ],
59
71
  # },
60
72
  # ],
61
73
  # parameters: {
@@ -148,6 +160,86 @@ module Aws::DLM
148
160
  include Aws::Structure
149
161
  end
150
162
 
163
+ # Specifies the retention rule for cross-Region snapshot copies.
164
+ #
165
+ # @note When making an API call, you may pass CrossRegionCopyRetainRule
166
+ # data as a hash:
167
+ #
168
+ # {
169
+ # interval: 1,
170
+ # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
171
+ # }
172
+ #
173
+ # @!attribute [rw] interval
174
+ # The amount of time to retain each snapshot. The maximum is 100
175
+ # years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.
176
+ # @return [Integer]
177
+ #
178
+ # @!attribute [rw] interval_unit
179
+ # The unit of time for time-based retention.
180
+ # @return [String]
181
+ #
182
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/CrossRegionCopyRetainRule AWS API Documentation
183
+ #
184
+ class CrossRegionCopyRetainRule < Struct.new(
185
+ :interval,
186
+ :interval_unit)
187
+ include Aws::Structure
188
+ end
189
+
190
+ # Specifies a rule for cross-Region snapshot copies.
191
+ #
192
+ # @note When making an API call, you may pass CrossRegionCopyRule
193
+ # data as a hash:
194
+ #
195
+ # {
196
+ # target_region: "TargetRegion", # required
197
+ # encrypted: false, # required
198
+ # cmk_arn: "CmkArn",
199
+ # copy_tags: false,
200
+ # retain_rule: {
201
+ # interval: 1,
202
+ # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
203
+ # },
204
+ # }
205
+ #
206
+ # @!attribute [rw] target_region
207
+ # The target Region.
208
+ # @return [String]
209
+ #
210
+ # @!attribute [rw] encrypted
211
+ # To encrypt a copy of an unencrypted snapshot if encryption by
212
+ # default is not enabled, enable encryption using this parameter.
213
+ # Copies of encrypted snapshots are encrypted, even if this parameter
214
+ # is false or if encryption by default is not enabled.
215
+ # @return [Boolean]
216
+ #
217
+ # @!attribute [rw] cmk_arn
218
+ # The Amazon Resource Name (ARN) of the AWS KMS customer master key
219
+ # (CMK) to use for EBS encryption. If this parameter is not specified,
220
+ # your AWS managed CMK for EBS is used.
221
+ # @return [String]
222
+ #
223
+ # @!attribute [rw] copy_tags
224
+ # Copy all user-defined tags from the source snapshot to the copied
225
+ # snapshot.
226
+ # @return [Boolean]
227
+ #
228
+ # @!attribute [rw] retain_rule
229
+ # The retention rule.
230
+ # @return [Types::CrossRegionCopyRetainRule]
231
+ #
232
+ # @see http://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/CrossRegionCopyRule AWS API Documentation
233
+ #
234
+ class CrossRegionCopyRule < Struct.new(
235
+ :target_region,
236
+ :encrypted,
237
+ :cmk_arn,
238
+ :copy_tags,
239
+ :retain_rule)
240
+ include Aws::Structure
241
+ end
242
+
151
243
  # @note When making an API call, you may pass DeleteLifecyclePolicyRequest
152
244
  # data as a hash:
153
245
  #
@@ -551,6 +643,18 @@ module Aws::DLM
551
643
  # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
552
644
  # availability_zones: ["AvailabilityZone"], # required
553
645
  # },
646
+ # cross_region_copy_rules: [
647
+ # {
648
+ # target_region: "TargetRegion", # required
649
+ # encrypted: false, # required
650
+ # cmk_arn: "CmkArn",
651
+ # copy_tags: false,
652
+ # retain_rule: {
653
+ # interval: 1,
654
+ # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
655
+ # },
656
+ # },
657
+ # ],
554
658
  # },
555
659
  # ],
556
660
  # parameters: {
@@ -688,6 +792,18 @@ module Aws::DLM
688
792
  # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
689
793
  # availability_zones: ["AvailabilityZone"], # required
690
794
  # },
795
+ # cross_region_copy_rules: [
796
+ # {
797
+ # target_region: "TargetRegion", # required
798
+ # encrypted: false, # required
799
+ # cmk_arn: "CmkArn",
800
+ # copy_tags: false,
801
+ # retain_rule: {
802
+ # interval: 1,
803
+ # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
804
+ # },
805
+ # },
806
+ # ],
691
807
  # }
692
808
  #
693
809
  # @!attribute [rw] name
@@ -713,7 +829,7 @@ module Aws::DLM
713
829
  # @return [Array<Types::Tag>]
714
830
  #
715
831
  # @!attribute [rw] create_rule
716
- # The create rule.
832
+ # The creation rule.
717
833
  # @return [Types::CreateRule]
718
834
  #
719
835
  # @!attribute [rw] retain_rule
@@ -721,9 +837,13 @@ module Aws::DLM
721
837
  # @return [Types::RetainRule]
722
838
  #
723
839
  # @!attribute [rw] fast_restore_rule
724
- # Enable fast snapshot restore.
840
+ # The rule for enabling fast snapshot restore.
725
841
  # @return [Types::FastRestoreRule]
726
842
  #
843
+ # @!attribute [rw] cross_region_copy_rules
844
+ # The rule for cross-Region snapshot copies.
845
+ # @return [Array<Types::CrossRegionCopyRule>]
846
+ #
727
847
  # @see http://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/Schedule AWS API Documentation
728
848
  #
729
849
  class Schedule < Struct.new(
@@ -733,7 +853,8 @@ module Aws::DLM
733
853
  :variable_tags,
734
854
  :create_rule,
735
855
  :retain_rule,
736
- :fast_restore_rule)
856
+ :fast_restore_rule,
857
+ :cross_region_copy_rules)
737
858
  include Aws::Structure
738
859
  end
739
860
 
@@ -870,6 +991,18 @@ module Aws::DLM
870
991
  # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
871
992
  # availability_zones: ["AvailabilityZone"], # required
872
993
  # },
994
+ # cross_region_copy_rules: [
995
+ # {
996
+ # target_region: "TargetRegion", # required
997
+ # encrypted: false, # required
998
+ # cmk_arn: "CmkArn",
999
+ # copy_tags: false,
1000
+ # retain_rule: {
1001
+ # interval: 1,
1002
+ # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
1003
+ # },
1004
+ # },
1005
+ # ],
873
1006
  # },
874
1007
  # ],
875
1008
  # 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.22.0
4
+ version: 1.23.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-25 00:00:00.000000000 Z
11
+ date: 2019-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core