getChallengePassword method

Future<GetChallengePasswordResponse> getChallengePassword({
  1. required String challengeArn,
})

Retrieves the challenge password for the specified Challenge.

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

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

Implementation

Future<GetChallengePasswordResponse> getChallengePassword({
  required String challengeArn,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/challengePasswords/${Uri.encodeComponent(challengeArn)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetChallengePasswordResponse.fromJson(response);
}