enableOutboundWebIdentityFederation method
Enables the outbound identity federation feature for your Amazon Web
Services account. When enabled, IAM principals in your account can use the
GetWebIdentityToken API to obtain JSON Web Tokens (JWTs) for
secure authentication with external services. This operation also
generates a unique issuer URL for your Amazon Web Services account.
May throw FeatureEnabledException.
Implementation
Future<EnableOutboundWebIdentityFederationResponse>
enableOutboundWebIdentityFederation() async {
final $request = <String, String>{};
final $result = await _protocol.send(
$request,
action: 'EnableOutboundWebIdentityFederation',
version: '2010-05-08',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
resultWrapper: 'EnableOutboundWebIdentityFederationResult',
);
return EnableOutboundWebIdentityFederationResponse.fromXml($result);
}