aws-sdk-dlm 1.26.0 → 1.31.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: 55a40bf26ef2307a1d6883727ab55857d71e16d9d4d7b4163c0e937319792501
4
- data.tar.gz: 9cdd24583fa9339afb09dbd3f519c222a2463fd62e116a7af465e5a6108758a6
3
+ metadata.gz: a1445e4daffa6c4f98e9a240136a505a78f935e1557b8d17efd39426c4c4c1b7
4
+ data.tar.gz: fc8249fd03af87a45ea5a497384dffc56b4ee7570780537ff3898d34df17493f
5
5
  SHA512:
6
- metadata.gz: 1a3a8f60f103f7834fadec766a40969b27fc33023f3c46576535e04f0f47be19c0cf4b6a5fda50d5bccd7b62167e8823d0242d965b06dcaa61e5b48aae51b663
7
- data.tar.gz: 3187661e85b3a47c759966394f36e82aeb7165d1a516bae849a0b27265e44d6eefe72cb6b1d95ef71169f95b234550f41419ca52ea10dc754f35307063b6139c
6
+ metadata.gz: 6f6db48721002dbf40510241c99b2464a7ddbe3bad1fbf1bc7b145a3b98f923e99a977d1a17f28e4c5fd970c8ae3d6364d9d22e6f3c94b74eb3b163ea6bec67b
7
+ data.tar.gz: d0d6148a97060181f940bbbb98484c6e81ef3b84c19b81d0ee50e123fd95df3f3427090d265f0282af5b280742bd94ece2d676d3fa96f42c077b7eec2d92d740
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-dlm/customizations'
45
47
  # @service
46
48
  module Aws::DLM
47
49
 
48
- GEM_VERSION = '1.26.0'
50
+ GEM_VERSION = '1.31.0'
49
51
 
50
52
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
26
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
31
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
29
32
 
@@ -69,6 +72,7 @@ module Aws::DLM
69
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
74
  add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
72
76
  add_plugin(Aws::Plugins::SignatureV4)
73
77
  add_plugin(Aws::Plugins::Protocols::RestJson)
74
78
 
@@ -105,7 +109,7 @@ module Aws::DLM
105
109
  # @option options [required, String] :region
106
110
  # The AWS region to connect to. The configured `:region` is
107
111
  # used to determine the service `:endpoint`. When not passed,
108
- # a default `:region` is search for in the following locations:
112
+ # a default `:region` is searched for in the following locations:
109
113
  #
110
114
  # * `Aws.config[:region]`
111
115
  # * `ENV['AWS_REGION']`
@@ -161,7 +165,7 @@ module Aws::DLM
161
165
  # @option options [String] :endpoint
162
166
  # The client endpoint is normally constructed from the `:region`
163
167
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be avalid HTTP(S) URI.
168
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
169
  #
166
170
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
171
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +180,7 @@ module Aws::DLM
176
180
  # requests fetching endpoints information. Defaults to 60 sec.
177
181
  #
178
182
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
183
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
184
  #
181
185
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
186
  # The log formatter.
@@ -364,9 +368,10 @@ module Aws::DLM
364
368
  # },
365
369
  # ],
366
370
  # create_rule: {
367
- # interval: 1, # required
368
- # interval_unit: "HOURS", # required, accepts HOURS
371
+ # interval: 1,
372
+ # interval_unit: "HOURS", # accepts HOURS
369
373
  # times: ["Time"],
374
+ # cron_expression: "CronExpression",
370
375
  # },
371
376
  # retain_rule: {
372
377
  # count: 1,
@@ -540,6 +545,7 @@ module Aws::DLM
540
545
  # resp.policy.policy_details.schedules[0].create_rule.interval_unit #=> String, one of "HOURS"
541
546
  # resp.policy.policy_details.schedules[0].create_rule.times #=> Array
542
547
  # resp.policy.policy_details.schedules[0].create_rule.times[0] #=> String
548
+ # resp.policy.policy_details.schedules[0].create_rule.cron_expression #=> String
543
549
  # resp.policy.policy_details.schedules[0].retain_rule.count #=> Integer
544
550
  # resp.policy.policy_details.schedules[0].retain_rule.interval #=> Integer
545
551
  # resp.policy.policy_details.schedules[0].retain_rule.interval_unit #=> String, one of "DAYS", "WEEKS", "MONTHS", "YEARS"
@@ -706,9 +712,10 @@ module Aws::DLM
706
712
  # },
707
713
  # ],
708
714
  # create_rule: {
709
- # interval: 1, # required
710
- # interval_unit: "HOURS", # required, accepts HOURS
715
+ # interval: 1,
716
+ # interval_unit: "HOURS", # accepts HOURS
711
717
  # times: ["Time"],
718
+ # cron_expression: "CronExpression",
712
719
  # },
713
720
  # retain_rule: {
714
721
  # count: 1,
@@ -763,7 +770,7 @@ module Aws::DLM
763
770
  params: params,
764
771
  config: config)
765
772
  context[:gem_name] = 'aws-sdk-dlm'
766
- context[:gem_version] = '1.26.0'
773
+ context[:gem_version] = '1.31.0'
767
774
  Seahorse::Client::Request.new(handlers, context)
768
775
  end
769
776
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -20,6 +22,7 @@ module Aws::DLM
20
22
  CreateLifecyclePolicyRequest = Shapes::StructureShape.new(name: 'CreateLifecyclePolicyRequest')
21
23
  CreateLifecyclePolicyResponse = Shapes::StructureShape.new(name: 'CreateLifecyclePolicyResponse')
22
24
  CreateRule = Shapes::StructureShape.new(name: 'CreateRule')
25
+ CronExpression = Shapes::StringShape.new(name: 'CronExpression')
23
26
  CrossRegionCopyRetainRule = Shapes::StructureShape.new(name: 'CrossRegionCopyRetainRule')
24
27
  CrossRegionCopyRule = Shapes::StructureShape.new(name: 'CrossRegionCopyRule')
25
28
  CrossRegionCopyRules = Shapes::ListShape.new(name: 'CrossRegionCopyRules')
@@ -100,9 +103,10 @@ module Aws::DLM
100
103
  CreateLifecyclePolicyResponse.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, location_name: "PolicyId"))
101
104
  CreateLifecyclePolicyResponse.struct_class = Types::CreateLifecyclePolicyResponse
102
105
 
103
- CreateRule.add_member(:interval, Shapes::ShapeRef.new(shape: Interval, required: true, location_name: "Interval"))
104
- CreateRule.add_member(:interval_unit, Shapes::ShapeRef.new(shape: IntervalUnitValues, required: true, location_name: "IntervalUnit"))
106
+ CreateRule.add_member(:interval, Shapes::ShapeRef.new(shape: Interval, location_name: "Interval"))
107
+ CreateRule.add_member(:interval_unit, Shapes::ShapeRef.new(shape: IntervalUnitValues, location_name: "IntervalUnit"))
105
108
  CreateRule.add_member(:times, Shapes::ShapeRef.new(shape: TimesList, location_name: "Times"))
109
+ CreateRule.add_member(:cron_expression, Shapes::ShapeRef.new(shape: CronExpression, location_name: "CronExpression"))
106
110
  CreateRule.struct_class = Types::CreateRule
107
111
 
108
112
  CrossRegionCopyRetainRule.add_member(:interval, Shapes::ShapeRef.new(shape: Interval, location_name: "Interval"))
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -41,9 +43,10 @@ module Aws::DLM
41
43
  # },
42
44
  # ],
43
45
  # create_rule: {
44
- # interval: 1, # required
45
- # interval_unit: "HOURS", # required, accepts HOURS
46
+ # interval: 1,
47
+ # interval_unit: "HOURS", # accepts HOURS
46
48
  # times: ["Time"],
49
+ # cron_expression: "CronExpression",
47
50
  # },
48
51
  # retain_rule: {
49
52
  # count: 1,
@@ -109,6 +112,7 @@ module Aws::DLM
109
112
  :state,
110
113
  :policy_details,
111
114
  :tags)
115
+ SENSITIVE = []
112
116
  include Aws::Structure
113
117
  end
114
118
 
@@ -120,18 +124,23 @@ module Aws::DLM
120
124
  #
121
125
  class CreateLifecyclePolicyResponse < Struct.new(
122
126
  :policy_id)
127
+ SENSITIVE = []
123
128
  include Aws::Structure
124
129
  end
125
130
 
126
131
  # Specifies when to create snapshots of EBS volumes.
127
132
  #
133
+ # You must specify either a Cron expression or an interval, interval
134
+ # unit, and start time. You cannot specify both.
135
+ #
128
136
  # @note When making an API call, you may pass CreateRule
129
137
  # data as a hash:
130
138
  #
131
139
  # {
132
- # interval: 1, # required
133
- # interval_unit: "HOURS", # required, accepts HOURS
140
+ # interval: 1,
141
+ # interval_unit: "HOURS", # accepts HOURS
134
142
  # times: ["Time"],
143
+ # cron_expression: "CronExpression",
135
144
  # }
136
145
  #
137
146
  # @!attribute [rw] interval
@@ -148,15 +157,28 @@ module Aws::DLM
148
157
  # hh:mm.
149
158
  #
150
159
  # The operation occurs within a one-hour window following the
151
- # specified time.
160
+ # specified time. If you do not specify a time, Amazon DLM selects a
161
+ # time within the next 24 hours.
152
162
  # @return [Array<String>]
153
163
  #
164
+ # @!attribute [rw] cron_expression
165
+ # The schedule, as a Cron expression. The schedule interval must be
166
+ # between 1 hour and 1 year. For more information, see [Cron
167
+ # expressions][1] in the *Amazon CloudWatch User Guide*.
168
+ #
169
+ #
170
+ #
171
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions
172
+ # @return [String]
173
+ #
154
174
  # @see http://docs.aws.amazon.com/goto/WebAPI/dlm-2018-01-12/CreateRule AWS API Documentation
155
175
  #
156
176
  class CreateRule < Struct.new(
157
177
  :interval,
158
178
  :interval_unit,
159
- :times)
179
+ :times,
180
+ :cron_expression)
181
+ SENSITIVE = []
160
182
  include Aws::Structure
161
183
  end
162
184
 
@@ -184,6 +206,7 @@ module Aws::DLM
184
206
  class CrossRegionCopyRetainRule < Struct.new(
185
207
  :interval,
186
208
  :interval_unit)
209
+ SENSITIVE = []
187
210
  include Aws::Structure
188
211
  end
189
212
 
@@ -237,6 +260,7 @@ module Aws::DLM
237
260
  :cmk_arn,
238
261
  :copy_tags,
239
262
  :retain_rule)
263
+ SENSITIVE = []
240
264
  include Aws::Structure
241
265
  end
242
266
 
@@ -255,6 +279,7 @@ module Aws::DLM
255
279
  #
256
280
  class DeleteLifecyclePolicyRequest < Struct.new(
257
281
  :policy_id)
282
+ SENSITIVE = []
258
283
  include Aws::Structure
259
284
  end
260
285
 
@@ -300,6 +325,7 @@ module Aws::DLM
300
325
  :interval,
301
326
  :interval_unit,
302
327
  :availability_zones)
328
+ SENSITIVE = []
303
329
  include Aws::Structure
304
330
  end
305
331
 
@@ -349,6 +375,7 @@ module Aws::DLM
349
375
  :resource_types,
350
376
  :target_tags,
351
377
  :tags_to_add)
378
+ SENSITIVE = []
352
379
  include Aws::Structure
353
380
  end
354
381
 
@@ -360,6 +387,7 @@ module Aws::DLM
360
387
  #
361
388
  class GetLifecyclePoliciesResponse < Struct.new(
362
389
  :policies)
390
+ SENSITIVE = []
363
391
  include Aws::Structure
364
392
  end
365
393
 
@@ -378,6 +406,7 @@ module Aws::DLM
378
406
  #
379
407
  class GetLifecyclePolicyRequest < Struct.new(
380
408
  :policy_id)
409
+ SENSITIVE = []
381
410
  include Aws::Structure
382
411
  end
383
412
 
@@ -389,6 +418,7 @@ module Aws::DLM
389
418
  #
390
419
  class GetLifecyclePolicyResponse < Struct.new(
391
420
  :policy)
421
+ SENSITIVE = []
392
422
  include Aws::Structure
393
423
  end
394
424
 
@@ -405,6 +435,7 @@ module Aws::DLM
405
435
  class InternalServerException < Struct.new(
406
436
  :message,
407
437
  :code)
438
+ SENSITIVE = []
408
439
  include Aws::Structure
409
440
  end
410
441
 
@@ -432,6 +463,7 @@ module Aws::DLM
432
463
  :code,
433
464
  :required_parameters,
434
465
  :mutually_exclusive_parameters)
466
+ SENSITIVE = []
435
467
  include Aws::Structure
436
468
  end
437
469
 
@@ -491,6 +523,7 @@ module Aws::DLM
491
523
  :policy_details,
492
524
  :tags,
493
525
  :policy_arn)
526
+ SENSITIVE = []
494
527
  include Aws::Structure
495
528
  end
496
529
 
@@ -519,6 +552,7 @@ module Aws::DLM
519
552
  :description,
520
553
  :state,
521
554
  :tags)
555
+ SENSITIVE = []
522
556
  include Aws::Structure
523
557
  end
524
558
 
@@ -540,6 +574,7 @@ module Aws::DLM
540
574
  :message,
541
575
  :code,
542
576
  :resource_type)
577
+ SENSITIVE = []
543
578
  include Aws::Structure
544
579
  end
545
580
 
@@ -558,6 +593,7 @@ module Aws::DLM
558
593
  #
559
594
  class ListTagsForResourceRequest < Struct.new(
560
595
  :resource_arn)
596
+ SENSITIVE = []
561
597
  include Aws::Structure
562
598
  end
563
599
 
@@ -569,6 +605,7 @@ module Aws::DLM
569
605
  #
570
606
  class ListTagsForResourceResponse < Struct.new(
571
607
  :tags)
608
+ SENSITIVE = []
572
609
  include Aws::Structure
573
610
  end
574
611
 
@@ -597,6 +634,7 @@ module Aws::DLM
597
634
  #
598
635
  class Parameters < Struct.new(
599
636
  :exclude_boot_volume)
637
+ SENSITIVE = []
600
638
  include Aws::Structure
601
639
  end
602
640
 
@@ -631,9 +669,10 @@ module Aws::DLM
631
669
  # },
632
670
  # ],
633
671
  # create_rule: {
634
- # interval: 1, # required
635
- # interval_unit: "HOURS", # required, accepts HOURS
672
+ # interval: 1,
673
+ # interval_unit: "HOURS", # accepts HOURS
636
674
  # times: ["Time"],
675
+ # cron_expression: "CronExpression",
637
676
  # },
638
677
  # retain_rule: {
639
678
  # count: 1,
@@ -671,7 +710,9 @@ module Aws::DLM
671
710
  # @return [String]
672
711
  #
673
712
  # @!attribute [rw] resource_types
674
- # The resource type.
713
+ # The resource type. Use VOLUME to create snapshots of individual
714
+ # volumes or use INSTANCE to create multi-volume snapshots from the
715
+ # volumes for an instance.
675
716
  # @return [Array<String>]
676
717
  #
677
718
  # @!attribute [rw] target_tags
@@ -694,6 +735,7 @@ module Aws::DLM
694
735
  :target_tags,
695
736
  :schedules,
696
737
  :parameters)
738
+ SENSITIVE = []
697
739
  include Aws::Structure
698
740
  end
699
741
 
@@ -720,6 +762,7 @@ module Aws::DLM
720
762
  :code,
721
763
  :resource_type,
722
764
  :resource_ids)
765
+ SENSITIVE = []
723
766
  include Aws::Structure
724
767
  end
725
768
 
@@ -755,6 +798,7 @@ module Aws::DLM
755
798
  :count,
756
799
  :interval,
757
800
  :interval_unit)
801
+ SENSITIVE = []
758
802
  include Aws::Structure
759
803
  end
760
804
 
@@ -779,9 +823,10 @@ module Aws::DLM
779
823
  # },
780
824
  # ],
781
825
  # create_rule: {
782
- # interval: 1, # required
783
- # interval_unit: "HOURS", # required, accepts HOURS
826
+ # interval: 1,
827
+ # interval_unit: "HOURS", # accepts HOURS
784
828
  # times: ["Time"],
829
+ # cron_expression: "CronExpression",
785
830
  # },
786
831
  # retain_rule: {
787
832
  # count: 1,
@@ -857,6 +902,7 @@ module Aws::DLM
857
902
  :retain_rule,
858
903
  :fast_restore_rule,
859
904
  :cross_region_copy_rules)
905
+ SENSITIVE = []
860
906
  include Aws::Structure
861
907
  end
862
908
 
@@ -883,6 +929,7 @@ module Aws::DLM
883
929
  class Tag < Struct.new(
884
930
  :key,
885
931
  :value)
932
+ SENSITIVE = []
886
933
  include Aws::Structure
887
934
  end
888
935
 
@@ -909,6 +956,7 @@ module Aws::DLM
909
956
  class TagResourceRequest < Struct.new(
910
957
  :resource_arn,
911
958
  :tags)
959
+ SENSITIVE = []
912
960
  include Aws::Structure
913
961
  end
914
962
 
@@ -937,6 +985,7 @@ module Aws::DLM
937
985
  class UntagResourceRequest < Struct.new(
938
986
  :resource_arn,
939
987
  :tag_keys)
988
+ SENSITIVE = []
940
989
  include Aws::Structure
941
990
  end
942
991
 
@@ -978,9 +1027,10 @@ module Aws::DLM
978
1027
  # },
979
1028
  # ],
980
1029
  # create_rule: {
981
- # interval: 1, # required
982
- # interval_unit: "HOURS", # required, accepts HOURS
1030
+ # interval: 1,
1031
+ # interval_unit: "HOURS", # accepts HOURS
983
1032
  # times: ["Time"],
1033
+ # cron_expression: "CronExpression",
984
1034
  # },
985
1035
  # retain_rule: {
986
1036
  # count: 1,
@@ -1043,6 +1093,7 @@ module Aws::DLM
1043
1093
  :state,
1044
1094
  :description,
1045
1095
  :policy_details)
1096
+ SENSITIVE = []
1046
1097
  include Aws::Structure
1047
1098
  end
1048
1099
 
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.26.0
4
+ version: 1.31.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-04-24 00:00:00.000000000 Z
11
+ date: 2020-06-23 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.71.0
22
+ version: 3.99.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.71.0
32
+ version: 3.99.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement