aws-sdk-dlm 1.31.0 → 1.36.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: a1445e4daffa6c4f98e9a240136a505a78f935e1557b8d17efd39426c4c4c1b7
4
- data.tar.gz: fc8249fd03af87a45ea5a497384dffc56b4ee7570780537ff3898d34df17493f
3
+ metadata.gz: 4e35032d5f55125c8e0841eac626aa65392e1c3c085d7010ca8d6e74bfa37c95
4
+ data.tar.gz: c891e27239e9cb142b859844a349f8002b74e99ceea0dc843a688ccfab715e77
5
5
  SHA512:
6
- metadata.gz: 6f6db48721002dbf40510241c99b2464a7ddbe3bad1fbf1bc7b145a3b98f923e99a977d1a17f28e4c5fd970c8ae3d6364d9d22e6f3c94b74eb3b163ea6bec67b
7
- data.tar.gz: d0d6148a97060181f940bbbb98484c6e81ef3b84c19b81d0ee50e123fd95df3f3427090d265f0282af5b280742bd94ece2d676d3fa96f42c077b7eec2d92d740
6
+ metadata.gz: 5b955e6049f509760fe6ea4b871ac057ef61f5e762fc8470e482d59da7f6f921322cbfb20d9a70d3b6b9d5087fa94dfb62d999fc794146149a8d2a0df8e54cac
7
+ data.tar.gz: 24060eba889f9fd8df3da3ee54b1c996c49f4469dade8d77e72457a78ff6f4a4cac164dae7caf8807212a915dd76130ba258c0fafa71fec8e476caa76af5440b
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-dlm/customizations'
44
45
  #
45
46
  # See {Errors} for more information.
46
47
  #
47
- # @service
48
+ # @!group service
48
49
  module Aws::DLM
49
50
 
50
- GEM_VERSION = '1.31.0'
51
+ GEM_VERSION = '1.36.0'
51
52
 
52
53
  end
@@ -85,13 +85,28 @@ module Aws::DLM
85
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
86
86
  # credentials.
87
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
88
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
89
103
  # from an EC2 IMDS on an EC2 instance.
90
104
  #
91
- # * `Aws::SharedCredentials` - Used for loading credentials from a
92
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
93
107
  #
94
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
95
110
  #
96
111
  # When `:credentials` are not configured directly, the following
97
112
  # locations will be searched for credentials:
@@ -101,10 +116,10 @@ module Aws::DLM
101
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
102
117
  # * `~/.aws/credentials`
103
118
  # * `~/.aws/config`
104
- # * EC2 IMDS instance profile - When used by default, the timeouts are
105
- # very aggressive. Construct and pass an instance of
106
- # `Aws::InstanceProfileCredentails` to enable retries and extended
107
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
108
123
  #
109
124
  # @option options [required, String] :region
110
125
  # The AWS region to connect to. The configured `:region` is
@@ -343,7 +358,7 @@ module Aws::DLM
343
358
  # description: "PolicyDescription", # required
344
359
  # state: "ENABLED", # required, accepts ENABLED, DISABLED
345
360
  # policy_details: { # required
346
- # policy_type: "EBS_SNAPSHOT_MANAGEMENT", # accepts EBS_SNAPSHOT_MANAGEMENT
361
+ # policy_type: "EBS_SNAPSHOT_MANAGEMENT", # accepts EBS_SNAPSHOT_MANAGEMENT, IMAGE_MANAGEMENT
347
362
  # resource_types: ["VOLUME"], # accepts VOLUME, INSTANCE
348
363
  # target_tags: [
349
364
  # {
@@ -400,6 +415,7 @@ module Aws::DLM
400
415
  # ],
401
416
  # parameters: {
402
417
  # exclude_boot_volume: false,
418
+ # no_reboot: false,
403
419
  # },
404
420
  # },
405
421
  # tags: {
@@ -492,6 +508,7 @@ module Aws::DLM
492
508
  # resp.policies[0].state #=> String, one of "ENABLED", "DISABLED", "ERROR"
493
509
  # resp.policies[0].tags #=> Hash
494
510
  # resp.policies[0].tags["TagKey"] #=> String
511
+ # resp.policies[0].policy_type #=> String, one of "EBS_SNAPSHOT_MANAGEMENT", "IMAGE_MANAGEMENT"
495
512
  #
496
513
  # @see http://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/GetLifecyclePolicies AWS API Documentation
497
514
  #
@@ -526,7 +543,7 @@ module Aws::DLM
526
543
  # resp.policy.execution_role_arn #=> String
527
544
  # resp.policy.date_created #=> Time
528
545
  # resp.policy.date_modified #=> Time
529
- # 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"
530
547
  # resp.policy.policy_details.resource_types #=> Array
531
548
  # resp.policy.policy_details.resource_types[0] #=> String, one of "VOLUME", "INSTANCE"
532
549
  # resp.policy.policy_details.target_tags #=> Array
@@ -562,6 +579,7 @@ module Aws::DLM
562
579
  # resp.policy.policy_details.schedules[0].cross_region_copy_rules[0].retain_rule.interval #=> Integer
563
580
  # resp.policy.policy_details.schedules[0].cross_region_copy_rules[0].retain_rule.interval_unit #=> String, one of "DAYS", "WEEKS", "MONTHS", "YEARS"
564
581
  # resp.policy.policy_details.parameters.exclude_boot_volume #=> Boolean
582
+ # resp.policy.policy_details.parameters.no_reboot #=> Boolean
565
583
  # resp.policy.tags #=> Hash
566
584
  # resp.policy.tags["TagKey"] #=> String
567
585
  # resp.policy.policy_arn #=> String
@@ -687,7 +705,7 @@ module Aws::DLM
687
705
  # state: "ENABLED", # accepts ENABLED, DISABLED
688
706
  # description: "PolicyDescription",
689
707
  # policy_details: {
690
- # policy_type: "EBS_SNAPSHOT_MANAGEMENT", # accepts EBS_SNAPSHOT_MANAGEMENT
708
+ # policy_type: "EBS_SNAPSHOT_MANAGEMENT", # accepts EBS_SNAPSHOT_MANAGEMENT, IMAGE_MANAGEMENT
691
709
  # resource_types: ["VOLUME"], # accepts VOLUME, INSTANCE
692
710
  # target_tags: [
693
711
  # {
@@ -744,6 +762,7 @@ module Aws::DLM
744
762
  # ],
745
763
  # parameters: {
746
764
  # exclude_boot_volume: false,
765
+ # no_reboot: false,
747
766
  # },
748
767
  # },
749
768
  # })
@@ -770,7 +789,7 @@ module Aws::DLM
770
789
  params: params,
771
790
  config: config)
772
791
  context[:gem_name] = 'aws-sdk-dlm'
773
- context[:gem_version] = '1.31.0'
792
+ context[:gem_version] = '1.36.0'
774
793
  Seahorse::Client::Request.new(handlers, context)
775
794
  end
776
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"))
@@ -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. The
709
- # default is EBS\_SNAPSHOT\_MANAGEMENT.
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
@@ -720,7 +744,9 @@ module Aws::DLM
720
744
  # @return [Array<Types::Tag>]
721
745
  #
722
746
  # @!attribute [rw] schedules
723
- # The schedule of policy-defined actions.
747
+ # The schedules of policy-defined actions. A policy can have up to
748
+ # four schedules - one mandatory schedule and up to three optional
749
+ # schedules.
724
750
  # @return [Array<Types::Schedule>]
725
751
  #
726
752
  # @!attribute [rw] parameters
@@ -1002,7 +1028,7 @@ module Aws::DLM
1002
1028
  # state: "ENABLED", # accepts ENABLED, DISABLED
1003
1029
  # description: "PolicyDescription",
1004
1030
  # policy_details: {
1005
- # policy_type: "EBS_SNAPSHOT_MANAGEMENT", # accepts EBS_SNAPSHOT_MANAGEMENT
1031
+ # policy_type: "EBS_SNAPSHOT_MANAGEMENT", # accepts EBS_SNAPSHOT_MANAGEMENT, IMAGE_MANAGEMENT
1006
1032
  # resource_types: ["VOLUME"], # accepts VOLUME, INSTANCE
1007
1033
  # target_tags: [
1008
1034
  # {
@@ -1059,6 +1085,7 @@ module Aws::DLM
1059
1085
  # ],
1060
1086
  # parameters: {
1061
1087
  # exclude_boot_volume: false,
1088
+ # no_reboot: false,
1062
1089
  # },
1063
1090
  # },
1064
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.31.0
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-06-23 00:00:00.000000000 Z
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
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.99.0
22
+ version: 3.109.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.99.0
32
+ version: 3.109.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement