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.
- checksums.yaml +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-s3vectors/client.rb +1500 -0
- data/lib/aws-sdk-s3vectors/client_api.rb +673 -0
- data/lib/aws-sdk-s3vectors/customizations.rb +0 -0
- data/lib/aws-sdk-s3vectors/endpoint_parameters.rb +59 -0
- data/lib/aws-sdk-s3vectors/endpoint_provider.rb +32 -0
- data/lib/aws-sdk-s3vectors/endpoints.rb +20 -0
- data/lib/aws-sdk-s3vectors/errors.rb +251 -0
- data/lib/aws-sdk-s3vectors/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-s3vectors/resource.rb +26 -0
- data/lib/aws-sdk-s3vectors/types.rb +1274 -0
- data/lib/aws-sdk-s3vectors/waiters.rb +15 -0
- data/lib/aws-sdk-s3vectors.rb +62 -0
- data/sig/client.rbs +303 -0
- data/sig/errors.rbs +53 -0
- data/sig/resource.rbs +84 -0
- data/sig/types.rbs +360 -0
- data/sig/waiters.rbs +13 -0
- metadata +97 -0
@@ -0,0 +1,673 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
module Aws::S3Vectors
|
12
|
+
# @api private
|
13
|
+
module ClientApi
|
14
|
+
|
15
|
+
include Seahorse::Model
|
16
|
+
|
17
|
+
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
18
|
+
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
19
|
+
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
20
|
+
CreateIndexInput = Shapes::StructureShape.new(name: 'CreateIndexInput')
|
21
|
+
CreateIndexOutput = Shapes::StructureShape.new(name: 'CreateIndexOutput')
|
22
|
+
CreateVectorBucketInput = Shapes::StructureShape.new(name: 'CreateVectorBucketInput')
|
23
|
+
CreateVectorBucketOutput = Shapes::StructureShape.new(name: 'CreateVectorBucketOutput')
|
24
|
+
DataType = Shapes::StringShape.new(name: 'DataType')
|
25
|
+
DeleteIndexInput = Shapes::StructureShape.new(name: 'DeleteIndexInput')
|
26
|
+
DeleteIndexOutput = Shapes::StructureShape.new(name: 'DeleteIndexOutput')
|
27
|
+
DeleteVectorBucketInput = Shapes::StructureShape.new(name: 'DeleteVectorBucketInput')
|
28
|
+
DeleteVectorBucketOutput = Shapes::StructureShape.new(name: 'DeleteVectorBucketOutput')
|
29
|
+
DeleteVectorBucketPolicyInput = Shapes::StructureShape.new(name: 'DeleteVectorBucketPolicyInput')
|
30
|
+
DeleteVectorBucketPolicyOutput = Shapes::StructureShape.new(name: 'DeleteVectorBucketPolicyOutput')
|
31
|
+
DeleteVectorsInput = Shapes::StructureShape.new(name: 'DeleteVectorsInput')
|
32
|
+
DeleteVectorsInputList = Shapes::ListShape.new(name: 'DeleteVectorsInputList')
|
33
|
+
DeleteVectorsOutput = Shapes::StructureShape.new(name: 'DeleteVectorsOutput')
|
34
|
+
Dimension = Shapes::IntegerShape.new(name: 'Dimension')
|
35
|
+
DistanceMetric = Shapes::StringShape.new(name: 'DistanceMetric')
|
36
|
+
Document = Shapes::DocumentShape.new(name: 'Document', document: true)
|
37
|
+
EncryptionConfiguration = Shapes::StructureShape.new(name: 'EncryptionConfiguration')
|
38
|
+
ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
|
39
|
+
Float = Shapes::FloatShape.new(name: 'Float')
|
40
|
+
Float32VectorData = Shapes::ListShape.new(name: 'Float32VectorData')
|
41
|
+
GetIndexInput = Shapes::StructureShape.new(name: 'GetIndexInput')
|
42
|
+
GetIndexOutput = Shapes::StructureShape.new(name: 'GetIndexOutput')
|
43
|
+
GetOutputVector = Shapes::StructureShape.new(name: 'GetOutputVector')
|
44
|
+
GetVectorBucketInput = Shapes::StructureShape.new(name: 'GetVectorBucketInput')
|
45
|
+
GetVectorBucketOutput = Shapes::StructureShape.new(name: 'GetVectorBucketOutput')
|
46
|
+
GetVectorBucketPolicyInput = Shapes::StructureShape.new(name: 'GetVectorBucketPolicyInput')
|
47
|
+
GetVectorBucketPolicyOutput = Shapes::StructureShape.new(name: 'GetVectorBucketPolicyOutput')
|
48
|
+
GetVectorsInput = Shapes::StructureShape.new(name: 'GetVectorsInput')
|
49
|
+
GetVectorsInputList = Shapes::ListShape.new(name: 'GetVectorsInputList')
|
50
|
+
GetVectorsOutput = Shapes::StructureShape.new(name: 'GetVectorsOutput')
|
51
|
+
GetVectorsOutputList = Shapes::ListShape.new(name: 'GetVectorsOutputList')
|
52
|
+
Index = Shapes::StructureShape.new(name: 'Index')
|
53
|
+
IndexArn = Shapes::StringShape.new(name: 'IndexArn')
|
54
|
+
IndexName = Shapes::StringShape.new(name: 'IndexName')
|
55
|
+
IndexSummary = Shapes::StructureShape.new(name: 'IndexSummary')
|
56
|
+
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
57
|
+
KmsDisabledException = Shapes::StructureShape.new(name: 'KmsDisabledException')
|
58
|
+
KmsInvalidKeyUsageException = Shapes::StructureShape.new(name: 'KmsInvalidKeyUsageException')
|
59
|
+
KmsInvalidStateException = Shapes::StructureShape.new(name: 'KmsInvalidStateException')
|
60
|
+
KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
|
61
|
+
KmsNotFoundException = Shapes::StructureShape.new(name: 'KmsNotFoundException')
|
62
|
+
ListIndexesInput = Shapes::StructureShape.new(name: 'ListIndexesInput')
|
63
|
+
ListIndexesMaxResults = Shapes::IntegerShape.new(name: 'ListIndexesMaxResults')
|
64
|
+
ListIndexesNextToken = Shapes::StringShape.new(name: 'ListIndexesNextToken')
|
65
|
+
ListIndexesOutput = Shapes::StructureShape.new(name: 'ListIndexesOutput')
|
66
|
+
ListIndexesOutputList = Shapes::ListShape.new(name: 'ListIndexesOutputList')
|
67
|
+
ListIndexesPrefix = Shapes::StringShape.new(name: 'ListIndexesPrefix')
|
68
|
+
ListOutputVector = Shapes::StructureShape.new(name: 'ListOutputVector')
|
69
|
+
ListVectorBucketsInput = Shapes::StructureShape.new(name: 'ListVectorBucketsInput')
|
70
|
+
ListVectorBucketsMaxResults = Shapes::IntegerShape.new(name: 'ListVectorBucketsMaxResults')
|
71
|
+
ListVectorBucketsNextToken = Shapes::StringShape.new(name: 'ListVectorBucketsNextToken')
|
72
|
+
ListVectorBucketsOutput = Shapes::StructureShape.new(name: 'ListVectorBucketsOutput')
|
73
|
+
ListVectorBucketsOutputList = Shapes::ListShape.new(name: 'ListVectorBucketsOutputList')
|
74
|
+
ListVectorBucketsPrefix = Shapes::StringShape.new(name: 'ListVectorBucketsPrefix')
|
75
|
+
ListVectorsInput = Shapes::StructureShape.new(name: 'ListVectorsInput')
|
76
|
+
ListVectorsMaxResults = Shapes::IntegerShape.new(name: 'ListVectorsMaxResults')
|
77
|
+
ListVectorsNextToken = Shapes::StringShape.new(name: 'ListVectorsNextToken')
|
78
|
+
ListVectorsOutput = Shapes::StructureShape.new(name: 'ListVectorsOutput')
|
79
|
+
ListVectorsOutputList = Shapes::ListShape.new(name: 'ListVectorsOutputList')
|
80
|
+
ListVectorsSegmentCount = Shapes::IntegerShape.new(name: 'ListVectorsSegmentCount')
|
81
|
+
ListVectorsSegmentIndex = Shapes::IntegerShape.new(name: 'ListVectorsSegmentIndex')
|
82
|
+
MetadataConfiguration = Shapes::StructureShape.new(name: 'MetadataConfiguration')
|
83
|
+
MetadataKey = Shapes::StringShape.new(name: 'MetadataKey')
|
84
|
+
NonFilterableMetadataKeys = Shapes::ListShape.new(name: 'NonFilterableMetadataKeys')
|
85
|
+
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
86
|
+
PutInputVector = Shapes::StructureShape.new(name: 'PutInputVector')
|
87
|
+
PutVectorBucketPolicyInput = Shapes::StructureShape.new(name: 'PutVectorBucketPolicyInput')
|
88
|
+
PutVectorBucketPolicyOutput = Shapes::StructureShape.new(name: 'PutVectorBucketPolicyOutput')
|
89
|
+
PutVectorsInput = Shapes::StructureShape.new(name: 'PutVectorsInput')
|
90
|
+
PutVectorsInputList = Shapes::ListShape.new(name: 'PutVectorsInputList')
|
91
|
+
PutVectorsOutput = Shapes::StructureShape.new(name: 'PutVectorsOutput')
|
92
|
+
QueryOutputVector = Shapes::StructureShape.new(name: 'QueryOutputVector')
|
93
|
+
QueryVectorsInput = Shapes::StructureShape.new(name: 'QueryVectorsInput')
|
94
|
+
QueryVectorsOutput = Shapes::StructureShape.new(name: 'QueryVectorsOutput')
|
95
|
+
QueryVectorsOutputList = Shapes::ListShape.new(name: 'QueryVectorsOutputList')
|
96
|
+
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
97
|
+
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
98
|
+
SseType = Shapes::StringShape.new(name: 'SseType')
|
99
|
+
String = Shapes::StringShape.new(name: 'String')
|
100
|
+
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
101
|
+
TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
|
102
|
+
TopK = Shapes::IntegerShape.new(name: 'TopK')
|
103
|
+
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
104
|
+
ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
|
105
|
+
ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
|
106
|
+
VectorBucket = Shapes::StructureShape.new(name: 'VectorBucket')
|
107
|
+
VectorBucketArn = Shapes::StringShape.new(name: 'VectorBucketArn')
|
108
|
+
VectorBucketName = Shapes::StringShape.new(name: 'VectorBucketName')
|
109
|
+
VectorBucketPolicy = Shapes::StringShape.new(name: 'VectorBucketPolicy')
|
110
|
+
VectorBucketSummary = Shapes::StructureShape.new(name: 'VectorBucketSummary')
|
111
|
+
VectorData = Shapes::UnionShape.new(name: 'VectorData')
|
112
|
+
VectorKey = Shapes::StringShape.new(name: 'VectorKey')
|
113
|
+
VectorMetadata = Shapes::DocumentShape.new(name: 'VectorMetadata', document: true)
|
114
|
+
|
115
|
+
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, required: true, location_name: "message"))
|
116
|
+
AccessDeniedException.struct_class = Types::AccessDeniedException
|
117
|
+
|
118
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, required: true, location_name: "message"))
|
119
|
+
ConflictException.struct_class = Types::ConflictException
|
120
|
+
|
121
|
+
CreateIndexInput.add_member(:vector_bucket_name, Shapes::ShapeRef.new(shape: VectorBucketName, location_name: "vectorBucketName"))
|
122
|
+
CreateIndexInput.add_member(:vector_bucket_arn, Shapes::ShapeRef.new(shape: VectorBucketArn, location_name: "vectorBucketArn"))
|
123
|
+
CreateIndexInput.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, required: true, location_name: "indexName"))
|
124
|
+
CreateIndexInput.add_member(:data_type, Shapes::ShapeRef.new(shape: DataType, required: true, location_name: "dataType"))
|
125
|
+
CreateIndexInput.add_member(:dimension, Shapes::ShapeRef.new(shape: Dimension, required: true, location_name: "dimension"))
|
126
|
+
CreateIndexInput.add_member(:distance_metric, Shapes::ShapeRef.new(shape: DistanceMetric, required: true, location_name: "distanceMetric"))
|
127
|
+
CreateIndexInput.add_member(:metadata_configuration, Shapes::ShapeRef.new(shape: MetadataConfiguration, location_name: "metadataConfiguration"))
|
128
|
+
CreateIndexInput.struct_class = Types::CreateIndexInput
|
129
|
+
|
130
|
+
CreateIndexOutput.struct_class = Types::CreateIndexOutput
|
131
|
+
|
132
|
+
CreateVectorBucketInput.add_member(:vector_bucket_name, Shapes::ShapeRef.new(shape: VectorBucketName, required: true, location_name: "vectorBucketName"))
|
133
|
+
CreateVectorBucketInput.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "encryptionConfiguration"))
|
134
|
+
CreateVectorBucketInput.struct_class = Types::CreateVectorBucketInput
|
135
|
+
|
136
|
+
CreateVectorBucketOutput.struct_class = Types::CreateVectorBucketOutput
|
137
|
+
|
138
|
+
DeleteIndexInput.add_member(:vector_bucket_name, Shapes::ShapeRef.new(shape: VectorBucketName, location_name: "vectorBucketName"))
|
139
|
+
DeleteIndexInput.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "indexName"))
|
140
|
+
DeleteIndexInput.add_member(:index_arn, Shapes::ShapeRef.new(shape: IndexArn, location_name: "indexArn"))
|
141
|
+
DeleteIndexInput.struct_class = Types::DeleteIndexInput
|
142
|
+
|
143
|
+
DeleteIndexOutput.struct_class = Types::DeleteIndexOutput
|
144
|
+
|
145
|
+
DeleteVectorBucketInput.add_member(:vector_bucket_name, Shapes::ShapeRef.new(shape: VectorBucketName, location_name: "vectorBucketName"))
|
146
|
+
DeleteVectorBucketInput.add_member(:vector_bucket_arn, Shapes::ShapeRef.new(shape: VectorBucketArn, location_name: "vectorBucketArn"))
|
147
|
+
DeleteVectorBucketInput.struct_class = Types::DeleteVectorBucketInput
|
148
|
+
|
149
|
+
DeleteVectorBucketOutput.struct_class = Types::DeleteVectorBucketOutput
|
150
|
+
|
151
|
+
DeleteVectorBucketPolicyInput.add_member(:vector_bucket_name, Shapes::ShapeRef.new(shape: VectorBucketName, location_name: "vectorBucketName"))
|
152
|
+
DeleteVectorBucketPolicyInput.add_member(:vector_bucket_arn, Shapes::ShapeRef.new(shape: VectorBucketArn, location_name: "vectorBucketArn"))
|
153
|
+
DeleteVectorBucketPolicyInput.struct_class = Types::DeleteVectorBucketPolicyInput
|
154
|
+
|
155
|
+
DeleteVectorBucketPolicyOutput.struct_class = Types::DeleteVectorBucketPolicyOutput
|
156
|
+
|
157
|
+
DeleteVectorsInput.add_member(:vector_bucket_name, Shapes::ShapeRef.new(shape: VectorBucketName, location_name: "vectorBucketName"))
|
158
|
+
DeleteVectorsInput.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "indexName"))
|
159
|
+
DeleteVectorsInput.add_member(:index_arn, Shapes::ShapeRef.new(shape: IndexArn, location_name: "indexArn"))
|
160
|
+
DeleteVectorsInput.add_member(:keys, Shapes::ShapeRef.new(shape: DeleteVectorsInputList, required: true, location_name: "keys"))
|
161
|
+
DeleteVectorsInput.struct_class = Types::DeleteVectorsInput
|
162
|
+
|
163
|
+
DeleteVectorsInputList.member = Shapes::ShapeRef.new(shape: VectorKey)
|
164
|
+
|
165
|
+
DeleteVectorsOutput.struct_class = Types::DeleteVectorsOutput
|
166
|
+
|
167
|
+
EncryptionConfiguration.add_member(:sse_type, Shapes::ShapeRef.new(shape: SseType, location_name: "sseType"))
|
168
|
+
EncryptionConfiguration.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
|
169
|
+
EncryptionConfiguration.struct_class = Types::EncryptionConfiguration
|
170
|
+
|
171
|
+
Float32VectorData.member = Shapes::ShapeRef.new(shape: Float)
|
172
|
+
|
173
|
+
GetIndexInput.add_member(:vector_bucket_name, Shapes::ShapeRef.new(shape: VectorBucketName, location_name: "vectorBucketName"))
|
174
|
+
GetIndexInput.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "indexName"))
|
175
|
+
GetIndexInput.add_member(:index_arn, Shapes::ShapeRef.new(shape: IndexArn, location_name: "indexArn"))
|
176
|
+
GetIndexInput.struct_class = Types::GetIndexInput
|
177
|
+
|
178
|
+
GetIndexOutput.add_member(:index, Shapes::ShapeRef.new(shape: Index, required: true, location_name: "index"))
|
179
|
+
GetIndexOutput.struct_class = Types::GetIndexOutput
|
180
|
+
|
181
|
+
GetOutputVector.add_member(:key, Shapes::ShapeRef.new(shape: VectorKey, required: true, location_name: "key"))
|
182
|
+
GetOutputVector.add_member(:data, Shapes::ShapeRef.new(shape: VectorData, location_name: "data"))
|
183
|
+
GetOutputVector.add_member(:metadata, Shapes::ShapeRef.new(shape: VectorMetadata, location_name: "metadata"))
|
184
|
+
GetOutputVector.struct_class = Types::GetOutputVector
|
185
|
+
|
186
|
+
GetVectorBucketInput.add_member(:vector_bucket_name, Shapes::ShapeRef.new(shape: VectorBucketName, location_name: "vectorBucketName"))
|
187
|
+
GetVectorBucketInput.add_member(:vector_bucket_arn, Shapes::ShapeRef.new(shape: VectorBucketArn, location_name: "vectorBucketArn"))
|
188
|
+
GetVectorBucketInput.struct_class = Types::GetVectorBucketInput
|
189
|
+
|
190
|
+
GetVectorBucketOutput.add_member(:vector_bucket, Shapes::ShapeRef.new(shape: VectorBucket, required: true, location_name: "vectorBucket"))
|
191
|
+
GetVectorBucketOutput.struct_class = Types::GetVectorBucketOutput
|
192
|
+
|
193
|
+
GetVectorBucketPolicyInput.add_member(:vector_bucket_name, Shapes::ShapeRef.new(shape: VectorBucketName, location_name: "vectorBucketName"))
|
194
|
+
GetVectorBucketPolicyInput.add_member(:vector_bucket_arn, Shapes::ShapeRef.new(shape: VectorBucketArn, location_name: "vectorBucketArn"))
|
195
|
+
GetVectorBucketPolicyInput.struct_class = Types::GetVectorBucketPolicyInput
|
196
|
+
|
197
|
+
GetVectorBucketPolicyOutput.add_member(:policy, Shapes::ShapeRef.new(shape: VectorBucketPolicy, location_name: "policy"))
|
198
|
+
GetVectorBucketPolicyOutput.struct_class = Types::GetVectorBucketPolicyOutput
|
199
|
+
|
200
|
+
GetVectorsInput.add_member(:vector_bucket_name, Shapes::ShapeRef.new(shape: VectorBucketName, location_name: "vectorBucketName"))
|
201
|
+
GetVectorsInput.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "indexName"))
|
202
|
+
GetVectorsInput.add_member(:index_arn, Shapes::ShapeRef.new(shape: IndexArn, location_name: "indexArn"))
|
203
|
+
GetVectorsInput.add_member(:keys, Shapes::ShapeRef.new(shape: GetVectorsInputList, required: true, location_name: "keys"))
|
204
|
+
GetVectorsInput.add_member(:return_data, Shapes::ShapeRef.new(shape: Boolean, location_name: "returnData"))
|
205
|
+
GetVectorsInput.add_member(:return_metadata, Shapes::ShapeRef.new(shape: Boolean, location_name: "returnMetadata"))
|
206
|
+
GetVectorsInput.struct_class = Types::GetVectorsInput
|
207
|
+
|
208
|
+
GetVectorsInputList.member = Shapes::ShapeRef.new(shape: VectorKey)
|
209
|
+
|
210
|
+
GetVectorsOutput.add_member(:vectors, Shapes::ShapeRef.new(shape: GetVectorsOutputList, required: true, location_name: "vectors"))
|
211
|
+
GetVectorsOutput.struct_class = Types::GetVectorsOutput
|
212
|
+
|
213
|
+
GetVectorsOutputList.member = Shapes::ShapeRef.new(shape: GetOutputVector)
|
214
|
+
|
215
|
+
Index.add_member(:vector_bucket_name, Shapes::ShapeRef.new(shape: VectorBucketName, required: true, location_name: "vectorBucketName"))
|
216
|
+
Index.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, required: true, location_name: "indexName"))
|
217
|
+
Index.add_member(:index_arn, Shapes::ShapeRef.new(shape: IndexArn, required: true, location_name: "indexArn"))
|
218
|
+
Index.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
|
219
|
+
Index.add_member(:data_type, Shapes::ShapeRef.new(shape: DataType, required: true, location_name: "dataType"))
|
220
|
+
Index.add_member(:dimension, Shapes::ShapeRef.new(shape: Dimension, required: true, location_name: "dimension"))
|
221
|
+
Index.add_member(:distance_metric, Shapes::ShapeRef.new(shape: DistanceMetric, required: true, location_name: "distanceMetric"))
|
222
|
+
Index.add_member(:metadata_configuration, Shapes::ShapeRef.new(shape: MetadataConfiguration, location_name: "metadataConfiguration"))
|
223
|
+
Index.struct_class = Types::Index
|
224
|
+
|
225
|
+
IndexSummary.add_member(:vector_bucket_name, Shapes::ShapeRef.new(shape: VectorBucketName, required: true, location_name: "vectorBucketName"))
|
226
|
+
IndexSummary.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, required: true, location_name: "indexName"))
|
227
|
+
IndexSummary.add_member(:index_arn, Shapes::ShapeRef.new(shape: IndexArn, required: true, location_name: "indexArn"))
|
228
|
+
IndexSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
|
229
|
+
IndexSummary.struct_class = Types::IndexSummary
|
230
|
+
|
231
|
+
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, required: true, location_name: "message"))
|
232
|
+
InternalServerException.struct_class = Types::InternalServerException
|
233
|
+
|
234
|
+
KmsDisabledException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, required: true, location_name: "message"))
|
235
|
+
KmsDisabledException.struct_class = Types::KmsDisabledException
|
236
|
+
|
237
|
+
KmsInvalidKeyUsageException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, required: true, location_name: "message"))
|
238
|
+
KmsInvalidKeyUsageException.struct_class = Types::KmsInvalidKeyUsageException
|
239
|
+
|
240
|
+
KmsInvalidStateException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, required: true, location_name: "message"))
|
241
|
+
KmsInvalidStateException.struct_class = Types::KmsInvalidStateException
|
242
|
+
|
243
|
+
KmsNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, required: true, location_name: "message"))
|
244
|
+
KmsNotFoundException.struct_class = Types::KmsNotFoundException
|
245
|
+
|
246
|
+
ListIndexesInput.add_member(:vector_bucket_name, Shapes::ShapeRef.new(shape: VectorBucketName, location_name: "vectorBucketName"))
|
247
|
+
ListIndexesInput.add_member(:vector_bucket_arn, Shapes::ShapeRef.new(shape: VectorBucketArn, location_name: "vectorBucketArn"))
|
248
|
+
ListIndexesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListIndexesMaxResults, location_name: "maxResults"))
|
249
|
+
ListIndexesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: ListIndexesNextToken, location_name: "nextToken"))
|
250
|
+
ListIndexesInput.add_member(:prefix, Shapes::ShapeRef.new(shape: ListIndexesPrefix, location_name: "prefix"))
|
251
|
+
ListIndexesInput.struct_class = Types::ListIndexesInput
|
252
|
+
|
253
|
+
ListIndexesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: ListIndexesNextToken, location_name: "nextToken"))
|
254
|
+
ListIndexesOutput.add_member(:indexes, Shapes::ShapeRef.new(shape: ListIndexesOutputList, required: true, location_name: "indexes"))
|
255
|
+
ListIndexesOutput.struct_class = Types::ListIndexesOutput
|
256
|
+
|
257
|
+
ListIndexesOutputList.member = Shapes::ShapeRef.new(shape: IndexSummary)
|
258
|
+
|
259
|
+
ListOutputVector.add_member(:key, Shapes::ShapeRef.new(shape: VectorKey, required: true, location_name: "key"))
|
260
|
+
ListOutputVector.add_member(:data, Shapes::ShapeRef.new(shape: VectorData, location_name: "data"))
|
261
|
+
ListOutputVector.add_member(:metadata, Shapes::ShapeRef.new(shape: VectorMetadata, location_name: "metadata"))
|
262
|
+
ListOutputVector.struct_class = Types::ListOutputVector
|
263
|
+
|
264
|
+
ListVectorBucketsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListVectorBucketsMaxResults, location_name: "maxResults"))
|
265
|
+
ListVectorBucketsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: ListVectorBucketsNextToken, location_name: "nextToken"))
|
266
|
+
ListVectorBucketsInput.add_member(:prefix, Shapes::ShapeRef.new(shape: ListVectorBucketsPrefix, location_name: "prefix"))
|
267
|
+
ListVectorBucketsInput.struct_class = Types::ListVectorBucketsInput
|
268
|
+
|
269
|
+
ListVectorBucketsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: ListVectorBucketsNextToken, location_name: "nextToken"))
|
270
|
+
ListVectorBucketsOutput.add_member(:vector_buckets, Shapes::ShapeRef.new(shape: ListVectorBucketsOutputList, required: true, location_name: "vectorBuckets"))
|
271
|
+
ListVectorBucketsOutput.struct_class = Types::ListVectorBucketsOutput
|
272
|
+
|
273
|
+
ListVectorBucketsOutputList.member = Shapes::ShapeRef.new(shape: VectorBucketSummary)
|
274
|
+
|
275
|
+
ListVectorsInput.add_member(:vector_bucket_name, Shapes::ShapeRef.new(shape: VectorBucketName, location_name: "vectorBucketName"))
|
276
|
+
ListVectorsInput.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "indexName"))
|
277
|
+
ListVectorsInput.add_member(:index_arn, Shapes::ShapeRef.new(shape: IndexArn, location_name: "indexArn"))
|
278
|
+
ListVectorsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListVectorsMaxResults, location_name: "maxResults"))
|
279
|
+
ListVectorsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: ListVectorsNextToken, location_name: "nextToken"))
|
280
|
+
ListVectorsInput.add_member(:segment_count, Shapes::ShapeRef.new(shape: ListVectorsSegmentCount, location_name: "segmentCount"))
|
281
|
+
ListVectorsInput.add_member(:segment_index, Shapes::ShapeRef.new(shape: ListVectorsSegmentIndex, location_name: "segmentIndex"))
|
282
|
+
ListVectorsInput.add_member(:return_data, Shapes::ShapeRef.new(shape: Boolean, location_name: "returnData"))
|
283
|
+
ListVectorsInput.add_member(:return_metadata, Shapes::ShapeRef.new(shape: Boolean, location_name: "returnMetadata"))
|
284
|
+
ListVectorsInput.struct_class = Types::ListVectorsInput
|
285
|
+
|
286
|
+
ListVectorsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: ListVectorsNextToken, location_name: "nextToken"))
|
287
|
+
ListVectorsOutput.add_member(:vectors, Shapes::ShapeRef.new(shape: ListVectorsOutputList, required: true, location_name: "vectors"))
|
288
|
+
ListVectorsOutput.struct_class = Types::ListVectorsOutput
|
289
|
+
|
290
|
+
ListVectorsOutputList.member = Shapes::ShapeRef.new(shape: ListOutputVector)
|
291
|
+
|
292
|
+
MetadataConfiguration.add_member(:non_filterable_metadata_keys, Shapes::ShapeRef.new(shape: NonFilterableMetadataKeys, required: true, location_name: "nonFilterableMetadataKeys"))
|
293
|
+
MetadataConfiguration.struct_class = Types::MetadataConfiguration
|
294
|
+
|
295
|
+
NonFilterableMetadataKeys.member = Shapes::ShapeRef.new(shape: MetadataKey)
|
296
|
+
|
297
|
+
NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, required: true, location_name: "message"))
|
298
|
+
NotFoundException.struct_class = Types::NotFoundException
|
299
|
+
|
300
|
+
PutInputVector.add_member(:key, Shapes::ShapeRef.new(shape: VectorKey, required: true, location_name: "key"))
|
301
|
+
PutInputVector.add_member(:data, Shapes::ShapeRef.new(shape: VectorData, required: true, location_name: "data"))
|
302
|
+
PutInputVector.add_member(:metadata, Shapes::ShapeRef.new(shape: VectorMetadata, location_name: "metadata"))
|
303
|
+
PutInputVector.struct_class = Types::PutInputVector
|
304
|
+
|
305
|
+
PutVectorBucketPolicyInput.add_member(:vector_bucket_name, Shapes::ShapeRef.new(shape: VectorBucketName, location_name: "vectorBucketName"))
|
306
|
+
PutVectorBucketPolicyInput.add_member(:vector_bucket_arn, Shapes::ShapeRef.new(shape: VectorBucketArn, location_name: "vectorBucketArn"))
|
307
|
+
PutVectorBucketPolicyInput.add_member(:policy, Shapes::ShapeRef.new(shape: VectorBucketPolicy, required: true, location_name: "policy"))
|
308
|
+
PutVectorBucketPolicyInput.struct_class = Types::PutVectorBucketPolicyInput
|
309
|
+
|
310
|
+
PutVectorBucketPolicyOutput.struct_class = Types::PutVectorBucketPolicyOutput
|
311
|
+
|
312
|
+
PutVectorsInput.add_member(:vector_bucket_name, Shapes::ShapeRef.new(shape: VectorBucketName, location_name: "vectorBucketName"))
|
313
|
+
PutVectorsInput.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "indexName"))
|
314
|
+
PutVectorsInput.add_member(:index_arn, Shapes::ShapeRef.new(shape: IndexArn, location_name: "indexArn"))
|
315
|
+
PutVectorsInput.add_member(:vectors, Shapes::ShapeRef.new(shape: PutVectorsInputList, required: true, location_name: "vectors"))
|
316
|
+
PutVectorsInput.struct_class = Types::PutVectorsInput
|
317
|
+
|
318
|
+
PutVectorsInputList.member = Shapes::ShapeRef.new(shape: PutInputVector)
|
319
|
+
|
320
|
+
PutVectorsOutput.struct_class = Types::PutVectorsOutput
|
321
|
+
|
322
|
+
QueryOutputVector.add_member(:key, Shapes::ShapeRef.new(shape: VectorKey, required: true, location_name: "key"))
|
323
|
+
QueryOutputVector.add_member(:data, Shapes::ShapeRef.new(shape: VectorData, location_name: "data"))
|
324
|
+
QueryOutputVector.add_member(:metadata, Shapes::ShapeRef.new(shape: VectorMetadata, location_name: "metadata"))
|
325
|
+
QueryOutputVector.add_member(:distance, Shapes::ShapeRef.new(shape: Float, location_name: "distance"))
|
326
|
+
QueryOutputVector.struct_class = Types::QueryOutputVector
|
327
|
+
|
328
|
+
QueryVectorsInput.add_member(:vector_bucket_name, Shapes::ShapeRef.new(shape: VectorBucketName, location_name: "vectorBucketName"))
|
329
|
+
QueryVectorsInput.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "indexName"))
|
330
|
+
QueryVectorsInput.add_member(:index_arn, Shapes::ShapeRef.new(shape: IndexArn, location_name: "indexArn"))
|
331
|
+
QueryVectorsInput.add_member(:top_k, Shapes::ShapeRef.new(shape: TopK, required: true, location_name: "topK"))
|
332
|
+
QueryVectorsInput.add_member(:query_vector, Shapes::ShapeRef.new(shape: VectorData, required: true, location_name: "queryVector"))
|
333
|
+
QueryVectorsInput.add_member(:filter, Shapes::ShapeRef.new(shape: Document, location_name: "filter"))
|
334
|
+
QueryVectorsInput.add_member(:return_metadata, Shapes::ShapeRef.new(shape: Boolean, location_name: "returnMetadata"))
|
335
|
+
QueryVectorsInput.add_member(:return_distance, Shapes::ShapeRef.new(shape: Boolean, location_name: "returnDistance"))
|
336
|
+
QueryVectorsInput.struct_class = Types::QueryVectorsInput
|
337
|
+
|
338
|
+
QueryVectorsOutput.add_member(:vectors, Shapes::ShapeRef.new(shape: QueryVectorsOutputList, required: true, location_name: "vectors"))
|
339
|
+
QueryVectorsOutput.struct_class = Types::QueryVectorsOutput
|
340
|
+
|
341
|
+
QueryVectorsOutputList.member = Shapes::ShapeRef.new(shape: QueryOutputVector)
|
342
|
+
|
343
|
+
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, required: true, location_name: "message"))
|
344
|
+
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
345
|
+
|
346
|
+
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, required: true, location_name: "message"))
|
347
|
+
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
348
|
+
|
349
|
+
TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, required: true, location_name: "message"))
|
350
|
+
TooManyRequestsException.struct_class = Types::TooManyRequestsException
|
351
|
+
|
352
|
+
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
353
|
+
ValidationException.add_member(:field_list, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "fieldList"))
|
354
|
+
ValidationException.struct_class = Types::ValidationException
|
355
|
+
|
356
|
+
ValidationExceptionField.add_member(:path, Shapes::ShapeRef.new(shape: String, required: true, location_name: "path"))
|
357
|
+
ValidationExceptionField.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
358
|
+
ValidationExceptionField.struct_class = Types::ValidationExceptionField
|
359
|
+
|
360
|
+
ValidationExceptionFieldList.member = Shapes::ShapeRef.new(shape: ValidationExceptionField)
|
361
|
+
|
362
|
+
VectorBucket.add_member(:vector_bucket_name, Shapes::ShapeRef.new(shape: VectorBucketName, required: true, location_name: "vectorBucketName"))
|
363
|
+
VectorBucket.add_member(:vector_bucket_arn, Shapes::ShapeRef.new(shape: VectorBucketArn, required: true, location_name: "vectorBucketArn"))
|
364
|
+
VectorBucket.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
|
365
|
+
VectorBucket.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "encryptionConfiguration"))
|
366
|
+
VectorBucket.struct_class = Types::VectorBucket
|
367
|
+
|
368
|
+
VectorBucketSummary.add_member(:vector_bucket_name, Shapes::ShapeRef.new(shape: VectorBucketName, required: true, location_name: "vectorBucketName"))
|
369
|
+
VectorBucketSummary.add_member(:vector_bucket_arn, Shapes::ShapeRef.new(shape: VectorBucketArn, required: true, location_name: "vectorBucketArn"))
|
370
|
+
VectorBucketSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "creationTime"))
|
371
|
+
VectorBucketSummary.struct_class = Types::VectorBucketSummary
|
372
|
+
|
373
|
+
VectorData.add_member(:float32, Shapes::ShapeRef.new(shape: Float32VectorData, location_name: "float32"))
|
374
|
+
VectorData.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
375
|
+
VectorData.add_member_subclass(:float32, Types::VectorData::Float32)
|
376
|
+
VectorData.add_member_subclass(:unknown, Types::VectorData::Unknown)
|
377
|
+
VectorData.struct_class = Types::VectorData
|
378
|
+
|
379
|
+
|
380
|
+
# @api private
|
381
|
+
API = Seahorse::Model::Api.new.tap do |api|
|
382
|
+
|
383
|
+
api.version = "2025-07-15"
|
384
|
+
|
385
|
+
api.metadata = {
|
386
|
+
"apiVersion" => "2025-07-15",
|
387
|
+
"auth" => ["aws.auth#sigv4"],
|
388
|
+
"endpointPrefix" => "s3vectors",
|
389
|
+
"protocol" => "rest-json",
|
390
|
+
"protocols" => ["rest-json"],
|
391
|
+
"serviceFullName" => "Amazon S3 Vectors",
|
392
|
+
"serviceId" => "S3Vectors",
|
393
|
+
"signatureVersion" => "v4",
|
394
|
+
"signingName" => "s3vectors",
|
395
|
+
"uid" => "s3vectors-2025-07-15",
|
396
|
+
}
|
397
|
+
|
398
|
+
api.add_operation(:create_index, Seahorse::Model::Operation.new.tap do |o|
|
399
|
+
o.name = "CreateIndex"
|
400
|
+
o.http_method = "POST"
|
401
|
+
o.http_request_uri = "/CreateIndex"
|
402
|
+
o.input = Shapes::ShapeRef.new(shape: CreateIndexInput)
|
403
|
+
o.output = Shapes::ShapeRef.new(shape: CreateIndexOutput)
|
404
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
405
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
406
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
407
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
408
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
409
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
410
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
411
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
412
|
+
end)
|
413
|
+
|
414
|
+
api.add_operation(:create_vector_bucket, Seahorse::Model::Operation.new.tap do |o|
|
415
|
+
o.name = "CreateVectorBucket"
|
416
|
+
o.http_method = "POST"
|
417
|
+
o.http_request_uri = "/CreateVectorBucket"
|
418
|
+
o.input = Shapes::ShapeRef.new(shape: CreateVectorBucketInput)
|
419
|
+
o.output = Shapes::ShapeRef.new(shape: CreateVectorBucketOutput)
|
420
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
421
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
422
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
423
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
424
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
425
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
426
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
427
|
+
end)
|
428
|
+
|
429
|
+
api.add_operation(:delete_index, Seahorse::Model::Operation.new.tap do |o|
|
430
|
+
o.name = "DeleteIndex"
|
431
|
+
o.http_method = "POST"
|
432
|
+
o.http_request_uri = "/DeleteIndex"
|
433
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteIndexInput)
|
434
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteIndexOutput)
|
435
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
436
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
437
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
438
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
439
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
440
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
441
|
+
end)
|
442
|
+
|
443
|
+
api.add_operation(:delete_vector_bucket, Seahorse::Model::Operation.new.tap do |o|
|
444
|
+
o.name = "DeleteVectorBucket"
|
445
|
+
o.http_method = "POST"
|
446
|
+
o.http_request_uri = "/DeleteVectorBucket"
|
447
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteVectorBucketInput)
|
448
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteVectorBucketOutput)
|
449
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
450
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
451
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
452
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
453
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
454
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
455
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
456
|
+
end)
|
457
|
+
|
458
|
+
api.add_operation(:delete_vector_bucket_policy, Seahorse::Model::Operation.new.tap do |o|
|
459
|
+
o.name = "DeleteVectorBucketPolicy"
|
460
|
+
o.http_method = "POST"
|
461
|
+
o.http_request_uri = "/DeleteVectorBucketPolicy"
|
462
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteVectorBucketPolicyInput)
|
463
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteVectorBucketPolicyOutput)
|
464
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
465
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
466
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
467
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
468
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
469
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
470
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
471
|
+
end)
|
472
|
+
|
473
|
+
api.add_operation(:delete_vectors, Seahorse::Model::Operation.new.tap do |o|
|
474
|
+
o.name = "DeleteVectors"
|
475
|
+
o.http_method = "POST"
|
476
|
+
o.http_request_uri = "/DeleteVectors"
|
477
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteVectorsInput)
|
478
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteVectorsOutput)
|
479
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
480
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
481
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
482
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsInvalidKeyUsageException)
|
483
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
484
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsInvalidStateException)
|
485
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
486
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsNotFoundException)
|
487
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
488
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
489
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsDisabledException)
|
490
|
+
end)
|
491
|
+
|
492
|
+
api.add_operation(:get_index, Seahorse::Model::Operation.new.tap do |o|
|
493
|
+
o.name = "GetIndex"
|
494
|
+
o.http_method = "POST"
|
495
|
+
o.http_request_uri = "/GetIndex"
|
496
|
+
o.input = Shapes::ShapeRef.new(shape: GetIndexInput)
|
497
|
+
o.output = Shapes::ShapeRef.new(shape: GetIndexOutput)
|
498
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
499
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
500
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
501
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
502
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
503
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
504
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
505
|
+
end)
|
506
|
+
|
507
|
+
api.add_operation(:get_vector_bucket, Seahorse::Model::Operation.new.tap do |o|
|
508
|
+
o.name = "GetVectorBucket"
|
509
|
+
o.http_method = "POST"
|
510
|
+
o.http_request_uri = "/GetVectorBucket"
|
511
|
+
o.input = Shapes::ShapeRef.new(shape: GetVectorBucketInput)
|
512
|
+
o.output = Shapes::ShapeRef.new(shape: GetVectorBucketOutput)
|
513
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
514
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
515
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
516
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
517
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
518
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
519
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
520
|
+
end)
|
521
|
+
|
522
|
+
api.add_operation(:get_vector_bucket_policy, Seahorse::Model::Operation.new.tap do |o|
|
523
|
+
o.name = "GetVectorBucketPolicy"
|
524
|
+
o.http_method = "POST"
|
525
|
+
o.http_request_uri = "/GetVectorBucketPolicy"
|
526
|
+
o.input = Shapes::ShapeRef.new(shape: GetVectorBucketPolicyInput)
|
527
|
+
o.output = Shapes::ShapeRef.new(shape: GetVectorBucketPolicyOutput)
|
528
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
529
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
530
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
531
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
532
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
533
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
534
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
535
|
+
end)
|
536
|
+
|
537
|
+
api.add_operation(:get_vectors, Seahorse::Model::Operation.new.tap do |o|
|
538
|
+
o.name = "GetVectors"
|
539
|
+
o.http_method = "POST"
|
540
|
+
o.http_request_uri = "/GetVectors"
|
541
|
+
o.input = Shapes::ShapeRef.new(shape: GetVectorsInput)
|
542
|
+
o.output = Shapes::ShapeRef.new(shape: GetVectorsOutput)
|
543
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
544
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
545
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
546
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsInvalidKeyUsageException)
|
547
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
548
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsInvalidStateException)
|
549
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
550
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsNotFoundException)
|
551
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
552
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
553
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsDisabledException)
|
554
|
+
end)
|
555
|
+
|
556
|
+
api.add_operation(:list_indexes, Seahorse::Model::Operation.new.tap do |o|
|
557
|
+
o.name = "ListIndexes"
|
558
|
+
o.http_method = "POST"
|
559
|
+
o.http_request_uri = "/ListIndexes"
|
560
|
+
o.input = Shapes::ShapeRef.new(shape: ListIndexesInput)
|
561
|
+
o.output = Shapes::ShapeRef.new(shape: ListIndexesOutput)
|
562
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
563
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
564
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
565
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
566
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
567
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
568
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
569
|
+
o[:pager] = Aws::Pager.new(
|
570
|
+
limit_key: "max_results",
|
571
|
+
tokens: {
|
572
|
+
"next_token" => "next_token"
|
573
|
+
}
|
574
|
+
)
|
575
|
+
end)
|
576
|
+
|
577
|
+
api.add_operation(:list_vector_buckets, Seahorse::Model::Operation.new.tap do |o|
|
578
|
+
o.name = "ListVectorBuckets"
|
579
|
+
o.http_method = "POST"
|
580
|
+
o.http_request_uri = "/ListVectorBuckets"
|
581
|
+
o.input = Shapes::ShapeRef.new(shape: ListVectorBucketsInput)
|
582
|
+
o.output = Shapes::ShapeRef.new(shape: ListVectorBucketsOutput)
|
583
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
584
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
585
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
586
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
587
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
588
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
589
|
+
o[:pager] = Aws::Pager.new(
|
590
|
+
limit_key: "max_results",
|
591
|
+
tokens: {
|
592
|
+
"next_token" => "next_token"
|
593
|
+
}
|
594
|
+
)
|
595
|
+
end)
|
596
|
+
|
597
|
+
api.add_operation(:list_vectors, Seahorse::Model::Operation.new.tap do |o|
|
598
|
+
o.name = "ListVectors"
|
599
|
+
o.http_method = "POST"
|
600
|
+
o.http_request_uri = "/ListVectors"
|
601
|
+
o.input = Shapes::ShapeRef.new(shape: ListVectorsInput)
|
602
|
+
o.output = Shapes::ShapeRef.new(shape: ListVectorsOutput)
|
603
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
604
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
605
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
606
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
607
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
608
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
609
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
610
|
+
o[:pager] = Aws::Pager.new(
|
611
|
+
limit_key: "max_results",
|
612
|
+
tokens: {
|
613
|
+
"next_token" => "next_token"
|
614
|
+
}
|
615
|
+
)
|
616
|
+
end)
|
617
|
+
|
618
|
+
api.add_operation(:put_vector_bucket_policy, Seahorse::Model::Operation.new.tap do |o|
|
619
|
+
o.name = "PutVectorBucketPolicy"
|
620
|
+
o.http_method = "POST"
|
621
|
+
o.http_request_uri = "/PutVectorBucketPolicy"
|
622
|
+
o.input = Shapes::ShapeRef.new(shape: PutVectorBucketPolicyInput)
|
623
|
+
o.output = Shapes::ShapeRef.new(shape: PutVectorBucketPolicyOutput)
|
624
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
625
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
626
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
627
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
628
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
629
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
630
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
631
|
+
end)
|
632
|
+
|
633
|
+
api.add_operation(:put_vectors, Seahorse::Model::Operation.new.tap do |o|
|
634
|
+
o.name = "PutVectors"
|
635
|
+
o.http_method = "POST"
|
636
|
+
o.http_request_uri = "/PutVectors"
|
637
|
+
o.input = Shapes::ShapeRef.new(shape: PutVectorsInput)
|
638
|
+
o.output = Shapes::ShapeRef.new(shape: PutVectorsOutput)
|
639
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
640
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
641
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
642
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsInvalidKeyUsageException)
|
643
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
644
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsInvalidStateException)
|
645
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
646
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsNotFoundException)
|
647
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
648
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
649
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsDisabledException)
|
650
|
+
end)
|
651
|
+
|
652
|
+
api.add_operation(:query_vectors, Seahorse::Model::Operation.new.tap do |o|
|
653
|
+
o.name = "QueryVectors"
|
654
|
+
o.http_method = "POST"
|
655
|
+
o.http_request_uri = "/QueryVectors"
|
656
|
+
o.input = Shapes::ShapeRef.new(shape: QueryVectorsInput)
|
657
|
+
o.output = Shapes::ShapeRef.new(shape: QueryVectorsOutput)
|
658
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
659
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
660
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
661
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsInvalidKeyUsageException)
|
662
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
663
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsInvalidStateException)
|
664
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
665
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsNotFoundException)
|
666
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
667
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
668
|
+
o.errors << Shapes::ShapeRef.new(shape: KmsDisabledException)
|
669
|
+
end)
|
670
|
+
end
|
671
|
+
|
672
|
+
end
|
673
|
+
end
|