deleteOAuthClientApplication method

Future<DeleteOAuthClientApplicationResponse> deleteOAuthClientApplication({
  1. required String awsAccountId,
  2. required String oAuthClientApplicationId,
})

Deletes an OAuthClientApplication.

May throw AccessDeniedException. May throw ConflictException. May throw InternalFailureException. May throw InvalidParameterValueException. May throw ResourceNotFoundException. May throw ThrottlingException.

Parameter awsAccountId : The Amazon Web Services account ID.

Parameter oAuthClientApplicationId : The ID of the OAuthClientApplication that you want to delete.

Implementation

Future<DeleteOAuthClientApplicationResponse> deleteOAuthClientApplication({
  required String awsAccountId,
  required String oAuthClientApplicationId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/accounts/${Uri.encodeComponent(awsAccountId)}/oauth-client-applications/${Uri.encodeComponent(oAuthClientApplicationId)}',
    exceptionFnMap: _exceptionFns,
  );
  return DeleteOAuthClientApplicationResponse.fromJson(response);
}