UNPKG

lambda-live-debugger

Version:

Debug Lambda functions locally like it is running in the cloud

148 lines (147 loc) 5.55 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RequestEntityTooLargeException = exports.UnsupportedDocumentEncodingException = exports.UnauthorizedException = exports.ServiceUnavailableException = exports.MethodNotAllowedException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InvalidRequestException = exports.InternalFailureException = exports.ForbiddenException = exports.ConflictException = void 0; const IoTDataPlaneServiceException_1 = require("./IoTDataPlaneServiceException"); class ConflictException extends IoTDataPlaneServiceException_1.IoTDataPlaneServiceException { name = "ConflictException"; $fault = "client"; constructor(opts) { super({ name: "ConflictException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, ConflictException.prototype); } } exports.ConflictException = ConflictException; class ForbiddenException extends IoTDataPlaneServiceException_1.IoTDataPlaneServiceException { name = "ForbiddenException"; $fault = "client"; constructor(opts) { super({ name: "ForbiddenException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, ForbiddenException.prototype); } } exports.ForbiddenException = ForbiddenException; class InternalFailureException extends IoTDataPlaneServiceException_1.IoTDataPlaneServiceException { name = "InternalFailureException"; $fault = "server"; constructor(opts) { super({ name: "InternalFailureException", $fault: "server", ...opts, }); Object.setPrototypeOf(this, InternalFailureException.prototype); } } exports.InternalFailureException = InternalFailureException; class InvalidRequestException extends IoTDataPlaneServiceException_1.IoTDataPlaneServiceException { name = "InvalidRequestException"; $fault = "client"; constructor(opts) { super({ name: "InvalidRequestException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, InvalidRequestException.prototype); } } exports.InvalidRequestException = InvalidRequestException; class ResourceNotFoundException extends IoTDataPlaneServiceException_1.IoTDataPlaneServiceException { name = "ResourceNotFoundException"; $fault = "client"; constructor(opts) { super({ name: "ResourceNotFoundException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, ResourceNotFoundException.prototype); } } exports.ResourceNotFoundException = ResourceNotFoundException; class ThrottlingException extends IoTDataPlaneServiceException_1.IoTDataPlaneServiceException { name = "ThrottlingException"; $fault = "client"; constructor(opts) { super({ name: "ThrottlingException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, ThrottlingException.prototype); } } exports.ThrottlingException = ThrottlingException; class MethodNotAllowedException extends IoTDataPlaneServiceException_1.IoTDataPlaneServiceException { name = "MethodNotAllowedException"; $fault = "client"; constructor(opts) { super({ name: "MethodNotAllowedException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, MethodNotAllowedException.prototype); } } exports.MethodNotAllowedException = MethodNotAllowedException; class ServiceUnavailableException extends IoTDataPlaneServiceException_1.IoTDataPlaneServiceException { name = "ServiceUnavailableException"; $fault = "server"; constructor(opts) { super({ name: "ServiceUnavailableException", $fault: "server", ...opts, }); Object.setPrototypeOf(this, ServiceUnavailableException.prototype); } } exports.ServiceUnavailableException = ServiceUnavailableException; class UnauthorizedException extends IoTDataPlaneServiceException_1.IoTDataPlaneServiceException { name = "UnauthorizedException"; $fault = "client"; constructor(opts) { super({ name: "UnauthorizedException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, UnauthorizedException.prototype); } } exports.UnauthorizedException = UnauthorizedException; class UnsupportedDocumentEncodingException extends IoTDataPlaneServiceException_1.IoTDataPlaneServiceException { name = "UnsupportedDocumentEncodingException"; $fault = "client"; constructor(opts) { super({ name: "UnsupportedDocumentEncodingException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, UnsupportedDocumentEncodingException.prototype); } } exports.UnsupportedDocumentEncodingException = UnsupportedDocumentEncodingException; class RequestEntityTooLargeException extends IoTDataPlaneServiceException_1.IoTDataPlaneServiceException { name = "RequestEntityTooLargeException"; $fault = "client"; constructor(opts) { super({ name: "RequestEntityTooLargeException", $fault: "client", ...opts, }); Object.setPrototypeOf(this, RequestEntityTooLargeException.prototype); } } exports.RequestEntityTooLargeException = RequestEntityTooLargeException;