@aws-sdk/client-sagemaker-featurestore-runtime 3.1075.0 → 3.1076.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.
Files changed (54) hide show
  1. package/README.md +21 -7
  2. package/dist-cjs/index.js +571 -21
  3. package/dist-es/SageMakerFeatureStoreRuntime.js +9 -1
  4. package/dist-es/commands/BatchWriteRecordCommand.js +16 -0
  5. package/dist-es/commands/ListRecordsCommand.js +16 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/index.js +1 -0
  8. package/dist-es/models/enums.js +4 -4
  9. package/dist-es/pagination/Interfaces.js +1 -0
  10. package/dist-es/pagination/ListRecordsPaginator.js +4 -0
  11. package/dist-es/pagination/index.js +2 -0
  12. package/dist-es/schemas/schemas_0.js +64 -0
  13. package/dist-types/SageMakerFeatureStoreRuntime.d.ts +22 -1
  14. package/dist-types/SageMakerFeatureStoreRuntimeClient.d.ts +4 -2
  15. package/dist-types/commands/BatchWriteRecordCommand.d.ts +197 -0
  16. package/dist-types/commands/DeleteRecordCommand.d.ts +1 -1
  17. package/dist-types/commands/ListRecordsCommand.d.ts +120 -0
  18. package/dist-types/commands/index.d.ts +2 -0
  19. package/dist-types/index.d.ts +1 -0
  20. package/dist-types/models/enums.d.ts +12 -12
  21. package/dist-types/models/models_0.d.ts +139 -10
  22. package/dist-types/pagination/Interfaces.d.ts +8 -0
  23. package/dist-types/pagination/ListRecordsPaginator.d.ts +7 -0
  24. package/dist-types/pagination/index.d.ts +2 -0
  25. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  26. package/dist-types/runtimeConfig.d.ts +1 -1
  27. package/dist-types/runtimeConfig.native.d.ts +1 -1
  28. package/dist-types/schemas/schemas_0.d.ts +8 -0
  29. package/dist-types/ts3.4/SageMakerFeatureStoreRuntime.d.ts +46 -1
  30. package/dist-types/ts3.4/SageMakerFeatureStoreRuntimeClient.d.ts +12 -0
  31. package/dist-types/ts3.4/commands/BatchWriteRecordCommand.d.ts +52 -0
  32. package/dist-types/ts3.4/commands/ListRecordsCommand.d.ts +49 -0
  33. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  34. package/dist-types/ts3.4/index.d.ts +1 -0
  35. package/dist-types/ts3.4/models/enums.d.ts +5 -5
  36. package/dist-types/ts3.4/models/models_0.d.ts +32 -3
  37. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  38. package/dist-types/ts3.4/pagination/ListRecordsPaginator.d.ts +11 -0
  39. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  40. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -1
  41. package/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
  42. package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -1
  43. package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
  44. package/package.json +8 -8
  45. package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
  46. package/dist-cjs/endpoint/bdd.js +0 -46
  47. package/dist-cjs/endpoint/endpointResolver.js +0 -14
  48. package/dist-cjs/models/SageMakerFeatureStoreRuntimeServiceException.js +0 -8
  49. package/dist-cjs/models/errors.js +0 -71
  50. package/dist-cjs/runtimeConfig.browser.js +0 -32
  51. package/dist-cjs/runtimeConfig.js +0 -45
  52. package/dist-cjs/runtimeConfig.native.js +0 -12
  53. package/dist-cjs/runtimeConfig.shared.js +0 -38
  54. package/dist-cjs/schemas/schemas_0.js +0 -198
package/README.md CHANGED
@@ -48,16 +48,16 @@ To install this package, use the CLI of your favorite package manager:
48
48
 
49
49
  The AWS SDK is modulized by clients and commands.
50
50
  To send a request, you only need to import the `SageMakerFeatureStoreRuntimeClient` and
51
- the commands you need, for example `GetRecordCommand`:
51
+ the commands you need, for example `ListRecordsCommand`:
52
52
 
53
53
  ```js
54
54
  // ES5 example
55
- const { SageMakerFeatureStoreRuntimeClient, GetRecordCommand } = require("@aws-sdk/client-sagemaker-featurestore-runtime");
55
+ const { SageMakerFeatureStoreRuntimeClient, ListRecordsCommand } = require("@aws-sdk/client-sagemaker-featurestore-runtime");
56
56
  ```
57
57
 
58
58
  ```ts
59
59
  // ES6+ example
60
- import { SageMakerFeatureStoreRuntimeClient, GetRecordCommand } from "@aws-sdk/client-sagemaker-featurestore-runtime";
60
+ import { SageMakerFeatureStoreRuntimeClient, ListRecordsCommand } from "@aws-sdk/client-sagemaker-featurestore-runtime";
61
61
  ```
62
62
 
63
63
  ### Usage
@@ -74,7 +74,7 @@ To send a request:
74
74
  const client = new SageMakerFeatureStoreRuntimeClient({ region: "REGION" });
75
75
 
76
76
  const params = { /** input parameters */ };
77
- const command = new GetRecordCommand(params);
77
+ const command = new ListRecordsCommand(params);
78
78
  ```
79
79
 
80
80
  #### Async/await
@@ -130,7 +130,7 @@ const client = new SageMakerFeatureStoreRuntime({ region: "REGION" });
130
130
 
131
131
  // async/await.
132
132
  try {
133
- const data = await client.getRecord(params);
133
+ const data = await client.listRecords(params);
134
134
  // process data.
135
135
  } catch (error) {
136
136
  // error handling.
@@ -138,7 +138,7 @@ try {
138
138
 
139
139
  // Promises.
140
140
  client
141
- .getRecord(params)
141
+ .listRecords(params)
142
142
  .then((data) => {
143
143
  // process data.
144
144
  })
@@ -147,7 +147,7 @@ client
147
147
  });
148
148
 
149
149
  // callbacks (not recommended).
150
- client.getRecord(params, (err, data) => {
150
+ client.listRecords(params, (err, data) => {
151
151
  // process err and data.
152
152
  });
153
153
  ```
@@ -214,6 +214,13 @@ BatchGetRecord
214
214
  </details>
215
215
  <details>
216
216
  <summary>
217
+ BatchWriteRecord
218
+ </summary>
219
+
220
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sagemaker-featurestore-runtime/command/BatchWriteRecordCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sagemaker-featurestore-runtime/Interface/BatchWriteRecordCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sagemaker-featurestore-runtime/Interface/BatchWriteRecordCommandOutput/)
221
+ </details>
222
+ <details>
223
+ <summary>
217
224
  DeleteRecord
218
225
  </summary>
219
226
 
@@ -228,6 +235,13 @@ GetRecord
228
235
  </details>
229
236
  <details>
230
237
  <summary>
238
+ ListRecords
239
+ </summary>
240
+
241
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sagemaker-featurestore-runtime/command/ListRecordsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sagemaker-featurestore-runtime/Interface/ListRecordsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sagemaker-featurestore-runtime/Interface/ListRecordsCommandOutput/)
242
+ </details>
243
+ <details>
244
+ <summary>
231
245
  PutRecord
232
246
  </summary>
233
247