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,15 @@
|
|
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
|
+
require 'aws-sdk-core/waiters'
|
11
|
+
|
12
|
+
module Aws::S3Vectors
|
13
|
+
module Waiters
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,62 @@
|
|
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
|
+
require 'aws-sdk-core'
|
12
|
+
require 'aws-sigv4'
|
13
|
+
|
14
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:s3vectors)
|
15
|
+
|
16
|
+
# This module provides support for Amazon S3 Vectors. This module is available in the
|
17
|
+
# `aws-sdk-s3vectors` gem.
|
18
|
+
#
|
19
|
+
# # Client
|
20
|
+
#
|
21
|
+
# The {Client} class provides one method for each API operation. Operation
|
22
|
+
# methods each accept a hash of request parameters and return a response
|
23
|
+
# structure.
|
24
|
+
#
|
25
|
+
# s3_vectors = Aws::S3Vectors::Client.new
|
26
|
+
# resp = s3_vectors.create_index(params)
|
27
|
+
#
|
28
|
+
# See {Client} for more information.
|
29
|
+
#
|
30
|
+
# # Errors
|
31
|
+
#
|
32
|
+
# Errors returned from Amazon S3 Vectors are defined in the
|
33
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
34
|
+
#
|
35
|
+
# begin
|
36
|
+
# # do stuff
|
37
|
+
# rescue Aws::S3Vectors::Errors::ServiceError
|
38
|
+
# # rescues all Amazon S3 Vectors API errors
|
39
|
+
# end
|
40
|
+
#
|
41
|
+
# See {Errors} for more information.
|
42
|
+
#
|
43
|
+
# @!group service
|
44
|
+
module Aws::S3Vectors
|
45
|
+
autoload :Types, 'aws-sdk-s3vectors/types'
|
46
|
+
autoload :ClientApi, 'aws-sdk-s3vectors/client_api'
|
47
|
+
module Plugins
|
48
|
+
autoload :Endpoints, 'aws-sdk-s3vectors/plugins/endpoints.rb'
|
49
|
+
end
|
50
|
+
autoload :Client, 'aws-sdk-s3vectors/client'
|
51
|
+
autoload :Errors, 'aws-sdk-s3vectors/errors'
|
52
|
+
autoload :Waiters, 'aws-sdk-s3vectors/waiters'
|
53
|
+
autoload :Resource, 'aws-sdk-s3vectors/resource'
|
54
|
+
autoload :EndpointParameters, 'aws-sdk-s3vectors/endpoint_parameters'
|
55
|
+
autoload :EndpointProvider, 'aws-sdk-s3vectors/endpoint_provider'
|
56
|
+
autoload :Endpoints, 'aws-sdk-s3vectors/endpoints'
|
57
|
+
|
58
|
+
GEM_VERSION = '1.0.0'
|
59
|
+
|
60
|
+
end
|
61
|
+
|
62
|
+
require_relative 'aws-sdk-s3vectors/customizations'
|
data/sig/client.rbs
ADDED
@@ -0,0 +1,303 @@
|
|
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
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Vectors/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?account_id: String,
|
19
|
+
?active_endpoint_cache: bool,
|
20
|
+
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?client_side_monitoring: bool,
|
22
|
+
?client_side_monitoring_client_id: String,
|
23
|
+
?client_side_monitoring_host: String,
|
24
|
+
?client_side_monitoring_port: Integer,
|
25
|
+
?client_side_monitoring_publisher: untyped,
|
26
|
+
?convert_params: bool,
|
27
|
+
?correct_clock_skew: bool,
|
28
|
+
?defaults_mode: String,
|
29
|
+
?disable_host_prefix_injection: bool,
|
30
|
+
?disable_request_compression: bool,
|
31
|
+
?endpoint: String,
|
32
|
+
?endpoint_cache_max_entries: Integer,
|
33
|
+
?endpoint_cache_max_threads: Integer,
|
34
|
+
?endpoint_cache_poll_interval: Integer,
|
35
|
+
?endpoint_discovery: bool,
|
36
|
+
?ignore_configured_endpoint_urls: bool,
|
37
|
+
?log_formatter: untyped,
|
38
|
+
?log_level: Symbol,
|
39
|
+
?logger: untyped,
|
40
|
+
?max_attempts: Integer,
|
41
|
+
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
43
|
+
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
45
|
+
?retry_backoff: Proc,
|
46
|
+
?retry_base_delay: Float,
|
47
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
48
|
+
?retry_limit: Integer,
|
49
|
+
?retry_max_delay: Integer,
|
50
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
51
|
+
?sdk_ua_app_id: String,
|
52
|
+
?secret_access_key: String,
|
53
|
+
?session_token: String,
|
54
|
+
?sigv4a_signing_region_set: Array[String],
|
55
|
+
?stub_responses: untyped,
|
56
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
57
|
+
?token_provider: untyped,
|
58
|
+
?use_dualstack_endpoint: bool,
|
59
|
+
?use_fips_endpoint: bool,
|
60
|
+
?validate_params: bool,
|
61
|
+
?endpoint_provider: untyped,
|
62
|
+
?http_proxy: String,
|
63
|
+
?http_open_timeout: (Float | Integer),
|
64
|
+
?http_read_timeout: (Float | Integer),
|
65
|
+
?http_idle_timeout: (Float | Integer),
|
66
|
+
?http_continue_timeout: (Float | Integer),
|
67
|
+
?ssl_timeout: (Float | Integer | nil),
|
68
|
+
?http_wire_trace: bool,
|
69
|
+
?ssl_verify_peer: bool,
|
70
|
+
?ssl_ca_bundle: String,
|
71
|
+
?ssl_ca_directory: String,
|
72
|
+
?ssl_ca_store: String,
|
73
|
+
?on_chunk_received: Proc,
|
74
|
+
?on_chunk_sent: Proc,
|
75
|
+
?raise_response_errors: bool
|
76
|
+
) -> instance
|
77
|
+
| (?Hash[Symbol, untyped]) -> instance
|
78
|
+
|
79
|
+
|
80
|
+
interface _CreateIndexResponseSuccess
|
81
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateIndexOutput]
|
82
|
+
end
|
83
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Vectors/Client.html#create_index-instance_method
|
84
|
+
def create_index: (
|
85
|
+
?vector_bucket_name: ::String,
|
86
|
+
?vector_bucket_arn: ::String,
|
87
|
+
index_name: ::String,
|
88
|
+
data_type: ("float32"),
|
89
|
+
dimension: ::Integer,
|
90
|
+
distance_metric: ("euclidean" | "cosine"),
|
91
|
+
?metadata_configuration: {
|
92
|
+
non_filterable_metadata_keys: Array[::String]
|
93
|
+
}
|
94
|
+
) -> _CreateIndexResponseSuccess
|
95
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateIndexResponseSuccess
|
96
|
+
|
97
|
+
interface _CreateVectorBucketResponseSuccess
|
98
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateVectorBucketOutput]
|
99
|
+
end
|
100
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Vectors/Client.html#create_vector_bucket-instance_method
|
101
|
+
def create_vector_bucket: (
|
102
|
+
vector_bucket_name: ::String,
|
103
|
+
?encryption_configuration: {
|
104
|
+
sse_type: ("AES256" | "aws:kms")?,
|
105
|
+
kms_key_arn: ::String?
|
106
|
+
}
|
107
|
+
) -> _CreateVectorBucketResponseSuccess
|
108
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateVectorBucketResponseSuccess
|
109
|
+
|
110
|
+
interface _DeleteIndexResponseSuccess
|
111
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteIndexOutput]
|
112
|
+
end
|
113
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Vectors/Client.html#delete_index-instance_method
|
114
|
+
def delete_index: (
|
115
|
+
?vector_bucket_name: ::String,
|
116
|
+
?index_name: ::String,
|
117
|
+
?index_arn: ::String
|
118
|
+
) -> _DeleteIndexResponseSuccess
|
119
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteIndexResponseSuccess
|
120
|
+
|
121
|
+
interface _DeleteVectorBucketResponseSuccess
|
122
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteVectorBucketOutput]
|
123
|
+
end
|
124
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Vectors/Client.html#delete_vector_bucket-instance_method
|
125
|
+
def delete_vector_bucket: (
|
126
|
+
?vector_bucket_name: ::String,
|
127
|
+
?vector_bucket_arn: ::String
|
128
|
+
) -> _DeleteVectorBucketResponseSuccess
|
129
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteVectorBucketResponseSuccess
|
130
|
+
|
131
|
+
interface _DeleteVectorBucketPolicyResponseSuccess
|
132
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteVectorBucketPolicyOutput]
|
133
|
+
end
|
134
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Vectors/Client.html#delete_vector_bucket_policy-instance_method
|
135
|
+
def delete_vector_bucket_policy: (
|
136
|
+
?vector_bucket_name: ::String,
|
137
|
+
?vector_bucket_arn: ::String
|
138
|
+
) -> _DeleteVectorBucketPolicyResponseSuccess
|
139
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteVectorBucketPolicyResponseSuccess
|
140
|
+
|
141
|
+
interface _DeleteVectorsResponseSuccess
|
142
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteVectorsOutput]
|
143
|
+
end
|
144
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Vectors/Client.html#delete_vectors-instance_method
|
145
|
+
def delete_vectors: (
|
146
|
+
?vector_bucket_name: ::String,
|
147
|
+
?index_name: ::String,
|
148
|
+
?index_arn: ::String,
|
149
|
+
keys: Array[::String]
|
150
|
+
) -> _DeleteVectorsResponseSuccess
|
151
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteVectorsResponseSuccess
|
152
|
+
|
153
|
+
interface _GetIndexResponseSuccess
|
154
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetIndexOutput]
|
155
|
+
def index: () -> Types::Index
|
156
|
+
end
|
157
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Vectors/Client.html#get_index-instance_method
|
158
|
+
def get_index: (
|
159
|
+
?vector_bucket_name: ::String,
|
160
|
+
?index_name: ::String,
|
161
|
+
?index_arn: ::String
|
162
|
+
) -> _GetIndexResponseSuccess
|
163
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetIndexResponseSuccess
|
164
|
+
|
165
|
+
interface _GetVectorBucketResponseSuccess
|
166
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetVectorBucketOutput]
|
167
|
+
def vector_bucket: () -> Types::VectorBucket
|
168
|
+
end
|
169
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Vectors/Client.html#get_vector_bucket-instance_method
|
170
|
+
def get_vector_bucket: (
|
171
|
+
?vector_bucket_name: ::String,
|
172
|
+
?vector_bucket_arn: ::String
|
173
|
+
) -> _GetVectorBucketResponseSuccess
|
174
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetVectorBucketResponseSuccess
|
175
|
+
|
176
|
+
interface _GetVectorBucketPolicyResponseSuccess
|
177
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetVectorBucketPolicyOutput]
|
178
|
+
def policy: () -> ::String
|
179
|
+
end
|
180
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Vectors/Client.html#get_vector_bucket_policy-instance_method
|
181
|
+
def get_vector_bucket_policy: (
|
182
|
+
?vector_bucket_name: ::String,
|
183
|
+
?vector_bucket_arn: ::String
|
184
|
+
) -> _GetVectorBucketPolicyResponseSuccess
|
185
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetVectorBucketPolicyResponseSuccess
|
186
|
+
|
187
|
+
interface _GetVectorsResponseSuccess
|
188
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetVectorsOutput]
|
189
|
+
def vectors: () -> ::Array[Types::GetOutputVector]
|
190
|
+
end
|
191
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Vectors/Client.html#get_vectors-instance_method
|
192
|
+
def get_vectors: (
|
193
|
+
?vector_bucket_name: ::String,
|
194
|
+
?index_name: ::String,
|
195
|
+
?index_arn: ::String,
|
196
|
+
keys: Array[::String],
|
197
|
+
?return_data: bool,
|
198
|
+
?return_metadata: bool
|
199
|
+
) -> _GetVectorsResponseSuccess
|
200
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetVectorsResponseSuccess
|
201
|
+
|
202
|
+
interface _ListIndexesResponseSuccess
|
203
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListIndexesOutput]
|
204
|
+
def next_token: () -> ::String
|
205
|
+
def indexes: () -> ::Array[Types::IndexSummary]
|
206
|
+
end
|
207
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Vectors/Client.html#list_indexes-instance_method
|
208
|
+
def list_indexes: (
|
209
|
+
?vector_bucket_name: ::String,
|
210
|
+
?vector_bucket_arn: ::String,
|
211
|
+
?max_results: ::Integer,
|
212
|
+
?next_token: ::String,
|
213
|
+
?prefix: ::String
|
214
|
+
) -> _ListIndexesResponseSuccess
|
215
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListIndexesResponseSuccess
|
216
|
+
|
217
|
+
interface _ListVectorBucketsResponseSuccess
|
218
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListVectorBucketsOutput]
|
219
|
+
def next_token: () -> ::String
|
220
|
+
def vector_buckets: () -> ::Array[Types::VectorBucketSummary]
|
221
|
+
end
|
222
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Vectors/Client.html#list_vector_buckets-instance_method
|
223
|
+
def list_vector_buckets: (
|
224
|
+
?max_results: ::Integer,
|
225
|
+
?next_token: ::String,
|
226
|
+
?prefix: ::String
|
227
|
+
) -> _ListVectorBucketsResponseSuccess
|
228
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListVectorBucketsResponseSuccess
|
229
|
+
|
230
|
+
interface _ListVectorsResponseSuccess
|
231
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListVectorsOutput]
|
232
|
+
def next_token: () -> ::String
|
233
|
+
def vectors: () -> ::Array[Types::ListOutputVector]
|
234
|
+
end
|
235
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Vectors/Client.html#list_vectors-instance_method
|
236
|
+
def list_vectors: (
|
237
|
+
?vector_bucket_name: ::String,
|
238
|
+
?index_name: ::String,
|
239
|
+
?index_arn: ::String,
|
240
|
+
?max_results: ::Integer,
|
241
|
+
?next_token: ::String,
|
242
|
+
?segment_count: ::Integer,
|
243
|
+
?segment_index: ::Integer,
|
244
|
+
?return_data: bool,
|
245
|
+
?return_metadata: bool
|
246
|
+
) -> _ListVectorsResponseSuccess
|
247
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListVectorsResponseSuccess
|
248
|
+
|
249
|
+
interface _PutVectorBucketPolicyResponseSuccess
|
250
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutVectorBucketPolicyOutput]
|
251
|
+
end
|
252
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Vectors/Client.html#put_vector_bucket_policy-instance_method
|
253
|
+
def put_vector_bucket_policy: (
|
254
|
+
?vector_bucket_name: ::String,
|
255
|
+
?vector_bucket_arn: ::String,
|
256
|
+
policy: ::String
|
257
|
+
) -> _PutVectorBucketPolicyResponseSuccess
|
258
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutVectorBucketPolicyResponseSuccess
|
259
|
+
|
260
|
+
interface _PutVectorsResponseSuccess
|
261
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutVectorsOutput]
|
262
|
+
end
|
263
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Vectors/Client.html#put_vectors-instance_method
|
264
|
+
def put_vectors: (
|
265
|
+
?vector_bucket_name: ::String,
|
266
|
+
?index_name: ::String,
|
267
|
+
?index_arn: ::String,
|
268
|
+
vectors: Array[
|
269
|
+
{
|
270
|
+
key: ::String,
|
271
|
+
data: {
|
272
|
+
float32: Array[::Float]?
|
273
|
+
},
|
274
|
+
metadata: {
|
275
|
+
}?
|
276
|
+
},
|
277
|
+
]
|
278
|
+
) -> _PutVectorsResponseSuccess
|
279
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutVectorsResponseSuccess
|
280
|
+
|
281
|
+
interface _QueryVectorsResponseSuccess
|
282
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::QueryVectorsOutput]
|
283
|
+
def vectors: () -> ::Array[Types::QueryOutputVector]
|
284
|
+
end
|
285
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Vectors/Client.html#query_vectors-instance_method
|
286
|
+
def query_vectors: (
|
287
|
+
?vector_bucket_name: ::String,
|
288
|
+
?index_name: ::String,
|
289
|
+
?index_arn: ::String,
|
290
|
+
top_k: ::Integer,
|
291
|
+
query_vector: {
|
292
|
+
float32: Array[::Float]?
|
293
|
+
},
|
294
|
+
?filter: {
|
295
|
+
},
|
296
|
+
?return_metadata: bool,
|
297
|
+
?return_distance: bool
|
298
|
+
) -> _QueryVectorsResponseSuccess
|
299
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _QueryVectorsResponseSuccess
|
300
|
+
end
|
301
|
+
end
|
302
|
+
end
|
303
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,53 @@
|
|
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 Errors
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
12
|
+
end
|
13
|
+
|
14
|
+
class AccessDeniedException < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
end
|
17
|
+
class ConflictException < ::Aws::Errors::ServiceError
|
18
|
+
def message: () -> ::String
|
19
|
+
end
|
20
|
+
class InternalServerException < ::Aws::Errors::ServiceError
|
21
|
+
def message: () -> ::String
|
22
|
+
end
|
23
|
+
class KmsDisabledException < ::Aws::Errors::ServiceError
|
24
|
+
def message: () -> ::String
|
25
|
+
end
|
26
|
+
class KmsInvalidKeyUsageException < ::Aws::Errors::ServiceError
|
27
|
+
def message: () -> ::String
|
28
|
+
end
|
29
|
+
class KmsInvalidStateException < ::Aws::Errors::ServiceError
|
30
|
+
def message: () -> ::String
|
31
|
+
end
|
32
|
+
class KmsNotFoundException < ::Aws::Errors::ServiceError
|
33
|
+
def message: () -> ::String
|
34
|
+
end
|
35
|
+
class NotFoundException < ::Aws::Errors::ServiceError
|
36
|
+
def message: () -> ::String
|
37
|
+
end
|
38
|
+
class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
|
39
|
+
def message: () -> ::String
|
40
|
+
end
|
41
|
+
class ServiceUnavailableException < ::Aws::Errors::ServiceError
|
42
|
+
def message: () -> ::String
|
43
|
+
end
|
44
|
+
class TooManyRequestsException < ::Aws::Errors::ServiceError
|
45
|
+
def message: () -> ::String
|
46
|
+
end
|
47
|
+
class ValidationException < ::Aws::Errors::ServiceError
|
48
|
+
def message: () -> ::String
|
49
|
+
def field_list: () -> ::String
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
data/sig/resource.rbs
ADDED
@@ -0,0 +1,84 @@
|
|
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
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Vectors/Resource.html
|
11
|
+
class Resource
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Vectors/Resource.html#initialize-instance_method
|
13
|
+
def initialize: (
|
14
|
+
?client: Client,
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?account_id: String,
|
19
|
+
?active_endpoint_cache: bool,
|
20
|
+
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?client_side_monitoring: bool,
|
22
|
+
?client_side_monitoring_client_id: String,
|
23
|
+
?client_side_monitoring_host: String,
|
24
|
+
?client_side_monitoring_port: Integer,
|
25
|
+
?client_side_monitoring_publisher: untyped,
|
26
|
+
?convert_params: bool,
|
27
|
+
?correct_clock_skew: bool,
|
28
|
+
?defaults_mode: String,
|
29
|
+
?disable_host_prefix_injection: bool,
|
30
|
+
?disable_request_compression: bool,
|
31
|
+
?endpoint: String,
|
32
|
+
?endpoint_cache_max_entries: Integer,
|
33
|
+
?endpoint_cache_max_threads: Integer,
|
34
|
+
?endpoint_cache_poll_interval: Integer,
|
35
|
+
?endpoint_discovery: bool,
|
36
|
+
?ignore_configured_endpoint_urls: bool,
|
37
|
+
?log_formatter: untyped,
|
38
|
+
?log_level: Symbol,
|
39
|
+
?logger: untyped,
|
40
|
+
?max_attempts: Integer,
|
41
|
+
?profile: String,
|
42
|
+
?request_checksum_calculation: String,
|
43
|
+
?request_min_compression_size_bytes: Integer,
|
44
|
+
?response_checksum_validation: String,
|
45
|
+
?retry_backoff: Proc,
|
46
|
+
?retry_base_delay: Float,
|
47
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
48
|
+
?retry_limit: Integer,
|
49
|
+
?retry_max_delay: Integer,
|
50
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
51
|
+
?sdk_ua_app_id: String,
|
52
|
+
?secret_access_key: String,
|
53
|
+
?session_token: String,
|
54
|
+
?sigv4a_signing_region_set: Array[String],
|
55
|
+
?stub_responses: untyped,
|
56
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
57
|
+
?token_provider: untyped,
|
58
|
+
?use_dualstack_endpoint: bool,
|
59
|
+
?use_fips_endpoint: bool,
|
60
|
+
?validate_params: bool,
|
61
|
+
?endpoint_provider: untyped,
|
62
|
+
?http_proxy: String,
|
63
|
+
?http_open_timeout: (Float | Integer),
|
64
|
+
?http_read_timeout: (Float | Integer),
|
65
|
+
?http_idle_timeout: (Float | Integer),
|
66
|
+
?http_continue_timeout: (Float | Integer),
|
67
|
+
?ssl_timeout: (Float | Integer | nil),
|
68
|
+
?http_wire_trace: bool,
|
69
|
+
?ssl_verify_peer: bool,
|
70
|
+
?ssl_ca_bundle: String,
|
71
|
+
?ssl_ca_directory: String,
|
72
|
+
?ssl_ca_store: String,
|
73
|
+
?on_chunk_received: Proc,
|
74
|
+
?on_chunk_sent: Proc,
|
75
|
+
?raise_response_errors: bool
|
76
|
+
) -> void
|
77
|
+
| (?Hash[Symbol, untyped]) -> void
|
78
|
+
|
79
|
+
def client: () -> Client
|
80
|
+
|
81
|
+
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|