@aws-sdk/client-networkflowmonitor 3.1168.0 → 3.1170.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/README.md +70 -0
- package/dist-cjs/index.js +404 -9
- package/dist-es/NetworkFlowMonitor.js +26 -0
- package/dist-es/commands/CreatePerformanceMonitorCommand.js +4 -0
- package/dist-es/commands/DeletePerformanceMonitorCommand.js +4 -0
- package/dist-es/commands/GetMonitorScopeSuggestionsCommand.js +4 -0
- package/dist-es/commands/GetPerformanceMonitorCommand.js +4 -0
- package/dist-es/commands/GetQueryResultsPerformanceMonitorCommand.js +4 -0
- package/dist-es/commands/GetQueryStatusPerformanceMonitorCommand.js +4 -0
- package/dist-es/commands/ListPerformanceMonitorsCommand.js +4 -0
- package/dist-es/commands/StartQueryPerformanceMonitorCommand.js +4 -0
- package/dist-es/commands/StopQueryPerformanceMonitorCommand.js +4 -0
- package/dist-es/commands/UpdatePerformanceMonitorCommand.js +4 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/models/enums.js +30 -0
- package/dist-es/pagination/GetMonitorScopeSuggestionsPaginator.js +4 -0
- package/dist-es/pagination/GetQueryResultsPerformanceMonitorPaginator.js +4 -0
- package/dist-es/pagination/ListPerformanceMonitorsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/schemas/schemas_0.js +268 -8
- package/dist-types/NetworkFlowMonitor.d.ts +92 -0
- package/dist-types/NetworkFlowMonitorClient.d.ts +12 -2
- package/dist-types/commands/CreatePerformanceMonitorCommand.d.ts +114 -0
- package/dist-types/commands/DeletePerformanceMonitorCommand.d.ts +87 -0
- package/dist-types/commands/GetMonitorScopeSuggestionsCommand.d.ts +97 -0
- package/dist-types/commands/GetPerformanceMonitorCommand.d.ts +100 -0
- package/dist-types/commands/GetQueryResultsMonitorTopContributorsCommand.d.ts +12 -1
- package/dist-types/commands/GetQueryResultsPerformanceMonitorCommand.d.ts +103 -0
- package/dist-types/commands/GetQueryStatusPerformanceMonitorCommand.d.ts +90 -0
- package/dist-types/commands/ListPerformanceMonitorsCommand.d.ts +100 -0
- package/dist-types/commands/StartQueryMonitorTopContributorsCommand.d.ts +1 -1
- package/dist-types/commands/StartQueryPerformanceMonitorCommand.d.ts +102 -0
- package/dist-types/commands/StartQueryWorkloadInsightsTopContributorsCommand.d.ts +1 -1
- package/dist-types/commands/StartQueryWorkloadInsightsTopContributorsDataCommand.d.ts +1 -1
- package/dist-types/commands/StopQueryPerformanceMonitorCommand.d.ts +88 -0
- package/dist-types/commands/UpdatePerformanceMonitorCommand.d.ts +119 -0
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/models/enums.d.ts +78 -0
- package/dist-types/models/models_0.d.ts +599 -1
- package/dist-types/pagination/GetMonitorScopeSuggestionsPaginator.d.ts +7 -0
- package/dist-types/pagination/GetQueryResultsPerformanceMonitorPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPerformanceMonitorsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/schemas/schemas_0.d.ts +38 -0
- package/dist-types/ts3.4/NetworkFlowMonitor.d.ts +192 -0
- package/dist-types/ts3.4/NetworkFlowMonitorClient.d.ts +60 -0
- package/dist-types/ts3.4/commands/CreatePerformanceMonitorCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeletePerformanceMonitorCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetMonitorScopeSuggestionsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetPerformanceMonitorCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetQueryResultsPerformanceMonitorCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetQueryStatusPerformanceMonitorCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListPerformanceMonitorsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/StartQueryPerformanceMonitorCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StopQueryPerformanceMonitorCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdatePerformanceMonitorCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/enums.d.ts +39 -0
- package/dist-types/ts3.4/models/models_0.d.ts +150 -0
- package/dist-types/ts3.4/pagination/GetMonitorScopeSuggestionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetQueryResultsPerformanceMonitorPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPerformanceMonitorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +38 -0
- package/package.json +1 -1
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetPerformanceMonitorInput, GetPerformanceMonitorOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetPerformanceMonitorCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetPerformanceMonitorCommandInput extends GetPerformanceMonitorInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetPerformanceMonitorCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetPerformanceMonitorCommandOutput extends GetPerformanceMonitorOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetPerformanceMonitorCommand_base: {
|
|
22
|
+
new (input: GetPerformanceMonitorCommandInput): import("@smithy/core/client").CommandImpl<GetPerformanceMonitorCommandInput, GetPerformanceMonitorCommandOutput, import("..").NetworkFlowMonitorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetPerformanceMonitorCommandInput): import("@smithy/core/client").CommandImpl<GetPerformanceMonitorCommandInput, GetPerformanceMonitorCommandOutput, import("..").NetworkFlowMonitorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Returns information about a performance monitor, including the resources that it monitors, its status, and the tags for the monitor.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { NetworkFlowMonitorClient, GetPerformanceMonitorCommand } from "@aws-sdk/client-networkflowmonitor"; // ES Modules import
|
|
32
|
+
* // const { NetworkFlowMonitorClient, GetPerformanceMonitorCommand } = require("@aws-sdk/client-networkflowmonitor"); // CommonJS import
|
|
33
|
+
* // import type { NetworkFlowMonitorClientConfig } from "@aws-sdk/client-networkflowmonitor";
|
|
34
|
+
* const config = {}; // type is NetworkFlowMonitorClientConfig
|
|
35
|
+
* const client = new NetworkFlowMonitorClient(config);
|
|
36
|
+
* const input = { // GetPerformanceMonitorInput
|
|
37
|
+
* monitorName: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new GetPerformanceMonitorCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // GetPerformanceMonitorOutput
|
|
42
|
+
* // monitorArn: "STRING_VALUE", // required
|
|
43
|
+
* // monitorName: "STRING_VALUE", // required
|
|
44
|
+
* // monitorStatus: "PENDING" || "ACTIVE" || "INACTIVE" || "ERROR" || "DELETING", // required
|
|
45
|
+
* // monitorType: "VPC", // required
|
|
46
|
+
* // targets: [ // PerformanceMonitorTargets // required
|
|
47
|
+
* // { // PerformanceMonitorTarget
|
|
48
|
+
* // type: "AWS::EC2::VPC", // required
|
|
49
|
+
* // identifier: "STRING_VALUE", // required
|
|
50
|
+
* // },
|
|
51
|
+
* // ],
|
|
52
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
53
|
+
* // modifiedAt: new Date("TIMESTAMP"), // required
|
|
54
|
+
* // tags: { // TagMap
|
|
55
|
+
* // "<keys>": "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param GetPerformanceMonitorCommandInput - {@link GetPerformanceMonitorCommandInput}
|
|
62
|
+
* @returns {@link GetPerformanceMonitorCommandOutput}
|
|
63
|
+
* @see {@link GetPerformanceMonitorCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link GetPerformanceMonitorCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link NetworkFlowMonitorClientResolvedConfig | config} for NetworkFlowMonitorClient's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
68
|
+
* <p>You don't have sufficient permission to perform this action.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InternalServerException} (server fault)
|
|
71
|
+
* <p>An internal error occurred.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
74
|
+
* <p>The request specifies a resource that doesn't exist.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
77
|
+
* <p>The request was denied due to request throttling.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ValidationException} (client fault)
|
|
80
|
+
* <p>Invalid request.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link NetworkFlowMonitorServiceException}
|
|
83
|
+
* <p>Base exception class for all service exceptions from NetworkFlowMonitor service.</p>
|
|
84
|
+
*
|
|
85
|
+
*
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
export declare class GetPerformanceMonitorCommand extends GetPerformanceMonitorCommand_base {
|
|
89
|
+
/** @internal type navigation helper, not in runtime. */
|
|
90
|
+
protected static __types: {
|
|
91
|
+
api: {
|
|
92
|
+
input: GetPerformanceMonitorInput;
|
|
93
|
+
output: GetPerformanceMonitorOutput;
|
|
94
|
+
};
|
|
95
|
+
sdk: {
|
|
96
|
+
input: GetPerformanceMonitorCommandInput;
|
|
97
|
+
output: GetPerformanceMonitorCommandOutput;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
}
|
|
@@ -53,7 +53,7 @@ declare const GetQueryResultsMonitorTopContributorsCommand_base: {
|
|
|
53
53
|
* // localAz: "STRING_VALUE",
|
|
54
54
|
* // localSubnetId: "STRING_VALUE",
|
|
55
55
|
* // targetPort: Number("int"),
|
|
56
|
-
* // destinationCategory: "INTRA_AZ" || "INTER_AZ" || "INTER_VPC" || "UNCLASSIFIED" || "AMAZON_S3" || "AMAZON_DYNAMODB" || "INTER_REGION",
|
|
56
|
+
* // destinationCategory: "INTRA_AZ" || "INTER_AZ" || "INTER_VPC" || "UNCLASSIFIED" || "AMAZON_S3" || "AMAZON_DYNAMODB" || "INTER_REGION" || "INTERNET" || "AWS_SERVICE" || "LOCAL_ZONE" || "TRANSIT_GATEWAY",
|
|
57
57
|
* // remoteVpcId: "STRING_VALUE",
|
|
58
58
|
* // remoteRegion: "STRING_VALUE",
|
|
59
59
|
* // remoteAz: "STRING_VALUE",
|
|
@@ -84,6 +84,17 @@ declare const GetQueryResultsMonitorTopContributorsCommand_base: {
|
|
|
84
84
|
* // remoteInstanceArn: "STRING_VALUE",
|
|
85
85
|
* // remoteSubnetArn: "STRING_VALUE",
|
|
86
86
|
* // remoteVpcArn: "STRING_VALUE",
|
|
87
|
+
* // additionalFlowInfo: { // AdditionalFlowInfo
|
|
88
|
+
* // network: { // Network
|
|
89
|
+
* // asName: "STRING_VALUE",
|
|
90
|
+
* // asNumber: Number("long"),
|
|
91
|
+
* // },
|
|
92
|
+
* // clientLocation: { // ClientLocation
|
|
93
|
+
* // city: "STRING_VALUE",
|
|
94
|
+
* // subdivision: "STRING_VALUE",
|
|
95
|
+
* // country: "STRING_VALUE",
|
|
96
|
+
* // },
|
|
97
|
+
* // },
|
|
87
98
|
* // },
|
|
88
99
|
* // ],
|
|
89
100
|
* // nextToken: "STRING_VALUE",
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetQueryResultsPerformanceMonitorInput, GetQueryResultsPerformanceMonitorOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetQueryResultsPerformanceMonitorCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetQueryResultsPerformanceMonitorCommandInput extends GetQueryResultsPerformanceMonitorInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetQueryResultsPerformanceMonitorCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetQueryResultsPerformanceMonitorCommandOutput extends GetQueryResultsPerformanceMonitorOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetQueryResultsPerformanceMonitorCommand_base: {
|
|
22
|
+
new (input: GetQueryResultsPerformanceMonitorCommandInput): import("@smithy/core/client").CommandImpl<GetQueryResultsPerformanceMonitorCommandInput, GetQueryResultsPerformanceMonitorCommandOutput, import("..").NetworkFlowMonitorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetQueryResultsPerformanceMonitorCommandInput): import("@smithy/core/client").CommandImpl<GetQueryResultsPerformanceMonitorCommandInput, GetQueryResultsPerformanceMonitorCommandOutput, import("..").NetworkFlowMonitorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Returns the results of a query for the Network Flow Monitor query interface, for a specified query ID and performance monitor. This call returns the top paths for a performance monitor.</p> <p>Create a query with <a href="https://docs.aws.amazon.com/networkflowmonitor/2.0/APIReference/API_StartQueryPerformanceMonitor.html"> StartQueryPerformanceMonitor</a>, and then use the query ID with this call to return the results.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { NetworkFlowMonitorClient, GetQueryResultsPerformanceMonitorCommand } from "@aws-sdk/client-networkflowmonitor"; // ES Modules import
|
|
32
|
+
* // const { NetworkFlowMonitorClient, GetQueryResultsPerformanceMonitorCommand } = require("@aws-sdk/client-networkflowmonitor"); // CommonJS import
|
|
33
|
+
* // import type { NetworkFlowMonitorClientConfig } from "@aws-sdk/client-networkflowmonitor";
|
|
34
|
+
* const config = {}; // type is NetworkFlowMonitorClientConfig
|
|
35
|
+
* const client = new NetworkFlowMonitorClient(config);
|
|
36
|
+
* const input = { // GetQueryResultsPerformanceMonitorInput
|
|
37
|
+
* monitorName: "STRING_VALUE", // required
|
|
38
|
+
* queryId: "STRING_VALUE", // required
|
|
39
|
+
* nextToken: "STRING_VALUE",
|
|
40
|
+
* maxResults: Number("int"),
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetQueryResultsPerformanceMonitorCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // GetQueryResultsPerformanceMonitorOutput
|
|
45
|
+
* // fields: [ // QueryFields // required
|
|
46
|
+
* // { // QueryField
|
|
47
|
+
* // name: "STRING_VALUE", // required
|
|
48
|
+
* // type: "STRING_VALUE", // required
|
|
49
|
+
* // },
|
|
50
|
+
* // ],
|
|
51
|
+
* // data: [ // QueryData // required
|
|
52
|
+
* // [ // QueryRow
|
|
53
|
+
* // "STRING_VALUE",
|
|
54
|
+
* // ],
|
|
55
|
+
* // ],
|
|
56
|
+
* // nextToken: "STRING_VALUE",
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param GetQueryResultsPerformanceMonitorCommandInput - {@link GetQueryResultsPerformanceMonitorCommandInput}
|
|
62
|
+
* @returns {@link GetQueryResultsPerformanceMonitorCommandOutput}
|
|
63
|
+
* @see {@link GetQueryResultsPerformanceMonitorCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link GetQueryResultsPerformanceMonitorCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link NetworkFlowMonitorClientResolvedConfig | config} for NetworkFlowMonitorClient's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
68
|
+
* <p>You don't have sufficient permission to perform this action.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InternalServerException} (server fault)
|
|
71
|
+
* <p>An internal error occurred.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
74
|
+
* <p>The request specifies a resource that doesn't exist.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
77
|
+
* <p>The request exceeded a service quota.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
80
|
+
* <p>The request was denied due to request throttling.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ValidationException} (client fault)
|
|
83
|
+
* <p>Invalid request.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link NetworkFlowMonitorServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from NetworkFlowMonitor service.</p>
|
|
87
|
+
*
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class GetQueryResultsPerformanceMonitorCommand extends GetQueryResultsPerformanceMonitorCommand_base {
|
|
92
|
+
/** @internal type navigation helper, not in runtime. */
|
|
93
|
+
protected static __types: {
|
|
94
|
+
api: {
|
|
95
|
+
input: GetQueryResultsPerformanceMonitorInput;
|
|
96
|
+
output: GetQueryResultsPerformanceMonitorOutput;
|
|
97
|
+
};
|
|
98
|
+
sdk: {
|
|
99
|
+
input: GetQueryResultsPerformanceMonitorCommandInput;
|
|
100
|
+
output: GetQueryResultsPerformanceMonitorCommandOutput;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetQueryStatusPerformanceMonitorInput, GetQueryStatusPerformanceMonitorOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetQueryStatusPerformanceMonitorCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetQueryStatusPerformanceMonitorCommandInput extends GetQueryStatusPerformanceMonitorInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetQueryStatusPerformanceMonitorCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetQueryStatusPerformanceMonitorCommandOutput extends GetQueryStatusPerformanceMonitorOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetQueryStatusPerformanceMonitorCommand_base: {
|
|
22
|
+
new (input: GetQueryStatusPerformanceMonitorCommandInput): import("@smithy/core/client").CommandImpl<GetQueryStatusPerformanceMonitorCommandInput, GetQueryStatusPerformanceMonitorCommandOutput, import("..").NetworkFlowMonitorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetQueryStatusPerformanceMonitorCommandInput): import("@smithy/core/client").CommandImpl<GetQueryStatusPerformanceMonitorCommandInput, GetQueryStatusPerformanceMonitorCommandOutput, import("..").NetworkFlowMonitorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Returns the current status of a query for the Network Flow Monitor query interface, for a specified query ID and performance monitor. This call returns the query status for the top paths for a performance monitor.</p> <p>When you run a query, use this call to check the status of the query to make sure that the query has <code>SUCCEEDED</code> before you review the results. Use the same query ID that you used for the corresponding API call to start (create) the query, <code>StartQueryPerformanceMonitor</code>.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { NetworkFlowMonitorClient, GetQueryStatusPerformanceMonitorCommand } from "@aws-sdk/client-networkflowmonitor"; // ES Modules import
|
|
32
|
+
* // const { NetworkFlowMonitorClient, GetQueryStatusPerformanceMonitorCommand } = require("@aws-sdk/client-networkflowmonitor"); // CommonJS import
|
|
33
|
+
* // import type { NetworkFlowMonitorClientConfig } from "@aws-sdk/client-networkflowmonitor";
|
|
34
|
+
* const config = {}; // type is NetworkFlowMonitorClientConfig
|
|
35
|
+
* const client = new NetworkFlowMonitorClient(config);
|
|
36
|
+
* const input = { // GetQueryStatusPerformanceMonitorInput
|
|
37
|
+
* monitorName: "STRING_VALUE", // required
|
|
38
|
+
* queryId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetQueryStatusPerformanceMonitorCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetQueryStatusPerformanceMonitorOutput
|
|
43
|
+
* // status: "QUEUED" || "RUNNING" || "SUCCEEDED" || "FAILED" || "CANCELED", // required
|
|
44
|
+
* // };
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param GetQueryStatusPerformanceMonitorCommandInput - {@link GetQueryStatusPerformanceMonitorCommandInput}
|
|
49
|
+
* @returns {@link GetQueryStatusPerformanceMonitorCommandOutput}
|
|
50
|
+
* @see {@link GetQueryStatusPerformanceMonitorCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link GetQueryStatusPerformanceMonitorCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link NetworkFlowMonitorClientResolvedConfig | config} for NetworkFlowMonitorClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
55
|
+
* <p>You don't have sufficient permission to perform this action.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InternalServerException} (server fault)
|
|
58
|
+
* <p>An internal error occurred.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
61
|
+
* <p>The request specifies a resource that doesn't exist.</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
|
+
*
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class GetQueryStatusPerformanceMonitorCommand extends GetQueryStatusPerformanceMonitorCommand_base {
|
|
79
|
+
/** @internal type navigation helper, not in runtime. */
|
|
80
|
+
protected static __types: {
|
|
81
|
+
api: {
|
|
82
|
+
input: GetQueryStatusPerformanceMonitorInput;
|
|
83
|
+
output: GetQueryStatusPerformanceMonitorOutput;
|
|
84
|
+
};
|
|
85
|
+
sdk: {
|
|
86
|
+
input: GetQueryStatusPerformanceMonitorCommandInput;
|
|
87
|
+
output: GetQueryStatusPerformanceMonitorCommandOutput;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListPerformanceMonitorsInput, ListPerformanceMonitorsOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListPerformanceMonitorsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListPerformanceMonitorsCommandInput extends ListPerformanceMonitorsInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListPerformanceMonitorsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListPerformanceMonitorsCommandOutput extends ListPerformanceMonitorsOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListPerformanceMonitorsCommand_base: {
|
|
22
|
+
new (input: ListPerformanceMonitorsCommandInput): import("@smithy/core/client").CommandImpl<ListPerformanceMonitorsCommandInput, ListPerformanceMonitorsCommandOutput, import("..").NetworkFlowMonitorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListPerformanceMonitorsCommandInput]): import("@smithy/core/client").CommandImpl<ListPerformanceMonitorsCommandInput, ListPerformanceMonitorsCommandOutput, import("..").NetworkFlowMonitorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Returns a list of the performance monitors in an account. You can optionally return only the monitors that have a specific status or type.</p> <p>Results are paginated. Use the <code>nextToken</code> parameter to return additional results.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { NetworkFlowMonitorClient, ListPerformanceMonitorsCommand } from "@aws-sdk/client-networkflowmonitor"; // ES Modules import
|
|
32
|
+
* // const { NetworkFlowMonitorClient, ListPerformanceMonitorsCommand } = require("@aws-sdk/client-networkflowmonitor"); // CommonJS import
|
|
33
|
+
* // import type { NetworkFlowMonitorClientConfig } from "@aws-sdk/client-networkflowmonitor";
|
|
34
|
+
* const config = {}; // type is NetworkFlowMonitorClientConfig
|
|
35
|
+
* const client = new NetworkFlowMonitorClient(config);
|
|
36
|
+
* const input = { // ListPerformanceMonitorsInput
|
|
37
|
+
* nextToken: "STRING_VALUE",
|
|
38
|
+
* maxResults: Number("int"),
|
|
39
|
+
* monitorStatus: "PENDING" || "ACTIVE" || "INACTIVE" || "ERROR" || "DELETING",
|
|
40
|
+
* monitorType: "VPC",
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ListPerformanceMonitorsCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // ListPerformanceMonitorsOutput
|
|
45
|
+
* // monitors: [ // PerformanceMonitorSummaryList // required
|
|
46
|
+
* // { // PerformanceMonitorSummary
|
|
47
|
+
* // monitorArn: "STRING_VALUE", // required
|
|
48
|
+
* // monitorName: "STRING_VALUE", // required
|
|
49
|
+
* // monitorStatus: "PENDING" || "ACTIVE" || "INACTIVE" || "ERROR" || "DELETING", // required
|
|
50
|
+
* // monitorType: "VPC", // required
|
|
51
|
+
* // targets: [ // PerformanceMonitorTargets
|
|
52
|
+
* // { // PerformanceMonitorTarget
|
|
53
|
+
* // type: "AWS::EC2::VPC", // required
|
|
54
|
+
* // identifier: "STRING_VALUE", // required
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // nextToken: "STRING_VALUE",
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @param ListPerformanceMonitorsCommandInput - {@link ListPerformanceMonitorsCommandInput}
|
|
65
|
+
* @returns {@link ListPerformanceMonitorsCommandOutput}
|
|
66
|
+
* @see {@link ListPerformanceMonitorsCommandInput} for command's `input` shape.
|
|
67
|
+
* @see {@link ListPerformanceMonitorsCommandOutput} for command's `response` shape.
|
|
68
|
+
* @see {@link NetworkFlowMonitorClientResolvedConfig | config} for NetworkFlowMonitorClient's `config` shape.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
71
|
+
* <p>You don't have sufficient permission to perform this action.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link InternalServerException} (server fault)
|
|
74
|
+
* <p>An internal error occurred.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
77
|
+
* <p>The request was denied due to request throttling.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ValidationException} (client fault)
|
|
80
|
+
* <p>Invalid request.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link NetworkFlowMonitorServiceException}
|
|
83
|
+
* <p>Base exception class for all service exceptions from NetworkFlowMonitor service.</p>
|
|
84
|
+
*
|
|
85
|
+
*
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
export declare class ListPerformanceMonitorsCommand extends ListPerformanceMonitorsCommand_base {
|
|
89
|
+
/** @internal type navigation helper, not in runtime. */
|
|
90
|
+
protected static __types: {
|
|
91
|
+
api: {
|
|
92
|
+
input: ListPerformanceMonitorsInput;
|
|
93
|
+
output: ListPerformanceMonitorsOutput;
|
|
94
|
+
};
|
|
95
|
+
sdk: {
|
|
96
|
+
input: ListPerformanceMonitorsCommandInput;
|
|
97
|
+
output: ListPerformanceMonitorsCommandOutput;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
}
|
|
@@ -38,7 +38,7 @@ declare const StartQueryMonitorTopContributorsCommand_base: {
|
|
|
38
38
|
* startTime: new Date("TIMESTAMP"), // required
|
|
39
39
|
* endTime: new Date("TIMESTAMP"), // required
|
|
40
40
|
* metricName: "ROUND_TRIP_TIME" || "TIMEOUTS" || "RETRANSMISSIONS" || "DATA_TRANSFERRED", // required
|
|
41
|
-
* destinationCategory: "INTRA_AZ" || "INTER_AZ" || "INTER_VPC" || "UNCLASSIFIED" || "AMAZON_S3" || "AMAZON_DYNAMODB" || "INTER_REGION", // required
|
|
41
|
+
* destinationCategory: "INTRA_AZ" || "INTER_AZ" || "INTER_VPC" || "UNCLASSIFIED" || "AMAZON_S3" || "AMAZON_DYNAMODB" || "INTER_REGION" || "INTERNET" || "AWS_SERVICE" || "LOCAL_ZONE" || "TRANSIT_GATEWAY", // required
|
|
42
42
|
* limit: Number("int"),
|
|
43
43
|
* };
|
|
44
44
|
* const command = new StartQueryMonitorTopContributorsCommand(input);
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { StartQueryPerformanceMonitorInput, StartQueryPerformanceMonitorOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link StartQueryPerformanceMonitorCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface StartQueryPerformanceMonitorCommandInput extends StartQueryPerformanceMonitorInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link StartQueryPerformanceMonitorCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface StartQueryPerformanceMonitorCommandOutput extends StartQueryPerformanceMonitorOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const StartQueryPerformanceMonitorCommand_base: {
|
|
22
|
+
new (input: StartQueryPerformanceMonitorCommandInput): import("@smithy/core/client").CommandImpl<StartQueryPerformanceMonitorCommandInput, StartQueryPerformanceMonitorCommandOutput, import("..").NetworkFlowMonitorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: StartQueryPerformanceMonitorCommandInput): import("@smithy/core/client").CommandImpl<StartQueryPerformanceMonitorCommandInput, StartQueryPerformanceMonitorCommandOutput, import("..").NetworkFlowMonitorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Create a query that you can use with the Network Flow Monitor query interface to return the top paths for a performance monitor. Specify the performance monitor that you want to create the query for.</p> <p>The call returns a query ID that you can use with <a href="https://docs.aws.amazon.com/networkflowmonitor/2.0/APIReference/API_GetQueryResultsPerformanceMonitor.html"> GetQueryResultsPerformanceMonitor</a> to return the results of the query.</p> <p>Top paths in Network Flow Monitor are the network paths used by the traffic for the resources that a performance monitor tracks, ranked by impact score and then by traffic volume. Each path includes the traffic and round-trip time for the path, together with a breakdown of the subnet pairs that the path includes.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { NetworkFlowMonitorClient, StartQueryPerformanceMonitorCommand } from "@aws-sdk/client-networkflowmonitor"; // ES Modules import
|
|
32
|
+
* // const { NetworkFlowMonitorClient, StartQueryPerformanceMonitorCommand } = require("@aws-sdk/client-networkflowmonitor"); // CommonJS import
|
|
33
|
+
* // import type { NetworkFlowMonitorClientConfig } from "@aws-sdk/client-networkflowmonitor";
|
|
34
|
+
* const config = {}; // type is NetworkFlowMonitorClientConfig
|
|
35
|
+
* const client = new NetworkFlowMonitorClient(config);
|
|
36
|
+
* const input = { // StartQueryPerformanceMonitorInput
|
|
37
|
+
* monitorName: "STRING_VALUE", // required
|
|
38
|
+
* startTime: new Date("TIMESTAMP"), // required
|
|
39
|
+
* endTime: new Date("TIMESTAMP"), // required
|
|
40
|
+
* queryType: "TOP_PATHS", // required
|
|
41
|
+
* filterParameters: [ // FilterParameters
|
|
42
|
+
* { // FilterParameter
|
|
43
|
+
* field: "STRING_VALUE", // required
|
|
44
|
+
* operator: "EQUALS" || "NOT_EQUALS" || "IN" || "CONTAINS", // required
|
|
45
|
+
* values: [ // FilterValues // required
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
50
|
+
* limit: Number("int"),
|
|
51
|
+
* };
|
|
52
|
+
* const command = new StartQueryPerformanceMonitorCommand(input);
|
|
53
|
+
* const response = await client.send(command);
|
|
54
|
+
* // { // StartQueryPerformanceMonitorOutput
|
|
55
|
+
* // queryId: "STRING_VALUE", // required
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param StartQueryPerformanceMonitorCommandInput - {@link StartQueryPerformanceMonitorCommandInput}
|
|
61
|
+
* @returns {@link StartQueryPerformanceMonitorCommandOutput}
|
|
62
|
+
* @see {@link StartQueryPerformanceMonitorCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link StartQueryPerformanceMonitorCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link NetworkFlowMonitorClientResolvedConfig | config} for NetworkFlowMonitorClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
67
|
+
* <p>You don't have sufficient permission to perform this action.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InternalServerException} (server fault)
|
|
70
|
+
* <p>An internal error occurred.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
73
|
+
* <p>The request specifies a resource that doesn't exist.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
76
|
+
* <p>The request exceeded a service quota.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
79
|
+
* <p>The request was denied due to request throttling.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ValidationException} (client fault)
|
|
82
|
+
* <p>Invalid request.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link NetworkFlowMonitorServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from NetworkFlowMonitor service.</p>
|
|
86
|
+
*
|
|
87
|
+
*
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export declare class StartQueryPerformanceMonitorCommand extends StartQueryPerformanceMonitorCommand_base {
|
|
91
|
+
/** @internal type navigation helper, not in runtime. */
|
|
92
|
+
protected static __types: {
|
|
93
|
+
api: {
|
|
94
|
+
input: StartQueryPerformanceMonitorInput;
|
|
95
|
+
output: StartQueryPerformanceMonitorOutput;
|
|
96
|
+
};
|
|
97
|
+
sdk: {
|
|
98
|
+
input: StartQueryPerformanceMonitorCommandInput;
|
|
99
|
+
output: StartQueryPerformanceMonitorCommandOutput;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
}
|
|
@@ -38,7 +38,7 @@ declare const StartQueryWorkloadInsightsTopContributorsCommand_base: {
|
|
|
38
38
|
* startTime: new Date("TIMESTAMP"), // required
|
|
39
39
|
* endTime: new Date("TIMESTAMP"), // required
|
|
40
40
|
* metricName: "TIMEOUTS" || "RETRANSMISSIONS" || "DATA_TRANSFERRED", // required
|
|
41
|
-
* destinationCategory: "INTRA_AZ" || "INTER_AZ" || "INTER_VPC" || "UNCLASSIFIED" || "AMAZON_S3" || "AMAZON_DYNAMODB" || "INTER_REGION", // required
|
|
41
|
+
* destinationCategory: "INTRA_AZ" || "INTER_AZ" || "INTER_VPC" || "UNCLASSIFIED" || "AMAZON_S3" || "AMAZON_DYNAMODB" || "INTER_REGION" || "INTERNET" || "AWS_SERVICE" || "LOCAL_ZONE" || "TRANSIT_GATEWAY", // required
|
|
42
42
|
* limit: Number("int"),
|
|
43
43
|
* };
|
|
44
44
|
* const command = new StartQueryWorkloadInsightsTopContributorsCommand(input);
|
|
@@ -38,7 +38,7 @@ declare const StartQueryWorkloadInsightsTopContributorsDataCommand_base: {
|
|
|
38
38
|
* startTime: new Date("TIMESTAMP"), // required
|
|
39
39
|
* endTime: new Date("TIMESTAMP"), // required
|
|
40
40
|
* metricName: "TIMEOUTS" || "RETRANSMISSIONS" || "DATA_TRANSFERRED", // required
|
|
41
|
-
* destinationCategory: "INTRA_AZ" || "INTER_AZ" || "INTER_VPC" || "UNCLASSIFIED" || "AMAZON_S3" || "AMAZON_DYNAMODB" || "INTER_REGION", // required
|
|
41
|
+
* destinationCategory: "INTRA_AZ" || "INTER_AZ" || "INTER_VPC" || "UNCLASSIFIED" || "AMAZON_S3" || "AMAZON_DYNAMODB" || "INTER_REGION" || "INTERNET" || "AWS_SERVICE" || "LOCAL_ZONE" || "TRANSIT_GATEWAY", // required
|
|
42
42
|
* };
|
|
43
43
|
* const command = new StartQueryWorkloadInsightsTopContributorsDataCommand(input);
|
|
44
44
|
* const response = await client.send(command);
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { StopQueryPerformanceMonitorInput, StopQueryPerformanceMonitorOutput } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link StopQueryPerformanceMonitorCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface StopQueryPerformanceMonitorCommandInput extends StopQueryPerformanceMonitorInput {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link StopQueryPerformanceMonitorCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface StopQueryPerformanceMonitorCommandOutput extends StopQueryPerformanceMonitorOutput, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const StopQueryPerformanceMonitorCommand_base: {
|
|
22
|
+
new (input: StopQueryPerformanceMonitorCommandInput): import("@smithy/core/client").CommandImpl<StopQueryPerformanceMonitorCommandInput, StopQueryPerformanceMonitorCommandOutput, import("..").NetworkFlowMonitorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: StopQueryPerformanceMonitorCommandInput): import("@smithy/core/client").CommandImpl<StopQueryPerformanceMonitorCommandInput, StopQueryPerformanceMonitorCommandOutput, import("..").NetworkFlowMonitorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Stop a query for the Network Flow Monitor query interface, for a specified query ID and performance monitor. Use the same query ID that you used for the corresponding API call to start the query, <code>StartQueryPerformanceMonitor</code>.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { NetworkFlowMonitorClient, StopQueryPerformanceMonitorCommand } from "@aws-sdk/client-networkflowmonitor"; // ES Modules import
|
|
32
|
+
* // const { NetworkFlowMonitorClient, StopQueryPerformanceMonitorCommand } = require("@aws-sdk/client-networkflowmonitor"); // CommonJS import
|
|
33
|
+
* // import type { NetworkFlowMonitorClientConfig } from "@aws-sdk/client-networkflowmonitor";
|
|
34
|
+
* const config = {}; // type is NetworkFlowMonitorClientConfig
|
|
35
|
+
* const client = new NetworkFlowMonitorClient(config);
|
|
36
|
+
* const input = { // StopQueryPerformanceMonitorInput
|
|
37
|
+
* monitorName: "STRING_VALUE", // required
|
|
38
|
+
* queryId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new StopQueryPerformanceMonitorCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param StopQueryPerformanceMonitorCommandInput - {@link StopQueryPerformanceMonitorCommandInput}
|
|
47
|
+
* @returns {@link StopQueryPerformanceMonitorCommandOutput}
|
|
48
|
+
* @see {@link StopQueryPerformanceMonitorCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link StopQueryPerformanceMonitorCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link NetworkFlowMonitorClientResolvedConfig | config} for NetworkFlowMonitorClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
53
|
+
* <p>You don't have sufficient permission to perform this action.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link InternalServerException} (server fault)
|
|
56
|
+
* <p>An internal error occurred.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
59
|
+
* <p>The request specifies a resource that doesn't exist.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
62
|
+
* <p>The request exceeded a service quota.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
65
|
+
* <p>The request was denied due to request throttling.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ValidationException} (client fault)
|
|
68
|
+
* <p>Invalid request.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link NetworkFlowMonitorServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from NetworkFlowMonitor service.</p>
|
|
72
|
+
*
|
|
73
|
+
*
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export declare class StopQueryPerformanceMonitorCommand extends StopQueryPerformanceMonitorCommand_base {
|
|
77
|
+
/** @internal type navigation helper, not in runtime. */
|
|
78
|
+
protected static __types: {
|
|
79
|
+
api: {
|
|
80
|
+
input: StopQueryPerformanceMonitorInput;
|
|
81
|
+
output: {};
|
|
82
|
+
};
|
|
83
|
+
sdk: {
|
|
84
|
+
input: StopQueryPerformanceMonitorCommandInput;
|
|
85
|
+
output: StopQueryPerformanceMonitorCommandOutput;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
}
|