aws-sdk-dlm 1.38.0 → 1.39.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9e792b1651ec870f122fd3c5b44a29d0dd77cc569296766aec8ee89a7ecfa77d
4
- data.tar.gz: 94726043a5ee7f930a71646b6ed6a7a2868438c20b08f6e147c274459842bb12
3
+ metadata.gz: '09fcecf2b9e70b4f18c24b69d2591a1a40ea49a44d9ef0c0652f1f4058cfdc09'
4
+ data.tar.gz: 3c8ff848261112e5d32d23f3f9bca62d2a783b06671c1dfac6fa43c8e5638b3f
5
5
  SHA512:
6
- metadata.gz: 3f9b0b721b8e36ad71922b8e9cc28bf8ef893e35120c04ac8161061098443c3ed27f4c33722b7c4dcca75898a534b48fa35a749dc8490d1998163c9f0cce3e94
7
- data.tar.gz: 9473a3690cea63b5395a7a3b332cb40a5dfa8d3f88d4fdf60186c263d9baaa96433e1829334778704792999498e07680bcf9f62e51e4429689d9a764f42c6e2c
6
+ metadata.gz: aab54f33c1d1e9d3ab119400be34911ea5da0f1a62b35aa8391cfb63df4226bf4f67d36b6631d7d125a39a7a0e02f1c8fea25766a9167cc89a21bc438eb91126
7
+ data.tar.gz: d464e27fff431a25fddc634499c8692e8992048e0e36c1c92d584cf75d3f549b76c39795bc1ca65a9417f4d465725db5f45c7dc0a0fa2f9c6385ade21bf1c4e9
data/lib/aws-sdk-dlm.rb CHANGED
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-dlm/customizations'
48
48
  # @!group service
49
49
  module Aws::DLM
50
50
 
51
- GEM_VERSION = '1.38.0'
51
+ GEM_VERSION = '1.39.0'
52
52
 
53
53
  end
@@ -360,6 +360,7 @@ module Aws::DLM
360
360
  # policy_details: { # required
361
361
  # policy_type: "EBS_SNAPSHOT_MANAGEMENT", # accepts EBS_SNAPSHOT_MANAGEMENT, IMAGE_MANAGEMENT, EVENT_BASED_POLICY
362
362
  # resource_types: ["VOLUME"], # accepts VOLUME, INSTANCE
363
+ # resource_locations: ["CLOUD"], # accepts CLOUD, OUTPOST
363
364
  # target_tags: [
364
365
  # {
365
366
  # key: "String", # required
@@ -383,6 +384,7 @@ module Aws::DLM
383
384
  # },
384
385
  # ],
385
386
  # create_rule: {
387
+ # location: "CLOUD", # accepts CLOUD, OUTPOST_LOCAL
386
388
  # interval: 1,
387
389
  # interval_unit: "HOURS", # accepts HOURS
388
390
  # times: ["Time"],
@@ -401,7 +403,8 @@ module Aws::DLM
401
403
  # },
402
404
  # cross_region_copy_rules: [
403
405
  # {
404
- # target_region: "TargetRegion", # required
406
+ # target_region: "TargetRegion",
407
+ # target: "Target",
405
408
  # encrypted: false, # required
406
409
  # cmk_arn: "CmkArn",
407
410
  # copy_tags: false,
@@ -579,6 +582,8 @@ module Aws::DLM
579
582
  # resp.policy.policy_details.policy_type #=> String, one of "EBS_SNAPSHOT_MANAGEMENT", "IMAGE_MANAGEMENT", "EVENT_BASED_POLICY"
580
583
  # resp.policy.policy_details.resource_types #=> Array
581
584
  # resp.policy.policy_details.resource_types[0] #=> String, one of "VOLUME", "INSTANCE"
585
+ # resp.policy.policy_details.resource_locations #=> Array
586
+ # resp.policy.policy_details.resource_locations[0] #=> String, one of "CLOUD", "OUTPOST"
582
587
  # resp.policy.policy_details.target_tags #=> Array
583
588
  # resp.policy.policy_details.target_tags[0].key #=> String
584
589
  # resp.policy.policy_details.target_tags[0].value #=> String
@@ -591,6 +596,7 @@ module Aws::DLM
591
596
  # resp.policy.policy_details.schedules[0].variable_tags #=> Array
592
597
  # resp.policy.policy_details.schedules[0].variable_tags[0].key #=> String
593
598
  # resp.policy.policy_details.schedules[0].variable_tags[0].value #=> String
599
+ # resp.policy.policy_details.schedules[0].create_rule.location #=> String, one of "CLOUD", "OUTPOST_LOCAL"
594
600
  # resp.policy.policy_details.schedules[0].create_rule.interval #=> Integer
595
601
  # resp.policy.policy_details.schedules[0].create_rule.interval_unit #=> String, one of "HOURS"
596
602
  # resp.policy.policy_details.schedules[0].create_rule.times #=> Array
@@ -606,6 +612,7 @@ module Aws::DLM
606
612
  # resp.policy.policy_details.schedules[0].fast_restore_rule.availability_zones[0] #=> String
607
613
  # resp.policy.policy_details.schedules[0].cross_region_copy_rules #=> Array
608
614
  # resp.policy.policy_details.schedules[0].cross_region_copy_rules[0].target_region #=> String
615
+ # resp.policy.policy_details.schedules[0].cross_region_copy_rules[0].target #=> String
609
616
  # resp.policy.policy_details.schedules[0].cross_region_copy_rules[0].encrypted #=> Boolean
610
617
  # resp.policy.policy_details.schedules[0].cross_region_copy_rules[0].cmk_arn #=> String
611
618
  # resp.policy.policy_details.schedules[0].cross_region_copy_rules[0].copy_tags #=> Boolean
@@ -758,6 +765,7 @@ module Aws::DLM
758
765
  # policy_details: {
759
766
  # policy_type: "EBS_SNAPSHOT_MANAGEMENT", # accepts EBS_SNAPSHOT_MANAGEMENT, IMAGE_MANAGEMENT, EVENT_BASED_POLICY
760
767
  # resource_types: ["VOLUME"], # accepts VOLUME, INSTANCE
768
+ # resource_locations: ["CLOUD"], # accepts CLOUD, OUTPOST
761
769
  # target_tags: [
762
770
  # {
763
771
  # key: "String", # required
@@ -781,6 +789,7 @@ module Aws::DLM
781
789
  # },
782
790
  # ],
783
791
  # create_rule: {
792
+ # location: "CLOUD", # accepts CLOUD, OUTPOST_LOCAL
784
793
  # interval: 1,
785
794
  # interval_unit: "HOURS", # accepts HOURS
786
795
  # times: ["Time"],
@@ -799,7 +808,8 @@ module Aws::DLM
799
808
  # },
800
809
  # cross_region_copy_rules: [
801
810
  # {
802
- # target_region: "TargetRegion", # required
811
+ # target_region: "TargetRegion",
812
+ # target: "Target",
803
813
  # encrypted: false, # required
804
814
  # cmk_arn: "CmkArn",
805
815
  # copy_tags: false,
@@ -873,7 +883,7 @@ module Aws::DLM
873
883
  params: params,
874
884
  config: config)
875
885
  context[:gem_name] = 'aws-sdk-dlm'
876
- context[:gem_version] = '1.38.0'
886
+ context[:gem_version] = '1.39.0'
877
887
  Seahorse::Client::Request.new(handlers, context)
878
888
  end
879
889
 
@@ -61,6 +61,7 @@ module Aws::DLM
61
61
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
62
62
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
63
63
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
64
+ LocationValues = Shapes::StringShape.new(name: 'LocationValues')
64
65
  NoReboot = Shapes::BooleanShape.new(name: 'NoReboot')
65
66
  Parameter = Shapes::StringShape.new(name: 'Parameter')
66
67
  ParameterList = Shapes::ListShape.new(name: 'ParameterList')
@@ -71,6 +72,8 @@ module Aws::DLM
71
72
  PolicyId = Shapes::StringShape.new(name: 'PolicyId')
72
73
  PolicyIdList = Shapes::ListShape.new(name: 'PolicyIdList')
73
74
  PolicyTypeValues = Shapes::StringShape.new(name: 'PolicyTypeValues')
75
+ ResourceLocationList = Shapes::ListShape.new(name: 'ResourceLocationList')
76
+ ResourceLocationValues = Shapes::StringShape.new(name: 'ResourceLocationValues')
74
77
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
75
78
  ResourceTypeValues = Shapes::StringShape.new(name: 'ResourceTypeValues')
76
79
  ResourceTypeValuesList = Shapes::ListShape.new(name: 'ResourceTypeValuesList')
@@ -127,6 +130,7 @@ module Aws::DLM
127
130
  CreateLifecyclePolicyResponse.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, location_name: "PolicyId"))
128
131
  CreateLifecyclePolicyResponse.struct_class = Types::CreateLifecyclePolicyResponse
129
132
 
133
+ CreateRule.add_member(:location, Shapes::ShapeRef.new(shape: LocationValues, location_name: "Location"))
130
134
  CreateRule.add_member(:interval, Shapes::ShapeRef.new(shape: Interval, location_name: "Interval"))
131
135
  CreateRule.add_member(:interval_unit, Shapes::ShapeRef.new(shape: IntervalUnitValues, location_name: "IntervalUnit"))
132
136
  CreateRule.add_member(:times, Shapes::ShapeRef.new(shape: TimesList, location_name: "Times"))
@@ -144,7 +148,8 @@ module Aws::DLM
144
148
  CrossRegionCopyRetainRule.add_member(:interval_unit, Shapes::ShapeRef.new(shape: RetentionIntervalUnitValues, location_name: "IntervalUnit"))
145
149
  CrossRegionCopyRetainRule.struct_class = Types::CrossRegionCopyRetainRule
146
150
 
147
- CrossRegionCopyRule.add_member(:target_region, Shapes::ShapeRef.new(shape: TargetRegion, required: true, location_name: "TargetRegion"))
151
+ CrossRegionCopyRule.add_member(:target_region, Shapes::ShapeRef.new(shape: TargetRegion, location_name: "TargetRegion"))
152
+ CrossRegionCopyRule.add_member(:target, Shapes::ShapeRef.new(shape: Target, location_name: "Target"))
148
153
  CrossRegionCopyRule.add_member(:encrypted, Shapes::ShapeRef.new(shape: Encrypted, required: true, location_name: "Encrypted"))
149
154
  CrossRegionCopyRule.add_member(:cmk_arn, Shapes::ShapeRef.new(shape: CmkArn, location_name: "CmkArn"))
150
155
  CrossRegionCopyRule.add_member(:copy_tags, Shapes::ShapeRef.new(shape: CopyTagsNullable, location_name: "CopyTags"))
@@ -243,6 +248,7 @@ module Aws::DLM
243
248
 
244
249
  PolicyDetails.add_member(:policy_type, Shapes::ShapeRef.new(shape: PolicyTypeValues, location_name: "PolicyType"))
245
250
  PolicyDetails.add_member(:resource_types, Shapes::ShapeRef.new(shape: ResourceTypeValuesList, location_name: "ResourceTypes"))
251
+ PolicyDetails.add_member(:resource_locations, Shapes::ShapeRef.new(shape: ResourceLocationList, location_name: "ResourceLocations"))
246
252
  PolicyDetails.add_member(:target_tags, Shapes::ShapeRef.new(shape: TargetTagList, location_name: "TargetTags"))
247
253
  PolicyDetails.add_member(:schedules, Shapes::ShapeRef.new(shape: ScheduleList, location_name: "Schedules"))
248
254
  PolicyDetails.add_member(:parameters, Shapes::ShapeRef.new(shape: Parameters, location_name: "Parameters"))
@@ -252,6 +258,8 @@ module Aws::DLM
252
258
 
253
259
  PolicyIdList.member = Shapes::ShapeRef.new(shape: PolicyId)
254
260
 
261
+ ResourceLocationList.member = Shapes::ShapeRef.new(shape: ResourceLocationValues)
262
+
255
263
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
256
264
  ResourceNotFoundException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
257
265
  ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "ResourceType"))
@@ -59,6 +59,7 @@ module Aws::DLM
59
59
  # policy_details: { # required
60
60
  # policy_type: "EBS_SNAPSHOT_MANAGEMENT", # accepts EBS_SNAPSHOT_MANAGEMENT, IMAGE_MANAGEMENT, EVENT_BASED_POLICY
61
61
  # resource_types: ["VOLUME"], # accepts VOLUME, INSTANCE
62
+ # resource_locations: ["CLOUD"], # accepts CLOUD, OUTPOST
62
63
  # target_tags: [
63
64
  # {
64
65
  # key: "String", # required
@@ -82,6 +83,7 @@ module Aws::DLM
82
83
  # },
83
84
  # ],
84
85
  # create_rule: {
86
+ # location: "CLOUD", # accepts CLOUD, OUTPOST_LOCAL
85
87
  # interval: 1,
86
88
  # interval_unit: "HOURS", # accepts HOURS
87
89
  # times: ["Time"],
@@ -100,7 +102,8 @@ module Aws::DLM
100
102
  # },
101
103
  # cross_region_copy_rules: [
102
104
  # {
103
- # target_region: "TargetRegion", # required
105
+ # target_region: "TargetRegion",
106
+ # target: "Target",
104
107
  # encrypted: false, # required
105
108
  # cmk_arn: "CmkArn",
106
109
  # copy_tags: false,
@@ -210,12 +213,28 @@ module Aws::DLM
210
213
  # data as a hash:
211
214
  #
212
215
  # {
216
+ # location: "CLOUD", # accepts CLOUD, OUTPOST_LOCAL
213
217
  # interval: 1,
214
218
  # interval_unit: "HOURS", # accepts HOURS
215
219
  # times: ["Time"],
216
220
  # cron_expression: "CronExpression",
217
221
  # }
218
222
  #
223
+ # @!attribute [rw] location
224
+ # Specifies the destination for snapshots created by the policy. To
225
+ # create snapshots in the same Region as the source resource, specify
226
+ # `CLOUD`. To create snapshots on the same Outpost as the source
227
+ # resource, specify `OUTPOST_LOCAL`. If you omit this parameter,
228
+ # `CLOUD` is used by default.
229
+ #
230
+ # If the policy targets resources in an AWS Region, then you must
231
+ # create snapshots in the same Region as the source resource.
232
+ #
233
+ # If the policy targets resources on an Outpost, then you can create
234
+ # snapshots on the same Outpost as the source resource, or in the
235
+ # Region of that Outpost.
236
+ # @return [String]
237
+ #
219
238
  # @!attribute [rw] interval
220
239
  # The interval between snapshots. The supported values are 1, 2, 3, 4,
221
240
  # 6, 8, 12, and 24.
@@ -247,6 +266,7 @@ module Aws::DLM
247
266
  # @see http://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/CreateRule AWS API Documentation
248
267
  #
249
268
  class CreateRule < Struct.new(
269
+ :location,
250
270
  :interval,
251
271
  :interval_unit,
252
272
  :times,
@@ -328,7 +348,8 @@ module Aws::DLM
328
348
  # data as a hash:
329
349
  #
330
350
  # {
331
- # target_region: "TargetRegion", # required
351
+ # target_region: "TargetRegion",
352
+ # target: "Target",
332
353
  # encrypted: false, # required
333
354
  # cmk_arn: "CmkArn",
334
355
  # copy_tags: false,
@@ -339,7 +360,18 @@ module Aws::DLM
339
360
  # }
340
361
  #
341
362
  # @!attribute [rw] target_region
342
- # The target Region.
363
+ # The target Region for the snapshot copies.
364
+ #
365
+ # If you specify a target Region, you must omit **Target**. You cannot
366
+ # specify a target Region and a target Outpost in the same rule.
367
+ # @return [String]
368
+ #
369
+ # @!attribute [rw] target
370
+ # The Amazon Resource Name (ARN) of the target AWS Outpost for the
371
+ # snapshot copies.
372
+ #
373
+ # If you specify an ARN, you must omit **TargetRegion**. You cannot
374
+ # specify a target Region and a target Outpost in the same rule.
343
375
  # @return [String]
344
376
  #
345
377
  # @!attribute [rw] encrypted
@@ -368,6 +400,7 @@ module Aws::DLM
368
400
  #
369
401
  class CrossRegionCopyRule < Struct.new(
370
402
  :target_region,
403
+ :target,
371
404
  :encrypted,
372
405
  :cmk_arn,
373
406
  :copy_tags,
@@ -885,6 +918,7 @@ module Aws::DLM
885
918
  # {
886
919
  # policy_type: "EBS_SNAPSHOT_MANAGEMENT", # accepts EBS_SNAPSHOT_MANAGEMENT, IMAGE_MANAGEMENT, EVENT_BASED_POLICY
887
920
  # resource_types: ["VOLUME"], # accepts VOLUME, INSTANCE
921
+ # resource_locations: ["CLOUD"], # accepts CLOUD, OUTPOST
888
922
  # target_tags: [
889
923
  # {
890
924
  # key: "String", # required
@@ -908,6 +942,7 @@ module Aws::DLM
908
942
  # },
909
943
  # ],
910
944
  # create_rule: {
945
+ # location: "CLOUD", # accepts CLOUD, OUTPOST_LOCAL
911
946
  # interval: 1,
912
947
  # interval_unit: "HOURS", # accepts HOURS
913
948
  # times: ["Time"],
@@ -926,7 +961,8 @@ module Aws::DLM
926
961
  # },
927
962
  # cross_region_copy_rules: [
928
963
  # {
929
- # target_region: "TargetRegion", # required
964
+ # target_region: "TargetRegion",
965
+ # target: "Target",
930
966
  # encrypted: false, # required
931
967
  # cmk_arn: "CmkArn",
932
968
  # copy_tags: false,
@@ -999,6 +1035,16 @@ module Aws::DLM
999
1035
  # you are creating an event-based policy, omit this parameter.
1000
1036
  # @return [Array<String>]
1001
1037
  #
1038
+ # @!attribute [rw] resource_locations
1039
+ # The location of the resources to backup. If the source resources are
1040
+ # located in an AWS Region, specify `CLOUD`. If the source resources
1041
+ # are located on an AWS Outpost in your account, specify `OUTPOST`.
1042
+ #
1043
+ # If you specify `OUTPOST`, Amazon Data Lifecycle Manager backs up all
1044
+ # resources of the specified type with matching target tags across all
1045
+ # of the Outposts in your account.
1046
+ # @return [Array<String>]
1047
+ #
1002
1048
  # @!attribute [rw] target_tags
1003
1049
  # The single tag that identifies targeted resources for this policy.
1004
1050
  #
@@ -1043,6 +1089,7 @@ module Aws::DLM
1043
1089
  class PolicyDetails < Struct.new(
1044
1090
  :policy_type,
1045
1091
  :resource_types,
1092
+ :resource_locations,
1046
1093
  :target_tags,
1047
1094
  :schedules,
1048
1095
  :parameters,
@@ -1136,6 +1183,7 @@ module Aws::DLM
1136
1183
  # },
1137
1184
  # ],
1138
1185
  # create_rule: {
1186
+ # location: "CLOUD", # accepts CLOUD, OUTPOST_LOCAL
1139
1187
  # interval: 1,
1140
1188
  # interval_unit: "HOURS", # accepts HOURS
1141
1189
  # times: ["Time"],
@@ -1154,7 +1202,8 @@ module Aws::DLM
1154
1202
  # },
1155
1203
  # cross_region_copy_rules: [
1156
1204
  # {
1157
- # target_region: "TargetRegion", # required
1205
+ # target_region: "TargetRegion",
1206
+ # target: "Target",
1158
1207
  # encrypted: false, # required
1159
1208
  # cmk_arn: "CmkArn",
1160
1209
  # copy_tags: false,
@@ -1209,6 +1258,12 @@ module Aws::DLM
1209
1258
  #
1210
1259
  # @!attribute [rw] cross_region_copy_rules
1211
1260
  # The rule for cross-Region snapshot copies.
1261
+ #
1262
+ # You can only specify cross-Region copy rules for policies that
1263
+ # create snapshots in a Region. If the policy creates snapshots on an
1264
+ # Outpost, then you cannot copy the snapshots to a Region or to an
1265
+ # Outpost. If the policy creates snapshots in a Region, then snapshots
1266
+ # can be copied to up to three Regions or Outposts.
1212
1267
  # @return [Array<Types::CrossRegionCopyRule>]
1213
1268
  #
1214
1269
  # @!attribute [rw] share_rules
@@ -1363,6 +1418,7 @@ module Aws::DLM
1363
1418
  # policy_details: {
1364
1419
  # policy_type: "EBS_SNAPSHOT_MANAGEMENT", # accepts EBS_SNAPSHOT_MANAGEMENT, IMAGE_MANAGEMENT, EVENT_BASED_POLICY
1365
1420
  # resource_types: ["VOLUME"], # accepts VOLUME, INSTANCE
1421
+ # resource_locations: ["CLOUD"], # accepts CLOUD, OUTPOST
1366
1422
  # target_tags: [
1367
1423
  # {
1368
1424
  # key: "String", # required
@@ -1386,6 +1442,7 @@ module Aws::DLM
1386
1442
  # },
1387
1443
  # ],
1388
1444
  # create_rule: {
1445
+ # location: "CLOUD", # accepts CLOUD, OUTPOST_LOCAL
1389
1446
  # interval: 1,
1390
1447
  # interval_unit: "HOURS", # accepts HOURS
1391
1448
  # times: ["Time"],
@@ -1404,7 +1461,8 @@ module Aws::DLM
1404
1461
  # },
1405
1462
  # cross_region_copy_rules: [
1406
1463
  # {
1407
- # target_region: "TargetRegion", # required
1464
+ # target_region: "TargetRegion",
1465
+ # target: "Target",
1408
1466
  # encrypted: false, # required
1409
1467
  # cmk_arn: "CmkArn",
1410
1468
  # copy_tags: false,
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.38.0
4
+ version: 1.39.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: 2021-02-02 00:00:00.000000000 Z
11
+ date: 2021-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core