@aws-sdk/client-sagemaker-featurestore-runtime 3.35.0 → 3.36.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 (81) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist-cjs/SageMakerFeatureStoreRuntime.js +0 -1
  3. package/dist-cjs/SageMakerFeatureStoreRuntimeClient.js +0 -1
  4. package/dist-cjs/commands/BatchGetRecordCommand.js +0 -1
  5. package/dist-cjs/commands/DeleteRecordCommand.js +0 -1
  6. package/dist-cjs/commands/GetRecordCommand.js +0 -1
  7. package/dist-cjs/commands/PutRecordCommand.js +0 -1
  8. package/dist-cjs/endpoints.js +0 -1
  9. package/dist-cjs/index.js +0 -1
  10. package/dist-cjs/models/index.js +0 -1
  11. package/dist-cjs/models/models_0.js +0 -1
  12. package/dist-cjs/protocols/Aws_restJson1.js +0 -1
  13. package/dist-cjs/runtimeConfig.browser.js +2 -3
  14. package/dist-cjs/runtimeConfig.js +3 -4
  15. package/dist-cjs/runtimeConfig.native.js +0 -1
  16. package/dist-cjs/runtimeConfig.shared.js +0 -1
  17. package/dist-es/SageMakerFeatureStoreRuntime.js +0 -1
  18. package/dist-es/SageMakerFeatureStoreRuntimeClient.js +0 -1
  19. package/dist-es/commands/BatchGetRecordCommand.js +0 -1
  20. package/dist-es/commands/DeleteRecordCommand.js +0 -1
  21. package/dist-es/commands/GetRecordCommand.js +0 -1
  22. package/dist-es/commands/PutRecordCommand.js +0 -1
  23. package/dist-es/endpoints.js +0 -1
  24. package/dist-es/index.js +0 -1
  25. package/dist-es/models/index.js +0 -1
  26. package/dist-es/models/models_0.js +0 -1
  27. package/dist-es/protocols/Aws_restJson1.js +0 -1
  28. package/dist-es/runtimeConfig.browser.js +1 -2
  29. package/dist-es/runtimeConfig.js +2 -3
  30. package/dist-es/runtimeConfig.native.js +0 -1
  31. package/dist-es/runtimeConfig.shared.js +0 -1
  32. package/package.json +33 -30
  33. package/dist-cjs/SageMakerFeatureStoreRuntime.js.map +0 -1
  34. package/dist-cjs/SageMakerFeatureStoreRuntimeClient.js.map +0 -1
  35. package/dist-cjs/commands/BatchGetRecordCommand.js.map +0 -1
  36. package/dist-cjs/commands/DeleteRecordCommand.js.map +0 -1
  37. package/dist-cjs/commands/GetRecordCommand.js.map +0 -1
  38. package/dist-cjs/commands/PutRecordCommand.js.map +0 -1
  39. package/dist-cjs/endpoints.js.map +0 -1
  40. package/dist-cjs/index.js.map +0 -1
  41. package/dist-cjs/models/index.js.map +0 -1
  42. package/dist-cjs/models/models_0.js.map +0 -1
  43. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  44. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  45. package/dist-cjs/runtimeConfig.js.map +0 -1
  46. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  47. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  48. package/dist-es/SageMakerFeatureStoreRuntime.js.map +0 -1
  49. package/dist-es/SageMakerFeatureStoreRuntimeClient.js.map +0 -1
  50. package/dist-es/commands/BatchGetRecordCommand.js.map +0 -1
  51. package/dist-es/commands/DeleteRecordCommand.js.map +0 -1
  52. package/dist-es/commands/GetRecordCommand.js.map +0 -1
  53. package/dist-es/commands/PutRecordCommand.js.map +0 -1
  54. package/dist-es/endpoints.js.map +0 -1
  55. package/dist-es/index.js.map +0 -1
  56. package/dist-es/models/index.js.map +0 -1
  57. package/dist-es/models/models_0.js.map +0 -1
  58. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  59. package/dist-es/runtimeConfig.browser.js.map +0 -1
  60. package/dist-es/runtimeConfig.js.map +0 -1
  61. package/dist-es/runtimeConfig.native.js.map +0 -1
  62. package/dist-es/runtimeConfig.shared.js.map +0 -1
  63. package/jest.config.js +0 -4
  64. package/src/SageMakerFeatureStoreRuntime.ts +0 -167
  65. package/src/SageMakerFeatureStoreRuntimeClient.ts +0 -275
  66. package/src/commands/BatchGetRecordCommand.ts +0 -99
  67. package/src/commands/DeleteRecordCommand.ts +0 -101
  68. package/src/commands/GetRecordCommand.ts +0 -101
  69. package/src/commands/PutRecordCommand.ts +0 -103
  70. package/src/endpoints.ts +0 -57
  71. package/src/index.ts +0 -7
  72. package/src/models/index.ts +0 -1
  73. package/src/models/models_0.ts +0 -360
  74. package/src/protocols/Aws_restJson1.ts +0 -835
  75. package/src/runtimeConfig.browser.ts +0 -41
  76. package/src/runtimeConfig.native.ts +0 -17
  77. package/src/runtimeConfig.shared.ts +0 -17
  78. package/src/runtimeConfig.ts +0 -46
  79. package/tsconfig.es.json +0 -10
  80. package/tsconfig.json +0 -33
  81. package/tsconfig.types.json +0 -9
@@ -1,101 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DeleteRecordRequest } from "../models/models_0";
15
- import {
16
- deserializeAws_restJson1DeleteRecordCommand,
17
- serializeAws_restJson1DeleteRecordCommand,
18
- } from "../protocols/Aws_restJson1";
19
- import {
20
- SageMakerFeatureStoreRuntimeClientResolvedConfig,
21
- ServiceInputTypes,
22
- ServiceOutputTypes,
23
- } from "../SageMakerFeatureStoreRuntimeClient";
24
-
25
- export interface DeleteRecordCommandInput extends DeleteRecordRequest {}
26
- export interface DeleteRecordCommandOutput extends __MetadataBearer {}
27
-
28
- /**
29
- * <p>Deletes a <code>Record</code> from a <code>FeatureGroup</code>. A new record will show
30
- * up in the <code>OfflineStore</code> when the <code>DeleteRecord</code> API is called. This
31
- * record will have a value of <code>True</code> in the <code>is_deleted</code> column.</p>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { SageMakerFeatureStoreRuntimeClient, DeleteRecordCommand } from "@aws-sdk/client-sagemaker-featurestore-runtime"; // ES Modules import
36
- * // const { SageMakerFeatureStoreRuntimeClient, DeleteRecordCommand } = require("@aws-sdk/client-sagemaker-featurestore-runtime"); // CommonJS import
37
- * const client = new SageMakerFeatureStoreRuntimeClient(config);
38
- * const command = new DeleteRecordCommand(input);
39
- * const response = await client.send(command);
40
- * ```
41
- *
42
- * @see {@link DeleteRecordCommandInput} for command's `input` shape.
43
- * @see {@link DeleteRecordCommandOutput} for command's `response` shape.
44
- * @see {@link SageMakerFeatureStoreRuntimeClientResolvedConfig | config} for command's `input` shape.
45
- *
46
- */
47
- export class DeleteRecordCommand extends $Command<
48
- DeleteRecordCommandInput,
49
- DeleteRecordCommandOutput,
50
- SageMakerFeatureStoreRuntimeClientResolvedConfig
51
- > {
52
- // Start section: command_properties
53
- // End section: command_properties
54
-
55
- constructor(readonly input: DeleteRecordCommandInput) {
56
- // Start section: command_constructor
57
- super();
58
- // End section: command_constructor
59
- }
60
-
61
- /**
62
- * @internal
63
- */
64
- resolveMiddleware(
65
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
66
- configuration: SageMakerFeatureStoreRuntimeClientResolvedConfig,
67
- options?: __HttpHandlerOptions
68
- ): Handler<DeleteRecordCommandInput, DeleteRecordCommandOutput> {
69
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
70
-
71
- const stack = clientStack.concat(this.middlewareStack);
72
-
73
- const { logger } = configuration;
74
- const clientName = "SageMakerFeatureStoreRuntimeClient";
75
- const commandName = "DeleteRecordCommand";
76
- const handlerExecutionContext: HandlerExecutionContext = {
77
- logger,
78
- clientName,
79
- commandName,
80
- inputFilterSensitiveLog: DeleteRecordRequest.filterSensitiveLog,
81
- outputFilterSensitiveLog: (output: any) => output,
82
- };
83
- const { requestHandler } = configuration;
84
- return stack.resolve(
85
- (request: FinalizeHandlerArguments<any>) =>
86
- requestHandler.handle(request.request as __HttpRequest, options || {}),
87
- handlerExecutionContext
88
- );
89
- }
90
-
91
- private serialize(input: DeleteRecordCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
92
- return serializeAws_restJson1DeleteRecordCommand(input, context);
93
- }
94
-
95
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteRecordCommandOutput> {
96
- return deserializeAws_restJson1DeleteRecordCommand(output, context);
97
- }
98
-
99
- // Start section: command_body_extra
100
- // End section: command_body_extra
101
- }
@@ -1,101 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { GetRecordRequest, GetRecordResponse } from "../models/models_0";
15
- import {
16
- deserializeAws_restJson1GetRecordCommand,
17
- serializeAws_restJson1GetRecordCommand,
18
- } from "../protocols/Aws_restJson1";
19
- import {
20
- SageMakerFeatureStoreRuntimeClientResolvedConfig,
21
- ServiceInputTypes,
22
- ServiceOutputTypes,
23
- } from "../SageMakerFeatureStoreRuntimeClient";
24
-
25
- export interface GetRecordCommandInput extends GetRecordRequest {}
26
- export interface GetRecordCommandOutput extends GetRecordResponse, __MetadataBearer {}
27
-
28
- /**
29
- * <p>Use for <code>OnlineStore</code> serving from a <code>FeatureStore</code>. Only the
30
- * latest records stored in the <code>OnlineStore</code> can be retrieved. If no Record with
31
- * <code>RecordIdentifierValue</code> is found, then an empty result is returned. </p>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { SageMakerFeatureStoreRuntimeClient, GetRecordCommand } from "@aws-sdk/client-sagemaker-featurestore-runtime"; // ES Modules import
36
- * // const { SageMakerFeatureStoreRuntimeClient, GetRecordCommand } = require("@aws-sdk/client-sagemaker-featurestore-runtime"); // CommonJS import
37
- * const client = new SageMakerFeatureStoreRuntimeClient(config);
38
- * const command = new GetRecordCommand(input);
39
- * const response = await client.send(command);
40
- * ```
41
- *
42
- * @see {@link GetRecordCommandInput} for command's `input` shape.
43
- * @see {@link GetRecordCommandOutput} for command's `response` shape.
44
- * @see {@link SageMakerFeatureStoreRuntimeClientResolvedConfig | config} for command's `input` shape.
45
- *
46
- */
47
- export class GetRecordCommand extends $Command<
48
- GetRecordCommandInput,
49
- GetRecordCommandOutput,
50
- SageMakerFeatureStoreRuntimeClientResolvedConfig
51
- > {
52
- // Start section: command_properties
53
- // End section: command_properties
54
-
55
- constructor(readonly input: GetRecordCommandInput) {
56
- // Start section: command_constructor
57
- super();
58
- // End section: command_constructor
59
- }
60
-
61
- /**
62
- * @internal
63
- */
64
- resolveMiddleware(
65
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
66
- configuration: SageMakerFeatureStoreRuntimeClientResolvedConfig,
67
- options?: __HttpHandlerOptions
68
- ): Handler<GetRecordCommandInput, GetRecordCommandOutput> {
69
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
70
-
71
- const stack = clientStack.concat(this.middlewareStack);
72
-
73
- const { logger } = configuration;
74
- const clientName = "SageMakerFeatureStoreRuntimeClient";
75
- const commandName = "GetRecordCommand";
76
- const handlerExecutionContext: HandlerExecutionContext = {
77
- logger,
78
- clientName,
79
- commandName,
80
- inputFilterSensitiveLog: GetRecordRequest.filterSensitiveLog,
81
- outputFilterSensitiveLog: GetRecordResponse.filterSensitiveLog,
82
- };
83
- const { requestHandler } = configuration;
84
- return stack.resolve(
85
- (request: FinalizeHandlerArguments<any>) =>
86
- requestHandler.handle(request.request as __HttpRequest, options || {}),
87
- handlerExecutionContext
88
- );
89
- }
90
-
91
- private serialize(input: GetRecordCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
92
- return serializeAws_restJson1GetRecordCommand(input, context);
93
- }
94
-
95
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetRecordCommandOutput> {
96
- return deserializeAws_restJson1GetRecordCommand(output, context);
97
- }
98
-
99
- // Start section: command_body_extra
100
- // End section: command_body_extra
101
- }
@@ -1,103 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { PutRecordRequest } from "../models/models_0";
15
- import {
16
- deserializeAws_restJson1PutRecordCommand,
17
- serializeAws_restJson1PutRecordCommand,
18
- } from "../protocols/Aws_restJson1";
19
- import {
20
- SageMakerFeatureStoreRuntimeClientResolvedConfig,
21
- ServiceInputTypes,
22
- ServiceOutputTypes,
23
- } from "../SageMakerFeatureStoreRuntimeClient";
24
-
25
- export interface PutRecordCommandInput extends PutRecordRequest {}
26
- export interface PutRecordCommandOutput extends __MetadataBearer {}
27
-
28
- /**
29
- * <p>Used for data ingestion into the <code>FeatureStore</code>. The <code>PutRecord</code>
30
- * API writes to both the <code>OnlineStore</code> and <code>OfflineStore</code>. If the
31
- * record is the latest record for the <code>recordIdentifier</code>, the record is written to
32
- * both the <code>OnlineStore</code> and <code>OfflineStore</code>. If the record is a
33
- * historic record, it is written only to the <code>OfflineStore</code>.</p>
34
- * @example
35
- * Use a bare-bones client and the command you need to make an API call.
36
- * ```javascript
37
- * import { SageMakerFeatureStoreRuntimeClient, PutRecordCommand } from "@aws-sdk/client-sagemaker-featurestore-runtime"; // ES Modules import
38
- * // const { SageMakerFeatureStoreRuntimeClient, PutRecordCommand } = require("@aws-sdk/client-sagemaker-featurestore-runtime"); // CommonJS import
39
- * const client = new SageMakerFeatureStoreRuntimeClient(config);
40
- * const command = new PutRecordCommand(input);
41
- * const response = await client.send(command);
42
- * ```
43
- *
44
- * @see {@link PutRecordCommandInput} for command's `input` shape.
45
- * @see {@link PutRecordCommandOutput} for command's `response` shape.
46
- * @see {@link SageMakerFeatureStoreRuntimeClientResolvedConfig | config} for command's `input` shape.
47
- *
48
- */
49
- export class PutRecordCommand extends $Command<
50
- PutRecordCommandInput,
51
- PutRecordCommandOutput,
52
- SageMakerFeatureStoreRuntimeClientResolvedConfig
53
- > {
54
- // Start section: command_properties
55
- // End section: command_properties
56
-
57
- constructor(readonly input: PutRecordCommandInput) {
58
- // Start section: command_constructor
59
- super();
60
- // End section: command_constructor
61
- }
62
-
63
- /**
64
- * @internal
65
- */
66
- resolveMiddleware(
67
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
68
- configuration: SageMakerFeatureStoreRuntimeClientResolvedConfig,
69
- options?: __HttpHandlerOptions
70
- ): Handler<PutRecordCommandInput, PutRecordCommandOutput> {
71
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
72
-
73
- const stack = clientStack.concat(this.middlewareStack);
74
-
75
- const { logger } = configuration;
76
- const clientName = "SageMakerFeatureStoreRuntimeClient";
77
- const commandName = "PutRecordCommand";
78
- const handlerExecutionContext: HandlerExecutionContext = {
79
- logger,
80
- clientName,
81
- commandName,
82
- inputFilterSensitiveLog: PutRecordRequest.filterSensitiveLog,
83
- outputFilterSensitiveLog: (output: any) => output,
84
- };
85
- const { requestHandler } = configuration;
86
- return stack.resolve(
87
- (request: FinalizeHandlerArguments<any>) =>
88
- requestHandler.handle(request.request as __HttpRequest, options || {}),
89
- handlerExecutionContext
90
- );
91
- }
92
-
93
- private serialize(input: PutRecordCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
94
- return serializeAws_restJson1PutRecordCommand(input, context);
95
- }
96
-
97
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutRecordCommandOutput> {
98
- return deserializeAws_restJson1PutRecordCommand(output, context);
99
- }
100
-
101
- // Start section: command_body_extra
102
- // End section: command_body_extra
103
- }
package/src/endpoints.ts DELETED
@@ -1,57 +0,0 @@
1
- import { getRegionInfo, PartitionHash, RegionHash } from "@aws-sdk/config-resolver";
2
- import { RegionInfoProvider } from "@aws-sdk/types";
3
-
4
- const regionHash: RegionHash = {};
5
-
6
- const partitionHash: PartitionHash = {
7
- aws: {
8
- regions: [
9
- "af-south-1",
10
- "ap-east-1",
11
- "ap-northeast-1",
12
- "ap-northeast-2",
13
- "ap-northeast-3",
14
- "ap-south-1",
15
- "ap-southeast-1",
16
- "ap-southeast-2",
17
- "ca-central-1",
18
- "eu-central-1",
19
- "eu-north-1",
20
- "eu-south-1",
21
- "eu-west-1",
22
- "eu-west-2",
23
- "eu-west-3",
24
- "me-south-1",
25
- "sa-east-1",
26
- "us-east-1",
27
- "us-east-2",
28
- "us-west-1",
29
- "us-west-2",
30
- ],
31
- hostname: "featurestore-runtime.sagemaker.{region}.amazonaws.com",
32
- },
33
- "aws-cn": {
34
- regions: ["cn-north-1", "cn-northwest-1"],
35
- hostname: "featurestore-runtime.sagemaker.{region}.amazonaws.com.cn",
36
- },
37
- "aws-iso": {
38
- regions: ["us-iso-east-1"],
39
- hostname: "featurestore-runtime.sagemaker.{region}.c2s.ic.gov",
40
- },
41
- "aws-iso-b": {
42
- regions: ["us-isob-east-1"],
43
- hostname: "featurestore-runtime.sagemaker.{region}.sc2s.sgov.gov",
44
- },
45
- "aws-us-gov": {
46
- regions: ["us-gov-east-1", "us-gov-west-1"],
47
- hostname: "featurestore-runtime.sagemaker.{region}.amazonaws.com",
48
- },
49
- };
50
-
51
- export const defaultRegionInfoProvider: RegionInfoProvider = async (region: string, options?: any) =>
52
- getRegionInfo(region, {
53
- ...options,
54
- signingService: "sagemaker",
55
- regionHash,
56
- partitionHash,
57
- });
package/src/index.ts DELETED
@@ -1,7 +0,0 @@
1
- export * from "./SageMakerFeatureStoreRuntimeClient";
2
- export * from "./SageMakerFeatureStoreRuntime";
3
- export * from "./commands/BatchGetRecordCommand";
4
- export * from "./commands/DeleteRecordCommand";
5
- export * from "./commands/GetRecordCommand";
6
- export * from "./commands/PutRecordCommand";
7
- export * from "./models/index";
@@ -1 +0,0 @@
1
- export * from "./models_0";