mypy-boto3-workspaces-web 1.34.0__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.
@@ -0,0 +1,82 @@
1
+ """
2
+ Type annotations for workspaces-web service client paginators.
3
+
4
+ [Documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/paginators/)
5
+
6
+ Usage::
7
+
8
+ ```python
9
+ from boto3.session import Session
10
+
11
+ from mypy_boto3_workspaces_web.client import WorkSpacesWebClient
12
+ from mypy_boto3_workspaces_web.paginator import (
13
+ ListDataProtectionSettingsPaginator,
14
+ ListSessionsPaginator,
15
+ )
16
+
17
+ session = Session()
18
+ client: WorkSpacesWebClient = session.client("workspaces-web")
19
+
20
+ list_data_protection_settings_paginator: ListDataProtectionSettingsPaginator = client.get_paginator("list_data_protection_settings")
21
+ list_sessions_paginator: ListSessionsPaginator = client.get_paginator("list_sessions")
22
+ ```
23
+
24
+ Copyright 2025 Vlad Emelianov
25
+ """
26
+
27
+ from __future__ import annotations
28
+
29
+ import sys
30
+ from typing import TYPE_CHECKING
31
+
32
+ from botocore.paginate import PageIterator, Paginator
33
+
34
+ from .type_defs import (
35
+ ListDataProtectionSettingsRequestPaginateTypeDef,
36
+ ListDataProtectionSettingsResponseTypeDef,
37
+ ListSessionsRequestPaginateTypeDef,
38
+ ListSessionsResponseTypeDef,
39
+ )
40
+
41
+ if sys.version_info >= (3, 12):
42
+ from typing import Unpack
43
+ else:
44
+ from typing_extensions import Unpack
45
+
46
+ __all__ = ("ListDataProtectionSettingsPaginator", "ListSessionsPaginator")
47
+
48
+ if TYPE_CHECKING:
49
+ _ListDataProtectionSettingsPaginatorBase = Paginator[ListDataProtectionSettingsResponseTypeDef]
50
+ else:
51
+ _ListDataProtectionSettingsPaginatorBase = Paginator # type: ignore[assignment]
52
+
53
+ class ListDataProtectionSettingsPaginator(_ListDataProtectionSettingsPaginatorBase):
54
+ """
55
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/paginator/ListDataProtectionSettings.html#WorkSpacesWeb.Paginator.ListDataProtectionSettings)
56
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/paginators/#listdataprotectionsettingspaginator)
57
+ """
58
+ def paginate( # type: ignore[override]
59
+ self, **kwargs: Unpack[ListDataProtectionSettingsRequestPaginateTypeDef]
60
+ ) -> PageIterator[ListDataProtectionSettingsResponseTypeDef]:
61
+ """
62
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/paginator/ListDataProtectionSettings.html#WorkSpacesWeb.Paginator.ListDataProtectionSettings.paginate)
63
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/paginators/#listdataprotectionsettingspaginator)
64
+ """
65
+
66
+ if TYPE_CHECKING:
67
+ _ListSessionsPaginatorBase = Paginator[ListSessionsResponseTypeDef]
68
+ else:
69
+ _ListSessionsPaginatorBase = Paginator # type: ignore[assignment]
70
+
71
+ class ListSessionsPaginator(_ListSessionsPaginatorBase):
72
+ """
73
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/paginator/ListSessions.html#WorkSpacesWeb.Paginator.ListSessions)
74
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/paginators/#listsessionspaginator)
75
+ """
76
+ def paginate( # type: ignore[override]
77
+ self, **kwargs: Unpack[ListSessionsRequestPaginateTypeDef]
78
+ ) -> PageIterator[ListSessionsResponseTypeDef]:
79
+ """
80
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/workspaces-web/paginator/ListSessions.html#WorkSpacesWeb.Paginator.ListSessions.paginate)
81
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_workspaces_web/paginators/#listsessionspaginator)
82
+ """