Skip to content

get_managed_certificate_details

get_managed_certificate_details(
    identifier: string, *, config_overrides: Optional[CloudFrontClientConfig] = None
) -> GetManagedCertificateDetailsResult

Gets details about the CloudFront managed ACM certificate.

Parameters:

  • identifier (string) –

    The identifier of the distribution tenant. You can specify the ARN, ID, or name of the distribution tenant.

Raises:

Source code in docs_src/capo_cloudfront/_services/cloud_front.py
def get_managed_certificate_details(
    self,
    identifier: "capo_cloudfront.types.string.string",
    *,
    config_overrides: Optional[CloudFrontClientConfig] = None,
) -> "capo_cloudfront.types.get_managed_certificate_details_result.GetManagedCertificateDetailsResult":
    """<p>Gets details about the CloudFront managed ACM certificate.</p>

    Args:
        identifier: <p>The identifier of the distribution tenant. You can specify the ARN, ID, or name of the distribution tenant.</p>

    Raises:
        capo_cloudfront.errors.access_denied.AccessDenied: <p>Access denied.</p>
        capo_cloudfront.errors.entity_not_found.EntityNotFound: <p>The entity was not found.</p>
        capo_cloudfront.errors.UnknownServiceError: The service returned an error code this client does not model.
    """

    def _handler(
        req: "OperationRequest[capo_cloudfront.types.get_managed_certificate_details_request.GetManagedCertificateDetailsRequest]",
    ) -> OperationResponse[
        "capo_cloudfront.types.get_managed_certificate_details_result.GetManagedCertificateDetailsResult"
    ]:
        import capo_cloudfront._operations.cloudfront2020_05_31.get_managed_certificate_details

        output, http_response = (
            capo_cloudfront._operations.cloudfront2020_05_31.get_managed_certificate_details.get_managed_certificate_details(
                req.options, req.input
            )
        )
        return OperationResponse(output=output, response=http_response)

    interceptors_, options_ = self.operation_options(
        config_overrides, OperationLogging("GetManagedCertificateDetails")
    )
    input_: capo_cloudfront.types.get_managed_certificate_details_request.GetManagedCertificateDetailsRequest = {
        "identifier": identifier
    }

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