aws-sdk-recyclebin 1.7.0 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 35bfe58e724308c363f220ae012d8bc1bfff6995c7312d5a80af1cbc5fde2859
4
- data.tar.gz: 1b5aca716fee385a44d9690a4938386018765673e54814349f0907d931ac9d8a
3
+ metadata.gz: 864cb7b23ccd48bcd8c96f24783d6dce91a5f8322c90a8816ae828d40a057e3d
4
+ data.tar.gz: 5bd03fc4f285d9d0f097c82932b135a34e1355daf6b8e5b5169ea33777b420c6
5
5
  SHA512:
6
- metadata.gz: adb7b22323cafab6b5a093d3b22d324d174297ca0d6d2772dc3d24c2284206f17b7d7cc0308df28ebd38971b2b0cd5f89dae41e82609c55f562fce90762b754e
7
- data.tar.gz: f8e6ffde0850048044bef3feb5f60f60ce1c84320f3882354bf730740a6756a53326d8d05509ad6a11dfd52fc6f59afdb3c6eecb153e07a2f5e441dc6530a00c
6
+ metadata.gz: 73a3b870eeb662bc886e4716c0bec2c35dde9fc0eaeaad55b0c0a914caa40876bb4ed3ee0a2a8c0783fc3e5cc91f95dc48c13d2511bb0e5bb7084538dde1e81d
7
+ data.tar.gz: 0656f0c93e0232f5b99248ab615c504f008efe876ee1ccbd4c59c3228c5c668ecf971bb9fc9ebd77867f68a5c027a098ad35e0307d1811c9c06c7086fc6a2b3a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.8.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
4
11
  1.7.0 (2022-11-23)
5
12
  ------------------
6
13
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.7.0
1
+ 1.8.0
@@ -926,7 +926,7 @@ module Aws::RecycleBin
926
926
  params: params,
927
927
  config: config)
928
928
  context[:gem_name] = 'aws-sdk-recyclebin'
929
- context[:gem_version] = '1.7.0'
929
+ context[:gem_version] = '1.8.0'
930
930
  Seahorse::Client::Request.new(handlers, context)
931
931
  end
932
932
 
@@ -9,103 +9,43 @@
9
9
 
10
10
  module Aws::RecycleBin
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://rbin-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ return Aws::Endpoints::Endpoint.new(url: "https://rbin-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ end
37
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
+ end
39
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
+ return Aws::Endpoints::Endpoint.new(url: "https://rbin.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://rbin.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
46
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
47
+ raise ArgumentError, 'No endpoint could be resolved'
24
48
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
49
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOnRydWUsImRvY3VtZW50
33
- YXRpb24iOiJUaGUgQVdTIHJlZ2lvbiB1c2VkIHRvIGRpc3BhdGNoIHRoZSBy
34
- ZXF1ZXN0LiIsInR5cGUiOiJTdHJpbmcifSwiVXNlRHVhbFN0YWNrIjp7ImJ1
35
- aWx0SW4iOiJBV1M6OlVzZUR1YWxTdGFjayIsInJlcXVpcmVkIjp0cnVlLCJk
36
- Z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vciI6IkR1YWxTdGFjayBpcyBlbmFibGVk
103
- IGJ1dCB0aGlzIHBhcnRpdGlvbiBkb2VzIG5vdCBzdXBwb3J0IER1YWxTdGFj
104
- ayIsInR5cGUiOiJlcnJvciJ9XX0seyJjb25kaXRpb25zIjpbXSwiZW5kcG9p
105
- bnQiOnsidXJsIjoiaHR0cHM6Ly9yYmluLntSZWdpb259LntQYXJ0aXRpb25S
106
- ZXN1bHQjZG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7
107
- fX0sInR5cGUiOiJlbmRwb2ludCJ9XX1dfQ==
108
-
109
- JSON
110
50
  end
111
51
  end
@@ -28,36 +28,6 @@ module Aws::RecycleBin
28
28
  include Aws::Structure
29
29
  end
30
30
 
31
- # @note When making an API call, you may pass CreateRuleRequest
32
- # data as a hash:
33
- #
34
- # {
35
- # retention_period: { # required
36
- # retention_period_value: 1, # required
37
- # retention_period_unit: "DAYS", # required, accepts DAYS
38
- # },
39
- # description: "Description",
40
- # tags: [
41
- # {
42
- # key: "TagKey", # required
43
- # value: "TagValue", # required
44
- # },
45
- # ],
46
- # resource_type: "EBS_SNAPSHOT", # required, accepts EBS_SNAPSHOT, EC2_IMAGE
47
- # resource_tags: [
48
- # {
49
- # resource_tag_key: "ResourceTagKey", # required
50
- # resource_tag_value: "ResourceTagValue",
51
- # },
52
- # ],
53
- # lock_configuration: {
54
- # unlock_delay: { # required
55
- # unlock_delay_value: 1, # required
56
- # unlock_delay_unit: "DAYS", # required, accepts DAYS
57
- # },
58
- # },
59
- # }
60
- #
61
31
  # @!attribute [rw] retention_period
62
32
  # Information about the retention period for which the retention rule
63
33
  # is to retain resources.
@@ -185,13 +155,6 @@ module Aws::RecycleBin
185
155
  include Aws::Structure
186
156
  end
187
157
 
188
- # @note When making an API call, you may pass DeleteRuleRequest
189
- # data as a hash:
190
- #
191
- # {
192
- # identifier: "RuleIdentifier", # required
193
- # }
194
- #
195
158
  # @!attribute [rw] identifier
196
159
  # The unique ID of the retention rule.
197
160
  # @return [String]
@@ -208,13 +171,6 @@ module Aws::RecycleBin
208
171
  #
209
172
  class DeleteRuleResponse < Aws::EmptyStructure; end
210
173
 
211
- # @note When making an API call, you may pass GetRuleRequest
212
- # data as a hash:
213
- #
214
- # {
215
- # identifier: "RuleIdentifier", # required
216
- # }
217
- #
218
174
  # @!attribute [rw] identifier
219
175
  # The unique ID of the retention rule.
220
176
  # @return [String]
@@ -314,22 +270,6 @@ module Aws::RecycleBin
314
270
  include Aws::Structure
315
271
  end
316
272
 
317
- # @note When making an API call, you may pass ListRulesRequest
318
- # data as a hash:
319
- #
320
- # {
321
- # max_results: 1,
322
- # next_token: "NextToken",
323
- # resource_type: "EBS_SNAPSHOT", # required, accepts EBS_SNAPSHOT, EC2_IMAGE
324
- # resource_tags: [
325
- # {
326
- # resource_tag_key: "ResourceTagKey", # required
327
- # resource_tag_value: "ResourceTagValue",
328
- # },
329
- # ],
330
- # lock_state: "locked", # accepts locked, pending_unlock, unlocked
331
- # }
332
- #
333
273
  # @!attribute [rw] max_results
334
274
  # The maximum number of results to return with a single call. To
335
275
  # retrieve the remaining results, make another call with the returned
@@ -389,13 +329,6 @@ module Aws::RecycleBin
389
329
  include Aws::Structure
390
330
  end
391
331
 
392
- # @note When making an API call, you may pass ListTagsForResourceRequest
393
- # data as a hash:
394
- #
395
- # {
396
- # resource_arn: "RuleArn", # required
397
- # }
398
- #
399
332
  # @!attribute [rw] resource_arn
400
333
  # The Amazon Resource Name (ARN) of the retention rule.
401
334
  # @return [String]
@@ -422,16 +355,6 @@ module Aws::RecycleBin
422
355
 
423
356
  # Information about a retention rule lock configuration.
424
357
  #
425
- # @note When making an API call, you may pass LockConfiguration
426
- # data as a hash:
427
- #
428
- # {
429
- # unlock_delay: { # required
430
- # unlock_delay_value: 1, # required
431
- # unlock_delay_unit: "DAYS", # required, accepts DAYS
432
- # },
433
- # }
434
- #
435
358
  # @!attribute [rw] unlock_delay
436
359
  # Information about the retention rule unlock delay.
437
360
  # @return [Types::UnlockDelay]
@@ -444,19 +367,6 @@ module Aws::RecycleBin
444
367
  include Aws::Structure
445
368
  end
446
369
 
447
- # @note When making an API call, you may pass LockRuleRequest
448
- # data as a hash:
449
- #
450
- # {
451
- # identifier: "RuleIdentifier", # required
452
- # lock_configuration: { # required
453
- # unlock_delay: { # required
454
- # unlock_delay_value: 1, # required
455
- # unlock_delay_unit: "DAYS", # required, accepts DAYS
456
- # },
457
- # },
458
- # }
459
- #
460
370
  # @!attribute [rw] identifier
461
371
  # The unique ID of the retention rule.
462
372
  # @return [String]
@@ -561,14 +471,6 @@ module Aws::RecycleBin
561
471
  # Information about the resource tags used to identify resources that
562
472
  # are retained by the retention rule.
563
473
  #
564
- # @note When making an API call, you may pass ResourceTag
565
- # data as a hash:
566
- #
567
- # {
568
- # resource_tag_key: "ResourceTagKey", # required
569
- # resource_tag_value: "ResourceTagValue",
570
- # }
571
- #
572
474
  # @!attribute [rw] resource_tag_key
573
475
  # The tag key.
574
476
  # @return [String]
@@ -589,14 +491,6 @@ module Aws::RecycleBin
589
491
  # Information about the retention period for which the retention rule is
590
492
  # to retain resources.
591
493
  #
592
- # @note When making an API call, you may pass RetentionPeriod
593
- # data as a hash:
594
- #
595
- # {
596
- # retention_period_value: 1, # required
597
- # retention_period_unit: "DAYS", # required, accepts DAYS
598
- # }
599
- #
600
494
  # @!attribute [rw] retention_period_value
601
495
  # The period value for which the retention rule is to retain
602
496
  # resources. The period is measured using the unit specified for
@@ -684,14 +578,6 @@ module Aws::RecycleBin
684
578
 
685
579
  # Information about the tags to assign to the retention rule.
686
580
  #
687
- # @note When making an API call, you may pass Tag
688
- # data as a hash:
689
- #
690
- # {
691
- # key: "TagKey", # required
692
- # value: "TagValue", # required
693
- # }
694
- #
695
581
  # @!attribute [rw] key
696
582
  # The tag key.
697
583
  # @return [String]
@@ -709,19 +595,6 @@ module Aws::RecycleBin
709
595
  include Aws::Structure
710
596
  end
711
597
 
712
- # @note When making an API call, you may pass TagResourceRequest
713
- # data as a hash:
714
- #
715
- # {
716
- # resource_arn: "RuleArn", # required
717
- # tags: [ # required
718
- # {
719
- # key: "TagKey", # required
720
- # value: "TagValue", # required
721
- # },
722
- # ],
723
- # }
724
- #
725
598
  # @!attribute [rw] resource_arn
726
599
  # The Amazon Resource Name (ARN) of the retention rule.
727
600
  # @return [String]
@@ -749,14 +622,6 @@ module Aws::RecycleBin
749
622
  # The retention rule can't be modified or deleted during the unlock
750
623
  # delay.
751
624
  #
752
- # @note When making an API call, you may pass UnlockDelay
753
- # data as a hash:
754
- #
755
- # {
756
- # unlock_delay_value: 1, # required
757
- # unlock_delay_unit: "DAYS", # required, accepts DAYS
758
- # }
759
- #
760
625
  # @!attribute [rw] unlock_delay_value
761
626
  # The unlock delay period, measured in the unit specified for <b>
762
627
  # UnlockDelayUnit</b>.
@@ -776,13 +641,6 @@ module Aws::RecycleBin
776
641
  include Aws::Structure
777
642
  end
778
643
 
779
- # @note When making an API call, you may pass UnlockRuleRequest
780
- # data as a hash:
781
- #
782
- # {
783
- # identifier: "RuleIdentifier", # required
784
- # }
785
- #
786
644
  # @!attribute [rw] identifier
787
645
  # The unique ID of the retention rule.
788
646
  # @return [String]
@@ -868,14 +726,6 @@ module Aws::RecycleBin
868
726
  include Aws::Structure
869
727
  end
870
728
 
871
- # @note When making an API call, you may pass UntagResourceRequest
872
- # data as a hash:
873
- #
874
- # {
875
- # resource_arn: "RuleArn", # required
876
- # tag_keys: ["TagKey"], # required
877
- # }
878
- #
879
729
  # @!attribute [rw] resource_arn
880
730
  # The Amazon Resource Name (ARN) of the retention rule.
881
731
  # @return [String]
@@ -898,25 +748,6 @@ module Aws::RecycleBin
898
748
  #
899
749
  class UntagResourceResponse < Aws::EmptyStructure; end
900
750
 
901
- # @note When making an API call, you may pass UpdateRuleRequest
902
- # data as a hash:
903
- #
904
- # {
905
- # identifier: "RuleIdentifier", # required
906
- # retention_period: {
907
- # retention_period_value: 1, # required
908
- # retention_period_unit: "DAYS", # required, accepts DAYS
909
- # },
910
- # description: "Description",
911
- # resource_type: "EBS_SNAPSHOT", # accepts EBS_SNAPSHOT, EC2_IMAGE
912
- # resource_tags: [
913
- # {
914
- # resource_tag_key: "ResourceTagKey", # required
915
- # resource_tag_value: "ResourceTagValue",
916
- # },
917
- # ],
918
- # }
919
- #
920
751
  # @!attribute [rw] identifier
921
752
  # The unique ID of the retention rule.
922
753
  # @return [String]
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-recyclebin/customizations'
52
52
  # @!group service
53
53
  module Aws::RecycleBin
54
54
 
55
- GEM_VERSION = '1.7.0'
55
+ GEM_VERSION = '1.8.0'
56
56
 
57
57
  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.7.0
4
+ version: 1.8.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: 2022-11-23 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core