Skip to content

delete_acme_external_account_binding

delete_acme_external_account_binding(
    acme_external_account_binding_arn: AcmeExternalAccountBindingArn,
    *,
    config_overrides: Optional[ACMClientConfig] = None,
) -> None

Deletes an external account binding. Previously fetched credentials for this binding will no longer be usable for account registration. A deleted binding cannot be recovered.

Parameters:

  • acme_external_account_binding_arn (AcmeExternalAccountBindingArn) –

    The Amazon Resource Name (ARN) of the ACME external account binding to delete.

Raises:

Source code in docs_src/capo_acm/_services/acm.py
def delete_acme_external_account_binding(
    self,
    acme_external_account_binding_arn: "capo_acm.types.acme_external_account_binding_arn.AcmeExternalAccountBindingArn",
    *,
    config_overrides: Optional[ACMClientConfig] = None,
) -> None:
    """<p>Deletes an external account binding. Previously fetched credentials for this binding will no longer be usable for account registration. A deleted binding cannot be recovered.</p>

    Args:
        acme_external_account_binding_arn: <p>The Amazon Resource Name (ARN) of the ACME external account binding to delete.</p>

    Raises:
        capo_acm.errors.access_denied_exception.AccessDeniedException: <p>You do not have access required to perform this action.</p>
        capo_acm.errors.internal_server_exception.InternalServerException: <p>The request processing has failed because of an unknown error, exception, or failure.</p>
        capo_acm.errors.throttling_exception.ThrottlingException: <p>The request was denied because it exceeded a quota.</p>
        capo_acm.errors.validation_exception.ValidationException: <p>The supplied input failed to satisfy constraints of an Amazon Web Services service.</p>
        capo_acm.errors.UnknownServiceError: The service returned an error code this client does not model.
    """

    def _handler(
        req: "OperationRequest[capo_acm.types.delete_acme_external_account_binding_request.DeleteAcmeExternalAccountBindingRequest]",
    ) -> OperationResponse[None]:
        import capo_acm._operations.certificate_manager.delete_acme_external_account_binding

        output, http_response = (
            capo_acm._operations.certificate_manager.delete_acme_external_account_binding.delete_acme_external_account_binding(
                req.options, req.input
            )
        )
        return OperationResponse(output=output, response=http_response)

    interceptors_, options_ = self.operation_options(
        config_overrides, OperationLogging("DeleteAcmeExternalAccountBinding")
    )
    input_: capo_acm.types.delete_acme_external_account_binding_request.DeleteAcmeExternalAccountBindingRequest = {
        "acme_external_account_binding_arn": acme_external_account_binding_arn
    }

    response = execute_pipeline(
        OperationRequest(input=input_, options=options_),
        handler=_handler,
        interceptors=list(interceptors_),
    )
    response.response.close()
    return response.output