aws-sdk-iam 1.134.0 → 1.135.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 +67 -1
- data/lib/aws-sdk-iam/client_api.rb +46 -0
- data/lib/aws-sdk-iam/errors.rb +38 -0
- data/lib/aws-sdk-iam/types.rb +72 -0
- data/lib/aws-sdk-iam.rb +1 -1
- data/sig/client.rbs +21 -0
- data/sig/errors.rbs +6 -0
- data/sig/types.rbs +21 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bdc3168c4c4ce65d294720e3b374dcbbfe002068530d5980223b12ed6d6faaf3
|
|
4
|
+
data.tar.gz: 03bbe33c11ce8256b7445bde352739d26b4fd1b6cabb50230cac3afde75f57b3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 52714681b8597efbfabfe2860cbc2214d76f1082433c16d5aeb3d128cd28d51e792080e12fc1a65b94c5279ea7d21639f353663f6c4737a8f5c26838d73e78ae
|
|
7
|
+
data.tar.gz: 4eed0b90758976f28770cab235dc9c82bf9aa762f7d8e44110f34e8399beb53fd188e86dc677f8820c0a6f9b1ed641f302c3d63dbc88915a5e28d07c196d888a
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.135.0 (2025-11-19)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Added the EnableOutboundWebIdentityFederation, DisableOutboundWebIdentityFederation and GetOutboundWebIdentityFederationInfo APIs for the IAM outbound federation feature.
|
|
8
|
+
|
|
4
9
|
1.134.0 (2025-11-18)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.135.0
|
data/lib/aws-sdk-iam/client.rb
CHANGED
|
@@ -4290,6 +4290,23 @@ module Aws::IAM
|
|
|
4290
4290
|
req.send_request(options)
|
|
4291
4291
|
end
|
|
4292
4292
|
|
|
4293
|
+
# Disables the outbound identity federation feature for your Amazon Web
|
|
4294
|
+
# Services account. When disabled, IAM principals in the account cannot
|
|
4295
|
+
# use the `GetWebIdentityToken` API to obtain JSON Web Tokens (JWTs) for
|
|
4296
|
+
# authentication with external services. This operation does not affect
|
|
4297
|
+
# tokens that were issued before the feature was disabled.
|
|
4298
|
+
#
|
|
4299
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
4300
|
+
#
|
|
4301
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DisableOutboundWebIdentityFederation AWS API Documentation
|
|
4302
|
+
#
|
|
4303
|
+
# @overload disable_outbound_web_identity_federation(params = {})
|
|
4304
|
+
# @param [Hash] params ({})
|
|
4305
|
+
def disable_outbound_web_identity_federation(params = {}, options = {})
|
|
4306
|
+
req = build_request(:disable_outbound_web_identity_federation, params)
|
|
4307
|
+
req.send_request(options)
|
|
4308
|
+
end
|
|
4309
|
+
|
|
4293
4310
|
# Enables the specified MFA device and associates it with the specified
|
|
4294
4311
|
# IAM user. When enabled, the MFA device is required for every
|
|
4295
4312
|
# subsequent login by the IAM user associated with the device.
|
|
@@ -4489,6 +4506,29 @@ module Aws::IAM
|
|
|
4489
4506
|
req.send_request(options)
|
|
4490
4507
|
end
|
|
4491
4508
|
|
|
4509
|
+
# Enables the outbound identity federation feature for your Amazon Web
|
|
4510
|
+
# Services account. When enabled, IAM principals in your account can use
|
|
4511
|
+
# the `GetWebIdentityToken` API to obtain JSON Web Tokens (JWTs) for
|
|
4512
|
+
# secure authentication with external services. This operation also
|
|
4513
|
+
# generates a unique issuer URL for your Amazon Web Services account.
|
|
4514
|
+
#
|
|
4515
|
+
# @return [Types::EnableOutboundWebIdentityFederationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4516
|
+
#
|
|
4517
|
+
# * {Types::EnableOutboundWebIdentityFederationResponse#issuer_identifier #issuer_identifier} => String
|
|
4518
|
+
#
|
|
4519
|
+
# @example Response structure
|
|
4520
|
+
#
|
|
4521
|
+
# resp.issuer_identifier #=> String
|
|
4522
|
+
#
|
|
4523
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/EnableOutboundWebIdentityFederation AWS API Documentation
|
|
4524
|
+
#
|
|
4525
|
+
# @overload enable_outbound_web_identity_federation(params = {})
|
|
4526
|
+
# @param [Hash] params ({})
|
|
4527
|
+
def enable_outbound_web_identity_federation(params = {}, options = {})
|
|
4528
|
+
req = build_request(:enable_outbound_web_identity_federation, params)
|
|
4529
|
+
req.send_request(options)
|
|
4530
|
+
end
|
|
4531
|
+
|
|
4492
4532
|
# Generates a credential report for the Amazon Web Services account. For
|
|
4493
4533
|
# more information about the credential report, see [Getting credential
|
|
4494
4534
|
# reports][1] in the *IAM User Guide*.
|
|
@@ -6081,6 +6121,32 @@ module Aws::IAM
|
|
|
6081
6121
|
req.send_request(options)
|
|
6082
6122
|
end
|
|
6083
6123
|
|
|
6124
|
+
# Retrieves the configuration information for the outbound identity
|
|
6125
|
+
# federation feature in your Amazon Web Services account. The response
|
|
6126
|
+
# includes the unique issuer URL for your Amazon Web Services account
|
|
6127
|
+
# and the current enabled/disabled status of the feature. Use this
|
|
6128
|
+
# operation to obtain the issuer URL that you need to configure trust
|
|
6129
|
+
# relationships with external services.
|
|
6130
|
+
#
|
|
6131
|
+
# @return [Types::GetOutboundWebIdentityFederationInfoResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
6132
|
+
#
|
|
6133
|
+
# * {Types::GetOutboundWebIdentityFederationInfoResponse#issuer_identifier #issuer_identifier} => String
|
|
6134
|
+
# * {Types::GetOutboundWebIdentityFederationInfoResponse#jwt_vending_enabled #jwt_vending_enabled} => Boolean
|
|
6135
|
+
#
|
|
6136
|
+
# @example Response structure
|
|
6137
|
+
#
|
|
6138
|
+
# resp.issuer_identifier #=> String
|
|
6139
|
+
# resp.jwt_vending_enabled #=> Boolean
|
|
6140
|
+
#
|
|
6141
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetOutboundWebIdentityFederationInfo AWS API Documentation
|
|
6142
|
+
#
|
|
6143
|
+
# @overload get_outbound_web_identity_federation_info(params = {})
|
|
6144
|
+
# @param [Hash] params ({})
|
|
6145
|
+
def get_outbound_web_identity_federation_info(params = {}, options = {})
|
|
6146
|
+
req = build_request(:get_outbound_web_identity_federation_info, params)
|
|
6147
|
+
req.send_request(options)
|
|
6148
|
+
end
|
|
6149
|
+
|
|
6084
6150
|
# Retrieves information about the specified managed policy, including
|
|
6085
6151
|
# the policy's default version and the total number of IAM users,
|
|
6086
6152
|
# groups, and roles to which the policy is attached. To retrieve the
|
|
@@ -14623,7 +14689,7 @@ module Aws::IAM
|
|
|
14623
14689
|
tracer: tracer
|
|
14624
14690
|
)
|
|
14625
14691
|
context[:gem_name] = 'aws-sdk-iam'
|
|
14626
|
-
context[:gem_version] = '1.
|
|
14692
|
+
context[:gem_version] = '1.135.0'
|
|
14627
14693
|
Seahorse::Client::Request.new(handlers, context)
|
|
14628
14694
|
end
|
|
14629
14695
|
|
|
@@ -126,6 +126,7 @@ module Aws::IAM
|
|
|
126
126
|
EnableOrganizationsRootCredentialsManagementResponse = Shapes::StructureShape.new(name: 'EnableOrganizationsRootCredentialsManagementResponse')
|
|
127
127
|
EnableOrganizationsRootSessionsRequest = Shapes::StructureShape.new(name: 'EnableOrganizationsRootSessionsRequest')
|
|
128
128
|
EnableOrganizationsRootSessionsResponse = Shapes::StructureShape.new(name: 'EnableOrganizationsRootSessionsResponse')
|
|
129
|
+
EnableOutboundWebIdentityFederationResponse = Shapes::StructureShape.new(name: 'EnableOutboundWebIdentityFederationResponse')
|
|
129
130
|
EntityAlreadyExistsException = Shapes::StructureShape.new(name: 'EntityAlreadyExistsException', error: {"code" => "EntityAlreadyExists", "httpStatusCode" => 409, "senderFault" => true})
|
|
130
131
|
EntityDetails = Shapes::StructureShape.new(name: 'EntityDetails')
|
|
131
132
|
EntityInfo = Shapes::StructureShape.new(name: 'EntityInfo')
|
|
@@ -136,6 +137,10 @@ module Aws::IAM
|
|
|
136
137
|
EvalDecisionSourceType = Shapes::StringShape.new(name: 'EvalDecisionSourceType')
|
|
137
138
|
EvaluationResult = Shapes::StructureShape.new(name: 'EvaluationResult')
|
|
138
139
|
EvaluationResultsListType = Shapes::ListShape.new(name: 'EvaluationResultsListType')
|
|
140
|
+
FeatureDisabledException = Shapes::StructureShape.new(name: 'FeatureDisabledException', error: {"code" => "FeatureDisabled", "httpStatusCode" => 404, "senderFault" => true})
|
|
141
|
+
FeatureDisabledMessage = Shapes::StringShape.new(name: 'FeatureDisabledMessage')
|
|
142
|
+
FeatureEnabledException = Shapes::StructureShape.new(name: 'FeatureEnabledException', error: {"code" => "FeatureEnabled", "httpStatusCode" => 409, "senderFault" => true})
|
|
143
|
+
FeatureEnabledMessage = Shapes::StringShape.new(name: 'FeatureEnabledMessage')
|
|
139
144
|
FeatureType = Shapes::StringShape.new(name: 'FeatureType')
|
|
140
145
|
FeaturesListType = Shapes::ListShape.new(name: 'FeaturesListType')
|
|
141
146
|
GenerateCredentialReportResponse = Shapes::StructureShape.new(name: 'GenerateCredentialReportResponse')
|
|
@@ -171,6 +176,7 @@ module Aws::IAM
|
|
|
171
176
|
GetOpenIDConnectProviderResponse = Shapes::StructureShape.new(name: 'GetOpenIDConnectProviderResponse')
|
|
172
177
|
GetOrganizationsAccessReportRequest = Shapes::StructureShape.new(name: 'GetOrganizationsAccessReportRequest')
|
|
173
178
|
GetOrganizationsAccessReportResponse = Shapes::StructureShape.new(name: 'GetOrganizationsAccessReportResponse')
|
|
179
|
+
GetOutboundWebIdentityFederationInfoResponse = Shapes::StructureShape.new(name: 'GetOutboundWebIdentityFederationInfoResponse')
|
|
174
180
|
GetPolicyRequest = Shapes::StructureShape.new(name: 'GetPolicyRequest')
|
|
175
181
|
GetPolicyResponse = Shapes::StructureShape.new(name: 'GetPolicyResponse')
|
|
176
182
|
GetPolicyVersionRequest = Shapes::StructureShape.new(name: 'GetPolicyVersionRequest')
|
|
@@ -976,6 +982,9 @@ module Aws::IAM
|
|
|
976
982
|
EnableOrganizationsRootSessionsResponse.add_member(:enabled_features, Shapes::ShapeRef.new(shape: FeaturesListType, location_name: "EnabledFeatures"))
|
|
977
983
|
EnableOrganizationsRootSessionsResponse.struct_class = Types::EnableOrganizationsRootSessionsResponse
|
|
978
984
|
|
|
985
|
+
EnableOutboundWebIdentityFederationResponse.add_member(:issuer_identifier, Shapes::ShapeRef.new(shape: stringType, location_name: "IssuerIdentifier"))
|
|
986
|
+
EnableOutboundWebIdentityFederationResponse.struct_class = Types::EnableOutboundWebIdentityFederationResponse
|
|
987
|
+
|
|
979
988
|
EntityAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: entityAlreadyExistsMessage, location_name: "message"))
|
|
980
989
|
EntityAlreadyExistsException.struct_class = Types::EntityAlreadyExistsException
|
|
981
990
|
|
|
@@ -1013,6 +1022,12 @@ module Aws::IAM
|
|
|
1013
1022
|
|
|
1014
1023
|
EvaluationResultsListType.member = Shapes::ShapeRef.new(shape: EvaluationResult)
|
|
1015
1024
|
|
|
1025
|
+
FeatureDisabledException.add_member(:message, Shapes::ShapeRef.new(shape: FeatureDisabledMessage, location_name: "message"))
|
|
1026
|
+
FeatureDisabledException.struct_class = Types::FeatureDisabledException
|
|
1027
|
+
|
|
1028
|
+
FeatureEnabledException.add_member(:message, Shapes::ShapeRef.new(shape: FeatureEnabledMessage, location_name: "message"))
|
|
1029
|
+
FeatureEnabledException.struct_class = Types::FeatureEnabledException
|
|
1030
|
+
|
|
1016
1031
|
FeaturesListType.member = Shapes::ShapeRef.new(shape: FeatureType)
|
|
1017
1032
|
|
|
1018
1033
|
GenerateCredentialReportResponse.add_member(:state, Shapes::ShapeRef.new(shape: ReportStateType, location_name: "State"))
|
|
@@ -1161,6 +1176,10 @@ module Aws::IAM
|
|
|
1161
1176
|
GetOrganizationsAccessReportResponse.add_member(:error_details, Shapes::ShapeRef.new(shape: ErrorDetails, location_name: "ErrorDetails"))
|
|
1162
1177
|
GetOrganizationsAccessReportResponse.struct_class = Types::GetOrganizationsAccessReportResponse
|
|
1163
1178
|
|
|
1179
|
+
GetOutboundWebIdentityFederationInfoResponse.add_member(:issuer_identifier, Shapes::ShapeRef.new(shape: stringType, location_name: "IssuerIdentifier"))
|
|
1180
|
+
GetOutboundWebIdentityFederationInfoResponse.add_member(:jwt_vending_enabled, Shapes::ShapeRef.new(shape: booleanType, location_name: "JwtVendingEnabled"))
|
|
1181
|
+
GetOutboundWebIdentityFederationInfoResponse.struct_class = Types::GetOutboundWebIdentityFederationInfoResponse
|
|
1182
|
+
|
|
1164
1183
|
GetPolicyRequest.add_member(:policy_arn, Shapes::ShapeRef.new(shape: arnType, required: true, location_name: "PolicyArn"))
|
|
1165
1184
|
GetPolicyRequest.struct_class = Types::GetPolicyRequest
|
|
1166
1185
|
|
|
@@ -3016,6 +3035,15 @@ module Aws::IAM
|
|
|
3016
3035
|
o.errors << Shapes::ShapeRef.new(shape: OrganizationNotInAllFeaturesModeException)
|
|
3017
3036
|
end)
|
|
3018
3037
|
|
|
3038
|
+
api.add_operation(:disable_outbound_web_identity_federation, Seahorse::Model::Operation.new.tap do |o|
|
|
3039
|
+
o.name = "DisableOutboundWebIdentityFederation"
|
|
3040
|
+
o.http_method = "POST"
|
|
3041
|
+
o.http_request_uri = "/"
|
|
3042
|
+
o.input = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
3043
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
3044
|
+
o.errors << Shapes::ShapeRef.new(shape: FeatureDisabledException)
|
|
3045
|
+
end)
|
|
3046
|
+
|
|
3019
3047
|
api.add_operation(:enable_mfa_device, Seahorse::Model::Operation.new.tap do |o|
|
|
3020
3048
|
o.name = "EnableMFADevice"
|
|
3021
3049
|
o.http_method = "POST"
|
|
@@ -3057,6 +3085,15 @@ module Aws::IAM
|
|
|
3057
3085
|
o.errors << Shapes::ShapeRef.new(shape: CallerIsNotManagementAccountException)
|
|
3058
3086
|
end)
|
|
3059
3087
|
|
|
3088
|
+
api.add_operation(:enable_outbound_web_identity_federation, Seahorse::Model::Operation.new.tap do |o|
|
|
3089
|
+
o.name = "EnableOutboundWebIdentityFederation"
|
|
3090
|
+
o.http_method = "POST"
|
|
3091
|
+
o.http_request_uri = "/"
|
|
3092
|
+
o.input = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
3093
|
+
o.output = Shapes::ShapeRef.new(shape: EnableOutboundWebIdentityFederationResponse)
|
|
3094
|
+
o.errors << Shapes::ShapeRef.new(shape: FeatureEnabledException)
|
|
3095
|
+
end)
|
|
3096
|
+
|
|
3060
3097
|
api.add_operation(:generate_credential_report, Seahorse::Model::Operation.new.tap do |o|
|
|
3061
3098
|
o.name = "GenerateCredentialReport"
|
|
3062
3099
|
o.http_method = "POST"
|
|
@@ -3258,6 +3295,15 @@ module Aws::IAM
|
|
|
3258
3295
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
|
|
3259
3296
|
end)
|
|
3260
3297
|
|
|
3298
|
+
api.add_operation(:get_outbound_web_identity_federation_info, Seahorse::Model::Operation.new.tap do |o|
|
|
3299
|
+
o.name = "GetOutboundWebIdentityFederationInfo"
|
|
3300
|
+
o.http_method = "POST"
|
|
3301
|
+
o.http_request_uri = "/"
|
|
3302
|
+
o.input = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
3303
|
+
o.output = Shapes::ShapeRef.new(shape: GetOutboundWebIdentityFederationInfoResponse)
|
|
3304
|
+
o.errors << Shapes::ShapeRef.new(shape: FeatureDisabledException)
|
|
3305
|
+
end)
|
|
3306
|
+
|
|
3261
3307
|
api.add_operation(:get_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
3262
3308
|
o.name = "GetPolicy"
|
|
3263
3309
|
o.http_method = "POST"
|
data/lib/aws-sdk-iam/errors.rb
CHANGED
|
@@ -47,6 +47,10 @@ module Aws::IAM
|
|
|
47
47
|
# * This error class is not used. `EntityAlreadyExists` is used during parsing instead.
|
|
48
48
|
# * {EntityTemporarilyUnmodifiableException}
|
|
49
49
|
# * This error class is not used. `EntityTemporarilyUnmodifiable` is used during parsing instead.
|
|
50
|
+
# * {FeatureDisabledException}
|
|
51
|
+
# * This error class is not used. `FeatureDisabled` is used during parsing instead.
|
|
52
|
+
# * {FeatureEnabledException}
|
|
53
|
+
# * This error class is not used. `FeatureEnabled` is used during parsing instead.
|
|
50
54
|
# * {InvalidAuthenticationCodeException}
|
|
51
55
|
# * This error class is not used. `InvalidAuthenticationCode` is used during parsing instead.
|
|
52
56
|
# * {InvalidCertificateException}
|
|
@@ -268,6 +272,40 @@ module Aws::IAM
|
|
|
268
272
|
end
|
|
269
273
|
end
|
|
270
274
|
|
|
275
|
+
# @deprecated This error class is not used during parsing.
|
|
276
|
+
# Please use `FeatureDisabled` instead.
|
|
277
|
+
class FeatureDisabledException < ServiceError
|
|
278
|
+
|
|
279
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
280
|
+
# @param [String] message
|
|
281
|
+
# @param [Aws::IAM::Types::FeatureDisabledException] data
|
|
282
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
283
|
+
super(context, message, data)
|
|
284
|
+
end
|
|
285
|
+
|
|
286
|
+
# @return [String]
|
|
287
|
+
def message
|
|
288
|
+
@message || @data[:message]
|
|
289
|
+
end
|
|
290
|
+
end
|
|
291
|
+
|
|
292
|
+
# @deprecated This error class is not used during parsing.
|
|
293
|
+
# Please use `FeatureEnabled` instead.
|
|
294
|
+
class FeatureEnabledException < ServiceError
|
|
295
|
+
|
|
296
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
297
|
+
# @param [String] message
|
|
298
|
+
# @param [Aws::IAM::Types::FeatureEnabledException] data
|
|
299
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
300
|
+
super(context, message, data)
|
|
301
|
+
end
|
|
302
|
+
|
|
303
|
+
# @return [String]
|
|
304
|
+
def message
|
|
305
|
+
@message || @data[:message]
|
|
306
|
+
end
|
|
307
|
+
end
|
|
308
|
+
|
|
271
309
|
# @deprecated This error class is not used during parsing.
|
|
272
310
|
# Please use `InvalidAuthenticationCode` instead.
|
|
273
311
|
class InvalidAuthenticationCodeException < ServiceError
|
data/lib/aws-sdk-iam/types.rb
CHANGED
|
@@ -3145,6 +3145,22 @@ module Aws::IAM
|
|
|
3145
3145
|
include Aws::Structure
|
|
3146
3146
|
end
|
|
3147
3147
|
|
|
3148
|
+
# @!attribute [rw] issuer_identifier
|
|
3149
|
+
# A unique issuer URL for your Amazon Web Services account that hosts
|
|
3150
|
+
# the OpenID Connect (OIDC) discovery endpoints at
|
|
3151
|
+
# `/.well-known/openid-configuration and /.well-known/jwks.json`. The
|
|
3152
|
+
# OpenID Connect (OIDC) discovery endpoints contain verification keys
|
|
3153
|
+
# and metadata necessary for token verification.
|
|
3154
|
+
# @return [String]
|
|
3155
|
+
#
|
|
3156
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/EnableOutboundWebIdentityFederationResponse AWS API Documentation
|
|
3157
|
+
#
|
|
3158
|
+
class EnableOutboundWebIdentityFederationResponse < Struct.new(
|
|
3159
|
+
:issuer_identifier)
|
|
3160
|
+
SENSITIVE = []
|
|
3161
|
+
include Aws::Structure
|
|
3162
|
+
end
|
|
3163
|
+
|
|
3148
3164
|
# The request was rejected because it attempted to create a resource
|
|
3149
3165
|
# that already exists.
|
|
3150
3166
|
#
|
|
@@ -3401,6 +3417,38 @@ module Aws::IAM
|
|
|
3401
3417
|
include Aws::Structure
|
|
3402
3418
|
end
|
|
3403
3419
|
|
|
3420
|
+
# The request failed because outbound identity federation is already
|
|
3421
|
+
# disabled for your Amazon Web Services account. You cannot disable the
|
|
3422
|
+
# feature multiple times
|
|
3423
|
+
#
|
|
3424
|
+
# @!attribute [rw] message
|
|
3425
|
+
# @return [String]
|
|
3426
|
+
#
|
|
3427
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/FeatureDisabledException AWS API Documentation
|
|
3428
|
+
#
|
|
3429
|
+
class FeatureDisabledException < Struct.new(
|
|
3430
|
+
:message)
|
|
3431
|
+
SENSITIVE = []
|
|
3432
|
+
include Aws::Structure
|
|
3433
|
+
end
|
|
3434
|
+
|
|
3435
|
+
# The request failed because outbound identity federation is already
|
|
3436
|
+
# enabled for your Amazon Web Services account. You cannot enable the
|
|
3437
|
+
# feature multiple times. To fetch the current configuration (including
|
|
3438
|
+
# the unique issuer URL), use the `GetOutboundWebIdentityFederationInfo`
|
|
3439
|
+
# operation.
|
|
3440
|
+
#
|
|
3441
|
+
# @!attribute [rw] message
|
|
3442
|
+
# @return [String]
|
|
3443
|
+
#
|
|
3444
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/FeatureEnabledException AWS API Documentation
|
|
3445
|
+
#
|
|
3446
|
+
class FeatureEnabledException < Struct.new(
|
|
3447
|
+
:message)
|
|
3448
|
+
SENSITIVE = []
|
|
3449
|
+
include Aws::Structure
|
|
3450
|
+
end
|
|
3451
|
+
|
|
3404
3452
|
# Contains the response to a successful [GenerateCredentialReport][1]
|
|
3405
3453
|
# request.
|
|
3406
3454
|
#
|
|
@@ -4467,6 +4515,30 @@ module Aws::IAM
|
|
|
4467
4515
|
include Aws::Structure
|
|
4468
4516
|
end
|
|
4469
4517
|
|
|
4518
|
+
# @!attribute [rw] issuer_identifier
|
|
4519
|
+
# A unique issuer URL for your Amazon Web Services account that hosts
|
|
4520
|
+
# the OpenID Connect (OIDC) discovery endpoints at
|
|
4521
|
+
# `/.well-known/openid-configuration and /.well-known/jwks.json`. The
|
|
4522
|
+
# OpenID Connect (OIDC) discovery endpoints contain verification keys
|
|
4523
|
+
# and metadata necessary for token verification.
|
|
4524
|
+
# @return [String]
|
|
4525
|
+
#
|
|
4526
|
+
# @!attribute [rw] jwt_vending_enabled
|
|
4527
|
+
# Indicates whether outbound identity federation is currently enabled
|
|
4528
|
+
# for your Amazon Web Services account. When true, IAM principals in
|
|
4529
|
+
# the account can call the `GetWebIdentityToken` API to obtain JSON
|
|
4530
|
+
# Web Tokens (JWTs) for authentication with external services.
|
|
4531
|
+
# @return [Boolean]
|
|
4532
|
+
#
|
|
4533
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetOutboundWebIdentityFederationInfoResponse AWS API Documentation
|
|
4534
|
+
#
|
|
4535
|
+
class GetOutboundWebIdentityFederationInfoResponse < Struct.new(
|
|
4536
|
+
:issuer_identifier,
|
|
4537
|
+
:jwt_vending_enabled)
|
|
4538
|
+
SENSITIVE = []
|
|
4539
|
+
include Aws::Structure
|
|
4540
|
+
end
|
|
4541
|
+
|
|
4470
4542
|
# @!attribute [rw] policy_arn
|
|
4471
4543
|
# The Amazon Resource Name (ARN) of the managed policy that you want
|
|
4472
4544
|
# information about.
|
data/lib/aws-sdk-iam.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -569,6 +569,10 @@ module Aws
|
|
|
569
569
|
) -> _DisableOrganizationsRootSessionsResponseSuccess
|
|
570
570
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisableOrganizationsRootSessionsResponseSuccess
|
|
571
571
|
|
|
572
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#disable_outbound_web_identity_federation-instance_method
|
|
573
|
+
def disable_outbound_web_identity_federation: () -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
574
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
575
|
+
|
|
572
576
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#enable_mfa_device-instance_method
|
|
573
577
|
def enable_mfa_device: (
|
|
574
578
|
user_name: ::String,
|
|
@@ -598,6 +602,14 @@ module Aws
|
|
|
598
602
|
) -> _EnableOrganizationsRootSessionsResponseSuccess
|
|
599
603
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnableOrganizationsRootSessionsResponseSuccess
|
|
600
604
|
|
|
605
|
+
interface _EnableOutboundWebIdentityFederationResponseSuccess
|
|
606
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::EnableOutboundWebIdentityFederationResponse]
|
|
607
|
+
def issuer_identifier: () -> ::String
|
|
608
|
+
end
|
|
609
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#enable_outbound_web_identity_federation-instance_method
|
|
610
|
+
def enable_outbound_web_identity_federation: () -> _EnableOutboundWebIdentityFederationResponseSuccess
|
|
611
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnableOutboundWebIdentityFederationResponseSuccess
|
|
612
|
+
|
|
601
613
|
interface _GenerateCredentialReportResponseSuccess
|
|
602
614
|
include ::Seahorse::Client::_ResponseSuccess[Types::GenerateCredentialReportResponse]
|
|
603
615
|
def state: () -> ("STARTED" | "INPROGRESS" | "COMPLETE")
|
|
@@ -827,6 +839,15 @@ module Aws
|
|
|
827
839
|
) -> _GetOrganizationsAccessReportResponseSuccess
|
|
828
840
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetOrganizationsAccessReportResponseSuccess
|
|
829
841
|
|
|
842
|
+
interface _GetOutboundWebIdentityFederationInfoResponseSuccess
|
|
843
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetOutboundWebIdentityFederationInfoResponse]
|
|
844
|
+
def issuer_identifier: () -> ::String
|
|
845
|
+
def jwt_vending_enabled: () -> bool
|
|
846
|
+
end
|
|
847
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IAM/Client.html#get_outbound_web_identity_federation_info-instance_method
|
|
848
|
+
def get_outbound_web_identity_federation_info: () -> _GetOutboundWebIdentityFederationInfoResponseSuccess
|
|
849
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetOutboundWebIdentityFederationInfoResponseSuccess
|
|
850
|
+
|
|
830
851
|
interface _GetPolicyResponseSuccess
|
|
831
852
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetPolicyResponse]
|
|
832
853
|
def policy: () -> Types::Policy
|
data/sig/errors.rbs
CHANGED
|
@@ -42,6 +42,12 @@ module Aws
|
|
|
42
42
|
class EntityTemporarilyUnmodifiableException < ::Aws::Errors::ServiceError
|
|
43
43
|
def message: () -> ::String
|
|
44
44
|
end
|
|
45
|
+
class FeatureDisabledException < ::Aws::Errors::ServiceError
|
|
46
|
+
def message: () -> ::String
|
|
47
|
+
end
|
|
48
|
+
class FeatureEnabledException < ::Aws::Errors::ServiceError
|
|
49
|
+
def message: () -> ::String
|
|
50
|
+
end
|
|
45
51
|
class InvalidAuthenticationCodeException < ::Aws::Errors::ServiceError
|
|
46
52
|
def message: () -> ::String
|
|
47
53
|
end
|
data/sig/types.rbs
CHANGED
|
@@ -569,6 +569,11 @@ module Aws::IAM
|
|
|
569
569
|
SENSITIVE: []
|
|
570
570
|
end
|
|
571
571
|
|
|
572
|
+
class EnableOutboundWebIdentityFederationResponse
|
|
573
|
+
attr_accessor issuer_identifier: ::String
|
|
574
|
+
SENSITIVE: []
|
|
575
|
+
end
|
|
576
|
+
|
|
572
577
|
class EntityAlreadyExistsException
|
|
573
578
|
attr_accessor message: ::String
|
|
574
579
|
SENSITIVE: []
|
|
@@ -613,6 +618,16 @@ module Aws::IAM
|
|
|
613
618
|
SENSITIVE: []
|
|
614
619
|
end
|
|
615
620
|
|
|
621
|
+
class FeatureDisabledException
|
|
622
|
+
attr_accessor message: ::String
|
|
623
|
+
SENSITIVE: []
|
|
624
|
+
end
|
|
625
|
+
|
|
626
|
+
class FeatureEnabledException
|
|
627
|
+
attr_accessor message: ::String
|
|
628
|
+
SENSITIVE: []
|
|
629
|
+
end
|
|
630
|
+
|
|
616
631
|
class GenerateCredentialReportResponse
|
|
617
632
|
attr_accessor state: ("STARTED" | "INPROGRESS" | "COMPLETE")
|
|
618
633
|
attr_accessor description: ::String
|
|
@@ -825,6 +840,12 @@ module Aws::IAM
|
|
|
825
840
|
SENSITIVE: []
|
|
826
841
|
end
|
|
827
842
|
|
|
843
|
+
class GetOutboundWebIdentityFederationInfoResponse
|
|
844
|
+
attr_accessor issuer_identifier: ::String
|
|
845
|
+
attr_accessor jwt_vending_enabled: bool
|
|
846
|
+
SENSITIVE: []
|
|
847
|
+
end
|
|
848
|
+
|
|
828
849
|
class GetPolicyRequest
|
|
829
850
|
attr_accessor policy_arn: ::String
|
|
830
851
|
SENSITIVE: []
|