types-boto3-bedrock-runtime 1.35.71__py3-none-any.whl → 1.35.74__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.
@@ -8,18 +8,22 @@ Usage::
8
8
  from types_boto3_bedrock_runtime import (
9
9
  BedrockRuntimeClient,
10
10
  Client,
11
+ ListAsyncInvokesPaginator,
11
12
  )
12
13
 
13
14
  session = Session()
14
15
  client: BedrockRuntimeClient = session.client("bedrock-runtime")
16
+
17
+ list_async_invokes_paginator: ListAsyncInvokesPaginator = client.get_paginator("list_async_invokes")
15
18
  ```
16
19
 
17
20
  Copyright 2024 Vlad Emelianov
18
21
  """
19
22
 
20
23
  from .client import BedrockRuntimeClient
24
+ from .paginator import ListAsyncInvokesPaginator
21
25
 
22
26
  Client = BedrockRuntimeClient
23
27
 
24
28
 
25
- __all__ = ("BedrockRuntimeClient", "Client")
29
+ __all__ = ("BedrockRuntimeClient", "Client", "ListAsyncInvokesPaginator")
@@ -8,17 +8,21 @@ Usage::
8
8
  from types_boto3_bedrock_runtime import (
9
9
  BedrockRuntimeClient,
10
10
  Client,
11
+ ListAsyncInvokesPaginator,
11
12
  )
12
13
 
13
14
  session = Session()
14
15
  client: BedrockRuntimeClient = session.client("bedrock-runtime")
16
+
17
+ list_async_invokes_paginator: ListAsyncInvokesPaginator = client.get_paginator("list_async_invokes")
15
18
  ```
16
19
 
17
20
  Copyright 2024 Vlad Emelianov
18
21
  """
19
22
 
20
23
  from .client import BedrockRuntimeClient
24
+ from .paginator import ListAsyncInvokesPaginator
21
25
 
22
26
  Client = BedrockRuntimeClient
23
27
 
24
- __all__ = ("BedrockRuntimeClient", "Client")
28
+ __all__ = ("BedrockRuntimeClient", "Client", "ListAsyncInvokesPaginator")
@@ -12,9 +12,9 @@ def print_info() -> None:
12
12
  Print package info to stdout.
13
13
  """
14
14
  print(
15
- "Type annotations for boto3 BedrockRuntime 1.35.71\n"
16
- "Version: 1.35.71\n"
17
- "Builder version: 8.4.1\n"
15
+ "Type annotations for boto3 BedrockRuntime 1.35.74\n"
16
+ "Version: 1.35.74\n"
17
+ "Builder version: 8.5.0\n"
18
18
  "Docs: https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime//\n"
19
19
  "Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime.html#bedrockruntime\n"
20
20
  "Other services: https://pypi.org/project/boto3-stubs/\n"
@@ -26,7 +26,7 @@ def print_version() -> None:
26
26
  """
27
27
  Print package version to stdout.
28
28
  """
29
- print("1.35.71")
29
+ print("1.35.74")
30
30
 
31
31
 
32
32
  def main() -> None:
@@ -21,6 +21,7 @@ from typing import Any, Dict, Mapping, Type
21
21
 
22
22
  from botocore.client import BaseClient, ClientMeta
23
23
 
24
+ from .paginator import ListAsyncInvokesPaginator
24
25
  from .type_defs import (
25
26
  ApplyGuardrailRequestRequestTypeDef,
26
27
  ApplyGuardrailResponseTypeDef,
@@ -28,16 +29,22 @@ from .type_defs import (
28
29
  ConverseResponseTypeDef,
29
30
  ConverseStreamRequestRequestTypeDef,
30
31
  ConverseStreamResponseTypeDef,
32
+ GetAsyncInvokeRequestRequestTypeDef,
33
+ GetAsyncInvokeResponseTypeDef,
31
34
  InvokeModelRequestRequestTypeDef,
32
35
  InvokeModelResponseTypeDef,
33
36
  InvokeModelWithResponseStreamRequestRequestTypeDef,
34
37
  InvokeModelWithResponseStreamResponseTypeDef,
38
+ ListAsyncInvokesRequestRequestTypeDef,
39
+ ListAsyncInvokesResponseTypeDef,
40
+ StartAsyncInvokeRequestRequestTypeDef,
41
+ StartAsyncInvokeResponseTypeDef,
35
42
  )
36
43
 
37
44
  if sys.version_info >= (3, 12):
38
- from typing import Unpack
45
+ from typing import Literal, Unpack
39
46
  else:
40
- from typing_extensions import Unpack
47
+ from typing_extensions import Literal, Unpack
41
48
 
42
49
 
43
50
  __all__ = ("BedrockRuntimeClient",)
@@ -54,6 +61,7 @@ class BotocoreClientError(Exception):
54
61
  class Exceptions:
55
62
  AccessDeniedException: Type[BotocoreClientError]
56
63
  ClientError: Type[BotocoreClientError]
64
+ ConflictException: Type[BotocoreClientError]
57
65
  InternalServerException: Type[BotocoreClientError]
58
66
  ModelErrorException: Type[BotocoreClientError]
59
67
  ModelNotReadyException: Type[BotocoreClientError]
@@ -136,6 +144,16 @@ class BedrockRuntimeClient(BaseClient):
136
144
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#converse_stream)
137
145
  """
138
146
 
147
+ def get_async_invoke(
148
+ self, **kwargs: Unpack[GetAsyncInvokeRequestRequestTypeDef]
149
+ ) -> GetAsyncInvokeResponseTypeDef:
150
+ """
151
+ Retrieve information about an asynchronous invocation.
152
+
153
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime/client/get_async_invoke.html)
154
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#get_async_invoke)
155
+ """
156
+
139
157
  def invoke_model(
140
158
  self, **kwargs: Unpack[InvokeModelRequestRequestTypeDef]
141
159
  ) -> InvokeModelResponseTypeDef:
@@ -157,3 +175,33 @@ class BedrockRuntimeClient(BaseClient):
157
175
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime/client/invoke_model_with_response_stream.html)
158
176
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#invoke_model_with_response_stream)
159
177
  """
178
+
179
+ def list_async_invokes(
180
+ self, **kwargs: Unpack[ListAsyncInvokesRequestRequestTypeDef]
181
+ ) -> ListAsyncInvokesResponseTypeDef:
182
+ """
183
+ Lists asynchronous invocations.
184
+
185
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime/client/list_async_invokes.html)
186
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#list_async_invokes)
187
+ """
188
+
189
+ def start_async_invoke(
190
+ self, **kwargs: Unpack[StartAsyncInvokeRequestRequestTypeDef]
191
+ ) -> StartAsyncInvokeResponseTypeDef:
192
+ """
193
+ Starts an asynchronous invocation.
194
+
195
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime/client/start_async_invoke.html)
196
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#start_async_invoke)
197
+ """
198
+
199
+ def get_paginator(
200
+ self, operation_name: Literal["list_async_invokes"]
201
+ ) -> ListAsyncInvokesPaginator:
202
+ """
203
+ Create a paginator for an operation.
204
+
205
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime/client/get_paginator.html)
206
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#get_paginator)
207
+ """
@@ -21,6 +21,7 @@ from typing import Any, Dict, Mapping, Type
21
21
 
22
22
  from botocore.client import BaseClient, ClientMeta
23
23
 
24
+ from .paginator import ListAsyncInvokesPaginator
24
25
  from .type_defs import (
25
26
  ApplyGuardrailRequestRequestTypeDef,
26
27
  ApplyGuardrailResponseTypeDef,
@@ -28,16 +29,22 @@ from .type_defs import (
28
29
  ConverseResponseTypeDef,
29
30
  ConverseStreamRequestRequestTypeDef,
30
31
  ConverseStreamResponseTypeDef,
32
+ GetAsyncInvokeRequestRequestTypeDef,
33
+ GetAsyncInvokeResponseTypeDef,
31
34
  InvokeModelRequestRequestTypeDef,
32
35
  InvokeModelResponseTypeDef,
33
36
  InvokeModelWithResponseStreamRequestRequestTypeDef,
34
37
  InvokeModelWithResponseStreamResponseTypeDef,
38
+ ListAsyncInvokesRequestRequestTypeDef,
39
+ ListAsyncInvokesResponseTypeDef,
40
+ StartAsyncInvokeRequestRequestTypeDef,
41
+ StartAsyncInvokeResponseTypeDef,
35
42
  )
36
43
 
37
44
  if sys.version_info >= (3, 12):
38
- from typing import Unpack
45
+ from typing import Literal, Unpack
39
46
  else:
40
- from typing_extensions import Unpack
47
+ from typing_extensions import Literal, Unpack
41
48
 
42
49
  __all__ = ("BedrockRuntimeClient",)
43
50
 
@@ -51,6 +58,7 @@ class BotocoreClientError(Exception):
51
58
  class Exceptions:
52
59
  AccessDeniedException: Type[BotocoreClientError]
53
60
  ClientError: Type[BotocoreClientError]
61
+ ConflictException: Type[BotocoreClientError]
54
62
  InternalServerException: Type[BotocoreClientError]
55
63
  ModelErrorException: Type[BotocoreClientError]
56
64
  ModelNotReadyException: Type[BotocoreClientError]
@@ -132,6 +140,16 @@ class BedrockRuntimeClient(BaseClient):
132
140
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#converse_stream)
133
141
  """
134
142
 
143
+ def get_async_invoke(
144
+ self, **kwargs: Unpack[GetAsyncInvokeRequestRequestTypeDef]
145
+ ) -> GetAsyncInvokeResponseTypeDef:
146
+ """
147
+ Retrieve information about an asynchronous invocation.
148
+
149
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime/client/get_async_invoke.html)
150
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#get_async_invoke)
151
+ """
152
+
135
153
  def invoke_model(
136
154
  self, **kwargs: Unpack[InvokeModelRequestRequestTypeDef]
137
155
  ) -> InvokeModelResponseTypeDef:
@@ -153,3 +171,33 @@ class BedrockRuntimeClient(BaseClient):
153
171
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime/client/invoke_model_with_response_stream.html)
154
172
  [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#invoke_model_with_response_stream)
155
173
  """
174
+
175
+ def list_async_invokes(
176
+ self, **kwargs: Unpack[ListAsyncInvokesRequestRequestTypeDef]
177
+ ) -> ListAsyncInvokesResponseTypeDef:
178
+ """
179
+ Lists asynchronous invocations.
180
+
181
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime/client/list_async_invokes.html)
182
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#list_async_invokes)
183
+ """
184
+
185
+ def start_async_invoke(
186
+ self, **kwargs: Unpack[StartAsyncInvokeRequestRequestTypeDef]
187
+ ) -> StartAsyncInvokeResponseTypeDef:
188
+ """
189
+ Starts an asynchronous invocation.
190
+
191
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime/client/start_async_invoke.html)
192
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#start_async_invoke)
193
+ """
194
+
195
+ def get_paginator(
196
+ self, operation_name: Literal["list_async_invokes"]
197
+ ) -> ListAsyncInvokesPaginator:
198
+ """
199
+ Create a paginator for an operation.
200
+
201
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime/client/get_paginator.html)
202
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#get_paginator)
203
+ """
@@ -6,9 +6,9 @@ Type annotations for bedrock-runtime service literal definitions.
6
6
  Usage::
7
7
 
8
8
  ```python
9
- from types_boto3_bedrock_runtime.literals import ConversationRoleType
9
+ from types_boto3_bedrock_runtime.literals import AsyncInvokeStatusType
10
10
 
11
- data: ConversationRoleType = "assistant"
11
+ data: AsyncInvokeStatusType = "Completed"
12
12
  ```
13
13
 
14
14
  Copyright 2024 Vlad Emelianov
@@ -23,6 +23,7 @@ else:
23
23
 
24
24
 
25
25
  __all__ = (
26
+ "AsyncInvokeStatusType",
26
27
  "BedrockRuntimeServiceName",
27
28
  "ConversationRoleType",
28
29
  "DocumentFormatType",
@@ -45,14 +46,21 @@ __all__ = (
45
46
  "GuardrailTraceType",
46
47
  "GuardrailWordPolicyActionType",
47
48
  "ImageFormatType",
49
+ "ListAsyncInvokesPaginatorName",
50
+ "PaginatorName",
51
+ "PerformanceConfigLatencyType",
48
52
  "ResourceServiceName",
49
53
  "ServiceName",
54
+ "SortAsyncInvocationByType",
55
+ "SortOrderType",
50
56
  "StopReasonType",
51
57
  "ToolResultStatusType",
52
58
  "TraceType",
59
+ "VideoFormatType",
53
60
  )
54
61
 
55
62
 
63
+ AsyncInvokeStatusType = Literal["Completed", "Failed", "InProgress"]
56
64
  ConversationRoleType = Literal["assistant", "user"]
57
65
  DocumentFormatType = Literal["csv", "doc", "docx", "html", "md", "pdf", "txt", "xls", "xlsx"]
58
66
  GuardrailActionType = Literal["GUARDRAIL_INTERVENED", "NONE"]
@@ -108,6 +116,10 @@ GuardrailTopicTypeType = Literal["DENY"]
108
116
  GuardrailTraceType = Literal["disabled", "enabled"]
109
117
  GuardrailWordPolicyActionType = Literal["BLOCKED"]
110
118
  ImageFormatType = Literal["gif", "jpeg", "png", "webp"]
119
+ ListAsyncInvokesPaginatorName = Literal["list_async_invokes"]
120
+ PerformanceConfigLatencyType = Literal["optimized", "standard"]
121
+ SortAsyncInvocationByType = Literal["SubmissionTime"]
122
+ SortOrderType = Literal["Ascending", "Descending"]
111
123
  StopReasonType = Literal[
112
124
  "content_filtered",
113
125
  "end_turn",
@@ -118,6 +130,7 @@ StopReasonType = Literal[
118
130
  ]
119
131
  ToolResultStatusType = Literal["error", "success"]
120
132
  TraceType = Literal["DISABLED", "ENABLED"]
133
+ VideoFormatType = Literal["flv", "mkv", "mov", "mp4", "mpeg", "mpg", "three_gp", "webm", "wmv"]
121
134
  BedrockRuntimeServiceName = Literal["bedrock-runtime"]
122
135
  ServiceName = Literal[
123
136
  "accessanalyzer",
@@ -237,6 +250,7 @@ ServiceName = Literal[
237
250
  "drs",
238
251
  "ds",
239
252
  "ds-data",
253
+ "dsql",
240
254
  "dynamodb",
241
255
  "dynamodbstreams",
242
256
  "ebs",
@@ -293,6 +307,7 @@ ServiceName = Literal[
293
307
  "inspector-scan",
294
308
  "inspector2",
295
309
  "internetmonitor",
310
+ "invoicing",
296
311
  "iot",
297
312
  "iot-data",
298
313
  "iot-jobs-data",
@@ -379,6 +394,7 @@ ServiceName = Literal[
379
394
  "neptune-graph",
380
395
  "neptunedata",
381
396
  "network-firewall",
397
+ "networkflowmonitor",
382
398
  "networkmanager",
383
399
  "networkmonitor",
384
400
  "notifications",
@@ -445,6 +461,7 @@ ServiceName = Literal[
445
461
  "s3",
446
462
  "s3control",
447
463
  "s3outposts",
464
+ "s3tables",
448
465
  "sagemaker",
449
466
  "sagemaker-a2i-runtime",
450
467
  "sagemaker-edge",
@@ -457,6 +474,7 @@ ServiceName = Literal[
457
474
  "schemas",
458
475
  "sdb",
459
476
  "secretsmanager",
477
+ "security-ir",
460
478
  "securityhub",
461
479
  "securitylake",
462
480
  "serverlessrepo",
@@ -530,3 +548,4 @@ ResourceServiceName = Literal[
530
548
  "sns",
531
549
  "sqs",
532
550
  ]
551
+ PaginatorName = Literal["list_async_invokes"]
@@ -6,9 +6,9 @@ Type annotations for bedrock-runtime service literal definitions.
6
6
  Usage::
7
7
 
8
8
  ```python
9
- from types_boto3_bedrock_runtime.literals import ConversationRoleType
9
+ from types_boto3_bedrock_runtime.literals import AsyncInvokeStatusType
10
10
 
11
- data: ConversationRoleType = "assistant"
11
+ data: AsyncInvokeStatusType = "Completed"
12
12
  ```
13
13
 
14
14
  Copyright 2024 Vlad Emelianov
@@ -22,6 +22,7 @@ else:
22
22
  from typing_extensions import Literal
23
23
 
24
24
  __all__ = (
25
+ "AsyncInvokeStatusType",
25
26
  "BedrockRuntimeServiceName",
26
27
  "ConversationRoleType",
27
28
  "DocumentFormatType",
@@ -44,13 +45,20 @@ __all__ = (
44
45
  "GuardrailTraceType",
45
46
  "GuardrailWordPolicyActionType",
46
47
  "ImageFormatType",
48
+ "ListAsyncInvokesPaginatorName",
49
+ "PaginatorName",
50
+ "PerformanceConfigLatencyType",
47
51
  "ResourceServiceName",
48
52
  "ServiceName",
53
+ "SortAsyncInvocationByType",
54
+ "SortOrderType",
49
55
  "StopReasonType",
50
56
  "ToolResultStatusType",
51
57
  "TraceType",
58
+ "VideoFormatType",
52
59
  )
53
60
 
61
+ AsyncInvokeStatusType = Literal["Completed", "Failed", "InProgress"]
54
62
  ConversationRoleType = Literal["assistant", "user"]
55
63
  DocumentFormatType = Literal["csv", "doc", "docx", "html", "md", "pdf", "txt", "xls", "xlsx"]
56
64
  GuardrailActionType = Literal["GUARDRAIL_INTERVENED", "NONE"]
@@ -106,6 +114,10 @@ GuardrailTopicTypeType = Literal["DENY"]
106
114
  GuardrailTraceType = Literal["disabled", "enabled"]
107
115
  GuardrailWordPolicyActionType = Literal["BLOCKED"]
108
116
  ImageFormatType = Literal["gif", "jpeg", "png", "webp"]
117
+ ListAsyncInvokesPaginatorName = Literal["list_async_invokes"]
118
+ PerformanceConfigLatencyType = Literal["optimized", "standard"]
119
+ SortAsyncInvocationByType = Literal["SubmissionTime"]
120
+ SortOrderType = Literal["Ascending", "Descending"]
109
121
  StopReasonType = Literal[
110
122
  "content_filtered",
111
123
  "end_turn",
@@ -116,6 +128,7 @@ StopReasonType = Literal[
116
128
  ]
117
129
  ToolResultStatusType = Literal["error", "success"]
118
130
  TraceType = Literal["DISABLED", "ENABLED"]
131
+ VideoFormatType = Literal["flv", "mkv", "mov", "mp4", "mpeg", "mpg", "three_gp", "webm", "wmv"]
119
132
  BedrockRuntimeServiceName = Literal["bedrock-runtime"]
120
133
  ServiceName = Literal[
121
134
  "accessanalyzer",
@@ -235,6 +248,7 @@ ServiceName = Literal[
235
248
  "drs",
236
249
  "ds",
237
250
  "ds-data",
251
+ "dsql",
238
252
  "dynamodb",
239
253
  "dynamodbstreams",
240
254
  "ebs",
@@ -291,6 +305,7 @@ ServiceName = Literal[
291
305
  "inspector-scan",
292
306
  "inspector2",
293
307
  "internetmonitor",
308
+ "invoicing",
294
309
  "iot",
295
310
  "iot-data",
296
311
  "iot-jobs-data",
@@ -377,6 +392,7 @@ ServiceName = Literal[
377
392
  "neptune-graph",
378
393
  "neptunedata",
379
394
  "network-firewall",
395
+ "networkflowmonitor",
380
396
  "networkmanager",
381
397
  "networkmonitor",
382
398
  "notifications",
@@ -443,6 +459,7 @@ ServiceName = Literal[
443
459
  "s3",
444
460
  "s3control",
445
461
  "s3outposts",
462
+ "s3tables",
446
463
  "sagemaker",
447
464
  "sagemaker-a2i-runtime",
448
465
  "sagemaker-edge",
@@ -455,6 +472,7 @@ ServiceName = Literal[
455
472
  "schemas",
456
473
  "sdb",
457
474
  "secretsmanager",
475
+ "security-ir",
458
476
  "securityhub",
459
477
  "securitylake",
460
478
  "serverlessrepo",
@@ -528,3 +546,4 @@ ResourceServiceName = Literal[
528
546
  "sns",
529
547
  "sqs",
530
548
  ]
549
+ PaginatorName = Literal["list_async_invokes"]
@@ -0,0 +1,66 @@
1
+ """
2
+ Type annotations for bedrock-runtime service client paginators.
3
+
4
+ [Open documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/paginators/)
5
+
6
+ Usage::
7
+
8
+ ```python
9
+ from boto3.session import Session
10
+
11
+ from types_boto3_bedrock_runtime.client import BedrockRuntimeClient
12
+ from types_boto3_bedrock_runtime.paginator import (
13
+ ListAsyncInvokesPaginator,
14
+ )
15
+
16
+ session = Session()
17
+ client: BedrockRuntimeClient = session.client("bedrock-runtime")
18
+
19
+ list_async_invokes_paginator: ListAsyncInvokesPaginator = client.get_paginator("list_async_invokes")
20
+ ```
21
+
22
+ Copyright 2024 Vlad Emelianov
23
+ """
24
+
25
+ import sys
26
+ from typing import Generic, Iterator, TypeVar
27
+
28
+ from botocore.paginate import PageIterator, Paginator
29
+
30
+ from .type_defs import (
31
+ ListAsyncInvokesRequestListAsyncInvokesPaginateTypeDef,
32
+ ListAsyncInvokesResponseTypeDef,
33
+ )
34
+
35
+ if sys.version_info >= (3, 12):
36
+ from typing import Unpack
37
+ else:
38
+ from typing_extensions import Unpack
39
+
40
+
41
+ __all__ = ("ListAsyncInvokesPaginator",)
42
+
43
+
44
+ _ItemTypeDef = TypeVar("_ItemTypeDef")
45
+
46
+
47
+ class _PageIterator(PageIterator, Generic[_ItemTypeDef]):
48
+ def __iter__(self) -> Iterator[_ItemTypeDef]:
49
+ """
50
+ Proxy method to specify iterator item type.
51
+ """
52
+
53
+
54
+ class ListAsyncInvokesPaginator(Paginator):
55
+ """
56
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime/paginator/ListAsyncInvokes.html#BedrockRuntime.Paginator.ListAsyncInvokes)
57
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/paginators/#listasyncinvokespaginator)
58
+ """
59
+
60
+ def paginate(
61
+ self, **kwargs: Unpack[ListAsyncInvokesRequestListAsyncInvokesPaginateTypeDef]
62
+ ) -> _PageIterator[ListAsyncInvokesResponseTypeDef]:
63
+ """
64
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime/paginator/ListAsyncInvokes.html#BedrockRuntime.Paginator.ListAsyncInvokes.paginate)
65
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/paginators/#listasyncinvokespaginator)
66
+ """
@@ -0,0 +1,61 @@
1
+ """
2
+ Type annotations for bedrock-runtime service client paginators.
3
+
4
+ [Open documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/paginators/)
5
+
6
+ Usage::
7
+
8
+ ```python
9
+ from boto3.session import Session
10
+
11
+ from types_boto3_bedrock_runtime.client import BedrockRuntimeClient
12
+ from types_boto3_bedrock_runtime.paginator import (
13
+ ListAsyncInvokesPaginator,
14
+ )
15
+
16
+ session = Session()
17
+ client: BedrockRuntimeClient = session.client("bedrock-runtime")
18
+
19
+ list_async_invokes_paginator: ListAsyncInvokesPaginator = client.get_paginator("list_async_invokes")
20
+ ```
21
+
22
+ Copyright 2024 Vlad Emelianov
23
+ """
24
+
25
+ import sys
26
+ from typing import Generic, Iterator, TypeVar
27
+
28
+ from botocore.paginate import PageIterator, Paginator
29
+
30
+ from .type_defs import (
31
+ ListAsyncInvokesRequestListAsyncInvokesPaginateTypeDef,
32
+ ListAsyncInvokesResponseTypeDef,
33
+ )
34
+
35
+ if sys.version_info >= (3, 12):
36
+ from typing import Unpack
37
+ else:
38
+ from typing_extensions import Unpack
39
+
40
+ __all__ = ("ListAsyncInvokesPaginator",)
41
+
42
+ _ItemTypeDef = TypeVar("_ItemTypeDef")
43
+
44
+ class _PageIterator(PageIterator, Generic[_ItemTypeDef]):
45
+ def __iter__(self) -> Iterator[_ItemTypeDef]:
46
+ """
47
+ Proxy method to specify iterator item type.
48
+ """
49
+
50
+ class ListAsyncInvokesPaginator(Paginator):
51
+ """
52
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime/paginator/ListAsyncInvokes.html#BedrockRuntime.Paginator.ListAsyncInvokes)
53
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/paginators/#listasyncinvokespaginator)
54
+ """
55
+ def paginate(
56
+ self, **kwargs: Unpack[ListAsyncInvokesRequestListAsyncInvokesPaginateTypeDef]
57
+ ) -> _PageIterator[ListAsyncInvokesResponseTypeDef]:
58
+ """
59
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime/paginator/ListAsyncInvokes.html#BedrockRuntime.Paginator.ListAsyncInvokes.paginate)
60
+ [Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/paginators/#listasyncinvokespaginator)
61
+ """