@aws-sdk/client-sagemaker-featurestore-runtime 3.303.0 → 3.304.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/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +5 -1
- package/dist-cjs/protocols/Aws_restJson1.js +1 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +1 -0
- package/dist-types/SageMakerFeatureStoreRuntime.d.ts +26 -2
- package/dist-types/commands/BatchGetRecordCommand.d.ts +2 -2
- package/dist-types/commands/DeleteRecordCommand.d.ts +29 -4
- package/dist-types/commands/GetRecordCommand.d.ts +2 -2
- package/dist-types/commands/PutRecordCommand.d.ts +2 -2
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +38 -14
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +6 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const r = "fn", s = "argv", t = "ref";
|
|
5
|
-
const a =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://featurestore-runtime.sagemaker-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://featurestore-runtime.sagemaker-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://featurestore-runtime.sagemaker.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://featurestore-runtime.sagemaker.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ResourceNotFound = exports.TargetStore = exports.ValidationError = exports.ServiceUnavailable = exports.InternalFailure = exports.AccessForbidden = void 0;
|
|
3
|
+
exports.ResourceNotFound = exports.TargetStore = exports.DeletionMode = exports.ValidationError = exports.ServiceUnavailable = exports.InternalFailure = exports.AccessForbidden = void 0;
|
|
4
4
|
const SageMakerFeatureStoreRuntimeServiceException_1 = require("./SageMakerFeatureStoreRuntimeServiceException");
|
|
5
5
|
class AccessForbidden extends SageMakerFeatureStoreRuntimeServiceException_1.SageMakerFeatureStoreRuntimeServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -58,6 +58,10 @@ class ValidationError extends SageMakerFeatureStoreRuntimeServiceException_1.Sag
|
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
exports.ValidationError = ValidationError;
|
|
61
|
+
exports.DeletionMode = {
|
|
62
|
+
HARD_DELETE: "HardDelete",
|
|
63
|
+
SOFT_DELETE: "SoftDelete",
|
|
64
|
+
};
|
|
61
65
|
exports.TargetStore = {
|
|
62
66
|
OFFLINE_STORE: "OfflineStore",
|
|
63
67
|
ONLINE_STORE: "OnlineStore",
|
|
@@ -43,6 +43,7 @@ const serializeAws_restJson1DeleteRecordCommand = async (input, context) => {
|
|
|
43
43
|
() => input.TargetStores !== void 0,
|
|
44
44
|
() => (input.TargetStores || []).map((_entry) => _entry),
|
|
45
45
|
],
|
|
46
|
+
DeletionMode: [, input.DeletionMode],
|
|
46
47
|
});
|
|
47
48
|
let body;
|
|
48
49
|
return new protocol_http_1.HttpRequest({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const r = "fn", s = "argv", t = "ref";
|
|
2
|
-
const a =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://featurestore-runtime.sagemaker-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://featurestore-runtime.sagemaker-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://featurestore-runtime.sagemaker.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://featurestore-runtime.sagemaker.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -51,6 +51,10 @@ export class ValidationError extends __BaseException {
|
|
|
51
51
|
this.Message = opts.Message;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
+
export const DeletionMode = {
|
|
55
|
+
HARD_DELETE: "HardDelete",
|
|
56
|
+
SOFT_DELETE: "SoftDelete",
|
|
57
|
+
};
|
|
54
58
|
export const TargetStore = {
|
|
55
59
|
OFFLINE_STORE: "OfflineStore",
|
|
56
60
|
ONLINE_STORE: "OnlineStore",
|
|
@@ -39,6 +39,7 @@ export const serializeAws_restJson1DeleteRecordCommand = async (input, context)
|
|
|
39
39
|
() => input.TargetStores !== void 0,
|
|
40
40
|
() => (input.TargetStores || []).map((_entry) => _entry),
|
|
41
41
|
],
|
|
42
|
+
DeletionMode: [, input.DeletionMode],
|
|
42
43
|
});
|
|
43
44
|
let body;
|
|
44
45
|
return new __HttpRequest({
|
|
@@ -44,8 +44,32 @@ export declare class SageMakerFeatureStoreRuntime extends SageMakerFeatureStoreR
|
|
|
44
44
|
batchGetRecord(args: BatchGetRecordCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetRecordCommandOutput) => void): void;
|
|
45
45
|
/**
|
|
46
46
|
* @public
|
|
47
|
-
* <p>Deletes a <code>Record</code> from a <code>FeatureGroup</code
|
|
48
|
-
*
|
|
47
|
+
* <p>Deletes a <code>Record</code> from a <code>FeatureGroup</code> in the
|
|
48
|
+
* <code>OnlineStore</code>. Feature Store supports both <code>SOFT_DELETE</code> and
|
|
49
|
+
* <code>HARD_DELETE</code>. For <code>SOFT_DELETE</code> (default), feature columns are
|
|
50
|
+
* set to <code>null</code> and the record is no longer retrievable by <code>GetRecord</code>
|
|
51
|
+
* or <code>BatchGetRecord</code>. For<code> HARD_DELETE</code>, the complete
|
|
52
|
+
* <code>Record</code> is removed from the <code>OnlineStore</code>. In both cases, Feature
|
|
53
|
+
* Store appends the deleted record marker to the <code>OfflineStore</code> with feature
|
|
54
|
+
* values set to <code>null</code>, <code>is_deleted</code> value set to <code>True</code>,
|
|
55
|
+
* and <code>EventTime</code> set to the delete input <code>EventTime</code>.</p>
|
|
56
|
+
* <p>Note that the <code>EventTime</code> specified in <code>DeleteRecord</code> should be
|
|
57
|
+
* set later than the <code>EventTime</code> of the existing record in the
|
|
58
|
+
* <code>OnlineStore</code> for that <code>RecordIdentifer</code>. If it is not, the
|
|
59
|
+
* deletion does not occur:</p>
|
|
60
|
+
* <ul>
|
|
61
|
+
* <li>
|
|
62
|
+
* <p>For <code>SOFT_DELETE</code>, the existing (undeleted) record remains in the
|
|
63
|
+
* <code>OnlineStore</code>, though the delete record marker is still written to the
|
|
64
|
+
* <code>OfflineStore</code>.</p>
|
|
65
|
+
* </li>
|
|
66
|
+
* <li>
|
|
67
|
+
* <p>
|
|
68
|
+
* <code>HARD_DELETE</code> returns <code>EventTime</code>: <code>400
|
|
69
|
+
* ValidationException</code> to indicate that the delete operation failed. No delete
|
|
70
|
+
* record marker is written to the <code>OfflineStore</code>.</p>
|
|
71
|
+
* </li>
|
|
72
|
+
* </ul>
|
|
49
73
|
*/
|
|
50
74
|
deleteRecord(args: DeleteRecordCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRecordCommandOutput>;
|
|
51
75
|
deleteRecord(args: DeleteRecordCommandInput, cb: (err: any, data?: DeleteRecordCommandOutput) => void): void;
|
|
@@ -53,8 +53,8 @@ export interface BatchGetRecordCommandOutput extends BatchGetRecordResponse, __M
|
|
|
53
53
|
* <p>You do not have permission to perform an action.</p>
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link InternalFailure} (server fault)
|
|
56
|
-
* <p>An internal failure occurred. Try your request again. If the problem
|
|
57
|
-
*
|
|
56
|
+
* <p>An internal failure occurred. Try your request again. If the problem persists, contact
|
|
57
|
+
* Amazon Web Services customer support.</p>
|
|
58
58
|
*
|
|
59
59
|
* @throws {@link ServiceUnavailable} (server fault)
|
|
60
60
|
* <p>The service is currently unavailable.</p>
|
|
@@ -19,8 +19,32 @@ export interface DeleteRecordCommandOutput extends __MetadataBearer {
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>Deletes a <code>Record</code> from a <code>FeatureGroup</code
|
|
23
|
-
*
|
|
22
|
+
* <p>Deletes a <code>Record</code> from a <code>FeatureGroup</code> in the
|
|
23
|
+
* <code>OnlineStore</code>. Feature Store supports both <code>SOFT_DELETE</code> and
|
|
24
|
+
* <code>HARD_DELETE</code>. For <code>SOFT_DELETE</code> (default), feature columns are
|
|
25
|
+
* set to <code>null</code> and the record is no longer retrievable by <code>GetRecord</code>
|
|
26
|
+
* or <code>BatchGetRecord</code>. For<code> HARD_DELETE</code>, the complete
|
|
27
|
+
* <code>Record</code> is removed from the <code>OnlineStore</code>. In both cases, Feature
|
|
28
|
+
* Store appends the deleted record marker to the <code>OfflineStore</code> with feature
|
|
29
|
+
* values set to <code>null</code>, <code>is_deleted</code> value set to <code>True</code>,
|
|
30
|
+
* and <code>EventTime</code> set to the delete input <code>EventTime</code>.</p>
|
|
31
|
+
* <p>Note that the <code>EventTime</code> specified in <code>DeleteRecord</code> should be
|
|
32
|
+
* set later than the <code>EventTime</code> of the existing record in the
|
|
33
|
+
* <code>OnlineStore</code> for that <code>RecordIdentifer</code>. If it is not, the
|
|
34
|
+
* deletion does not occur:</p>
|
|
35
|
+
* <ul>
|
|
36
|
+
* <li>
|
|
37
|
+
* <p>For <code>SOFT_DELETE</code>, the existing (undeleted) record remains in the
|
|
38
|
+
* <code>OnlineStore</code>, though the delete record marker is still written to the
|
|
39
|
+
* <code>OfflineStore</code>.</p>
|
|
40
|
+
* </li>
|
|
41
|
+
* <li>
|
|
42
|
+
* <p>
|
|
43
|
+
* <code>HARD_DELETE</code> returns <code>EventTime</code>: <code>400
|
|
44
|
+
* ValidationException</code> to indicate that the delete operation failed. No delete
|
|
45
|
+
* record marker is written to the <code>OfflineStore</code>.</p>
|
|
46
|
+
* </li>
|
|
47
|
+
* </ul>
|
|
24
48
|
* @example
|
|
25
49
|
* Use a bare-bones client and the command you need to make an API call.
|
|
26
50
|
* ```javascript
|
|
@@ -34,6 +58,7 @@ export interface DeleteRecordCommandOutput extends __MetadataBearer {
|
|
|
34
58
|
* TargetStores: [ // TargetStores
|
|
35
59
|
* "OnlineStore" || "OfflineStore",
|
|
36
60
|
* ],
|
|
61
|
+
* DeletionMode: "SoftDelete" || "HardDelete",
|
|
37
62
|
* };
|
|
38
63
|
* const command = new DeleteRecordCommand(input);
|
|
39
64
|
* const response = await client.send(command);
|
|
@@ -49,8 +74,8 @@ export interface DeleteRecordCommandOutput extends __MetadataBearer {
|
|
|
49
74
|
* <p>You do not have permission to perform an action.</p>
|
|
50
75
|
*
|
|
51
76
|
* @throws {@link InternalFailure} (server fault)
|
|
52
|
-
* <p>An internal failure occurred. Try your request again. If the problem
|
|
53
|
-
*
|
|
77
|
+
* <p>An internal failure occurred. Try your request again. If the problem persists, contact
|
|
78
|
+
* Amazon Web Services customer support.</p>
|
|
54
79
|
*
|
|
55
80
|
* @throws {@link ServiceUnavailable} (server fault)
|
|
56
81
|
* <p>The service is currently unavailable.</p>
|
|
@@ -49,8 +49,8 @@ export interface GetRecordCommandOutput extends GetRecordResponse, __MetadataBea
|
|
|
49
49
|
* <p>You do not have permission to perform an action.</p>
|
|
50
50
|
*
|
|
51
51
|
* @throws {@link InternalFailure} (server fault)
|
|
52
|
-
* <p>An internal failure occurred. Try your request again. If the problem
|
|
53
|
-
*
|
|
52
|
+
* <p>An internal failure occurred. Try your request again. If the problem persists, contact
|
|
53
|
+
* Amazon Web Services customer support.</p>
|
|
54
54
|
*
|
|
55
55
|
* @throws {@link ResourceNotFound} (client fault)
|
|
56
56
|
* <p>A resource that is required to perform an action was not found.</p>
|
|
@@ -56,8 +56,8 @@ export interface PutRecordCommandOutput extends __MetadataBearer {
|
|
|
56
56
|
* <p>You do not have permission to perform an action.</p>
|
|
57
57
|
*
|
|
58
58
|
* @throws {@link InternalFailure} (server fault)
|
|
59
|
-
* <p>An internal failure occurred. Try your request again. If the problem
|
|
60
|
-
*
|
|
59
|
+
* <p>An internal failure occurred. Try your request again. If the problem persists, contact
|
|
60
|
+
* Amazon Web Services customer support.</p>
|
|
61
61
|
*
|
|
62
62
|
* @throws {@link ServiceUnavailable} (server fault)
|
|
63
63
|
* <p>The service is currently unavailable.</p>
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region?: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|
|
@@ -15,7 +15,8 @@ export declare class AccessForbidden extends __BaseException {
|
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
17
|
* @public
|
|
18
|
-
* <p>The identifier that identifies the batch of Records you are retrieving in a
|
|
18
|
+
* <p>The identifier that identifies the batch of Records you are retrieving in a
|
|
19
|
+
* batch.</p>
|
|
19
20
|
*/
|
|
20
21
|
export interface BatchGetRecordIdentifier {
|
|
21
22
|
/**
|
|
@@ -37,8 +38,9 @@ export interface BatchGetRecordIdentifier {
|
|
|
37
38
|
*/
|
|
38
39
|
export interface BatchGetRecordRequest {
|
|
39
40
|
/**
|
|
40
|
-
* <p>A list of <code>FeatureGroup</code> names, with their corresponding
|
|
41
|
-
*
|
|
41
|
+
* <p>A list of <code>FeatureGroup</code> names, with their corresponding
|
|
42
|
+
* <code>RecordIdentifier</code> value, and Feature name that have been requested to be
|
|
43
|
+
* retrieved in batch.</p>
|
|
42
44
|
*/
|
|
43
45
|
Identifiers: BatchGetRecordIdentifier[] | undefined;
|
|
44
46
|
}
|
|
@@ -52,17 +54,19 @@ export interface BatchGetRecordError {
|
|
|
52
54
|
*/
|
|
53
55
|
FeatureGroupName: string | undefined;
|
|
54
56
|
/**
|
|
55
|
-
* <p>The value for the <code>RecordIdentifier</code> in string format of a Record from a
|
|
56
|
-
*
|
|
57
|
+
* <p>The value for the <code>RecordIdentifier</code> in string format of a Record from a
|
|
58
|
+
* <code>FeatureGroup</code> that is causing an error when attempting to be
|
|
59
|
+
* retrieved.</p>
|
|
57
60
|
*/
|
|
58
61
|
RecordIdentifierValueAsString: string | undefined;
|
|
59
62
|
/**
|
|
60
|
-
* <p>The error code of an error that has
|
|
63
|
+
* <p>The error code of an error that has occurred when attempting to retrieve a batch of
|
|
61
64
|
* Records. For more information on errors, see <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_feature_store_GetRecord.html#API_feature_store_GetRecord_Errors">Errors</a>.</p>
|
|
62
65
|
*/
|
|
63
66
|
ErrorCode: string | undefined;
|
|
64
67
|
/**
|
|
65
|
-
* <p>The error message of an error that has
|
|
68
|
+
* <p>The error message of an error that has occurred when attempting to retrieve a record in
|
|
69
|
+
* the batch.</p>
|
|
66
70
|
*/
|
|
67
71
|
ErrorMessage: string | undefined;
|
|
68
72
|
}
|
|
@@ -91,7 +95,7 @@ export interface BatchGetRecordResultDetail {
|
|
|
91
95
|
*/
|
|
92
96
|
FeatureGroupName: string | undefined;
|
|
93
97
|
/**
|
|
94
|
-
* <p>The value of the record
|
|
98
|
+
* <p>The value of the record identifier in string format.</p>
|
|
95
99
|
*/
|
|
96
100
|
RecordIdentifierValueAsString: string | undefined;
|
|
97
101
|
/**
|
|
@@ -112,15 +116,15 @@ export interface BatchGetRecordResponse {
|
|
|
112
116
|
*/
|
|
113
117
|
Errors: BatchGetRecordError[] | undefined;
|
|
114
118
|
/**
|
|
115
|
-
* <p>A unprocessed list of <code>FeatureGroup</code> names, with their corresponding
|
|
116
|
-
*
|
|
119
|
+
* <p>A unprocessed list of <code>FeatureGroup</code> names, with their corresponding
|
|
120
|
+
* <code>RecordIdentifier</code> value, and Feature name.</p>
|
|
117
121
|
*/
|
|
118
122
|
UnprocessedIdentifiers: BatchGetRecordIdentifier[] | undefined;
|
|
119
123
|
}
|
|
120
124
|
/**
|
|
121
125
|
* @public
|
|
122
|
-
* <p>An internal failure occurred. Try your request again. If the problem
|
|
123
|
-
*
|
|
126
|
+
* <p>An internal failure occurred. Try your request again. If the problem persists, contact
|
|
127
|
+
* Amazon Web Services customer support.</p>
|
|
124
128
|
*/
|
|
125
129
|
export declare class InternalFailure extends __BaseException {
|
|
126
130
|
readonly name: "InternalFailure";
|
|
@@ -157,6 +161,18 @@ export declare class ValidationError extends __BaseException {
|
|
|
157
161
|
*/
|
|
158
162
|
constructor(opts: __ExceptionOptionType<ValidationError, __BaseException>);
|
|
159
163
|
}
|
|
164
|
+
/**
|
|
165
|
+
* @public
|
|
166
|
+
* @enum
|
|
167
|
+
*/
|
|
168
|
+
export declare const DeletionMode: {
|
|
169
|
+
readonly HARD_DELETE: "HardDelete";
|
|
170
|
+
readonly SOFT_DELETE: "SoftDelete";
|
|
171
|
+
};
|
|
172
|
+
/**
|
|
173
|
+
* @public
|
|
174
|
+
*/
|
|
175
|
+
export type DeletionMode = (typeof DeletionMode)[keyof typeof DeletionMode];
|
|
160
176
|
/**
|
|
161
177
|
* @public
|
|
162
178
|
* @enum
|
|
@@ -188,9 +204,16 @@ export interface DeleteRecordRequest {
|
|
|
188
204
|
*/
|
|
189
205
|
EventTime: string | undefined;
|
|
190
206
|
/**
|
|
191
|
-
* <p>A list of stores from which you're deleting the record. By default, Feature Store
|
|
207
|
+
* <p>A list of stores from which you're deleting the record. By default, Feature Store
|
|
208
|
+
* deletes the record from all of the stores that you're using for the
|
|
209
|
+
* <code>FeatureGroup</code>.</p>
|
|
192
210
|
*/
|
|
193
211
|
TargetStores?: (TargetStore | string)[];
|
|
212
|
+
/**
|
|
213
|
+
* <p>The name of the deletion mode for deleting the record. By default, the deletion mode is
|
|
214
|
+
* set to <code>SoftDelete</code>.</p>
|
|
215
|
+
*/
|
|
216
|
+
DeletionMode?: DeletionMode | string;
|
|
194
217
|
}
|
|
195
218
|
/**
|
|
196
219
|
* @public
|
|
@@ -258,7 +281,8 @@ export interface PutRecordRequest {
|
|
|
258
281
|
*/
|
|
259
282
|
Record: FeatureValue[] | undefined;
|
|
260
283
|
/**
|
|
261
|
-
* <p>A list of stores to which you're adding the record. By default, Feature Store adds the
|
|
284
|
+
* <p>A list of stores to which you're adding the record. By default, Feature Store adds the
|
|
285
|
+
* record to all of the stores that you're using for the <code>FeatureGroup</code>.</p>
|
|
262
286
|
*/
|
|
263
287
|
TargetStores?: (TargetStore | string)[];
|
|
264
288
|
}
|
|
@@ -26,7 +26,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
26
26
|
defaultSigningName: string;
|
|
27
27
|
};
|
|
28
28
|
export interface EndpointParameters extends __EndpointParameters {
|
|
29
|
-
Region
|
|
29
|
+
Region?: string;
|
|
30
30
|
UseDualStack?: boolean;
|
|
31
31
|
UseFIPS?: boolean;
|
|
32
32
|
Endpoint?: string;
|
|
@@ -52,6 +52,11 @@ export declare class ValidationError extends __BaseException {
|
|
|
52
52
|
Message?: string;
|
|
53
53
|
constructor(opts: __ExceptionOptionType<ValidationError, __BaseException>);
|
|
54
54
|
}
|
|
55
|
+
export declare const DeletionMode: {
|
|
56
|
+
readonly HARD_DELETE: "HardDelete";
|
|
57
|
+
readonly SOFT_DELETE: "SoftDelete";
|
|
58
|
+
};
|
|
59
|
+
export type DeletionMode = (typeof DeletionMode)[keyof typeof DeletionMode];
|
|
55
60
|
export declare const TargetStore: {
|
|
56
61
|
readonly OFFLINE_STORE: "OfflineStore";
|
|
57
62
|
readonly ONLINE_STORE: "OnlineStore";
|
|
@@ -62,6 +67,7 @@ export interface DeleteRecordRequest {
|
|
|
62
67
|
RecordIdentifierValueAsString: string | undefined;
|
|
63
68
|
EventTime: string | undefined;
|
|
64
69
|
TargetStores?: (TargetStore | string)[];
|
|
70
|
+
DeletionMode?: DeletionMode | string;
|
|
65
71
|
}
|
|
66
72
|
export interface GetRecordRequest {
|
|
67
73
|
FeatureGroupName: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sagemaker-featurestore-runtime",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sagemaker Featurestore Runtime Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.304.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|