@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,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListMonitorsCommand, se_ListMonitorsCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListMonitorsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("NetworkFlowMonitor", "ListMonitors", {})
|
|
17
|
+
.n("NetworkFlowMonitorClient", "ListMonitorsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListMonitorsCommand)
|
|
20
|
+
.de(de_ListMonitorsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListScopesCommand, se_ListScopesCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListScopesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("NetworkFlowMonitor", "ListScopes", {})
|
|
17
|
+
.n("NetworkFlowMonitorClient", "ListScopesCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListScopesCommand)
|
|
20
|
+
.de(de_ListScopesCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListTagsForResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("NetworkFlowMonitor", "ListTagsForResource", {})
|
|
17
|
+
.n("NetworkFlowMonitorClient", "ListTagsForResourceCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListTagsForResourceCommand)
|
|
20
|
+
.de(de_ListTagsForResourceCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_StartQueryMonitorTopContributorsCommand, se_StartQueryMonitorTopContributorsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class StartQueryMonitorTopContributorsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("NetworkFlowMonitor", "StartQueryMonitorTopContributors", {})
|
|
17
|
+
.n("NetworkFlowMonitorClient", "StartQueryMonitorTopContributorsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_StartQueryMonitorTopContributorsCommand)
|
|
20
|
+
.de(de_StartQueryMonitorTopContributorsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_StartQueryWorkloadInsightsTopContributorsCommand, se_StartQueryWorkloadInsightsTopContributorsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class StartQueryWorkloadInsightsTopContributorsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("NetworkFlowMonitor", "StartQueryWorkloadInsightsTopContributors", {})
|
|
17
|
+
.n("NetworkFlowMonitorClient", "StartQueryWorkloadInsightsTopContributorsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_StartQueryWorkloadInsightsTopContributorsCommand)
|
|
20
|
+
.de(de_StartQueryWorkloadInsightsTopContributorsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_StartQueryWorkloadInsightsTopContributorsDataCommand, se_StartQueryWorkloadInsightsTopContributorsDataCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class StartQueryWorkloadInsightsTopContributorsDataCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("NetworkFlowMonitor", "StartQueryWorkloadInsightsTopContributorsData", {})
|
|
17
|
+
.n("NetworkFlowMonitorClient", "StartQueryWorkloadInsightsTopContributorsDataCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_StartQueryWorkloadInsightsTopContributorsDataCommand)
|
|
20
|
+
.de(de_StartQueryWorkloadInsightsTopContributorsDataCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_StopQueryMonitorTopContributorsCommand, se_StopQueryMonitorTopContributorsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class StopQueryMonitorTopContributorsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("NetworkFlowMonitor", "StopQueryMonitorTopContributors", {})
|
|
17
|
+
.n("NetworkFlowMonitorClient", "StopQueryMonitorTopContributorsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_StopQueryMonitorTopContributorsCommand)
|
|
20
|
+
.de(de_StopQueryMonitorTopContributorsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_StopQueryWorkloadInsightsTopContributorsCommand, se_StopQueryWorkloadInsightsTopContributorsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class StopQueryWorkloadInsightsTopContributorsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("NetworkFlowMonitor", "StopQueryWorkloadInsightsTopContributors", {})
|
|
17
|
+
.n("NetworkFlowMonitorClient", "StopQueryWorkloadInsightsTopContributorsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_StopQueryWorkloadInsightsTopContributorsCommand)
|
|
20
|
+
.de(de_StopQueryWorkloadInsightsTopContributorsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_StopQueryWorkloadInsightsTopContributorsDataCommand, se_StopQueryWorkloadInsightsTopContributorsDataCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class StopQueryWorkloadInsightsTopContributorsDataCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("NetworkFlowMonitor", "StopQueryWorkloadInsightsTopContributorsData", {})
|
|
17
|
+
.n("NetworkFlowMonitorClient", "StopQueryWorkloadInsightsTopContributorsDataCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_StopQueryWorkloadInsightsTopContributorsDataCommand)
|
|
20
|
+
.de(de_StopQueryWorkloadInsightsTopContributorsDataCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class TagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("NetworkFlowMonitor", "TagResource", {})
|
|
17
|
+
.n("NetworkFlowMonitorClient", "TagResourceCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_TagResourceCommand)
|
|
20
|
+
.de(de_TagResourceCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UntagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("NetworkFlowMonitor", "UntagResource", {})
|
|
17
|
+
.n("NetworkFlowMonitorClient", "UntagResourceCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_UntagResourceCommand)
|
|
20
|
+
.de(de_UntagResourceCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateMonitorCommand, se_UpdateMonitorCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateMonitorCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("NetworkFlowMonitor", "UpdateMonitor", {})
|
|
17
|
+
.n("NetworkFlowMonitorClient", "UpdateMonitorCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_UpdateMonitorCommand)
|
|
20
|
+
.de(de_UpdateMonitorCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateScopeCommand, se_UpdateScopeCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateScopeCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("NetworkFlowMonitor", "UpdateScope", {})
|
|
17
|
+
.n("NetworkFlowMonitorClient", "UpdateScopeCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_UpdateScopeCommand)
|
|
20
|
+
.de(de_UpdateScopeCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export * from "./CreateMonitorCommand";
|
|
2
|
+
export * from "./CreateScopeCommand";
|
|
3
|
+
export * from "./DeleteMonitorCommand";
|
|
4
|
+
export * from "./DeleteScopeCommand";
|
|
5
|
+
export * from "./GetMonitorCommand";
|
|
6
|
+
export * from "./GetQueryResultsMonitorTopContributorsCommand";
|
|
7
|
+
export * from "./GetQueryResultsWorkloadInsightsTopContributorsCommand";
|
|
8
|
+
export * from "./GetQueryResultsWorkloadInsightsTopContributorsDataCommand";
|
|
9
|
+
export * from "./GetQueryStatusMonitorTopContributorsCommand";
|
|
10
|
+
export * from "./GetQueryStatusWorkloadInsightsTopContributorsCommand";
|
|
11
|
+
export * from "./GetQueryStatusWorkloadInsightsTopContributorsDataCommand";
|
|
12
|
+
export * from "./GetScopeCommand";
|
|
13
|
+
export * from "./ListMonitorsCommand";
|
|
14
|
+
export * from "./ListScopesCommand";
|
|
15
|
+
export * from "./ListTagsForResourceCommand";
|
|
16
|
+
export * from "./StartQueryMonitorTopContributorsCommand";
|
|
17
|
+
export * from "./StartQueryWorkloadInsightsTopContributorsCommand";
|
|
18
|
+
export * from "./StartQueryWorkloadInsightsTopContributorsDataCommand";
|
|
19
|
+
export * from "./StopQueryMonitorTopContributorsCommand";
|
|
20
|
+
export * from "./StopQueryWorkloadInsightsTopContributorsCommand";
|
|
21
|
+
export * from "./StopQueryWorkloadInsightsTopContributorsDataCommand";
|
|
22
|
+
export * from "./TagResourceCommand";
|
|
23
|
+
export * from "./UntagResourceCommand";
|
|
24
|
+
export * from "./UpdateMonitorCommand";
|
|
25
|
+
export * from "./UpdateScopeCommand";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export const resolveClientEndpointParameters = (options) => {
|
|
2
|
+
return {
|
|
3
|
+
...options,
|
|
4
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
5
|
+
defaultSigningName: "networkflowmonitor",
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
export const commonParams = {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
|
|
3
|
+
import { ruleSet } from "./ruleset";
|
|
4
|
+
const cache = new EndpointCache({
|
|
5
|
+
size: 50,
|
|
6
|
+
params: ["Endpoint", "Region", "UseFIPS"],
|
|
7
|
+
});
|
|
8
|
+
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
9
|
+
return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
|
|
10
|
+
endpointParams: endpointParams,
|
|
11
|
+
logger: context.logger,
|
|
12
|
+
}));
|
|
13
|
+
};
|
|
14
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const l = "ref";
|
|
2
|
+
const a = true, b = false, c = "isSet", d = "error", e = "endpoint", f = "tree", g = { "required": false, "type": "String" }, h = { [l]: "Endpoint" }, i = {}, j = [{ "fn": "booleanEquals", "argv": [{ [l]: "UseFIPS" }, true] }], k = [{ [l]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { UseFIPS: { required: a, default: b, type: "Boolean" }, Endpoint: g, Region: g }, rules: [{ conditions: [{ fn: c, argv: [h] }], rules: [{ conditions: j, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { endpoint: { url: h, properties: i, headers: i }, type: e }], type: f }, { rules: [{ conditions: [{ fn: c, argv: k }], rules: [{ conditions: [{ fn: "aws.partition", argv: k, assign: "PartitionResult" }], rules: [{ conditions: j, endpoint: { url: "https://networkflowmonitor-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: i, headers: i }, type: e }, { endpoint: { url: "https://networkflowmonitor.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: i, headers: i }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
|
|
4
|
+
export const ruleSet = _data;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist-es/index.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from "./NetworkFlowMonitorClient";
|
|
2
|
+
export * from "./NetworkFlowMonitor";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./pagination";
|
|
5
|
+
export * from "./models";
|
|
6
|
+
export { NetworkFlowMonitorServiceException } from "./models/NetworkFlowMonitorServiceException";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
|
|
2
|
+
export { __ServiceException };
|
|
3
|
+
export class NetworkFlowMonitorServiceException extends __ServiceException {
|
|
4
|
+
constructor(options) {
|
|
5
|
+
super(options);
|
|
6
|
+
Object.setPrototypeOf(this, NetworkFlowMonitorServiceException.prototype);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import { NetworkFlowMonitorServiceException as __BaseException } from "./NetworkFlowMonitorServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
constructor(opts) {
|
|
4
|
+
super({
|
|
5
|
+
name: "AccessDeniedException",
|
|
6
|
+
$fault: "client",
|
|
7
|
+
...opts,
|
|
8
|
+
});
|
|
9
|
+
this.name = "AccessDeniedException";
|
|
10
|
+
this.$fault = "client";
|
|
11
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class ConflictException extends __BaseException {
|
|
15
|
+
constructor(opts) {
|
|
16
|
+
super({
|
|
17
|
+
name: "ConflictException",
|
|
18
|
+
$fault: "client",
|
|
19
|
+
...opts,
|
|
20
|
+
});
|
|
21
|
+
this.name = "ConflictException";
|
|
22
|
+
this.$fault = "client";
|
|
23
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export const MonitorLocalResourceType = {
|
|
27
|
+
AWS_AZ: "AWS::AvailabilityZone",
|
|
28
|
+
AWS_SUBNET: "AWS::EC2::Subnet",
|
|
29
|
+
AWS_VPC: "AWS::EC2::VPC",
|
|
30
|
+
};
|
|
31
|
+
export const MonitorRemoteResourceType = {
|
|
32
|
+
AWS_AZ: "AWS::AvailabilityZone",
|
|
33
|
+
AWS_SERVICE: "AWS::AWSService",
|
|
34
|
+
AWS_SUBNET: "AWS::EC2::Subnet",
|
|
35
|
+
AWS_VPC: "AWS::EC2::VPC",
|
|
36
|
+
};
|
|
37
|
+
export const MonitorStatus = {
|
|
38
|
+
ACTIVE: "ACTIVE",
|
|
39
|
+
DELETING: "DELETING",
|
|
40
|
+
ERROR: "ERROR",
|
|
41
|
+
INACTIVE: "INACTIVE",
|
|
42
|
+
PENDING: "PENDING",
|
|
43
|
+
};
|
|
44
|
+
export class InternalServerException extends __BaseException {
|
|
45
|
+
constructor(opts) {
|
|
46
|
+
super({
|
|
47
|
+
name: "InternalServerException",
|
|
48
|
+
$fault: "server",
|
|
49
|
+
...opts,
|
|
50
|
+
});
|
|
51
|
+
this.name = "InternalServerException";
|
|
52
|
+
this.$fault = "server";
|
|
53
|
+
this.$retryable = {};
|
|
54
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
58
|
+
constructor(opts) {
|
|
59
|
+
super({
|
|
60
|
+
name: "ServiceQuotaExceededException",
|
|
61
|
+
$fault: "client",
|
|
62
|
+
...opts,
|
|
63
|
+
});
|
|
64
|
+
this.name = "ServiceQuotaExceededException";
|
|
65
|
+
this.$fault = "client";
|
|
66
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
export class ThrottlingException extends __BaseException {
|
|
70
|
+
constructor(opts) {
|
|
71
|
+
super({
|
|
72
|
+
name: "ThrottlingException",
|
|
73
|
+
$fault: "client",
|
|
74
|
+
...opts,
|
|
75
|
+
});
|
|
76
|
+
this.name = "ThrottlingException";
|
|
77
|
+
this.$fault = "client";
|
|
78
|
+
this.$retryable = {
|
|
79
|
+
throttling: true,
|
|
80
|
+
};
|
|
81
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
export class ValidationException extends __BaseException {
|
|
85
|
+
constructor(opts) {
|
|
86
|
+
super({
|
|
87
|
+
name: "ValidationException",
|
|
88
|
+
$fault: "client",
|
|
89
|
+
...opts,
|
|
90
|
+
});
|
|
91
|
+
this.name = "ValidationException";
|
|
92
|
+
this.$fault = "client";
|
|
93
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
export var TargetId;
|
|
97
|
+
(function (TargetId) {
|
|
98
|
+
TargetId.visit = (value, visitor) => {
|
|
99
|
+
if (value.accountId !== undefined)
|
|
100
|
+
return visitor.accountId(value.accountId);
|
|
101
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
102
|
+
};
|
|
103
|
+
})(TargetId || (TargetId = {}));
|
|
104
|
+
export const TargetType = {
|
|
105
|
+
ACCOUNT: "ACCOUNT",
|
|
106
|
+
};
|
|
107
|
+
export const ScopeStatus = {
|
|
108
|
+
FAILED: "FAILED",
|
|
109
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
110
|
+
SUCCEEDED: "SUCCEEDED",
|
|
111
|
+
};
|
|
112
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
113
|
+
constructor(opts) {
|
|
114
|
+
super({
|
|
115
|
+
name: "ResourceNotFoundException",
|
|
116
|
+
$fault: "client",
|
|
117
|
+
...opts,
|
|
118
|
+
});
|
|
119
|
+
this.name = "ResourceNotFoundException";
|
|
120
|
+
this.$fault = "client";
|
|
121
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
export const DestinationCategory = {
|
|
125
|
+
AMAZON_DYNAMODB: "AMAZON_DYNAMODB",
|
|
126
|
+
AMAZON_S3: "AMAZON_S3",
|
|
127
|
+
INTER_AZ: "INTER_AZ",
|
|
128
|
+
INTER_VPC: "INTER_VPC",
|
|
129
|
+
INTRA_AZ: "INTRA_AZ",
|
|
130
|
+
UNCLASSIFIED: "UNCLASSIFIED",
|
|
131
|
+
};
|
|
132
|
+
export const MetricUnit = {
|
|
133
|
+
BITS: "Bits",
|
|
134
|
+
BITS_PER_SECOND: "Bits/Second",
|
|
135
|
+
BYTES: "Bytes",
|
|
136
|
+
BYTES_PER_SECOND: "Bytes/Second",
|
|
137
|
+
COUNT: "Count",
|
|
138
|
+
COUNT_PER_SECOND: "Count/Second",
|
|
139
|
+
GIGABITS: "Gigabits",
|
|
140
|
+
GIGABITS_PER_SECOND: "Gigabits/Second",
|
|
141
|
+
GIGABYTES: "Gigabytes",
|
|
142
|
+
GIGABYTES_PER_SECOND: "Gigabytes/Second",
|
|
143
|
+
KILOBITS: "Kilobits",
|
|
144
|
+
KILOBITS_PER_SECOND: "Kilobits/Second",
|
|
145
|
+
KILOBYTES: "Kilobytes",
|
|
146
|
+
KILOBYTES_PER_SECOND: "Kilobytes/Second",
|
|
147
|
+
MEGABITS: "Megabits",
|
|
148
|
+
MEGABITS_PER_SECOND: "Megabits/Second",
|
|
149
|
+
MEGABYTES: "Megabytes",
|
|
150
|
+
MEGABYTES_PER_SECOND: "Megabytes/Second",
|
|
151
|
+
MICROSECONDS: "Microseconds",
|
|
152
|
+
MILLISECONDS: "Milliseconds",
|
|
153
|
+
NONE: "None",
|
|
154
|
+
PERCENT: "Percent",
|
|
155
|
+
SECONDS: "Seconds",
|
|
156
|
+
TERABITS: "Terabits",
|
|
157
|
+
TERABITS_PER_SECOND: "Terabits/Second",
|
|
158
|
+
TERABYTES: "Terabytes",
|
|
159
|
+
TERABYTES_PER_SECOND: "Terabytes/Second",
|
|
160
|
+
};
|
|
161
|
+
export const QueryStatus = {
|
|
162
|
+
CANCELED: "CANCELED",
|
|
163
|
+
FAILED: "FAILED",
|
|
164
|
+
QUEUED: "QUEUED",
|
|
165
|
+
RUNNING: "RUNNING",
|
|
166
|
+
SUCCEEDED: "SUCCEEDED",
|
|
167
|
+
};
|
|
168
|
+
export const MonitorMetric = {
|
|
169
|
+
DATA_TRANSFERRED: "DATA_TRANSFERRED",
|
|
170
|
+
RETRANSMISSIONS: "RETRANSMISSIONS",
|
|
171
|
+
ROUND_TRIP_TIME: "ROUND_TRIP_TIME",
|
|
172
|
+
TIMEOUTS: "TIMEOUTS",
|
|
173
|
+
};
|
|
174
|
+
export const WorkloadInsightsMetric = {
|
|
175
|
+
DATA_TRANSFERRED: "DATA_TRANSFERRED",
|
|
176
|
+
RETRANSMISSIONS: "RETRANSMISSIONS",
|
|
177
|
+
TIMEOUTS: "TIMEOUTS",
|
|
178
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { GetQueryResultsMonitorTopContributorsCommand, } from "../commands/GetQueryResultsMonitorTopContributorsCommand";
|
|
3
|
+
import { NetworkFlowMonitorClient } from "../NetworkFlowMonitorClient";
|
|
4
|
+
export const paginateGetQueryResultsMonitorTopContributors = createPaginator(NetworkFlowMonitorClient, GetQueryResultsMonitorTopContributorsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { GetQueryResultsWorkloadInsightsTopContributorsDataCommand, } from "../commands/GetQueryResultsWorkloadInsightsTopContributorsDataCommand";
|
|
3
|
+
import { NetworkFlowMonitorClient } from "../NetworkFlowMonitorClient";
|
|
4
|
+
export const paginateGetQueryResultsWorkloadInsightsTopContributorsData = createPaginator(NetworkFlowMonitorClient, GetQueryResultsWorkloadInsightsTopContributorsDataCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { GetQueryResultsWorkloadInsightsTopContributorsCommand, } from "../commands/GetQueryResultsWorkloadInsightsTopContributorsCommand";
|
|
3
|
+
import { NetworkFlowMonitorClient } from "../NetworkFlowMonitorClient";
|
|
4
|
+
export const paginateGetQueryResultsWorkloadInsightsTopContributors = createPaginator(NetworkFlowMonitorClient, GetQueryResultsWorkloadInsightsTopContributorsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListMonitorsCommand, } from "../commands/ListMonitorsCommand";
|
|
3
|
+
import { NetworkFlowMonitorClient } from "../NetworkFlowMonitorClient";
|
|
4
|
+
export const paginateListMonitors = createPaginator(NetworkFlowMonitorClient, ListMonitorsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListScopesCommand } from "../commands/ListScopesCommand";
|
|
3
|
+
import { NetworkFlowMonitorClient } from "../NetworkFlowMonitorClient";
|
|
4
|
+
export const paginateListScopes = createPaginator(NetworkFlowMonitorClient, ListScopesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from "./GetQueryResultsMonitorTopContributorsPaginator";
|
|
2
|
+
export * from "./GetQueryResultsWorkloadInsightsTopContributorsDataPaginator";
|
|
3
|
+
export * from "./GetQueryResultsWorkloadInsightsTopContributorsPaginator";
|
|
4
|
+
export * from "./Interfaces";
|
|
5
|
+
export * from "./ListMonitorsPaginator";
|
|
6
|
+
export * from "./ListScopesPaginator";
|