UNPKG

@aws-sdk/client-account

Version:

AWS SDK for JavaScript Account Client for Node.js, Browser and React Native

133 lines (132 loc) 4.59 kB
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client"; import { AccountServiceException as __BaseException } from "./AccountServiceException"; import type { ValidationExceptionReason } from "./enums"; import type { ValidationExceptionField } from "./models_0"; /** * <p>The operation failed because the calling identity doesn't have the minimum required permissions.</p> * @public */ export declare class AccessDeniedException extends __BaseException { readonly name: "AccessDeniedException"; readonly $fault: "client"; /** * <p>The value populated to the <code>x-amzn-ErrorType</code> response header by API Gateway.</p> * @public */ errorType?: string | undefined; /** * @internal */ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>); } /** * <p>The request could not be processed because of a conflict in the current status of the resource. For example, this happens if you try to enable a Region that is currently being disabled (in a status of DISABLING) or if you try to change an account’s root user email to an email address which is already in use.</p> * @public */ export declare class ConflictException extends __BaseException { readonly name: "ConflictException"; readonly $fault: "client"; /** * <p>The value populated to the <code>x-amzn-ErrorType</code> response header by API Gateway.</p> * @public */ errorType?: string | undefined; /** * @internal */ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>); } /** * <p>The operation failed because of an error internal to Amazon Web Services. Try your operation again later.</p> * @public */ export declare class InternalServerException extends __BaseException { readonly name: "InternalServerException"; readonly $fault: "server"; $retryable: {}; /** * <p>The value populated to the <code>x-amzn-ErrorType</code> response header by API Gateway.</p> * @public */ errorType?: string | undefined; /** * @internal */ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>); } /** * <p>The operation failed because it specified a resource that can't be found.</p> * @public */ export declare class ResourceNotFoundException extends __BaseException { readonly name: "ResourceNotFoundException"; readonly $fault: "client"; /** * <p>The value populated to the <code>x-amzn-ErrorType</code> response header by API Gateway.</p> * @public */ errorType?: string | undefined; /** * @internal */ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>); } /** * <p>The operation failed because it was called too frequently and exceeded a throttle limit.</p> * @public */ export declare class TooManyRequestsException extends __BaseException { readonly name: "TooManyRequestsException"; readonly $fault: "client"; $retryable: { throttling: boolean; }; /** * <p>The value populated to the <code>x-amzn-ErrorType</code> response header by API Gateway.</p> * @public */ errorType?: string | undefined; /** * @internal */ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>); } /** * <p>The operation failed because one of the input parameters was invalid.</p> * @public */ export declare class ValidationException extends __BaseException { readonly name: "ValidationException"; readonly $fault: "client"; /** * <p>The reason that validation failed.</p> * @public */ reason?: ValidationExceptionReason | undefined; /** * <p>The field where the invalid entry was detected.</p> * @public */ fieldList?: ValidationExceptionField[] | undefined; /** * @internal */ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>); } /** * <p>The operation failed because it specified a resource that is not currently available.</p> * @public */ export declare class ResourceUnavailableException extends __BaseException { readonly name: "ResourceUnavailableException"; readonly $fault: "client"; /** * <p>The value populated to the <code>x-amzn-ErrorType</code> response header by API Gateway.</p> * @public */ errorType?: string | undefined; /** * @internal */ constructor(opts: __ExceptionOptionType<ResourceUnavailableException, __BaseException>); }