code: @Override
      public ListOriginEndpointsResult listOriginEndpoints(ListOriginEndpointsRequest request) {
          request = beforeClientExecution(request);
          return executeListOriginEndpoints(request);
      }
docs: Returns a collection of OriginEndpoint records.
  
  @param listOriginEndpointsRequest
  @return Result of the ListOriginEndpoints operation returned by the service.
  @throws UnprocessableEntityException
  The parameters sent in the request are not valid.
  @throws InternalServerErrorException
  An unexpected error occurred.
  @throws ForbiddenException
  The client is not authorized to access the requested resource.
  @throws NotFoundException
  The requested resource does not exist.
  @throws ServiceUnavailableException
  An unexpected error occurred.
  @throws TooManyRequestsException
  The client has exceeded their resource or throttling limits.
  @sample AWSMediaPackage.ListOriginEndpoints
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/ListOriginEndpoints"
  target="_top">AWS API Documentation</a>