code: @Override
      public ListPermissionsResult listPermissions(ListPermissionsRequest request) {
          request = beforeClientExecution(request);
          return executeListPermissions(request);
      }
docs: <p>
  Lists all the permissions, if any, that have been assigned by a private CA. Permissions can be granted with the
  <a>CreatePermission</a> operation and revoked with the <a>DeletePermission</a> operation.
  </p>
  
  @param listPermissionsRequest
  @return Result of the ListPermissions operation returned by the service.
  @throws ResourceNotFoundException
  A resource such as a private CA, S3 bucket, certificate, or audit report cannot be found.
  @throws InvalidArnException
  The requested Amazon Resource Name (ARN) does not refer to an existing resource.
  @throws InvalidNextTokenException
  The token specified in the <code>NextToken</code> argument is not valid. Use the token returned from your
  previous call to <a>ListCertificateAuthorities</a>.
  @throws InvalidStateException
  The private CA is in a state during which a report or certificate cannot be generated.
  @throws RequestFailedException
  The request has failed for an unspecified reason.
  @sample AWSACMPCA.ListPermissions
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/ListPermissions" target="_top">AWS API
  Documentation</a>