@aws-sdk/client-networkflowmonitor 3.975.0 → 3.980.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
@@ -1152,6 +1152,16 @@ class UpdateScopeCommand extends smithyClient.Command
1152
1152
  .build() {
1153
1153
  }
1154
1154
 
1155
+ const paginateGetQueryResultsMonitorTopContributors = core.createPaginator(NetworkFlowMonitorClient, GetQueryResultsMonitorTopContributorsCommand, "nextToken", "nextToken", "maxResults");
1156
+
1157
+ const paginateGetQueryResultsWorkloadInsightsTopContributorsData = core.createPaginator(NetworkFlowMonitorClient, GetQueryResultsWorkloadInsightsTopContributorsDataCommand, "nextToken", "nextToken", "maxResults");
1158
+
1159
+ const paginateGetQueryResultsWorkloadInsightsTopContributors = core.createPaginator(NetworkFlowMonitorClient, GetQueryResultsWorkloadInsightsTopContributorsCommand, "nextToken", "nextToken", "maxResults");
1160
+
1161
+ const paginateListMonitors = core.createPaginator(NetworkFlowMonitorClient, ListMonitorsCommand, "nextToken", "nextToken", "maxResults");
1162
+
1163
+ const paginateListScopes = core.createPaginator(NetworkFlowMonitorClient, ListScopesCommand, "nextToken", "nextToken", "maxResults");
1164
+
1155
1165
  const commands = {
1156
1166
  CreateMonitorCommand,
1157
1167
  CreateScopeCommand,
@@ -1179,19 +1189,16 @@ const commands = {
1179
1189
  UpdateMonitorCommand,
1180
1190
  UpdateScopeCommand,
1181
1191
  };
1192
+ const paginators = {
1193
+ paginateGetQueryResultsMonitorTopContributors,
1194
+ paginateGetQueryResultsWorkloadInsightsTopContributors,
1195
+ paginateGetQueryResultsWorkloadInsightsTopContributorsData,
1196
+ paginateListMonitors,
1197
+ paginateListScopes,
1198
+ };
1182
1199
  class NetworkFlowMonitor extends NetworkFlowMonitorClient {
1183
1200
  }
1184
- smithyClient.createAggregatedClient(commands, NetworkFlowMonitor);
1185
-
1186
- const paginateGetQueryResultsMonitorTopContributors = core.createPaginator(NetworkFlowMonitorClient, GetQueryResultsMonitorTopContributorsCommand, "nextToken", "nextToken", "maxResults");
1187
-
1188
- const paginateGetQueryResultsWorkloadInsightsTopContributors = core.createPaginator(NetworkFlowMonitorClient, GetQueryResultsWorkloadInsightsTopContributorsCommand, "nextToken", "nextToken", "maxResults");
1189
-
1190
- const paginateGetQueryResultsWorkloadInsightsTopContributorsData = core.createPaginator(NetworkFlowMonitorClient, GetQueryResultsWorkloadInsightsTopContributorsDataCommand, "nextToken", "nextToken", "maxResults");
1191
-
1192
- const paginateListMonitors = core.createPaginator(NetworkFlowMonitorClient, ListMonitorsCommand, "nextToken", "nextToken", "maxResults");
1193
-
1194
- const paginateListScopes = core.createPaginator(NetworkFlowMonitorClient, ListScopesCommand, "nextToken", "nextToken", "maxResults");
1201
+ smithyClient.createAggregatedClient(commands, NetworkFlowMonitor, { paginators });
1195
1202
 
1196
1203
  const MonitorLocalResourceType = {
1197
1204
  AWS_AZ: "AWS::AvailabilityZone",
@@ -25,6 +25,11 @@ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
25
25
  import { UpdateMonitorCommand, } from "./commands/UpdateMonitorCommand";
26
26
  import { UpdateScopeCommand } from "./commands/UpdateScopeCommand";
27
27
  import { NetworkFlowMonitorClient } from "./NetworkFlowMonitorClient";
28
+ import { paginateGetQueryResultsMonitorTopContributors, } from "./pagination/GetQueryResultsMonitorTopContributorsPaginator";
29
+ import { paginateGetQueryResultsWorkloadInsightsTopContributorsData, } from "./pagination/GetQueryResultsWorkloadInsightsTopContributorsDataPaginator";
30
+ import { paginateGetQueryResultsWorkloadInsightsTopContributors, } from "./pagination/GetQueryResultsWorkloadInsightsTopContributorsPaginator";
31
+ import { paginateListMonitors } from "./pagination/ListMonitorsPaginator";
32
+ import { paginateListScopes } from "./pagination/ListScopesPaginator";
28
33
  const commands = {
29
34
  CreateMonitorCommand,
30
35
  CreateScopeCommand,
@@ -52,6 +57,13 @@ const commands = {
52
57
  UpdateMonitorCommand,
53
58
  UpdateScopeCommand,
54
59
  };
60
+ const paginators = {
61
+ paginateGetQueryResultsMonitorTopContributors,
62
+ paginateGetQueryResultsWorkloadInsightsTopContributors,
63
+ paginateGetQueryResultsWorkloadInsightsTopContributorsData,
64
+ paginateListMonitors,
65
+ paginateListScopes,
66
+ };
55
67
  export class NetworkFlowMonitor extends NetworkFlowMonitorClient {
56
68
  }
57
- createAggregatedClient(commands, NetworkFlowMonitor);
69
+ createAggregatedClient(commands, NetworkFlowMonitor, { 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 { CreateScopeCommandInput, CreateScopeCommandOutput } from "./commands/CreateScopeCommand";
4
4
  import { DeleteMonitorCommandInput, DeleteMonitorCommandOutput } from "./commands/DeleteMonitorCommand";
@@ -178,6 +178,41 @@ export interface NetworkFlowMonitor {
178
178
  updateScope(args: UpdateScopeCommandInput, options?: __HttpHandlerOptions): Promise<UpdateScopeCommandOutput>;
179
179
  updateScope(args: UpdateScopeCommandInput, cb: (err: any, data?: UpdateScopeCommandOutput) => void): void;
180
180
  updateScope(args: UpdateScopeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateScopeCommandOutput) => void): void;
181
+ /**
182
+ * @see {@link GetQueryResultsMonitorTopContributorsCommand}
183
+ * @param args - command input.
184
+ * @param paginationConfig - optional pagination config.
185
+ * @returns AsyncIterable of {@link GetQueryResultsMonitorTopContributorsCommandOutput}.
186
+ */
187
+ paginateGetQueryResultsMonitorTopContributors(args: GetQueryResultsMonitorTopContributorsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetQueryResultsMonitorTopContributorsCommandOutput>;
188
+ /**
189
+ * @see {@link GetQueryResultsWorkloadInsightsTopContributorsCommand}
190
+ * @param args - command input.
191
+ * @param paginationConfig - optional pagination config.
192
+ * @returns AsyncIterable of {@link GetQueryResultsWorkloadInsightsTopContributorsCommandOutput}.
193
+ */
194
+ paginateGetQueryResultsWorkloadInsightsTopContributors(args: GetQueryResultsWorkloadInsightsTopContributorsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetQueryResultsWorkloadInsightsTopContributorsCommandOutput>;
195
+ /**
196
+ * @see {@link GetQueryResultsWorkloadInsightsTopContributorsDataCommand}
197
+ * @param args - command input.
198
+ * @param paginationConfig - optional pagination config.
199
+ * @returns AsyncIterable of {@link GetQueryResultsWorkloadInsightsTopContributorsDataCommandOutput}.
200
+ */
201
+ paginateGetQueryResultsWorkloadInsightsTopContributorsData(args: GetQueryResultsWorkloadInsightsTopContributorsDataCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetQueryResultsWorkloadInsightsTopContributorsDataCommandOutput>;
202
+ /**
203
+ * @see {@link ListMonitorsCommand}
204
+ * @param args - command input.
205
+ * @param paginationConfig - optional pagination config.
206
+ * @returns AsyncIterable of {@link ListMonitorsCommandOutput}.
207
+ */
208
+ paginateListMonitors(args?: ListMonitorsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListMonitorsCommandOutput>;
209
+ /**
210
+ * @see {@link ListScopesCommand}
211
+ * @param args - command input.
212
+ * @param paginationConfig - optional pagination config.
213
+ * @returns AsyncIterable of {@link ListScopesCommandOutput}.
214
+ */
215
+ paginateListScopes(args?: ListScopesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListScopesCommandOutput>;
181
216
  }
182
217
  /**
183
218
  * <p>Network Flow Monitor is a feature of Amazon CloudWatch Network Monitoring that provides visibility into the performance of network flows for your Amazon Web Services workloads, between instances in subnets, as well as to and from Amazon Web Services. Lightweight agents that you install on the instances capture performance metrics for your network flows, such as packet loss and latency, and send them to the Network Flow Monitor backend. Then, you can view and analyze metrics from the top contributors for each metric type, to help troubleshoot issues.</p> <p>In addition, when you create a monitor, Network Flow Monitor provides a network health indicator (NHI) that informs you whether there were Amazon Web Services network issues for one or more of the network flows tracked by a monitor, during a time period that you choose. By using this value, you can independently determine if the Amazon Web Services network is impacting your workload during a specific time frame, to help you focus troubleshooting efforts.</p> <p>To learn more about Network Flow Monitor, see the <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-NetworkFlowMonitor.html">Network Flow Monitor User Guide</a> in the Amazon CloudWatch User Guide.</p>
@@ -1,4 +1,8 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import {
2
+ HttpHandlerOptions as __HttpHandlerOptions,
3
+ PaginationConfiguration,
4
+ Paginator,
5
+ } from "@smithy/types";
2
6
  import {
3
7
  CreateMonitorCommandInput,
4
8
  CreateMonitorCommandOutput,
@@ -488,6 +492,41 @@ export interface NetworkFlowMonitor {
488
492
  options: __HttpHandlerOptions,
489
493
  cb: (err: any, data?: UpdateScopeCommandOutput) => void
490
494
  ): void;
495
+ paginateGetQueryResultsMonitorTopContributors(
496
+ args: GetQueryResultsMonitorTopContributorsCommandInput,
497
+ paginationConfig?: Pick<
498
+ PaginationConfiguration,
499
+ Exclude<keyof PaginationConfiguration, "client">
500
+ >
501
+ ): Paginator<GetQueryResultsMonitorTopContributorsCommandOutput>;
502
+ paginateGetQueryResultsWorkloadInsightsTopContributors(
503
+ args: GetQueryResultsWorkloadInsightsTopContributorsCommandInput,
504
+ paginationConfig?: Pick<
505
+ PaginationConfiguration,
506
+ Exclude<keyof PaginationConfiguration, "client">
507
+ >
508
+ ): Paginator<GetQueryResultsWorkloadInsightsTopContributorsCommandOutput>;
509
+ paginateGetQueryResultsWorkloadInsightsTopContributorsData(
510
+ args: GetQueryResultsWorkloadInsightsTopContributorsDataCommandInput,
511
+ paginationConfig?: Pick<
512
+ PaginationConfiguration,
513
+ Exclude<keyof PaginationConfiguration, "client">
514
+ >
515
+ ): Paginator<GetQueryResultsWorkloadInsightsTopContributorsDataCommandOutput>;
516
+ paginateListMonitors(
517
+ args?: ListMonitorsCommandInput,
518
+ paginationConfig?: Pick<
519
+ PaginationConfiguration,
520
+ Exclude<keyof PaginationConfiguration, "client">
521
+ >
522
+ ): Paginator<ListMonitorsCommandOutput>;
523
+ paginateListScopes(
524
+ args?: ListScopesCommandInput,
525
+ paginationConfig?: Pick<
526
+ PaginationConfiguration,
527
+ Exclude<keyof PaginationConfiguration, "client">
528
+ >
529
+ ): Paginator<ListScopesCommandOutput>;
491
530
  }
492
531
  export declare class NetworkFlowMonitor
493
532
  extends NetworkFlowMonitorClient
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-networkflowmonitor",
3
3
  "description": "AWS SDK for JavaScript Networkflowmonitor Client for Node.js, Browser and React Native",
4
- "version": "3.975.0",
4
+ "version": "3.980.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-networkflowmonitor",
@@ -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.1",
25
- "@aws-sdk/credential-provider-node": "^3.972.1",
26
- "@aws-sdk/middleware-host-header": "^3.972.1",
27
- "@aws-sdk/middleware-logger": "^3.972.1",
28
- "@aws-sdk/middleware-recursion-detection": "^3.972.1",
29
- "@aws-sdk/middleware-user-agent": "^3.972.2",
30
- "@aws-sdk/region-config-resolver": "^3.972.1",
31
- "@aws-sdk/types": "^3.973.0",
32
- "@aws-sdk/util-endpoints": "3.972.0",
33
- "@aws-sdk/util-user-agent-browser": "^3.972.1",
34
- "@aws-sdk/util-user-agent-node": "^3.972.1",
24
+ "@aws-sdk/core": "^3.973.5",
25
+ "@aws-sdk/credential-provider-node": "^3.972.4",
26
+ "@aws-sdk/middleware-host-header": "^3.972.3",
27
+ "@aws-sdk/middleware-logger": "^3.972.3",
28
+ "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.5",
30
+ "@aws-sdk/region-config-resolver": "^3.972.3",
31
+ "@aws-sdk/types": "^3.973.1",
32
+ "@aws-sdk/util-endpoints": "3.980.0",
33
+ "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.3",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.21.1",
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.11",
42
- "@smithy/middleware-retry": "^4.4.27",
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.10.12",
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.26",
55
- "@smithy/util-defaults-mode-node": "^4.2.29",
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",