@aws-sdk/client-sagemaker-featurestore-runtime 3.422.1 → 3.423.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.
@@ -1,131 +1,38 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
- import { BatchGetRecordRequest, BatchGetRecordResponse } from "../models/models_0";
5
- import { SageMakerFeatureStoreRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerFeatureStoreRuntimeClient";
6
- /**
7
- * @public
8
- */
9
- export { __MetadataBearer, $Command };
10
- /**
11
- * @public
12
- *
13
- * The input for {@link BatchGetRecordCommand}.
14
- */
15
- export interface BatchGetRecordCommandInput extends BatchGetRecordRequest {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link BatchGetRecordCommand}.
21
- */
22
- export interface BatchGetRecordCommandOutput extends BatchGetRecordResponse, __MetadataBearer {
23
- }
24
- /**
25
- * @public
26
- * <p>Retrieves a batch of <code>Records</code> from a <code>FeatureGroup</code>.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { SageMakerFeatureStoreRuntimeClient, BatchGetRecordCommand } from "@aws-sdk/client-sagemaker-featurestore-runtime"; // ES Modules import
31
- * // const { SageMakerFeatureStoreRuntimeClient, BatchGetRecordCommand } = require("@aws-sdk/client-sagemaker-featurestore-runtime"); // CommonJS import
32
- * const client = new SageMakerFeatureStoreRuntimeClient(config);
33
- * const input = { // BatchGetRecordRequest
34
- * Identifiers: [ // BatchGetRecordIdentifiers // required
35
- * { // BatchGetRecordIdentifier
36
- * FeatureGroupName: "STRING_VALUE", // required
37
- * RecordIdentifiersValueAsString: [ // RecordIdentifiers // required
38
- * "STRING_VALUE",
39
- * ],
40
- * FeatureNames: [ // FeatureNames
41
- * "STRING_VALUE",
42
- * ],
43
- * },
44
- * ],
45
- * ExpirationTimeResponse: "Enabled" || "Disabled",
46
- * };
47
- * const command = new BatchGetRecordCommand(input);
48
- * const response = await client.send(command);
49
- * // { // BatchGetRecordResponse
50
- * // Records: [ // BatchGetRecordResultDetails // required
51
- * // { // BatchGetRecordResultDetail
52
- * // FeatureGroupName: "STRING_VALUE", // required
53
- * // RecordIdentifierValueAsString: "STRING_VALUE", // required
54
- * // Record: [ // Record // required
55
- * // { // FeatureValue
56
- * // FeatureName: "STRING_VALUE", // required
57
- * // ValueAsString: "STRING_VALUE",
58
- * // ValueAsStringList: [ // ValueAsStringList
59
- * // "STRING_VALUE",
60
- * // ],
61
- * // },
62
- * // ],
63
- * // ExpiresAt: "STRING_VALUE",
64
- * // },
65
- * // ],
66
- * // Errors: [ // BatchGetRecordErrors // required
67
- * // { // BatchGetRecordError
68
- * // FeatureGroupName: "STRING_VALUE", // required
69
- * // RecordIdentifierValueAsString: "STRING_VALUE", // required
70
- * // ErrorCode: "STRING_VALUE", // required
71
- * // ErrorMessage: "STRING_VALUE", // required
72
- * // },
73
- * // ],
74
- * // UnprocessedIdentifiers: [ // UnprocessedIdentifiers // required
75
- * // { // BatchGetRecordIdentifier
76
- * // FeatureGroupName: "STRING_VALUE", // required
77
- * // RecordIdentifiersValueAsString: [ // RecordIdentifiers // required
78
- * // "STRING_VALUE",
79
- * // ],
80
- * // FeatureNames: [ // FeatureNames
81
- * // "STRING_VALUE",
82
- * // ],
83
- * // },
84
- * // ],
85
- * // };
86
- *
87
- * ```
88
- *
89
- * @param BatchGetRecordCommandInput - {@link BatchGetRecordCommandInput}
90
- * @returns {@link BatchGetRecordCommandOutput}
91
- * @see {@link BatchGetRecordCommandInput} for command's `input` shape.
92
- * @see {@link BatchGetRecordCommandOutput} for command's `response` shape.
93
- * @see {@link SageMakerFeatureStoreRuntimeClientResolvedConfig | config} for SageMakerFeatureStoreRuntimeClient's `config` shape.
94
- *
95
- * @throws {@link AccessForbidden} (client fault)
96
- * <p>You do not have permission to perform an action.</p>
97
- *
98
- * @throws {@link InternalFailure} (server fault)
99
- * <p>An internal failure occurred. Try your request again. If the problem persists, contact
100
- * Amazon Web Services customer support.</p>
101
- *
102
- * @throws {@link ServiceUnavailable} (server fault)
103
- * <p>The service is currently unavailable.</p>
104
- *
105
- * @throws {@link ValidationError} (client fault)
106
- * <p>There was an error validating your request.</p>
107
- *
108
- * @throws {@link SageMakerFeatureStoreRuntimeServiceException}
109
- * <p>Base exception class for all service exceptions from SageMakerFeatureStoreRuntime service.</p>
110
- *
111
- */
112
- export declare class BatchGetRecordCommand extends $Command<BatchGetRecordCommandInput, BatchGetRecordCommandOutput, SageMakerFeatureStoreRuntimeClientResolvedConfig> {
113
- readonly input: BatchGetRecordCommandInput;
114
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
115
- /**
116
- * @public
117
- */
118
- constructor(input: BatchGetRecordCommandInput);
119
- /**
120
- * @internal
121
- */
122
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SageMakerFeatureStoreRuntimeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetRecordCommandInput, BatchGetRecordCommandOutput>;
123
- /**
124
- * @internal
125
- */
126
- private serialize;
127
- /**
128
- * @internal
129
- */
130
- private deserialize;
131
- }
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import {
10
+ BatchGetRecordRequest,
11
+ BatchGetRecordResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ SageMakerFeatureStoreRuntimeClientResolvedConfig,
15
+ ServiceInputTypes,
16
+ ServiceOutputTypes,
17
+ } from "../SageMakerFeatureStoreRuntimeClient";
18
+ export { __MetadataBearer, $Command };
19
+ export interface BatchGetRecordCommandInput extends BatchGetRecordRequest {}
20
+ export interface BatchGetRecordCommandOutput
21
+ extends BatchGetRecordResponse,
22
+ __MetadataBearer {}
23
+ export declare class BatchGetRecordCommand extends $Command<
24
+ BatchGetRecordCommandInput,
25
+ BatchGetRecordCommandOutput,
26
+ SageMakerFeatureStoreRuntimeClientResolvedConfig
27
+ > {
28
+ readonly input: BatchGetRecordCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: BatchGetRecordCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: SageMakerFeatureStoreRuntimeClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<BatchGetRecordCommandInput, BatchGetRecordCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -1,115 +1,33 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
- import { DeleteRecordRequest } from "../models/models_0";
5
- import { SageMakerFeatureStoreRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerFeatureStoreRuntimeClient";
6
- /**
7
- * @public
8
- */
9
- export { __MetadataBearer, $Command };
10
- /**
11
- * @public
12
- *
13
- * The input for {@link DeleteRecordCommand}.
14
- */
15
- export interface DeleteRecordCommandInput extends DeleteRecordRequest {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link DeleteRecordCommand}.
21
- */
22
- export interface DeleteRecordCommandOutput extends __MetadataBearer {
23
- }
24
- /**
25
- * @public
26
- * <p>Deletes a <code>Record</code> from a <code>FeatureGroup</code> in the
27
- * <code>OnlineStore</code>. Feature Store supports both <code>SoftDelete</code> and
28
- * <code>HardDelete</code>. For <code>SoftDelete</code> (default), feature columns are set
29
- * to <code>null</code> and the record is no longer retrievable by <code>GetRecord</code> or
30
- * <code>BatchGetRecord</code>. For <code>HardDelete</code>, the complete
31
- * <code>Record</code> is removed from the <code>OnlineStore</code>. In both cases, Feature
32
- * Store appends the deleted record marker to the <code>OfflineStore</code> with feature
33
- * values set to <code>null</code>, <code>is_deleted</code> value set to <code>True</code>,
34
- * and <code>EventTime</code> set to the delete input <code>EventTime</code>.</p>
35
- * <p>Note that the <code>EventTime</code> specified in <code>DeleteRecord</code> should be
36
- * set later than the <code>EventTime</code> of the existing record in the
37
- * <code>OnlineStore</code> for that <code>RecordIdentifer</code>. If it is not, the
38
- * deletion does not occur:</p>
39
- * <ul>
40
- * <li>
41
- * <p>For <code>SoftDelete</code>, the existing (undeleted) record remains in the
42
- * <code>OnlineStore</code>, though the delete record marker is still written to the
43
- * <code>OfflineStore</code>.</p>
44
- * </li>
45
- * <li>
46
- * <p>
47
- * <code>HardDelete</code> returns <code>EventTime</code>: <code>400
48
- * ValidationException</code> to indicate that the delete operation failed. No delete
49
- * record marker is written to the <code>OfflineStore</code>.</p>
50
- * </li>
51
- * </ul>
52
- * @example
53
- * Use a bare-bones client and the command you need to make an API call.
54
- * ```javascript
55
- * import { SageMakerFeatureStoreRuntimeClient, DeleteRecordCommand } from "@aws-sdk/client-sagemaker-featurestore-runtime"; // ES Modules import
56
- * // const { SageMakerFeatureStoreRuntimeClient, DeleteRecordCommand } = require("@aws-sdk/client-sagemaker-featurestore-runtime"); // CommonJS import
57
- * const client = new SageMakerFeatureStoreRuntimeClient(config);
58
- * const input = { // DeleteRecordRequest
59
- * FeatureGroupName: "STRING_VALUE", // required
60
- * RecordIdentifierValueAsString: "STRING_VALUE", // required
61
- * EventTime: "STRING_VALUE", // required
62
- * TargetStores: [ // TargetStores
63
- * "OnlineStore" || "OfflineStore",
64
- * ],
65
- * DeletionMode: "SoftDelete" || "HardDelete",
66
- * };
67
- * const command = new DeleteRecordCommand(input);
68
- * const response = await client.send(command);
69
- * // {};
70
- *
71
- * ```
72
- *
73
- * @param DeleteRecordCommandInput - {@link DeleteRecordCommandInput}
74
- * @returns {@link DeleteRecordCommandOutput}
75
- * @see {@link DeleteRecordCommandInput} for command's `input` shape.
76
- * @see {@link DeleteRecordCommandOutput} for command's `response` shape.
77
- * @see {@link SageMakerFeatureStoreRuntimeClientResolvedConfig | config} for SageMakerFeatureStoreRuntimeClient's `config` shape.
78
- *
79
- * @throws {@link AccessForbidden} (client fault)
80
- * <p>You do not have permission to perform an action.</p>
81
- *
82
- * @throws {@link InternalFailure} (server fault)
83
- * <p>An internal failure occurred. Try your request again. If the problem persists, contact
84
- * Amazon Web Services customer support.</p>
85
- *
86
- * @throws {@link ServiceUnavailable} (server fault)
87
- * <p>The service is currently unavailable.</p>
88
- *
89
- * @throws {@link ValidationError} (client fault)
90
- * <p>There was an error validating your request.</p>
91
- *
92
- * @throws {@link SageMakerFeatureStoreRuntimeServiceException}
93
- * <p>Base exception class for all service exceptions from SageMakerFeatureStoreRuntime service.</p>
94
- *
95
- */
96
- export declare class DeleteRecordCommand extends $Command<DeleteRecordCommandInput, DeleteRecordCommandOutput, SageMakerFeatureStoreRuntimeClientResolvedConfig> {
97
- readonly input: DeleteRecordCommandInput;
98
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
99
- /**
100
- * @public
101
- */
102
- constructor(input: DeleteRecordCommandInput);
103
- /**
104
- * @internal
105
- */
106
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SageMakerFeatureStoreRuntimeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteRecordCommandInput, DeleteRecordCommandOutput>;
107
- /**
108
- * @internal
109
- */
110
- private serialize;
111
- /**
112
- * @internal
113
- */
114
- private deserialize;
115
- }
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import { DeleteRecordRequest } from "../models/models_0";
10
+ import {
11
+ SageMakerFeatureStoreRuntimeClientResolvedConfig,
12
+ ServiceInputTypes,
13
+ ServiceOutputTypes,
14
+ } from "../SageMakerFeatureStoreRuntimeClient";
15
+ export { __MetadataBearer, $Command };
16
+ export interface DeleteRecordCommandInput extends DeleteRecordRequest {}
17
+ export interface DeleteRecordCommandOutput extends __MetadataBearer {}
18
+ export declare class DeleteRecordCommand extends $Command<
19
+ DeleteRecordCommandInput,
20
+ DeleteRecordCommandOutput,
21
+ SageMakerFeatureStoreRuntimeClientResolvedConfig
22
+ > {
23
+ readonly input: DeleteRecordCommandInput;
24
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
25
+ constructor(input: DeleteRecordCommandInput);
26
+ resolveMiddleware(
27
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
28
+ configuration: SageMakerFeatureStoreRuntimeClientResolvedConfig,
29
+ options?: __HttpHandlerOptions
30
+ ): Handler<DeleteRecordCommandInput, DeleteRecordCommandOutput>;
31
+ private serialize;
32
+ private deserialize;
33
+ }
@@ -1,105 +1,35 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
- import { GetRecordRequest, GetRecordResponse } from "../models/models_0";
5
- import { SageMakerFeatureStoreRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerFeatureStoreRuntimeClient";
6
- /**
7
- * @public
8
- */
9
- export { __MetadataBearer, $Command };
10
- /**
11
- * @public
12
- *
13
- * The input for {@link GetRecordCommand}.
14
- */
15
- export interface GetRecordCommandInput extends GetRecordRequest {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link GetRecordCommand}.
21
- */
22
- export interface GetRecordCommandOutput extends GetRecordResponse, __MetadataBearer {
23
- }
24
- /**
25
- * @public
26
- * <p>Use for <code>OnlineStore</code> serving from a <code>FeatureStore</code>. Only the
27
- * latest records stored in the <code>OnlineStore</code> can be retrieved. If no Record with
28
- * <code>RecordIdentifierValue</code> is found, then an empty result is returned. </p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { SageMakerFeatureStoreRuntimeClient, GetRecordCommand } from "@aws-sdk/client-sagemaker-featurestore-runtime"; // ES Modules import
33
- * // const { SageMakerFeatureStoreRuntimeClient, GetRecordCommand } = require("@aws-sdk/client-sagemaker-featurestore-runtime"); // CommonJS import
34
- * const client = new SageMakerFeatureStoreRuntimeClient(config);
35
- * const input = { // GetRecordRequest
36
- * FeatureGroupName: "STRING_VALUE", // required
37
- * RecordIdentifierValueAsString: "STRING_VALUE", // required
38
- * FeatureNames: [ // FeatureNames
39
- * "STRING_VALUE",
40
- * ],
41
- * ExpirationTimeResponse: "Enabled" || "Disabled",
42
- * };
43
- * const command = new GetRecordCommand(input);
44
- * const response = await client.send(command);
45
- * // { // GetRecordResponse
46
- * // Record: [ // Record
47
- * // { // FeatureValue
48
- * // FeatureName: "STRING_VALUE", // required
49
- * // ValueAsString: "STRING_VALUE",
50
- * // ValueAsStringList: [ // ValueAsStringList
51
- * // "STRING_VALUE",
52
- * // ],
53
- * // },
54
- * // ],
55
- * // ExpiresAt: "STRING_VALUE",
56
- * // };
57
- *
58
- * ```
59
- *
60
- * @param GetRecordCommandInput - {@link GetRecordCommandInput}
61
- * @returns {@link GetRecordCommandOutput}
62
- * @see {@link GetRecordCommandInput} for command's `input` shape.
63
- * @see {@link GetRecordCommandOutput} 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
- export declare class GetRecordCommand extends $Command<GetRecordCommandInput, GetRecordCommandOutput, SageMakerFeatureStoreRuntimeClientResolvedConfig> {
87
- readonly input: GetRecordCommandInput;
88
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
89
- /**
90
- * @public
91
- */
92
- constructor(input: GetRecordCommandInput);
93
- /**
94
- * @internal
95
- */
96
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SageMakerFeatureStoreRuntimeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetRecordCommandInput, GetRecordCommandOutput>;
97
- /**
98
- * @internal
99
- */
100
- private serialize;
101
- /**
102
- * @internal
103
- */
104
- private deserialize;
105
- }
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import { GetRecordRequest, GetRecordResponse } from "../models/models_0";
10
+ import {
11
+ SageMakerFeatureStoreRuntimeClientResolvedConfig,
12
+ ServiceInputTypes,
13
+ ServiceOutputTypes,
14
+ } from "../SageMakerFeatureStoreRuntimeClient";
15
+ export { __MetadataBearer, $Command };
16
+ export interface GetRecordCommandInput extends GetRecordRequest {}
17
+ export interface GetRecordCommandOutput
18
+ extends GetRecordResponse,
19
+ __MetadataBearer {}
20
+ export declare class GetRecordCommand extends $Command<
21
+ GetRecordCommandInput,
22
+ GetRecordCommandOutput,
23
+ SageMakerFeatureStoreRuntimeClientResolvedConfig
24
+ > {
25
+ readonly input: GetRecordCommandInput;
26
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
+ constructor(input: GetRecordCommandInput);
28
+ resolveMiddleware(
29
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
+ configuration: SageMakerFeatureStoreRuntimeClientResolvedConfig,
31
+ options?: __HttpHandlerOptions
32
+ ): Handler<GetRecordCommandInput, GetRecordCommandOutput>;
33
+ private serialize;
34
+ private deserialize;
35
+ }
@@ -1,115 +1,33 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
- import { PutRecordRequest } from "../models/models_0";
5
- import { SageMakerFeatureStoreRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerFeatureStoreRuntimeClient";
6
- /**
7
- * @public
8
- */
9
- export { __MetadataBearer, $Command };
10
- /**
11
- * @public
12
- *
13
- * The input for {@link PutRecordCommand}.
14
- */
15
- export interface PutRecordCommandInput extends PutRecordRequest {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link PutRecordCommand}.
21
- */
22
- export interface PutRecordCommandOutput extends __MetadataBearer {
23
- }
24
- /**
25
- * @public
26
- * <p>The <code>PutRecord</code> API is used to ingest a list of <code>Records</code> into
27
- * your feature group. </p>
28
- * <p>If a new record’s <code>EventTime</code> is greater, the new record is written to both
29
- * the <code>OnlineStore</code> and <code>OfflineStore</code>. Otherwise, the record is a
30
- * historic record and it is written only to the <code>OfflineStore</code>. </p>
31
- * <p>You can specify the ingestion to be applied to the <code>OnlineStore</code>,
32
- * <code>OfflineStore</code>, or both by using the <code>TargetStores</code> request
33
- * parameter. </p>
34
- * <p>You can set the ingested record to expire at a given time to live (TTL) duration after
35
- * the record’s event time, <code>ExpiresAt</code> = <code>EventTime</code> +
36
- * <code>TtlDuration</code>, by specifying the <code>TtlDuration</code> parameter. A record
37
- * level <code>TtlDuration</code> is set when specifying the <code>TtlDuration</code>
38
- * parameter using the <code>PutRecord</code> API call. If the input <code>TtlDuration</code>
39
- * is <code>null</code> or unspecified, <code>TtlDuration</code> is set to the default feature
40
- * group level <code>TtlDuration</code>. A record level <code>TtlDuration</code> supersedes
41
- * the group level <code>TtlDuration</code>.</p>
42
- * @example
43
- * Use a bare-bones client and the command you need to make an API call.
44
- * ```javascript
45
- * import { SageMakerFeatureStoreRuntimeClient, PutRecordCommand } from "@aws-sdk/client-sagemaker-featurestore-runtime"; // ES Modules import
46
- * // const { SageMakerFeatureStoreRuntimeClient, PutRecordCommand } = require("@aws-sdk/client-sagemaker-featurestore-runtime"); // CommonJS import
47
- * const client = new SageMakerFeatureStoreRuntimeClient(config);
48
- * const input = { // PutRecordRequest
49
- * FeatureGroupName: "STRING_VALUE", // required
50
- * Record: [ // Record // required
51
- * { // FeatureValue
52
- * FeatureName: "STRING_VALUE", // required
53
- * ValueAsString: "STRING_VALUE",
54
- * ValueAsStringList: [ // ValueAsStringList
55
- * "STRING_VALUE",
56
- * ],
57
- * },
58
- * ],
59
- * TargetStores: [ // TargetStores
60
- * "OnlineStore" || "OfflineStore",
61
- * ],
62
- * TtlDuration: { // TtlDuration
63
- * Unit: "Seconds" || "Minutes" || "Hours" || "Days" || "Weeks", // required
64
- * Value: Number("int"), // required
65
- * },
66
- * };
67
- * const command = new PutRecordCommand(input);
68
- * const response = await client.send(command);
69
- * // {};
70
- *
71
- * ```
72
- *
73
- * @param PutRecordCommandInput - {@link PutRecordCommandInput}
74
- * @returns {@link PutRecordCommandOutput}
75
- * @see {@link PutRecordCommandInput} for command's `input` shape.
76
- * @see {@link PutRecordCommandOutput} for command's `response` shape.
77
- * @see {@link SageMakerFeatureStoreRuntimeClientResolvedConfig | config} for SageMakerFeatureStoreRuntimeClient's `config` shape.
78
- *
79
- * @throws {@link AccessForbidden} (client fault)
80
- * <p>You do not have permission to perform an action.</p>
81
- *
82
- * @throws {@link InternalFailure} (server fault)
83
- * <p>An internal failure occurred. Try your request again. If the problem persists, contact
84
- * Amazon Web Services customer support.</p>
85
- *
86
- * @throws {@link ServiceUnavailable} (server fault)
87
- * <p>The service is currently unavailable.</p>
88
- *
89
- * @throws {@link ValidationError} (client fault)
90
- * <p>There was an error validating your request.</p>
91
- *
92
- * @throws {@link SageMakerFeatureStoreRuntimeServiceException}
93
- * <p>Base exception class for all service exceptions from SageMakerFeatureStoreRuntime service.</p>
94
- *
95
- */
96
- export declare class PutRecordCommand extends $Command<PutRecordCommandInput, PutRecordCommandOutput, SageMakerFeatureStoreRuntimeClientResolvedConfig> {
97
- readonly input: PutRecordCommandInput;
98
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
99
- /**
100
- * @public
101
- */
102
- constructor(input: PutRecordCommandInput);
103
- /**
104
- * @internal
105
- */
106
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SageMakerFeatureStoreRuntimeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutRecordCommandInput, PutRecordCommandOutput>;
107
- /**
108
- * @internal
109
- */
110
- private serialize;
111
- /**
112
- * @internal
113
- */
114
- private deserialize;
115
- }
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@smithy/types";
9
+ import { PutRecordRequest } from "../models/models_0";
10
+ import {
11
+ SageMakerFeatureStoreRuntimeClientResolvedConfig,
12
+ ServiceInputTypes,
13
+ ServiceOutputTypes,
14
+ } from "../SageMakerFeatureStoreRuntimeClient";
15
+ export { __MetadataBearer, $Command };
16
+ export interface PutRecordCommandInput extends PutRecordRequest {}
17
+ export interface PutRecordCommandOutput extends __MetadataBearer {}
18
+ export declare class PutRecordCommand extends $Command<
19
+ PutRecordCommandInput,
20
+ PutRecordCommandOutput,
21
+ SageMakerFeatureStoreRuntimeClientResolvedConfig
22
+ > {
23
+ readonly input: PutRecordCommandInput;
24
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
25
+ constructor(input: PutRecordCommandInput);
26
+ resolveMiddleware(
27
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
28
+ configuration: SageMakerFeatureStoreRuntimeClientResolvedConfig,
29
+ options?: __HttpHandlerOptions
30
+ ): Handler<PutRecordCommandInput, PutRecordCommandOutput>;
31
+ private serialize;
32
+ private deserialize;
33
+ }
@@ -1,4 +1,4 @@
1
- export * from "./BatchGetRecordCommand";
2
- export * from "./DeleteRecordCommand";
3
- export * from "./GetRecordCommand";
4
- export * from "./PutRecordCommand";
1
+ export * from "./BatchGetRecordCommand";
2
+ export * from "./DeleteRecordCommand";
3
+ export * from "./GetRecordCommand";
4
+ export * from "./PutRecordCommand";