This repository has been archived on 2024-09-11. You can view files and clone it, but cannot push or open issues or pull requests.
svrjs-blog-newsletter/cronjob/node_modules/@aws-sdk/client-cognito-identity/dist-es/models/models_0.js

152 lines
4.7 KiB
JavaScript
Raw Normal View History

2024-05-26 22:54:55 +02:00
import { CognitoIdentityServiceException as __BaseException } from "./CognitoIdentityServiceException";
export const AmbiguousRoleResolutionType = {
AUTHENTICATED_ROLE: "AuthenticatedRole",
DENY: "Deny",
};
export class InternalErrorException extends __BaseException {
constructor(opts) {
super({
name: "InternalErrorException",
$fault: "server",
...opts,
});
this.name = "InternalErrorException";
this.$fault = "server";
Object.setPrototypeOf(this, InternalErrorException.prototype);
}
}
export class InvalidParameterException extends __BaseException {
constructor(opts) {
super({
name: "InvalidParameterException",
$fault: "client",
...opts,
});
this.name = "InvalidParameterException";
this.$fault = "client";
Object.setPrototypeOf(this, InvalidParameterException.prototype);
}
}
export class LimitExceededException extends __BaseException {
constructor(opts) {
super({
name: "LimitExceededException",
$fault: "client",
...opts,
});
this.name = "LimitExceededException";
this.$fault = "client";
Object.setPrototypeOf(this, LimitExceededException.prototype);
}
}
export class NotAuthorizedException extends __BaseException {
constructor(opts) {
super({
name: "NotAuthorizedException",
$fault: "client",
...opts,
});
this.name = "NotAuthorizedException";
this.$fault = "client";
Object.setPrototypeOf(this, NotAuthorizedException.prototype);
}
}
export class ResourceConflictException extends __BaseException {
constructor(opts) {
super({
name: "ResourceConflictException",
$fault: "client",
...opts,
});
this.name = "ResourceConflictException";
this.$fault = "client";
Object.setPrototypeOf(this, ResourceConflictException.prototype);
}
}
export class TooManyRequestsException extends __BaseException {
constructor(opts) {
super({
name: "TooManyRequestsException",
$fault: "client",
...opts,
});
this.name = "TooManyRequestsException";
this.$fault = "client";
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
}
}
export const ErrorCode = {
ACCESS_DENIED: "AccessDenied",
INTERNAL_SERVER_ERROR: "InternalServerError",
};
export class ResourceNotFoundException extends __BaseException {
constructor(opts) {
super({
name: "ResourceNotFoundException",
$fault: "client",
...opts,
});
this.name = "ResourceNotFoundException";
this.$fault = "client";
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
}
}
export class ExternalServiceException extends __BaseException {
constructor(opts) {
super({
name: "ExternalServiceException",
$fault: "client",
...opts,
});
this.name = "ExternalServiceException";
this.$fault = "client";
Object.setPrototypeOf(this, ExternalServiceException.prototype);
}
}
export class InvalidIdentityPoolConfigurationException extends __BaseException {
constructor(opts) {
super({
name: "InvalidIdentityPoolConfigurationException",
$fault: "client",
...opts,
});
this.name = "InvalidIdentityPoolConfigurationException";
this.$fault = "client";
Object.setPrototypeOf(this, InvalidIdentityPoolConfigurationException.prototype);
}
}
export const MappingRuleMatchType = {
CONTAINS: "Contains",
EQUALS: "Equals",
NOT_EQUAL: "NotEqual",
STARTS_WITH: "StartsWith",
};
export const RoleMappingType = {
RULES: "Rules",
TOKEN: "Token",
};
export class DeveloperUserAlreadyRegisteredException extends __BaseException {
constructor(opts) {
super({
name: "DeveloperUserAlreadyRegisteredException",
$fault: "client",
...opts,
});
this.name = "DeveloperUserAlreadyRegisteredException";
this.$fault = "client";
Object.setPrototypeOf(this, DeveloperUserAlreadyRegisteredException.prototype);
}
}
export class ConcurrentModificationException extends __BaseException {
constructor(opts) {
super({
name: "ConcurrentModificationException",
$fault: "client",
...opts,
});
this.name = "ConcurrentModificationException";
this.$fault = "client";
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
}
}