types-boto3-kinesis 1.35.71__py3-none-any.whl → 1.35.93__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- types_boto3_kinesis/__init__.py +1 -1
- types_boto3_kinesis/__init__.pyi +1 -1
- types_boto3_kinesis/__main__.py +9 -8
- types_boto3_kinesis/client.py +36 -31
- types_boto3_kinesis/client.pyi +36 -30
- types_boto3_kinesis/literals.py +10 -2
- types_boto3_kinesis/literals.pyi +10 -2
- types_boto3_kinesis/paginator.py +47 -31
- types_boto3_kinesis/paginator.pyi +44 -30
- types_boto3_kinesis/type_defs.py +22 -23
- types_boto3_kinesis/type_defs.pyi +22 -22
- types_boto3_kinesis/version.py +2 -2
- types_boto3_kinesis/waiter.py +11 -8
- types_boto3_kinesis/waiter.pyi +11 -8
- {types_boto3_kinesis-1.35.71.dist-info → types_boto3_kinesis-1.35.93.dist-info}/LICENSE +1 -1
- {types_boto3_kinesis-1.35.71.dist-info → types_boto3_kinesis-1.35.93.dist-info}/METADATA +50 -10
- types_boto3_kinesis-1.35.93.dist-info/RECORD +20 -0
- {types_boto3_kinesis-1.35.71.dist-info → types_boto3_kinesis-1.35.93.dist-info}/WHEEL +1 -1
- types_boto3_kinesis-1.35.71.dist-info/RECORD +0 -20
- {types_boto3_kinesis-1.35.71.dist-info → types_boto3_kinesis-1.35.93.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Type annotations for kinesis service client paginators.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_kinesis/paginators/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -25,22 +25,24 @@ Usage::
|
|
|
25
25
|
list_streams_paginator: ListStreamsPaginator = client.get_paginator("list_streams")
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
-
Copyright
|
|
28
|
+
Copyright 2025 Vlad Emelianov
|
|
29
29
|
"""
|
|
30
30
|
|
|
31
|
+
from __future__ import annotations
|
|
32
|
+
|
|
31
33
|
import sys
|
|
32
|
-
from typing import
|
|
34
|
+
from typing import TYPE_CHECKING
|
|
33
35
|
|
|
34
36
|
from botocore.paginate import PageIterator, Paginator
|
|
35
37
|
|
|
36
38
|
from .type_defs import (
|
|
37
|
-
|
|
39
|
+
DescribeStreamInputPaginateTypeDef,
|
|
38
40
|
DescribeStreamOutputTypeDef,
|
|
39
|
-
|
|
41
|
+
ListShardsInputPaginateTypeDef,
|
|
40
42
|
ListShardsOutputTypeDef,
|
|
41
|
-
|
|
43
|
+
ListStreamConsumersInputPaginateTypeDef,
|
|
42
44
|
ListStreamConsumersOutputTypeDef,
|
|
43
|
-
|
|
45
|
+
ListStreamsInputPaginateTypeDef,
|
|
44
46
|
ListStreamsOutputTypeDef,
|
|
45
47
|
)
|
|
46
48
|
|
|
@@ -56,61 +58,73 @@ __all__ = (
|
|
|
56
58
|
"ListStreamsPaginator",
|
|
57
59
|
)
|
|
58
60
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
"""
|
|
64
|
-
Proxy method to specify iterator item type.
|
|
65
|
-
"""
|
|
61
|
+
if TYPE_CHECKING:
|
|
62
|
+
_DescribeStreamPaginatorBase = Paginator[DescribeStreamOutputTypeDef]
|
|
63
|
+
else:
|
|
64
|
+
_DescribeStreamPaginatorBase = Paginator # type: ignore[assignment]
|
|
66
65
|
|
|
67
|
-
class DescribeStreamPaginator(
|
|
66
|
+
class DescribeStreamPaginator(_DescribeStreamPaginatorBase):
|
|
68
67
|
"""
|
|
69
68
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/kinesis/paginator/DescribeStream.html#Kinesis.Paginator.DescribeStream)
|
|
70
69
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_kinesis/paginators/#describestreampaginator)
|
|
71
70
|
"""
|
|
72
|
-
def paginate(
|
|
73
|
-
self, **kwargs: Unpack[
|
|
74
|
-
) ->
|
|
71
|
+
def paginate( # type: ignore[override]
|
|
72
|
+
self, **kwargs: Unpack[DescribeStreamInputPaginateTypeDef]
|
|
73
|
+
) -> PageIterator[DescribeStreamOutputTypeDef]:
|
|
75
74
|
"""
|
|
76
75
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/kinesis/paginator/DescribeStream.html#Kinesis.Paginator.DescribeStream.paginate)
|
|
77
76
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_kinesis/paginators/#describestreampaginator)
|
|
78
77
|
"""
|
|
79
78
|
|
|
80
|
-
|
|
79
|
+
if TYPE_CHECKING:
|
|
80
|
+
_ListShardsPaginatorBase = Paginator[ListShardsOutputTypeDef]
|
|
81
|
+
else:
|
|
82
|
+
_ListShardsPaginatorBase = Paginator # type: ignore[assignment]
|
|
83
|
+
|
|
84
|
+
class ListShardsPaginator(_ListShardsPaginatorBase):
|
|
81
85
|
"""
|
|
82
86
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/kinesis/paginator/ListShards.html#Kinesis.Paginator.ListShards)
|
|
83
87
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_kinesis/paginators/#listshardspaginator)
|
|
84
88
|
"""
|
|
85
|
-
def paginate(
|
|
86
|
-
self, **kwargs: Unpack[
|
|
87
|
-
) ->
|
|
89
|
+
def paginate( # type: ignore[override]
|
|
90
|
+
self, **kwargs: Unpack[ListShardsInputPaginateTypeDef]
|
|
91
|
+
) -> PageIterator[ListShardsOutputTypeDef]:
|
|
88
92
|
"""
|
|
89
93
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/kinesis/paginator/ListShards.html#Kinesis.Paginator.ListShards.paginate)
|
|
90
94
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_kinesis/paginators/#listshardspaginator)
|
|
91
95
|
"""
|
|
92
96
|
|
|
93
|
-
|
|
97
|
+
if TYPE_CHECKING:
|
|
98
|
+
_ListStreamConsumersPaginatorBase = Paginator[ListStreamConsumersOutputTypeDef]
|
|
99
|
+
else:
|
|
100
|
+
_ListStreamConsumersPaginatorBase = Paginator # type: ignore[assignment]
|
|
101
|
+
|
|
102
|
+
class ListStreamConsumersPaginator(_ListStreamConsumersPaginatorBase):
|
|
94
103
|
"""
|
|
95
104
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/kinesis/paginator/ListStreamConsumers.html#Kinesis.Paginator.ListStreamConsumers)
|
|
96
105
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_kinesis/paginators/#liststreamconsumerspaginator)
|
|
97
106
|
"""
|
|
98
|
-
def paginate(
|
|
99
|
-
self, **kwargs: Unpack[
|
|
100
|
-
) ->
|
|
107
|
+
def paginate( # type: ignore[override]
|
|
108
|
+
self, **kwargs: Unpack[ListStreamConsumersInputPaginateTypeDef]
|
|
109
|
+
) -> PageIterator[ListStreamConsumersOutputTypeDef]:
|
|
101
110
|
"""
|
|
102
111
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/kinesis/paginator/ListStreamConsumers.html#Kinesis.Paginator.ListStreamConsumers.paginate)
|
|
103
112
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_kinesis/paginators/#liststreamconsumerspaginator)
|
|
104
113
|
"""
|
|
105
114
|
|
|
106
|
-
|
|
115
|
+
if TYPE_CHECKING:
|
|
116
|
+
_ListStreamsPaginatorBase = Paginator[ListStreamsOutputTypeDef]
|
|
117
|
+
else:
|
|
118
|
+
_ListStreamsPaginatorBase = Paginator # type: ignore[assignment]
|
|
119
|
+
|
|
120
|
+
class ListStreamsPaginator(_ListStreamsPaginatorBase):
|
|
107
121
|
"""
|
|
108
122
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/kinesis/paginator/ListStreams.html#Kinesis.Paginator.ListStreams)
|
|
109
123
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_kinesis/paginators/#liststreamspaginator)
|
|
110
124
|
"""
|
|
111
|
-
def paginate(
|
|
112
|
-
self, **kwargs: Unpack[
|
|
113
|
-
) ->
|
|
125
|
+
def paginate( # type: ignore[override]
|
|
126
|
+
self, **kwargs: Unpack[ListStreamsInputPaginateTypeDef]
|
|
127
|
+
) -> PageIterator[ListStreamsOutputTypeDef]:
|
|
114
128
|
"""
|
|
115
129
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/kinesis/paginator/ListStreams.html#Kinesis.Paginator.ListStreams.paginate)
|
|
116
130
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_kinesis/paginators/#liststreamspaginator)
|
types_boto3_kinesis/type_defs.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Type annotations for kinesis service type definitions.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_kinesis/type_defs/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -11,12 +11,14 @@ Usage::
|
|
|
11
11
|
data: AddTagsToStreamInputRequestTypeDef = ...
|
|
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.eventstream import EventStream
|
|
22
24
|
from botocore.response import StreamingBody
|
|
@@ -31,6 +33,12 @@ from .literals import (
|
|
|
31
33
|
StreamStatusType,
|
|
32
34
|
)
|
|
33
35
|
|
|
36
|
+
if sys.version_info >= (3, 9):
|
|
37
|
+
from builtins import dict as Dict
|
|
38
|
+
from builtins import list as List
|
|
39
|
+
from collections.abc import Mapping, Sequence
|
|
40
|
+
else:
|
|
41
|
+
from typing import Dict, List, Mapping, Sequence
|
|
34
42
|
if sys.version_info >= (3, 12):
|
|
35
43
|
from typing import Literal, NotRequired, TypedDict
|
|
36
44
|
else:
|
|
@@ -51,10 +59,9 @@ __all__ = (
|
|
|
51
59
|
"DescribeLimitsOutputTypeDef",
|
|
52
60
|
"DescribeStreamConsumerInputRequestTypeDef",
|
|
53
61
|
"DescribeStreamConsumerOutputTypeDef",
|
|
54
|
-
"
|
|
62
|
+
"DescribeStreamInputPaginateTypeDef",
|
|
55
63
|
"DescribeStreamInputRequestTypeDef",
|
|
56
|
-
"
|
|
57
|
-
"DescribeStreamInputStreamNotExistsWaitTypeDef",
|
|
64
|
+
"DescribeStreamInputWaitTypeDef",
|
|
58
65
|
"DescribeStreamOutputTypeDef",
|
|
59
66
|
"DescribeStreamSummaryInputRequestTypeDef",
|
|
60
67
|
"DescribeStreamSummaryOutputTypeDef",
|
|
@@ -78,13 +85,13 @@ __all__ = (
|
|
|
78
85
|
"KMSNotFoundExceptionTypeDef",
|
|
79
86
|
"KMSOptInRequiredTypeDef",
|
|
80
87
|
"KMSThrottlingExceptionTypeDef",
|
|
81
|
-
"
|
|
88
|
+
"ListShardsInputPaginateTypeDef",
|
|
82
89
|
"ListShardsInputRequestTypeDef",
|
|
83
90
|
"ListShardsOutputTypeDef",
|
|
84
|
-
"
|
|
91
|
+
"ListStreamConsumersInputPaginateTypeDef",
|
|
85
92
|
"ListStreamConsumersInputRequestTypeDef",
|
|
86
93
|
"ListStreamConsumersOutputTypeDef",
|
|
87
|
-
"
|
|
94
|
+
"ListStreamsInputPaginateTypeDef",
|
|
88
95
|
"ListStreamsInputRequestTypeDef",
|
|
89
96
|
"ListStreamsOutputTypeDef",
|
|
90
97
|
"ListTagsForStreamInputRequestTypeDef",
|
|
@@ -483,26 +490,18 @@ class UpdateShardCountOutputTypeDef(TypedDict):
|
|
|
483
490
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
484
491
|
|
|
485
492
|
|
|
486
|
-
class
|
|
493
|
+
class DescribeStreamInputPaginateTypeDef(TypedDict):
|
|
487
494
|
StreamName: NotRequired[str]
|
|
488
495
|
StreamARN: NotRequired[str]
|
|
489
496
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
490
497
|
|
|
491
498
|
|
|
492
|
-
class
|
|
499
|
+
class ListStreamsInputPaginateTypeDef(TypedDict):
|
|
493
500
|
ExclusiveStartStreamName: NotRequired[str]
|
|
494
501
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
495
502
|
|
|
496
503
|
|
|
497
|
-
class
|
|
498
|
-
StreamName: NotRequired[str]
|
|
499
|
-
Limit: NotRequired[int]
|
|
500
|
-
ExclusiveStartShardId: NotRequired[str]
|
|
501
|
-
StreamARN: NotRequired[str]
|
|
502
|
-
WaiterConfig: NotRequired[WaiterConfigTypeDef]
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
class DescribeStreamInputStreamNotExistsWaitTypeDef(TypedDict):
|
|
504
|
+
class DescribeStreamInputWaitTypeDef(TypedDict):
|
|
506
505
|
StreamName: NotRequired[str]
|
|
507
506
|
Limit: NotRequired[int]
|
|
508
507
|
ExclusiveStartShardId: NotRequired[str]
|
|
@@ -533,7 +532,7 @@ class GetShardIteratorInputRequestTypeDef(TypedDict):
|
|
|
533
532
|
StreamARN: NotRequired[str]
|
|
534
533
|
|
|
535
534
|
|
|
536
|
-
class
|
|
535
|
+
class ListStreamConsumersInputPaginateTypeDef(TypedDict):
|
|
537
536
|
StreamARN: str
|
|
538
537
|
StreamCreationTimestamp: NotRequired[TimestampTypeDef]
|
|
539
538
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
@@ -619,7 +618,7 @@ class DescribeStreamSummaryOutputTypeDef(TypedDict):
|
|
|
619
618
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
620
619
|
|
|
621
620
|
|
|
622
|
-
class
|
|
621
|
+
class ListShardsInputPaginateTypeDef(TypedDict):
|
|
623
622
|
StreamName: NotRequired[str]
|
|
624
623
|
ExclusiveStartShardId: NotRequired[str]
|
|
625
624
|
StreamCreationTimestamp: NotRequired[TimestampTypeDef]
|
|
@@ -683,5 +682,5 @@ class DescribeStreamOutputTypeDef(TypedDict):
|
|
|
683
682
|
|
|
684
683
|
|
|
685
684
|
class SubscribeToShardOutputTypeDef(TypedDict):
|
|
686
|
-
EventStream:
|
|
685
|
+
EventStream: EventStream[SubscribeToShardEventStreamTypeDef]
|
|
687
686
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Type annotations for kinesis service type definitions.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_kinesis/type_defs/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -11,12 +11,14 @@ Usage::
|
|
|
11
11
|
data: AddTagsToStreamInputRequestTypeDef = ...
|
|
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.eventstream import EventStream
|
|
22
24
|
from botocore.response import StreamingBody
|
|
@@ -31,6 +33,12 @@ from .literals import (
|
|
|
31
33
|
StreamStatusType,
|
|
32
34
|
)
|
|
33
35
|
|
|
36
|
+
if sys.version_info >= (3, 9):
|
|
37
|
+
from builtins import dict as Dict
|
|
38
|
+
from builtins import list as List
|
|
39
|
+
from collections.abc import Mapping, Sequence
|
|
40
|
+
else:
|
|
41
|
+
from typing import Dict, List, Mapping, Sequence
|
|
34
42
|
if sys.version_info >= (3, 12):
|
|
35
43
|
from typing import Literal, NotRequired, TypedDict
|
|
36
44
|
else:
|
|
@@ -50,10 +58,9 @@ __all__ = (
|
|
|
50
58
|
"DescribeLimitsOutputTypeDef",
|
|
51
59
|
"DescribeStreamConsumerInputRequestTypeDef",
|
|
52
60
|
"DescribeStreamConsumerOutputTypeDef",
|
|
53
|
-
"
|
|
61
|
+
"DescribeStreamInputPaginateTypeDef",
|
|
54
62
|
"DescribeStreamInputRequestTypeDef",
|
|
55
|
-
"
|
|
56
|
-
"DescribeStreamInputStreamNotExistsWaitTypeDef",
|
|
63
|
+
"DescribeStreamInputWaitTypeDef",
|
|
57
64
|
"DescribeStreamOutputTypeDef",
|
|
58
65
|
"DescribeStreamSummaryInputRequestTypeDef",
|
|
59
66
|
"DescribeStreamSummaryOutputTypeDef",
|
|
@@ -77,13 +84,13 @@ __all__ = (
|
|
|
77
84
|
"KMSNotFoundExceptionTypeDef",
|
|
78
85
|
"KMSOptInRequiredTypeDef",
|
|
79
86
|
"KMSThrottlingExceptionTypeDef",
|
|
80
|
-
"
|
|
87
|
+
"ListShardsInputPaginateTypeDef",
|
|
81
88
|
"ListShardsInputRequestTypeDef",
|
|
82
89
|
"ListShardsOutputTypeDef",
|
|
83
|
-
"
|
|
90
|
+
"ListStreamConsumersInputPaginateTypeDef",
|
|
84
91
|
"ListStreamConsumersInputRequestTypeDef",
|
|
85
92
|
"ListStreamConsumersOutputTypeDef",
|
|
86
|
-
"
|
|
93
|
+
"ListStreamsInputPaginateTypeDef",
|
|
87
94
|
"ListStreamsInputRequestTypeDef",
|
|
88
95
|
"ListStreamsOutputTypeDef",
|
|
89
96
|
"ListTagsForStreamInputRequestTypeDef",
|
|
@@ -419,23 +426,16 @@ class UpdateShardCountOutputTypeDef(TypedDict):
|
|
|
419
426
|
StreamARN: str
|
|
420
427
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
421
428
|
|
|
422
|
-
class
|
|
429
|
+
class DescribeStreamInputPaginateTypeDef(TypedDict):
|
|
423
430
|
StreamName: NotRequired[str]
|
|
424
431
|
StreamARN: NotRequired[str]
|
|
425
432
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
426
433
|
|
|
427
|
-
class
|
|
434
|
+
class ListStreamsInputPaginateTypeDef(TypedDict):
|
|
428
435
|
ExclusiveStartStreamName: NotRequired[str]
|
|
429
436
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
430
437
|
|
|
431
|
-
class
|
|
432
|
-
StreamName: NotRequired[str]
|
|
433
|
-
Limit: NotRequired[int]
|
|
434
|
-
ExclusiveStartShardId: NotRequired[str]
|
|
435
|
-
StreamARN: NotRequired[str]
|
|
436
|
-
WaiterConfig: NotRequired[WaiterConfigTypeDef]
|
|
437
|
-
|
|
438
|
-
class DescribeStreamInputStreamNotExistsWaitTypeDef(TypedDict):
|
|
438
|
+
class DescribeStreamInputWaitTypeDef(TypedDict):
|
|
439
439
|
StreamName: NotRequired[str]
|
|
440
440
|
Limit: NotRequired[int]
|
|
441
441
|
ExclusiveStartShardId: NotRequired[str]
|
|
@@ -463,7 +463,7 @@ class GetShardIteratorInputRequestTypeDef(TypedDict):
|
|
|
463
463
|
Timestamp: NotRequired[TimestampTypeDef]
|
|
464
464
|
StreamARN: NotRequired[str]
|
|
465
465
|
|
|
466
|
-
class
|
|
466
|
+
class ListStreamConsumersInputPaginateTypeDef(TypedDict):
|
|
467
467
|
StreamARN: str
|
|
468
468
|
StreamCreationTimestamp: NotRequired[TimestampTypeDef]
|
|
469
469
|
PaginationConfig: NotRequired[PaginatorConfigTypeDef]
|
|
@@ -538,7 +538,7 @@ class DescribeStreamSummaryOutputTypeDef(TypedDict):
|
|
|
538
538
|
StreamDescriptionSummary: StreamDescriptionSummaryTypeDef
|
|
539
539
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
540
540
|
|
|
541
|
-
class
|
|
541
|
+
class ListShardsInputPaginateTypeDef(TypedDict):
|
|
542
542
|
StreamName: NotRequired[str]
|
|
543
543
|
ExclusiveStartShardId: NotRequired[str]
|
|
544
544
|
StreamCreationTimestamp: NotRequired[TimestampTypeDef]
|
|
@@ -595,5 +595,5 @@ class DescribeStreamOutputTypeDef(TypedDict):
|
|
|
595
595
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
596
596
|
|
|
597
597
|
class SubscribeToShardOutputTypeDef(TypedDict):
|
|
598
|
-
EventStream:
|
|
598
|
+
EventStream: EventStream[SubscribeToShardEventStreamTypeDef]
|
|
599
599
|
ResponseMetadata: ResponseMetadataTypeDef
|
types_boto3_kinesis/version.py
CHANGED
types_boto3_kinesis/waiter.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Type annotations for kinesis service client waiters.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_kinesis/waiters/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -21,17 +21,16 @@ Usage::
|
|
|
21
21
|
stream_not_exists_waiter: StreamNotExistsWaiter = client.get_waiter("stream_not_exists")
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
Copyright
|
|
24
|
+
Copyright 2025 Vlad Emelianov
|
|
25
25
|
"""
|
|
26
26
|
|
|
27
|
+
from __future__ import annotations
|
|
28
|
+
|
|
27
29
|
import sys
|
|
28
30
|
|
|
29
31
|
from botocore.waiter import Waiter
|
|
30
32
|
|
|
31
|
-
from .type_defs import
|
|
32
|
-
DescribeStreamInputStreamExistsWaitTypeDef,
|
|
33
|
-
DescribeStreamInputStreamNotExistsWaitTypeDef,
|
|
34
|
-
)
|
|
33
|
+
from .type_defs import DescribeStreamInputWaitTypeDef
|
|
35
34
|
|
|
36
35
|
if sys.version_info >= (3, 12):
|
|
37
36
|
from typing import Unpack
|
|
@@ -48,7 +47,9 @@ class StreamExistsWaiter(Waiter):
|
|
|
48
47
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_kinesis/waiters/#streamexistswaiter)
|
|
49
48
|
"""
|
|
50
49
|
|
|
51
|
-
def wait(
|
|
50
|
+
def wait( # type: ignore[override]
|
|
51
|
+
self, **kwargs: Unpack[DescribeStreamInputWaitTypeDef]
|
|
52
|
+
) -> None:
|
|
52
53
|
"""
|
|
53
54
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/kinesis/waiter/StreamExists.html#Kinesis.Waiter.StreamExists.wait)
|
|
54
55
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_kinesis/waiters/#streamexistswaiter)
|
|
@@ -61,7 +62,9 @@ class StreamNotExistsWaiter(Waiter):
|
|
|
61
62
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_kinesis/waiters/#streamnotexistswaiter)
|
|
62
63
|
"""
|
|
63
64
|
|
|
64
|
-
def wait(
|
|
65
|
+
def wait( # type: ignore[override]
|
|
66
|
+
self, **kwargs: Unpack[DescribeStreamInputWaitTypeDef]
|
|
67
|
+
) -> None:
|
|
65
68
|
"""
|
|
66
69
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/kinesis/waiter/StreamNotExists.html#Kinesis.Waiter.StreamNotExists.wait)
|
|
67
70
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_kinesis/waiters/#streamnotexistswaiter)
|
types_boto3_kinesis/waiter.pyi
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Type annotations for kinesis service client waiters.
|
|
3
3
|
|
|
4
|
-
[
|
|
4
|
+
[Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_kinesis/waiters/)
|
|
5
5
|
|
|
6
6
|
Usage::
|
|
7
7
|
|
|
@@ -21,17 +21,16 @@ Usage::
|
|
|
21
21
|
stream_not_exists_waiter: StreamNotExistsWaiter = client.get_waiter("stream_not_exists")
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
Copyright
|
|
24
|
+
Copyright 2025 Vlad Emelianov
|
|
25
25
|
"""
|
|
26
26
|
|
|
27
|
+
from __future__ import annotations
|
|
28
|
+
|
|
27
29
|
import sys
|
|
28
30
|
|
|
29
31
|
from botocore.waiter import Waiter
|
|
30
32
|
|
|
31
|
-
from .type_defs import
|
|
32
|
-
DescribeStreamInputStreamExistsWaitTypeDef,
|
|
33
|
-
DescribeStreamInputStreamNotExistsWaitTypeDef,
|
|
34
|
-
)
|
|
33
|
+
from .type_defs import DescribeStreamInputWaitTypeDef
|
|
35
34
|
|
|
36
35
|
if sys.version_info >= (3, 12):
|
|
37
36
|
from typing import Unpack
|
|
@@ -45,7 +44,9 @@ class StreamExistsWaiter(Waiter):
|
|
|
45
44
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/kinesis/waiter/StreamExists.html#Kinesis.Waiter.StreamExists)
|
|
46
45
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_kinesis/waiters/#streamexistswaiter)
|
|
47
46
|
"""
|
|
48
|
-
def wait(
|
|
47
|
+
def wait( # type: ignore[override]
|
|
48
|
+
self, **kwargs: Unpack[DescribeStreamInputWaitTypeDef]
|
|
49
|
+
) -> None:
|
|
49
50
|
"""
|
|
50
51
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/kinesis/waiter/StreamExists.html#Kinesis.Waiter.StreamExists.wait)
|
|
51
52
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_kinesis/waiters/#streamexistswaiter)
|
|
@@ -56,7 +57,9 @@ class StreamNotExistsWaiter(Waiter):
|
|
|
56
57
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/kinesis/waiter/StreamNotExists.html#Kinesis.Waiter.StreamNotExists)
|
|
57
58
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_kinesis/waiters/#streamnotexistswaiter)
|
|
58
59
|
"""
|
|
59
|
-
def wait(
|
|
60
|
+
def wait( # type: ignore[override]
|
|
61
|
+
self, **kwargs: Unpack[DescribeStreamInputWaitTypeDef]
|
|
62
|
+
) -> None:
|
|
60
63
|
"""
|
|
61
64
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/kinesis/waiter/StreamNotExists.html#Kinesis.Waiter.StreamNotExists.wait)
|
|
62
65
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_kinesis/waiters/#streamnotexistswaiter)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: types-boto3-kinesis
|
|
3
|
-
Version: 1.35.
|
|
4
|
-
Summary: Type annotations for boto3 Kinesis 1.35.
|
|
3
|
+
Version: 1.35.93
|
|
4
|
+
Summary: Type annotations for boto3 Kinesis 1.35.93 service generated with mypy-boto3-builder 8.8.0
|
|
5
5
|
Home-page: https://github.com/youtype/mypy_boto3_builder
|
|
6
6
|
Author: Vlad Emelianov
|
|
7
7
|
Author-email: vlad.emelianov.nz@gmail.com
|
|
@@ -9,7 +9,7 @@ License: MIT License
|
|
|
9
9
|
Project-URL: Documentation, https://youtype.github.io/types_boto3_docs/types_boto3_kinesis/
|
|
10
10
|
Project-URL: Source, https://github.com/youtype/mypy_boto3_builder
|
|
11
11
|
Project-URL: Tracker, https://github.com/youtype/mypy_boto3_builder/issues
|
|
12
|
-
Keywords: boto3 kinesis type-annotations
|
|
12
|
+
Keywords: boto3 kinesis boto3-stubs type-annotations mypy typeshed autocomplete
|
|
13
13
|
Classifier: Development Status :: 5 - Production/Stable
|
|
14
14
|
Classifier: Intended Audience :: Developers
|
|
15
15
|
Classifier: Environment :: Console
|
|
@@ -30,7 +30,7 @@ Classifier: Typing :: Stubs Only
|
|
|
30
30
|
Requires-Python: >=3.8
|
|
31
31
|
Description-Content-Type: text/markdown
|
|
32
32
|
License-File: LICENSE
|
|
33
|
-
Requires-Dist: typing-extensions
|
|
33
|
+
Requires-Dist: typing-extensions; python_version < "3.12"
|
|
34
34
|
|
|
35
35
|
<a id="types-boto3-kinesis"></a>
|
|
36
36
|
|
|
@@ -43,7 +43,7 @@ Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
|
|
|
43
43
|
|
|
44
44
|

|
|
45
45
|
|
|
46
|
-
Type annotations for [boto3 Kinesis 1.35.
|
|
46
|
+
Type annotations for [boto3 Kinesis 1.35.93](https://pypi.org/project/boto3/)
|
|
47
47
|
compatible with [VSCode](https://code.visualstudio.com/),
|
|
48
48
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
49
49
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
@@ -51,8 +51,8 @@ compatible with [VSCode](https://code.visualstudio.com/),
|
|
|
51
51
|
[mypy](https://github.com/python/mypy),
|
|
52
52
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
53
53
|
|
|
54
|
-
Generated
|
|
55
|
-
[mypy-boto3-builder 8.
|
|
54
|
+
Generated with
|
|
55
|
+
[mypy-boto3-builder 8.8.0](https://github.com/youtype/mypy_boto3_builder).
|
|
56
56
|
|
|
57
57
|
More information can be found on
|
|
58
58
|
[types-boto3](https://pypi.org/project/types-boto3/) page and in
|
|
@@ -60,10 +60,11 @@ More information can be found on
|
|
|
60
60
|
|
|
61
61
|
See how it helps you find and fix potential bugs:
|
|
62
62
|
|
|
63
|
-

|
|
64
64
|
|
|
65
65
|
- [types-boto3-kinesis](#types-boto3-kinesis)
|
|
66
66
|
- [How to install](#how-to-install)
|
|
67
|
+
- [Generate locally (recommended)](<#generate-locally-(recommended)>)
|
|
67
68
|
- [VSCode extension](#vscode-extension)
|
|
68
69
|
- [From PyPI with pip](#from-pypi-with-pip)
|
|
69
70
|
- [How to uninstall](#how-to-uninstall)
|
|
@@ -75,6 +76,7 @@ See how it helps you find and fix potential bugs:
|
|
|
75
76
|
- [Other IDEs](#other-ides)
|
|
76
77
|
- [mypy](#mypy)
|
|
77
78
|
- [pyright](#pyright)
|
|
79
|
+
- [Pylint compatibility](#pylint-compatibility)
|
|
78
80
|
- [Explicit type annotations](#explicit-type-annotations)
|
|
79
81
|
- [Client annotations](#client-annotations)
|
|
80
82
|
- [Paginators annotations](#paginators-annotations)
|
|
@@ -94,6 +96,21 @@ See how it helps you find and fix potential bugs:
|
|
|
94
96
|
|
|
95
97
|
## How to install
|
|
96
98
|
|
|
99
|
+
<a id="generate-locally-(recommended)"></a>
|
|
100
|
+
|
|
101
|
+
### Generate locally (recommended)
|
|
102
|
+
|
|
103
|
+
You can generate type annotations for `boto3` package locally with
|
|
104
|
+
`mypy_boto3_builder`. Use
|
|
105
|
+
[uv](https://docs.astral.sh/uv/getting-started/installation/) for build
|
|
106
|
+
isolation.
|
|
107
|
+
|
|
108
|
+
1. Run mypy-boto3-builder in your package root directory:
|
|
109
|
+
`uvx --with 'boto3==1.35.93' mypy_boto3_builder`
|
|
110
|
+
2. Select `boto3` AWS SDK.
|
|
111
|
+
3. Add `Kinesis` service.
|
|
112
|
+
4. Use provided commands to install generated packages.
|
|
113
|
+
|
|
97
114
|
<a id="vscode-extension"></a>
|
|
98
115
|
|
|
99
116
|
### VSCode extension
|
|
@@ -114,12 +131,10 @@ Install `types-boto3` for `Kinesis` service.
|
|
|
114
131
|
# install with boto3 type annotations
|
|
115
132
|
python -m pip install 'types-boto3[kinesis]'
|
|
116
133
|
|
|
117
|
-
|
|
118
134
|
# Lite version does not provide session.client/resource overloads
|
|
119
135
|
# it is more RAM-friendly, but requires explicit type annotations
|
|
120
136
|
python -m pip install 'types-boto3-lite[kinesis]'
|
|
121
137
|
|
|
122
|
-
|
|
123
138
|
# standalone installation
|
|
124
139
|
python -m pip install types-boto3-kinesis
|
|
125
140
|
```
|
|
@@ -268,6 +283,31 @@ Optionally, you can install `types-boto3` to `typings` directory.
|
|
|
268
283
|
Type checking should now work. No explicit type annotations required, write
|
|
269
284
|
your `boto3` code as usual.
|
|
270
285
|
|
|
286
|
+
<a id="pylint-compatibility"></a>
|
|
287
|
+
|
|
288
|
+
### Pylint compatibility
|
|
289
|
+
|
|
290
|
+
It is totally safe to use `TYPE_CHECKING` flag in order to avoid
|
|
291
|
+
`types-boto3-kinesis` dependency in production. However, there is an issue in
|
|
292
|
+
`pylint` that it complains about undefined variables. To fix it, set all types
|
|
293
|
+
to `object` in non-`TYPE_CHECKING` mode.
|
|
294
|
+
|
|
295
|
+
```python
|
|
296
|
+
from typing import TYPE_CHECKING
|
|
297
|
+
|
|
298
|
+
if TYPE_CHECKING:
|
|
299
|
+
from types_boto3_ec2 import EC2Client, EC2ServiceResource
|
|
300
|
+
from types_boto3_ec2.waiters import BundleTaskCompleteWaiter
|
|
301
|
+
from types_boto3_ec2.paginators import DescribeVolumesPaginator
|
|
302
|
+
else:
|
|
303
|
+
EC2Client = object
|
|
304
|
+
EC2ServiceResource = object
|
|
305
|
+
BundleTaskCompleteWaiter = object
|
|
306
|
+
DescribeVolumesPaginator = object
|
|
307
|
+
|
|
308
|
+
...
|
|
309
|
+
```
|
|
310
|
+
|
|
271
311
|
<a id="explicit-type-annotations"></a>
|
|
272
312
|
|
|
273
313
|
## Explicit type annotations
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
types_boto3_kinesis/__init__.py,sha256=V0Kigm37PI2mssdKDuJbfH1lMXevog8iG54D0Nn0Lqk,1547
|
|
2
|
+
types_boto3_kinesis/__init__.pyi,sha256=3MqbeqhqidLPo-XkyaEOf0wyfGRKI8jXKyAdlel9uDM,1546
|
|
3
|
+
types_boto3_kinesis/__main__.py,sha256=-cdLqwqQcFMuMdvKVZJqSvYeg-qq635-Fq-T_pSQJGI,984
|
|
4
|
+
types_boto3_kinesis/client.py,sha256=BOAt54_1RxVH_jwm2oThWwZOIrkEhnHV4lvOXCzIGsg,25843
|
|
5
|
+
types_boto3_kinesis/client.pyi,sha256=Y0h9zFack4RvCk92wEus_-y1xHuy6Y-eZyR9YWJNSoM,25840
|
|
6
|
+
types_boto3_kinesis/literals.py,sha256=vuJ34-f4Y2gEJabpXk6l2XDUIKydn0qV05rMY5JNf3I,11136
|
|
7
|
+
types_boto3_kinesis/literals.pyi,sha256=z7olr6x9LECmVaX0cIz707ZtUFjluJx_Ecdy8Fs4cjo,11134
|
|
8
|
+
types_boto3_kinesis/paginator.py,sha256=pH3W5T8aX-qUwWsHlIGKVWr2MOtJ4S4TpFBnO3Yj6fw,5986
|
|
9
|
+
types_boto3_kinesis/paginator.pyi,sha256=oo2iJ0x8oqj1DQVeUqNpFughga-D-c3JGKf9hWHONkY,5973
|
|
10
|
+
types_boto3_kinesis/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
+
types_boto3_kinesis/type_defs.py,sha256=40K4bKyaFCWypCn7TJiEym2Fse_5d_UrHeUDHG-Wc5Y,19068
|
|
12
|
+
types_boto3_kinesis/type_defs.pyi,sha256=re8MzSuGJL5ga-unL0lKEzlrmk9026qxpCS7_BpR66k,18981
|
|
13
|
+
types_boto3_kinesis/version.py,sha256=n6wyMBvI3Tp0INYol4fUJ84y0BqM9ti-SkLRGfsif5s,93
|
|
14
|
+
types_boto3_kinesis/waiter.py,sha256=GDs7QKSKr3V0I_clWeV6ygMv8HuYSD1CLfsIJPiQ2wM,2609
|
|
15
|
+
types_boto3_kinesis/waiter.pyi,sha256=Os5BQ-m_wglxmDJdC6RAbSpSF5P6TFiQUlNHI2cTd6E,2604
|
|
16
|
+
types_boto3_kinesis-1.35.93.dist-info/LICENSE,sha256=4jNgB8jJbXtUVJkeygwhUQi--6lAG8DIisfE-h_RiUU,1070
|
|
17
|
+
types_boto3_kinesis-1.35.93.dist-info/METADATA,sha256=NOQdw72u7bnUpg5UTC7DYZY7U4RlXvA9A_cMYJG3y9g,15617
|
|
18
|
+
types_boto3_kinesis-1.35.93.dist-info/WHEEL,sha256=A3WOREP4zgxI0fKrHUG8DC8013e3dK3n7a6HDbcEIwE,91
|
|
19
|
+
types_boto3_kinesis-1.35.93.dist-info/top_level.txt,sha256=QOBfHpTRND8MxYawOcHI9oTlGuMPIGXZybD8VDr23WE,20
|
|
20
|
+
types_boto3_kinesis-1.35.93.dist-info/RECORD,,
|