aws-sdk-recyclebin 1.33.0 → 1.35.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: 99eb85076c0bc61b57f3d6afafef442ca5dd2a4e1b4c6776ec68687da4940c6b
4
- data.tar.gz: 79a983a1ba87a7dfe43df336a00ba89f64890313dd89d16d9c3ace5fbab08810
3
+ metadata.gz: 1a9d6f5c78974a47959dfe0cf9b58f93d325b4e05ca9202884de1b8daaa941e8
4
+ data.tar.gz: 81e7f5fdfd1443767a6145697b96e87c18d1e1936b350faa2c059688c902de80
5
5
  SHA512:
6
- metadata.gz: 6aaee106fcc70581211046456a9412c23a78072c3af40faea2dd8b2600e3cd95dd7fc01f1e98beaffc4f64ad0deca0163c3c2becd0ced872747f599f1f89937c
7
- data.tar.gz: 63372c7ebffd3e8e6e1a21c04e742c4a87cc40555229fd935c47f69400a9c4614383fb674c8c755b52e217586e9e853cb57631746af97477c7d6086d898990e0
6
+ metadata.gz: cc34cca13cc53926830cf8f0ecedb0047123d82b84e94fbb1a7bdb0c56a9c5fe8ccd581a3a00bbe219c42fbd36b7dd2f1ab5f714b4738c89bcc8268ddd9de722
7
+ data.tar.gz: 1d1a9583af224bb9b014501aa8fae7619cfff59bb58e487519a0e4ba14680914b642fd4a8b0515f11c5c9f5c6132c7fbe16c0a40902493889c8b60f0079d52bd
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.35.0 (2025-01-15)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.34.0 (2024-11-20)
10
+ ------------------
11
+
12
+ * Feature - This release adds support for exclusion tags for Recycle Bin, which allows you to identify resources that are to be excluded, or ignored, by a Region-level retention rule.
13
+
4
14
  1.33.0 (2024-10-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.33.0
1
+ 1.35.0
@@ -257,11 +257,34 @@ module Aws::RecycleBin
257
257
  # Used when loading credentials from the shared credentials file
258
258
  # at HOME/.aws/credentials. When not specified, 'default' is used.
259
259
  #
260
+ # @option options [String] :request_checksum_calculation ("when_supported")
261
+ # Determines when a checksum will be calculated for request payloads. Values are:
262
+ #
263
+ # * `when_supported` - (default) When set, a checksum will be
264
+ # calculated for all request payloads of operations modeled with the
265
+ # `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
266
+ # `requestAlgorithmMember` is modeled.
267
+ # * `when_required` - When set, a checksum will only be calculated for
268
+ # request payloads of operations modeled with the `httpChecksum` trait where
269
+ # `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
270
+ # is modeled and supplied.
271
+ #
260
272
  # @option options [Integer] :request_min_compression_size_bytes (10240)
261
273
  # The minimum size in bytes that triggers compression for request
262
274
  # bodies. The value must be non-negative integer value between 0
263
275
  # and 10485780 bytes inclusive.
264
276
  #
277
+ # @option options [String] :response_checksum_validation ("when_supported")
278
+ # Determines when checksum validation will be performed on response payloads. Values are:
279
+ #
280
+ # * `when_supported` - (default) When set, checksum validation is performed on all
281
+ # response payloads of operations modeled with the `httpChecksum` trait where
282
+ # `responseAlgorithms` is modeled, except when no modeled checksum algorithms
283
+ # are supported.
284
+ # * `when_required` - When set, checksum validation is not performed on
285
+ # response payloads of operations unless the checksum algorithm is supported and
286
+ # the `requestValidationModeMember` member is set to `ENABLED`.
287
+ #
265
288
  # @option options [Proc] :retry_backoff
266
289
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
267
290
  # This option is only used in the `legacy` retry mode.
@@ -447,13 +470,30 @@ module Aws::RecycleBin
447
470
 
448
471
  # @!group API Operations
449
472
 
450
- # Creates a Recycle Bin retention rule. For more information, see [
451
- # Create Recycle Bin retention rules][1] in the *Amazon Elastic Compute
452
- # Cloud User Guide*.
473
+ # Creates a Recycle Bin retention rule. You can create two types of
474
+ # retention rules:
453
475
  #
476
+ # * **Tag-level retention rules** - These retention rules use resource
477
+ # tags to identify the resources to protect. For each retention rule,
478
+ # you specify one or more tag key and value pairs. Resources (of the
479
+ # specified type) that have at least one of these tag key and value
480
+ # pairs are automatically retained in the Recycle Bin upon deletion.
481
+ # Use this type of retention rule to protect specific resources in
482
+ # your account based on their tags.
454
483
  #
484
+ # * **Region-level retention rules** - These retention rules, by
485
+ # default, apply to all of the resources (of the specified type) in
486
+ # the Region, even if the resources are not tagged. However, you can
487
+ # specify exclusion tags to exclude resources that have specific tags.
488
+ # Use this type of retention rule to protect all resources of a
489
+ # specific type in a Region.
455
490
  #
456
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin-working-with-rules.html#recycle-bin-create-rule
491
+ # For more information, see [ Create Recycle Bin retention rules][1] in
492
+ # the *Amazon EBS User Guide*.
493
+ #
494
+ #
495
+ #
496
+ # [1]: https://docs.aws.amazon.com/ebs/latest/userguide/recycle-bin.html
457
497
  #
458
498
  # @option params [required, Types::RetentionPeriod] :retention_period
459
499
  # Information about the retention period for which the retention rule is
@@ -472,13 +512,13 @@ module Aws::RecycleBin
472
512
  # `EC2_IMAGE`.
473
513
  #
474
514
  # @option params [Array<Types::ResourceTag>] :resource_tags
475
- # Specifies the resource tags to use to identify resources that are to
476
- # be retained by a tag-level retention rule. For tag-level retention
477
- # rules, only deleted resources, of the specified resource type, that
478
- # have one or more of the specified tag key and value pairs are
479
- # retained. If a resource is deleted, but it does not have any of the
480
- # specified tag key and value pairs, it is immediately deleted without
481
- # being retained by the retention rule.
515
+ # \[Tag-level retention rules only\] Specifies the resource tags to use
516
+ # to identify resources that are to be retained by a tag-level retention
517
+ # rule. For tag-level retention rules, only deleted resources, of the
518
+ # specified resource type, that have one or more of the specified tag
519
+ # key and value pairs are retained. If a resource is deleted, but it
520
+ # does not have any of the specified tag key and value pairs, it is
521
+ # immediately deleted without being retained by the retention rule.
482
522
  #
483
523
  # You can add the same tag key and value pair to a maximum or five
484
524
  # retention rules.
@@ -492,6 +532,14 @@ module Aws::RecycleBin
492
532
  # @option params [Types::LockConfiguration] :lock_configuration
493
533
  # Information about the retention rule lock configuration.
494
534
  #
535
+ # @option params [Array<Types::ResourceTag>] :exclude_resource_tags
536
+ # \[Region-level retention rules only\] Specifies the exclusion tags to
537
+ # use to identify resources that are to be excluded, or ignored, by a
538
+ # Region-level retention rule. Resources that have any of these tags are
539
+ # not retained by the retention rule upon deletion.
540
+ #
541
+ # You can't specify exclusion tags for tag-level retention rules.
542
+ #
495
543
  # @return [Types::CreateRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
496
544
  #
497
545
  # * {Types::CreateRuleResponse#identifier #identifier} => String
@@ -504,6 +552,7 @@ module Aws::RecycleBin
504
552
  # * {Types::CreateRuleResponse#lock_configuration #lock_configuration} => Types::LockConfiguration
505
553
  # * {Types::CreateRuleResponse#lock_state #lock_state} => String
506
554
  # * {Types::CreateRuleResponse#rule_arn #rule_arn} => String
555
+ # * {Types::CreateRuleResponse#exclude_resource_tags #exclude_resource_tags} => Array&lt;Types::ResourceTag&gt;
507
556
  #
508
557
  # @example Request syntax with placeholder values
509
558
  #
@@ -532,6 +581,12 @@ module Aws::RecycleBin
532
581
  # unlock_delay_unit: "DAYS", # required, accepts DAYS
533
582
  # },
534
583
  # },
584
+ # exclude_resource_tags: [
585
+ # {
586
+ # resource_tag_key: "ResourceTagKey", # required
587
+ # resource_tag_value: "ResourceTagValue",
588
+ # },
589
+ # ],
535
590
  # })
536
591
  #
537
592
  # @example Response structure
@@ -552,6 +607,9 @@ module Aws::RecycleBin
552
607
  # resp.lock_configuration.unlock_delay.unlock_delay_unit #=> String, one of "DAYS"
553
608
  # resp.lock_state #=> String, one of "locked", "pending_unlock", "unlocked"
554
609
  # resp.rule_arn #=> String
610
+ # resp.exclude_resource_tags #=> Array
611
+ # resp.exclude_resource_tags[0].resource_tag_key #=> String
612
+ # resp.exclude_resource_tags[0].resource_tag_value #=> String
555
613
  #
556
614
  # @see http://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/CreateRule AWS API Documentation
557
615
  #
@@ -607,6 +665,7 @@ module Aws::RecycleBin
607
665
  # * {Types::GetRuleResponse#lock_state #lock_state} => String
608
666
  # * {Types::GetRuleResponse#lock_end_time #lock_end_time} => Time
609
667
  # * {Types::GetRuleResponse#rule_arn #rule_arn} => String
668
+ # * {Types::GetRuleResponse#exclude_resource_tags #exclude_resource_tags} => Array&lt;Types::ResourceTag&gt;
610
669
  #
611
670
  # @example Request syntax with placeholder values
612
671
  #
@@ -630,6 +689,9 @@ module Aws::RecycleBin
630
689
  # resp.lock_state #=> String, one of "locked", "pending_unlock", "unlocked"
631
690
  # resp.lock_end_time #=> Time
632
691
  # resp.rule_arn #=> String
692
+ # resp.exclude_resource_tags #=> Array
693
+ # resp.exclude_resource_tags[0].resource_tag_key #=> String
694
+ # resp.exclude_resource_tags[0].resource_tag_value #=> String
633
695
  #
634
696
  # @see http://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/GetRule AWS API Documentation
635
697
  #
@@ -658,13 +720,18 @@ module Aws::RecycleBin
658
720
  # retention rules that retain EBS-backed AMIs, specify `EC2_IMAGE`.
659
721
  #
660
722
  # @option params [Array<Types::ResourceTag>] :resource_tags
661
- # Information about the resource tags used to identify resources that
662
- # are retained by the retention rule.
723
+ # \[Tag-level retention rules only\] Information about the resource tags
724
+ # used to identify resources that are retained by the retention rule.
663
725
  #
664
726
  # @option params [String] :lock_state
665
727
  # The lock state of the retention rules to list. Only retention rules
666
728
  # with the specified lock state are returned.
667
729
  #
730
+ # @option params [Array<Types::ResourceTag>] :exclude_resource_tags
731
+ # \[Region-level retention rules only\] Information about the exclusion
732
+ # tags used to identify resources that are to be excluded, or ignored,
733
+ # by the retention rule.
734
+ #
668
735
  # @return [Types::ListRulesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
669
736
  #
670
737
  # * {Types::ListRulesResponse#rules #rules} => Array&lt;Types::RuleSummary&gt;
@@ -685,6 +752,12 @@ module Aws::RecycleBin
685
752
  # },
686
753
  # ],
687
754
  # lock_state: "locked", # accepts locked, pending_unlock, unlocked
755
+ # exclude_resource_tags: [
756
+ # {
757
+ # resource_tag_key: "ResourceTagKey", # required
758
+ # resource_tag_value: "ResourceTagValue",
759
+ # },
760
+ # ],
688
761
  # })
689
762
  #
690
763
  # @example Response structure
@@ -737,8 +810,13 @@ module Aws::RecycleBin
737
810
  req.send_request(options)
738
811
  end
739
812
 
740
- # Locks a retention rule. A locked retention rule can't be modified or
741
- # deleted.
813
+ # Locks a Region-level retention rule. A locked retention rule can't be
814
+ # modified or deleted.
815
+ #
816
+ # <note markdown="1"> You can't lock tag-level retention rules, or Region-level retention
817
+ # rules that have exclusion tags.
818
+ #
819
+ # </note>
742
820
  #
743
821
  # @option params [required, String] :identifier
744
822
  # The unique ID of the retention rule.
@@ -757,6 +835,7 @@ module Aws::RecycleBin
757
835
  # * {Types::LockRuleResponse#lock_configuration #lock_configuration} => Types::LockConfiguration
758
836
  # * {Types::LockRuleResponse#lock_state #lock_state} => String
759
837
  # * {Types::LockRuleResponse#rule_arn #rule_arn} => String
838
+ # * {Types::LockRuleResponse#exclude_resource_tags #exclude_resource_tags} => Array&lt;Types::ResourceTag&gt;
760
839
  #
761
840
  # @example Request syntax with placeholder values
762
841
  #
@@ -785,6 +864,9 @@ module Aws::RecycleBin
785
864
  # resp.lock_configuration.unlock_delay.unlock_delay_unit #=> String, one of "DAYS"
786
865
  # resp.lock_state #=> String, one of "locked", "pending_unlock", "unlocked"
787
866
  # resp.rule_arn #=> String
867
+ # resp.exclude_resource_tags #=> Array
868
+ # resp.exclude_resource_tags[0].resource_tag_key #=> String
869
+ # resp.exclude_resource_tags[0].resource_tag_value #=> String
788
870
  #
789
871
  # @see http://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/LockRule AWS API Documentation
790
872
  #
@@ -844,6 +926,7 @@ module Aws::RecycleBin
844
926
  # * {Types::UnlockRuleResponse#lock_state #lock_state} => String
845
927
  # * {Types::UnlockRuleResponse#lock_end_time #lock_end_time} => Time
846
928
  # * {Types::UnlockRuleResponse#rule_arn #rule_arn} => String
929
+ # * {Types::UnlockRuleResponse#exclude_resource_tags #exclude_resource_tags} => Array&lt;Types::ResourceTag&gt;
847
930
  #
848
931
  # @example Request syntax with placeholder values
849
932
  #
@@ -867,6 +950,9 @@ module Aws::RecycleBin
867
950
  # resp.lock_state #=> String, one of "locked", "pending_unlock", "unlocked"
868
951
  # resp.lock_end_time #=> Time
869
952
  # resp.rule_arn #=> String
953
+ # resp.exclude_resource_tags #=> Array
954
+ # resp.exclude_resource_tags[0].resource_tag_key #=> String
955
+ # resp.exclude_resource_tags[0].resource_tag_value #=> String
870
956
  #
871
957
  # @see http://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/UnlockRule AWS API Documentation
872
958
  #
@@ -932,13 +1018,13 @@ module Aws::RecycleBin
932
1018
  # </note>
933
1019
  #
934
1020
  # @option params [Array<Types::ResourceTag>] :resource_tags
935
- # Specifies the resource tags to use to identify resources that are to
936
- # be retained by a tag-level retention rule. For tag-level retention
937
- # rules, only deleted resources, of the specified resource type, that
938
- # have one or more of the specified tag key and value pairs are
939
- # retained. If a resource is deleted, but it does not have any of the
940
- # specified tag key and value pairs, it is immediately deleted without
941
- # being retained by the retention rule.
1021
+ # \[Tag-level retention rules only\] Specifies the resource tags to use
1022
+ # to identify resources that are to be retained by a tag-level retention
1023
+ # rule. For tag-level retention rules, only deleted resources, of the
1024
+ # specified resource type, that have one or more of the specified tag
1025
+ # key and value pairs are retained. If a resource is deleted, but it
1026
+ # does not have any of the specified tag key and value pairs, it is
1027
+ # immediately deleted without being retained by the retention rule.
942
1028
  #
943
1029
  # You can add the same tag key and value pair to a maximum or five
944
1030
  # retention rules.
@@ -949,6 +1035,14 @@ module Aws::RecycleBin
949
1035
  # Region in which the rule is created, even if the resources are not
950
1036
  # tagged.
951
1037
  #
1038
+ # @option params [Array<Types::ResourceTag>] :exclude_resource_tags
1039
+ # \[Region-level retention rules only\] Specifies the exclusion tags to
1040
+ # use to identify resources that are to be excluded, or ignored, by a
1041
+ # Region-level retention rule. Resources that have any of these tags are
1042
+ # not retained by the retention rule upon deletion.
1043
+ #
1044
+ # You can't specify exclusion tags for tag-level retention rules.
1045
+ #
952
1046
  # @return [Types::UpdateRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
953
1047
  #
954
1048
  # * {Types::UpdateRuleResponse#identifier #identifier} => String
@@ -960,6 +1054,7 @@ module Aws::RecycleBin
960
1054
  # * {Types::UpdateRuleResponse#lock_state #lock_state} => String
961
1055
  # * {Types::UpdateRuleResponse#lock_end_time #lock_end_time} => Time
962
1056
  # * {Types::UpdateRuleResponse#rule_arn #rule_arn} => String
1057
+ # * {Types::UpdateRuleResponse#exclude_resource_tags #exclude_resource_tags} => Array&lt;Types::ResourceTag&gt;
963
1058
  #
964
1059
  # @example Request syntax with placeholder values
965
1060
  #
@@ -977,6 +1072,12 @@ module Aws::RecycleBin
977
1072
  # resource_tag_value: "ResourceTagValue",
978
1073
  # },
979
1074
  # ],
1075
+ # exclude_resource_tags: [
1076
+ # {
1077
+ # resource_tag_key: "ResourceTagKey", # required
1078
+ # resource_tag_value: "ResourceTagValue",
1079
+ # },
1080
+ # ],
980
1081
  # })
981
1082
  #
982
1083
  # @example Response structure
@@ -993,6 +1094,9 @@ module Aws::RecycleBin
993
1094
  # resp.lock_state #=> String, one of "locked", "pending_unlock", "unlocked"
994
1095
  # resp.lock_end_time #=> Time
995
1096
  # resp.rule_arn #=> String
1097
+ # resp.exclude_resource_tags #=> Array
1098
+ # resp.exclude_resource_tags[0].resource_tag_key #=> String
1099
+ # resp.exclude_resource_tags[0].resource_tag_value #=> String
996
1100
  #
997
1101
  # @see http://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/UpdateRule AWS API Documentation
998
1102
  #
@@ -1021,7 +1125,7 @@ module Aws::RecycleBin
1021
1125
  tracer: tracer
1022
1126
  )
1023
1127
  context[:gem_name] = 'aws-sdk-recyclebin'
1024
- context[:gem_version] = '1.33.0'
1128
+ context[:gem_version] = '1.35.0'
1025
1129
  Seahorse::Client::Request.new(handlers, context)
1026
1130
  end
1027
1131
 
@@ -22,6 +22,7 @@ module Aws::RecycleBin
22
22
  DeleteRuleResponse = Shapes::StructureShape.new(name: 'DeleteRuleResponse')
23
23
  Description = Shapes::StringShape.new(name: 'Description')
24
24
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
25
+ ExcludeResourceTags = Shapes::ListShape.new(name: 'ExcludeResourceTags')
25
26
  GetRuleRequest = Shapes::StructureShape.new(name: 'GetRuleRequest')
26
27
  GetRuleResponse = Shapes::StructureShape.new(name: 'GetRuleResponse')
27
28
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
@@ -82,6 +83,7 @@ module Aws::RecycleBin
82
83
  CreateRuleRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "ResourceType"))
83
84
  CreateRuleRequest.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTags, location_name: "ResourceTags"))
84
85
  CreateRuleRequest.add_member(:lock_configuration, Shapes::ShapeRef.new(shape: LockConfiguration, location_name: "LockConfiguration"))
86
+ CreateRuleRequest.add_member(:exclude_resource_tags, Shapes::ShapeRef.new(shape: ExcludeResourceTags, location_name: "ExcludeResourceTags"))
85
87
  CreateRuleRequest.struct_class = Types::CreateRuleRequest
86
88
 
87
89
  CreateRuleResponse.add_member(:identifier, Shapes::ShapeRef.new(shape: RuleIdentifier, location_name: "Identifier"))
@@ -94,6 +96,7 @@ module Aws::RecycleBin
94
96
  CreateRuleResponse.add_member(:lock_configuration, Shapes::ShapeRef.new(shape: LockConfiguration, location_name: "LockConfiguration"))
95
97
  CreateRuleResponse.add_member(:lock_state, Shapes::ShapeRef.new(shape: LockState, location_name: "LockState"))
96
98
  CreateRuleResponse.add_member(:rule_arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "RuleArn"))
99
+ CreateRuleResponse.add_member(:exclude_resource_tags, Shapes::ShapeRef.new(shape: ExcludeResourceTags, location_name: "ExcludeResourceTags"))
97
100
  CreateRuleResponse.struct_class = Types::CreateRuleResponse
98
101
 
99
102
  DeleteRuleRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: RuleIdentifier, required: true, location: "uri", location_name: "identifier"))
@@ -101,6 +104,8 @@ module Aws::RecycleBin
101
104
 
102
105
  DeleteRuleResponse.struct_class = Types::DeleteRuleResponse
103
106
 
107
+ ExcludeResourceTags.member = Shapes::ShapeRef.new(shape: ResourceTag)
108
+
104
109
  GetRuleRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: RuleIdentifier, required: true, location: "uri", location_name: "identifier"))
105
110
  GetRuleRequest.struct_class = Types::GetRuleRequest
106
111
 
@@ -114,6 +119,7 @@ module Aws::RecycleBin
114
119
  GetRuleResponse.add_member(:lock_state, Shapes::ShapeRef.new(shape: LockState, location_name: "LockState"))
115
120
  GetRuleResponse.add_member(:lock_end_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "LockEndTime"))
116
121
  GetRuleResponse.add_member(:rule_arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "RuleArn"))
122
+ GetRuleResponse.add_member(:exclude_resource_tags, Shapes::ShapeRef.new(shape: ExcludeResourceTags, location_name: "ExcludeResourceTags"))
117
123
  GetRuleResponse.struct_class = Types::GetRuleResponse
118
124
 
119
125
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
@@ -124,6 +130,7 @@ module Aws::RecycleBin
124
130
  ListRulesRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "ResourceType"))
125
131
  ListRulesRequest.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTags, location_name: "ResourceTags"))
126
132
  ListRulesRequest.add_member(:lock_state, Shapes::ShapeRef.new(shape: LockState, location_name: "LockState"))
133
+ ListRulesRequest.add_member(:exclude_resource_tags, Shapes::ShapeRef.new(shape: ExcludeResourceTags, location_name: "ExcludeResourceTags"))
127
134
  ListRulesRequest.struct_class = Types::ListRulesRequest
128
135
 
129
136
  ListRulesResponse.add_member(:rules, Shapes::ShapeRef.new(shape: RuleSummaryList, location_name: "Rules"))
@@ -152,6 +159,7 @@ module Aws::RecycleBin
152
159
  LockRuleResponse.add_member(:lock_configuration, Shapes::ShapeRef.new(shape: LockConfiguration, location_name: "LockConfiguration"))
153
160
  LockRuleResponse.add_member(:lock_state, Shapes::ShapeRef.new(shape: LockState, location_name: "LockState"))
154
161
  LockRuleResponse.add_member(:rule_arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "RuleArn"))
162
+ LockRuleResponse.add_member(:exclude_resource_tags, Shapes::ShapeRef.new(shape: ExcludeResourceTags, location_name: "ExcludeResourceTags"))
155
163
  LockRuleResponse.struct_class = Types::LockRuleResponse
156
164
 
157
165
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
@@ -212,6 +220,7 @@ module Aws::RecycleBin
212
220
  UnlockRuleResponse.add_member(:lock_state, Shapes::ShapeRef.new(shape: LockState, location_name: "LockState"))
213
221
  UnlockRuleResponse.add_member(:lock_end_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "LockEndTime"))
214
222
  UnlockRuleResponse.add_member(:rule_arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "RuleArn"))
223
+ UnlockRuleResponse.add_member(:exclude_resource_tags, Shapes::ShapeRef.new(shape: ExcludeResourceTags, location_name: "ExcludeResourceTags"))
215
224
  UnlockRuleResponse.struct_class = Types::UnlockRuleResponse
216
225
 
217
226
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: RuleArn, required: true, location: "uri", location_name: "resourceArn"))
@@ -225,6 +234,7 @@ module Aws::RecycleBin
225
234
  UpdateRuleRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
226
235
  UpdateRuleRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
227
236
  UpdateRuleRequest.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTags, location_name: "ResourceTags"))
237
+ UpdateRuleRequest.add_member(:exclude_resource_tags, Shapes::ShapeRef.new(shape: ExcludeResourceTags, location_name: "ExcludeResourceTags"))
228
238
  UpdateRuleRequest.struct_class = Types::UpdateRuleRequest
229
239
 
230
240
  UpdateRuleResponse.add_member(:identifier, Shapes::ShapeRef.new(shape: RuleIdentifier, location_name: "Identifier"))
@@ -236,6 +246,7 @@ module Aws::RecycleBin
236
246
  UpdateRuleResponse.add_member(:lock_state, Shapes::ShapeRef.new(shape: LockState, location_name: "LockState"))
237
247
  UpdateRuleResponse.add_member(:lock_end_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "LockEndTime"))
238
248
  UpdateRuleResponse.add_member(:rule_arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "RuleArn"))
249
+ UpdateRuleResponse.add_member(:exclude_resource_tags, Shapes::ShapeRef.new(shape: ExcludeResourceTags, location_name: "ExcludeResourceTags"))
239
250
  UpdateRuleResponse.struct_class = Types::UpdateRuleResponse
240
251
 
241
252
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
@@ -49,13 +49,14 @@ module Aws::RecycleBin
49
49
  # @return [String]
50
50
  #
51
51
  # @!attribute [rw] resource_tags
52
- # Specifies the resource tags to use to identify resources that are to
53
- # be retained by a tag-level retention rule. For tag-level retention
54
- # rules, only deleted resources, of the specified resource type, that
55
- # have one or more of the specified tag key and value pairs are
56
- # retained. If a resource is deleted, but it does not have any of the
57
- # specified tag key and value pairs, it is immediately deleted without
58
- # being retained by the retention rule.
52
+ # \[Tag-level retention rules only\] Specifies the resource tags to
53
+ # use to identify resources that are to be retained by a tag-level
54
+ # retention rule. For tag-level retention rules, only deleted
55
+ # resources, of the specified resource type, that have one or more of
56
+ # the specified tag key and value pairs are retained. If a resource is
57
+ # deleted, but it does not have any of the specified tag key and value
58
+ # pairs, it is immediately deleted without being retained by the
59
+ # retention rule.
59
60
  #
60
61
  # You can add the same tag key and value pair to a maximum or five
61
62
  # retention rules.
@@ -71,6 +72,15 @@ module Aws::RecycleBin
71
72
  # Information about the retention rule lock configuration.
72
73
  # @return [Types::LockConfiguration]
73
74
  #
75
+ # @!attribute [rw] exclude_resource_tags
76
+ # \[Region-level retention rules only\] Specifies the exclusion tags
77
+ # to use to identify resources that are to be excluded, or ignored, by
78
+ # a Region-level retention rule. Resources that have any of these tags
79
+ # are not retained by the retention rule upon deletion.
80
+ #
81
+ # You can't specify exclusion tags for tag-level retention rules.
82
+ # @return [Array<Types::ResourceTag>]
83
+ #
74
84
  # @see http://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/CreateRuleRequest AWS API Documentation
75
85
  #
76
86
  class CreateRuleRequest < Struct.new(
@@ -79,7 +89,8 @@ module Aws::RecycleBin
79
89
  :tags,
80
90
  :resource_type,
81
91
  :resource_tags,
82
- :lock_configuration)
92
+ :lock_configuration,
93
+ :exclude_resource_tags)
83
94
  SENSITIVE = []
84
95
  include Aws::Structure
85
96
  end
@@ -106,8 +117,9 @@ module Aws::RecycleBin
106
117
  # @return [String]
107
118
  #
108
119
  # @!attribute [rw] resource_tags
109
- # Information about the resource tags used to identify resources that
110
- # are retained by the retention rule.
120
+ # \[Tag-level retention rules only\] Information about the resource
121
+ # tags used to identify resources that are retained by the retention
122
+ # rule.
111
123
  # @return [Array<Types::ResourceTag>]
112
124
  #
113
125
  # @!attribute [rw] status
@@ -120,7 +132,8 @@ module Aws::RecycleBin
120
132
  # @return [Types::LockConfiguration]
121
133
  #
122
134
  # @!attribute [rw] lock_state
123
- # The lock state for the retention rule.
135
+ # \[Region-level retention rules only\] The lock state for the
136
+ # retention rule.
124
137
  #
125
138
  # * `locked` - The retention rule is locked and can't be modified or
126
139
  # deleted.
@@ -143,6 +156,12 @@ module Aws::RecycleBin
143
156
  # The Amazon Resource Name (ARN) of the retention rule.
144
157
  # @return [String]
145
158
  #
159
+ # @!attribute [rw] exclude_resource_tags
160
+ # \[Region-level retention rules only\] Information about the
161
+ # exclusion tags used to identify resources that are to be excluded,
162
+ # or ignored, by the retention rule.
163
+ # @return [Array<Types::ResourceTag>]
164
+ #
146
165
  # @see http://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/CreateRuleResponse AWS API Documentation
147
166
  #
148
167
  class CreateRuleResponse < Struct.new(
@@ -155,7 +174,8 @@ module Aws::RecycleBin
155
174
  :status,
156
175
  :lock_configuration,
157
176
  :lock_state,
158
- :rule_arn)
177
+ :rule_arn,
178
+ :exclude_resource_tags)
159
179
  SENSITIVE = []
160
180
  include Aws::Structure
161
181
  end
@@ -206,8 +226,9 @@ module Aws::RecycleBin
206
226
  # @return [Types::RetentionPeriod]
207
227
  #
208
228
  # @!attribute [rw] resource_tags
209
- # Information about the resource tags used to identify resources that
210
- # are retained by the retention rule.
229
+ # \[Tag-level retention rules only\] Information about the resource
230
+ # tags used to identify resources that are retained by the retention
231
+ # rule.
211
232
  # @return [Array<Types::ResourceTag>]
212
233
  #
213
234
  # @!attribute [rw] status
@@ -220,7 +241,8 @@ module Aws::RecycleBin
220
241
  # @return [Types::LockConfiguration]
221
242
  #
222
243
  # @!attribute [rw] lock_state
223
- # The lock state for the retention rule.
244
+ # \[Region-level retention rules only\] The lock state for the
245
+ # retention rule.
224
246
  #
225
247
  # * `locked` - The retention rule is locked and can't be modified or
226
248
  # deleted.
@@ -249,6 +271,12 @@ module Aws::RecycleBin
249
271
  # The Amazon Resource Name (ARN) of the retention rule.
250
272
  # @return [String]
251
273
  #
274
+ # @!attribute [rw] exclude_resource_tags
275
+ # \[Region-level retention rules only\] Information about the
276
+ # exclusion tags used to identify resources that are to be excluded,
277
+ # or ignored, by the retention rule.
278
+ # @return [Array<Types::ResourceTag>]
279
+ #
252
280
  # @see http://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/GetRuleResponse AWS API Documentation
253
281
  #
254
282
  class GetRuleResponse < Struct.new(
@@ -261,7 +289,8 @@ module Aws::RecycleBin
261
289
  :lock_configuration,
262
290
  :lock_state,
263
291
  :lock_end_time,
264
- :rule_arn)
292
+ :rule_arn,
293
+ :exclude_resource_tags)
265
294
  SENSITIVE = []
266
295
  include Aws::Structure
267
296
  end
@@ -300,8 +329,9 @@ module Aws::RecycleBin
300
329
  # @return [String]
301
330
  #
302
331
  # @!attribute [rw] resource_tags
303
- # Information about the resource tags used to identify resources that
304
- # are retained by the retention rule.
332
+ # \[Tag-level retention rules only\] Information about the resource
333
+ # tags used to identify resources that are retained by the retention
334
+ # rule.
305
335
  # @return [Array<Types::ResourceTag>]
306
336
  #
307
337
  # @!attribute [rw] lock_state
@@ -309,6 +339,12 @@ module Aws::RecycleBin
309
339
  # with the specified lock state are returned.
310
340
  # @return [String]
311
341
  #
342
+ # @!attribute [rw] exclude_resource_tags
343
+ # \[Region-level retention rules only\] Information about the
344
+ # exclusion tags used to identify resources that are to be excluded,
345
+ # or ignored, by the retention rule.
346
+ # @return [Array<Types::ResourceTag>]
347
+ #
312
348
  # @see http://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/ListRulesRequest AWS API Documentation
313
349
  #
314
350
  class ListRulesRequest < Struct.new(
@@ -316,7 +352,8 @@ module Aws::RecycleBin
316
352
  :next_token,
317
353
  :resource_type,
318
354
  :resource_tags,
319
- :lock_state)
355
+ :lock_state,
356
+ :exclude_resource_tags)
320
357
  SENSITIVE = []
321
358
  include Aws::Structure
322
359
  end
@@ -412,8 +449,9 @@ module Aws::RecycleBin
412
449
  # @return [Types::RetentionPeriod]
413
450
  #
414
451
  # @!attribute [rw] resource_tags
415
- # Information about the resource tags used to identify resources that
416
- # are retained by the retention rule.
452
+ # \[Tag-level retention rules only\] Information about the resource
453
+ # tags used to identify resources that are retained by the retention
454
+ # rule.
417
455
  # @return [Array<Types::ResourceTag>]
418
456
  #
419
457
  # @!attribute [rw] status
@@ -426,7 +464,8 @@ module Aws::RecycleBin
426
464
  # @return [Types::LockConfiguration]
427
465
  #
428
466
  # @!attribute [rw] lock_state
429
- # The lock state for the retention rule.
467
+ # \[Region-level retention rules only\] The lock state for the
468
+ # retention rule.
430
469
  #
431
470
  # * `locked` - The retention rule is locked and can't be modified or
432
471
  # deleted.
@@ -449,6 +488,12 @@ module Aws::RecycleBin
449
488
  # The Amazon Resource Name (ARN) of the retention rule.
450
489
  # @return [String]
451
490
  #
491
+ # @!attribute [rw] exclude_resource_tags
492
+ # \[Region-level retention rules only\] Information about the
493
+ # exclusion tags used to identify resources that are to be excluded,
494
+ # or ignored, by the retention rule.
495
+ # @return [Array<Types::ResourceTag>]
496
+ #
452
497
  # @see http://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/LockRuleResponse AWS API Documentation
453
498
  #
454
499
  class LockRuleResponse < Struct.new(
@@ -460,7 +505,8 @@ module Aws::RecycleBin
460
505
  :status,
461
506
  :lock_configuration,
462
507
  :lock_state,
463
- :rule_arn)
508
+ :rule_arn,
509
+ :exclude_resource_tags)
464
510
  SENSITIVE = []
465
511
  include Aws::Structure
466
512
  end
@@ -483,8 +529,8 @@ module Aws::RecycleBin
483
529
  include Aws::Structure
484
530
  end
485
531
 
486
- # Information about the resource tags used to identify resources that
487
- # are retained by the retention rule.
532
+ # \[Tag-level retention rules only\] Information about the resource tags
533
+ # used to identify resources that are retained by the retention rule.
488
534
  #
489
535
  # @!attribute [rw] resource_tag_key
490
536
  # The tag key.
@@ -542,7 +588,8 @@ module Aws::RecycleBin
542
588
  # @return [Types::RetentionPeriod]
543
589
  #
544
590
  # @!attribute [rw] lock_state
545
- # The lock state for the retention rule.
591
+ # \[Region-level retention rules only\] The lock state for the
592
+ # retention rule.
546
593
  #
547
594
  # * `locked` - The retention rule is locked and can't be modified or
548
595
  # deleted.
@@ -691,8 +738,9 @@ module Aws::RecycleBin
691
738
  # @return [Types::RetentionPeriod]
692
739
  #
693
740
  # @!attribute [rw] resource_tags
694
- # Information about the resource tags used to identify resources that
695
- # are retained by the retention rule.
741
+ # \[Tag-level retention rules only\] Information about the resource
742
+ # tags used to identify resources that are retained by the retention
743
+ # rule.
696
744
  # @return [Array<Types::ResourceTag>]
697
745
  #
698
746
  # @!attribute [rw] status
@@ -705,7 +753,8 @@ module Aws::RecycleBin
705
753
  # @return [Types::LockConfiguration]
706
754
  #
707
755
  # @!attribute [rw] lock_state
708
- # The lock state for the retention rule.
756
+ # \[Region-level retention rules only\] The lock state for the
757
+ # retention rule.
709
758
  #
710
759
  # * `locked` - The retention rule is locked and can't be modified or
711
760
  # deleted.
@@ -734,6 +783,12 @@ module Aws::RecycleBin
734
783
  # The Amazon Resource Name (ARN) of the retention rule.
735
784
  # @return [String]
736
785
  #
786
+ # @!attribute [rw] exclude_resource_tags
787
+ # \[Region-level retention rules only\] Information about the
788
+ # exclusion tags used to identify resources that are to be excluded,
789
+ # or ignored, by the retention rule.
790
+ # @return [Array<Types::ResourceTag>]
791
+ #
737
792
  # @see http://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/UnlockRuleResponse AWS API Documentation
738
793
  #
739
794
  class UnlockRuleResponse < Struct.new(
@@ -746,7 +801,8 @@ module Aws::RecycleBin
746
801
  :lock_configuration,
747
802
  :lock_state,
748
803
  :lock_end_time,
749
- :rule_arn)
804
+ :rule_arn,
805
+ :exclude_resource_tags)
750
806
  SENSITIVE = []
751
807
  include Aws::Structure
752
808
  end
@@ -794,13 +850,14 @@ module Aws::RecycleBin
794
850
  # @return [String]
795
851
  #
796
852
  # @!attribute [rw] resource_tags
797
- # Specifies the resource tags to use to identify resources that are to
798
- # be retained by a tag-level retention rule. For tag-level retention
799
- # rules, only deleted resources, of the specified resource type, that
800
- # have one or more of the specified tag key and value pairs are
801
- # retained. If a resource is deleted, but it does not have any of the
802
- # specified tag key and value pairs, it is immediately deleted without
803
- # being retained by the retention rule.
853
+ # \[Tag-level retention rules only\] Specifies the resource tags to
854
+ # use to identify resources that are to be retained by a tag-level
855
+ # retention rule. For tag-level retention rules, only deleted
856
+ # resources, of the specified resource type, that have one or more of
857
+ # the specified tag key and value pairs are retained. If a resource is
858
+ # deleted, but it does not have any of the specified tag key and value
859
+ # pairs, it is immediately deleted without being retained by the
860
+ # retention rule.
804
861
  #
805
862
  # You can add the same tag key and value pair to a maximum or five
806
863
  # retention rules.
@@ -812,6 +869,15 @@ module Aws::RecycleBin
812
869
  # the resources are not tagged.
813
870
  # @return [Array<Types::ResourceTag>]
814
871
  #
872
+ # @!attribute [rw] exclude_resource_tags
873
+ # \[Region-level retention rules only\] Specifies the exclusion tags
874
+ # to use to identify resources that are to be excluded, or ignored, by
875
+ # a Region-level retention rule. Resources that have any of these tags
876
+ # are not retained by the retention rule upon deletion.
877
+ #
878
+ # You can't specify exclusion tags for tag-level retention rules.
879
+ # @return [Array<Types::ResourceTag>]
880
+ #
815
881
  # @see http://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/UpdateRuleRequest AWS API Documentation
816
882
  #
817
883
  class UpdateRuleRequest < Struct.new(
@@ -819,7 +885,8 @@ module Aws::RecycleBin
819
885
  :retention_period,
820
886
  :description,
821
887
  :resource_type,
822
- :resource_tags)
888
+ :resource_tags,
889
+ :exclude_resource_tags)
823
890
  SENSITIVE = []
824
891
  include Aws::Structure
825
892
  end
@@ -842,8 +909,9 @@ module Aws::RecycleBin
842
909
  # @return [String]
843
910
  #
844
911
  # @!attribute [rw] resource_tags
845
- # Information about the resource tags used to identify resources that
846
- # are retained by the retention rule.
912
+ # \[Tag-level retention rules only\] Information about the resource
913
+ # tags used to identify resources that are retained by the retention
914
+ # rule.
847
915
  # @return [Array<Types::ResourceTag>]
848
916
  #
849
917
  # @!attribute [rw] status
@@ -852,7 +920,8 @@ module Aws::RecycleBin
852
920
  # @return [String]
853
921
  #
854
922
  # @!attribute [rw] lock_state
855
- # The lock state for the retention rule.
923
+ # \[Region-level retention rules only\] The lock state for the
924
+ # retention rule.
856
925
  #
857
926
  # * `locked` - The retention rule is locked and can't be modified or
858
927
  # deleted.
@@ -881,6 +950,12 @@ module Aws::RecycleBin
881
950
  # The Amazon Resource Name (ARN) of the retention rule.
882
951
  # @return [String]
883
952
  #
953
+ # @!attribute [rw] exclude_resource_tags
954
+ # \[Region-level retention rules only\] Information about the
955
+ # exclusion tags used to identify resources that are to be excluded,
956
+ # or ignored, by the retention rule.
957
+ # @return [Array<Types::ResourceTag>]
958
+ #
884
959
  # @see http://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/UpdateRuleResponse AWS API Documentation
885
960
  #
886
961
  class UpdateRuleResponse < Struct.new(
@@ -892,7 +967,8 @@ module Aws::RecycleBin
892
967
  :status,
893
968
  :lock_state,
894
969
  :lock_end_time,
895
- :rule_arn)
970
+ :rule_arn,
971
+ :exclude_resource_tags)
896
972
  SENSITIVE = []
897
973
  include Aws::Structure
898
974
  end
@@ -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.33.0'
57
+ GEM_VERSION = '1.35.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
@@ -87,6 +89,7 @@ module Aws
87
89
  def lock_configuration: () -> Types::LockConfiguration
88
90
  def lock_state: () -> ("locked" | "pending_unlock" | "unlocked")
89
91
  def rule_arn: () -> ::String
92
+ def exclude_resource_tags: () -> ::Array[Types::ResourceTag]
90
93
  end
91
94
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RecycleBin/Client.html#create_rule-instance_method
92
95
  def create_rule: (
@@ -113,7 +116,13 @@ module Aws
113
116
  unlock_delay_value: ::Integer,
114
117
  unlock_delay_unit: ("DAYS")
115
118
  }
116
- }
119
+ },
120
+ ?exclude_resource_tags: Array[
121
+ {
122
+ resource_tag_key: ::String,
123
+ resource_tag_value: ::String?
124
+ },
125
+ ]
117
126
  ) -> _CreateRuleResponseSuccess
118
127
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRuleResponseSuccess
119
128
 
@@ -138,6 +147,7 @@ module Aws
138
147
  def lock_state: () -> ("locked" | "pending_unlock" | "unlocked")
139
148
  def lock_end_time: () -> ::Time
140
149
  def rule_arn: () -> ::String
150
+ def exclude_resource_tags: () -> ::Array[Types::ResourceTag]
141
151
  end
142
152
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RecycleBin/Client.html#get_rule-instance_method
143
153
  def get_rule: (
@@ -161,7 +171,13 @@ module Aws
161
171
  resource_tag_value: ::String?
162
172
  },
163
173
  ],
164
- ?lock_state: ("locked" | "pending_unlock" | "unlocked")
174
+ ?lock_state: ("locked" | "pending_unlock" | "unlocked"),
175
+ ?exclude_resource_tags: Array[
176
+ {
177
+ resource_tag_key: ::String,
178
+ resource_tag_value: ::String?
179
+ },
180
+ ]
165
181
  ) -> _ListRulesResponseSuccess
166
182
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRulesResponseSuccess
167
183
 
@@ -186,6 +202,7 @@ module Aws
186
202
  def lock_configuration: () -> Types::LockConfiguration
187
203
  def lock_state: () -> ("locked" | "pending_unlock" | "unlocked")
188
204
  def rule_arn: () -> ::String
205
+ def exclude_resource_tags: () -> ::Array[Types::ResourceTag]
189
206
  end
190
207
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RecycleBin/Client.html#lock_rule-instance_method
191
208
  def lock_rule: (
@@ -226,6 +243,7 @@ module Aws
226
243
  def lock_state: () -> ("locked" | "pending_unlock" | "unlocked")
227
244
  def lock_end_time: () -> ::Time
228
245
  def rule_arn: () -> ::String
246
+ def exclude_resource_tags: () -> ::Array[Types::ResourceTag]
229
247
  end
230
248
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RecycleBin/Client.html#unlock_rule-instance_method
231
249
  def unlock_rule: (
@@ -254,6 +272,7 @@ module Aws
254
272
  def lock_state: () -> ("locked" | "pending_unlock" | "unlocked")
255
273
  def lock_end_time: () -> ::Time
256
274
  def rule_arn: () -> ::String
275
+ def exclude_resource_tags: () -> ::Array[Types::ResourceTag]
257
276
  end
258
277
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RecycleBin/Client.html#update_rule-instance_method
259
278
  def update_rule: (
@@ -269,6 +288,12 @@ module Aws
269
288
  resource_tag_key: ::String,
270
289
  resource_tag_value: ::String?
271
290
  },
291
+ ],
292
+ ?exclude_resource_tags: Array[
293
+ {
294
+ resource_tag_key: ::String,
295
+ resource_tag_value: ::String?
296
+ },
272
297
  ]
273
298
  ) -> _UpdateRuleResponseSuccess
274
299
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRuleResponseSuccess
data/sig/resource.rbs CHANGED
@@ -39,7 +39,9 @@ module Aws
39
39
  ?logger: untyped,
40
40
  ?max_attempts: Integer,
41
41
  ?profile: String,
42
+ ?request_checksum_calculation: String,
42
43
  ?request_min_compression_size_bytes: Integer,
44
+ ?response_checksum_validation: String,
43
45
  ?retry_backoff: Proc,
44
46
  ?retry_base_delay: Float,
45
47
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
data/sig/types.rbs CHANGED
@@ -21,6 +21,7 @@ module Aws::RecycleBin
21
21
  attr_accessor resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE")
22
22
  attr_accessor resource_tags: ::Array[Types::ResourceTag]
23
23
  attr_accessor lock_configuration: Types::LockConfiguration
24
+ attr_accessor exclude_resource_tags: ::Array[Types::ResourceTag]
24
25
  SENSITIVE: []
25
26
  end
26
27
 
@@ -35,6 +36,7 @@ module Aws::RecycleBin
35
36
  attr_accessor lock_configuration: Types::LockConfiguration
36
37
  attr_accessor lock_state: ("locked" | "pending_unlock" | "unlocked")
37
38
  attr_accessor rule_arn: ::String
39
+ attr_accessor exclude_resource_tags: ::Array[Types::ResourceTag]
38
40
  SENSITIVE: []
39
41
  end
40
42
 
@@ -62,6 +64,7 @@ module Aws::RecycleBin
62
64
  attr_accessor lock_state: ("locked" | "pending_unlock" | "unlocked")
63
65
  attr_accessor lock_end_time: ::Time
64
66
  attr_accessor rule_arn: ::String
67
+ attr_accessor exclude_resource_tags: ::Array[Types::ResourceTag]
65
68
  SENSITIVE: []
66
69
  end
67
70
 
@@ -76,6 +79,7 @@ module Aws::RecycleBin
76
79
  attr_accessor resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE")
77
80
  attr_accessor resource_tags: ::Array[Types::ResourceTag]
78
81
  attr_accessor lock_state: ("locked" | "pending_unlock" | "unlocked")
82
+ attr_accessor exclude_resource_tags: ::Array[Types::ResourceTag]
79
83
  SENSITIVE: []
80
84
  end
81
85
 
@@ -116,6 +120,7 @@ module Aws::RecycleBin
116
120
  attr_accessor lock_configuration: Types::LockConfiguration
117
121
  attr_accessor lock_state: ("locked" | "pending_unlock" | "unlocked")
118
122
  attr_accessor rule_arn: ::String
123
+ attr_accessor exclude_resource_tags: ::Array[Types::ResourceTag]
119
124
  SENSITIVE: []
120
125
  end
121
126
 
@@ -189,6 +194,7 @@ module Aws::RecycleBin
189
194
  attr_accessor lock_state: ("locked" | "pending_unlock" | "unlocked")
190
195
  attr_accessor lock_end_time: ::Time
191
196
  attr_accessor rule_arn: ::String
197
+ attr_accessor exclude_resource_tags: ::Array[Types::ResourceTag]
192
198
  SENSITIVE: []
193
199
  end
194
200
 
@@ -207,6 +213,7 @@ module Aws::RecycleBin
207
213
  attr_accessor description: ::String
208
214
  attr_accessor resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE")
209
215
  attr_accessor resource_tags: ::Array[Types::ResourceTag]
216
+ attr_accessor exclude_resource_tags: ::Array[Types::ResourceTag]
210
217
  SENSITIVE: []
211
218
  end
212
219
 
@@ -220,6 +227,7 @@ module Aws::RecycleBin
220
227
  attr_accessor lock_state: ("locked" | "pending_unlock" | "unlocked")
221
228
  attr_accessor lock_end_time: ::Time
222
229
  attr_accessor rule_arn: ::String
230
+ attr_accessor exclude_resource_tags: ::Array[Types::ResourceTag]
223
231
  SENSITIVE: []
224
232
  end
225
233
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-recyclebin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.33.0
4
+ version: 1.35.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: 2024-10-18 00:00:00.000000000 Z
11
+ date: 2025-01-15 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.210.0
22
+ version: 3.216.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.210.0
32
+ version: 3.216.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement