aws-sdk-s3vectors 1.17.0 → 1.19.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1ebc8caad8760e7ea214aef4a1eafaed66e7871f2b5d15a7b96409099bcb8e49
4
- data.tar.gz: 873a90a87bccfb1203825821e3d8857ce77d41e17d0602b59254f938f5525b78
3
+ metadata.gz: 66dbab11fe12e205a602fdacf3714961db1e7330354802e1d9393f244d223e8d
4
+ data.tar.gz: 9d46dd951ea73e45c9fb997674d753b2f74fad43d554e7639ff8f232e3bdcc76
5
5
  SHA512:
6
- metadata.gz: 28bfcaf3a0ecc19c9ead2d20bc3b907caf153f87c23fda8d19cb7781eaa6435cd346e57850b95b18393062f634900c574d4a01dc988c2757ca88e8d764fc8496
7
- data.tar.gz: b21cb29b858d688f25c10726b9c1d279ee2bbb802df68206180a4d0ab50a287c6df17fb185b0cffe1ac6d747882faad8ed3fed43b67bea740e628dab57a0f2bc
6
+ metadata.gz: 22164c2ed055d8740ba18a8eb9062bdfdba08d49fab55779926bc29db7181d20c7345e070580f1f5b0eb6bc9399ad0865d4d8ebbeb740a961a085716ac00fbe9
7
+ data.tar.gz: 2c4b84e7911377681d22be1c9ee4269f63dd454f2389984660863bfb429e1960e5de17de258b47fa032bb4eec400d207f5f7f146d0373da130118f5cbf20bf72
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.19.0 (2026-06-16)
5
+ ------------------
6
+
7
+ * Feature - Amazon S3 Vectors now supports paginated QueryVectors requests, returning up to 10,000 results per query.
8
+
9
+ 1.18.0 (2026-05-22)
10
+ ------------------
11
+
12
+ * Feature - Adding new BDD representation of endpoint ruleset
13
+
4
14
  1.17.0 (2026-05-21)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.17.0
1
+ 1.19.0
@@ -1378,8 +1378,8 @@ module Aws::S3Vectors
1378
1378
  # Performs an approximate nearest neighbor search query in a vector
1379
1379
  # index using a query vector. By default, it returns the keys of
1380
1380
  # approximate nearest neighbors. You can optionally include the computed
1381
- # distance (between the query vector and each vector in the response),
1382
- # the vector data, and metadata of each vector in the response.
1381
+ # distance (between the query vector and each vector in the response)
1382
+ # and metadata of each vector in the response.
1383
1383
  #
1384
1384
  # To specify the vector index, you can either use both the vector bucket
1385
1385
  # name and the vector index name, or use the vector index Amazon
@@ -1395,14 +1395,14 @@ module Aws::S3Vectors
1395
1395
  # vector keys of approximate nearest neighbors and computed
1396
1396
  # distances between these vectors. This permission is sufficient
1397
1397
  # only when you don't set any metadata filters and don't request
1398
- # vector data or metadata (by keeping the `returnMetadata` parameter
1399
- # set to `false` or not specified).
1398
+ # metadata (by keeping the `returnMetadata` parameter set to `false`
1399
+ # or not specified).
1400
1400
  #
1401
1401
  # * If you specify a metadata filter or set `returnMetadata` to true,
1402
1402
  # you must have both `s3vectors:QueryVectors` and
1403
1403
  # `s3vectors:GetVectors` permissions. The request fails with a `403
1404
- # Forbidden error` if you request metadata filtering, vector data,
1405
- # or metadata without the `s3vectors:GetVectors` permission.
1404
+ # Forbidden error` if you request metadata filtering or metadata
1405
+ # without the `s3vectors:GetVectors` permission.
1406
1406
  #
1407
1407
  # @option params [String] :vector_bucket_name
1408
1408
  # The name of the vector bucket that contains the vector index.
@@ -1444,10 +1444,17 @@ module Aws::S3Vectors
1444
1444
  # Indicates whether to include the computed distance in the response.
1445
1445
  # The default value is `false`.
1446
1446
  #
1447
+ # @option params [String] :next_token
1448
+ # Pagination token from a previous request. The value of this field is
1449
+ # empty for an initial request.
1450
+ #
1447
1451
  # @return [Types::QueryVectorsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1448
1452
  #
1449
1453
  # * {Types::QueryVectorsOutput#vectors #vectors} => Array<Types::QueryOutputVector>
1450
1454
  # * {Types::QueryVectorsOutput#distance_metric #distance_metric} => String
1455
+ # * {Types::QueryVectorsOutput#next_token #next_token} => String
1456
+ #
1457
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1451
1458
  #
1452
1459
  # @example Request syntax with placeholder values
1453
1460
  #
@@ -1463,6 +1470,7 @@ module Aws::S3Vectors
1463
1470
  # },
1464
1471
  # return_metadata: false,
1465
1472
  # return_distance: false,
1473
+ # next_token: "QueryVectorsNextToken",
1466
1474
  # })
1467
1475
  #
1468
1476
  # @example Response structure
@@ -1471,6 +1479,7 @@ module Aws::S3Vectors
1471
1479
  # resp.vectors[0].distance #=> Float
1472
1480
  # resp.vectors[0].key #=> String
1473
1481
  # resp.distance_metric #=> String, one of "euclidean", "cosine"
1482
+ # resp.next_token #=> String
1474
1483
  #
1475
1484
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3vectors-2025-07-15/QueryVectors AWS API Documentation
1476
1485
  #
@@ -1601,7 +1610,7 @@ module Aws::S3Vectors
1601
1610
  tracer: tracer
1602
1611
  )
1603
1612
  context[:gem_name] = 'aws-sdk-s3vectors'
1604
- context[:gem_version] = '1.17.0'
1613
+ context[:gem_version] = '1.19.0'
1605
1614
  Seahorse::Client::Request.new(handlers, context)
1606
1615
  end
1607
1616
 
@@ -93,6 +93,7 @@ module Aws::S3Vectors
93
93
  PutVectorsOutput = Shapes::StructureShape.new(name: 'PutVectorsOutput')
94
94
  QueryOutputVector = Shapes::StructureShape.new(name: 'QueryOutputVector')
95
95
  QueryVectorsInput = Shapes::StructureShape.new(name: 'QueryVectorsInput')
96
+ QueryVectorsNextToken = Shapes::StringShape.new(name: 'QueryVectorsNextToken')
96
97
  QueryVectorsOutput = Shapes::StructureShape.new(name: 'QueryVectorsOutput')
97
98
  QueryVectorsOutputList = Shapes::ListShape.new(name: 'QueryVectorsOutputList')
98
99
  RequestTimeoutException = Shapes::StructureShape.new(name: 'RequestTimeoutException')
@@ -356,10 +357,12 @@ module Aws::S3Vectors
356
357
  QueryVectorsInput.add_member(:filter, Shapes::ShapeRef.new(shape: Document, location_name: "filter"))
357
358
  QueryVectorsInput.add_member(:return_metadata, Shapes::ShapeRef.new(shape: Boolean, location_name: "returnMetadata"))
358
359
  QueryVectorsInput.add_member(:return_distance, Shapes::ShapeRef.new(shape: Boolean, location_name: "returnDistance"))
360
+ QueryVectorsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: QueryVectorsNextToken, location_name: "nextToken"))
359
361
  QueryVectorsInput.struct_class = Types::QueryVectorsInput
360
362
 
361
363
  QueryVectorsOutput.add_member(:vectors, Shapes::ShapeRef.new(shape: QueryVectorsOutputList, required: true, location_name: "vectors"))
362
364
  QueryVectorsOutput.add_member(:distance_metric, Shapes::ShapeRef.new(shape: DistanceMetric, required: true, location_name: "distanceMetric"))
365
+ QueryVectorsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: QueryVectorsNextToken, location_name: "nextToken"))
363
366
  QueryVectorsOutput.struct_class = Types::QueryVectorsOutput
364
367
 
365
368
  QueryVectorsOutputList.member = Shapes::ShapeRef.new(shape: QueryOutputVector)
@@ -730,6 +733,11 @@ module Aws::S3Vectors
730
733
  o.errors << Shapes::ShapeRef.new(shape: RequestTimeoutException)
731
734
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
732
735
  o.errors << Shapes::ShapeRef.new(shape: KmsDisabledException)
736
+ o[:pager] = Aws::Pager.new(
737
+ tokens: {
738
+ "next_token" => "next_token"
739
+ }
740
+ )
733
741
  end)
734
742
 
735
743
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -1112,6 +1112,11 @@ module Aws::S3Vectors
1112
1112
  # The default value is `false`.
1113
1113
  # @return [Boolean]
1114
1114
  #
1115
+ # @!attribute [rw] next_token
1116
+ # Pagination token from a previous request. The value of this field is
1117
+ # empty for an initial request.
1118
+ # @return [String]
1119
+ #
1115
1120
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3vectors-2025-07-15/QueryVectorsInput AWS API Documentation
1116
1121
  #
1117
1122
  class QueryVectorsInput < Struct.new(
@@ -1122,7 +1127,8 @@ module Aws::S3Vectors
1122
1127
  :query_vector,
1123
1128
  :filter,
1124
1129
  :return_metadata,
1125
- :return_distance)
1130
+ :return_distance,
1131
+ :next_token)
1126
1132
  SENSITIVE = []
1127
1133
  include Aws::Structure
1128
1134
  end
@@ -1137,11 +1143,17 @@ module Aws::S3Vectors
1137
1143
  # for the vector index when it was created.
1138
1144
  # @return [String]
1139
1145
  #
1146
+ # @!attribute [rw] next_token
1147
+ # Pagination token to be used in the subsequent page request. The
1148
+ # field is empty if no further pagination is required.
1149
+ # @return [String]
1150
+ #
1140
1151
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3vectors-2025-07-15/QueryVectorsOutput AWS API Documentation
1141
1152
  #
1142
1153
  class QueryVectorsOutput < Struct.new(
1143
1154
  :vectors,
1144
- :distance_metric)
1155
+ :distance_metric,
1156
+ :next_token)
1145
1157
  SENSITIVE = []
1146
1158
  include Aws::Structure
1147
1159
  end
@@ -55,7 +55,7 @@ module Aws::S3Vectors
55
55
  autoload :EndpointProvider, 'aws-sdk-s3vectors/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-s3vectors/endpoints'
57
57
 
58
- GEM_VERSION = '1.17.0'
58
+ GEM_VERSION = '1.19.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -301,6 +301,7 @@ module Aws
301
301
  include ::Seahorse::Client::_ResponseSuccess[Types::QueryVectorsOutput]
302
302
  def vectors: () -> ::Array[Types::QueryOutputVector]
303
303
  def distance_metric: () -> ("euclidean" | "cosine")
304
+ def next_token: () -> ::String
304
305
  end
305
306
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Vectors/Client.html#query_vectors-instance_method
306
307
  def query_vectors: (
@@ -314,7 +315,8 @@ module Aws
314
315
  ?filter: {
315
316
  },
316
317
  ?return_metadata: bool,
317
- ?return_distance: bool
318
+ ?return_distance: bool,
319
+ ?next_token: ::String
318
320
  ) -> _QueryVectorsResponseSuccess
319
321
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _QueryVectorsResponseSuccess
320
322
 
data/sig/types.rbs CHANGED
@@ -313,12 +313,14 @@ module Aws::S3Vectors
313
313
  attr_accessor filter: untyped
314
314
  attr_accessor return_metadata: bool
315
315
  attr_accessor return_distance: bool
316
+ attr_accessor next_token: ::String
316
317
  SENSITIVE: []
317
318
  end
318
319
 
319
320
  class QueryVectorsOutput
320
321
  attr_accessor vectors: ::Array[Types::QueryOutputVector]
321
322
  attr_accessor distance_metric: ("euclidean" | "cosine")
323
+ attr_accessor next_token: ::String
322
324
  SENSITIVE: []
323
325
  end
324
326
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-s3vectors
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.17.0
4
+ version: 1.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services