types-boto3-bedrock-runtime 1.35.73__py3-none-any.whl → 1.35.75__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,8 +12,8 @@ def print_info() -> None:
12
12
  Print package info to stdout.
13
13
  """
14
14
  print(
15
- "Type annotations for boto3 BedrockRuntime 1.35.73\n"
16
- "Version: 1.35.73\n"
15
+ "Type annotations for boto3 BedrockRuntime 1.35.75\n"
16
+ "Version: 1.35.75\n"
17
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"
@@ -26,7 +26,7 @@ def print_version() -> None:
26
26
  """
27
27
  Print package version to stdout.
28
28
  """
29
- print("1.35.73")
29
+ print("1.35.75")
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",
@@ -36,6 +37,8 @@ __all__ = (
36
37
  "GuardrailContextualGroundingFilterTypeType",
37
38
  "GuardrailContextualGroundingPolicyActionType",
38
39
  "GuardrailConverseContentQualifierType",
40
+ "GuardrailConverseImageFormatType",
41
+ "GuardrailImageFormatType",
39
42
  "GuardrailManagedWordTypeType",
40
43
  "GuardrailPiiEntityTypeType",
41
44
  "GuardrailSensitiveInformationPolicyActionType",
@@ -45,15 +48,21 @@ __all__ = (
45
48
  "GuardrailTraceType",
46
49
  "GuardrailWordPolicyActionType",
47
50
  "ImageFormatType",
51
+ "ListAsyncInvokesPaginatorName",
52
+ "PaginatorName",
48
53
  "PerformanceConfigLatencyType",
49
54
  "ResourceServiceName",
50
55
  "ServiceName",
56
+ "SortAsyncInvocationByType",
57
+ "SortOrderType",
51
58
  "StopReasonType",
52
59
  "ToolResultStatusType",
53
60
  "TraceType",
61
+ "VideoFormatType",
54
62
  )
55
63
 
56
64
 
65
+ AsyncInvokeStatusType = Literal["Completed", "Failed", "InProgress"]
57
66
  ConversationRoleType = Literal["assistant", "user"]
58
67
  DocumentFormatType = Literal["csv", "doc", "docx", "html", "md", "pdf", "txt", "xls", "xlsx"]
59
68
  GuardrailActionType = Literal["GUARDRAIL_INTERVENED", "NONE"]
@@ -68,6 +77,8 @@ GuardrailContentSourceType = Literal["INPUT", "OUTPUT"]
68
77
  GuardrailContextualGroundingFilterTypeType = Literal["GROUNDING", "RELEVANCE"]
69
78
  GuardrailContextualGroundingPolicyActionType = Literal["BLOCKED", "NONE"]
70
79
  GuardrailConverseContentQualifierType = Literal["grounding_source", "guard_content", "query"]
80
+ GuardrailConverseImageFormatType = Literal["jpeg", "png"]
81
+ GuardrailImageFormatType = Literal["jpeg", "png"]
71
82
  GuardrailManagedWordTypeType = Literal["PROFANITY"]
72
83
  GuardrailPiiEntityTypeType = Literal[
73
84
  "ADDRESS",
@@ -109,7 +120,10 @@ GuardrailTopicTypeType = Literal["DENY"]
109
120
  GuardrailTraceType = Literal["disabled", "enabled"]
110
121
  GuardrailWordPolicyActionType = Literal["BLOCKED"]
111
122
  ImageFormatType = Literal["gif", "jpeg", "png", "webp"]
123
+ ListAsyncInvokesPaginatorName = Literal["list_async_invokes"]
112
124
  PerformanceConfigLatencyType = Literal["optimized", "standard"]
125
+ SortAsyncInvocationByType = Literal["SubmissionTime"]
126
+ SortOrderType = Literal["Ascending", "Descending"]
113
127
  StopReasonType = Literal[
114
128
  "content_filtered",
115
129
  "end_turn",
@@ -120,6 +134,7 @@ StopReasonType = Literal[
120
134
  ]
121
135
  ToolResultStatusType = Literal["error", "success"]
122
136
  TraceType = Literal["DISABLED", "ENABLED"]
137
+ VideoFormatType = Literal["flv", "mkv", "mov", "mp4", "mpeg", "mpg", "three_gp", "webm", "wmv"]
123
138
  BedrockRuntimeServiceName = Literal["bedrock-runtime"]
124
139
  ServiceName = Literal[
125
140
  "accessanalyzer",
@@ -162,6 +177,8 @@ ServiceName = Literal[
162
177
  "bedrock",
163
178
  "bedrock-agent",
164
179
  "bedrock-agent-runtime",
180
+ "bedrock-data-automation",
181
+ "bedrock-data-automation-runtime",
165
182
  "bedrock-runtime",
166
183
  "billing",
167
184
  "billingconductor",
@@ -239,6 +256,7 @@ ServiceName = Literal[
239
256
  "drs",
240
257
  "ds",
241
258
  "ds-data",
259
+ "dsql",
242
260
  "dynamodb",
243
261
  "dynamodbstreams",
244
262
  "ebs",
@@ -449,6 +467,7 @@ ServiceName = Literal[
449
467
  "s3",
450
468
  "s3control",
451
469
  "s3outposts",
470
+ "s3tables",
452
471
  "sagemaker",
453
472
  "sagemaker-a2i-runtime",
454
473
  "sagemaker-edge",
@@ -535,3 +554,4 @@ ResourceServiceName = Literal[
535
554
  "sns",
536
555
  "sqs",
537
556
  ]
557
+ 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",
@@ -35,6 +36,8 @@ __all__ = (
35
36
  "GuardrailContextualGroundingFilterTypeType",
36
37
  "GuardrailContextualGroundingPolicyActionType",
37
38
  "GuardrailConverseContentQualifierType",
39
+ "GuardrailConverseImageFormatType",
40
+ "GuardrailImageFormatType",
38
41
  "GuardrailManagedWordTypeType",
39
42
  "GuardrailPiiEntityTypeType",
40
43
  "GuardrailSensitiveInformationPolicyActionType",
@@ -44,14 +47,20 @@ __all__ = (
44
47
  "GuardrailTraceType",
45
48
  "GuardrailWordPolicyActionType",
46
49
  "ImageFormatType",
50
+ "ListAsyncInvokesPaginatorName",
51
+ "PaginatorName",
47
52
  "PerformanceConfigLatencyType",
48
53
  "ResourceServiceName",
49
54
  "ServiceName",
55
+ "SortAsyncInvocationByType",
56
+ "SortOrderType",
50
57
  "StopReasonType",
51
58
  "ToolResultStatusType",
52
59
  "TraceType",
60
+ "VideoFormatType",
53
61
  )
54
62
 
63
+ AsyncInvokeStatusType = Literal["Completed", "Failed", "InProgress"]
55
64
  ConversationRoleType = Literal["assistant", "user"]
56
65
  DocumentFormatType = Literal["csv", "doc", "docx", "html", "md", "pdf", "txt", "xls", "xlsx"]
57
66
  GuardrailActionType = Literal["GUARDRAIL_INTERVENED", "NONE"]
@@ -66,6 +75,8 @@ GuardrailContentSourceType = Literal["INPUT", "OUTPUT"]
66
75
  GuardrailContextualGroundingFilterTypeType = Literal["GROUNDING", "RELEVANCE"]
67
76
  GuardrailContextualGroundingPolicyActionType = Literal["BLOCKED", "NONE"]
68
77
  GuardrailConverseContentQualifierType = Literal["grounding_source", "guard_content", "query"]
78
+ GuardrailConverseImageFormatType = Literal["jpeg", "png"]
79
+ GuardrailImageFormatType = Literal["jpeg", "png"]
69
80
  GuardrailManagedWordTypeType = Literal["PROFANITY"]
70
81
  GuardrailPiiEntityTypeType = Literal[
71
82
  "ADDRESS",
@@ -107,7 +118,10 @@ GuardrailTopicTypeType = Literal["DENY"]
107
118
  GuardrailTraceType = Literal["disabled", "enabled"]
108
119
  GuardrailWordPolicyActionType = Literal["BLOCKED"]
109
120
  ImageFormatType = Literal["gif", "jpeg", "png", "webp"]
121
+ ListAsyncInvokesPaginatorName = Literal["list_async_invokes"]
110
122
  PerformanceConfigLatencyType = Literal["optimized", "standard"]
123
+ SortAsyncInvocationByType = Literal["SubmissionTime"]
124
+ SortOrderType = Literal["Ascending", "Descending"]
111
125
  StopReasonType = Literal[
112
126
  "content_filtered",
113
127
  "end_turn",
@@ -118,6 +132,7 @@ StopReasonType = Literal[
118
132
  ]
119
133
  ToolResultStatusType = Literal["error", "success"]
120
134
  TraceType = Literal["DISABLED", "ENABLED"]
135
+ VideoFormatType = Literal["flv", "mkv", "mov", "mp4", "mpeg", "mpg", "three_gp", "webm", "wmv"]
121
136
  BedrockRuntimeServiceName = Literal["bedrock-runtime"]
122
137
  ServiceName = Literal[
123
138
  "accessanalyzer",
@@ -160,6 +175,8 @@ ServiceName = Literal[
160
175
  "bedrock",
161
176
  "bedrock-agent",
162
177
  "bedrock-agent-runtime",
178
+ "bedrock-data-automation",
179
+ "bedrock-data-automation-runtime",
163
180
  "bedrock-runtime",
164
181
  "billing",
165
182
  "billingconductor",
@@ -237,6 +254,7 @@ ServiceName = Literal[
237
254
  "drs",
238
255
  "ds",
239
256
  "ds-data",
257
+ "dsql",
240
258
  "dynamodb",
241
259
  "dynamodbstreams",
242
260
  "ebs",
@@ -447,6 +465,7 @@ ServiceName = Literal[
447
465
  "s3",
448
466
  "s3control",
449
467
  "s3outposts",
468
+ "s3tables",
450
469
  "sagemaker",
451
470
  "sagemaker-a2i-runtime",
452
471
  "sagemaker-edge",
@@ -533,3 +552,4 @@ ResourceServiceName = Literal[
533
552
  "sns",
534
553
  "sqs",
535
554
  ]
555
+ 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
+ """