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