fn revoke_certificate(
        &self,
        input: RevokeCertificateRequest,
    ) -> RusotoFuture<(), RevokeCertificateError> {
        let mut request = SignedRequest::new("POST", "acm-pca", &self.region, "/");

        request.set_content_type("application/x-amz-json-1.1".to_owned());
        request.add_header("x-amz-target", "ACMPrivateCA.RevokeCertificate");
        let encoded = serde_json::to_string(&input).unwrap();
        request.set_payload(Some(encoded.into_bytes()));

        self.client.sign_and_dispatch(request, |response| {
            if response.status.is_success() {
                Box::new(future::ok(::std::mem::drop(response)))
            } else {
                Box::new(
                    response
                        .buffer()
                        .from_err()
                        .and_then(|response| Err(RevokeCertificateError::from_response(response))),
                )
            }
        })
    }
/// <p>Revokes a certificate that you issued by calling the <a>IssueCertificate</a> operation. If you enable a certificate revocation list (CRL) when you create or update your private CA, information about the revoked certificates will be included in the CRL. ACM PCA writes the CRL to an S3 bucket that you specify. For more information about revocation, see the <a>CrlConfiguration</a> structure. ACM PCA also writes revocation information to the audit report. For more information, see <a>CreateCertificateAuthorityAuditReport</a>. </p>
Revokes a certificate that you issued by calling the IssueCertificate operation. If you enable a certificate revocation list (CRL) when you create or update your private CA, information about the revoked certificates will be included in the CRL. ACM PCA writes the CRL to an S3 bucket that you specify. For more information about revocation, see the CrlConfiguration structure. ACM PCA also writes revocation information to the audit report. For more information, see CreateCertificateAuthorityAuditReport.
Revokes a certificate that you issued by calling the IssueCertificate operation . If you enable a certificate revocation list ( CRL ) when you create or update your private CA information about the revoked certificates will be included in the CRL . ACM PCA writes the CRL to an S3 bucket that you specify . For more information about revocation see the CrlConfiguration structure . ACM PCA also writes revocation information to the audit report . For more information see CreateCertificateAuthorityAuditReport .
fn revoke_certificate(
        &self,
        input: RevokeCertificateRequest,
    ) -> RusotoFuture<(), RevokeCertificateError> {
        let mut request = SignedRequest::new("POST", "acm-pca", &self.region, "/");
        request.set_content_type("application/x-amz-json-1.1".to_owned());
        request.add_header("x-amz-target", "ACMPrivateCA.RevokeCertificate");
        let encoded = serde_json::to_string(&input).unwrap();
        request.set_payload(Some(encoded.into_bytes()));
        self.client.sign_and_dispatch(request, |response| {
            if response.status.is_success() {
                Box::new(future::ok(::std::mem::drop(response)))
            } else {
                Box::new(
                    response
                        .buffer()
                        .from_err()
                        .and_then(|response| Err(RevokeCertificateError::from_response(response))),
                )
            }
        })
    }
fn revoke_certificate ( & self , input : RevokeCertificateRequest , ) -> RusotoFuture < ( ) , RevokeCertificateError > { let mut request = SignedRequest :: new ( " " , " " , & self . region , " " ) ; request . set_content_type ( " " . to_owned ( ) ) ; request . add_header ( " " , " " ) ; let encoded = serde_json :: to_string ( & input ) . unwrap ( ) ; request . set_payload ( Some ( encoded . into_bytes ( ) ) ) ; self . client . sign_and_dispatch ( request , | response | { if response . status . is_success ( ) { Box :: new ( future :: ok ( :: std :: mem :: drop ( response ) ) ) } else { Box :: new ( response . buffer ( ) . from_err ( ) . and_then ( | response | Err ( RevokeCertificateError :: from_response ( response ) ) ) , ) } } ) }
<p>Revokes a certificate that you issued by calling the <a>IssueCertificate</a> operation.
<p > Revokes a certificate that you issued by calling the <a > IssueCertificate< / a > operation .
&self
input
RevokeCertificateRequest
&self
input
RevokeCertificateRequest