aws-sdk-dlm 1.82.0 → 1.83.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: 3abb9cbe93de2bf9175c892275480247c875e787df588696ea2adbbd3965e8ad
4
- data.tar.gz: 661a780db122a804e46dbe8567f1be554a7bbbd218b40faf1a5d5ab246a68e06
3
+ metadata.gz: 87edd2215be3b547239fe064cb33eb9d4f7392ff77af7a7f863e0c1823e7d4ae
4
+ data.tar.gz: 4d1cc5b6c9ea2e60e795fb6630b805a6fa381a3f765b91e05877444a14f11c94
5
5
  SHA512:
6
- metadata.gz: ee42dda4ab18a7c949fe3140bb54c4b600d18cbac77899325cdb0383772133d59dbf3b8d8264ce1aba23835b77cd17dffdc4bf12b3f2de85026aaf5695170013
7
- data.tar.gz: 948eda34a6f5d525c0ed7e213e1ecf36bc143590ccf62d71b767ab19eb8bfabb2eacc804f4bad44663c4d3b02006742c7b9cb89b3df24c9cece0fdcf288108d5
6
+ metadata.gz: c70aff20df2549ce184b440de3dae7950a169152fd58fc0af8347ff15cfeb0356418ed6b8b0aa4dc5d3290c000c3c475c5cdada98c7fdc9f6ec04715e269055e
7
+ data.tar.gz: cbf1b0c7ba78c951c367ecfc2158d61e59bd9d90060d14b0e8e659cd02ecd5cef4801d965d079c6369e3a6d128efeb15d31f824a568f9e7e51b32cc8f61cdd2b
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.83.0 (2024-12-16)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for Local Zones in Amazon Data Lifecycle Manager EBS snapshot lifecycle policies.
8
+
4
9
  1.82.0 (2024-10-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.82.0
1
+ 1.83.0
@@ -576,7 +576,7 @@ module Aws::DLM
576
576
  # policy_details: {
577
577
  # policy_type: "EBS_SNAPSHOT_MANAGEMENT", # accepts EBS_SNAPSHOT_MANAGEMENT, IMAGE_MANAGEMENT, EVENT_BASED_POLICY
578
578
  # resource_types: ["VOLUME"], # accepts VOLUME, INSTANCE
579
- # resource_locations: ["CLOUD"], # accepts CLOUD, OUTPOST
579
+ # resource_locations: ["CLOUD"], # accepts CLOUD, OUTPOST, LOCAL_ZONE
580
580
  # target_tags: [
581
581
  # {
582
582
  # key: "String", # required
@@ -600,7 +600,7 @@ module Aws::DLM
600
600
  # },
601
601
  # ],
602
602
  # create_rule: {
603
- # location: "CLOUD", # accepts CLOUD, OUTPOST_LOCAL
603
+ # location: "CLOUD", # accepts CLOUD, OUTPOST_LOCAL, LOCAL_ZONE
604
604
  # interval: 1,
605
605
  # interval_unit: "HOURS", # accepts HOURS
606
606
  # times: ["Time"],
@@ -898,7 +898,7 @@ module Aws::DLM
898
898
  # resp.policy.policy_details.resource_types #=> Array
899
899
  # resp.policy.policy_details.resource_types[0] #=> String, one of "VOLUME", "INSTANCE"
900
900
  # resp.policy.policy_details.resource_locations #=> Array
901
- # resp.policy.policy_details.resource_locations[0] #=> String, one of "CLOUD", "OUTPOST"
901
+ # resp.policy.policy_details.resource_locations[0] #=> String, one of "CLOUD", "OUTPOST", "LOCAL_ZONE"
902
902
  # resp.policy.policy_details.target_tags #=> Array
903
903
  # resp.policy.policy_details.target_tags[0].key #=> String
904
904
  # resp.policy.policy_details.target_tags[0].value #=> String
@@ -911,7 +911,7 @@ module Aws::DLM
911
911
  # resp.policy.policy_details.schedules[0].variable_tags #=> Array
912
912
  # resp.policy.policy_details.schedules[0].variable_tags[0].key #=> String
913
913
  # resp.policy.policy_details.schedules[0].variable_tags[0].value #=> String
914
- # resp.policy.policy_details.schedules[0].create_rule.location #=> String, one of "CLOUD", "OUTPOST_LOCAL"
914
+ # resp.policy.policy_details.schedules[0].create_rule.location #=> String, one of "CLOUD", "OUTPOST_LOCAL", "LOCAL_ZONE"
915
915
  # resp.policy.policy_details.schedules[0].create_rule.interval #=> Integer
916
916
  # resp.policy.policy_details.schedules[0].create_rule.interval_unit #=> String, one of "HOURS"
917
917
  # resp.policy.policy_details.schedules[0].create_rule.times #=> Array
@@ -1172,7 +1172,7 @@ module Aws::DLM
1172
1172
  # policy_details: {
1173
1173
  # policy_type: "EBS_SNAPSHOT_MANAGEMENT", # accepts EBS_SNAPSHOT_MANAGEMENT, IMAGE_MANAGEMENT, EVENT_BASED_POLICY
1174
1174
  # resource_types: ["VOLUME"], # accepts VOLUME, INSTANCE
1175
- # resource_locations: ["CLOUD"], # accepts CLOUD, OUTPOST
1175
+ # resource_locations: ["CLOUD"], # accepts CLOUD, OUTPOST, LOCAL_ZONE
1176
1176
  # target_tags: [
1177
1177
  # {
1178
1178
  # key: "String", # required
@@ -1196,7 +1196,7 @@ module Aws::DLM
1196
1196
  # },
1197
1197
  # ],
1198
1198
  # create_rule: {
1199
- # location: "CLOUD", # accepts CLOUD, OUTPOST_LOCAL
1199
+ # location: "CLOUD", # accepts CLOUD, OUTPOST_LOCAL, LOCAL_ZONE
1200
1200
  # interval: 1,
1201
1201
  # interval_unit: "HOURS", # accepts HOURS
1202
1202
  # times: ["Time"],
@@ -1369,7 +1369,7 @@ module Aws::DLM
1369
1369
  tracer: tracer
1370
1370
  )
1371
1371
  context[:gem_name] = 'aws-sdk-dlm'
1372
- context[:gem_version] = '1.82.0'
1372
+ context[:gem_version] = '1.83.0'
1373
1373
  Seahorse::Client::Request.new(handlers, context)
1374
1374
  end
1375
1375
 
@@ -223,16 +223,30 @@ module Aws::DLM
223
223
  #
224
224
  # @!attribute [rw] location
225
225
  # **\[Custom snapshot policies only\]** Specifies the destination for
226
- # snapshots created by the policy. To create snapshots in the same
227
- # Region as the source resource, specify `CLOUD`. To create snapshots
228
- # on the same Outpost as the source resource, specify `OUTPOST_LOCAL`.
229
- # If you omit this parameter, `CLOUD` is used by default.
226
+ # snapshots created by the policy. The allowed destinations depend on
227
+ # the location of the targeted resources.
230
228
  #
231
- # If the policy targets resources in an Amazon Web Services Region,
232
- # then you must create snapshots in the same Region as the source
233
- # resource. If the policy targets resources on an Outpost, then you
234
- # can create snapshots on the same Outpost as the source resource, or
235
- # in the Region of that Outpost.
229
+ # * If the policy targets resources in a Region, then you must create
230
+ # snapshots in the same Region as the source resource.
231
+ #
232
+ # * If the policy targets resources in a Local Zone, you can create
233
+ # snapshots in the same Local Zone or in its parent Region.
234
+ #
235
+ # * If the policy targets resources on an Outpost, then you can create
236
+ # snapshots on the same Outpost or in its parent Region.
237
+ #
238
+ # Specify one of the following values:
239
+ #
240
+ # * To create snapshots in the same Region as the source resource,
241
+ # specify `CLOUD`.
242
+ #
243
+ # * To create snapshots in the same Local Zone as the source resource,
244
+ # specify `LOCAL_ZONE`.
245
+ #
246
+ # * To create snapshots on the same Outpost as the source resource,
247
+ # specify `OUTPOST_LOCAL`.
248
+ #
249
+ # Default: `CLOUD`
236
250
  # @return [String]
237
251
  #
238
252
  # @!attribute [rw] interval
@@ -255,12 +269,12 @@ module Aws::DLM
255
269
  #
256
270
  # @!attribute [rw] cron_expression
257
271
  # The schedule, as a Cron expression. The schedule interval must be
258
- # between 1 hour and 1 year. For more information, see [Cron
259
- # expressions][1] in the *Amazon CloudWatch User Guide*.
272
+ # between 1 hour and 1 year. For more information, see the [Cron
273
+ # expressions reference][1] in the *Amazon EventBridge User Guide*.
260
274
  #
261
275
  #
262
276
  #
263
- # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions
277
+ # [1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-cron-expressions.html
264
278
  # @return [String]
265
279
  #
266
280
  # @!attribute [rw] scripts
@@ -809,8 +823,7 @@ module Aws::DLM
809
823
  include Aws::Structure
810
824
  end
811
825
 
812
- # **\[Custom policies only\]** Detailed information about a snapshot,
813
- # AMI, or event-based lifecycle policy.
826
+ # Information about a lifecycle policy.
814
827
  #
815
828
  # @!attribute [rw] policy_id
816
829
  # The identifier of the lifecycle policy.
@@ -854,12 +867,12 @@ module Aws::DLM
854
867
  # @return [String]
855
868
  #
856
869
  # @!attribute [rw] default_policy
857
- # **\[Default policies only\]** The type of default policy. Values
858
- # include:
870
+ # Indicates whether the policy is a default lifecycle policy or a
871
+ # custom lifecycle policy.
859
872
  #
860
- # * `VOLUME` - Default policy for EBS snapshots
873
+ # * `true` - the policy is a default policy.
861
874
  #
862
- # * `INSTANCE` - Default policy for EBS-backed AMIs
875
+ # * `false` - the policy is a custom policy.
863
876
  # @return [Boolean]
864
877
  #
865
878
  # @see http://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/LifecyclePolicy AWS API Documentation
@@ -1030,14 +1043,12 @@ module Aws::DLM
1030
1043
  # Specifies the configuration of a lifecycle policy.
1031
1044
  #
1032
1045
  # @!attribute [rw] policy_type
1033
- # **\[Custom policies only\]** The valid target resource types and
1034
- # actions a policy can manage. Specify `EBS_SNAPSHOT_MANAGEMENT` to
1035
- # create a lifecycle policy that manages the lifecycle of Amazon EBS
1036
- # snapshots. Specify `IMAGE_MANAGEMENT` to create a lifecycle policy
1037
- # that manages the lifecycle of EBS-backed AMIs. Specify
1038
- # `EVENT_BASED_POLICY ` to create an event-based policy that performs
1039
- # specific actions when a defined event occurs in your Amazon Web
1040
- # Services account.
1046
+ # The type of policy. Specify `EBS_SNAPSHOT_MANAGEMENT` to create a
1047
+ # lifecycle policy that manages the lifecycle of Amazon EBS snapshots.
1048
+ # Specify `IMAGE_MANAGEMENT` to create a lifecycle policy that manages
1049
+ # the lifecycle of EBS-backed AMIs. Specify `EVENT_BASED_POLICY ` to
1050
+ # create an event-based policy that performs specific actions when a
1051
+ # defined event occurs in your Amazon Web Services account.
1041
1052
  #
1042
1053
  # The default is `EBS_SNAPSHOT_MANAGEMENT`.
1043
1054
  # @return [String]
@@ -1051,13 +1062,22 @@ module Aws::DLM
1051
1062
  #
1052
1063
  # @!attribute [rw] resource_locations
1053
1064
  # **\[Custom snapshot and AMI policies only\]** The location of the
1054
- # resources to backup. If the source resources are located in an
1055
- # Amazon Web Services Region, specify `CLOUD`. If the source resources
1056
- # are located on an Outpost in your account, specify `OUTPOST`.
1057
- #
1058
- # If you specify `OUTPOST`, Amazon Data Lifecycle Manager backs up all
1059
- # resources of the specified type with matching target tags across all
1060
- # of the Outposts in your account.
1065
+ # resources to backup.
1066
+ #
1067
+ # * If the source resources are located in a Region, specify `CLOUD`.
1068
+ # In this case, the policy targets all resources of the specified
1069
+ # type with matching target tags across all Availability Zones in
1070
+ # the Region.
1071
+ #
1072
+ # * **\[Custom snapshot policies only\]** If the source resources are
1073
+ # located in a Local Zone, specify `LOCAL_ZONE`. In this case, the
1074
+ # policy targets all resources of the specified type with matching
1075
+ # target tags across all Local Zones in the Region.
1076
+ #
1077
+ # * If the source resources are located on an Outpost in your account,
1078
+ # specify `OUTPOST`. In this case, the policy targets all resources
1079
+ # of the specified type with matching target tags across all of the
1080
+ # Outposts in your account.
1061
1081
  # @return [Array<String>]
1062
1082
  #
1063
1083
  # @!attribute [rw] target_tags
@@ -1406,12 +1426,12 @@ module Aws::DLM
1406
1426
  # @return [Types::FastRestoreRule]
1407
1427
  #
1408
1428
  # @!attribute [rw] cross_region_copy_rules
1409
- # Specifies a rule for copying snapshots or AMIs across regions.
1429
+ # Specifies a rule for copying snapshots or AMIs across Regions.
1410
1430
  #
1411
1431
  # <note markdown="1"> You can't specify cross-Region copy rules for policies that create
1412
- # snapshots on an Outpost. If the policy creates snapshots in a
1413
- # Region, then snapshots can be copied to up to three Regions or
1414
- # Outposts.
1432
+ # snapshots on an Outpost or in a Local Zone. If the policy creates
1433
+ # snapshots in a Region, then snapshots can be copied to up to three
1434
+ # Regions or Outposts.
1415
1435
  #
1416
1436
  # </note>
1417
1437
  # @return [Array<Types::CrossRegionCopyRule>]
data/lib/aws-sdk-dlm.rb CHANGED
@@ -54,7 +54,7 @@ module Aws::DLM
54
54
  autoload :EndpointProvider, 'aws-sdk-dlm/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-dlm/endpoints'
56
56
 
57
- GEM_VERSION = '1.82.0'
57
+ GEM_VERSION = '1.83.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -87,7 +87,7 @@ module Aws
87
87
  ?policy_details: {
88
88
  policy_type: ("EBS_SNAPSHOT_MANAGEMENT" | "IMAGE_MANAGEMENT" | "EVENT_BASED_POLICY")?,
89
89
  resource_types: Array[("VOLUME" | "INSTANCE")]?,
90
- resource_locations: Array[("CLOUD" | "OUTPOST")]?,
90
+ resource_locations: Array[("CLOUD" | "OUTPOST" | "LOCAL_ZONE")]?,
91
91
  target_tags: Array[
92
92
  {
93
93
  key: ::String,
@@ -111,7 +111,7 @@ module Aws
111
111
  },
112
112
  ]?,
113
113
  create_rule: {
114
- location: ("CLOUD" | "OUTPOST_LOCAL")?,
114
+ location: ("CLOUD" | "OUTPOST_LOCAL" | "LOCAL_ZONE")?,
115
115
  interval: ::Integer?,
116
116
  interval_unit: ("HOURS")?,
117
117
  times: Array[::String]?,
@@ -336,7 +336,7 @@ module Aws
336
336
  ?policy_details: {
337
337
  policy_type: ("EBS_SNAPSHOT_MANAGEMENT" | "IMAGE_MANAGEMENT" | "EVENT_BASED_POLICY")?,
338
338
  resource_types: Array[("VOLUME" | "INSTANCE")]?,
339
- resource_locations: Array[("CLOUD" | "OUTPOST")]?,
339
+ resource_locations: Array[("CLOUD" | "OUTPOST" | "LOCAL_ZONE")]?,
340
340
  target_tags: Array[
341
341
  {
342
342
  key: ::String,
@@ -360,7 +360,7 @@ module Aws
360
360
  },
361
361
  ]?,
362
362
  create_rule: {
363
- location: ("CLOUD" | "OUTPOST_LOCAL")?,
363
+ location: ("CLOUD" | "OUTPOST_LOCAL" | "LOCAL_ZONE")?,
364
364
  interval: ::Integer?,
365
365
  interval_unit: ("HOURS")?,
366
366
  times: Array[::String]?,
data/sig/types.rbs CHANGED
@@ -46,7 +46,7 @@ module Aws::DLM
46
46
  end
47
47
 
48
48
  class CreateRule
49
- attr_accessor location: ("CLOUD" | "OUTPOST_LOCAL")
49
+ attr_accessor location: ("CLOUD" | "OUTPOST_LOCAL" | "LOCAL_ZONE")
50
50
  attr_accessor interval: ::Integer
51
51
  attr_accessor interval_unit: ("HOURS")
52
52
  attr_accessor times: ::Array[::String]
@@ -230,7 +230,7 @@ module Aws::DLM
230
230
  class PolicyDetails
231
231
  attr_accessor policy_type: ("EBS_SNAPSHOT_MANAGEMENT" | "IMAGE_MANAGEMENT" | "EVENT_BASED_POLICY")
232
232
  attr_accessor resource_types: ::Array[("VOLUME" | "INSTANCE")]
233
- attr_accessor resource_locations: ::Array[("CLOUD" | "OUTPOST")]
233
+ attr_accessor resource_locations: ::Array[("CLOUD" | "OUTPOST" | "LOCAL_ZONE")]
234
234
  attr_accessor target_tags: ::Array[Types::Tag]
235
235
  attr_accessor schedules: ::Array[Types::Schedule]
236
236
  attr_accessor parameters: Types::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.82.0
4
+ version: 1.83.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: 2024-10-18 00:00:00.000000000 Z
11
+ date: 2024-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core