getAuthorizer method
Gets an Authorizer.
May throw NotFoundException.
May throw TooManyRequestsException.
Parameter apiId :
The API identifier.
Parameter authorizerId :
The authorizer identifier.
Implementation
Future<GetAuthorizerResponse> getAuthorizer({
required String apiId,
required String authorizerId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/v2/apis/${Uri.encodeComponent(apiId)}/authorizers/${Uri.encodeComponent(authorizerId)}',
exceptionFnMap: _exceptionFns,
);
return GetAuthorizerResponse.fromJson(response);
}