addClientIDToOpenIDConnectProvider method
Adds a new client ID (also known as audience) to the list of client IDs already registered for the specified IAM OpenID Connect (OIDC) provider resource.
This operation is idempotent; it does not fail or return an error if you add an existing client ID to the provider.
May throw ConcurrentModificationException.
May throw InvalidInputException.
May throw LimitExceededException.
May throw NoSuchEntityException.
May throw ServiceFailureException.
Parameter clientID :
The client ID (also known as audience) to add to the IAM OpenID Connect
provider resource.
Parameter openIDConnectProviderArn :
The Amazon Resource Name (ARN) of the IAM OpenID Connect (OIDC) provider
resource to add the client ID to. You can get a list of OIDC provider ARNs
by using the ListOpenIDConnectProviders
operation.
Implementation
Future<void> addClientIDToOpenIDConnectProvider({
required String clientID,
required String openIDConnectProviderArn,
}) async {
final $request = <String, String>{
'ClientID': clientID,
'OpenIDConnectProviderArn': openIDConnectProviderArn,
};
await _protocol.send(
$request,
action: 'AddClientIDToOpenIDConnectProvider',
version: '2010-05-08',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
);
}