aws-sdk-s3vectors 1.7.0 → 1.8.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3vectors/client.rb +17 -3
- data/lib/aws-sdk-s3vectors/client_api.rb +23 -13
- data/lib/aws-sdk-s3vectors/errors.rb +20 -0
- data/lib/aws-sdk-s3vectors/types.rb +39 -3
- data/lib/aws-sdk-s3vectors.rb +1 -1
- data/sig/client.rbs +3 -0
- data/sig/errors.rbs +3 -0
- data/sig/types.rbs +12 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7c3ba28c8a0b809010cccb01ee326587a1db06709e5d0b66eeed0da18b7abdc8
|
|
4
|
+
data.tar.gz: 92282e5d3678a2dfa65cb7f9ff4efaca4ccdc8c0215ed5b5375a5704fe0fd5a9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 48d5b6e220c815a43c5617e96661ba57e1870e7585a5d657d16643ee9d9761a5c82183776973ffaff0f098063ddd4d41a1e15698a43bdbb8a0338d35109f129a
|
|
7
|
+
data.tar.gz: a41ea03fdc84486c07ac6678d89ef07d5df8c3f742c940c6e20284675386f5e2fb18baa3d026a2550dbb8ec1db0e69e4b1eccd3acc4b3aac6577a80075a53187
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.8.0 (2025-11-06)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Amazon S3 Vectors provides cost-effective, elastic, and durable vector storage for queries based on semantic meaning and similarity.
|
|
8
|
+
|
|
4
9
|
1.7.0 (2025-10-27)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.8.0
|
|
@@ -513,7 +513,9 @@ module Aws::S3Vectors
|
|
|
513
513
|
# @option params [Types::MetadataConfiguration] :metadata_configuration
|
|
514
514
|
# The metadata configuration for the vector index.
|
|
515
515
|
#
|
|
516
|
-
# @return [
|
|
516
|
+
# @return [Types::CreateIndexOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
517
|
+
#
|
|
518
|
+
# * {Types::CreateIndexOutput#index_arn #index_arn} => String
|
|
517
519
|
#
|
|
518
520
|
# @example Request syntax with placeholder values
|
|
519
521
|
#
|
|
@@ -529,6 +531,10 @@ module Aws::S3Vectors
|
|
|
529
531
|
# },
|
|
530
532
|
# })
|
|
531
533
|
#
|
|
534
|
+
# @example Response structure
|
|
535
|
+
#
|
|
536
|
+
# resp.index_arn #=> String
|
|
537
|
+
#
|
|
532
538
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3vectors-2025-07-15/CreateIndex AWS API Documentation
|
|
533
539
|
#
|
|
534
540
|
# @overload create_index(params = {})
|
|
@@ -561,7 +567,9 @@ module Aws::S3Vectors
|
|
|
561
567
|
# server-side encryption with Amazon S3 managed keys (SSE-S3),
|
|
562
568
|
# specifically `AES256`.
|
|
563
569
|
#
|
|
564
|
-
# @return [
|
|
570
|
+
# @return [Types::CreateVectorBucketOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
571
|
+
#
|
|
572
|
+
# * {Types::CreateVectorBucketOutput#vector_bucket_arn #vector_bucket_arn} => String
|
|
565
573
|
#
|
|
566
574
|
# @example Request syntax with placeholder values
|
|
567
575
|
#
|
|
@@ -573,6 +581,10 @@ module Aws::S3Vectors
|
|
|
573
581
|
# },
|
|
574
582
|
# })
|
|
575
583
|
#
|
|
584
|
+
# @example Response structure
|
|
585
|
+
#
|
|
586
|
+
# resp.vector_bucket_arn #=> String
|
|
587
|
+
#
|
|
576
588
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3vectors-2025-07-15/CreateVectorBucket AWS API Documentation
|
|
577
589
|
#
|
|
578
590
|
# @overload create_vector_bucket(params = {})
|
|
@@ -1430,6 +1442,7 @@ module Aws::S3Vectors
|
|
|
1430
1442
|
# @return [Types::QueryVectorsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1431
1443
|
#
|
|
1432
1444
|
# * {Types::QueryVectorsOutput#vectors #vectors} => Array<Types::QueryOutputVector>
|
|
1445
|
+
# * {Types::QueryVectorsOutput#distance_metric #distance_metric} => String
|
|
1433
1446
|
#
|
|
1434
1447
|
# @example Request syntax with placeholder values
|
|
1435
1448
|
#
|
|
@@ -1454,6 +1467,7 @@ module Aws::S3Vectors
|
|
|
1454
1467
|
# resp.vectors[0].data.float32 #=> Array
|
|
1455
1468
|
# resp.vectors[0].data.float32[0] #=> Float
|
|
1456
1469
|
# resp.vectors[0].distance #=> Float
|
|
1470
|
+
# resp.distance_metric #=> String, one of "euclidean", "cosine"
|
|
1457
1471
|
#
|
|
1458
1472
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3vectors-2025-07-15/QueryVectors AWS API Documentation
|
|
1459
1473
|
#
|
|
@@ -1482,7 +1496,7 @@ module Aws::S3Vectors
|
|
|
1482
1496
|
tracer: tracer
|
|
1483
1497
|
)
|
|
1484
1498
|
context[:gem_name] = 'aws-sdk-s3vectors'
|
|
1485
|
-
context[:gem_version] = '1.
|
|
1499
|
+
context[:gem_version] = '1.8.0'
|
|
1486
1500
|
Seahorse::Client::Request.new(handlers, context)
|
|
1487
1501
|
end
|
|
1488
1502
|
|
|
@@ -93,6 +93,7 @@ module Aws::S3Vectors
|
|
|
93
93
|
QueryVectorsInput = Shapes::StructureShape.new(name: 'QueryVectorsInput')
|
|
94
94
|
QueryVectorsOutput = Shapes::StructureShape.new(name: 'QueryVectorsOutput')
|
|
95
95
|
QueryVectorsOutputList = Shapes::ListShape.new(name: 'QueryVectorsOutputList')
|
|
96
|
+
RequestTimeoutException = Shapes::StructureShape.new(name: 'RequestTimeoutException')
|
|
96
97
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
|
97
98
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
|
98
99
|
SseType = Shapes::StringShape.new(name: 'SseType')
|
|
@@ -127,12 +128,14 @@ module Aws::S3Vectors
|
|
|
127
128
|
CreateIndexInput.add_member(:metadata_configuration, Shapes::ShapeRef.new(shape: MetadataConfiguration, location_name: "metadataConfiguration"))
|
|
128
129
|
CreateIndexInput.struct_class = Types::CreateIndexInput
|
|
129
130
|
|
|
131
|
+
CreateIndexOutput.add_member(:index_arn, Shapes::ShapeRef.new(shape: IndexArn, required: true, location_name: "indexArn"))
|
|
130
132
|
CreateIndexOutput.struct_class = Types::CreateIndexOutput
|
|
131
133
|
|
|
132
134
|
CreateVectorBucketInput.add_member(:vector_bucket_name, Shapes::ShapeRef.new(shape: VectorBucketName, required: true, location_name: "vectorBucketName"))
|
|
133
135
|
CreateVectorBucketInput.add_member(:encryption_configuration, Shapes::ShapeRef.new(shape: EncryptionConfiguration, location_name: "encryptionConfiguration"))
|
|
134
136
|
CreateVectorBucketInput.struct_class = Types::CreateVectorBucketInput
|
|
135
137
|
|
|
138
|
+
CreateVectorBucketOutput.add_member(:vector_bucket_arn, Shapes::ShapeRef.new(shape: VectorBucketArn, required: true, location_name: "vectorBucketArn"))
|
|
136
139
|
CreateVectorBucketOutput.struct_class = Types::CreateVectorBucketOutput
|
|
137
140
|
|
|
138
141
|
DeleteIndexInput.add_member(:vector_bucket_name, Shapes::ShapeRef.new(shape: VectorBucketName, location_name: "vectorBucketName"))
|
|
@@ -336,10 +339,14 @@ module Aws::S3Vectors
|
|
|
336
339
|
QueryVectorsInput.struct_class = Types::QueryVectorsInput
|
|
337
340
|
|
|
338
341
|
QueryVectorsOutput.add_member(:vectors, Shapes::ShapeRef.new(shape: QueryVectorsOutputList, required: true, location_name: "vectors"))
|
|
342
|
+
QueryVectorsOutput.add_member(:distance_metric, Shapes::ShapeRef.new(shape: DistanceMetric, required: true, location_name: "distanceMetric"))
|
|
339
343
|
QueryVectorsOutput.struct_class = Types::QueryVectorsOutput
|
|
340
344
|
|
|
341
345
|
QueryVectorsOutputList.member = Shapes::ShapeRef.new(shape: QueryOutputVector)
|
|
342
346
|
|
|
347
|
+
RequestTimeoutException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, required: true, location_name: "message"))
|
|
348
|
+
RequestTimeoutException.struct_class = Types::RequestTimeoutException
|
|
349
|
+
|
|
343
350
|
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, required: true, location_name: "message"))
|
|
344
351
|
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
|
345
352
|
|
|
@@ -406,6 +413,7 @@ module Aws::S3Vectors
|
|
|
406
413
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
407
414
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
408
415
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
416
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestTimeoutException)
|
|
409
417
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
410
418
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
411
419
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
@@ -422,6 +430,7 @@ module Aws::S3Vectors
|
|
|
422
430
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
423
431
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
424
432
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
433
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestTimeoutException)
|
|
425
434
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
426
435
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
427
436
|
end)
|
|
@@ -437,7 +446,7 @@ module Aws::S3Vectors
|
|
|
437
446
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
438
447
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
439
448
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
440
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
|
449
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestTimeoutException)
|
|
441
450
|
end)
|
|
442
451
|
|
|
443
452
|
api.add_operation(:delete_vector_bucket, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -451,8 +460,8 @@ module Aws::S3Vectors
|
|
|
451
460
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
452
461
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
453
462
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
463
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestTimeoutException)
|
|
454
464
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
455
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
456
465
|
end)
|
|
457
466
|
|
|
458
467
|
api.add_operation(:delete_vector_bucket_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -466,8 +475,8 @@ module Aws::S3Vectors
|
|
|
466
475
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
467
476
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
468
477
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
478
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestTimeoutException)
|
|
469
479
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
470
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
471
480
|
end)
|
|
472
481
|
|
|
473
482
|
api.add_operation(:delete_vectors, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -484,8 +493,8 @@ module Aws::S3Vectors
|
|
|
484
493
|
o.errors << Shapes::ShapeRef.new(shape: KmsInvalidStateException)
|
|
485
494
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
486
495
|
o.errors << Shapes::ShapeRef.new(shape: KmsNotFoundException)
|
|
496
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestTimeoutException)
|
|
487
497
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
488
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
489
498
|
o.errors << Shapes::ShapeRef.new(shape: KmsDisabledException)
|
|
490
499
|
end)
|
|
491
500
|
|
|
@@ -500,8 +509,8 @@ module Aws::S3Vectors
|
|
|
500
509
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
501
510
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
502
511
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
512
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestTimeoutException)
|
|
503
513
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
504
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
505
514
|
end)
|
|
506
515
|
|
|
507
516
|
api.add_operation(:get_vector_bucket, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -515,8 +524,8 @@ module Aws::S3Vectors
|
|
|
515
524
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
516
525
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
517
526
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
527
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestTimeoutException)
|
|
518
528
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
519
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
520
529
|
end)
|
|
521
530
|
|
|
522
531
|
api.add_operation(:get_vector_bucket_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -530,8 +539,8 @@ module Aws::S3Vectors
|
|
|
530
539
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
531
540
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
532
541
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
542
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestTimeoutException)
|
|
533
543
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
534
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
535
544
|
end)
|
|
536
545
|
|
|
537
546
|
api.add_operation(:get_vectors, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -548,8 +557,8 @@ module Aws::S3Vectors
|
|
|
548
557
|
o.errors << Shapes::ShapeRef.new(shape: KmsInvalidStateException)
|
|
549
558
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
550
559
|
o.errors << Shapes::ShapeRef.new(shape: KmsNotFoundException)
|
|
560
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestTimeoutException)
|
|
551
561
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
552
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
553
562
|
o.errors << Shapes::ShapeRef.new(shape: KmsDisabledException)
|
|
554
563
|
end)
|
|
555
564
|
|
|
@@ -564,8 +573,8 @@ module Aws::S3Vectors
|
|
|
564
573
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
565
574
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
566
575
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
576
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestTimeoutException)
|
|
567
577
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
568
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
569
578
|
o[:pager] = Aws::Pager.new(
|
|
570
579
|
limit_key: "max_results",
|
|
571
580
|
tokens: {
|
|
@@ -585,7 +594,7 @@ module Aws::S3Vectors
|
|
|
585
594
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
586
595
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
587
596
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
588
|
-
o.errors << Shapes::ShapeRef.new(shape:
|
|
597
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestTimeoutException)
|
|
589
598
|
o[:pager] = Aws::Pager.new(
|
|
590
599
|
limit_key: "max_results",
|
|
591
600
|
tokens: {
|
|
@@ -605,8 +614,8 @@ module Aws::S3Vectors
|
|
|
605
614
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
606
615
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
607
616
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
617
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestTimeoutException)
|
|
608
618
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
609
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
610
619
|
o[:pager] = Aws::Pager.new(
|
|
611
620
|
limit_key: "max_results",
|
|
612
621
|
tokens: {
|
|
@@ -626,8 +635,8 @@ module Aws::S3Vectors
|
|
|
626
635
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
627
636
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
628
637
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
638
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestTimeoutException)
|
|
629
639
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
630
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
631
640
|
end)
|
|
632
641
|
|
|
633
642
|
api.add_operation(:put_vectors, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -644,6 +653,7 @@ module Aws::S3Vectors
|
|
|
644
653
|
o.errors << Shapes::ShapeRef.new(shape: KmsInvalidStateException)
|
|
645
654
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
646
655
|
o.errors << Shapes::ShapeRef.new(shape: KmsNotFoundException)
|
|
656
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestTimeoutException)
|
|
647
657
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
648
658
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
649
659
|
o.errors << Shapes::ShapeRef.new(shape: KmsDisabledException)
|
|
@@ -663,8 +673,8 @@ module Aws::S3Vectors
|
|
|
663
673
|
o.errors << Shapes::ShapeRef.new(shape: KmsInvalidStateException)
|
|
664
674
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
665
675
|
o.errors << Shapes::ShapeRef.new(shape: KmsNotFoundException)
|
|
676
|
+
o.errors << Shapes::ShapeRef.new(shape: RequestTimeoutException)
|
|
666
677
|
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
667
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
668
678
|
o.errors << Shapes::ShapeRef.new(shape: KmsDisabledException)
|
|
669
679
|
end)
|
|
670
680
|
end
|
|
@@ -35,6 +35,7 @@ module Aws::S3Vectors
|
|
|
35
35
|
# * {KmsInvalidStateException}
|
|
36
36
|
# * {KmsNotFoundException}
|
|
37
37
|
# * {NotFoundException}
|
|
38
|
+
# * {RequestTimeoutException}
|
|
38
39
|
# * {ServiceQuotaExceededException}
|
|
39
40
|
# * {ServiceUnavailableException}
|
|
40
41
|
# * {TooManyRequestsException}
|
|
@@ -170,6 +171,25 @@ module Aws::S3Vectors
|
|
|
170
171
|
end
|
|
171
172
|
end
|
|
172
173
|
|
|
174
|
+
class RequestTimeoutException < ServiceError
|
|
175
|
+
|
|
176
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
177
|
+
# @param [String] message
|
|
178
|
+
# @param [Aws::S3Vectors::Types::RequestTimeoutException] data
|
|
179
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
180
|
+
super(context, message, data)
|
|
181
|
+
end
|
|
182
|
+
|
|
183
|
+
# @return [String]
|
|
184
|
+
def message
|
|
185
|
+
@message || @data[:message]
|
|
186
|
+
end
|
|
187
|
+
|
|
188
|
+
def retryable?
|
|
189
|
+
true
|
|
190
|
+
end
|
|
191
|
+
end
|
|
192
|
+
|
|
173
193
|
class ServiceQuotaExceededException < ServiceError
|
|
174
194
|
|
|
175
195
|
# @param [Seahorse::Client::RequestContext] context
|
|
@@ -83,9 +83,17 @@ module Aws::S3Vectors
|
|
|
83
83
|
include Aws::Structure
|
|
84
84
|
end
|
|
85
85
|
|
|
86
|
+
# @!attribute [rw] index_arn
|
|
87
|
+
# The Amazon Resource Name (ARN) of the newly created vector index.
|
|
88
|
+
# @return [String]
|
|
89
|
+
#
|
|
86
90
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3vectors-2025-07-15/CreateIndexOutput AWS API Documentation
|
|
87
91
|
#
|
|
88
|
-
class CreateIndexOutput <
|
|
92
|
+
class CreateIndexOutput < Struct.new(
|
|
93
|
+
:index_arn)
|
|
94
|
+
SENSITIVE = []
|
|
95
|
+
include Aws::Structure
|
|
96
|
+
end
|
|
89
97
|
|
|
90
98
|
# @!attribute [rw] vector_bucket_name
|
|
91
99
|
# The name of the vector bucket to create.
|
|
@@ -107,9 +115,17 @@ module Aws::S3Vectors
|
|
|
107
115
|
include Aws::Structure
|
|
108
116
|
end
|
|
109
117
|
|
|
118
|
+
# @!attribute [rw] vector_bucket_arn
|
|
119
|
+
# The Amazon Resource Name (ARN) of the newly created vector bucket.
|
|
120
|
+
# @return [String]
|
|
121
|
+
#
|
|
110
122
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3vectors-2025-07-15/CreateVectorBucketOutput AWS API Documentation
|
|
111
123
|
#
|
|
112
|
-
class CreateVectorBucketOutput <
|
|
124
|
+
class CreateVectorBucketOutput < Struct.new(
|
|
125
|
+
:vector_bucket_arn)
|
|
126
|
+
SENSITIVE = []
|
|
127
|
+
include Aws::Structure
|
|
128
|
+
end
|
|
113
129
|
|
|
114
130
|
# @!attribute [rw] vector_bucket_name
|
|
115
131
|
# The name of the vector bucket that contains the vector index.
|
|
@@ -1082,10 +1098,30 @@ module Aws::S3Vectors
|
|
|
1082
1098
|
# The vectors in the approximate nearest neighbor search.
|
|
1083
1099
|
# @return [Array<Types::QueryOutputVector>]
|
|
1084
1100
|
#
|
|
1101
|
+
# @!attribute [rw] distance_metric
|
|
1102
|
+
# The distance metric that was used for the similarity search
|
|
1103
|
+
# calculation. This is the same distance metric that was configured
|
|
1104
|
+
# for the vector index when it was created.
|
|
1105
|
+
# @return [String]
|
|
1106
|
+
#
|
|
1085
1107
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3vectors-2025-07-15/QueryVectorsOutput AWS API Documentation
|
|
1086
1108
|
#
|
|
1087
1109
|
class QueryVectorsOutput < Struct.new(
|
|
1088
|
-
:vectors
|
|
1110
|
+
:vectors,
|
|
1111
|
+
:distance_metric)
|
|
1112
|
+
SENSITIVE = []
|
|
1113
|
+
include Aws::Structure
|
|
1114
|
+
end
|
|
1115
|
+
|
|
1116
|
+
# The request timed out. Retry your request.
|
|
1117
|
+
#
|
|
1118
|
+
# @!attribute [rw] message
|
|
1119
|
+
# @return [String]
|
|
1120
|
+
#
|
|
1121
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3vectors-2025-07-15/RequestTimeoutException AWS API Documentation
|
|
1122
|
+
#
|
|
1123
|
+
class RequestTimeoutException < Struct.new(
|
|
1124
|
+
:message)
|
|
1089
1125
|
SENSITIVE = []
|
|
1090
1126
|
include Aws::Structure
|
|
1091
1127
|
end
|
data/lib/aws-sdk-s3vectors.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -80,6 +80,7 @@ module Aws
|
|
|
80
80
|
|
|
81
81
|
interface _CreateIndexResponseSuccess
|
|
82
82
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateIndexOutput]
|
|
83
|
+
def index_arn: () -> ::String
|
|
83
84
|
end
|
|
84
85
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Vectors/Client.html#create_index-instance_method
|
|
85
86
|
def create_index: (
|
|
@@ -97,6 +98,7 @@ module Aws
|
|
|
97
98
|
|
|
98
99
|
interface _CreateVectorBucketResponseSuccess
|
|
99
100
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateVectorBucketOutput]
|
|
101
|
+
def vector_bucket_arn: () -> ::String
|
|
100
102
|
end
|
|
101
103
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Vectors/Client.html#create_vector_bucket-instance_method
|
|
102
104
|
def create_vector_bucket: (
|
|
@@ -282,6 +284,7 @@ module Aws
|
|
|
282
284
|
interface _QueryVectorsResponseSuccess
|
|
283
285
|
include ::Seahorse::Client::_ResponseSuccess[Types::QueryVectorsOutput]
|
|
284
286
|
def vectors: () -> ::Array[Types::QueryOutputVector]
|
|
287
|
+
def distance_metric: () -> ("euclidean" | "cosine")
|
|
285
288
|
end
|
|
286
289
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3Vectors/Client.html#query_vectors-instance_method
|
|
287
290
|
def query_vectors: (
|
data/sig/errors.rbs
CHANGED
|
@@ -35,6 +35,9 @@ module Aws
|
|
|
35
35
|
class NotFoundException < ::Aws::Errors::ServiceError
|
|
36
36
|
def message: () -> ::String
|
|
37
37
|
end
|
|
38
|
+
class RequestTimeoutException < ::Aws::Errors::ServiceError
|
|
39
|
+
def message: () -> ::String
|
|
40
|
+
end
|
|
38
41
|
class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
|
|
39
42
|
def message: () -> ::String
|
|
40
43
|
end
|
data/sig/types.rbs
CHANGED
|
@@ -29,7 +29,9 @@ module Aws::S3Vectors
|
|
|
29
29
|
SENSITIVE: []
|
|
30
30
|
end
|
|
31
31
|
|
|
32
|
-
class CreateIndexOutput
|
|
32
|
+
class CreateIndexOutput
|
|
33
|
+
attr_accessor index_arn: ::String
|
|
34
|
+
SENSITIVE: []
|
|
33
35
|
end
|
|
34
36
|
|
|
35
37
|
class CreateVectorBucketInput
|
|
@@ -38,7 +40,9 @@ module Aws::S3Vectors
|
|
|
38
40
|
SENSITIVE: []
|
|
39
41
|
end
|
|
40
42
|
|
|
41
|
-
class CreateVectorBucketOutput
|
|
43
|
+
class CreateVectorBucketOutput
|
|
44
|
+
attr_accessor vector_bucket_arn: ::String
|
|
45
|
+
SENSITIVE: []
|
|
42
46
|
end
|
|
43
47
|
|
|
44
48
|
class DeleteIndexInput
|
|
@@ -301,6 +305,12 @@ module Aws::S3Vectors
|
|
|
301
305
|
|
|
302
306
|
class QueryVectorsOutput
|
|
303
307
|
attr_accessor vectors: ::Array[Types::QueryOutputVector]
|
|
308
|
+
attr_accessor distance_metric: ("euclidean" | "cosine")
|
|
309
|
+
SENSITIVE: []
|
|
310
|
+
end
|
|
311
|
+
|
|
312
|
+
class RequestTimeoutException
|
|
313
|
+
attr_accessor message: ::String
|
|
304
314
|
SENSITIVE: []
|
|
305
315
|
end
|
|
306
316
|
|