@aws-sdk/client-sagemaker-featurestore-runtime 3.1075.0 → 3.1077.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/README.md +21 -7
- package/dist-cjs/index.js +572 -21
- package/dist-es/SageMakerFeatureStoreRuntime.js +9 -1
- package/dist-es/commands/BatchWriteRecordCommand.js +16 -0
- package/dist-es/commands/ListRecordsCommand.js +16 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +4 -4
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListRecordsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +64 -0
- package/dist-types/SageMakerFeatureStoreRuntime.d.ts +22 -1
- package/dist-types/SageMakerFeatureStoreRuntimeClient.d.ts +4 -2
- package/dist-types/commands/BatchWriteRecordCommand.d.ts +197 -0
- package/dist-types/commands/DeleteRecordCommand.d.ts +1 -1
- package/dist-types/commands/ListRecordsCommand.d.ts +120 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +12 -12
- package/dist-types/models/models_0.d.ts +139 -10
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListRecordsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +8 -0
- package/dist-types/ts3.4/SageMakerFeatureStoreRuntime.d.ts +46 -1
- package/dist-types/ts3.4/SageMakerFeatureStoreRuntimeClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/BatchWriteRecordCommand.d.ts +52 -0
- package/dist-types/ts3.4/commands/ListRecordsCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +5 -5
- package/dist-types/ts3.4/models/models_0.d.ts +32 -3
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListRecordsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
- package/package.json +8 -10
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -46
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/SageMakerFeatureStoreRuntimeServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -71
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -38
- package/dist-cjs/schemas/schemas_0.js +0 -198
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListRecordsRequest, ListRecordsResponse } from "../models/models_0";
|
|
4
|
+
import type { SageMakerFeatureStoreRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerFeatureStoreRuntimeClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListRecordsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListRecordsCommandInput extends ListRecordsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListRecordsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListRecordsCommandOutput extends ListRecordsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListRecordsCommand_base: {
|
|
25
|
+
new (input: ListRecordsCommandInput): import("@smithy/core/client").CommandImpl<ListRecordsCommandInput, ListRecordsCommandOutput, SageMakerFeatureStoreRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListRecordsCommandInput): import("@smithy/core/client").CommandImpl<ListRecordsCommandInput, ListRecordsCommandOutput, SageMakerFeatureStoreRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Lists the <code>RecordIdentifier</code> values of all records stored in a
|
|
33
|
+
* <code>FeatureGroup</code>'s <code>OnlineStore</code>. This enables you to discover which
|
|
34
|
+
* records exist without retrieving the full record data.</p>
|
|
35
|
+
* @example
|
|
36
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
+
* ```javascript
|
|
38
|
+
* import { SageMakerFeatureStoreRuntimeClient, ListRecordsCommand } from "@aws-sdk/client-sagemaker-featurestore-runtime"; // ES Modules import
|
|
39
|
+
* // const { SageMakerFeatureStoreRuntimeClient, ListRecordsCommand } = require("@aws-sdk/client-sagemaker-featurestore-runtime"); // CommonJS import
|
|
40
|
+
* // import type { SageMakerFeatureStoreRuntimeClientConfig } from "@aws-sdk/client-sagemaker-featurestore-runtime";
|
|
41
|
+
* const config = {}; // type is SageMakerFeatureStoreRuntimeClientConfig
|
|
42
|
+
* const client = new SageMakerFeatureStoreRuntimeClient(config);
|
|
43
|
+
* const input = { // ListRecordsRequest
|
|
44
|
+
* FeatureGroupName: "STRING_VALUE", // required
|
|
45
|
+
* MaxResults: Number("int"),
|
|
46
|
+
* NextToken: "STRING_VALUE",
|
|
47
|
+
* IncludeSoftDeletedRecords: true || false,
|
|
48
|
+
* };
|
|
49
|
+
* const command = new ListRecordsCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // ListRecordsResponse
|
|
52
|
+
* // RecordIdentifiers: [ // RecordIdentifierList // required
|
|
53
|
+
* // "STRING_VALUE",
|
|
54
|
+
* // ],
|
|
55
|
+
* // NextToken: "STRING_VALUE",
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param ListRecordsCommandInput - {@link ListRecordsCommandInput}
|
|
61
|
+
* @returns {@link ListRecordsCommandOutput}
|
|
62
|
+
* @see {@link ListRecordsCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link ListRecordsCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link SageMakerFeatureStoreRuntimeClientResolvedConfig | config} for SageMakerFeatureStoreRuntimeClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessForbidden} (client fault)
|
|
67
|
+
* <p>You do not have permission to perform an action.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InternalFailure} (server fault)
|
|
70
|
+
* <p>An internal failure occurred. Try your request again. If the problem persists, contact
|
|
71
|
+
* Amazon Web Services customer support.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ResourceNotFound} (client fault)
|
|
74
|
+
* <p>A resource that is required to perform an action was not found.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ServiceUnavailable} (server fault)
|
|
77
|
+
* <p>The service is currently unavailable.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ValidationError} (client fault)
|
|
80
|
+
* <p>There was an error validating your request.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link SageMakerFeatureStoreRuntimeServiceException}
|
|
83
|
+
* <p>Base exception class for all service exceptions from SageMakerFeatureStoreRuntime service.</p>
|
|
84
|
+
*
|
|
85
|
+
*
|
|
86
|
+
* @example List record identifiers from a feature group
|
|
87
|
+
* ```javascript
|
|
88
|
+
* //
|
|
89
|
+
* const input = {
|
|
90
|
+
* FeatureGroupName: "my-feature-group",
|
|
91
|
+
* MaxResults: 10
|
|
92
|
+
* };
|
|
93
|
+
* const command = new ListRecordsCommand(input);
|
|
94
|
+
* const response = await client.send(command);
|
|
95
|
+
* /* response is
|
|
96
|
+
* {
|
|
97
|
+
* NextToken: "eyJsYXN0RXZhbHVhdGVkS2V5IjoiYWJjMTIzIn0=",
|
|
98
|
+
* RecordIdentifiers: [
|
|
99
|
+
* "record-id-1",
|
|
100
|
+
* "record-id-2"
|
|
101
|
+
* ]
|
|
102
|
+
* }
|
|
103
|
+
* *\/
|
|
104
|
+
* ```
|
|
105
|
+
*
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
export declare class ListRecordsCommand extends ListRecordsCommand_base {
|
|
109
|
+
/** @internal type navigation helper, not in runtime. */
|
|
110
|
+
protected static __types: {
|
|
111
|
+
api: {
|
|
112
|
+
input: ListRecordsRequest;
|
|
113
|
+
output: ListRecordsResponse;
|
|
114
|
+
};
|
|
115
|
+
sdk: {
|
|
116
|
+
input: ListRecordsCommandInput;
|
|
117
|
+
output: ListRecordsCommandOutput;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
}
|
package/dist-types/index.d.ts
CHANGED
|
@@ -36,6 +36,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
36
36
|
export type { SageMakerFeatureStoreRuntimeExtensionConfiguration } from "./extensionConfiguration";
|
|
37
37
|
export * from "./commands";
|
|
38
38
|
export * from "./schemas/schemas_0";
|
|
39
|
+
export * from "./pagination";
|
|
39
40
|
export * from "./models/enums";
|
|
40
41
|
export * from "./models/errors";
|
|
41
42
|
export * from "./models/models_0";
|
|
@@ -10,18 +10,6 @@ export declare const ExpirationTimeResponse: {
|
|
|
10
10
|
* @public
|
|
11
11
|
*/
|
|
12
12
|
export type ExpirationTimeResponse = (typeof ExpirationTimeResponse)[keyof typeof ExpirationTimeResponse];
|
|
13
|
-
/**
|
|
14
|
-
* @public
|
|
15
|
-
* @enum
|
|
16
|
-
*/
|
|
17
|
-
export declare const DeletionMode: {
|
|
18
|
-
readonly HARD_DELETE: "HardDelete";
|
|
19
|
-
readonly SOFT_DELETE: "SoftDelete";
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* @public
|
|
23
|
-
*/
|
|
24
|
-
export type DeletionMode = (typeof DeletionMode)[keyof typeof DeletionMode];
|
|
25
13
|
/**
|
|
26
14
|
* @public
|
|
27
15
|
* @enum
|
|
@@ -49,3 +37,15 @@ export declare const TtlDurationUnit: {
|
|
|
49
37
|
* @public
|
|
50
38
|
*/
|
|
51
39
|
export type TtlDurationUnit = (typeof TtlDurationUnit)[keyof typeof TtlDurationUnit];
|
|
40
|
+
/**
|
|
41
|
+
* @public
|
|
42
|
+
* @enum
|
|
43
|
+
*/
|
|
44
|
+
export declare const DeletionMode: {
|
|
45
|
+
readonly HARD_DELETE: "HardDelete";
|
|
46
|
+
readonly SOFT_DELETE: "SoftDelete";
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
export type DeletionMode = (typeof DeletionMode)[keyof typeof DeletionMode];
|
|
@@ -148,6 +148,112 @@ export interface BatchGetRecordResponse {
|
|
|
148
148
|
*/
|
|
149
149
|
UnprocessedIdentifiers: BatchGetRecordIdentifier[] | undefined;
|
|
150
150
|
}
|
|
151
|
+
/**
|
|
152
|
+
* <p>Time to live duration, where the record is hard deleted after the expiration time is
|
|
153
|
+
* reached; <code>ExpiresAt</code> = <code>EventTime</code> + <code>TtlDuration</code>. For
|
|
154
|
+
* information on HardDelete, see the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_feature_store_DeleteRecord.html">DeleteRecord</a> API in the Amazon SageMaker API Reference guide.</p>
|
|
155
|
+
* @public
|
|
156
|
+
*/
|
|
157
|
+
export interface TtlDuration {
|
|
158
|
+
/**
|
|
159
|
+
* <p>
|
|
160
|
+
* <code>TtlDuration</code> time unit.</p>
|
|
161
|
+
* @public
|
|
162
|
+
*/
|
|
163
|
+
Unit: TtlDurationUnit | undefined;
|
|
164
|
+
/**
|
|
165
|
+
* <p>
|
|
166
|
+
* <code>TtlDuration</code> time value.</p>
|
|
167
|
+
* @public
|
|
168
|
+
*/
|
|
169
|
+
Value: number | undefined;
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* <p>An entry to write as part of a <code>BatchWriteRecord</code> request.</p>
|
|
173
|
+
* @public
|
|
174
|
+
*/
|
|
175
|
+
export interface BatchWriteRecordEntry {
|
|
176
|
+
/**
|
|
177
|
+
* <p>The name or Amazon Resource Name (ARN) of the <code>FeatureGroup</code> to write the
|
|
178
|
+
* record to.</p>
|
|
179
|
+
* @public
|
|
180
|
+
*/
|
|
181
|
+
FeatureGroupName: string | undefined;
|
|
182
|
+
/**
|
|
183
|
+
* <p>List of FeatureValues to be inserted. This will be a full over-write.</p>
|
|
184
|
+
* @public
|
|
185
|
+
*/
|
|
186
|
+
Record: FeatureValue[] | undefined;
|
|
187
|
+
/**
|
|
188
|
+
* <p>A list of stores to which you're adding the record. By default, Feature Store adds the
|
|
189
|
+
* record to all of the stores that you're using for the
|
|
190
|
+
* <code>FeatureGroup</code>.</p>
|
|
191
|
+
* @public
|
|
192
|
+
*/
|
|
193
|
+
TargetStores?: TargetStore[] | undefined;
|
|
194
|
+
/**
|
|
195
|
+
* <p>Time to live duration for this entry, where the record is hard deleted after the
|
|
196
|
+
* expiration time is reached; <code>ExpiresAt</code> = <code>EventTime</code> +
|
|
197
|
+
* <code>TtlDuration</code>. This overrides the request level
|
|
198
|
+
* <code>TtlDuration</code>.</p>
|
|
199
|
+
* @public
|
|
200
|
+
*/
|
|
201
|
+
TtlDuration?: TtlDuration | undefined;
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* @public
|
|
205
|
+
*/
|
|
206
|
+
export interface BatchWriteRecordRequest {
|
|
207
|
+
/**
|
|
208
|
+
* <p>A list of records to write. Each entry specifies the <code>FeatureGroup</code>, the
|
|
209
|
+
* record data, and optionally target stores and a TTL duration.</p>
|
|
210
|
+
* @public
|
|
211
|
+
*/
|
|
212
|
+
Entries: BatchWriteRecordEntry[] | undefined;
|
|
213
|
+
/**
|
|
214
|
+
* <p>Time to live duration applied to all entries in the batch that do not specify their own
|
|
215
|
+
* <code>TtlDuration</code>; <code>ExpiresAt</code> = <code>EventTime</code> +
|
|
216
|
+
* <code>TtlDuration</code>. For information on HardDelete, see the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_feature_store_DeleteRecord.html">DeleteRecord</a> API in the Amazon SageMaker API Reference guide.</p>
|
|
217
|
+
* @public
|
|
218
|
+
*/
|
|
219
|
+
TtlDuration?: TtlDuration | undefined;
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* <p>The error that has occurred when attempting to write a record in a batch.</p>
|
|
223
|
+
* @public
|
|
224
|
+
*/
|
|
225
|
+
export interface BatchWriteRecordError {
|
|
226
|
+
/**
|
|
227
|
+
* <p>The entry that failed to be written.</p>
|
|
228
|
+
* @public
|
|
229
|
+
*/
|
|
230
|
+
Entry: BatchWriteRecordEntry | undefined;
|
|
231
|
+
/**
|
|
232
|
+
* <p>The error code for the failed record write.</p>
|
|
233
|
+
* @public
|
|
234
|
+
*/
|
|
235
|
+
ErrorCode: string | undefined;
|
|
236
|
+
/**
|
|
237
|
+
* <p>The error message for the failed record write.</p>
|
|
238
|
+
* @public
|
|
239
|
+
*/
|
|
240
|
+
ErrorMessage: string | undefined;
|
|
241
|
+
}
|
|
242
|
+
/**
|
|
243
|
+
* @public
|
|
244
|
+
*/
|
|
245
|
+
export interface BatchWriteRecordResponse {
|
|
246
|
+
/**
|
|
247
|
+
* <p>A list of errors that occurred when writing records in the batch.</p>
|
|
248
|
+
* @public
|
|
249
|
+
*/
|
|
250
|
+
Errors: BatchWriteRecordError[] | undefined;
|
|
251
|
+
/**
|
|
252
|
+
* <p>A list of entries that were not processed. These entries can be retried.</p>
|
|
253
|
+
* @public
|
|
254
|
+
*/
|
|
255
|
+
UnprocessedEntries: BatchWriteRecordEntry[] | undefined;
|
|
256
|
+
}
|
|
151
257
|
/**
|
|
152
258
|
* @public
|
|
153
259
|
*/
|
|
@@ -230,24 +336,47 @@ export interface GetRecordResponse {
|
|
|
230
336
|
ExpiresAt?: string | undefined;
|
|
231
337
|
}
|
|
232
338
|
/**
|
|
233
|
-
* <p>Time to live duration, where the record is hard deleted after the expiration time is
|
|
234
|
-
* reached; <code>ExpiresAt</code> = <code>EventTime</code> + <code>TtlDuration</code>. For
|
|
235
|
-
* information on HardDelete, see the <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_feature_store_DeleteRecord.html">DeleteRecord</a> API in the Amazon SageMaker API Reference guide.</p>
|
|
236
339
|
* @public
|
|
237
340
|
*/
|
|
238
|
-
export interface
|
|
341
|
+
export interface ListRecordsRequest {
|
|
239
342
|
/**
|
|
240
|
-
* <p>
|
|
241
|
-
* <code>TtlDuration</code> time unit.</p>
|
|
343
|
+
* <p>The name or Amazon Resource Name (ARN) of the feature group to list records from.</p>
|
|
242
344
|
* @public
|
|
243
345
|
*/
|
|
244
|
-
|
|
346
|
+
FeatureGroupName: string | undefined;
|
|
245
347
|
/**
|
|
246
|
-
* <p>
|
|
247
|
-
* <code>TtlDuration</code> time value.</p>
|
|
348
|
+
* <p>The maximum number of record identifiers to return in a single page of results. For the <code>InMemory</code> tier, this value is a hint and not a strict requirement. The response may contain more or fewer results than the specified <code>MaxResults</code>.</p>
|
|
248
349
|
* @public
|
|
249
350
|
*/
|
|
250
|
-
|
|
351
|
+
MaxResults?: number | undefined;
|
|
352
|
+
/**
|
|
353
|
+
* <p>A token to resume pagination of <code>ListRecords</code> results.</p>
|
|
354
|
+
* @public
|
|
355
|
+
*/
|
|
356
|
+
NextToken?: string | undefined;
|
|
357
|
+
/**
|
|
358
|
+
* <p>If set to <code>true</code>, the result includes records that have been soft
|
|
359
|
+
* deleted.</p>
|
|
360
|
+
* @public
|
|
361
|
+
*/
|
|
362
|
+
IncludeSoftDeletedRecords?: boolean | undefined;
|
|
363
|
+
}
|
|
364
|
+
/**
|
|
365
|
+
* @public
|
|
366
|
+
*/
|
|
367
|
+
export interface ListRecordsResponse {
|
|
368
|
+
/**
|
|
369
|
+
* <p>A list of record identifier values for the records stored in the
|
|
370
|
+
* <code>OnlineStore</code>.</p>
|
|
371
|
+
* @public
|
|
372
|
+
*/
|
|
373
|
+
RecordIdentifiers: string[] | undefined;
|
|
374
|
+
/**
|
|
375
|
+
* <p>A token to resume pagination if the response includes more record identifiers than
|
|
376
|
+
* <code>MaxResults</code>.</p>
|
|
377
|
+
* @public
|
|
378
|
+
*/
|
|
379
|
+
NextToken?: string | undefined;
|
|
251
380
|
}
|
|
252
381
|
/**
|
|
253
382
|
* @public
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { PaginationConfiguration } from "@smithy/types";
|
|
2
|
+
import { SageMakerFeatureStoreRuntimeClient } from "../SageMakerFeatureStoreRuntimeClient";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface SageMakerFeatureStoreRuntimePaginationConfiguration extends PaginationConfiguration {
|
|
7
|
+
client: SageMakerFeatureStoreRuntimeClient;
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListRecordsCommandInput, ListRecordsCommandOutput } from "../commands/ListRecordsCommand";
|
|
3
|
+
import type { SageMakerFeatureStoreRuntimePaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListRecords: (config: SageMakerFeatureStoreRuntimePaginationConfiguration, input: ListRecordsCommandInput, ...rest: any[]) => Paginator<ListRecordsCommandOutput>;
|
|
@@ -13,8 +13,7 @@ export declare const getRuntimeConfig: (config: SageMakerFeatureStoreRuntimeClie
|
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
14
14
|
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
15
15
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
|
-
|
|
17
|
-
streamCollector: import("@smithy/types").StreamCollector;
|
|
16
|
+
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
18
17
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
19
18
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
20
19
|
cacheMiddleware?: boolean | undefined;
|
|
@@ -24,6 +23,7 @@ export declare const getRuntimeConfig: (config: SageMakerFeatureStoreRuntimeClie
|
|
|
24
23
|
[setting: string]: unknown;
|
|
25
24
|
};
|
|
26
25
|
apiVersion: string;
|
|
26
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
27
27
|
urlParser: import("@smithy/types").UrlParser;
|
|
28
28
|
base64Decoder: import("@smithy/types").Decoder;
|
|
29
29
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -14,8 +14,7 @@ export declare const getRuntimeConfig: (config: SageMakerFeatureStoreRuntimeClie
|
|
|
14
14
|
region: string | import("@smithy/types").Provider<string>;
|
|
15
15
|
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
16
16
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
17
|
-
|
|
18
|
-
streamCollector: import("@smithy/types").StreamCollector;
|
|
17
|
+
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
19
18
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
19
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
20
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -26,6 +25,7 @@ export declare const getRuntimeConfig: (config: SageMakerFeatureStoreRuntimeClie
|
|
|
26
25
|
[setting: string]: unknown;
|
|
27
26
|
};
|
|
28
27
|
apiVersion: string;
|
|
28
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
29
29
|
urlParser: import("@smithy/types").UrlParser;
|
|
30
30
|
base64Decoder: import("@smithy/types").Decoder;
|
|
31
31
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -4,7 +4,6 @@ import type { SageMakerFeatureStoreRuntimeClientConfig } from "./SageMakerFeatur
|
|
|
4
4
|
*/
|
|
5
5
|
export declare const getRuntimeConfig: (config: SageMakerFeatureStoreRuntimeClientConfig) => {
|
|
6
6
|
runtime: string;
|
|
7
|
-
sha256: import("@smithy/types").HashConstructor;
|
|
8
7
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
8
|
cacheMiddleware?: boolean;
|
|
10
9
|
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsRestJsonProtocol;
|
|
@@ -13,9 +12,10 @@ export declare const getRuntimeConfig: (config: SageMakerFeatureStoreRuntimeClie
|
|
|
13
12
|
[setting: string]: unknown;
|
|
14
13
|
};
|
|
15
14
|
apiVersion: string;
|
|
15
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
16
16
|
urlParser: import("@smithy/types").UrlParser;
|
|
17
17
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
18
|
-
streamCollector: import("
|
|
18
|
+
streamCollector: (stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob) => Promise<Uint8Array>;
|
|
19
19
|
base64Decoder: import("@smithy/types").Decoder;
|
|
20
20
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
21
21
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -21,6 +21,7 @@ export declare const getRuntimeConfig: (config: SageMakerFeatureStoreRuntimeClie
|
|
|
21
21
|
defaultNamespace?: string;
|
|
22
22
|
};
|
|
23
23
|
serviceId: string;
|
|
24
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
24
25
|
urlParser: import("@smithy/types").UrlParser;
|
|
25
26
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
26
27
|
utf8Encoder: (input: Uint8Array | string) => string;
|
|
@@ -17,13 +17,21 @@ export declare var BatchGetRecordIdentifier$: StaticStructureSchema;
|
|
|
17
17
|
export declare var BatchGetRecordRequest$: StaticStructureSchema;
|
|
18
18
|
export declare var BatchGetRecordResponse$: StaticStructureSchema;
|
|
19
19
|
export declare var BatchGetRecordResultDetail$: StaticStructureSchema;
|
|
20
|
+
export declare var BatchWriteRecordEntry$: StaticStructureSchema;
|
|
21
|
+
export declare var BatchWriteRecordError$: StaticStructureSchema;
|
|
22
|
+
export declare var BatchWriteRecordRequest$: StaticStructureSchema;
|
|
23
|
+
export declare var BatchWriteRecordResponse$: StaticStructureSchema;
|
|
20
24
|
export declare var DeleteRecordRequest$: StaticStructureSchema;
|
|
21
25
|
export declare var FeatureValue$: StaticStructureSchema;
|
|
22
26
|
export declare var GetRecordRequest$: StaticStructureSchema;
|
|
23
27
|
export declare var GetRecordResponse$: StaticStructureSchema;
|
|
28
|
+
export declare var ListRecordsRequest$: StaticStructureSchema;
|
|
29
|
+
export declare var ListRecordsResponse$: StaticStructureSchema;
|
|
24
30
|
export declare var PutRecordRequest$: StaticStructureSchema;
|
|
25
31
|
export declare var TtlDuration$: StaticStructureSchema;
|
|
26
32
|
export declare var BatchGetRecord$: StaticOperationSchema;
|
|
33
|
+
export declare var BatchWriteRecord$: StaticOperationSchema;
|
|
27
34
|
export declare var DeleteRecord$: StaticOperationSchema;
|
|
28
35
|
export declare var GetRecord$: StaticOperationSchema;
|
|
36
|
+
export declare var ListRecords$: StaticOperationSchema;
|
|
29
37
|
export declare var PutRecord$: StaticOperationSchema;
|
|
@@ -1,8 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
BatchGetRecordCommandInput,
|
|
4
8
|
BatchGetRecordCommandOutput,
|
|
5
9
|
} from "./commands/BatchGetRecordCommand";
|
|
10
|
+
import {
|
|
11
|
+
BatchWriteRecordCommandInput,
|
|
12
|
+
BatchWriteRecordCommandOutput,
|
|
13
|
+
} from "./commands/BatchWriteRecordCommand";
|
|
6
14
|
import {
|
|
7
15
|
DeleteRecordCommandInput,
|
|
8
16
|
DeleteRecordCommandOutput,
|
|
@@ -11,6 +19,10 @@ import {
|
|
|
11
19
|
GetRecordCommandInput,
|
|
12
20
|
GetRecordCommandOutput,
|
|
13
21
|
} from "./commands/GetRecordCommand";
|
|
22
|
+
import {
|
|
23
|
+
ListRecordsCommandInput,
|
|
24
|
+
ListRecordsCommandOutput,
|
|
25
|
+
} from "./commands/ListRecordsCommand";
|
|
14
26
|
import {
|
|
15
27
|
PutRecordCommandInput,
|
|
16
28
|
PutRecordCommandOutput,
|
|
@@ -30,6 +42,19 @@ export interface SageMakerFeatureStoreRuntime {
|
|
|
30
42
|
options: __HttpHandlerOptions,
|
|
31
43
|
cb: (err: any, data?: BatchGetRecordCommandOutput) => void
|
|
32
44
|
): void;
|
|
45
|
+
batchWriteRecord(
|
|
46
|
+
args: BatchWriteRecordCommandInput,
|
|
47
|
+
options?: __HttpHandlerOptions
|
|
48
|
+
): Promise<BatchWriteRecordCommandOutput>;
|
|
49
|
+
batchWriteRecord(
|
|
50
|
+
args: BatchWriteRecordCommandInput,
|
|
51
|
+
cb: (err: any, data?: BatchWriteRecordCommandOutput) => void
|
|
52
|
+
): void;
|
|
53
|
+
batchWriteRecord(
|
|
54
|
+
args: BatchWriteRecordCommandInput,
|
|
55
|
+
options: __HttpHandlerOptions,
|
|
56
|
+
cb: (err: any, data?: BatchWriteRecordCommandOutput) => void
|
|
57
|
+
): void;
|
|
33
58
|
deleteRecord(
|
|
34
59
|
args: DeleteRecordCommandInput,
|
|
35
60
|
options?: __HttpHandlerOptions
|
|
@@ -56,6 +81,19 @@ export interface SageMakerFeatureStoreRuntime {
|
|
|
56
81
|
options: __HttpHandlerOptions,
|
|
57
82
|
cb: (err: any, data?: GetRecordCommandOutput) => void
|
|
58
83
|
): void;
|
|
84
|
+
listRecords(
|
|
85
|
+
args: ListRecordsCommandInput,
|
|
86
|
+
options?: __HttpHandlerOptions
|
|
87
|
+
): Promise<ListRecordsCommandOutput>;
|
|
88
|
+
listRecords(
|
|
89
|
+
args: ListRecordsCommandInput,
|
|
90
|
+
cb: (err: any, data?: ListRecordsCommandOutput) => void
|
|
91
|
+
): void;
|
|
92
|
+
listRecords(
|
|
93
|
+
args: ListRecordsCommandInput,
|
|
94
|
+
options: __HttpHandlerOptions,
|
|
95
|
+
cb: (err: any, data?: ListRecordsCommandOutput) => void
|
|
96
|
+
): void;
|
|
59
97
|
putRecord(
|
|
60
98
|
args: PutRecordCommandInput,
|
|
61
99
|
options?: __HttpHandlerOptions
|
|
@@ -69,6 +107,13 @@ export interface SageMakerFeatureStoreRuntime {
|
|
|
69
107
|
options: __HttpHandlerOptions,
|
|
70
108
|
cb: (err: any, data?: PutRecordCommandOutput) => void
|
|
71
109
|
): void;
|
|
110
|
+
paginateListRecords(
|
|
111
|
+
args: ListRecordsCommandInput,
|
|
112
|
+
paginationConfig?: Pick<
|
|
113
|
+
PaginationConfiguration,
|
|
114
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
115
|
+
>
|
|
116
|
+
): Paginator<ListRecordsCommandOutput>;
|
|
72
117
|
}
|
|
73
118
|
export declare class SageMakerFeatureStoreRuntime
|
|
74
119
|
extends SageMakerFeatureStoreRuntimeClient
|
|
@@ -40,6 +40,10 @@ import {
|
|
|
40
40
|
BatchGetRecordCommandInput,
|
|
41
41
|
BatchGetRecordCommandOutput,
|
|
42
42
|
} from "./commands/BatchGetRecordCommand";
|
|
43
|
+
import {
|
|
44
|
+
BatchWriteRecordCommandInput,
|
|
45
|
+
BatchWriteRecordCommandOutput,
|
|
46
|
+
} from "./commands/BatchWriteRecordCommand";
|
|
43
47
|
import {
|
|
44
48
|
DeleteRecordCommandInput,
|
|
45
49
|
DeleteRecordCommandOutput,
|
|
@@ -48,6 +52,10 @@ import {
|
|
|
48
52
|
GetRecordCommandInput,
|
|
49
53
|
GetRecordCommandOutput,
|
|
50
54
|
} from "./commands/GetRecordCommand";
|
|
55
|
+
import {
|
|
56
|
+
ListRecordsCommandInput,
|
|
57
|
+
ListRecordsCommandOutput,
|
|
58
|
+
} from "./commands/ListRecordsCommand";
|
|
51
59
|
import {
|
|
52
60
|
PutRecordCommandInput,
|
|
53
61
|
PutRecordCommandOutput,
|
|
@@ -61,13 +69,17 @@ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
|
61
69
|
export { __Client };
|
|
62
70
|
export type ServiceInputTypes =
|
|
63
71
|
| BatchGetRecordCommandInput
|
|
72
|
+
| BatchWriteRecordCommandInput
|
|
64
73
|
| DeleteRecordCommandInput
|
|
65
74
|
| GetRecordCommandInput
|
|
75
|
+
| ListRecordsCommandInput
|
|
66
76
|
| PutRecordCommandInput;
|
|
67
77
|
export type ServiceOutputTypes =
|
|
68
78
|
| BatchGetRecordCommandOutput
|
|
79
|
+
| BatchWriteRecordCommandOutput
|
|
69
80
|
| DeleteRecordCommandOutput
|
|
70
81
|
| GetRecordCommandOutput
|
|
82
|
+
| ListRecordsCommandOutput
|
|
71
83
|
| PutRecordCommandOutput;
|
|
72
84
|
export interface ClientDefaults
|
|
73
85
|
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BatchWriteRecordRequest,
|
|
5
|
+
BatchWriteRecordResponse,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
SageMakerFeatureStoreRuntimeClientResolvedConfig,
|
|
9
|
+
ServiceInputTypes,
|
|
10
|
+
ServiceOutputTypes,
|
|
11
|
+
} from "../SageMakerFeatureStoreRuntimeClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface BatchWriteRecordCommandInput extends BatchWriteRecordRequest {}
|
|
15
|
+
export interface BatchWriteRecordCommandOutput
|
|
16
|
+
extends BatchWriteRecordResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const BatchWriteRecordCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: BatchWriteRecordCommandInput
|
|
21
|
+
): import("@smithy/core/client").CommandImpl<
|
|
22
|
+
BatchWriteRecordCommandInput,
|
|
23
|
+
BatchWriteRecordCommandOutput,
|
|
24
|
+
SageMakerFeatureStoreRuntimeClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
input: BatchWriteRecordCommandInput
|
|
30
|
+
): import("@smithy/core/client").CommandImpl<
|
|
31
|
+
BatchWriteRecordCommandInput,
|
|
32
|
+
BatchWriteRecordCommandOutput,
|
|
33
|
+
SageMakerFeatureStoreRuntimeClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): {
|
|
38
|
+
[x: string]: unknown;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
export declare class BatchWriteRecordCommand extends BatchWriteRecordCommand_base {
|
|
42
|
+
protected static __types: {
|
|
43
|
+
api: {
|
|
44
|
+
input: BatchWriteRecordRequest;
|
|
45
|
+
output: BatchWriteRecordResponse;
|
|
46
|
+
};
|
|
47
|
+
sdk: {
|
|
48
|
+
input: BatchWriteRecordCommandInput;
|
|
49
|
+
output: BatchWriteRecordCommandOutput;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
}
|