types-boto3-lambda-web 1.43.107__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.
- types_boto3_lambda_web/__init__.py +72 -0
- types_boto3_lambda_web/__init__.pyi +71 -0
- types_boto3_lambda_web/__main__.py +43 -0
- types_boto3_lambda_web/client.py +432 -0
- types_boto3_lambda_web/client.pyi +429 -0
- types_boto3_lambda_web/literals.py +558 -0
- types_boto3_lambda_web/literals.pyi +556 -0
- types_boto3_lambda_web/paginator.py +118 -0
- types_boto3_lambda_web/paginator.pyi +108 -0
- types_boto3_lambda_web/py.typed +0 -0
- types_boto3_lambda_web/type_defs.py +615 -0
- types_boto3_lambda_web/type_defs.pyi +546 -0
- types_boto3_lambda_web/version.py +7 -0
- types_boto3_lambda_web/waiter.py +153 -0
- types_boto3_lambda_web/waiter.pyi +140 -0
- types_boto3_lambda_web-1.43.107.dist-info/METADATA +522 -0
- types_boto3_lambda_web-1.43.107.dist-info/RECORD +20 -0
- types_boto3_lambda_web-1.43.107.dist-info/WHEEL +5 -0
- types_boto3_lambda_web-1.43.107.dist-info/licenses/LICENSE +21 -0
- types_boto3_lambda_web-1.43.107.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,546 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Type annotations for lambda-web service type definitions.
|
|
3
|
+
|
|
4
|
+
[Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_lambda_web/type_defs/)
|
|
5
|
+
|
|
6
|
+
Copyright 2026 Vlad Emelianov
|
|
7
|
+
|
|
8
|
+
Usage::
|
|
9
|
+
|
|
10
|
+
```python
|
|
11
|
+
from types_boto3_lambda_web.type_defs import AccountQuotasTypeDef
|
|
12
|
+
|
|
13
|
+
data: AccountQuotasTypeDef = ...
|
|
14
|
+
```
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
from __future__ import annotations
|
|
18
|
+
|
|
19
|
+
import sys
|
|
20
|
+
from collections.abc import Mapping, Sequence
|
|
21
|
+
from datetime import datetime
|
|
22
|
+
from typing import Union
|
|
23
|
+
|
|
24
|
+
from .literals import (
|
|
25
|
+
ApplicationLogLevelType,
|
|
26
|
+
AuthTypeType,
|
|
27
|
+
AutoDeploymentModeType,
|
|
28
|
+
EndpointStateType,
|
|
29
|
+
EndpointTypeType,
|
|
30
|
+
EndpointUpdateStatusType,
|
|
31
|
+
FunctionStateType,
|
|
32
|
+
RevisionStateType,
|
|
33
|
+
SystemLogLevelType,
|
|
34
|
+
)
|
|
35
|
+
|
|
36
|
+
if sys.version_info >= (3, 12):
|
|
37
|
+
from typing import NotRequired, TypedDict
|
|
38
|
+
else:
|
|
39
|
+
from typing_extensions import NotRequired, TypedDict
|
|
40
|
+
|
|
41
|
+
__all__ = (
|
|
42
|
+
"AccountQuotasTypeDef",
|
|
43
|
+
"AccountUsageTypeDef",
|
|
44
|
+
"BuildConfigTypeDef",
|
|
45
|
+
"CodeConfigTypeDef",
|
|
46
|
+
"CreateWebFunctionEndpointRequestTypeDef",
|
|
47
|
+
"CreateWebFunctionEndpointResponseTypeDef",
|
|
48
|
+
"CreateWebFunctionRequestTypeDef",
|
|
49
|
+
"CreateWebFunctionResponseTypeDef",
|
|
50
|
+
"CreateWebFunctionRevisionRequestTypeDef",
|
|
51
|
+
"CreateWebFunctionRevisionResponseTypeDef",
|
|
52
|
+
"DeleteResourcePolicyRequestTypeDef",
|
|
53
|
+
"DeleteWebFunctionEndpointRequestTypeDef",
|
|
54
|
+
"DeleteWebFunctionRequestTypeDef",
|
|
55
|
+
"DeleteWebFunctionRevisionRequestTypeDef",
|
|
56
|
+
"EmptyResponseMetadataTypeDef",
|
|
57
|
+
"EndpointConfigTypeDef",
|
|
58
|
+
"FilterTypeDef",
|
|
59
|
+
"FunctionEndpointSummaryTypeDef",
|
|
60
|
+
"FunctionRevisionSummaryTypeDef",
|
|
61
|
+
"FunctionSummaryTypeDef",
|
|
62
|
+
"GetResourcePolicyRequestTypeDef",
|
|
63
|
+
"GetResourcePolicyResponseTypeDef",
|
|
64
|
+
"GetWebAccountSettingsResponseTypeDef",
|
|
65
|
+
"GetWebFunctionEndpointRequestTypeDef",
|
|
66
|
+
"GetWebFunctionEndpointRequestWaitExtraExtraTypeDef",
|
|
67
|
+
"GetWebFunctionEndpointRequestWaitExtraTypeDef",
|
|
68
|
+
"GetWebFunctionEndpointRequestWaitTypeDef",
|
|
69
|
+
"GetWebFunctionEndpointResponseTypeDef",
|
|
70
|
+
"GetWebFunctionRequestTypeDef",
|
|
71
|
+
"GetWebFunctionRequestWaitExtraTypeDef",
|
|
72
|
+
"GetWebFunctionRequestWaitTypeDef",
|
|
73
|
+
"GetWebFunctionResponseTypeDef",
|
|
74
|
+
"GetWebFunctionRevisionRequestTypeDef",
|
|
75
|
+
"GetWebFunctionRevisionRequestWaitTypeDef",
|
|
76
|
+
"GetWebFunctionRevisionResponseTypeDef",
|
|
77
|
+
"ListTagsRequestTypeDef",
|
|
78
|
+
"ListTagsResponseTypeDef",
|
|
79
|
+
"ListWebFunctionEndpointsRequestPaginateTypeDef",
|
|
80
|
+
"ListWebFunctionEndpointsRequestTypeDef",
|
|
81
|
+
"ListWebFunctionEndpointsResponseTypeDef",
|
|
82
|
+
"ListWebFunctionRevisionsRequestPaginateTypeDef",
|
|
83
|
+
"ListWebFunctionRevisionsRequestTypeDef",
|
|
84
|
+
"ListWebFunctionRevisionsResponseTypeDef",
|
|
85
|
+
"ListWebFunctionsRequestPaginateTypeDef",
|
|
86
|
+
"ListWebFunctionsRequestTypeDef",
|
|
87
|
+
"ListWebFunctionsResponseTypeDef",
|
|
88
|
+
"LoggingConfigTypeDef",
|
|
89
|
+
"PaginatorConfigTypeDef",
|
|
90
|
+
"PutResourcePolicyRequestTypeDef",
|
|
91
|
+
"PutResourcePolicyResponseTypeDef",
|
|
92
|
+
"RegionalEndpointTypeDef",
|
|
93
|
+
"ResponseMetadataTypeDef",
|
|
94
|
+
"RevisionConfigTypeDef",
|
|
95
|
+
"RevisionErrorTypeDef",
|
|
96
|
+
"RevisionWeightTypeDef",
|
|
97
|
+
"RuntimeConfigTypeDef",
|
|
98
|
+
"S3ObjectTypeDef",
|
|
99
|
+
"ScalingConfigTypeDef",
|
|
100
|
+
"ServiceConfigOutputTypeDef",
|
|
101
|
+
"ServiceConfigTypeDef",
|
|
102
|
+
"ServiceConfigUnionTypeDef",
|
|
103
|
+
"TagResourceRequestTypeDef",
|
|
104
|
+
"TelemetryConfigTypeDef",
|
|
105
|
+
"ThrottleConfigTypeDef",
|
|
106
|
+
"UntagResourceRequestTypeDef",
|
|
107
|
+
"UpdateWebFunctionEndpointRequestTypeDef",
|
|
108
|
+
"UpdateWebFunctionEndpointResponseTypeDef",
|
|
109
|
+
"WaiterConfigTypeDef",
|
|
110
|
+
)
|
|
111
|
+
|
|
112
|
+
class AccountQuotasTypeDef(TypedDict):
|
|
113
|
+
maxTotalArmVCpus: int
|
|
114
|
+
maxTotalRateLimit: int
|
|
115
|
+
maxRevisionsPerFunction: int
|
|
116
|
+
maxEndpointsPerFunction: int
|
|
117
|
+
|
|
118
|
+
class AccountUsageTypeDef(TypedDict):
|
|
119
|
+
functionCount: int
|
|
120
|
+
|
|
121
|
+
class RuntimeConfigTypeDef(TypedDict):
|
|
122
|
+
runtime: str
|
|
123
|
+
|
|
124
|
+
class S3ObjectTypeDef(TypedDict):
|
|
125
|
+
bucket: str
|
|
126
|
+
key: str
|
|
127
|
+
versionId: NotRequired[str]
|
|
128
|
+
|
|
129
|
+
class RevisionWeightTypeDef(TypedDict):
|
|
130
|
+
revisionId: str
|
|
131
|
+
weight: int
|
|
132
|
+
|
|
133
|
+
class ScalingConfigTypeDef(TypedDict):
|
|
134
|
+
maxEnvironments: NotRequired[int]
|
|
135
|
+
|
|
136
|
+
class ThrottleConfigTypeDef(TypedDict):
|
|
137
|
+
rateLimit: NotRequired[int]
|
|
138
|
+
|
|
139
|
+
class ResponseMetadataTypeDef(TypedDict):
|
|
140
|
+
RequestId: str
|
|
141
|
+
HTTPStatusCode: int
|
|
142
|
+
HTTPHeaders: dict[str, str]
|
|
143
|
+
RetryAttempts: int
|
|
144
|
+
HostId: NotRequired[str]
|
|
145
|
+
|
|
146
|
+
class FunctionRevisionSummaryTypeDef(TypedDict):
|
|
147
|
+
revisionArn: str
|
|
148
|
+
revisionId: str
|
|
149
|
+
state: RevisionStateType
|
|
150
|
+
stateReason: str
|
|
151
|
+
createdAt: datetime
|
|
152
|
+
description: NotRequired[str]
|
|
153
|
+
|
|
154
|
+
class RevisionErrorTypeDef(TypedDict):
|
|
155
|
+
attribute: str
|
|
156
|
+
errorCode: str
|
|
157
|
+
errorMessage: str
|
|
158
|
+
|
|
159
|
+
class DeleteResourcePolicyRequestTypeDef(TypedDict):
|
|
160
|
+
resourceArn: str
|
|
161
|
+
revisionId: NotRequired[str]
|
|
162
|
+
|
|
163
|
+
class DeleteWebFunctionEndpointRequestTypeDef(TypedDict):
|
|
164
|
+
functionName: str
|
|
165
|
+
endpointName: str
|
|
166
|
+
|
|
167
|
+
class DeleteWebFunctionRequestTypeDef(TypedDict):
|
|
168
|
+
functionName: str
|
|
169
|
+
|
|
170
|
+
class DeleteWebFunctionRevisionRequestTypeDef(TypedDict):
|
|
171
|
+
functionName: str
|
|
172
|
+
revisionId: str
|
|
173
|
+
|
|
174
|
+
class FilterTypeDef(TypedDict):
|
|
175
|
+
name: str
|
|
176
|
+
values: Sequence[str]
|
|
177
|
+
|
|
178
|
+
class FunctionSummaryTypeDef(TypedDict):
|
|
179
|
+
functionName: str
|
|
180
|
+
functionArn: str
|
|
181
|
+
state: FunctionStateType
|
|
182
|
+
stateReason: str
|
|
183
|
+
createdAt: datetime
|
|
184
|
+
updatedAt: datetime
|
|
185
|
+
|
|
186
|
+
class GetResourcePolicyRequestTypeDef(TypedDict):
|
|
187
|
+
resourceArn: str
|
|
188
|
+
|
|
189
|
+
class GetWebFunctionEndpointRequestTypeDef(TypedDict):
|
|
190
|
+
functionName: str
|
|
191
|
+
endpointName: str
|
|
192
|
+
|
|
193
|
+
class WaiterConfigTypeDef(TypedDict):
|
|
194
|
+
Delay: NotRequired[int]
|
|
195
|
+
MaxAttempts: NotRequired[int]
|
|
196
|
+
|
|
197
|
+
class GetWebFunctionRequestTypeDef(TypedDict):
|
|
198
|
+
functionName: str
|
|
199
|
+
|
|
200
|
+
class GetWebFunctionRevisionRequestTypeDef(TypedDict):
|
|
201
|
+
functionName: str
|
|
202
|
+
revisionId: str
|
|
203
|
+
|
|
204
|
+
class ListTagsRequestTypeDef(TypedDict):
|
|
205
|
+
resource: str
|
|
206
|
+
|
|
207
|
+
class PaginatorConfigTypeDef(TypedDict):
|
|
208
|
+
MaxItems: NotRequired[int]
|
|
209
|
+
PageSize: NotRequired[int]
|
|
210
|
+
StartingToken: NotRequired[str]
|
|
211
|
+
|
|
212
|
+
class LoggingConfigTypeDef(TypedDict):
|
|
213
|
+
logGroup: NotRequired[str]
|
|
214
|
+
applicationLogLevel: NotRequired[ApplicationLogLevelType]
|
|
215
|
+
systemLogLevel: NotRequired[SystemLogLevelType]
|
|
216
|
+
|
|
217
|
+
class PutResourcePolicyRequestTypeDef(TypedDict):
|
|
218
|
+
resourceArn: str
|
|
219
|
+
policy: str
|
|
220
|
+
revisionId: NotRequired[str]
|
|
221
|
+
|
|
222
|
+
class TagResourceRequestTypeDef(TypedDict):
|
|
223
|
+
resource: str
|
|
224
|
+
tags: Mapping[str, str]
|
|
225
|
+
|
|
226
|
+
class UntagResourceRequestTypeDef(TypedDict):
|
|
227
|
+
resource: str
|
|
228
|
+
tagKeys: Sequence[str]
|
|
229
|
+
|
|
230
|
+
class CodeConfigTypeDef(TypedDict):
|
|
231
|
+
s3Object: S3ObjectTypeDef
|
|
232
|
+
|
|
233
|
+
class CreateWebFunctionEndpointRequestTypeDef(TypedDict):
|
|
234
|
+
functionName: str
|
|
235
|
+
endpointName: str
|
|
236
|
+
endpointType: EndpointTypeType
|
|
237
|
+
authType: AuthTypeType
|
|
238
|
+
description: NotRequired[str]
|
|
239
|
+
autoDeploymentMode: NotRequired[AutoDeploymentModeType]
|
|
240
|
+
revisionWeights: NotRequired[Sequence[RevisionWeightTypeDef]]
|
|
241
|
+
regions: NotRequired[Sequence[str]]
|
|
242
|
+
scalingConfig: NotRequired[ScalingConfigTypeDef]
|
|
243
|
+
throttleConfig: NotRequired[ThrottleConfigTypeDef]
|
|
244
|
+
|
|
245
|
+
class EndpointConfigTypeDef(TypedDict):
|
|
246
|
+
endpointName: str
|
|
247
|
+
endpointType: EndpointTypeType
|
|
248
|
+
authType: AuthTypeType
|
|
249
|
+
description: NotRequired[str]
|
|
250
|
+
autoDeploymentMode: NotRequired[AutoDeploymentModeType]
|
|
251
|
+
regions: NotRequired[Sequence[str]]
|
|
252
|
+
scalingConfig: NotRequired[ScalingConfigTypeDef]
|
|
253
|
+
throttleConfig: NotRequired[ThrottleConfigTypeDef]
|
|
254
|
+
|
|
255
|
+
class FunctionEndpointSummaryTypeDef(TypedDict):
|
|
256
|
+
endpointArn: str
|
|
257
|
+
endpointName: str
|
|
258
|
+
endpointType: EndpointTypeType
|
|
259
|
+
domainName: str
|
|
260
|
+
authType: AuthTypeType
|
|
261
|
+
autoDeploymentMode: AutoDeploymentModeType
|
|
262
|
+
revisionWeights: list[RevisionWeightTypeDef]
|
|
263
|
+
regions: list[str]
|
|
264
|
+
state: EndpointStateType
|
|
265
|
+
stateReason: str
|
|
266
|
+
createdAt: datetime
|
|
267
|
+
updatedAt: datetime
|
|
268
|
+
description: NotRequired[str]
|
|
269
|
+
scalingConfig: NotRequired[ScalingConfigTypeDef]
|
|
270
|
+
throttleConfig: NotRequired[ThrottleConfigTypeDef]
|
|
271
|
+
updateStatus: NotRequired[EndpointUpdateStatusType]
|
|
272
|
+
updateStatusReason: NotRequired[str]
|
|
273
|
+
|
|
274
|
+
class RegionalEndpointTypeDef(TypedDict):
|
|
275
|
+
authType: AuthTypeType
|
|
276
|
+
revisionWeights: list[RevisionWeightTypeDef]
|
|
277
|
+
state: EndpointStateType
|
|
278
|
+
stateReason: str
|
|
279
|
+
domainName: NotRequired[str]
|
|
280
|
+
scalingConfig: NotRequired[ScalingConfigTypeDef]
|
|
281
|
+
throttleConfig: NotRequired[ThrottleConfigTypeDef]
|
|
282
|
+
updateStatus: NotRequired[EndpointUpdateStatusType]
|
|
283
|
+
updateStatusReason: NotRequired[str]
|
|
284
|
+
|
|
285
|
+
class UpdateWebFunctionEndpointRequestTypeDef(TypedDict):
|
|
286
|
+
functionName: str
|
|
287
|
+
endpointName: str
|
|
288
|
+
description: NotRequired[str]
|
|
289
|
+
authType: NotRequired[AuthTypeType]
|
|
290
|
+
autoDeploymentMode: NotRequired[AutoDeploymentModeType]
|
|
291
|
+
revisionWeights: NotRequired[Sequence[RevisionWeightTypeDef]]
|
|
292
|
+
scalingConfig: NotRequired[ScalingConfigTypeDef]
|
|
293
|
+
throttleConfig: NotRequired[ThrottleConfigTypeDef]
|
|
294
|
+
|
|
295
|
+
class EmptyResponseMetadataTypeDef(TypedDict):
|
|
296
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
297
|
+
|
|
298
|
+
class GetResourcePolicyResponseTypeDef(TypedDict):
|
|
299
|
+
policy: str
|
|
300
|
+
revisionId: str
|
|
301
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
302
|
+
|
|
303
|
+
class GetWebAccountSettingsResponseTypeDef(TypedDict):
|
|
304
|
+
accountQuotas: AccountQuotasTypeDef
|
|
305
|
+
accountUsage: AccountUsageTypeDef
|
|
306
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
307
|
+
|
|
308
|
+
class GetWebFunctionResponseTypeDef(TypedDict):
|
|
309
|
+
functionName: str
|
|
310
|
+
functionArn: str
|
|
311
|
+
state: FunctionStateType
|
|
312
|
+
stateReason: str
|
|
313
|
+
createdAt: datetime
|
|
314
|
+
updatedAt: datetime
|
|
315
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
316
|
+
|
|
317
|
+
class ListTagsResponseTypeDef(TypedDict):
|
|
318
|
+
tags: dict[str, str]
|
|
319
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
320
|
+
|
|
321
|
+
class PutResourcePolicyResponseTypeDef(TypedDict):
|
|
322
|
+
policy: str
|
|
323
|
+
revisionId: str
|
|
324
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
325
|
+
|
|
326
|
+
class ListWebFunctionRevisionsResponseTypeDef(TypedDict):
|
|
327
|
+
revisions: list[FunctionRevisionSummaryTypeDef]
|
|
328
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
329
|
+
nextToken: NotRequired[str]
|
|
330
|
+
|
|
331
|
+
class ListWebFunctionEndpointsRequestTypeDef(TypedDict):
|
|
332
|
+
functionName: str
|
|
333
|
+
filters: NotRequired[Sequence[FilterTypeDef]]
|
|
334
|
+
maxResults: NotRequired[int]
|
|
335
|
+
nextToken: NotRequired[str]
|
|
336
|
+
|
|
337
|
+
class ListWebFunctionRevisionsRequestTypeDef(TypedDict):
|
|
338
|
+
functionName: str
|
|
339
|
+
filters: NotRequired[Sequence[FilterTypeDef]]
|
|
340
|
+
maxResults: NotRequired[int]
|
|
341
|
+
nextToken: NotRequired[str]
|
|
342
|
+
|
|
343
|
+
class ListWebFunctionsRequestTypeDef(TypedDict):
|
|
344
|
+
filters: NotRequired[Sequence[FilterTypeDef]]
|
|
345
|
+
maxResults: NotRequired[int]
|
|
346
|
+
nextToken: NotRequired[str]
|
|
347
|
+
|
|
348
|
+
class ListWebFunctionsResponseTypeDef(TypedDict):
|
|
349
|
+
functions: list[FunctionSummaryTypeDef]
|
|
350
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
351
|
+
nextToken: NotRequired[str]
|
|
352
|
+
|
|
353
|
+
class GetWebFunctionEndpointRequestWaitExtraExtraTypeDef(TypedDict):
|
|
354
|
+
functionName: str
|
|
355
|
+
endpointName: str
|
|
356
|
+
WaiterConfig: NotRequired[WaiterConfigTypeDef]
|
|
357
|
+
|
|
358
|
+
class GetWebFunctionEndpointRequestWaitExtraTypeDef(TypedDict):
|
|
359
|
+
functionName: str
|
|
360
|
+
endpointName: str
|
|
361
|
+
WaiterConfig: NotRequired[WaiterConfigTypeDef]
|
|
362
|
+
|
|
363
|
+
class GetWebFunctionEndpointRequestWaitTypeDef(TypedDict):
|
|
364
|
+
functionName: str
|
|
365
|
+
endpointName: str
|
|
366
|
+
WaiterConfig: NotRequired[WaiterConfigTypeDef]
|
|
367
|
+
|
|
368
|
+
class GetWebFunctionRequestWaitExtraTypeDef(TypedDict):
|
|
369
|
+
functionName: str
|
|
370
|
+
WaiterConfig: NotRequired[WaiterConfigTypeDef]
|
|
371
|
+
|
|
372
|
+
class GetWebFunctionRequestWaitTypeDef(TypedDict):
|
|
373
|
+
functionName: str
|
|
374
|
+
WaiterConfig: NotRequired[WaiterConfigTypeDef]
|
|
375
|
+
|
|
376
|
+
class GetWebFunctionRevisionRequestWaitTypeDef(TypedDict):
|
|
377
|
+
functionName: str
|
|
378
|
+
revisionId: str
|
|
379
|
+
WaiterConfig: NotRequired[WaiterConfigTypeDef]
|
|
380
|
+
|
|
381
|
+
class ListWebFunctionEndpointsRequestPaginateTypeDef(TypedDict):
|
|
382
|
+
functionName: str
|
|
383
|
+
filters: NotRequired[Sequence[FilterTypeDef]]
|
|
384
|
+
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
385
|
+
|
|
386
|
+
class ListWebFunctionRevisionsRequestPaginateTypeDef(TypedDict):
|
|
387
|
+
functionName: str
|
|
388
|
+
filters: NotRequired[Sequence[FilterTypeDef]]
|
|
389
|
+
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
390
|
+
|
|
391
|
+
class ListWebFunctionsRequestPaginateTypeDef(TypedDict):
|
|
392
|
+
filters: NotRequired[Sequence[FilterTypeDef]]
|
|
393
|
+
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
394
|
+
|
|
395
|
+
class TelemetryConfigTypeDef(TypedDict):
|
|
396
|
+
loggingConfig: NotRequired[LoggingConfigTypeDef]
|
|
397
|
+
|
|
398
|
+
class BuildConfigTypeDef(TypedDict):
|
|
399
|
+
codeConfig: CodeConfigTypeDef
|
|
400
|
+
runtimeConfig: RuntimeConfigTypeDef
|
|
401
|
+
|
|
402
|
+
class CreateWebFunctionResponseTypeDef(TypedDict):
|
|
403
|
+
functionName: str
|
|
404
|
+
functionArn: str
|
|
405
|
+
state: FunctionStateType
|
|
406
|
+
stateReason: str
|
|
407
|
+
createdAt: datetime
|
|
408
|
+
updatedAt: datetime
|
|
409
|
+
revision: FunctionRevisionSummaryTypeDef
|
|
410
|
+
endpoint: FunctionEndpointSummaryTypeDef
|
|
411
|
+
tags: dict[str, str]
|
|
412
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
413
|
+
|
|
414
|
+
class ListWebFunctionEndpointsResponseTypeDef(TypedDict):
|
|
415
|
+
endpoints: list[FunctionEndpointSummaryTypeDef]
|
|
416
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
417
|
+
nextToken: NotRequired[str]
|
|
418
|
+
|
|
419
|
+
class CreateWebFunctionEndpointResponseTypeDef(TypedDict):
|
|
420
|
+
functionArn: str
|
|
421
|
+
endpointArn: str
|
|
422
|
+
endpointName: str
|
|
423
|
+
description: str
|
|
424
|
+
endpointType: EndpointTypeType
|
|
425
|
+
domainName: str
|
|
426
|
+
authType: AuthTypeType
|
|
427
|
+
autoDeploymentMode: AutoDeploymentModeType
|
|
428
|
+
revisionWeights: list[RevisionWeightTypeDef]
|
|
429
|
+
regions: list[str]
|
|
430
|
+
scalingConfig: ScalingConfigTypeDef
|
|
431
|
+
throttleConfig: ThrottleConfigTypeDef
|
|
432
|
+
state: EndpointStateType
|
|
433
|
+
stateReason: str
|
|
434
|
+
updateStatus: EndpointUpdateStatusType
|
|
435
|
+
updateStatusReason: str
|
|
436
|
+
regionalEndpoints: dict[str, RegionalEndpointTypeDef]
|
|
437
|
+
createdAt: datetime
|
|
438
|
+
updatedAt: datetime
|
|
439
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
440
|
+
|
|
441
|
+
class GetWebFunctionEndpointResponseTypeDef(TypedDict):
|
|
442
|
+
functionArn: str
|
|
443
|
+
endpointArn: str
|
|
444
|
+
endpointName: str
|
|
445
|
+
description: str
|
|
446
|
+
endpointType: EndpointTypeType
|
|
447
|
+
domainName: str
|
|
448
|
+
authType: AuthTypeType
|
|
449
|
+
autoDeploymentMode: AutoDeploymentModeType
|
|
450
|
+
revisionWeights: list[RevisionWeightTypeDef]
|
|
451
|
+
regions: list[str]
|
|
452
|
+
scalingConfig: ScalingConfigTypeDef
|
|
453
|
+
throttleConfig: ThrottleConfigTypeDef
|
|
454
|
+
state: EndpointStateType
|
|
455
|
+
stateReason: str
|
|
456
|
+
updateStatus: EndpointUpdateStatusType
|
|
457
|
+
updateStatusReason: str
|
|
458
|
+
regionalEndpoints: dict[str, RegionalEndpointTypeDef]
|
|
459
|
+
createdAt: datetime
|
|
460
|
+
updatedAt: datetime
|
|
461
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
462
|
+
|
|
463
|
+
class UpdateWebFunctionEndpointResponseTypeDef(TypedDict):
|
|
464
|
+
functionArn: str
|
|
465
|
+
endpointArn: str
|
|
466
|
+
endpointName: str
|
|
467
|
+
description: str
|
|
468
|
+
endpointType: EndpointTypeType
|
|
469
|
+
domainName: str
|
|
470
|
+
authType: AuthTypeType
|
|
471
|
+
autoDeploymentMode: AutoDeploymentModeType
|
|
472
|
+
revisionWeights: list[RevisionWeightTypeDef]
|
|
473
|
+
regions: list[str]
|
|
474
|
+
scalingConfig: ScalingConfigTypeDef
|
|
475
|
+
throttleConfig: ThrottleConfigTypeDef
|
|
476
|
+
state: EndpointStateType
|
|
477
|
+
stateReason: str
|
|
478
|
+
updateStatus: EndpointUpdateStatusType
|
|
479
|
+
updateStatusReason: str
|
|
480
|
+
regionalEndpoints: dict[str, RegionalEndpointTypeDef]
|
|
481
|
+
createdAt: datetime
|
|
482
|
+
updatedAt: datetime
|
|
483
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
484
|
+
|
|
485
|
+
class ServiceConfigOutputTypeDef(TypedDict):
|
|
486
|
+
executionRoleArn: str
|
|
487
|
+
timeoutSeconds: NotRequired[int]
|
|
488
|
+
maxConcurrencyPerEnvironment: NotRequired[int]
|
|
489
|
+
environmentVariables: NotRequired[dict[str, str]]
|
|
490
|
+
telemetryConfig: NotRequired[TelemetryConfigTypeDef]
|
|
491
|
+
|
|
492
|
+
class ServiceConfigTypeDef(TypedDict):
|
|
493
|
+
executionRoleArn: str
|
|
494
|
+
timeoutSeconds: NotRequired[int]
|
|
495
|
+
maxConcurrencyPerEnvironment: NotRequired[int]
|
|
496
|
+
environmentVariables: NotRequired[Mapping[str, str]]
|
|
497
|
+
telemetryConfig: NotRequired[TelemetryConfigTypeDef]
|
|
498
|
+
|
|
499
|
+
class CreateWebFunctionRevisionResponseTypeDef(TypedDict):
|
|
500
|
+
functionArn: str
|
|
501
|
+
revisionArn: str
|
|
502
|
+
revisionId: str
|
|
503
|
+
description: str
|
|
504
|
+
kmsKeyArn: str
|
|
505
|
+
buildConfig: BuildConfigTypeDef
|
|
506
|
+
serviceConfig: ServiceConfigOutputTypeDef
|
|
507
|
+
state: RevisionStateType
|
|
508
|
+
stateReason: str
|
|
509
|
+
errors: list[RevisionErrorTypeDef]
|
|
510
|
+
createdAt: datetime
|
|
511
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
512
|
+
|
|
513
|
+
class GetWebFunctionRevisionResponseTypeDef(TypedDict):
|
|
514
|
+
functionArn: str
|
|
515
|
+
revisionArn: str
|
|
516
|
+
revisionId: str
|
|
517
|
+
description: str
|
|
518
|
+
kmsKeyArn: str
|
|
519
|
+
buildConfig: BuildConfigTypeDef
|
|
520
|
+
serviceConfig: ServiceConfigOutputTypeDef
|
|
521
|
+
state: RevisionStateType
|
|
522
|
+
stateReason: str
|
|
523
|
+
errors: list[RevisionErrorTypeDef]
|
|
524
|
+
createdAt: datetime
|
|
525
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
526
|
+
|
|
527
|
+
ServiceConfigUnionTypeDef = Union[ServiceConfigTypeDef, ServiceConfigOutputTypeDef]
|
|
528
|
+
|
|
529
|
+
class CreateWebFunctionRevisionRequestTypeDef(TypedDict):
|
|
530
|
+
functionName: str
|
|
531
|
+
buildConfig: BuildConfigTypeDef
|
|
532
|
+
serviceConfig: ServiceConfigUnionTypeDef
|
|
533
|
+
description: NotRequired[str]
|
|
534
|
+
kmsKeyArn: NotRequired[str]
|
|
535
|
+
|
|
536
|
+
class RevisionConfigTypeDef(TypedDict):
|
|
537
|
+
buildConfig: BuildConfigTypeDef
|
|
538
|
+
serviceConfig: ServiceConfigUnionTypeDef
|
|
539
|
+
description: NotRequired[str]
|
|
540
|
+
kmsKeyArn: NotRequired[str]
|
|
541
|
+
|
|
542
|
+
class CreateWebFunctionRequestTypeDef(TypedDict):
|
|
543
|
+
functionName: str
|
|
544
|
+
revisionConfig: NotRequired[RevisionConfigTypeDef]
|
|
545
|
+
endpointConfig: NotRequired[EndpointConfigTypeDef]
|
|
546
|
+
tags: NotRequired[Mapping[str, str]]
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Type annotations for lambda-web service client waiters.
|
|
3
|
+
|
|
4
|
+
[Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_lambda_web/waiters/)
|
|
5
|
+
|
|
6
|
+
Copyright 2026 Vlad Emelianov
|
|
7
|
+
|
|
8
|
+
Usage::
|
|
9
|
+
|
|
10
|
+
```python
|
|
11
|
+
from boto3.session import Session
|
|
12
|
+
|
|
13
|
+
from types_boto3_lambda_web.client import LambdaWebClient
|
|
14
|
+
from types_boto3_lambda_web.waiter import (
|
|
15
|
+
WebFunctionActiveWaiter,
|
|
16
|
+
WebFunctionDeletedWaiter,
|
|
17
|
+
WebFunctionEndpointActiveWaiter,
|
|
18
|
+
WebFunctionEndpointDeletedWaiter,
|
|
19
|
+
WebFunctionEndpointUpdatedWaiter,
|
|
20
|
+
WebFunctionRevisionActiveWaiter,
|
|
21
|
+
)
|
|
22
|
+
|
|
23
|
+
session = Session()
|
|
24
|
+
client: LambdaWebClient = session.client("lambda-web")
|
|
25
|
+
|
|
26
|
+
web_function_active_waiter: WebFunctionActiveWaiter = client.get_waiter("web_function_active")
|
|
27
|
+
web_function_deleted_waiter: WebFunctionDeletedWaiter = client.get_waiter("web_function_deleted")
|
|
28
|
+
web_function_endpoint_active_waiter: WebFunctionEndpointActiveWaiter = client.get_waiter("web_function_endpoint_active")
|
|
29
|
+
web_function_endpoint_deleted_waiter: WebFunctionEndpointDeletedWaiter = client.get_waiter("web_function_endpoint_deleted")
|
|
30
|
+
web_function_endpoint_updated_waiter: WebFunctionEndpointUpdatedWaiter = client.get_waiter("web_function_endpoint_updated")
|
|
31
|
+
web_function_revision_active_waiter: WebFunctionRevisionActiveWaiter = client.get_waiter("web_function_revision_active")
|
|
32
|
+
```
|
|
33
|
+
"""
|
|
34
|
+
|
|
35
|
+
from __future__ import annotations
|
|
36
|
+
|
|
37
|
+
import sys
|
|
38
|
+
|
|
39
|
+
from botocore.waiter import Waiter
|
|
40
|
+
|
|
41
|
+
from .type_defs import (
|
|
42
|
+
GetWebFunctionEndpointRequestWaitExtraExtraTypeDef,
|
|
43
|
+
GetWebFunctionEndpointRequestWaitExtraTypeDef,
|
|
44
|
+
GetWebFunctionEndpointRequestWaitTypeDef,
|
|
45
|
+
GetWebFunctionRequestWaitExtraTypeDef,
|
|
46
|
+
GetWebFunctionRequestWaitTypeDef,
|
|
47
|
+
GetWebFunctionRevisionRequestWaitTypeDef,
|
|
48
|
+
)
|
|
49
|
+
|
|
50
|
+
if sys.version_info >= (3, 12):
|
|
51
|
+
from typing import Unpack
|
|
52
|
+
else:
|
|
53
|
+
from typing_extensions import Unpack
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
__all__ = (
|
|
57
|
+
"WebFunctionActiveWaiter",
|
|
58
|
+
"WebFunctionDeletedWaiter",
|
|
59
|
+
"WebFunctionEndpointActiveWaiter",
|
|
60
|
+
"WebFunctionEndpointDeletedWaiter",
|
|
61
|
+
"WebFunctionEndpointUpdatedWaiter",
|
|
62
|
+
"WebFunctionRevisionActiveWaiter",
|
|
63
|
+
)
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
class WebFunctionActiveWaiter(Waiter):
|
|
67
|
+
"""
|
|
68
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/waiter/WebFunctionActive.html#LambdaWeb.Waiter.WebFunctionActive)
|
|
69
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_lambda_web/waiters/#webfunctionactivewaiter)
|
|
70
|
+
"""
|
|
71
|
+
|
|
72
|
+
def wait( # type: ignore[override]
|
|
73
|
+
self, **kwargs: Unpack[GetWebFunctionRequestWaitTypeDef]
|
|
74
|
+
) -> None:
|
|
75
|
+
"""
|
|
76
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/waiter/WebFunctionActive.html#LambdaWeb.Waiter.WebFunctionActive.wait)
|
|
77
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_lambda_web/waiters/#webfunctionactivewaiter)
|
|
78
|
+
"""
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
class WebFunctionDeletedWaiter(Waiter):
|
|
82
|
+
"""
|
|
83
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/waiter/WebFunctionDeleted.html#LambdaWeb.Waiter.WebFunctionDeleted)
|
|
84
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_lambda_web/waiters/#webfunctiondeletedwaiter)
|
|
85
|
+
"""
|
|
86
|
+
|
|
87
|
+
def wait( # type: ignore[override]
|
|
88
|
+
self, **kwargs: Unpack[GetWebFunctionRequestWaitExtraTypeDef]
|
|
89
|
+
) -> None:
|
|
90
|
+
"""
|
|
91
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/waiter/WebFunctionDeleted.html#LambdaWeb.Waiter.WebFunctionDeleted.wait)
|
|
92
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_lambda_web/waiters/#webfunctiondeletedwaiter)
|
|
93
|
+
"""
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
class WebFunctionEndpointActiveWaiter(Waiter):
|
|
97
|
+
"""
|
|
98
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/waiter/WebFunctionEndpointActive.html#LambdaWeb.Waiter.WebFunctionEndpointActive)
|
|
99
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_lambda_web/waiters/#webfunctionendpointactivewaiter)
|
|
100
|
+
"""
|
|
101
|
+
|
|
102
|
+
def wait( # type: ignore[override]
|
|
103
|
+
self, **kwargs: Unpack[GetWebFunctionEndpointRequestWaitTypeDef]
|
|
104
|
+
) -> None:
|
|
105
|
+
"""
|
|
106
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/waiter/WebFunctionEndpointActive.html#LambdaWeb.Waiter.WebFunctionEndpointActive.wait)
|
|
107
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_lambda_web/waiters/#webfunctionendpointactivewaiter)
|
|
108
|
+
"""
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
class WebFunctionEndpointDeletedWaiter(Waiter):
|
|
112
|
+
"""
|
|
113
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/waiter/WebFunctionEndpointDeleted.html#LambdaWeb.Waiter.WebFunctionEndpointDeleted)
|
|
114
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_lambda_web/waiters/#webfunctionendpointdeletedwaiter)
|
|
115
|
+
"""
|
|
116
|
+
|
|
117
|
+
def wait( # type: ignore[override]
|
|
118
|
+
self, **kwargs: Unpack[GetWebFunctionEndpointRequestWaitExtraTypeDef]
|
|
119
|
+
) -> None:
|
|
120
|
+
"""
|
|
121
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/waiter/WebFunctionEndpointDeleted.html#LambdaWeb.Waiter.WebFunctionEndpointDeleted.wait)
|
|
122
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_lambda_web/waiters/#webfunctionendpointdeletedwaiter)
|
|
123
|
+
"""
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
class WebFunctionEndpointUpdatedWaiter(Waiter):
|
|
127
|
+
"""
|
|
128
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/waiter/WebFunctionEndpointUpdated.html#LambdaWeb.Waiter.WebFunctionEndpointUpdated)
|
|
129
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_lambda_web/waiters/#webfunctionendpointupdatedwaiter)
|
|
130
|
+
"""
|
|
131
|
+
|
|
132
|
+
def wait( # type: ignore[override]
|
|
133
|
+
self, **kwargs: Unpack[GetWebFunctionEndpointRequestWaitExtraExtraTypeDef]
|
|
134
|
+
) -> None:
|
|
135
|
+
"""
|
|
136
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/waiter/WebFunctionEndpointUpdated.html#LambdaWeb.Waiter.WebFunctionEndpointUpdated.wait)
|
|
137
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_lambda_web/waiters/#webfunctionendpointupdatedwaiter)
|
|
138
|
+
"""
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
class WebFunctionRevisionActiveWaiter(Waiter):
|
|
142
|
+
"""
|
|
143
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/waiter/WebFunctionRevisionActive.html#LambdaWeb.Waiter.WebFunctionRevisionActive)
|
|
144
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_lambda_web/waiters/#webfunctionrevisionactivewaiter)
|
|
145
|
+
"""
|
|
146
|
+
|
|
147
|
+
def wait( # type: ignore[override]
|
|
148
|
+
self, **kwargs: Unpack[GetWebFunctionRevisionRequestWaitTypeDef]
|
|
149
|
+
) -> None:
|
|
150
|
+
"""
|
|
151
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/waiter/WebFunctionRevisionActive.html#LambdaWeb.Waiter.WebFunctionRevisionActive.wait)
|
|
152
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_lambda_web/waiters/#webfunctionrevisionactivewaiter)
|
|
153
|
+
"""
|