@aws-sdk/client-internetmonitor 3.934.0 → 3.936.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 CHANGED
@@ -153,20 +153,6 @@ let ConflictException$1 = class ConflictException extends InternetMonitorService
153
153
  Object.setPrototypeOf(this, ConflictException.prototype);
154
154
  }
155
155
  };
156
- const LocalHealthEventsConfigStatus = {
157
- DISABLED: "DISABLED",
158
- ENABLED: "ENABLED",
159
- };
160
- const LogDeliveryStatus = {
161
- DISABLED: "DISABLED",
162
- ENABLED: "ENABLED",
163
- };
164
- const MonitorConfigState = {
165
- ACTIVE: "ACTIVE",
166
- ERROR: "ERROR",
167
- INACTIVE: "INACTIVE",
168
- PENDING: "PENDING",
169
- };
170
156
  let InternalServerException$1 = class InternalServerException extends InternetMonitorServiceException$1 {
171
157
  name = "InternalServerException";
172
158
  $fault = "server";
@@ -219,47 +205,6 @@ let ValidationException$1 = class ValidationException extends InternetMonitorSer
219
205
  Object.setPrototypeOf(this, ValidationException.prototype);
220
206
  }
221
207
  };
222
- const Operator = {
223
- EQUALS: "EQUALS",
224
- NOT_EQUALS: "NOT_EQUALS",
225
- };
226
- const TriangulationEventType = {
227
- AWS: "AWS",
228
- INTERNET: "Internet",
229
- };
230
- const HealthEventStatus = {
231
- ACTIVE: "ACTIVE",
232
- RESOLVED: "RESOLVED",
233
- };
234
- const HealthEventImpactType = {
235
- AVAILABILITY: "AVAILABILITY",
236
- LOCAL_AVAILABILITY: "LOCAL_AVAILABILITY",
237
- LOCAL_PERFORMANCE: "LOCAL_PERFORMANCE",
238
- PERFORMANCE: "PERFORMANCE",
239
- };
240
- const InternetEventStatus = {
241
- ACTIVE: "ACTIVE",
242
- RESOLVED: "RESOLVED",
243
- };
244
- const InternetEventType = {
245
- AVAILABILITY: "AVAILABILITY",
246
- PERFORMANCE: "PERFORMANCE",
247
- };
248
- const MonitorProcessingStatusCode = {
249
- COLLECTING_DATA: "COLLECTING_DATA",
250
- FAULT_ACCESS_CLOUDWATCH: "FAULT_ACCESS_CLOUDWATCH",
251
- FAULT_SERVICE: "FAULT_SERVICE",
252
- INACTIVE: "INACTIVE",
253
- INSUFFICIENT_DATA: "INSUFFICIENT_DATA",
254
- OK: "OK",
255
- };
256
- const QueryStatus = {
257
- CANCELED: "CANCELED",
258
- FAILED: "FAILED",
259
- QUEUED: "QUEUED",
260
- RUNNING: "RUNNING",
261
- SUCCEEDED: "SUCCEEDED",
262
- };
263
208
  let InternalServerErrorException$1 = class InternalServerErrorException extends InternetMonitorServiceException$1 {
264
209
  name = "InternalServerErrorException";
265
210
  $fault = "server";
@@ -300,14 +245,6 @@ let TooManyRequestsException$1 = class TooManyRequestsException extends Internet
300
245
  Object.setPrototypeOf(this, TooManyRequestsException.prototype);
301
246
  }
302
247
  };
303
- const QueryType = {
304
- MEASUREMENTS: "MEASUREMENTS",
305
- OVERALL_TRAFFIC_SUGGESTIONS: "OVERALL_TRAFFIC_SUGGESTIONS",
306
- OVERALL_TRAFFIC_SUGGESTIONS_DETAILS: "OVERALL_TRAFFIC_SUGGESTIONS_DETAILS",
307
- ROUTING_SUGGESTIONS: "ROUTING_SUGGESTIONS",
308
- TOP_LOCATIONS: "TOP_LOCATIONS",
309
- TOP_LOCATION_DETAILS: "TOP_LOCATION_DETAILS",
310
- };
311
248
  let ResourceNotFoundException$1 = class ResourceNotFoundException extends InternetMonitorServiceException$1 {
312
249
  name = "ResourceNotFoundException";
313
250
  $fault = "client";
@@ -1406,12 +1343,8 @@ exports.GetInternetEventCommand = GetInternetEventCommand;
1406
1343
  exports.GetMonitorCommand = GetMonitorCommand;
1407
1344
  exports.GetQueryResultsCommand = GetQueryResultsCommand;
1408
1345
  exports.GetQueryStatusCommand = GetQueryStatusCommand;
1409
- exports.HealthEventImpactType = HealthEventImpactType;
1410
- exports.HealthEventStatus = HealthEventStatus;
1411
1346
  exports.InternalServerErrorException = InternalServerErrorException$1;
1412
1347
  exports.InternalServerException = InternalServerException$1;
1413
- exports.InternetEventStatus = InternetEventStatus;
1414
- exports.InternetEventType = InternetEventType;
1415
1348
  exports.InternetMonitor = InternetMonitor;
1416
1349
  exports.InternetMonitorClient = InternetMonitorClient;
1417
1350
  exports.InternetMonitorServiceException = InternetMonitorServiceException$1;
@@ -1420,21 +1353,13 @@ exports.ListHealthEventsCommand = ListHealthEventsCommand;
1420
1353
  exports.ListInternetEventsCommand = ListInternetEventsCommand;
1421
1354
  exports.ListMonitorsCommand = ListMonitorsCommand;
1422
1355
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1423
- exports.LocalHealthEventsConfigStatus = LocalHealthEventsConfigStatus;
1424
- exports.LogDeliveryStatus = LogDeliveryStatus;
1425
- exports.MonitorConfigState = MonitorConfigState;
1426
- exports.MonitorProcessingStatusCode = MonitorProcessingStatusCode;
1427
1356
  exports.NotFoundException = NotFoundException$1;
1428
- exports.Operator = Operator;
1429
- exports.QueryStatus = QueryStatus;
1430
- exports.QueryType = QueryType;
1431
1357
  exports.ResourceNotFoundException = ResourceNotFoundException$1;
1432
1358
  exports.StartQueryCommand = StartQueryCommand;
1433
1359
  exports.StopQueryCommand = StopQueryCommand;
1434
1360
  exports.TagResourceCommand = TagResourceCommand;
1435
1361
  exports.ThrottlingException = ThrottlingException$1;
1436
1362
  exports.TooManyRequestsException = TooManyRequestsException$1;
1437
- exports.TriangulationEventType = TriangulationEventType;
1438
1363
  exports.UntagResourceCommand = UntagResourceCommand;
1439
1364
  exports.UpdateMonitorCommand = UpdateMonitorCommand;
1440
1365
  exports.ValidationException = ValidationException$1;
package/dist-es/index.js CHANGED
@@ -2,5 +2,5 @@ export * from "./InternetMonitorClient";
2
2
  export * from "./InternetMonitor";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/errors";
6
6
  export { InternetMonitorServiceException } from "./models/InternetMonitorServiceException";
@@ -0,0 +1,141 @@
1
+ import { InternetMonitorServiceException as __BaseException } from "./InternetMonitorServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ constructor(opts) {
6
+ super({
7
+ name: "AccessDeniedException",
8
+ $fault: "client",
9
+ ...opts,
10
+ });
11
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
+ }
13
+ }
14
+ export class BadRequestException extends __BaseException {
15
+ name = "BadRequestException";
16
+ $fault = "client";
17
+ constructor(opts) {
18
+ super({
19
+ name: "BadRequestException",
20
+ $fault: "client",
21
+ ...opts,
22
+ });
23
+ Object.setPrototypeOf(this, BadRequestException.prototype);
24
+ }
25
+ }
26
+ export class ConflictException extends __BaseException {
27
+ name = "ConflictException";
28
+ $fault = "client";
29
+ constructor(opts) {
30
+ super({
31
+ name: "ConflictException",
32
+ $fault: "client",
33
+ ...opts,
34
+ });
35
+ Object.setPrototypeOf(this, ConflictException.prototype);
36
+ }
37
+ }
38
+ export class InternalServerException extends __BaseException {
39
+ name = "InternalServerException";
40
+ $fault = "server";
41
+ $retryable = {};
42
+ constructor(opts) {
43
+ super({
44
+ name: "InternalServerException",
45
+ $fault: "server",
46
+ ...opts,
47
+ });
48
+ Object.setPrototypeOf(this, InternalServerException.prototype);
49
+ }
50
+ }
51
+ export class LimitExceededException extends __BaseException {
52
+ name = "LimitExceededException";
53
+ $fault = "client";
54
+ constructor(opts) {
55
+ super({
56
+ name: "LimitExceededException",
57
+ $fault: "client",
58
+ ...opts,
59
+ });
60
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
61
+ }
62
+ }
63
+ export class ThrottlingException extends __BaseException {
64
+ name = "ThrottlingException";
65
+ $fault = "client";
66
+ $retryable = {
67
+ throttling: true,
68
+ };
69
+ constructor(opts) {
70
+ super({
71
+ name: "ThrottlingException",
72
+ $fault: "client",
73
+ ...opts,
74
+ });
75
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
76
+ }
77
+ }
78
+ export class ValidationException extends __BaseException {
79
+ name = "ValidationException";
80
+ $fault = "client";
81
+ constructor(opts) {
82
+ super({
83
+ name: "ValidationException",
84
+ $fault: "client",
85
+ ...opts,
86
+ });
87
+ Object.setPrototypeOf(this, ValidationException.prototype);
88
+ }
89
+ }
90
+ export class InternalServerErrorException extends __BaseException {
91
+ name = "InternalServerErrorException";
92
+ $fault = "server";
93
+ $retryable = {};
94
+ constructor(opts) {
95
+ super({
96
+ name: "InternalServerErrorException",
97
+ $fault: "server",
98
+ ...opts,
99
+ });
100
+ Object.setPrototypeOf(this, InternalServerErrorException.prototype);
101
+ }
102
+ }
103
+ export class NotFoundException extends __BaseException {
104
+ name = "NotFoundException";
105
+ $fault = "client";
106
+ constructor(opts) {
107
+ super({
108
+ name: "NotFoundException",
109
+ $fault: "client",
110
+ ...opts,
111
+ });
112
+ Object.setPrototypeOf(this, NotFoundException.prototype);
113
+ }
114
+ }
115
+ export class TooManyRequestsException extends __BaseException {
116
+ name = "TooManyRequestsException";
117
+ $fault = "client";
118
+ $retryable = {
119
+ throttling: true,
120
+ };
121
+ constructor(opts) {
122
+ super({
123
+ name: "TooManyRequestsException",
124
+ $fault: "client",
125
+ ...opts,
126
+ });
127
+ Object.setPrototypeOf(this, TooManyRequestsException.prototype);
128
+ }
129
+ }
130
+ export class ResourceNotFoundException extends __BaseException {
131
+ name = "ResourceNotFoundException";
132
+ $fault = "client";
133
+ constructor(opts) {
134
+ super({
135
+ name: "ResourceNotFoundException",
136
+ $fault: "client",
137
+ ...opts,
138
+ });
139
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
140
+ }
141
+ }
@@ -1,40 +1,3 @@
1
- import { InternetMonitorServiceException as __BaseException } from "./InternetMonitorServiceException";
2
- export class AccessDeniedException extends __BaseException {
3
- name = "AccessDeniedException";
4
- $fault = "client";
5
- constructor(opts) {
6
- super({
7
- name: "AccessDeniedException",
8
- $fault: "client",
9
- ...opts,
10
- });
11
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
12
- }
13
- }
14
- export class BadRequestException extends __BaseException {
15
- name = "BadRequestException";
16
- $fault = "client";
17
- constructor(opts) {
18
- super({
19
- name: "BadRequestException",
20
- $fault: "client",
21
- ...opts,
22
- });
23
- Object.setPrototypeOf(this, BadRequestException.prototype);
24
- }
25
- }
26
- export class ConflictException extends __BaseException {
27
- name = "ConflictException";
28
- $fault = "client";
29
- constructor(opts) {
30
- super({
31
- name: "ConflictException",
32
- $fault: "client",
33
- ...opts,
34
- });
35
- Object.setPrototypeOf(this, ConflictException.prototype);
36
- }
37
- }
38
1
  export const LocalHealthEventsConfigStatus = {
39
2
  DISABLED: "DISABLED",
40
3
  ENABLED: "ENABLED",
@@ -49,58 +12,6 @@ export const MonitorConfigState = {
49
12
  INACTIVE: "INACTIVE",
50
13
  PENDING: "PENDING",
51
14
  };
52
- export class InternalServerException extends __BaseException {
53
- name = "InternalServerException";
54
- $fault = "server";
55
- $retryable = {};
56
- constructor(opts) {
57
- super({
58
- name: "InternalServerException",
59
- $fault: "server",
60
- ...opts,
61
- });
62
- Object.setPrototypeOf(this, InternalServerException.prototype);
63
- }
64
- }
65
- export class LimitExceededException extends __BaseException {
66
- name = "LimitExceededException";
67
- $fault = "client";
68
- constructor(opts) {
69
- super({
70
- name: "LimitExceededException",
71
- $fault: "client",
72
- ...opts,
73
- });
74
- Object.setPrototypeOf(this, LimitExceededException.prototype);
75
- }
76
- }
77
- export class ThrottlingException extends __BaseException {
78
- name = "ThrottlingException";
79
- $fault = "client";
80
- $retryable = {
81
- throttling: true,
82
- };
83
- constructor(opts) {
84
- super({
85
- name: "ThrottlingException",
86
- $fault: "client",
87
- ...opts,
88
- });
89
- Object.setPrototypeOf(this, ThrottlingException.prototype);
90
- }
91
- }
92
- export class ValidationException extends __BaseException {
93
- name = "ValidationException";
94
- $fault = "client";
95
- constructor(opts) {
96
- super({
97
- name: "ValidationException",
98
- $fault: "client",
99
- ...opts,
100
- });
101
- Object.setPrototypeOf(this, ValidationException.prototype);
102
- }
103
- }
104
15
  export const Operator = {
105
16
  EQUALS: "EQUALS",
106
17
  NOT_EQUALS: "NOT_EQUALS",
@@ -142,46 +53,6 @@ export const QueryStatus = {
142
53
  RUNNING: "RUNNING",
143
54
  SUCCEEDED: "SUCCEEDED",
144
55
  };
145
- export class InternalServerErrorException extends __BaseException {
146
- name = "InternalServerErrorException";
147
- $fault = "server";
148
- $retryable = {};
149
- constructor(opts) {
150
- super({
151
- name: "InternalServerErrorException",
152
- $fault: "server",
153
- ...opts,
154
- });
155
- Object.setPrototypeOf(this, InternalServerErrorException.prototype);
156
- }
157
- }
158
- export class NotFoundException extends __BaseException {
159
- name = "NotFoundException";
160
- $fault = "client";
161
- constructor(opts) {
162
- super({
163
- name: "NotFoundException",
164
- $fault: "client",
165
- ...opts,
166
- });
167
- Object.setPrototypeOf(this, NotFoundException.prototype);
168
- }
169
- }
170
- export class TooManyRequestsException extends __BaseException {
171
- name = "TooManyRequestsException";
172
- $fault = "client";
173
- $retryable = {
174
- throttling: true,
175
- };
176
- constructor(opts) {
177
- super({
178
- name: "TooManyRequestsException",
179
- $fault: "client",
180
- ...opts,
181
- });
182
- Object.setPrototypeOf(this, TooManyRequestsException.prototype);
183
- }
184
- }
185
56
  export const QueryType = {
186
57
  MEASUREMENTS: "MEASUREMENTS",
187
58
  OVERALL_TRAFFIC_SUGGESTIONS: "OVERALL_TRAFFIC_SUGGESTIONS",
@@ -190,15 +61,3 @@ export const QueryType = {
190
61
  TOP_LOCATIONS: "TOP_LOCATIONS",
191
62
  TOP_LOCATION_DETAILS: "TOP_LOCATION_DETAILS",
192
63
  };
193
- export class ResourceNotFoundException extends __BaseException {
194
- name = "ResourceNotFoundException";
195
- $fault = "client";
196
- constructor(opts) {
197
- super({
198
- name: "ResourceNotFoundException",
199
- $fault: "client",
200
- ...opts,
201
- });
202
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
203
- }
204
- }
@@ -172,7 +172,7 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.internetmonitor";
172
172
  const _tK = "tagKeys";
173
173
  const n0 = "com.amazonaws.internetmonitor";
174
174
  import { TypeRegistry } from "@smithy/core/schema";
175
- import { AccessDeniedException as __AccessDeniedException, BadRequestException as __BadRequestException, ConflictException as __ConflictException, InternalServerErrorException as __InternalServerErrorException, InternalServerException as __InternalServerException, LimitExceededException as __LimitExceededException, NotFoundException as __NotFoundException, ResourceNotFoundException as __ResourceNotFoundException, ThrottlingException as __ThrottlingException, TooManyRequestsException as __TooManyRequestsException, ValidationException as __ValidationException, } from "../models/index";
175
+ import { AccessDeniedException as __AccessDeniedException, BadRequestException as __BadRequestException, ConflictException as __ConflictException, InternalServerErrorException as __InternalServerErrorException, InternalServerException as __InternalServerException, LimitExceededException as __LimitExceededException, NotFoundException as __NotFoundException, ResourceNotFoundException as __ResourceNotFoundException, ThrottlingException as __ThrottlingException, TooManyRequestsException as __TooManyRequestsException, ValidationException as __ValidationException, } from "../models/errors";
176
176
  import { InternetMonitorServiceException as __InternetMonitorServiceException } from "../models/InternetMonitorServiceException";
177
177
  export var AccessDeniedException = [
178
178
  -3,
@@ -25,5 +25,6 @@ export type { RuntimeExtension } from "./runtimeExtensions";
25
25
  export type { InternetMonitorExtensionConfiguration } from "./extensionConfiguration";
26
26
  export * from "./commands";
27
27
  export * from "./pagination";
28
- export * from "./models";
28
+ export * from "./models/errors";
29
+ export type * from "./models/models_0";
29
30
  export { InternetMonitorServiceException } from "./models/InternetMonitorServiceException";
@@ -0,0 +1,142 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { InternetMonitorServiceException as __BaseException } from "./InternetMonitorServiceException";
3
+ /**
4
+ * <p>You don't have sufficient permission to perform this action.</p>
5
+ * @public
6
+ */
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
14
+ }
15
+ /**
16
+ * <p>A bad request was received.</p>
17
+ * @public
18
+ */
19
+ export declare class BadRequestException extends __BaseException {
20
+ readonly name: "BadRequestException";
21
+ readonly $fault: "client";
22
+ /**
23
+ * @internal
24
+ */
25
+ constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
26
+ }
27
+ /**
28
+ * <p>The requested resource is in use.</p>
29
+ * @public
30
+ */
31
+ export declare class ConflictException extends __BaseException {
32
+ readonly name: "ConflictException";
33
+ readonly $fault: "client";
34
+ /**
35
+ * @internal
36
+ */
37
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
38
+ }
39
+ /**
40
+ * <p>An internal error occurred.</p>
41
+ * @public
42
+ */
43
+ export declare class InternalServerException extends __BaseException {
44
+ readonly name: "InternalServerException";
45
+ readonly $fault: "server";
46
+ $retryable: {};
47
+ /**
48
+ * @internal
49
+ */
50
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
51
+ }
52
+ /**
53
+ * <p>The request exceeded a service quota.</p>
54
+ * @public
55
+ */
56
+ export declare class LimitExceededException extends __BaseException {
57
+ readonly name: "LimitExceededException";
58
+ readonly $fault: "client";
59
+ /**
60
+ * @internal
61
+ */
62
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
63
+ }
64
+ /**
65
+ * <p>The request was denied due to request throttling.</p>
66
+ * @public
67
+ */
68
+ export declare class ThrottlingException extends __BaseException {
69
+ readonly name: "ThrottlingException";
70
+ readonly $fault: "client";
71
+ $retryable: {
72
+ throttling: boolean;
73
+ };
74
+ /**
75
+ * @internal
76
+ */
77
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
78
+ }
79
+ /**
80
+ * <p>Invalid request.</p>
81
+ * @public
82
+ */
83
+ export declare class ValidationException extends __BaseException {
84
+ readonly name: "ValidationException";
85
+ readonly $fault: "client";
86
+ /**
87
+ * @internal
88
+ */
89
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
90
+ }
91
+ /**
92
+ * <p>There was an internal server error.</p>
93
+ * @public
94
+ */
95
+ export declare class InternalServerErrorException extends __BaseException {
96
+ readonly name: "InternalServerErrorException";
97
+ readonly $fault: "server";
98
+ $retryable: {};
99
+ /**
100
+ * @internal
101
+ */
102
+ constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
103
+ }
104
+ /**
105
+ * <p>The request specifies something that doesn't exist.</p>
106
+ * @public
107
+ */
108
+ export declare class NotFoundException extends __BaseException {
109
+ readonly name: "NotFoundException";
110
+ readonly $fault: "client";
111
+ /**
112
+ * @internal
113
+ */
114
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
115
+ }
116
+ /**
117
+ * <p>There were too many requests.</p>
118
+ * @public
119
+ */
120
+ export declare class TooManyRequestsException extends __BaseException {
121
+ readonly name: "TooManyRequestsException";
122
+ readonly $fault: "client";
123
+ $retryable: {
124
+ throttling: boolean;
125
+ };
126
+ /**
127
+ * @internal
128
+ */
129
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
130
+ }
131
+ /**
132
+ * <p>The request specifies a resource that doesn't exist.</p>
133
+ * @public
134
+ */
135
+ export declare class ResourceNotFoundException extends __BaseException {
136
+ readonly name: "ResourceNotFoundException";
137
+ readonly $fault: "client";
138
+ /**
139
+ * @internal
140
+ */
141
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
142
+ }
@@ -1,17 +1,3 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { InternetMonitorServiceException as __BaseException } from "./InternetMonitorServiceException";
3
- /**
4
- * <p>You don't have sufficient permission to perform this action.</p>
5
- * @public
6
- */
7
- export declare class AccessDeniedException extends __BaseException {
8
- readonly name: "AccessDeniedException";
9
- readonly $fault: "client";
10
- /**
11
- * @internal
12
- */
13
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
14
- }
15
1
  /**
16
2
  * <p>Amazon CloudWatch Internet Monitor calculates measurements about the availability for your application's internet traffic between client locations and Amazon Web Services.
17
3
  * Amazon Web Services has substantial historical data about internet
@@ -52,18 +38,6 @@ export interface AvailabilityMeasurement {
52
38
  */
53
39
  PercentOfClientLocationImpacted?: number | undefined;
54
40
  }
55
- /**
56
- * <p>A bad request was received.</p>
57
- * @public
58
- */
59
- export declare class BadRequestException extends __BaseException {
60
- readonly name: "BadRequestException";
61
- readonly $fault: "client";
62
- /**
63
- * @internal
64
- */
65
- constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
66
- }
67
41
  /**
68
42
  * <p>The impacted location, such as a city, that Amazon Web Services clients access application resources from.</p>
69
43
  * @public
@@ -114,18 +88,6 @@ export interface ClientLocation {
114
88
  */
115
89
  Longitude: number | undefined;
116
90
  }
117
- /**
118
- * <p>The requested resource is in use.</p>
119
- * @public
120
- */
121
- export declare class ConflictException extends __BaseException {
122
- readonly name: "ConflictException";
123
- readonly $fault: "client";
124
- /**
125
- * @internal
126
- */
127
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
128
- }
129
91
  /**
130
92
  * @public
131
93
  * @enum
@@ -348,58 +310,6 @@ export interface CreateMonitorOutput {
348
310
  */
349
311
  Status: MonitorConfigState | undefined;
350
312
  }
351
- /**
352
- * <p>An internal error occurred.</p>
353
- * @public
354
- */
355
- export declare class InternalServerException extends __BaseException {
356
- readonly name: "InternalServerException";
357
- readonly $fault: "server";
358
- $retryable: {};
359
- /**
360
- * @internal
361
- */
362
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
363
- }
364
- /**
365
- * <p>The request exceeded a service quota.</p>
366
- * @public
367
- */
368
- export declare class LimitExceededException extends __BaseException {
369
- readonly name: "LimitExceededException";
370
- readonly $fault: "client";
371
- /**
372
- * @internal
373
- */
374
- constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
375
- }
376
- /**
377
- * <p>The request was denied due to request throttling.</p>
378
- * @public
379
- */
380
- export declare class ThrottlingException extends __BaseException {
381
- readonly name: "ThrottlingException";
382
- readonly $fault: "client";
383
- $retryable: {
384
- throttling: boolean;
385
- };
386
- /**
387
- * @internal
388
- */
389
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
390
- }
391
- /**
392
- * <p>Invalid request.</p>
393
- * @public
394
- */
395
- export declare class ValidationException extends __BaseException {
396
- readonly name: "ValidationException";
397
- readonly $fault: "client";
398
- /**
399
- * @internal
400
- */
401
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
402
- }
403
313
  /**
404
314
  * @public
405
315
  */
@@ -1229,19 +1139,6 @@ export interface ListHealthEventsOutput {
1229
1139
  */
1230
1140
  NextToken?: string | undefined;
1231
1141
  }
1232
- /**
1233
- * <p>There was an internal server error.</p>
1234
- * @public
1235
- */
1236
- export declare class InternalServerErrorException extends __BaseException {
1237
- readonly name: "InternalServerErrorException";
1238
- readonly $fault: "server";
1239
- $retryable: {};
1240
- /**
1241
- * @internal
1242
- */
1243
- constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
1244
- }
1245
1142
  /**
1246
1143
  * @public
1247
1144
  */
@@ -1357,33 +1254,6 @@ export interface ListTagsForResourceOutput {
1357
1254
  */
1358
1255
  Tags?: Record<string, string> | undefined;
1359
1256
  }
1360
- /**
1361
- * <p>The request specifies something that doesn't exist.</p>
1362
- * @public
1363
- */
1364
- export declare class NotFoundException extends __BaseException {
1365
- readonly name: "NotFoundException";
1366
- readonly $fault: "client";
1367
- /**
1368
- * @internal
1369
- */
1370
- constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
1371
- }
1372
- /**
1373
- * <p>There were too many requests.</p>
1374
- * @public
1375
- */
1376
- export declare class TooManyRequestsException extends __BaseException {
1377
- readonly name: "TooManyRequestsException";
1378
- readonly $fault: "client";
1379
- $retryable: {
1380
- throttling: boolean;
1381
- };
1382
- /**
1383
- * @internal
1384
- */
1385
- constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
1386
- }
1387
1257
  /**
1388
1258
  * @public
1389
1259
  */
@@ -1580,18 +1450,6 @@ export interface StopQueryInput {
1580
1450
  */
1581
1451
  export interface StopQueryOutput {
1582
1452
  }
1583
- /**
1584
- * <p>The request specifies a resource that doesn't exist.</p>
1585
- * @public
1586
- */
1587
- export declare class ResourceNotFoundException extends __BaseException {
1588
- readonly name: "ResourceNotFoundException";
1589
- readonly $fault: "client";
1590
- /**
1591
- * @internal
1592
- */
1593
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
1594
- }
1595
1453
  /**
1596
1454
  * @public
1597
1455
  */
@@ -5,5 +5,6 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { InternetMonitorExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/errors";
9
+ export * from "./models/models_0";
9
10
  export { InternetMonitorServiceException } from "./models/InternetMonitorServiceException";
@@ -0,0 +1,83 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { InternetMonitorServiceException as __BaseException } from "./InternetMonitorServiceException";
3
+ export declare class AccessDeniedException extends __BaseException {
4
+ readonly name: "AccessDeniedException";
5
+ readonly $fault: "client";
6
+ constructor(
7
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
+ );
9
+ }
10
+ export declare class BadRequestException extends __BaseException {
11
+ readonly name: "BadRequestException";
12
+ readonly $fault: "client";
13
+ constructor(
14
+ opts: __ExceptionOptionType<BadRequestException, __BaseException>
15
+ );
16
+ }
17
+ export declare class ConflictException extends __BaseException {
18
+ readonly name: "ConflictException";
19
+ readonly $fault: "client";
20
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
21
+ }
22
+ export declare class InternalServerException extends __BaseException {
23
+ readonly name: "InternalServerException";
24
+ readonly $fault: "server";
25
+ $retryable: {};
26
+ constructor(
27
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
28
+ );
29
+ }
30
+ export declare class LimitExceededException extends __BaseException {
31
+ readonly name: "LimitExceededException";
32
+ readonly $fault: "client";
33
+ constructor(
34
+ opts: __ExceptionOptionType<LimitExceededException, __BaseException>
35
+ );
36
+ }
37
+ export declare class ThrottlingException extends __BaseException {
38
+ readonly name: "ThrottlingException";
39
+ readonly $fault: "client";
40
+ $retryable: {
41
+ throttling: boolean;
42
+ };
43
+ constructor(
44
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
45
+ );
46
+ }
47
+ export declare class ValidationException extends __BaseException {
48
+ readonly name: "ValidationException";
49
+ readonly $fault: "client";
50
+ constructor(
51
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
52
+ );
53
+ }
54
+ export declare class InternalServerErrorException extends __BaseException {
55
+ readonly name: "InternalServerErrorException";
56
+ readonly $fault: "server";
57
+ $retryable: {};
58
+ constructor(
59
+ opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>
60
+ );
61
+ }
62
+ export declare class NotFoundException extends __BaseException {
63
+ readonly name: "NotFoundException";
64
+ readonly $fault: "client";
65
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
66
+ }
67
+ export declare class TooManyRequestsException extends __BaseException {
68
+ readonly name: "TooManyRequestsException";
69
+ readonly $fault: "client";
70
+ $retryable: {
71
+ throttling: boolean;
72
+ };
73
+ constructor(
74
+ opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
75
+ );
76
+ }
77
+ export declare class ResourceNotFoundException extends __BaseException {
78
+ readonly name: "ResourceNotFoundException";
79
+ readonly $fault: "client";
80
+ constructor(
81
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
82
+ );
83
+ }
@@ -1,24 +1,8 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { InternetMonitorServiceException as __BaseException } from "./InternetMonitorServiceException";
3
- export declare class AccessDeniedException extends __BaseException {
4
- readonly name: "AccessDeniedException";
5
- readonly $fault: "client";
6
- constructor(
7
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
- );
9
- }
10
1
  export interface AvailabilityMeasurement {
11
2
  ExperienceScore?: number | undefined;
12
3
  PercentOfTotalTrafficImpacted?: number | undefined;
13
4
  PercentOfClientLocationImpacted?: number | undefined;
14
5
  }
15
- export declare class BadRequestException extends __BaseException {
16
- readonly name: "BadRequestException";
17
- readonly $fault: "client";
18
- constructor(
19
- opts: __ExceptionOptionType<BadRequestException, __BaseException>
20
- );
21
- }
22
6
  export interface ClientLocation {
23
7
  ASName: string | undefined;
24
8
  ASNumber: number | undefined;
@@ -29,11 +13,6 @@ export interface ClientLocation {
29
13
  Latitude: number | undefined;
30
14
  Longitude: number | undefined;
31
15
  }
32
- export declare class ConflictException extends __BaseException {
33
- readonly name: "ConflictException";
34
- readonly $fault: "client";
35
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
36
- }
37
16
  export declare const LocalHealthEventsConfigStatus: {
38
17
  readonly DISABLED: "DISABLED";
39
18
  readonly ENABLED: "ENABLED";
@@ -87,38 +66,6 @@ export interface CreateMonitorOutput {
87
66
  Arn: string | undefined;
88
67
  Status: MonitorConfigState | undefined;
89
68
  }
90
- export declare class InternalServerException extends __BaseException {
91
- readonly name: "InternalServerException";
92
- readonly $fault: "server";
93
- $retryable: {};
94
- constructor(
95
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
96
- );
97
- }
98
- export declare class LimitExceededException extends __BaseException {
99
- readonly name: "LimitExceededException";
100
- readonly $fault: "client";
101
- constructor(
102
- opts: __ExceptionOptionType<LimitExceededException, __BaseException>
103
- );
104
- }
105
- export declare class ThrottlingException extends __BaseException {
106
- readonly name: "ThrottlingException";
107
- readonly $fault: "client";
108
- $retryable: {
109
- throttling: boolean;
110
- };
111
- constructor(
112
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
113
- );
114
- }
115
- export declare class ValidationException extends __BaseException {
116
- readonly name: "ValidationException";
117
- readonly $fault: "client";
118
- constructor(
119
- opts: __ExceptionOptionType<ValidationException, __BaseException>
120
- );
121
- }
122
69
  export interface DeleteMonitorInput {
123
70
  MonitorName: string | undefined;
124
71
  }
@@ -321,14 +268,6 @@ export interface ListHealthEventsOutput {
321
268
  HealthEvents: HealthEvent[] | undefined;
322
269
  NextToken?: string | undefined;
323
270
  }
324
- export declare class InternalServerErrorException extends __BaseException {
325
- readonly name: "InternalServerErrorException";
326
- readonly $fault: "server";
327
- $retryable: {};
328
- constructor(
329
- opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>
330
- );
331
- }
332
271
  export interface ListInternetEventsInput {
333
272
  NextToken?: string | undefined;
334
273
  MaxResults?: number | undefined;
@@ -356,21 +295,6 @@ export interface ListTagsForResourceInput {
356
295
  export interface ListTagsForResourceOutput {
357
296
  Tags?: Record<string, string> | undefined;
358
297
  }
359
- export declare class NotFoundException extends __BaseException {
360
- readonly name: "NotFoundException";
361
- readonly $fault: "client";
362
- constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
363
- }
364
- export declare class TooManyRequestsException extends __BaseException {
365
- readonly name: "TooManyRequestsException";
366
- readonly $fault: "client";
367
- $retryable: {
368
- throttling: boolean;
369
- };
370
- constructor(
371
- opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
372
- );
373
- }
374
298
  export interface ListMonitorsInput {
375
299
  NextToken?: string | undefined;
376
300
  MaxResults?: number | undefined;
@@ -412,13 +336,6 @@ export interface StopQueryInput {
412
336
  QueryId: string | undefined;
413
337
  }
414
338
  export interface StopQueryOutput {}
415
- export declare class ResourceNotFoundException extends __BaseException {
416
- readonly name: "ResourceNotFoundException";
417
- readonly $fault: "client";
418
- constructor(
419
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
420
- );
421
- }
422
339
  export interface UpdateMonitorInput {
423
340
  MonitorName: string | undefined;
424
341
  ResourcesToAdd?: string[] | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-internetmonitor",
3
3
  "description": "AWS SDK for JavaScript Internetmonitor Client for Node.js, Browser and React Native",
4
- "version": "3.934.0",
4
+ "version": "3.936.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-internetmonitor",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
25
- "@aws-sdk/middleware-host-header": "3.930.0",
26
- "@aws-sdk/middleware-logger": "3.930.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
29
- "@aws-sdk/region-config-resolver": "3.930.0",
30
- "@aws-sdk/types": "3.930.0",
31
- "@aws-sdk/util-endpoints": "3.930.0",
32
- "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
23
+ "@aws-sdk/core": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.936.0",
25
+ "@aws-sdk/middleware-host-header": "3.936.0",
26
+ "@aws-sdk/middleware-logger": "3.936.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
+ "@aws-sdk/middleware-user-agent": "3.936.0",
29
+ "@aws-sdk/region-config-resolver": "3.936.0",
30
+ "@aws-sdk/types": "3.936.0",
31
+ "@aws-sdk/util-endpoints": "3.936.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.936.0",
33
+ "@aws-sdk/util-user-agent-node": "3.936.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";