removeClientIDFromOpenIDConnectProvider method

Future<void> removeClientIDFromOpenIDConnectProvider({
  1. required String clientID,
  2. required String openIDConnectProviderArn,
})

Removes the specified client ID (also known as audience) from the list of client IDs registered for the specified IAM OpenID Connect (OIDC) provider resource object.

This operation is idempotent; it does not fail or return an error if you try to remove a client ID that does not exist.

May throw ConcurrentModificationException. May throw InvalidInputException. May throw NoSuchEntityException. May throw ServiceFailureException.

Parameter clientID : The client ID (also known as audience) to remove from the IAM OIDC provider resource. For more information about client IDs, see CreateOpenIDConnectProvider.

Parameter openIDConnectProviderArn : The Amazon Resource Name (ARN) of the IAM OIDC provider resource to remove the client ID from. You can get a list of OIDC provider ARNs by using the ListOpenIDConnectProviders operation.

For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

Implementation

Future<void> removeClientIDFromOpenIDConnectProvider({
  required String clientID,
  required String openIDConnectProviderArn,
}) async {
  final $request = <String, String>{
    'ClientID': clientID,
    'OpenIDConnectProviderArn': openIDConnectProviderArn,
  };
  await _protocol.send(
    $request,
    action: 'RemoveClientIDFromOpenIDConnectProvider',
    version: '2010-05-08',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
  );
}