describeOriginEndpoint method
Gets details about an existing OriginEndpoint.
May throw ForbiddenException.
May throw InternalServerErrorException.
May throw NotFoundException.
May throw ServiceUnavailableException.
May throw TooManyRequestsException.
May throw UnprocessableEntityException.
Parameter id :
The ID of the OriginEndpoint.
Implementation
Future<DescribeOriginEndpointResponse> describeOriginEndpoint({
required String id,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/origin_endpoints/${Uri.encodeComponent(id)}',
exceptionFnMap: _exceptionFns,
);
return DescribeOriginEndpointResponse.fromJson(response);
}