@aws-sdk/client-internetmonitor 3.986.0 → 3.988.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +35 -809
- package/dist-cjs/models/InternetMonitorServiceException.js +12 -0
- package/dist-cjs/models/errors.js +155 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +577 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +71 -65
- package/dist-types/schemas/schemas_0.d.ts +18 -11
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +13 -11
- package/package.json +13 -13
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InternetMonitorServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class InternetMonitorServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, InternetMonitorServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.InternetMonitorServiceException = InternetMonitorServiceException;
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ResourceNotFoundException = exports.TooManyRequestsException = exports.NotFoundException = exports.InternalServerErrorException = exports.ValidationException = exports.ThrottlingException = exports.LimitExceededException = exports.InternalServerException = exports.ConflictException = exports.BadRequestException = exports.AccessDeniedException = void 0;
|
|
4
|
+
const InternetMonitorServiceException_1 = require("./InternetMonitorServiceException");
|
|
5
|
+
class AccessDeniedException extends InternetMonitorServiceException_1.InternetMonitorServiceException {
|
|
6
|
+
name = "AccessDeniedException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "AccessDeniedException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
18
|
+
class BadRequestException extends InternetMonitorServiceException_1.InternetMonitorServiceException {
|
|
19
|
+
name = "BadRequestException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
constructor(opts) {
|
|
22
|
+
super({
|
|
23
|
+
name: "BadRequestException",
|
|
24
|
+
$fault: "client",
|
|
25
|
+
...opts,
|
|
26
|
+
});
|
|
27
|
+
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.BadRequestException = BadRequestException;
|
|
31
|
+
class ConflictException extends InternetMonitorServiceException_1.InternetMonitorServiceException {
|
|
32
|
+
name = "ConflictException";
|
|
33
|
+
$fault = "client";
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "ConflictException",
|
|
37
|
+
$fault: "client",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.ConflictException = ConflictException;
|
|
44
|
+
class InternalServerException extends InternetMonitorServiceException_1.InternetMonitorServiceException {
|
|
45
|
+
name = "InternalServerException";
|
|
46
|
+
$fault = "server";
|
|
47
|
+
$retryable = {};
|
|
48
|
+
constructor(opts) {
|
|
49
|
+
super({
|
|
50
|
+
name: "InternalServerException",
|
|
51
|
+
$fault: "server",
|
|
52
|
+
...opts,
|
|
53
|
+
});
|
|
54
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
exports.InternalServerException = InternalServerException;
|
|
58
|
+
class LimitExceededException extends InternetMonitorServiceException_1.InternetMonitorServiceException {
|
|
59
|
+
name = "LimitExceededException";
|
|
60
|
+
$fault = "client";
|
|
61
|
+
constructor(opts) {
|
|
62
|
+
super({
|
|
63
|
+
name: "LimitExceededException",
|
|
64
|
+
$fault: "client",
|
|
65
|
+
...opts,
|
|
66
|
+
});
|
|
67
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
exports.LimitExceededException = LimitExceededException;
|
|
71
|
+
class ThrottlingException extends InternetMonitorServiceException_1.InternetMonitorServiceException {
|
|
72
|
+
name = "ThrottlingException";
|
|
73
|
+
$fault = "client";
|
|
74
|
+
$retryable = {
|
|
75
|
+
throttling: true,
|
|
76
|
+
};
|
|
77
|
+
constructor(opts) {
|
|
78
|
+
super({
|
|
79
|
+
name: "ThrottlingException",
|
|
80
|
+
$fault: "client",
|
|
81
|
+
...opts,
|
|
82
|
+
});
|
|
83
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
exports.ThrottlingException = ThrottlingException;
|
|
87
|
+
class ValidationException extends InternetMonitorServiceException_1.InternetMonitorServiceException {
|
|
88
|
+
name = "ValidationException";
|
|
89
|
+
$fault = "client";
|
|
90
|
+
constructor(opts) {
|
|
91
|
+
super({
|
|
92
|
+
name: "ValidationException",
|
|
93
|
+
$fault: "client",
|
|
94
|
+
...opts,
|
|
95
|
+
});
|
|
96
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
exports.ValidationException = ValidationException;
|
|
100
|
+
class InternalServerErrorException extends InternetMonitorServiceException_1.InternetMonitorServiceException {
|
|
101
|
+
name = "InternalServerErrorException";
|
|
102
|
+
$fault = "server";
|
|
103
|
+
$retryable = {};
|
|
104
|
+
constructor(opts) {
|
|
105
|
+
super({
|
|
106
|
+
name: "InternalServerErrorException",
|
|
107
|
+
$fault: "server",
|
|
108
|
+
...opts,
|
|
109
|
+
});
|
|
110
|
+
Object.setPrototypeOf(this, InternalServerErrorException.prototype);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
exports.InternalServerErrorException = InternalServerErrorException;
|
|
114
|
+
class NotFoundException extends InternetMonitorServiceException_1.InternetMonitorServiceException {
|
|
115
|
+
name = "NotFoundException";
|
|
116
|
+
$fault = "client";
|
|
117
|
+
constructor(opts) {
|
|
118
|
+
super({
|
|
119
|
+
name: "NotFoundException",
|
|
120
|
+
$fault: "client",
|
|
121
|
+
...opts,
|
|
122
|
+
});
|
|
123
|
+
Object.setPrototypeOf(this, NotFoundException.prototype);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
exports.NotFoundException = NotFoundException;
|
|
127
|
+
class TooManyRequestsException extends InternetMonitorServiceException_1.InternetMonitorServiceException {
|
|
128
|
+
name = "TooManyRequestsException";
|
|
129
|
+
$fault = "client";
|
|
130
|
+
$retryable = {
|
|
131
|
+
throttling: true,
|
|
132
|
+
};
|
|
133
|
+
constructor(opts) {
|
|
134
|
+
super({
|
|
135
|
+
name: "TooManyRequestsException",
|
|
136
|
+
$fault: "client",
|
|
137
|
+
...opts,
|
|
138
|
+
});
|
|
139
|
+
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
exports.TooManyRequestsException = TooManyRequestsException;
|
|
143
|
+
class ResourceNotFoundException extends InternetMonitorServiceException_1.InternetMonitorServiceException {
|
|
144
|
+
name = "ResourceNotFoundException";
|
|
145
|
+
$fault = "client";
|
|
146
|
+
constructor(opts) {
|
|
147
|
+
super({
|
|
148
|
+
name: "ResourceNotFoundException",
|
|
149
|
+
$fault: "client",
|
|
150
|
+
...opts,
|
|
151
|
+
});
|
|
152
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
|
|
|
9
9
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
10
10
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
11
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
13
|
const getRuntimeConfig = (config) => {
|
|
13
14
|
return {
|
|
14
15
|
apiVersion: "2021-06-03",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.internetmonitor",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2021-06-03",
|
|
33
35
|
serviceTarget: "InternetMonitor20210603",
|
|
34
36
|
},
|