aws-sdk-dlm 1.35.0 → 1.36.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-dlm.rb +1 -1
- data/lib/aws-sdk-dlm/client.rb +8 -4
- data/lib/aws-sdk-dlm/client_api.rb +3 -0
- data/lib/aws-sdk-dlm/types.rb +32 -7
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e35032d5f55125c8e0841eac626aa65392e1c3c085d7010ca8d6e74bfa37c95
|
4
|
+
data.tar.gz: c891e27239e9cb142b859844a349f8002b74e99ceea0dc843a688ccfab715e77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b955e6049f509760fe6ea4b871ac057ef61f5e762fc8470e482d59da7f6f921322cbfb20d9a70d3b6b9d5087fa94dfb62d999fc794146149a8d2a0df8e54cac
|
7
|
+
data.tar.gz: 24060eba889f9fd8df3da3ee54b1c996c49f4469dade8d77e72457a78ff6f4a4cac164dae7caf8807212a915dd76130ba258c0fafa71fec8e476caa76af5440b
|
data/lib/aws-sdk-dlm.rb
CHANGED
data/lib/aws-sdk-dlm/client.rb
CHANGED
@@ -358,7 +358,7 @@ module Aws::DLM
|
|
358
358
|
# description: "PolicyDescription", # required
|
359
359
|
# state: "ENABLED", # required, accepts ENABLED, DISABLED
|
360
360
|
# policy_details: { # required
|
361
|
-
# policy_type: "EBS_SNAPSHOT_MANAGEMENT", # accepts EBS_SNAPSHOT_MANAGEMENT
|
361
|
+
# policy_type: "EBS_SNAPSHOT_MANAGEMENT", # accepts EBS_SNAPSHOT_MANAGEMENT, IMAGE_MANAGEMENT
|
362
362
|
# resource_types: ["VOLUME"], # accepts VOLUME, INSTANCE
|
363
363
|
# target_tags: [
|
364
364
|
# {
|
@@ -415,6 +415,7 @@ module Aws::DLM
|
|
415
415
|
# ],
|
416
416
|
# parameters: {
|
417
417
|
# exclude_boot_volume: false,
|
418
|
+
# no_reboot: false,
|
418
419
|
# },
|
419
420
|
# },
|
420
421
|
# tags: {
|
@@ -507,6 +508,7 @@ module Aws::DLM
|
|
507
508
|
# resp.policies[0].state #=> String, one of "ENABLED", "DISABLED", "ERROR"
|
508
509
|
# resp.policies[0].tags #=> Hash
|
509
510
|
# resp.policies[0].tags["TagKey"] #=> String
|
511
|
+
# resp.policies[0].policy_type #=> String, one of "EBS_SNAPSHOT_MANAGEMENT", "IMAGE_MANAGEMENT"
|
510
512
|
#
|
511
513
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/GetLifecyclePolicies AWS API Documentation
|
512
514
|
#
|
@@ -541,7 +543,7 @@ module Aws::DLM
|
|
541
543
|
# resp.policy.execution_role_arn #=> String
|
542
544
|
# resp.policy.date_created #=> Time
|
543
545
|
# resp.policy.date_modified #=> Time
|
544
|
-
# resp.policy.policy_details.policy_type #=> String, one of "EBS_SNAPSHOT_MANAGEMENT"
|
546
|
+
# resp.policy.policy_details.policy_type #=> String, one of "EBS_SNAPSHOT_MANAGEMENT", "IMAGE_MANAGEMENT"
|
545
547
|
# resp.policy.policy_details.resource_types #=> Array
|
546
548
|
# resp.policy.policy_details.resource_types[0] #=> String, one of "VOLUME", "INSTANCE"
|
547
549
|
# resp.policy.policy_details.target_tags #=> Array
|
@@ -577,6 +579,7 @@ module Aws::DLM
|
|
577
579
|
# resp.policy.policy_details.schedules[0].cross_region_copy_rules[0].retain_rule.interval #=> Integer
|
578
580
|
# resp.policy.policy_details.schedules[0].cross_region_copy_rules[0].retain_rule.interval_unit #=> String, one of "DAYS", "WEEKS", "MONTHS", "YEARS"
|
579
581
|
# resp.policy.policy_details.parameters.exclude_boot_volume #=> Boolean
|
582
|
+
# resp.policy.policy_details.parameters.no_reboot #=> Boolean
|
580
583
|
# resp.policy.tags #=> Hash
|
581
584
|
# resp.policy.tags["TagKey"] #=> String
|
582
585
|
# resp.policy.policy_arn #=> String
|
@@ -702,7 +705,7 @@ module Aws::DLM
|
|
702
705
|
# state: "ENABLED", # accepts ENABLED, DISABLED
|
703
706
|
# description: "PolicyDescription",
|
704
707
|
# policy_details: {
|
705
|
-
# policy_type: "EBS_SNAPSHOT_MANAGEMENT", # accepts EBS_SNAPSHOT_MANAGEMENT
|
708
|
+
# policy_type: "EBS_SNAPSHOT_MANAGEMENT", # accepts EBS_SNAPSHOT_MANAGEMENT, IMAGE_MANAGEMENT
|
706
709
|
# resource_types: ["VOLUME"], # accepts VOLUME, INSTANCE
|
707
710
|
# target_tags: [
|
708
711
|
# {
|
@@ -759,6 +762,7 @@ module Aws::DLM
|
|
759
762
|
# ],
|
760
763
|
# parameters: {
|
761
764
|
# exclude_boot_volume: false,
|
765
|
+
# no_reboot: false,
|
762
766
|
# },
|
763
767
|
# },
|
764
768
|
# })
|
@@ -785,7 +789,7 @@ module Aws::DLM
|
|
785
789
|
params: params,
|
786
790
|
config: config)
|
787
791
|
context[:gem_name] = 'aws-sdk-dlm'
|
788
|
-
context[:gem_version] = '1.
|
792
|
+
context[:gem_version] = '1.36.0'
|
789
793
|
Seahorse::Client::Request.new(handlers, context)
|
790
794
|
end
|
791
795
|
|
@@ -49,6 +49,7 @@ module Aws::DLM
|
|
49
49
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
50
50
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
51
51
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
52
|
+
NoReboot = Shapes::BooleanShape.new(name: 'NoReboot')
|
52
53
|
Parameter = Shapes::StringShape.new(name: 'Parameter')
|
53
54
|
ParameterList = Shapes::ListShape.new(name: 'ParameterList')
|
54
55
|
Parameters = Shapes::StructureShape.new(name: 'Parameters')
|
@@ -175,6 +176,7 @@ module Aws::DLM
|
|
175
176
|
LifecyclePolicySummary.add_member(:description, Shapes::ShapeRef.new(shape: PolicyDescription, location_name: "Description"))
|
176
177
|
LifecyclePolicySummary.add_member(:state, Shapes::ShapeRef.new(shape: GettablePolicyStateValues, location_name: "State"))
|
177
178
|
LifecyclePolicySummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
179
|
+
LifecyclePolicySummary.add_member(:policy_type, Shapes::ShapeRef.new(shape: PolicyTypeValues, location_name: "PolicyType"))
|
178
180
|
LifecyclePolicySummary.struct_class = Types::LifecyclePolicySummary
|
179
181
|
|
180
182
|
LifecyclePolicySummaryList.member = Shapes::ShapeRef.new(shape: LifecyclePolicySummary)
|
@@ -193,6 +195,7 @@ module Aws::DLM
|
|
193
195
|
ParameterList.member = Shapes::ShapeRef.new(shape: Parameter)
|
194
196
|
|
195
197
|
Parameters.add_member(:exclude_boot_volume, Shapes::ShapeRef.new(shape: ExcludeBootVolume, location_name: "ExcludeBootVolume"))
|
198
|
+
Parameters.add_member(:no_reboot, Shapes::ShapeRef.new(shape: NoReboot, location_name: "NoReboot"))
|
196
199
|
Parameters.struct_class = Types::Parameters
|
197
200
|
|
198
201
|
PolicyDetails.add_member(:policy_type, Shapes::ShapeRef.new(shape: PolicyTypeValues, location_name: "PolicyType"))
|
data/lib/aws-sdk-dlm/types.rb
CHANGED
@@ -18,7 +18,7 @@ module Aws::DLM
|
|
18
18
|
# description: "PolicyDescription", # required
|
19
19
|
# state: "ENABLED", # required, accepts ENABLED, DISABLED
|
20
20
|
# policy_details: { # required
|
21
|
-
# policy_type: "EBS_SNAPSHOT_MANAGEMENT", # accepts EBS_SNAPSHOT_MANAGEMENT
|
21
|
+
# policy_type: "EBS_SNAPSHOT_MANAGEMENT", # accepts EBS_SNAPSHOT_MANAGEMENT, IMAGE_MANAGEMENT
|
22
22
|
# resource_types: ["VOLUME"], # accepts VOLUME, INSTANCE
|
23
23
|
# target_tags: [
|
24
24
|
# {
|
@@ -75,6 +75,7 @@ module Aws::DLM
|
|
75
75
|
# ],
|
76
76
|
# parameters: {
|
77
77
|
# exclude_boot_volume: false,
|
78
|
+
# no_reboot: false,
|
78
79
|
# },
|
79
80
|
# },
|
80
81
|
# tags: {
|
@@ -545,13 +546,21 @@ module Aws::DLM
|
|
545
546
|
# The tags.
|
546
547
|
# @return [Hash<String,String>]
|
547
548
|
#
|
549
|
+
# @!attribute [rw] policy_type
|
550
|
+
# The type of policy. `EBS_SNAPSHOT_MANAGEMENT` indicates that the
|
551
|
+
# policy manages the lifecycle of Amazon EBS snapshots.
|
552
|
+
# `IMAGE_MANAGEMENT` indicates that the policy manages the lifecycle
|
553
|
+
# of EBS-backed AMIs.
|
554
|
+
# @return [String]
|
555
|
+
#
|
548
556
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/LifecyclePolicySummary AWS API Documentation
|
549
557
|
#
|
550
558
|
class LifecyclePolicySummary < Struct.new(
|
551
559
|
:policy_id,
|
552
560
|
:description,
|
553
561
|
:state,
|
554
|
-
:tags
|
562
|
+
:tags,
|
563
|
+
:policy_type)
|
555
564
|
SENSITIVE = []
|
556
565
|
include Aws::Structure
|
557
566
|
end
|
@@ -618,6 +627,7 @@ module Aws::DLM
|
|
618
627
|
#
|
619
628
|
# {
|
620
629
|
# exclude_boot_volume: false,
|
630
|
+
# no_reboot: false,
|
621
631
|
# }
|
622
632
|
#
|
623
633
|
# @!attribute [rw] exclude_boot_volume
|
@@ -630,10 +640,19 @@ module Aws::DLM
|
|
630
640
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateSnapshots.html
|
631
641
|
# @return [Boolean]
|
632
642
|
#
|
643
|
+
# @!attribute [rw] no_reboot
|
644
|
+
# Applies to AMI lifecycle policies only. Indicates whether targeted
|
645
|
+
# instances are rebooted when the lifecycle policy runs. `true`
|
646
|
+
# indicates that targeted instances are not rebooted when the policy
|
647
|
+
# runs. `false` indicates that target instances are rebooted when the
|
648
|
+
# policy runs. The default is `true` (instance are not rebooted).
|
649
|
+
# @return [Boolean]
|
650
|
+
#
|
633
651
|
# @see http://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/Parameters AWS API Documentation
|
634
652
|
#
|
635
653
|
class Parameters < Struct.new(
|
636
|
-
:exclude_boot_volume
|
654
|
+
:exclude_boot_volume,
|
655
|
+
:no_reboot)
|
637
656
|
SENSITIVE = []
|
638
657
|
include Aws::Structure
|
639
658
|
end
|
@@ -644,7 +663,7 @@ module Aws::DLM
|
|
644
663
|
# data as a hash:
|
645
664
|
#
|
646
665
|
# {
|
647
|
-
# policy_type: "EBS_SNAPSHOT_MANAGEMENT", # accepts EBS_SNAPSHOT_MANAGEMENT
|
666
|
+
# policy_type: "EBS_SNAPSHOT_MANAGEMENT", # accepts EBS_SNAPSHOT_MANAGEMENT, IMAGE_MANAGEMENT
|
648
667
|
# resource_types: ["VOLUME"], # accepts VOLUME, INSTANCE
|
649
668
|
# target_tags: [
|
650
669
|
# {
|
@@ -701,12 +720,17 @@ module Aws::DLM
|
|
701
720
|
# ],
|
702
721
|
# parameters: {
|
703
722
|
# exclude_boot_volume: false,
|
723
|
+
# no_reboot: false,
|
704
724
|
# },
|
705
725
|
# }
|
706
726
|
#
|
707
727
|
# @!attribute [rw] policy_type
|
708
|
-
# The valid target resource types and actions a policy can manage.
|
709
|
-
#
|
728
|
+
# The valid target resource types and actions a policy can manage.
|
729
|
+
# Specify `EBS_SNAPSHOT_MANAGEMENT` to create a lifecycle policy that
|
730
|
+
# manages the lifecycle of Amazon EBS snapshots. Specify
|
731
|
+
# `IMAGE_MANAGEMENT` to create a lifecycle policy that manages the
|
732
|
+
# lifecycle of EBS-backed AMIs. The default is
|
733
|
+
# `EBS_SNAPSHOT_MANAGEMENT`.
|
710
734
|
# @return [String]
|
711
735
|
#
|
712
736
|
# @!attribute [rw] resource_types
|
@@ -1004,7 +1028,7 @@ module Aws::DLM
|
|
1004
1028
|
# state: "ENABLED", # accepts ENABLED, DISABLED
|
1005
1029
|
# description: "PolicyDescription",
|
1006
1030
|
# policy_details: {
|
1007
|
-
# policy_type: "EBS_SNAPSHOT_MANAGEMENT", # accepts EBS_SNAPSHOT_MANAGEMENT
|
1031
|
+
# policy_type: "EBS_SNAPSHOT_MANAGEMENT", # accepts EBS_SNAPSHOT_MANAGEMENT, IMAGE_MANAGEMENT
|
1008
1032
|
# resource_types: ["VOLUME"], # accepts VOLUME, INSTANCE
|
1009
1033
|
# target_tags: [
|
1010
1034
|
# {
|
@@ -1061,6 +1085,7 @@ module Aws::DLM
|
|
1061
1085
|
# ],
|
1062
1086
|
# parameters: {
|
1063
1087
|
# exclude_boot_volume: false,
|
1088
|
+
# no_reboot: false,
|
1064
1089
|
# },
|
1065
1090
|
# },
|
1066
1091
|
# }
|
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.36.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: 2020-
|
11
|
+
date: 2020-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|