aws-sdk-s3vectors 1.0.0

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.
data/sig/types.rbs ADDED
@@ -0,0 +1,360 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::S3Vectors
9
+ module Types
10
+
11
+ class AccessDeniedException
12
+ attr_accessor message: ::String
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class ConflictException
17
+ attr_accessor message: ::String
18
+ SENSITIVE: []
19
+ end
20
+
21
+ class CreateIndexInput
22
+ attr_accessor vector_bucket_name: ::String
23
+ attr_accessor vector_bucket_arn: ::String
24
+ attr_accessor index_name: ::String
25
+ attr_accessor data_type: ("float32")
26
+ attr_accessor dimension: ::Integer
27
+ attr_accessor distance_metric: ("euclidean" | "cosine")
28
+ attr_accessor metadata_configuration: Types::MetadataConfiguration
29
+ SENSITIVE: []
30
+ end
31
+
32
+ class CreateIndexOutput < Aws::EmptyStructure
33
+ end
34
+
35
+ class CreateVectorBucketInput
36
+ attr_accessor vector_bucket_name: ::String
37
+ attr_accessor encryption_configuration: Types::EncryptionConfiguration
38
+ SENSITIVE: []
39
+ end
40
+
41
+ class CreateVectorBucketOutput < Aws::EmptyStructure
42
+ end
43
+
44
+ class DeleteIndexInput
45
+ attr_accessor vector_bucket_name: ::String
46
+ attr_accessor index_name: ::String
47
+ attr_accessor index_arn: ::String
48
+ SENSITIVE: []
49
+ end
50
+
51
+ class DeleteIndexOutput < Aws::EmptyStructure
52
+ end
53
+
54
+ class DeleteVectorBucketInput
55
+ attr_accessor vector_bucket_name: ::String
56
+ attr_accessor vector_bucket_arn: ::String
57
+ SENSITIVE: []
58
+ end
59
+
60
+ class DeleteVectorBucketOutput < Aws::EmptyStructure
61
+ end
62
+
63
+ class DeleteVectorBucketPolicyInput
64
+ attr_accessor vector_bucket_name: ::String
65
+ attr_accessor vector_bucket_arn: ::String
66
+ SENSITIVE: []
67
+ end
68
+
69
+ class DeleteVectorBucketPolicyOutput < Aws::EmptyStructure
70
+ end
71
+
72
+ class DeleteVectorsInput
73
+ attr_accessor vector_bucket_name: ::String
74
+ attr_accessor index_name: ::String
75
+ attr_accessor index_arn: ::String
76
+ attr_accessor keys: ::Array[::String]
77
+ SENSITIVE: []
78
+ end
79
+
80
+ class DeleteVectorsOutput < Aws::EmptyStructure
81
+ end
82
+
83
+ class EncryptionConfiguration
84
+ attr_accessor sse_type: ("AES256" | "aws:kms")
85
+ attr_accessor kms_key_arn: ::String
86
+ SENSITIVE: []
87
+ end
88
+
89
+ class GetIndexInput
90
+ attr_accessor vector_bucket_name: ::String
91
+ attr_accessor index_name: ::String
92
+ attr_accessor index_arn: ::String
93
+ SENSITIVE: []
94
+ end
95
+
96
+ class GetIndexOutput
97
+ attr_accessor index: Types::Index
98
+ SENSITIVE: []
99
+ end
100
+
101
+ class GetOutputVector
102
+ attr_accessor key: ::String
103
+ attr_accessor data: Types::VectorData
104
+ attr_accessor metadata: untyped
105
+ SENSITIVE: []
106
+ end
107
+
108
+ class GetVectorBucketInput
109
+ attr_accessor vector_bucket_name: ::String
110
+ attr_accessor vector_bucket_arn: ::String
111
+ SENSITIVE: []
112
+ end
113
+
114
+ class GetVectorBucketOutput
115
+ attr_accessor vector_bucket: Types::VectorBucket
116
+ SENSITIVE: []
117
+ end
118
+
119
+ class GetVectorBucketPolicyInput
120
+ attr_accessor vector_bucket_name: ::String
121
+ attr_accessor vector_bucket_arn: ::String
122
+ SENSITIVE: []
123
+ end
124
+
125
+ class GetVectorBucketPolicyOutput
126
+ attr_accessor policy: ::String
127
+ SENSITIVE: []
128
+ end
129
+
130
+ class GetVectorsInput
131
+ attr_accessor vector_bucket_name: ::String
132
+ attr_accessor index_name: ::String
133
+ attr_accessor index_arn: ::String
134
+ attr_accessor keys: ::Array[::String]
135
+ attr_accessor return_data: bool
136
+ attr_accessor return_metadata: bool
137
+ SENSITIVE: []
138
+ end
139
+
140
+ class GetVectorsOutput
141
+ attr_accessor vectors: ::Array[Types::GetOutputVector]
142
+ SENSITIVE: []
143
+ end
144
+
145
+ class Index
146
+ attr_accessor vector_bucket_name: ::String
147
+ attr_accessor index_name: ::String
148
+ attr_accessor index_arn: ::String
149
+ attr_accessor creation_time: ::Time
150
+ attr_accessor data_type: ("float32")
151
+ attr_accessor dimension: ::Integer
152
+ attr_accessor distance_metric: ("euclidean" | "cosine")
153
+ attr_accessor metadata_configuration: Types::MetadataConfiguration
154
+ SENSITIVE: []
155
+ end
156
+
157
+ class IndexSummary
158
+ attr_accessor vector_bucket_name: ::String
159
+ attr_accessor index_name: ::String
160
+ attr_accessor index_arn: ::String
161
+ attr_accessor creation_time: ::Time
162
+ SENSITIVE: []
163
+ end
164
+
165
+ class InternalServerException
166
+ attr_accessor message: ::String
167
+ SENSITIVE: []
168
+ end
169
+
170
+ class KmsDisabledException
171
+ attr_accessor message: ::String
172
+ SENSITIVE: []
173
+ end
174
+
175
+ class KmsInvalidKeyUsageException
176
+ attr_accessor message: ::String
177
+ SENSITIVE: []
178
+ end
179
+
180
+ class KmsInvalidStateException
181
+ attr_accessor message: ::String
182
+ SENSITIVE: []
183
+ end
184
+
185
+ class KmsNotFoundException
186
+ attr_accessor message: ::String
187
+ SENSITIVE: []
188
+ end
189
+
190
+ class ListIndexesInput
191
+ attr_accessor vector_bucket_name: ::String
192
+ attr_accessor vector_bucket_arn: ::String
193
+ attr_accessor max_results: ::Integer
194
+ attr_accessor next_token: ::String
195
+ attr_accessor prefix: ::String
196
+ SENSITIVE: []
197
+ end
198
+
199
+ class ListIndexesOutput
200
+ attr_accessor next_token: ::String
201
+ attr_accessor indexes: ::Array[Types::IndexSummary]
202
+ SENSITIVE: []
203
+ end
204
+
205
+ class ListOutputVector
206
+ attr_accessor key: ::String
207
+ attr_accessor data: Types::VectorData
208
+ attr_accessor metadata: untyped
209
+ SENSITIVE: []
210
+ end
211
+
212
+ class ListVectorBucketsInput
213
+ attr_accessor max_results: ::Integer
214
+ attr_accessor next_token: ::String
215
+ attr_accessor prefix: ::String
216
+ SENSITIVE: []
217
+ end
218
+
219
+ class ListVectorBucketsOutput
220
+ attr_accessor next_token: ::String
221
+ attr_accessor vector_buckets: ::Array[Types::VectorBucketSummary]
222
+ SENSITIVE: []
223
+ end
224
+
225
+ class ListVectorsInput
226
+ attr_accessor vector_bucket_name: ::String
227
+ attr_accessor index_name: ::String
228
+ attr_accessor index_arn: ::String
229
+ attr_accessor max_results: ::Integer
230
+ attr_accessor next_token: ::String
231
+ attr_accessor segment_count: ::Integer
232
+ attr_accessor segment_index: ::Integer
233
+ attr_accessor return_data: bool
234
+ attr_accessor return_metadata: bool
235
+ SENSITIVE: []
236
+ end
237
+
238
+ class ListVectorsOutput
239
+ attr_accessor next_token: ::String
240
+ attr_accessor vectors: ::Array[Types::ListOutputVector]
241
+ SENSITIVE: []
242
+ end
243
+
244
+ class MetadataConfiguration
245
+ attr_accessor non_filterable_metadata_keys: ::Array[::String]
246
+ SENSITIVE: []
247
+ end
248
+
249
+ class NotFoundException
250
+ attr_accessor message: ::String
251
+ SENSITIVE: []
252
+ end
253
+
254
+ class PutInputVector
255
+ attr_accessor key: ::String
256
+ attr_accessor data: Types::VectorData
257
+ attr_accessor metadata: untyped
258
+ SENSITIVE: []
259
+ end
260
+
261
+ class PutVectorBucketPolicyInput
262
+ attr_accessor vector_bucket_name: ::String
263
+ attr_accessor vector_bucket_arn: ::String
264
+ attr_accessor policy: ::String
265
+ SENSITIVE: []
266
+ end
267
+
268
+ class PutVectorBucketPolicyOutput < Aws::EmptyStructure
269
+ end
270
+
271
+ class PutVectorsInput
272
+ attr_accessor vector_bucket_name: ::String
273
+ attr_accessor index_name: ::String
274
+ attr_accessor index_arn: ::String
275
+ attr_accessor vectors: ::Array[Types::PutInputVector]
276
+ SENSITIVE: []
277
+ end
278
+
279
+ class PutVectorsOutput < Aws::EmptyStructure
280
+ end
281
+
282
+ class QueryOutputVector
283
+ attr_accessor key: ::String
284
+ attr_accessor data: Types::VectorData
285
+ attr_accessor metadata: untyped
286
+ attr_accessor distance: ::Float
287
+ SENSITIVE: []
288
+ end
289
+
290
+ class QueryVectorsInput
291
+ attr_accessor vector_bucket_name: ::String
292
+ attr_accessor index_name: ::String
293
+ attr_accessor index_arn: ::String
294
+ attr_accessor top_k: ::Integer
295
+ attr_accessor query_vector: Types::VectorData
296
+ attr_accessor filter: untyped
297
+ attr_accessor return_metadata: bool
298
+ attr_accessor return_distance: bool
299
+ SENSITIVE: []
300
+ end
301
+
302
+ class QueryVectorsOutput
303
+ attr_accessor vectors: ::Array[Types::QueryOutputVector]
304
+ SENSITIVE: []
305
+ end
306
+
307
+ class ServiceQuotaExceededException
308
+ attr_accessor message: ::String
309
+ SENSITIVE: []
310
+ end
311
+
312
+ class ServiceUnavailableException
313
+ attr_accessor message: ::String
314
+ SENSITIVE: []
315
+ end
316
+
317
+ class TooManyRequestsException
318
+ attr_accessor message: ::String
319
+ SENSITIVE: []
320
+ end
321
+
322
+ class ValidationException
323
+ attr_accessor message: ::String
324
+ attr_accessor field_list: ::Array[Types::ValidationExceptionField]
325
+ SENSITIVE: []
326
+ end
327
+
328
+ class ValidationExceptionField
329
+ attr_accessor path: ::String
330
+ attr_accessor message: ::String
331
+ SENSITIVE: []
332
+ end
333
+
334
+ class VectorBucket
335
+ attr_accessor vector_bucket_name: ::String
336
+ attr_accessor vector_bucket_arn: ::String
337
+ attr_accessor creation_time: ::Time
338
+ attr_accessor encryption_configuration: Types::EncryptionConfiguration
339
+ SENSITIVE: []
340
+ end
341
+
342
+ class VectorBucketSummary
343
+ attr_accessor vector_bucket_name: ::String
344
+ attr_accessor vector_bucket_arn: ::String
345
+ attr_accessor creation_time: ::Time
346
+ SENSITIVE: []
347
+ end
348
+
349
+ class VectorData
350
+ attr_accessor float32: ::Array[::Float]
351
+ attr_accessor unknown: untyped
352
+ SENSITIVE: []
353
+
354
+ class Float32 < VectorData
355
+ end
356
+ class Unknown < VectorData
357
+ end
358
+ end
359
+ end
360
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,13 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module S3Vectors
10
+ module Waiters
11
+ end
12
+ end
13
+ end
metadata ADDED
@@ -0,0 +1,97 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: aws-sdk-s3vectors
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Amazon Web Services
8
+ bindir: bin
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: aws-sdk-core
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - "~>"
17
+ - !ruby/object:Gem::Version
18
+ version: '3'
19
+ - - ">="
20
+ - !ruby/object:Gem::Version
21
+ version: 3.225.0
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - "~>"
27
+ - !ruby/object:Gem::Version
28
+ version: '3'
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ version: 3.225.0
32
+ - !ruby/object:Gem::Dependency
33
+ name: aws-sigv4
34
+ requirement: !ruby/object:Gem::Requirement
35
+ requirements:
36
+ - - "~>"
37
+ - !ruby/object:Gem::Version
38
+ version: '1.5'
39
+ type: :runtime
40
+ prerelease: false
41
+ version_requirements: !ruby/object:Gem::Requirement
42
+ requirements:
43
+ - - "~>"
44
+ - !ruby/object:Gem::Version
45
+ version: '1.5'
46
+ description: Official AWS Ruby gem for Amazon S3 Vectors. This gem is part of the
47
+ AWS SDK for Ruby.
48
+ email:
49
+ - aws-dr-rubygems@amazon.com
50
+ executables: []
51
+ extensions: []
52
+ extra_rdoc_files: []
53
+ files:
54
+ - CHANGELOG.md
55
+ - LICENSE.txt
56
+ - VERSION
57
+ - lib/aws-sdk-s3vectors.rb
58
+ - lib/aws-sdk-s3vectors/client.rb
59
+ - lib/aws-sdk-s3vectors/client_api.rb
60
+ - lib/aws-sdk-s3vectors/customizations.rb
61
+ - lib/aws-sdk-s3vectors/endpoint_parameters.rb
62
+ - lib/aws-sdk-s3vectors/endpoint_provider.rb
63
+ - lib/aws-sdk-s3vectors/endpoints.rb
64
+ - lib/aws-sdk-s3vectors/errors.rb
65
+ - lib/aws-sdk-s3vectors/plugins/endpoints.rb
66
+ - lib/aws-sdk-s3vectors/resource.rb
67
+ - lib/aws-sdk-s3vectors/types.rb
68
+ - lib/aws-sdk-s3vectors/waiters.rb
69
+ - sig/client.rbs
70
+ - sig/errors.rbs
71
+ - sig/resource.rbs
72
+ - sig/types.rbs
73
+ - sig/waiters.rbs
74
+ homepage: https://github.com/aws/aws-sdk-ruby
75
+ licenses:
76
+ - Apache-2.0
77
+ metadata:
78
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-s3vectors
79
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-s3vectors/CHANGELOG.md
80
+ rdoc_options: []
81
+ require_paths:
82
+ - lib
83
+ required_ruby_version: !ruby/object:Gem::Requirement
84
+ requirements:
85
+ - - ">="
86
+ - !ruby/object:Gem::Version
87
+ version: '2.7'
88
+ required_rubygems_version: !ruby/object:Gem::Requirement
89
+ requirements:
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ version: '0'
93
+ requirements: []
94
+ rubygems_version: 3.6.7
95
+ specification_version: 4
96
+ summary: AWS SDK for Ruby - Amazon S3 Vectors
97
+ test_files: []