describeScraper method

Future<DescribeScraperResponse> describeScraper({
  1. required String scraperId,
})

The DescribeScraper operation displays information about an existing scraper.

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

Parameter scraperId : The ID of the scraper to describe.

Implementation

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