124 lines
3.6 KiB
JavaScript
124 lines
3.6 KiB
JavaScript
import { BedrockServiceException as __BaseException } from "./BedrockServiceException";
|
|
export class AccessDeniedException extends __BaseException {
|
|
name = "AccessDeniedException";
|
|
$fault = "client";
|
|
constructor(opts) {
|
|
super({
|
|
name: "AccessDeniedException",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
}
|
|
}
|
|
export class InternalServerException extends __BaseException {
|
|
name = "InternalServerException";
|
|
$fault = "server";
|
|
constructor(opts) {
|
|
super({
|
|
name: "InternalServerException",
|
|
$fault: "server",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
}
|
|
}
|
|
export class ResourceNotFoundException extends __BaseException {
|
|
name = "ResourceNotFoundException";
|
|
$fault = "client";
|
|
constructor(opts) {
|
|
super({
|
|
name: "ResourceNotFoundException",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
}
|
|
}
|
|
export class ThrottlingException extends __BaseException {
|
|
name = "ThrottlingException";
|
|
$fault = "client";
|
|
constructor(opts) {
|
|
super({
|
|
name: "ThrottlingException",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
}
|
|
}
|
|
export class ValidationException extends __BaseException {
|
|
name = "ValidationException";
|
|
$fault = "client";
|
|
constructor(opts) {
|
|
super({
|
|
name: "ValidationException",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
}
|
|
}
|
|
export class ConflictException extends __BaseException {
|
|
name = "ConflictException";
|
|
$fault = "client";
|
|
constructor(opts) {
|
|
super({
|
|
name: "ConflictException",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
}
|
|
}
|
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
name = "ServiceQuotaExceededException";
|
|
$fault = "client";
|
|
constructor(opts) {
|
|
super({
|
|
name: "ServiceQuotaExceededException",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
}
|
|
}
|
|
export class TooManyTagsException extends __BaseException {
|
|
name = "TooManyTagsException";
|
|
$fault = "client";
|
|
resourceName;
|
|
constructor(opts) {
|
|
super({
|
|
name: "TooManyTagsException",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
this.resourceName = opts.resourceName;
|
|
}
|
|
}
|
|
export class ResourceInUseException extends __BaseException {
|
|
name = "ResourceInUseException";
|
|
$fault = "client";
|
|
constructor(opts) {
|
|
super({
|
|
name: "ResourceInUseException",
|
|
$fault: "client",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
}
|
|
}
|
|
export class ServiceUnavailableException extends __BaseException {
|
|
name = "ServiceUnavailableException";
|
|
$fault = "server";
|
|
constructor(opts) {
|
|
super({
|
|
name: "ServiceUnavailableException",
|
|
$fault: "server",
|
|
...opts,
|
|
});
|
|
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
}
|
|
}
|