@aws-sdk/client-application-insights 3.379.1 → 3.380.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 +55 -7
- package/dist-cjs/ApplicationInsights.js +12 -0
- package/dist-cjs/commands/AddWorkloadCommand.js +46 -0
- package/dist-cjs/commands/DescribeWorkloadCommand.js +46 -0
- package/dist-cjs/commands/ListWorkloadsCommand.js +46 -0
- package/dist-cjs/commands/RemoveWorkloadCommand.js +46 -0
- package/dist-cjs/commands/UpdateProblemCommand.js +46 -0
- package/dist-cjs/commands/UpdateWorkloadCommand.js +46 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +118 -31
- package/dist-cjs/pagination/ListWorkloadsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +290 -2
- package/dist-es/ApplicationInsights.js +12 -0
- package/dist-es/commands/AddWorkloadCommand.js +42 -0
- package/dist-es/commands/DescribeWorkloadCommand.js +42 -0
- package/dist-es/commands/ListWorkloadsCommand.js +42 -0
- package/dist-es/commands/RemoveWorkloadCommand.js +42 -0
- package/dist-es/commands/UpdateProblemCommand.js +42 -0
- package/dist-es/commands/UpdateWorkloadCommand.js +42 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +114 -27
- package/dist-es/pagination/ListWorkloadsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +276 -0
- package/dist-types/ApplicationInsights.d.ts +42 -0
- package/dist-types/ApplicationInsightsClient.d.ts +8 -2
- package/dist-types/commands/AddWorkloadCommand.d.ts +96 -0
- package/dist-types/commands/CreateApplicationCommand.d.ts +3 -2
- package/dist-types/commands/DescribeApplicationCommand.d.ts +3 -1
- package/dist-types/commands/DescribeComponentCommand.d.ts +3 -2
- package/dist-types/commands/DescribeComponentConfigurationCommand.d.ts +2 -1
- package/dist-types/commands/DescribeComponentConfigurationRecommendationCommand.d.ts +2 -1
- package/dist-types/commands/DescribeLogPatternCommand.d.ts +2 -0
- package/dist-types/commands/DescribeObservationCommand.d.ts +3 -2
- package/dist-types/commands/DescribeProblemCommand.d.ts +7 -3
- package/dist-types/commands/DescribeProblemObservationsCommand.d.ts +3 -2
- package/dist-types/commands/DescribeWorkloadCommand.d.ts +91 -0
- package/dist-types/commands/ListApplicationsCommand.d.ts +3 -1
- package/dist-types/commands/ListComponentsCommand.d.ts +3 -2
- package/dist-types/commands/ListConfigurationHistoryCommand.d.ts +6 -3
- package/dist-types/commands/ListLogPatternSetsCommand.d.ts +2 -0
- package/dist-types/commands/ListLogPatternsCommand.d.ts +2 -0
- package/dist-types/commands/ListProblemsCommand.d.ts +9 -3
- package/dist-types/commands/ListWorkloadsCommand.d.ts +95 -0
- package/dist-types/commands/RemoveWorkloadCommand.d.ts +82 -0
- package/dist-types/commands/UpdateApplicationCommand.d.ts +2 -1
- package/dist-types/commands/UpdateComponentConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateProblemCommand.d.ts +83 -0
- package/dist-types/commands/UpdateWorkloadCommand.d.ts +94 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +560 -67
- package/dist-types/pagination/ListWorkloadsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +54 -0
- package/dist-types/ts3.4/ApplicationInsights.d.ts +102 -0
- package/dist-types/ts3.4/ApplicationInsightsClient.d.ts +38 -2
- package/dist-types/ts3.4/commands/AddWorkloadCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DescribeWorkloadCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListWorkloadsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/RemoveWorkloadCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateProblemCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateWorkloadCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +227 -63
- package/dist-types/ts3.4/pagination/ListWorkloadsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +72 -0
- package/package.json +1 -1
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { ApplicationInsightsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationInsightsClient";
|
|
5
|
+
import { UpdateProblemRequest, UpdateProblemResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateProblemCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateProblemCommandInput extends UpdateProblemRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateProblemCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateProblemCommandOutput extends UpdateProblemResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Updates the visibility of the problem or specifies the problem as
|
|
27
|
+
* <code>RESOLVED</code>.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { ApplicationInsightsClient, UpdateProblemCommand } from "@aws-sdk/client-application-insights"; // ES Modules import
|
|
32
|
+
* // const { ApplicationInsightsClient, UpdateProblemCommand } = require("@aws-sdk/client-application-insights"); // CommonJS import
|
|
33
|
+
* const client = new ApplicationInsightsClient(config);
|
|
34
|
+
* const input = { // UpdateProblemRequest
|
|
35
|
+
* ProblemId: "STRING_VALUE", // required
|
|
36
|
+
* UpdateStatus: "RESOLVED",
|
|
37
|
+
* Visibility: "IGNORED" || "VISIBLE",
|
|
38
|
+
* };
|
|
39
|
+
* const command = new UpdateProblemCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // {};
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @param UpdateProblemCommandInput - {@link UpdateProblemCommandInput}
|
|
46
|
+
* @returns {@link UpdateProblemCommandOutput}
|
|
47
|
+
* @see {@link UpdateProblemCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link UpdateProblemCommandOutput} for command's `response` shape.
|
|
49
|
+
* @see {@link ApplicationInsightsClientResolvedConfig | config} for ApplicationInsightsClient's `config` shape.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link InternalServerException} (server fault)
|
|
52
|
+
* <p>The server encountered an internal error and is unable to complete the request.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
55
|
+
* <p>The resource does not exist in the customer account.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ValidationException} (client fault)
|
|
58
|
+
* <p>The parameter is not valid.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ApplicationInsightsServiceException}
|
|
61
|
+
* <p>Base exception class for all service exceptions from ApplicationInsights service.</p>
|
|
62
|
+
*
|
|
63
|
+
*/
|
|
64
|
+
export declare class UpdateProblemCommand extends $Command<UpdateProblemCommandInput, UpdateProblemCommandOutput, ApplicationInsightsClientResolvedConfig> {
|
|
65
|
+
readonly input: UpdateProblemCommandInput;
|
|
66
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
constructor(input: UpdateProblemCommandInput);
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
74
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationInsightsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateProblemCommandInput, UpdateProblemCommandOutput>;
|
|
75
|
+
/**
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
78
|
+
private serialize;
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
private deserialize;
|
|
83
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { ApplicationInsightsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ApplicationInsightsClient";
|
|
5
|
+
import { UpdateWorkloadRequest, UpdateWorkloadResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateWorkloadCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateWorkloadCommandInput extends UpdateWorkloadRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateWorkloadCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateWorkloadCommandOutput extends UpdateWorkloadResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Adds a workload to a component. Each component can have at most five workloads.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { ApplicationInsightsClient, UpdateWorkloadCommand } from "@aws-sdk/client-application-insights"; // ES Modules import
|
|
31
|
+
* // const { ApplicationInsightsClient, UpdateWorkloadCommand } = require("@aws-sdk/client-application-insights"); // CommonJS import
|
|
32
|
+
* const client = new ApplicationInsightsClient(config);
|
|
33
|
+
* const input = { // UpdateWorkloadRequest
|
|
34
|
+
* ResourceGroupName: "STRING_VALUE", // required
|
|
35
|
+
* ComponentName: "STRING_VALUE", // required
|
|
36
|
+
* WorkloadId: "STRING_VALUE",
|
|
37
|
+
* WorkloadConfiguration: { // WorkloadConfiguration
|
|
38
|
+
* WorkloadName: "STRING_VALUE",
|
|
39
|
+
* Tier: "CUSTOM" || "DEFAULT" || "DOT_NET_CORE" || "DOT_NET_WORKER" || "DOT_NET_WEB_TIER" || "DOT_NET_WEB" || "SQL_SERVER" || "SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP" || "MYSQL" || "POSTGRESQL" || "JAVA_JMX" || "ORACLE" || "SAP_HANA_MULTI_NODE" || "SAP_HANA_SINGLE_NODE" || "SAP_HANA_HIGH_AVAILABILITY" || "SQL_SERVER_FAILOVER_CLUSTER_INSTANCE" || "SHAREPOINT" || "ACTIVE_DIRECTORY" || "SAP_NETWEAVER_STANDARD" || "SAP_NETWEAVER_DISTRIBUTED" || "SAP_NETWEAVER_HIGH_AVAILABILITY",
|
|
40
|
+
* Configuration: "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* };
|
|
43
|
+
* const command = new UpdateWorkloadCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // UpdateWorkloadResponse
|
|
46
|
+
* // WorkloadId: "STRING_VALUE",
|
|
47
|
+
* // WorkloadConfiguration: { // WorkloadConfiguration
|
|
48
|
+
* // WorkloadName: "STRING_VALUE",
|
|
49
|
+
* // Tier: "CUSTOM" || "DEFAULT" || "DOT_NET_CORE" || "DOT_NET_WORKER" || "DOT_NET_WEB_TIER" || "DOT_NET_WEB" || "SQL_SERVER" || "SQL_SERVER_ALWAYSON_AVAILABILITY_GROUP" || "MYSQL" || "POSTGRESQL" || "JAVA_JMX" || "ORACLE" || "SAP_HANA_MULTI_NODE" || "SAP_HANA_SINGLE_NODE" || "SAP_HANA_HIGH_AVAILABILITY" || "SQL_SERVER_FAILOVER_CLUSTER_INSTANCE" || "SHAREPOINT" || "ACTIVE_DIRECTORY" || "SAP_NETWEAVER_STANDARD" || "SAP_NETWEAVER_DISTRIBUTED" || "SAP_NETWEAVER_HIGH_AVAILABILITY",
|
|
50
|
+
* // Configuration: "STRING_VALUE",
|
|
51
|
+
* // },
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @param UpdateWorkloadCommandInput - {@link UpdateWorkloadCommandInput}
|
|
57
|
+
* @returns {@link UpdateWorkloadCommandOutput}
|
|
58
|
+
* @see {@link UpdateWorkloadCommandInput} for command's `input` shape.
|
|
59
|
+
* @see {@link UpdateWorkloadCommandOutput} for command's `response` shape.
|
|
60
|
+
* @see {@link ApplicationInsightsClientResolvedConfig | config} for ApplicationInsightsClient's `config` shape.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InternalServerException} (server fault)
|
|
63
|
+
* <p>The server encountered an internal error and is unable to complete the request.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
|
+
* <p>The resource does not exist in the customer account.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ValidationException} (client fault)
|
|
69
|
+
* <p>The parameter is not valid.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ApplicationInsightsServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from ApplicationInsights service.</p>
|
|
73
|
+
*
|
|
74
|
+
*/
|
|
75
|
+
export declare class UpdateWorkloadCommand extends $Command<UpdateWorkloadCommandInput, UpdateWorkloadCommandOutput, ApplicationInsightsClientResolvedConfig> {
|
|
76
|
+
readonly input: UpdateWorkloadCommandInput;
|
|
77
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
78
|
+
/**
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
constructor(input: UpdateWorkloadCommandInput);
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationInsightsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateWorkloadCommandInput, UpdateWorkloadCommandOutput>;
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
private serialize;
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
private deserialize;
|
|
94
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./AddWorkloadCommand";
|
|
1
2
|
export * from "./CreateApplicationCommand";
|
|
2
3
|
export * from "./CreateComponentCommand";
|
|
3
4
|
export * from "./CreateLogPatternCommand";
|
|
@@ -12,6 +13,7 @@ export * from "./DescribeLogPatternCommand";
|
|
|
12
13
|
export * from "./DescribeObservationCommand";
|
|
13
14
|
export * from "./DescribeProblemCommand";
|
|
14
15
|
export * from "./DescribeProblemObservationsCommand";
|
|
16
|
+
export * from "./DescribeWorkloadCommand";
|
|
15
17
|
export * from "./ListApplicationsCommand";
|
|
16
18
|
export * from "./ListComponentsCommand";
|
|
17
19
|
export * from "./ListConfigurationHistoryCommand";
|
|
@@ -19,9 +21,13 @@ export * from "./ListLogPatternSetsCommand";
|
|
|
19
21
|
export * from "./ListLogPatternsCommand";
|
|
20
22
|
export * from "./ListProblemsCommand";
|
|
21
23
|
export * from "./ListTagsForResourceCommand";
|
|
24
|
+
export * from "./ListWorkloadsCommand";
|
|
25
|
+
export * from "./RemoveWorkloadCommand";
|
|
22
26
|
export * from "./TagResourceCommand";
|
|
23
27
|
export * from "./UntagResourceCommand";
|
|
24
28
|
export * from "./UpdateApplicationCommand";
|
|
25
29
|
export * from "./UpdateComponentCommand";
|
|
26
30
|
export * from "./UpdateComponentConfigurationCommand";
|
|
27
31
|
export * from "./UpdateLogPatternCommand";
|
|
32
|
+
export * from "./UpdateProblemCommand";
|
|
33
|
+
export * from "./UpdateWorkloadCommand";
|