mypy-boto3-s3tables 1.35.74__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of mypy-boto3-s3tables might be problematic. Click here for more details.
- mypy_boto3_s3tables/__init__.py +39 -0
- mypy_boto3_s3tables/__init__.pyi +38 -0
- mypy_boto3_s3tables/__main__.py +42 -0
- mypy_boto3_s3tables/client.py +429 -0
- mypy_boto3_s3tables/client.pyi +425 -0
- mypy_boto3_s3tables/literals.py +472 -0
- mypy_boto3_s3tables/literals.pyi +470 -0
- mypy_boto3_s3tables/paginator.py +104 -0
- mypy_boto3_s3tables/paginator.pyi +95 -0
- mypy_boto3_s3tables/py.typed +0 -0
- mypy_boto3_s3tables/type_defs.py +481 -0
- mypy_boto3_s3tables/type_defs.pyi +421 -0
- mypy_boto3_s3tables/version.py +7 -0
- mypy_boto3_s3tables-1.35.74.dist-info/LICENSE +21 -0
- mypy_boto3_s3tables-1.35.74.dist-info/METADATA +459 -0
- mypy_boto3_s3tables-1.35.74.dist-info/RECORD +18 -0
- mypy_boto3_s3tables-1.35.74.dist-info/WHEEL +5 -0
- mypy_boto3_s3tables-1.35.74.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,470 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Type annotations for s3tables service literal definitions.
|
|
3
|
+
|
|
4
|
+
[Open documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_s3tables/literals/)
|
|
5
|
+
|
|
6
|
+
Usage::
|
|
7
|
+
|
|
8
|
+
```python
|
|
9
|
+
from mypy_boto3_s3tables.literals import JobStatusType
|
|
10
|
+
|
|
11
|
+
data: JobStatusType = "Disabled"
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Copyright 2024 Vlad Emelianov
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
import sys
|
|
18
|
+
|
|
19
|
+
if sys.version_info >= (3, 12):
|
|
20
|
+
from typing import Literal
|
|
21
|
+
else:
|
|
22
|
+
from typing_extensions import Literal
|
|
23
|
+
|
|
24
|
+
__all__ = (
|
|
25
|
+
"JobStatusType",
|
|
26
|
+
"ListNamespacesPaginatorName",
|
|
27
|
+
"ListTableBucketsPaginatorName",
|
|
28
|
+
"ListTablesPaginatorName",
|
|
29
|
+
"MaintenanceStatusType",
|
|
30
|
+
"OpenTableFormatType",
|
|
31
|
+
"PaginatorName",
|
|
32
|
+
"ResourceServiceName",
|
|
33
|
+
"S3TablesServiceName",
|
|
34
|
+
"ServiceName",
|
|
35
|
+
"TableBucketMaintenanceTypeType",
|
|
36
|
+
"TableMaintenanceJobTypeType",
|
|
37
|
+
"TableMaintenanceTypeType",
|
|
38
|
+
"TableTypeType",
|
|
39
|
+
)
|
|
40
|
+
|
|
41
|
+
JobStatusType = Literal["Disabled", "Failed", "Not_Yet_Run", "Successful"]
|
|
42
|
+
ListNamespacesPaginatorName = Literal["list_namespaces"]
|
|
43
|
+
ListTableBucketsPaginatorName = Literal["list_table_buckets"]
|
|
44
|
+
ListTablesPaginatorName = Literal["list_tables"]
|
|
45
|
+
MaintenanceStatusType = Literal["disabled", "enabled"]
|
|
46
|
+
OpenTableFormatType = Literal["ICEBERG"]
|
|
47
|
+
TableBucketMaintenanceTypeType = Literal["icebergUnreferencedFileRemoval"]
|
|
48
|
+
TableMaintenanceJobTypeType = Literal[
|
|
49
|
+
"icebergCompaction", "icebergSnapshotManagement", "icebergUnreferencedFileRemoval"
|
|
50
|
+
]
|
|
51
|
+
TableMaintenanceTypeType = Literal["icebergCompaction", "icebergSnapshotManagement"]
|
|
52
|
+
TableTypeType = Literal["aws", "customer"]
|
|
53
|
+
S3TablesServiceName = Literal["s3tables"]
|
|
54
|
+
ServiceName = Literal[
|
|
55
|
+
"accessanalyzer",
|
|
56
|
+
"account",
|
|
57
|
+
"acm",
|
|
58
|
+
"acm-pca",
|
|
59
|
+
"amp",
|
|
60
|
+
"amplify",
|
|
61
|
+
"amplifybackend",
|
|
62
|
+
"amplifyuibuilder",
|
|
63
|
+
"apigateway",
|
|
64
|
+
"apigatewaymanagementapi",
|
|
65
|
+
"apigatewayv2",
|
|
66
|
+
"appconfig",
|
|
67
|
+
"appconfigdata",
|
|
68
|
+
"appfabric",
|
|
69
|
+
"appflow",
|
|
70
|
+
"appintegrations",
|
|
71
|
+
"application-autoscaling",
|
|
72
|
+
"application-insights",
|
|
73
|
+
"application-signals",
|
|
74
|
+
"applicationcostprofiler",
|
|
75
|
+
"appmesh",
|
|
76
|
+
"apprunner",
|
|
77
|
+
"appstream",
|
|
78
|
+
"appsync",
|
|
79
|
+
"apptest",
|
|
80
|
+
"arc-zonal-shift",
|
|
81
|
+
"artifact",
|
|
82
|
+
"athena",
|
|
83
|
+
"auditmanager",
|
|
84
|
+
"autoscaling",
|
|
85
|
+
"autoscaling-plans",
|
|
86
|
+
"b2bi",
|
|
87
|
+
"backup",
|
|
88
|
+
"backup-gateway",
|
|
89
|
+
"batch",
|
|
90
|
+
"bcm-data-exports",
|
|
91
|
+
"bcm-pricing-calculator",
|
|
92
|
+
"bedrock",
|
|
93
|
+
"bedrock-agent",
|
|
94
|
+
"bedrock-agent-runtime",
|
|
95
|
+
"bedrock-runtime",
|
|
96
|
+
"billing",
|
|
97
|
+
"billingconductor",
|
|
98
|
+
"braket",
|
|
99
|
+
"budgets",
|
|
100
|
+
"ce",
|
|
101
|
+
"chatbot",
|
|
102
|
+
"chime",
|
|
103
|
+
"chime-sdk-identity",
|
|
104
|
+
"chime-sdk-media-pipelines",
|
|
105
|
+
"chime-sdk-meetings",
|
|
106
|
+
"chime-sdk-messaging",
|
|
107
|
+
"chime-sdk-voice",
|
|
108
|
+
"cleanrooms",
|
|
109
|
+
"cleanroomsml",
|
|
110
|
+
"cloud9",
|
|
111
|
+
"cloudcontrol",
|
|
112
|
+
"clouddirectory",
|
|
113
|
+
"cloudformation",
|
|
114
|
+
"cloudfront",
|
|
115
|
+
"cloudfront-keyvaluestore",
|
|
116
|
+
"cloudhsm",
|
|
117
|
+
"cloudhsmv2",
|
|
118
|
+
"cloudsearch",
|
|
119
|
+
"cloudsearchdomain",
|
|
120
|
+
"cloudtrail",
|
|
121
|
+
"cloudtrail-data",
|
|
122
|
+
"cloudwatch",
|
|
123
|
+
"codeartifact",
|
|
124
|
+
"codebuild",
|
|
125
|
+
"codecatalyst",
|
|
126
|
+
"codecommit",
|
|
127
|
+
"codeconnections",
|
|
128
|
+
"codedeploy",
|
|
129
|
+
"codeguru-reviewer",
|
|
130
|
+
"codeguru-security",
|
|
131
|
+
"codeguruprofiler",
|
|
132
|
+
"codepipeline",
|
|
133
|
+
"codestar-connections",
|
|
134
|
+
"codestar-notifications",
|
|
135
|
+
"cognito-identity",
|
|
136
|
+
"cognito-idp",
|
|
137
|
+
"cognito-sync",
|
|
138
|
+
"comprehend",
|
|
139
|
+
"comprehendmedical",
|
|
140
|
+
"compute-optimizer",
|
|
141
|
+
"config",
|
|
142
|
+
"connect",
|
|
143
|
+
"connect-contact-lens",
|
|
144
|
+
"connectcampaigns",
|
|
145
|
+
"connectcampaignsv2",
|
|
146
|
+
"connectcases",
|
|
147
|
+
"connectparticipant",
|
|
148
|
+
"controlcatalog",
|
|
149
|
+
"controltower",
|
|
150
|
+
"cost-optimization-hub",
|
|
151
|
+
"cur",
|
|
152
|
+
"customer-profiles",
|
|
153
|
+
"databrew",
|
|
154
|
+
"dataexchange",
|
|
155
|
+
"datapipeline",
|
|
156
|
+
"datasync",
|
|
157
|
+
"datazone",
|
|
158
|
+
"dax",
|
|
159
|
+
"deadline",
|
|
160
|
+
"detective",
|
|
161
|
+
"devicefarm",
|
|
162
|
+
"devops-guru",
|
|
163
|
+
"directconnect",
|
|
164
|
+
"discovery",
|
|
165
|
+
"dlm",
|
|
166
|
+
"dms",
|
|
167
|
+
"docdb",
|
|
168
|
+
"docdb-elastic",
|
|
169
|
+
"drs",
|
|
170
|
+
"ds",
|
|
171
|
+
"ds-data",
|
|
172
|
+
"dsql",
|
|
173
|
+
"dynamodb",
|
|
174
|
+
"dynamodbstreams",
|
|
175
|
+
"ebs",
|
|
176
|
+
"ec2",
|
|
177
|
+
"ec2-instance-connect",
|
|
178
|
+
"ecr",
|
|
179
|
+
"ecr-public",
|
|
180
|
+
"ecs",
|
|
181
|
+
"efs",
|
|
182
|
+
"eks",
|
|
183
|
+
"eks-auth",
|
|
184
|
+
"elastic-inference",
|
|
185
|
+
"elasticache",
|
|
186
|
+
"elasticbeanstalk",
|
|
187
|
+
"elastictranscoder",
|
|
188
|
+
"elb",
|
|
189
|
+
"elbv2",
|
|
190
|
+
"emr",
|
|
191
|
+
"emr-containers",
|
|
192
|
+
"emr-serverless",
|
|
193
|
+
"entityresolution",
|
|
194
|
+
"es",
|
|
195
|
+
"events",
|
|
196
|
+
"evidently",
|
|
197
|
+
"finspace",
|
|
198
|
+
"finspace-data",
|
|
199
|
+
"firehose",
|
|
200
|
+
"fis",
|
|
201
|
+
"fms",
|
|
202
|
+
"forecast",
|
|
203
|
+
"forecastquery",
|
|
204
|
+
"frauddetector",
|
|
205
|
+
"freetier",
|
|
206
|
+
"fsx",
|
|
207
|
+
"gamelift",
|
|
208
|
+
"geo-maps",
|
|
209
|
+
"geo-places",
|
|
210
|
+
"geo-routes",
|
|
211
|
+
"glacier",
|
|
212
|
+
"globalaccelerator",
|
|
213
|
+
"glue",
|
|
214
|
+
"grafana",
|
|
215
|
+
"greengrass",
|
|
216
|
+
"greengrassv2",
|
|
217
|
+
"groundstation",
|
|
218
|
+
"guardduty",
|
|
219
|
+
"health",
|
|
220
|
+
"healthlake",
|
|
221
|
+
"iam",
|
|
222
|
+
"identitystore",
|
|
223
|
+
"imagebuilder",
|
|
224
|
+
"importexport",
|
|
225
|
+
"inspector",
|
|
226
|
+
"inspector-scan",
|
|
227
|
+
"inspector2",
|
|
228
|
+
"internetmonitor",
|
|
229
|
+
"invoicing",
|
|
230
|
+
"iot",
|
|
231
|
+
"iot-data",
|
|
232
|
+
"iot-jobs-data",
|
|
233
|
+
"iot1click-devices",
|
|
234
|
+
"iot1click-projects",
|
|
235
|
+
"iotanalytics",
|
|
236
|
+
"iotdeviceadvisor",
|
|
237
|
+
"iotevents",
|
|
238
|
+
"iotevents-data",
|
|
239
|
+
"iotfleethub",
|
|
240
|
+
"iotfleetwise",
|
|
241
|
+
"iotsecuretunneling",
|
|
242
|
+
"iotsitewise",
|
|
243
|
+
"iotthingsgraph",
|
|
244
|
+
"iottwinmaker",
|
|
245
|
+
"iotwireless",
|
|
246
|
+
"ivs",
|
|
247
|
+
"ivs-realtime",
|
|
248
|
+
"ivschat",
|
|
249
|
+
"kafka",
|
|
250
|
+
"kafkaconnect",
|
|
251
|
+
"kendra",
|
|
252
|
+
"kendra-ranking",
|
|
253
|
+
"keyspaces",
|
|
254
|
+
"kinesis",
|
|
255
|
+
"kinesis-video-archived-media",
|
|
256
|
+
"kinesis-video-media",
|
|
257
|
+
"kinesis-video-signaling",
|
|
258
|
+
"kinesis-video-webrtc-storage",
|
|
259
|
+
"kinesisanalytics",
|
|
260
|
+
"kinesisanalyticsv2",
|
|
261
|
+
"kinesisvideo",
|
|
262
|
+
"kms",
|
|
263
|
+
"lakeformation",
|
|
264
|
+
"lambda",
|
|
265
|
+
"launch-wizard",
|
|
266
|
+
"lex-models",
|
|
267
|
+
"lex-runtime",
|
|
268
|
+
"lexv2-models",
|
|
269
|
+
"lexv2-runtime",
|
|
270
|
+
"license-manager",
|
|
271
|
+
"license-manager-linux-subscriptions",
|
|
272
|
+
"license-manager-user-subscriptions",
|
|
273
|
+
"lightsail",
|
|
274
|
+
"location",
|
|
275
|
+
"logs",
|
|
276
|
+
"lookoutequipment",
|
|
277
|
+
"lookoutmetrics",
|
|
278
|
+
"lookoutvision",
|
|
279
|
+
"m2",
|
|
280
|
+
"machinelearning",
|
|
281
|
+
"macie2",
|
|
282
|
+
"mailmanager",
|
|
283
|
+
"managedblockchain",
|
|
284
|
+
"managedblockchain-query",
|
|
285
|
+
"marketplace-agreement",
|
|
286
|
+
"marketplace-catalog",
|
|
287
|
+
"marketplace-deployment",
|
|
288
|
+
"marketplace-entitlement",
|
|
289
|
+
"marketplace-reporting",
|
|
290
|
+
"marketplacecommerceanalytics",
|
|
291
|
+
"mediaconnect",
|
|
292
|
+
"mediaconvert",
|
|
293
|
+
"medialive",
|
|
294
|
+
"mediapackage",
|
|
295
|
+
"mediapackage-vod",
|
|
296
|
+
"mediapackagev2",
|
|
297
|
+
"mediastore",
|
|
298
|
+
"mediastore-data",
|
|
299
|
+
"mediatailor",
|
|
300
|
+
"medical-imaging",
|
|
301
|
+
"memorydb",
|
|
302
|
+
"meteringmarketplace",
|
|
303
|
+
"mgh",
|
|
304
|
+
"mgn",
|
|
305
|
+
"migration-hub-refactor-spaces",
|
|
306
|
+
"migrationhub-config",
|
|
307
|
+
"migrationhuborchestrator",
|
|
308
|
+
"migrationhubstrategy",
|
|
309
|
+
"mq",
|
|
310
|
+
"mturk",
|
|
311
|
+
"mwaa",
|
|
312
|
+
"neptune",
|
|
313
|
+
"neptune-graph",
|
|
314
|
+
"neptunedata",
|
|
315
|
+
"network-firewall",
|
|
316
|
+
"networkflowmonitor",
|
|
317
|
+
"networkmanager",
|
|
318
|
+
"networkmonitor",
|
|
319
|
+
"notifications",
|
|
320
|
+
"notificationscontacts",
|
|
321
|
+
"oam",
|
|
322
|
+
"observabilityadmin",
|
|
323
|
+
"omics",
|
|
324
|
+
"opensearch",
|
|
325
|
+
"opensearchserverless",
|
|
326
|
+
"opsworks",
|
|
327
|
+
"opsworkscm",
|
|
328
|
+
"organizations",
|
|
329
|
+
"osis",
|
|
330
|
+
"outposts",
|
|
331
|
+
"panorama",
|
|
332
|
+
"partnercentral-selling",
|
|
333
|
+
"payment-cryptography",
|
|
334
|
+
"payment-cryptography-data",
|
|
335
|
+
"pca-connector-ad",
|
|
336
|
+
"pca-connector-scep",
|
|
337
|
+
"pcs",
|
|
338
|
+
"personalize",
|
|
339
|
+
"personalize-events",
|
|
340
|
+
"personalize-runtime",
|
|
341
|
+
"pi",
|
|
342
|
+
"pinpoint",
|
|
343
|
+
"pinpoint-email",
|
|
344
|
+
"pinpoint-sms-voice",
|
|
345
|
+
"pinpoint-sms-voice-v2",
|
|
346
|
+
"pipes",
|
|
347
|
+
"polly",
|
|
348
|
+
"pricing",
|
|
349
|
+
"privatenetworks",
|
|
350
|
+
"proton",
|
|
351
|
+
"qapps",
|
|
352
|
+
"qbusiness",
|
|
353
|
+
"qconnect",
|
|
354
|
+
"qldb",
|
|
355
|
+
"qldb-session",
|
|
356
|
+
"quicksight",
|
|
357
|
+
"ram",
|
|
358
|
+
"rbin",
|
|
359
|
+
"rds",
|
|
360
|
+
"rds-data",
|
|
361
|
+
"redshift",
|
|
362
|
+
"redshift-data",
|
|
363
|
+
"redshift-serverless",
|
|
364
|
+
"rekognition",
|
|
365
|
+
"repostspace",
|
|
366
|
+
"resiliencehub",
|
|
367
|
+
"resource-explorer-2",
|
|
368
|
+
"resource-groups",
|
|
369
|
+
"resourcegroupstaggingapi",
|
|
370
|
+
"robomaker",
|
|
371
|
+
"rolesanywhere",
|
|
372
|
+
"route53",
|
|
373
|
+
"route53-recovery-cluster",
|
|
374
|
+
"route53-recovery-control-config",
|
|
375
|
+
"route53-recovery-readiness",
|
|
376
|
+
"route53domains",
|
|
377
|
+
"route53profiles",
|
|
378
|
+
"route53resolver",
|
|
379
|
+
"rum",
|
|
380
|
+
"s3",
|
|
381
|
+
"s3control",
|
|
382
|
+
"s3outposts",
|
|
383
|
+
"s3tables",
|
|
384
|
+
"sagemaker",
|
|
385
|
+
"sagemaker-a2i-runtime",
|
|
386
|
+
"sagemaker-edge",
|
|
387
|
+
"sagemaker-featurestore-runtime",
|
|
388
|
+
"sagemaker-geospatial",
|
|
389
|
+
"sagemaker-metrics",
|
|
390
|
+
"sagemaker-runtime",
|
|
391
|
+
"savingsplans",
|
|
392
|
+
"scheduler",
|
|
393
|
+
"schemas",
|
|
394
|
+
"sdb",
|
|
395
|
+
"secretsmanager",
|
|
396
|
+
"security-ir",
|
|
397
|
+
"securityhub",
|
|
398
|
+
"securitylake",
|
|
399
|
+
"serverlessrepo",
|
|
400
|
+
"service-quotas",
|
|
401
|
+
"servicecatalog",
|
|
402
|
+
"servicecatalog-appregistry",
|
|
403
|
+
"servicediscovery",
|
|
404
|
+
"ses",
|
|
405
|
+
"sesv2",
|
|
406
|
+
"shield",
|
|
407
|
+
"signer",
|
|
408
|
+
"simspaceweaver",
|
|
409
|
+
"sms",
|
|
410
|
+
"sms-voice",
|
|
411
|
+
"snow-device-management",
|
|
412
|
+
"snowball",
|
|
413
|
+
"sns",
|
|
414
|
+
"socialmessaging",
|
|
415
|
+
"sqs",
|
|
416
|
+
"ssm",
|
|
417
|
+
"ssm-contacts",
|
|
418
|
+
"ssm-incidents",
|
|
419
|
+
"ssm-quicksetup",
|
|
420
|
+
"ssm-sap",
|
|
421
|
+
"sso",
|
|
422
|
+
"sso-admin",
|
|
423
|
+
"sso-oidc",
|
|
424
|
+
"stepfunctions",
|
|
425
|
+
"storagegateway",
|
|
426
|
+
"sts",
|
|
427
|
+
"supplychain",
|
|
428
|
+
"support",
|
|
429
|
+
"support-app",
|
|
430
|
+
"swf",
|
|
431
|
+
"synthetics",
|
|
432
|
+
"taxsettings",
|
|
433
|
+
"textract",
|
|
434
|
+
"timestream-influxdb",
|
|
435
|
+
"timestream-query",
|
|
436
|
+
"timestream-write",
|
|
437
|
+
"tnb",
|
|
438
|
+
"transcribe",
|
|
439
|
+
"transfer",
|
|
440
|
+
"translate",
|
|
441
|
+
"trustedadvisor",
|
|
442
|
+
"verifiedpermissions",
|
|
443
|
+
"voice-id",
|
|
444
|
+
"vpc-lattice",
|
|
445
|
+
"waf",
|
|
446
|
+
"waf-regional",
|
|
447
|
+
"wafv2",
|
|
448
|
+
"wellarchitected",
|
|
449
|
+
"wisdom",
|
|
450
|
+
"workdocs",
|
|
451
|
+
"workmail",
|
|
452
|
+
"workmailmessageflow",
|
|
453
|
+
"workspaces",
|
|
454
|
+
"workspaces-thin-client",
|
|
455
|
+
"workspaces-web",
|
|
456
|
+
"xray",
|
|
457
|
+
]
|
|
458
|
+
ResourceServiceName = Literal[
|
|
459
|
+
"cloudformation",
|
|
460
|
+
"cloudwatch",
|
|
461
|
+
"dynamodb",
|
|
462
|
+
"ec2",
|
|
463
|
+
"glacier",
|
|
464
|
+
"iam",
|
|
465
|
+
"opsworks",
|
|
466
|
+
"s3",
|
|
467
|
+
"sns",
|
|
468
|
+
"sqs",
|
|
469
|
+
]
|
|
470
|
+
PaginatorName = Literal["list_namespaces", "list_table_buckets", "list_tables"]
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Type annotations for s3tables service client paginators.
|
|
3
|
+
|
|
4
|
+
[Open documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_s3tables/paginators/)
|
|
5
|
+
|
|
6
|
+
Usage::
|
|
7
|
+
|
|
8
|
+
```python
|
|
9
|
+
from boto3.session import Session
|
|
10
|
+
|
|
11
|
+
from mypy_boto3_s3tables.client import S3TablesClient
|
|
12
|
+
from mypy_boto3_s3tables.paginator import (
|
|
13
|
+
ListNamespacesPaginator,
|
|
14
|
+
ListTableBucketsPaginator,
|
|
15
|
+
ListTablesPaginator,
|
|
16
|
+
)
|
|
17
|
+
|
|
18
|
+
session = Session()
|
|
19
|
+
client: S3TablesClient = session.client("s3tables")
|
|
20
|
+
|
|
21
|
+
list_namespaces_paginator: ListNamespacesPaginator = client.get_paginator("list_namespaces")
|
|
22
|
+
list_table_buckets_paginator: ListTableBucketsPaginator = client.get_paginator("list_table_buckets")
|
|
23
|
+
list_tables_paginator: ListTablesPaginator = client.get_paginator("list_tables")
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Copyright 2024 Vlad Emelianov
|
|
27
|
+
"""
|
|
28
|
+
|
|
29
|
+
import sys
|
|
30
|
+
from typing import Generic, Iterator, TypeVar
|
|
31
|
+
|
|
32
|
+
from botocore.paginate import PageIterator, Paginator
|
|
33
|
+
|
|
34
|
+
from .type_defs import (
|
|
35
|
+
ListNamespacesRequestListNamespacesPaginateTypeDef,
|
|
36
|
+
ListNamespacesResponseTypeDef,
|
|
37
|
+
ListTableBucketsRequestListTableBucketsPaginateTypeDef,
|
|
38
|
+
ListTableBucketsResponseTypeDef,
|
|
39
|
+
ListTablesRequestListTablesPaginateTypeDef,
|
|
40
|
+
ListTablesResponseTypeDef,
|
|
41
|
+
)
|
|
42
|
+
|
|
43
|
+
if sys.version_info >= (3, 12):
|
|
44
|
+
from typing import Unpack
|
|
45
|
+
else:
|
|
46
|
+
from typing_extensions import Unpack
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
__all__ = ("ListNamespacesPaginator", "ListTableBucketsPaginator", "ListTablesPaginator")
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
_ItemTypeDef = TypeVar("_ItemTypeDef")
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
class _PageIterator(PageIterator, Generic[_ItemTypeDef]):
|
|
56
|
+
def __iter__(self) -> Iterator[_ItemTypeDef]:
|
|
57
|
+
"""
|
|
58
|
+
Proxy method to specify iterator item type.
|
|
59
|
+
"""
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
class ListNamespacesPaginator(Paginator):
|
|
63
|
+
"""
|
|
64
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3tables/paginator/ListNamespaces.html#S3Tables.Paginator.ListNamespaces)
|
|
65
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_s3tables/paginators/#listnamespacespaginator)
|
|
66
|
+
"""
|
|
67
|
+
|
|
68
|
+
def paginate(
|
|
69
|
+
self, **kwargs: Unpack[ListNamespacesRequestListNamespacesPaginateTypeDef]
|
|
70
|
+
) -> _PageIterator[ListNamespacesResponseTypeDef]:
|
|
71
|
+
"""
|
|
72
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3tables/paginator/ListNamespaces.html#S3Tables.Paginator.ListNamespaces.paginate)
|
|
73
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_s3tables/paginators/#listnamespacespaginator)
|
|
74
|
+
"""
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
class ListTableBucketsPaginator(Paginator):
|
|
78
|
+
"""
|
|
79
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3tables/paginator/ListTableBuckets.html#S3Tables.Paginator.ListTableBuckets)
|
|
80
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_s3tables/paginators/#listtablebucketspaginator)
|
|
81
|
+
"""
|
|
82
|
+
|
|
83
|
+
def paginate(
|
|
84
|
+
self, **kwargs: Unpack[ListTableBucketsRequestListTableBucketsPaginateTypeDef]
|
|
85
|
+
) -> _PageIterator[ListTableBucketsResponseTypeDef]:
|
|
86
|
+
"""
|
|
87
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3tables/paginator/ListTableBuckets.html#S3Tables.Paginator.ListTableBuckets.paginate)
|
|
88
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_s3tables/paginators/#listtablebucketspaginator)
|
|
89
|
+
"""
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
class ListTablesPaginator(Paginator):
|
|
93
|
+
"""
|
|
94
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3tables/paginator/ListTables.html#S3Tables.Paginator.ListTables)
|
|
95
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_s3tables/paginators/#listtablespaginator)
|
|
96
|
+
"""
|
|
97
|
+
|
|
98
|
+
def paginate(
|
|
99
|
+
self, **kwargs: Unpack[ListTablesRequestListTablesPaginateTypeDef]
|
|
100
|
+
) -> _PageIterator[ListTablesResponseTypeDef]:
|
|
101
|
+
"""
|
|
102
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3tables/paginator/ListTables.html#S3Tables.Paginator.ListTables.paginate)
|
|
103
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_s3tables/paginators/#listtablespaginator)
|
|
104
|
+
"""
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Type annotations for s3tables service client paginators.
|
|
3
|
+
|
|
4
|
+
[Open documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_s3tables/paginators/)
|
|
5
|
+
|
|
6
|
+
Usage::
|
|
7
|
+
|
|
8
|
+
```python
|
|
9
|
+
from boto3.session import Session
|
|
10
|
+
|
|
11
|
+
from mypy_boto3_s3tables.client import S3TablesClient
|
|
12
|
+
from mypy_boto3_s3tables.paginator import (
|
|
13
|
+
ListNamespacesPaginator,
|
|
14
|
+
ListTableBucketsPaginator,
|
|
15
|
+
ListTablesPaginator,
|
|
16
|
+
)
|
|
17
|
+
|
|
18
|
+
session = Session()
|
|
19
|
+
client: S3TablesClient = session.client("s3tables")
|
|
20
|
+
|
|
21
|
+
list_namespaces_paginator: ListNamespacesPaginator = client.get_paginator("list_namespaces")
|
|
22
|
+
list_table_buckets_paginator: ListTableBucketsPaginator = client.get_paginator("list_table_buckets")
|
|
23
|
+
list_tables_paginator: ListTablesPaginator = client.get_paginator("list_tables")
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Copyright 2024 Vlad Emelianov
|
|
27
|
+
"""
|
|
28
|
+
|
|
29
|
+
import sys
|
|
30
|
+
from typing import Generic, Iterator, TypeVar
|
|
31
|
+
|
|
32
|
+
from botocore.paginate import PageIterator, Paginator
|
|
33
|
+
|
|
34
|
+
from .type_defs import (
|
|
35
|
+
ListNamespacesRequestListNamespacesPaginateTypeDef,
|
|
36
|
+
ListNamespacesResponseTypeDef,
|
|
37
|
+
ListTableBucketsRequestListTableBucketsPaginateTypeDef,
|
|
38
|
+
ListTableBucketsResponseTypeDef,
|
|
39
|
+
ListTablesRequestListTablesPaginateTypeDef,
|
|
40
|
+
ListTablesResponseTypeDef,
|
|
41
|
+
)
|
|
42
|
+
|
|
43
|
+
if sys.version_info >= (3, 12):
|
|
44
|
+
from typing import Unpack
|
|
45
|
+
else:
|
|
46
|
+
from typing_extensions import Unpack
|
|
47
|
+
|
|
48
|
+
__all__ = ("ListNamespacesPaginator", "ListTableBucketsPaginator", "ListTablesPaginator")
|
|
49
|
+
|
|
50
|
+
_ItemTypeDef = TypeVar("_ItemTypeDef")
|
|
51
|
+
|
|
52
|
+
class _PageIterator(PageIterator, Generic[_ItemTypeDef]):
|
|
53
|
+
def __iter__(self) -> Iterator[_ItemTypeDef]:
|
|
54
|
+
"""
|
|
55
|
+
Proxy method to specify iterator item type.
|
|
56
|
+
"""
|
|
57
|
+
|
|
58
|
+
class ListNamespacesPaginator(Paginator):
|
|
59
|
+
"""
|
|
60
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3tables/paginator/ListNamespaces.html#S3Tables.Paginator.ListNamespaces)
|
|
61
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_s3tables/paginators/#listnamespacespaginator)
|
|
62
|
+
"""
|
|
63
|
+
def paginate(
|
|
64
|
+
self, **kwargs: Unpack[ListNamespacesRequestListNamespacesPaginateTypeDef]
|
|
65
|
+
) -> _PageIterator[ListNamespacesResponseTypeDef]:
|
|
66
|
+
"""
|
|
67
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3tables/paginator/ListNamespaces.html#S3Tables.Paginator.ListNamespaces.paginate)
|
|
68
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_s3tables/paginators/#listnamespacespaginator)
|
|
69
|
+
"""
|
|
70
|
+
|
|
71
|
+
class ListTableBucketsPaginator(Paginator):
|
|
72
|
+
"""
|
|
73
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3tables/paginator/ListTableBuckets.html#S3Tables.Paginator.ListTableBuckets)
|
|
74
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_s3tables/paginators/#listtablebucketspaginator)
|
|
75
|
+
"""
|
|
76
|
+
def paginate(
|
|
77
|
+
self, **kwargs: Unpack[ListTableBucketsRequestListTableBucketsPaginateTypeDef]
|
|
78
|
+
) -> _PageIterator[ListTableBucketsResponseTypeDef]:
|
|
79
|
+
"""
|
|
80
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3tables/paginator/ListTableBuckets.html#S3Tables.Paginator.ListTableBuckets.paginate)
|
|
81
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_s3tables/paginators/#listtablebucketspaginator)
|
|
82
|
+
"""
|
|
83
|
+
|
|
84
|
+
class ListTablesPaginator(Paginator):
|
|
85
|
+
"""
|
|
86
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3tables/paginator/ListTables.html#S3Tables.Paginator.ListTables)
|
|
87
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_s3tables/paginators/#listtablespaginator)
|
|
88
|
+
"""
|
|
89
|
+
def paginate(
|
|
90
|
+
self, **kwargs: Unpack[ListTablesRequestListTablesPaginateTypeDef]
|
|
91
|
+
) -> _PageIterator[ListTablesResponseTypeDef]:
|
|
92
|
+
"""
|
|
93
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3tables/paginator/ListTables.html#S3Tables.Paginator.ListTables.paginate)
|
|
94
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_s3tables/paginators/#listtablespaginator)
|
|
95
|
+
"""
|
|
File without changes
|