code: func (c *ACMPCA) ListPermissions(input *ListPermissionsInput) (*ListPermissionsOutput, error) {
  	req, out := c.ListPermissionsRequest(input)
  	return out, req.Send()
  }
docs: // ListPermissions API operation for AWS Certificate Manager Private Certificate Authority.
  //
  // Lists all the permissions, if any, that have been assigned by a private CA.
  // Permissions can be granted with the CreatePermission operation and revoked
  // with the DeletePermission operation.
  //
  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  // with awserr.Error's Code and Message methods to get detailed information about
  // the error.
  //
  // See the AWS API reference guide for AWS Certificate Manager Private Certificate Authority's
  // API operation ListPermissions for usage and error information.
  //
  // Returned Error Codes:
  //   * ErrCodeResourceNotFoundException "ResourceNotFoundException"
  //   A resource such as a private CA, S3 bucket, certificate, or audit report
  //   cannot be found.
  //
  //   * ErrCodeInvalidArnException "InvalidArnException"
  //   The requested Amazon Resource Name (ARN) does not refer to an existing resource.
  //
  //   * ErrCodeInvalidNextTokenException "InvalidNextTokenException"
  //   The token specified in the NextToken argument is not valid. Use the token
  //   returned from your previous call to ListCertificateAuthorities.
  //
  //   * ErrCodeInvalidStateException "InvalidStateException"
  //   The private CA is in a state during which a report or certificate cannot
  //   be generated.
  //
  //   * ErrCodeRequestFailedException "RequestFailedException"
  //   The request has failed for an unspecified reason.
  //
  // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/ListPermissions