getChallengeMetadata method
Retrieves the metadata 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<GetChallengeMetadataResponse> getChallengeMetadata({
required String challengeArn,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/challengeMetadata/${Uri.encodeComponent(challengeArn)}',
exceptionFnMap: _exceptionFns,
);
return GetChallengeMetadataResponse.fromJson(response);
}