deleteOauth2CredentialProvider method

Future<void> deleteOauth2CredentialProvider({
  1. required String name,
})

Deletes an OAuth2 credential provider.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw UnauthorizedException. May throw ValidationException.

Parameter name : The name of the OAuth2 credential provider to delete.

Implementation

Future<void> deleteOauth2CredentialProvider({
  required String name,
}) async {
  final $payload = <String, dynamic>{
    'name': name,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/identities/DeleteOauth2CredentialProvider',
    exceptionFnMap: _exceptionFns,
  );
}