aws-sdk-recyclebin 1.17.0 → 1.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-recyclebin/client.rb +12 -1
- data/lib/aws-sdk-recyclebin/client_api.rb +7 -0
- data/lib/aws-sdk-recyclebin/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-recyclebin/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-recyclebin/types.rb +36 -6
- data/lib/aws-sdk-recyclebin.rb +1 -1
- data/sig/client.rbs +275 -0
- data/sig/errors.rbs +35 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +232 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd93df287ff7c990f524172d8c07cd9887b59c31be40ea11039f4f8c3a525f41
|
4
|
+
data.tar.gz: 1264b40fb114fb01548192b3f535cb5623e81d8b71a89d04fb210b907b5f5904
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2c99541cfac0c30cc6ea369272ed43febae96a7169d3880f75a4a19ef68cfe7ba2906cf1165f80194a127cc6019ca37609b17cc2bfc8efdec8ecc10e6c8cc3f
|
7
|
+
data.tar.gz: ba88d1bc7135632cb95bef937f55cdf9c973fd615dc143c4e6c24e719ad2725b5f7601588a59516511b6ea71cd18d2fe84dc2aef76c91aeeaac7e418b76cbeca
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.19.0 (2024-01-26)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.18.0 (2023-12-01)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Added resource identifier in the output and updated error handling.
|
13
|
+
|
4
14
|
1.17.0 (2023-11-28)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.19.0
|
@@ -444,6 +444,7 @@ module Aws::RecycleBin
|
|
444
444
|
# * {Types::CreateRuleResponse#status #status} => String
|
445
445
|
# * {Types::CreateRuleResponse#lock_configuration #lock_configuration} => Types::LockConfiguration
|
446
446
|
# * {Types::CreateRuleResponse#lock_state #lock_state} => String
|
447
|
+
# * {Types::CreateRuleResponse#rule_arn #rule_arn} => String
|
447
448
|
#
|
448
449
|
# @example Request syntax with placeholder values
|
449
450
|
#
|
@@ -491,6 +492,7 @@ module Aws::RecycleBin
|
|
491
492
|
# resp.lock_configuration.unlock_delay.unlock_delay_value #=> Integer
|
492
493
|
# resp.lock_configuration.unlock_delay.unlock_delay_unit #=> String, one of "DAYS"
|
493
494
|
# resp.lock_state #=> String, one of "locked", "pending_unlock", "unlocked"
|
495
|
+
# resp.rule_arn #=> String
|
494
496
|
#
|
495
497
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/CreateRule AWS API Documentation
|
496
498
|
#
|
@@ -545,6 +547,7 @@ module Aws::RecycleBin
|
|
545
547
|
# * {Types::GetRuleResponse#lock_configuration #lock_configuration} => Types::LockConfiguration
|
546
548
|
# * {Types::GetRuleResponse#lock_state #lock_state} => String
|
547
549
|
# * {Types::GetRuleResponse#lock_end_time #lock_end_time} => Time
|
550
|
+
# * {Types::GetRuleResponse#rule_arn #rule_arn} => String
|
548
551
|
#
|
549
552
|
# @example Request syntax with placeholder values
|
550
553
|
#
|
@@ -567,6 +570,7 @@ module Aws::RecycleBin
|
|
567
570
|
# resp.lock_configuration.unlock_delay.unlock_delay_unit #=> String, one of "DAYS"
|
568
571
|
# resp.lock_state #=> String, one of "locked", "pending_unlock", "unlocked"
|
569
572
|
# resp.lock_end_time #=> Time
|
573
|
+
# resp.rule_arn #=> String
|
570
574
|
#
|
571
575
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/GetRule AWS API Documentation
|
572
576
|
#
|
@@ -632,6 +636,7 @@ module Aws::RecycleBin
|
|
632
636
|
# resp.rules[0].retention_period.retention_period_value #=> Integer
|
633
637
|
# resp.rules[0].retention_period.retention_period_unit #=> String, one of "DAYS"
|
634
638
|
# resp.rules[0].lock_state #=> String, one of "locked", "pending_unlock", "unlocked"
|
639
|
+
# resp.rules[0].rule_arn #=> String
|
635
640
|
# resp.next_token #=> String
|
636
641
|
#
|
637
642
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/ListRules AWS API Documentation
|
@@ -692,6 +697,7 @@ module Aws::RecycleBin
|
|
692
697
|
# * {Types::LockRuleResponse#status #status} => String
|
693
698
|
# * {Types::LockRuleResponse#lock_configuration #lock_configuration} => Types::LockConfiguration
|
694
699
|
# * {Types::LockRuleResponse#lock_state #lock_state} => String
|
700
|
+
# * {Types::LockRuleResponse#rule_arn #rule_arn} => String
|
695
701
|
#
|
696
702
|
# @example Request syntax with placeholder values
|
697
703
|
#
|
@@ -719,6 +725,7 @@ module Aws::RecycleBin
|
|
719
725
|
# resp.lock_configuration.unlock_delay.unlock_delay_value #=> Integer
|
720
726
|
# resp.lock_configuration.unlock_delay.unlock_delay_unit #=> String, one of "DAYS"
|
721
727
|
# resp.lock_state #=> String, one of "locked", "pending_unlock", "unlocked"
|
728
|
+
# resp.rule_arn #=> String
|
722
729
|
#
|
723
730
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/LockRule AWS API Documentation
|
724
731
|
#
|
@@ -777,6 +784,7 @@ module Aws::RecycleBin
|
|
777
784
|
# * {Types::UnlockRuleResponse#lock_configuration #lock_configuration} => Types::LockConfiguration
|
778
785
|
# * {Types::UnlockRuleResponse#lock_state #lock_state} => String
|
779
786
|
# * {Types::UnlockRuleResponse#lock_end_time #lock_end_time} => Time
|
787
|
+
# * {Types::UnlockRuleResponse#rule_arn #rule_arn} => String
|
780
788
|
#
|
781
789
|
# @example Request syntax with placeholder values
|
782
790
|
#
|
@@ -799,6 +807,7 @@ module Aws::RecycleBin
|
|
799
807
|
# resp.lock_configuration.unlock_delay.unlock_delay_unit #=> String, one of "DAYS"
|
800
808
|
# resp.lock_state #=> String, one of "locked", "pending_unlock", "unlocked"
|
801
809
|
# resp.lock_end_time #=> Time
|
810
|
+
# resp.rule_arn #=> String
|
802
811
|
#
|
803
812
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/UnlockRule AWS API Documentation
|
804
813
|
#
|
@@ -891,6 +900,7 @@ module Aws::RecycleBin
|
|
891
900
|
# * {Types::UpdateRuleResponse#status #status} => String
|
892
901
|
# * {Types::UpdateRuleResponse#lock_state #lock_state} => String
|
893
902
|
# * {Types::UpdateRuleResponse#lock_end_time #lock_end_time} => Time
|
903
|
+
# * {Types::UpdateRuleResponse#rule_arn #rule_arn} => String
|
894
904
|
#
|
895
905
|
# @example Request syntax with placeholder values
|
896
906
|
#
|
@@ -923,6 +933,7 @@ module Aws::RecycleBin
|
|
923
933
|
# resp.status #=> String, one of "pending", "available"
|
924
934
|
# resp.lock_state #=> String, one of "locked", "pending_unlock", "unlocked"
|
925
935
|
# resp.lock_end_time #=> Time
|
936
|
+
# resp.rule_arn #=> String
|
926
937
|
#
|
927
938
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/UpdateRule AWS API Documentation
|
928
939
|
#
|
@@ -946,7 +957,7 @@ module Aws::RecycleBin
|
|
946
957
|
params: params,
|
947
958
|
config: config)
|
948
959
|
context[:gem_name] = 'aws-sdk-recyclebin'
|
949
|
-
context[:gem_version] = '1.
|
960
|
+
context[:gem_version] = '1.19.0'
|
950
961
|
Seahorse::Client::Request.new(handlers, context)
|
951
962
|
end
|
952
963
|
|
@@ -92,6 +92,7 @@ module Aws::RecycleBin
|
|
92
92
|
CreateRuleResponse.add_member(:status, Shapes::ShapeRef.new(shape: RuleStatus, location_name: "Status"))
|
93
93
|
CreateRuleResponse.add_member(:lock_configuration, Shapes::ShapeRef.new(shape: LockConfiguration, location_name: "LockConfiguration"))
|
94
94
|
CreateRuleResponse.add_member(:lock_state, Shapes::ShapeRef.new(shape: LockState, location_name: "LockState"))
|
95
|
+
CreateRuleResponse.add_member(:rule_arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "RuleArn"))
|
95
96
|
CreateRuleResponse.struct_class = Types::CreateRuleResponse
|
96
97
|
|
97
98
|
DeleteRuleRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: RuleIdentifier, required: true, location: "uri", location_name: "identifier"))
|
@@ -111,6 +112,7 @@ module Aws::RecycleBin
|
|
111
112
|
GetRuleResponse.add_member(:lock_configuration, Shapes::ShapeRef.new(shape: LockConfiguration, location_name: "LockConfiguration"))
|
112
113
|
GetRuleResponse.add_member(:lock_state, Shapes::ShapeRef.new(shape: LockState, location_name: "LockState"))
|
113
114
|
GetRuleResponse.add_member(:lock_end_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "LockEndTime"))
|
115
|
+
GetRuleResponse.add_member(:rule_arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "RuleArn"))
|
114
116
|
GetRuleResponse.struct_class = Types::GetRuleResponse
|
115
117
|
|
116
118
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
@@ -148,6 +150,7 @@ module Aws::RecycleBin
|
|
148
150
|
LockRuleResponse.add_member(:status, Shapes::ShapeRef.new(shape: RuleStatus, location_name: "Status"))
|
149
151
|
LockRuleResponse.add_member(:lock_configuration, Shapes::ShapeRef.new(shape: LockConfiguration, location_name: "LockConfiguration"))
|
150
152
|
LockRuleResponse.add_member(:lock_state, Shapes::ShapeRef.new(shape: LockState, location_name: "LockState"))
|
153
|
+
LockRuleResponse.add_member(:rule_arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "RuleArn"))
|
151
154
|
LockRuleResponse.struct_class = Types::LockRuleResponse
|
152
155
|
|
153
156
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
@@ -168,6 +171,7 @@ module Aws::RecycleBin
|
|
168
171
|
RuleSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
169
172
|
RuleSummary.add_member(:retention_period, Shapes::ShapeRef.new(shape: RetentionPeriod, location_name: "RetentionPeriod"))
|
170
173
|
RuleSummary.add_member(:lock_state, Shapes::ShapeRef.new(shape: LockState, location_name: "LockState"))
|
174
|
+
RuleSummary.add_member(:rule_arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "RuleArn"))
|
171
175
|
RuleSummary.struct_class = Types::RuleSummary
|
172
176
|
|
173
177
|
RuleSummaryList.member = Shapes::ShapeRef.new(shape: RuleSummary)
|
@@ -206,6 +210,7 @@ module Aws::RecycleBin
|
|
206
210
|
UnlockRuleResponse.add_member(:lock_configuration, Shapes::ShapeRef.new(shape: LockConfiguration, location_name: "LockConfiguration"))
|
207
211
|
UnlockRuleResponse.add_member(:lock_state, Shapes::ShapeRef.new(shape: LockState, location_name: "LockState"))
|
208
212
|
UnlockRuleResponse.add_member(:lock_end_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "LockEndTime"))
|
213
|
+
UnlockRuleResponse.add_member(:rule_arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "RuleArn"))
|
209
214
|
UnlockRuleResponse.struct_class = Types::UnlockRuleResponse
|
210
215
|
|
211
216
|
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: RuleArn, required: true, location: "uri", location_name: "resourceArn"))
|
@@ -229,6 +234,7 @@ module Aws::RecycleBin
|
|
229
234
|
UpdateRuleResponse.add_member(:status, Shapes::ShapeRef.new(shape: RuleStatus, location_name: "Status"))
|
230
235
|
UpdateRuleResponse.add_member(:lock_state, Shapes::ShapeRef.new(shape: LockState, location_name: "LockState"))
|
231
236
|
UpdateRuleResponse.add_member(:lock_end_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "LockEndTime"))
|
237
|
+
UpdateRuleResponse.add_member(:rule_arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "RuleArn"))
|
232
238
|
UpdateRuleResponse.struct_class = Types::UpdateRuleResponse
|
233
239
|
|
234
240
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
@@ -371,6 +377,7 @@ module Aws::RecycleBin
|
|
371
377
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
372
378
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
373
379
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
380
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
374
381
|
end)
|
375
382
|
end
|
376
383
|
|
@@ -32,7 +32,7 @@ module Aws::RecycleBin
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
36
|
return Aws::Endpoints::Endpoint.new(url: "https://rbin-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
37
|
end
|
38
38
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
@@ -14,6 +14,7 @@ module Aws::RecycleBin
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::RecycleBin::EndpointProvider',
|
17
|
+
rbs_type: 'untyped',
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
20
|
'where `parameters` is a Struct similar to '\
|
@@ -139,6 +139,10 @@ module Aws::RecycleBin
|
|
139
139
|
# to `null`.
|
140
140
|
# @return [String]
|
141
141
|
#
|
142
|
+
# @!attribute [rw] rule_arn
|
143
|
+
# The Amazon Resource Name (ARN) of the retention rule.
|
144
|
+
# @return [String]
|
145
|
+
#
|
142
146
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/CreateRuleResponse AWS API Documentation
|
143
147
|
#
|
144
148
|
class CreateRuleResponse < Struct.new(
|
@@ -150,7 +154,8 @@ module Aws::RecycleBin
|
|
150
154
|
:resource_tags,
|
151
155
|
:status,
|
152
156
|
:lock_configuration,
|
153
|
-
:lock_state
|
157
|
+
:lock_state,
|
158
|
+
:rule_arn)
|
154
159
|
SENSITIVE = []
|
155
160
|
include Aws::Structure
|
156
161
|
end
|
@@ -240,6 +245,10 @@ module Aws::RecycleBin
|
|
240
245
|
# still within the unlock delay period.
|
241
246
|
# @return [Time]
|
242
247
|
#
|
248
|
+
# @!attribute [rw] rule_arn
|
249
|
+
# The Amazon Resource Name (ARN) of the retention rule.
|
250
|
+
# @return [String]
|
251
|
+
#
|
243
252
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/GetRuleResponse AWS API Documentation
|
244
253
|
#
|
245
254
|
class GetRuleResponse < Struct.new(
|
@@ -251,7 +260,8 @@ module Aws::RecycleBin
|
|
251
260
|
:status,
|
252
261
|
:lock_configuration,
|
253
262
|
:lock_state,
|
254
|
-
:lock_end_time
|
263
|
+
:lock_end_time,
|
264
|
+
:rule_arn)
|
255
265
|
SENSITIVE = []
|
256
266
|
include Aws::Structure
|
257
267
|
end
|
@@ -435,6 +445,10 @@ module Aws::RecycleBin
|
|
435
445
|
# to `null`.
|
436
446
|
# @return [String]
|
437
447
|
#
|
448
|
+
# @!attribute [rw] rule_arn
|
449
|
+
# The Amazon Resource Name (ARN) of the retention rule.
|
450
|
+
# @return [String]
|
451
|
+
#
|
438
452
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/LockRuleResponse AWS API Documentation
|
439
453
|
#
|
440
454
|
class LockRuleResponse < Struct.new(
|
@@ -445,7 +459,8 @@ module Aws::RecycleBin
|
|
445
459
|
:resource_tags,
|
446
460
|
:status,
|
447
461
|
:lock_configuration,
|
448
|
-
:lock_state
|
462
|
+
:lock_state,
|
463
|
+
:rule_arn)
|
449
464
|
SENSITIVE = []
|
450
465
|
include Aws::Structure
|
451
466
|
end
|
@@ -546,13 +561,18 @@ module Aws::RecycleBin
|
|
546
561
|
# to `null`.
|
547
562
|
# @return [String]
|
548
563
|
#
|
564
|
+
# @!attribute [rw] rule_arn
|
565
|
+
# The Amazon Resource Name (ARN) of the retention rule.
|
566
|
+
# @return [String]
|
567
|
+
#
|
549
568
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/RuleSummary AWS API Documentation
|
550
569
|
#
|
551
570
|
class RuleSummary < Struct.new(
|
552
571
|
:identifier,
|
553
572
|
:description,
|
554
573
|
:retention_period,
|
555
|
-
:lock_state
|
574
|
+
:lock_state,
|
575
|
+
:rule_arn)
|
556
576
|
SENSITIVE = []
|
557
577
|
include Aws::Structure
|
558
578
|
end
|
@@ -710,6 +730,10 @@ module Aws::RecycleBin
|
|
710
730
|
# still within the unlock delay period.
|
711
731
|
# @return [Time]
|
712
732
|
#
|
733
|
+
# @!attribute [rw] rule_arn
|
734
|
+
# The Amazon Resource Name (ARN) of the retention rule.
|
735
|
+
# @return [String]
|
736
|
+
#
|
713
737
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/UnlockRuleResponse AWS API Documentation
|
714
738
|
#
|
715
739
|
class UnlockRuleResponse < Struct.new(
|
@@ -721,7 +745,8 @@ module Aws::RecycleBin
|
|
721
745
|
:status,
|
722
746
|
:lock_configuration,
|
723
747
|
:lock_state,
|
724
|
-
:lock_end_time
|
748
|
+
:lock_end_time,
|
749
|
+
:rule_arn)
|
725
750
|
SENSITIVE = []
|
726
751
|
include Aws::Structure
|
727
752
|
end
|
@@ -852,6 +877,10 @@ module Aws::RecycleBin
|
|
852
877
|
# still within the unlock delay period.
|
853
878
|
# @return [Time]
|
854
879
|
#
|
880
|
+
# @!attribute [rw] rule_arn
|
881
|
+
# The Amazon Resource Name (ARN) of the retention rule.
|
882
|
+
# @return [String]
|
883
|
+
#
|
855
884
|
# @see http://docs.aws.amazon.com/goto/WebAPI/rbin-2021-06-15/UpdateRuleResponse AWS API Documentation
|
856
885
|
#
|
857
886
|
class UpdateRuleResponse < Struct.new(
|
@@ -862,7 +891,8 @@ module Aws::RecycleBin
|
|
862
891
|
:resource_tags,
|
863
892
|
:status,
|
864
893
|
:lock_state,
|
865
|
-
:lock_end_time
|
894
|
+
:lock_end_time,
|
895
|
+
:rule_arn)
|
866
896
|
SENSITIVE = []
|
867
897
|
include Aws::Structure
|
868
898
|
end
|
data/lib/aws-sdk-recyclebin.rb
CHANGED
data/sig/client.rbs
ADDED
@@ -0,0 +1,275 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module RecycleBin
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RecycleBin/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> instance
|
72
|
+
| (?Hash[Symbol, untyped]) -> instance
|
73
|
+
|
74
|
+
|
75
|
+
interface _CreateRuleResponseSuccess
|
76
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateRuleResponse]
|
77
|
+
def identifier: () -> ::String
|
78
|
+
def retention_period: () -> Types::RetentionPeriod
|
79
|
+
def description: () -> ::String
|
80
|
+
def tags: () -> ::Array[Types::Tag]
|
81
|
+
def resource_type: () -> ("EBS_SNAPSHOT" | "EC2_IMAGE")
|
82
|
+
def resource_tags: () -> ::Array[Types::ResourceTag]
|
83
|
+
def status: () -> ("pending" | "available")
|
84
|
+
def lock_configuration: () -> Types::LockConfiguration
|
85
|
+
def lock_state: () -> ("locked" | "pending_unlock" | "unlocked")
|
86
|
+
def rule_arn: () -> ::String
|
87
|
+
end
|
88
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RecycleBin/Client.html#create_rule-instance_method
|
89
|
+
def create_rule: (
|
90
|
+
retention_period: {
|
91
|
+
retention_period_value: ::Integer,
|
92
|
+
retention_period_unit: ("DAYS")
|
93
|
+
},
|
94
|
+
?description: ::String,
|
95
|
+
?tags: Array[
|
96
|
+
{
|
97
|
+
key: ::String,
|
98
|
+
value: ::String
|
99
|
+
},
|
100
|
+
],
|
101
|
+
resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE"),
|
102
|
+
?resource_tags: Array[
|
103
|
+
{
|
104
|
+
resource_tag_key: ::String,
|
105
|
+
resource_tag_value: ::String?
|
106
|
+
},
|
107
|
+
],
|
108
|
+
?lock_configuration: {
|
109
|
+
unlock_delay: {
|
110
|
+
unlock_delay_value: ::Integer,
|
111
|
+
unlock_delay_unit: ("DAYS")
|
112
|
+
}
|
113
|
+
}
|
114
|
+
) -> _CreateRuleResponseSuccess
|
115
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRuleResponseSuccess
|
116
|
+
|
117
|
+
interface _DeleteRuleResponseSuccess
|
118
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRuleResponse]
|
119
|
+
end
|
120
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RecycleBin/Client.html#delete_rule-instance_method
|
121
|
+
def delete_rule: (
|
122
|
+
identifier: ::String
|
123
|
+
) -> _DeleteRuleResponseSuccess
|
124
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRuleResponseSuccess
|
125
|
+
|
126
|
+
interface _GetRuleResponseSuccess
|
127
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetRuleResponse]
|
128
|
+
def identifier: () -> ::String
|
129
|
+
def description: () -> ::String
|
130
|
+
def resource_type: () -> ("EBS_SNAPSHOT" | "EC2_IMAGE")
|
131
|
+
def retention_period: () -> Types::RetentionPeriod
|
132
|
+
def resource_tags: () -> ::Array[Types::ResourceTag]
|
133
|
+
def status: () -> ("pending" | "available")
|
134
|
+
def lock_configuration: () -> Types::LockConfiguration
|
135
|
+
def lock_state: () -> ("locked" | "pending_unlock" | "unlocked")
|
136
|
+
def lock_end_time: () -> ::Time
|
137
|
+
def rule_arn: () -> ::String
|
138
|
+
end
|
139
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RecycleBin/Client.html#get_rule-instance_method
|
140
|
+
def get_rule: (
|
141
|
+
identifier: ::String
|
142
|
+
) -> _GetRuleResponseSuccess
|
143
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRuleResponseSuccess
|
144
|
+
|
145
|
+
interface _ListRulesResponseSuccess
|
146
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListRulesResponse]
|
147
|
+
def rules: () -> ::Array[Types::RuleSummary]
|
148
|
+
def next_token: () -> ::String
|
149
|
+
end
|
150
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RecycleBin/Client.html#list_rules-instance_method
|
151
|
+
def list_rules: (
|
152
|
+
?max_results: ::Integer,
|
153
|
+
?next_token: ::String,
|
154
|
+
resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE"),
|
155
|
+
?resource_tags: Array[
|
156
|
+
{
|
157
|
+
resource_tag_key: ::String,
|
158
|
+
resource_tag_value: ::String?
|
159
|
+
},
|
160
|
+
],
|
161
|
+
?lock_state: ("locked" | "pending_unlock" | "unlocked")
|
162
|
+
) -> _ListRulesResponseSuccess
|
163
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRulesResponseSuccess
|
164
|
+
|
165
|
+
interface _ListTagsForResourceResponseSuccess
|
166
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
167
|
+
def tags: () -> ::Array[Types::Tag]
|
168
|
+
end
|
169
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RecycleBin/Client.html#list_tags_for_resource-instance_method
|
170
|
+
def list_tags_for_resource: (
|
171
|
+
resource_arn: ::String
|
172
|
+
) -> _ListTagsForResourceResponseSuccess
|
173
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
174
|
+
|
175
|
+
interface _LockRuleResponseSuccess
|
176
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::LockRuleResponse]
|
177
|
+
def identifier: () -> ::String
|
178
|
+
def description: () -> ::String
|
179
|
+
def resource_type: () -> ("EBS_SNAPSHOT" | "EC2_IMAGE")
|
180
|
+
def retention_period: () -> Types::RetentionPeriod
|
181
|
+
def resource_tags: () -> ::Array[Types::ResourceTag]
|
182
|
+
def status: () -> ("pending" | "available")
|
183
|
+
def lock_configuration: () -> Types::LockConfiguration
|
184
|
+
def lock_state: () -> ("locked" | "pending_unlock" | "unlocked")
|
185
|
+
def rule_arn: () -> ::String
|
186
|
+
end
|
187
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RecycleBin/Client.html#lock_rule-instance_method
|
188
|
+
def lock_rule: (
|
189
|
+
identifier: ::String,
|
190
|
+
lock_configuration: {
|
191
|
+
unlock_delay: {
|
192
|
+
unlock_delay_value: ::Integer,
|
193
|
+
unlock_delay_unit: ("DAYS")
|
194
|
+
}
|
195
|
+
}
|
196
|
+
) -> _LockRuleResponseSuccess
|
197
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _LockRuleResponseSuccess
|
198
|
+
|
199
|
+
interface _TagResourceResponseSuccess
|
200
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
201
|
+
end
|
202
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RecycleBin/Client.html#tag_resource-instance_method
|
203
|
+
def tag_resource: (
|
204
|
+
resource_arn: ::String,
|
205
|
+
tags: Array[
|
206
|
+
{
|
207
|
+
key: ::String,
|
208
|
+
value: ::String
|
209
|
+
},
|
210
|
+
]
|
211
|
+
) -> _TagResourceResponseSuccess
|
212
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
213
|
+
|
214
|
+
interface _UnlockRuleResponseSuccess
|
215
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UnlockRuleResponse]
|
216
|
+
def identifier: () -> ::String
|
217
|
+
def description: () -> ::String
|
218
|
+
def resource_type: () -> ("EBS_SNAPSHOT" | "EC2_IMAGE")
|
219
|
+
def retention_period: () -> Types::RetentionPeriod
|
220
|
+
def resource_tags: () -> ::Array[Types::ResourceTag]
|
221
|
+
def status: () -> ("pending" | "available")
|
222
|
+
def lock_configuration: () -> Types::LockConfiguration
|
223
|
+
def lock_state: () -> ("locked" | "pending_unlock" | "unlocked")
|
224
|
+
def lock_end_time: () -> ::Time
|
225
|
+
def rule_arn: () -> ::String
|
226
|
+
end
|
227
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RecycleBin/Client.html#unlock_rule-instance_method
|
228
|
+
def unlock_rule: (
|
229
|
+
identifier: ::String
|
230
|
+
) -> _UnlockRuleResponseSuccess
|
231
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UnlockRuleResponseSuccess
|
232
|
+
|
233
|
+
interface _UntagResourceResponseSuccess
|
234
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
235
|
+
end
|
236
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RecycleBin/Client.html#untag_resource-instance_method
|
237
|
+
def untag_resource: (
|
238
|
+
resource_arn: ::String,
|
239
|
+
tag_keys: Array[::String]
|
240
|
+
) -> _UntagResourceResponseSuccess
|
241
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
242
|
+
|
243
|
+
interface _UpdateRuleResponseSuccess
|
244
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRuleResponse]
|
245
|
+
def identifier: () -> ::String
|
246
|
+
def retention_period: () -> Types::RetentionPeriod
|
247
|
+
def description: () -> ::String
|
248
|
+
def resource_type: () -> ("EBS_SNAPSHOT" | "EC2_IMAGE")
|
249
|
+
def resource_tags: () -> ::Array[Types::ResourceTag]
|
250
|
+
def status: () -> ("pending" | "available")
|
251
|
+
def lock_state: () -> ("locked" | "pending_unlock" | "unlocked")
|
252
|
+
def lock_end_time: () -> ::Time
|
253
|
+
def rule_arn: () -> ::String
|
254
|
+
end
|
255
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RecycleBin/Client.html#update_rule-instance_method
|
256
|
+
def update_rule: (
|
257
|
+
identifier: ::String,
|
258
|
+
?retention_period: {
|
259
|
+
retention_period_value: ::Integer,
|
260
|
+
retention_period_unit: ("DAYS")
|
261
|
+
},
|
262
|
+
?description: ::String,
|
263
|
+
?resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE"),
|
264
|
+
?resource_tags: Array[
|
265
|
+
{
|
266
|
+
resource_tag_key: ::String,
|
267
|
+
resource_tag_value: ::String?
|
268
|
+
},
|
269
|
+
]
|
270
|
+
) -> _UpdateRuleResponseSuccess
|
271
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRuleResponseSuccess
|
272
|
+
end
|
273
|
+
end
|
274
|
+
end
|
275
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module RecycleBin
|
10
|
+
module Errors
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
12
|
+
end
|
13
|
+
|
14
|
+
class ConflictException < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
def reason: () -> ::String
|
17
|
+
end
|
18
|
+
class InternalServerException < ::Aws::Errors::ServiceError
|
19
|
+
def message: () -> ::String
|
20
|
+
end
|
21
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
22
|
+
def message: () -> ::String
|
23
|
+
def reason: () -> ::String
|
24
|
+
end
|
25
|
+
class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
|
26
|
+
def message: () -> ::String
|
27
|
+
def reason: () -> ::String
|
28
|
+
end
|
29
|
+
class ValidationException < ::Aws::Errors::ServiceError
|
30
|
+
def message: () -> ::String
|
31
|
+
def reason: () -> ::String
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
data/sig/resource.rbs
ADDED
@@ -0,0 +1,79 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module RecycleBin
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RecycleBin/Resource.html
|
11
|
+
class Resource
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RecycleBin/Resource.html#initialize-instance_method
|
13
|
+
def initialize: (
|
14
|
+
?client: Client,
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> void
|
72
|
+
| (?Hash[Symbol, untyped]) -> void
|
73
|
+
|
74
|
+
def client: () -> Client
|
75
|
+
|
76
|
+
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
data/sig/types.rbs
ADDED
@@ -0,0 +1,232 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::RecycleBin
|
9
|
+
module Types
|
10
|
+
|
11
|
+
class ConflictException
|
12
|
+
attr_accessor message: ::String
|
13
|
+
attr_accessor reason: ("INVALID_RULE_STATE")
|
14
|
+
SENSITIVE: []
|
15
|
+
end
|
16
|
+
|
17
|
+
class CreateRuleRequest
|
18
|
+
attr_accessor retention_period: Types::RetentionPeriod
|
19
|
+
attr_accessor description: ::String
|
20
|
+
attr_accessor tags: ::Array[Types::Tag]
|
21
|
+
attr_accessor resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE")
|
22
|
+
attr_accessor resource_tags: ::Array[Types::ResourceTag]
|
23
|
+
attr_accessor lock_configuration: Types::LockConfiguration
|
24
|
+
SENSITIVE: []
|
25
|
+
end
|
26
|
+
|
27
|
+
class CreateRuleResponse
|
28
|
+
attr_accessor identifier: ::String
|
29
|
+
attr_accessor retention_period: Types::RetentionPeriod
|
30
|
+
attr_accessor description: ::String
|
31
|
+
attr_accessor tags: ::Array[Types::Tag]
|
32
|
+
attr_accessor resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE")
|
33
|
+
attr_accessor resource_tags: ::Array[Types::ResourceTag]
|
34
|
+
attr_accessor status: ("pending" | "available")
|
35
|
+
attr_accessor lock_configuration: Types::LockConfiguration
|
36
|
+
attr_accessor lock_state: ("locked" | "pending_unlock" | "unlocked")
|
37
|
+
attr_accessor rule_arn: ::String
|
38
|
+
SENSITIVE: []
|
39
|
+
end
|
40
|
+
|
41
|
+
class DeleteRuleRequest
|
42
|
+
attr_accessor identifier: ::String
|
43
|
+
SENSITIVE: []
|
44
|
+
end
|
45
|
+
|
46
|
+
class DeleteRuleResponse < Aws::EmptyStructure
|
47
|
+
end
|
48
|
+
|
49
|
+
class GetRuleRequest
|
50
|
+
attr_accessor identifier: ::String
|
51
|
+
SENSITIVE: []
|
52
|
+
end
|
53
|
+
|
54
|
+
class GetRuleResponse
|
55
|
+
attr_accessor identifier: ::String
|
56
|
+
attr_accessor description: ::String
|
57
|
+
attr_accessor resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE")
|
58
|
+
attr_accessor retention_period: Types::RetentionPeriod
|
59
|
+
attr_accessor resource_tags: ::Array[Types::ResourceTag]
|
60
|
+
attr_accessor status: ("pending" | "available")
|
61
|
+
attr_accessor lock_configuration: Types::LockConfiguration
|
62
|
+
attr_accessor lock_state: ("locked" | "pending_unlock" | "unlocked")
|
63
|
+
attr_accessor lock_end_time: ::Time
|
64
|
+
attr_accessor rule_arn: ::String
|
65
|
+
SENSITIVE: []
|
66
|
+
end
|
67
|
+
|
68
|
+
class InternalServerException
|
69
|
+
attr_accessor message: ::String
|
70
|
+
SENSITIVE: []
|
71
|
+
end
|
72
|
+
|
73
|
+
class ListRulesRequest
|
74
|
+
attr_accessor max_results: ::Integer
|
75
|
+
attr_accessor next_token: ::String
|
76
|
+
attr_accessor resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE")
|
77
|
+
attr_accessor resource_tags: ::Array[Types::ResourceTag]
|
78
|
+
attr_accessor lock_state: ("locked" | "pending_unlock" | "unlocked")
|
79
|
+
SENSITIVE: []
|
80
|
+
end
|
81
|
+
|
82
|
+
class ListRulesResponse
|
83
|
+
attr_accessor rules: ::Array[Types::RuleSummary]
|
84
|
+
attr_accessor next_token: ::String
|
85
|
+
SENSITIVE: []
|
86
|
+
end
|
87
|
+
|
88
|
+
class ListTagsForResourceRequest
|
89
|
+
attr_accessor resource_arn: ::String
|
90
|
+
SENSITIVE: []
|
91
|
+
end
|
92
|
+
|
93
|
+
class ListTagsForResourceResponse
|
94
|
+
attr_accessor tags: ::Array[Types::Tag]
|
95
|
+
SENSITIVE: []
|
96
|
+
end
|
97
|
+
|
98
|
+
class LockConfiguration
|
99
|
+
attr_accessor unlock_delay: Types::UnlockDelay
|
100
|
+
SENSITIVE: []
|
101
|
+
end
|
102
|
+
|
103
|
+
class LockRuleRequest
|
104
|
+
attr_accessor identifier: ::String
|
105
|
+
attr_accessor lock_configuration: Types::LockConfiguration
|
106
|
+
SENSITIVE: []
|
107
|
+
end
|
108
|
+
|
109
|
+
class LockRuleResponse
|
110
|
+
attr_accessor identifier: ::String
|
111
|
+
attr_accessor description: ::String
|
112
|
+
attr_accessor resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE")
|
113
|
+
attr_accessor retention_period: Types::RetentionPeriod
|
114
|
+
attr_accessor resource_tags: ::Array[Types::ResourceTag]
|
115
|
+
attr_accessor status: ("pending" | "available")
|
116
|
+
attr_accessor lock_configuration: Types::LockConfiguration
|
117
|
+
attr_accessor lock_state: ("locked" | "pending_unlock" | "unlocked")
|
118
|
+
attr_accessor rule_arn: ::String
|
119
|
+
SENSITIVE: []
|
120
|
+
end
|
121
|
+
|
122
|
+
class ResourceNotFoundException
|
123
|
+
attr_accessor message: ::String
|
124
|
+
attr_accessor reason: ("RULE_NOT_FOUND")
|
125
|
+
SENSITIVE: []
|
126
|
+
end
|
127
|
+
|
128
|
+
class ResourceTag
|
129
|
+
attr_accessor resource_tag_key: ::String
|
130
|
+
attr_accessor resource_tag_value: ::String
|
131
|
+
SENSITIVE: []
|
132
|
+
end
|
133
|
+
|
134
|
+
class RetentionPeriod
|
135
|
+
attr_accessor retention_period_value: ::Integer
|
136
|
+
attr_accessor retention_period_unit: ("DAYS")
|
137
|
+
SENSITIVE: []
|
138
|
+
end
|
139
|
+
|
140
|
+
class RuleSummary
|
141
|
+
attr_accessor identifier: ::String
|
142
|
+
attr_accessor description: ::String
|
143
|
+
attr_accessor retention_period: Types::RetentionPeriod
|
144
|
+
attr_accessor lock_state: ("locked" | "pending_unlock" | "unlocked")
|
145
|
+
attr_accessor rule_arn: ::String
|
146
|
+
SENSITIVE: []
|
147
|
+
end
|
148
|
+
|
149
|
+
class ServiceQuotaExceededException
|
150
|
+
attr_accessor message: ::String
|
151
|
+
attr_accessor reason: ("SERVICE_QUOTA_EXCEEDED")
|
152
|
+
SENSITIVE: []
|
153
|
+
end
|
154
|
+
|
155
|
+
class Tag
|
156
|
+
attr_accessor key: ::String
|
157
|
+
attr_accessor value: ::String
|
158
|
+
SENSITIVE: []
|
159
|
+
end
|
160
|
+
|
161
|
+
class TagResourceRequest
|
162
|
+
attr_accessor resource_arn: ::String
|
163
|
+
attr_accessor tags: ::Array[Types::Tag]
|
164
|
+
SENSITIVE: []
|
165
|
+
end
|
166
|
+
|
167
|
+
class TagResourceResponse < Aws::EmptyStructure
|
168
|
+
end
|
169
|
+
|
170
|
+
class UnlockDelay
|
171
|
+
attr_accessor unlock_delay_value: ::Integer
|
172
|
+
attr_accessor unlock_delay_unit: ("DAYS")
|
173
|
+
SENSITIVE: []
|
174
|
+
end
|
175
|
+
|
176
|
+
class UnlockRuleRequest
|
177
|
+
attr_accessor identifier: ::String
|
178
|
+
SENSITIVE: []
|
179
|
+
end
|
180
|
+
|
181
|
+
class UnlockRuleResponse
|
182
|
+
attr_accessor identifier: ::String
|
183
|
+
attr_accessor description: ::String
|
184
|
+
attr_accessor resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE")
|
185
|
+
attr_accessor retention_period: Types::RetentionPeriod
|
186
|
+
attr_accessor resource_tags: ::Array[Types::ResourceTag]
|
187
|
+
attr_accessor status: ("pending" | "available")
|
188
|
+
attr_accessor lock_configuration: Types::LockConfiguration
|
189
|
+
attr_accessor lock_state: ("locked" | "pending_unlock" | "unlocked")
|
190
|
+
attr_accessor lock_end_time: ::Time
|
191
|
+
attr_accessor rule_arn: ::String
|
192
|
+
SENSITIVE: []
|
193
|
+
end
|
194
|
+
|
195
|
+
class UntagResourceRequest
|
196
|
+
attr_accessor resource_arn: ::String
|
197
|
+
attr_accessor tag_keys: ::Array[::String]
|
198
|
+
SENSITIVE: []
|
199
|
+
end
|
200
|
+
|
201
|
+
class UntagResourceResponse < Aws::EmptyStructure
|
202
|
+
end
|
203
|
+
|
204
|
+
class UpdateRuleRequest
|
205
|
+
attr_accessor identifier: ::String
|
206
|
+
attr_accessor retention_period: Types::RetentionPeriod
|
207
|
+
attr_accessor description: ::String
|
208
|
+
attr_accessor resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE")
|
209
|
+
attr_accessor resource_tags: ::Array[Types::ResourceTag]
|
210
|
+
SENSITIVE: []
|
211
|
+
end
|
212
|
+
|
213
|
+
class UpdateRuleResponse
|
214
|
+
attr_accessor identifier: ::String
|
215
|
+
attr_accessor retention_period: Types::RetentionPeriod
|
216
|
+
attr_accessor description: ::String
|
217
|
+
attr_accessor resource_type: ("EBS_SNAPSHOT" | "EC2_IMAGE")
|
218
|
+
attr_accessor resource_tags: ::Array[Types::ResourceTag]
|
219
|
+
attr_accessor status: ("pending" | "available")
|
220
|
+
attr_accessor lock_state: ("locked" | "pending_unlock" | "unlocked")
|
221
|
+
attr_accessor lock_end_time: ::Time
|
222
|
+
attr_accessor rule_arn: ::String
|
223
|
+
SENSITIVE: []
|
224
|
+
end
|
225
|
+
|
226
|
+
class ValidationException
|
227
|
+
attr_accessor message: ::String
|
228
|
+
attr_accessor reason: ("INVALID_PAGE_TOKEN" | "INVALID_PARAMETER_VALUE")
|
229
|
+
SENSITIVE: []
|
230
|
+
end
|
231
|
+
end
|
232
|
+
end
|
data/sig/waiters.rbs
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module RecycleBin
|
10
|
+
module Waiters
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
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.
|
4
|
+
version: 1.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-26 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.
|
22
|
+
version: 3.191.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.
|
32
|
+
version: 3.191.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,13 +66,18 @@ files:
|
|
66
66
|
- lib/aws-sdk-recyclebin/plugins/endpoints.rb
|
67
67
|
- lib/aws-sdk-recyclebin/resource.rb
|
68
68
|
- lib/aws-sdk-recyclebin/types.rb
|
69
|
+
- sig/client.rbs
|
70
|
+
- sig/errors.rbs
|
71
|
+
- sig/resource.rbs
|
72
|
+
- sig/types.rbs
|
73
|
+
- sig/waiters.rbs
|
69
74
|
homepage: https://github.com/aws/aws-sdk-ruby
|
70
75
|
licenses:
|
71
76
|
- Apache-2.0
|
72
77
|
metadata:
|
73
78
|
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-recyclebin
|
74
79
|
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-recyclebin/CHANGELOG.md
|
75
|
-
post_install_message:
|
80
|
+
post_install_message:
|
76
81
|
rdoc_options: []
|
77
82
|
require_paths:
|
78
83
|
- lib
|
@@ -87,8 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
87
92
|
- !ruby/object:Gem::Version
|
88
93
|
version: '0'
|
89
94
|
requirements: []
|
90
|
-
rubygems_version: 3.
|
91
|
-
signing_key:
|
95
|
+
rubygems_version: 3.4.10
|
96
|
+
signing_key:
|
92
97
|
specification_version: 4
|
93
98
|
summary: AWS SDK for Ruby - Amazon Recycle Bin
|
94
99
|
test_files: []
|