@aws-sdk/client-lex-runtime-service
Version:
AWS SDK for JavaScript Lex Runtime Service Client for Node.js, Browser and React Native
156 lines (155 loc) • 5.71 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.UnsupportedMediaTypeException = exports.RequestTimeoutException = exports.NotAcceptableException = exports.LoopDetectedException = exports.DependencyFailedException = exports.BadGatewayException = exports.NotFoundException = exports.LimitExceededException = exports.InternalFailureException = exports.ConflictException = exports.BadRequestException = void 0;
const LexRuntimeServiceServiceException_1 = require("./LexRuntimeServiceServiceException");
class BadRequestException extends LexRuntimeServiceServiceException_1.LexRuntimeServiceServiceException {
name = "BadRequestException";
$fault = "client";
constructor(opts) {
super({
name: "BadRequestException",
$fault: "client",
...opts,
});
Object.setPrototypeOf(this, BadRequestException.prototype);
}
}
exports.BadRequestException = BadRequestException;
class ConflictException extends LexRuntimeServiceServiceException_1.LexRuntimeServiceServiceException {
name = "ConflictException";
$fault = "client";
constructor(opts) {
super({
name: "ConflictException",
$fault: "client",
...opts,
});
Object.setPrototypeOf(this, ConflictException.prototype);
}
}
exports.ConflictException = ConflictException;
class InternalFailureException extends LexRuntimeServiceServiceException_1.LexRuntimeServiceServiceException {
name = "InternalFailureException";
$fault = "server";
constructor(opts) {
super({
name: "InternalFailureException",
$fault: "server",
...opts,
});
Object.setPrototypeOf(this, InternalFailureException.prototype);
}
}
exports.InternalFailureException = InternalFailureException;
class LimitExceededException extends LexRuntimeServiceServiceException_1.LexRuntimeServiceServiceException {
name = "LimitExceededException";
$fault = "client";
retryAfterSeconds;
constructor(opts) {
super({
name: "LimitExceededException",
$fault: "client",
...opts,
});
Object.setPrototypeOf(this, LimitExceededException.prototype);
this.retryAfterSeconds = opts.retryAfterSeconds;
}
}
exports.LimitExceededException = LimitExceededException;
class NotFoundException extends LexRuntimeServiceServiceException_1.LexRuntimeServiceServiceException {
name = "NotFoundException";
$fault = "client";
constructor(opts) {
super({
name: "NotFoundException",
$fault: "client",
...opts,
});
Object.setPrototypeOf(this, NotFoundException.prototype);
}
}
exports.NotFoundException = NotFoundException;
class BadGatewayException extends LexRuntimeServiceServiceException_1.LexRuntimeServiceServiceException {
name = "BadGatewayException";
$fault = "server";
Message;
constructor(opts) {
super({
name: "BadGatewayException",
$fault: "server",
...opts,
});
Object.setPrototypeOf(this, BadGatewayException.prototype);
this.Message = opts.Message;
}
}
exports.BadGatewayException = BadGatewayException;
class DependencyFailedException extends LexRuntimeServiceServiceException_1.LexRuntimeServiceServiceException {
name = "DependencyFailedException";
$fault = "client";
Message;
constructor(opts) {
super({
name: "DependencyFailedException",
$fault: "client",
...opts,
});
Object.setPrototypeOf(this, DependencyFailedException.prototype);
this.Message = opts.Message;
}
}
exports.DependencyFailedException = DependencyFailedException;
class LoopDetectedException extends LexRuntimeServiceServiceException_1.LexRuntimeServiceServiceException {
name = "LoopDetectedException";
$fault = "server";
Message;
constructor(opts) {
super({
name: "LoopDetectedException",
$fault: "server",
...opts,
});
Object.setPrototypeOf(this, LoopDetectedException.prototype);
this.Message = opts.Message;
}
}
exports.LoopDetectedException = LoopDetectedException;
class NotAcceptableException extends LexRuntimeServiceServiceException_1.LexRuntimeServiceServiceException {
name = "NotAcceptableException";
$fault = "client";
constructor(opts) {
super({
name: "NotAcceptableException",
$fault: "client",
...opts,
});
Object.setPrototypeOf(this, NotAcceptableException.prototype);
}
}
exports.NotAcceptableException = NotAcceptableException;
class RequestTimeoutException extends LexRuntimeServiceServiceException_1.LexRuntimeServiceServiceException {
name = "RequestTimeoutException";
$fault = "client";
constructor(opts) {
super({
name: "RequestTimeoutException",
$fault: "client",
...opts,
});
Object.setPrototypeOf(this, RequestTimeoutException.prototype);
}
}
exports.RequestTimeoutException = RequestTimeoutException;
class UnsupportedMediaTypeException extends LexRuntimeServiceServiceException_1.LexRuntimeServiceServiceException {
name = "UnsupportedMediaTypeException";
$fault = "client";
constructor(opts) {
super({
name: "UnsupportedMediaTypeException",
$fault: "client",
...opts,
});
Object.setPrototypeOf(this, UnsupportedMediaTypeException.prototype);
}
}
exports.UnsupportedMediaTypeException = UnsupportedMediaTypeException;