code: @Override
      public ListEntitlementsResult listEntitlements(ListEntitlementsRequest request) {
          request = beforeClientExecution(request);
          return executeListEntitlements(request);
      }
docs: Displays a list of all entitlements that have been granted to this account. This request returns 20 results per
  page.
  
  @param listEntitlementsRequest
  @return Result of the ListEntitlements operation returned by the service.
  @throws ServiceUnavailableException
  AWS Elemental MediaConnect is currently unavailable. Try again later.
  @throws TooManyRequestsException
  You have exceeded the service request rate limit for your AWS Elemental MediaConnect account.
  @throws BadRequestException
  The request that you submitted is not valid.
  @throws InternalServerErrorException
  AWS Elemental MediaConnect can't fulfill your request because it encountered an unexpected condition.
  @sample AWSMediaConnect.ListEntitlements
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/ListEntitlements" target="_top">AWS
  API Documentation</a>