@@ -56,7 +56,7 @@ def update(
5656 * ,
5757 account_id : str ,
5858 rules : Iterable [cors_update_params .Rule ] | NotGiven = NOT_GIVEN ,
59- cf_r2_jurisdiction : Literal ["default" , "eu" , "fedramp" ] | NotGiven = NOT_GIVEN ,
59+ jurisdiction : Literal ["default" , "eu" , "fedramp" ] | NotGiven = NOT_GIVEN ,
6060 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
6161 # The extra values given here take precedence over values defined on the client or passed to this method.
6262 extra_headers : Headers | None = None ,
@@ -72,7 +72,7 @@ def update(
7272
7373 bucket_name: Name of the bucket
7474
75- cf_r2_jurisdiction : The bucket jurisdiction
75+ jurisdiction : The bucket jurisdiction
7676
7777 extra_headers: Send extra headers
7878
@@ -87,9 +87,7 @@ def update(
8787 if not bucket_name :
8888 raise ValueError (f"Expected a non-empty value for `bucket_name` but received { bucket_name !r} " )
8989 extra_headers = {
90- ** strip_not_given (
91- {"cf-r2-jurisdiction" : str (cf_r2_jurisdiction ) if is_given (cf_r2_jurisdiction ) else NOT_GIVEN }
92- ),
90+ ** strip_not_given ({"cf-r2-jurisdiction" : str (jurisdiction ) if is_given (jurisdiction ) else NOT_GIVEN }),
9391 ** (extra_headers or {}),
9492 }
9593 return self ._put (
@@ -110,7 +108,7 @@ def delete(
110108 bucket_name : str ,
111109 * ,
112110 account_id : str ,
113- cf_r2_jurisdiction : Literal ["default" , "eu" , "fedramp" ] | NotGiven = NOT_GIVEN ,
111+ jurisdiction : Literal ["default" , "eu" , "fedramp" ] | NotGiven = NOT_GIVEN ,
114112 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
115113 # The extra values given here take precedence over values defined on the client or passed to this method.
116114 extra_headers : Headers | None = None ,
@@ -126,7 +124,7 @@ def delete(
126124
127125 bucket_name: Name of the bucket
128126
129- cf_r2_jurisdiction : The bucket jurisdiction
127+ jurisdiction : The bucket jurisdiction
130128
131129 extra_headers: Send extra headers
132130
@@ -141,9 +139,7 @@ def delete(
141139 if not bucket_name :
142140 raise ValueError (f"Expected a non-empty value for `bucket_name` but received { bucket_name !r} " )
143141 extra_headers = {
144- ** strip_not_given (
145- {"cf-r2-jurisdiction" : str (cf_r2_jurisdiction ) if is_given (cf_r2_jurisdiction ) else NOT_GIVEN }
146- ),
142+ ** strip_not_given ({"cf-r2-jurisdiction" : str (jurisdiction ) if is_given (jurisdiction ) else NOT_GIVEN }),
147143 ** (extra_headers or {}),
148144 }
149145 return self ._delete (
@@ -163,7 +159,7 @@ def get(
163159 bucket_name : str ,
164160 * ,
165161 account_id : str ,
166- cf_r2_jurisdiction : Literal ["default" , "eu" , "fedramp" ] | NotGiven = NOT_GIVEN ,
162+ jurisdiction : Literal ["default" , "eu" , "fedramp" ] | NotGiven = NOT_GIVEN ,
167163 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
168164 # The extra values given here take precedence over values defined on the client or passed to this method.
169165 extra_headers : Headers | None = None ,
@@ -179,7 +175,7 @@ def get(
179175
180176 bucket_name: Name of the bucket
181177
182- cf_r2_jurisdiction : The bucket jurisdiction
178+ jurisdiction : The bucket jurisdiction
183179
184180 extra_headers: Send extra headers
185181
@@ -194,9 +190,7 @@ def get(
194190 if not bucket_name :
195191 raise ValueError (f"Expected a non-empty value for `bucket_name` but received { bucket_name !r} " )
196192 extra_headers = {
197- ** strip_not_given (
198- {"cf-r2-jurisdiction" : str (cf_r2_jurisdiction ) if is_given (cf_r2_jurisdiction ) else NOT_GIVEN }
199- ),
193+ ** strip_not_given ({"cf-r2-jurisdiction" : str (jurisdiction ) if is_given (jurisdiction ) else NOT_GIVEN }),
200194 ** (extra_headers or {}),
201195 }
202196 return self ._get (
@@ -238,7 +232,7 @@ async def update(
238232 * ,
239233 account_id : str ,
240234 rules : Iterable [cors_update_params .Rule ] | NotGiven = NOT_GIVEN ,
241- cf_r2_jurisdiction : Literal ["default" , "eu" , "fedramp" ] | NotGiven = NOT_GIVEN ,
235+ jurisdiction : Literal ["default" , "eu" , "fedramp" ] | NotGiven = NOT_GIVEN ,
242236 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
243237 # The extra values given here take precedence over values defined on the client or passed to this method.
244238 extra_headers : Headers | None = None ,
@@ -254,7 +248,7 @@ async def update(
254248
255249 bucket_name: Name of the bucket
256250
257- cf_r2_jurisdiction : The bucket jurisdiction
251+ jurisdiction : The bucket jurisdiction
258252
259253 extra_headers: Send extra headers
260254
@@ -269,9 +263,7 @@ async def update(
269263 if not bucket_name :
270264 raise ValueError (f"Expected a non-empty value for `bucket_name` but received { bucket_name !r} " )
271265 extra_headers = {
272- ** strip_not_given (
273- {"cf-r2-jurisdiction" : str (cf_r2_jurisdiction ) if is_given (cf_r2_jurisdiction ) else NOT_GIVEN }
274- ),
266+ ** strip_not_given ({"cf-r2-jurisdiction" : str (jurisdiction ) if is_given (jurisdiction ) else NOT_GIVEN }),
275267 ** (extra_headers or {}),
276268 }
277269 return await self ._put (
@@ -292,7 +284,7 @@ async def delete(
292284 bucket_name : str ,
293285 * ,
294286 account_id : str ,
295- cf_r2_jurisdiction : Literal ["default" , "eu" , "fedramp" ] | NotGiven = NOT_GIVEN ,
287+ jurisdiction : Literal ["default" , "eu" , "fedramp" ] | NotGiven = NOT_GIVEN ,
296288 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
297289 # The extra values given here take precedence over values defined on the client or passed to this method.
298290 extra_headers : Headers | None = None ,
@@ -308,7 +300,7 @@ async def delete(
308300
309301 bucket_name: Name of the bucket
310302
311- cf_r2_jurisdiction : The bucket jurisdiction
303+ jurisdiction : The bucket jurisdiction
312304
313305 extra_headers: Send extra headers
314306
@@ -323,9 +315,7 @@ async def delete(
323315 if not bucket_name :
324316 raise ValueError (f"Expected a non-empty value for `bucket_name` but received { bucket_name !r} " )
325317 extra_headers = {
326- ** strip_not_given (
327- {"cf-r2-jurisdiction" : str (cf_r2_jurisdiction ) if is_given (cf_r2_jurisdiction ) else NOT_GIVEN }
328- ),
318+ ** strip_not_given ({"cf-r2-jurisdiction" : str (jurisdiction ) if is_given (jurisdiction ) else NOT_GIVEN }),
329319 ** (extra_headers or {}),
330320 }
331321 return await self ._delete (
@@ -345,7 +335,7 @@ async def get(
345335 bucket_name : str ,
346336 * ,
347337 account_id : str ,
348- cf_r2_jurisdiction : Literal ["default" , "eu" , "fedramp" ] | NotGiven = NOT_GIVEN ,
338+ jurisdiction : Literal ["default" , "eu" , "fedramp" ] | NotGiven = NOT_GIVEN ,
349339 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
350340 # The extra values given here take precedence over values defined on the client or passed to this method.
351341 extra_headers : Headers | None = None ,
@@ -361,7 +351,7 @@ async def get(
361351
362352 bucket_name: Name of the bucket
363353
364- cf_r2_jurisdiction : The bucket jurisdiction
354+ jurisdiction : The bucket jurisdiction
365355
366356 extra_headers: Send extra headers
367357
@@ -376,9 +366,7 @@ async def get(
376366 if not bucket_name :
377367 raise ValueError (f"Expected a non-empty value for `bucket_name` but received { bucket_name !r} " )
378368 extra_headers = {
379- ** strip_not_given (
380- {"cf-r2-jurisdiction" : str (cf_r2_jurisdiction ) if is_given (cf_r2_jurisdiction ) else NOT_GIVEN }
381- ),
369+ ** strip_not_given ({"cf-r2-jurisdiction" : str (jurisdiction ) if is_given (jurisdiction ) else NOT_GIVEN }),
382370 ** (extra_headers or {}),
383371 }
384372 return await self ._get (
0 commit comments