@aws-sdk/client-application-insights 3.437.0 → 3.440.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/endpoint/endpointResolver.js +1 -1
- package/dist-cjs/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +3 -0
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +3 -0
- package/dist-types/commands/CreateApplicationCommand.d.ts +2 -0
- package/dist-types/commands/DescribeApplicationCommand.d.ts +1 -0
- package/dist-types/commands/DescribeComponentConfigurationRecommendationCommand.d.ts +1 -0
- package/dist-types/commands/ListApplicationsCommand.d.ts +1 -0
- package/dist-types/commands/UpdateApplicationCommand.d.ts +2 -0
- package/dist-types/commands/UpdateComponentConfigurationCommand.d.ts +3 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +20 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +4 -0
- package/package.json +6 -5
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
|
-
const util_endpoints_1 = require("@
|
|
4
|
+
const util_endpoints_1 = require("@smithy/util-endpoints");
|
|
5
5
|
const ruleset_1 = require("./ruleset");
|
|
6
6
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
7
7
|
return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
|
package/dist-cjs/index.js
CHANGED
|
@@ -7,5 +7,6 @@ tslib_1.__exportStar(require("./ApplicationInsights"), exports);
|
|
|
7
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
8
8
|
tslib_1.__exportStar(require("./pagination"), exports);
|
|
9
9
|
tslib_1.__exportStar(require("./models"), exports);
|
|
10
|
+
require("@aws-sdk/util-endpoints");
|
|
10
11
|
var ApplicationInsightsServiceException_1 = require("./models/ApplicationInsightsServiceException");
|
|
11
12
|
Object.defineProperty(exports, "ApplicationInsightsServiceException", { enumerable: true, get: function () { return ApplicationInsightsServiceException_1.ApplicationInsightsServiceException; } });
|
|
@@ -1410,6 +1410,9 @@ const de_UpdateComponentConfigurationCommandError = async (output, context) => {
|
|
|
1410
1410
|
case "InternalServerException":
|
|
1411
1411
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
1412
1412
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1413
|
+
case "ResourceInUseException":
|
|
1414
|
+
case "com.amazonaws.applicationinsights#ResourceInUseException":
|
|
1415
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1413
1416
|
case "ResourceNotFoundException":
|
|
1414
1417
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
1415
1418
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
package/dist-es/index.js
CHANGED
|
@@ -1343,6 +1343,9 @@ const de_UpdateComponentConfigurationCommandError = async (output, context) => {
|
|
|
1343
1343
|
case "InternalServerException":
|
|
1344
1344
|
case "com.amazonaws.applicationinsights#InternalServerException":
|
|
1345
1345
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1346
|
+
case "ResourceInUseException":
|
|
1347
|
+
case "com.amazonaws.applicationinsights#ResourceInUseException":
|
|
1348
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1346
1349
|
case "ResourceNotFoundException":
|
|
1347
1350
|
case "com.amazonaws.applicationinsights#ResourceNotFoundException":
|
|
1348
1351
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
@@ -44,6 +44,7 @@ export interface CreateApplicationCommandOutput extends CreateApplicationRespons
|
|
|
44
44
|
* AutoConfigEnabled: true || false,
|
|
45
45
|
* AutoCreate: true || false,
|
|
46
46
|
* GroupingType: "ACCOUNT_BASED",
|
|
47
|
+
* AttachMissingPermission: true || false,
|
|
47
48
|
* };
|
|
48
49
|
* const command = new CreateApplicationCommand(input);
|
|
49
50
|
* const response = await client.send(command);
|
|
@@ -58,6 +59,7 @@ export interface CreateApplicationCommandOutput extends CreateApplicationRespons
|
|
|
58
59
|
* // Remarks: "STRING_VALUE",
|
|
59
60
|
* // AutoConfigEnabled: true || false,
|
|
60
61
|
* // DiscoveryType: "RESOURCE_GROUP_BASED" || "ACCOUNT_BASED",
|
|
62
|
+
* // AttachMissingPermission: true || false,
|
|
61
63
|
* // },
|
|
62
64
|
* // };
|
|
63
65
|
*
|
|
@@ -47,6 +47,7 @@ export interface DescribeApplicationCommandOutput extends DescribeApplicationRes
|
|
|
47
47
|
* // Remarks: "STRING_VALUE",
|
|
48
48
|
* // AutoConfigEnabled: true || false,
|
|
49
49
|
* // DiscoveryType: "RESOURCE_GROUP_BASED" || "ACCOUNT_BASED",
|
|
50
|
+
* // AttachMissingPermission: true || false,
|
|
50
51
|
* // },
|
|
51
52
|
* // };
|
|
52
53
|
*
|
|
@@ -34,6 +34,7 @@ export interface DescribeComponentConfigurationRecommendationCommandOutput exten
|
|
|
34
34
|
* ResourceGroupName: "STRING_VALUE", // required
|
|
35
35
|
* ComponentName: "STRING_VALUE", // required
|
|
36
36
|
* 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", // required
|
|
37
|
+
* WorkloadName: "STRING_VALUE",
|
|
37
38
|
* RecommendationType: "INFRA_ONLY" || "WORKLOAD_ONLY" || "ALL",
|
|
38
39
|
* };
|
|
39
40
|
* const command = new DescribeComponentConfigurationRecommendationCommand(input);
|
|
@@ -49,6 +49,7 @@ export interface ListApplicationsCommandOutput extends ListApplicationsResponse,
|
|
|
49
49
|
* // Remarks: "STRING_VALUE",
|
|
50
50
|
* // AutoConfigEnabled: true || false,
|
|
51
51
|
* // DiscoveryType: "RESOURCE_GROUP_BASED" || "ACCOUNT_BASED",
|
|
52
|
+
* // AttachMissingPermission: true || false,
|
|
52
53
|
* // },
|
|
53
54
|
* // ],
|
|
54
55
|
* // NextToken: "STRING_VALUE",
|
|
@@ -37,6 +37,7 @@ export interface UpdateApplicationCommandOutput extends UpdateApplicationRespons
|
|
|
37
37
|
* OpsItemSNSTopicArn: "STRING_VALUE",
|
|
38
38
|
* RemoveSNSTopic: true || false,
|
|
39
39
|
* AutoConfigEnabled: true || false,
|
|
40
|
+
* AttachMissingPermission: true || false,
|
|
40
41
|
* };
|
|
41
42
|
* const command = new UpdateApplicationCommand(input);
|
|
42
43
|
* const response = await client.send(command);
|
|
@@ -51,6 +52,7 @@ export interface UpdateApplicationCommandOutput extends UpdateApplicationRespons
|
|
|
51
52
|
* // Remarks: "STRING_VALUE",
|
|
52
53
|
* // AutoConfigEnabled: true || false,
|
|
53
54
|
* // DiscoveryType: "RESOURCE_GROUP_BASED" || "ACCOUNT_BASED",
|
|
55
|
+
* // AttachMissingPermission: true || false,
|
|
54
56
|
* // },
|
|
55
57
|
* // };
|
|
56
58
|
*
|
|
@@ -55,6 +55,9 @@ export interface UpdateComponentConfigurationCommandOutput extends UpdateCompone
|
|
|
55
55
|
* @throws {@link InternalServerException} (server fault)
|
|
56
56
|
* <p>The server encountered an internal error and is unable to complete the request.</p>
|
|
57
57
|
*
|
|
58
|
+
* @throws {@link ResourceInUseException} (client fault)
|
|
59
|
+
* <p>The resource is already created or in use.</p>
|
|
60
|
+
*
|
|
58
61
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
59
62
|
* <p>The resource does not exist in the customer account.</p>
|
|
60
63
|
*
|
package/dist-types/index.d.ts
CHANGED
|
@@ -20,4 +20,5 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
20
20
|
export * from "./commands";
|
|
21
21
|
export * from "./pagination";
|
|
22
22
|
export * from "./models";
|
|
23
|
+
import "@aws-sdk/util-endpoints";
|
|
23
24
|
export { ApplicationInsightsServiceException } from "./models/ApplicationInsightsServiceException";
|
|
@@ -283,6 +283,11 @@ export interface ApplicationInfo {
|
|
|
283
283
|
* <p> The method used by Application Insights to onboard your resources. </p>
|
|
284
284
|
*/
|
|
285
285
|
DiscoveryType?: DiscoveryType;
|
|
286
|
+
/**
|
|
287
|
+
* @public
|
|
288
|
+
* <p>If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.</p>
|
|
289
|
+
*/
|
|
290
|
+
AttachMissingPermission?: boolean;
|
|
286
291
|
}
|
|
287
292
|
/**
|
|
288
293
|
* @public
|
|
@@ -494,6 +499,11 @@ export interface CreateApplicationRequest {
|
|
|
494
499
|
* parameter to <code>ACCOUNT_BASED</code>. </p>
|
|
495
500
|
*/
|
|
496
501
|
GroupingType?: GroupingType;
|
|
502
|
+
/**
|
|
503
|
+
* @public
|
|
504
|
+
* <p>If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.</p>
|
|
505
|
+
*/
|
|
506
|
+
AttachMissingPermission?: boolean;
|
|
497
507
|
}
|
|
498
508
|
/**
|
|
499
509
|
* @public
|
|
@@ -837,6 +847,11 @@ export interface DescribeComponentConfigurationRecommendationRequest {
|
|
|
837
847
|
* <p>The tier of the application component.</p>
|
|
838
848
|
*/
|
|
839
849
|
Tier: Tier | undefined;
|
|
850
|
+
/**
|
|
851
|
+
* @public
|
|
852
|
+
* <p>The name of the workload.</p>
|
|
853
|
+
*/
|
|
854
|
+
WorkloadName?: string;
|
|
840
855
|
/**
|
|
841
856
|
* @public
|
|
842
857
|
* <p>The recommended configuration type.</p>
|
|
@@ -2010,6 +2025,11 @@ export interface UpdateApplicationRequest {
|
|
|
2010
2025
|
* <p> Turns auto-configuration on or off. </p>
|
|
2011
2026
|
*/
|
|
2012
2027
|
AutoConfigEnabled?: boolean;
|
|
2028
|
+
/**
|
|
2029
|
+
* @public
|
|
2030
|
+
* <p>If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.</p>
|
|
2031
|
+
*/
|
|
2032
|
+
AttachMissingPermission?: boolean;
|
|
2013
2033
|
}
|
|
2014
2034
|
/**
|
|
2015
2035
|
* @public
|
|
@@ -4,4 +4,5 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export * from "./commands";
|
|
5
5
|
export * from "./pagination";
|
|
6
6
|
export * from "./models";
|
|
7
|
+
import "@aws-sdk/util-endpoints";
|
|
7
8
|
export { ApplicationInsightsServiceException } from "./models/ApplicationInsightsServiceException";
|
|
@@ -107,6 +107,7 @@ export interface ApplicationInfo {
|
|
|
107
107
|
Remarks?: string;
|
|
108
108
|
AutoConfigEnabled?: boolean;
|
|
109
109
|
DiscoveryType?: DiscoveryType;
|
|
110
|
+
AttachMissingPermission?: boolean;
|
|
110
111
|
}
|
|
111
112
|
export declare class BadRequestException extends __BaseException {
|
|
112
113
|
readonly name: "BadRequestException";
|
|
@@ -166,6 +167,7 @@ export interface CreateApplicationRequest {
|
|
|
166
167
|
AutoConfigEnabled?: boolean;
|
|
167
168
|
AutoCreate?: boolean;
|
|
168
169
|
GroupingType?: GroupingType;
|
|
170
|
+
AttachMissingPermission?: boolean;
|
|
169
171
|
}
|
|
170
172
|
export interface CreateApplicationResponse {
|
|
171
173
|
ApplicationInfo?: ApplicationInfo;
|
|
@@ -253,6 +255,7 @@ export interface DescribeComponentConfigurationRecommendationRequest {
|
|
|
253
255
|
ResourceGroupName: string | undefined;
|
|
254
256
|
ComponentName: string | undefined;
|
|
255
257
|
Tier: Tier | undefined;
|
|
258
|
+
WorkloadName?: string;
|
|
256
259
|
RecommendationType?: RecommendationType;
|
|
257
260
|
}
|
|
258
261
|
export interface DescribeComponentConfigurationRecommendationResponse {
|
|
@@ -540,6 +543,7 @@ export interface UpdateApplicationRequest {
|
|
|
540
543
|
OpsItemSNSTopicArn?: string;
|
|
541
544
|
RemoveSNSTopic?: boolean;
|
|
542
545
|
AutoConfigEnabled?: boolean;
|
|
546
|
+
AttachMissingPermission?: boolean;
|
|
543
547
|
}
|
|
544
548
|
export interface UpdateApplicationResponse {
|
|
545
549
|
ApplicationInfo?: ApplicationInfo;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-application-insights",
|
|
3
3
|
"description": "AWS SDK for JavaScript Application Insights Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.440.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.438.0",
|
|
25
25
|
"@aws-sdk/core": "3.436.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.438.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.433.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.433.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.433.0",
|
|
30
30
|
"@aws-sdk/middleware-signing": "3.433.0",
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.438.0",
|
|
32
32
|
"@aws-sdk/region-config-resolver": "3.433.0",
|
|
33
33
|
"@aws-sdk/types": "3.433.0",
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
+
"@aws-sdk/util-endpoints": "3.438.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-browser": "3.433.0",
|
|
36
36
|
"@aws-sdk/util-user-agent-node": "3.437.0",
|
|
37
37
|
"@smithy/config-resolver": "^2.0.16",
|
|
@@ -54,6 +54,7 @@
|
|
|
54
54
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
55
55
|
"@smithy/util-defaults-mode-browser": "^2.0.16",
|
|
56
56
|
"@smithy/util-defaults-mode-node": "^2.0.21",
|
|
57
|
+
"@smithy/util-endpoints": "^1.0.2",
|
|
57
58
|
"@smithy/util-retry": "^2.0.5",
|
|
58
59
|
"@smithy/util-utf8": "^2.0.0",
|
|
59
60
|
"tslib": "^2.5.0"
|