mypy-boto3-transfer 1.35.84__py3-none-any.whl → 1.36.0__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_transfer/__init__.py +1 -1
- mypy_boto3_transfer/__init__.pyi +1 -1
- mypy_boto3_transfer/__main__.py +9 -8
- mypy_boto3_transfer/client.py +67 -49
- mypy_boto3_transfer/client.pyi +67 -48
- mypy_boto3_transfer/literals.py +2 -4
- mypy_boto3_transfer/literals.pyi +2 -4
- mypy_boto3_transfer/paginator.py +146 -76
- mypy_boto3_transfer/paginator.pyi +134 -75
- mypy_boto3_transfer/type_defs.py +39 -37
- mypy_boto3_transfer/type_defs.pyi +39 -36
- mypy_boto3_transfer/version.py +2 -2
- mypy_boto3_transfer/waiter.py +11 -8
- mypy_boto3_transfer/waiter.pyi +11 -8
- {mypy_boto3_transfer-1.35.84.dist-info → mypy_boto3_transfer-1.36.0.dist-info}/LICENSE +1 -1
- {mypy_boto3_transfer-1.35.84.dist-info → mypy_boto3_transfer-1.36.0.dist-info}/METADATA +20 -8
- mypy_boto3_transfer-1.36.0.dist-info/RECORD +20 -0
- {mypy_boto3_transfer-1.35.84.dist-info → mypy_boto3_transfer-1.36.0.dist-info}/WHEEL +1 -1
- mypy_boto3_transfer-1.35.84.dist-info/RECORD +0 -20
- {mypy_boto3_transfer-1.35.84.dist-info → mypy_boto3_transfer-1.36.0.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Type annotations for transfer service client paginators.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_transfer/paginators/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -43,40 +43,42 @@ Usage::
|
|
|
43
43
|
list_workflows_paginator: ListWorkflowsPaginator = client.get_paginator("list_workflows")
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
-
Copyright
|
|
46
|
+
Copyright 2025 Vlad Emelianov
|
|
47
47
|
"""
|
|
48
48
|
|
|
49
|
+
from __future__ import annotations
|
|
50
|
+
|
|
49
51
|
import sys
|
|
50
|
-
from typing import
|
|
52
|
+
from typing import TYPE_CHECKING
|
|
51
53
|
|
|
52
54
|
from botocore.paginate import PageIterator, Paginator
|
|
53
55
|
|
|
54
56
|
from .type_defs import (
|
|
55
|
-
|
|
57
|
+
ListAccessesRequestPaginateTypeDef,
|
|
56
58
|
ListAccessesResponseTypeDef,
|
|
57
|
-
|
|
59
|
+
ListAgreementsRequestPaginateTypeDef,
|
|
58
60
|
ListAgreementsResponseTypeDef,
|
|
59
|
-
|
|
61
|
+
ListCertificatesRequestPaginateTypeDef,
|
|
60
62
|
ListCertificatesResponseTypeDef,
|
|
61
|
-
|
|
63
|
+
ListConnectorsRequestPaginateTypeDef,
|
|
62
64
|
ListConnectorsResponseTypeDef,
|
|
63
|
-
|
|
65
|
+
ListExecutionsRequestPaginateTypeDef,
|
|
64
66
|
ListExecutionsResponseTypeDef,
|
|
65
|
-
|
|
67
|
+
ListFileTransferResultsRequestPaginateTypeDef,
|
|
66
68
|
ListFileTransferResultsResponseTypeDef,
|
|
67
|
-
|
|
69
|
+
ListProfilesRequestPaginateTypeDef,
|
|
68
70
|
ListProfilesResponseTypeDef,
|
|
69
|
-
|
|
71
|
+
ListSecurityPoliciesRequestPaginateTypeDef,
|
|
70
72
|
ListSecurityPoliciesResponseTypeDef,
|
|
71
|
-
|
|
73
|
+
ListServersRequestPaginateTypeDef,
|
|
72
74
|
ListServersResponseTypeDef,
|
|
73
|
-
|
|
75
|
+
ListTagsForResourceRequestPaginateTypeDef,
|
|
74
76
|
ListTagsForResourceResponseTypeDef,
|
|
75
|
-
|
|
77
|
+
ListUsersRequestPaginateTypeDef,
|
|
76
78
|
ListUsersResponseTypeDef,
|
|
77
|
-
|
|
79
|
+
ListWebAppsRequestPaginateTypeDef,
|
|
78
80
|
ListWebAppsResponseTypeDef,
|
|
79
|
-
|
|
81
|
+
ListWorkflowsRequestPaginateTypeDef,
|
|
80
82
|
ListWorkflowsResponseTypeDef,
|
|
81
83
|
)
|
|
82
84
|
|
|
@@ -101,178 +103,235 @@ __all__ = (
|
|
|
101
103
|
"ListWorkflowsPaginator",
|
|
102
104
|
)
|
|
103
105
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
"""
|
|
109
|
-
Proxy method to specify iterator item type.
|
|
110
|
-
"""
|
|
106
|
+
if TYPE_CHECKING:
|
|
107
|
+
_ListAccessesPaginatorBase = Paginator[ListAccessesResponseTypeDef]
|
|
108
|
+
else:
|
|
109
|
+
_ListAccessesPaginatorBase = Paginator # type: ignore[assignment]
|
|
111
110
|
|
|
112
|
-
class ListAccessesPaginator(
|
|
111
|
+
class ListAccessesPaginator(_ListAccessesPaginatorBase):
|
|
113
112
|
"""
|
|
114
113
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/transfer/paginator/ListAccesses.html#Transfer.Paginator.ListAccesses)
|
|
115
114
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_transfer/paginators/#listaccessespaginator)
|
|
116
115
|
"""
|
|
117
|
-
def paginate(
|
|
118
|
-
self, **kwargs: Unpack[
|
|
119
|
-
) ->
|
|
116
|
+
def paginate( # type: ignore[override]
|
|
117
|
+
self, **kwargs: Unpack[ListAccessesRequestPaginateTypeDef]
|
|
118
|
+
) -> PageIterator[ListAccessesResponseTypeDef]:
|
|
120
119
|
"""
|
|
121
120
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/transfer/paginator/ListAccesses.html#Transfer.Paginator.ListAccesses.paginate)
|
|
122
121
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_transfer/paginators/#listaccessespaginator)
|
|
123
122
|
"""
|
|
124
123
|
|
|
125
|
-
|
|
124
|
+
if TYPE_CHECKING:
|
|
125
|
+
_ListAgreementsPaginatorBase = Paginator[ListAgreementsResponseTypeDef]
|
|
126
|
+
else:
|
|
127
|
+
_ListAgreementsPaginatorBase = Paginator # type: ignore[assignment]
|
|
128
|
+
|
|
129
|
+
class ListAgreementsPaginator(_ListAgreementsPaginatorBase):
|
|
126
130
|
"""
|
|
127
131
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/transfer/paginator/ListAgreements.html#Transfer.Paginator.ListAgreements)
|
|
128
132
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_transfer/paginators/#listagreementspaginator)
|
|
129
133
|
"""
|
|
130
|
-
def paginate(
|
|
131
|
-
self, **kwargs: Unpack[
|
|
132
|
-
) ->
|
|
134
|
+
def paginate( # type: ignore[override]
|
|
135
|
+
self, **kwargs: Unpack[ListAgreementsRequestPaginateTypeDef]
|
|
136
|
+
) -> PageIterator[ListAgreementsResponseTypeDef]:
|
|
133
137
|
"""
|
|
134
138
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/transfer/paginator/ListAgreements.html#Transfer.Paginator.ListAgreements.paginate)
|
|
135
139
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_transfer/paginators/#listagreementspaginator)
|
|
136
140
|
"""
|
|
137
141
|
|
|
138
|
-
|
|
142
|
+
if TYPE_CHECKING:
|
|
143
|
+
_ListCertificatesPaginatorBase = Paginator[ListCertificatesResponseTypeDef]
|
|
144
|
+
else:
|
|
145
|
+
_ListCertificatesPaginatorBase = Paginator # type: ignore[assignment]
|
|
146
|
+
|
|
147
|
+
class ListCertificatesPaginator(_ListCertificatesPaginatorBase):
|
|
139
148
|
"""
|
|
140
149
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/transfer/paginator/ListCertificates.html#Transfer.Paginator.ListCertificates)
|
|
141
150
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_transfer/paginators/#listcertificatespaginator)
|
|
142
151
|
"""
|
|
143
|
-
def paginate(
|
|
144
|
-
self, **kwargs: Unpack[
|
|
145
|
-
) ->
|
|
152
|
+
def paginate( # type: ignore[override]
|
|
153
|
+
self, **kwargs: Unpack[ListCertificatesRequestPaginateTypeDef]
|
|
154
|
+
) -> PageIterator[ListCertificatesResponseTypeDef]:
|
|
146
155
|
"""
|
|
147
156
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/transfer/paginator/ListCertificates.html#Transfer.Paginator.ListCertificates.paginate)
|
|
148
157
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_transfer/paginators/#listcertificatespaginator)
|
|
149
158
|
"""
|
|
150
159
|
|
|
151
|
-
|
|
160
|
+
if TYPE_CHECKING:
|
|
161
|
+
_ListConnectorsPaginatorBase = Paginator[ListConnectorsResponseTypeDef]
|
|
162
|
+
else:
|
|
163
|
+
_ListConnectorsPaginatorBase = Paginator # type: ignore[assignment]
|
|
164
|
+
|
|
165
|
+
class ListConnectorsPaginator(_ListConnectorsPaginatorBase):
|
|
152
166
|
"""
|
|
153
167
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/transfer/paginator/ListConnectors.html#Transfer.Paginator.ListConnectors)
|
|
154
168
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_transfer/paginators/#listconnectorspaginator)
|
|
155
169
|
"""
|
|
156
|
-
def paginate(
|
|
157
|
-
self, **kwargs: Unpack[
|
|
158
|
-
) ->
|
|
170
|
+
def paginate( # type: ignore[override]
|
|
171
|
+
self, **kwargs: Unpack[ListConnectorsRequestPaginateTypeDef]
|
|
172
|
+
) -> PageIterator[ListConnectorsResponseTypeDef]:
|
|
159
173
|
"""
|
|
160
174
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/transfer/paginator/ListConnectors.html#Transfer.Paginator.ListConnectors.paginate)
|
|
161
175
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_transfer/paginators/#listconnectorspaginator)
|
|
162
176
|
"""
|
|
163
177
|
|
|
164
|
-
|
|
178
|
+
if TYPE_CHECKING:
|
|
179
|
+
_ListExecutionsPaginatorBase = Paginator[ListExecutionsResponseTypeDef]
|
|
180
|
+
else:
|
|
181
|
+
_ListExecutionsPaginatorBase = Paginator # type: ignore[assignment]
|
|
182
|
+
|
|
183
|
+
class ListExecutionsPaginator(_ListExecutionsPaginatorBase):
|
|
165
184
|
"""
|
|
166
185
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/transfer/paginator/ListExecutions.html#Transfer.Paginator.ListExecutions)
|
|
167
186
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_transfer/paginators/#listexecutionspaginator)
|
|
168
187
|
"""
|
|
169
|
-
def paginate(
|
|
170
|
-
self, **kwargs: Unpack[
|
|
171
|
-
) ->
|
|
188
|
+
def paginate( # type: ignore[override]
|
|
189
|
+
self, **kwargs: Unpack[ListExecutionsRequestPaginateTypeDef]
|
|
190
|
+
) -> PageIterator[ListExecutionsResponseTypeDef]:
|
|
172
191
|
"""
|
|
173
192
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/transfer/paginator/ListExecutions.html#Transfer.Paginator.ListExecutions.paginate)
|
|
174
193
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_transfer/paginators/#listexecutionspaginator)
|
|
175
194
|
"""
|
|
176
195
|
|
|
177
|
-
|
|
196
|
+
if TYPE_CHECKING:
|
|
197
|
+
_ListFileTransferResultsPaginatorBase = Paginator[ListFileTransferResultsResponseTypeDef]
|
|
198
|
+
else:
|
|
199
|
+
_ListFileTransferResultsPaginatorBase = Paginator # type: ignore[assignment]
|
|
200
|
+
|
|
201
|
+
class ListFileTransferResultsPaginator(_ListFileTransferResultsPaginatorBase):
|
|
178
202
|
"""
|
|
179
203
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/transfer/paginator/ListFileTransferResults.html#Transfer.Paginator.ListFileTransferResults)
|
|
180
204
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_transfer/paginators/#listfiletransferresultspaginator)
|
|
181
205
|
"""
|
|
182
|
-
def paginate(
|
|
183
|
-
self, **kwargs: Unpack[
|
|
184
|
-
) ->
|
|
206
|
+
def paginate( # type: ignore[override]
|
|
207
|
+
self, **kwargs: Unpack[ListFileTransferResultsRequestPaginateTypeDef]
|
|
208
|
+
) -> PageIterator[ListFileTransferResultsResponseTypeDef]:
|
|
185
209
|
"""
|
|
186
210
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/transfer/paginator/ListFileTransferResults.html#Transfer.Paginator.ListFileTransferResults.paginate)
|
|
187
211
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_transfer/paginators/#listfiletransferresultspaginator)
|
|
188
212
|
"""
|
|
189
213
|
|
|
190
|
-
|
|
214
|
+
if TYPE_CHECKING:
|
|
215
|
+
_ListProfilesPaginatorBase = Paginator[ListProfilesResponseTypeDef]
|
|
216
|
+
else:
|
|
217
|
+
_ListProfilesPaginatorBase = Paginator # type: ignore[assignment]
|
|
218
|
+
|
|
219
|
+
class ListProfilesPaginator(_ListProfilesPaginatorBase):
|
|
191
220
|
"""
|
|
192
221
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/transfer/paginator/ListProfiles.html#Transfer.Paginator.ListProfiles)
|
|
193
222
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_transfer/paginators/#listprofilespaginator)
|
|
194
223
|
"""
|
|
195
|
-
def paginate(
|
|
196
|
-
self, **kwargs: Unpack[
|
|
197
|
-
) ->
|
|
224
|
+
def paginate( # type: ignore[override]
|
|
225
|
+
self, **kwargs: Unpack[ListProfilesRequestPaginateTypeDef]
|
|
226
|
+
) -> PageIterator[ListProfilesResponseTypeDef]:
|
|
198
227
|
"""
|
|
199
228
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/transfer/paginator/ListProfiles.html#Transfer.Paginator.ListProfiles.paginate)
|
|
200
229
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_transfer/paginators/#listprofilespaginator)
|
|
201
230
|
"""
|
|
202
231
|
|
|
203
|
-
|
|
232
|
+
if TYPE_CHECKING:
|
|
233
|
+
_ListSecurityPoliciesPaginatorBase = Paginator[ListSecurityPoliciesResponseTypeDef]
|
|
234
|
+
else:
|
|
235
|
+
_ListSecurityPoliciesPaginatorBase = Paginator # type: ignore[assignment]
|
|
236
|
+
|
|
237
|
+
class ListSecurityPoliciesPaginator(_ListSecurityPoliciesPaginatorBase):
|
|
204
238
|
"""
|
|
205
239
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/transfer/paginator/ListSecurityPolicies.html#Transfer.Paginator.ListSecurityPolicies)
|
|
206
240
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_transfer/paginators/#listsecuritypoliciespaginator)
|
|
207
241
|
"""
|
|
208
|
-
def paginate(
|
|
209
|
-
self, **kwargs: Unpack[
|
|
210
|
-
) ->
|
|
242
|
+
def paginate( # type: ignore[override]
|
|
243
|
+
self, **kwargs: Unpack[ListSecurityPoliciesRequestPaginateTypeDef]
|
|
244
|
+
) -> PageIterator[ListSecurityPoliciesResponseTypeDef]:
|
|
211
245
|
"""
|
|
212
246
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/transfer/paginator/ListSecurityPolicies.html#Transfer.Paginator.ListSecurityPolicies.paginate)
|
|
213
247
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_transfer/paginators/#listsecuritypoliciespaginator)
|
|
214
248
|
"""
|
|
215
249
|
|
|
216
|
-
|
|
250
|
+
if TYPE_CHECKING:
|
|
251
|
+
_ListServersPaginatorBase = Paginator[ListServersResponseTypeDef]
|
|
252
|
+
else:
|
|
253
|
+
_ListServersPaginatorBase = Paginator # type: ignore[assignment]
|
|
254
|
+
|
|
255
|
+
class ListServersPaginator(_ListServersPaginatorBase):
|
|
217
256
|
"""
|
|
218
257
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/transfer/paginator/ListServers.html#Transfer.Paginator.ListServers)
|
|
219
258
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_transfer/paginators/#listserverspaginator)
|
|
220
259
|
"""
|
|
221
|
-
def paginate(
|
|
222
|
-
self, **kwargs: Unpack[
|
|
223
|
-
) ->
|
|
260
|
+
def paginate( # type: ignore[override]
|
|
261
|
+
self, **kwargs: Unpack[ListServersRequestPaginateTypeDef]
|
|
262
|
+
) -> PageIterator[ListServersResponseTypeDef]:
|
|
224
263
|
"""
|
|
225
264
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/transfer/paginator/ListServers.html#Transfer.Paginator.ListServers.paginate)
|
|
226
265
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_transfer/paginators/#listserverspaginator)
|
|
227
266
|
"""
|
|
228
267
|
|
|
229
|
-
|
|
268
|
+
if TYPE_CHECKING:
|
|
269
|
+
_ListTagsForResourcePaginatorBase = Paginator[ListTagsForResourceResponseTypeDef]
|
|
270
|
+
else:
|
|
271
|
+
_ListTagsForResourcePaginatorBase = Paginator # type: ignore[assignment]
|
|
272
|
+
|
|
273
|
+
class ListTagsForResourcePaginator(_ListTagsForResourcePaginatorBase):
|
|
230
274
|
"""
|
|
231
275
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/transfer/paginator/ListTagsForResource.html#Transfer.Paginator.ListTagsForResource)
|
|
232
276
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_transfer/paginators/#listtagsforresourcepaginator)
|
|
233
277
|
"""
|
|
234
|
-
def paginate(
|
|
235
|
-
self, **kwargs: Unpack[
|
|
236
|
-
) ->
|
|
278
|
+
def paginate( # type: ignore[override]
|
|
279
|
+
self, **kwargs: Unpack[ListTagsForResourceRequestPaginateTypeDef]
|
|
280
|
+
) -> PageIterator[ListTagsForResourceResponseTypeDef]:
|
|
237
281
|
"""
|
|
238
282
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/transfer/paginator/ListTagsForResource.html#Transfer.Paginator.ListTagsForResource.paginate)
|
|
239
283
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_transfer/paginators/#listtagsforresourcepaginator)
|
|
240
284
|
"""
|
|
241
285
|
|
|
242
|
-
|
|
286
|
+
if TYPE_CHECKING:
|
|
287
|
+
_ListUsersPaginatorBase = Paginator[ListUsersResponseTypeDef]
|
|
288
|
+
else:
|
|
289
|
+
_ListUsersPaginatorBase = Paginator # type: ignore[assignment]
|
|
290
|
+
|
|
291
|
+
class ListUsersPaginator(_ListUsersPaginatorBase):
|
|
243
292
|
"""
|
|
244
293
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/transfer/paginator/ListUsers.html#Transfer.Paginator.ListUsers)
|
|
245
294
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_transfer/paginators/#listuserspaginator)
|
|
246
295
|
"""
|
|
247
|
-
def paginate(
|
|
248
|
-
self, **kwargs: Unpack[
|
|
249
|
-
) ->
|
|
296
|
+
def paginate( # type: ignore[override]
|
|
297
|
+
self, **kwargs: Unpack[ListUsersRequestPaginateTypeDef]
|
|
298
|
+
) -> PageIterator[ListUsersResponseTypeDef]:
|
|
250
299
|
"""
|
|
251
300
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/transfer/paginator/ListUsers.html#Transfer.Paginator.ListUsers.paginate)
|
|
252
301
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_transfer/paginators/#listuserspaginator)
|
|
253
302
|
"""
|
|
254
303
|
|
|
255
|
-
|
|
304
|
+
if TYPE_CHECKING:
|
|
305
|
+
_ListWebAppsPaginatorBase = Paginator[ListWebAppsResponseTypeDef]
|
|
306
|
+
else:
|
|
307
|
+
_ListWebAppsPaginatorBase = Paginator # type: ignore[assignment]
|
|
308
|
+
|
|
309
|
+
class ListWebAppsPaginator(_ListWebAppsPaginatorBase):
|
|
256
310
|
"""
|
|
257
311
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/transfer/paginator/ListWebApps.html#Transfer.Paginator.ListWebApps)
|
|
258
312
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_transfer/paginators/#listwebappspaginator)
|
|
259
313
|
"""
|
|
260
|
-
def paginate(
|
|
261
|
-
self, **kwargs: Unpack[
|
|
262
|
-
) ->
|
|
314
|
+
def paginate( # type: ignore[override]
|
|
315
|
+
self, **kwargs: Unpack[ListWebAppsRequestPaginateTypeDef]
|
|
316
|
+
) -> PageIterator[ListWebAppsResponseTypeDef]:
|
|
263
317
|
"""
|
|
264
318
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/transfer/paginator/ListWebApps.html#Transfer.Paginator.ListWebApps.paginate)
|
|
265
319
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_transfer/paginators/#listwebappspaginator)
|
|
266
320
|
"""
|
|
267
321
|
|
|
268
|
-
|
|
322
|
+
if TYPE_CHECKING:
|
|
323
|
+
_ListWorkflowsPaginatorBase = Paginator[ListWorkflowsResponseTypeDef]
|
|
324
|
+
else:
|
|
325
|
+
_ListWorkflowsPaginatorBase = Paginator # type: ignore[assignment]
|
|
326
|
+
|
|
327
|
+
class ListWorkflowsPaginator(_ListWorkflowsPaginatorBase):
|
|
269
328
|
"""
|
|
270
329
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/transfer/paginator/ListWorkflows.html#Transfer.Paginator.ListWorkflows)
|
|
271
330
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_transfer/paginators/#listworkflowspaginator)
|
|
272
331
|
"""
|
|
273
|
-
def paginate(
|
|
274
|
-
self, **kwargs: Unpack[
|
|
275
|
-
) ->
|
|
332
|
+
def paginate( # type: ignore[override]
|
|
333
|
+
self, **kwargs: Unpack[ListWorkflowsRequestPaginateTypeDef]
|
|
334
|
+
) -> PageIterator[ListWorkflowsResponseTypeDef]:
|
|
276
335
|
"""
|
|
277
336
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/transfer/paginator/ListWorkflows.html#Transfer.Paginator.ListWorkflows.paginate)
|
|
278
337
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_transfer/paginators/#listworkflowspaginator)
|
mypy_boto3_transfer/type_defs.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Type annotations for transfer service type definitions.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_transfer/type_defs/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -11,12 +11,14 @@ Usage::
|
|
|
11
11
|
data: As2ConnectorConfigTypeDef = ...
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
Copyright
|
|
14
|
+
Copyright 2025 Vlad Emelianov
|
|
15
15
|
"""
|
|
16
16
|
|
|
17
|
+
from __future__ import annotations
|
|
18
|
+
|
|
17
19
|
import sys
|
|
18
20
|
from datetime import datetime
|
|
19
|
-
from typing import IO, Any,
|
|
21
|
+
from typing import IO, Any, Union
|
|
20
22
|
|
|
21
23
|
from botocore.response import StreamingBody
|
|
22
24
|
|
|
@@ -55,6 +57,12 @@ from .literals import (
|
|
|
55
57
|
WorkflowStepTypeType,
|
|
56
58
|
)
|
|
57
59
|
|
|
60
|
+
if sys.version_info >= (3, 9):
|
|
61
|
+
from builtins import dict as Dict
|
|
62
|
+
from builtins import list as List
|
|
63
|
+
from collections.abc import Sequence
|
|
64
|
+
else:
|
|
65
|
+
from typing import Dict, List, Sequence
|
|
58
66
|
if sys.version_info >= (3, 12):
|
|
59
67
|
from typing import Literal, NotRequired, TypedDict
|
|
60
68
|
else:
|
|
@@ -114,8 +122,7 @@ __all__ = (
|
|
|
114
122
|
"DescribeSecurityPolicyRequestRequestTypeDef",
|
|
115
123
|
"DescribeSecurityPolicyResponseTypeDef",
|
|
116
124
|
"DescribeServerRequestRequestTypeDef",
|
|
117
|
-
"
|
|
118
|
-
"DescribeServerRequestServerOnlineWaitTypeDef",
|
|
125
|
+
"DescribeServerRequestWaitTypeDef",
|
|
119
126
|
"DescribeServerResponseTypeDef",
|
|
120
127
|
"DescribeUserRequestRequestTypeDef",
|
|
121
128
|
"DescribeUserResponseTypeDef",
|
|
@@ -158,45 +165,45 @@ __all__ = (
|
|
|
158
165
|
"ImportSshPublicKeyRequestRequestTypeDef",
|
|
159
166
|
"ImportSshPublicKeyResponseTypeDef",
|
|
160
167
|
"InputFileLocationTypeDef",
|
|
161
|
-
"
|
|
168
|
+
"ListAccessesRequestPaginateTypeDef",
|
|
162
169
|
"ListAccessesRequestRequestTypeDef",
|
|
163
170
|
"ListAccessesResponseTypeDef",
|
|
164
|
-
"
|
|
171
|
+
"ListAgreementsRequestPaginateTypeDef",
|
|
165
172
|
"ListAgreementsRequestRequestTypeDef",
|
|
166
173
|
"ListAgreementsResponseTypeDef",
|
|
167
|
-
"
|
|
174
|
+
"ListCertificatesRequestPaginateTypeDef",
|
|
168
175
|
"ListCertificatesRequestRequestTypeDef",
|
|
169
176
|
"ListCertificatesResponseTypeDef",
|
|
170
|
-
"
|
|
177
|
+
"ListConnectorsRequestPaginateTypeDef",
|
|
171
178
|
"ListConnectorsRequestRequestTypeDef",
|
|
172
179
|
"ListConnectorsResponseTypeDef",
|
|
173
|
-
"
|
|
180
|
+
"ListExecutionsRequestPaginateTypeDef",
|
|
174
181
|
"ListExecutionsRequestRequestTypeDef",
|
|
175
182
|
"ListExecutionsResponseTypeDef",
|
|
176
|
-
"
|
|
183
|
+
"ListFileTransferResultsRequestPaginateTypeDef",
|
|
177
184
|
"ListFileTransferResultsRequestRequestTypeDef",
|
|
178
185
|
"ListFileTransferResultsResponseTypeDef",
|
|
179
186
|
"ListHostKeysRequestRequestTypeDef",
|
|
180
187
|
"ListHostKeysResponseTypeDef",
|
|
181
|
-
"
|
|
188
|
+
"ListProfilesRequestPaginateTypeDef",
|
|
182
189
|
"ListProfilesRequestRequestTypeDef",
|
|
183
190
|
"ListProfilesResponseTypeDef",
|
|
184
|
-
"
|
|
191
|
+
"ListSecurityPoliciesRequestPaginateTypeDef",
|
|
185
192
|
"ListSecurityPoliciesRequestRequestTypeDef",
|
|
186
193
|
"ListSecurityPoliciesResponseTypeDef",
|
|
187
|
-
"
|
|
194
|
+
"ListServersRequestPaginateTypeDef",
|
|
188
195
|
"ListServersRequestRequestTypeDef",
|
|
189
196
|
"ListServersResponseTypeDef",
|
|
190
|
-
"
|
|
197
|
+
"ListTagsForResourceRequestPaginateTypeDef",
|
|
191
198
|
"ListTagsForResourceRequestRequestTypeDef",
|
|
192
199
|
"ListTagsForResourceResponseTypeDef",
|
|
193
|
-
"
|
|
200
|
+
"ListUsersRequestPaginateTypeDef",
|
|
194
201
|
"ListUsersRequestRequestTypeDef",
|
|
195
202
|
"ListUsersResponseTypeDef",
|
|
196
|
-
"
|
|
203
|
+
"ListWebAppsRequestPaginateTypeDef",
|
|
197
204
|
"ListWebAppsRequestRequestTypeDef",
|
|
198
205
|
"ListWebAppsResponseTypeDef",
|
|
199
|
-
"
|
|
206
|
+
"ListWorkflowsRequestPaginateTypeDef",
|
|
200
207
|
"ListWorkflowsRequestRequestTypeDef",
|
|
201
208
|
"ListWorkflowsResponseTypeDef",
|
|
202
209
|
"ListedAccessTypeDef",
|
|
@@ -1197,12 +1204,7 @@ class DescribeSecurityPolicyResponseTypeDef(TypedDict):
|
|
|
1197
1204
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1198
1205
|
|
|
1199
1206
|
|
|
1200
|
-
class
|
|
1201
|
-
ServerId: str
|
|
1202
|
-
WaiterConfig: NotRequired[WaiterConfigTypeDef]
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
class DescribeServerRequestServerOnlineWaitTypeDef(TypedDict):
|
|
1207
|
+
class DescribeServerRequestWaitTypeDef(TypedDict):
|
|
1206
1208
|
ServerId: str
|
|
1207
1209
|
WaiterConfig: NotRequired[WaiterConfigTypeDef]
|
|
1208
1210
|
|
|
@@ -1290,63 +1292,63 @@ class InputFileLocationTypeDef(TypedDict):
|
|
|
1290
1292
|
EfsFileLocation: NotRequired[EfsFileLocationTypeDef]
|
|
1291
1293
|
|
|
1292
1294
|
|
|
1293
|
-
class
|
|
1295
|
+
class ListAccessesRequestPaginateTypeDef(TypedDict):
|
|
1294
1296
|
ServerId: str
|
|
1295
1297
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
1296
1298
|
|
|
1297
1299
|
|
|
1298
|
-
class
|
|
1300
|
+
class ListAgreementsRequestPaginateTypeDef(TypedDict):
|
|
1299
1301
|
ServerId: str
|
|
1300
1302
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
1301
1303
|
|
|
1302
1304
|
|
|
1303
|
-
class
|
|
1305
|
+
class ListCertificatesRequestPaginateTypeDef(TypedDict):
|
|
1304
1306
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
1305
1307
|
|
|
1306
1308
|
|
|
1307
|
-
class
|
|
1309
|
+
class ListConnectorsRequestPaginateTypeDef(TypedDict):
|
|
1308
1310
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
1309
1311
|
|
|
1310
1312
|
|
|
1311
|
-
class
|
|
1313
|
+
class ListExecutionsRequestPaginateTypeDef(TypedDict):
|
|
1312
1314
|
WorkflowId: str
|
|
1313
1315
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
1314
1316
|
|
|
1315
1317
|
|
|
1316
|
-
class
|
|
1318
|
+
class ListFileTransferResultsRequestPaginateTypeDef(TypedDict):
|
|
1317
1319
|
ConnectorId: str
|
|
1318
1320
|
TransferId: str
|
|
1319
1321
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
1320
1322
|
|
|
1321
1323
|
|
|
1322
|
-
class
|
|
1324
|
+
class ListProfilesRequestPaginateTypeDef(TypedDict):
|
|
1323
1325
|
ProfileType: NotRequired[ProfileTypeType]
|
|
1324
1326
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
1325
1327
|
|
|
1326
1328
|
|
|
1327
|
-
class
|
|
1329
|
+
class ListSecurityPoliciesRequestPaginateTypeDef(TypedDict):
|
|
1328
1330
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
1329
1331
|
|
|
1330
1332
|
|
|
1331
|
-
class
|
|
1333
|
+
class ListServersRequestPaginateTypeDef(TypedDict):
|
|
1332
1334
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
1333
1335
|
|
|
1334
1336
|
|
|
1335
|
-
class
|
|
1337
|
+
class ListTagsForResourceRequestPaginateTypeDef(TypedDict):
|
|
1336
1338
|
Arn: str
|
|
1337
1339
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
1338
1340
|
|
|
1339
1341
|
|
|
1340
|
-
class
|
|
1342
|
+
class ListUsersRequestPaginateTypeDef(TypedDict):
|
|
1341
1343
|
ServerId: str
|
|
1342
1344
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
1343
1345
|
|
|
1344
1346
|
|
|
1345
|
-
class
|
|
1347
|
+
class ListWebAppsRequestPaginateTypeDef(TypedDict):
|
|
1346
1348
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
1347
1349
|
|
|
1348
1350
|
|
|
1349
|
-
class
|
|
1351
|
+
class ListWorkflowsRequestPaginateTypeDef(TypedDict):
|
|
1350
1352
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
1351
1353
|
|
|
1352
1354
|
|