aws-sdk-rolesanywhere 1.1.0 → 1.2.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: 6aa90b52d288470bb2942352d820899ed3a7c461207f8ae367840dc10696d4cf
4
- data.tar.gz: 4024c6f909e16cabb9b48786509a7020d0e94e734e47d63cdaca438479825123
3
+ metadata.gz: d8fc32554c5ce8e1e992e6c136ebe43e8c447b707b12e86409b150b3794a5493
4
+ data.tar.gz: 2c113fcbbe164db3e5280ff6bc4cce89cf162c05ae9bae84bf1518bc4eabcafd
5
5
  SHA512:
6
- metadata.gz: b265e7818193bed0b080445fcfd16a69b7681cb4b5e61657941f829ed3788b3962703a7f6b2eae7521f61e70479d8ba50e93f12b0bc2f2e18001c51f5d870fbb
7
- data.tar.gz: 0a573ed6542272b294757573d2829f76773952bfef5a7b69d4d3e4a9237e5a9a3d587b04c8dadcb224ce143e9950cc077d830c87f18f3243d6089624ddbe36b8
6
+ metadata.gz: 8578981d91f8b426c86a13492ad052b080b3d544160e7ddbf95424366624a58cf45ea676a0fb9b4befc058ba15bd3c9e21cbf1cafbfc9e795ed43721572953e3
7
+ data.tar.gz: ea39267068ae8b94bc7f8dd136f9269a950f6ca093ae83c5c5427caf295625d7ac8731e9645e276936967a869b39a8909713a0743be249e38ab5991ffc6f9399
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.2.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.1.0 (2022-10-25)
5
12
  ------------------
6
13
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.2.0
@@ -1619,7 +1619,7 @@ module Aws::RolesAnywhere
1619
1619
  params: params,
1620
1620
  config: config)
1621
1621
  context[:gem_name] = 'aws-sdk-rolesanywhere'
1622
- context[:gem_version] = '1.1.0'
1622
+ context[:gem_version] = '1.2.0'
1623
1623
  Seahorse::Client::Request.new(handlers, context)
1624
1624
  end
1625
1625
 
@@ -9,104 +9,43 @@
9
9
 
10
10
  module Aws::RolesAnywhere
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://rolesanywhere-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://rolesanywhere-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://rolesanywhere.#{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://rolesanywhere.#{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
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWls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lcnRpZXMiOnt9LCJoZWFkZXJz
102
- Ijp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX0seyJjb25kaXRpb25zIjpbXSwi
103
- ZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5hYmxlZCBidXQgdGhpcyBwYXJ0aXRp
104
- b24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3RhY2siLCJ0eXBlIjoiZXJyb3Ii
105
- fV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBz
106
- Oi8vcm9sZXNhbnl3aGVyZS57UmVnaW9ufS57UGFydGl0aW9uUmVzdWx0I2Ru
107
- c1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7fSwiaGVhZGVycyI6e319LCJ0eXBl
108
- IjoiZW5kcG9pbnQifV19XX0=
109
-
110
- JSON
111
50
  end
112
51
  end
@@ -23,25 +23,6 @@ module Aws::RolesAnywhere
23
23
  include Aws::Structure
24
24
  end
25
25
 
26
- # @note When making an API call, you may pass CreateProfileRequest
27
- # data as a hash:
28
- #
29
- # {
30
- # duration_seconds: 1,
31
- # enabled: false,
32
- # managed_policy_arns: ["ManagedPolicyListMemberString"],
33
- # name: "ResourceName", # required
34
- # require_instance_properties: false,
35
- # role_arns: ["RoleArn"], # required
36
- # session_policy: "String",
37
- # tags: [
38
- # {
39
- # key: "TagKey", # required
40
- # value: "TagValue", # required
41
- # },
42
- # ],
43
- # }
44
- #
45
26
  # @!attribute [rw] duration_seconds
46
27
  # The number of seconds the vended session credentials are valid for.
47
28
  # @return [Integer]
@@ -101,27 +82,6 @@ module Aws::RolesAnywhere
101
82
  include Aws::Structure
102
83
  end
103
84
 
104
- # @note When making an API call, you may pass CreateTrustAnchorRequest
105
- # data as a hash:
106
- #
107
- # {
108
- # enabled: false,
109
- # name: "ResourceName", # required
110
- # source: { # required
111
- # source_data: {
112
- # acm_pca_arn: "String",
113
- # x509_certificate_data: "String",
114
- # },
115
- # source_type: "AWS_ACM_PCA", # accepts AWS_ACM_PCA, CERTIFICATE_BUNDLE, SELF_SIGNED_REPOSITORY
116
- # },
117
- # tags: [
118
- # {
119
- # key: "TagKey", # required
120
- # value: "TagValue", # required
121
- # },
122
- # ],
123
- # }
124
- #
125
85
  # @!attribute [rw] enabled
126
86
  # Specifies whether the trust anchor is enabled.
127
87
  # @return [Boolean]
@@ -269,22 +229,6 @@ module Aws::RolesAnywhere
269
229
  include Aws::Structure
270
230
  end
271
231
 
272
- # @note When making an API call, you may pass ImportCrlRequest
273
- # data as a hash:
274
- #
275
- # {
276
- # crl_data: "data", # required
277
- # enabled: false,
278
- # name: "ResourceName", # required
279
- # tags: [
280
- # {
281
- # key: "TagKey", # required
282
- # value: "TagValue", # required
283
- # },
284
- # ],
285
- # trust_anchor_arn: "TrustAnchorArn", # required
286
- # }
287
- #
288
232
  # @!attribute [rw] crl_data
289
233
  # The x509 v3 specified certificate revocation list
290
234
  # @return [String]
@@ -390,14 +334,6 @@ module Aws::RolesAnywhere
390
334
  include Aws::Structure
391
335
  end
392
336
 
393
- # @note When making an API call, you may pass ListRequest
394
- # data as a hash:
395
- #
396
- # {
397
- # next_token: "ListRequestNextTokenString",
398
- # page_size: 1,
399
- # }
400
- #
401
337
  # @!attribute [rw] next_token
402
338
  # A token that indicates where the output should continue from, if a
403
339
  # previous operation did not show all results. To get the next
@@ -436,13 +372,6 @@ module Aws::RolesAnywhere
436
372
  include Aws::Structure
437
373
  end
438
374
 
439
- # @note When making an API call, you may pass ListTagsForResourceRequest
440
- # data as a hash:
441
- #
442
- # {
443
- # resource_arn: "AmazonResourceName", # required
444
- # }
445
- #
446
375
  # @!attribute [rw] resource_arn
447
376
  # The ARN of the resource.
448
377
  # @return [String]
@@ -592,13 +521,6 @@ module Aws::RolesAnywhere
592
521
  include Aws::Structure
593
522
  end
594
523
 
595
- # @note When making an API call, you may pass ScalarCrlRequest
596
- # data as a hash:
597
- #
598
- # {
599
- # crl_id: "Uuid", # required
600
- # }
601
- #
602
524
  # @!attribute [rw] crl_id
603
525
  # The unique identifier of the certificate revocation list (CRL).
604
526
  # @return [String]
@@ -611,13 +533,6 @@ module Aws::RolesAnywhere
611
533
  include Aws::Structure
612
534
  end
613
535
 
614
- # @note When making an API call, you may pass ScalarProfileRequest
615
- # data as a hash:
616
- #
617
- # {
618
- # profile_id: "Uuid", # required
619
- # }
620
- #
621
536
  # @!attribute [rw] profile_id
622
537
  # The unique identifier of the profile.
623
538
  # @return [String]
@@ -630,13 +545,6 @@ module Aws::RolesAnywhere
630
545
  include Aws::Structure
631
546
  end
632
547
 
633
- # @note When making an API call, you may pass ScalarSubjectRequest
634
- # data as a hash:
635
- #
636
- # {
637
- # subject_id: "Uuid", # required
638
- # }
639
- #
640
548
  # @!attribute [rw] subject_id
641
549
  # The unique identifier of the subject.
642
550
  # @return [String]
@@ -649,13 +557,6 @@ module Aws::RolesAnywhere
649
557
  include Aws::Structure
650
558
  end
651
559
 
652
- # @note When making an API call, you may pass ScalarTrustAnchorRequest
653
- # data as a hash:
654
- #
655
- # {
656
- # trust_anchor_id: "Uuid", # required
657
- # }
658
- #
659
560
  # @!attribute [rw] trust_anchor_id
660
561
  # The unique identifier of the trust anchor.
661
562
  # @return [String]
@@ -670,17 +571,6 @@ module Aws::RolesAnywhere
670
571
 
671
572
  # The trust anchor type and its related certificate data.
672
573
  #
673
- # @note When making an API call, you may pass Source
674
- # data as a hash:
675
- #
676
- # {
677
- # source_data: {
678
- # acm_pca_arn: "String",
679
- # x509_certificate_data: "String",
680
- # },
681
- # source_type: "AWS_ACM_PCA", # accepts AWS_ACM_PCA, CERTIFICATE_BUNDLE, SELF_SIGNED_REPOSITORY
682
- # }
683
- #
684
574
  # @!attribute [rw] source_data
685
575
  # The data field of the trust anchor depending on its type.
686
576
  # @return [Types::SourceData]
@@ -860,14 +750,6 @@ module Aws::RolesAnywhere
860
750
 
861
751
  # A label that consists of a key and value you define.
862
752
  #
863
- # @note When making an API call, you may pass Tag
864
- # data as a hash:
865
- #
866
- # {
867
- # key: "TagKey", # required
868
- # value: "TagValue", # required
869
- # }
870
- #
871
753
  # @!attribute [rw] key
872
754
  # The tag key.
873
755
  # @return [String]
@@ -885,19 +767,6 @@ module Aws::RolesAnywhere
885
767
  include Aws::Structure
886
768
  end
887
769
 
888
- # @note When making an API call, you may pass TagResourceRequest
889
- # data as a hash:
890
- #
891
- # {
892
- # resource_arn: "AmazonResourceName", # required
893
- # tags: [ # required
894
- # {
895
- # key: "TagKey", # required
896
- # value: "TagValue", # required
897
- # },
898
- # ],
899
- # }
900
- #
901
770
  # @!attribute [rw] resource_arn
902
771
  # The ARN of the resource.
903
772
  # @return [String]
@@ -988,14 +857,6 @@ module Aws::RolesAnywhere
988
857
  include Aws::Structure
989
858
  end
990
859
 
991
- # @note When making an API call, you may pass UntagResourceRequest
992
- # data as a hash:
993
- #
994
- # {
995
- # resource_arn: "AmazonResourceName", # required
996
- # tag_keys: ["TagKey"], # required
997
- # }
998
- #
999
860
  # @!attribute [rw] resource_arn
1000
861
  # The ARN of the resource.
1001
862
  # @return [String]
@@ -1017,15 +878,6 @@ module Aws::RolesAnywhere
1017
878
  #
1018
879
  class UntagResourceResponse < Aws::EmptyStructure; end
1019
880
 
1020
- # @note When making an API call, you may pass UpdateCrlRequest
1021
- # data as a hash:
1022
- #
1023
- # {
1024
- # crl_data: "data",
1025
- # crl_id: "Uuid", # required
1026
- # name: "ResourceName",
1027
- # }
1028
- #
1029
881
  # @!attribute [rw] crl_data
1030
882
  # The x509 v3 specified certificate revocation list
1031
883
  # @return [String]
@@ -1048,18 +900,6 @@ module Aws::RolesAnywhere
1048
900
  include Aws::Structure
1049
901
  end
1050
902
 
1051
- # @note When making an API call, you may pass UpdateProfileRequest
1052
- # data as a hash:
1053
- #
1054
- # {
1055
- # duration_seconds: 1,
1056
- # managed_policy_arns: ["ManagedPolicyListMemberString"],
1057
- # name: "ResourceName",
1058
- # profile_id: "Uuid", # required
1059
- # role_arns: ["RoleArn"],
1060
- # session_policy: "UpdateProfileRequestSessionPolicyString",
1061
- # }
1062
- #
1063
903
  # @!attribute [rw] duration_seconds
1064
904
  # The number of seconds the vended session credentials are valid for.
1065
905
  # @return [Integer]
@@ -1104,21 +944,6 @@ module Aws::RolesAnywhere
1104
944
  include Aws::Structure
1105
945
  end
1106
946
 
1107
- # @note When making an API call, you may pass UpdateTrustAnchorRequest
1108
- # data as a hash:
1109
- #
1110
- # {
1111
- # name: "ResourceName",
1112
- # source: {
1113
- # source_data: {
1114
- # acm_pca_arn: "String",
1115
- # x509_certificate_data: "String",
1116
- # },
1117
- # source_type: "AWS_ACM_PCA", # accepts AWS_ACM_PCA, CERTIFICATE_BUNDLE, SELF_SIGNED_REPOSITORY
1118
- # },
1119
- # trust_anchor_id: "Uuid", # required
1120
- # }
1121
- #
1122
947
  # @!attribute [rw] name
1123
948
  # The name of the trust anchor.
1124
949
  # @return [String]
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-rolesanywhere/customizations'
52
52
  # @!group service
53
53
  module Aws::RolesAnywhere
54
54
 
55
- GEM_VERSION = '1.1.0'
55
+ GEM_VERSION = '1.2.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-rolesanywhere
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.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-10-25 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