@aws-sdk/client-application-insights 3.477.0 → 3.481.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/commands/AddWorkloadCommand.js +18 -41
- package/dist-cjs/commands/CreateApplicationCommand.js +18 -41
- package/dist-cjs/commands/CreateComponentCommand.js +18 -41
- package/dist-cjs/commands/CreateLogPatternCommand.js +18 -41
- package/dist-cjs/commands/DeleteApplicationCommand.js +18 -41
- package/dist-cjs/commands/DeleteComponentCommand.js +18 -41
- package/dist-cjs/commands/DeleteLogPatternCommand.js +18 -41
- package/dist-cjs/commands/DescribeApplicationCommand.js +18 -41
- package/dist-cjs/commands/DescribeComponentCommand.js +18 -41
- package/dist-cjs/commands/DescribeComponentConfigurationCommand.js +18 -41
- package/dist-cjs/commands/DescribeComponentConfigurationRecommendationCommand.js +18 -41
- package/dist-cjs/commands/DescribeLogPatternCommand.js +18 -41
- package/dist-cjs/commands/DescribeObservationCommand.js +18 -41
- package/dist-cjs/commands/DescribeProblemCommand.js +18 -41
- package/dist-cjs/commands/DescribeProblemObservationsCommand.js +18 -41
- package/dist-cjs/commands/DescribeWorkloadCommand.js +18 -41
- package/dist-cjs/commands/ListApplicationsCommand.js +18 -41
- package/dist-cjs/commands/ListComponentsCommand.js +18 -41
- package/dist-cjs/commands/ListConfigurationHistoryCommand.js +18 -41
- package/dist-cjs/commands/ListLogPatternSetsCommand.js +18 -41
- package/dist-cjs/commands/ListLogPatternsCommand.js +18 -41
- package/dist-cjs/commands/ListProblemsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/ListWorkloadsCommand.js +18 -41
- package/dist-cjs/commands/RemoveWorkloadCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateApplicationCommand.js +18 -41
- package/dist-cjs/commands/UpdateComponentCommand.js +18 -41
- package/dist-cjs/commands/UpdateComponentConfigurationCommand.js +18 -41
- package/dist-cjs/commands/UpdateLogPatternCommand.js +18 -41
- package/dist-cjs/commands/UpdateProblemCommand.js +18 -41
- package/dist-cjs/commands/UpdateWorkloadCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListApplicationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListComponentsPaginator.js +2 -24
- package/dist-cjs/pagination/ListConfigurationHistoryPaginator.js +2 -24
- package/dist-cjs/pagination/ListLogPatternSetsPaginator.js +2 -24
- package/dist-cjs/pagination/ListLogPatternsPaginator.js +2 -24
- package/dist-cjs/pagination/ListProblemsPaginator.js +2 -24
- package/dist-cjs/pagination/ListWorkloadsPaginator.js +2 -24
- package/dist-es/commands/AddWorkloadCommand.js +18 -41
- package/dist-es/commands/CreateApplicationCommand.js +18 -41
- package/dist-es/commands/CreateComponentCommand.js +18 -41
- package/dist-es/commands/CreateLogPatternCommand.js +18 -41
- package/dist-es/commands/DeleteApplicationCommand.js +18 -41
- package/dist-es/commands/DeleteComponentCommand.js +18 -41
- package/dist-es/commands/DeleteLogPatternCommand.js +18 -41
- package/dist-es/commands/DescribeApplicationCommand.js +18 -41
- package/dist-es/commands/DescribeComponentCommand.js +18 -41
- package/dist-es/commands/DescribeComponentConfigurationCommand.js +18 -41
- package/dist-es/commands/DescribeComponentConfigurationRecommendationCommand.js +18 -41
- package/dist-es/commands/DescribeLogPatternCommand.js +18 -41
- package/dist-es/commands/DescribeObservationCommand.js +18 -41
- package/dist-es/commands/DescribeProblemCommand.js +18 -41
- package/dist-es/commands/DescribeProblemObservationsCommand.js +18 -41
- package/dist-es/commands/DescribeWorkloadCommand.js +18 -41
- package/dist-es/commands/ListApplicationsCommand.js +18 -41
- package/dist-es/commands/ListComponentsCommand.js +18 -41
- package/dist-es/commands/ListConfigurationHistoryCommand.js +18 -41
- package/dist-es/commands/ListLogPatternSetsCommand.js +18 -41
- package/dist-es/commands/ListLogPatternsCommand.js +18 -41
- package/dist-es/commands/ListProblemsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/ListWorkloadsCommand.js +18 -41
- package/dist-es/commands/RemoveWorkloadCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateApplicationCommand.js +18 -41
- package/dist-es/commands/UpdateComponentCommand.js +18 -41
- package/dist-es/commands/UpdateComponentConfigurationCommand.js +18 -41
- package/dist-es/commands/UpdateLogPatternCommand.js +18 -41
- package/dist-es/commands/UpdateProblemCommand.js +18 -41
- package/dist-es/commands/UpdateWorkloadCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListApplicationsPaginator.js +2 -23
- package/dist-es/pagination/ListComponentsPaginator.js +2 -23
- package/dist-es/pagination/ListConfigurationHistoryPaginator.js +2 -23
- package/dist-es/pagination/ListLogPatternSetsPaginator.js +2 -23
- package/dist-es/pagination/ListLogPatternsPaginator.js +2 -23
- package/dist-es/pagination/ListProblemsPaginator.js +2 -23
- package/dist-es/pagination/ListWorkloadsPaginator.js +2 -23
- package/dist-types/commands/AddWorkloadCommand.d.ts +6 -21
- package/dist-types/commands/CreateApplicationCommand.d.ts +6 -21
- package/dist-types/commands/CreateComponentCommand.d.ts +6 -21
- package/dist-types/commands/CreateLogPatternCommand.d.ts +6 -21
- package/dist-types/commands/DeleteApplicationCommand.d.ts +6 -21
- package/dist-types/commands/DeleteComponentCommand.d.ts +6 -21
- package/dist-types/commands/DeleteLogPatternCommand.d.ts +6 -21
- package/dist-types/commands/DescribeApplicationCommand.d.ts +6 -21
- package/dist-types/commands/DescribeComponentCommand.d.ts +6 -21
- package/dist-types/commands/DescribeComponentConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/DescribeComponentConfigurationRecommendationCommand.d.ts +6 -21
- package/dist-types/commands/DescribeLogPatternCommand.d.ts +6 -21
- package/dist-types/commands/DescribeObservationCommand.d.ts +6 -21
- package/dist-types/commands/DescribeProblemCommand.d.ts +6 -21
- package/dist-types/commands/DescribeProblemObservationsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeWorkloadCommand.d.ts +6 -21
- package/dist-types/commands/ListApplicationsCommand.d.ts +6 -21
- package/dist-types/commands/ListComponentsCommand.d.ts +6 -21
- package/dist-types/commands/ListConfigurationHistoryCommand.d.ts +6 -21
- package/dist-types/commands/ListLogPatternSetsCommand.d.ts +6 -21
- package/dist-types/commands/ListLogPatternsCommand.d.ts +6 -21
- package/dist-types/commands/ListProblemsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ListWorkloadsCommand.d.ts +6 -21
- package/dist-types/commands/RemoveWorkloadCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateApplicationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateComponentCommand.d.ts +6 -21
- package/dist-types/commands/UpdateComponentConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateLogPatternCommand.d.ts +6 -21
- package/dist-types/commands/UpdateProblemCommand.d.ts +6 -21
- package/dist-types/commands/UpdateWorkloadCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListApplicationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListComponentsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListConfigurationHistoryPaginator.d.ts +1 -1
- package/dist-types/pagination/ListLogPatternSetsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListLogPatternsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListProblemsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListWorkloadsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/AddWorkloadCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateComponentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateLogPatternCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteComponentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteLogPatternCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeApplicationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeComponentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeComponentConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeComponentConfigurationRecommendationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeLogPatternCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeObservationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeProblemCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeProblemObservationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeWorkloadCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListConfigurationHistoryCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListLogPatternSetsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListLogPatternsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListProblemsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListWorkloadsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RemoveWorkloadCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateComponentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateComponentConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateLogPatternCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateProblemCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateWorkloadCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListComponentsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListConfigurationHistoryPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListLogPatternSetsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListLogPatternsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListProblemsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListWorkloadsPaginator.d.ts +3 -3
- package/package.json +11 -10
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateApplicationCommand, se_UpdateApplicationCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateApplicationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ApplicationInsightsClient";
|
|
26
|
-
const commandName = "UpdateApplicationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "EC2WindowsBarleyService",
|
|
35
|
-
operation: "UpdateApplication",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateApplicationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateApplicationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateApplicationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("EC2WindowsBarleyService", "UpdateApplication", {})
|
|
19
|
+
.n("ApplicationInsightsClient", "UpdateApplicationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateApplicationCommand)
|
|
22
|
+
.de(de_UpdateApplicationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateComponentCommand, se_UpdateComponentCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateComponentCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ApplicationInsightsClient";
|
|
26
|
-
const commandName = "UpdateComponentCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "EC2WindowsBarleyService",
|
|
35
|
-
operation: "UpdateComponent",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateComponentCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateComponentCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateComponentCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("EC2WindowsBarleyService", "UpdateComponent", {})
|
|
19
|
+
.n("ApplicationInsightsClient", "UpdateComponentCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateComponentCommand)
|
|
22
|
+
.de(de_UpdateComponentCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateComponentConfigurationCommand, se_UpdateComponentConfigurationCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateComponentConfigurationCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ApplicationInsightsClient";
|
|
26
|
-
const commandName = "UpdateComponentConfigurationCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "EC2WindowsBarleyService",
|
|
35
|
-
operation: "UpdateComponentConfiguration",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateComponentConfigurationCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateComponentConfigurationCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateComponentConfigurationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("EC2WindowsBarleyService", "UpdateComponentConfiguration", {})
|
|
19
|
+
.n("ApplicationInsightsClient", "UpdateComponentConfigurationCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateComponentConfigurationCommand)
|
|
22
|
+
.de(de_UpdateComponentConfigurationCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateLogPatternCommand, se_UpdateLogPatternCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateLogPatternCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ApplicationInsightsClient";
|
|
26
|
-
const commandName = "UpdateLogPatternCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "EC2WindowsBarleyService",
|
|
35
|
-
operation: "UpdateLogPattern",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateLogPatternCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateLogPatternCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateLogPatternCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("EC2WindowsBarleyService", "UpdateLogPattern", {})
|
|
19
|
+
.n("ApplicationInsightsClient", "UpdateLogPatternCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateLogPatternCommand)
|
|
22
|
+
.de(de_UpdateLogPatternCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateProblemCommand, se_UpdateProblemCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateProblemCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ApplicationInsightsClient";
|
|
26
|
-
const commandName = "UpdateProblemCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "EC2WindowsBarleyService",
|
|
35
|
-
operation: "UpdateProblem",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateProblemCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateProblemCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateProblemCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("EC2WindowsBarleyService", "UpdateProblem", {})
|
|
19
|
+
.n("ApplicationInsightsClient", "UpdateProblemCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateProblemCommand)
|
|
22
|
+
.de(de_UpdateProblemCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateWorkloadCommand, se_UpdateWorkloadCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateWorkloadCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "ApplicationInsightsClient";
|
|
26
|
-
const commandName = "UpdateWorkloadCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "EC2WindowsBarleyService",
|
|
35
|
-
operation: "UpdateWorkload",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateWorkloadCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateWorkloadCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateWorkloadCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("EC2WindowsBarleyService", "UpdateWorkload", {})
|
|
19
|
+
.n("ApplicationInsightsClient", "UpdateWorkloadCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateWorkloadCommand)
|
|
22
|
+
.de(de_UpdateWorkloadCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "applicationinsights",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ApplicationInsightsClient } from "../ApplicationInsightsClient";
|
|
2
3
|
import { ListApplicationsCommand, } from "../commands/ListApplicationsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListApplicationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListApplications(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ApplicationInsightsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ApplicationInsights | ApplicationInsightsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListApplications = createPaginator(ApplicationInsightsClient, ListApplicationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ApplicationInsightsClient } from "../ApplicationInsightsClient";
|
|
2
3
|
import { ListComponentsCommand, } from "../commands/ListComponentsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListComponentsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListComponents(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ApplicationInsightsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ApplicationInsights | ApplicationInsightsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListComponents = createPaginator(ApplicationInsightsClient, ListComponentsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ApplicationInsightsClient } from "../ApplicationInsightsClient";
|
|
2
3
|
import { ListConfigurationHistoryCommand, } from "../commands/ListConfigurationHistoryCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListConfigurationHistoryCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListConfigurationHistory(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ApplicationInsightsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ApplicationInsights | ApplicationInsightsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListConfigurationHistory = createPaginator(ApplicationInsightsClient, ListConfigurationHistoryCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ApplicationInsightsClient } from "../ApplicationInsightsClient";
|
|
2
3
|
import { ListLogPatternSetsCommand, } from "../commands/ListLogPatternSetsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListLogPatternSetsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListLogPatternSets(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ApplicationInsightsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ApplicationInsights | ApplicationInsightsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListLogPatternSets = createPaginator(ApplicationInsightsClient, ListLogPatternSetsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ApplicationInsightsClient } from "../ApplicationInsightsClient";
|
|
2
3
|
import { ListLogPatternsCommand, } from "../commands/ListLogPatternsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListLogPatternsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListLogPatterns(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ApplicationInsightsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ApplicationInsights | ApplicationInsightsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListLogPatterns = createPaginator(ApplicationInsightsClient, ListLogPatternsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ApplicationInsightsClient } from "../ApplicationInsightsClient";
|
|
2
3
|
import { ListProblemsCommand, } from "../commands/ListProblemsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListProblemsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListProblems(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ApplicationInsightsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ApplicationInsights | ApplicationInsightsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListProblems = createPaginator(ApplicationInsightsClient, ListProblemsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ApplicationInsightsClient } from "../ApplicationInsightsClient";
|
|
2
3
|
import { ListWorkloadsCommand, } from "../commands/ListWorkloadsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListWorkloadsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListWorkloads(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof ApplicationInsightsClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected ApplicationInsights | ApplicationInsightsClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListWorkloads = createPaginator(ApplicationInsightsClient, ListWorkloadsCommand, "NextToken", "NextToken", "MaxResults");
|