deleteChallenge method

Future<void> deleteChallenge({
  1. required String challengeArn,
})

Deletes the specified Challenge.

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

Parameter challengeArn : The Amazon Resource Name (ARN) of the challenge password to delete.

Implementation

Future<void> deleteChallenge({
  required String challengeArn,
}) async {
  await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/challenges/${Uri.encodeComponent(challengeArn)}',
    exceptionFnMap: _exceptionFns,
  );
}