aws-sdk-dlm 1.52.0 → 1.54.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,26 +13,6 @@ module Aws::DLM
13
13
  # **\[Event-based policies only\]** Specifies an action for an
14
14
  # event-based policy.
15
15
  #
16
- # @note When making an API call, you may pass Action
17
- # data as a hash:
18
- #
19
- # {
20
- # name: "ActionName", # required
21
- # cross_region_copy: [ # required
22
- # {
23
- # target: "Target", # required
24
- # encryption_configuration: { # required
25
- # encrypted: false, # required
26
- # cmk_arn: "CmkArn",
27
- # },
28
- # retain_rule: {
29
- # interval: 1,
30
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
31
- # },
32
- # },
33
- # ],
34
- # }
35
- #
36
16
  # @!attribute [rw] name
37
17
  # A descriptive name for the action.
38
18
  # @return [String]
@@ -53,17 +33,6 @@ module Aws::DLM
53
33
  # **\[Snapshot policies only\]** Specifies information about the archive
54
34
  # storage tier retention period.
55
35
  #
56
- # @note When making an API call, you may pass ArchiveRetainRule
57
- # data as a hash:
58
- #
59
- # {
60
- # retention_archive_tier: { # required
61
- # count: 1,
62
- # interval: 1,
63
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
64
- # },
65
- # }
66
- #
67
36
  # @!attribute [rw] retention_archive_tier
68
37
  # Information about retention period in the Amazon EBS Snapshots
69
38
  # Archive. For more information, see [Archive Amazon EBS
@@ -85,19 +54,6 @@ module Aws::DLM
85
54
  # **\[Snapshot policies only\]** Specifies a snapshot archiving rule for
86
55
  # a schedule.
87
56
  #
88
- # @note When making an API call, you may pass ArchiveRule
89
- # data as a hash:
90
- #
91
- # {
92
- # retain_rule: { # required
93
- # retention_archive_tier: { # required
94
- # count: 1,
95
- # interval: 1,
96
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
97
- # },
98
- # },
99
- # }
100
- #
101
57
  # @!attribute [rw] retain_rule
102
58
  # Information about the retention period for the snapshot archiving
103
59
  # rule.
@@ -111,139 +67,6 @@ module Aws::DLM
111
67
  include Aws::Structure
112
68
  end
113
69
 
114
- # @note When making an API call, you may pass CreateLifecyclePolicyRequest
115
- # data as a hash:
116
- #
117
- # {
118
- # execution_role_arn: "ExecutionRoleArn", # required
119
- # description: "PolicyDescription", # required
120
- # state: "ENABLED", # required, accepts ENABLED, DISABLED
121
- # policy_details: { # required
122
- # policy_type: "EBS_SNAPSHOT_MANAGEMENT", # accepts EBS_SNAPSHOT_MANAGEMENT, IMAGE_MANAGEMENT, EVENT_BASED_POLICY
123
- # resource_types: ["VOLUME"], # accepts VOLUME, INSTANCE
124
- # resource_locations: ["CLOUD"], # accepts CLOUD, OUTPOST
125
- # target_tags: [
126
- # {
127
- # key: "String", # required
128
- # value: "String", # required
129
- # },
130
- # ],
131
- # schedules: [
132
- # {
133
- # name: "ScheduleName",
134
- # copy_tags: false,
135
- # tags_to_add: [
136
- # {
137
- # key: "String", # required
138
- # value: "String", # required
139
- # },
140
- # ],
141
- # variable_tags: [
142
- # {
143
- # key: "String", # required
144
- # value: "String", # required
145
- # },
146
- # ],
147
- # create_rule: {
148
- # location: "CLOUD", # accepts CLOUD, OUTPOST_LOCAL
149
- # interval: 1,
150
- # interval_unit: "HOURS", # accepts HOURS
151
- # times: ["Time"],
152
- # cron_expression: "CronExpression",
153
- # },
154
- # retain_rule: {
155
- # count: 1,
156
- # interval: 1,
157
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
158
- # },
159
- # fast_restore_rule: {
160
- # count: 1,
161
- # interval: 1,
162
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
163
- # availability_zones: ["AvailabilityZone"], # required
164
- # },
165
- # cross_region_copy_rules: [
166
- # {
167
- # target_region: "TargetRegion",
168
- # target: "Target",
169
- # encrypted: false, # required
170
- # cmk_arn: "CmkArn",
171
- # copy_tags: false,
172
- # retain_rule: {
173
- # interval: 1,
174
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
175
- # },
176
- # deprecate_rule: {
177
- # interval: 1,
178
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
179
- # },
180
- # },
181
- # ],
182
- # share_rules: [
183
- # {
184
- # target_accounts: ["AwsAccountId"], # required
185
- # unshare_interval: 1,
186
- # unshare_interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
187
- # },
188
- # ],
189
- # deprecate_rule: {
190
- # count: 1,
191
- # interval: 1,
192
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
193
- # },
194
- # archive_rule: {
195
- # retain_rule: { # required
196
- # retention_archive_tier: { # required
197
- # count: 1,
198
- # interval: 1,
199
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
200
- # },
201
- # },
202
- # },
203
- # },
204
- # ],
205
- # parameters: {
206
- # exclude_boot_volume: false,
207
- # no_reboot: false,
208
- # exclude_data_volume_tags: [
209
- # {
210
- # key: "String", # required
211
- # value: "String", # required
212
- # },
213
- # ],
214
- # },
215
- # event_source: {
216
- # type: "MANAGED_CWE", # required, accepts MANAGED_CWE
217
- # parameters: {
218
- # event_type: "shareSnapshot", # required, accepts shareSnapshot
219
- # snapshot_owner: ["AwsAccountId"], # required
220
- # description_regex: "DescriptionRegex", # required
221
- # },
222
- # },
223
- # actions: [
224
- # {
225
- # name: "ActionName", # required
226
- # cross_region_copy: [ # required
227
- # {
228
- # target: "Target", # required
229
- # encryption_configuration: { # required
230
- # encrypted: false, # required
231
- # cmk_arn: "CmkArn",
232
- # },
233
- # retain_rule: {
234
- # interval: 1,
235
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
236
- # },
237
- # },
238
- # ],
239
- # },
240
- # ],
241
- # },
242
- # tags: {
243
- # "TagKey" => "TagValue",
244
- # },
245
- # }
246
- #
247
70
  # @!attribute [rw] execution_role_arn
248
71
  # The Amazon Resource Name (ARN) of the IAM role used to run the
249
72
  # operations specified by the lifecycle policy.
@@ -301,17 +124,6 @@ module Aws::DLM
301
124
  #
302
125
  # </note>
303
126
  #
304
- # @note When making an API call, you may pass CreateRule
305
- # data as a hash:
306
- #
307
- # {
308
- # location: "CLOUD", # accepts CLOUD, OUTPOST_LOCAL
309
- # interval: 1,
310
- # interval_unit: "HOURS", # accepts HOURS
311
- # times: ["Time"],
312
- # cron_expression: "CronExpression",
313
- # }
314
- #
315
127
  # @!attribute [rw] location
316
128
  # **\[Snapshot policies only\]** Specifies the destination for
317
129
  # snapshots created by the policy. To create snapshots in the same
@@ -374,21 +186,6 @@ module Aws::DLM
374
186
  #
375
187
  # </note>
376
188
  #
377
- # @note When making an API call, you may pass CrossRegionCopyAction
378
- # data as a hash:
379
- #
380
- # {
381
- # target: "Target", # required
382
- # encryption_configuration: { # required
383
- # encrypted: false, # required
384
- # cmk_arn: "CmkArn",
385
- # },
386
- # retain_rule: {
387
- # interval: 1,
388
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
389
- # },
390
- # }
391
- #
392
189
  # @!attribute [rw] target
393
190
  # The target Region.
394
191
  # @return [String]
@@ -417,14 +214,6 @@ module Aws::DLM
417
214
  # **\[AMI policies only\]** Specifies an AMI deprecation rule for
418
215
  # cross-Region AMI copies created by an AMI policy.
419
216
  #
420
- # @note When making an API call, you may pass CrossRegionCopyDeprecateRule
421
- # data as a hash:
422
- #
423
- # {
424
- # interval: 1,
425
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
426
- # }
427
- #
428
217
  # @!attribute [rw] interval
429
218
  # The period after which to deprecate the cross-Region AMI copies. The
430
219
  # period must be less than or equal to the cross-Region AMI copy
@@ -452,14 +241,6 @@ module Aws::DLM
452
241
  # by AMI policies. After the retention period expires, the cross-Region
453
242
  # copy is deleted.
454
243
  #
455
- # @note When making an API call, you may pass CrossRegionCopyRetainRule
456
- # data as a hash:
457
- #
458
- # {
459
- # interval: 1,
460
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
461
- # }
462
- #
463
244
  # @!attribute [rw] interval
464
245
  # The amount of time to retain a cross-Region snapshot or AMI copy.
465
246
  # The maximum is 100 years. This is equivalent to 1200 months, 5200
@@ -489,25 +270,6 @@ module Aws::DLM
489
270
  #
490
271
  # </note>
491
272
  #
492
- # @note When making an API call, you may pass CrossRegionCopyRule
493
- # data as a hash:
494
- #
495
- # {
496
- # target_region: "TargetRegion",
497
- # target: "Target",
498
- # encrypted: false, # required
499
- # cmk_arn: "CmkArn",
500
- # copy_tags: false,
501
- # retain_rule: {
502
- # interval: 1,
503
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
504
- # },
505
- # deprecate_rule: {
506
- # interval: 1,
507
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
508
- # },
509
- # }
510
- #
511
273
  # @!attribute [rw] target_region
512
274
  # <note markdown="1"> Avoid using this parameter when creating new policies. Instead, use
513
275
  # **Target** to specify a target Region or a target Outpost for
@@ -568,13 +330,6 @@ module Aws::DLM
568
330
  include Aws::Structure
569
331
  end
570
332
 
571
- # @note When making an API call, you may pass DeleteLifecyclePolicyRequest
572
- # data as a hash:
573
- #
574
- # {
575
- # policy_id: "PolicyId", # required
576
- # }
577
- #
578
333
  # @!attribute [rw] policy_id
579
334
  # The identifier of the lifecycle policy.
580
335
  # @return [String]
@@ -598,15 +353,6 @@ module Aws::DLM
598
353
  # **IntervalUnit**. For count-based schedules, you must specify
599
354
  # **Count**.
600
355
  #
601
- # @note When making an API call, you may pass DeprecateRule
602
- # data as a hash:
603
- #
604
- # {
605
- # count: 1,
606
- # interval: 1,
607
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
608
- # }
609
- #
610
356
  # @!attribute [rw] count
611
357
  # If the schedule has a count-based retention rule, this parameter
612
358
  # specifies the number of oldest AMIs to deprecate. The count must be
@@ -639,14 +385,6 @@ module Aws::DLM
639
385
  # **\[Event-based policies only\]** Specifies the encryption settings
640
386
  # for cross-Region snapshot copies created by event-based policies.
641
387
  #
642
- # @note When making an API call, you may pass EncryptionConfiguration
643
- # data as a hash:
644
- #
645
- # {
646
- # encrypted: false, # required
647
- # cmk_arn: "CmkArn",
648
- # }
649
- #
650
388
  # @!attribute [rw] encrypted
651
389
  # To encrypt a copy of an unencrypted snapshot when encryption by
652
390
  # default is not enabled, enable encryption using this parameter.
@@ -672,15 +410,6 @@ module Aws::DLM
672
410
  # **\[Event-based policies only\]** Specifies an event that activates an
673
411
  # event-based policy.
674
412
  #
675
- # @note When making an API call, you may pass EventParameters
676
- # data as a hash:
677
- #
678
- # {
679
- # event_type: "shareSnapshot", # required, accepts shareSnapshot
680
- # snapshot_owner: ["AwsAccountId"], # required
681
- # description_regex: "DescriptionRegex", # required
682
- # }
683
- #
684
413
  # @!attribute [rw] event_type
685
414
  # The type of event. Currently, only snapshot sharing events are
686
415
  # supported.
@@ -718,18 +447,6 @@ module Aws::DLM
718
447
  # **\[Event-based policies only\]** Specifies an event that activates an
719
448
  # event-based policy.
720
449
  #
721
- # @note When making an API call, you may pass EventSource
722
- # data as a hash:
723
- #
724
- # {
725
- # type: "MANAGED_CWE", # required, accepts MANAGED_CWE
726
- # parameters: {
727
- # event_type: "shareSnapshot", # required, accepts shareSnapshot
728
- # snapshot_owner: ["AwsAccountId"], # required
729
- # description_regex: "DescriptionRegex", # required
730
- # },
731
- # }
732
- #
733
450
  # @!attribute [rw] type
734
451
  # The source of the event. Currently only managed CloudWatch Events
735
452
  # rules are supported.
@@ -753,16 +470,6 @@ module Aws::DLM
753
470
  # enable fast snapshot restore based on either a count or a time
754
471
  # interval.
755
472
  #
756
- # @note When making an API call, you may pass FastRestoreRule
757
- # data as a hash:
758
- #
759
- # {
760
- # count: 1,
761
- # interval: 1,
762
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
763
- # availability_zones: ["AvailabilityZone"], # required
764
- # }
765
- #
766
473
  # @!attribute [rw] count
767
474
  # The number of snapshots to be enabled with fast snapshot restore.
768
475
  # @return [Integer]
@@ -792,17 +499,6 @@ module Aws::DLM
792
499
  include Aws::Structure
793
500
  end
794
501
 
795
- # @note When making an API call, you may pass GetLifecyclePoliciesRequest
796
- # data as a hash:
797
- #
798
- # {
799
- # policy_ids: ["PolicyId"],
800
- # state: "ENABLED", # accepts ENABLED, DISABLED, ERROR
801
- # resource_types: ["VOLUME"], # accepts VOLUME, INSTANCE
802
- # target_tags: ["TagFilter"],
803
- # tags_to_add: ["TagFilter"],
804
- # }
805
- #
806
502
  # @!attribute [rw] policy_ids
807
503
  # The identifiers of the data lifecycle policies.
808
504
  # @return [Array<String>]
@@ -854,13 +550,6 @@ module Aws::DLM
854
550
  include Aws::Structure
855
551
  end
856
552
 
857
- # @note When making an API call, you may pass GetLifecyclePolicyRequest
858
- # data as a hash:
859
- #
860
- # {
861
- # policy_id: "PolicyId", # required
862
- # }
863
- #
864
553
  # @!attribute [rw] policy_id
865
554
  # The identifier of the lifecycle policy.
866
555
  # @return [String]
@@ -1052,13 +741,6 @@ module Aws::DLM
1052
741
  include Aws::Structure
1053
742
  end
1054
743
 
1055
- # @note When making an API call, you may pass ListTagsForResourceRequest
1056
- # data as a hash:
1057
- #
1058
- # {
1059
- # resource_arn: "PolicyArn", # required
1060
- # }
1061
- #
1062
744
  # @!attribute [rw] resource_arn
1063
745
  # The Amazon Resource Name (ARN) of the resource.
1064
746
  # @return [String]
@@ -1098,20 +780,6 @@ module Aws::DLM
1098
780
  #
1099
781
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitor-dlm-cw-metrics.html
1100
782
  #
1101
- # @note When making an API call, you may pass Parameters
1102
- # data as a hash:
1103
- #
1104
- # {
1105
- # exclude_boot_volume: false,
1106
- # no_reboot: false,
1107
- # exclude_data_volume_tags: [
1108
- # {
1109
- # key: "String", # required
1110
- # value: "String", # required
1111
- # },
1112
- # ],
1113
- # }
1114
- #
1115
783
  # @!attribute [rw] exclude_boot_volume
1116
784
  # **\[Snapshot policies that target instances only\]** Indicates
1117
785
  # whether to exclude the root volume from multi-volume snapshot sets.
@@ -1152,131 +820,6 @@ module Aws::DLM
1152
820
  # **\[All policy types\]** Specifies the configuration of a lifecycle
1153
821
  # policy.
1154
822
  #
1155
- # @note When making an API call, you may pass PolicyDetails
1156
- # data as a hash:
1157
- #
1158
- # {
1159
- # policy_type: "EBS_SNAPSHOT_MANAGEMENT", # accepts EBS_SNAPSHOT_MANAGEMENT, IMAGE_MANAGEMENT, EVENT_BASED_POLICY
1160
- # resource_types: ["VOLUME"], # accepts VOLUME, INSTANCE
1161
- # resource_locations: ["CLOUD"], # accepts CLOUD, OUTPOST
1162
- # target_tags: [
1163
- # {
1164
- # key: "String", # required
1165
- # value: "String", # required
1166
- # },
1167
- # ],
1168
- # schedules: [
1169
- # {
1170
- # name: "ScheduleName",
1171
- # copy_tags: false,
1172
- # tags_to_add: [
1173
- # {
1174
- # key: "String", # required
1175
- # value: "String", # required
1176
- # },
1177
- # ],
1178
- # variable_tags: [
1179
- # {
1180
- # key: "String", # required
1181
- # value: "String", # required
1182
- # },
1183
- # ],
1184
- # create_rule: {
1185
- # location: "CLOUD", # accepts CLOUD, OUTPOST_LOCAL
1186
- # interval: 1,
1187
- # interval_unit: "HOURS", # accepts HOURS
1188
- # times: ["Time"],
1189
- # cron_expression: "CronExpression",
1190
- # },
1191
- # retain_rule: {
1192
- # count: 1,
1193
- # interval: 1,
1194
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
1195
- # },
1196
- # fast_restore_rule: {
1197
- # count: 1,
1198
- # interval: 1,
1199
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
1200
- # availability_zones: ["AvailabilityZone"], # required
1201
- # },
1202
- # cross_region_copy_rules: [
1203
- # {
1204
- # target_region: "TargetRegion",
1205
- # target: "Target",
1206
- # encrypted: false, # required
1207
- # cmk_arn: "CmkArn",
1208
- # copy_tags: false,
1209
- # retain_rule: {
1210
- # interval: 1,
1211
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
1212
- # },
1213
- # deprecate_rule: {
1214
- # interval: 1,
1215
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
1216
- # },
1217
- # },
1218
- # ],
1219
- # share_rules: [
1220
- # {
1221
- # target_accounts: ["AwsAccountId"], # required
1222
- # unshare_interval: 1,
1223
- # unshare_interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
1224
- # },
1225
- # ],
1226
- # deprecate_rule: {
1227
- # count: 1,
1228
- # interval: 1,
1229
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
1230
- # },
1231
- # archive_rule: {
1232
- # retain_rule: { # required
1233
- # retention_archive_tier: { # required
1234
- # count: 1,
1235
- # interval: 1,
1236
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
1237
- # },
1238
- # },
1239
- # },
1240
- # },
1241
- # ],
1242
- # parameters: {
1243
- # exclude_boot_volume: false,
1244
- # no_reboot: false,
1245
- # exclude_data_volume_tags: [
1246
- # {
1247
- # key: "String", # required
1248
- # value: "String", # required
1249
- # },
1250
- # ],
1251
- # },
1252
- # event_source: {
1253
- # type: "MANAGED_CWE", # required, accepts MANAGED_CWE
1254
- # parameters: {
1255
- # event_type: "shareSnapshot", # required, accepts shareSnapshot
1256
- # snapshot_owner: ["AwsAccountId"], # required
1257
- # description_regex: "DescriptionRegex", # required
1258
- # },
1259
- # },
1260
- # actions: [
1261
- # {
1262
- # name: "ActionName", # required
1263
- # cross_region_copy: [ # required
1264
- # {
1265
- # target: "Target", # required
1266
- # encryption_configuration: { # required
1267
- # encrypted: false, # required
1268
- # cmk_arn: "CmkArn",
1269
- # },
1270
- # retain_rule: {
1271
- # interval: 1,
1272
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
1273
- # },
1274
- # },
1275
- # ],
1276
- # },
1277
- # ],
1278
- # }
1279
- #
1280
823
  # @!attribute [rw] policy_type
1281
824
  # **\[All policy types\]** The valid target resource types and actions
1282
825
  # a policy can manage. Specify `EBS_SNAPSHOT_MANAGEMENT` to create a
@@ -1417,15 +960,6 @@ module Aws::DLM
1417
960
  # CrossRegionCopyRule, then you must specify a retention interval of
1418
961
  # `1` day or more.
1419
962
  #
1420
- # @note When making an API call, you may pass RetainRule
1421
- # data as a hash:
1422
- #
1423
- # {
1424
- # count: 1,
1425
- # interval: 1,
1426
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
1427
- # }
1428
- #
1429
963
  # @!attribute [rw] count
1430
964
  # The number of snapshots to retain for each volume, up to a maximum
1431
965
  # of 1000. For example if you want to retain a maximum of three
@@ -1477,15 +1011,6 @@ module Aws::DLM
1477
1011
  #
1478
1012
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshot-ami-policy.html#dlm-archive
1479
1013
  #
1480
- # @note When making an API call, you may pass RetentionArchiveTier
1481
- # data as a hash:
1482
- #
1483
- # {
1484
- # count: 1,
1485
- # interval: 1,
1486
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
1487
- # }
1488
- #
1489
1014
  # @!attribute [rw] count
1490
1015
  # The maximum number of snapshots to retain in the archive storage
1491
1016
  # tier for each volume. The count must ensure that each snapshot
@@ -1520,82 +1045,6 @@ module Aws::DLM
1520
1045
  # **\[Snapshot and AMI policies only\]** Specifies a schedule for a
1521
1046
  # snapshot or AMI lifecycle policy.
1522
1047
  #
1523
- # @note When making an API call, you may pass Schedule
1524
- # data as a hash:
1525
- #
1526
- # {
1527
- # name: "ScheduleName",
1528
- # copy_tags: false,
1529
- # tags_to_add: [
1530
- # {
1531
- # key: "String", # required
1532
- # value: "String", # required
1533
- # },
1534
- # ],
1535
- # variable_tags: [
1536
- # {
1537
- # key: "String", # required
1538
- # value: "String", # required
1539
- # },
1540
- # ],
1541
- # create_rule: {
1542
- # location: "CLOUD", # accepts CLOUD, OUTPOST_LOCAL
1543
- # interval: 1,
1544
- # interval_unit: "HOURS", # accepts HOURS
1545
- # times: ["Time"],
1546
- # cron_expression: "CronExpression",
1547
- # },
1548
- # retain_rule: {
1549
- # count: 1,
1550
- # interval: 1,
1551
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
1552
- # },
1553
- # fast_restore_rule: {
1554
- # count: 1,
1555
- # interval: 1,
1556
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
1557
- # availability_zones: ["AvailabilityZone"], # required
1558
- # },
1559
- # cross_region_copy_rules: [
1560
- # {
1561
- # target_region: "TargetRegion",
1562
- # target: "Target",
1563
- # encrypted: false, # required
1564
- # cmk_arn: "CmkArn",
1565
- # copy_tags: false,
1566
- # retain_rule: {
1567
- # interval: 1,
1568
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
1569
- # },
1570
- # deprecate_rule: {
1571
- # interval: 1,
1572
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
1573
- # },
1574
- # },
1575
- # ],
1576
- # share_rules: [
1577
- # {
1578
- # target_accounts: ["AwsAccountId"], # required
1579
- # unshare_interval: 1,
1580
- # unshare_interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
1581
- # },
1582
- # ],
1583
- # deprecate_rule: {
1584
- # count: 1,
1585
- # interval: 1,
1586
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
1587
- # },
1588
- # archive_rule: {
1589
- # retain_rule: { # required
1590
- # retention_archive_tier: { # required
1591
- # count: 1,
1592
- # interval: 1,
1593
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
1594
- # },
1595
- # },
1596
- # },
1597
- # }
1598
- #
1599
1048
  # @!attribute [rw] name
1600
1049
  # The name of the schedule.
1601
1050
  # @return [String]
@@ -1690,15 +1139,6 @@ module Aws::DLM
1690
1139
  # **\[Snapshot policies only\]** Specifies a rule for sharing snapshots
1691
1140
  # across Amazon Web Services accounts.
1692
1141
  #
1693
- # @note When making an API call, you may pass ShareRule
1694
- # data as a hash:
1695
- #
1696
- # {
1697
- # target_accounts: ["AwsAccountId"], # required
1698
- # unshare_interval: 1,
1699
- # unshare_interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
1700
- # }
1701
- #
1702
1142
  # @!attribute [rw] target_accounts
1703
1143
  # The IDs of the Amazon Web Services accounts with which to share the
1704
1144
  # snapshots.
@@ -1725,14 +1165,6 @@ module Aws::DLM
1725
1165
 
1726
1166
  # Specifies a tag for a resource.
1727
1167
  #
1728
- # @note When making an API call, you may pass Tag
1729
- # data as a hash:
1730
- #
1731
- # {
1732
- # key: "String", # required
1733
- # value: "String", # required
1734
- # }
1735
- #
1736
1168
  # @!attribute [rw] key
1737
1169
  # The tag key.
1738
1170
  # @return [String]
@@ -1750,16 +1182,6 @@ module Aws::DLM
1750
1182
  include Aws::Structure
1751
1183
  end
1752
1184
 
1753
- # @note When making an API call, you may pass TagResourceRequest
1754
- # data as a hash:
1755
- #
1756
- # {
1757
- # resource_arn: "PolicyArn", # required
1758
- # tags: { # required
1759
- # "TagKey" => "TagValue",
1760
- # },
1761
- # }
1762
- #
1763
1185
  # @!attribute [rw] resource_arn
1764
1186
  # The Amazon Resource Name (ARN) of the resource.
1765
1187
  # @return [String]
@@ -1781,14 +1203,6 @@ module Aws::DLM
1781
1203
  #
1782
1204
  class TagResourceResponse < Aws::EmptyStructure; end
1783
1205
 
1784
- # @note When making an API call, you may pass UntagResourceRequest
1785
- # data as a hash:
1786
- #
1787
- # {
1788
- # resource_arn: "PolicyArn", # required
1789
- # tag_keys: ["TagKey"], # required
1790
- # }
1791
- #
1792
1206
  # @!attribute [rw] resource_arn
1793
1207
  # The Amazon Resource Name (ARN) of the resource.
1794
1208
  # @return [String]
@@ -1810,137 +1224,6 @@ module Aws::DLM
1810
1224
  #
1811
1225
  class UntagResourceResponse < Aws::EmptyStructure; end
1812
1226
 
1813
- # @note When making an API call, you may pass UpdateLifecyclePolicyRequest
1814
- # data as a hash:
1815
- #
1816
- # {
1817
- # policy_id: "PolicyId", # required
1818
- # execution_role_arn: "ExecutionRoleArn",
1819
- # state: "ENABLED", # accepts ENABLED, DISABLED
1820
- # description: "PolicyDescription",
1821
- # policy_details: {
1822
- # policy_type: "EBS_SNAPSHOT_MANAGEMENT", # accepts EBS_SNAPSHOT_MANAGEMENT, IMAGE_MANAGEMENT, EVENT_BASED_POLICY
1823
- # resource_types: ["VOLUME"], # accepts VOLUME, INSTANCE
1824
- # resource_locations: ["CLOUD"], # accepts CLOUD, OUTPOST
1825
- # target_tags: [
1826
- # {
1827
- # key: "String", # required
1828
- # value: "String", # required
1829
- # },
1830
- # ],
1831
- # schedules: [
1832
- # {
1833
- # name: "ScheduleName",
1834
- # copy_tags: false,
1835
- # tags_to_add: [
1836
- # {
1837
- # key: "String", # required
1838
- # value: "String", # required
1839
- # },
1840
- # ],
1841
- # variable_tags: [
1842
- # {
1843
- # key: "String", # required
1844
- # value: "String", # required
1845
- # },
1846
- # ],
1847
- # create_rule: {
1848
- # location: "CLOUD", # accepts CLOUD, OUTPOST_LOCAL
1849
- # interval: 1,
1850
- # interval_unit: "HOURS", # accepts HOURS
1851
- # times: ["Time"],
1852
- # cron_expression: "CronExpression",
1853
- # },
1854
- # retain_rule: {
1855
- # count: 1,
1856
- # interval: 1,
1857
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
1858
- # },
1859
- # fast_restore_rule: {
1860
- # count: 1,
1861
- # interval: 1,
1862
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
1863
- # availability_zones: ["AvailabilityZone"], # required
1864
- # },
1865
- # cross_region_copy_rules: [
1866
- # {
1867
- # target_region: "TargetRegion",
1868
- # target: "Target",
1869
- # encrypted: false, # required
1870
- # cmk_arn: "CmkArn",
1871
- # copy_tags: false,
1872
- # retain_rule: {
1873
- # interval: 1,
1874
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
1875
- # },
1876
- # deprecate_rule: {
1877
- # interval: 1,
1878
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
1879
- # },
1880
- # },
1881
- # ],
1882
- # share_rules: [
1883
- # {
1884
- # target_accounts: ["AwsAccountId"], # required
1885
- # unshare_interval: 1,
1886
- # unshare_interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
1887
- # },
1888
- # ],
1889
- # deprecate_rule: {
1890
- # count: 1,
1891
- # interval: 1,
1892
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
1893
- # },
1894
- # archive_rule: {
1895
- # retain_rule: { # required
1896
- # retention_archive_tier: { # required
1897
- # count: 1,
1898
- # interval: 1,
1899
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
1900
- # },
1901
- # },
1902
- # },
1903
- # },
1904
- # ],
1905
- # parameters: {
1906
- # exclude_boot_volume: false,
1907
- # no_reboot: false,
1908
- # exclude_data_volume_tags: [
1909
- # {
1910
- # key: "String", # required
1911
- # value: "String", # required
1912
- # },
1913
- # ],
1914
- # },
1915
- # event_source: {
1916
- # type: "MANAGED_CWE", # required, accepts MANAGED_CWE
1917
- # parameters: {
1918
- # event_type: "shareSnapshot", # required, accepts shareSnapshot
1919
- # snapshot_owner: ["AwsAccountId"], # required
1920
- # description_regex: "DescriptionRegex", # required
1921
- # },
1922
- # },
1923
- # actions: [
1924
- # {
1925
- # name: "ActionName", # required
1926
- # cross_region_copy: [ # required
1927
- # {
1928
- # target: "Target", # required
1929
- # encryption_configuration: { # required
1930
- # encrypted: false, # required
1931
- # cmk_arn: "CmkArn",
1932
- # },
1933
- # retain_rule: {
1934
- # interval: 1,
1935
- # interval_unit: "DAYS", # accepts DAYS, WEEKS, MONTHS, YEARS
1936
- # },
1937
- # },
1938
- # ],
1939
- # },
1940
- # ],
1941
- # },
1942
- # }
1943
- #
1944
1227
  # @!attribute [rw] policy_id
1945
1228
  # The identifier of the lifecycle policy.
1946
1229
  # @return [String]