types-aiobotocore-s3vectors 2.23.2__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.

Potentially problematic release.


This version of types-aiobotocore-s3vectors might be problematic. Click here for more details.

@@ -0,0 +1,44 @@
1
+ """
2
+ Main interface for s3vectors service.
3
+
4
+ [Documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_s3vectors/)
5
+
6
+ Copyright 2025 Vlad Emelianov
7
+
8
+ Usage::
9
+
10
+ ```python
11
+ from aiobotocore.session import get_session
12
+ from types_aiobotocore_s3vectors import (
13
+ Client,
14
+ ListIndexesPaginator,
15
+ ListVectorBucketsPaginator,
16
+ ListVectorsPaginator,
17
+ S3VectorsClient,
18
+ )
19
+
20
+ session = get_session()
21
+ async with session.create_client("s3vectors") as client:
22
+ client: S3VectorsClient
23
+ ...
24
+
25
+
26
+ list_indexes_paginator: ListIndexesPaginator = client.get_paginator("list_indexes")
27
+ list_vector_buckets_paginator: ListVectorBucketsPaginator = client.get_paginator("list_vector_buckets")
28
+ list_vectors_paginator: ListVectorsPaginator = client.get_paginator("list_vectors")
29
+ ```
30
+ """
31
+
32
+ from .client import S3VectorsClient
33
+ from .paginator import ListIndexesPaginator, ListVectorBucketsPaginator, ListVectorsPaginator
34
+
35
+ Client = S3VectorsClient
36
+
37
+
38
+ __all__ = (
39
+ "Client",
40
+ "ListIndexesPaginator",
41
+ "ListVectorBucketsPaginator",
42
+ "ListVectorsPaginator",
43
+ "S3VectorsClient",
44
+ )
@@ -0,0 +1,43 @@
1
+ """
2
+ Main interface for s3vectors service.
3
+
4
+ [Documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_s3vectors/)
5
+
6
+ Copyright 2025 Vlad Emelianov
7
+
8
+ Usage::
9
+
10
+ ```python
11
+ from aiobotocore.session import get_session
12
+ from types_aiobotocore_s3vectors import (
13
+ Client,
14
+ ListIndexesPaginator,
15
+ ListVectorBucketsPaginator,
16
+ ListVectorsPaginator,
17
+ S3VectorsClient,
18
+ )
19
+
20
+ session = get_session()
21
+ async with session.create_client("s3vectors") as client:
22
+ client: S3VectorsClient
23
+ ...
24
+
25
+
26
+ list_indexes_paginator: ListIndexesPaginator = client.get_paginator("list_indexes")
27
+ list_vector_buckets_paginator: ListVectorBucketsPaginator = client.get_paginator("list_vector_buckets")
28
+ list_vectors_paginator: ListVectorsPaginator = client.get_paginator("list_vectors")
29
+ ```
30
+ """
31
+
32
+ from .client import S3VectorsClient
33
+ from .paginator import ListIndexesPaginator, ListVectorBucketsPaginator, ListVectorsPaginator
34
+
35
+ Client = S3VectorsClient
36
+
37
+ __all__ = (
38
+ "Client",
39
+ "ListIndexesPaginator",
40
+ "ListVectorBucketsPaginator",
41
+ "ListVectorsPaginator",
42
+ "S3VectorsClient",
43
+ )
@@ -0,0 +1,43 @@
1
+ """
2
+ Main CLI entrypoint.
3
+
4
+ Copyright 2025 Vlad Emelianov
5
+ """
6
+
7
+ import sys
8
+
9
+
10
+ def print_info() -> None:
11
+ """
12
+ Print package info to stdout.
13
+ """
14
+ sys.stdout.write(
15
+ "Type annotations for aiobotocore S3Vectors 2.23.2\n"
16
+ "Version: 2.23.2\n"
17
+ "Builder version: 8.11.0\n"
18
+ "Docs: https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_s3vectors//\n"
19
+ "Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3vectors.html#s3vectors\n"
20
+ "Other services: https://pypi.org/project/boto3-stubs/\n"
21
+ "Changelog: https://github.com/youtype/mypy_boto3_builder/releases\n"
22
+ )
23
+
24
+
25
+ def print_version() -> None:
26
+ """
27
+ Print package version to stdout.
28
+ """
29
+ sys.stdout.write("2.23.2\n")
30
+
31
+
32
+ def main() -> None:
33
+ """
34
+ Main CLI entrypoint.
35
+ """
36
+ if "--version" in sys.argv:
37
+ print_version()
38
+ return
39
+ print_info()
40
+
41
+
42
+ if __name__ == "__main__":
43
+ main()
@@ -0,0 +1,339 @@
1
+ """
2
+ Type annotations for s3vectors service Client.
3
+
4
+ [Documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_s3vectors/client/)
5
+
6
+ Copyright 2025 Vlad Emelianov
7
+
8
+ Usage::
9
+
10
+ ```python
11
+ from aiobotocore.session import get_session
12
+ from types_aiobotocore_s3vectors.client import S3VectorsClient
13
+
14
+ session = get_session()
15
+ async with session.create_client("s3vectors") as client:
16
+ client: S3VectorsClient
17
+ ```
18
+ """
19
+
20
+ from __future__ import annotations
21
+
22
+ import sys
23
+ from types import TracebackType
24
+ from typing import Any, overload
25
+
26
+ from aiobotocore.client import AioBaseClient
27
+ from botocore.client import ClientMeta
28
+ from botocore.errorfactory import BaseClientExceptions
29
+ from botocore.exceptions import ClientError as BotocoreClientError
30
+
31
+ from .paginator import ListIndexesPaginator, ListVectorBucketsPaginator, ListVectorsPaginator
32
+ from .type_defs import (
33
+ CreateIndexInputTypeDef,
34
+ CreateVectorBucketInputTypeDef,
35
+ DeleteIndexInputTypeDef,
36
+ DeleteVectorBucketInputTypeDef,
37
+ DeleteVectorBucketPolicyInputTypeDef,
38
+ DeleteVectorsInputTypeDef,
39
+ GetIndexInputTypeDef,
40
+ GetIndexOutputTypeDef,
41
+ GetVectorBucketInputTypeDef,
42
+ GetVectorBucketOutputTypeDef,
43
+ GetVectorBucketPolicyInputTypeDef,
44
+ GetVectorBucketPolicyOutputTypeDef,
45
+ GetVectorsInputTypeDef,
46
+ GetVectorsOutputTypeDef,
47
+ ListIndexesInputTypeDef,
48
+ ListIndexesOutputTypeDef,
49
+ ListVectorBucketsInputTypeDef,
50
+ ListVectorBucketsOutputTypeDef,
51
+ ListVectorsInputTypeDef,
52
+ ListVectorsOutputTypeDef,
53
+ PutVectorBucketPolicyInputTypeDef,
54
+ PutVectorsInputTypeDef,
55
+ QueryVectorsInputTypeDef,
56
+ QueryVectorsOutputTypeDef,
57
+ )
58
+
59
+ if sys.version_info >= (3, 9):
60
+ from builtins import dict as Dict
61
+ from builtins import type as Type
62
+ from collections.abc import Mapping
63
+ else:
64
+ from typing import Dict, Mapping, Type
65
+ if sys.version_info >= (3, 12):
66
+ from typing import Literal, Self, Unpack
67
+ else:
68
+ from typing_extensions import Literal, Self, Unpack
69
+
70
+
71
+ __all__ = ("S3VectorsClient",)
72
+
73
+
74
+ class Exceptions(BaseClientExceptions):
75
+ AccessDeniedException: Type[BotocoreClientError]
76
+ ClientError: Type[BotocoreClientError]
77
+ ConflictException: Type[BotocoreClientError]
78
+ InternalServerException: Type[BotocoreClientError]
79
+ KmsDisabledException: Type[BotocoreClientError]
80
+ KmsInvalidKeyUsageException: Type[BotocoreClientError]
81
+ KmsInvalidStateException: Type[BotocoreClientError]
82
+ KmsNotFoundException: Type[BotocoreClientError]
83
+ NotFoundException: Type[BotocoreClientError]
84
+ ServiceQuotaExceededException: Type[BotocoreClientError]
85
+ ServiceUnavailableException: Type[BotocoreClientError]
86
+ TooManyRequestsException: Type[BotocoreClientError]
87
+ ValidationException: Type[BotocoreClientError]
88
+
89
+
90
+ class S3VectorsClient(AioBaseClient):
91
+ """
92
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3vectors.html#S3Vectors.Client)
93
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_s3vectors/client/)
94
+ """
95
+
96
+ meta: ClientMeta
97
+
98
+ @property
99
+ def exceptions(self) -> Exceptions:
100
+ """
101
+ S3VectorsClient exceptions.
102
+
103
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3vectors.html#S3Vectors.Client)
104
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_s3vectors/client/#exceptions)
105
+ """
106
+
107
+ def can_paginate(self, operation_name: str) -> bool:
108
+ """
109
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3vectors/client/can_paginate.html)
110
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_s3vectors/client/#can_paginate)
111
+ """
112
+
113
+ async def generate_presigned_url(
114
+ self,
115
+ ClientMethod: str,
116
+ Params: Mapping[str, Any] = ...,
117
+ ExpiresIn: int = 3600,
118
+ HttpMethod: str = ...,
119
+ ) -> str:
120
+ """
121
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3vectors/client/generate_presigned_url.html)
122
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_s3vectors/client/#generate_presigned_url)
123
+ """
124
+
125
+ async def create_index(self, **kwargs: Unpack[CreateIndexInputTypeDef]) -> Dict[str, Any]:
126
+ """
127
+ <note> <p>Amazon S3 Vectors is in preview release for Amazon S3 and is subject
128
+ to change.
129
+
130
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3vectors/client/create_index.html)
131
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_s3vectors/client/#create_index)
132
+ """
133
+
134
+ async def create_vector_bucket(
135
+ self, **kwargs: Unpack[CreateVectorBucketInputTypeDef]
136
+ ) -> Dict[str, Any]:
137
+ """
138
+ <note> <p>Amazon S3 Vectors is in preview release for Amazon S3 and is subject
139
+ to change.
140
+
141
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3vectors/client/create_vector_bucket.html)
142
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_s3vectors/client/#create_vector_bucket)
143
+ """
144
+
145
+ async def delete_index(self, **kwargs: Unpack[DeleteIndexInputTypeDef]) -> Dict[str, Any]:
146
+ """
147
+ <note> <p>Amazon S3 Vectors is in preview release for Amazon S3 and is subject
148
+ to change.
149
+
150
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3vectors/client/delete_index.html)
151
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_s3vectors/client/#delete_index)
152
+ """
153
+
154
+ async def delete_vector_bucket(
155
+ self, **kwargs: Unpack[DeleteVectorBucketInputTypeDef]
156
+ ) -> Dict[str, Any]:
157
+ """
158
+ <note> <p>Amazon S3 Vectors is in preview release for Amazon S3 and is subject
159
+ to change.
160
+
161
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3vectors/client/delete_vector_bucket.html)
162
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_s3vectors/client/#delete_vector_bucket)
163
+ """
164
+
165
+ async def delete_vector_bucket_policy(
166
+ self, **kwargs: Unpack[DeleteVectorBucketPolicyInputTypeDef]
167
+ ) -> Dict[str, Any]:
168
+ """
169
+ <note> <p>Amazon S3 Vectors is in preview release for Amazon S3 and is subject
170
+ to change.
171
+
172
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3vectors/client/delete_vector_bucket_policy.html)
173
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_s3vectors/client/#delete_vector_bucket_policy)
174
+ """
175
+
176
+ async def delete_vectors(self, **kwargs: Unpack[DeleteVectorsInputTypeDef]) -> Dict[str, Any]:
177
+ """
178
+ <note> <p>Amazon S3 Vectors is in preview release for Amazon S3 and is subject
179
+ to change.
180
+
181
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3vectors/client/delete_vectors.html)
182
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_s3vectors/client/#delete_vectors)
183
+ """
184
+
185
+ async def get_index(self, **kwargs: Unpack[GetIndexInputTypeDef]) -> GetIndexOutputTypeDef:
186
+ """
187
+ <note> <p>Amazon S3 Vectors is in preview release for Amazon S3 and is subject
188
+ to change.
189
+
190
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3vectors/client/get_index.html)
191
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_s3vectors/client/#get_index)
192
+ """
193
+
194
+ async def get_vector_bucket(
195
+ self, **kwargs: Unpack[GetVectorBucketInputTypeDef]
196
+ ) -> GetVectorBucketOutputTypeDef:
197
+ """
198
+ <note> <p>Amazon S3 Vectors is in preview release for Amazon S3 and is subject
199
+ to change.
200
+
201
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3vectors/client/get_vector_bucket.html)
202
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_s3vectors/client/#get_vector_bucket)
203
+ """
204
+
205
+ async def get_vector_bucket_policy(
206
+ self, **kwargs: Unpack[GetVectorBucketPolicyInputTypeDef]
207
+ ) -> GetVectorBucketPolicyOutputTypeDef:
208
+ """
209
+ <note> <p>Amazon S3 Vectors is in preview release for Amazon S3 and is subject
210
+ to change.
211
+
212
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3vectors/client/get_vector_bucket_policy.html)
213
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_s3vectors/client/#get_vector_bucket_policy)
214
+ """
215
+
216
+ async def get_vectors(
217
+ self, **kwargs: Unpack[GetVectorsInputTypeDef]
218
+ ) -> GetVectorsOutputTypeDef:
219
+ """
220
+ <note> <p>Amazon S3 Vectors is in preview release for Amazon S3 and is subject
221
+ to change.
222
+
223
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3vectors/client/get_vectors.html)
224
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_s3vectors/client/#get_vectors)
225
+ """
226
+
227
+ async def list_indexes(
228
+ self, **kwargs: Unpack[ListIndexesInputTypeDef]
229
+ ) -> ListIndexesOutputTypeDef:
230
+ """
231
+ <note> <p>Amazon S3 Vectors is in preview release for Amazon S3 and is subject
232
+ to change.
233
+
234
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3vectors/client/list_indexes.html)
235
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_s3vectors/client/#list_indexes)
236
+ """
237
+
238
+ async def list_vector_buckets(
239
+ self, **kwargs: Unpack[ListVectorBucketsInputTypeDef]
240
+ ) -> ListVectorBucketsOutputTypeDef:
241
+ """
242
+ <note> <p>Amazon S3 Vectors is in preview release for Amazon S3 and is subject
243
+ to change.
244
+
245
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3vectors/client/list_vector_buckets.html)
246
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_s3vectors/client/#list_vector_buckets)
247
+ """
248
+
249
+ async def list_vectors(
250
+ self, **kwargs: Unpack[ListVectorsInputTypeDef]
251
+ ) -> ListVectorsOutputTypeDef:
252
+ """
253
+ <note> <p>Amazon S3 Vectors is in preview release for Amazon S3 and is subject
254
+ to change.
255
+
256
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3vectors/client/list_vectors.html)
257
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_s3vectors/client/#list_vectors)
258
+ """
259
+
260
+ async def put_vector_bucket_policy(
261
+ self, **kwargs: Unpack[PutVectorBucketPolicyInputTypeDef]
262
+ ) -> Dict[str, Any]:
263
+ """
264
+ <note> <p>Amazon S3 Vectors is in preview release for Amazon S3 and is subject
265
+ to change.
266
+
267
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3vectors/client/put_vector_bucket_policy.html)
268
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_s3vectors/client/#put_vector_bucket_policy)
269
+ """
270
+
271
+ async def put_vectors(self, **kwargs: Unpack[PutVectorsInputTypeDef]) -> Dict[str, Any]:
272
+ """
273
+ <note> <p>Amazon S3 Vectors is in preview release for Amazon S3 and is subject
274
+ to change.
275
+
276
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3vectors/client/put_vectors.html)
277
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_s3vectors/client/#put_vectors)
278
+ """
279
+
280
+ async def query_vectors(
281
+ self, **kwargs: Unpack[QueryVectorsInputTypeDef]
282
+ ) -> QueryVectorsOutputTypeDef:
283
+ """
284
+ <note> <p>Amazon S3 Vectors is in preview release for Amazon S3 and is subject
285
+ to change.
286
+
287
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3vectors/client/query_vectors.html)
288
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_s3vectors/client/#query_vectors)
289
+ """
290
+
291
+ @overload # type: ignore[override]
292
+ def get_paginator( # type: ignore[override]
293
+ self, operation_name: Literal["list_indexes"]
294
+ ) -> ListIndexesPaginator:
295
+ """
296
+ Create a paginator for an operation.
297
+
298
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3vectors/client/get_paginator.html)
299
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_s3vectors/client/#get_paginator)
300
+ """
301
+
302
+ @overload # type: ignore[override]
303
+ def get_paginator( # type: ignore[override]
304
+ self, operation_name: Literal["list_vector_buckets"]
305
+ ) -> ListVectorBucketsPaginator:
306
+ """
307
+ Create a paginator for an operation.
308
+
309
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3vectors/client/get_paginator.html)
310
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_s3vectors/client/#get_paginator)
311
+ """
312
+
313
+ @overload # type: ignore[override]
314
+ def get_paginator( # type: ignore[override]
315
+ self, operation_name: Literal["list_vectors"]
316
+ ) -> ListVectorsPaginator:
317
+ """
318
+ Create a paginator for an operation.
319
+
320
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3vectors/client/get_paginator.html)
321
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_s3vectors/client/#get_paginator)
322
+ """
323
+
324
+ async def __aenter__(self) -> Self:
325
+ """
326
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3vectors.html#S3Vectors.Client)
327
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_s3vectors/client/)
328
+ """
329
+
330
+ async def __aexit__(
331
+ self,
332
+ exc_type: Type[BaseException] | None,
333
+ exc_val: BaseException | None,
334
+ exc_tb: TracebackType | None,
335
+ ) -> None:
336
+ """
337
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/s3vectors.html#S3Vectors.Client)
338
+ [Show types-aiobotocore documentation](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_s3vectors/client/)
339
+ """