@aws-sdk/client-payment-cryptography 3.716.0 → 3.723.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/index.js +157 -110
- package/dist-es/PaymentCryptographyClient.js +1 -0
- package/dist-es/models/models_0.js +24 -16
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/package.json +43 -43
package/dist-cjs/index.js
CHANGED
|
@@ -186,7 +186,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
|
|
|
186
186
|
}, "resolveRuntimeExtensions");
|
|
187
187
|
|
|
188
188
|
// src/PaymentCryptographyClient.ts
|
|
189
|
-
var
|
|
189
|
+
var PaymentCryptographyClient = class extends import_smithy_client.Client {
|
|
190
|
+
static {
|
|
191
|
+
__name(this, "PaymentCryptographyClient");
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* The resolved configuration of PaymentCryptographyClient class. This is resolved and normalized from the {@link PaymentCryptographyClientConfig | constructor configuration interface}.
|
|
195
|
+
*/
|
|
196
|
+
config;
|
|
190
197
|
constructor(...[configuration]) {
|
|
191
198
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
192
199
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -196,7 +203,7 @@ var _PaymentCryptographyClient = class _PaymentCryptographyClient extends import
|
|
|
196
203
|
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
197
204
|
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
198
205
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
199
|
-
const _config_8 = resolveRuntimeExtensions(_config_7,
|
|
206
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
200
207
|
super(_config_8);
|
|
201
208
|
this.config = _config_8;
|
|
202
209
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
@@ -224,8 +231,6 @@ var _PaymentCryptographyClient = class _PaymentCryptographyClient extends import
|
|
|
224
231
|
super.destroy();
|
|
225
232
|
}
|
|
226
233
|
};
|
|
227
|
-
__name(_PaymentCryptographyClient, "PaymentCryptographyClient");
|
|
228
|
-
var PaymentCryptographyClient = _PaymentCryptographyClient;
|
|
229
234
|
|
|
230
235
|
// src/PaymentCryptography.ts
|
|
231
236
|
|
|
@@ -245,7 +250,10 @@ var import_core2 = require("@aws-sdk/core");
|
|
|
245
250
|
|
|
246
251
|
// src/models/PaymentCryptographyServiceException.ts
|
|
247
252
|
|
|
248
|
-
var
|
|
253
|
+
var PaymentCryptographyServiceException = class _PaymentCryptographyServiceException extends import_smithy_client.ServiceException {
|
|
254
|
+
static {
|
|
255
|
+
__name(this, "PaymentCryptographyServiceException");
|
|
256
|
+
}
|
|
249
257
|
/**
|
|
250
258
|
* @internal
|
|
251
259
|
*/
|
|
@@ -254,11 +262,15 @@ var _PaymentCryptographyServiceException = class _PaymentCryptographyServiceExce
|
|
|
254
262
|
Object.setPrototypeOf(this, _PaymentCryptographyServiceException.prototype);
|
|
255
263
|
}
|
|
256
264
|
};
|
|
257
|
-
__name(_PaymentCryptographyServiceException, "PaymentCryptographyServiceException");
|
|
258
|
-
var PaymentCryptographyServiceException = _PaymentCryptographyServiceException;
|
|
259
265
|
|
|
260
266
|
// src/models/models_0.ts
|
|
261
|
-
var
|
|
267
|
+
var AccessDeniedException = class _AccessDeniedException extends PaymentCryptographyServiceException {
|
|
268
|
+
static {
|
|
269
|
+
__name(this, "AccessDeniedException");
|
|
270
|
+
}
|
|
271
|
+
name = "AccessDeniedException";
|
|
272
|
+
$fault = "client";
|
|
273
|
+
Message;
|
|
262
274
|
/**
|
|
263
275
|
* @internal
|
|
264
276
|
*/
|
|
@@ -268,15 +280,17 @@ var _AccessDeniedException = class _AccessDeniedException extends PaymentCryptog
|
|
|
268
280
|
$fault: "client",
|
|
269
281
|
...opts
|
|
270
282
|
});
|
|
271
|
-
this.name = "AccessDeniedException";
|
|
272
|
-
this.$fault = "client";
|
|
273
283
|
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
274
284
|
this.Message = opts.Message;
|
|
275
285
|
}
|
|
276
286
|
};
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
287
|
+
var ConflictException = class _ConflictException extends PaymentCryptographyServiceException {
|
|
288
|
+
static {
|
|
289
|
+
__name(this, "ConflictException");
|
|
290
|
+
}
|
|
291
|
+
name = "ConflictException";
|
|
292
|
+
$fault = "client";
|
|
293
|
+
Message;
|
|
280
294
|
/**
|
|
281
295
|
* @internal
|
|
282
296
|
*/
|
|
@@ -286,15 +300,17 @@ var _ConflictException = class _ConflictException extends PaymentCryptographySer
|
|
|
286
300
|
$fault: "client",
|
|
287
301
|
...opts
|
|
288
302
|
});
|
|
289
|
-
this.name = "ConflictException";
|
|
290
|
-
this.$fault = "client";
|
|
291
303
|
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
292
304
|
this.Message = opts.Message;
|
|
293
305
|
}
|
|
294
306
|
};
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
307
|
+
var InternalServerException = class _InternalServerException extends PaymentCryptographyServiceException {
|
|
308
|
+
static {
|
|
309
|
+
__name(this, "InternalServerException");
|
|
310
|
+
}
|
|
311
|
+
name = "InternalServerException";
|
|
312
|
+
$fault = "server";
|
|
313
|
+
Message;
|
|
298
314
|
/**
|
|
299
315
|
* @internal
|
|
300
316
|
*/
|
|
@@ -304,15 +320,21 @@ var _InternalServerException = class _InternalServerException extends PaymentCry
|
|
|
304
320
|
$fault: "server",
|
|
305
321
|
...opts
|
|
306
322
|
});
|
|
307
|
-
this.name = "InternalServerException";
|
|
308
|
-
this.$fault = "server";
|
|
309
323
|
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
310
324
|
this.Message = opts.Message;
|
|
311
325
|
}
|
|
312
326
|
};
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
327
|
+
var ResourceNotFoundException = class _ResourceNotFoundException extends PaymentCryptographyServiceException {
|
|
328
|
+
static {
|
|
329
|
+
__name(this, "ResourceNotFoundException");
|
|
330
|
+
}
|
|
331
|
+
name = "ResourceNotFoundException";
|
|
332
|
+
$fault = "client";
|
|
333
|
+
/**
|
|
334
|
+
* <p>The string for the exception.</p>
|
|
335
|
+
* @public
|
|
336
|
+
*/
|
|
337
|
+
ResourceId;
|
|
316
338
|
/**
|
|
317
339
|
* @internal
|
|
318
340
|
*/
|
|
@@ -322,15 +344,17 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Paymen
|
|
|
322
344
|
$fault: "client",
|
|
323
345
|
...opts
|
|
324
346
|
});
|
|
325
|
-
this.name = "ResourceNotFoundException";
|
|
326
|
-
this.$fault = "client";
|
|
327
347
|
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
328
348
|
this.ResourceId = opts.ResourceId;
|
|
329
349
|
}
|
|
330
350
|
};
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
351
|
+
var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends PaymentCryptographyServiceException {
|
|
352
|
+
static {
|
|
353
|
+
__name(this, "ServiceQuotaExceededException");
|
|
354
|
+
}
|
|
355
|
+
name = "ServiceQuotaExceededException";
|
|
356
|
+
$fault = "client";
|
|
357
|
+
Message;
|
|
334
358
|
/**
|
|
335
359
|
* @internal
|
|
336
360
|
*/
|
|
@@ -340,15 +364,17 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
|
|
|
340
364
|
$fault: "client",
|
|
341
365
|
...opts
|
|
342
366
|
});
|
|
343
|
-
this.name = "ServiceQuotaExceededException";
|
|
344
|
-
this.$fault = "client";
|
|
345
367
|
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
346
368
|
this.Message = opts.Message;
|
|
347
369
|
}
|
|
348
370
|
};
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
371
|
+
var ServiceUnavailableException = class _ServiceUnavailableException extends PaymentCryptographyServiceException {
|
|
372
|
+
static {
|
|
373
|
+
__name(this, "ServiceUnavailableException");
|
|
374
|
+
}
|
|
375
|
+
name = "ServiceUnavailableException";
|
|
376
|
+
$fault = "server";
|
|
377
|
+
Message;
|
|
352
378
|
/**
|
|
353
379
|
* @internal
|
|
354
380
|
*/
|
|
@@ -358,15 +384,17 @@ var _ServiceUnavailableException = class _ServiceUnavailableException extends Pa
|
|
|
358
384
|
$fault: "server",
|
|
359
385
|
...opts
|
|
360
386
|
});
|
|
361
|
-
this.name = "ServiceUnavailableException";
|
|
362
|
-
this.$fault = "server";
|
|
363
387
|
Object.setPrototypeOf(this, _ServiceUnavailableException.prototype);
|
|
364
388
|
this.Message = opts.Message;
|
|
365
389
|
}
|
|
366
390
|
};
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
391
|
+
var ThrottlingException = class _ThrottlingException extends PaymentCryptographyServiceException {
|
|
392
|
+
static {
|
|
393
|
+
__name(this, "ThrottlingException");
|
|
394
|
+
}
|
|
395
|
+
name = "ThrottlingException";
|
|
396
|
+
$fault = "client";
|
|
397
|
+
Message;
|
|
370
398
|
/**
|
|
371
399
|
* @internal
|
|
372
400
|
*/
|
|
@@ -376,15 +404,17 @@ var _ThrottlingException = class _ThrottlingException extends PaymentCryptograph
|
|
|
376
404
|
$fault: "client",
|
|
377
405
|
...opts
|
|
378
406
|
});
|
|
379
|
-
this.name = "ThrottlingException";
|
|
380
|
-
this.$fault = "client";
|
|
381
407
|
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
382
408
|
this.Message = opts.Message;
|
|
383
409
|
}
|
|
384
410
|
};
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
411
|
+
var ValidationException = class _ValidationException extends PaymentCryptographyServiceException {
|
|
412
|
+
static {
|
|
413
|
+
__name(this, "ValidationException");
|
|
414
|
+
}
|
|
415
|
+
name = "ValidationException";
|
|
416
|
+
$fault = "client";
|
|
417
|
+
Message;
|
|
388
418
|
/**
|
|
389
419
|
* @internal
|
|
390
420
|
*/
|
|
@@ -394,14 +424,10 @@ var _ValidationException = class _ValidationException extends PaymentCryptograph
|
|
|
394
424
|
$fault: "client",
|
|
395
425
|
...opts
|
|
396
426
|
});
|
|
397
|
-
this.name = "ValidationException";
|
|
398
|
-
this.$fault = "client";
|
|
399
427
|
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
400
428
|
this.Message = opts.Message;
|
|
401
429
|
}
|
|
402
430
|
};
|
|
403
|
-
__name(_ValidationException, "ValidationException");
|
|
404
|
-
var ValidationException = _ValidationException;
|
|
405
431
|
var KeyAlgorithm = {
|
|
406
432
|
AES_128: "AES_128",
|
|
407
433
|
AES_192: "AES_192",
|
|
@@ -1204,281 +1230,301 @@ function sharedHeaders(operation) {
|
|
|
1204
1230
|
__name(sharedHeaders, "sharedHeaders");
|
|
1205
1231
|
|
|
1206
1232
|
// src/commands/CreateAliasCommand.ts
|
|
1207
|
-
var
|
|
1233
|
+
var CreateAliasCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1208
1234
|
return [
|
|
1209
1235
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1210
1236
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1211
1237
|
];
|
|
1212
1238
|
}).s("PaymentCryptographyControlPlane", "CreateAlias", {}).n("PaymentCryptographyClient", "CreateAliasCommand").f(void 0, void 0).ser(se_CreateAliasCommand).de(de_CreateAliasCommand).build() {
|
|
1239
|
+
static {
|
|
1240
|
+
__name(this, "CreateAliasCommand");
|
|
1241
|
+
}
|
|
1213
1242
|
};
|
|
1214
|
-
__name(_CreateAliasCommand, "CreateAliasCommand");
|
|
1215
|
-
var CreateAliasCommand = _CreateAliasCommand;
|
|
1216
1243
|
|
|
1217
1244
|
// src/commands/CreateKeyCommand.ts
|
|
1218
1245
|
|
|
1219
1246
|
|
|
1220
1247
|
|
|
1221
|
-
var
|
|
1248
|
+
var CreateKeyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1222
1249
|
return [
|
|
1223
1250
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1224
1251
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1225
1252
|
];
|
|
1226
1253
|
}).s("PaymentCryptographyControlPlane", "CreateKey", {}).n("PaymentCryptographyClient", "CreateKeyCommand").f(void 0, void 0).ser(se_CreateKeyCommand).de(de_CreateKeyCommand).build() {
|
|
1254
|
+
static {
|
|
1255
|
+
__name(this, "CreateKeyCommand");
|
|
1256
|
+
}
|
|
1227
1257
|
};
|
|
1228
|
-
__name(_CreateKeyCommand, "CreateKeyCommand");
|
|
1229
|
-
var CreateKeyCommand = _CreateKeyCommand;
|
|
1230
1258
|
|
|
1231
1259
|
// src/commands/DeleteAliasCommand.ts
|
|
1232
1260
|
|
|
1233
1261
|
|
|
1234
1262
|
|
|
1235
|
-
var
|
|
1263
|
+
var DeleteAliasCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1236
1264
|
return [
|
|
1237
1265
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1238
1266
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1239
1267
|
];
|
|
1240
1268
|
}).s("PaymentCryptographyControlPlane", "DeleteAlias", {}).n("PaymentCryptographyClient", "DeleteAliasCommand").f(void 0, void 0).ser(se_DeleteAliasCommand).de(de_DeleteAliasCommand).build() {
|
|
1269
|
+
static {
|
|
1270
|
+
__name(this, "DeleteAliasCommand");
|
|
1271
|
+
}
|
|
1241
1272
|
};
|
|
1242
|
-
__name(_DeleteAliasCommand, "DeleteAliasCommand");
|
|
1243
|
-
var DeleteAliasCommand = _DeleteAliasCommand;
|
|
1244
1273
|
|
|
1245
1274
|
// src/commands/DeleteKeyCommand.ts
|
|
1246
1275
|
|
|
1247
1276
|
|
|
1248
1277
|
|
|
1249
|
-
var
|
|
1278
|
+
var DeleteKeyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1250
1279
|
return [
|
|
1251
1280
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1252
1281
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1253
1282
|
];
|
|
1254
1283
|
}).s("PaymentCryptographyControlPlane", "DeleteKey", {}).n("PaymentCryptographyClient", "DeleteKeyCommand").f(void 0, void 0).ser(se_DeleteKeyCommand).de(de_DeleteKeyCommand).build() {
|
|
1284
|
+
static {
|
|
1285
|
+
__name(this, "DeleteKeyCommand");
|
|
1286
|
+
}
|
|
1255
1287
|
};
|
|
1256
|
-
__name(_DeleteKeyCommand, "DeleteKeyCommand");
|
|
1257
|
-
var DeleteKeyCommand = _DeleteKeyCommand;
|
|
1258
1288
|
|
|
1259
1289
|
// src/commands/ExportKeyCommand.ts
|
|
1260
1290
|
|
|
1261
1291
|
|
|
1262
1292
|
|
|
1263
|
-
var
|
|
1293
|
+
var ExportKeyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1264
1294
|
return [
|
|
1265
1295
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1266
1296
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1267
1297
|
];
|
|
1268
1298
|
}).s("PaymentCryptographyControlPlane", "ExportKey", {}).n("PaymentCryptographyClient", "ExportKeyCommand").f(ExportKeyInputFilterSensitiveLog, ExportKeyOutputFilterSensitiveLog).ser(se_ExportKeyCommand).de(de_ExportKeyCommand).build() {
|
|
1299
|
+
static {
|
|
1300
|
+
__name(this, "ExportKeyCommand");
|
|
1301
|
+
}
|
|
1269
1302
|
};
|
|
1270
|
-
__name(_ExportKeyCommand, "ExportKeyCommand");
|
|
1271
|
-
var ExportKeyCommand = _ExportKeyCommand;
|
|
1272
1303
|
|
|
1273
1304
|
// src/commands/GetAliasCommand.ts
|
|
1274
1305
|
|
|
1275
1306
|
|
|
1276
1307
|
|
|
1277
|
-
var
|
|
1308
|
+
var GetAliasCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1278
1309
|
return [
|
|
1279
1310
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1280
1311
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1281
1312
|
];
|
|
1282
1313
|
}).s("PaymentCryptographyControlPlane", "GetAlias", {}).n("PaymentCryptographyClient", "GetAliasCommand").f(void 0, void 0).ser(se_GetAliasCommand).de(de_GetAliasCommand).build() {
|
|
1314
|
+
static {
|
|
1315
|
+
__name(this, "GetAliasCommand");
|
|
1316
|
+
}
|
|
1283
1317
|
};
|
|
1284
|
-
__name(_GetAliasCommand, "GetAliasCommand");
|
|
1285
|
-
var GetAliasCommand = _GetAliasCommand;
|
|
1286
1318
|
|
|
1287
1319
|
// src/commands/GetKeyCommand.ts
|
|
1288
1320
|
|
|
1289
1321
|
|
|
1290
1322
|
|
|
1291
|
-
var
|
|
1323
|
+
var GetKeyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1292
1324
|
return [
|
|
1293
1325
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1294
1326
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1295
1327
|
];
|
|
1296
1328
|
}).s("PaymentCryptographyControlPlane", "GetKey", {}).n("PaymentCryptographyClient", "GetKeyCommand").f(void 0, void 0).ser(se_GetKeyCommand).de(de_GetKeyCommand).build() {
|
|
1329
|
+
static {
|
|
1330
|
+
__name(this, "GetKeyCommand");
|
|
1331
|
+
}
|
|
1297
1332
|
};
|
|
1298
|
-
__name(_GetKeyCommand, "GetKeyCommand");
|
|
1299
|
-
var GetKeyCommand = _GetKeyCommand;
|
|
1300
1333
|
|
|
1301
1334
|
// src/commands/GetParametersForExportCommand.ts
|
|
1302
1335
|
|
|
1303
1336
|
|
|
1304
1337
|
|
|
1305
|
-
var
|
|
1338
|
+
var GetParametersForExportCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1306
1339
|
return [
|
|
1307
1340
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1308
1341
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1309
1342
|
];
|
|
1310
1343
|
}).s("PaymentCryptographyControlPlane", "GetParametersForExport", {}).n("PaymentCryptographyClient", "GetParametersForExportCommand").f(void 0, GetParametersForExportOutputFilterSensitiveLog).ser(se_GetParametersForExportCommand).de(de_GetParametersForExportCommand).build() {
|
|
1344
|
+
static {
|
|
1345
|
+
__name(this, "GetParametersForExportCommand");
|
|
1346
|
+
}
|
|
1311
1347
|
};
|
|
1312
|
-
__name(_GetParametersForExportCommand, "GetParametersForExportCommand");
|
|
1313
|
-
var GetParametersForExportCommand = _GetParametersForExportCommand;
|
|
1314
1348
|
|
|
1315
1349
|
// src/commands/GetParametersForImportCommand.ts
|
|
1316
1350
|
|
|
1317
1351
|
|
|
1318
1352
|
|
|
1319
|
-
var
|
|
1353
|
+
var GetParametersForImportCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1320
1354
|
return [
|
|
1321
1355
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1322
1356
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1323
1357
|
];
|
|
1324
1358
|
}).s("PaymentCryptographyControlPlane", "GetParametersForImport", {}).n("PaymentCryptographyClient", "GetParametersForImportCommand").f(void 0, GetParametersForImportOutputFilterSensitiveLog).ser(se_GetParametersForImportCommand).de(de_GetParametersForImportCommand).build() {
|
|
1359
|
+
static {
|
|
1360
|
+
__name(this, "GetParametersForImportCommand");
|
|
1361
|
+
}
|
|
1325
1362
|
};
|
|
1326
|
-
__name(_GetParametersForImportCommand, "GetParametersForImportCommand");
|
|
1327
|
-
var GetParametersForImportCommand = _GetParametersForImportCommand;
|
|
1328
1363
|
|
|
1329
1364
|
// src/commands/GetPublicKeyCertificateCommand.ts
|
|
1330
1365
|
|
|
1331
1366
|
|
|
1332
1367
|
|
|
1333
|
-
var
|
|
1368
|
+
var GetPublicKeyCertificateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1334
1369
|
return [
|
|
1335
1370
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1336
1371
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1337
1372
|
];
|
|
1338
1373
|
}).s("PaymentCryptographyControlPlane", "GetPublicKeyCertificate", {}).n("PaymentCryptographyClient", "GetPublicKeyCertificateCommand").f(void 0, GetPublicKeyCertificateOutputFilterSensitiveLog).ser(se_GetPublicKeyCertificateCommand).de(de_GetPublicKeyCertificateCommand).build() {
|
|
1374
|
+
static {
|
|
1375
|
+
__name(this, "GetPublicKeyCertificateCommand");
|
|
1376
|
+
}
|
|
1339
1377
|
};
|
|
1340
|
-
__name(_GetPublicKeyCertificateCommand, "GetPublicKeyCertificateCommand");
|
|
1341
|
-
var GetPublicKeyCertificateCommand = _GetPublicKeyCertificateCommand;
|
|
1342
1378
|
|
|
1343
1379
|
// src/commands/ImportKeyCommand.ts
|
|
1344
1380
|
|
|
1345
1381
|
|
|
1346
1382
|
|
|
1347
|
-
var
|
|
1383
|
+
var ImportKeyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1348
1384
|
return [
|
|
1349
1385
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1350
1386
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1351
1387
|
];
|
|
1352
1388
|
}).s("PaymentCryptographyControlPlane", "ImportKey", {}).n("PaymentCryptographyClient", "ImportKeyCommand").f(ImportKeyInputFilterSensitiveLog, void 0).ser(se_ImportKeyCommand).de(de_ImportKeyCommand).build() {
|
|
1389
|
+
static {
|
|
1390
|
+
__name(this, "ImportKeyCommand");
|
|
1391
|
+
}
|
|
1353
1392
|
};
|
|
1354
|
-
__name(_ImportKeyCommand, "ImportKeyCommand");
|
|
1355
|
-
var ImportKeyCommand = _ImportKeyCommand;
|
|
1356
1393
|
|
|
1357
1394
|
// src/commands/ListAliasesCommand.ts
|
|
1358
1395
|
|
|
1359
1396
|
|
|
1360
1397
|
|
|
1361
|
-
var
|
|
1398
|
+
var ListAliasesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1362
1399
|
return [
|
|
1363
1400
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1364
1401
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1365
1402
|
];
|
|
1366
1403
|
}).s("PaymentCryptographyControlPlane", "ListAliases", {}).n("PaymentCryptographyClient", "ListAliasesCommand").f(void 0, void 0).ser(se_ListAliasesCommand).de(de_ListAliasesCommand).build() {
|
|
1404
|
+
static {
|
|
1405
|
+
__name(this, "ListAliasesCommand");
|
|
1406
|
+
}
|
|
1367
1407
|
};
|
|
1368
|
-
__name(_ListAliasesCommand, "ListAliasesCommand");
|
|
1369
|
-
var ListAliasesCommand = _ListAliasesCommand;
|
|
1370
1408
|
|
|
1371
1409
|
// src/commands/ListKeysCommand.ts
|
|
1372
1410
|
|
|
1373
1411
|
|
|
1374
1412
|
|
|
1375
|
-
var
|
|
1413
|
+
var ListKeysCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1376
1414
|
return [
|
|
1377
1415
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1378
1416
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1379
1417
|
];
|
|
1380
1418
|
}).s("PaymentCryptographyControlPlane", "ListKeys", {}).n("PaymentCryptographyClient", "ListKeysCommand").f(void 0, void 0).ser(se_ListKeysCommand).de(de_ListKeysCommand).build() {
|
|
1419
|
+
static {
|
|
1420
|
+
__name(this, "ListKeysCommand");
|
|
1421
|
+
}
|
|
1381
1422
|
};
|
|
1382
|
-
__name(_ListKeysCommand, "ListKeysCommand");
|
|
1383
|
-
var ListKeysCommand = _ListKeysCommand;
|
|
1384
1423
|
|
|
1385
1424
|
// src/commands/ListTagsForResourceCommand.ts
|
|
1386
1425
|
|
|
1387
1426
|
|
|
1388
1427
|
|
|
1389
|
-
var
|
|
1428
|
+
var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1390
1429
|
return [
|
|
1391
1430
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1392
1431
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1393
1432
|
];
|
|
1394
1433
|
}).s("PaymentCryptographyControlPlane", "ListTagsForResource", {}).n("PaymentCryptographyClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
1434
|
+
static {
|
|
1435
|
+
__name(this, "ListTagsForResourceCommand");
|
|
1436
|
+
}
|
|
1395
1437
|
};
|
|
1396
|
-
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
1397
|
-
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
1398
1438
|
|
|
1399
1439
|
// src/commands/RestoreKeyCommand.ts
|
|
1400
1440
|
|
|
1401
1441
|
|
|
1402
1442
|
|
|
1403
|
-
var
|
|
1443
|
+
var RestoreKeyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1404
1444
|
return [
|
|
1405
1445
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1406
1446
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1407
1447
|
];
|
|
1408
1448
|
}).s("PaymentCryptographyControlPlane", "RestoreKey", {}).n("PaymentCryptographyClient", "RestoreKeyCommand").f(void 0, void 0).ser(se_RestoreKeyCommand).de(de_RestoreKeyCommand).build() {
|
|
1449
|
+
static {
|
|
1450
|
+
__name(this, "RestoreKeyCommand");
|
|
1451
|
+
}
|
|
1409
1452
|
};
|
|
1410
|
-
__name(_RestoreKeyCommand, "RestoreKeyCommand");
|
|
1411
|
-
var RestoreKeyCommand = _RestoreKeyCommand;
|
|
1412
1453
|
|
|
1413
1454
|
// src/commands/StartKeyUsageCommand.ts
|
|
1414
1455
|
|
|
1415
1456
|
|
|
1416
1457
|
|
|
1417
|
-
var
|
|
1458
|
+
var StartKeyUsageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1418
1459
|
return [
|
|
1419
1460
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1420
1461
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1421
1462
|
];
|
|
1422
1463
|
}).s("PaymentCryptographyControlPlane", "StartKeyUsage", {}).n("PaymentCryptographyClient", "StartKeyUsageCommand").f(void 0, void 0).ser(se_StartKeyUsageCommand).de(de_StartKeyUsageCommand).build() {
|
|
1464
|
+
static {
|
|
1465
|
+
__name(this, "StartKeyUsageCommand");
|
|
1466
|
+
}
|
|
1423
1467
|
};
|
|
1424
|
-
__name(_StartKeyUsageCommand, "StartKeyUsageCommand");
|
|
1425
|
-
var StartKeyUsageCommand = _StartKeyUsageCommand;
|
|
1426
1468
|
|
|
1427
1469
|
// src/commands/StopKeyUsageCommand.ts
|
|
1428
1470
|
|
|
1429
1471
|
|
|
1430
1472
|
|
|
1431
|
-
var
|
|
1473
|
+
var StopKeyUsageCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1432
1474
|
return [
|
|
1433
1475
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1434
1476
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1435
1477
|
];
|
|
1436
1478
|
}).s("PaymentCryptographyControlPlane", "StopKeyUsage", {}).n("PaymentCryptographyClient", "StopKeyUsageCommand").f(void 0, void 0).ser(se_StopKeyUsageCommand).de(de_StopKeyUsageCommand).build() {
|
|
1479
|
+
static {
|
|
1480
|
+
__name(this, "StopKeyUsageCommand");
|
|
1481
|
+
}
|
|
1437
1482
|
};
|
|
1438
|
-
__name(_StopKeyUsageCommand, "StopKeyUsageCommand");
|
|
1439
|
-
var StopKeyUsageCommand = _StopKeyUsageCommand;
|
|
1440
1483
|
|
|
1441
1484
|
// src/commands/TagResourceCommand.ts
|
|
1442
1485
|
|
|
1443
1486
|
|
|
1444
1487
|
|
|
1445
|
-
var
|
|
1488
|
+
var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1446
1489
|
return [
|
|
1447
1490
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1448
1491
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1449
1492
|
];
|
|
1450
1493
|
}).s("PaymentCryptographyControlPlane", "TagResource", {}).n("PaymentCryptographyClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
1494
|
+
static {
|
|
1495
|
+
__name(this, "TagResourceCommand");
|
|
1496
|
+
}
|
|
1451
1497
|
};
|
|
1452
|
-
__name(_TagResourceCommand, "TagResourceCommand");
|
|
1453
|
-
var TagResourceCommand = _TagResourceCommand;
|
|
1454
1498
|
|
|
1455
1499
|
// src/commands/UntagResourceCommand.ts
|
|
1456
1500
|
|
|
1457
1501
|
|
|
1458
1502
|
|
|
1459
|
-
var
|
|
1503
|
+
var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1460
1504
|
return [
|
|
1461
1505
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1462
1506
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1463
1507
|
];
|
|
1464
1508
|
}).s("PaymentCryptographyControlPlane", "UntagResource", {}).n("PaymentCryptographyClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
1509
|
+
static {
|
|
1510
|
+
__name(this, "UntagResourceCommand");
|
|
1511
|
+
}
|
|
1465
1512
|
};
|
|
1466
|
-
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
1467
|
-
var UntagResourceCommand = _UntagResourceCommand;
|
|
1468
1513
|
|
|
1469
1514
|
// src/commands/UpdateAliasCommand.ts
|
|
1470
1515
|
|
|
1471
1516
|
|
|
1472
1517
|
|
|
1473
|
-
var
|
|
1518
|
+
var UpdateAliasCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1474
1519
|
return [
|
|
1475
1520
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1476
1521
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1477
1522
|
];
|
|
1478
1523
|
}).s("PaymentCryptographyControlPlane", "UpdateAlias", {}).n("PaymentCryptographyClient", "UpdateAliasCommand").f(void 0, void 0).ser(se_UpdateAliasCommand).de(de_UpdateAliasCommand).build() {
|
|
1524
|
+
static {
|
|
1525
|
+
__name(this, "UpdateAliasCommand");
|
|
1526
|
+
}
|
|
1479
1527
|
};
|
|
1480
|
-
__name(_UpdateAliasCommand, "UpdateAliasCommand");
|
|
1481
|
-
var UpdateAliasCommand = _UpdateAliasCommand;
|
|
1482
1528
|
|
|
1483
1529
|
// src/PaymentCryptography.ts
|
|
1484
1530
|
var commands = {
|
|
@@ -1503,10 +1549,11 @@ var commands = {
|
|
|
1503
1549
|
UntagResourceCommand,
|
|
1504
1550
|
UpdateAliasCommand
|
|
1505
1551
|
};
|
|
1506
|
-
var
|
|
1552
|
+
var PaymentCryptography = class extends PaymentCryptographyClient {
|
|
1553
|
+
static {
|
|
1554
|
+
__name(this, "PaymentCryptography");
|
|
1555
|
+
}
|
|
1507
1556
|
};
|
|
1508
|
-
__name(_PaymentCryptography, "PaymentCryptography");
|
|
1509
|
-
var PaymentCryptography = _PaymentCryptography;
|
|
1510
1557
|
(0, import_smithy_client.createAggregatedClient)(commands, PaymentCryptography);
|
|
1511
1558
|
|
|
1512
1559
|
// src/pagination/ListAliasesPaginator.ts
|
|
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
|
14
14
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
15
15
|
export { __Client };
|
|
16
16
|
export class PaymentCryptographyClient extends __Client {
|
|
17
|
+
config;
|
|
17
18
|
constructor(...[configuration]) {
|
|
18
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
19
20
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -1,105 +1,113 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { PaymentCryptographyServiceException as __BaseException } from "./PaymentCryptographyServiceException";
|
|
3
3
|
export class AccessDeniedException extends __BaseException {
|
|
4
|
+
name = "AccessDeniedException";
|
|
5
|
+
$fault = "client";
|
|
6
|
+
Message;
|
|
4
7
|
constructor(opts) {
|
|
5
8
|
super({
|
|
6
9
|
name: "AccessDeniedException",
|
|
7
10
|
$fault: "client",
|
|
8
11
|
...opts,
|
|
9
12
|
});
|
|
10
|
-
this.name = "AccessDeniedException";
|
|
11
|
-
this.$fault = "client";
|
|
12
13
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
13
14
|
this.Message = opts.Message;
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
17
|
export class ConflictException extends __BaseException {
|
|
18
|
+
name = "ConflictException";
|
|
19
|
+
$fault = "client";
|
|
20
|
+
Message;
|
|
17
21
|
constructor(opts) {
|
|
18
22
|
super({
|
|
19
23
|
name: "ConflictException",
|
|
20
24
|
$fault: "client",
|
|
21
25
|
...opts,
|
|
22
26
|
});
|
|
23
|
-
this.name = "ConflictException";
|
|
24
|
-
this.$fault = "client";
|
|
25
27
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
26
28
|
this.Message = opts.Message;
|
|
27
29
|
}
|
|
28
30
|
}
|
|
29
31
|
export class InternalServerException extends __BaseException {
|
|
32
|
+
name = "InternalServerException";
|
|
33
|
+
$fault = "server";
|
|
34
|
+
Message;
|
|
30
35
|
constructor(opts) {
|
|
31
36
|
super({
|
|
32
37
|
name: "InternalServerException",
|
|
33
38
|
$fault: "server",
|
|
34
39
|
...opts,
|
|
35
40
|
});
|
|
36
|
-
this.name = "InternalServerException";
|
|
37
|
-
this.$fault = "server";
|
|
38
41
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
39
42
|
this.Message = opts.Message;
|
|
40
43
|
}
|
|
41
44
|
}
|
|
42
45
|
export class ResourceNotFoundException extends __BaseException {
|
|
46
|
+
name = "ResourceNotFoundException";
|
|
47
|
+
$fault = "client";
|
|
48
|
+
ResourceId;
|
|
43
49
|
constructor(opts) {
|
|
44
50
|
super({
|
|
45
51
|
name: "ResourceNotFoundException",
|
|
46
52
|
$fault: "client",
|
|
47
53
|
...opts,
|
|
48
54
|
});
|
|
49
|
-
this.name = "ResourceNotFoundException";
|
|
50
|
-
this.$fault = "client";
|
|
51
55
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
52
56
|
this.ResourceId = opts.ResourceId;
|
|
53
57
|
}
|
|
54
58
|
}
|
|
55
59
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
60
|
+
name = "ServiceQuotaExceededException";
|
|
61
|
+
$fault = "client";
|
|
62
|
+
Message;
|
|
56
63
|
constructor(opts) {
|
|
57
64
|
super({
|
|
58
65
|
name: "ServiceQuotaExceededException",
|
|
59
66
|
$fault: "client",
|
|
60
67
|
...opts,
|
|
61
68
|
});
|
|
62
|
-
this.name = "ServiceQuotaExceededException";
|
|
63
|
-
this.$fault = "client";
|
|
64
69
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
65
70
|
this.Message = opts.Message;
|
|
66
71
|
}
|
|
67
72
|
}
|
|
68
73
|
export class ServiceUnavailableException extends __BaseException {
|
|
74
|
+
name = "ServiceUnavailableException";
|
|
75
|
+
$fault = "server";
|
|
76
|
+
Message;
|
|
69
77
|
constructor(opts) {
|
|
70
78
|
super({
|
|
71
79
|
name: "ServiceUnavailableException",
|
|
72
80
|
$fault: "server",
|
|
73
81
|
...opts,
|
|
74
82
|
});
|
|
75
|
-
this.name = "ServiceUnavailableException";
|
|
76
|
-
this.$fault = "server";
|
|
77
83
|
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
78
84
|
this.Message = opts.Message;
|
|
79
85
|
}
|
|
80
86
|
}
|
|
81
87
|
export class ThrottlingException extends __BaseException {
|
|
88
|
+
name = "ThrottlingException";
|
|
89
|
+
$fault = "client";
|
|
90
|
+
Message;
|
|
82
91
|
constructor(opts) {
|
|
83
92
|
super({
|
|
84
93
|
name: "ThrottlingException",
|
|
85
94
|
$fault: "client",
|
|
86
95
|
...opts,
|
|
87
96
|
});
|
|
88
|
-
this.name = "ThrottlingException";
|
|
89
|
-
this.$fault = "client";
|
|
90
97
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
91
98
|
this.Message = opts.Message;
|
|
92
99
|
}
|
|
93
100
|
}
|
|
94
101
|
export class ValidationException extends __BaseException {
|
|
102
|
+
name = "ValidationException";
|
|
103
|
+
$fault = "client";
|
|
104
|
+
Message;
|
|
95
105
|
constructor(opts) {
|
|
96
106
|
super({
|
|
97
107
|
name: "ValidationException",
|
|
98
108
|
$fault: "client",
|
|
99
109
|
...opts,
|
|
100
110
|
});
|
|
101
|
-
this.name = "ValidationException";
|
|
102
|
-
this.$fault = "client";
|
|
103
111
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
104
112
|
this.Message = opts.Message;
|
|
105
113
|
}
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: PaymentCryptographyClientConfig)
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: PaymentCryptographyClientConfig)
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: PaymentCryptographyClientConfig)
|
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
profile?: string | undefined;
|
|
24
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
25
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
26
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: PaymentCryptographyClientConfig)
|
|
|
31
31
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
32
|
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
33
33
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
34
|
-
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
34
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
35
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
36
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
37
37
|
}) => import("@smithy/types").EndpointV2;
|
|
@@ -8,9 +8,11 @@ export declare const getRuntimeConfig: (
|
|
|
8
8
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
9
9
|
>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
|
-
credentialDefaultProvider:
|
|
12
|
-
input: any
|
|
13
|
-
|
|
11
|
+
credentialDefaultProvider:
|
|
12
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
13
|
+
| ((
|
|
14
|
+
_: unknown
|
|
15
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
16
|
defaultUserAgentProvider: (
|
|
15
17
|
config?:
|
|
16
18
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
@@ -8,13 +8,15 @@ export declare const getRuntimeConfig: (
|
|
|
8
8
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
9
9
|
>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
|
-
credentialDefaultProvider:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
credentialDefaultProvider:
|
|
12
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
13
|
+
| ((
|
|
14
|
+
init?:
|
|
15
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
16
|
+
| undefined
|
|
17
|
+
) => import("@smithy/types").MemoizedProvider<
|
|
18
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
19
|
+
>);
|
|
18
20
|
defaultUserAgentProvider: (
|
|
19
21
|
config?:
|
|
20
22
|
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
@@ -30,9 +30,11 @@ export declare const getRuntimeConfig: (
|
|
|
30
30
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
31
31
|
| undefined
|
|
32
32
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
33
|
-
credentialDefaultProvider:
|
|
34
|
-
input: any
|
|
35
|
-
|
|
33
|
+
credentialDefaultProvider:
|
|
34
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
35
|
+
| ((
|
|
36
|
+
_: unknown
|
|
37
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
36
38
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
37
39
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
38
40
|
logger: import("@smithy/types").Logger;
|
|
@@ -52,11 +54,21 @@ export declare const getRuntimeConfig: (
|
|
|
52
54
|
| import("@smithy/types").RetryStrategyV2
|
|
53
55
|
| undefined;
|
|
54
56
|
endpoint?:
|
|
55
|
-
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
57
|
+
| ((
|
|
58
|
+
| string
|
|
59
|
+
| import("@smithy/types").Endpoint
|
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
61
|
+
| import("@smithy/types").EndpointV2
|
|
62
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
63
|
+
) &
|
|
64
|
+
(
|
|
65
|
+
| string
|
|
66
|
+
| import("@smithy/types").Provider<string>
|
|
67
|
+
| import("@smithy/types").Endpoint
|
|
68
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
69
|
+
| import("@smithy/types").EndpointV2
|
|
70
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
71
|
+
))
|
|
60
72
|
| undefined;
|
|
61
73
|
endpointProvider: (
|
|
62
74
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-payment-cryptography",
|
|
3
3
|
"description": "AWS SDK for JavaScript Payment Cryptography Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.723.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-payment-cryptography",
|
|
@@ -20,56 +20,56 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^
|
|
37
|
-
"@smithy/core": "^
|
|
38
|
-
"@smithy/fetch-http-handler": "^
|
|
39
|
-
"@smithy/hash-node": "^
|
|
40
|
-
"@smithy/invalid-dependency": "^
|
|
41
|
-
"@smithy/middleware-content-length": "^
|
|
42
|
-
"@smithy/middleware-endpoint": "^
|
|
43
|
-
"@smithy/middleware-retry": "^
|
|
44
|
-
"@smithy/middleware-serde": "^
|
|
45
|
-
"@smithy/middleware-stack": "^
|
|
46
|
-
"@smithy/node-config-provider": "^
|
|
47
|
-
"@smithy/node-http-handler": "^
|
|
48
|
-
"@smithy/protocol-http": "^
|
|
49
|
-
"@smithy/smithy-client": "^
|
|
50
|
-
"@smithy/types": "^
|
|
51
|
-
"@smithy/url-parser": "^
|
|
52
|
-
"@smithy/util-base64": "^
|
|
53
|
-
"@smithy/util-body-length-browser": "^
|
|
54
|
-
"@smithy/util-body-length-node": "^
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^
|
|
57
|
-
"@smithy/util-endpoints": "^
|
|
58
|
-
"@smithy/util-middleware": "^
|
|
59
|
-
"@smithy/util-retry": "^
|
|
60
|
-
"@smithy/util-utf8": "^
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.723.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.723.0",
|
|
25
|
+
"@aws-sdk/core": "3.723.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.723.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.723.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.723.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.723.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.723.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.723.0",
|
|
32
|
+
"@aws-sdk/types": "3.723.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.723.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.723.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.723.0",
|
|
36
|
+
"@smithy/config-resolver": "^4.0.0",
|
|
37
|
+
"@smithy/core": "^3.0.0",
|
|
38
|
+
"@smithy/fetch-http-handler": "^5.0.0",
|
|
39
|
+
"@smithy/hash-node": "^4.0.0",
|
|
40
|
+
"@smithy/invalid-dependency": "^4.0.0",
|
|
41
|
+
"@smithy/middleware-content-length": "^4.0.0",
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.0.0",
|
|
43
|
+
"@smithy/middleware-retry": "^4.0.0",
|
|
44
|
+
"@smithy/middleware-serde": "^4.0.0",
|
|
45
|
+
"@smithy/middleware-stack": "^4.0.0",
|
|
46
|
+
"@smithy/node-config-provider": "^4.0.0",
|
|
47
|
+
"@smithy/node-http-handler": "^4.0.0",
|
|
48
|
+
"@smithy/protocol-http": "^5.0.0",
|
|
49
|
+
"@smithy/smithy-client": "^4.0.0",
|
|
50
|
+
"@smithy/types": "^4.0.0",
|
|
51
|
+
"@smithy/url-parser": "^4.0.0",
|
|
52
|
+
"@smithy/util-base64": "^4.0.0",
|
|
53
|
+
"@smithy/util-body-length-browser": "^4.0.0",
|
|
54
|
+
"@smithy/util-body-length-node": "^4.0.0",
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.0.0",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.0.0",
|
|
57
|
+
"@smithy/util-endpoints": "^3.0.0",
|
|
58
|
+
"@smithy/util-middleware": "^4.0.0",
|
|
59
|
+
"@smithy/util-retry": "^4.0.0",
|
|
60
|
+
"@smithy/util-utf8": "^4.0.0",
|
|
61
61
|
"tslib": "^2.6.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@tsconfig/
|
|
65
|
-
"@types/node": "^
|
|
64
|
+
"@tsconfig/node18": "18.2.4",
|
|
65
|
+
"@types/node": "^18.19.69",
|
|
66
66
|
"concurrently": "7.0.0",
|
|
67
67
|
"downlevel-dts": "0.10.1",
|
|
68
68
|
"rimraf": "3.0.2",
|
|
69
|
-
"typescript": "~
|
|
69
|
+
"typescript": "~5.2.2"
|
|
70
70
|
},
|
|
71
71
|
"engines": {
|
|
72
|
-
"node": ">=
|
|
72
|
+
"node": ">=18.0.0"
|
|
73
73
|
},
|
|
74
74
|
"typesVersions": {
|
|
75
75
|
"<4.0": {
|