@aws-sdk/client-application-insights 3.438.0 → 3.441.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.
@@ -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);
@@ -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
  *
@@ -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
@@ -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.438.0",
4
+ "version": "3.441.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,9 +21,9 @@
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.438.0",
25
- "@aws-sdk/core": "3.436.0",
26
- "@aws-sdk/credential-provider-node": "3.438.0",
24
+ "@aws-sdk/client-sts": "3.441.0",
25
+ "@aws-sdk/core": "3.441.0",
26
+ "@aws-sdk/credential-provider-node": "3.441.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",