@aws-sdk/client-s3vectors 3.1137.0 → 3.1138.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.
package/dist-cjs/index.js CHANGED
@@ -67,7 +67,7 @@ const commonParams = {
67
67
  Region: { type: "builtInParams", name: "region" },
68
68
  };
69
69
 
70
- var version = "3.1136.0";
70
+ var version = "3.1137.0";
71
71
  var packageInfo = {
72
72
  version: version};
73
73
 
@@ -423,10 +423,10 @@ const _vBA = "vectorBucketArn";
423
423
  const _vBN = "vectorBucketName";
424
424
  const _vBe = "vectorBuckets";
425
425
  const n0 = "com.amazonaws.s3vectors";
426
- const _s_registry = TypeRegistry.for(_s);
426
+ const _s_registry = new TypeRegistry(_s);
427
427
  var S3VectorsServiceException$ = [-3, _s, "S3VectorsServiceException", 0, [], []];
428
428
  _s_registry.registerError(S3VectorsServiceException$, S3VectorsServiceException);
429
- const n0_registry = TypeRegistry.for(n0);
429
+ const n0_registry = new TypeRegistry(n0);
430
430
  var AccessDeniedException$ = [-3, n0, _ADE,
431
431
  { [_e]: _c, [_hE]: 403 },
432
432
  [_m],
@@ -140,10 +140,10 @@ const n0 = "com.amazonaws.s3vectors";
140
140
  import { TypeRegistry } from "@smithy/core/schema";
141
141
  import { AccessDeniedException, ConflictException, InternalServerException, KmsDisabledException, KmsInvalidKeyUsageException, KmsInvalidStateException, KmsNotFoundException, NotFoundException, RequestTimeoutException, ServiceQuotaExceededException, ServiceUnavailableException, TooManyRequestsException, ValidationException, } from "../models/errors";
142
142
  import { S3VectorsServiceException } from "../models/S3VectorsServiceException";
143
- const _s_registry = TypeRegistry.for(_s);
143
+ const _s_registry = new TypeRegistry(_s);
144
144
  export var S3VectorsServiceException$ = [-3, _s, "S3VectorsServiceException", 0, [], []];
145
145
  _s_registry.registerError(S3VectorsServiceException$, S3VectorsServiceException);
146
- const n0_registry = TypeRegistry.for(n0);
146
+ const n0_registry = new TypeRegistry(n0);
147
147
  export var AccessDeniedException$ = [-3, n0, _ADE,
148
148
  { [_e]: _c, [_hE]: 403 },
149
149
  [_m],
@@ -1,4 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { type CreateIndexCommandInput, type CreateIndexCommandOutput } from "./commands/CreateIndexCommand";
3
3
  import { type CreateVectorBucketCommandInput, type CreateVectorBucketCommandOutput } from "./commands/CreateVectorBucketCommand";
4
4
  import { type DeleteIndexCommandInput, type DeleteIndexCommandOutput } from "./commands/DeleteIndexCommand";
@@ -19,130 +19,136 @@ import { type QueryVectorsCommandInput, type QueryVectorsCommandOutput } from ".
19
19
  import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
20
20
  import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
21
21
  import { S3VectorsClient } from "./S3VectorsClient";
22
+ /**
23
+ * @public
24
+ */
25
+ export interface S3VectorsRequestOptions extends __HttpHandlerOptions {
26
+ metricsRecorder?: __MetricsRecorder<unknown>;
27
+ }
22
28
  export interface S3Vectors {
23
29
  /**
24
30
  * @see {@link CreateIndexCommand}
25
31
  */
26
- createIndex(args: CreateIndexCommandInput, options?: __HttpHandlerOptions): Promise<CreateIndexCommandOutput>;
32
+ createIndex(args: CreateIndexCommandInput, options?: S3VectorsRequestOptions): Promise<CreateIndexCommandOutput>;
27
33
  createIndex(args: CreateIndexCommandInput, cb: (err: any, data?: CreateIndexCommandOutput) => void): void;
28
- createIndex(args: CreateIndexCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateIndexCommandOutput) => void): void;
34
+ createIndex(args: CreateIndexCommandInput, options: S3VectorsRequestOptions, cb: (err: any, data?: CreateIndexCommandOutput) => void): void;
29
35
  /**
30
36
  * @see {@link CreateVectorBucketCommand}
31
37
  */
32
- createVectorBucket(args: CreateVectorBucketCommandInput, options?: __HttpHandlerOptions): Promise<CreateVectorBucketCommandOutput>;
38
+ createVectorBucket(args: CreateVectorBucketCommandInput, options?: S3VectorsRequestOptions): Promise<CreateVectorBucketCommandOutput>;
33
39
  createVectorBucket(args: CreateVectorBucketCommandInput, cb: (err: any, data?: CreateVectorBucketCommandOutput) => void): void;
34
- createVectorBucket(args: CreateVectorBucketCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateVectorBucketCommandOutput) => void): void;
40
+ createVectorBucket(args: CreateVectorBucketCommandInput, options: S3VectorsRequestOptions, cb: (err: any, data?: CreateVectorBucketCommandOutput) => void): void;
35
41
  /**
36
42
  * @see {@link DeleteIndexCommand}
37
43
  */
38
44
  deleteIndex(): Promise<DeleteIndexCommandOutput>;
39
- deleteIndex(args: DeleteIndexCommandInput, options?: __HttpHandlerOptions): Promise<DeleteIndexCommandOutput>;
45
+ deleteIndex(args: DeleteIndexCommandInput, options?: S3VectorsRequestOptions): Promise<DeleteIndexCommandOutput>;
40
46
  deleteIndex(args: DeleteIndexCommandInput, cb: (err: any, data?: DeleteIndexCommandOutput) => void): void;
41
- deleteIndex(args: DeleteIndexCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteIndexCommandOutput) => void): void;
47
+ deleteIndex(args: DeleteIndexCommandInput, options: S3VectorsRequestOptions, cb: (err: any, data?: DeleteIndexCommandOutput) => void): void;
42
48
  /**
43
49
  * @see {@link DeleteVectorBucketCommand}
44
50
  */
45
51
  deleteVectorBucket(): Promise<DeleteVectorBucketCommandOutput>;
46
- deleteVectorBucket(args: DeleteVectorBucketCommandInput, options?: __HttpHandlerOptions): Promise<DeleteVectorBucketCommandOutput>;
52
+ deleteVectorBucket(args: DeleteVectorBucketCommandInput, options?: S3VectorsRequestOptions): Promise<DeleteVectorBucketCommandOutput>;
47
53
  deleteVectorBucket(args: DeleteVectorBucketCommandInput, cb: (err: any, data?: DeleteVectorBucketCommandOutput) => void): void;
48
- deleteVectorBucket(args: DeleteVectorBucketCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteVectorBucketCommandOutput) => void): void;
54
+ deleteVectorBucket(args: DeleteVectorBucketCommandInput, options: S3VectorsRequestOptions, cb: (err: any, data?: DeleteVectorBucketCommandOutput) => void): void;
49
55
  /**
50
56
  * @see {@link DeleteVectorBucketPolicyCommand}
51
57
  */
52
58
  deleteVectorBucketPolicy(): Promise<DeleteVectorBucketPolicyCommandOutput>;
53
- deleteVectorBucketPolicy(args: DeleteVectorBucketPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteVectorBucketPolicyCommandOutput>;
59
+ deleteVectorBucketPolicy(args: DeleteVectorBucketPolicyCommandInput, options?: S3VectorsRequestOptions): Promise<DeleteVectorBucketPolicyCommandOutput>;
54
60
  deleteVectorBucketPolicy(args: DeleteVectorBucketPolicyCommandInput, cb: (err: any, data?: DeleteVectorBucketPolicyCommandOutput) => void): void;
55
- deleteVectorBucketPolicy(args: DeleteVectorBucketPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteVectorBucketPolicyCommandOutput) => void): void;
61
+ deleteVectorBucketPolicy(args: DeleteVectorBucketPolicyCommandInput, options: S3VectorsRequestOptions, cb: (err: any, data?: DeleteVectorBucketPolicyCommandOutput) => void): void;
56
62
  /**
57
63
  * @see {@link DeleteVectorsCommand}
58
64
  */
59
- deleteVectors(args: DeleteVectorsCommandInput, options?: __HttpHandlerOptions): Promise<DeleteVectorsCommandOutput>;
65
+ deleteVectors(args: DeleteVectorsCommandInput, options?: S3VectorsRequestOptions): Promise<DeleteVectorsCommandOutput>;
60
66
  deleteVectors(args: DeleteVectorsCommandInput, cb: (err: any, data?: DeleteVectorsCommandOutput) => void): void;
61
- deleteVectors(args: DeleteVectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteVectorsCommandOutput) => void): void;
67
+ deleteVectors(args: DeleteVectorsCommandInput, options: S3VectorsRequestOptions, cb: (err: any, data?: DeleteVectorsCommandOutput) => void): void;
62
68
  /**
63
69
  * @see {@link GetIndexCommand}
64
70
  */
65
71
  getIndex(): Promise<GetIndexCommandOutput>;
66
- getIndex(args: GetIndexCommandInput, options?: __HttpHandlerOptions): Promise<GetIndexCommandOutput>;
72
+ getIndex(args: GetIndexCommandInput, options?: S3VectorsRequestOptions): Promise<GetIndexCommandOutput>;
67
73
  getIndex(args: GetIndexCommandInput, cb: (err: any, data?: GetIndexCommandOutput) => void): void;
68
- getIndex(args: GetIndexCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetIndexCommandOutput) => void): void;
74
+ getIndex(args: GetIndexCommandInput, options: S3VectorsRequestOptions, cb: (err: any, data?: GetIndexCommandOutput) => void): void;
69
75
  /**
70
76
  * @see {@link GetVectorBucketCommand}
71
77
  */
72
78
  getVectorBucket(): Promise<GetVectorBucketCommandOutput>;
73
- getVectorBucket(args: GetVectorBucketCommandInput, options?: __HttpHandlerOptions): Promise<GetVectorBucketCommandOutput>;
79
+ getVectorBucket(args: GetVectorBucketCommandInput, options?: S3VectorsRequestOptions): Promise<GetVectorBucketCommandOutput>;
74
80
  getVectorBucket(args: GetVectorBucketCommandInput, cb: (err: any, data?: GetVectorBucketCommandOutput) => void): void;
75
- getVectorBucket(args: GetVectorBucketCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetVectorBucketCommandOutput) => void): void;
81
+ getVectorBucket(args: GetVectorBucketCommandInput, options: S3VectorsRequestOptions, cb: (err: any, data?: GetVectorBucketCommandOutput) => void): void;
76
82
  /**
77
83
  * @see {@link GetVectorBucketPolicyCommand}
78
84
  */
79
85
  getVectorBucketPolicy(): Promise<GetVectorBucketPolicyCommandOutput>;
80
- getVectorBucketPolicy(args: GetVectorBucketPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetVectorBucketPolicyCommandOutput>;
86
+ getVectorBucketPolicy(args: GetVectorBucketPolicyCommandInput, options?: S3VectorsRequestOptions): Promise<GetVectorBucketPolicyCommandOutput>;
81
87
  getVectorBucketPolicy(args: GetVectorBucketPolicyCommandInput, cb: (err: any, data?: GetVectorBucketPolicyCommandOutput) => void): void;
82
- getVectorBucketPolicy(args: GetVectorBucketPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetVectorBucketPolicyCommandOutput) => void): void;
88
+ getVectorBucketPolicy(args: GetVectorBucketPolicyCommandInput, options: S3VectorsRequestOptions, cb: (err: any, data?: GetVectorBucketPolicyCommandOutput) => void): void;
83
89
  /**
84
90
  * @see {@link GetVectorsCommand}
85
91
  */
86
- getVectors(args: GetVectorsCommandInput, options?: __HttpHandlerOptions): Promise<GetVectorsCommandOutput>;
92
+ getVectors(args: GetVectorsCommandInput, options?: S3VectorsRequestOptions): Promise<GetVectorsCommandOutput>;
87
93
  getVectors(args: GetVectorsCommandInput, cb: (err: any, data?: GetVectorsCommandOutput) => void): void;
88
- getVectors(args: GetVectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetVectorsCommandOutput) => void): void;
94
+ getVectors(args: GetVectorsCommandInput, options: S3VectorsRequestOptions, cb: (err: any, data?: GetVectorsCommandOutput) => void): void;
89
95
  /**
90
96
  * @see {@link ListIndexesCommand}
91
97
  */
92
98
  listIndexes(): Promise<ListIndexesCommandOutput>;
93
- listIndexes(args: ListIndexesCommandInput, options?: __HttpHandlerOptions): Promise<ListIndexesCommandOutput>;
99
+ listIndexes(args: ListIndexesCommandInput, options?: S3VectorsRequestOptions): Promise<ListIndexesCommandOutput>;
94
100
  listIndexes(args: ListIndexesCommandInput, cb: (err: any, data?: ListIndexesCommandOutput) => void): void;
95
- listIndexes(args: ListIndexesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListIndexesCommandOutput) => void): void;
101
+ listIndexes(args: ListIndexesCommandInput, options: S3VectorsRequestOptions, cb: (err: any, data?: ListIndexesCommandOutput) => void): void;
96
102
  /**
97
103
  * @see {@link ListTagsForResourceCommand}
98
104
  */
99
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
105
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: S3VectorsRequestOptions): Promise<ListTagsForResourceCommandOutput>;
100
106
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
101
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
107
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: S3VectorsRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
102
108
  /**
103
109
  * @see {@link ListVectorBucketsCommand}
104
110
  */
105
111
  listVectorBuckets(): Promise<ListVectorBucketsCommandOutput>;
106
- listVectorBuckets(args: ListVectorBucketsCommandInput, options?: __HttpHandlerOptions): Promise<ListVectorBucketsCommandOutput>;
112
+ listVectorBuckets(args: ListVectorBucketsCommandInput, options?: S3VectorsRequestOptions): Promise<ListVectorBucketsCommandOutput>;
107
113
  listVectorBuckets(args: ListVectorBucketsCommandInput, cb: (err: any, data?: ListVectorBucketsCommandOutput) => void): void;
108
- listVectorBuckets(args: ListVectorBucketsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListVectorBucketsCommandOutput) => void): void;
114
+ listVectorBuckets(args: ListVectorBucketsCommandInput, options: S3VectorsRequestOptions, cb: (err: any, data?: ListVectorBucketsCommandOutput) => void): void;
109
115
  /**
110
116
  * @see {@link ListVectorsCommand}
111
117
  */
112
118
  listVectors(): Promise<ListVectorsCommandOutput>;
113
- listVectors(args: ListVectorsCommandInput, options?: __HttpHandlerOptions): Promise<ListVectorsCommandOutput>;
119
+ listVectors(args: ListVectorsCommandInput, options?: S3VectorsRequestOptions): Promise<ListVectorsCommandOutput>;
114
120
  listVectors(args: ListVectorsCommandInput, cb: (err: any, data?: ListVectorsCommandOutput) => void): void;
115
- listVectors(args: ListVectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListVectorsCommandOutput) => void): void;
121
+ listVectors(args: ListVectorsCommandInput, options: S3VectorsRequestOptions, cb: (err: any, data?: ListVectorsCommandOutput) => void): void;
116
122
  /**
117
123
  * @see {@link PutVectorBucketPolicyCommand}
118
124
  */
119
- putVectorBucketPolicy(args: PutVectorBucketPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutVectorBucketPolicyCommandOutput>;
125
+ putVectorBucketPolicy(args: PutVectorBucketPolicyCommandInput, options?: S3VectorsRequestOptions): Promise<PutVectorBucketPolicyCommandOutput>;
120
126
  putVectorBucketPolicy(args: PutVectorBucketPolicyCommandInput, cb: (err: any, data?: PutVectorBucketPolicyCommandOutput) => void): void;
121
- putVectorBucketPolicy(args: PutVectorBucketPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutVectorBucketPolicyCommandOutput) => void): void;
127
+ putVectorBucketPolicy(args: PutVectorBucketPolicyCommandInput, options: S3VectorsRequestOptions, cb: (err: any, data?: PutVectorBucketPolicyCommandOutput) => void): void;
122
128
  /**
123
129
  * @see {@link PutVectorsCommand}
124
130
  */
125
- putVectors(args: PutVectorsCommandInput, options?: __HttpHandlerOptions): Promise<PutVectorsCommandOutput>;
131
+ putVectors(args: PutVectorsCommandInput, options?: S3VectorsRequestOptions): Promise<PutVectorsCommandOutput>;
126
132
  putVectors(args: PutVectorsCommandInput, cb: (err: any, data?: PutVectorsCommandOutput) => void): void;
127
- putVectors(args: PutVectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutVectorsCommandOutput) => void): void;
133
+ putVectors(args: PutVectorsCommandInput, options: S3VectorsRequestOptions, cb: (err: any, data?: PutVectorsCommandOutput) => void): void;
128
134
  /**
129
135
  * @see {@link QueryVectorsCommand}
130
136
  */
131
- queryVectors(args: QueryVectorsCommandInput, options?: __HttpHandlerOptions): Promise<QueryVectorsCommandOutput>;
137
+ queryVectors(args: QueryVectorsCommandInput, options?: S3VectorsRequestOptions): Promise<QueryVectorsCommandOutput>;
132
138
  queryVectors(args: QueryVectorsCommandInput, cb: (err: any, data?: QueryVectorsCommandOutput) => void): void;
133
- queryVectors(args: QueryVectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: QueryVectorsCommandOutput) => void): void;
139
+ queryVectors(args: QueryVectorsCommandInput, options: S3VectorsRequestOptions, cb: (err: any, data?: QueryVectorsCommandOutput) => void): void;
134
140
  /**
135
141
  * @see {@link TagResourceCommand}
136
142
  */
137
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
143
+ tagResource(args: TagResourceCommandInput, options?: S3VectorsRequestOptions): Promise<TagResourceCommandOutput>;
138
144
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
139
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
145
+ tagResource(args: TagResourceCommandInput, options: S3VectorsRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
140
146
  /**
141
147
  * @see {@link UntagResourceCommand}
142
148
  */
143
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
149
+ untagResource(args: UntagResourceCommandInput, options?: S3VectorsRequestOptions): Promise<UntagResourceCommandOutput>;
144
150
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
145
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
151
+ untagResource(args: UntagResourceCommandInput, options: S3VectorsRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
146
152
  /**
147
153
  * @see {@link ListIndexesCommand}
148
154
  * @param args - command input.
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
3
4
  PaginationConfiguration,
4
5
  Paginator,
5
6
  } from "@smithy/types";
@@ -56,10 +57,13 @@ import {
56
57
  UntagResourceCommandOutput,
57
58
  } from "./commands/UntagResourceCommand";
58
59
  import { S3VectorsClient } from "./S3VectorsClient";
60
+ export interface S3VectorsRequestOptions extends __HttpHandlerOptions {
61
+ metricsRecorder?: __MetricsRecorder<unknown>;
62
+ }
59
63
  export interface S3Vectors {
60
64
  createIndex(
61
65
  args: CreateIndexCommandInput,
62
- options?: __HttpHandlerOptions,
66
+ options?: S3VectorsRequestOptions,
63
67
  ): Promise<CreateIndexCommandOutput>;
64
68
  createIndex(
65
69
  args: CreateIndexCommandInput,
@@ -67,12 +71,12 @@ export interface S3Vectors {
67
71
  ): void;
68
72
  createIndex(
69
73
  args: CreateIndexCommandInput,
70
- options: __HttpHandlerOptions,
74
+ options: S3VectorsRequestOptions,
71
75
  cb: (err: any, data?: CreateIndexCommandOutput) => void,
72
76
  ): void;
73
77
  createVectorBucket(
74
78
  args: CreateVectorBucketCommandInput,
75
- options?: __HttpHandlerOptions,
79
+ options?: S3VectorsRequestOptions,
76
80
  ): Promise<CreateVectorBucketCommandOutput>;
77
81
  createVectorBucket(
78
82
  args: CreateVectorBucketCommandInput,
@@ -80,13 +84,13 @@ export interface S3Vectors {
80
84
  ): void;
81
85
  createVectorBucket(
82
86
  args: CreateVectorBucketCommandInput,
83
- options: __HttpHandlerOptions,
87
+ options: S3VectorsRequestOptions,
84
88
  cb: (err: any, data?: CreateVectorBucketCommandOutput) => void,
85
89
  ): void;
86
90
  deleteIndex(): Promise<DeleteIndexCommandOutput>;
87
91
  deleteIndex(
88
92
  args: DeleteIndexCommandInput,
89
- options?: __HttpHandlerOptions,
93
+ options?: S3VectorsRequestOptions,
90
94
  ): Promise<DeleteIndexCommandOutput>;
91
95
  deleteIndex(
92
96
  args: DeleteIndexCommandInput,
@@ -94,13 +98,13 @@ export interface S3Vectors {
94
98
  ): void;
95
99
  deleteIndex(
96
100
  args: DeleteIndexCommandInput,
97
- options: __HttpHandlerOptions,
101
+ options: S3VectorsRequestOptions,
98
102
  cb: (err: any, data?: DeleteIndexCommandOutput) => void,
99
103
  ): void;
100
104
  deleteVectorBucket(): Promise<DeleteVectorBucketCommandOutput>;
101
105
  deleteVectorBucket(
102
106
  args: DeleteVectorBucketCommandInput,
103
- options?: __HttpHandlerOptions,
107
+ options?: S3VectorsRequestOptions,
104
108
  ): Promise<DeleteVectorBucketCommandOutput>;
105
109
  deleteVectorBucket(
106
110
  args: DeleteVectorBucketCommandInput,
@@ -108,13 +112,13 @@ export interface S3Vectors {
108
112
  ): void;
109
113
  deleteVectorBucket(
110
114
  args: DeleteVectorBucketCommandInput,
111
- options: __HttpHandlerOptions,
115
+ options: S3VectorsRequestOptions,
112
116
  cb: (err: any, data?: DeleteVectorBucketCommandOutput) => void,
113
117
  ): void;
114
118
  deleteVectorBucketPolicy(): Promise<DeleteVectorBucketPolicyCommandOutput>;
115
119
  deleteVectorBucketPolicy(
116
120
  args: DeleteVectorBucketPolicyCommandInput,
117
- options?: __HttpHandlerOptions,
121
+ options?: S3VectorsRequestOptions,
118
122
  ): Promise<DeleteVectorBucketPolicyCommandOutput>;
119
123
  deleteVectorBucketPolicy(
120
124
  args: DeleteVectorBucketPolicyCommandInput,
@@ -122,12 +126,12 @@ export interface S3Vectors {
122
126
  ): void;
123
127
  deleteVectorBucketPolicy(
124
128
  args: DeleteVectorBucketPolicyCommandInput,
125
- options: __HttpHandlerOptions,
129
+ options: S3VectorsRequestOptions,
126
130
  cb: (err: any, data?: DeleteVectorBucketPolicyCommandOutput) => void,
127
131
  ): void;
128
132
  deleteVectors(
129
133
  args: DeleteVectorsCommandInput,
130
- options?: __HttpHandlerOptions,
134
+ options?: S3VectorsRequestOptions,
131
135
  ): Promise<DeleteVectorsCommandOutput>;
132
136
  deleteVectors(
133
137
  args: DeleteVectorsCommandInput,
@@ -135,24 +139,24 @@ export interface S3Vectors {
135
139
  ): void;
136
140
  deleteVectors(
137
141
  args: DeleteVectorsCommandInput,
138
- options: __HttpHandlerOptions,
142
+ options: S3VectorsRequestOptions,
139
143
  cb: (err: any, data?: DeleteVectorsCommandOutput) => void,
140
144
  ): void;
141
145
  getIndex(): Promise<GetIndexCommandOutput>;
142
146
  getIndex(
143
147
  args: GetIndexCommandInput,
144
- options?: __HttpHandlerOptions,
148
+ options?: S3VectorsRequestOptions,
145
149
  ): Promise<GetIndexCommandOutput>;
146
150
  getIndex(args: GetIndexCommandInput, cb: (err: any, data?: GetIndexCommandOutput) => void): void;
147
151
  getIndex(
148
152
  args: GetIndexCommandInput,
149
- options: __HttpHandlerOptions,
153
+ options: S3VectorsRequestOptions,
150
154
  cb: (err: any, data?: GetIndexCommandOutput) => void,
151
155
  ): void;
152
156
  getVectorBucket(): Promise<GetVectorBucketCommandOutput>;
153
157
  getVectorBucket(
154
158
  args: GetVectorBucketCommandInput,
155
- options?: __HttpHandlerOptions,
159
+ options?: S3VectorsRequestOptions,
156
160
  ): Promise<GetVectorBucketCommandOutput>;
157
161
  getVectorBucket(
158
162
  args: GetVectorBucketCommandInput,
@@ -160,13 +164,13 @@ export interface S3Vectors {
160
164
  ): void;
161
165
  getVectorBucket(
162
166
  args: GetVectorBucketCommandInput,
163
- options: __HttpHandlerOptions,
167
+ options: S3VectorsRequestOptions,
164
168
  cb: (err: any, data?: GetVectorBucketCommandOutput) => void,
165
169
  ): void;
166
170
  getVectorBucketPolicy(): Promise<GetVectorBucketPolicyCommandOutput>;
167
171
  getVectorBucketPolicy(
168
172
  args: GetVectorBucketPolicyCommandInput,
169
- options?: __HttpHandlerOptions,
173
+ options?: S3VectorsRequestOptions,
170
174
  ): Promise<GetVectorBucketPolicyCommandOutput>;
171
175
  getVectorBucketPolicy(
172
176
  args: GetVectorBucketPolicyCommandInput,
@@ -174,12 +178,12 @@ export interface S3Vectors {
174
178
  ): void;
175
179
  getVectorBucketPolicy(
176
180
  args: GetVectorBucketPolicyCommandInput,
177
- options: __HttpHandlerOptions,
181
+ options: S3VectorsRequestOptions,
178
182
  cb: (err: any, data?: GetVectorBucketPolicyCommandOutput) => void,
179
183
  ): void;
180
184
  getVectors(
181
185
  args: GetVectorsCommandInput,
182
- options?: __HttpHandlerOptions,
186
+ options?: S3VectorsRequestOptions,
183
187
  ): Promise<GetVectorsCommandOutput>;
184
188
  getVectors(
185
189
  args: GetVectorsCommandInput,
@@ -187,13 +191,13 @@ export interface S3Vectors {
187
191
  ): void;
188
192
  getVectors(
189
193
  args: GetVectorsCommandInput,
190
- options: __HttpHandlerOptions,
194
+ options: S3VectorsRequestOptions,
191
195
  cb: (err: any, data?: GetVectorsCommandOutput) => void,
192
196
  ): void;
193
197
  listIndexes(): Promise<ListIndexesCommandOutput>;
194
198
  listIndexes(
195
199
  args: ListIndexesCommandInput,
196
- options?: __HttpHandlerOptions,
200
+ options?: S3VectorsRequestOptions,
197
201
  ): Promise<ListIndexesCommandOutput>;
198
202
  listIndexes(
199
203
  args: ListIndexesCommandInput,
@@ -201,12 +205,12 @@ export interface S3Vectors {
201
205
  ): void;
202
206
  listIndexes(
203
207
  args: ListIndexesCommandInput,
204
- options: __HttpHandlerOptions,
208
+ options: S3VectorsRequestOptions,
205
209
  cb: (err: any, data?: ListIndexesCommandOutput) => void,
206
210
  ): void;
207
211
  listTagsForResource(
208
212
  args: ListTagsForResourceCommandInput,
209
- options?: __HttpHandlerOptions,
213
+ options?: S3VectorsRequestOptions,
210
214
  ): Promise<ListTagsForResourceCommandOutput>;
211
215
  listTagsForResource(
212
216
  args: ListTagsForResourceCommandInput,
@@ -214,13 +218,13 @@ export interface S3Vectors {
214
218
  ): void;
215
219
  listTagsForResource(
216
220
  args: ListTagsForResourceCommandInput,
217
- options: __HttpHandlerOptions,
221
+ options: S3VectorsRequestOptions,
218
222
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
219
223
  ): void;
220
224
  listVectorBuckets(): Promise<ListVectorBucketsCommandOutput>;
221
225
  listVectorBuckets(
222
226
  args: ListVectorBucketsCommandInput,
223
- options?: __HttpHandlerOptions,
227
+ options?: S3VectorsRequestOptions,
224
228
  ): Promise<ListVectorBucketsCommandOutput>;
225
229
  listVectorBuckets(
226
230
  args: ListVectorBucketsCommandInput,
@@ -228,13 +232,13 @@ export interface S3Vectors {
228
232
  ): void;
229
233
  listVectorBuckets(
230
234
  args: ListVectorBucketsCommandInput,
231
- options: __HttpHandlerOptions,
235
+ options: S3VectorsRequestOptions,
232
236
  cb: (err: any, data?: ListVectorBucketsCommandOutput) => void,
233
237
  ): void;
234
238
  listVectors(): Promise<ListVectorsCommandOutput>;
235
239
  listVectors(
236
240
  args: ListVectorsCommandInput,
237
- options?: __HttpHandlerOptions,
241
+ options?: S3VectorsRequestOptions,
238
242
  ): Promise<ListVectorsCommandOutput>;
239
243
  listVectors(
240
244
  args: ListVectorsCommandInput,
@@ -242,12 +246,12 @@ export interface S3Vectors {
242
246
  ): void;
243
247
  listVectors(
244
248
  args: ListVectorsCommandInput,
245
- options: __HttpHandlerOptions,
249
+ options: S3VectorsRequestOptions,
246
250
  cb: (err: any, data?: ListVectorsCommandOutput) => void,
247
251
  ): void;
248
252
  putVectorBucketPolicy(
249
253
  args: PutVectorBucketPolicyCommandInput,
250
- options?: __HttpHandlerOptions,
254
+ options?: S3VectorsRequestOptions,
251
255
  ): Promise<PutVectorBucketPolicyCommandOutput>;
252
256
  putVectorBucketPolicy(
253
257
  args: PutVectorBucketPolicyCommandInput,
@@ -255,12 +259,12 @@ export interface S3Vectors {
255
259
  ): void;
256
260
  putVectorBucketPolicy(
257
261
  args: PutVectorBucketPolicyCommandInput,
258
- options: __HttpHandlerOptions,
262
+ options: S3VectorsRequestOptions,
259
263
  cb: (err: any, data?: PutVectorBucketPolicyCommandOutput) => void,
260
264
  ): void;
261
265
  putVectors(
262
266
  args: PutVectorsCommandInput,
263
- options?: __HttpHandlerOptions,
267
+ options?: S3VectorsRequestOptions,
264
268
  ): Promise<PutVectorsCommandOutput>;
265
269
  putVectors(
266
270
  args: PutVectorsCommandInput,
@@ -268,12 +272,12 @@ export interface S3Vectors {
268
272
  ): void;
269
273
  putVectors(
270
274
  args: PutVectorsCommandInput,
271
- options: __HttpHandlerOptions,
275
+ options: S3VectorsRequestOptions,
272
276
  cb: (err: any, data?: PutVectorsCommandOutput) => void,
273
277
  ): void;
274
278
  queryVectors(
275
279
  args: QueryVectorsCommandInput,
276
- options?: __HttpHandlerOptions,
280
+ options?: S3VectorsRequestOptions,
277
281
  ): Promise<QueryVectorsCommandOutput>;
278
282
  queryVectors(
279
283
  args: QueryVectorsCommandInput,
@@ -281,12 +285,12 @@ export interface S3Vectors {
281
285
  ): void;
282
286
  queryVectors(
283
287
  args: QueryVectorsCommandInput,
284
- options: __HttpHandlerOptions,
288
+ options: S3VectorsRequestOptions,
285
289
  cb: (err: any, data?: QueryVectorsCommandOutput) => void,
286
290
  ): void;
287
291
  tagResource(
288
292
  args: TagResourceCommandInput,
289
- options?: __HttpHandlerOptions,
293
+ options?: S3VectorsRequestOptions,
290
294
  ): Promise<TagResourceCommandOutput>;
291
295
  tagResource(
292
296
  args: TagResourceCommandInput,
@@ -294,12 +298,12 @@ export interface S3Vectors {
294
298
  ): void;
295
299
  tagResource(
296
300
  args: TagResourceCommandInput,
297
- options: __HttpHandlerOptions,
301
+ options: S3VectorsRequestOptions,
298
302
  cb: (err: any, data?: TagResourceCommandOutput) => void,
299
303
  ): void;
300
304
  untagResource(
301
305
  args: UntagResourceCommandInput,
302
- options?: __HttpHandlerOptions,
306
+ options?: S3VectorsRequestOptions,
303
307
  ): Promise<UntagResourceCommandOutput>;
304
308
  untagResource(
305
309
  args: UntagResourceCommandInput,
@@ -307,7 +311,7 @@ export interface S3Vectors {
307
311
  ): void;
308
312
  untagResource(
309
313
  args: UntagResourceCommandInput,
310
- options: __HttpHandlerOptions,
314
+ options: S3VectorsRequestOptions,
311
315
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
312
316
  ): void;
313
317
  paginateListIndexes(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-s3vectors",
3
- "version": "3.1137.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript S3vectors Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3vectors",
6
6
  "license": "Apache-2.0",
@@ -48,13 +48,13 @@
48
48
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
49
49
  },
50
50
  "dependencies": {
51
- "@aws-sdk/core": "^3.978.0",
52
- "@aws-sdk/credential-provider-node": "^3.972.83",
53
- "@aws-sdk/types": "^3.974.5",
54
- "@smithy/core": "^3.33.3",
55
- "@smithy/fetch-http-handler": "^5.7.2",
56
- "@smithy/node-http-handler": "^4.11.3",
57
- "@smithy/types": "^4.17.2",
51
+ "@aws-sdk/core": "^3.978.1",
52
+ "@aws-sdk/credential-provider-node": "^3.972.84",
53
+ "@aws-sdk/types": "^3.974.6",
54
+ "@smithy/core": "^3.35.0",
55
+ "@smithy/fetch-http-handler": "^5.8.0",
56
+ "@smithy/node-http-handler": "^4.12.1",
57
+ "@smithy/types": "^4.19.0",
58
58
  "tslib": "^2.6.2"
59
59
  },
60
60
  "devDependencies": {