mypy-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.
- mypy_boto3_lambda_web/__init__.py +72 -0
- mypy_boto3_lambda_web/__init__.pyi +71 -0
- mypy_boto3_lambda_web/__main__.py +43 -0
- mypy_boto3_lambda_web/client.py +432 -0
- mypy_boto3_lambda_web/client.pyi +429 -0
- mypy_boto3_lambda_web/literals.py +558 -0
- mypy_boto3_lambda_web/literals.pyi +556 -0
- mypy_boto3_lambda_web/paginator.py +118 -0
- mypy_boto3_lambda_web/paginator.pyi +108 -0
- mypy_boto3_lambda_web/py.typed +0 -0
- mypy_boto3_lambda_web/type_defs.py +615 -0
- mypy_boto3_lambda_web/type_defs.pyi +546 -0
- mypy_boto3_lambda_web/version.py +7 -0
- mypy_boto3_lambda_web/waiter.py +153 -0
- mypy_boto3_lambda_web/waiter.pyi +140 -0
- mypy_boto3_lambda_web-1.43.107.dist-info/METADATA +522 -0
- mypy_boto3_lambda_web-1.43.107.dist-info/RECORD +20 -0
- mypy_boto3_lambda_web-1.43.107.dist-info/WHEEL +5 -0
- mypy_boto3_lambda_web-1.43.107.dist-info/licenses/LICENSE +21 -0
- mypy_boto3_lambda_web-1.43.107.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main interface for lambda-web service.
|
|
3
|
+
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_web/)
|
|
5
|
+
|
|
6
|
+
Copyright 2026 Vlad Emelianov
|
|
7
|
+
|
|
8
|
+
Usage::
|
|
9
|
+
|
|
10
|
+
```python
|
|
11
|
+
from boto3.session import Session
|
|
12
|
+
from mypy_boto3_lambda_web import (
|
|
13
|
+
Client,
|
|
14
|
+
LambdaWebClient,
|
|
15
|
+
ListWebFunctionEndpointsPaginator,
|
|
16
|
+
ListWebFunctionRevisionsPaginator,
|
|
17
|
+
ListWebFunctionsPaginator,
|
|
18
|
+
WebFunctionActiveWaiter,
|
|
19
|
+
WebFunctionDeletedWaiter,
|
|
20
|
+
WebFunctionEndpointActiveWaiter,
|
|
21
|
+
WebFunctionEndpointDeletedWaiter,
|
|
22
|
+
WebFunctionEndpointUpdatedWaiter,
|
|
23
|
+
WebFunctionRevisionActiveWaiter,
|
|
24
|
+
)
|
|
25
|
+
|
|
26
|
+
session = Session()
|
|
27
|
+
client: LambdaWebClient = session.client("lambda-web")
|
|
28
|
+
|
|
29
|
+
web_function_active_waiter: WebFunctionActiveWaiter = client.get_waiter("web_function_active")
|
|
30
|
+
web_function_deleted_waiter: WebFunctionDeletedWaiter = client.get_waiter("web_function_deleted")
|
|
31
|
+
web_function_endpoint_active_waiter: WebFunctionEndpointActiveWaiter = client.get_waiter("web_function_endpoint_active")
|
|
32
|
+
web_function_endpoint_deleted_waiter: WebFunctionEndpointDeletedWaiter = client.get_waiter("web_function_endpoint_deleted")
|
|
33
|
+
web_function_endpoint_updated_waiter: WebFunctionEndpointUpdatedWaiter = client.get_waiter("web_function_endpoint_updated")
|
|
34
|
+
web_function_revision_active_waiter: WebFunctionRevisionActiveWaiter = client.get_waiter("web_function_revision_active")
|
|
35
|
+
|
|
36
|
+
list_web_function_endpoints_paginator: ListWebFunctionEndpointsPaginator = client.get_paginator("list_web_function_endpoints")
|
|
37
|
+
list_web_function_revisions_paginator: ListWebFunctionRevisionsPaginator = client.get_paginator("list_web_function_revisions")
|
|
38
|
+
list_web_functions_paginator: ListWebFunctionsPaginator = client.get_paginator("list_web_functions")
|
|
39
|
+
```
|
|
40
|
+
"""
|
|
41
|
+
|
|
42
|
+
from .client import LambdaWebClient
|
|
43
|
+
from .paginator import (
|
|
44
|
+
ListWebFunctionEndpointsPaginator,
|
|
45
|
+
ListWebFunctionRevisionsPaginator,
|
|
46
|
+
ListWebFunctionsPaginator,
|
|
47
|
+
)
|
|
48
|
+
from .waiter import (
|
|
49
|
+
WebFunctionActiveWaiter,
|
|
50
|
+
WebFunctionDeletedWaiter,
|
|
51
|
+
WebFunctionEndpointActiveWaiter,
|
|
52
|
+
WebFunctionEndpointDeletedWaiter,
|
|
53
|
+
WebFunctionEndpointUpdatedWaiter,
|
|
54
|
+
WebFunctionRevisionActiveWaiter,
|
|
55
|
+
)
|
|
56
|
+
|
|
57
|
+
Client = LambdaWebClient
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
__all__ = (
|
|
61
|
+
"Client",
|
|
62
|
+
"LambdaWebClient",
|
|
63
|
+
"ListWebFunctionEndpointsPaginator",
|
|
64
|
+
"ListWebFunctionRevisionsPaginator",
|
|
65
|
+
"ListWebFunctionsPaginator",
|
|
66
|
+
"WebFunctionActiveWaiter",
|
|
67
|
+
"WebFunctionDeletedWaiter",
|
|
68
|
+
"WebFunctionEndpointActiveWaiter",
|
|
69
|
+
"WebFunctionEndpointDeletedWaiter",
|
|
70
|
+
"WebFunctionEndpointUpdatedWaiter",
|
|
71
|
+
"WebFunctionRevisionActiveWaiter",
|
|
72
|
+
)
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main interface for lambda-web service.
|
|
3
|
+
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_web/)
|
|
5
|
+
|
|
6
|
+
Copyright 2026 Vlad Emelianov
|
|
7
|
+
|
|
8
|
+
Usage::
|
|
9
|
+
|
|
10
|
+
```python
|
|
11
|
+
from boto3.session import Session
|
|
12
|
+
from mypy_boto3_lambda_web import (
|
|
13
|
+
Client,
|
|
14
|
+
LambdaWebClient,
|
|
15
|
+
ListWebFunctionEndpointsPaginator,
|
|
16
|
+
ListWebFunctionRevisionsPaginator,
|
|
17
|
+
ListWebFunctionsPaginator,
|
|
18
|
+
WebFunctionActiveWaiter,
|
|
19
|
+
WebFunctionDeletedWaiter,
|
|
20
|
+
WebFunctionEndpointActiveWaiter,
|
|
21
|
+
WebFunctionEndpointDeletedWaiter,
|
|
22
|
+
WebFunctionEndpointUpdatedWaiter,
|
|
23
|
+
WebFunctionRevisionActiveWaiter,
|
|
24
|
+
)
|
|
25
|
+
|
|
26
|
+
session = Session()
|
|
27
|
+
client: LambdaWebClient = session.client("lambda-web")
|
|
28
|
+
|
|
29
|
+
web_function_active_waiter: WebFunctionActiveWaiter = client.get_waiter("web_function_active")
|
|
30
|
+
web_function_deleted_waiter: WebFunctionDeletedWaiter = client.get_waiter("web_function_deleted")
|
|
31
|
+
web_function_endpoint_active_waiter: WebFunctionEndpointActiveWaiter = client.get_waiter("web_function_endpoint_active")
|
|
32
|
+
web_function_endpoint_deleted_waiter: WebFunctionEndpointDeletedWaiter = client.get_waiter("web_function_endpoint_deleted")
|
|
33
|
+
web_function_endpoint_updated_waiter: WebFunctionEndpointUpdatedWaiter = client.get_waiter("web_function_endpoint_updated")
|
|
34
|
+
web_function_revision_active_waiter: WebFunctionRevisionActiveWaiter = client.get_waiter("web_function_revision_active")
|
|
35
|
+
|
|
36
|
+
list_web_function_endpoints_paginator: ListWebFunctionEndpointsPaginator = client.get_paginator("list_web_function_endpoints")
|
|
37
|
+
list_web_function_revisions_paginator: ListWebFunctionRevisionsPaginator = client.get_paginator("list_web_function_revisions")
|
|
38
|
+
list_web_functions_paginator: ListWebFunctionsPaginator = client.get_paginator("list_web_functions")
|
|
39
|
+
```
|
|
40
|
+
"""
|
|
41
|
+
|
|
42
|
+
from .client import LambdaWebClient
|
|
43
|
+
from .paginator import (
|
|
44
|
+
ListWebFunctionEndpointsPaginator,
|
|
45
|
+
ListWebFunctionRevisionsPaginator,
|
|
46
|
+
ListWebFunctionsPaginator,
|
|
47
|
+
)
|
|
48
|
+
from .waiter import (
|
|
49
|
+
WebFunctionActiveWaiter,
|
|
50
|
+
WebFunctionDeletedWaiter,
|
|
51
|
+
WebFunctionEndpointActiveWaiter,
|
|
52
|
+
WebFunctionEndpointDeletedWaiter,
|
|
53
|
+
WebFunctionEndpointUpdatedWaiter,
|
|
54
|
+
WebFunctionRevisionActiveWaiter,
|
|
55
|
+
)
|
|
56
|
+
|
|
57
|
+
Client = LambdaWebClient
|
|
58
|
+
|
|
59
|
+
__all__ = (
|
|
60
|
+
"Client",
|
|
61
|
+
"LambdaWebClient",
|
|
62
|
+
"ListWebFunctionEndpointsPaginator",
|
|
63
|
+
"ListWebFunctionRevisionsPaginator",
|
|
64
|
+
"ListWebFunctionsPaginator",
|
|
65
|
+
"WebFunctionActiveWaiter",
|
|
66
|
+
"WebFunctionDeletedWaiter",
|
|
67
|
+
"WebFunctionEndpointActiveWaiter",
|
|
68
|
+
"WebFunctionEndpointDeletedWaiter",
|
|
69
|
+
"WebFunctionEndpointUpdatedWaiter",
|
|
70
|
+
"WebFunctionRevisionActiveWaiter",
|
|
71
|
+
)
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main CLI entrypoint.
|
|
3
|
+
|
|
4
|
+
Copyright 2026 Vlad Emelianov
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
import sys
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def print_info() -> None:
|
|
11
|
+
"""
|
|
12
|
+
Print package info to stdout.
|
|
13
|
+
"""
|
|
14
|
+
sys.stdout.write(
|
|
15
|
+
"Type annotations for boto3 LambdaWeb 1.43.107\n"
|
|
16
|
+
"Version: 1.43.107\n"
|
|
17
|
+
"Builder version: 8.12.0\n"
|
|
18
|
+
"Docs: https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_web//\n"
|
|
19
|
+
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web.html#lambdaweb\n"
|
|
20
|
+
"Other services: https://pypi.org/project/boto3-stubs/\n"
|
|
21
|
+
"Changelog: https://github.com/youtype/mypy_boto3_builder/releases\n"
|
|
22
|
+
)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def print_version() -> None:
|
|
26
|
+
"""
|
|
27
|
+
Print package version to stdout.
|
|
28
|
+
"""
|
|
29
|
+
sys.stdout.write("1.43.107\n")
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
def main() -> None:
|
|
33
|
+
"""
|
|
34
|
+
Main CLI entrypoint.
|
|
35
|
+
"""
|
|
36
|
+
if "--version" in sys.argv:
|
|
37
|
+
print_version()
|
|
38
|
+
return
|
|
39
|
+
print_info()
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
if __name__ == "__main__":
|
|
43
|
+
main()
|
|
@@ -0,0 +1,432 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Type annotations for lambda-web service Client.
|
|
3
|
+
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_web/client/)
|
|
5
|
+
|
|
6
|
+
Copyright 2026 Vlad Emelianov
|
|
7
|
+
|
|
8
|
+
Usage::
|
|
9
|
+
|
|
10
|
+
```python
|
|
11
|
+
from boto3.session import Session
|
|
12
|
+
from mypy_boto3_lambda_web.client import LambdaWebClient
|
|
13
|
+
|
|
14
|
+
session = Session()
|
|
15
|
+
client: LambdaWebClient = session.client("lambda-web")
|
|
16
|
+
```
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
from __future__ import annotations
|
|
20
|
+
|
|
21
|
+
import sys
|
|
22
|
+
from collections.abc import Mapping
|
|
23
|
+
from typing import Any, overload
|
|
24
|
+
|
|
25
|
+
from botocore.client import BaseClient, ClientMeta
|
|
26
|
+
from botocore.errorfactory import BaseClientExceptions
|
|
27
|
+
from botocore.exceptions import ClientError as BotocoreClientError
|
|
28
|
+
|
|
29
|
+
from .paginator import (
|
|
30
|
+
ListWebFunctionEndpointsPaginator,
|
|
31
|
+
ListWebFunctionRevisionsPaginator,
|
|
32
|
+
ListWebFunctionsPaginator,
|
|
33
|
+
)
|
|
34
|
+
from .type_defs import (
|
|
35
|
+
CreateWebFunctionEndpointRequestTypeDef,
|
|
36
|
+
CreateWebFunctionEndpointResponseTypeDef,
|
|
37
|
+
CreateWebFunctionRequestTypeDef,
|
|
38
|
+
CreateWebFunctionResponseTypeDef,
|
|
39
|
+
CreateWebFunctionRevisionRequestTypeDef,
|
|
40
|
+
CreateWebFunctionRevisionResponseTypeDef,
|
|
41
|
+
DeleteResourcePolicyRequestTypeDef,
|
|
42
|
+
DeleteWebFunctionEndpointRequestTypeDef,
|
|
43
|
+
DeleteWebFunctionRequestTypeDef,
|
|
44
|
+
DeleteWebFunctionRevisionRequestTypeDef,
|
|
45
|
+
EmptyResponseMetadataTypeDef,
|
|
46
|
+
GetResourcePolicyRequestTypeDef,
|
|
47
|
+
GetResourcePolicyResponseTypeDef,
|
|
48
|
+
GetWebAccountSettingsResponseTypeDef,
|
|
49
|
+
GetWebFunctionEndpointRequestTypeDef,
|
|
50
|
+
GetWebFunctionEndpointResponseTypeDef,
|
|
51
|
+
GetWebFunctionRequestTypeDef,
|
|
52
|
+
GetWebFunctionResponseTypeDef,
|
|
53
|
+
GetWebFunctionRevisionRequestTypeDef,
|
|
54
|
+
GetWebFunctionRevisionResponseTypeDef,
|
|
55
|
+
ListTagsRequestTypeDef,
|
|
56
|
+
ListTagsResponseTypeDef,
|
|
57
|
+
ListWebFunctionEndpointsRequestTypeDef,
|
|
58
|
+
ListWebFunctionEndpointsResponseTypeDef,
|
|
59
|
+
ListWebFunctionRevisionsRequestTypeDef,
|
|
60
|
+
ListWebFunctionRevisionsResponseTypeDef,
|
|
61
|
+
ListWebFunctionsRequestTypeDef,
|
|
62
|
+
ListWebFunctionsResponseTypeDef,
|
|
63
|
+
PutResourcePolicyRequestTypeDef,
|
|
64
|
+
PutResourcePolicyResponseTypeDef,
|
|
65
|
+
TagResourceRequestTypeDef,
|
|
66
|
+
UntagResourceRequestTypeDef,
|
|
67
|
+
UpdateWebFunctionEndpointRequestTypeDef,
|
|
68
|
+
UpdateWebFunctionEndpointResponseTypeDef,
|
|
69
|
+
)
|
|
70
|
+
from .waiter import (
|
|
71
|
+
WebFunctionActiveWaiter,
|
|
72
|
+
WebFunctionDeletedWaiter,
|
|
73
|
+
WebFunctionEndpointActiveWaiter,
|
|
74
|
+
WebFunctionEndpointDeletedWaiter,
|
|
75
|
+
WebFunctionEndpointUpdatedWaiter,
|
|
76
|
+
WebFunctionRevisionActiveWaiter,
|
|
77
|
+
)
|
|
78
|
+
|
|
79
|
+
if sys.version_info >= (3, 12):
|
|
80
|
+
from typing import Literal, Unpack
|
|
81
|
+
else:
|
|
82
|
+
from typing_extensions import Literal, Unpack
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
__all__ = ("LambdaWebClient",)
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
class Exceptions(BaseClientExceptions):
|
|
89
|
+
AccessDeniedException: type[BotocoreClientError]
|
|
90
|
+
ClientError: type[BotocoreClientError]
|
|
91
|
+
ConflictException: type[BotocoreClientError]
|
|
92
|
+
InternalServerException: type[BotocoreClientError]
|
|
93
|
+
ResourceNotFoundException: type[BotocoreClientError]
|
|
94
|
+
ServiceQuotaExceededException: type[BotocoreClientError]
|
|
95
|
+
ThrottlingException: type[BotocoreClientError]
|
|
96
|
+
ValidationException: type[BotocoreClientError]
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
class LambdaWebClient(BaseClient):
|
|
100
|
+
"""
|
|
101
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web.html#LambdaWeb.Client)
|
|
102
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_web/client/)
|
|
103
|
+
"""
|
|
104
|
+
|
|
105
|
+
meta: ClientMeta
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
def exceptions(self) -> Exceptions:
|
|
109
|
+
"""
|
|
110
|
+
LambdaWebClient exceptions.
|
|
111
|
+
|
|
112
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web.html#LambdaWeb.Client)
|
|
113
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_web/client/#exceptions)
|
|
114
|
+
"""
|
|
115
|
+
|
|
116
|
+
def can_paginate(self, operation_name: str) -> bool:
|
|
117
|
+
"""
|
|
118
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/client/can_paginate.html)
|
|
119
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_web/client/#can_paginate)
|
|
120
|
+
"""
|
|
121
|
+
|
|
122
|
+
def generate_presigned_url(
|
|
123
|
+
self,
|
|
124
|
+
ClientMethod: str,
|
|
125
|
+
Params: Mapping[str, Any] = ...,
|
|
126
|
+
ExpiresIn: int = 3600,
|
|
127
|
+
HttpMethod: str = ...,
|
|
128
|
+
) -> str:
|
|
129
|
+
"""
|
|
130
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/client/generate_presigned_url.html)
|
|
131
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_web/client/#generate_presigned_url)
|
|
132
|
+
"""
|
|
133
|
+
|
|
134
|
+
def create_web_function(
|
|
135
|
+
self, **kwargs: Unpack[CreateWebFunctionRequestTypeDef]
|
|
136
|
+
) -> CreateWebFunctionResponseTypeDef:
|
|
137
|
+
"""
|
|
138
|
+
Creates a web function with an initial revision and endpoint.
|
|
139
|
+
|
|
140
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/client/create_web_function.html)
|
|
141
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_web/client/#create_web_function)
|
|
142
|
+
"""
|
|
143
|
+
|
|
144
|
+
def create_web_function_endpoint(
|
|
145
|
+
self, **kwargs: Unpack[CreateWebFunctionEndpointRequestTypeDef]
|
|
146
|
+
) -> CreateWebFunctionEndpointResponseTypeDef:
|
|
147
|
+
"""
|
|
148
|
+
Creates an endpoint for a web function.
|
|
149
|
+
|
|
150
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/client/create_web_function_endpoint.html)
|
|
151
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_web/client/#create_web_function_endpoint)
|
|
152
|
+
"""
|
|
153
|
+
|
|
154
|
+
def create_web_function_revision(
|
|
155
|
+
self, **kwargs: Unpack[CreateWebFunctionRevisionRequestTypeDef]
|
|
156
|
+
) -> CreateWebFunctionRevisionResponseTypeDef:
|
|
157
|
+
"""
|
|
158
|
+
Creates an immutable revision for a web function.
|
|
159
|
+
|
|
160
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/client/create_web_function_revision.html)
|
|
161
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_web/client/#create_web_function_revision)
|
|
162
|
+
"""
|
|
163
|
+
|
|
164
|
+
def delete_resource_policy(
|
|
165
|
+
self, **kwargs: Unpack[DeleteResourcePolicyRequestTypeDef]
|
|
166
|
+
) -> EmptyResponseMetadataTypeDef:
|
|
167
|
+
"""
|
|
168
|
+
Removes the resource-based policy from a web function.
|
|
169
|
+
|
|
170
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/client/delete_resource_policy.html)
|
|
171
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_web/client/#delete_resource_policy)
|
|
172
|
+
"""
|
|
173
|
+
|
|
174
|
+
def delete_web_function(
|
|
175
|
+
self, **kwargs: Unpack[DeleteWebFunctionRequestTypeDef]
|
|
176
|
+
) -> EmptyResponseMetadataTypeDef:
|
|
177
|
+
"""
|
|
178
|
+
Deletes a web function and all of its associated revisions and endpoints.
|
|
179
|
+
|
|
180
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/client/delete_web_function.html)
|
|
181
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_web/client/#delete_web_function)
|
|
182
|
+
"""
|
|
183
|
+
|
|
184
|
+
def delete_web_function_endpoint(
|
|
185
|
+
self, **kwargs: Unpack[DeleteWebFunctionEndpointRequestTypeDef]
|
|
186
|
+
) -> EmptyResponseMetadataTypeDef:
|
|
187
|
+
"""
|
|
188
|
+
Deletes a web function endpoint.
|
|
189
|
+
|
|
190
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/client/delete_web_function_endpoint.html)
|
|
191
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_web/client/#delete_web_function_endpoint)
|
|
192
|
+
"""
|
|
193
|
+
|
|
194
|
+
def delete_web_function_revision(
|
|
195
|
+
self, **kwargs: Unpack[DeleteWebFunctionRevisionRequestTypeDef]
|
|
196
|
+
) -> EmptyResponseMetadataTypeDef:
|
|
197
|
+
"""
|
|
198
|
+
Deletes a web function revision.
|
|
199
|
+
|
|
200
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/client/delete_web_function_revision.html)
|
|
201
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_web/client/#delete_web_function_revision)
|
|
202
|
+
"""
|
|
203
|
+
|
|
204
|
+
def get_resource_policy(
|
|
205
|
+
self, **kwargs: Unpack[GetResourcePolicyRequestTypeDef]
|
|
206
|
+
) -> GetResourcePolicyResponseTypeDef:
|
|
207
|
+
"""
|
|
208
|
+
Retrieves the resource-based policy attached to a web function.
|
|
209
|
+
|
|
210
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/client/get_resource_policy.html)
|
|
211
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_web/client/#get_resource_policy)
|
|
212
|
+
"""
|
|
213
|
+
|
|
214
|
+
def get_web_account_settings(self) -> GetWebAccountSettingsResponseTypeDef:
|
|
215
|
+
"""
|
|
216
|
+
Retrieves details about your AWS Lambda Web Functions account settings for the
|
|
217
|
+
current AWS Region, including the quotas that apply to web functions and your
|
|
218
|
+
current usage.
|
|
219
|
+
|
|
220
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/client/get_web_account_settings.html)
|
|
221
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_web/client/#get_web_account_settings)
|
|
222
|
+
"""
|
|
223
|
+
|
|
224
|
+
def get_web_function(
|
|
225
|
+
self, **kwargs: Unpack[GetWebFunctionRequestTypeDef]
|
|
226
|
+
) -> GetWebFunctionResponseTypeDef:
|
|
227
|
+
"""
|
|
228
|
+
Retrieves details about a web function, including its current state and
|
|
229
|
+
configuration.
|
|
230
|
+
|
|
231
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/client/get_web_function.html)
|
|
232
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_web/client/#get_web_function)
|
|
233
|
+
"""
|
|
234
|
+
|
|
235
|
+
def get_web_function_endpoint(
|
|
236
|
+
self, **kwargs: Unpack[GetWebFunctionEndpointRequestTypeDef]
|
|
237
|
+
) -> GetWebFunctionEndpointResponseTypeDef:
|
|
238
|
+
"""
|
|
239
|
+
Retrieves details about a web function endpoint, including its current state,
|
|
240
|
+
configuration, and domain name.
|
|
241
|
+
|
|
242
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/client/get_web_function_endpoint.html)
|
|
243
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_web/client/#get_web_function_endpoint)
|
|
244
|
+
"""
|
|
245
|
+
|
|
246
|
+
def get_web_function_revision(
|
|
247
|
+
self, **kwargs: Unpack[GetWebFunctionRevisionRequestTypeDef]
|
|
248
|
+
) -> GetWebFunctionRevisionResponseTypeDef:
|
|
249
|
+
"""
|
|
250
|
+
Retrieves details about a web function revision, including its state and
|
|
251
|
+
configuration.
|
|
252
|
+
|
|
253
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/client/get_web_function_revision.html)
|
|
254
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_web/client/#get_web_function_revision)
|
|
255
|
+
"""
|
|
256
|
+
|
|
257
|
+
def list_tags(self, **kwargs: Unpack[ListTagsRequestTypeDef]) -> ListTagsResponseTypeDef:
|
|
258
|
+
"""
|
|
259
|
+
Returns a list of tags applied to a web function.
|
|
260
|
+
|
|
261
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/client/list_tags.html)
|
|
262
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_web/client/#list_tags)
|
|
263
|
+
"""
|
|
264
|
+
|
|
265
|
+
def list_web_function_endpoints(
|
|
266
|
+
self, **kwargs: Unpack[ListWebFunctionEndpointsRequestTypeDef]
|
|
267
|
+
) -> ListWebFunctionEndpointsResponseTypeDef:
|
|
268
|
+
"""
|
|
269
|
+
Lists endpoints for a web function.
|
|
270
|
+
|
|
271
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/client/list_web_function_endpoints.html)
|
|
272
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_web/client/#list_web_function_endpoints)
|
|
273
|
+
"""
|
|
274
|
+
|
|
275
|
+
def list_web_function_revisions(
|
|
276
|
+
self, **kwargs: Unpack[ListWebFunctionRevisionsRequestTypeDef]
|
|
277
|
+
) -> ListWebFunctionRevisionsResponseTypeDef:
|
|
278
|
+
"""
|
|
279
|
+
Lists revisions for a web function.
|
|
280
|
+
|
|
281
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/client/list_web_function_revisions.html)
|
|
282
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_web/client/#list_web_function_revisions)
|
|
283
|
+
"""
|
|
284
|
+
|
|
285
|
+
def list_web_functions(
|
|
286
|
+
self, **kwargs: Unpack[ListWebFunctionsRequestTypeDef]
|
|
287
|
+
) -> ListWebFunctionsResponseTypeDef:
|
|
288
|
+
"""
|
|
289
|
+
Lists web functions in your account.
|
|
290
|
+
|
|
291
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/client/list_web_functions.html)
|
|
292
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_web/client/#list_web_functions)
|
|
293
|
+
"""
|
|
294
|
+
|
|
295
|
+
def put_resource_policy(
|
|
296
|
+
self, **kwargs: Unpack[PutResourcePolicyRequestTypeDef]
|
|
297
|
+
) -> PutResourcePolicyResponseTypeDef:
|
|
298
|
+
"""
|
|
299
|
+
Adds or updates a resource-based policy on a web function.
|
|
300
|
+
|
|
301
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/client/put_resource_policy.html)
|
|
302
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_web/client/#put_resource_policy)
|
|
303
|
+
"""
|
|
304
|
+
|
|
305
|
+
def tag_resource(
|
|
306
|
+
self, **kwargs: Unpack[TagResourceRequestTypeDef]
|
|
307
|
+
) -> EmptyResponseMetadataTypeDef:
|
|
308
|
+
"""
|
|
309
|
+
Adds tags to a web function.
|
|
310
|
+
|
|
311
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/client/tag_resource.html)
|
|
312
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_web/client/#tag_resource)
|
|
313
|
+
"""
|
|
314
|
+
|
|
315
|
+
def untag_resource(
|
|
316
|
+
self, **kwargs: Unpack[UntagResourceRequestTypeDef]
|
|
317
|
+
) -> EmptyResponseMetadataTypeDef:
|
|
318
|
+
"""
|
|
319
|
+
Removes tags from a web function.
|
|
320
|
+
|
|
321
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/client/untag_resource.html)
|
|
322
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_web/client/#untag_resource)
|
|
323
|
+
"""
|
|
324
|
+
|
|
325
|
+
def update_web_function_endpoint(
|
|
326
|
+
self, **kwargs: Unpack[UpdateWebFunctionEndpointRequestTypeDef]
|
|
327
|
+
) -> UpdateWebFunctionEndpointResponseTypeDef:
|
|
328
|
+
"""
|
|
329
|
+
Updates the configuration of a web function endpoint.
|
|
330
|
+
|
|
331
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/client/update_web_function_endpoint.html)
|
|
332
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_web/client/#update_web_function_endpoint)
|
|
333
|
+
"""
|
|
334
|
+
|
|
335
|
+
@overload # type: ignore[override]
|
|
336
|
+
def get_paginator( # type: ignore[override]
|
|
337
|
+
self, operation_name: Literal["list_web_function_endpoints"]
|
|
338
|
+
) -> ListWebFunctionEndpointsPaginator:
|
|
339
|
+
"""
|
|
340
|
+
Create a paginator for an operation.
|
|
341
|
+
|
|
342
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/client/get_paginator.html)
|
|
343
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_web/client/#get_paginator)
|
|
344
|
+
"""
|
|
345
|
+
|
|
346
|
+
@overload # type: ignore[override]
|
|
347
|
+
def get_paginator( # type: ignore[override]
|
|
348
|
+
self, operation_name: Literal["list_web_function_revisions"]
|
|
349
|
+
) -> ListWebFunctionRevisionsPaginator:
|
|
350
|
+
"""
|
|
351
|
+
Create a paginator for an operation.
|
|
352
|
+
|
|
353
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/client/get_paginator.html)
|
|
354
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_web/client/#get_paginator)
|
|
355
|
+
"""
|
|
356
|
+
|
|
357
|
+
@overload # type: ignore[override]
|
|
358
|
+
def get_paginator( # type: ignore[override]
|
|
359
|
+
self, operation_name: Literal["list_web_functions"]
|
|
360
|
+
) -> ListWebFunctionsPaginator:
|
|
361
|
+
"""
|
|
362
|
+
Create a paginator for an operation.
|
|
363
|
+
|
|
364
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/client/get_paginator.html)
|
|
365
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_web/client/#get_paginator)
|
|
366
|
+
"""
|
|
367
|
+
|
|
368
|
+
@overload # type: ignore[override]
|
|
369
|
+
def get_waiter( # type: ignore[override]
|
|
370
|
+
self, waiter_name: Literal["web_function_active"]
|
|
371
|
+
) -> WebFunctionActiveWaiter:
|
|
372
|
+
"""
|
|
373
|
+
Returns an object that can wait for some condition.
|
|
374
|
+
|
|
375
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/client/get_waiter.html)
|
|
376
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_web/client/#get_waiter)
|
|
377
|
+
"""
|
|
378
|
+
|
|
379
|
+
@overload # type: ignore[override]
|
|
380
|
+
def get_waiter( # type: ignore[override]
|
|
381
|
+
self, waiter_name: Literal["web_function_deleted"]
|
|
382
|
+
) -> WebFunctionDeletedWaiter:
|
|
383
|
+
"""
|
|
384
|
+
Returns an object that can wait for some condition.
|
|
385
|
+
|
|
386
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/client/get_waiter.html)
|
|
387
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_web/client/#get_waiter)
|
|
388
|
+
"""
|
|
389
|
+
|
|
390
|
+
@overload # type: ignore[override]
|
|
391
|
+
def get_waiter( # type: ignore[override]
|
|
392
|
+
self, waiter_name: Literal["web_function_endpoint_active"]
|
|
393
|
+
) -> WebFunctionEndpointActiveWaiter:
|
|
394
|
+
"""
|
|
395
|
+
Returns an object that can wait for some condition.
|
|
396
|
+
|
|
397
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/client/get_waiter.html)
|
|
398
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_web/client/#get_waiter)
|
|
399
|
+
"""
|
|
400
|
+
|
|
401
|
+
@overload # type: ignore[override]
|
|
402
|
+
def get_waiter( # type: ignore[override]
|
|
403
|
+
self, waiter_name: Literal["web_function_endpoint_deleted"]
|
|
404
|
+
) -> WebFunctionEndpointDeletedWaiter:
|
|
405
|
+
"""
|
|
406
|
+
Returns an object that can wait for some condition.
|
|
407
|
+
|
|
408
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/client/get_waiter.html)
|
|
409
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_web/client/#get_waiter)
|
|
410
|
+
"""
|
|
411
|
+
|
|
412
|
+
@overload # type: ignore[override]
|
|
413
|
+
def get_waiter( # type: ignore[override]
|
|
414
|
+
self, waiter_name: Literal["web_function_endpoint_updated"]
|
|
415
|
+
) -> WebFunctionEndpointUpdatedWaiter:
|
|
416
|
+
"""
|
|
417
|
+
Returns an object that can wait for some condition.
|
|
418
|
+
|
|
419
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/client/get_waiter.html)
|
|
420
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_web/client/#get_waiter)
|
|
421
|
+
"""
|
|
422
|
+
|
|
423
|
+
@overload # type: ignore[override]
|
|
424
|
+
def get_waiter( # type: ignore[override]
|
|
425
|
+
self, waiter_name: Literal["web_function_revision_active"]
|
|
426
|
+
) -> WebFunctionRevisionActiveWaiter:
|
|
427
|
+
"""
|
|
428
|
+
Returns an object that can wait for some condition.
|
|
429
|
+
|
|
430
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-web/client/get_waiter.html)
|
|
431
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_web/client/#get_waiter)
|
|
432
|
+
"""
|