code: @Override
      public RestoreCertificateAuthorityResult restoreCertificateAuthority(RestoreCertificateAuthorityRequest request) {
          request = beforeClientExecution(request);
          return executeRestoreCertificateAuthority(request);
      }
docs: <p>
  Restores a certificate authority (CA) that is in the <code>DELETED</code> state. You can restore a CA during the
  period that you defined in the <b>PermanentDeletionTimeInDays</b> parameter of the
  <a>DeleteCertificateAuthority</a> operation. Currently, you can specify 7 to 30 days. If you did not specify a
  <b>PermanentDeletionTimeInDays</b> value, by default you can restore the CA at any time in a 30 day period. You
  can check the time remaining in the restoration period of a private CA in the <code>DELETED</code> state by
  calling the <a>DescribeCertificateAuthority</a> or <a>ListCertificateAuthorities</a> operations. The status of a
  restored CA is set to its pre-deletion status when the <b>RestoreCertificateAuthority</b> operation returns. To
  change its status to <code>ACTIVE</code>, call the <a>UpdateCertificateAuthority</a> operation. If the private CA
  was in the <code>PENDING_CERTIFICATE</code> state at deletion, you must use the
  <a>ImportCertificateAuthorityCertificate</a> operation to import a certificate authority into the private CA
  before it can be activated. You cannot restore a CA after the restoration period has ended.
  </p>
  
  @param restoreCertificateAuthorityRequest
  @return Result of the RestoreCertificateAuthority operation returned by the service.
  @throws ResourceNotFoundException
  A resource such as a private CA, S3 bucket, certificate, or audit report cannot be found.
  @throws InvalidStateException
  The private CA is in a state during which a report or certificate cannot be generated.
  @throws InvalidArnException
  The requested Amazon Resource Name (ARN) does not refer to an existing resource.
  @sample AWSACMPCA.RestoreCertificateAuthority
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/acm-pca-2017-08-22/RestoreCertificateAuthority"
  target="_top">AWS API Documentation</a>