22
33from __future__ import annotations
44
5- from typing import List , Type , cast
5+ from typing import Type , cast
66from typing_extensions import Literal
77
88import httpx
@@ -57,7 +57,6 @@ def create(
5757 domain : str ,
5858 enabled : bool ,
5959 zone_id : str ,
60- ciphers : List [str ] | NotGiven = NOT_GIVEN ,
6160 min_tls : Literal ["1.0" , "1.1" , "1.2" , "1.3" ] | NotGiven = NOT_GIVEN ,
6261 jurisdiction : Literal ["default" , "eu" , "fedramp" ] | NotGiven = NOT_GIVEN ,
6362 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -82,9 +81,6 @@ def create(
8281
8382 zone_id: Zone ID of the custom domain.
8483
85- ciphers: An allowlist of ciphers for TLS termination. These ciphers must be in the
86- BoringSSL format.
87-
8884 min_tls: Minimum TLS Version the custom domain will accept for incoming connections. If
8985 not set, defaults to 1.0.
9086
@@ -113,7 +109,6 @@ def create(
113109 "domain" : domain ,
114110 "enabled" : enabled ,
115111 "zone_id" : zone_id ,
116- "ciphers" : ciphers ,
117112 "min_tls" : min_tls ,
118113 },
119114 custom_create_params .CustomCreateParams ,
@@ -134,7 +129,6 @@ def update(
134129 * ,
135130 account_id : str ,
136131 bucket_name : str ,
137- ciphers : List [str ] | NotGiven = NOT_GIVEN ,
138132 enabled : bool | NotGiven = NOT_GIVEN ,
139133 min_tls : Literal ["1.0" , "1.1" , "1.2" , "1.3" ] | NotGiven = NOT_GIVEN ,
140134 jurisdiction : Literal ["default" , "eu" , "fedramp" ] | NotGiven = NOT_GIVEN ,
@@ -155,9 +149,6 @@ def update(
155149
156150 domain: Name of the custom domain.
157151
158- ciphers: An allowlist of ciphers for TLS termination. These ciphers must be in the
159- BoringSSL format.
160-
161152 enabled: Whether to enable public bucket access at the specified custom domain.
162153
163154 min_tls: Minimum TLS Version the custom domain will accept for incoming connections. If
@@ -187,7 +178,6 @@ def update(
187178 f"/accounts/{ account_id } /r2/buckets/{ bucket_name } /domains/custom/{ domain } " ,
188179 body = maybe_transform (
189180 {
190- "ciphers" : ciphers ,
191181 "enabled" : enabled ,
192182 "min_tls" : min_tls ,
193183 },
@@ -395,7 +385,6 @@ async def create(
395385 domain : str ,
396386 enabled : bool ,
397387 zone_id : str ,
398- ciphers : List [str ] | NotGiven = NOT_GIVEN ,
399388 min_tls : Literal ["1.0" , "1.1" , "1.2" , "1.3" ] | NotGiven = NOT_GIVEN ,
400389 jurisdiction : Literal ["default" , "eu" , "fedramp" ] | NotGiven = NOT_GIVEN ,
401390 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -420,9 +409,6 @@ async def create(
420409
421410 zone_id: Zone ID of the custom domain.
422411
423- ciphers: An allowlist of ciphers for TLS termination. These ciphers must be in the
424- BoringSSL format.
425-
426412 min_tls: Minimum TLS Version the custom domain will accept for incoming connections. If
427413 not set, defaults to 1.0.
428414
@@ -451,7 +437,6 @@ async def create(
451437 "domain" : domain ,
452438 "enabled" : enabled ,
453439 "zone_id" : zone_id ,
454- "ciphers" : ciphers ,
455440 "min_tls" : min_tls ,
456441 },
457442 custom_create_params .CustomCreateParams ,
@@ -472,7 +457,6 @@ async def update(
472457 * ,
473458 account_id : str ,
474459 bucket_name : str ,
475- ciphers : List [str ] | NotGiven = NOT_GIVEN ,
476460 enabled : bool | NotGiven = NOT_GIVEN ,
477461 min_tls : Literal ["1.0" , "1.1" , "1.2" , "1.3" ] | NotGiven = NOT_GIVEN ,
478462 jurisdiction : Literal ["default" , "eu" , "fedramp" ] | NotGiven = NOT_GIVEN ,
@@ -493,9 +477,6 @@ async def update(
493477
494478 domain: Name of the custom domain.
495479
496- ciphers: An allowlist of ciphers for TLS termination. These ciphers must be in the
497- BoringSSL format.
498-
499480 enabled: Whether to enable public bucket access at the specified custom domain.
500481
501482 min_tls: Minimum TLS Version the custom domain will accept for incoming connections. If
@@ -525,7 +506,6 @@ async def update(
525506 f"/accounts/{ account_id } /r2/buckets/{ bucket_name } /domains/custom/{ domain } " ,
526507 body = await async_maybe_transform (
527508 {
528- "ciphers" : ciphers ,
529509 "enabled" : enabled ,
530510 "min_tls" : min_tls ,
531511 },
0 commit comments