@@ -53,12 +53,10 @@ def source(
5353 self ,
5454 * ,
5555 account_id : str ,
56- bucket : str ,
57- secret : connectivity_precheck_source_params .R2SlurperS3SourceSchemaSecret ,
58- vendor : Literal ["s3" ],
56+ bucket : str | Omit = omit ,
5957 endpoint : Optional [str ] | Omit = omit ,
60- path_prefix : Optional [ str ] | Omit = omit ,
61- region : Optional [ str ] | Omit = omit ,
58+ secret : connectivity_precheck_source_params . R2SlurperS3SourceSchemaSecret | Omit = omit ,
59+ vendor : Literal [ "s3" ] | Omit = omit ,
6260 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
6361 # The extra values given here take precedence over values defined on the client or passed to this method.
6462 extra_headers : Headers | None = None ,
@@ -85,10 +83,9 @@ def source(
8583 self ,
8684 * ,
8785 account_id : str ,
88- bucket : str ,
89- secret : connectivity_precheck_source_params .R2SlurperGcsSourceSchemaSecret ,
90- vendor : Literal ["gcs" ],
91- path_prefix : Optional [str ] | Omit = omit ,
86+ bucket : str | Omit = omit ,
87+ secret : connectivity_precheck_source_params .R2SlurperGcsSourceSchemaSecret | Omit = omit ,
88+ vendor : Literal ["gcs" ] | Omit = omit ,
9289 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
9390 # The extra values given here take precedence over values defined on the client or passed to this method.
9491 extra_headers : Headers | None = None ,
@@ -115,11 +112,10 @@ def source(
115112 self ,
116113 * ,
117114 account_id : str ,
118- bucket : str ,
119- secret : connectivity_precheck_source_params .R2SlurperR2SourceSchemaSecret ,
120- vendor : Provider ,
115+ bucket : str | Omit = omit ,
121116 jurisdiction : Literal ["default" , "eu" , "fedramp" ] | Omit = omit ,
122- path_prefix : Optional [str ] | Omit = omit ,
117+ secret : connectivity_precheck_source_params .R2SlurperR2SourceSchemaSecret | Omit = omit ,
118+ vendor : Provider | Omit = omit ,
123119 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
124120 # The extra values given here take precedence over values defined on the client or passed to this method.
125121 extra_headers : Headers | None = None ,
@@ -141,19 +137,18 @@ def source(
141137 """
142138 ...
143139
144- @required_args (["account_id" , "bucket" , "secret" , "vendor" ])
140+ @required_args (["account_id" ])
145141 def source (
146142 self ,
147143 * ,
148144 account_id : str ,
149- bucket : str ,
145+ bucket : str | Omit = omit ,
146+ endpoint : Optional [str ] | Omit = omit ,
150147 secret : connectivity_precheck_source_params .R2SlurperS3SourceSchemaSecret
151148 | connectivity_precheck_source_params .R2SlurperGcsSourceSchemaSecret
152- | connectivity_precheck_source_params .R2SlurperR2SourceSchemaSecret ,
153- vendor : Literal ["s3" ] | Literal ["gcs" ] | Provider ,
154- endpoint : Optional [str ] | Omit = omit ,
155- path_prefix : Optional [str ] | Omit = omit ,
156- region : Optional [str ] | Omit = omit ,
149+ | connectivity_precheck_source_params .R2SlurperR2SourceSchemaSecret
150+ | Omit = omit ,
151+ vendor : Literal ["s3" ] | Literal ["gcs" ] | Provider | Omit = omit ,
157152 jurisdiction : Literal ["default" , "eu" , "fedramp" ] | Omit = omit ,
158153 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
159154 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -169,11 +164,9 @@ def source(
169164 body = maybe_transform (
170165 {
171166 "bucket" : bucket ,
167+ "endpoint" : endpoint ,
172168 "secret" : secret ,
173169 "vendor" : vendor ,
174- "endpoint" : endpoint ,
175- "path_prefix" : path_prefix ,
176- "region" : region ,
177170 "jurisdiction" : jurisdiction ,
178171 },
179172 connectivity_precheck_source_params .ConnectivityPrecheckSourceParams ,
@@ -194,10 +187,10 @@ def target(
194187 self ,
195188 * ,
196189 account_id : str ,
197- bucket : str ,
198- secret : connectivity_precheck_target_params .Secret ,
199- vendor : Provider ,
190+ bucket : str | Omit = omit ,
200191 jurisdiction : Literal ["default" , "eu" , "fedramp" ] | Omit = omit ,
192+ secret : connectivity_precheck_target_params .Secret | Omit = omit ,
193+ vendor : Provider | Omit = omit ,
201194 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
202195 # The extra values given here take precedence over values defined on the client or passed to this method.
203196 extra_headers : Headers | None = None ,
@@ -224,9 +217,9 @@ def target(
224217 body = maybe_transform (
225218 {
226219 "bucket" : bucket ,
220+ "jurisdiction" : jurisdiction ,
227221 "secret" : secret ,
228222 "vendor" : vendor ,
229- "jurisdiction" : jurisdiction ,
230223 },
231224 connectivity_precheck_target_params .ConnectivityPrecheckTargetParams ,
232225 ),
@@ -268,12 +261,10 @@ async def source(
268261 self ,
269262 * ,
270263 account_id : str ,
271- bucket : str ,
272- secret : connectivity_precheck_source_params .R2SlurperS3SourceSchemaSecret ,
273- vendor : Literal ["s3" ],
264+ bucket : str | Omit = omit ,
274265 endpoint : Optional [str ] | Omit = omit ,
275- path_prefix : Optional [ str ] | Omit = omit ,
276- region : Optional [ str ] | Omit = omit ,
266+ secret : connectivity_precheck_source_params . R2SlurperS3SourceSchemaSecret | Omit = omit ,
267+ vendor : Literal [ "s3" ] | Omit = omit ,
277268 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
278269 # The extra values given here take precedence over values defined on the client or passed to this method.
279270 extra_headers : Headers | None = None ,
@@ -300,10 +291,9 @@ async def source(
300291 self ,
301292 * ,
302293 account_id : str ,
303- bucket : str ,
304- secret : connectivity_precheck_source_params .R2SlurperGcsSourceSchemaSecret ,
305- vendor : Literal ["gcs" ],
306- path_prefix : Optional [str ] | Omit = omit ,
294+ bucket : str | Omit = omit ,
295+ secret : connectivity_precheck_source_params .R2SlurperGcsSourceSchemaSecret | Omit = omit ,
296+ vendor : Literal ["gcs" ] | Omit = omit ,
307297 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
308298 # The extra values given here take precedence over values defined on the client or passed to this method.
309299 extra_headers : Headers | None = None ,
@@ -330,11 +320,10 @@ async def source(
330320 self ,
331321 * ,
332322 account_id : str ,
333- bucket : str ,
334- secret : connectivity_precheck_source_params .R2SlurperR2SourceSchemaSecret ,
335- vendor : Provider ,
323+ bucket : str | Omit = omit ,
336324 jurisdiction : Literal ["default" , "eu" , "fedramp" ] | Omit = omit ,
337- path_prefix : Optional [str ] | Omit = omit ,
325+ secret : connectivity_precheck_source_params .R2SlurperR2SourceSchemaSecret | Omit = omit ,
326+ vendor : Provider | Omit = omit ,
338327 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
339328 # The extra values given here take precedence over values defined on the client or passed to this method.
340329 extra_headers : Headers | None = None ,
@@ -356,19 +345,18 @@ async def source(
356345 """
357346 ...
358347
359- @required_args (["account_id" , "bucket" , "secret" , "vendor" ])
348+ @required_args (["account_id" ])
360349 async def source (
361350 self ,
362351 * ,
363352 account_id : str ,
364- bucket : str ,
353+ bucket : str | Omit = omit ,
354+ endpoint : Optional [str ] | Omit = omit ,
365355 secret : connectivity_precheck_source_params .R2SlurperS3SourceSchemaSecret
366356 | connectivity_precheck_source_params .R2SlurperGcsSourceSchemaSecret
367- | connectivity_precheck_source_params .R2SlurperR2SourceSchemaSecret ,
368- vendor : Literal ["s3" ] | Literal ["gcs" ] | Provider ,
369- endpoint : Optional [str ] | Omit = omit ,
370- path_prefix : Optional [str ] | Omit = omit ,
371- region : Optional [str ] | Omit = omit ,
357+ | connectivity_precheck_source_params .R2SlurperR2SourceSchemaSecret
358+ | Omit = omit ,
359+ vendor : Literal ["s3" ] | Literal ["gcs" ] | Provider | Omit = omit ,
372360 jurisdiction : Literal ["default" , "eu" , "fedramp" ] | Omit = omit ,
373361 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
374362 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -384,11 +372,9 @@ async def source(
384372 body = await async_maybe_transform (
385373 {
386374 "bucket" : bucket ,
375+ "endpoint" : endpoint ,
387376 "secret" : secret ,
388377 "vendor" : vendor ,
389- "endpoint" : endpoint ,
390- "path_prefix" : path_prefix ,
391- "region" : region ,
392378 "jurisdiction" : jurisdiction ,
393379 },
394380 connectivity_precheck_source_params .ConnectivityPrecheckSourceParams ,
@@ -409,10 +395,10 @@ async def target(
409395 self ,
410396 * ,
411397 account_id : str ,
412- bucket : str ,
413- secret : connectivity_precheck_target_params .Secret ,
414- vendor : Provider ,
398+ bucket : str | Omit = omit ,
415399 jurisdiction : Literal ["default" , "eu" , "fedramp" ] | Omit = omit ,
400+ secret : connectivity_precheck_target_params .Secret | Omit = omit ,
401+ vendor : Provider | Omit = omit ,
416402 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
417403 # The extra values given here take precedence over values defined on the client or passed to this method.
418404 extra_headers : Headers | None = None ,
@@ -439,9 +425,9 @@ async def target(
439425 body = await async_maybe_transform (
440426 {
441427 "bucket" : bucket ,
428+ "jurisdiction" : jurisdiction ,
442429 "secret" : secret ,
443430 "vendor" : vendor ,
444- "jurisdiction" : jurisdiction ,
445431 },
446432 connectivity_precheck_target_params .ConnectivityPrecheckTargetParams ,
447433 ),
0 commit comments