@aws-sdk/client-networkflowmonitor 3.928.0 → 3.930.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/dist-cjs/index.js +1082 -1053
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/NetworkFlowMonitorClient.js +2 -0
- package/dist-es/commands/CreateMonitorCommand.js +3 -9
- package/dist-es/commands/CreateScopeCommand.js +3 -9
- package/dist-es/commands/DeleteMonitorCommand.js +3 -9
- package/dist-es/commands/DeleteScopeCommand.js +3 -9
- package/dist-es/commands/GetMonitorCommand.js +3 -9
- package/dist-es/commands/GetQueryResultsMonitorTopContributorsCommand.js +3 -9
- package/dist-es/commands/GetQueryResultsWorkloadInsightsTopContributorsCommand.js +3 -9
- package/dist-es/commands/GetQueryResultsWorkloadInsightsTopContributorsDataCommand.js +3 -9
- package/dist-es/commands/GetQueryStatusMonitorTopContributorsCommand.js +3 -9
- package/dist-es/commands/GetQueryStatusWorkloadInsightsTopContributorsCommand.js +3 -9
- package/dist-es/commands/GetQueryStatusWorkloadInsightsTopContributorsDataCommand.js +3 -9
- package/dist-es/commands/GetScopeCommand.js +3 -9
- package/dist-es/commands/ListMonitorsCommand.js +3 -9
- package/dist-es/commands/ListScopesCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/StartQueryMonitorTopContributorsCommand.js +3 -9
- package/dist-es/commands/StartQueryWorkloadInsightsTopContributorsCommand.js +3 -9
- package/dist-es/commands/StartQueryWorkloadInsightsTopContributorsDataCommand.js +3 -9
- package/dist-es/commands/StopQueryMonitorTopContributorsCommand.js +3 -9
- package/dist-es/commands/StopQueryWorkloadInsightsTopContributorsCommand.js +3 -9
- package/dist-es/commands/StopQueryWorkloadInsightsTopContributorsDataCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateMonitorCommand.js +3 -9
- package/dist-es/commands/UpdateScopeCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -8
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +1018 -0
- package/dist-types/NetworkFlowMonitorClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +4 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +110 -0
- package/dist-types/ts3.4/NetworkFlowMonitorClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +115 -0
- package/package.json +33 -34
- package/dist-es/protocols/Aws_restJson1.js +0 -854
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -227
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -305
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("NetworkFlowMonitor", "UntagResource", {})
|
|
17
13
|
.n("NetworkFlowMonitorClient", "UntagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourceCommand)
|
|
20
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateMonitor } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateMonitorCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("NetworkFlowMonitor", "UpdateMonitor", {})
|
|
17
13
|
.n("NetworkFlowMonitorClient", "UpdateMonitorCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateMonitorCommand)
|
|
20
|
-
.de(de_UpdateMonitorCommand)
|
|
14
|
+
.sc(UpdateMonitor)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateScope } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateScopeCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("NetworkFlowMonitor", "UpdateScope", {})
|
|
17
13
|
.n("NetworkFlowMonitorClient", "UpdateScopeCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateScopeCommand)
|
|
20
|
-
.de(de_UpdateScopeCommand)
|
|
14
|
+
.sc(UpdateScope)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -95,14 +95,6 @@ export class ValidationException extends __BaseException {
|
|
|
95
95
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
|
-
export var TargetId;
|
|
99
|
-
(function (TargetId) {
|
|
100
|
-
TargetId.visit = (value, visitor) => {
|
|
101
|
-
if (value.accountId !== undefined)
|
|
102
|
-
return visitor.accountId(value.accountId);
|
|
103
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
104
|
-
};
|
|
105
|
-
})(TargetId || (TargetId = {}));
|
|
106
98
|
export const TargetType = {
|
|
107
99
|
ACCOUNT: "ACCOUNT",
|
|
108
100
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.networkflowmonitor" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "NetworkFlowMonitor",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|