@ampt/ai 2.0.4 → 2.0.6
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/{chunk-JPKYSWKV.js → chunk-WCFFSOP5.js} +77 -72
- package/dist/{dist-es-7I2R4JEH.js → dist-es-OBV65GYS.js} +25 -25
- package/dist/index.cjs +1198 -596
- package/dist/index.d.cts +188 -0
- package/dist/index.d.ts +14 -5
- package/dist/index.js +576 -414
- package/package.json +1 -1
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
throwDefaultError,
|
|
65
65
|
toBase64,
|
|
66
66
|
toUtf8
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-WCFFSOP5.js";
|
|
68
68
|
|
|
69
69
|
// ../../node_modules/@aws-sdk/client-cognito-identity/dist-es/endpoint/EndpointParameters.js
|
|
70
70
|
var resolveClientEndpointParameters = (options) => {
|
|
@@ -283,10 +283,10 @@ var CognitoIdentityClient = class extends Client {
|
|
|
283
283
|
};
|
|
284
284
|
|
|
285
285
|
// ../../node_modules/@aws-sdk/client-cognito-identity/dist-es/models/CognitoIdentityServiceException.js
|
|
286
|
-
var CognitoIdentityServiceException = class extends ServiceException {
|
|
286
|
+
var CognitoIdentityServiceException = class _CognitoIdentityServiceException extends ServiceException {
|
|
287
287
|
constructor(options) {
|
|
288
288
|
super(options);
|
|
289
|
-
Object.setPrototypeOf(this,
|
|
289
|
+
Object.setPrototypeOf(this, _CognitoIdentityServiceException.prototype);
|
|
290
290
|
}
|
|
291
291
|
};
|
|
292
292
|
|
|
@@ -296,7 +296,7 @@ var AmbiguousRoleResolutionType;
|
|
|
296
296
|
AmbiguousRoleResolutionType2["AUTHENTICATED_ROLE"] = "AuthenticatedRole";
|
|
297
297
|
AmbiguousRoleResolutionType2["DENY"] = "Deny";
|
|
298
298
|
})(AmbiguousRoleResolutionType || (AmbiguousRoleResolutionType = {}));
|
|
299
|
-
var InternalErrorException = class extends CognitoIdentityServiceException {
|
|
299
|
+
var InternalErrorException = class _InternalErrorException extends CognitoIdentityServiceException {
|
|
300
300
|
constructor(opts) {
|
|
301
301
|
super({
|
|
302
302
|
name: "InternalErrorException",
|
|
@@ -305,10 +305,10 @@ var InternalErrorException = class extends CognitoIdentityServiceException {
|
|
|
305
305
|
});
|
|
306
306
|
this.name = "InternalErrorException";
|
|
307
307
|
this.$fault = "server";
|
|
308
|
-
Object.setPrototypeOf(this,
|
|
308
|
+
Object.setPrototypeOf(this, _InternalErrorException.prototype);
|
|
309
309
|
}
|
|
310
310
|
};
|
|
311
|
-
var InvalidParameterException = class extends CognitoIdentityServiceException {
|
|
311
|
+
var InvalidParameterException = class _InvalidParameterException extends CognitoIdentityServiceException {
|
|
312
312
|
constructor(opts) {
|
|
313
313
|
super({
|
|
314
314
|
name: "InvalidParameterException",
|
|
@@ -317,10 +317,10 @@ var InvalidParameterException = class extends CognitoIdentityServiceException {
|
|
|
317
317
|
});
|
|
318
318
|
this.name = "InvalidParameterException";
|
|
319
319
|
this.$fault = "client";
|
|
320
|
-
Object.setPrototypeOf(this,
|
|
320
|
+
Object.setPrototypeOf(this, _InvalidParameterException.prototype);
|
|
321
321
|
}
|
|
322
322
|
};
|
|
323
|
-
var LimitExceededException = class extends CognitoIdentityServiceException {
|
|
323
|
+
var LimitExceededException = class _LimitExceededException extends CognitoIdentityServiceException {
|
|
324
324
|
constructor(opts) {
|
|
325
325
|
super({
|
|
326
326
|
name: "LimitExceededException",
|
|
@@ -329,10 +329,10 @@ var LimitExceededException = class extends CognitoIdentityServiceException {
|
|
|
329
329
|
});
|
|
330
330
|
this.name = "LimitExceededException";
|
|
331
331
|
this.$fault = "client";
|
|
332
|
-
Object.setPrototypeOf(this,
|
|
332
|
+
Object.setPrototypeOf(this, _LimitExceededException.prototype);
|
|
333
333
|
}
|
|
334
334
|
};
|
|
335
|
-
var NotAuthorizedException = class extends CognitoIdentityServiceException {
|
|
335
|
+
var NotAuthorizedException = class _NotAuthorizedException extends CognitoIdentityServiceException {
|
|
336
336
|
constructor(opts) {
|
|
337
337
|
super({
|
|
338
338
|
name: "NotAuthorizedException",
|
|
@@ -341,10 +341,10 @@ var NotAuthorizedException = class extends CognitoIdentityServiceException {
|
|
|
341
341
|
});
|
|
342
342
|
this.name = "NotAuthorizedException";
|
|
343
343
|
this.$fault = "client";
|
|
344
|
-
Object.setPrototypeOf(this,
|
|
344
|
+
Object.setPrototypeOf(this, _NotAuthorizedException.prototype);
|
|
345
345
|
}
|
|
346
346
|
};
|
|
347
|
-
var ResourceConflictException = class extends CognitoIdentityServiceException {
|
|
347
|
+
var ResourceConflictException = class _ResourceConflictException extends CognitoIdentityServiceException {
|
|
348
348
|
constructor(opts) {
|
|
349
349
|
super({
|
|
350
350
|
name: "ResourceConflictException",
|
|
@@ -353,10 +353,10 @@ var ResourceConflictException = class extends CognitoIdentityServiceException {
|
|
|
353
353
|
});
|
|
354
354
|
this.name = "ResourceConflictException";
|
|
355
355
|
this.$fault = "client";
|
|
356
|
-
Object.setPrototypeOf(this,
|
|
356
|
+
Object.setPrototypeOf(this, _ResourceConflictException.prototype);
|
|
357
357
|
}
|
|
358
358
|
};
|
|
359
|
-
var TooManyRequestsException = class extends CognitoIdentityServiceException {
|
|
359
|
+
var TooManyRequestsException = class _TooManyRequestsException extends CognitoIdentityServiceException {
|
|
360
360
|
constructor(opts) {
|
|
361
361
|
super({
|
|
362
362
|
name: "TooManyRequestsException",
|
|
@@ -365,7 +365,7 @@ var TooManyRequestsException = class extends CognitoIdentityServiceException {
|
|
|
365
365
|
});
|
|
366
366
|
this.name = "TooManyRequestsException";
|
|
367
367
|
this.$fault = "client";
|
|
368
|
-
Object.setPrototypeOf(this,
|
|
368
|
+
Object.setPrototypeOf(this, _TooManyRequestsException.prototype);
|
|
369
369
|
}
|
|
370
370
|
};
|
|
371
371
|
var ErrorCode;
|
|
@@ -373,7 +373,7 @@ var ErrorCode;
|
|
|
373
373
|
ErrorCode2["ACCESS_DENIED"] = "AccessDenied";
|
|
374
374
|
ErrorCode2["INTERNAL_SERVER_ERROR"] = "InternalServerError";
|
|
375
375
|
})(ErrorCode || (ErrorCode = {}));
|
|
376
|
-
var ResourceNotFoundException = class extends CognitoIdentityServiceException {
|
|
376
|
+
var ResourceNotFoundException = class _ResourceNotFoundException extends CognitoIdentityServiceException {
|
|
377
377
|
constructor(opts) {
|
|
378
378
|
super({
|
|
379
379
|
name: "ResourceNotFoundException",
|
|
@@ -382,10 +382,10 @@ var ResourceNotFoundException = class extends CognitoIdentityServiceException {
|
|
|
382
382
|
});
|
|
383
383
|
this.name = "ResourceNotFoundException";
|
|
384
384
|
this.$fault = "client";
|
|
385
|
-
Object.setPrototypeOf(this,
|
|
385
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
386
386
|
}
|
|
387
387
|
};
|
|
388
|
-
var ExternalServiceException = class extends CognitoIdentityServiceException {
|
|
388
|
+
var ExternalServiceException = class _ExternalServiceException extends CognitoIdentityServiceException {
|
|
389
389
|
constructor(opts) {
|
|
390
390
|
super({
|
|
391
391
|
name: "ExternalServiceException",
|
|
@@ -394,10 +394,10 @@ var ExternalServiceException = class extends CognitoIdentityServiceException {
|
|
|
394
394
|
});
|
|
395
395
|
this.name = "ExternalServiceException";
|
|
396
396
|
this.$fault = "client";
|
|
397
|
-
Object.setPrototypeOf(this,
|
|
397
|
+
Object.setPrototypeOf(this, _ExternalServiceException.prototype);
|
|
398
398
|
}
|
|
399
399
|
};
|
|
400
|
-
var InvalidIdentityPoolConfigurationException = class extends CognitoIdentityServiceException {
|
|
400
|
+
var InvalidIdentityPoolConfigurationException = class _InvalidIdentityPoolConfigurationException extends CognitoIdentityServiceException {
|
|
401
401
|
constructor(opts) {
|
|
402
402
|
super({
|
|
403
403
|
name: "InvalidIdentityPoolConfigurationException",
|
|
@@ -406,7 +406,7 @@ var InvalidIdentityPoolConfigurationException = class extends CognitoIdentitySer
|
|
|
406
406
|
});
|
|
407
407
|
this.name = "InvalidIdentityPoolConfigurationException";
|
|
408
408
|
this.$fault = "client";
|
|
409
|
-
Object.setPrototypeOf(this,
|
|
409
|
+
Object.setPrototypeOf(this, _InvalidIdentityPoolConfigurationException.prototype);
|
|
410
410
|
}
|
|
411
411
|
};
|
|
412
412
|
var MappingRuleMatchType;
|
|
@@ -802,7 +802,7 @@ var loadRestJsonErrorCode = (output, data) => {
|
|
|
802
802
|
};
|
|
803
803
|
|
|
804
804
|
// ../../node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/GetCredentialsForIdentityCommand.js
|
|
805
|
-
var GetCredentialsForIdentityCommand = class extends Command {
|
|
805
|
+
var GetCredentialsForIdentityCommand = class _GetCredentialsForIdentityCommand extends Command {
|
|
806
806
|
constructor(input) {
|
|
807
807
|
super();
|
|
808
808
|
this.input = input;
|
|
@@ -817,7 +817,7 @@ var GetCredentialsForIdentityCommand = class extends Command {
|
|
|
817
817
|
}
|
|
818
818
|
resolveMiddleware(clientStack, configuration, options) {
|
|
819
819
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
820
|
-
this.middlewareStack.use(getEndpointPlugin(configuration,
|
|
820
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, _GetCredentialsForIdentityCommand.getEndpointParameterInstructions()));
|
|
821
821
|
const stack = clientStack.concat(this.middlewareStack);
|
|
822
822
|
const { logger } = configuration;
|
|
823
823
|
const clientName = "CognitoIdentityClient";
|
|
@@ -841,7 +841,7 @@ var GetCredentialsForIdentityCommand = class extends Command {
|
|
|
841
841
|
};
|
|
842
842
|
|
|
843
843
|
// ../../node_modules/@aws-sdk/client-cognito-identity/dist-es/commands/GetIdCommand.js
|
|
844
|
-
var GetIdCommand = class extends Command {
|
|
844
|
+
var GetIdCommand = class _GetIdCommand extends Command {
|
|
845
845
|
constructor(input) {
|
|
846
846
|
super();
|
|
847
847
|
this.input = input;
|
|
@@ -856,7 +856,7 @@ var GetIdCommand = class extends Command {
|
|
|
856
856
|
}
|
|
857
857
|
resolveMiddleware(clientStack, configuration, options) {
|
|
858
858
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
859
|
-
this.middlewareStack.use(getEndpointPlugin(configuration,
|
|
859
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, _GetIdCommand.getEndpointParameterInstructions()));
|
|
860
860
|
const stack = clientStack.concat(this.middlewareStack);
|
|
861
861
|
const { logger } = configuration;
|
|
862
862
|
const clientName = "CognitoIdentityClient";
|