aws-sdk-iam 1.78.0 → 1.79.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-iam/client.rb +12 -10
- data/lib/aws-sdk-iam/client_api.rb +8 -0
- data/lib/aws-sdk-iam/endpoint_provider.rb +11 -92
- data/lib/aws-sdk-iam/types.rb +1 -1
- data/lib/aws-sdk-iam/virtual_mfa_device.rb +1 -1
- data/lib/aws-sdk-iam.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 277e503c518515b6302d90ff175f2b55f941f1914e0a143cffea1109d900e0c7
|
|
4
|
+
data.tar.gz: fb4f5d0488eca761e987182e153b9a33e9d84f2b5de9949ed8c11650d33db637
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 17ae19639349cdfbda4d87289bc868376db482a89e8610b3f4241c7270df44757c5a21a9640d4b26efc3bcfbc9c94a46ff3a291e9f495ad1509d16e6d2bbdd6b
|
|
7
|
+
data.tar.gz: 6b11711cf6a6d79d62d334ed7ad342bc012be3aa95ca02c0072194265277cbedbd22db87752839ad3fde526b1f6ee467dea982561f9eb66c44f050654be6b3ee
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.79.0 (2023-06-06)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - This release updates the AccountAlias regex pattern with the same length restrictions enforced by the length constraint.
|
|
8
|
+
|
|
4
9
|
1.78.0 (2023-05-31)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.79.0
|
data/lib/aws-sdk-iam/client.rb
CHANGED
|
@@ -906,12 +906,13 @@ module Aws::IAM
|
|
|
906
906
|
end
|
|
907
907
|
|
|
908
908
|
# Creates an alias for your Amazon Web Services account. For information
|
|
909
|
-
# about using an Amazon Web Services account alias, see [
|
|
910
|
-
#
|
|
909
|
+
# about using an Amazon Web Services account alias, see [Creating,
|
|
910
|
+
# deleting, and listing an Amazon Web Services account alias][1] in the
|
|
911
|
+
# *Amazon Web Services Sign-In User Guide*.
|
|
911
912
|
#
|
|
912
913
|
#
|
|
913
914
|
#
|
|
914
|
-
# [1]: https://docs.aws.amazon.com/
|
|
915
|
+
# [1]: https://docs.aws.amazon.com/signin/latest/userguide/CreateAccountAlias.html
|
|
915
916
|
#
|
|
916
917
|
# @option params [required, String] :account_alias
|
|
917
918
|
# The account alias to create.
|
|
@@ -2541,12 +2542,12 @@ module Aws::IAM
|
|
|
2541
2542
|
|
|
2542
2543
|
# Deletes the specified Amazon Web Services account alias. For
|
|
2543
2544
|
# information about using an Amazon Web Services account alias, see
|
|
2544
|
-
# [
|
|
2545
|
-
# *
|
|
2545
|
+
# [Creating, deleting, and listing an Amazon Web Services account
|
|
2546
|
+
# alias][1] in the *Amazon Web Services Sign-In User Guide*.
|
|
2546
2547
|
#
|
|
2547
2548
|
#
|
|
2548
2549
|
#
|
|
2549
|
-
# [1]: https://docs.aws.amazon.com/
|
|
2550
|
+
# [1]: https://docs.aws.amazon.com/signin/latest/userguide/CreateAccountAlias.html
|
|
2550
2551
|
#
|
|
2551
2552
|
# @option params [required, String] :account_alias
|
|
2552
2553
|
# The name of the account alias to delete.
|
|
@@ -6359,12 +6360,13 @@ module Aws::IAM
|
|
|
6359
6360
|
|
|
6360
6361
|
# Lists the account alias associated with the Amazon Web Services
|
|
6361
6362
|
# account (Note: you can have only one). For information about using an
|
|
6362
|
-
# Amazon Web Services account alias, see [
|
|
6363
|
-
# Web Services account
|
|
6363
|
+
# Amazon Web Services account alias, see [Creating, deleting, and
|
|
6364
|
+
# listing an Amazon Web Services account alias][1] in the *Amazon Web
|
|
6365
|
+
# Services Sign-In User Guide*.
|
|
6364
6366
|
#
|
|
6365
6367
|
#
|
|
6366
6368
|
#
|
|
6367
|
-
# [1]: https://docs.aws.amazon.com/
|
|
6369
|
+
# [1]: https://docs.aws.amazon.com/signin/latest/userguide/CreateAccountAlias.html
|
|
6368
6370
|
#
|
|
6369
6371
|
# @option params [String] :marker
|
|
6370
6372
|
# Use this parameter only when paginating results and only after you
|
|
@@ -13353,7 +13355,7 @@ module Aws::IAM
|
|
|
13353
13355
|
params: params,
|
|
13354
13356
|
config: config)
|
|
13355
13357
|
context[:gem_name] = 'aws-sdk-iam'
|
|
13356
|
-
context[:gem_version] = '1.
|
|
13358
|
+
context[:gem_version] = '1.79.0'
|
|
13357
13359
|
Seahorse::Client::Request.new(handlers, context)
|
|
13358
13360
|
end
|
|
13359
13361
|
|
|
@@ -2217,6 +2217,7 @@ module Aws::IAM
|
|
|
2217
2217
|
o.http_request_uri = "/"
|
|
2218
2218
|
o.input = Shapes::ShapeRef.new(shape: CreateAccountAliasRequest)
|
|
2219
2219
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
2220
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
|
2220
2221
|
o.errors << Shapes::ShapeRef.new(shape: EntityAlreadyExistsException)
|
|
2221
2222
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
|
2222
2223
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
@@ -2387,6 +2388,7 @@ module Aws::IAM
|
|
|
2387
2388
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
|
|
2388
2389
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
|
2389
2390
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
2391
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
|
2390
2392
|
end)
|
|
2391
2393
|
|
|
2392
2394
|
api.add_operation(:delete_access_key, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -2406,6 +2408,7 @@ module Aws::IAM
|
|
|
2406
2408
|
o.http_request_uri = "/"
|
|
2407
2409
|
o.input = Shapes::ShapeRef.new(shape: DeleteAccountAliasRequest)
|
|
2408
2410
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
2411
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
|
2409
2412
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
|
|
2410
2413
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
|
2411
2414
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
@@ -2604,6 +2607,7 @@ module Aws::IAM
|
|
|
2604
2607
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
2605
2608
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
|
|
2606
2609
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
|
2610
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
|
2607
2611
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
2608
2612
|
end)
|
|
2609
2613
|
|
|
@@ -2651,6 +2655,7 @@ module Aws::IAM
|
|
|
2651
2655
|
o.errors << Shapes::ShapeRef.new(shape: DeleteConflictException)
|
|
2652
2656
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
|
2653
2657
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
2658
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
|
2654
2659
|
end)
|
|
2655
2660
|
|
|
2656
2661
|
api.add_operation(:detach_group_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -2702,6 +2707,7 @@ module Aws::IAM
|
|
|
2702
2707
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
|
2703
2708
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
|
|
2704
2709
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
2710
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
|
2705
2711
|
end)
|
|
2706
2712
|
|
|
2707
2713
|
api.add_operation(:generate_credential_report, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -3612,6 +3618,7 @@ module Aws::IAM
|
|
|
3612
3618
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
|
|
3613
3619
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
|
3614
3620
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
3621
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
|
3615
3622
|
end)
|
|
3616
3623
|
|
|
3617
3624
|
api.add_operation(:set_default_policy_version, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -4069,6 +4076,7 @@ module Aws::IAM
|
|
|
4069
4076
|
o.errors << Shapes::ShapeRef.new(shape: InvalidCertificateException)
|
|
4070
4077
|
o.errors << Shapes::ShapeRef.new(shape: DuplicateCertificateException)
|
|
4071
4078
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
|
|
4079
|
+
o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
|
|
4072
4080
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
|
4073
4081
|
end)
|
|
4074
4082
|
end
|
|
@@ -25,85 +25,25 @@ module Aws::IAM
|
|
|
25
25
|
end
|
|
26
26
|
if Aws::Endpoints::Matchers.set?(region)
|
|
27
27
|
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
|
28
|
-
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws")
|
|
29
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
30
|
-
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"))
|
|
31
|
-
return Aws::Endpoints::Endpoint.new(url: "https://iam-fips.#{region}.api.aws", headers: {}, properties: {})
|
|
32
|
-
end
|
|
33
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
|
34
|
-
end
|
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
|
36
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
|
37
|
-
return Aws::Endpoints::Endpoint.new(url: "https://iam-fips.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"iam", "signingRegion"=>"us-east-1"}]})
|
|
38
|
-
end
|
|
39
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
|
40
|
-
end
|
|
41
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
42
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
|
43
|
-
return Aws::Endpoints::Endpoint.new(url: "https://iam.#{region}.api.aws", headers: {}, properties: {})
|
|
44
|
-
end
|
|
45
|
-
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
|
46
|
-
end
|
|
28
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
|
|
47
29
|
return Aws::Endpoints::Endpoint.new(url: "https://iam.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"iam", "signingRegion"=>"us-east-1"}]})
|
|
48
30
|
end
|
|
49
|
-
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
end
|
|
54
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
|
55
|
-
end
|
|
56
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
|
57
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
|
58
|
-
return Aws::Endpoints::Endpoint.new(url: "https://iam-fips.#{region}.amazonaws.com.cn", headers: {}, properties: {})
|
|
59
|
-
end
|
|
60
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
|
61
|
-
end
|
|
62
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
63
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
|
64
|
-
return Aws::Endpoints::Endpoint.new(url: "https://iam.#{region}.api.amazonwebservices.com.cn", headers: {}, properties: {})
|
|
65
|
-
end
|
|
66
|
-
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
|
67
|
-
end
|
|
31
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
|
|
32
|
+
return Aws::Endpoints::Endpoint.new(url: "https://iam-fips.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"iam", "signingRegion"=>"us-east-1"}]})
|
|
33
|
+
end
|
|
34
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-cn") && Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
|
|
68
35
|
return Aws::Endpoints::Endpoint.new(url: "https://iam.cn-north-1.amazonaws.com.cn", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"iam", "signingRegion"=>"cn-north-1"}]})
|
|
69
36
|
end
|
|
70
|
-
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
|
|
71
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
72
|
-
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"))
|
|
73
|
-
return Aws::Endpoints::Endpoint.new(url: "https://iam-fips.#{region}.api.aws", headers: {}, properties: {})
|
|
74
|
-
end
|
|
75
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
|
76
|
-
end
|
|
77
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
|
78
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
|
79
|
-
return Aws::Endpoints::Endpoint.new(url: "https://iam.us-gov.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"iam", "signingRegion"=>"us-gov-west-1"}]})
|
|
80
|
-
end
|
|
81
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
|
82
|
-
end
|
|
83
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
84
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
|
85
|
-
return Aws::Endpoints::Endpoint.new(url: "https://iam.#{region}.api.aws", headers: {}, properties: {})
|
|
86
|
-
end
|
|
87
|
-
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
|
88
|
-
end
|
|
37
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") && Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
|
|
89
38
|
return Aws::Endpoints::Endpoint.new(url: "https://iam.us-gov.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"iam", "signingRegion"=>"us-gov-west-1"}]})
|
|
90
39
|
end
|
|
91
|
-
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
end
|
|
96
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
|
97
|
-
end
|
|
40
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") && Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
|
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://iam.us-gov.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"iam", "signingRegion"=>"us-gov-west-1"}]})
|
|
42
|
+
end
|
|
43
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso") && Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
|
|
98
44
|
return Aws::Endpoints::Endpoint.new(url: "https://iam.us-iso-east-1.c2s.ic.gov", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"iam", "signingRegion"=>"us-iso-east-1"}]})
|
|
99
45
|
end
|
|
100
|
-
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso-b")
|
|
101
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
|
102
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
|
103
|
-
return Aws::Endpoints::Endpoint.new(url: "https://iam-fips.#{region}.sc2s.sgov.gov", headers: {}, properties: {})
|
|
104
|
-
end
|
|
105
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
|
106
|
-
end
|
|
46
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso-b") && Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
|
|
107
47
|
return Aws::Endpoints::Endpoint.new(url: "https://iam.us-isob-east-1.sc2s.sgov.gov", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"iam", "signingRegion"=>"us-isob-east-1"}]})
|
|
108
48
|
end
|
|
109
49
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
@@ -114,12 +54,6 @@ module Aws::IAM
|
|
|
114
54
|
end
|
|
115
55
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
|
116
56
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
|
117
|
-
if Aws::Endpoints::Matchers.string_equals?(region, "aws-global")
|
|
118
|
-
return Aws::Endpoints::Endpoint.new(url: "https://iam-fips.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"iam", "signingRegion"=>"us-east-1"}]})
|
|
119
|
-
end
|
|
120
|
-
if Aws::Endpoints::Matchers.string_equals?(region, "aws-us-gov-global")
|
|
121
|
-
return Aws::Endpoints::Endpoint.new(url: "https://iam.us-gov.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"iam", "signingRegion"=>"us-gov-west-1"}]})
|
|
122
|
-
end
|
|
123
57
|
return Aws::Endpoints::Endpoint.new(url: "https://iam-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
124
58
|
end
|
|
125
59
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
|
@@ -130,21 +64,6 @@ module Aws::IAM
|
|
|
130
64
|
end
|
|
131
65
|
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
|
132
66
|
end
|
|
133
|
-
if Aws::Endpoints::Matchers.string_equals?(region, "aws-global")
|
|
134
|
-
return Aws::Endpoints::Endpoint.new(url: "https://iam.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"iam", "signingRegion"=>"us-east-1"}]})
|
|
135
|
-
end
|
|
136
|
-
if Aws::Endpoints::Matchers.string_equals?(region, "aws-cn-global")
|
|
137
|
-
return Aws::Endpoints::Endpoint.new(url: "https://iam.cn-north-1.amazonaws.com.cn", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"iam", "signingRegion"=>"cn-north-1"}]})
|
|
138
|
-
end
|
|
139
|
-
if Aws::Endpoints::Matchers.string_equals?(region, "aws-us-gov-global")
|
|
140
|
-
return Aws::Endpoints::Endpoint.new(url: "https://iam.us-gov.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"iam", "signingRegion"=>"us-gov-west-1"}]})
|
|
141
|
-
end
|
|
142
|
-
if Aws::Endpoints::Matchers.string_equals?(region, "aws-iso-global")
|
|
143
|
-
return Aws::Endpoints::Endpoint.new(url: "https://iam.us-iso-east-1.c2s.ic.gov", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"iam", "signingRegion"=>"us-iso-east-1"}]})
|
|
144
|
-
end
|
|
145
|
-
if Aws::Endpoints::Matchers.string_equals?(region, "aws-iso-b-global")
|
|
146
|
-
return Aws::Endpoints::Endpoint.new(url: "https://iam.us-isob-east-1.sc2s.sgov.gov", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"iam", "signingRegion"=>"us-isob-east-1"}]})
|
|
147
|
-
end
|
|
148
67
|
return Aws::Endpoints::Endpoint.new(url: "https://iam.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
149
68
|
end
|
|
150
69
|
end
|
data/lib/aws-sdk-iam/types.rb
CHANGED
|
@@ -11835,7 +11835,7 @@ module Aws::IAM
|
|
|
11835
11835
|
#
|
|
11836
11836
|
# @!attribute [rw] base_32_string_seed
|
|
11837
11837
|
# The base32 seed defined as specified in [RFC3548][1]. The
|
|
11838
|
-
# `Base32StringSeed` is
|
|
11838
|
+
# `Base32StringSeed` is base32-encoded.
|
|
11839
11839
|
#
|
|
11840
11840
|
#
|
|
11841
11841
|
#
|
data/lib/aws-sdk-iam.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-iam
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.79.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: 2023-
|
|
11
|
+
date: 2023-06-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|