@aws-sdk/client-networkmonitor 3.934.0 → 3.935.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
@@ -129,10 +129,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends NetworkMonitor
129
129
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
130
130
  }
131
131
  };
132
- const AddressFamily = {
133
- IPV4: "IPV4",
134
- IPV6: "IPV6",
135
- };
136
132
  let ConflictException$1 = class ConflictException extends NetworkMonitorServiceException$1 {
137
133
  name = "ConflictException";
138
134
  $fault = "client";
@@ -145,17 +141,6 @@ let ConflictException$1 = class ConflictException extends NetworkMonitorServiceE
145
141
  Object.setPrototypeOf(this, ConflictException.prototype);
146
142
  }
147
143
  };
148
- const Protocol = {
149
- ICMP: "ICMP",
150
- TCP: "TCP",
151
- };
152
- const MonitorState = {
153
- ACTIVE: "ACTIVE",
154
- DELETING: "DELETING",
155
- ERROR: "ERROR",
156
- INACTIVE: "INACTIVE",
157
- PENDING: "PENDING",
158
- };
159
144
  let InternalServerException$1 = class InternalServerException extends NetworkMonitorServiceException$1 {
160
145
  name = "InternalServerException";
161
146
  $fault = "server";
@@ -208,14 +193,6 @@ let ValidationException$1 = class ValidationException extends NetworkMonitorServ
208
193
  Object.setPrototypeOf(this, ValidationException.prototype);
209
194
  }
210
195
  };
211
- const ProbeState = {
212
- ACTIVE: "ACTIVE",
213
- DELETED: "DELETED",
214
- DELETING: "DELETING",
215
- ERROR: "ERROR",
216
- INACTIVE: "INACTIVE",
217
- PENDING: "PENDING",
218
- };
219
196
  let ResourceNotFoundException$1 = class ResourceNotFoundException extends NetworkMonitorServiceException$1 {
220
197
  name = "ResourceNotFoundException";
221
198
  $fault = "client";
@@ -853,6 +830,30 @@ smithyClient.createAggregatedClient(commands, NetworkMonitor);
853
830
 
854
831
  const paginateListMonitors = core.createPaginator(NetworkMonitorClient, ListMonitorsCommand, "nextToken", "nextToken", "maxResults");
855
832
 
833
+ const AddressFamily = {
834
+ IPV4: "IPV4",
835
+ IPV6: "IPV6",
836
+ };
837
+ const Protocol = {
838
+ ICMP: "ICMP",
839
+ TCP: "TCP",
840
+ };
841
+ const MonitorState = {
842
+ ACTIVE: "ACTIVE",
843
+ DELETING: "DELETING",
844
+ ERROR: "ERROR",
845
+ INACTIVE: "INACTIVE",
846
+ PENDING: "PENDING",
847
+ };
848
+ const ProbeState = {
849
+ ACTIVE: "ACTIVE",
850
+ DELETED: "DELETED",
851
+ DELETING: "DELETING",
852
+ ERROR: "ERROR",
853
+ INACTIVE: "INACTIVE",
854
+ PENDING: "PENDING",
855
+ };
856
+
856
857
  Object.defineProperty(exports, "$Command", {
857
858
  enumerable: true,
858
859
  get: function () { return smithyClient.Command; }
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./NetworkMonitorClient";
2
2
  export * from "./NetworkMonitor";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/enums";
6
+ export * from "./models/errors";
6
7
  export { NetworkMonitorServiceException } from "./models/NetworkMonitorServiceException";
@@ -0,0 +1,23 @@
1
+ export const AddressFamily = {
2
+ IPV4: "IPV4",
3
+ IPV6: "IPV6",
4
+ };
5
+ export const Protocol = {
6
+ ICMP: "ICMP",
7
+ TCP: "TCP",
8
+ };
9
+ export const MonitorState = {
10
+ ACTIVE: "ACTIVE",
11
+ DELETING: "DELETING",
12
+ ERROR: "ERROR",
13
+ INACTIVE: "INACTIVE",
14
+ PENDING: "PENDING",
15
+ };
16
+ export const ProbeState = {
17
+ ACTIVE: "ACTIVE",
18
+ DELETED: "DELETED",
19
+ DELETING: "DELETING",
20
+ ERROR: "ERROR",
21
+ INACTIVE: "INACTIVE",
22
+ PENDING: "PENDING",
23
+ };
@@ -0,0 +1,89 @@
1
+ import { NetworkMonitorServiceException as __BaseException } from "./NetworkMonitorServiceException";
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 ConflictException extends __BaseException {
15
+ name = "ConflictException";
16
+ $fault = "client";
17
+ constructor(opts) {
18
+ super({
19
+ name: "ConflictException",
20
+ $fault: "client",
21
+ ...opts,
22
+ });
23
+ Object.setPrototypeOf(this, ConflictException.prototype);
24
+ }
25
+ }
26
+ export class InternalServerException extends __BaseException {
27
+ name = "InternalServerException";
28
+ $fault = "server";
29
+ $retryable = {};
30
+ constructor(opts) {
31
+ super({
32
+ name: "InternalServerException",
33
+ $fault: "server",
34
+ ...opts,
35
+ });
36
+ Object.setPrototypeOf(this, InternalServerException.prototype);
37
+ }
38
+ }
39
+ export class ServiceQuotaExceededException extends __BaseException {
40
+ name = "ServiceQuotaExceededException";
41
+ $fault = "client";
42
+ constructor(opts) {
43
+ super({
44
+ name: "ServiceQuotaExceededException",
45
+ $fault: "client",
46
+ ...opts,
47
+ });
48
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
49
+ }
50
+ }
51
+ export class ThrottlingException extends __BaseException {
52
+ name = "ThrottlingException";
53
+ $fault = "client";
54
+ $retryable = {
55
+ throttling: true,
56
+ };
57
+ constructor(opts) {
58
+ super({
59
+ name: "ThrottlingException",
60
+ $fault: "client",
61
+ ...opts,
62
+ });
63
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
64
+ }
65
+ }
66
+ export class ValidationException extends __BaseException {
67
+ name = "ValidationException";
68
+ $fault = "client";
69
+ constructor(opts) {
70
+ super({
71
+ name: "ValidationException",
72
+ $fault: "client",
73
+ ...opts,
74
+ });
75
+ Object.setPrototypeOf(this, ValidationException.prototype);
76
+ }
77
+ }
78
+ export class ResourceNotFoundException extends __BaseException {
79
+ name = "ResourceNotFoundException";
80
+ $fault = "client";
81
+ constructor(opts) {
82
+ super({
83
+ name: "ResourceNotFoundException",
84
+ $fault: "client",
85
+ ...opts,
86
+ });
87
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
88
+ }
89
+ }
@@ -1,112 +1 @@
1
- import { NetworkMonitorServiceException as __BaseException } from "./NetworkMonitorServiceException";
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 const AddressFamily = {
15
- IPV4: "IPV4",
16
- IPV6: "IPV6",
17
- };
18
- export class ConflictException extends __BaseException {
19
- name = "ConflictException";
20
- $fault = "client";
21
- constructor(opts) {
22
- super({
23
- name: "ConflictException",
24
- $fault: "client",
25
- ...opts,
26
- });
27
- Object.setPrototypeOf(this, ConflictException.prototype);
28
- }
29
- }
30
- export const Protocol = {
31
- ICMP: "ICMP",
32
- TCP: "TCP",
33
- };
34
- export const MonitorState = {
35
- ACTIVE: "ACTIVE",
36
- DELETING: "DELETING",
37
- ERROR: "ERROR",
38
- INACTIVE: "INACTIVE",
39
- PENDING: "PENDING",
40
- };
41
- export class InternalServerException extends __BaseException {
42
- name = "InternalServerException";
43
- $fault = "server";
44
- $retryable = {};
45
- constructor(opts) {
46
- super({
47
- name: "InternalServerException",
48
- $fault: "server",
49
- ...opts,
50
- });
51
- Object.setPrototypeOf(this, InternalServerException.prototype);
52
- }
53
- }
54
- export class ServiceQuotaExceededException extends __BaseException {
55
- name = "ServiceQuotaExceededException";
56
- $fault = "client";
57
- constructor(opts) {
58
- super({
59
- name: "ServiceQuotaExceededException",
60
- $fault: "client",
61
- ...opts,
62
- });
63
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
64
- }
65
- }
66
- export class ThrottlingException extends __BaseException {
67
- name = "ThrottlingException";
68
- $fault = "client";
69
- $retryable = {
70
- throttling: true,
71
- };
72
- constructor(opts) {
73
- super({
74
- name: "ThrottlingException",
75
- $fault: "client",
76
- ...opts,
77
- });
78
- Object.setPrototypeOf(this, ThrottlingException.prototype);
79
- }
80
- }
81
- export class ValidationException extends __BaseException {
82
- name = "ValidationException";
83
- $fault = "client";
84
- constructor(opts) {
85
- super({
86
- name: "ValidationException",
87
- $fault: "client",
88
- ...opts,
89
- });
90
- Object.setPrototypeOf(this, ValidationException.prototype);
91
- }
92
- }
93
- export const ProbeState = {
94
- ACTIVE: "ACTIVE",
95
- DELETED: "DELETED",
96
- DELETING: "DELETING",
97
- ERROR: "ERROR",
98
- INACTIVE: "INACTIVE",
99
- PENDING: "PENDING",
100
- };
101
- export class ResourceNotFoundException extends __BaseException {
102
- name = "ResourceNotFoundException";
103
- $fault = "client";
104
- constructor(opts) {
105
- super({
106
- name: "ResourceNotFoundException",
107
- $fault: "client",
108
- ...opts,
109
- });
110
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
111
- }
112
- }
1
+ export {};
@@ -83,7 +83,7 @@ const _tK = "tagKeys";
83
83
  const _vI = "vpcId";
84
84
  const n0 = "com.amazonaws.networkmonitor";
85
85
  import { TypeRegistry } from "@smithy/core/schema";
86
- import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/index";
86
+ import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
87
87
  import { NetworkMonitorServiceException as __NetworkMonitorServiceException } from "../models/NetworkMonitorServiceException";
88
88
  export var AccessDeniedException = [
89
89
  -3,
@@ -21,5 +21,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
21
21
  export type { NetworkMonitorExtensionConfiguration } from "./extensionConfiguration";
22
22
  export * from "./commands";
23
23
  export * from "./pagination";
24
- export * from "./models";
24
+ export * from "./models/enums";
25
+ export * from "./models/errors";
26
+ export type * from "./models/models_0";
25
27
  export { NetworkMonitorServiceException } from "./models/NetworkMonitorServiceException";
@@ -0,0 +1,55 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const AddressFamily: {
6
+ readonly IPV4: "IPV4";
7
+ readonly IPV6: "IPV6";
8
+ };
9
+ /**
10
+ * @public
11
+ */
12
+ export type AddressFamily = (typeof AddressFamily)[keyof typeof AddressFamily];
13
+ /**
14
+ * @public
15
+ * @enum
16
+ */
17
+ export declare const Protocol: {
18
+ readonly ICMP: "ICMP";
19
+ readonly TCP: "TCP";
20
+ };
21
+ /**
22
+ * @public
23
+ */
24
+ export type Protocol = (typeof Protocol)[keyof typeof Protocol];
25
+ /**
26
+ * @public
27
+ * @enum
28
+ */
29
+ export declare const MonitorState: {
30
+ readonly ACTIVE: "ACTIVE";
31
+ readonly DELETING: "DELETING";
32
+ readonly ERROR: "ERROR";
33
+ readonly INACTIVE: "INACTIVE";
34
+ readonly PENDING: "PENDING";
35
+ };
36
+ /**
37
+ * @public
38
+ */
39
+ export type MonitorState = (typeof MonitorState)[keyof typeof MonitorState];
40
+ /**
41
+ * @public
42
+ * @enum
43
+ */
44
+ export declare const ProbeState: {
45
+ readonly ACTIVE: "ACTIVE";
46
+ readonly DELETED: "DELETED";
47
+ readonly DELETING: "DELETING";
48
+ readonly ERROR: "ERROR";
49
+ readonly INACTIVE: "INACTIVE";
50
+ readonly PENDING: "PENDING";
51
+ };
52
+ /**
53
+ * @public
54
+ */
55
+ export type ProbeState = (typeof ProbeState)[keyof typeof ProbeState];
@@ -0,0 +1,90 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { NetworkMonitorServiceException as __BaseException } from "./NetworkMonitorServiceException";
3
+ /**
4
+ * <p>You do not have sufficient access 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>This operation attempted to create a resource that already exists.</p>
17
+ * @public
18
+ */
19
+ export declare class ConflictException extends __BaseException {
20
+ readonly name: "ConflictException";
21
+ readonly $fault: "client";
22
+ /**
23
+ * @internal
24
+ */
25
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
26
+ }
27
+ /**
28
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
29
+ * @public
30
+ */
31
+ export declare class InternalServerException extends __BaseException {
32
+ readonly name: "InternalServerException";
33
+ readonly $fault: "server";
34
+ $retryable: {};
35
+ /**
36
+ * @internal
37
+ */
38
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
39
+ }
40
+ /**
41
+ * <p>This request exceeds a service quota.</p>
42
+ * @public
43
+ */
44
+ export declare class ServiceQuotaExceededException extends __BaseException {
45
+ readonly name: "ServiceQuotaExceededException";
46
+ readonly $fault: "client";
47
+ /**
48
+ * @internal
49
+ */
50
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
51
+ }
52
+ /**
53
+ * <p>The request was denied due to request throttling</p>
54
+ * @public
55
+ */
56
+ export declare class ThrottlingException extends __BaseException {
57
+ readonly name: "ThrottlingException";
58
+ readonly $fault: "client";
59
+ $retryable: {
60
+ throttling: boolean;
61
+ };
62
+ /**
63
+ * @internal
64
+ */
65
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
66
+ }
67
+ /**
68
+ * <p>One of the parameters for the request is not valid.</p>
69
+ * @public
70
+ */
71
+ export declare class ValidationException extends __BaseException {
72
+ readonly name: "ValidationException";
73
+ readonly $fault: "client";
74
+ /**
75
+ * @internal
76
+ */
77
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
78
+ }
79
+ /**
80
+ * <p>The specified resource does not exist.</p>
81
+ * @public
82
+ */
83
+ export declare class ResourceNotFoundException extends __BaseException {
84
+ readonly name: "ResourceNotFoundException";
85
+ readonly $fault: "client";
86
+ /**
87
+ * @internal
88
+ */
89
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
90
+ }
@@ -1,53 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { NetworkMonitorServiceException as __BaseException } from "./NetworkMonitorServiceException";
3
- /**
4
- * <p>You do not have sufficient access 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
- * @public
17
- * @enum
18
- */
19
- export declare const AddressFamily: {
20
- readonly IPV4: "IPV4";
21
- readonly IPV6: "IPV6";
22
- };
23
- /**
24
- * @public
25
- */
26
- export type AddressFamily = (typeof AddressFamily)[keyof typeof AddressFamily];
27
- /**
28
- * <p>This operation attempted to create a resource that already exists.</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
- * @public
41
- * @enum
42
- */
43
- export declare const Protocol: {
44
- readonly ICMP: "ICMP";
45
- readonly TCP: "TCP";
46
- };
47
- /**
48
- * @public
49
- */
50
- export type Protocol = (typeof Protocol)[keyof typeof Protocol];
1
+ import { AddressFamily, MonitorState, ProbeState, Protocol } from "./enums";
51
2
  /**
52
3
  * <p>Creates a monitor probe.</p>
53
4
  * @public
@@ -116,21 +67,6 @@ export interface CreateMonitorInput {
116
67
  */
117
68
  tags?: Record<string, string> | undefined;
118
69
  }
119
- /**
120
- * @public
121
- * @enum
122
- */
123
- export declare const MonitorState: {
124
- readonly ACTIVE: "ACTIVE";
125
- readonly DELETING: "DELETING";
126
- readonly ERROR: "ERROR";
127
- readonly INACTIVE: "INACTIVE";
128
- readonly PENDING: "PENDING";
129
- };
130
- /**
131
- * @public
132
- */
133
- export type MonitorState = (typeof MonitorState)[keyof typeof MonitorState];
134
70
  /**
135
71
  * @public
136
72
  */
@@ -162,58 +98,6 @@ export interface CreateMonitorOutput {
162
98
  */
163
99
  tags?: Record<string, string> | undefined;
164
100
  }
165
- /**
166
- * <p>The request processing has failed because of an unknown error, exception or failure.</p>
167
- * @public
168
- */
169
- export declare class InternalServerException extends __BaseException {
170
- readonly name: "InternalServerException";
171
- readonly $fault: "server";
172
- $retryable: {};
173
- /**
174
- * @internal
175
- */
176
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
177
- }
178
- /**
179
- * <p>This request exceeds a service quota.</p>
180
- * @public
181
- */
182
- export declare class ServiceQuotaExceededException extends __BaseException {
183
- readonly name: "ServiceQuotaExceededException";
184
- readonly $fault: "client";
185
- /**
186
- * @internal
187
- */
188
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
189
- }
190
- /**
191
- * <p>The request was denied due to request throttling</p>
192
- * @public
193
- */
194
- export declare class ThrottlingException extends __BaseException {
195
- readonly name: "ThrottlingException";
196
- readonly $fault: "client";
197
- $retryable: {
198
- throttling: boolean;
199
- };
200
- /**
201
- * @internal
202
- */
203
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
204
- }
205
- /**
206
- * <p>One of the parameters for the request is not valid.</p>
207
- * @public
208
- */
209
- export declare class ValidationException extends __BaseException {
210
- readonly name: "ValidationException";
211
- readonly $fault: "client";
212
- /**
213
- * @internal
214
- */
215
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
216
- }
217
101
  /**
218
102
  * <p>Defines a probe when creating a probe or monitor.</p>
219
103
  * @public
@@ -275,22 +159,6 @@ export interface CreateProbeInput {
275
159
  */
276
160
  tags?: Record<string, string> | undefined;
277
161
  }
278
- /**
279
- * @public
280
- * @enum
281
- */
282
- export declare const ProbeState: {
283
- readonly ACTIVE: "ACTIVE";
284
- readonly DELETED: "DELETED";
285
- readonly DELETING: "DELETING";
286
- readonly ERROR: "ERROR";
287
- readonly INACTIVE: "INACTIVE";
288
- readonly PENDING: "PENDING";
289
- };
290
- /**
291
- * @public
292
- */
293
- export type ProbeState = (typeof ProbeState)[keyof typeof ProbeState];
294
162
  /**
295
163
  * @public
296
164
  */
@@ -361,18 +229,6 @@ export interface CreateProbeOutput {
361
229
  */
362
230
  tags?: Record<string, string> | undefined;
363
231
  }
364
- /**
365
- * <p>The specified resource does not exist.</p>
366
- * @public
367
- */
368
- export declare class ResourceNotFoundException extends __BaseException {
369
- readonly name: "ResourceNotFoundException";
370
- readonly $fault: "client";
371
- /**
372
- * @internal
373
- */
374
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
375
- }
376
232
  /**
377
233
  * @public
378
234
  */
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { NetworkMonitorExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
- export * from "./models";
8
+ export * from "./models/enums";
9
+ export * from "./models/errors";
10
+ export * from "./models/models_0";
9
11
  export { NetworkMonitorServiceException } from "./models/NetworkMonitorServiceException";
@@ -0,0 +1,27 @@
1
+ export declare const AddressFamily: {
2
+ readonly IPV4: "IPV4";
3
+ readonly IPV6: "IPV6";
4
+ };
5
+ export type AddressFamily = (typeof AddressFamily)[keyof typeof AddressFamily];
6
+ export declare const Protocol: {
7
+ readonly ICMP: "ICMP";
8
+ readonly TCP: "TCP";
9
+ };
10
+ export type Protocol = (typeof Protocol)[keyof typeof Protocol];
11
+ export declare const MonitorState: {
12
+ readonly ACTIVE: "ACTIVE";
13
+ readonly DELETING: "DELETING";
14
+ readonly ERROR: "ERROR";
15
+ readonly INACTIVE: "INACTIVE";
16
+ readonly PENDING: "PENDING";
17
+ };
18
+ export type MonitorState = (typeof MonitorState)[keyof typeof MonitorState];
19
+ export declare const ProbeState: {
20
+ readonly ACTIVE: "ACTIVE";
21
+ readonly DELETED: "DELETED";
22
+ readonly DELETING: "DELETING";
23
+ readonly ERROR: "ERROR";
24
+ readonly INACTIVE: "INACTIVE";
25
+ readonly PENDING: "PENDING";
26
+ };
27
+ export type ProbeState = (typeof ProbeState)[keyof typeof ProbeState];
@@ -0,0 +1,53 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { NetworkMonitorServiceException as __BaseException } from "./NetworkMonitorServiceException";
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 ConflictException extends __BaseException {
11
+ readonly name: "ConflictException";
12
+ readonly $fault: "client";
13
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
14
+ }
15
+ export declare class InternalServerException extends __BaseException {
16
+ readonly name: "InternalServerException";
17
+ readonly $fault: "server";
18
+ $retryable: {};
19
+ constructor(
20
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
21
+ );
22
+ }
23
+ export declare class ServiceQuotaExceededException extends __BaseException {
24
+ readonly name: "ServiceQuotaExceededException";
25
+ readonly $fault: "client";
26
+ constructor(
27
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
28
+ );
29
+ }
30
+ export declare class ThrottlingException extends __BaseException {
31
+ readonly name: "ThrottlingException";
32
+ readonly $fault: "client";
33
+ $retryable: {
34
+ throttling: boolean;
35
+ };
36
+ constructor(
37
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
38
+ );
39
+ }
40
+ export declare class ValidationException extends __BaseException {
41
+ readonly name: "ValidationException";
42
+ readonly $fault: "client";
43
+ constructor(
44
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
45
+ );
46
+ }
47
+ export declare class ResourceNotFoundException extends __BaseException {
48
+ readonly name: "ResourceNotFoundException";
49
+ readonly $fault: "client";
50
+ constructor(
51
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
52
+ );
53
+ }
@@ -1,27 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { NetworkMonitorServiceException as __BaseException } from "./NetworkMonitorServiceException";
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 const AddressFamily: {
11
- readonly IPV4: "IPV4";
12
- readonly IPV6: "IPV6";
13
- };
14
- export type AddressFamily = (typeof AddressFamily)[keyof typeof AddressFamily];
15
- export declare class ConflictException extends __BaseException {
16
- readonly name: "ConflictException";
17
- readonly $fault: "client";
18
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
19
- }
20
- export declare const Protocol: {
21
- readonly ICMP: "ICMP";
22
- readonly TCP: "TCP";
23
- };
24
- export type Protocol = (typeof Protocol)[keyof typeof Protocol];
1
+ import { AddressFamily, MonitorState, ProbeState, Protocol } from "./enums";
25
2
  export interface CreateMonitorProbeInput {
26
3
  sourceArn: string | undefined;
27
4
  destination: string | undefined;
@@ -37,14 +14,6 @@ export interface CreateMonitorInput {
37
14
  clientToken?: string | undefined;
38
15
  tags?: Record<string, string> | undefined;
39
16
  }
40
- export declare const MonitorState: {
41
- readonly ACTIVE: "ACTIVE";
42
- readonly DELETING: "DELETING";
43
- readonly ERROR: "ERROR";
44
- readonly INACTIVE: "INACTIVE";
45
- readonly PENDING: "PENDING";
46
- };
47
- export type MonitorState = (typeof MonitorState)[keyof typeof MonitorState];
48
17
  export interface CreateMonitorOutput {
49
18
  monitorArn: string | undefined;
50
19
  monitorName: string | undefined;
@@ -52,38 +21,6 @@ export interface CreateMonitorOutput {
52
21
  aggregationPeriod?: number | undefined;
53
22
  tags?: Record<string, string> | undefined;
54
23
  }
55
- export declare class InternalServerException extends __BaseException {
56
- readonly name: "InternalServerException";
57
- readonly $fault: "server";
58
- $retryable: {};
59
- constructor(
60
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
61
- );
62
- }
63
- export declare class ServiceQuotaExceededException extends __BaseException {
64
- readonly name: "ServiceQuotaExceededException";
65
- readonly $fault: "client";
66
- constructor(
67
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
68
- );
69
- }
70
- export declare class ThrottlingException extends __BaseException {
71
- readonly name: "ThrottlingException";
72
- readonly $fault: "client";
73
- $retryable: {
74
- throttling: boolean;
75
- };
76
- constructor(
77
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
78
- );
79
- }
80
- export declare class ValidationException extends __BaseException {
81
- readonly name: "ValidationException";
82
- readonly $fault: "client";
83
- constructor(
84
- opts: __ExceptionOptionType<ValidationException, __BaseException>
85
- );
86
- }
87
24
  export interface ProbeInput {
88
25
  sourceArn: string | undefined;
89
26
  destination: string | undefined;
@@ -98,15 +35,6 @@ export interface CreateProbeInput {
98
35
  clientToken?: string | undefined;
99
36
  tags?: Record<string, string> | undefined;
100
37
  }
101
- export declare const ProbeState: {
102
- readonly ACTIVE: "ACTIVE";
103
- readonly DELETED: "DELETED";
104
- readonly DELETING: "DELETING";
105
- readonly ERROR: "ERROR";
106
- readonly INACTIVE: "INACTIVE";
107
- readonly PENDING: "PENDING";
108
- };
109
- export type ProbeState = (typeof ProbeState)[keyof typeof ProbeState];
110
38
  export interface CreateProbeOutput {
111
39
  probeId?: string | undefined;
112
40
  probeArn?: string | undefined;
@@ -122,13 +50,6 @@ export interface CreateProbeOutput {
122
50
  modifiedAt?: Date | undefined;
123
51
  tags?: Record<string, string> | undefined;
124
52
  }
125
- export declare class ResourceNotFoundException extends __BaseException {
126
- readonly name: "ResourceNotFoundException";
127
- readonly $fault: "client";
128
- constructor(
129
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
130
- );
131
- }
132
53
  export interface DeleteMonitorInput {
133
54
  monitorName: string | undefined;
134
55
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-networkmonitor",
3
3
  "description": "AWS SDK for JavaScript Networkmonitor Client for Node.js, Browser and React Native",
4
- "version": "3.934.0",
4
+ "version": "3.935.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-networkmonitor",
@@ -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",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.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";