@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,103 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetScopeInput, GetScopeOutput } 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 GetScopeCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetScopeCommandInput extends GetScopeInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetScopeCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetScopeCommandOutput extends GetScopeOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetScopeCommand_base: {
|
|
25
|
+
new (input: GetScopeCommandInput): import("@smithy/smithy-client").CommandImpl<GetScopeCommandInput, GetScopeCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetScopeCommandInput): import("@smithy/smithy-client").CommandImpl<GetScopeCommandInput, GetScopeCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Gets information about a scope, including the name, status, tags, and target details.
|
|
31
|
+
* The scope in Network Flow Monitor is an account.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { NetworkFlowMonitorClient, GetScopeCommand } from "@aws-sdk/client-networkflowmonitor"; // ES Modules import
|
|
36
|
+
* // const { NetworkFlowMonitorClient, GetScopeCommand } = require("@aws-sdk/client-networkflowmonitor"); // CommonJS import
|
|
37
|
+
* const client = new NetworkFlowMonitorClient(config);
|
|
38
|
+
* const input = { // GetScopeInput
|
|
39
|
+
* scopeId: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new GetScopeCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // GetScopeOutput
|
|
44
|
+
* // scopeId: "STRING_VALUE", // required
|
|
45
|
+
* // status: "SUCCEEDED" || "IN_PROGRESS" || "FAILED", // required
|
|
46
|
+
* // scopeArn: "STRING_VALUE", // required
|
|
47
|
+
* // targets: [ // TargetResourceList // required
|
|
48
|
+
* // { // TargetResource
|
|
49
|
+
* // targetIdentifier: { // TargetIdentifier
|
|
50
|
+
* // targetId: { // TargetId Union: only one key present
|
|
51
|
+
* // accountId: "STRING_VALUE",
|
|
52
|
+
* // },
|
|
53
|
+
* // targetType: "ACCOUNT", // required
|
|
54
|
+
* // },
|
|
55
|
+
* // region: "STRING_VALUE", // required
|
|
56
|
+
* // },
|
|
57
|
+
* // ],
|
|
58
|
+
* // tags: { // TagMap
|
|
59
|
+
* // "<keys>": "STRING_VALUE",
|
|
60
|
+
* // },
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param GetScopeCommandInput - {@link GetScopeCommandInput}
|
|
66
|
+
* @returns {@link GetScopeCommandOutput}
|
|
67
|
+
* @see {@link GetScopeCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link GetScopeCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link NetworkFlowMonitorClientResolvedConfig | config} for NetworkFlowMonitorClient's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
72
|
+
* <p>You don't have sufficient permission to perform this action.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link InternalServerException} (server fault)
|
|
75
|
+
* <p>An internal error occurred.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
78
|
+
* <p>The request exceeded a service quota.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
81
|
+
* <p>The request was denied due to request throttling.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ValidationException} (client fault)
|
|
84
|
+
* <p>Invalid request.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link NetworkFlowMonitorServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from NetworkFlowMonitor service.</p>
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class GetScopeCommand extends GetScopeCommand_base {
|
|
92
|
+
/** @internal type navigation helper, not in runtime. */
|
|
93
|
+
protected static __types: {
|
|
94
|
+
api: {
|
|
95
|
+
input: GetScopeInput;
|
|
96
|
+
output: GetScopeOutput;
|
|
97
|
+
};
|
|
98
|
+
sdk: {
|
|
99
|
+
input: GetScopeCommandInput;
|
|
100
|
+
output: GetScopeCommandOutput;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListMonitorsInput, ListMonitorsOutput } 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 ListMonitorsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListMonitorsCommandInput extends ListMonitorsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListMonitorsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListMonitorsCommandOutput extends ListMonitorsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListMonitorsCommand_base: {
|
|
25
|
+
new (input: ListMonitorsCommandInput): import("@smithy/smithy-client").CommandImpl<ListMonitorsCommandInput, ListMonitorsCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListMonitorsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListMonitorsCommandInput, ListMonitorsCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>List all monitors in an account. Optionally, you can list only monitors that have a specific status, by
|
|
31
|
+
* using the <code>STATUS</code> parameter.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { NetworkFlowMonitorClient, ListMonitorsCommand } from "@aws-sdk/client-networkflowmonitor"; // ES Modules import
|
|
36
|
+
* // const { NetworkFlowMonitorClient, ListMonitorsCommand } = require("@aws-sdk/client-networkflowmonitor"); // CommonJS import
|
|
37
|
+
* const client = new NetworkFlowMonitorClient(config);
|
|
38
|
+
* const input = { // ListMonitorsInput
|
|
39
|
+
* nextToken: "STRING_VALUE",
|
|
40
|
+
* maxResults: Number("int"),
|
|
41
|
+
* monitorStatus: "PENDING" || "ACTIVE" || "INACTIVE" || "ERROR" || "DELETING",
|
|
42
|
+
* };
|
|
43
|
+
* const command = new ListMonitorsCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // ListMonitorsOutput
|
|
46
|
+
* // monitors: [ // MonitorList // required
|
|
47
|
+
* // { // MonitorSummary
|
|
48
|
+
* // monitorArn: "STRING_VALUE", // required
|
|
49
|
+
* // monitorName: "STRING_VALUE", // required
|
|
50
|
+
* // monitorStatus: "PENDING" || "ACTIVE" || "INACTIVE" || "ERROR" || "DELETING", // required
|
|
51
|
+
* // },
|
|
52
|
+
* // ],
|
|
53
|
+
* // nextToken: "STRING_VALUE",
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param ListMonitorsCommandInput - {@link ListMonitorsCommandInput}
|
|
59
|
+
* @returns {@link ListMonitorsCommandOutput}
|
|
60
|
+
* @see {@link ListMonitorsCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link ListMonitorsCommandOutput} for command's `response` shape.
|
|
62
|
+
* @see {@link NetworkFlowMonitorClientResolvedConfig | config} for NetworkFlowMonitorClient's `config` shape.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
65
|
+
* <p>You don't have sufficient permission to perform this action.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InternalServerException} (server fault)
|
|
68
|
+
* <p>An internal error occurred.</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 ListMonitorsCommand extends ListMonitorsCommand_base {
|
|
82
|
+
/** @internal type navigation helper, not in runtime. */
|
|
83
|
+
protected static __types: {
|
|
84
|
+
api: {
|
|
85
|
+
input: ListMonitorsInput;
|
|
86
|
+
output: ListMonitorsOutput;
|
|
87
|
+
};
|
|
88
|
+
sdk: {
|
|
89
|
+
input: ListMonitorsCommandInput;
|
|
90
|
+
output: ListMonitorsCommandOutput;
|
|
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 { ListScopesInput, ListScopesOutput } 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 ListScopesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListScopesCommandInput extends ListScopesInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListScopesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListScopesCommandOutput extends ListScopesOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListScopesCommand_base: {
|
|
25
|
+
new (input: ListScopesCommandInput): import("@smithy/smithy-client").CommandImpl<ListScopesCommandInput, ListScopesCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListScopesCommandInput]): import("@smithy/smithy-client").CommandImpl<ListScopesCommandInput, ListScopesCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>List all the scopes for an account.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { NetworkFlowMonitorClient, ListScopesCommand } from "@aws-sdk/client-networkflowmonitor"; // ES Modules import
|
|
35
|
+
* // const { NetworkFlowMonitorClient, ListScopesCommand } = require("@aws-sdk/client-networkflowmonitor"); // CommonJS import
|
|
36
|
+
* const client = new NetworkFlowMonitorClient(config);
|
|
37
|
+
* const input = { // ListScopesInput
|
|
38
|
+
* nextToken: "STRING_VALUE",
|
|
39
|
+
* maxResults: Number("int"),
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ListScopesCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ListScopesOutput
|
|
44
|
+
* // scopes: [ // ScopeSummaryList // required
|
|
45
|
+
* // { // ScopeSummary
|
|
46
|
+
* // scopeId: "STRING_VALUE", // required
|
|
47
|
+
* // status: "SUCCEEDED" || "IN_PROGRESS" || "FAILED", // required
|
|
48
|
+
* // scopeArn: "STRING_VALUE", // required
|
|
49
|
+
* // },
|
|
50
|
+
* // ],
|
|
51
|
+
* // nextToken: "STRING_VALUE",
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param ListScopesCommandInput - {@link ListScopesCommandInput}
|
|
57
|
+
* @returns {@link ListScopesCommandOutput}
|
|
58
|
+
* @see {@link ListScopesCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link ListScopesCommandOutput} 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 ListScopesCommand extends ListScopesCommand_base {
|
|
83
|
+
/** @internal type navigation helper, not in runtime. */
|
|
84
|
+
protected static __types: {
|
|
85
|
+
api: {
|
|
86
|
+
input: ListScopesInput;
|
|
87
|
+
output: ListScopesOutput;
|
|
88
|
+
};
|
|
89
|
+
sdk: {
|
|
90
|
+
input: ListScopesCommandInput;
|
|
91
|
+
output: ListScopesCommandOutput;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListTagsForResourceInput, ListTagsForResourceOutput } 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 ListTagsForResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListTagsForResourceCommandInput extends ListTagsForResourceInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListTagsForResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListTagsForResourceCommand_base: {
|
|
25
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns all the tags for a resource.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { NetworkFlowMonitorClient, ListTagsForResourceCommand } from "@aws-sdk/client-networkflowmonitor"; // ES Modules import
|
|
35
|
+
* // const { NetworkFlowMonitorClient, ListTagsForResourceCommand } = require("@aws-sdk/client-networkflowmonitor"); // CommonJS import
|
|
36
|
+
* const client = new NetworkFlowMonitorClient(config);
|
|
37
|
+
* const input = { // ListTagsForResourceInput
|
|
38
|
+
* resourceArn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new ListTagsForResourceCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // ListTagsForResourceOutput
|
|
43
|
+
* // tags: { // TagMap
|
|
44
|
+
* // "<keys>": "STRING_VALUE",
|
|
45
|
+
* // },
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
51
|
+
* @returns {@link ListTagsForResourceCommandOutput}
|
|
52
|
+
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link NetworkFlowMonitorClientResolvedConfig | config} for NetworkFlowMonitorClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
57
|
+
* <p>You don't have sufficient permission to perform this action.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ConflictException} (client fault)
|
|
60
|
+
* <p>The requested resource is in use.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InternalServerException} (server fault)
|
|
63
|
+
* <p>An internal error occurred.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
|
+
* <p>The request specifies a resource that doesn't exist.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
69
|
+
* <p>The request was denied due to request throttling.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ValidationException} (client fault)
|
|
72
|
+
* <p>Invalid request.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link NetworkFlowMonitorServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from NetworkFlowMonitor service.</p>
|
|
76
|
+
*
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
80
|
+
/** @internal type navigation helper, not in runtime. */
|
|
81
|
+
protected static __types: {
|
|
82
|
+
api: {
|
|
83
|
+
input: ListTagsForResourceInput;
|
|
84
|
+
output: ListTagsForResourceOutput;
|
|
85
|
+
};
|
|
86
|
+
sdk: {
|
|
87
|
+
input: ListTagsForResourceCommandInput;
|
|
88
|
+
output: ListTagsForResourceCommandOutput;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { StartQueryMonitorTopContributorsInput, StartQueryMonitorTopContributorsOutput } 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 StartQueryMonitorTopContributorsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StartQueryMonitorTopContributorsCommandInput extends StartQueryMonitorTopContributorsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StartQueryMonitorTopContributorsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StartQueryMonitorTopContributorsCommandOutput extends StartQueryMonitorTopContributorsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const StartQueryMonitorTopContributorsCommand_base: {
|
|
25
|
+
new (input: StartQueryMonitorTopContributorsCommandInput): import("@smithy/smithy-client").CommandImpl<StartQueryMonitorTopContributorsCommandInput, StartQueryMonitorTopContributorsCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: StartQueryMonitorTopContributorsCommandInput): import("@smithy/smithy-client").CommandImpl<StartQueryMonitorTopContributorsCommandInput, StartQueryMonitorTopContributorsCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Start a query to return the data 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 a specific monitor.</p>
|
|
33
|
+
* <p>Top contributors in Network Flow Monitor are network flows with the highest values for a specific
|
|
34
|
+
* metric type, related to a scope (for workload insights) or a monitor.</p>
|
|
35
|
+
* @example
|
|
36
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
+
* ```javascript
|
|
38
|
+
* import { NetworkFlowMonitorClient, StartQueryMonitorTopContributorsCommand } from "@aws-sdk/client-networkflowmonitor"; // ES Modules import
|
|
39
|
+
* // const { NetworkFlowMonitorClient, StartQueryMonitorTopContributorsCommand } = require("@aws-sdk/client-networkflowmonitor"); // CommonJS import
|
|
40
|
+
* const client = new NetworkFlowMonitorClient(config);
|
|
41
|
+
* const input = { // StartQueryMonitorTopContributorsInput
|
|
42
|
+
* monitorName: "STRING_VALUE", // required
|
|
43
|
+
* startTime: new Date("TIMESTAMP"), // required
|
|
44
|
+
* endTime: new Date("TIMESTAMP"), // required
|
|
45
|
+
* metricName: "ROUND_TRIP_TIME" || "TIMEOUTS" || "RETRANSMISSIONS" || "DATA_TRANSFERRED", // required
|
|
46
|
+
* destinationCategory: "INTRA_AZ" || "INTER_AZ" || "INTER_VPC" || "UNCLASSIFIED" || "AMAZON_S3" || "AMAZON_DYNAMODB", // required
|
|
47
|
+
* limit: Number("int"),
|
|
48
|
+
* };
|
|
49
|
+
* const command = new StartQueryMonitorTopContributorsCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // StartQueryMonitorTopContributorsOutput
|
|
52
|
+
* // queryId: "STRING_VALUE", // required
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param StartQueryMonitorTopContributorsCommandInput - {@link StartQueryMonitorTopContributorsCommandInput}
|
|
58
|
+
* @returns {@link StartQueryMonitorTopContributorsCommandOutput}
|
|
59
|
+
* @see {@link StartQueryMonitorTopContributorsCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link StartQueryMonitorTopContributorsCommandOutput} 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 StartQueryMonitorTopContributorsCommand extends StartQueryMonitorTopContributorsCommand_base {
|
|
84
|
+
/** @internal type navigation helper, not in runtime. */
|
|
85
|
+
protected static __types: {
|
|
86
|
+
api: {
|
|
87
|
+
input: StartQueryMonitorTopContributorsInput;
|
|
88
|
+
output: StartQueryMonitorTopContributorsOutput;
|
|
89
|
+
};
|
|
90
|
+
sdk: {
|
|
91
|
+
input: StartQueryMonitorTopContributorsCommandInput;
|
|
92
|
+
output: StartQueryMonitorTopContributorsCommandOutput;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { StartQueryWorkloadInsightsTopContributorsInput, StartQueryWorkloadInsightsTopContributorsOutput } 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 StartQueryWorkloadInsightsTopContributorsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StartQueryWorkloadInsightsTopContributorsCommandInput extends StartQueryWorkloadInsightsTopContributorsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StartQueryWorkloadInsightsTopContributorsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StartQueryWorkloadInsightsTopContributorsCommandOutput extends StartQueryWorkloadInsightsTopContributorsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const StartQueryWorkloadInsightsTopContributorsCommand_base: {
|
|
25
|
+
new (input: StartQueryWorkloadInsightsTopContributorsCommandInput): import("@smithy/smithy-client").CommandImpl<StartQueryWorkloadInsightsTopContributorsCommandInput, StartQueryWorkloadInsightsTopContributorsCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: StartQueryWorkloadInsightsTopContributorsCommandInput): import("@smithy/smithy-client").CommandImpl<StartQueryWorkloadInsightsTopContributorsCommandInput, StartQueryWorkloadInsightsTopContributorsCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Start a query to return the data with the Network Flow Monitor query interface.
|
|
31
|
+
* Specify the query that you want to start by providing a query ID
|
|
32
|
+
* and a monitor name. This query returns the top contributors for a specific monitor.</p>
|
|
33
|
+
* <p>Top contributors in Network Flow Monitor are network flows with the highest values for a specific
|
|
34
|
+
* metric type, related to a scope (for workload insights) or a monitor.</p>
|
|
35
|
+
* @example
|
|
36
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
+
* ```javascript
|
|
38
|
+
* import { NetworkFlowMonitorClient, StartQueryWorkloadInsightsTopContributorsCommand } from "@aws-sdk/client-networkflowmonitor"; // ES Modules import
|
|
39
|
+
* // const { NetworkFlowMonitorClient, StartQueryWorkloadInsightsTopContributorsCommand } = require("@aws-sdk/client-networkflowmonitor"); // CommonJS import
|
|
40
|
+
* const client = new NetworkFlowMonitorClient(config);
|
|
41
|
+
* const input = { // StartQueryWorkloadInsightsTopContributorsInput
|
|
42
|
+
* scopeId: "STRING_VALUE", // required
|
|
43
|
+
* startTime: new Date("TIMESTAMP"), // required
|
|
44
|
+
* endTime: new Date("TIMESTAMP"), // required
|
|
45
|
+
* metricName: "TIMEOUTS" || "RETRANSMISSIONS" || "DATA_TRANSFERRED", // required
|
|
46
|
+
* destinationCategory: "INTRA_AZ" || "INTER_AZ" || "INTER_VPC" || "UNCLASSIFIED" || "AMAZON_S3" || "AMAZON_DYNAMODB", // required
|
|
47
|
+
* limit: Number("int"),
|
|
48
|
+
* };
|
|
49
|
+
* const command = new StartQueryWorkloadInsightsTopContributorsCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // StartQueryWorkloadInsightsTopContributorsOutput
|
|
52
|
+
* // queryId: "STRING_VALUE", // required
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param StartQueryWorkloadInsightsTopContributorsCommandInput - {@link StartQueryWorkloadInsightsTopContributorsCommandInput}
|
|
58
|
+
* @returns {@link StartQueryWorkloadInsightsTopContributorsCommandOutput}
|
|
59
|
+
* @see {@link StartQueryWorkloadInsightsTopContributorsCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link StartQueryWorkloadInsightsTopContributorsCommandOutput} 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 StartQueryWorkloadInsightsTopContributorsCommand extends StartQueryWorkloadInsightsTopContributorsCommand_base {
|
|
84
|
+
/** @internal type navigation helper, not in runtime. */
|
|
85
|
+
protected static __types: {
|
|
86
|
+
api: {
|
|
87
|
+
input: StartQueryWorkloadInsightsTopContributorsInput;
|
|
88
|
+
output: StartQueryWorkloadInsightsTopContributorsOutput;
|
|
89
|
+
};
|
|
90
|
+
sdk: {
|
|
91
|
+
input: StartQueryWorkloadInsightsTopContributorsCommandInput;
|
|
92
|
+
output: StartQueryWorkloadInsightsTopContributorsCommandOutput;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
}
|