@aws-sdk/client-networkmonitor 3.952.0 → 3.953.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.
Files changed (32) hide show
  1. package/dist-cjs/index.js +168 -120
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/CreateMonitorCommand.js +2 -2
  4. package/dist-es/commands/CreateProbeCommand.js +2 -2
  5. package/dist-es/commands/DeleteMonitorCommand.js +2 -2
  6. package/dist-es/commands/DeleteProbeCommand.js +2 -2
  7. package/dist-es/commands/GetMonitorCommand.js +2 -2
  8. package/dist-es/commands/GetProbeCommand.js +2 -2
  9. package/dist-es/commands/ListMonitorsCommand.js +2 -2
  10. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  11. package/dist-es/commands/TagResourceCommand.js +2 -2
  12. package/dist-es/commands/UntagResourceCommand.js +2 -2
  13. package/dist-es/commands/UpdateMonitorCommand.js +2 -2
  14. package/dist-es/commands/UpdateProbeCommand.js +2 -2
  15. package/dist-es/index.js +1 -0
  16. package/dist-es/runtimeConfig.shared.js +6 -1
  17. package/dist-es/schemas/schemas_0.js +88 -88
  18. package/dist-types/NetworkMonitorClient.d.ts +1 -10
  19. package/dist-types/index.d.ts +1 -0
  20. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  21. package/dist-types/runtimeConfig.d.ts +6 -2
  22. package/dist-types/runtimeConfig.native.d.ts +6 -2
  23. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  24. package/dist-types/schemas/schemas_0.d.ts +49 -54
  25. package/dist-types/ts3.4/NetworkMonitorClient.d.ts +0 -4
  26. package/dist-types/ts3.4/index.d.ts +1 -0
  27. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  28. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  29. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  30. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  31. package/dist-types/ts3.4/schemas/schemas_0.d.ts +48 -54
  32. package/package.json +34 -34
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DeleteProbe } from "../schemas/schemas_0";
4
+ import { DeleteProbe$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteProbeCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteProbeCommand extends $Command
11
11
  })
12
12
  .s("NetworkMonitor", "DeleteProbe", {})
13
13
  .n("NetworkMonitorClient", "DeleteProbeCommand")
14
- .sc(DeleteProbe)
14
+ .sc(DeleteProbe$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetMonitor } from "../schemas/schemas_0";
4
+ import { GetMonitor$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetMonitorCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetMonitorCommand extends $Command
11
11
  })
12
12
  .s("NetworkMonitor", "GetMonitor", {})
13
13
  .n("NetworkMonitorClient", "GetMonitorCommand")
14
- .sc(GetMonitor)
14
+ .sc(GetMonitor$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetProbe } from "../schemas/schemas_0";
4
+ import { GetProbe$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetProbeCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetProbeCommand extends $Command
11
11
  })
12
12
  .s("NetworkMonitor", "GetProbe", {})
13
13
  .n("NetworkMonitorClient", "GetProbeCommand")
14
- .sc(GetProbe)
14
+ .sc(GetProbe$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListMonitors } from "../schemas/schemas_0";
4
+ import { ListMonitors$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListMonitorsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListMonitorsCommand extends $Command
11
11
  })
12
12
  .s("NetworkMonitor", "ListMonitors", {})
13
13
  .n("NetworkMonitorClient", "ListMonitorsCommand")
14
- .sc(ListMonitors)
14
+ .sc(ListMonitors$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListTagsForResource } from "../schemas/schemas_0";
4
+ import { ListTagsForResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTagsForResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
11
11
  })
12
12
  .s("NetworkMonitor", "ListTagsForResource", {})
13
13
  .n("NetworkMonitorClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource)
14
+ .sc(ListTagsForResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { TagResource } from "../schemas/schemas_0";
4
+ import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
11
11
  })
12
12
  .s("NetworkMonitor", "TagResource", {})
13
13
  .n("NetworkMonitorClient", "TagResourceCommand")
14
- .sc(TagResource)
14
+ .sc(TagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UntagResource } from "../schemas/schemas_0";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
11
11
  })
12
12
  .s("NetworkMonitor", "UntagResource", {})
13
13
  .n("NetworkMonitorClient", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateMonitor } from "../schemas/schemas_0";
4
+ import { UpdateMonitor$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateMonitorCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateMonitorCommand extends $Command
11
11
  })
12
12
  .s("NetworkMonitor", "UpdateMonitor", {})
13
13
  .n("NetworkMonitorClient", "UpdateMonitorCommand")
14
- .sc(UpdateMonitor)
14
+ .sc(UpdateMonitor$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UpdateProbe } from "../schemas/schemas_0";
4
+ import { UpdateProbe$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateProbeCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateProbeCommand extends $Command
11
11
  })
12
12
  .s("NetworkMonitor", "UpdateProbe", {})
13
13
  .n("NetworkMonitorClient", "UpdateProbeCommand")
14
- .sc(UpdateProbe)
14
+ .sc(UpdateProbe$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./NetworkMonitorClient";
2
2
  export * from "./NetworkMonitor";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.networkmonitor" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.networkmonitor",
29
+ version: "2023-08-01",
30
+ serviceTarget: "NetworkMonitor",
31
+ },
27
32
  serviceId: config?.serviceId ?? "NetworkMonitor",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
@@ -83,13 +83,13 @@ 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/errors";
87
- import { NetworkMonitorServiceException as __NetworkMonitorServiceException } from "../models/NetworkMonitorServiceException";
88
- export var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
89
- TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
90
- export var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m], [0]];
91
- TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
92
- export var CreateMonitorInput = [
86
+ import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
87
+ import { NetworkMonitorServiceException } from "../models/NetworkMonitorServiceException";
88
+ export var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_m], [0]];
89
+ TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
90
+ export var ConflictException$ = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m], [0]];
91
+ TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
92
+ export var CreateMonitorInput$ = [
93
93
  3,
94
94
  n0,
95
95
  _CMI,
@@ -97,7 +97,7 @@ export var CreateMonitorInput = [
97
97
  [_mN, _p, _aP, _cT, _t],
98
98
  [0, () => CreateMonitorProbeInputList, 1, [0, 4], 128 | 0],
99
99
  ];
100
- export var CreateMonitorOutput = [
100
+ export var CreateMonitorOutput$ = [
101
101
  3,
102
102
  n0,
103
103
  _CMO,
@@ -105,7 +105,7 @@ export var CreateMonitorOutput = [
105
105
  [_mA, _mN, _s, _aP, _t],
106
106
  [0, 0, 0, 1, 128 | 0],
107
107
  ];
108
- export var CreateMonitorProbeInput = [
108
+ export var CreateMonitorProbeInput$ = [
109
109
  3,
110
110
  n0,
111
111
  _CMPI,
@@ -113,15 +113,15 @@ export var CreateMonitorProbeInput = [
113
113
  [_sA, _d, _dP, _pr, _pS, _pT],
114
114
  [0, 0, 1, 0, 1, 128 | 0],
115
115
  ];
116
- export var CreateProbeInput = [
116
+ export var CreateProbeInput$ = [
117
117
  3,
118
118
  n0,
119
119
  _CPI,
120
120
  0,
121
121
  [_mN, _pro, _cT, _t],
122
- [[0, 1], () => ProbeInput, [0, 4], 128 | 0],
122
+ [[0, 1], () => ProbeInput$, [0, 4], 128 | 0],
123
123
  ];
124
- export var CreateProbeOutput = [
124
+ export var CreateProbeOutput$ = [
125
125
  3,
126
126
  n0,
127
127
  _CPO,
@@ -129,9 +129,9 @@ export var CreateProbeOutput = [
129
129
  [_pI, _pA, _sA, _d, _dP, _pr, _pS, _aF, _vI, _s, _cA, _mAo, _t],
130
130
  [0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 4, 4, 128 | 0],
131
131
  ];
132
- export var DeleteMonitorInput = [3, n0, _DMI, 0, [_mN], [[0, 1]]];
133
- export var DeleteMonitorOutput = [3, n0, _DMO, 0, [], []];
134
- export var DeleteProbeInput = [
132
+ export var DeleteMonitorInput$ = [3, n0, _DMI, 0, [_mN], [[0, 1]]];
133
+ export var DeleteMonitorOutput$ = [3, n0, _DMO, 0, [], []];
134
+ export var DeleteProbeInput$ = [
135
135
  3,
136
136
  n0,
137
137
  _DPI,
@@ -142,9 +142,9 @@ export var DeleteProbeInput = [
142
142
  [0, 1],
143
143
  ],
144
144
  ];
145
- export var DeleteProbeOutput = [3, n0, _DPO, 0, [], []];
146
- export var GetMonitorInput = [3, n0, _GMI, 0, [_mN], [[0, 1]]];
147
- export var GetMonitorOutput = [
145
+ export var DeleteProbeOutput$ = [3, n0, _DPO, 0, [], []];
146
+ export var GetMonitorInput$ = [3, n0, _GMI, 0, [_mN], [[0, 1]]];
147
+ export var GetMonitorOutput$ = [
148
148
  3,
149
149
  n0,
150
150
  _GMO,
@@ -152,7 +152,7 @@ export var GetMonitorOutput = [
152
152
  [_mA, _mN, _s, _aP, _t, _p, _cA, _mAo],
153
153
  [0, 0, 0, 1, 128 | 0, () => ProbeList, 4, 4],
154
154
  ];
155
- export var GetProbeInput = [
155
+ export var GetProbeInput$ = [
156
156
  3,
157
157
  n0,
158
158
  _GPI,
@@ -163,7 +163,7 @@ export var GetProbeInput = [
163
163
  [0, 1],
164
164
  ],
165
165
  ];
166
- export var GetProbeOutput = [
166
+ export var GetProbeOutput$ = [
167
167
  3,
168
168
  n0,
169
169
  _GPO,
@@ -171,9 +171,9 @@ export var GetProbeOutput = [
171
171
  [_pI, _pA, _sA, _d, _dP, _pr, _pS, _aF, _vI, _s, _cA, _mAo, _t],
172
172
  [0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 4, 4, 128 | 0],
173
173
  ];
174
- export var InternalServerException = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_m], [0]];
175
- TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
176
- export var ListMonitorsInput = [
174
+ export var InternalServerException$ = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_m], [0]];
175
+ TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
176
+ export var ListMonitorsInput$ = [
177
177
  3,
178
178
  n0,
179
179
  _LMI,
@@ -185,11 +185,11 @@ export var ListMonitorsInput = [
185
185
  [0, { [_hQ]: _s }],
186
186
  ],
187
187
  ];
188
- export var ListMonitorsOutput = [3, n0, _LMO, 0, [_mo, _nT], [() => MonitorList, 0]];
189
- export var ListTagsForResourceInput = [3, n0, _LTFRI, 0, [_rA], [[0, 1]]];
190
- export var ListTagsForResourceOutput = [3, n0, _LTFRO, 0, [_t], [128 | 0]];
191
- export var MonitorSummary = [3, n0, _MS, 0, [_mA, _mN, _s, _aP, _t], [0, 0, 0, 1, 128 | 0]];
192
- export var Probe = [
188
+ export var ListMonitorsOutput$ = [3, n0, _LMO, 0, [_mo, _nT], [() => MonitorList, 0]];
189
+ export var ListTagsForResourceInput$ = [3, n0, _LTFRI, 0, [_rA], [[0, 1]]];
190
+ export var ListTagsForResourceOutput$ = [3, n0, _LTFRO, 0, [_t], [128 | 0]];
191
+ export var MonitorSummary$ = [3, n0, _MS, 0, [_mA, _mN, _s, _aP, _t], [0, 0, 0, 1, 128 | 0]];
192
+ export var Probe$ = [
193
193
  3,
194
194
  n0,
195
195
  _P,
@@ -197,16 +197,16 @@ export var Probe = [
197
197
  [_pI, _pA, _sA, _d, _dP, _pr, _pS, _aF, _vI, _s, _cA, _mAo, _t],
198
198
  [0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 4, 4, 128 | 0],
199
199
  ];
200
- export var ProbeInput = [3, n0, _PI, 0, [_sA, _d, _dP, _pr, _pS, _t], [0, 0, 1, 0, 1, 128 | 0]];
201
- export var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
202
- TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
203
- export var ServiceQuotaExceededException = [-3, n0, _SQEE, { [_e]: _c, [_hE]: 402 }, [_m], [0]];
204
- TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, __ServiceQuotaExceededException);
205
- export var TagResourceInput = [3, n0, _TRI, 0, [_rA, _t], [[0, 1], 128 | 0]];
206
- export var TagResourceOutput = [3, n0, _TRO, 0, [], []];
207
- export var ThrottlingException = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_m], [0]];
208
- TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
209
- export var UntagResourceInput = [
200
+ export var ProbeInput$ = [3, n0, _PI, 0, [_sA, _d, _dP, _pr, _pS, _t], [0, 0, 1, 0, 1, 128 | 0]];
201
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
202
+ TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
203
+ export var ServiceQuotaExceededException$ = [-3, n0, _SQEE, { [_e]: _c, [_hE]: 402 }, [_m], [0]];
204
+ TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
205
+ export var TagResourceInput$ = [3, n0, _TRI, 0, [_rA, _t], [[0, 1], 128 | 0]];
206
+ export var TagResourceOutput$ = [3, n0, _TRO, 0, [], []];
207
+ export var ThrottlingException$ = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_m], [0]];
208
+ TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
209
+ export var UntagResourceInput$ = [
210
210
  3,
211
211
  n0,
212
212
  _URI,
@@ -217,9 +217,9 @@ export var UntagResourceInput = [
217
217
  [64 | 0, { [_hQ]: _tK }],
218
218
  ],
219
219
  ];
220
- export var UntagResourceOutput = [3, n0, _URO, 0, [], []];
221
- export var UpdateMonitorInput = [3, n0, _UMI, 0, [_mN, _aP], [[0, 1], 1]];
222
- export var UpdateMonitorOutput = [
220
+ export var UntagResourceOutput$ = [3, n0, _URO, 0, [], []];
221
+ export var UpdateMonitorInput$ = [3, n0, _UMI, 0, [_mN, _aP], [[0, 1], 1]];
222
+ export var UpdateMonitorOutput$ = [
223
223
  3,
224
224
  n0,
225
225
  _UMO,
@@ -227,7 +227,7 @@ export var UpdateMonitorOutput = [
227
227
  [_mA, _mN, _s, _aP, _t],
228
228
  [0, 0, 0, 1, 128 | 0],
229
229
  ];
230
- export var UpdateProbeInput = [
230
+ export var UpdateProbeInput$ = [
231
231
  3,
232
232
  n0,
233
233
  _UPI,
@@ -235,7 +235,7 @@ export var UpdateProbeInput = [
235
235
  [_mN, _pI, _s, _d, _dP, _pr, _pS],
236
236
  [[0, 1], [0, 1], 0, 0, 1, 0, 1],
237
237
  ];
238
- export var UpdateProbeOutput = [
238
+ export var UpdateProbeOutput$ = [
239
239
  3,
240
240
  n0,
241
241
  _UPO,
@@ -243,108 +243,108 @@ export var UpdateProbeOutput = [
243
243
  [_pI, _pA, _sA, _d, _dP, _pr, _pS, _aF, _vI, _s, _cA, _mAo, _t],
244
244
  [0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 4, 4, 128 | 0],
245
245
  ];
246
- export var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
247
- TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
248
- export var NetworkMonitorServiceException = [-3, _sm, "NetworkMonitorServiceException", 0, [], []];
249
- TypeRegistry.for(_sm).registerError(NetworkMonitorServiceException, __NetworkMonitorServiceException);
250
- export var CreateMonitorProbeInputList = [1, n0, _CMPIL, 0, () => CreateMonitorProbeInput];
251
- export var MonitorList = [1, n0, _ML, 0, () => MonitorSummary];
252
- export var ProbeList = [1, n0, _PL, 0, () => Probe];
253
- export var TagKeyList = 64 | 0;
254
- export var TagMap = 128 | 0;
255
- export var CreateMonitor = [
246
+ export var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
247
+ TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
248
+ export var NetworkMonitorServiceException$ = [-3, _sm, "NetworkMonitorServiceException", 0, [], []];
249
+ TypeRegistry.for(_sm).registerError(NetworkMonitorServiceException$, NetworkMonitorServiceException);
250
+ var CreateMonitorProbeInputList = [1, n0, _CMPIL, 0, () => CreateMonitorProbeInput$];
251
+ var MonitorList = [1, n0, _ML, 0, () => MonitorSummary$];
252
+ var ProbeList = [1, n0, _PL, 0, () => Probe$];
253
+ var TagKeyList = 64 | 0;
254
+ var TagMap = 128 | 0;
255
+ export var CreateMonitor$ = [
256
256
  9,
257
257
  n0,
258
258
  _CM,
259
259
  { [_h]: ["POST", "/monitors", 200] },
260
- () => CreateMonitorInput,
261
- () => CreateMonitorOutput,
260
+ () => CreateMonitorInput$,
261
+ () => CreateMonitorOutput$,
262
262
  ];
263
- export var CreateProbe = [
263
+ export var CreateProbe$ = [
264
264
  9,
265
265
  n0,
266
266
  _CP,
267
267
  { [_h]: ["POST", "/monitors/{monitorName}/probes", 200] },
268
- () => CreateProbeInput,
269
- () => CreateProbeOutput,
268
+ () => CreateProbeInput$,
269
+ () => CreateProbeOutput$,
270
270
  ];
271
- export var DeleteMonitor = [
271
+ export var DeleteMonitor$ = [
272
272
  9,
273
273
  n0,
274
274
  _DM,
275
275
  { [_h]: ["DELETE", "/monitors/{monitorName}", 200] },
276
- () => DeleteMonitorInput,
277
- () => DeleteMonitorOutput,
276
+ () => DeleteMonitorInput$,
277
+ () => DeleteMonitorOutput$,
278
278
  ];
279
- export var DeleteProbe = [
279
+ export var DeleteProbe$ = [
280
280
  9,
281
281
  n0,
282
282
  _DP,
283
283
  { [_h]: ["DELETE", "/monitors/{monitorName}/probes/{probeId}", 200] },
284
- () => DeleteProbeInput,
285
- () => DeleteProbeOutput,
284
+ () => DeleteProbeInput$,
285
+ () => DeleteProbeOutput$,
286
286
  ];
287
- export var GetMonitor = [
287
+ export var GetMonitor$ = [
288
288
  9,
289
289
  n0,
290
290
  _GM,
291
291
  { [_h]: ["GET", "/monitors/{monitorName}", 200] },
292
- () => GetMonitorInput,
293
- () => GetMonitorOutput,
292
+ () => GetMonitorInput$,
293
+ () => GetMonitorOutput$,
294
294
  ];
295
- export var GetProbe = [
295
+ export var GetProbe$ = [
296
296
  9,
297
297
  n0,
298
298
  _GP,
299
299
  { [_h]: ["GET", "/monitors/{monitorName}/probes/{probeId}", 200] },
300
- () => GetProbeInput,
301
- () => GetProbeOutput,
300
+ () => GetProbeInput$,
301
+ () => GetProbeOutput$,
302
302
  ];
303
- export var ListMonitors = [
303
+ export var ListMonitors$ = [
304
304
  9,
305
305
  n0,
306
306
  _LM,
307
307
  { [_h]: ["GET", "/monitors", 200] },
308
- () => ListMonitorsInput,
309
- () => ListMonitorsOutput,
308
+ () => ListMonitorsInput$,
309
+ () => ListMonitorsOutput$,
310
310
  ];
311
- export var ListTagsForResource = [
311
+ export var ListTagsForResource$ = [
312
312
  9,
313
313
  n0,
314
314
  _LTFR,
315
315
  { [_h]: ["GET", "/tags/{resourceArn}", 200] },
316
- () => ListTagsForResourceInput,
317
- () => ListTagsForResourceOutput,
316
+ () => ListTagsForResourceInput$,
317
+ () => ListTagsForResourceOutput$,
318
318
  ];
319
- export var TagResource = [
319
+ export var TagResource$ = [
320
320
  9,
321
321
  n0,
322
322
  _TR,
323
323
  { [_h]: ["POST", "/tags/{resourceArn}", 200] },
324
- () => TagResourceInput,
325
- () => TagResourceOutput,
324
+ () => TagResourceInput$,
325
+ () => TagResourceOutput$,
326
326
  ];
327
- export var UntagResource = [
327
+ export var UntagResource$ = [
328
328
  9,
329
329
  n0,
330
330
  _UR,
331
331
  { [_h]: ["DELETE", "/tags/{resourceArn}", 200] },
332
- () => UntagResourceInput,
333
- () => UntagResourceOutput,
332
+ () => UntagResourceInput$,
333
+ () => UntagResourceOutput$,
334
334
  ];
335
- export var UpdateMonitor = [
335
+ export var UpdateMonitor$ = [
336
336
  9,
337
337
  n0,
338
338
  _UM,
339
339
  { [_h]: ["PATCH", "/monitors/{monitorName}", 200] },
340
- () => UpdateMonitorInput,
341
- () => UpdateMonitorOutput,
340
+ () => UpdateMonitorInput$,
341
+ () => UpdateMonitorOutput$,
342
342
  ];
343
- export var UpdateProbe = [
343
+ export var UpdateProbe$ = [
344
344
  9,
345
345
  n0,
346
346
  _UP,
347
347
  { [_h]: ["PATCH", "/monitors/{monitorName}/probes/{probeId}", 200] },
348
- () => UpdateProbeInput,
349
- () => UpdateProbeOutput,
348
+ () => UpdateProbeInput$,
349
+ () => UpdateProbeOutput$,
350
350
  ];
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
5
5
  import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
8
- import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { CreateMonitorCommandInput, CreateMonitorCommandOutput } from "./commands/CreateMonitorCommand";
11
11
  import { CreateProbeCommandInput, CreateProbeCommandOutput } from "./commands/CreateProbeCommand";
@@ -153,15 +153,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
153
153
  * Optional extensions
154
154
  */
155
155
  extensions?: RuntimeExtension[];
156
- /**
157
- * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
158
- * may be overridden. A default will always be set by the client.
159
- * Available options depend on the service's supported protocols and will not be validated by
160
- * the client.
161
- * @alpha
162
- *
163
- */
164
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
165
156
  /**
166
157
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
167
158
  */
@@ -20,6 +20,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
20
20
  export type { RuntimeExtension } from "./runtimeExtensions";
21
21
  export type { NetworkMonitorExtensionConfiguration } from "./extensionConfiguration";
22
22
  export * from "./commands";
23
+ export * from "./schemas/schemas_0";
23
24
  export * from "./pagination";
24
25
  export * from "./models/enums";
25
26
  export * from "./models/errors";
@@ -17,8 +17,13 @@ export declare const getRuntimeConfig: (config: NetworkMonitorClientConfig) => {
17
17
  streamCollector: import("@smithy/types").StreamCollector;
18
18
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
19
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
20
- apiVersion: string;
21
20
  cacheMiddleware?: boolean | undefined;
21
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
22
+ protocolSettings: {
23
+ defaultNamespace?: string;
24
+ [setting: string]: unknown;
25
+ };
26
+ apiVersion: string;
22
27
  urlParser: import("@smithy/types").UrlParser;
23
28
  base64Decoder: import("@smithy/types").Decoder;
24
29
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -29,7 +34,6 @@ export declare const getRuntimeConfig: (config: NetworkMonitorClientConfig) => {
29
34
  profile?: string;
30
35
  logger: import("@smithy/types").Logger;
31
36
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
33
37
  customUserAgent?: string | import("@smithy/types").UserAgent;
34
38
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
35
39
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -19,8 +19,13 @@ export declare const getRuntimeConfig: (config: NetworkMonitorClientConfig) => {
19
19
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
22
- apiVersion: string;
23
22
  cacheMiddleware?: boolean | undefined;
23
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
24
+ protocolSettings: {
25
+ defaultNamespace?: string;
26
+ [setting: string]: unknown;
27
+ };
28
+ apiVersion: string;
24
29
  urlParser: import("@smithy/types").UrlParser;
25
30
  base64Decoder: import("@smithy/types").Decoder;
26
31
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -31,7 +36,6 @@ export declare const getRuntimeConfig: (config: NetworkMonitorClientConfig) => {
31
36
  profile?: string;
32
37
  logger: import("@smithy/types").Logger;
33
38
  extensions: import("./runtimeExtensions").RuntimeExtension[];
34
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
35
39
  customUserAgent?: string | import("@smithy/types").UserAgent;
36
40
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
37
41
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
@@ -6,8 +6,13 @@ export declare const getRuntimeConfig: (config: NetworkMonitorClientConfig) => {
6
6
  runtime: string;
7
7
  sha256: import("@smithy/types").HashConstructor;
8
8
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
- apiVersion: string;
10
9
  cacheMiddleware?: boolean;
10
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
11
+ protocolSettings: {
12
+ defaultNamespace?: string;
13
+ [setting: string]: unknown;
14
+ };
15
+ apiVersion: string;
11
16
  urlParser: import("@smithy/types").UrlParser;
12
17
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
13
18
  streamCollector: import("@smithy/types").StreamCollector;
@@ -27,7 +32,6 @@ export declare const getRuntimeConfig: (config: NetworkMonitorClientConfig) => {
27
32
  retryMode: string | import("@smithy/types").Provider<string>;
28
33
  logger: import("@smithy/types").Logger;
29
34
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
31
35
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
32
36
  customUserAgent?: string | import("@smithy/types").UserAgent;
33
37
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
@@ -1,3 +1,4 @@
1
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
1
2
  import type { NetworkMonitorClientConfig } from "./NetworkMonitorClient";
2
3
  /**
3
4
  * @internal
@@ -14,7 +15,11 @@ export declare const getRuntimeConfig: (config: NetworkMonitorClientConfig) => {
14
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").NetworkMonitorHttpAuthSchemeProvider;
15
16
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
17
  logger: import("@smithy/types").Logger;
17
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
18
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsRestJsonProtocol;
19
+ protocolSettings: {
20
+ [setting: string]: unknown;
21
+ defaultNamespace?: string;
22
+ };
18
23
  serviceId: string;
19
24
  urlParser: import("@smithy/types").UrlParser;
20
25
  utf8Decoder: import("@smithy/types").Decoder;