Skip to content

Commit cb2626e

Browse files
author
awstools
committed
feat(client-s3vectors): Amazon S3 Vectors provides cost-effective, elastic, and durable vector storage for queries based on semantic meaning and similarity.
1 parent 595167c commit cb2626e

19 files changed

+181
-43
lines changed

clients/client-s3vectors/src/commands/CreateIndexCommand.ts

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ export interface CreateIndexCommandOutput extends CreateIndexOutput, __MetadataB
5252
* };
5353
* const command = new CreateIndexCommand(input);
5454
* const response = await client.send(command);
55-
* // {};
55+
* // { // CreateIndexOutput
56+
* // indexArn: "STRING_VALUE", // required
57+
* // };
5658
*
5759
* ```
5860
*
@@ -68,6 +70,9 @@ export interface CreateIndexCommandOutput extends CreateIndexOutput, __MetadataB
6870
* @throws {@link NotFoundException} (client fault)
6971
* <p>The request was rejected because the specified resource can't be found.</p>
7072
*
73+
* @throws {@link ServiceQuotaExceededException} (client fault)
74+
* <p>Your request exceeds a service quota. </p>
75+
*
7176
* @throws {@link ServiceUnavailableException} (server fault)
7277
* <p>The service is unavailable. Wait briefly and retry your request. If it continues to fail, increase your waiting time between retries.</p>
7378
*
@@ -77,8 +82,8 @@ export interface CreateIndexCommandOutput extends CreateIndexOutput, __MetadataB
7782
* @throws {@link InternalServerException} (server fault)
7883
* <p>The request failed due to an internal server error.</p>
7984
*
80-
* @throws {@link ServiceQuotaExceededException} (client fault)
81-
* <p>Your request exceeds a service quota. </p>
85+
* @throws {@link RequestTimeoutException} (client fault)
86+
* <p>The request timed out. Retry your request.</p>
8287
*
8388
* @throws {@link TooManyRequestsException} (client fault)
8489
* <p>The request was denied due to request throttling.</p>
@@ -117,7 +122,7 @@ export class CreateIndexCommand extends $Command
117122
protected declare static __types: {
118123
api: {
119124
input: CreateIndexInput;
120-
output: {};
125+
output: CreateIndexOutput;
121126
};
122127
sdk: {
123128
input: CreateIndexCommandInput;

clients/client-s3vectors/src/commands/CreateVectorBucketCommand.ts

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ export interface CreateVectorBucketCommandOutput extends CreateVectorBucketOutpu
4646
* };
4747
* const command = new CreateVectorBucketCommand(input);
4848
* const response = await client.send(command);
49-
* // {};
49+
* // { // CreateVectorBucketOutput
50+
* // vectorBucketArn: "STRING_VALUE", // required
51+
* // };
5052
*
5153
* ```
5254
*
@@ -59,6 +61,9 @@ export interface CreateVectorBucketCommandOutput extends CreateVectorBucketOutpu
5961
* @throws {@link ConflictException} (client fault)
6062
* <p>The request failed because a vector bucket name or a vector index name already exists. Vector bucket names must be unique within your Amazon Web Services account for each Amazon Web Services Region. Vector index names must be unique within your vector bucket. Choose a different vector bucket name or vector index name, and try again.</p>
6163
*
64+
* @throws {@link ServiceQuotaExceededException} (client fault)
65+
* <p>Your request exceeds a service quota. </p>
66+
*
6267
* @throws {@link ServiceUnavailableException} (server fault)
6368
* <p>The service is unavailable. Wait briefly and retry your request. If it continues to fail, increase your waiting time between retries.</p>
6469
*
@@ -68,8 +73,8 @@ export interface CreateVectorBucketCommandOutput extends CreateVectorBucketOutpu
6873
* @throws {@link InternalServerException} (server fault)
6974
* <p>The request failed due to an internal server error.</p>
7075
*
71-
* @throws {@link ServiceQuotaExceededException} (client fault)
72-
* <p>Your request exceeds a service quota. </p>
76+
* @throws {@link RequestTimeoutException} (client fault)
77+
* <p>The request timed out. Retry your request.</p>
7378
*
7479
* @throws {@link TooManyRequestsException} (client fault)
7580
* <p>The request was denied due to request throttling.</p>
@@ -108,7 +113,7 @@ export class CreateVectorBucketCommand extends $Command
108113
protected declare static __types: {
109114
api: {
110115
input: CreateVectorBucketInput;
111-
output: {};
116+
output: CreateVectorBucketOutput;
112117
};
113118
sdk: {
114119
input: CreateVectorBucketCommandInput;

clients/client-s3vectors/src/commands/DeleteIndexCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ export interface DeleteIndexCommandOutput extends DeleteIndexOutput, __MetadataB
6363
* @throws {@link InternalServerException} (server fault)
6464
* <p>The request failed due to an internal server error.</p>
6565
*
66-
* @throws {@link ServiceQuotaExceededException} (client fault)
67-
* <p>Your request exceeds a service quota. </p>
66+
* @throws {@link RequestTimeoutException} (client fault)
67+
* <p>The request timed out. Retry your request.</p>
6868
*
6969
* @throws {@link TooManyRequestsException} (client fault)
7070
* <p>The request was denied due to request throttling.</p>

clients/client-s3vectors/src/commands/DeleteVectorBucketCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ export interface DeleteVectorBucketCommandOutput extends DeleteVectorBucketOutpu
6565
* @throws {@link InternalServerException} (server fault)
6666
* <p>The request failed due to an internal server error.</p>
6767
*
68-
* @throws {@link ServiceQuotaExceededException} (client fault)
69-
* <p>Your request exceeds a service quota. </p>
68+
* @throws {@link RequestTimeoutException} (client fault)
69+
* <p>The request timed out. Retry your request.</p>
7070
*
7171
* @throws {@link TooManyRequestsException} (client fault)
7272
* <p>The request was denied due to request throttling.</p>

clients/client-s3vectors/src/commands/DeleteVectorBucketPolicyCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ export interface DeleteVectorBucketPolicyCommandOutput extends DeleteVectorBucke
6565
* @throws {@link InternalServerException} (server fault)
6666
* <p>The request failed due to an internal server error.</p>
6767
*
68-
* @throws {@link ServiceQuotaExceededException} (client fault)
69-
* <p>Your request exceeds a service quota. </p>
68+
* @throws {@link RequestTimeoutException} (client fault)
69+
* <p>The request timed out. Retry your request.</p>
7070
*
7171
* @throws {@link TooManyRequestsException} (client fault)
7272
* <p>The request was denied due to request throttling.</p>

clients/client-s3vectors/src/commands/DeleteVectorsCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ export interface DeleteVectorsCommandOutput extends DeleteVectorsOutput, __Metad
8181
* @throws {@link InternalServerException} (server fault)
8282
* <p>The request failed due to an internal server error.</p>
8383
*
84-
* @throws {@link ServiceQuotaExceededException} (client fault)
85-
* <p>Your request exceeds a service quota. </p>
84+
* @throws {@link RequestTimeoutException} (client fault)
85+
* <p>The request timed out. Retry your request.</p>
8686
*
8787
* @throws {@link TooManyRequestsException} (client fault)
8888
* <p>The request was denied due to request throttling.</p>

clients/client-s3vectors/src/commands/GetIndexCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ export interface GetIndexCommandOutput extends GetIndexOutput, __MetadataBearer
8181
* @throws {@link InternalServerException} (server fault)
8282
* <p>The request failed due to an internal server error.</p>
8383
*
84-
* @throws {@link ServiceQuotaExceededException} (client fault)
85-
* <p>Your request exceeds a service quota. </p>
84+
* @throws {@link RequestTimeoutException} (client fault)
85+
* <p>The request timed out. Retry your request.</p>
8686
*
8787
* @throws {@link TooManyRequestsException} (client fault)
8888
* <p>The request was denied due to request throttling.</p>

clients/client-s3vectors/src/commands/GetVectorBucketCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ export interface GetVectorBucketCommandOutput extends GetVectorBucketOutput, __M
7575
* @throws {@link InternalServerException} (server fault)
7676
* <p>The request failed due to an internal server error.</p>
7777
*
78-
* @throws {@link ServiceQuotaExceededException} (client fault)
79-
* <p>Your request exceeds a service quota. </p>
78+
* @throws {@link RequestTimeoutException} (client fault)
79+
* <p>The request timed out. Retry your request.</p>
8080
*
8181
* @throws {@link TooManyRequestsException} (client fault)
8282
* <p>The request was denied due to request throttling.</p>

clients/client-s3vectors/src/commands/GetVectorBucketPolicyCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ export interface GetVectorBucketPolicyCommandOutput extends GetVectorBucketPolic
6767
* @throws {@link InternalServerException} (server fault)
6868
* <p>The request failed due to an internal server error.</p>
6969
*
70-
* @throws {@link ServiceQuotaExceededException} (client fault)
71-
* <p>Your request exceeds a service quota. </p>
70+
* @throws {@link RequestTimeoutException} (client fault)
71+
* <p>The request timed out. Retry your request.</p>
7272
*
7373
* @throws {@link TooManyRequestsException} (client fault)
7474
* <p>The request was denied due to request throttling.</p>

clients/client-s3vectors/src/commands/GetVectorsCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ export interface GetVectorsCommandOutput extends GetVectorsOutput, __MetadataBea
9595
* @throws {@link InternalServerException} (server fault)
9696
* <p>The request failed due to an internal server error.</p>
9797
*
98-
* @throws {@link ServiceQuotaExceededException} (client fault)
99-
* <p>Your request exceeds a service quota. </p>
98+
* @throws {@link RequestTimeoutException} (client fault)
99+
* <p>The request timed out. Retry your request.</p>
100100
*
101101
* @throws {@link TooManyRequestsException} (client fault)
102102
* <p>The request was denied due to request throttling.</p>

0 commit comments

Comments
 (0)