describeAuthorizer method

Future<DescribeAuthorizerResponse> describeAuthorizer({
  1. required String authorizerName,
})

Describes an authorizer.

Requires permission to access the DescribeAuthorizer action.

May throw InternalFailureException. May throw InvalidRequestException. May throw ResourceNotFoundException. May throw ServiceUnavailableException. May throw ThrottlingException. May throw UnauthorizedException.

Parameter authorizerName : The name of the authorizer to describe.

Implementation

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