aws-sdk-dlm 1.82.0 → 1.84.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/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-dlm/client.rb +30 -7
- data/lib/aws-sdk-dlm/types.rb +57 -37
- data/lib/aws-sdk-dlm.rb +1 -1
- data/sig/client.rbs +6 -4
- data/sig/resource.rbs +2 -0
- data/sig/types.rbs +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd6c262f2d9f99c57f026bb307b109d5d1e8381ac47c1fba551df283709c92f4
|
4
|
+
data.tar.gz: ed98be2d565b30e6d5d01bce0e5ef01ac48a43093a455372dde008e7211a2e81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31403ca8a236253814ffbc65dd44914ea7815083f5f2c86117df0cf107bea17ff53e0baeb7edbd798f968e367898566cade7263379f68d476871862cad6dc86e
|
7
|
+
data.tar.gz: 921e89dccd351f16aabae6a207aaecc561b386b17fc9e4000fcc933d5c95a7da6a9f0a510e96c64553a5a169536b39628cd4aa7ec9161da2a5418f5660581107
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.84.0 (2025-01-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.83.0 (2024-12-16)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds support for Local Zones in Amazon Data Lifecycle Manager EBS snapshot lifecycle policies.
|
13
|
+
|
4
14
|
1.82.0 (2024-10-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.84.0
|
data/lib/aws-sdk-dlm/client.rb
CHANGED
@@ -257,11 +257,34 @@ module Aws::DLM
|
|
257
257
|
# Used when loading credentials from the shared credentials file
|
258
258
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
259
259
|
#
|
260
|
+
# @option options [String] :request_checksum_calculation ("when_supported")
|
261
|
+
# Determines when a checksum will be calculated for request payloads. Values are:
|
262
|
+
#
|
263
|
+
# * `when_supported` - (default) When set, a checksum will be
|
264
|
+
# calculated for all request payloads of operations modeled with the
|
265
|
+
# `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
|
266
|
+
# `requestAlgorithmMember` is modeled.
|
267
|
+
# * `when_required` - When set, a checksum will only be calculated for
|
268
|
+
# request payloads of operations modeled with the `httpChecksum` trait where
|
269
|
+
# `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
|
270
|
+
# is modeled and supplied.
|
271
|
+
#
|
260
272
|
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
261
273
|
# The minimum size in bytes that triggers compression for request
|
262
274
|
# bodies. The value must be non-negative integer value between 0
|
263
275
|
# and 10485780 bytes inclusive.
|
264
276
|
#
|
277
|
+
# @option options [String] :response_checksum_validation ("when_supported")
|
278
|
+
# Determines when checksum validation will be performed on response payloads. Values are:
|
279
|
+
#
|
280
|
+
# * `when_supported` - (default) When set, checksum validation is performed on all
|
281
|
+
# response payloads of operations modeled with the `httpChecksum` trait where
|
282
|
+
# `responseAlgorithms` is modeled, except when no modeled checksum algorithms
|
283
|
+
# are supported.
|
284
|
+
# * `when_required` - When set, checksum validation is not performed on
|
285
|
+
# response payloads of operations unless the checksum algorithm is supported and
|
286
|
+
# the `requestValidationModeMember` member is set to `ENABLED`.
|
287
|
+
#
|
265
288
|
# @option options [Proc] :retry_backoff
|
266
289
|
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
267
290
|
# This option is only used in the `legacy` retry mode.
|
@@ -576,7 +599,7 @@ module Aws::DLM
|
|
576
599
|
# policy_details: {
|
577
600
|
# policy_type: "EBS_SNAPSHOT_MANAGEMENT", # accepts EBS_SNAPSHOT_MANAGEMENT, IMAGE_MANAGEMENT, EVENT_BASED_POLICY
|
578
601
|
# resource_types: ["VOLUME"], # accepts VOLUME, INSTANCE
|
579
|
-
# resource_locations: ["CLOUD"], # accepts CLOUD, OUTPOST
|
602
|
+
# resource_locations: ["CLOUD"], # accepts CLOUD, OUTPOST, LOCAL_ZONE
|
580
603
|
# target_tags: [
|
581
604
|
# {
|
582
605
|
# key: "String", # required
|
@@ -600,7 +623,7 @@ module Aws::DLM
|
|
600
623
|
# },
|
601
624
|
# ],
|
602
625
|
# create_rule: {
|
603
|
-
# location: "CLOUD", # accepts CLOUD, OUTPOST_LOCAL
|
626
|
+
# location: "CLOUD", # accepts CLOUD, OUTPOST_LOCAL, LOCAL_ZONE
|
604
627
|
# interval: 1,
|
605
628
|
# interval_unit: "HOURS", # accepts HOURS
|
606
629
|
# times: ["Time"],
|
@@ -898,7 +921,7 @@ module Aws::DLM
|
|
898
921
|
# resp.policy.policy_details.resource_types #=> Array
|
899
922
|
# resp.policy.policy_details.resource_types[0] #=> String, one of "VOLUME", "INSTANCE"
|
900
923
|
# resp.policy.policy_details.resource_locations #=> Array
|
901
|
-
# resp.policy.policy_details.resource_locations[0] #=> String, one of "CLOUD", "OUTPOST"
|
924
|
+
# resp.policy.policy_details.resource_locations[0] #=> String, one of "CLOUD", "OUTPOST", "LOCAL_ZONE"
|
902
925
|
# resp.policy.policy_details.target_tags #=> Array
|
903
926
|
# resp.policy.policy_details.target_tags[0].key #=> String
|
904
927
|
# resp.policy.policy_details.target_tags[0].value #=> String
|
@@ -911,7 +934,7 @@ module Aws::DLM
|
|
911
934
|
# resp.policy.policy_details.schedules[0].variable_tags #=> Array
|
912
935
|
# resp.policy.policy_details.schedules[0].variable_tags[0].key #=> String
|
913
936
|
# 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"
|
937
|
+
# resp.policy.policy_details.schedules[0].create_rule.location #=> String, one of "CLOUD", "OUTPOST_LOCAL", "LOCAL_ZONE"
|
915
938
|
# resp.policy.policy_details.schedules[0].create_rule.interval #=> Integer
|
916
939
|
# resp.policy.policy_details.schedules[0].create_rule.interval_unit #=> String, one of "HOURS"
|
917
940
|
# resp.policy.policy_details.schedules[0].create_rule.times #=> Array
|
@@ -1172,7 +1195,7 @@ module Aws::DLM
|
|
1172
1195
|
# policy_details: {
|
1173
1196
|
# policy_type: "EBS_SNAPSHOT_MANAGEMENT", # accepts EBS_SNAPSHOT_MANAGEMENT, IMAGE_MANAGEMENT, EVENT_BASED_POLICY
|
1174
1197
|
# resource_types: ["VOLUME"], # accepts VOLUME, INSTANCE
|
1175
|
-
# resource_locations: ["CLOUD"], # accepts CLOUD, OUTPOST
|
1198
|
+
# resource_locations: ["CLOUD"], # accepts CLOUD, OUTPOST, LOCAL_ZONE
|
1176
1199
|
# target_tags: [
|
1177
1200
|
# {
|
1178
1201
|
# key: "String", # required
|
@@ -1196,7 +1219,7 @@ module Aws::DLM
|
|
1196
1219
|
# },
|
1197
1220
|
# ],
|
1198
1221
|
# create_rule: {
|
1199
|
-
# location: "CLOUD", # accepts CLOUD, OUTPOST_LOCAL
|
1222
|
+
# location: "CLOUD", # accepts CLOUD, OUTPOST_LOCAL, LOCAL_ZONE
|
1200
1223
|
# interval: 1,
|
1201
1224
|
# interval_unit: "HOURS", # accepts HOURS
|
1202
1225
|
# times: ["Time"],
|
@@ -1369,7 +1392,7 @@ module Aws::DLM
|
|
1369
1392
|
tracer: tracer
|
1370
1393
|
)
|
1371
1394
|
context[:gem_name] = 'aws-sdk-dlm'
|
1372
|
-
context[:gem_version] = '1.
|
1395
|
+
context[:gem_version] = '1.84.0'
|
1373
1396
|
Seahorse::Client::Request.new(handlers, context)
|
1374
1397
|
end
|
1375
1398
|
|
data/lib/aws-sdk-dlm/types.rb
CHANGED
@@ -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.
|
227
|
-
#
|
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
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
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
|
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/
|
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
|
-
#
|
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
|
-
#
|
858
|
-
#
|
870
|
+
# Indicates whether the policy is a default lifecycle policy or a
|
871
|
+
# custom lifecycle policy.
|
859
872
|
#
|
860
|
-
# * `
|
873
|
+
# * `true` - the policy is a default policy.
|
861
874
|
#
|
862
|
-
# * `
|
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
|
-
#
|
1034
|
-
#
|
1035
|
-
# create a lifecycle policy that manages
|
1036
|
-
#
|
1037
|
-
#
|
1038
|
-
#
|
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.
|
1055
|
-
#
|
1056
|
-
#
|
1057
|
-
#
|
1058
|
-
#
|
1059
|
-
#
|
1060
|
-
#
|
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
|
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
|
1413
|
-
# Region, then snapshots can be copied to up to three
|
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
data/sig/client.rbs
CHANGED
@@ -39,7 +39,9 @@ module Aws
|
|
39
39
|
?logger: untyped,
|
40
40
|
?max_attempts: Integer,
|
41
41
|
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
42
43
|
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
43
45
|
?retry_backoff: Proc,
|
44
46
|
?retry_base_delay: Float,
|
45
47
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
@@ -87,7 +89,7 @@ module Aws
|
|
87
89
|
?policy_details: {
|
88
90
|
policy_type: ("EBS_SNAPSHOT_MANAGEMENT" | "IMAGE_MANAGEMENT" | "EVENT_BASED_POLICY")?,
|
89
91
|
resource_types: Array[("VOLUME" | "INSTANCE")]?,
|
90
|
-
resource_locations: Array[("CLOUD" | "OUTPOST")]?,
|
92
|
+
resource_locations: Array[("CLOUD" | "OUTPOST" | "LOCAL_ZONE")]?,
|
91
93
|
target_tags: Array[
|
92
94
|
{
|
93
95
|
key: ::String,
|
@@ -111,7 +113,7 @@ module Aws
|
|
111
113
|
},
|
112
114
|
]?,
|
113
115
|
create_rule: {
|
114
|
-
location: ("CLOUD" | "OUTPOST_LOCAL")?,
|
116
|
+
location: ("CLOUD" | "OUTPOST_LOCAL" | "LOCAL_ZONE")?,
|
115
117
|
interval: ::Integer?,
|
116
118
|
interval_unit: ("HOURS")?,
|
117
119
|
times: Array[::String]?,
|
@@ -336,7 +338,7 @@ module Aws
|
|
336
338
|
?policy_details: {
|
337
339
|
policy_type: ("EBS_SNAPSHOT_MANAGEMENT" | "IMAGE_MANAGEMENT" | "EVENT_BASED_POLICY")?,
|
338
340
|
resource_types: Array[("VOLUME" | "INSTANCE")]?,
|
339
|
-
resource_locations: Array[("CLOUD" | "OUTPOST")]?,
|
341
|
+
resource_locations: Array[("CLOUD" | "OUTPOST" | "LOCAL_ZONE")]?,
|
340
342
|
target_tags: Array[
|
341
343
|
{
|
342
344
|
key: ::String,
|
@@ -360,7 +362,7 @@ module Aws
|
|
360
362
|
},
|
361
363
|
]?,
|
362
364
|
create_rule: {
|
363
|
-
location: ("CLOUD" | "OUTPOST_LOCAL")?,
|
365
|
+
location: ("CLOUD" | "OUTPOST_LOCAL" | "LOCAL_ZONE")?,
|
364
366
|
interval: ::Integer?,
|
365
367
|
interval_unit: ("HOURS")?,
|
366
368
|
times: Array[::String]?,
|
data/sig/resource.rbs
CHANGED
@@ -39,7 +39,9 @@ module Aws
|
|
39
39
|
?logger: untyped,
|
40
40
|
?max_attempts: Integer,
|
41
41
|
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
42
43
|
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
43
45
|
?retry_backoff: Proc,
|
44
46
|
?retry_base_delay: Float,
|
45
47
|
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
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.
|
4
|
+
version: 1.84.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:
|
11
|
+
date: 2025-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.216.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.216.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|