code: func (c *ACMPCA) GetCertificateAuthorityCertificate(input *GetCertificateAuthorityCertificateInput) (*GetCertificateAuthorityCertificateOutput, error) {
  	req, out := c.GetCertificateAuthorityCertificateRequest(input)
  	return out, req.Send()
  }
docs: // GetCertificateAuthorityCertificate API operation for AWS Certificate Manager Private Certificate Authority.
  //
  // Retrieves the certificate and certificate chain for your private certificate
  // authority (CA). Both the certificate and the chain are base64 PEM-encoded.
  // The chain does not include the CA certificate. Each certificate in the chain
  // signs the one before it.
  //
  // 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 GetCertificateAuthorityCertificate 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.
  //
  //   * ErrCodeInvalidStateException "InvalidStateException"
  //   The private CA is in a state during which a report or certificate cannot
  //   be generated.
  //
  //   * ErrCodeInvalidArnException "InvalidArnException"
  //   The requested Amazon Resource Name (ARN) does not refer to an existing resource.
  //
  // See also, https://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/GetCertificateAuthorityCertificate