33from __future__ import annotations
44
55from typing import Type , Optional , cast
6- from typing_extensions import Literal
76
87import httpx
98
2120 async_to_streamed_response_wrapper ,
2221)
2322from ..._wrappers import ResultWrapper
24- from ...types .acm import total_tls_create_params
23+ from ...types .acm import TotalTLSCertificateAuthority , total_tls_create_params
2524from ..._base_client import (
2625 make_request_options ,
2726)
2827from ...types .acm .total_tls_get_response import TotalTLSGetResponse
2928from ...types .acm .total_tls_create_response import TotalTLSCreateResponse
29+ from ...types .acm .total_tls_certificate_authority import TotalTLSCertificateAuthority
3030
3131__all__ = ["TotalTLSResource" , "AsyncTotalTLSResource" ]
3232
@@ -45,7 +45,7 @@ def create(
4545 * ,
4646 zone_id : str ,
4747 enabled : bool ,
48- certificate_authority : Literal [ "google" , "lets_encrypt" ] | NotGiven = NOT_GIVEN ,
48+ certificate_authority : TotalTLSCertificateAuthority | NotGiven = NOT_GIVEN ,
4949 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
5050 # The extra values given here take precedence over values defined on the client or passed to this method.
5151 extra_headers : Headers | None = None ,
@@ -147,7 +147,7 @@ async def create(
147147 * ,
148148 zone_id : str ,
149149 enabled : bool ,
150- certificate_authority : Literal [ "google" , "lets_encrypt" ] | NotGiven = NOT_GIVEN ,
150+ certificate_authority : TotalTLSCertificateAuthority | NotGiven = NOT_GIVEN ,
151151 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
152152 # The extra values given here take precedence over values defined on the client or passed to this method.
153153 extra_headers : Headers | None = None ,
0 commit comments