UNPKG

lambda-live-debugger

Version:

Debug Lambda functions locally like it is running in the cloud

684 lines (683 loc) 19.8 kB
import { LambdaServiceException as __BaseException } from "./LambdaServiceException"; export class InvalidParameterValueException extends __BaseException { name = "InvalidParameterValueException"; $fault = "client"; Type; constructor(opts) { super({ name: "InvalidParameterValueException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, InvalidParameterValueException.prototype); this.Type = opts.Type; } } export class PolicyLengthExceededException extends __BaseException { name = "PolicyLengthExceededException"; $fault = "client"; Type; constructor(opts) { super({ name: "PolicyLengthExceededException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, PolicyLengthExceededException.prototype); this.Type = opts.Type; } } export class PreconditionFailedException extends __BaseException { name = "PreconditionFailedException"; $fault = "client"; Type; constructor(opts) { super({ name: "PreconditionFailedException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, PreconditionFailedException.prototype); this.Type = opts.Type; } } export class ResourceConflictException extends __BaseException { name = "ResourceConflictException"; $fault = "client"; Type; constructor(opts) { super({ name: "ResourceConflictException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, ResourceConflictException.prototype); this.Type = opts.Type; } } export class ResourceNotFoundException extends __BaseException { name = "ResourceNotFoundException"; $fault = "client"; Type; Message; constructor(opts) { super({ name: "ResourceNotFoundException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, ResourceNotFoundException.prototype); this.Type = opts.Type; this.Message = opts.Message; } } export class ServiceException extends __BaseException { name = "ServiceException"; $fault = "server"; Type; Message; constructor(opts) { super({ name: "ServiceException", $fault: "server", ...opts, }); Object.setPrototypeOf(this, ServiceException.prototype); this.Type = opts.Type; this.Message = opts.Message; } } export class TooManyRequestsException extends __BaseException { name = "TooManyRequestsException"; $fault = "client"; retryAfterSeconds; Type; Reason; constructor(opts) { super({ name: "TooManyRequestsException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, TooManyRequestsException.prototype); this.retryAfterSeconds = opts.retryAfterSeconds; this.Type = opts.Type; this.Reason = opts.Reason; } } export class CapacityProviderLimitExceededException extends __BaseException { name = "CapacityProviderLimitExceededException"; $fault = "client"; Type; constructor(opts) { super({ name: "CapacityProviderLimitExceededException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, CapacityProviderLimitExceededException.prototype); this.Type = opts.Type; } } export class ResourceInUseException extends __BaseException { name = "ResourceInUseException"; $fault = "client"; Type; Message; constructor(opts) { super({ name: "ResourceInUseException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, ResourceInUseException.prototype); this.Type = opts.Type; this.Message = opts.Message; } } export class CodeSigningConfigNotFoundException extends __BaseException { name = "CodeSigningConfigNotFoundException"; $fault = "client"; Type; Message; constructor(opts) { super({ name: "CodeSigningConfigNotFoundException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, CodeSigningConfigNotFoundException.prototype); this.Type = opts.Type; this.Message = opts.Message; } } export class CodeStorageExceededException extends __BaseException { name = "CodeStorageExceededException"; $fault = "client"; Type; constructor(opts) { super({ name: "CodeStorageExceededException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, CodeStorageExceededException.prototype); this.Type = opts.Type; } } export class CodeVerificationFailedException extends __BaseException { name = "CodeVerificationFailedException"; $fault = "client"; Type; Message; constructor(opts) { super({ name: "CodeVerificationFailedException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, CodeVerificationFailedException.prototype); this.Type = opts.Type; this.Message = opts.Message; } } export class FunctionVersionsPerCapacityProviderLimitExceededException extends __BaseException { name = "FunctionVersionsPerCapacityProviderLimitExceededException"; $fault = "client"; Type; constructor(opts) { super({ name: "FunctionVersionsPerCapacityProviderLimitExceededException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, FunctionVersionsPerCapacityProviderLimitExceededException.prototype); this.Type = opts.Type; } } export class InvalidCodeSignatureException extends __BaseException { name = "InvalidCodeSignatureException"; $fault = "client"; Type; Message; constructor(opts) { super({ name: "InvalidCodeSignatureException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, InvalidCodeSignatureException.prototype); this.Type = opts.Type; this.Message = opts.Message; } } export class DurableExecutionAlreadyStartedException extends __BaseException { name = "DurableExecutionAlreadyStartedException"; $fault = "client"; Type; Message; constructor(opts) { super({ name: "DurableExecutionAlreadyStartedException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, DurableExecutionAlreadyStartedException.prototype); this.Type = opts.Type; this.Message = opts.Message; } } export class EC2AccessDeniedException extends __BaseException { name = "EC2AccessDeniedException"; $fault = "server"; Type; Message; constructor(opts) { super({ name: "EC2AccessDeniedException", $fault: "server", ...opts, }); Object.setPrototypeOf(this, EC2AccessDeniedException.prototype); this.Type = opts.Type; this.Message = opts.Message; } } export class EC2ThrottledException extends __BaseException { name = "EC2ThrottledException"; $fault = "server"; Type; Message; constructor(opts) { super({ name: "EC2ThrottledException", $fault: "server", ...opts, }); Object.setPrototypeOf(this, EC2ThrottledException.prototype); this.Type = opts.Type; this.Message = opts.Message; } } export class EC2UnexpectedException extends __BaseException { name = "EC2UnexpectedException"; $fault = "server"; Type; Message; EC2ErrorCode; constructor(opts) { super({ name: "EC2UnexpectedException", $fault: "server", ...opts, }); Object.setPrototypeOf(this, EC2UnexpectedException.prototype); this.Type = opts.Type; this.Message = opts.Message; this.EC2ErrorCode = opts.EC2ErrorCode; } } export class EFSIOException extends __BaseException { name = "EFSIOException"; $fault = "client"; Type; Message; constructor(opts) { super({ name: "EFSIOException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, EFSIOException.prototype); this.Type = opts.Type; this.Message = opts.Message; } } export class EFSMountConnectivityException extends __BaseException { name = "EFSMountConnectivityException"; $fault = "client"; Type; Message; constructor(opts) { super({ name: "EFSMountConnectivityException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, EFSMountConnectivityException.prototype); this.Type = opts.Type; this.Message = opts.Message; } } export class EFSMountFailureException extends __BaseException { name = "EFSMountFailureException"; $fault = "client"; Type; Message; constructor(opts) { super({ name: "EFSMountFailureException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, EFSMountFailureException.prototype); this.Type = opts.Type; this.Message = opts.Message; } } export class EFSMountTimeoutException extends __BaseException { name = "EFSMountTimeoutException"; $fault = "client"; Type; Message; constructor(opts) { super({ name: "EFSMountTimeoutException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, EFSMountTimeoutException.prototype); this.Type = opts.Type; this.Message = opts.Message; } } export class ENILimitReachedException extends __BaseException { name = "ENILimitReachedException"; $fault = "server"; Type; Message; constructor(opts) { super({ name: "ENILimitReachedException", $fault: "server", ...opts, }); Object.setPrototypeOf(this, ENILimitReachedException.prototype); this.Type = opts.Type; this.Message = opts.Message; } } export class InvalidRequestContentException extends __BaseException { name = "InvalidRequestContentException"; $fault = "client"; Type; constructor(opts) { super({ name: "InvalidRequestContentException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, InvalidRequestContentException.prototype); this.Type = opts.Type; } } export class InvalidRuntimeException extends __BaseException { name = "InvalidRuntimeException"; $fault = "server"; Type; Message; constructor(opts) { super({ name: "InvalidRuntimeException", $fault: "server", ...opts, }); Object.setPrototypeOf(this, InvalidRuntimeException.prototype); this.Type = opts.Type; this.Message = opts.Message; } } export class InvalidSecurityGroupIDException extends __BaseException { name = "InvalidSecurityGroupIDException"; $fault = "server"; Type; Message; constructor(opts) { super({ name: "InvalidSecurityGroupIDException", $fault: "server", ...opts, }); Object.setPrototypeOf(this, InvalidSecurityGroupIDException.prototype); this.Type = opts.Type; this.Message = opts.Message; } } export class InvalidSubnetIDException extends __BaseException { name = "InvalidSubnetIDException"; $fault = "server"; Type; Message; constructor(opts) { super({ name: "InvalidSubnetIDException", $fault: "server", ...opts, }); Object.setPrototypeOf(this, InvalidSubnetIDException.prototype); this.Type = opts.Type; this.Message = opts.Message; } } export class InvalidZipFileException extends __BaseException { name = "InvalidZipFileException"; $fault = "server"; Type; Message; constructor(opts) { super({ name: "InvalidZipFileException", $fault: "server", ...opts, }); Object.setPrototypeOf(this, InvalidZipFileException.prototype); this.Type = opts.Type; this.Message = opts.Message; } } export class KMSAccessDeniedException extends __BaseException { name = "KMSAccessDeniedException"; $fault = "server"; Type; Message; constructor(opts) { super({ name: "KMSAccessDeniedException", $fault: "server", ...opts, }); Object.setPrototypeOf(this, KMSAccessDeniedException.prototype); this.Type = opts.Type; this.Message = opts.Message; } } export class KMSDisabledException extends __BaseException { name = "KMSDisabledException"; $fault = "server"; Type; Message; constructor(opts) { super({ name: "KMSDisabledException", $fault: "server", ...opts, }); Object.setPrototypeOf(this, KMSDisabledException.prototype); this.Type = opts.Type; this.Message = opts.Message; } } export class KMSInvalidStateException extends __BaseException { name = "KMSInvalidStateException"; $fault = "server"; Type; Message; constructor(opts) { super({ name: "KMSInvalidStateException", $fault: "server", ...opts, }); Object.setPrototypeOf(this, KMSInvalidStateException.prototype); this.Type = opts.Type; this.Message = opts.Message; } } export class KMSNotFoundException extends __BaseException { name = "KMSNotFoundException"; $fault = "server"; Type; Message; constructor(opts) { super({ name: "KMSNotFoundException", $fault: "server", ...opts, }); Object.setPrototypeOf(this, KMSNotFoundException.prototype); this.Type = opts.Type; this.Message = opts.Message; } } export class NoPublishedVersionException extends __BaseException { name = "NoPublishedVersionException"; $fault = "client"; Type; Message; constructor(opts) { super({ name: "NoPublishedVersionException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, NoPublishedVersionException.prototype); this.Type = opts.Type; this.Message = opts.Message; } } export class RecursiveInvocationException extends __BaseException { name = "RecursiveInvocationException"; $fault = "client"; Type; Message; constructor(opts) { super({ name: "RecursiveInvocationException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, RecursiveInvocationException.prototype); this.Type = opts.Type; this.Message = opts.Message; } } export class RequestTooLargeException extends __BaseException { name = "RequestTooLargeException"; $fault = "client"; Type; constructor(opts) { super({ name: "RequestTooLargeException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, RequestTooLargeException.prototype); this.Type = opts.Type; } } export class ResourceNotReadyException extends __BaseException { name = "ResourceNotReadyException"; $fault = "server"; Type; constructor(opts) { super({ name: "ResourceNotReadyException", $fault: "server", ...opts, }); Object.setPrototypeOf(this, ResourceNotReadyException.prototype); this.Type = opts.Type; } } export class SerializedRequestEntityTooLargeException extends __BaseException { name = "SerializedRequestEntityTooLargeException"; $fault = "client"; Type; constructor(opts) { super({ name: "SerializedRequestEntityTooLargeException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, SerializedRequestEntityTooLargeException.prototype); this.Type = opts.Type; } } export class SnapStartException extends __BaseException { name = "SnapStartException"; $fault = "client"; Type; Message; constructor(opts) { super({ name: "SnapStartException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, SnapStartException.prototype); this.Type = opts.Type; this.Message = opts.Message; } } export class SnapStartNotReadyException extends __BaseException { name = "SnapStartNotReadyException"; $fault = "client"; Type; Message; constructor(opts) { super({ name: "SnapStartNotReadyException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, SnapStartNotReadyException.prototype); this.Type = opts.Type; this.Message = opts.Message; } } export class SnapStartTimeoutException extends __BaseException { name = "SnapStartTimeoutException"; $fault = "client"; Type; Message; constructor(opts) { super({ name: "SnapStartTimeoutException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, SnapStartTimeoutException.prototype); this.Type = opts.Type; this.Message = opts.Message; } } export class SubnetIPAddressLimitReachedException extends __BaseException { name = "SubnetIPAddressLimitReachedException"; $fault = "server"; Type; Message; constructor(opts) { super({ name: "SubnetIPAddressLimitReachedException", $fault: "server", ...opts, }); Object.setPrototypeOf(this, SubnetIPAddressLimitReachedException.prototype); this.Type = opts.Type; this.Message = opts.Message; } } export class UnsupportedMediaTypeException extends __BaseException { name = "UnsupportedMediaTypeException"; $fault = "client"; Type; constructor(opts) { super({ name: "UnsupportedMediaTypeException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, UnsupportedMediaTypeException.prototype); this.Type = opts.Type; } } export class ProvisionedConcurrencyConfigNotFoundException extends __BaseException { name = "ProvisionedConcurrencyConfigNotFoundException"; $fault = "client"; Type; constructor(opts) { super({ name: "ProvisionedConcurrencyConfigNotFoundException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, ProvisionedConcurrencyConfigNotFoundException.prototype); this.Type = opts.Type; } } export class CallbackTimeoutException extends __BaseException { name = "CallbackTimeoutException"; $fault = "client"; Type; Message; constructor(opts) { super({ name: "CallbackTimeoutException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, CallbackTimeoutException.prototype); this.Type = opts.Type; this.Message = opts.Message; } }