@aws-sdk/client-networkmonitor 3.975.0 → 3.978.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
|
@@ -664,6 +664,8 @@ class UpdateProbeCommand extends smithyClient.Command
|
|
|
664
664
|
.build() {
|
|
665
665
|
}
|
|
666
666
|
|
|
667
|
+
const paginateListMonitors = core.createPaginator(NetworkMonitorClient, ListMonitorsCommand, "nextToken", "nextToken", "maxResults");
|
|
668
|
+
|
|
667
669
|
const commands = {
|
|
668
670
|
CreateMonitorCommand,
|
|
669
671
|
CreateProbeCommand,
|
|
@@ -678,11 +680,12 @@ const commands = {
|
|
|
678
680
|
UpdateMonitorCommand,
|
|
679
681
|
UpdateProbeCommand,
|
|
680
682
|
};
|
|
683
|
+
const paginators = {
|
|
684
|
+
paginateListMonitors,
|
|
685
|
+
};
|
|
681
686
|
class NetworkMonitor extends NetworkMonitorClient {
|
|
682
687
|
}
|
|
683
|
-
smithyClient.createAggregatedClient(commands, NetworkMonitor);
|
|
684
|
-
|
|
685
|
-
const paginateListMonitors = core.createPaginator(NetworkMonitorClient, ListMonitorsCommand, "nextToken", "nextToken", "maxResults");
|
|
688
|
+
smithyClient.createAggregatedClient(commands, NetworkMonitor, { paginators });
|
|
686
689
|
|
|
687
690
|
const AddressFamily = {
|
|
688
691
|
IPV4: "IPV4",
|
|
@@ -12,6 +12,7 @@ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
|
12
12
|
import { UpdateMonitorCommand, } from "./commands/UpdateMonitorCommand";
|
|
13
13
|
import { UpdateProbeCommand } from "./commands/UpdateProbeCommand";
|
|
14
14
|
import { NetworkMonitorClient } from "./NetworkMonitorClient";
|
|
15
|
+
import { paginateListMonitors } from "./pagination/ListMonitorsPaginator";
|
|
15
16
|
const commands = {
|
|
16
17
|
CreateMonitorCommand,
|
|
17
18
|
CreateProbeCommand,
|
|
@@ -26,6 +27,9 @@ const commands = {
|
|
|
26
27
|
UpdateMonitorCommand,
|
|
27
28
|
UpdateProbeCommand,
|
|
28
29
|
};
|
|
30
|
+
const paginators = {
|
|
31
|
+
paginateListMonitors,
|
|
32
|
+
};
|
|
29
33
|
export class NetworkMonitor extends NetworkMonitorClient {
|
|
30
34
|
}
|
|
31
|
-
createAggregatedClient(commands, NetworkMonitor);
|
|
35
|
+
createAggregatedClient(commands, NetworkMonitor, { paginators });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { CreateMonitorCommandInput, CreateMonitorCommandOutput } from "./commands/CreateMonitorCommand";
|
|
3
3
|
import { CreateProbeCommandInput, CreateProbeCommandOutput } from "./commands/CreateProbeCommand";
|
|
4
4
|
import { DeleteMonitorCommandInput, DeleteMonitorCommandOutput } from "./commands/DeleteMonitorCommand";
|
|
@@ -86,6 +86,13 @@ export interface NetworkMonitor {
|
|
|
86
86
|
updateProbe(args: UpdateProbeCommandInput, options?: __HttpHandlerOptions): Promise<UpdateProbeCommandOutput>;
|
|
87
87
|
updateProbe(args: UpdateProbeCommandInput, cb: (err: any, data?: UpdateProbeCommandOutput) => void): void;
|
|
88
88
|
updateProbe(args: UpdateProbeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateProbeCommandOutput) => void): void;
|
|
89
|
+
/**
|
|
90
|
+
* @see {@link ListMonitorsCommand}
|
|
91
|
+
* @param args - command input.
|
|
92
|
+
* @param paginationConfig - optional pagination config.
|
|
93
|
+
* @returns AsyncIterable of {@link ListMonitorsCommandOutput}.
|
|
94
|
+
*/
|
|
95
|
+
paginateListMonitors(args?: ListMonitorsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListMonitorsCommandOutput>;
|
|
89
96
|
}
|
|
90
97
|
/**
|
|
91
98
|
* <p>Amazon CloudWatch Network Monitor is an Amazon Web Services active network monitoring
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
CreateMonitorCommandInput,
|
|
4
8
|
CreateMonitorCommandOutput,
|
|
@@ -206,6 +210,13 @@ export interface NetworkMonitor {
|
|
|
206
210
|
options: __HttpHandlerOptions,
|
|
207
211
|
cb: (err: any, data?: UpdateProbeCommandOutput) => void
|
|
208
212
|
): void;
|
|
213
|
+
paginateListMonitors(
|
|
214
|
+
args?: ListMonitorsCommandInput,
|
|
215
|
+
paginationConfig?: Pick<
|
|
216
|
+
PaginationConfiguration,
|
|
217
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
218
|
+
>
|
|
219
|
+
): Paginator<ListMonitorsCommandOutput>;
|
|
209
220
|
}
|
|
210
221
|
export declare class NetworkMonitor
|
|
211
222
|
extends NetworkMonitorClient
|
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.
|
|
4
|
+
"version": "3.978.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-networkmonitor",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|