aws-sdk-recyclebin 1.46.0 → 1.47.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bce25fdbc621e44080448959631cdaf1774932609acf17310c5a2909855e6c33
4
- data.tar.gz: 4b768106ece185c06e324e3f285cb32027941d4fd3f7de24870e3da16259c307
3
+ metadata.gz: f2cc3193fdf1bf1618e2a4911c478071c36518f88f4782a0d0a8d7b1a7353dc7
4
+ data.tar.gz: 86c4b4dac9cad5693c06cdfdb7c509d05b7a5845c26171b49f760796d27767d6
5
5
  SHA512:
6
- metadata.gz: 1343508a9975c6bfb3cd56b93bbfa737f83eff54b62edea9d21ac025c692184dfb66b9e85c671fbe2efd7b70d7b97ca18b9568ec51a6c6d76ce62191fbb42ca0
7
- data.tar.gz: dac38b0f1510f0420cab0af445456617754f9a1919ee3b6a1bf1bb7ca64d469ebbfac7e74e0843987dbc561d2fb304dcdb06f26bc007b3fa4375e172b2a5c111
6
+ metadata.gz: 352e378de15f1261bce59cbcb00c0c8b10036da947d89e1eeffe77bd30f02b3e968c07a42b2c425bb4af70c98282df506dee3badab2c4fe55822de1ddee3c3e2
7
+ data.tar.gz: 2d4f1caec6ef1d7b6e2247ab2630e30f863acfafe50e5889528150453c461c06d12c8c7cdba9d6e83f087ea3da1e324d9518e28f023adf75d63c8744e49a21bd
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.47.0 (2025-11-20)
5
+ ------------------
6
+
7
+ * Feature - Add support for EBS volume in Recycle Bin
8
+
4
9
  1.46.0 (2025-10-27)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.46.0
1
+ 1.47.0
@@ -513,9 +513,13 @@ module Aws::RecycleBin
513
513
  #
514
514
  # @option params [required, String] :resource_type
515
515
  # The resource type to be retained by the retention rule. Currently,
516
- # only Amazon EBS snapshots and EBS-backed AMIs are supported. To retain
517
- # snapshots, specify `EBS_SNAPSHOT`. To retain EBS-backed AMIs, specify
518
- # `EC2_IMAGE`.
516
+ # only EBS volumes, EBS snapshots, and EBS-backed AMIs are supported.
517
+ #
518
+ # * To retain EBS volumes, specify `EBS_VOLUME`.
519
+ #
520
+ # * To retain EBS snapshots, specify `EBS_SNAPSHOT`
521
+ #
522
+ # * To retain EBS-backed AMIs, specify `EC2_IMAGE`.
519
523
  #
520
524
  # @option params [Array<Types::ResourceTag>] :resource_tags
521
525
  # \[Tag-level retention rules only\] Specifies the resource tags to use
@@ -574,7 +578,7 @@ module Aws::RecycleBin
574
578
  # value: "TagValue", # required
575
579
  # },
576
580
  # ],
577
- # resource_type: "EBS_SNAPSHOT", # required, accepts EBS_SNAPSHOT, EC2_IMAGE
581
+ # resource_type: "EBS_SNAPSHOT", # required, accepts EBS_SNAPSHOT, EC2_IMAGE, EBS_VOLUME
578
582
  # resource_tags: [
579
583
  # {
580
584
  # resource_tag_key: "ResourceTagKey", # required
@@ -604,7 +608,7 @@ module Aws::RecycleBin
604
608
  # resp.tags #=> Array
605
609
  # resp.tags[0].key #=> String
606
610
  # resp.tags[0].value #=> String
607
- # resp.resource_type #=> String, one of "EBS_SNAPSHOT", "EC2_IMAGE"
611
+ # resp.resource_type #=> String, one of "EBS_SNAPSHOT", "EC2_IMAGE", "EBS_VOLUME"
608
612
  # resp.resource_tags #=> Array
609
613
  # resp.resource_tags[0].resource_tag_key #=> String
610
614
  # resp.resource_tags[0].resource_tag_value #=> String
@@ -683,7 +687,7 @@ module Aws::RecycleBin
683
687
  #
684
688
  # resp.identifier #=> String
685
689
  # resp.description #=> String
686
- # resp.resource_type #=> String, one of "EBS_SNAPSHOT", "EC2_IMAGE"
690
+ # resp.resource_type #=> String, one of "EBS_SNAPSHOT", "EC2_IMAGE", "EBS_VOLUME"
687
691
  # resp.retention_period.retention_period_value #=> Integer
688
692
  # resp.retention_period.retention_period_unit #=> String, one of "DAYS"
689
693
  # resp.resource_tags #=> Array
@@ -721,9 +725,16 @@ module Aws::RecycleBin
721
725
  # @option params [required, String] :resource_type
722
726
  # The resource type retained by the retention rule. Only retention rules
723
727
  # that retain the specified resource type are listed. Currently, only
724
- # Amazon EBS snapshots and EBS-backed AMIs are supported. To list
725
- # retention rules that retain snapshots, specify `EBS_SNAPSHOT`. To list
726
- # retention rules that retain EBS-backed AMIs, specify `EC2_IMAGE`.
728
+ # EBS volumes, EBS snapshots, and EBS-backed AMIs are supported.
729
+ #
730
+ # * To list retention rules that retain EBS volumes, specify
731
+ # `EBS_VOLUME`.
732
+ #
733
+ # * To list retention rules that retain EBS snapshots, specify
734
+ # `EBS_SNAPSHOT`.
735
+ #
736
+ # * To list retention rules that retain EBS-backed AMIs, specify
737
+ # `EC2_IMAGE`.
727
738
  #
728
739
  # @option params [Array<Types::ResourceTag>] :resource_tags
729
740
  # \[Tag-level retention rules only\] Information about the resource tags
@@ -750,7 +761,7 @@ module Aws::RecycleBin
750
761
  # resp = client.list_rules({
751
762
  # max_results: 1,
752
763
  # next_token: "NextToken",
753
- # resource_type: "EBS_SNAPSHOT", # required, accepts EBS_SNAPSHOT, EC2_IMAGE
764
+ # resource_type: "EBS_SNAPSHOT", # required, accepts EBS_SNAPSHOT, EC2_IMAGE, EBS_VOLUME
754
765
  # resource_tags: [
755
766
  # {
756
767
  # resource_tag_key: "ResourceTagKey", # required
@@ -859,7 +870,7 @@ module Aws::RecycleBin
859
870
  #
860
871
  # resp.identifier #=> String
861
872
  # resp.description #=> String
862
- # resp.resource_type #=> String, one of "EBS_SNAPSHOT", "EC2_IMAGE"
873
+ # resp.resource_type #=> String, one of "EBS_SNAPSHOT", "EC2_IMAGE", "EBS_VOLUME"
863
874
  # resp.retention_period.retention_period_value #=> Integer
864
875
  # resp.retention_period.retention_period_unit #=> String, one of "DAYS"
865
876
  # resp.resource_tags #=> Array
@@ -944,7 +955,7 @@ module Aws::RecycleBin
944
955
  #
945
956
  # resp.identifier #=> String
946
957
  # resp.description #=> String
947
- # resp.resource_type #=> String, one of "EBS_SNAPSHOT", "EC2_IMAGE"
958
+ # resp.resource_type #=> String, one of "EBS_SNAPSHOT", "EC2_IMAGE", "EBS_VOLUME"
948
959
  # resp.retention_period.retention_period_value #=> Integer
949
960
  # resp.retention_period.retention_period_unit #=> String, one of "DAYS"
950
961
  # resp.resource_tags #=> Array
@@ -1071,7 +1082,7 @@ module Aws::RecycleBin
1071
1082
  # retention_period_unit: "DAYS", # required, accepts DAYS
1072
1083
  # },
1073
1084
  # description: "Description",
1074
- # resource_type: "EBS_SNAPSHOT", # accepts EBS_SNAPSHOT, EC2_IMAGE
1085
+ # resource_type: "EBS_SNAPSHOT", # accepts EBS_SNAPSHOT, EC2_IMAGE, EBS_VOLUME
1075
1086
  # resource_tags: [
1076
1087
  # {
1077
1088
  # resource_tag_key: "ResourceTagKey", # required
@@ -1092,7 +1103,7 @@ module Aws::RecycleBin
1092
1103
  # resp.retention_period.retention_period_value #=> Integer
1093
1104
  # resp.retention_period.retention_period_unit #=> String, one of "DAYS"
1094
1105
  # resp.description #=> String
1095
- # resp.resource_type #=> String, one of "EBS_SNAPSHOT", "EC2_IMAGE"
1106
+ # resp.resource_type #=> String, one of "EBS_SNAPSHOT", "EC2_IMAGE", "EBS_VOLUME"
1096
1107
  # resp.resource_tags #=> Array
1097
1108
  # resp.resource_tags[0].resource_tag_key #=> String
1098
1109
  # resp.resource_tags[0].resource_tag_value #=> String
@@ -1131,7 +1142,7 @@ module Aws::RecycleBin
1131
1142
  tracer: tracer
1132
1143
  )
1133
1144
  context[:gem_name] = 'aws-sdk-recyclebin'
1134
- context[:gem_version] = '1.46.0'
1145
+ context[:gem_version] = '1.47.0'
1135
1146
  Seahorse::Client::Request.new(handlers, context)
1136
1147
  end
1137
1148
 
@@ -43,9 +43,13 @@ module Aws::RecycleBin
43
43
  #
44
44
  # @!attribute [rw] resource_type
45
45
  # The resource type to be retained by the retention rule. Currently,
46
- # only Amazon EBS snapshots and EBS-backed AMIs are supported. To
47
- # retain snapshots, specify `EBS_SNAPSHOT`. To retain EBS-backed AMIs,
48
- # specify `EC2_IMAGE`.
46
+ # only EBS volumes, EBS snapshots, and EBS-backed AMIs are supported.
47
+ #
48
+ # * To retain EBS volumes, specify `EBS_VOLUME`.
49
+ #
50
+ # * To retain EBS snapshots, specify `EBS_SNAPSHOT`
51
+ #
52
+ # * To retain EBS-backed AMIs, specify `EC2_IMAGE`.
49
53
  # @return [String]
50
54
  #
51
55
  # @!attribute [rw] resource_tags
@@ -322,10 +326,16 @@ module Aws::RecycleBin
322
326
  # @!attribute [rw] resource_type
323
327
  # The resource type retained by the retention rule. Only retention
324
328
  # rules that retain the specified resource type are listed. Currently,
325
- # only Amazon EBS snapshots and EBS-backed AMIs are supported. To list
326
- # retention rules that retain snapshots, specify `EBS_SNAPSHOT`. To
327
- # list retention rules that retain EBS-backed AMIs, specify
328
- # `EC2_IMAGE`.
329
+ # only EBS volumes, EBS snapshots, and EBS-backed AMIs are supported.
330
+ #
331
+ # * To list retention rules that retain EBS volumes, specify
332
+ # `EBS_VOLUME`.
333
+ #
334
+ # * To list retention rules that retain EBS snapshots, specify
335
+ # `EBS_SNAPSHOT`.
336
+ #
337
+ # * To list retention rules that retain EBS-backed AMIs, specify
338
+ # `EC2_IMAGE`.
329
339
  # @return [String]
330
340
  #
331
341
  # @!attribute [rw] resource_tags
@@ -554,8 +564,11 @@ module Aws::RecycleBin
554
564
  #
555
565
  # @!attribute [rw] retention_period_value
556
566
  # The period value for which the retention rule is to retain
557
- # resources. The period is measured using the unit specified for
558
- # **RetentionPeriodUnit**.
567
+ # resources, measured in days. The supported retention periods are:
568
+ #
569
+ # * EBS volumes: 1 - 7 days
570
+ #
571
+ # * EBS snapshots and EBS-backed AMIs: 1 - 365 days
559
572
  # @return [Integer]
560
573
  #
561
574
  # @!attribute [rw] retention_period_unit
@@ -696,7 +709,7 @@ module Aws::RecycleBin
696
709
  #
697
710
  # @!attribute [rw] unlock_delay_unit
698
711
  # The unit of time in which to measure the unlock delay. Currently,
699
- # the unlock delay can be measure only in days.
712
+ # the unlock delay can be measured only in days.
700
713
  # @return [String]
701
714
  #
702
715
  # @see http://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/UnlockDelay AWS API Documentation
@@ -54,7 +54,7 @@ module Aws::RecycleBin
54
54
  autoload :EndpointProvider, 'aws-sdk-recyclebin/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-recyclebin/endpoints'
56
56
 
57
- GEM_VERSION = '1.46.0'
57
+ GEM_VERSION = '1.47.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -84,7 +84,7 @@ module Aws
84
84
  def retention_period: () -> Types::RetentionPeriod
85
85
  def description: () -> ::String
86
86
  def tags: () -> ::Array[Types::Tag]
87
- def resource_type: () -> ("EBS_SNAPSHOT" | "EC2_IMAGE")
87
+ def resource_type: () -> ("EBS_SNAPSHOT" | "EC2_IMAGE" | "EBS_VOLUME")
88
88
  def resource_tags: () -> ::Array[Types::ResourceTag]
89
89
  def status: () -> ("pending" | "available")
90
90
  def lock_configuration: () -> Types::LockConfiguration
@@ -105,7 +105,7 @@ module Aws
105
105
  value: ::String
106
106
  },
107
107
  ],
108
- resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE"),
108
+ resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE" | "EBS_VOLUME"),
109
109
  ?resource_tags: Array[
110
110
  {
111
111
  resource_tag_key: ::String,
@@ -140,7 +140,7 @@ module Aws
140
140
  include ::Seahorse::Client::_ResponseSuccess[Types::GetRuleResponse]
141
141
  def identifier: () -> ::String
142
142
  def description: () -> ::String
143
- def resource_type: () -> ("EBS_SNAPSHOT" | "EC2_IMAGE")
143
+ def resource_type: () -> ("EBS_SNAPSHOT" | "EC2_IMAGE" | "EBS_VOLUME")
144
144
  def retention_period: () -> Types::RetentionPeriod
145
145
  def resource_tags: () -> ::Array[Types::ResourceTag]
146
146
  def status: () -> ("pending" | "available")
@@ -165,7 +165,7 @@ module Aws
165
165
  def list_rules: (
166
166
  ?max_results: ::Integer,
167
167
  ?next_token: ::String,
168
- resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE"),
168
+ resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE" | "EBS_VOLUME"),
169
169
  ?resource_tags: Array[
170
170
  {
171
171
  resource_tag_key: ::String,
@@ -196,7 +196,7 @@ module Aws
196
196
  include ::Seahorse::Client::_ResponseSuccess[Types::LockRuleResponse]
197
197
  def identifier: () -> ::String
198
198
  def description: () -> ::String
199
- def resource_type: () -> ("EBS_SNAPSHOT" | "EC2_IMAGE")
199
+ def resource_type: () -> ("EBS_SNAPSHOT" | "EC2_IMAGE" | "EBS_VOLUME")
200
200
  def retention_period: () -> Types::RetentionPeriod
201
201
  def resource_tags: () -> ::Array[Types::ResourceTag]
202
202
  def status: () -> ("pending" | "available")
@@ -236,7 +236,7 @@ module Aws
236
236
  include ::Seahorse::Client::_ResponseSuccess[Types::UnlockRuleResponse]
237
237
  def identifier: () -> ::String
238
238
  def description: () -> ::String
239
- def resource_type: () -> ("EBS_SNAPSHOT" | "EC2_IMAGE")
239
+ def resource_type: () -> ("EBS_SNAPSHOT" | "EC2_IMAGE" | "EBS_VOLUME")
240
240
  def retention_period: () -> Types::RetentionPeriod
241
241
  def resource_tags: () -> ::Array[Types::ResourceTag]
242
242
  def status: () -> ("pending" | "available")
@@ -267,7 +267,7 @@ module Aws
267
267
  def identifier: () -> ::String
268
268
  def retention_period: () -> Types::RetentionPeriod
269
269
  def description: () -> ::String
270
- def resource_type: () -> ("EBS_SNAPSHOT" | "EC2_IMAGE")
270
+ def resource_type: () -> ("EBS_SNAPSHOT" | "EC2_IMAGE" | "EBS_VOLUME")
271
271
  def resource_tags: () -> ::Array[Types::ResourceTag]
272
272
  def status: () -> ("pending" | "available")
273
273
  def lock_state: () -> ("locked" | "pending_unlock" | "unlocked")
@@ -283,7 +283,7 @@ module Aws
283
283
  retention_period_unit: ("DAYS")
284
284
  },
285
285
  ?description: ::String,
286
- ?resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE"),
286
+ ?resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE" | "EBS_VOLUME"),
287
287
  ?resource_tags: Array[
288
288
  {
289
289
  resource_tag_key: ::String,
data/sig/types.rbs CHANGED
@@ -18,7 +18,7 @@ module Aws::RecycleBin
18
18
  attr_accessor retention_period: Types::RetentionPeriod
19
19
  attr_accessor description: ::String
20
20
  attr_accessor tags: ::Array[Types::Tag]
21
- attr_accessor resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE")
21
+ attr_accessor resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE" | "EBS_VOLUME")
22
22
  attr_accessor resource_tags: ::Array[Types::ResourceTag]
23
23
  attr_accessor lock_configuration: Types::LockConfiguration
24
24
  attr_accessor exclude_resource_tags: ::Array[Types::ResourceTag]
@@ -30,7 +30,7 @@ module Aws::RecycleBin
30
30
  attr_accessor retention_period: Types::RetentionPeriod
31
31
  attr_accessor description: ::String
32
32
  attr_accessor tags: ::Array[Types::Tag]
33
- attr_accessor resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE")
33
+ attr_accessor resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE" | "EBS_VOLUME")
34
34
  attr_accessor resource_tags: ::Array[Types::ResourceTag]
35
35
  attr_accessor status: ("pending" | "available")
36
36
  attr_accessor lock_configuration: Types::LockConfiguration
@@ -56,7 +56,7 @@ module Aws::RecycleBin
56
56
  class GetRuleResponse
57
57
  attr_accessor identifier: ::String
58
58
  attr_accessor description: ::String
59
- attr_accessor resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE")
59
+ attr_accessor resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE" | "EBS_VOLUME")
60
60
  attr_accessor retention_period: Types::RetentionPeriod
61
61
  attr_accessor resource_tags: ::Array[Types::ResourceTag]
62
62
  attr_accessor status: ("pending" | "available")
@@ -76,7 +76,7 @@ module Aws::RecycleBin
76
76
  class ListRulesRequest
77
77
  attr_accessor max_results: ::Integer
78
78
  attr_accessor next_token: ::String
79
- attr_accessor resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE")
79
+ attr_accessor resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE" | "EBS_VOLUME")
80
80
  attr_accessor resource_tags: ::Array[Types::ResourceTag]
81
81
  attr_accessor lock_state: ("locked" | "pending_unlock" | "unlocked")
82
82
  attr_accessor exclude_resource_tags: ::Array[Types::ResourceTag]
@@ -113,7 +113,7 @@ module Aws::RecycleBin
113
113
  class LockRuleResponse
114
114
  attr_accessor identifier: ::String
115
115
  attr_accessor description: ::String
116
- attr_accessor resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE")
116
+ attr_accessor resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE" | "EBS_VOLUME")
117
117
  attr_accessor retention_period: Types::RetentionPeriod
118
118
  attr_accessor resource_tags: ::Array[Types::ResourceTag]
119
119
  attr_accessor status: ("pending" | "available")
@@ -186,7 +186,7 @@ module Aws::RecycleBin
186
186
  class UnlockRuleResponse
187
187
  attr_accessor identifier: ::String
188
188
  attr_accessor description: ::String
189
- attr_accessor resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE")
189
+ attr_accessor resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE" | "EBS_VOLUME")
190
190
  attr_accessor retention_period: Types::RetentionPeriod
191
191
  attr_accessor resource_tags: ::Array[Types::ResourceTag]
192
192
  attr_accessor status: ("pending" | "available")
@@ -211,7 +211,7 @@ module Aws::RecycleBin
211
211
  attr_accessor identifier: ::String
212
212
  attr_accessor retention_period: Types::RetentionPeriod
213
213
  attr_accessor description: ::String
214
- attr_accessor resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE")
214
+ attr_accessor resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE" | "EBS_VOLUME")
215
215
  attr_accessor resource_tags: ::Array[Types::ResourceTag]
216
216
  attr_accessor exclude_resource_tags: ::Array[Types::ResourceTag]
217
217
  SENSITIVE: []
@@ -221,7 +221,7 @@ module Aws::RecycleBin
221
221
  attr_accessor identifier: ::String
222
222
  attr_accessor retention_period: Types::RetentionPeriod
223
223
  attr_accessor description: ::String
224
- attr_accessor resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE")
224
+ attr_accessor resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE" | "EBS_VOLUME")
225
225
  attr_accessor resource_tags: ::Array[Types::ResourceTag]
226
226
  attr_accessor status: ("pending" | "available")
227
227
  attr_accessor lock_state: ("locked" | "pending_unlock" | "unlocked")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-recyclebin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.46.0
4
+ version: 1.47.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services