@aws-sdk/client-networkflowmonitor 3.703.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/LICENSE +201 -0
- package/README.md +417 -0
- package/dist-cjs/NetworkFlowMonitor.js +61 -0
- package/dist-cjs/NetworkFlowMonitorClient.js +50 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/CreateMonitorCommand.js +26 -0
- package/dist-cjs/commands/CreateScopeCommand.js +26 -0
- package/dist-cjs/commands/DeleteMonitorCommand.js +26 -0
- package/dist-cjs/commands/DeleteScopeCommand.js +26 -0
- package/dist-cjs/commands/GetMonitorCommand.js +26 -0
- package/dist-cjs/commands/GetQueryResultsMonitorTopContributorsCommand.js +26 -0
- package/dist-cjs/commands/GetQueryResultsWorkloadInsightsTopContributorsCommand.js +26 -0
- package/dist-cjs/commands/GetQueryResultsWorkloadInsightsTopContributorsDataCommand.js +26 -0
- package/dist-cjs/commands/GetQueryStatusMonitorTopContributorsCommand.js +26 -0
- package/dist-cjs/commands/GetQueryStatusWorkloadInsightsTopContributorsCommand.js +26 -0
- package/dist-cjs/commands/GetQueryStatusWorkloadInsightsTopContributorsDataCommand.js +26 -0
- package/dist-cjs/commands/GetScopeCommand.js +26 -0
- package/dist-cjs/commands/ListMonitorsCommand.js +26 -0
- package/dist-cjs/commands/ListScopesCommand.js +26 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
- package/dist-cjs/commands/StartQueryMonitorTopContributorsCommand.js +26 -0
- package/dist-cjs/commands/StartQueryWorkloadInsightsTopContributorsCommand.js +26 -0
- package/dist-cjs/commands/StartQueryWorkloadInsightsTopContributorsDataCommand.js +26 -0
- package/dist-cjs/commands/StopQueryMonitorTopContributorsCommand.js +26 -0
- package/dist-cjs/commands/StopQueryWorkloadInsightsTopContributorsCommand.js +26 -0
- package/dist-cjs/commands/StopQueryWorkloadInsightsTopContributorsDataCommand.js +26 -0
- package/dist-cjs/commands/TagResourceCommand.js +26 -0
- package/dist-cjs/commands/UntagResourceCommand.js +26 -0
- package/dist-cjs/commands/UpdateMonitorCommand.js +26 -0
- package/dist-cjs/commands/UpdateScopeCommand.js +26 -0
- package/dist-cjs/commands/index.js +28 -0
- package/dist-cjs/endpoint/EndpointParameters.js +16 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/NetworkFlowMonitorServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +188 -0
- package/dist-cjs/pagination/GetQueryResultsMonitorTopContributorsPaginator.js +7 -0
- package/dist-cjs/pagination/GetQueryResultsWorkloadInsightsTopContributorsDataPaginator.js +7 -0
- package/dist-cjs/pagination/GetQueryResultsWorkloadInsightsTopContributorsPaginator.js +7 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListMonitorsPaginator.js +7 -0
- package/dist-cjs/pagination/ListScopesPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +9 -0
- package/dist-cjs/protocols/Aws_restJson1.js +907 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/NetworkFlowMonitor.js +57 -0
- package/dist-es/NetworkFlowMonitorClient.js +46 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/CreateMonitorCommand.js +22 -0
- package/dist-es/commands/CreateScopeCommand.js +22 -0
- package/dist-es/commands/DeleteMonitorCommand.js +22 -0
- package/dist-es/commands/DeleteScopeCommand.js +22 -0
- package/dist-es/commands/GetMonitorCommand.js +22 -0
- package/dist-es/commands/GetQueryResultsMonitorTopContributorsCommand.js +22 -0
- package/dist-es/commands/GetQueryResultsWorkloadInsightsTopContributorsCommand.js +22 -0
- package/dist-es/commands/GetQueryResultsWorkloadInsightsTopContributorsDataCommand.js +22 -0
- package/dist-es/commands/GetQueryStatusMonitorTopContributorsCommand.js +22 -0
- package/dist-es/commands/GetQueryStatusWorkloadInsightsTopContributorsCommand.js +22 -0
- package/dist-es/commands/GetQueryStatusWorkloadInsightsTopContributorsDataCommand.js +22 -0
- package/dist-es/commands/GetScopeCommand.js +22 -0
- package/dist-es/commands/ListMonitorsCommand.js +22 -0
- package/dist-es/commands/ListScopesCommand.js +22 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/StartQueryMonitorTopContributorsCommand.js +22 -0
- package/dist-es/commands/StartQueryWorkloadInsightsTopContributorsCommand.js +22 -0
- package/dist-es/commands/StartQueryWorkloadInsightsTopContributorsDataCommand.js +22 -0
- package/dist-es/commands/StopQueryMonitorTopContributorsCommand.js +22 -0
- package/dist-es/commands/StopQueryWorkloadInsightsTopContributorsCommand.js +22 -0
- package/dist-es/commands/StopQueryWorkloadInsightsTopContributorsDataCommand.js +22 -0
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/UpdateMonitorCommand.js +22 -0
- package/dist-es/commands/UpdateScopeCommand.js +22 -0
- package/dist-es/commands/index.js +25 -0
- package/dist-es/endpoint/EndpointParameters.js +12 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/NetworkFlowMonitorServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +178 -0
- package/dist-es/pagination/GetQueryResultsMonitorTopContributorsPaginator.js +4 -0
- package/dist-es/pagination/GetQueryResultsWorkloadInsightsTopContributorsDataPaginator.js +4 -0
- package/dist-es/pagination/GetQueryResultsWorkloadInsightsTopContributorsPaginator.js +4 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListMonitorsPaginator.js +4 -0
- package/dist-es/pagination/ListScopesPaginator.js +4 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +854 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/NetworkFlowMonitor.d.ts +199 -0
- package/dist-types/NetworkFlowMonitorClient.d.ts +206 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/CreateMonitorCommand.d.ts +129 -0
- package/dist-types/commands/CreateScopeCommand.d.ts +112 -0
- package/dist-types/commands/DeleteMonitorCommand.d.ts +84 -0
- package/dist-types/commands/DeleteScopeCommand.d.ts +84 -0
- package/dist-types/commands/GetMonitorCommand.d.ts +106 -0
- package/dist-types/commands/GetQueryResultsMonitorTopContributorsCommand.d.ts +143 -0
- package/dist-types/commands/GetQueryResultsWorkloadInsightsTopContributorsCommand.d.ts +112 -0
- package/dist-types/commands/GetQueryResultsWorkloadInsightsTopContributorsDataCommand.d.ts +115 -0
- package/dist-types/commands/GetQueryStatusMonitorTopContributorsCommand.d.ts +93 -0
- package/dist-types/commands/GetQueryStatusWorkloadInsightsTopContributorsCommand.d.ts +94 -0
- package/dist-types/commands/GetQueryStatusWorkloadInsightsTopContributorsDataCommand.d.ts +95 -0
- package/dist-types/commands/GetScopeCommand.d.ts +103 -0
- package/dist-types/commands/ListMonitorsCommand.d.ts +93 -0
- package/dist-types/commands/ListScopesCommand.d.ts +94 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +91 -0
- package/dist-types/commands/StartQueryMonitorTopContributorsCommand.d.ts +95 -0
- package/dist-types/commands/StartQueryWorkloadInsightsTopContributorsCommand.d.ts +95 -0
- package/dist-types/commands/StartQueryWorkloadInsightsTopContributorsDataCommand.d.ts +100 -0
- package/dist-types/commands/StopQueryMonitorTopContributorsCommand.d.ts +89 -0
- package/dist-types/commands/StopQueryWorkloadInsightsTopContributorsCommand.d.ts +89 -0
- package/dist-types/commands/StopQueryWorkloadInsightsTopContributorsDataCommand.d.ts +93 -0
- package/dist-types/commands/TagResourceCommand.d.ts +90 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +90 -0
- package/dist-types/commands/UpdateMonitorCommand.d.ts +130 -0
- package/dist-types/commands/UpdateScopeCommand.d.ts +114 -0
- package/dist-types/commands/index.d.ts +25 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +34 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +26 -0
- package/dist-types/models/NetworkFlowMonitorServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1904 -0
- package/dist-types/pagination/GetQueryResultsMonitorTopContributorsPaginator.d.ts +7 -0
- package/dist-types/pagination/GetQueryResultsWorkloadInsightsTopContributorsDataPaginator.d.ts +7 -0
- package/dist-types/pagination/GetQueryResultsWorkloadInsightsTopContributorsPaginator.d.ts +7 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListMonitorsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListScopesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +227 -0
- package/dist-types/runtimeConfig.browser.d.ts +48 -0
- package/dist-types/runtimeConfig.d.ts +48 -0
- package/dist-types/runtimeConfig.native.d.ts +47 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/NetworkFlowMonitor.d.ts +494 -0
- package/dist-types/ts3.4/NetworkFlowMonitorClient.d.ts +271 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/CreateMonitorCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateScopeCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteMonitorCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteScopeCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetMonitorCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetQueryResultsMonitorTopContributorsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetQueryResultsWorkloadInsightsTopContributorsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetQueryResultsWorkloadInsightsTopContributorsDataCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetQueryStatusMonitorTopContributorsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetQueryStatusWorkloadInsightsTopContributorsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetQueryStatusWorkloadInsightsTopContributorsDataCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetScopeCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListMonitorsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListScopesCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartQueryMonitorTopContributorsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartQueryWorkloadInsightsTopContributorsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartQueryWorkloadInsightsTopContributorsDataCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StopQueryMonitorTopContributorsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StopQueryWorkloadInsightsTopContributorsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StopQueryWorkloadInsightsTopContributorsDataCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateMonitorCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateScopeCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +25 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/NetworkFlowMonitorServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +469 -0
- package/dist-types/ts3.4/pagination/GetQueryResultsMonitorTopContributorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetQueryResultsWorkloadInsightsTopContributorsDataPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetQueryResultsWorkloadInsightsTopContributorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListMonitorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListScopesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +305 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +89 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/package.json +103 -0
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetQueryResultsMonitorTopContributorsInput, GetQueryResultsMonitorTopContributorsOutput } from "../models/models_0";
|
|
4
|
+
import { NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFlowMonitorClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetQueryResultsMonitorTopContributorsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetQueryResultsMonitorTopContributorsCommandInput extends GetQueryResultsMonitorTopContributorsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetQueryResultsMonitorTopContributorsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetQueryResultsMonitorTopContributorsCommandOutput extends GetQueryResultsMonitorTopContributorsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetQueryResultsMonitorTopContributorsCommand_base: {
|
|
25
|
+
new (input: GetQueryResultsMonitorTopContributorsCommandInput): import("@smithy/smithy-client").CommandImpl<GetQueryResultsMonitorTopContributorsCommandInput, GetQueryResultsMonitorTopContributorsCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetQueryResultsMonitorTopContributorsCommandInput): import("@smithy/smithy-client").CommandImpl<GetQueryResultsMonitorTopContributorsCommandInput, GetQueryResultsMonitorTopContributorsCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Return the data for a query with the Network Flow Monitor query interface.
|
|
31
|
+
* You specify the query that you want to return results for by providing a query ID
|
|
32
|
+
* and a monitor name. This query returns the top contributors for a specific monitor.</p>
|
|
33
|
+
* <p>Create a query ID for this call by calling the corresponding API call to start the query,
|
|
34
|
+
* <code>StartQueryMonitorTopContributors</code>. Use the scope ID that was returned
|
|
35
|
+
* for your account by <code>CreateScope</code>.</p>
|
|
36
|
+
* <p>Top contributors in Network Flow Monitor are network flows with the highest values for a specific
|
|
37
|
+
* metric type, related to a scope (for workload insights) or a monitor.</p>
|
|
38
|
+
* @example
|
|
39
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
40
|
+
* ```javascript
|
|
41
|
+
* import { NetworkFlowMonitorClient, GetQueryResultsMonitorTopContributorsCommand } from "@aws-sdk/client-networkflowmonitor"; // ES Modules import
|
|
42
|
+
* // const { NetworkFlowMonitorClient, GetQueryResultsMonitorTopContributorsCommand } = require("@aws-sdk/client-networkflowmonitor"); // CommonJS import
|
|
43
|
+
* const client = new NetworkFlowMonitorClient(config);
|
|
44
|
+
* const input = { // GetQueryResultsMonitorTopContributorsInput
|
|
45
|
+
* monitorName: "STRING_VALUE", // required
|
|
46
|
+
* queryId: "STRING_VALUE", // required
|
|
47
|
+
* nextToken: "STRING_VALUE",
|
|
48
|
+
* maxResults: Number("int"),
|
|
49
|
+
* };
|
|
50
|
+
* const command = new GetQueryResultsMonitorTopContributorsCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // GetQueryResultsMonitorTopContributorsOutput
|
|
53
|
+
* // unit: "Seconds" || "Microseconds" || "Milliseconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None",
|
|
54
|
+
* // topContributors: [ // MonitorTopContributorsRowList
|
|
55
|
+
* // { // MonitorTopContributorsRow
|
|
56
|
+
* // localIp: "STRING_VALUE",
|
|
57
|
+
* // snatIp: "STRING_VALUE",
|
|
58
|
+
* // localInstanceId: "STRING_VALUE",
|
|
59
|
+
* // localVpcId: "STRING_VALUE",
|
|
60
|
+
* // localRegion: "STRING_VALUE",
|
|
61
|
+
* // localAz: "STRING_VALUE",
|
|
62
|
+
* // localSubnetId: "STRING_VALUE",
|
|
63
|
+
* // targetPort: Number("int"),
|
|
64
|
+
* // destinationCategory: "INTRA_AZ" || "INTER_AZ" || "INTER_VPC" || "UNCLASSIFIED" || "AMAZON_S3" || "AMAZON_DYNAMODB",
|
|
65
|
+
* // remoteVpcId: "STRING_VALUE",
|
|
66
|
+
* // remoteRegion: "STRING_VALUE",
|
|
67
|
+
* // remoteAz: "STRING_VALUE",
|
|
68
|
+
* // remoteSubnetId: "STRING_VALUE",
|
|
69
|
+
* // remoteInstanceId: "STRING_VALUE",
|
|
70
|
+
* // remoteIp: "STRING_VALUE",
|
|
71
|
+
* // dnatIp: "STRING_VALUE",
|
|
72
|
+
* // value: Number("long"),
|
|
73
|
+
* // traversedConstructs: [ // TraversedConstructsList
|
|
74
|
+
* // { // TraversedComponent
|
|
75
|
+
* // componentId: "STRING_VALUE",
|
|
76
|
+
* // componentType: "STRING_VALUE",
|
|
77
|
+
* // componentArn: "STRING_VALUE",
|
|
78
|
+
* // serviceName: "STRING_VALUE",
|
|
79
|
+
* // },
|
|
80
|
+
* // ],
|
|
81
|
+
* // kubernetesMetadata: { // KubernetesMetadata
|
|
82
|
+
* // localServiceName: "STRING_VALUE",
|
|
83
|
+
* // localPodName: "STRING_VALUE",
|
|
84
|
+
* // localPodNamespace: "STRING_VALUE",
|
|
85
|
+
* // remoteServiceName: "STRING_VALUE",
|
|
86
|
+
* // remotePodName: "STRING_VALUE",
|
|
87
|
+
* // remotePodNamespace: "STRING_VALUE",
|
|
88
|
+
* // },
|
|
89
|
+
* // localInstanceArn: "STRING_VALUE",
|
|
90
|
+
* // localSubnetArn: "STRING_VALUE",
|
|
91
|
+
* // localVpcArn: "STRING_VALUE",
|
|
92
|
+
* // remoteInstanceArn: "STRING_VALUE",
|
|
93
|
+
* // remoteSubnetArn: "STRING_VALUE",
|
|
94
|
+
* // remoteVpcArn: "STRING_VALUE",
|
|
95
|
+
* // },
|
|
96
|
+
* // ],
|
|
97
|
+
* // nextToken: "STRING_VALUE",
|
|
98
|
+
* // };
|
|
99
|
+
*
|
|
100
|
+
* ```
|
|
101
|
+
*
|
|
102
|
+
* @param GetQueryResultsMonitorTopContributorsCommandInput - {@link GetQueryResultsMonitorTopContributorsCommandInput}
|
|
103
|
+
* @returns {@link GetQueryResultsMonitorTopContributorsCommandOutput}
|
|
104
|
+
* @see {@link GetQueryResultsMonitorTopContributorsCommandInput} for command's `input` shape.
|
|
105
|
+
* @see {@link GetQueryResultsMonitorTopContributorsCommandOutput} for command's `response` shape.
|
|
106
|
+
* @see {@link NetworkFlowMonitorClientResolvedConfig | config} for NetworkFlowMonitorClient's `config` shape.
|
|
107
|
+
*
|
|
108
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
109
|
+
* <p>You don't have sufficient permission to perform this action.</p>
|
|
110
|
+
*
|
|
111
|
+
* @throws {@link InternalServerException} (server fault)
|
|
112
|
+
* <p>An internal error occurred.</p>
|
|
113
|
+
*
|
|
114
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
115
|
+
* <p>The request specifies a resource that doesn't exist.</p>
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
118
|
+
* <p>The request exceeded a service quota.</p>
|
|
119
|
+
*
|
|
120
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
121
|
+
* <p>The request was denied due to request throttling.</p>
|
|
122
|
+
*
|
|
123
|
+
* @throws {@link ValidationException} (client fault)
|
|
124
|
+
* <p>Invalid request.</p>
|
|
125
|
+
*
|
|
126
|
+
* @throws {@link NetworkFlowMonitorServiceException}
|
|
127
|
+
* <p>Base exception class for all service exceptions from NetworkFlowMonitor service.</p>
|
|
128
|
+
*
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
131
|
+
export declare class GetQueryResultsMonitorTopContributorsCommand extends GetQueryResultsMonitorTopContributorsCommand_base {
|
|
132
|
+
/** @internal type navigation helper, not in runtime. */
|
|
133
|
+
protected static __types: {
|
|
134
|
+
api: {
|
|
135
|
+
input: GetQueryResultsMonitorTopContributorsInput;
|
|
136
|
+
output: GetQueryResultsMonitorTopContributorsOutput;
|
|
137
|
+
};
|
|
138
|
+
sdk: {
|
|
139
|
+
input: GetQueryResultsMonitorTopContributorsCommandInput;
|
|
140
|
+
output: GetQueryResultsMonitorTopContributorsCommandOutput;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetQueryResultsWorkloadInsightsTopContributorsInput, GetQueryResultsWorkloadInsightsTopContributorsOutput } from "../models/models_0";
|
|
4
|
+
import { NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFlowMonitorClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetQueryResultsWorkloadInsightsTopContributorsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetQueryResultsWorkloadInsightsTopContributorsCommandInput extends GetQueryResultsWorkloadInsightsTopContributorsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetQueryResultsWorkloadInsightsTopContributorsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetQueryResultsWorkloadInsightsTopContributorsCommandOutput extends GetQueryResultsWorkloadInsightsTopContributorsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetQueryResultsWorkloadInsightsTopContributorsCommand_base: {
|
|
25
|
+
new (input: GetQueryResultsWorkloadInsightsTopContributorsCommandInput): import("@smithy/smithy-client").CommandImpl<GetQueryResultsWorkloadInsightsTopContributorsCommandInput, GetQueryResultsWorkloadInsightsTopContributorsCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetQueryResultsWorkloadInsightsTopContributorsCommandInput): import("@smithy/smithy-client").CommandImpl<GetQueryResultsWorkloadInsightsTopContributorsCommandInput, GetQueryResultsWorkloadInsightsTopContributorsCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Return the data for a query with the Network Flow Monitor query interface.
|
|
31
|
+
* You specify the query that you want to return results for by providing a query ID
|
|
32
|
+
* and a monitor name. This query returns the top contributors for a specific monitor.</p>
|
|
33
|
+
* <p>Create a query ID for this call by calling the corresponding API call to start the query,
|
|
34
|
+
* <code>StartQueryWorkloadInsightsTopContributors</code>. Use the scope ID that was returned
|
|
35
|
+
* for your account by <code>CreateScope</code>.</p>
|
|
36
|
+
* <p>Top contributors in Network Flow Monitor are network flows with the highest values for a specific
|
|
37
|
+
* metric type, related to a scope (for workload insights) or a monitor.</p>
|
|
38
|
+
* @example
|
|
39
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
40
|
+
* ```javascript
|
|
41
|
+
* import { NetworkFlowMonitorClient, GetQueryResultsWorkloadInsightsTopContributorsCommand } from "@aws-sdk/client-networkflowmonitor"; // ES Modules import
|
|
42
|
+
* // const { NetworkFlowMonitorClient, GetQueryResultsWorkloadInsightsTopContributorsCommand } = require("@aws-sdk/client-networkflowmonitor"); // CommonJS import
|
|
43
|
+
* const client = new NetworkFlowMonitorClient(config);
|
|
44
|
+
* const input = { // GetQueryResultsWorkloadInsightsTopContributorsInput
|
|
45
|
+
* scopeId: "STRING_VALUE", // required
|
|
46
|
+
* queryId: "STRING_VALUE", // required
|
|
47
|
+
* nextToken: "STRING_VALUE",
|
|
48
|
+
* maxResults: Number("int"),
|
|
49
|
+
* };
|
|
50
|
+
* const command = new GetQueryResultsWorkloadInsightsTopContributorsCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // GetQueryResultsWorkloadInsightsTopContributorsOutput
|
|
53
|
+
* // topContributors: [ // WorkloadInsightsTopContributorsRowList
|
|
54
|
+
* // { // WorkloadInsightsTopContributorsRow
|
|
55
|
+
* // accountId: "STRING_VALUE",
|
|
56
|
+
* // localSubnetId: "STRING_VALUE",
|
|
57
|
+
* // localAz: "STRING_VALUE",
|
|
58
|
+
* // localVpcId: "STRING_VALUE",
|
|
59
|
+
* // localRegion: "STRING_VALUE",
|
|
60
|
+
* // remoteIdentifier: "STRING_VALUE",
|
|
61
|
+
* // value: Number("long"),
|
|
62
|
+
* // localSubnetArn: "STRING_VALUE",
|
|
63
|
+
* // localVpcArn: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // ],
|
|
66
|
+
* // nextToken: "STRING_VALUE",
|
|
67
|
+
* // };
|
|
68
|
+
*
|
|
69
|
+
* ```
|
|
70
|
+
*
|
|
71
|
+
* @param GetQueryResultsWorkloadInsightsTopContributorsCommandInput - {@link GetQueryResultsWorkloadInsightsTopContributorsCommandInput}
|
|
72
|
+
* @returns {@link GetQueryResultsWorkloadInsightsTopContributorsCommandOutput}
|
|
73
|
+
* @see {@link GetQueryResultsWorkloadInsightsTopContributorsCommandInput} for command's `input` shape.
|
|
74
|
+
* @see {@link GetQueryResultsWorkloadInsightsTopContributorsCommandOutput} for command's `response` shape.
|
|
75
|
+
* @see {@link NetworkFlowMonitorClientResolvedConfig | config} for NetworkFlowMonitorClient's `config` shape.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
78
|
+
* <p>You don't have sufficient permission to perform this action.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link InternalServerException} (server fault)
|
|
81
|
+
* <p>An internal error occurred.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
84
|
+
* <p>The request specifies a resource that doesn't exist.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
87
|
+
* <p>The request exceeded a service quota.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
90
|
+
* <p>The request was denied due to request throttling.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ValidationException} (client fault)
|
|
93
|
+
* <p>Invalid request.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link NetworkFlowMonitorServiceException}
|
|
96
|
+
* <p>Base exception class for all service exceptions from NetworkFlowMonitor service.</p>
|
|
97
|
+
*
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
export declare class GetQueryResultsWorkloadInsightsTopContributorsCommand extends GetQueryResultsWorkloadInsightsTopContributorsCommand_base {
|
|
101
|
+
/** @internal type navigation helper, not in runtime. */
|
|
102
|
+
protected static __types: {
|
|
103
|
+
api: {
|
|
104
|
+
input: GetQueryResultsWorkloadInsightsTopContributorsInput;
|
|
105
|
+
output: GetQueryResultsWorkloadInsightsTopContributorsOutput;
|
|
106
|
+
};
|
|
107
|
+
sdk: {
|
|
108
|
+
input: GetQueryResultsWorkloadInsightsTopContributorsCommandInput;
|
|
109
|
+
output: GetQueryResultsWorkloadInsightsTopContributorsCommandOutput;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetQueryResultsWorkloadInsightsTopContributorsDataInput, GetQueryResultsWorkloadInsightsTopContributorsDataOutput } from "../models/models_0";
|
|
4
|
+
import { NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFlowMonitorClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetQueryResultsWorkloadInsightsTopContributorsDataCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetQueryResultsWorkloadInsightsTopContributorsDataCommandInput extends GetQueryResultsWorkloadInsightsTopContributorsDataInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetQueryResultsWorkloadInsightsTopContributorsDataCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetQueryResultsWorkloadInsightsTopContributorsDataCommandOutput extends GetQueryResultsWorkloadInsightsTopContributorsDataOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetQueryResultsWorkloadInsightsTopContributorsDataCommand_base: {
|
|
25
|
+
new (input: GetQueryResultsWorkloadInsightsTopContributorsDataCommandInput): import("@smithy/smithy-client").CommandImpl<GetQueryResultsWorkloadInsightsTopContributorsDataCommandInput, GetQueryResultsWorkloadInsightsTopContributorsDataCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetQueryResultsWorkloadInsightsTopContributorsDataCommandInput): import("@smithy/smithy-client").CommandImpl<GetQueryResultsWorkloadInsightsTopContributorsDataCommandInput, GetQueryResultsWorkloadInsightsTopContributorsDataCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Return the data for a query with the Network Flow Monitor query interface.
|
|
31
|
+
* Specify the query that you want to return results for by providing a query ID
|
|
32
|
+
* and a scope ID. This query returns data for the top contributors for workload insights.
|
|
33
|
+
* Workload insights provide a high level view of network flow performance data collected by agents
|
|
34
|
+
* for a scope.</p>
|
|
35
|
+
* <p>Create a query ID for this call by calling the corresponding API call to start the query,
|
|
36
|
+
* <code>StartQueryWorkloadInsightsTopContributorsData</code>. Use the scope ID that was returned
|
|
37
|
+
* for your account by <code>CreateScope</code>.</p>
|
|
38
|
+
* <p>Top contributors in Network Flow Monitor are network flows with the highest values for a specific
|
|
39
|
+
* metric type, related to a scope (for workload insights) or a monitor.</p>
|
|
40
|
+
* <p>The top contributor network flows overall for a specific metric type, for example, the
|
|
41
|
+
* number of retransmissions.</p>
|
|
42
|
+
* @example
|
|
43
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
44
|
+
* ```javascript
|
|
45
|
+
* import { NetworkFlowMonitorClient, GetQueryResultsWorkloadInsightsTopContributorsDataCommand } from "@aws-sdk/client-networkflowmonitor"; // ES Modules import
|
|
46
|
+
* // const { NetworkFlowMonitorClient, GetQueryResultsWorkloadInsightsTopContributorsDataCommand } = require("@aws-sdk/client-networkflowmonitor"); // CommonJS import
|
|
47
|
+
* const client = new NetworkFlowMonitorClient(config);
|
|
48
|
+
* const input = { // GetQueryResultsWorkloadInsightsTopContributorsDataInput
|
|
49
|
+
* scopeId: "STRING_VALUE", // required
|
|
50
|
+
* queryId: "STRING_VALUE", // required
|
|
51
|
+
* nextToken: "STRING_VALUE",
|
|
52
|
+
* maxResults: Number("int"),
|
|
53
|
+
* };
|
|
54
|
+
* const command = new GetQueryResultsWorkloadInsightsTopContributorsDataCommand(input);
|
|
55
|
+
* const response = await client.send(command);
|
|
56
|
+
* // { // GetQueryResultsWorkloadInsightsTopContributorsDataOutput
|
|
57
|
+
* // unit: "Seconds" || "Microseconds" || "Milliseconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None", // required
|
|
58
|
+
* // datapoints: [ // WorkloadInsightsTopContributorsDataPoints // required
|
|
59
|
+
* // { // WorkloadInsightsTopContributorsDataPoint
|
|
60
|
+
* // timestamps: [ // WorkloadInsightsTopContributorsTimestampsList // required
|
|
61
|
+
* // new Date("TIMESTAMP"),
|
|
62
|
+
* // ],
|
|
63
|
+
* // values: [ // WorkloadInsightsTopContributorsValuesList // required
|
|
64
|
+
* // Number("double"),
|
|
65
|
+
* // ],
|
|
66
|
+
* // label: "STRING_VALUE", // required
|
|
67
|
+
* // },
|
|
68
|
+
* // ],
|
|
69
|
+
* // nextToken: "STRING_VALUE",
|
|
70
|
+
* // };
|
|
71
|
+
*
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
74
|
+
* @param GetQueryResultsWorkloadInsightsTopContributorsDataCommandInput - {@link GetQueryResultsWorkloadInsightsTopContributorsDataCommandInput}
|
|
75
|
+
* @returns {@link GetQueryResultsWorkloadInsightsTopContributorsDataCommandOutput}
|
|
76
|
+
* @see {@link GetQueryResultsWorkloadInsightsTopContributorsDataCommandInput} for command's `input` shape.
|
|
77
|
+
* @see {@link GetQueryResultsWorkloadInsightsTopContributorsDataCommandOutput} for command's `response` shape.
|
|
78
|
+
* @see {@link NetworkFlowMonitorClientResolvedConfig | config} for NetworkFlowMonitorClient's `config` shape.
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
81
|
+
* <p>You don't have sufficient permission to perform this action.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link InternalServerException} (server fault)
|
|
84
|
+
* <p>An internal error occurred.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
87
|
+
* <p>The request specifies a resource that doesn't exist.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
90
|
+
* <p>The request exceeded a service quota.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
93
|
+
* <p>The request was denied due to request throttling.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ValidationException} (client fault)
|
|
96
|
+
* <p>Invalid request.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link NetworkFlowMonitorServiceException}
|
|
99
|
+
* <p>Base exception class for all service exceptions from NetworkFlowMonitor service.</p>
|
|
100
|
+
*
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
export declare class GetQueryResultsWorkloadInsightsTopContributorsDataCommand extends GetQueryResultsWorkloadInsightsTopContributorsDataCommand_base {
|
|
104
|
+
/** @internal type navigation helper, not in runtime. */
|
|
105
|
+
protected static __types: {
|
|
106
|
+
api: {
|
|
107
|
+
input: GetQueryResultsWorkloadInsightsTopContributorsDataInput;
|
|
108
|
+
output: GetQueryResultsWorkloadInsightsTopContributorsDataOutput;
|
|
109
|
+
};
|
|
110
|
+
sdk: {
|
|
111
|
+
input: GetQueryResultsWorkloadInsightsTopContributorsDataCommandInput;
|
|
112
|
+
output: GetQueryResultsWorkloadInsightsTopContributorsDataCommandOutput;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetQueryStatusMonitorTopContributorsInput, GetQueryStatusMonitorTopContributorsOutput } from "../models/models_0";
|
|
4
|
+
import { NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFlowMonitorClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetQueryStatusMonitorTopContributorsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetQueryStatusMonitorTopContributorsCommandInput extends GetQueryStatusMonitorTopContributorsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetQueryStatusMonitorTopContributorsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetQueryStatusMonitorTopContributorsCommandOutput extends GetQueryStatusMonitorTopContributorsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetQueryStatusMonitorTopContributorsCommand_base: {
|
|
25
|
+
new (input: GetQueryStatusMonitorTopContributorsCommandInput): import("@smithy/smithy-client").CommandImpl<GetQueryStatusMonitorTopContributorsCommandInput, GetQueryStatusMonitorTopContributorsCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetQueryStatusMonitorTopContributorsCommandInput): import("@smithy/smithy-client").CommandImpl<GetQueryStatusMonitorTopContributorsCommandInput, GetQueryStatusMonitorTopContributorsCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns the current status of a query for the Network Flow Monitor query interface, for a specified query ID and monitor.
|
|
31
|
+
* This call returns the query status for the top contributors for a monitor.</p>
|
|
32
|
+
* <p>When you start a query, use this call to check the status of the query to make sure that it has
|
|
33
|
+
* has <code>SUCCEEDED</code> before you review the results. Use the same query ID that you used for
|
|
34
|
+
* the corresponding API call to start the query, <code>StartQueryMonitorTopContributors</code>.</p>
|
|
35
|
+
* <p>When you run a query, use this call to check the status of the query to make sure that the query
|
|
36
|
+
* has <code>SUCCEEDED</code> before you review the results.</p>
|
|
37
|
+
* @example
|
|
38
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
39
|
+
* ```javascript
|
|
40
|
+
* import { NetworkFlowMonitorClient, GetQueryStatusMonitorTopContributorsCommand } from "@aws-sdk/client-networkflowmonitor"; // ES Modules import
|
|
41
|
+
* // const { NetworkFlowMonitorClient, GetQueryStatusMonitorTopContributorsCommand } = require("@aws-sdk/client-networkflowmonitor"); // CommonJS import
|
|
42
|
+
* const client = new NetworkFlowMonitorClient(config);
|
|
43
|
+
* const input = { // GetQueryStatusMonitorTopContributorsInput
|
|
44
|
+
* monitorName: "STRING_VALUE", // required
|
|
45
|
+
* queryId: "STRING_VALUE", // required
|
|
46
|
+
* };
|
|
47
|
+
* const command = new GetQueryStatusMonitorTopContributorsCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // GetQueryStatusMonitorTopContributorsOutput
|
|
50
|
+
* // status: "QUEUED" || "RUNNING" || "SUCCEEDED" || "FAILED" || "CANCELED", // required
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param GetQueryStatusMonitorTopContributorsCommandInput - {@link GetQueryStatusMonitorTopContributorsCommandInput}
|
|
56
|
+
* @returns {@link GetQueryStatusMonitorTopContributorsCommandOutput}
|
|
57
|
+
* @see {@link GetQueryStatusMonitorTopContributorsCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link GetQueryStatusMonitorTopContributorsCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link NetworkFlowMonitorClientResolvedConfig | config} for NetworkFlowMonitorClient's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
62
|
+
* <p>You don't have sufficient permission to perform this action.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InternalServerException} (server fault)
|
|
65
|
+
* <p>An internal error occurred.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
68
|
+
* <p>The request exceeded a service quota.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
71
|
+
* <p>The request was denied due to request throttling.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ValidationException} (client fault)
|
|
74
|
+
* <p>Invalid request.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link NetworkFlowMonitorServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from NetworkFlowMonitor service.</p>
|
|
78
|
+
*
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class GetQueryStatusMonitorTopContributorsCommand extends GetQueryStatusMonitorTopContributorsCommand_base {
|
|
82
|
+
/** @internal type navigation helper, not in runtime. */
|
|
83
|
+
protected static __types: {
|
|
84
|
+
api: {
|
|
85
|
+
input: GetQueryStatusMonitorTopContributorsInput;
|
|
86
|
+
output: GetQueryStatusMonitorTopContributorsOutput;
|
|
87
|
+
};
|
|
88
|
+
sdk: {
|
|
89
|
+
input: GetQueryStatusMonitorTopContributorsCommandInput;
|
|
90
|
+
output: GetQueryStatusMonitorTopContributorsCommandOutput;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetQueryStatusWorkloadInsightsTopContributorsInput, GetQueryStatusWorkloadInsightsTopContributorsOutput } from "../models/models_0";
|
|
4
|
+
import { NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFlowMonitorClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetQueryStatusWorkloadInsightsTopContributorsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetQueryStatusWorkloadInsightsTopContributorsCommandInput extends GetQueryStatusWorkloadInsightsTopContributorsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetQueryStatusWorkloadInsightsTopContributorsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetQueryStatusWorkloadInsightsTopContributorsCommandOutput extends GetQueryStatusWorkloadInsightsTopContributorsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetQueryStatusWorkloadInsightsTopContributorsCommand_base: {
|
|
25
|
+
new (input: GetQueryStatusWorkloadInsightsTopContributorsCommandInput): import("@smithy/smithy-client").CommandImpl<GetQueryStatusWorkloadInsightsTopContributorsCommandInput, GetQueryStatusWorkloadInsightsTopContributorsCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetQueryStatusWorkloadInsightsTopContributorsCommandInput): import("@smithy/smithy-client").CommandImpl<GetQueryStatusWorkloadInsightsTopContributorsCommandInput, GetQueryStatusWorkloadInsightsTopContributorsCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Return the data for a query with the Network Flow Monitor query interface.
|
|
31
|
+
* Specify the query that you want to return results for by providing a query ID
|
|
32
|
+
* and a monitor name. This query returns the top contributors for workload insights.</p>
|
|
33
|
+
* <p>When you start a query, use this call to check the status of the query to make sure that it has
|
|
34
|
+
* has <code>SUCCEEDED</code> before you review the results. Use the same query ID that you used for
|
|
35
|
+
* the corresponding API call to start the query, <code>StartQueryWorkloadInsightsTopContributors</code>.</p>
|
|
36
|
+
* <p>Top contributors in Network Flow Monitor are network flows with the highest values for a specific
|
|
37
|
+
* metric type, related to a scope (for workload insights) or a monitor.</p>
|
|
38
|
+
* @example
|
|
39
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
40
|
+
* ```javascript
|
|
41
|
+
* import { NetworkFlowMonitorClient, GetQueryStatusWorkloadInsightsTopContributorsCommand } from "@aws-sdk/client-networkflowmonitor"; // ES Modules import
|
|
42
|
+
* // const { NetworkFlowMonitorClient, GetQueryStatusWorkloadInsightsTopContributorsCommand } = require("@aws-sdk/client-networkflowmonitor"); // CommonJS import
|
|
43
|
+
* const client = new NetworkFlowMonitorClient(config);
|
|
44
|
+
* const input = { // GetQueryStatusWorkloadInsightsTopContributorsInput
|
|
45
|
+
* scopeId: "STRING_VALUE", // required
|
|
46
|
+
* queryId: "STRING_VALUE", // required
|
|
47
|
+
* };
|
|
48
|
+
* const command = new GetQueryStatusWorkloadInsightsTopContributorsCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // GetQueryStatusWorkloadInsightsTopContributorsOutput
|
|
51
|
+
* // status: "QUEUED" || "RUNNING" || "SUCCEEDED" || "FAILED" || "CANCELED", // required
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param GetQueryStatusWorkloadInsightsTopContributorsCommandInput - {@link GetQueryStatusWorkloadInsightsTopContributorsCommandInput}
|
|
57
|
+
* @returns {@link GetQueryStatusWorkloadInsightsTopContributorsCommandOutput}
|
|
58
|
+
* @see {@link GetQueryStatusWorkloadInsightsTopContributorsCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link GetQueryStatusWorkloadInsightsTopContributorsCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link NetworkFlowMonitorClientResolvedConfig | config} for NetworkFlowMonitorClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
63
|
+
* <p>You don't have sufficient permission to perform this action.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InternalServerException} (server fault)
|
|
66
|
+
* <p>An internal error occurred.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
69
|
+
* <p>The request exceeded a service quota.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
72
|
+
* <p>The request was denied due to request throttling.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ValidationException} (client fault)
|
|
75
|
+
* <p>Invalid request.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link NetworkFlowMonitorServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from NetworkFlowMonitor service.</p>
|
|
79
|
+
*
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class GetQueryStatusWorkloadInsightsTopContributorsCommand extends GetQueryStatusWorkloadInsightsTopContributorsCommand_base {
|
|
83
|
+
/** @internal type navigation helper, not in runtime. */
|
|
84
|
+
protected static __types: {
|
|
85
|
+
api: {
|
|
86
|
+
input: GetQueryStatusWorkloadInsightsTopContributorsInput;
|
|
87
|
+
output: GetQueryStatusWorkloadInsightsTopContributorsOutput;
|
|
88
|
+
};
|
|
89
|
+
sdk: {
|
|
90
|
+
input: GetQueryStatusWorkloadInsightsTopContributorsCommandInput;
|
|
91
|
+
output: GetQueryStatusWorkloadInsightsTopContributorsCommandOutput;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetQueryStatusWorkloadInsightsTopContributorsDataInput, GetQueryStatusWorkloadInsightsTopContributorsDataOutput } from "../models/models_0";
|
|
4
|
+
import { NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFlowMonitorClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetQueryStatusWorkloadInsightsTopContributorsDataCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetQueryStatusWorkloadInsightsTopContributorsDataCommandInput extends GetQueryStatusWorkloadInsightsTopContributorsDataInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetQueryStatusWorkloadInsightsTopContributorsDataCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetQueryStatusWorkloadInsightsTopContributorsDataCommandOutput extends GetQueryStatusWorkloadInsightsTopContributorsDataOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetQueryStatusWorkloadInsightsTopContributorsDataCommand_base: {
|
|
25
|
+
new (input: GetQueryStatusWorkloadInsightsTopContributorsDataCommandInput): import("@smithy/smithy-client").CommandImpl<GetQueryStatusWorkloadInsightsTopContributorsDataCommandInput, GetQueryStatusWorkloadInsightsTopContributorsDataCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetQueryStatusWorkloadInsightsTopContributorsDataCommandInput): import("@smithy/smithy-client").CommandImpl<GetQueryStatusWorkloadInsightsTopContributorsDataCommandInput, GetQueryStatusWorkloadInsightsTopContributorsDataCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns the current status of a query for the Network Flow Monitor query interface, for a specified query ID and monitor.
|
|
31
|
+
* This call returns the query status for the top contributors data for workload insights.</p>
|
|
32
|
+
* <p>When you start a query, use this call to check the status of the query to make sure that it has
|
|
33
|
+
* has <code>SUCCEEDED</code> before you review the results. Use the same query ID that you used for
|
|
34
|
+
* the corresponding API call to start the query, <code>StartQueryWorkloadInsightsTopContributorsData</code>.</p>
|
|
35
|
+
* <p>Top contributors in Network Flow Monitor are network flows with the highest values for a specific
|
|
36
|
+
* metric type, related to a scope (for workload insights) or a monitor.</p>
|
|
37
|
+
* <p>The top contributor network flows overall for a specific metric type, for example, the
|
|
38
|
+
* number of retransmissions.</p>
|
|
39
|
+
* @example
|
|
40
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
41
|
+
* ```javascript
|
|
42
|
+
* import { NetworkFlowMonitorClient, GetQueryStatusWorkloadInsightsTopContributorsDataCommand } from "@aws-sdk/client-networkflowmonitor"; // ES Modules import
|
|
43
|
+
* // const { NetworkFlowMonitorClient, GetQueryStatusWorkloadInsightsTopContributorsDataCommand } = require("@aws-sdk/client-networkflowmonitor"); // CommonJS import
|
|
44
|
+
* const client = new NetworkFlowMonitorClient(config);
|
|
45
|
+
* const input = { // GetQueryStatusWorkloadInsightsTopContributorsDataInput
|
|
46
|
+
* scopeId: "STRING_VALUE", // required
|
|
47
|
+
* queryId: "STRING_VALUE", // required
|
|
48
|
+
* };
|
|
49
|
+
* const command = new GetQueryStatusWorkloadInsightsTopContributorsDataCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // GetQueryStatusWorkloadInsightsTopContributorsDataOutput
|
|
52
|
+
* // status: "QUEUED" || "RUNNING" || "SUCCEEDED" || "FAILED" || "CANCELED", // required
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param GetQueryStatusWorkloadInsightsTopContributorsDataCommandInput - {@link GetQueryStatusWorkloadInsightsTopContributorsDataCommandInput}
|
|
58
|
+
* @returns {@link GetQueryStatusWorkloadInsightsTopContributorsDataCommandOutput}
|
|
59
|
+
* @see {@link GetQueryStatusWorkloadInsightsTopContributorsDataCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link GetQueryStatusWorkloadInsightsTopContributorsDataCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link NetworkFlowMonitorClientResolvedConfig | config} for NetworkFlowMonitorClient's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
64
|
+
* <p>You don't have sufficient permission to perform this action.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InternalServerException} (server fault)
|
|
67
|
+
* <p>An internal error occurred.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
70
|
+
* <p>The request exceeded a service quota.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
73
|
+
* <p>The request was denied due to request throttling.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ValidationException} (client fault)
|
|
76
|
+
* <p>Invalid request.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link NetworkFlowMonitorServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from NetworkFlowMonitor service.</p>
|
|
80
|
+
*
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export declare class GetQueryStatusWorkloadInsightsTopContributorsDataCommand extends GetQueryStatusWorkloadInsightsTopContributorsDataCommand_base {
|
|
84
|
+
/** @internal type navigation helper, not in runtime. */
|
|
85
|
+
protected static __types: {
|
|
86
|
+
api: {
|
|
87
|
+
input: GetQueryStatusWorkloadInsightsTopContributorsDataInput;
|
|
88
|
+
output: GetQueryStatusWorkloadInsightsTopContributorsDataOutput;
|
|
89
|
+
};
|
|
90
|
+
sdk: {
|
|
91
|
+
input: GetQueryStatusWorkloadInsightsTopContributorsDataCommandInput;
|
|
92
|
+
output: GetQueryStatusWorkloadInsightsTopContributorsDataCommandOutput;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
}
|