@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,100 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { StartQueryWorkloadInsightsTopContributorsDataInput, StartQueryWorkloadInsightsTopContributorsDataOutput } 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 StartQueryWorkloadInsightsTopContributorsDataCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StartQueryWorkloadInsightsTopContributorsDataCommandInput extends StartQueryWorkloadInsightsTopContributorsDataInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StartQueryWorkloadInsightsTopContributorsDataCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StartQueryWorkloadInsightsTopContributorsDataCommandOutput extends StartQueryWorkloadInsightsTopContributorsDataOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const StartQueryWorkloadInsightsTopContributorsDataCommand_base: {
|
|
25
|
+
new (input: StartQueryWorkloadInsightsTopContributorsDataCommandInput): import("@smithy/smithy-client").CommandImpl<StartQueryWorkloadInsightsTopContributorsDataCommandInput, StartQueryWorkloadInsightsTopContributorsDataCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: StartQueryWorkloadInsightsTopContributorsDataCommandInput): import("@smithy/smithy-client").CommandImpl<StartQueryWorkloadInsightsTopContributorsDataCommandInput, StartQueryWorkloadInsightsTopContributorsDataCommandOutput, 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>A query ID is returned from an API call to start a query of a specific type; for
|
|
36
|
+
* example </p>
|
|
37
|
+
* <p>Top contributors in Network Flow Monitor are network flows with the highest values for a specific
|
|
38
|
+
* metric type, related to a scope (for workload insights) or a monitor.</p>
|
|
39
|
+
* <p>The top contributor network flows overall for a specific metric type, for example, the
|
|
40
|
+
* number of retransmissions.</p>
|
|
41
|
+
* @example
|
|
42
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
43
|
+
* ```javascript
|
|
44
|
+
* import { NetworkFlowMonitorClient, StartQueryWorkloadInsightsTopContributorsDataCommand } from "@aws-sdk/client-networkflowmonitor"; // ES Modules import
|
|
45
|
+
* // const { NetworkFlowMonitorClient, StartQueryWorkloadInsightsTopContributorsDataCommand } = require("@aws-sdk/client-networkflowmonitor"); // CommonJS import
|
|
46
|
+
* const client = new NetworkFlowMonitorClient(config);
|
|
47
|
+
* const input = { // StartQueryWorkloadInsightsTopContributorsDataInput
|
|
48
|
+
* scopeId: "STRING_VALUE", // required
|
|
49
|
+
* startTime: new Date("TIMESTAMP"), // required
|
|
50
|
+
* endTime: new Date("TIMESTAMP"), // required
|
|
51
|
+
* metricName: "TIMEOUTS" || "RETRANSMISSIONS" || "DATA_TRANSFERRED", // required
|
|
52
|
+
* destinationCategory: "INTRA_AZ" || "INTER_AZ" || "INTER_VPC" || "UNCLASSIFIED" || "AMAZON_S3" || "AMAZON_DYNAMODB", // required
|
|
53
|
+
* };
|
|
54
|
+
* const command = new StartQueryWorkloadInsightsTopContributorsDataCommand(input);
|
|
55
|
+
* const response = await client.send(command);
|
|
56
|
+
* // { // StartQueryWorkloadInsightsTopContributorsDataOutput
|
|
57
|
+
* // queryId: "STRING_VALUE", // required
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @param StartQueryWorkloadInsightsTopContributorsDataCommandInput - {@link StartQueryWorkloadInsightsTopContributorsDataCommandInput}
|
|
63
|
+
* @returns {@link StartQueryWorkloadInsightsTopContributorsDataCommandOutput}
|
|
64
|
+
* @see {@link StartQueryWorkloadInsightsTopContributorsDataCommandInput} for command's `input` shape.
|
|
65
|
+
* @see {@link StartQueryWorkloadInsightsTopContributorsDataCommandOutput} for command's `response` shape.
|
|
66
|
+
* @see {@link NetworkFlowMonitorClientResolvedConfig | config} for NetworkFlowMonitorClient's `config` shape.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
69
|
+
* <p>You don't have sufficient permission to perform this action.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link InternalServerException} (server fault)
|
|
72
|
+
* <p>An internal error occurred.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
75
|
+
* <p>The request exceeded a service quota.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
78
|
+
* <p>The request was denied due to request throttling.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ValidationException} (client fault)
|
|
81
|
+
* <p>Invalid request.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link NetworkFlowMonitorServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from NetworkFlowMonitor service.</p>
|
|
85
|
+
*
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
export declare class StartQueryWorkloadInsightsTopContributorsDataCommand extends StartQueryWorkloadInsightsTopContributorsDataCommand_base {
|
|
89
|
+
/** @internal type navigation helper, not in runtime. */
|
|
90
|
+
protected static __types: {
|
|
91
|
+
api: {
|
|
92
|
+
input: StartQueryWorkloadInsightsTopContributorsDataInput;
|
|
93
|
+
output: StartQueryWorkloadInsightsTopContributorsDataOutput;
|
|
94
|
+
};
|
|
95
|
+
sdk: {
|
|
96
|
+
input: StartQueryWorkloadInsightsTopContributorsDataCommandInput;
|
|
97
|
+
output: StartQueryWorkloadInsightsTopContributorsDataCommandOutput;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { StopQueryMonitorTopContributorsInput, StopQueryMonitorTopContributorsOutput } 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 StopQueryMonitorTopContributorsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StopQueryMonitorTopContributorsCommandInput extends StopQueryMonitorTopContributorsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StopQueryMonitorTopContributorsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StopQueryMonitorTopContributorsCommandOutput extends StopQueryMonitorTopContributorsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const StopQueryMonitorTopContributorsCommand_base: {
|
|
25
|
+
new (input: StopQueryMonitorTopContributorsCommandInput): import("@smithy/smithy-client").CommandImpl<StopQueryMonitorTopContributorsCommandInput, StopQueryMonitorTopContributorsCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: StopQueryMonitorTopContributorsCommandInput): import("@smithy/smithy-client").CommandImpl<StopQueryMonitorTopContributorsCommandInput, StopQueryMonitorTopContributorsCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Stop a query with the Network Flow Monitor query interface.
|
|
31
|
+
* Specify the query that you want to stop 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, StopQueryMonitorTopContributorsCommand } from "@aws-sdk/client-networkflowmonitor"; // ES Modules import
|
|
39
|
+
* // const { NetworkFlowMonitorClient, StopQueryMonitorTopContributorsCommand } = require("@aws-sdk/client-networkflowmonitor"); // CommonJS import
|
|
40
|
+
* const client = new NetworkFlowMonitorClient(config);
|
|
41
|
+
* const input = { // StopQueryMonitorTopContributorsInput
|
|
42
|
+
* monitorName: "STRING_VALUE", // required
|
|
43
|
+
* queryId: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
45
|
+
* const command = new StopQueryMonitorTopContributorsCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // {};
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param StopQueryMonitorTopContributorsCommandInput - {@link StopQueryMonitorTopContributorsCommandInput}
|
|
52
|
+
* @returns {@link StopQueryMonitorTopContributorsCommandOutput}
|
|
53
|
+
* @see {@link StopQueryMonitorTopContributorsCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link StopQueryMonitorTopContributorsCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link NetworkFlowMonitorClientResolvedConfig | config} for NetworkFlowMonitorClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
58
|
+
* <p>You don't have sufficient permission to perform this action.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InternalServerException} (server fault)
|
|
61
|
+
* <p>An internal error occurred.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
64
|
+
* <p>The request exceeded a service quota.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
67
|
+
* <p>The request was denied due to request throttling.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ValidationException} (client fault)
|
|
70
|
+
* <p>Invalid request.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link NetworkFlowMonitorServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from NetworkFlowMonitor service.</p>
|
|
74
|
+
*
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export declare class StopQueryMonitorTopContributorsCommand extends StopQueryMonitorTopContributorsCommand_base {
|
|
78
|
+
/** @internal type navigation helper, not in runtime. */
|
|
79
|
+
protected static __types: {
|
|
80
|
+
api: {
|
|
81
|
+
input: StopQueryMonitorTopContributorsInput;
|
|
82
|
+
output: {};
|
|
83
|
+
};
|
|
84
|
+
sdk: {
|
|
85
|
+
input: StopQueryMonitorTopContributorsCommandInput;
|
|
86
|
+
output: StopQueryMonitorTopContributorsCommandOutput;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { StopQueryWorkloadInsightsTopContributorsInput, StopQueryWorkloadInsightsTopContributorsOutput } 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 StopQueryWorkloadInsightsTopContributorsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StopQueryWorkloadInsightsTopContributorsCommandInput extends StopQueryWorkloadInsightsTopContributorsInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StopQueryWorkloadInsightsTopContributorsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StopQueryWorkloadInsightsTopContributorsCommandOutput extends StopQueryWorkloadInsightsTopContributorsOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const StopQueryWorkloadInsightsTopContributorsCommand_base: {
|
|
25
|
+
new (input: StopQueryWorkloadInsightsTopContributorsCommandInput): import("@smithy/smithy-client").CommandImpl<StopQueryWorkloadInsightsTopContributorsCommandInput, StopQueryWorkloadInsightsTopContributorsCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: StopQueryWorkloadInsightsTopContributorsCommandInput): import("@smithy/smithy-client").CommandImpl<StopQueryWorkloadInsightsTopContributorsCommandInput, StopQueryWorkloadInsightsTopContributorsCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Stop a query with the Network Flow Monitor query interface.
|
|
31
|
+
* Specify the query that you want to stop 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, StopQueryWorkloadInsightsTopContributorsCommand } from "@aws-sdk/client-networkflowmonitor"; // ES Modules import
|
|
39
|
+
* // const { NetworkFlowMonitorClient, StopQueryWorkloadInsightsTopContributorsCommand } = require("@aws-sdk/client-networkflowmonitor"); // CommonJS import
|
|
40
|
+
* const client = new NetworkFlowMonitorClient(config);
|
|
41
|
+
* const input = { // StopQueryWorkloadInsightsTopContributorsInput
|
|
42
|
+
* scopeId: "STRING_VALUE", // required
|
|
43
|
+
* queryId: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
45
|
+
* const command = new StopQueryWorkloadInsightsTopContributorsCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // {};
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param StopQueryWorkloadInsightsTopContributorsCommandInput - {@link StopQueryWorkloadInsightsTopContributorsCommandInput}
|
|
52
|
+
* @returns {@link StopQueryWorkloadInsightsTopContributorsCommandOutput}
|
|
53
|
+
* @see {@link StopQueryWorkloadInsightsTopContributorsCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link StopQueryWorkloadInsightsTopContributorsCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link NetworkFlowMonitorClientResolvedConfig | config} for NetworkFlowMonitorClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
58
|
+
* <p>You don't have sufficient permission to perform this action.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link InternalServerException} (server fault)
|
|
61
|
+
* <p>An internal error occurred.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
64
|
+
* <p>The request exceeded a service quota.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
67
|
+
* <p>The request was denied due to request throttling.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ValidationException} (client fault)
|
|
70
|
+
* <p>Invalid request.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link NetworkFlowMonitorServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from NetworkFlowMonitor service.</p>
|
|
74
|
+
*
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export declare class StopQueryWorkloadInsightsTopContributorsCommand extends StopQueryWorkloadInsightsTopContributorsCommand_base {
|
|
78
|
+
/** @internal type navigation helper, not in runtime. */
|
|
79
|
+
protected static __types: {
|
|
80
|
+
api: {
|
|
81
|
+
input: StopQueryWorkloadInsightsTopContributorsInput;
|
|
82
|
+
output: {};
|
|
83
|
+
};
|
|
84
|
+
sdk: {
|
|
85
|
+
input: StopQueryWorkloadInsightsTopContributorsCommandInput;
|
|
86
|
+
output: StopQueryWorkloadInsightsTopContributorsCommandOutput;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { StopQueryWorkloadInsightsTopContributorsDataInput, StopQueryWorkloadInsightsTopContributorsDataOutput } 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 StopQueryWorkloadInsightsTopContributorsDataCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StopQueryWorkloadInsightsTopContributorsDataCommandInput extends StopQueryWorkloadInsightsTopContributorsDataInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StopQueryWorkloadInsightsTopContributorsDataCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StopQueryWorkloadInsightsTopContributorsDataCommandOutput extends StopQueryWorkloadInsightsTopContributorsDataOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const StopQueryWorkloadInsightsTopContributorsDataCommand_base: {
|
|
25
|
+
new (input: StopQueryWorkloadInsightsTopContributorsDataCommandInput): import("@smithy/smithy-client").CommandImpl<StopQueryWorkloadInsightsTopContributorsDataCommandInput, StopQueryWorkloadInsightsTopContributorsDataCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: StopQueryWorkloadInsightsTopContributorsDataCommandInput): import("@smithy/smithy-client").CommandImpl<StopQueryWorkloadInsightsTopContributorsDataCommandInput, StopQueryWorkloadInsightsTopContributorsDataCommandOutput, 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>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, StopQueryWorkloadInsightsTopContributorsDataCommand } from "@aws-sdk/client-networkflowmonitor"; // ES Modules import
|
|
43
|
+
* // const { NetworkFlowMonitorClient, StopQueryWorkloadInsightsTopContributorsDataCommand } = require("@aws-sdk/client-networkflowmonitor"); // CommonJS import
|
|
44
|
+
* const client = new NetworkFlowMonitorClient(config);
|
|
45
|
+
* const input = { // StopQueryWorkloadInsightsTopContributorsDataInput
|
|
46
|
+
* scopeId: "STRING_VALUE", // required
|
|
47
|
+
* queryId: "STRING_VALUE", // required
|
|
48
|
+
* };
|
|
49
|
+
* const command = new StopQueryWorkloadInsightsTopContributorsDataCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // {};
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param StopQueryWorkloadInsightsTopContributorsDataCommandInput - {@link StopQueryWorkloadInsightsTopContributorsDataCommandInput}
|
|
56
|
+
* @returns {@link StopQueryWorkloadInsightsTopContributorsDataCommandOutput}
|
|
57
|
+
* @see {@link StopQueryWorkloadInsightsTopContributorsDataCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link StopQueryWorkloadInsightsTopContributorsDataCommandOutput} 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 StopQueryWorkloadInsightsTopContributorsDataCommand extends StopQueryWorkloadInsightsTopContributorsDataCommand_base {
|
|
82
|
+
/** @internal type navigation helper, not in runtime. */
|
|
83
|
+
protected static __types: {
|
|
84
|
+
api: {
|
|
85
|
+
input: StopQueryWorkloadInsightsTopContributorsDataInput;
|
|
86
|
+
output: {};
|
|
87
|
+
};
|
|
88
|
+
sdk: {
|
|
89
|
+
input: StopQueryWorkloadInsightsTopContributorsDataCommandInput;
|
|
90
|
+
output: StopQueryWorkloadInsightsTopContributorsDataCommandOutput;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { TagResourceInput, TagResourceOutput } 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 TagResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface TagResourceCommandInput extends TagResourceInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link TagResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const TagResourceCommand_base: {
|
|
25
|
+
new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Adds a tag to 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, TagResourceCommand } from "@aws-sdk/client-networkflowmonitor"; // ES Modules import
|
|
35
|
+
* // const { NetworkFlowMonitorClient, TagResourceCommand } = require("@aws-sdk/client-networkflowmonitor"); // CommonJS import
|
|
36
|
+
* const client = new NetworkFlowMonitorClient(config);
|
|
37
|
+
* const input = { // TagResourceInput
|
|
38
|
+
* resourceArn: "STRING_VALUE", // required
|
|
39
|
+
* tags: { // TagMap // required
|
|
40
|
+
* "<keys>": "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* };
|
|
43
|
+
* const command = new TagResourceCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
50
|
+
* @returns {@link TagResourceCommandOutput}
|
|
51
|
+
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link NetworkFlowMonitorClientResolvedConfig | config} for NetworkFlowMonitorClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
56
|
+
* <p>You don't have sufficient permission to perform this action.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ConflictException} (client fault)
|
|
59
|
+
* <p>The requested resource is in use.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InternalServerException} (server fault)
|
|
62
|
+
* <p>An internal error occurred.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
65
|
+
* <p>The request specifies a resource that doesn't exist.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
68
|
+
* <p>The request was denied due to request throttling.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ValidationException} (client fault)
|
|
71
|
+
* <p>Invalid request.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link NetworkFlowMonitorServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from NetworkFlowMonitor service.</p>
|
|
75
|
+
*
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
79
|
+
/** @internal type navigation helper, not in runtime. */
|
|
80
|
+
protected static __types: {
|
|
81
|
+
api: {
|
|
82
|
+
input: TagResourceInput;
|
|
83
|
+
output: {};
|
|
84
|
+
};
|
|
85
|
+
sdk: {
|
|
86
|
+
input: TagResourceCommandInput;
|
|
87
|
+
output: TagResourceCommandOutput;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { UntagResourceInput, UntagResourceOutput } 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 UntagResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UntagResourceCommandInput extends UntagResourceInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UntagResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UntagResourceCommandOutput extends UntagResourceOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UntagResourceCommand_base: {
|
|
25
|
+
new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Removes a tag from 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, UntagResourceCommand } from "@aws-sdk/client-networkflowmonitor"; // ES Modules import
|
|
35
|
+
* // const { NetworkFlowMonitorClient, UntagResourceCommand } = require("@aws-sdk/client-networkflowmonitor"); // CommonJS import
|
|
36
|
+
* const client = new NetworkFlowMonitorClient(config);
|
|
37
|
+
* const input = { // UntagResourceInput
|
|
38
|
+
* resourceArn: "STRING_VALUE", // required
|
|
39
|
+
* tagKeys: [ // TagKeyList // required
|
|
40
|
+
* "STRING_VALUE",
|
|
41
|
+
* ],
|
|
42
|
+
* };
|
|
43
|
+
* const command = new UntagResourceCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
50
|
+
* @returns {@link UntagResourceCommandOutput}
|
|
51
|
+
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link NetworkFlowMonitorClientResolvedConfig | config} for NetworkFlowMonitorClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
56
|
+
* <p>You don't have sufficient permission to perform this action.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ConflictException} (client fault)
|
|
59
|
+
* <p>The requested resource is in use.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InternalServerException} (server fault)
|
|
62
|
+
* <p>An internal error occurred.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
65
|
+
* <p>The request specifies a resource that doesn't exist.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
68
|
+
* <p>The request was denied due to request throttling.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ValidationException} (client fault)
|
|
71
|
+
* <p>Invalid request.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link NetworkFlowMonitorServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from NetworkFlowMonitor service.</p>
|
|
75
|
+
*
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
79
|
+
/** @internal type navigation helper, not in runtime. */
|
|
80
|
+
protected static __types: {
|
|
81
|
+
api: {
|
|
82
|
+
input: UntagResourceInput;
|
|
83
|
+
output: {};
|
|
84
|
+
};
|
|
85
|
+
sdk: {
|
|
86
|
+
input: UntagResourceCommandInput;
|
|
87
|
+
output: UntagResourceCommandOutput;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}
|