UNPKG

@aws-sdk/client-lex-runtime-service

Version:

AWS SDK for JavaScript Lex Runtime Service Client for Node.js, Browser and React Native

161 lines (160 loc) 5 kB
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client"; import { LexRuntimeServiceServiceException as __BaseException } from "./LexRuntimeServiceServiceException"; /** * <p> Request validation failed, there is no usable message in the context, * or the bot build failed, is still in progress, or contains unbuilt * changes. </p> * @public */ export declare class BadRequestException extends __BaseException { readonly name: "BadRequestException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>); } /** * <p> Two clients are using the same AWS account, Amazon Lex bot, and user * ID. </p> * @public */ export declare class ConflictException extends __BaseException { readonly name: "ConflictException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>); } /** * <p>Internal service error. Retry the call.</p> * @public */ export declare class InternalFailureException extends __BaseException { readonly name: "InternalFailureException"; readonly $fault: "server"; /** * @internal */ constructor(opts: __ExceptionOptionType<InternalFailureException, __BaseException>); } /** * <p>Exceeded a limit.</p> * @public */ export declare class LimitExceededException extends __BaseException { readonly name: "LimitExceededException"; readonly $fault: "client"; retryAfterSeconds?: string | undefined; /** * @internal */ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>); } /** * <p>The resource (such as the Amazon Lex bot or an alias) that is referred * to is not found.</p> * @public */ export declare class NotFoundException extends __BaseException { readonly name: "NotFoundException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>); } /** * <p>Either the Amazon Lex bot is still building, or one of the dependent * services (Amazon Polly, AWS Lambda) failed with an internal service * error.</p> * @public */ export declare class BadGatewayException extends __BaseException { readonly name: "BadGatewayException"; readonly $fault: "server"; Message?: string | undefined; /** * @internal */ constructor(opts: __ExceptionOptionType<BadGatewayException, __BaseException>); } /** * <p> One of the dependencies, such as AWS Lambda or Amazon Polly, threw an * exception. For example, </p> * <ul> * <li> * <p>If Amazon Lex does not have sufficient permissions to call a Lambda * function.</p> * </li> * <li> * <p>If a Lambda function takes longer than 30 seconds to * execute.</p> * </li> * <li> * <p>If a fulfillment Lambda function returns a <code>Delegate</code> * dialog action without removing any slot values.</p> * </li> * </ul> * @public */ export declare class DependencyFailedException extends __BaseException { readonly name: "DependencyFailedException"; readonly $fault: "client"; Message?: string | undefined; /** * @internal */ constructor(opts: __ExceptionOptionType<DependencyFailedException, __BaseException>); } /** * <p>This exception is not used.</p> * @public */ export declare class LoopDetectedException extends __BaseException { readonly name: "LoopDetectedException"; readonly $fault: "server"; Message?: string | undefined; /** * @internal */ constructor(opts: __ExceptionOptionType<LoopDetectedException, __BaseException>); } /** * <p>The accept header in the request does not have a valid value.</p> * @public */ export declare class NotAcceptableException extends __BaseException { readonly name: "NotAcceptableException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType<NotAcceptableException, __BaseException>); } /** * <p>The input speech is too long.</p> * @public */ export declare class RequestTimeoutException extends __BaseException { readonly name: "RequestTimeoutException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType<RequestTimeoutException, __BaseException>); } /** * <p>The Content-Type header (<code>PostContent</code> API) has an invalid * value. </p> * @public */ export declare class UnsupportedMediaTypeException extends __BaseException { readonly name: "UnsupportedMediaTypeException"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType<UnsupportedMediaTypeException, __BaseException>); }