mypy-boto3-lambda-core 1.43.35__tar.gz → 1.44.0__tar.gz
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_core-1.43.35 → mypy_boto3_lambda_core-1.44.0}/PKG-INFO +12 -7
- {mypy_boto3_lambda_core-1.43.35 → mypy_boto3_lambda_core-1.44.0}/README.md +10 -5
- {mypy_boto3_lambda_core-1.43.35 → mypy_boto3_lambda_core-1.44.0}/mypy_boto3_lambda_core/__init__.py +9 -2
- {mypy_boto3_lambda_core-1.43.35 → mypy_boto3_lambda_core-1.44.0}/mypy_boto3_lambda_core/__init__.pyi +9 -2
- {mypy_boto3_lambda_core-1.43.35 → mypy_boto3_lambda_core-1.44.0}/mypy_boto3_lambda_core/__main__.py +3 -3
- mypy_boto3_lambda_core-1.43.35/mypy_boto3_lambda_core/client.pyi → mypy_boto3_lambda_core-1.44.0/mypy_boto3_lambda_core/client.py +29 -2
- mypy_boto3_lambda_core-1.43.35/mypy_boto3_lambda_core/client.py → mypy_boto3_lambda_core-1.44.0/mypy_boto3_lambda_core/client.pyi +26 -5
- {mypy_boto3_lambda_core-1.43.35 → mypy_boto3_lambda_core-1.44.0}/mypy_boto3_lambda_core/literals.py +21 -9
- {mypy_boto3_lambda_core-1.43.35 → mypy_boto3_lambda_core-1.44.0}/mypy_boto3_lambda_core/literals.pyi +21 -9
- mypy_boto3_lambda_core-1.43.35/mypy_boto3_lambda_core/paginator.pyi → mypy_boto3_lambda_core-1.44.0/mypy_boto3_lambda_core/paginator.py +32 -1
- mypy_boto3_lambda_core-1.43.35/mypy_boto3_lambda_core/paginator.py → mypy_boto3_lambda_core-1.44.0/mypy_boto3_lambda_core/paginator.pyi +23 -3
- mypy_boto3_lambda_core-1.43.35/mypy_boto3_lambda_core/type_defs.pyi → mypy_boto3_lambda_core-1.44.0/mypy_boto3_lambda_core/type_defs.py +69 -2
- mypy_boto3_lambda_core-1.43.35/mypy_boto3_lambda_core/type_defs.py → mypy_boto3_lambda_core-1.44.0/mypy_boto3_lambda_core/type_defs.pyi +42 -19
- {mypy_boto3_lambda_core-1.43.35 → mypy_boto3_lambda_core-1.44.0}/mypy_boto3_lambda_core/version.py +1 -1
- {mypy_boto3_lambda_core-1.43.35 → mypy_boto3_lambda_core-1.44.0}/mypy_boto3_lambda_core.egg-info/PKG-INFO +12 -7
- {mypy_boto3_lambda_core-1.43.35 → mypy_boto3_lambda_core-1.44.0}/pyproject.toml +2 -2
- {mypy_boto3_lambda_core-1.43.35 → mypy_boto3_lambda_core-1.44.0}/LICENSE +0 -0
- {mypy_boto3_lambda_core-1.43.35 → mypy_boto3_lambda_core-1.44.0}/mypy_boto3_lambda_core/py.typed +0 -0
- {mypy_boto3_lambda_core-1.43.35 → mypy_boto3_lambda_core-1.44.0}/mypy_boto3_lambda_core.egg-info/SOURCES.txt +0 -0
- {mypy_boto3_lambda_core-1.43.35 → mypy_boto3_lambda_core-1.44.0}/mypy_boto3_lambda_core.egg-info/dependency_links.txt +0 -0
- {mypy_boto3_lambda_core-1.43.35 → mypy_boto3_lambda_core-1.44.0}/mypy_boto3_lambda_core.egg-info/requires.txt +0 -0
- {mypy_boto3_lambda_core-1.43.35 → mypy_boto3_lambda_core-1.44.0}/mypy_boto3_lambda_core.egg-info/top_level.txt +0 -0
- {mypy_boto3_lambda_core-1.43.35 → mypy_boto3_lambda_core-1.44.0}/setup.cfg +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mypy-boto3-lambda-core
|
|
3
|
-
Version: 1.
|
|
4
|
-
Summary: Type annotations for boto3 LambdaCore 1.
|
|
3
|
+
Version: 1.44.0
|
|
4
|
+
Summary: Type annotations for boto3 LambdaCore 1.44.0 service generated with mypy-boto3-builder 8.12.0
|
|
5
5
|
Author-email: Vlad Emelianov <vlad.emelianov.nz@gmail.com>
|
|
6
6
|
License-Expression: MIT
|
|
7
7
|
Project-URL: Homepage, https://github.com/youtype/mypy_boto3_builder
|
|
@@ -42,9 +42,8 @@ Dynamic: license-file
|
|
|
42
42
|
|
|
43
43
|

|
|
44
44
|
|
|
45
|
-
Type annotations for
|
|
46
|
-
|
|
47
|
-
[VSCode](https://code.visualstudio.com/),
|
|
45
|
+
Type annotations for [boto3 LambdaCore 1.44.0](https://pypi.org/project/boto3/)
|
|
46
|
+
compatible with [VSCode](https://code.visualstudio.com/),
|
|
48
47
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
49
48
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
50
49
|
[Sublime Text](https://www.sublimetext.com/),
|
|
@@ -105,7 +104,7 @@ You can generate type annotations for `boto3` package locally with
|
|
|
105
104
|
isolation.
|
|
106
105
|
|
|
107
106
|
1. Run mypy-boto3-builder in your package root directory:
|
|
108
|
-
`uvx --with 'boto3==1.
|
|
107
|
+
`uvx --with 'boto3==1.44.0' mypy-boto3-builder`
|
|
109
108
|
2. Select `boto3-stubs` AWS SDK.
|
|
110
109
|
3. Add `LambdaCore` service.
|
|
111
110
|
4. Use provided commands to install generated packages.
|
|
@@ -338,12 +337,18 @@ paginators.
|
|
|
338
337
|
from boto3.session import Session
|
|
339
338
|
|
|
340
339
|
from mypy_boto3_lambda_core import LambdaCoreClient
|
|
341
|
-
from mypy_boto3_lambda_core.paginator import
|
|
340
|
+
from mypy_boto3_lambda_core.paginator import (
|
|
341
|
+
ListNetworkConnectorVersionsPaginator,
|
|
342
|
+
ListNetworkConnectorsPaginator,
|
|
343
|
+
)
|
|
342
344
|
|
|
343
345
|
client: LambdaCoreClient = Session().client("lambda-core")
|
|
344
346
|
|
|
345
347
|
# Explicit type annotations are optional here
|
|
346
348
|
# Types should be correctly discovered by mypy and IDEs
|
|
349
|
+
list_network_connector_versions_paginator: ListNetworkConnectorVersionsPaginator = (
|
|
350
|
+
client.get_paginator("list_network_connector_versions")
|
|
351
|
+
)
|
|
347
352
|
list_network_connectors_paginator: ListNetworkConnectorsPaginator = client.get_paginator(
|
|
348
353
|
"list_network_connectors"
|
|
349
354
|
)
|
|
@@ -9,9 +9,8 @@
|
|
|
9
9
|
|
|
10
10
|

|
|
11
11
|
|
|
12
|
-
Type annotations for
|
|
13
|
-
|
|
14
|
-
[VSCode](https://code.visualstudio.com/),
|
|
12
|
+
Type annotations for [boto3 LambdaCore 1.44.0](https://pypi.org/project/boto3/)
|
|
13
|
+
compatible with [VSCode](https://code.visualstudio.com/),
|
|
15
14
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
16
15
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
17
16
|
[Sublime Text](https://www.sublimetext.com/),
|
|
@@ -72,7 +71,7 @@ You can generate type annotations for `boto3` package locally with
|
|
|
72
71
|
isolation.
|
|
73
72
|
|
|
74
73
|
1. Run mypy-boto3-builder in your package root directory:
|
|
75
|
-
`uvx --with 'boto3==1.
|
|
74
|
+
`uvx --with 'boto3==1.44.0' mypy-boto3-builder`
|
|
76
75
|
2. Select `boto3-stubs` AWS SDK.
|
|
77
76
|
3. Add `LambdaCore` service.
|
|
78
77
|
4. Use provided commands to install generated packages.
|
|
@@ -305,12 +304,18 @@ paginators.
|
|
|
305
304
|
from boto3.session import Session
|
|
306
305
|
|
|
307
306
|
from mypy_boto3_lambda_core import LambdaCoreClient
|
|
308
|
-
from mypy_boto3_lambda_core.paginator import
|
|
307
|
+
from mypy_boto3_lambda_core.paginator import (
|
|
308
|
+
ListNetworkConnectorVersionsPaginator,
|
|
309
|
+
ListNetworkConnectorsPaginator,
|
|
310
|
+
)
|
|
309
311
|
|
|
310
312
|
client: LambdaCoreClient = Session().client("lambda-core")
|
|
311
313
|
|
|
312
314
|
# Explicit type annotations are optional here
|
|
313
315
|
# Types should be correctly discovered by mypy and IDEs
|
|
316
|
+
list_network_connector_versions_paginator: ListNetworkConnectorVersionsPaginator = (
|
|
317
|
+
client.get_paginator("list_network_connector_versions")
|
|
318
|
+
)
|
|
314
319
|
list_network_connectors_paginator: ListNetworkConnectorsPaginator = client.get_paginator(
|
|
315
320
|
"list_network_connectors"
|
|
316
321
|
)
|
{mypy_boto3_lambda_core-1.43.35 → mypy_boto3_lambda_core-1.44.0}/mypy_boto3_lambda_core/__init__.py
RENAMED
|
@@ -12,20 +12,27 @@ Usage::
|
|
|
12
12
|
from mypy_boto3_lambda_core import (
|
|
13
13
|
Client,
|
|
14
14
|
LambdaCoreClient,
|
|
15
|
+
ListNetworkConnectorVersionsPaginator,
|
|
15
16
|
ListNetworkConnectorsPaginator,
|
|
16
17
|
)
|
|
17
18
|
|
|
18
19
|
session = Session()
|
|
19
20
|
client: LambdaCoreClient = session.client("lambda-core")
|
|
20
21
|
|
|
22
|
+
list_network_connector_versions_paginator: ListNetworkConnectorVersionsPaginator = client.get_paginator("list_network_connector_versions")
|
|
21
23
|
list_network_connectors_paginator: ListNetworkConnectorsPaginator = client.get_paginator("list_network_connectors")
|
|
22
24
|
```
|
|
23
25
|
"""
|
|
24
26
|
|
|
25
27
|
from .client import LambdaCoreClient
|
|
26
|
-
from .paginator import ListNetworkConnectorsPaginator
|
|
28
|
+
from .paginator import ListNetworkConnectorsPaginator, ListNetworkConnectorVersionsPaginator
|
|
27
29
|
|
|
28
30
|
Client = LambdaCoreClient
|
|
29
31
|
|
|
30
32
|
|
|
31
|
-
__all__ = (
|
|
33
|
+
__all__ = (
|
|
34
|
+
"Client",
|
|
35
|
+
"LambdaCoreClient",
|
|
36
|
+
"ListNetworkConnectorVersionsPaginator",
|
|
37
|
+
"ListNetworkConnectorsPaginator",
|
|
38
|
+
)
|
{mypy_boto3_lambda_core-1.43.35 → mypy_boto3_lambda_core-1.44.0}/mypy_boto3_lambda_core/__init__.pyi
RENAMED
|
@@ -12,19 +12,26 @@ Usage::
|
|
|
12
12
|
from mypy_boto3_lambda_core import (
|
|
13
13
|
Client,
|
|
14
14
|
LambdaCoreClient,
|
|
15
|
+
ListNetworkConnectorVersionsPaginator,
|
|
15
16
|
ListNetworkConnectorsPaginator,
|
|
16
17
|
)
|
|
17
18
|
|
|
18
19
|
session = Session()
|
|
19
20
|
client: LambdaCoreClient = session.client("lambda-core")
|
|
20
21
|
|
|
22
|
+
list_network_connector_versions_paginator: ListNetworkConnectorVersionsPaginator = client.get_paginator("list_network_connector_versions")
|
|
21
23
|
list_network_connectors_paginator: ListNetworkConnectorsPaginator = client.get_paginator("list_network_connectors")
|
|
22
24
|
```
|
|
23
25
|
"""
|
|
24
26
|
|
|
25
27
|
from .client import LambdaCoreClient
|
|
26
|
-
from .paginator import ListNetworkConnectorsPaginator
|
|
28
|
+
from .paginator import ListNetworkConnectorsPaginator, ListNetworkConnectorVersionsPaginator
|
|
27
29
|
|
|
28
30
|
Client = LambdaCoreClient
|
|
29
31
|
|
|
30
|
-
__all__ = (
|
|
32
|
+
__all__ = (
|
|
33
|
+
"Client",
|
|
34
|
+
"LambdaCoreClient",
|
|
35
|
+
"ListNetworkConnectorVersionsPaginator",
|
|
36
|
+
"ListNetworkConnectorsPaginator",
|
|
37
|
+
)
|
{mypy_boto3_lambda_core-1.43.35 → mypy_boto3_lambda_core-1.44.0}/mypy_boto3_lambda_core/__main__.py
RENAMED
|
@@ -12,8 +12,8 @@ def print_info() -> None:
|
|
|
12
12
|
Print package info to stdout.
|
|
13
13
|
"""
|
|
14
14
|
sys.stdout.write(
|
|
15
|
-
"Type annotations for boto3 LambdaCore 1.
|
|
16
|
-
"Version: 1.
|
|
15
|
+
"Type annotations for boto3 LambdaCore 1.44.0\n"
|
|
16
|
+
"Version: 1.44.0\n"
|
|
17
17
|
"Builder version: 8.12.0\n"
|
|
18
18
|
"Docs: https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_core//\n"
|
|
19
19
|
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-core.html#lambdacore\n"
|
|
@@ -26,7 +26,7 @@ def print_version() -> None:
|
|
|
26
26
|
"""
|
|
27
27
|
Print package version to stdout.
|
|
28
28
|
"""
|
|
29
|
-
sys.stdout.write("1.
|
|
29
|
+
sys.stdout.write("1.44.0\n")
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def main() -> None:
|
|
@@ -20,13 +20,13 @@ from __future__ import annotations
|
|
|
20
20
|
|
|
21
21
|
import sys
|
|
22
22
|
from collections.abc import Mapping
|
|
23
|
-
from typing import Any
|
|
23
|
+
from typing import Any, overload
|
|
24
24
|
|
|
25
25
|
from botocore.client import BaseClient, ClientMeta
|
|
26
26
|
from botocore.errorfactory import BaseClientExceptions
|
|
27
27
|
from botocore.exceptions import ClientError as BotocoreClientError
|
|
28
28
|
|
|
29
|
-
from .paginator import ListNetworkConnectorsPaginator
|
|
29
|
+
from .paginator import ListNetworkConnectorsPaginator, ListNetworkConnectorVersionsPaginator
|
|
30
30
|
from .type_defs import (
|
|
31
31
|
CreateNetworkConnectorRequestTypeDef,
|
|
32
32
|
CreateNetworkConnectorResponseTypeDef,
|
|
@@ -36,6 +36,8 @@ from .type_defs import (
|
|
|
36
36
|
GetNetworkConnectorResponseTypeDef,
|
|
37
37
|
ListNetworkConnectorsRequestTypeDef,
|
|
38
38
|
ListNetworkConnectorsResponseTypeDef,
|
|
39
|
+
ListNetworkConnectorVersionsRequestTypeDef,
|
|
40
|
+
ListNetworkConnectorVersionsResponseTypeDef,
|
|
39
41
|
UpdateNetworkConnectorRequestTypeDef,
|
|
40
42
|
UpdateNetworkConnectorResponseTypeDef,
|
|
41
43
|
)
|
|
@@ -45,8 +47,10 @@ if sys.version_info >= (3, 12):
|
|
|
45
47
|
else:
|
|
46
48
|
from typing_extensions import Literal, Unpack
|
|
47
49
|
|
|
50
|
+
|
|
48
51
|
__all__ = ("LambdaCoreClient",)
|
|
49
52
|
|
|
53
|
+
|
|
50
54
|
class Exceptions(BaseClientExceptions):
|
|
51
55
|
ClientError: type[BotocoreClientError]
|
|
52
56
|
InvalidParameterValueException: type[BotocoreClientError]
|
|
@@ -56,6 +60,7 @@ class Exceptions(BaseClientExceptions):
|
|
|
56
60
|
ServiceException: type[BotocoreClientError]
|
|
57
61
|
TooManyRequestsException: type[BotocoreClientError]
|
|
58
62
|
|
|
63
|
+
|
|
59
64
|
class LambdaCoreClient(BaseClient):
|
|
60
65
|
"""
|
|
61
66
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-core.html#LambdaCore.Client)
|
|
@@ -122,6 +127,16 @@ class LambdaCoreClient(BaseClient):
|
|
|
122
127
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_core/client/#get_network_connector)
|
|
123
128
|
"""
|
|
124
129
|
|
|
130
|
+
def list_network_connector_versions(
|
|
131
|
+
self, **kwargs: Unpack[ListNetworkConnectorVersionsRequestTypeDef]
|
|
132
|
+
) -> ListNetworkConnectorVersionsResponseTypeDef:
|
|
133
|
+
"""
|
|
134
|
+
Returns a paginated list of the versions of a network connector.
|
|
135
|
+
|
|
136
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-core/client/list_network_connector_versions.html)
|
|
137
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_core/client/#list_network_connector_versions)
|
|
138
|
+
"""
|
|
139
|
+
|
|
125
140
|
def list_network_connectors(
|
|
126
141
|
self, **kwargs: Unpack[ListNetworkConnectorsRequestTypeDef]
|
|
127
142
|
) -> ListNetworkConnectorsResponseTypeDef:
|
|
@@ -143,6 +158,18 @@ class LambdaCoreClient(BaseClient):
|
|
|
143
158
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_core/client/#update_network_connector)
|
|
144
159
|
"""
|
|
145
160
|
|
|
161
|
+
@overload # type: ignore[override]
|
|
162
|
+
def get_paginator( # type: ignore[override]
|
|
163
|
+
self, operation_name: Literal["list_network_connector_versions"]
|
|
164
|
+
) -> ListNetworkConnectorVersionsPaginator:
|
|
165
|
+
"""
|
|
166
|
+
Create a paginator for an operation.
|
|
167
|
+
|
|
168
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-core/client/get_paginator.html)
|
|
169
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_core/client/#get_paginator)
|
|
170
|
+
"""
|
|
171
|
+
|
|
172
|
+
@overload # type: ignore[override]
|
|
146
173
|
def get_paginator( # type: ignore[override]
|
|
147
174
|
self, operation_name: Literal["list_network_connectors"]
|
|
148
175
|
) -> ListNetworkConnectorsPaginator:
|
|
@@ -20,13 +20,13 @@ from __future__ import annotations
|
|
|
20
20
|
|
|
21
21
|
import sys
|
|
22
22
|
from collections.abc import Mapping
|
|
23
|
-
from typing import Any
|
|
23
|
+
from typing import Any, overload
|
|
24
24
|
|
|
25
25
|
from botocore.client import BaseClient, ClientMeta
|
|
26
26
|
from botocore.errorfactory import BaseClientExceptions
|
|
27
27
|
from botocore.exceptions import ClientError as BotocoreClientError
|
|
28
28
|
|
|
29
|
-
from .paginator import ListNetworkConnectorsPaginator
|
|
29
|
+
from .paginator import ListNetworkConnectorsPaginator, ListNetworkConnectorVersionsPaginator
|
|
30
30
|
from .type_defs import (
|
|
31
31
|
CreateNetworkConnectorRequestTypeDef,
|
|
32
32
|
CreateNetworkConnectorResponseTypeDef,
|
|
@@ -36,6 +36,8 @@ from .type_defs import (
|
|
|
36
36
|
GetNetworkConnectorResponseTypeDef,
|
|
37
37
|
ListNetworkConnectorsRequestTypeDef,
|
|
38
38
|
ListNetworkConnectorsResponseTypeDef,
|
|
39
|
+
ListNetworkConnectorVersionsRequestTypeDef,
|
|
40
|
+
ListNetworkConnectorVersionsResponseTypeDef,
|
|
39
41
|
UpdateNetworkConnectorRequestTypeDef,
|
|
40
42
|
UpdateNetworkConnectorResponseTypeDef,
|
|
41
43
|
)
|
|
@@ -45,10 +47,8 @@ if sys.version_info >= (3, 12):
|
|
|
45
47
|
else:
|
|
46
48
|
from typing_extensions import Literal, Unpack
|
|
47
49
|
|
|
48
|
-
|
|
49
50
|
__all__ = ("LambdaCoreClient",)
|
|
50
51
|
|
|
51
|
-
|
|
52
52
|
class Exceptions(BaseClientExceptions):
|
|
53
53
|
ClientError: type[BotocoreClientError]
|
|
54
54
|
InvalidParameterValueException: type[BotocoreClientError]
|
|
@@ -58,7 +58,6 @@ class Exceptions(BaseClientExceptions):
|
|
|
58
58
|
ServiceException: type[BotocoreClientError]
|
|
59
59
|
TooManyRequestsException: type[BotocoreClientError]
|
|
60
60
|
|
|
61
|
-
|
|
62
61
|
class LambdaCoreClient(BaseClient):
|
|
63
62
|
"""
|
|
64
63
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-core.html#LambdaCore.Client)
|
|
@@ -125,6 +124,16 @@ class LambdaCoreClient(BaseClient):
|
|
|
125
124
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_core/client/#get_network_connector)
|
|
126
125
|
"""
|
|
127
126
|
|
|
127
|
+
def list_network_connector_versions(
|
|
128
|
+
self, **kwargs: Unpack[ListNetworkConnectorVersionsRequestTypeDef]
|
|
129
|
+
) -> ListNetworkConnectorVersionsResponseTypeDef:
|
|
130
|
+
"""
|
|
131
|
+
Returns a paginated list of the versions of a network connector.
|
|
132
|
+
|
|
133
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-core/client/list_network_connector_versions.html)
|
|
134
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_core/client/#list_network_connector_versions)
|
|
135
|
+
"""
|
|
136
|
+
|
|
128
137
|
def list_network_connectors(
|
|
129
138
|
self, **kwargs: Unpack[ListNetworkConnectorsRequestTypeDef]
|
|
130
139
|
) -> ListNetworkConnectorsResponseTypeDef:
|
|
@@ -146,6 +155,18 @@ class LambdaCoreClient(BaseClient):
|
|
|
146
155
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_core/client/#update_network_connector)
|
|
147
156
|
"""
|
|
148
157
|
|
|
158
|
+
@overload # type: ignore[override]
|
|
159
|
+
def get_paginator( # type: ignore[override]
|
|
160
|
+
self, operation_name: Literal["list_network_connector_versions"]
|
|
161
|
+
) -> ListNetworkConnectorVersionsPaginator:
|
|
162
|
+
"""
|
|
163
|
+
Create a paginator for an operation.
|
|
164
|
+
|
|
165
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-core/client/get_paginator.html)
|
|
166
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_core/client/#get_paginator)
|
|
167
|
+
"""
|
|
168
|
+
|
|
169
|
+
@overload # type: ignore[override]
|
|
149
170
|
def get_paginator( # type: ignore[override]
|
|
150
171
|
self, operation_name: Literal["list_network_connectors"]
|
|
151
172
|
) -> ListNetworkConnectorsPaginator:
|
{mypy_boto3_lambda_core-1.43.35 → mypy_boto3_lambda_core-1.44.0}/mypy_boto3_lambda_core/literals.py
RENAMED
|
@@ -25,6 +25,7 @@ else:
|
|
|
25
25
|
__all__ = (
|
|
26
26
|
"ComputeResourceTypeType",
|
|
27
27
|
"LambdaCoreServiceName",
|
|
28
|
+
"ListNetworkConnectorVersionsPaginatorName",
|
|
28
29
|
"ListNetworkConnectorsPaginatorName",
|
|
29
30
|
"NetworkConnectorLastUpdateStatusReasonCodeType",
|
|
30
31
|
"NetworkConnectorLastUpdateStatusType",
|
|
@@ -39,7 +40,8 @@ __all__ = (
|
|
|
39
40
|
)
|
|
40
41
|
|
|
41
42
|
|
|
42
|
-
ComputeResourceTypeType = Literal["MicroVm"]
|
|
43
|
+
ComputeResourceTypeType = Literal["MicroVm", "WebFunction"]
|
|
44
|
+
ListNetworkConnectorVersionsPaginatorName = Literal["list_network_connector_versions"]
|
|
43
45
|
ListNetworkConnectorsPaginatorName = Literal["list_network_connectors"]
|
|
44
46
|
NetworkConnectorLastUpdateStatusReasonCodeType = Literal[
|
|
45
47
|
"DisallowedByVpcEncryptionControl",
|
|
@@ -48,6 +50,7 @@ NetworkConnectorLastUpdateStatusReasonCodeType = Literal[
|
|
|
48
50
|
"InternalError",
|
|
49
51
|
"InvalidSecurityGroup",
|
|
50
52
|
"InvalidSubnet",
|
|
53
|
+
"SecurityGroupsPerInterfaceLimitExceeded",
|
|
51
54
|
"SubnetOutOfIPAddresses",
|
|
52
55
|
]
|
|
53
56
|
NetworkConnectorLastUpdateStatusType = Literal["Failed", "InProgress", "Successful"]
|
|
@@ -58,6 +61,7 @@ NetworkConnectorStateReasonCodeType = Literal[
|
|
|
58
61
|
"InternalError",
|
|
59
62
|
"InvalidSecurityGroup",
|
|
60
63
|
"InvalidSubnet",
|
|
64
|
+
"SecurityGroupsPerInterfaceLimitExceeded",
|
|
61
65
|
"SubnetOutOfIPAddresses",
|
|
62
66
|
]
|
|
63
67
|
NetworkConnectorStateType = Literal[
|
|
@@ -69,8 +73,12 @@ LambdaCoreServiceName = Literal["lambda-core"]
|
|
|
69
73
|
ServiceName = Literal[
|
|
70
74
|
"accessanalyzer",
|
|
71
75
|
"account",
|
|
76
|
+
"account-access",
|
|
77
|
+
"account-access-runtime",
|
|
72
78
|
"acm",
|
|
73
79
|
"acm-pca",
|
|
80
|
+
"agent-registry",
|
|
81
|
+
"agent-registry-control",
|
|
74
82
|
"aiops",
|
|
75
83
|
"amp",
|
|
76
84
|
"amplify",
|
|
@@ -143,6 +151,7 @@ ServiceName = Literal[
|
|
|
143
151
|
"cloudtrail",
|
|
144
152
|
"cloudtrail-data",
|
|
145
153
|
"cloudwatch",
|
|
154
|
+
"cloudwatchomni",
|
|
146
155
|
"codeartifact",
|
|
147
156
|
"codebuild",
|
|
148
157
|
"codecatalyst",
|
|
@@ -170,6 +179,7 @@ ServiceName = Literal[
|
|
|
170
179
|
"connectcases",
|
|
171
180
|
"connecthealth",
|
|
172
181
|
"connectparticipant",
|
|
182
|
+
"continuum",
|
|
173
183
|
"controlcatalog",
|
|
174
184
|
"controltower",
|
|
175
185
|
"cost-optimization-hub",
|
|
@@ -215,12 +225,12 @@ ServiceName = Literal[
|
|
|
215
225
|
"emr",
|
|
216
226
|
"emr-containers",
|
|
217
227
|
"emr-serverless",
|
|
228
|
+
"endusermessaging",
|
|
218
229
|
"entityresolution",
|
|
219
230
|
"es",
|
|
231
|
+
"eventbridgev2",
|
|
220
232
|
"events",
|
|
221
233
|
"evs",
|
|
222
|
-
"finspace",
|
|
223
|
-
"finspace-data",
|
|
224
234
|
"firehose",
|
|
225
235
|
"fis",
|
|
226
236
|
"fms",
|
|
@@ -245,6 +255,7 @@ ServiceName = Literal[
|
|
|
245
255
|
"health",
|
|
246
256
|
"healthlake",
|
|
247
257
|
"iam",
|
|
258
|
+
"iam-toolbox",
|
|
248
259
|
"identitystore",
|
|
249
260
|
"imagebuilder",
|
|
250
261
|
"importexport",
|
|
@@ -259,8 +270,6 @@ ServiceName = Literal[
|
|
|
259
270
|
"iot-jobs-data",
|
|
260
271
|
"iot-managed-integrations",
|
|
261
272
|
"iotdeviceadvisor",
|
|
262
|
-
"iotevents",
|
|
263
|
-
"iotevents-data",
|
|
264
273
|
"iotfleetwise",
|
|
265
274
|
"iotsecuretunneling",
|
|
266
275
|
"iotsitewise",
|
|
@@ -289,6 +298,7 @@ ServiceName = Literal[
|
|
|
289
298
|
"lambda",
|
|
290
299
|
"lambda-core",
|
|
291
300
|
"lambda-microvms",
|
|
301
|
+
"lambda-web",
|
|
292
302
|
"launch-wizard",
|
|
293
303
|
"lex-models",
|
|
294
304
|
"lex-runtime",
|
|
@@ -341,6 +351,7 @@ ServiceName = Literal[
|
|
|
341
351
|
"neptune-graph",
|
|
342
352
|
"neptunedata",
|
|
343
353
|
"network-firewall",
|
|
354
|
+
"network-security-manager",
|
|
344
355
|
"networkflowmonitor",
|
|
345
356
|
"networkmanager",
|
|
346
357
|
"networkmonitor",
|
|
@@ -356,10 +367,10 @@ ServiceName = Literal[
|
|
|
356
367
|
"organizations",
|
|
357
368
|
"osis",
|
|
358
369
|
"outposts",
|
|
359
|
-
"panorama",
|
|
360
370
|
"partnercentral-account",
|
|
361
371
|
"partnercentral-benefits",
|
|
362
372
|
"partnercentral-channel",
|
|
373
|
+
"partnercentral-revenue-measurement",
|
|
363
374
|
"partnercentral-selling",
|
|
364
375
|
"payment-cryptography",
|
|
365
376
|
"payment-cryptography-data",
|
|
@@ -377,6 +388,7 @@ ServiceName = Literal[
|
|
|
377
388
|
"pipes",
|
|
378
389
|
"polly",
|
|
379
390
|
"pricing",
|
|
391
|
+
"pricing-plan-manager",
|
|
380
392
|
"proton",
|
|
381
393
|
"qapps",
|
|
382
394
|
"qbusiness",
|
|
@@ -421,6 +433,7 @@ ServiceName = Literal[
|
|
|
421
433
|
"sagemaker-metrics",
|
|
422
434
|
"sagemaker-runtime",
|
|
423
435
|
"sagemakerjobruntime",
|
|
436
|
+
"sagemakertrainingsessionruntime",
|
|
424
437
|
"savingsplans",
|
|
425
438
|
"scheduler",
|
|
426
439
|
"schemas",
|
|
@@ -442,7 +455,6 @@ ServiceName = Literal[
|
|
|
442
455
|
"signer-data",
|
|
443
456
|
"signin",
|
|
444
457
|
"simpledbv2",
|
|
445
|
-
"simspaceweaver",
|
|
446
458
|
"snow-device-management",
|
|
447
459
|
"snowball",
|
|
448
460
|
"sns",
|
|
@@ -463,6 +475,7 @@ ServiceName = Literal[
|
|
|
463
475
|
"supplychain",
|
|
464
476
|
"support",
|
|
465
477
|
"support-app",
|
|
478
|
+
"supportauthz",
|
|
466
479
|
"sustainability",
|
|
467
480
|
"swf",
|
|
468
481
|
"synthetics",
|
|
@@ -471,7 +484,6 @@ ServiceName = Literal[
|
|
|
471
484
|
"timestream-influxdb",
|
|
472
485
|
"timestream-query",
|
|
473
486
|
"timestream-write",
|
|
474
|
-
"tnb",
|
|
475
487
|
"transcribe",
|
|
476
488
|
"transfer",
|
|
477
489
|
"translate",
|
|
@@ -498,7 +510,7 @@ ServiceName = Literal[
|
|
|
498
510
|
ResourceServiceName = Literal[
|
|
499
511
|
"cloudformation", "cloudwatch", "dynamodb", "ec2", "glacier", "iam", "s3", "sns", "sqs"
|
|
500
512
|
]
|
|
501
|
-
PaginatorName = Literal["list_network_connectors"]
|
|
513
|
+
PaginatorName = Literal["list_network_connector_versions", "list_network_connectors"]
|
|
502
514
|
RegionName = Literal[
|
|
503
515
|
"af-south-1",
|
|
504
516
|
"ap-east-1",
|
{mypy_boto3_lambda_core-1.43.35 → mypy_boto3_lambda_core-1.44.0}/mypy_boto3_lambda_core/literals.pyi
RENAMED
|
@@ -24,6 +24,7 @@ else:
|
|
|
24
24
|
__all__ = (
|
|
25
25
|
"ComputeResourceTypeType",
|
|
26
26
|
"LambdaCoreServiceName",
|
|
27
|
+
"ListNetworkConnectorVersionsPaginatorName",
|
|
27
28
|
"ListNetworkConnectorsPaginatorName",
|
|
28
29
|
"NetworkConnectorLastUpdateStatusReasonCodeType",
|
|
29
30
|
"NetworkConnectorLastUpdateStatusType",
|
|
@@ -37,7 +38,8 @@ __all__ = (
|
|
|
37
38
|
"ServiceName",
|
|
38
39
|
)
|
|
39
40
|
|
|
40
|
-
ComputeResourceTypeType = Literal["MicroVm"]
|
|
41
|
+
ComputeResourceTypeType = Literal["MicroVm", "WebFunction"]
|
|
42
|
+
ListNetworkConnectorVersionsPaginatorName = Literal["list_network_connector_versions"]
|
|
41
43
|
ListNetworkConnectorsPaginatorName = Literal["list_network_connectors"]
|
|
42
44
|
NetworkConnectorLastUpdateStatusReasonCodeType = Literal[
|
|
43
45
|
"DisallowedByVpcEncryptionControl",
|
|
@@ -46,6 +48,7 @@ NetworkConnectorLastUpdateStatusReasonCodeType = Literal[
|
|
|
46
48
|
"InternalError",
|
|
47
49
|
"InvalidSecurityGroup",
|
|
48
50
|
"InvalidSubnet",
|
|
51
|
+
"SecurityGroupsPerInterfaceLimitExceeded",
|
|
49
52
|
"SubnetOutOfIPAddresses",
|
|
50
53
|
]
|
|
51
54
|
NetworkConnectorLastUpdateStatusType = Literal["Failed", "InProgress", "Successful"]
|
|
@@ -56,6 +59,7 @@ NetworkConnectorStateReasonCodeType = Literal[
|
|
|
56
59
|
"InternalError",
|
|
57
60
|
"InvalidSecurityGroup",
|
|
58
61
|
"InvalidSubnet",
|
|
62
|
+
"SecurityGroupsPerInterfaceLimitExceeded",
|
|
59
63
|
"SubnetOutOfIPAddresses",
|
|
60
64
|
]
|
|
61
65
|
NetworkConnectorStateType = Literal[
|
|
@@ -67,8 +71,12 @@ LambdaCoreServiceName = Literal["lambda-core"]
|
|
|
67
71
|
ServiceName = Literal[
|
|
68
72
|
"accessanalyzer",
|
|
69
73
|
"account",
|
|
74
|
+
"account-access",
|
|
75
|
+
"account-access-runtime",
|
|
70
76
|
"acm",
|
|
71
77
|
"acm-pca",
|
|
78
|
+
"agent-registry",
|
|
79
|
+
"agent-registry-control",
|
|
72
80
|
"aiops",
|
|
73
81
|
"amp",
|
|
74
82
|
"amplify",
|
|
@@ -141,6 +149,7 @@ ServiceName = Literal[
|
|
|
141
149
|
"cloudtrail",
|
|
142
150
|
"cloudtrail-data",
|
|
143
151
|
"cloudwatch",
|
|
152
|
+
"cloudwatchomni",
|
|
144
153
|
"codeartifact",
|
|
145
154
|
"codebuild",
|
|
146
155
|
"codecatalyst",
|
|
@@ -168,6 +177,7 @@ ServiceName = Literal[
|
|
|
168
177
|
"connectcases",
|
|
169
178
|
"connecthealth",
|
|
170
179
|
"connectparticipant",
|
|
180
|
+
"continuum",
|
|
171
181
|
"controlcatalog",
|
|
172
182
|
"controltower",
|
|
173
183
|
"cost-optimization-hub",
|
|
@@ -213,12 +223,12 @@ ServiceName = Literal[
|
|
|
213
223
|
"emr",
|
|
214
224
|
"emr-containers",
|
|
215
225
|
"emr-serverless",
|
|
226
|
+
"endusermessaging",
|
|
216
227
|
"entityresolution",
|
|
217
228
|
"es",
|
|
229
|
+
"eventbridgev2",
|
|
218
230
|
"events",
|
|
219
231
|
"evs",
|
|
220
|
-
"finspace",
|
|
221
|
-
"finspace-data",
|
|
222
232
|
"firehose",
|
|
223
233
|
"fis",
|
|
224
234
|
"fms",
|
|
@@ -243,6 +253,7 @@ ServiceName = Literal[
|
|
|
243
253
|
"health",
|
|
244
254
|
"healthlake",
|
|
245
255
|
"iam",
|
|
256
|
+
"iam-toolbox",
|
|
246
257
|
"identitystore",
|
|
247
258
|
"imagebuilder",
|
|
248
259
|
"importexport",
|
|
@@ -257,8 +268,6 @@ ServiceName = Literal[
|
|
|
257
268
|
"iot-jobs-data",
|
|
258
269
|
"iot-managed-integrations",
|
|
259
270
|
"iotdeviceadvisor",
|
|
260
|
-
"iotevents",
|
|
261
|
-
"iotevents-data",
|
|
262
271
|
"iotfleetwise",
|
|
263
272
|
"iotsecuretunneling",
|
|
264
273
|
"iotsitewise",
|
|
@@ -287,6 +296,7 @@ ServiceName = Literal[
|
|
|
287
296
|
"lambda",
|
|
288
297
|
"lambda-core",
|
|
289
298
|
"lambda-microvms",
|
|
299
|
+
"lambda-web",
|
|
290
300
|
"launch-wizard",
|
|
291
301
|
"lex-models",
|
|
292
302
|
"lex-runtime",
|
|
@@ -339,6 +349,7 @@ ServiceName = Literal[
|
|
|
339
349
|
"neptune-graph",
|
|
340
350
|
"neptunedata",
|
|
341
351
|
"network-firewall",
|
|
352
|
+
"network-security-manager",
|
|
342
353
|
"networkflowmonitor",
|
|
343
354
|
"networkmanager",
|
|
344
355
|
"networkmonitor",
|
|
@@ -354,10 +365,10 @@ ServiceName = Literal[
|
|
|
354
365
|
"organizations",
|
|
355
366
|
"osis",
|
|
356
367
|
"outposts",
|
|
357
|
-
"panorama",
|
|
358
368
|
"partnercentral-account",
|
|
359
369
|
"partnercentral-benefits",
|
|
360
370
|
"partnercentral-channel",
|
|
371
|
+
"partnercentral-revenue-measurement",
|
|
361
372
|
"partnercentral-selling",
|
|
362
373
|
"payment-cryptography",
|
|
363
374
|
"payment-cryptography-data",
|
|
@@ -375,6 +386,7 @@ ServiceName = Literal[
|
|
|
375
386
|
"pipes",
|
|
376
387
|
"polly",
|
|
377
388
|
"pricing",
|
|
389
|
+
"pricing-plan-manager",
|
|
378
390
|
"proton",
|
|
379
391
|
"qapps",
|
|
380
392
|
"qbusiness",
|
|
@@ -419,6 +431,7 @@ ServiceName = Literal[
|
|
|
419
431
|
"sagemaker-metrics",
|
|
420
432
|
"sagemaker-runtime",
|
|
421
433
|
"sagemakerjobruntime",
|
|
434
|
+
"sagemakertrainingsessionruntime",
|
|
422
435
|
"savingsplans",
|
|
423
436
|
"scheduler",
|
|
424
437
|
"schemas",
|
|
@@ -440,7 +453,6 @@ ServiceName = Literal[
|
|
|
440
453
|
"signer-data",
|
|
441
454
|
"signin",
|
|
442
455
|
"simpledbv2",
|
|
443
|
-
"simspaceweaver",
|
|
444
456
|
"snow-device-management",
|
|
445
457
|
"snowball",
|
|
446
458
|
"sns",
|
|
@@ -461,6 +473,7 @@ ServiceName = Literal[
|
|
|
461
473
|
"supplychain",
|
|
462
474
|
"support",
|
|
463
475
|
"support-app",
|
|
476
|
+
"supportauthz",
|
|
464
477
|
"sustainability",
|
|
465
478
|
"swf",
|
|
466
479
|
"synthetics",
|
|
@@ -469,7 +482,6 @@ ServiceName = Literal[
|
|
|
469
482
|
"timestream-influxdb",
|
|
470
483
|
"timestream-query",
|
|
471
484
|
"timestream-write",
|
|
472
|
-
"tnb",
|
|
473
485
|
"transcribe",
|
|
474
486
|
"transfer",
|
|
475
487
|
"translate",
|
|
@@ -496,7 +508,7 @@ ServiceName = Literal[
|
|
|
496
508
|
ResourceServiceName = Literal[
|
|
497
509
|
"cloudformation", "cloudwatch", "dynamodb", "ec2", "glacier", "iam", "s3", "sns", "sqs"
|
|
498
510
|
]
|
|
499
|
-
PaginatorName = Literal["list_network_connectors"]
|
|
511
|
+
PaginatorName = Literal["list_network_connector_versions", "list_network_connectors"]
|
|
500
512
|
RegionName = Literal[
|
|
501
513
|
"af-south-1",
|
|
502
514
|
"ap-east-1",
|
|
@@ -12,12 +12,14 @@ Usage::
|
|
|
12
12
|
|
|
13
13
|
from mypy_boto3_lambda_core.client import LambdaCoreClient
|
|
14
14
|
from mypy_boto3_lambda_core.paginator import (
|
|
15
|
+
ListNetworkConnectorVersionsPaginator,
|
|
15
16
|
ListNetworkConnectorsPaginator,
|
|
16
17
|
)
|
|
17
18
|
|
|
18
19
|
session = Session()
|
|
19
20
|
client: LambdaCoreClient = session.client("lambda-core")
|
|
20
21
|
|
|
22
|
+
list_network_connector_versions_paginator: ListNetworkConnectorVersionsPaginator = client.get_paginator("list_network_connector_versions")
|
|
21
23
|
list_network_connectors_paginator: ListNetworkConnectorsPaginator = client.get_paginator("list_network_connectors")
|
|
22
24
|
```
|
|
23
25
|
"""
|
|
@@ -32,6 +34,8 @@ from botocore.paginate import PageIterator, Paginator
|
|
|
32
34
|
from .type_defs import (
|
|
33
35
|
ListNetworkConnectorsRequestPaginateTypeDef,
|
|
34
36
|
ListNetworkConnectorsResponseTypeDef,
|
|
37
|
+
ListNetworkConnectorVersionsRequestPaginateTypeDef,
|
|
38
|
+
ListNetworkConnectorVersionsResponseTypeDef,
|
|
35
39
|
)
|
|
36
40
|
|
|
37
41
|
if sys.version_info >= (3, 12):
|
|
@@ -39,18 +43,45 @@ if sys.version_info >= (3, 12):
|
|
|
39
43
|
else:
|
|
40
44
|
from typing_extensions import Unpack
|
|
41
45
|
|
|
42
|
-
|
|
46
|
+
|
|
47
|
+
__all__ = ("ListNetworkConnectorVersionsPaginator", "ListNetworkConnectorsPaginator")
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
if TYPE_CHECKING:
|
|
51
|
+
_ListNetworkConnectorVersionsPaginatorBase = Paginator[
|
|
52
|
+
ListNetworkConnectorVersionsResponseTypeDef
|
|
53
|
+
]
|
|
54
|
+
else:
|
|
55
|
+
_ListNetworkConnectorVersionsPaginatorBase = Paginator # type: ignore[assignment]
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
class ListNetworkConnectorVersionsPaginator(_ListNetworkConnectorVersionsPaginatorBase):
|
|
59
|
+
"""
|
|
60
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-core/paginator/ListNetworkConnectorVersions.html#LambdaCore.Paginator.ListNetworkConnectorVersions)
|
|
61
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_core/paginators/#listnetworkconnectorversionspaginator)
|
|
62
|
+
"""
|
|
63
|
+
|
|
64
|
+
def paginate( # type: ignore[override]
|
|
65
|
+
self, **kwargs: Unpack[ListNetworkConnectorVersionsRequestPaginateTypeDef]
|
|
66
|
+
) -> PageIterator[ListNetworkConnectorVersionsResponseTypeDef]:
|
|
67
|
+
"""
|
|
68
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-core/paginator/ListNetworkConnectorVersions.html#LambdaCore.Paginator.ListNetworkConnectorVersions.paginate)
|
|
69
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_core/paginators/#listnetworkconnectorversionspaginator)
|
|
70
|
+
"""
|
|
71
|
+
|
|
43
72
|
|
|
44
73
|
if TYPE_CHECKING:
|
|
45
74
|
_ListNetworkConnectorsPaginatorBase = Paginator[ListNetworkConnectorsResponseTypeDef]
|
|
46
75
|
else:
|
|
47
76
|
_ListNetworkConnectorsPaginatorBase = Paginator # type: ignore[assignment]
|
|
48
77
|
|
|
78
|
+
|
|
49
79
|
class ListNetworkConnectorsPaginator(_ListNetworkConnectorsPaginatorBase):
|
|
50
80
|
"""
|
|
51
81
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-core/paginator/ListNetworkConnectors.html#LambdaCore.Paginator.ListNetworkConnectors)
|
|
52
82
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_core/paginators/#listnetworkconnectorspaginator)
|
|
53
83
|
"""
|
|
84
|
+
|
|
54
85
|
def paginate( # type: ignore[override]
|
|
55
86
|
self, **kwargs: Unpack[ListNetworkConnectorsRequestPaginateTypeDef]
|
|
56
87
|
) -> PageIterator[ListNetworkConnectorsResponseTypeDef]:
|
|
@@ -12,12 +12,14 @@ Usage::
|
|
|
12
12
|
|
|
13
13
|
from mypy_boto3_lambda_core.client import LambdaCoreClient
|
|
14
14
|
from mypy_boto3_lambda_core.paginator import (
|
|
15
|
+
ListNetworkConnectorVersionsPaginator,
|
|
15
16
|
ListNetworkConnectorsPaginator,
|
|
16
17
|
)
|
|
17
18
|
|
|
18
19
|
session = Session()
|
|
19
20
|
client: LambdaCoreClient = session.client("lambda-core")
|
|
20
21
|
|
|
22
|
+
list_network_connector_versions_paginator: ListNetworkConnectorVersionsPaginator = client.get_paginator("list_network_connector_versions")
|
|
21
23
|
list_network_connectors_paginator: ListNetworkConnectorsPaginator = client.get_paginator("list_network_connectors")
|
|
22
24
|
```
|
|
23
25
|
"""
|
|
@@ -32,6 +34,8 @@ from botocore.paginate import PageIterator, Paginator
|
|
|
32
34
|
from .type_defs import (
|
|
33
35
|
ListNetworkConnectorsRequestPaginateTypeDef,
|
|
34
36
|
ListNetworkConnectorsResponseTypeDef,
|
|
37
|
+
ListNetworkConnectorVersionsRequestPaginateTypeDef,
|
|
38
|
+
ListNetworkConnectorVersionsResponseTypeDef,
|
|
35
39
|
)
|
|
36
40
|
|
|
37
41
|
if sys.version_info >= (3, 12):
|
|
@@ -39,22 +43,38 @@ if sys.version_info >= (3, 12):
|
|
|
39
43
|
else:
|
|
40
44
|
from typing_extensions import Unpack
|
|
41
45
|
|
|
46
|
+
__all__ = ("ListNetworkConnectorVersionsPaginator", "ListNetworkConnectorsPaginator")
|
|
42
47
|
|
|
43
|
-
|
|
48
|
+
if TYPE_CHECKING:
|
|
49
|
+
_ListNetworkConnectorVersionsPaginatorBase = Paginator[
|
|
50
|
+
ListNetworkConnectorVersionsResponseTypeDef
|
|
51
|
+
]
|
|
52
|
+
else:
|
|
53
|
+
_ListNetworkConnectorVersionsPaginatorBase = Paginator # type: ignore[assignment]
|
|
44
54
|
|
|
55
|
+
class ListNetworkConnectorVersionsPaginator(_ListNetworkConnectorVersionsPaginatorBase):
|
|
56
|
+
"""
|
|
57
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-core/paginator/ListNetworkConnectorVersions.html#LambdaCore.Paginator.ListNetworkConnectorVersions)
|
|
58
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_core/paginators/#listnetworkconnectorversionspaginator)
|
|
59
|
+
"""
|
|
60
|
+
def paginate( # type: ignore[override]
|
|
61
|
+
self, **kwargs: Unpack[ListNetworkConnectorVersionsRequestPaginateTypeDef]
|
|
62
|
+
) -> PageIterator[ListNetworkConnectorVersionsResponseTypeDef]:
|
|
63
|
+
"""
|
|
64
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-core/paginator/ListNetworkConnectorVersions.html#LambdaCore.Paginator.ListNetworkConnectorVersions.paginate)
|
|
65
|
+
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_core/paginators/#listnetworkconnectorversionspaginator)
|
|
66
|
+
"""
|
|
45
67
|
|
|
46
68
|
if TYPE_CHECKING:
|
|
47
69
|
_ListNetworkConnectorsPaginatorBase = Paginator[ListNetworkConnectorsResponseTypeDef]
|
|
48
70
|
else:
|
|
49
71
|
_ListNetworkConnectorsPaginatorBase = Paginator # type: ignore[assignment]
|
|
50
72
|
|
|
51
|
-
|
|
52
73
|
class ListNetworkConnectorsPaginator(_ListNetworkConnectorsPaginatorBase):
|
|
53
74
|
"""
|
|
54
75
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/lambda-core/paginator/ListNetworkConnectors.html#LambdaCore.Paginator.ListNetworkConnectors)
|
|
55
76
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_lambda_core/paginators/#listnetworkconnectorspaginator)
|
|
56
77
|
"""
|
|
57
|
-
|
|
58
78
|
def paginate( # type: ignore[override]
|
|
59
79
|
self, **kwargs: Unpack[ListNetworkConnectorsRequestPaginateTypeDef]
|
|
60
80
|
) -> PageIterator[ListNetworkConnectorsResponseTypeDef]:
|
|
@@ -22,6 +22,7 @@ from datetime import datetime
|
|
|
22
22
|
from typing import Union
|
|
23
23
|
|
|
24
24
|
from .literals import (
|
|
25
|
+
ComputeResourceTypeType,
|
|
25
26
|
NetworkConnectorLastUpdateStatusReasonCodeType,
|
|
26
27
|
NetworkConnectorLastUpdateStatusType,
|
|
27
28
|
NetworkConnectorStateReasonCodeType,
|
|
@@ -34,6 +35,7 @@ if sys.version_info >= (3, 12):
|
|
|
34
35
|
else:
|
|
35
36
|
from typing_extensions import Literal, NotRequired, TypedDict
|
|
36
37
|
|
|
38
|
+
|
|
37
39
|
__all__ = (
|
|
38
40
|
"CreateNetworkConnectorRequestTypeDef",
|
|
39
41
|
"CreateNetworkConnectorResponseTypeDef",
|
|
@@ -41,6 +43,9 @@ __all__ = (
|
|
|
41
43
|
"DeleteNetworkConnectorResponseTypeDef",
|
|
42
44
|
"GetNetworkConnectorRequestTypeDef",
|
|
43
45
|
"GetNetworkConnectorResponseTypeDef",
|
|
46
|
+
"ListNetworkConnectorVersionsRequestPaginateTypeDef",
|
|
47
|
+
"ListNetworkConnectorVersionsRequestTypeDef",
|
|
48
|
+
"ListNetworkConnectorVersionsResponseTypeDef",
|
|
44
49
|
"ListNetworkConnectorsRequestPaginateTypeDef",
|
|
45
50
|
"ListNetworkConnectorsRequestTypeDef",
|
|
46
51
|
"ListNetworkConnectorsResponseTypeDef",
|
|
@@ -48,6 +53,7 @@ __all__ = (
|
|
|
48
53
|
"NetworkConnectorConfigurationTypeDef",
|
|
49
54
|
"NetworkConnectorConfigurationUnionTypeDef",
|
|
50
55
|
"NetworkConnectorSummaryTypeDef",
|
|
56
|
+
"NetworkConnectorVersionSummaryTypeDef",
|
|
51
57
|
"NetworkConnectorVpcEgressConfigurationOutputTypeDef",
|
|
52
58
|
"NetworkConnectorVpcEgressConfigurationTypeDef",
|
|
53
59
|
"PaginatorConfigTypeDef",
|
|
@@ -56,6 +62,7 @@ __all__ = (
|
|
|
56
62
|
"UpdateNetworkConnectorResponseTypeDef",
|
|
57
63
|
)
|
|
58
64
|
|
|
65
|
+
|
|
59
66
|
class ResponseMetadataTypeDef(TypedDict):
|
|
60
67
|
RequestId: str
|
|
61
68
|
HTTPStatusCode: int
|
|
@@ -63,22 +70,46 @@ class ResponseMetadataTypeDef(TypedDict):
|
|
|
63
70
|
RetryAttempts: int
|
|
64
71
|
HostId: NotRequired[str]
|
|
65
72
|
|
|
73
|
+
|
|
66
74
|
class DeleteNetworkConnectorRequestTypeDef(TypedDict):
|
|
67
75
|
Identifier: str
|
|
68
76
|
|
|
77
|
+
|
|
69
78
|
class GetNetworkConnectorRequestTypeDef(TypedDict):
|
|
70
79
|
Identifier: str
|
|
71
80
|
|
|
81
|
+
|
|
72
82
|
class PaginatorConfigTypeDef(TypedDict):
|
|
73
83
|
MaxItems: NotRequired[int]
|
|
74
84
|
PageSize: NotRequired[int]
|
|
75
85
|
StartingToken: NotRequired[str]
|
|
76
86
|
|
|
87
|
+
|
|
88
|
+
class ListNetworkConnectorVersionsRequestTypeDef(TypedDict):
|
|
89
|
+
Identifier: str
|
|
90
|
+
State: NotRequired[NetworkConnectorStateType]
|
|
91
|
+
Marker: NotRequired[str]
|
|
92
|
+
MaxItems: NotRequired[int]
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
class NetworkConnectorVersionSummaryTypeDef(TypedDict):
|
|
96
|
+
Arn: str
|
|
97
|
+
VersionArn: str
|
|
98
|
+
Name: str
|
|
99
|
+
Id: str
|
|
100
|
+
Version: int
|
|
101
|
+
State: NetworkConnectorStateType
|
|
102
|
+
StateReason: NotRequired[str]
|
|
103
|
+
StateReasonCode: NotRequired[NetworkConnectorStateReasonCodeType]
|
|
104
|
+
LastModified: NotRequired[datetime]
|
|
105
|
+
|
|
106
|
+
|
|
77
107
|
class ListNetworkConnectorsRequestTypeDef(TypedDict):
|
|
78
108
|
State: NotRequired[NetworkConnectorStateType]
|
|
79
109
|
Marker: NotRequired[str]
|
|
80
110
|
MaxItems: NotRequired[int]
|
|
81
111
|
|
|
112
|
+
|
|
82
113
|
NetworkConnectorSummaryTypeDef = TypedDict(
|
|
83
114
|
"NetworkConnectorSummaryTypeDef",
|
|
84
115
|
{
|
|
@@ -88,59 +119,89 @@ NetworkConnectorSummaryTypeDef = TypedDict(
|
|
|
88
119
|
"Type": Literal["VPC_EGRESS"],
|
|
89
120
|
"State": NotRequired[NetworkConnectorStateType],
|
|
90
121
|
"LastModified": NotRequired[datetime],
|
|
122
|
+
"LatestVersionArn": NotRequired[str],
|
|
123
|
+
"LatestVersion": NotRequired[int],
|
|
91
124
|
},
|
|
92
125
|
)
|
|
93
126
|
|
|
127
|
+
|
|
94
128
|
class NetworkConnectorVpcEgressConfigurationOutputTypeDef(TypedDict):
|
|
95
129
|
SubnetIds: NotRequired[list[str]]
|
|
96
130
|
SecurityGroupIds: NotRequired[list[str]]
|
|
97
131
|
NetworkProtocol: NotRequired[NetworkProtocolType]
|
|
98
|
-
AssociatedComputeResourceTypes: NotRequired[list[
|
|
132
|
+
AssociatedComputeResourceTypes: NotRequired[list[ComputeResourceTypeType]]
|
|
133
|
+
|
|
99
134
|
|
|
100
135
|
class NetworkConnectorVpcEgressConfigurationTypeDef(TypedDict):
|
|
101
136
|
SubnetIds: NotRequired[Sequence[str]]
|
|
102
137
|
SecurityGroupIds: NotRequired[Sequence[str]]
|
|
103
138
|
NetworkProtocol: NotRequired[NetworkProtocolType]
|
|
104
|
-
AssociatedComputeResourceTypes: NotRequired[Sequence[
|
|
139
|
+
AssociatedComputeResourceTypes: NotRequired[Sequence[ComputeResourceTypeType]]
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
class ListNetworkConnectorVersionsRequestPaginateTypeDef(TypedDict):
|
|
143
|
+
Identifier: str
|
|
144
|
+
State: NotRequired[NetworkConnectorStateType]
|
|
145
|
+
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
146
|
+
|
|
105
147
|
|
|
106
148
|
class ListNetworkConnectorsRequestPaginateTypeDef(TypedDict):
|
|
107
149
|
State: NotRequired[NetworkConnectorStateType]
|
|
108
150
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
109
151
|
|
|
152
|
+
|
|
153
|
+
class ListNetworkConnectorVersionsResponseTypeDef(TypedDict):
|
|
154
|
+
NetworkConnectorVersions: list[NetworkConnectorVersionSummaryTypeDef]
|
|
155
|
+
NextMarker: str
|
|
156
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
157
|
+
|
|
158
|
+
|
|
110
159
|
class ListNetworkConnectorsResponseTypeDef(TypedDict):
|
|
111
160
|
NetworkConnectors: list[NetworkConnectorSummaryTypeDef]
|
|
112
161
|
NextMarker: str
|
|
113
162
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
114
163
|
|
|
164
|
+
|
|
115
165
|
class NetworkConnectorConfigurationOutputTypeDef(TypedDict):
|
|
116
166
|
VpcEgressConfiguration: NotRequired[NetworkConnectorVpcEgressConfigurationOutputTypeDef]
|
|
117
167
|
|
|
168
|
+
|
|
118
169
|
class NetworkConnectorConfigurationTypeDef(TypedDict):
|
|
119
170
|
VpcEgressConfiguration: NotRequired[NetworkConnectorVpcEgressConfigurationTypeDef]
|
|
120
171
|
|
|
172
|
+
|
|
121
173
|
class CreateNetworkConnectorResponseTypeDef(TypedDict):
|
|
122
174
|
Arn: str
|
|
123
175
|
Name: str
|
|
124
176
|
Id: str
|
|
177
|
+
VersionArn: str
|
|
178
|
+
Version: int
|
|
125
179
|
Configuration: NetworkConnectorConfigurationOutputTypeDef
|
|
126
180
|
OperatorRole: str
|
|
127
181
|
State: NetworkConnectorStateType
|
|
128
182
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
129
183
|
|
|
184
|
+
|
|
130
185
|
class DeleteNetworkConnectorResponseTypeDef(TypedDict):
|
|
131
186
|
Arn: str
|
|
132
187
|
Name: str
|
|
133
188
|
Id: str
|
|
189
|
+
VersionArn: str
|
|
190
|
+
Version: int
|
|
134
191
|
Configuration: NetworkConnectorConfigurationOutputTypeDef
|
|
135
192
|
OperatorRole: str
|
|
136
193
|
State: NetworkConnectorStateType
|
|
137
194
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
138
195
|
|
|
196
|
+
|
|
139
197
|
class GetNetworkConnectorResponseTypeDef(TypedDict):
|
|
140
198
|
Arn: str
|
|
141
199
|
Name: str
|
|
142
200
|
Id: str
|
|
201
|
+
VersionArn: str
|
|
143
202
|
Version: int
|
|
203
|
+
LatestVersionArn: str
|
|
204
|
+
LatestVersion: int
|
|
144
205
|
Configuration: NetworkConnectorConfigurationOutputTypeDef
|
|
145
206
|
OperatorRole: str
|
|
146
207
|
State: NetworkConnectorStateType
|
|
@@ -152,10 +213,13 @@ class GetNetworkConnectorResponseTypeDef(TypedDict):
|
|
|
152
213
|
LastModified: datetime
|
|
153
214
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
154
215
|
|
|
216
|
+
|
|
155
217
|
class UpdateNetworkConnectorResponseTypeDef(TypedDict):
|
|
156
218
|
Arn: str
|
|
157
219
|
Name: str
|
|
158
220
|
Id: str
|
|
221
|
+
VersionArn: str
|
|
222
|
+
Version: int
|
|
159
223
|
OperatorRole: str
|
|
160
224
|
Configuration: NetworkConnectorConfigurationOutputTypeDef
|
|
161
225
|
State: NetworkConnectorStateType
|
|
@@ -164,10 +228,12 @@ class UpdateNetworkConnectorResponseTypeDef(TypedDict):
|
|
|
164
228
|
LastModified: datetime
|
|
165
229
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
166
230
|
|
|
231
|
+
|
|
167
232
|
NetworkConnectorConfigurationUnionTypeDef = Union[
|
|
168
233
|
NetworkConnectorConfigurationTypeDef, NetworkConnectorConfigurationOutputTypeDef
|
|
169
234
|
]
|
|
170
235
|
|
|
236
|
+
|
|
171
237
|
class CreateNetworkConnectorRequestTypeDef(TypedDict):
|
|
172
238
|
Name: str
|
|
173
239
|
Configuration: NetworkConnectorConfigurationUnionTypeDef
|
|
@@ -175,6 +241,7 @@ class CreateNetworkConnectorRequestTypeDef(TypedDict):
|
|
|
175
241
|
ClientToken: NotRequired[str]
|
|
176
242
|
Tags: NotRequired[Mapping[str, str]]
|
|
177
243
|
|
|
244
|
+
|
|
178
245
|
class UpdateNetworkConnectorRequestTypeDef(TypedDict):
|
|
179
246
|
Identifier: str
|
|
180
247
|
Configuration: NotRequired[NetworkConnectorConfigurationUnionTypeDef]
|
|
@@ -22,6 +22,7 @@ from datetime import datetime
|
|
|
22
22
|
from typing import Union
|
|
23
23
|
|
|
24
24
|
from .literals import (
|
|
25
|
+
ComputeResourceTypeType,
|
|
25
26
|
NetworkConnectorLastUpdateStatusReasonCodeType,
|
|
26
27
|
NetworkConnectorLastUpdateStatusType,
|
|
27
28
|
NetworkConnectorStateReasonCodeType,
|
|
@@ -34,7 +35,6 @@ if sys.version_info >= (3, 12):
|
|
|
34
35
|
else:
|
|
35
36
|
from typing_extensions import Literal, NotRequired, TypedDict
|
|
36
37
|
|
|
37
|
-
|
|
38
38
|
__all__ = (
|
|
39
39
|
"CreateNetworkConnectorRequestTypeDef",
|
|
40
40
|
"CreateNetworkConnectorResponseTypeDef",
|
|
@@ -42,6 +42,9 @@ __all__ = (
|
|
|
42
42
|
"DeleteNetworkConnectorResponseTypeDef",
|
|
43
43
|
"GetNetworkConnectorRequestTypeDef",
|
|
44
44
|
"GetNetworkConnectorResponseTypeDef",
|
|
45
|
+
"ListNetworkConnectorVersionsRequestPaginateTypeDef",
|
|
46
|
+
"ListNetworkConnectorVersionsRequestTypeDef",
|
|
47
|
+
"ListNetworkConnectorVersionsResponseTypeDef",
|
|
45
48
|
"ListNetworkConnectorsRequestPaginateTypeDef",
|
|
46
49
|
"ListNetworkConnectorsRequestTypeDef",
|
|
47
50
|
"ListNetworkConnectorsResponseTypeDef",
|
|
@@ -49,6 +52,7 @@ __all__ = (
|
|
|
49
52
|
"NetworkConnectorConfigurationTypeDef",
|
|
50
53
|
"NetworkConnectorConfigurationUnionTypeDef",
|
|
51
54
|
"NetworkConnectorSummaryTypeDef",
|
|
55
|
+
"NetworkConnectorVersionSummaryTypeDef",
|
|
52
56
|
"NetworkConnectorVpcEgressConfigurationOutputTypeDef",
|
|
53
57
|
"NetworkConnectorVpcEgressConfigurationTypeDef",
|
|
54
58
|
"PaginatorConfigTypeDef",
|
|
@@ -57,7 +61,6 @@ __all__ = (
|
|
|
57
61
|
"UpdateNetworkConnectorResponseTypeDef",
|
|
58
62
|
)
|
|
59
63
|
|
|
60
|
-
|
|
61
64
|
class ResponseMetadataTypeDef(TypedDict):
|
|
62
65
|
RequestId: str
|
|
63
66
|
HTTPStatusCode: int
|
|
@@ -65,27 +68,39 @@ class ResponseMetadataTypeDef(TypedDict):
|
|
|
65
68
|
RetryAttempts: int
|
|
66
69
|
HostId: NotRequired[str]
|
|
67
70
|
|
|
68
|
-
|
|
69
71
|
class DeleteNetworkConnectorRequestTypeDef(TypedDict):
|
|
70
72
|
Identifier: str
|
|
71
73
|
|
|
72
|
-
|
|
73
74
|
class GetNetworkConnectorRequestTypeDef(TypedDict):
|
|
74
75
|
Identifier: str
|
|
75
76
|
|
|
76
|
-
|
|
77
77
|
class PaginatorConfigTypeDef(TypedDict):
|
|
78
78
|
MaxItems: NotRequired[int]
|
|
79
79
|
PageSize: NotRequired[int]
|
|
80
80
|
StartingToken: NotRequired[str]
|
|
81
81
|
|
|
82
|
+
class ListNetworkConnectorVersionsRequestTypeDef(TypedDict):
|
|
83
|
+
Identifier: str
|
|
84
|
+
State: NotRequired[NetworkConnectorStateType]
|
|
85
|
+
Marker: NotRequired[str]
|
|
86
|
+
MaxItems: NotRequired[int]
|
|
87
|
+
|
|
88
|
+
class NetworkConnectorVersionSummaryTypeDef(TypedDict):
|
|
89
|
+
Arn: str
|
|
90
|
+
VersionArn: str
|
|
91
|
+
Name: str
|
|
92
|
+
Id: str
|
|
93
|
+
Version: int
|
|
94
|
+
State: NetworkConnectorStateType
|
|
95
|
+
StateReason: NotRequired[str]
|
|
96
|
+
StateReasonCode: NotRequired[NetworkConnectorStateReasonCodeType]
|
|
97
|
+
LastModified: NotRequired[datetime]
|
|
82
98
|
|
|
83
99
|
class ListNetworkConnectorsRequestTypeDef(TypedDict):
|
|
84
100
|
State: NotRequired[NetworkConnectorStateType]
|
|
85
101
|
Marker: NotRequired[str]
|
|
86
102
|
MaxItems: NotRequired[int]
|
|
87
103
|
|
|
88
|
-
|
|
89
104
|
NetworkConnectorSummaryTypeDef = TypedDict(
|
|
90
105
|
"NetworkConnectorSummaryTypeDef",
|
|
91
106
|
{
|
|
@@ -95,68 +110,78 @@ NetworkConnectorSummaryTypeDef = TypedDict(
|
|
|
95
110
|
"Type": Literal["VPC_EGRESS"],
|
|
96
111
|
"State": NotRequired[NetworkConnectorStateType],
|
|
97
112
|
"LastModified": NotRequired[datetime],
|
|
113
|
+
"LatestVersionArn": NotRequired[str],
|
|
114
|
+
"LatestVersion": NotRequired[int],
|
|
98
115
|
},
|
|
99
116
|
)
|
|
100
117
|
|
|
101
|
-
|
|
102
118
|
class NetworkConnectorVpcEgressConfigurationOutputTypeDef(TypedDict):
|
|
103
119
|
SubnetIds: NotRequired[list[str]]
|
|
104
120
|
SecurityGroupIds: NotRequired[list[str]]
|
|
105
121
|
NetworkProtocol: NotRequired[NetworkProtocolType]
|
|
106
|
-
AssociatedComputeResourceTypes: NotRequired[list[
|
|
107
|
-
|
|
122
|
+
AssociatedComputeResourceTypes: NotRequired[list[ComputeResourceTypeType]]
|
|
108
123
|
|
|
109
124
|
class NetworkConnectorVpcEgressConfigurationTypeDef(TypedDict):
|
|
110
125
|
SubnetIds: NotRequired[Sequence[str]]
|
|
111
126
|
SecurityGroupIds: NotRequired[Sequence[str]]
|
|
112
127
|
NetworkProtocol: NotRequired[NetworkProtocolType]
|
|
113
|
-
AssociatedComputeResourceTypes: NotRequired[Sequence[
|
|
128
|
+
AssociatedComputeResourceTypes: NotRequired[Sequence[ComputeResourceTypeType]]
|
|
114
129
|
|
|
130
|
+
class ListNetworkConnectorVersionsRequestPaginateTypeDef(TypedDict):
|
|
131
|
+
Identifier: str
|
|
132
|
+
State: NotRequired[NetworkConnectorStateType]
|
|
133
|
+
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
115
134
|
|
|
116
135
|
class ListNetworkConnectorsRequestPaginateTypeDef(TypedDict):
|
|
117
136
|
State: NotRequired[NetworkConnectorStateType]
|
|
118
137
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
119
138
|
|
|
139
|
+
class ListNetworkConnectorVersionsResponseTypeDef(TypedDict):
|
|
140
|
+
NetworkConnectorVersions: list[NetworkConnectorVersionSummaryTypeDef]
|
|
141
|
+
NextMarker: str
|
|
142
|
+
ResponseMetadata: ResponseMetadataTypeDef
|
|
120
143
|
|
|
121
144
|
class ListNetworkConnectorsResponseTypeDef(TypedDict):
|
|
122
145
|
NetworkConnectors: list[NetworkConnectorSummaryTypeDef]
|
|
123
146
|
NextMarker: str
|
|
124
147
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
125
148
|
|
|
126
|
-
|
|
127
149
|
class NetworkConnectorConfigurationOutputTypeDef(TypedDict):
|
|
128
150
|
VpcEgressConfiguration: NotRequired[NetworkConnectorVpcEgressConfigurationOutputTypeDef]
|
|
129
151
|
|
|
130
|
-
|
|
131
152
|
class NetworkConnectorConfigurationTypeDef(TypedDict):
|
|
132
153
|
VpcEgressConfiguration: NotRequired[NetworkConnectorVpcEgressConfigurationTypeDef]
|
|
133
154
|
|
|
134
|
-
|
|
135
155
|
class CreateNetworkConnectorResponseTypeDef(TypedDict):
|
|
136
156
|
Arn: str
|
|
137
157
|
Name: str
|
|
138
158
|
Id: str
|
|
159
|
+
VersionArn: str
|
|
160
|
+
Version: int
|
|
139
161
|
Configuration: NetworkConnectorConfigurationOutputTypeDef
|
|
140
162
|
OperatorRole: str
|
|
141
163
|
State: NetworkConnectorStateType
|
|
142
164
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
143
165
|
|
|
144
|
-
|
|
145
166
|
class DeleteNetworkConnectorResponseTypeDef(TypedDict):
|
|
146
167
|
Arn: str
|
|
147
168
|
Name: str
|
|
148
169
|
Id: str
|
|
170
|
+
VersionArn: str
|
|
171
|
+
Version: int
|
|
149
172
|
Configuration: NetworkConnectorConfigurationOutputTypeDef
|
|
150
173
|
OperatorRole: str
|
|
151
174
|
State: NetworkConnectorStateType
|
|
152
175
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
153
176
|
|
|
154
|
-
|
|
155
177
|
class GetNetworkConnectorResponseTypeDef(TypedDict):
|
|
156
178
|
Arn: str
|
|
157
179
|
Name: str
|
|
158
180
|
Id: str
|
|
181
|
+
VersionArn: str
|
|
159
182
|
Version: int
|
|
183
|
+
LatestVersionArn: str
|
|
184
|
+
LatestVersion: int
|
|
160
185
|
Configuration: NetworkConnectorConfigurationOutputTypeDef
|
|
161
186
|
OperatorRole: str
|
|
162
187
|
State: NetworkConnectorStateType
|
|
@@ -168,11 +193,12 @@ class GetNetworkConnectorResponseTypeDef(TypedDict):
|
|
|
168
193
|
LastModified: datetime
|
|
169
194
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
170
195
|
|
|
171
|
-
|
|
172
196
|
class UpdateNetworkConnectorResponseTypeDef(TypedDict):
|
|
173
197
|
Arn: str
|
|
174
198
|
Name: str
|
|
175
199
|
Id: str
|
|
200
|
+
VersionArn: str
|
|
201
|
+
Version: int
|
|
176
202
|
OperatorRole: str
|
|
177
203
|
Configuration: NetworkConnectorConfigurationOutputTypeDef
|
|
178
204
|
State: NetworkConnectorStateType
|
|
@@ -181,12 +207,10 @@ class UpdateNetworkConnectorResponseTypeDef(TypedDict):
|
|
|
181
207
|
LastModified: datetime
|
|
182
208
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
183
209
|
|
|
184
|
-
|
|
185
210
|
NetworkConnectorConfigurationUnionTypeDef = Union[
|
|
186
211
|
NetworkConnectorConfigurationTypeDef, NetworkConnectorConfigurationOutputTypeDef
|
|
187
212
|
]
|
|
188
213
|
|
|
189
|
-
|
|
190
214
|
class CreateNetworkConnectorRequestTypeDef(TypedDict):
|
|
191
215
|
Name: str
|
|
192
216
|
Configuration: NetworkConnectorConfigurationUnionTypeDef
|
|
@@ -194,7 +218,6 @@ class CreateNetworkConnectorRequestTypeDef(TypedDict):
|
|
|
194
218
|
ClientToken: NotRequired[str]
|
|
195
219
|
Tags: NotRequired[Mapping[str, str]]
|
|
196
220
|
|
|
197
|
-
|
|
198
221
|
class UpdateNetworkConnectorRequestTypeDef(TypedDict):
|
|
199
222
|
Identifier: str
|
|
200
223
|
Configuration: NotRequired[NetworkConnectorConfigurationUnionTypeDef]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mypy-boto3-lambda-core
|
|
3
|
-
Version: 1.
|
|
4
|
-
Summary: Type annotations for boto3 LambdaCore 1.
|
|
3
|
+
Version: 1.44.0
|
|
4
|
+
Summary: Type annotations for boto3 LambdaCore 1.44.0 service generated with mypy-boto3-builder 8.12.0
|
|
5
5
|
Author-email: Vlad Emelianov <vlad.emelianov.nz@gmail.com>
|
|
6
6
|
License-Expression: MIT
|
|
7
7
|
Project-URL: Homepage, https://github.com/youtype/mypy_boto3_builder
|
|
@@ -42,9 +42,8 @@ Dynamic: license-file
|
|
|
42
42
|
|
|
43
43
|

|
|
44
44
|
|
|
45
|
-
Type annotations for
|
|
46
|
-
|
|
47
|
-
[VSCode](https://code.visualstudio.com/),
|
|
45
|
+
Type annotations for [boto3 LambdaCore 1.44.0](https://pypi.org/project/boto3/)
|
|
46
|
+
compatible with [VSCode](https://code.visualstudio.com/),
|
|
48
47
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
49
48
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
50
49
|
[Sublime Text](https://www.sublimetext.com/),
|
|
@@ -105,7 +104,7 @@ You can generate type annotations for `boto3` package locally with
|
|
|
105
104
|
isolation.
|
|
106
105
|
|
|
107
106
|
1. Run mypy-boto3-builder in your package root directory:
|
|
108
|
-
`uvx --with 'boto3==1.
|
|
107
|
+
`uvx --with 'boto3==1.44.0' mypy-boto3-builder`
|
|
109
108
|
2. Select `boto3-stubs` AWS SDK.
|
|
110
109
|
3. Add `LambdaCore` service.
|
|
111
110
|
4. Use provided commands to install generated packages.
|
|
@@ -338,12 +337,18 @@ paginators.
|
|
|
338
337
|
from boto3.session import Session
|
|
339
338
|
|
|
340
339
|
from mypy_boto3_lambda_core import LambdaCoreClient
|
|
341
|
-
from mypy_boto3_lambda_core.paginator import
|
|
340
|
+
from mypy_boto3_lambda_core.paginator import (
|
|
341
|
+
ListNetworkConnectorVersionsPaginator,
|
|
342
|
+
ListNetworkConnectorsPaginator,
|
|
343
|
+
)
|
|
342
344
|
|
|
343
345
|
client: LambdaCoreClient = Session().client("lambda-core")
|
|
344
346
|
|
|
345
347
|
# Explicit type annotations are optional here
|
|
346
348
|
# Types should be correctly discovered by mypy and IDEs
|
|
349
|
+
list_network_connector_versions_paginator: ListNetworkConnectorVersionsPaginator = (
|
|
350
|
+
client.get_paginator("list_network_connector_versions")
|
|
351
|
+
)
|
|
347
352
|
list_network_connectors_paginator: ListNetworkConnectorsPaginator = client.get_paginator(
|
|
348
353
|
"list_network_connectors"
|
|
349
354
|
)
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "mypy-boto3-lambda-core"
|
|
7
|
-
version = "1.
|
|
7
|
+
version = "1.44.0"
|
|
8
8
|
license = "MIT"
|
|
9
9
|
authors = [{ name = "Vlad Emelianov", email = "vlad.emelianov.nz@gmail.com" }]
|
|
10
|
-
description = "Type annotations for boto3 LambdaCore 1.
|
|
10
|
+
description = "Type annotations for boto3 LambdaCore 1.44.0 service generated with mypy-boto3-builder 8.12.0"
|
|
11
11
|
readme = "README.md"
|
|
12
12
|
classifiers = [
|
|
13
13
|
"Development Status :: 5 - Production/Stable",
|
|
File without changes
|
{mypy_boto3_lambda_core-1.43.35 → mypy_boto3_lambda_core-1.44.0}/mypy_boto3_lambda_core/py.typed
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|