Skip to content

Commit 8fa8328

Browse files
AWS SDK for RubyNobody
authored andcommitted
Updated API models and rebuilt service gems.
1 parent 7988d4c commit 8fa8328

File tree

16 files changed

+309
-167
lines changed

16 files changed

+309
-167
lines changed

apis/dlm/2018-01-12/api-2.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,12 @@
343343
"enum":["shareSnapshot"]
344344
},
345345
"ExcludeBootVolume":{"type":"boolean"},
346+
"ExcludeDataVolumeTagList":{
347+
"type":"list",
348+
"member":{"shape":"Tag"},
349+
"max":50,
350+
"min":0
351+
},
346352
"ExecutionRoleArn":{
347353
"type":"string",
348354
"max":2048,
@@ -521,7 +527,8 @@
521527
"type":"structure",
522528
"members":{
523529
"ExcludeBootVolume":{"shape":"ExcludeBootVolume"},
524-
"NoReboot":{"shape":"NoReboot"}
530+
"NoReboot":{"shape":"NoReboot"},
531+
"ExcludeDataVolumeTags":{"shape":"ExcludeDataVolumeTagList"}
525532
}
526533
},
527534
"PolicyArn":{

apis/dlm/2018-01-12/docs-2.json

Lines changed: 49 additions & 42 deletions
Large diffs are not rendered by default.

apis/ec2/2016-11-15/api-2.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23843,7 +23843,11 @@
2384323843
"type":"structure",
2384423844
"members":{
2384523845
"InstanceId":{"shape":"InstanceId"},
23846-
"ExcludeBootVolume":{"shape":"Boolean"}
23846+
"ExcludeBootVolume":{"shape":"Boolean"},
23847+
"ExcludeDataVolumeIds":{
23848+
"shape":"VolumeIdStringList",
23849+
"locationName":"ExcludeDataVolumeId"
23850+
}
2384723851
}
2384823852
},
2384923853
"InstanceState":{

apis/ec2/2016-11-15/docs-2.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20401,7 +20401,8 @@
2040120401
"refs": {
2040220402
"DescribeVolumeStatusRequest$VolumeIds": "<p>The IDs of the volumes.</p> <p>Default: Describes all your volumes.</p>",
2040320403
"DescribeVolumesModificationsRequest$VolumeIds": "<p>The IDs of the volumes.</p>",
20404-
"DescribeVolumesRequest$VolumeIds": "<p>The volume IDs.</p>"
20404+
"DescribeVolumesRequest$VolumeIds": "<p>The volume IDs.</p>",
20405+
"InstanceSpecification$ExcludeDataVolumeIds": null
2040520406
}
2040620407
},
2040720408
"VolumeList": {

gems/aws-sdk-dlm/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Unreleased Changes
22
------------------
33

4+
1.51.0 (2022-08-10)
5+
------------------
6+
7+
* Feature - This release adds support for excluding specific data (non-boot) volumes from multi-volume snapshot sets created by snapshot lifecycle policies
8+
49
1.50.0 (2022-02-24)
510
------------------
611

gems/aws-sdk-dlm/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.50.0
1+
1.51.0

gems/aws-sdk-dlm/lib/aws-sdk-dlm.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@
4848
# @!group service
4949
module Aws::DLM
5050

51-
GEM_VERSION = '1.50.0'
51+
GEM_VERSION = '1.51.0'
5252

5353
end

gems/aws-sdk-dlm/lib/aws-sdk-dlm/client.rb

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,12 @@ def initialize(*args)
459459
# parameters: {
460460
# exclude_boot_volume: false,
461461
# no_reboot: false,
462+
# exclude_data_volume_tags: [
463+
# {
464+
# key: "String", # required
465+
# value: "String", # required
466+
# },
467+
# ],
462468
# },
463469
# event_source: {
464470
# type: "MANAGED_CWE", # required, accepts MANAGED_CWE
@@ -663,6 +669,9 @@ def get_lifecycle_policies(params = {}, options = {})
663669
# resp.policy.policy_details.schedules[0].deprecate_rule.interval_unit #=> String, one of "DAYS", "WEEKS", "MONTHS", "YEARS"
664670
# resp.policy.policy_details.parameters.exclude_boot_volume #=> Boolean
665671
# resp.policy.policy_details.parameters.no_reboot #=> Boolean
672+
# resp.policy.policy_details.parameters.exclude_data_volume_tags #=> Array
673+
# resp.policy.policy_details.parameters.exclude_data_volume_tags[0].key #=> String
674+
# resp.policy.policy_details.parameters.exclude_data_volume_tags[0].value #=> String
666675
# resp.policy.policy_details.event_source.type #=> String, one of "MANAGED_CWE"
667676
# resp.policy.policy_details.event_source.parameters.event_type #=> String, one of "shareSnapshot"
668677
# resp.policy.policy_details.event_source.parameters.snapshot_owner #=> Array
@@ -878,6 +887,12 @@ def untag_resource(params = {}, options = {})
878887
# parameters: {
879888
# exclude_boot_volume: false,
880889
# no_reboot: false,
890+
# exclude_data_volume_tags: [
891+
# {
892+
# key: "String", # required
893+
# value: "String", # required
894+
# },
895+
# ],
881896
# },
882897
# event_source: {
883898
# type: "MANAGED_CWE", # required, accepts MANAGED_CWE
@@ -930,7 +945,7 @@ def build_request(operation_name, params = {})
930945
params: params,
931946
config: config)
932947
context[:gem_name] = 'aws-sdk-dlm'
933-
context[:gem_version] = '1.50.0'
948+
context[:gem_version] = '1.51.0'
934949
Seahorse::Client::Request.new(handlers, context)
935950
end
936951

gems/aws-sdk-dlm/lib/aws-sdk-dlm/client_api.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ module ClientApi
4646
EventSourceValues = Shapes::StringShape.new(name: 'EventSourceValues')
4747
EventTypeValues = Shapes::StringShape.new(name: 'EventTypeValues')
4848
ExcludeBootVolume = Shapes::BooleanShape.new(name: 'ExcludeBootVolume')
49+
ExcludeDataVolumeTagList = Shapes::ListShape.new(name: 'ExcludeDataVolumeTagList')
4950
ExecutionRoleArn = Shapes::StringShape.new(name: 'ExecutionRoleArn')
5051
FastRestoreRule = Shapes::StructureShape.new(name: 'FastRestoreRule')
5152
GetLifecyclePoliciesRequest = Shapes::StructureShape.new(name: 'GetLifecyclePoliciesRequest')
@@ -188,6 +189,8 @@ module ClientApi
188189
EventSource.add_member(:parameters, Shapes::ShapeRef.new(shape: EventParameters, location_name: "Parameters"))
189190
EventSource.struct_class = Types::EventSource
190191

192+
ExcludeDataVolumeTagList.member = Shapes::ShapeRef.new(shape: Tag)
193+
191194
FastRestoreRule.add_member(:count, Shapes::ShapeRef.new(shape: Count, location_name: "Count"))
192195
FastRestoreRule.add_member(:interval, Shapes::ShapeRef.new(shape: Interval, location_name: "Interval"))
193196
FastRestoreRule.add_member(:interval_unit, Shapes::ShapeRef.new(shape: RetentionIntervalUnitValues, location_name: "IntervalUnit"))
@@ -256,6 +259,7 @@ module ClientApi
256259

257260
Parameters.add_member(:exclude_boot_volume, Shapes::ShapeRef.new(shape: ExcludeBootVolume, location_name: "ExcludeBootVolume"))
258261
Parameters.add_member(:no_reboot, Shapes::ShapeRef.new(shape: NoReboot, location_name: "NoReboot"))
262+
Parameters.add_member(:exclude_data_volume_tags, Shapes::ShapeRef.new(shape: ExcludeDataVolumeTagList, location_name: "ExcludeDataVolumeTags"))
259263
Parameters.struct_class = Types::Parameters
260264

261265
PolicyDetails.add_member(:policy_type, Shapes::ShapeRef.new(shape: PolicyTypeValues, location_name: "PolicyType"))

0 commit comments

Comments
 (0)