describeDefaultAuthorizer method

Future<DescribeDefaultAuthorizerResponse> describeDefaultAuthorizer()

Describes the default authorizer.

Requires permission to access the DescribeDefaultAuthorizer action.

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

Implementation

Future<DescribeDefaultAuthorizerResponse> describeDefaultAuthorizer() async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/default-authorizer',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeDefaultAuthorizerResponse.fromJson(response);
}