@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
package/dist-cjs/index.js
CHANGED
|
@@ -1,21 +1,58 @@
|
|
|
1
|
-
|
|
2
|
-
const {
|
|
3
|
-
const {
|
|
4
|
-
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
1
|
+
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
|
+
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
5
4
|
exports.$Command = Command;
|
|
6
5
|
exports.__Client = Client;
|
|
7
|
-
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
-
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
-
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
-
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
|
-
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
|
-
const {
|
|
13
|
-
const {
|
|
14
|
-
const {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
const {
|
|
18
|
-
|
|
6
|
+
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
|
+
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
8
|
+
const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
9
|
+
const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
10
|
+
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
|
+
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
|
+
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
|
+
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
|
+
const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
|
|
16
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
17
|
+
|
|
18
|
+
const defaultSageMakerFeatureStoreRuntimeHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
19
|
+
return {
|
|
20
|
+
operation: getSmithyContext(context).operation,
|
|
21
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
22
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
23
|
+
})(),
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
27
|
+
return {
|
|
28
|
+
schemeId: "aws.auth#sigv4",
|
|
29
|
+
signingProperties: {
|
|
30
|
+
name: "sagemaker",
|
|
31
|
+
region: authParameters.region,
|
|
32
|
+
},
|
|
33
|
+
propertiesExtractor: (config, context) => ({
|
|
34
|
+
signingProperties: {
|
|
35
|
+
config,
|
|
36
|
+
context,
|
|
37
|
+
},
|
|
38
|
+
}),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
const defaultSageMakerFeatureStoreRuntimeHttpAuthSchemeProvider = (authParameters) => {
|
|
42
|
+
const options = [];
|
|
43
|
+
switch (authParameters.operation) {
|
|
44
|
+
default: {
|
|
45
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
return options;
|
|
49
|
+
};
|
|
50
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
51
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
52
|
+
return Object.assign(config_0, {
|
|
53
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
54
|
+
});
|
|
55
|
+
};
|
|
19
56
|
|
|
20
57
|
const resolveClientEndpointParameters = (options) => {
|
|
21
58
|
return Object.assign(options, {
|
|
@@ -31,6 +68,450 @@ const commonParams = {
|
|
|
31
68
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
32
69
|
};
|
|
33
70
|
|
|
71
|
+
var version = "3.1076.0";
|
|
72
|
+
var packageInfo = {
|
|
73
|
+
version: version};
|
|
74
|
+
|
|
75
|
+
const k = "ref";
|
|
76
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
77
|
+
const _data = {
|
|
78
|
+
conditions: [
|
|
79
|
+
[c, [g]],
|
|
80
|
+
[c, j],
|
|
81
|
+
["aws.partition", j, d],
|
|
82
|
+
[e, [{ [k]: "UseFIPS" }, b]],
|
|
83
|
+
[e, [{ [k]: "UseDualStack" }, b]],
|
|
84
|
+
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
85
|
+
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
|
|
86
|
+
],
|
|
87
|
+
results: [
|
|
88
|
+
[a],
|
|
89
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
90
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
91
|
+
[g, i],
|
|
92
|
+
["https://featurestore-runtime.sagemaker-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
93
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
94
|
+
["https://featurestore-runtime.sagemaker-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
95
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
96
|
+
["https://featurestore-runtime.sagemaker.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
97
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
98
|
+
["https://featurestore-runtime.sagemaker.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
99
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
100
|
+
]
|
|
101
|
+
};
|
|
102
|
+
const root = 2;
|
|
103
|
+
const r = 100_000_000;
|
|
104
|
+
const nodes = new Int32Array([
|
|
105
|
+
-1, 1, -1,
|
|
106
|
+
0, 12, 3,
|
|
107
|
+
1, 4, r + 11,
|
|
108
|
+
2, 5, r + 11,
|
|
109
|
+
3, 8, 6,
|
|
110
|
+
4, 7, r + 10,
|
|
111
|
+
5, r + 8, r + 9,
|
|
112
|
+
4, 10, 9,
|
|
113
|
+
6, r + 6, r + 7,
|
|
114
|
+
5, 11, r + 5,
|
|
115
|
+
6, r + 4, r + 5,
|
|
116
|
+
3, r + 1, 13,
|
|
117
|
+
4, r + 2, r + 3,
|
|
118
|
+
]);
|
|
119
|
+
const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
120
|
+
|
|
121
|
+
const cache = new EndpointCache({
|
|
122
|
+
size: 50,
|
|
123
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
124
|
+
});
|
|
125
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
126
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
127
|
+
endpointParams: endpointParams,
|
|
128
|
+
logger: context.logger,
|
|
129
|
+
}));
|
|
130
|
+
};
|
|
131
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
132
|
+
|
|
133
|
+
class SageMakerFeatureStoreRuntimeServiceException extends ServiceException {
|
|
134
|
+
constructor(options) {
|
|
135
|
+
super(options);
|
|
136
|
+
Object.setPrototypeOf(this, SageMakerFeatureStoreRuntimeServiceException.prototype);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
class AccessForbidden extends SageMakerFeatureStoreRuntimeServiceException {
|
|
141
|
+
name = "AccessForbidden";
|
|
142
|
+
$fault = "client";
|
|
143
|
+
Message;
|
|
144
|
+
constructor(opts) {
|
|
145
|
+
super({
|
|
146
|
+
name: "AccessForbidden",
|
|
147
|
+
$fault: "client",
|
|
148
|
+
...opts,
|
|
149
|
+
});
|
|
150
|
+
Object.setPrototypeOf(this, AccessForbidden.prototype);
|
|
151
|
+
this.Message = opts.Message;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
class InternalFailure extends SageMakerFeatureStoreRuntimeServiceException {
|
|
155
|
+
name = "InternalFailure";
|
|
156
|
+
$fault = "server";
|
|
157
|
+
Message;
|
|
158
|
+
constructor(opts) {
|
|
159
|
+
super({
|
|
160
|
+
name: "InternalFailure",
|
|
161
|
+
$fault: "server",
|
|
162
|
+
...opts,
|
|
163
|
+
});
|
|
164
|
+
Object.setPrototypeOf(this, InternalFailure.prototype);
|
|
165
|
+
this.Message = opts.Message;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
class ServiceUnavailable extends SageMakerFeatureStoreRuntimeServiceException {
|
|
169
|
+
name = "ServiceUnavailable";
|
|
170
|
+
$fault = "server";
|
|
171
|
+
Message;
|
|
172
|
+
constructor(opts) {
|
|
173
|
+
super({
|
|
174
|
+
name: "ServiceUnavailable",
|
|
175
|
+
$fault: "server",
|
|
176
|
+
...opts,
|
|
177
|
+
});
|
|
178
|
+
Object.setPrototypeOf(this, ServiceUnavailable.prototype);
|
|
179
|
+
this.Message = opts.Message;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
class ValidationError extends SageMakerFeatureStoreRuntimeServiceException {
|
|
183
|
+
name = "ValidationError";
|
|
184
|
+
$fault = "client";
|
|
185
|
+
Message;
|
|
186
|
+
constructor(opts) {
|
|
187
|
+
super({
|
|
188
|
+
name: "ValidationError",
|
|
189
|
+
$fault: "client",
|
|
190
|
+
...opts,
|
|
191
|
+
});
|
|
192
|
+
Object.setPrototypeOf(this, ValidationError.prototype);
|
|
193
|
+
this.Message = opts.Message;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
class ResourceNotFound extends SageMakerFeatureStoreRuntimeServiceException {
|
|
197
|
+
name = "ResourceNotFound";
|
|
198
|
+
$fault = "client";
|
|
199
|
+
Message;
|
|
200
|
+
constructor(opts) {
|
|
201
|
+
super({
|
|
202
|
+
name: "ResourceNotFound",
|
|
203
|
+
$fault: "client",
|
|
204
|
+
...opts,
|
|
205
|
+
});
|
|
206
|
+
Object.setPrototypeOf(this, ResourceNotFound.prototype);
|
|
207
|
+
this.Message = opts.Message;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
const _AF = "AccessForbidden";
|
|
212
|
+
const _BGR = "BatchGetRecord";
|
|
213
|
+
const _BGRE = "BatchGetRecordError";
|
|
214
|
+
const _BGREa = "BatchGetRecordErrors";
|
|
215
|
+
const _BGRI = "BatchGetRecordIdentifier";
|
|
216
|
+
const _BGRIa = "BatchGetRecordIdentifiers";
|
|
217
|
+
const _BGRR = "BatchGetRecordRequest";
|
|
218
|
+
const _BGRRD = "BatchGetRecordResultDetail";
|
|
219
|
+
const _BGRRDa = "BatchGetRecordResultDetails";
|
|
220
|
+
const _BGRRa = "BatchGetRecordResponse";
|
|
221
|
+
const _BWR = "BatchWriteRecord";
|
|
222
|
+
const _BWRE = "BatchWriteRecordEntry";
|
|
223
|
+
const _BWREa = "BatchWriteRecordError";
|
|
224
|
+
const _BWREat = "BatchWriteRecordEntries";
|
|
225
|
+
const _BWREatc = "BatchWriteRecordErrors";
|
|
226
|
+
const _BWRR = "BatchWriteRecordRequest";
|
|
227
|
+
const _BWRRa = "BatchWriteRecordResponse";
|
|
228
|
+
const _DM = "DeletionMode";
|
|
229
|
+
const _DR = "DeleteRecord";
|
|
230
|
+
const _DRR = "DeleteRecordRequest";
|
|
231
|
+
const _E = "Errors";
|
|
232
|
+
const _EA = "ExpiresAt";
|
|
233
|
+
const _EC = "ErrorCode";
|
|
234
|
+
const _EM = "ErrorMessage";
|
|
235
|
+
const _ET = "EventTime";
|
|
236
|
+
const _ETR = "ExpirationTimeResponse";
|
|
237
|
+
const _En = "Entry";
|
|
238
|
+
const _Ent = "Entries";
|
|
239
|
+
const _FGN = "FeatureGroupName";
|
|
240
|
+
const _FN = "FeatureNames";
|
|
241
|
+
const _FNe = "FeatureName";
|
|
242
|
+
const _FV = "FeatureValue";
|
|
243
|
+
const _GR = "GetRecord";
|
|
244
|
+
const _GRR = "GetRecordRequest";
|
|
245
|
+
const _GRRe = "GetRecordResponse";
|
|
246
|
+
const _I = "Identifiers";
|
|
247
|
+
const _IF = "InternalFailure";
|
|
248
|
+
const _ISDR = "IncludeSoftDeletedRecords";
|
|
249
|
+
const _LR = "ListRecords";
|
|
250
|
+
const _LRR = "ListRecordsRequest";
|
|
251
|
+
const _LRRi = "ListRecordsResponse";
|
|
252
|
+
const _M = "Message";
|
|
253
|
+
const _MR = "MaxResults";
|
|
254
|
+
const _NT = "NextToken";
|
|
255
|
+
const _PR = "PutRecord";
|
|
256
|
+
const _PRR = "PutRecordRequest";
|
|
257
|
+
const _R = "Records";
|
|
258
|
+
const _RI = "RecordIdentifiers";
|
|
259
|
+
const _RIVAS = "RecordIdentifierValueAsString";
|
|
260
|
+
const _RIVASe = "RecordIdentifiersValueAsString";
|
|
261
|
+
const _RNF = "ResourceNotFound";
|
|
262
|
+
const _Re = "Record";
|
|
263
|
+
const _SU = "ServiceUnavailable";
|
|
264
|
+
const _TD = "TtlDuration";
|
|
265
|
+
const _TS = "TargetStores";
|
|
266
|
+
const _U = "Unit";
|
|
267
|
+
const _UBWRE = "UnprocessedBatchWriteRecordEntries";
|
|
268
|
+
const _UE = "UnprocessedEntries";
|
|
269
|
+
const _UI = "UnprocessedIdentifiers";
|
|
270
|
+
const _V = "Value";
|
|
271
|
+
const _VAS = "ValueAsString";
|
|
272
|
+
const _VASL = "ValueAsStringList";
|
|
273
|
+
const _VE = "ValidationError";
|
|
274
|
+
const _c = "client";
|
|
275
|
+
const _e = "error";
|
|
276
|
+
const _h = "http";
|
|
277
|
+
const _hE = "httpError";
|
|
278
|
+
const _hQ = "httpQuery";
|
|
279
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sagemakerfeaturestoreruntime";
|
|
280
|
+
const _se = "server";
|
|
281
|
+
const n0 = "com.amazonaws.sagemakerfeaturestoreruntime";
|
|
282
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
283
|
+
var SageMakerFeatureStoreRuntimeServiceException$ = [-3, _s, "SageMakerFeatureStoreRuntimeServiceException", 0, [], []];
|
|
284
|
+
_s_registry.registerError(SageMakerFeatureStoreRuntimeServiceException$, SageMakerFeatureStoreRuntimeServiceException);
|
|
285
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
286
|
+
var AccessForbidden$ = [-3, n0, _AF,
|
|
287
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
288
|
+
[_M],
|
|
289
|
+
[0]
|
|
290
|
+
];
|
|
291
|
+
n0_registry.registerError(AccessForbidden$, AccessForbidden);
|
|
292
|
+
var InternalFailure$ = [-3, n0, _IF,
|
|
293
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
294
|
+
[_M],
|
|
295
|
+
[0]
|
|
296
|
+
];
|
|
297
|
+
n0_registry.registerError(InternalFailure$, InternalFailure);
|
|
298
|
+
var ResourceNotFound$ = [-3, n0, _RNF,
|
|
299
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
300
|
+
[_M],
|
|
301
|
+
[0]
|
|
302
|
+
];
|
|
303
|
+
n0_registry.registerError(ResourceNotFound$, ResourceNotFound);
|
|
304
|
+
var ServiceUnavailable$ = [-3, n0, _SU,
|
|
305
|
+
{ [_e]: _se, [_hE]: 503 },
|
|
306
|
+
[_M],
|
|
307
|
+
[0]
|
|
308
|
+
];
|
|
309
|
+
n0_registry.registerError(ServiceUnavailable$, ServiceUnavailable);
|
|
310
|
+
var ValidationError$ = [-3, n0, _VE,
|
|
311
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
312
|
+
[_M],
|
|
313
|
+
[0]
|
|
314
|
+
];
|
|
315
|
+
n0_registry.registerError(ValidationError$, ValidationError);
|
|
316
|
+
const errorTypeRegistries = [
|
|
317
|
+
_s_registry,
|
|
318
|
+
n0_registry,
|
|
319
|
+
];
|
|
320
|
+
var BatchGetRecordError$ = [3, n0, _BGRE,
|
|
321
|
+
0,
|
|
322
|
+
[_FGN, _RIVAS, _EC, _EM],
|
|
323
|
+
[0, 0, 0, 0], 4
|
|
324
|
+
];
|
|
325
|
+
var BatchGetRecordIdentifier$ = [3, n0, _BGRI,
|
|
326
|
+
0,
|
|
327
|
+
[_FGN, _RIVASe, _FN],
|
|
328
|
+
[0, 64 | 0, 64 | 0], 2
|
|
329
|
+
];
|
|
330
|
+
var BatchGetRecordRequest$ = [3, n0, _BGRR,
|
|
331
|
+
0,
|
|
332
|
+
[_I, _ETR],
|
|
333
|
+
[() => BatchGetRecordIdentifiers, 0], 1
|
|
334
|
+
];
|
|
335
|
+
var BatchGetRecordResponse$ = [3, n0, _BGRRa,
|
|
336
|
+
0,
|
|
337
|
+
[_R, _E, _UI],
|
|
338
|
+
[() => BatchGetRecordResultDetails, () => BatchGetRecordErrors, () => UnprocessedIdentifiers], 3
|
|
339
|
+
];
|
|
340
|
+
var BatchGetRecordResultDetail$ = [3, n0, _BGRRD,
|
|
341
|
+
0,
|
|
342
|
+
[_FGN, _RIVAS, _Re, _EA],
|
|
343
|
+
[0, 0, () => _Record, 0], 3
|
|
344
|
+
];
|
|
345
|
+
var BatchWriteRecordEntry$ = [3, n0, _BWRE,
|
|
346
|
+
0,
|
|
347
|
+
[_FGN, _Re, _TS, _TD],
|
|
348
|
+
[0, () => _Record, 64 | 0, () => TtlDuration$], 2
|
|
349
|
+
];
|
|
350
|
+
var BatchWriteRecordError$ = [3, n0, _BWREa,
|
|
351
|
+
0,
|
|
352
|
+
[_En, _EC, _EM],
|
|
353
|
+
[() => BatchWriteRecordEntry$, 0, 0], 3
|
|
354
|
+
];
|
|
355
|
+
var BatchWriteRecordRequest$ = [3, n0, _BWRR,
|
|
356
|
+
0,
|
|
357
|
+
[_Ent, _TD],
|
|
358
|
+
[() => BatchWriteRecordEntries, () => TtlDuration$], 1
|
|
359
|
+
];
|
|
360
|
+
var BatchWriteRecordResponse$ = [3, n0, _BWRRa,
|
|
361
|
+
0,
|
|
362
|
+
[_E, _UE],
|
|
363
|
+
[() => BatchWriteRecordErrors, () => UnprocessedBatchWriteRecordEntries], 2
|
|
364
|
+
];
|
|
365
|
+
var DeleteRecordRequest$ = [3, n0, _DRR,
|
|
366
|
+
0,
|
|
367
|
+
[_FGN, _RIVAS, _ET, _TS, _DM],
|
|
368
|
+
[[0, 1], [0, { [_hQ]: _RIVAS }], [0, { [_hQ]: _ET }], [64 | 0, { [_hQ]: _TS }], [0, { [_hQ]: _DM }]], 3
|
|
369
|
+
];
|
|
370
|
+
var FeatureValue$ = [3, n0, _FV,
|
|
371
|
+
0,
|
|
372
|
+
[_FNe, _VAS, _VASL],
|
|
373
|
+
[0, 0, 64 | 0], 1
|
|
374
|
+
];
|
|
375
|
+
var GetRecordRequest$ = [3, n0, _GRR,
|
|
376
|
+
0,
|
|
377
|
+
[_FGN, _RIVAS, _FN, _ETR],
|
|
378
|
+
[[0, 1], [0, { [_hQ]: _RIVAS }], [64 | 0, { [_hQ]: _FNe }], [0, { [_hQ]: _ETR }]], 2
|
|
379
|
+
];
|
|
380
|
+
var GetRecordResponse$ = [3, n0, _GRRe,
|
|
381
|
+
0,
|
|
382
|
+
[_Re, _EA],
|
|
383
|
+
[() => _Record, 0]
|
|
384
|
+
];
|
|
385
|
+
var ListRecordsRequest$ = [3, n0, _LRR,
|
|
386
|
+
0,
|
|
387
|
+
[_FGN, _MR, _NT, _ISDR],
|
|
388
|
+
[[0, 1], 1, 0, 2], 1
|
|
389
|
+
];
|
|
390
|
+
var ListRecordsResponse$ = [3, n0, _LRRi,
|
|
391
|
+
0,
|
|
392
|
+
[_RI, _NT],
|
|
393
|
+
[64 | 0, 0], 1
|
|
394
|
+
];
|
|
395
|
+
var PutRecordRequest$ = [3, n0, _PRR,
|
|
396
|
+
0,
|
|
397
|
+
[_FGN, _Re, _TS, _TD],
|
|
398
|
+
[[0, 1], () => _Record, 64 | 0, () => TtlDuration$], 2
|
|
399
|
+
];
|
|
400
|
+
var TtlDuration$ = [3, n0, _TD,
|
|
401
|
+
0,
|
|
402
|
+
[_U, _V],
|
|
403
|
+
[0, 1], 2
|
|
404
|
+
];
|
|
405
|
+
var __Unit = "unit";
|
|
406
|
+
var BatchGetRecordErrors = [1, n0, _BGREa,
|
|
407
|
+
0, () => BatchGetRecordError$
|
|
408
|
+
];
|
|
409
|
+
var BatchGetRecordIdentifiers = [1, n0, _BGRIa,
|
|
410
|
+
0, () => BatchGetRecordIdentifier$
|
|
411
|
+
];
|
|
412
|
+
var BatchGetRecordResultDetails = [1, n0, _BGRRDa,
|
|
413
|
+
0, () => BatchGetRecordResultDetail$
|
|
414
|
+
];
|
|
415
|
+
var BatchWriteRecordEntries = [1, n0, _BWREat,
|
|
416
|
+
0, () => BatchWriteRecordEntry$
|
|
417
|
+
];
|
|
418
|
+
var BatchWriteRecordErrors = [1, n0, _BWREatc,
|
|
419
|
+
0, () => BatchWriteRecordError$
|
|
420
|
+
];
|
|
421
|
+
var _Record = [1, n0, _Re,
|
|
422
|
+
0, () => FeatureValue$
|
|
423
|
+
];
|
|
424
|
+
var UnprocessedBatchWriteRecordEntries = [1, n0, _UBWRE,
|
|
425
|
+
0, () => BatchWriteRecordEntry$
|
|
426
|
+
];
|
|
427
|
+
var UnprocessedIdentifiers = [1, n0, _UI,
|
|
428
|
+
0, () => BatchGetRecordIdentifier$
|
|
429
|
+
];
|
|
430
|
+
var BatchGetRecord$ = [9, n0, _BGR,
|
|
431
|
+
{ [_h]: ["POST", "/BatchGetRecord", 200] }, () => BatchGetRecordRequest$, () => BatchGetRecordResponse$
|
|
432
|
+
];
|
|
433
|
+
var BatchWriteRecord$ = [9, n0, _BWR,
|
|
434
|
+
{ [_h]: ["POST", "/BatchWriteRecord", 200] }, () => BatchWriteRecordRequest$, () => BatchWriteRecordResponse$
|
|
435
|
+
];
|
|
436
|
+
var DeleteRecord$ = [9, n0, _DR,
|
|
437
|
+
{ [_h]: ["DELETE", "/FeatureGroup/{FeatureGroupName}", 200] }, () => DeleteRecordRequest$, () => __Unit
|
|
438
|
+
];
|
|
439
|
+
var GetRecord$ = [9, n0, _GR,
|
|
440
|
+
{ [_h]: ["GET", "/FeatureGroup/{FeatureGroupName}", 200] }, () => GetRecordRequest$, () => GetRecordResponse$
|
|
441
|
+
];
|
|
442
|
+
var ListRecords$ = [9, n0, _LR,
|
|
443
|
+
{ [_h]: ["POST", "/FeatureGroup/{FeatureGroupName}/ListRecords", 200] }, () => ListRecordsRequest$, () => ListRecordsResponse$
|
|
444
|
+
];
|
|
445
|
+
var PutRecord$ = [9, n0, _PR,
|
|
446
|
+
{ [_h]: ["PUT", "/FeatureGroup/{FeatureGroupName}", 200] }, () => PutRecordRequest$, () => __Unit
|
|
447
|
+
];
|
|
448
|
+
|
|
449
|
+
const getRuntimeConfig$1 = (config) => {
|
|
450
|
+
return {
|
|
451
|
+
apiVersion: "2020-07-01",
|
|
452
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
453
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
454
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
455
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
456
|
+
extensions: config?.extensions ?? [],
|
|
457
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSageMakerFeatureStoreRuntimeHttpAuthSchemeProvider,
|
|
458
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
459
|
+
{
|
|
460
|
+
schemeId: "aws.auth#sigv4",
|
|
461
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
462
|
+
signer: new AwsSdkSigV4Signer(),
|
|
463
|
+
},
|
|
464
|
+
],
|
|
465
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
466
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
467
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
468
|
+
defaultNamespace: "com.amazonaws.sagemakerfeaturestoreruntime",
|
|
469
|
+
errorTypeRegistries,
|
|
470
|
+
version: "2020-07-01",
|
|
471
|
+
serviceTarget: "AmazonSageMakerFeatureStoreRuntime",
|
|
472
|
+
},
|
|
473
|
+
serviceId: config?.serviceId ?? "SageMaker FeatureStore Runtime",
|
|
474
|
+
sha256: config?.sha256 ?? Sha256,
|
|
475
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
476
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
477
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
478
|
+
};
|
|
479
|
+
};
|
|
480
|
+
|
|
481
|
+
const getRuntimeConfig = (config) => {
|
|
482
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
483
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
484
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
485
|
+
const clientSharedValues = getRuntimeConfig$1(config);
|
|
486
|
+
emitWarningIfUnsupportedVersion$1(process.version);
|
|
487
|
+
const loaderConfig = {
|
|
488
|
+
profile: config?.profile,
|
|
489
|
+
logger: clientSharedValues.logger,
|
|
490
|
+
};
|
|
491
|
+
return {
|
|
492
|
+
...clientSharedValues,
|
|
493
|
+
...config,
|
|
494
|
+
runtime: "node",
|
|
495
|
+
defaultsMode,
|
|
496
|
+
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
497
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
498
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
499
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
500
|
+
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
501
|
+
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
502
|
+
requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
503
|
+
retryMode: config?.retryMode ??
|
|
504
|
+
loadConfig({
|
|
505
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
506
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
507
|
+
}, config),
|
|
508
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
509
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
510
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
511
|
+
userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
512
|
+
};
|
|
513
|
+
};
|
|
514
|
+
|
|
34
515
|
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
516
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
517
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -123,6 +604,18 @@ class BatchGetRecordCommand extends Command
|
|
|
123
604
|
.build() {
|
|
124
605
|
}
|
|
125
606
|
|
|
607
|
+
class BatchWriteRecordCommand extends Command
|
|
608
|
+
.classBuilder()
|
|
609
|
+
.ep(commonParams)
|
|
610
|
+
.m(function (Command, cs, config, o) {
|
|
611
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
612
|
+
})
|
|
613
|
+
.s("AmazonSageMakerFeatureStoreRuntime", "BatchWriteRecord", {})
|
|
614
|
+
.n("SageMakerFeatureStoreRuntimeClient", "BatchWriteRecordCommand")
|
|
615
|
+
.sc(BatchWriteRecord$)
|
|
616
|
+
.build() {
|
|
617
|
+
}
|
|
618
|
+
|
|
126
619
|
class DeleteRecordCommand extends Command
|
|
127
620
|
.classBuilder()
|
|
128
621
|
.ep(commonParams)
|
|
@@ -147,6 +640,18 @@ class GetRecordCommand extends Command
|
|
|
147
640
|
.build() {
|
|
148
641
|
}
|
|
149
642
|
|
|
643
|
+
class ListRecordsCommand extends Command
|
|
644
|
+
.classBuilder()
|
|
645
|
+
.ep(commonParams)
|
|
646
|
+
.m(function (Command, cs, config, o) {
|
|
647
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
648
|
+
})
|
|
649
|
+
.s("AmazonSageMakerFeatureStoreRuntime", "ListRecords", {})
|
|
650
|
+
.n("SageMakerFeatureStoreRuntimeClient", "ListRecordsCommand")
|
|
651
|
+
.sc(ListRecords$)
|
|
652
|
+
.build() {
|
|
653
|
+
}
|
|
654
|
+
|
|
150
655
|
class PutRecordCommand extends Command
|
|
151
656
|
.classBuilder()
|
|
152
657
|
.ep(commonParams)
|
|
@@ -159,24 +664,27 @@ class PutRecordCommand extends Command
|
|
|
159
664
|
.build() {
|
|
160
665
|
}
|
|
161
666
|
|
|
667
|
+
const paginateListRecords = createPaginator(SageMakerFeatureStoreRuntimeClient, ListRecordsCommand, "NextToken", "NextToken", "MaxResults");
|
|
668
|
+
|
|
162
669
|
const commands = {
|
|
163
670
|
BatchGetRecordCommand,
|
|
671
|
+
BatchWriteRecordCommand,
|
|
164
672
|
DeleteRecordCommand,
|
|
165
673
|
GetRecordCommand,
|
|
674
|
+
ListRecordsCommand,
|
|
166
675
|
PutRecordCommand,
|
|
167
676
|
};
|
|
677
|
+
const paginators = {
|
|
678
|
+
paginateListRecords,
|
|
679
|
+
};
|
|
168
680
|
class SageMakerFeatureStoreRuntime extends SageMakerFeatureStoreRuntimeClient {
|
|
169
681
|
}
|
|
170
|
-
createAggregatedClient(commands, SageMakerFeatureStoreRuntime);
|
|
682
|
+
createAggregatedClient(commands, SageMakerFeatureStoreRuntime, { paginators });
|
|
171
683
|
|
|
172
684
|
const ExpirationTimeResponse = {
|
|
173
685
|
DISABLED: "Disabled",
|
|
174
686
|
ENABLED: "Enabled",
|
|
175
687
|
};
|
|
176
|
-
const DeletionMode = {
|
|
177
|
-
HARD_DELETE: "HardDelete",
|
|
178
|
-
SOFT_DELETE: "SoftDelete",
|
|
179
|
-
};
|
|
180
688
|
const TargetStore = {
|
|
181
689
|
OFFLINE_STORE: "OfflineStore",
|
|
182
690
|
ONLINE_STORE: "OnlineStore",
|
|
@@ -188,14 +696,57 @@ const TtlDurationUnit = {
|
|
|
188
696
|
SECONDS: "Seconds",
|
|
189
697
|
WEEKS: "Weeks",
|
|
190
698
|
};
|
|
699
|
+
const DeletionMode = {
|
|
700
|
+
HARD_DELETE: "HardDelete",
|
|
701
|
+
SOFT_DELETE: "SoftDelete",
|
|
702
|
+
};
|
|
191
703
|
|
|
704
|
+
exports.AccessForbidden = AccessForbidden;
|
|
705
|
+
exports.AccessForbidden$ = AccessForbidden$;
|
|
706
|
+
exports.BatchGetRecord$ = BatchGetRecord$;
|
|
192
707
|
exports.BatchGetRecordCommand = BatchGetRecordCommand;
|
|
708
|
+
exports.BatchGetRecordError$ = BatchGetRecordError$;
|
|
709
|
+
exports.BatchGetRecordIdentifier$ = BatchGetRecordIdentifier$;
|
|
710
|
+
exports.BatchGetRecordRequest$ = BatchGetRecordRequest$;
|
|
711
|
+
exports.BatchGetRecordResponse$ = BatchGetRecordResponse$;
|
|
712
|
+
exports.BatchGetRecordResultDetail$ = BatchGetRecordResultDetail$;
|
|
713
|
+
exports.BatchWriteRecord$ = BatchWriteRecord$;
|
|
714
|
+
exports.BatchWriteRecordCommand = BatchWriteRecordCommand;
|
|
715
|
+
exports.BatchWriteRecordEntry$ = BatchWriteRecordEntry$;
|
|
716
|
+
exports.BatchWriteRecordError$ = BatchWriteRecordError$;
|
|
717
|
+
exports.BatchWriteRecordRequest$ = BatchWriteRecordRequest$;
|
|
718
|
+
exports.BatchWriteRecordResponse$ = BatchWriteRecordResponse$;
|
|
719
|
+
exports.DeleteRecord$ = DeleteRecord$;
|
|
193
720
|
exports.DeleteRecordCommand = DeleteRecordCommand;
|
|
721
|
+
exports.DeleteRecordRequest$ = DeleteRecordRequest$;
|
|
194
722
|
exports.DeletionMode = DeletionMode;
|
|
195
723
|
exports.ExpirationTimeResponse = ExpirationTimeResponse;
|
|
724
|
+
exports.FeatureValue$ = FeatureValue$;
|
|
725
|
+
exports.GetRecord$ = GetRecord$;
|
|
196
726
|
exports.GetRecordCommand = GetRecordCommand;
|
|
727
|
+
exports.GetRecordRequest$ = GetRecordRequest$;
|
|
728
|
+
exports.GetRecordResponse$ = GetRecordResponse$;
|
|
729
|
+
exports.InternalFailure = InternalFailure;
|
|
730
|
+
exports.InternalFailure$ = InternalFailure$;
|
|
731
|
+
exports.ListRecords$ = ListRecords$;
|
|
732
|
+
exports.ListRecordsCommand = ListRecordsCommand;
|
|
733
|
+
exports.ListRecordsRequest$ = ListRecordsRequest$;
|
|
734
|
+
exports.ListRecordsResponse$ = ListRecordsResponse$;
|
|
735
|
+
exports.PutRecord$ = PutRecord$;
|
|
197
736
|
exports.PutRecordCommand = PutRecordCommand;
|
|
737
|
+
exports.PutRecordRequest$ = PutRecordRequest$;
|
|
738
|
+
exports.ResourceNotFound = ResourceNotFound;
|
|
739
|
+
exports.ResourceNotFound$ = ResourceNotFound$;
|
|
198
740
|
exports.SageMakerFeatureStoreRuntime = SageMakerFeatureStoreRuntime;
|
|
199
741
|
exports.SageMakerFeatureStoreRuntimeClient = SageMakerFeatureStoreRuntimeClient;
|
|
742
|
+
exports.SageMakerFeatureStoreRuntimeServiceException = SageMakerFeatureStoreRuntimeServiceException;
|
|
743
|
+
exports.SageMakerFeatureStoreRuntimeServiceException$ = SageMakerFeatureStoreRuntimeServiceException$;
|
|
744
|
+
exports.ServiceUnavailable = ServiceUnavailable;
|
|
745
|
+
exports.ServiceUnavailable$ = ServiceUnavailable$;
|
|
200
746
|
exports.TargetStore = TargetStore;
|
|
747
|
+
exports.TtlDuration$ = TtlDuration$;
|
|
201
748
|
exports.TtlDurationUnit = TtlDurationUnit;
|
|
749
|
+
exports.ValidationError = ValidationError;
|
|
750
|
+
exports.ValidationError$ = ValidationError$;
|
|
751
|
+
exports.errorTypeRegistries = errorTypeRegistries;
|
|
752
|
+
exports.paginateListRecords = paginateListRecords;
|
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/core/client";
|
|
2
2
|
import { BatchGetRecordCommand, } from "./commands/BatchGetRecordCommand";
|
|
3
|
+
import { BatchWriteRecordCommand, } from "./commands/BatchWriteRecordCommand";
|
|
3
4
|
import { DeleteRecordCommand, } from "./commands/DeleteRecordCommand";
|
|
4
5
|
import { GetRecordCommand } from "./commands/GetRecordCommand";
|
|
6
|
+
import { ListRecordsCommand, } from "./commands/ListRecordsCommand";
|
|
5
7
|
import { PutRecordCommand } from "./commands/PutRecordCommand";
|
|
8
|
+
import { paginateListRecords } from "./pagination/ListRecordsPaginator";
|
|
6
9
|
import { SageMakerFeatureStoreRuntimeClient } from "./SageMakerFeatureStoreRuntimeClient";
|
|
7
10
|
const commands = {
|
|
8
11
|
BatchGetRecordCommand,
|
|
12
|
+
BatchWriteRecordCommand,
|
|
9
13
|
DeleteRecordCommand,
|
|
10
14
|
GetRecordCommand,
|
|
15
|
+
ListRecordsCommand,
|
|
11
16
|
PutRecordCommand,
|
|
12
17
|
};
|
|
18
|
+
const paginators = {
|
|
19
|
+
paginateListRecords,
|
|
20
|
+
};
|
|
13
21
|
export class SageMakerFeatureStoreRuntime extends SageMakerFeatureStoreRuntimeClient {
|
|
14
22
|
}
|
|
15
|
-
createAggregatedClient(commands, SageMakerFeatureStoreRuntime);
|
|
23
|
+
createAggregatedClient(commands, SageMakerFeatureStoreRuntime, { paginators });
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { BatchWriteRecord$ } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class BatchWriteRecordCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("AmazonSageMakerFeatureStoreRuntime", "BatchWriteRecord", {})
|
|
13
|
+
.n("SageMakerFeatureStoreRuntimeClient", "BatchWriteRecordCommand")
|
|
14
|
+
.sc(BatchWriteRecord$)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|