aws-sdk 2.1424.0 → 2.1425.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.
@@ -11,6 +11,14 @@ declare class ApplicationInsights extends Service {
11
11
  */
12
12
  constructor(options?: ApplicationInsights.Types.ClientConfiguration)
13
13
  config: Config & ApplicationInsights.Types.ClientConfiguration;
14
+ /**
15
+ * Adds a workload to a component. Each component can have at most five workloads.
16
+ */
17
+ addWorkload(params: ApplicationInsights.Types.AddWorkloadRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.AddWorkloadResponse) => void): Request<ApplicationInsights.Types.AddWorkloadResponse, AWSError>;
18
+ /**
19
+ * Adds a workload to a component. Each component can have at most five workloads.
20
+ */
21
+ addWorkload(callback?: (err: AWSError, data: ApplicationInsights.Types.AddWorkloadResponse) => void): Request<ApplicationInsights.Types.AddWorkloadResponse, AWSError>;
14
22
  /**
15
23
  * Adds an application that is created from a resource group.
16
24
  */
@@ -123,6 +131,14 @@ declare class ApplicationInsights extends Service {
123
131
  * Describes the anomalies or errors associated with the problem.
124
132
  */
125
133
  describeProblemObservations(callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeProblemObservationsResponse) => void): Request<ApplicationInsights.Types.DescribeProblemObservationsResponse, AWSError>;
134
+ /**
135
+ * Describes a workload and its configuration.
136
+ */
137
+ describeWorkload(params: ApplicationInsights.Types.DescribeWorkloadRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeWorkloadResponse) => void): Request<ApplicationInsights.Types.DescribeWorkloadResponse, AWSError>;
138
+ /**
139
+ * Describes a workload and its configuration.
140
+ */
141
+ describeWorkload(callback?: (err: AWSError, data: ApplicationInsights.Types.DescribeWorkloadResponse) => void): Request<ApplicationInsights.Types.DescribeWorkloadResponse, AWSError>;
126
142
  /**
127
143
  * Lists the IDs of the applications that you are monitoring.
128
144
  */
@@ -179,6 +195,22 @@ declare class ApplicationInsights extends Service {
179
195
  * Retrieve a list of the tags (keys and values) that are associated with a specified application. A tag is a label that you optionally define and associate with an application. Each tag consists of a required tag key and an optional associated tag value. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
180
196
  */
181
197
  listTagsForResource(callback?: (err: AWSError, data: ApplicationInsights.Types.ListTagsForResourceResponse) => void): Request<ApplicationInsights.Types.ListTagsForResourceResponse, AWSError>;
198
+ /**
199
+ * Lists the workloads that are configured on a given component.
200
+ */
201
+ listWorkloads(params: ApplicationInsights.Types.ListWorkloadsRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.ListWorkloadsResponse) => void): Request<ApplicationInsights.Types.ListWorkloadsResponse, AWSError>;
202
+ /**
203
+ * Lists the workloads that are configured on a given component.
204
+ */
205
+ listWorkloads(callback?: (err: AWSError, data: ApplicationInsights.Types.ListWorkloadsResponse) => void): Request<ApplicationInsights.Types.ListWorkloadsResponse, AWSError>;
206
+ /**
207
+ * Remove workload from a component.
208
+ */
209
+ removeWorkload(params: ApplicationInsights.Types.RemoveWorkloadRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.RemoveWorkloadResponse) => void): Request<ApplicationInsights.Types.RemoveWorkloadResponse, AWSError>;
210
+ /**
211
+ * Remove workload from a component.
212
+ */
213
+ removeWorkload(callback?: (err: AWSError, data: ApplicationInsights.Types.RemoveWorkloadResponse) => void): Request<ApplicationInsights.Types.RemoveWorkloadResponse, AWSError>;
182
214
  /**
183
215
  * Add one or more tags (keys and values) to a specified application. A tag is a label that you optionally define and associate with an application. Tags can help you categorize and manage application in different ways, such as by purpose, owner, environment, or other criteria. Each tag consists of a required tag key and an associated tag value, both of which you define. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
184
216
  */
@@ -227,8 +259,49 @@ declare class ApplicationInsights extends Service {
227
259
  * Adds a log pattern to a LogPatternSet.
228
260
  */
229
261
  updateLogPattern(callback?: (err: AWSError, data: ApplicationInsights.Types.UpdateLogPatternResponse) => void): Request<ApplicationInsights.Types.UpdateLogPatternResponse, AWSError>;
262
+ /**
263
+ * Updates the visibility of the problem or specifies the problem as RESOLVED.
264
+ */
265
+ updateProblem(params: ApplicationInsights.Types.UpdateProblemRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.UpdateProblemResponse) => void): Request<ApplicationInsights.Types.UpdateProblemResponse, AWSError>;
266
+ /**
267
+ * Updates the visibility of the problem or specifies the problem as RESOLVED.
268
+ */
269
+ updateProblem(callback?: (err: AWSError, data: ApplicationInsights.Types.UpdateProblemResponse) => void): Request<ApplicationInsights.Types.UpdateProblemResponse, AWSError>;
270
+ /**
271
+ * Adds a workload to a component. Each component can have at most five workloads.
272
+ */
273
+ updateWorkload(params: ApplicationInsights.Types.UpdateWorkloadRequest, callback?: (err: AWSError, data: ApplicationInsights.Types.UpdateWorkloadResponse) => void): Request<ApplicationInsights.Types.UpdateWorkloadResponse, AWSError>;
274
+ /**
275
+ * Adds a workload to a component. Each component can have at most five workloads.
276
+ */
277
+ updateWorkload(callback?: (err: AWSError, data: ApplicationInsights.Types.UpdateWorkloadResponse) => void): Request<ApplicationInsights.Types.UpdateWorkloadResponse, AWSError>;
230
278
  }
231
279
  declare namespace ApplicationInsights {
280
+ export type AccountId = string;
281
+ export interface AddWorkloadRequest {
282
+ /**
283
+ * The name of the resource group.
284
+ */
285
+ ResourceGroupName: ResourceGroupName;
286
+ /**
287
+ * The name of the component.
288
+ */
289
+ ComponentName: ComponentName;
290
+ /**
291
+ * The configuration settings of the workload. The value is the escaped JSON of the configuration.
292
+ */
293
+ WorkloadConfiguration: WorkloadConfiguration;
294
+ }
295
+ export interface AddWorkloadResponse {
296
+ /**
297
+ * The ID of the workload.
298
+ */
299
+ WorkloadId?: WorkloadId;
300
+ /**
301
+ * The configuration settings of the workload. The value is the escaped JSON of the configuration.
302
+ */
303
+ WorkloadConfiguration?: WorkloadConfiguration;
304
+ }
232
305
  export type AffectedResource = string;
233
306
  export type AmazonResourceName = string;
234
307
  export interface ApplicationComponent {
@@ -263,6 +336,10 @@ declare namespace ApplicationInsights {
263
336
  }
264
337
  export type ApplicationComponentList = ApplicationComponent[];
265
338
  export interface ApplicationInfo {
339
+ /**
340
+ * The AWS account ID for the owner of the application.
341
+ */
342
+ AccountId?: AccountId;
266
343
  /**
267
344
  * The name of the resource group used for the application.
268
345
  */
@@ -311,6 +388,14 @@ declare namespace ApplicationInsights {
311
388
  export type ComponentConfiguration = string;
312
389
  export type ComponentName = string;
313
390
  export interface ConfigurationEvent {
391
+ /**
392
+ * The name of the resource group of the application to which the configuration event belongs.
393
+ */
394
+ ResourceGroupName?: ResourceGroupName;
395
+ /**
396
+ * The AWS account ID for the owner of the application to which the configuration event belongs.
397
+ */
398
+ AccountId?: AccountId;
314
399
  /**
315
400
  * The resource monitored by Application Insights.
316
401
  */
@@ -473,6 +558,10 @@ declare namespace ApplicationInsights {
473
558
  * The name of the resource group.
474
559
  */
475
560
  ResourceGroupName: ResourceGroupName;
561
+ /**
562
+ * The AWS account ID for the resource group owner.
563
+ */
564
+ AccountId?: AccountId;
476
565
  }
477
566
  export interface DescribeApplicationResponse {
478
567
  /**
@@ -493,6 +582,10 @@ declare namespace ApplicationInsights {
493
582
  * The tier of the application component.
494
583
  */
495
584
  Tier: Tier;
585
+ /**
586
+ * The recommended configuration type.
587
+ */
588
+ RecommendationType?: RecommendationType;
496
589
  }
497
590
  export interface DescribeComponentConfigurationRecommendationResponse {
498
591
  /**
@@ -509,6 +602,10 @@ declare namespace ApplicationInsights {
509
602
  * The name of the component.
510
603
  */
511
604
  ComponentName: ComponentName;
605
+ /**
606
+ * The AWS account ID for the resource group owner.
607
+ */
608
+ AccountId?: AccountId;
512
609
  }
513
610
  export interface DescribeComponentConfigurationResponse {
514
611
  /**
@@ -533,6 +630,10 @@ declare namespace ApplicationInsights {
533
630
  * The name of the component.
534
631
  */
535
632
  ComponentName: ComponentName;
633
+ /**
634
+ * The AWS account ID for the resource group owner.
635
+ */
636
+ AccountId?: AccountId;
536
637
  }
537
638
  export interface DescribeComponentResponse {
538
639
  ApplicationComponent?: ApplicationComponent;
@@ -554,12 +655,20 @@ declare namespace ApplicationInsights {
554
655
  * The name of the log pattern.
555
656
  */
556
657
  PatternName: LogPatternName;
658
+ /**
659
+ * The AWS account ID for the resource group owner.
660
+ */
661
+ AccountId?: AccountId;
557
662
  }
558
663
  export interface DescribeLogPatternResponse {
559
664
  /**
560
665
  * The name of the resource group.
561
666
  */
562
667
  ResourceGroupName?: ResourceGroupName;
668
+ /**
669
+ * The AWS account ID for the resource group owner.
670
+ */
671
+ AccountId?: AccountId;
563
672
  /**
564
673
  * The successfully created log pattern.
565
674
  */
@@ -570,6 +679,10 @@ declare namespace ApplicationInsights {
570
679
  * The ID of the observation.
571
680
  */
572
681
  ObservationId: ObservationId;
682
+ /**
683
+ * The AWS account ID for the resource group owner.
684
+ */
685
+ AccountId?: AccountId;
573
686
  }
574
687
  export interface DescribeObservationResponse {
575
688
  /**
@@ -582,6 +695,10 @@ declare namespace ApplicationInsights {
582
695
  * The ID of the problem.
583
696
  */
584
697
  ProblemId: ProblemId;
698
+ /**
699
+ * The AWS account ID for the resource group owner.
700
+ */
701
+ AccountId?: AccountId;
585
702
  }
586
703
  export interface DescribeProblemObservationsResponse {
587
704
  /**
@@ -594,6 +711,10 @@ declare namespace ApplicationInsights {
594
711
  * The ID of the problem.
595
712
  */
596
713
  ProblemId: ProblemId;
714
+ /**
715
+ * The AWS account ID for the owner of the resource group affected by the problem.
716
+ */
717
+ AccountId?: AccountId;
597
718
  }
598
719
  export interface DescribeProblemResponse {
599
720
  /**
@@ -601,6 +722,38 @@ declare namespace ApplicationInsights {
601
722
  */
602
723
  Problem?: Problem;
603
724
  }
725
+ export interface DescribeWorkloadRequest {
726
+ /**
727
+ * The name of the resource group.
728
+ */
729
+ ResourceGroupName: ResourceGroupName;
730
+ /**
731
+ * The name of the component.
732
+ */
733
+ ComponentName: ComponentName;
734
+ /**
735
+ * The ID of the workload.
736
+ */
737
+ WorkloadId: WorkloadId;
738
+ /**
739
+ * The AWS account ID for the workload owner.
740
+ */
741
+ AccountId?: AccountId;
742
+ }
743
+ export interface DescribeWorkloadResponse {
744
+ /**
745
+ * The ID of the workload.
746
+ */
747
+ WorkloadId?: WorkloadId;
748
+ /**
749
+ * If logging is supported for the resource type, shows whether the component has configured logs to be monitored.
750
+ */
751
+ WorkloadRemarks?: Remarks;
752
+ /**
753
+ * The configuration settings of the workload. The value is the escaped JSON of the configuration.
754
+ */
755
+ WorkloadConfiguration?: WorkloadConfiguration;
756
+ }
604
757
  export type DetectedWorkload = {[key: string]: WorkloadMetaData};
605
758
  export type DiscoveryType = "RESOURCE_GROUP_BASED"|"ACCOUNT_BASED"|string;
606
759
  export type EbsCause = string;
@@ -631,6 +784,10 @@ declare namespace ApplicationInsights {
631
784
  * The token to request the next page of results.
632
785
  */
633
786
  NextToken?: PaginationToken;
787
+ /**
788
+ * The AWS account ID for the resource group owner.
789
+ */
790
+ AccountId?: AccountId;
634
791
  }
635
792
  export interface ListApplicationsResponse {
636
793
  /**
@@ -655,6 +812,10 @@ declare namespace ApplicationInsights {
655
812
  * The token to request the next page of results.
656
813
  */
657
814
  NextToken?: PaginationToken;
815
+ /**
816
+ * The AWS account ID for the resource group owner.
817
+ */
818
+ AccountId?: AccountId;
658
819
  }
659
820
  export interface ListComponentsResponse {
660
821
  /**
@@ -691,6 +852,10 @@ declare namespace ApplicationInsights {
691
852
  * The NextToken value returned from a previous paginated ListConfigurationHistory request where MaxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the NextToken value. This value is null when there are no more results to return.
692
853
  */
693
854
  NextToken?: PaginationToken;
855
+ /**
856
+ * The AWS account ID for the resource group owner.
857
+ */
858
+ AccountId?: AccountId;
694
859
  }
695
860
  export interface ListConfigurationHistoryResponse {
696
861
  /**
@@ -715,12 +880,20 @@ declare namespace ApplicationInsights {
715
880
  * The token to request the next page of results.
716
881
  */
717
882
  NextToken?: PaginationToken;
883
+ /**
884
+ * The AWS account ID for the resource group owner.
885
+ */
886
+ AccountId?: AccountId;
718
887
  }
719
888
  export interface ListLogPatternSetsResponse {
720
889
  /**
721
890
  * The name of the resource group.
722
891
  */
723
892
  ResourceGroupName?: ResourceGroupName;
893
+ /**
894
+ * The AWS account ID for the resource group owner.
895
+ */
896
+ AccountId?: AccountId;
724
897
  /**
725
898
  * The list of log pattern sets.
726
899
  */
@@ -747,12 +920,20 @@ declare namespace ApplicationInsights {
747
920
  * The token to request the next page of results.
748
921
  */
749
922
  NextToken?: PaginationToken;
923
+ /**
924
+ * The AWS account ID for the resource group owner.
925
+ */
926
+ AccountId?: AccountId;
750
927
  }
751
928
  export interface ListLogPatternsResponse {
752
929
  /**
753
930
  * The name of the resource group.
754
931
  */
755
932
  ResourceGroupName?: ResourceGroupName;
933
+ /**
934
+ * The AWS account ID for the resource group owner.
935
+ */
936
+ AccountId?: AccountId;
756
937
  /**
757
938
  * The list of log patterns.
758
939
  */
@@ -763,6 +944,10 @@ declare namespace ApplicationInsights {
763
944
  NextToken?: PaginationToken;
764
945
  }
765
946
  export interface ListProblemsRequest {
947
+ /**
948
+ * The AWS account ID for the resource group owner.
949
+ */
950
+ AccountId?: AccountId;
766
951
  /**
767
952
  * The name of the resource group.
768
953
  */
@@ -787,6 +972,10 @@ declare namespace ApplicationInsights {
787
972
  * The name of the component.
788
973
  */
789
974
  ComponentName?: ComponentName;
975
+ /**
976
+ * Specifies whether or not you can view the problem. If not specified, visible and ignored problems are returned.
977
+ */
978
+ Visibility?: Visibility;
790
979
  }
791
980
  export interface ListProblemsResponse {
792
981
  /**
@@ -801,6 +990,10 @@ declare namespace ApplicationInsights {
801
990
  * The name of the resource group.
802
991
  */
803
992
  ResourceGroupName?: ResourceGroupName;
993
+ /**
994
+ * The AWS account ID for the resource group owner.
995
+ */
996
+ AccountId?: AccountId;
804
997
  }
805
998
  export interface ListTagsForResourceRequest {
806
999
  /**
@@ -814,6 +1007,38 @@ declare namespace ApplicationInsights {
814
1007
  */
815
1008
  Tags?: TagList;
816
1009
  }
1010
+ export interface ListWorkloadsRequest {
1011
+ /**
1012
+ * The name of the resource group.
1013
+ */
1014
+ ResourceGroupName: ResourceGroupName;
1015
+ /**
1016
+ * The name of the component.
1017
+ */
1018
+ ComponentName: ComponentName;
1019
+ /**
1020
+ * The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.
1021
+ */
1022
+ MaxResults?: MaxEntities;
1023
+ /**
1024
+ * The token to request the next page of results.
1025
+ */
1026
+ NextToken?: PaginationToken;
1027
+ /**
1028
+ * The AWS account ID of the owner of the workload.
1029
+ */
1030
+ AccountId?: AccountId;
1031
+ }
1032
+ export interface ListWorkloadsResponse {
1033
+ /**
1034
+ * The list of workloads.
1035
+ */
1036
+ WorkloadList?: WorkloadList;
1037
+ /**
1038
+ * The token to request the next page of results.
1039
+ */
1040
+ NextToken?: PaginationToken;
1041
+ }
817
1042
  export type LogFilter = "ERROR"|"WARN"|"INFO"|string;
818
1043
  export type LogGroup = string;
819
1044
  export interface LogPattern {
@@ -1068,6 +1293,10 @@ declare namespace ApplicationInsights {
1068
1293
  * A measure of the level of impact of the problem.
1069
1294
  */
1070
1295
  SeverityLevel?: SeverityLevel;
1296
+ /**
1297
+ * The AWS account ID for the owner of the resource group affected by the problem.
1298
+ */
1299
+ AccountId?: AccountId;
1071
1300
  /**
1072
1301
  * The name of the resource group affected by the problem.
1073
1302
  */
@@ -1084,11 +1313,20 @@ declare namespace ApplicationInsights {
1084
1313
  * The last time that the problem reoccurred after its last resolution.
1085
1314
  */
1086
1315
  LastRecurrenceTime?: LastRecurrenceTime;
1316
+ /**
1317
+ * Specifies whether or not you can view the problem. Updates to ignored problems do not generate notifications.
1318
+ */
1319
+ Visibility?: Visibility;
1320
+ /**
1321
+ * Specifies how the problem was resolved. If the value is AUTOMATIC, the system resolved the problem. If the value is MANUAL, the user resolved the problem. If the value is UNRESOLVED, then the problem is not resolved.
1322
+ */
1323
+ ResolutionMethod?: ResolutionMethod;
1087
1324
  }
1088
1325
  export type ProblemId = string;
1089
1326
  export type ProblemList = Problem[];
1090
1327
  export type RdsEventCategories = string;
1091
1328
  export type RdsEventMessage = string;
1329
+ export type RecommendationType = "INFRA_ONLY"|"WORKLOAD_ONLY"|"ALL"|string;
1092
1330
  export type RecurringCount = number;
1093
1331
  export interface RelatedObservations {
1094
1332
  /**
@@ -1098,6 +1336,23 @@ declare namespace ApplicationInsights {
1098
1336
  }
1099
1337
  export type Remarks = string;
1100
1338
  export type RemoveSNSTopic = boolean;
1339
+ export interface RemoveWorkloadRequest {
1340
+ /**
1341
+ * The name of the resource group.
1342
+ */
1343
+ ResourceGroupName: ResourceGroupName;
1344
+ /**
1345
+ * The name of the component.
1346
+ */
1347
+ ComponentName: ComponentName;
1348
+ /**
1349
+ * The ID of the workload.
1350
+ */
1351
+ WorkloadId: WorkloadId;
1352
+ }
1353
+ export interface RemoveWorkloadResponse {
1354
+ }
1355
+ export type ResolutionMethod = "MANUAL"|"AUTOMATIC"|"UNRESOLVED"|string;
1101
1356
  export type ResourceARN = string;
1102
1357
  export type ResourceGroupName = string;
1103
1358
  export type ResourceList = ResourceARN[];
@@ -1111,7 +1366,7 @@ declare namespace ApplicationInsights {
1111
1366
  export type StatesExecutionArn = string;
1112
1367
  export type StatesInput = string;
1113
1368
  export type StatesStatus = string;
1114
- export type Status = "IGNORE"|"RESOLVED"|"PENDING"|"RECURRING"|string;
1369
+ export type Status = "IGNORE"|"RESOLVED"|"PENDING"|"RECURRING"|"RECOVERING"|string;
1115
1370
  export interface Tag {
1116
1371
  /**
1117
1372
  * One part of a key-value pair that defines a tag. The maximum length of a tag key is 128 characters. The minimum length is 1 character.
@@ -1138,7 +1393,7 @@ declare namespace ApplicationInsights {
1138
1393
  export interface TagResourceResponse {
1139
1394
  }
1140
1395
  export type TagValue = string;
1141
- export type 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"|string;
1396
+ export type 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"|string;
1142
1397
  export type Title = string;
1143
1398
  export type Unit = string;
1144
1399
  export interface UntagResourceRequest {
@@ -1265,8 +1520,93 @@ declare namespace ApplicationInsights {
1265
1520
  */
1266
1521
  LogPattern?: LogPattern;
1267
1522
  }
1523
+ export interface UpdateProblemRequest {
1524
+ /**
1525
+ * The ID of the problem.
1526
+ */
1527
+ ProblemId: ProblemId;
1528
+ /**
1529
+ * The status of the problem. Arguments can be passed for only problems that show a status of RECOVERING.
1530
+ */
1531
+ UpdateStatus?: UpdateStatus;
1532
+ /**
1533
+ * The visibility of a problem. When you pass a value of IGNORED, the problem is removed from the default view, and all notifications for the problem are suspended. When VISIBLE is passed, the IGNORED action is reversed.
1534
+ */
1535
+ Visibility?: Visibility;
1536
+ }
1537
+ export interface UpdateProblemResponse {
1538
+ }
1539
+ export type UpdateStatus = "RESOLVED"|string;
1540
+ export interface UpdateWorkloadRequest {
1541
+ /**
1542
+ * The name of the resource group.
1543
+ */
1544
+ ResourceGroupName: ResourceGroupName;
1545
+ /**
1546
+ * The name of the component.
1547
+ */
1548
+ ComponentName: ComponentName;
1549
+ /**
1550
+ * The ID of the workload.
1551
+ */
1552
+ WorkloadId?: WorkloadId;
1553
+ /**
1554
+ * The configuration settings of the workload. The value is the escaped JSON of the configuration.
1555
+ */
1556
+ WorkloadConfiguration: WorkloadConfiguration;
1557
+ }
1558
+ export interface UpdateWorkloadResponse {
1559
+ /**
1560
+ * The ID of the workload.
1561
+ */
1562
+ WorkloadId?: WorkloadId;
1563
+ /**
1564
+ * The configuration settings of the workload. The value is the escaped JSON of the configuration.
1565
+ */
1566
+ WorkloadConfiguration?: WorkloadConfiguration;
1567
+ }
1268
1568
  export type Value = number;
1569
+ export type Visibility = "IGNORED"|"VISIBLE"|string;
1570
+ export interface Workload {
1571
+ /**
1572
+ * The ID of the workload.
1573
+ */
1574
+ WorkloadId?: WorkloadId;
1575
+ /**
1576
+ * The name of the component.
1577
+ */
1578
+ ComponentName?: ComponentName;
1579
+ /**
1580
+ * The name of the workload.
1581
+ */
1582
+ WorkloadName?: WorkloadName;
1583
+ /**
1584
+ * The tier of the workload.
1585
+ */
1586
+ Tier?: Tier;
1587
+ /**
1588
+ * If logging is supported for the resource type, shows whether the component has configured logs to be monitored.
1589
+ */
1590
+ WorkloadRemarks?: Remarks;
1591
+ }
1592
+ export interface WorkloadConfiguration {
1593
+ /**
1594
+ * The name of the workload.
1595
+ */
1596
+ WorkloadName?: WorkloadName;
1597
+ /**
1598
+ * The configuration of the workload tier.
1599
+ */
1600
+ Tier?: Tier;
1601
+ /**
1602
+ * The configuration settings of the workload.
1603
+ */
1604
+ Configuration?: ComponentConfiguration;
1605
+ }
1606
+ export type WorkloadId = string;
1607
+ export type WorkloadList = Workload[];
1269
1608
  export type WorkloadMetaData = {[key: string]: MetaDataValue};
1609
+ export type WorkloadName = string;
1270
1610
  export type XRayErrorPercent = number;
1271
1611
  export type XRayFaultPercent = number;
1272
1612
  export type XRayNodeName = string;
@@ -1090,6 +1090,10 @@ declare namespace CloudFormation {
1090
1090
  * Whether to enable termination protection on the specified stack. If a user attempts to delete a stack with termination protection enabled, the operation fails and the stack remains unchanged. For more information, see Protecting a Stack From Being Deleted in the CloudFormation User Guide. Termination protection is deactivated on stacks by default. For nested stacks, termination protection is set on the root stack and can't be changed directly on the nested stack.
1091
1091
  */
1092
1092
  EnableTerminationProtection?: EnableTerminationProtection;
1093
+ /**
1094
+ * This deletion policy deletes newly created resources, but retains existing resources, when a stack operation is rolled back. This ensures new, empty, and unused resources are deleted, while critical resources and their data are retained. RetainExceptOnCreate can be specified for any resource that supports the DeletionPolicy attribute.
1095
+ */
1096
+ RetainExceptOnCreate?: RetainExceptOnCreate;
1093
1097
  }
1094
1098
  export interface CreateStackInstancesInput {
1095
1099
  /**
@@ -2006,6 +2010,10 @@ declare namespace CloudFormation {
2006
2010
  * Preserves the state of previously provisioned resources when an operation fails. This parameter can't be specified when the OnStackFailure parameter to the CreateChangeSet API operation was specified. True - if the stack creation fails, do nothing. This is equivalent to specifying DO_NOTHING for the OnStackFailure parameter to the CreateChangeSet API operation. False - if the stack creation fails, roll back the stack. This is equivalent to specifying ROLLBACK for the OnStackFailure parameter to the CreateChangeSet API operation. Default: True
2007
2011
  */
2008
2012
  DisableRollback?: DisableRollback;
2013
+ /**
2014
+ * This deletion policy deletes newly created resources, but retains existing resources, when a stack operation is rolled back. This ensures new, empty, and unused resources are deleted, while critical resources and their data are retained. RetainExceptOnCreate can be specified for any resource that supports the DeletionPolicy attribute.
2015
+ */
2016
+ RetainExceptOnCreate?: RetainExceptOnCreate;
2009
2017
  }
2010
2018
  export interface ExecuteChangeSetOutput {
2011
2019
  }
@@ -3013,6 +3021,7 @@ declare namespace CloudFormation {
3013
3021
  export type ResourceTypes = ResourceType[];
3014
3022
  export type ResourcesToImport = ResourceToImport[];
3015
3023
  export type ResourcesToSkip = ResourceToSkip[];
3024
+ export type RetainExceptOnCreate = boolean;
3016
3025
  export type RetainResources = LogicalResourceId[];
3017
3026
  export type RetainStacks = boolean;
3018
3027
  export type RetainStacksNullable = boolean;
@@ -3042,6 +3051,10 @@ declare namespace CloudFormation {
3042
3051
  * A unique identifier for this RollbackStack request.
3043
3052
  */
3044
3053
  ClientRequestToken?: ClientRequestToken;
3054
+ /**
3055
+ * This deletion policy deletes newly created resources, but retains existing resources, when a stack operation is rolled back. This ensures new, empty, and unused resources are deleted, while critical resources and their data are retained. RetainExceptOnCreate can be specified for any resource that supports the DeletionPolicy attribute.
3056
+ */
3057
+ RetainExceptOnCreate?: RetainExceptOnCreate;
3045
3058
  }
3046
3059
  export interface RollbackStackOutput {
3047
3060
  /**
@@ -3232,6 +3245,10 @@ declare namespace CloudFormation {
3232
3245
  * Information about whether a stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. For more information, see Detecting Unregulated Configuration Changes to Stacks and Resources.
3233
3246
  */
3234
3247
  DriftInformation?: StackDriftInformation;
3248
+ /**
3249
+ * This deletion policy deletes newly created resources, but retains existing resources, when a stack operation is rolled back. This ensures new, empty, and unused resources are deleted, while critical resources and their data are retained. RetainExceptOnCreate can be specified for any resource that supports the DeletionPolicy attribute.
3250
+ */
3251
+ RetainExceptOnCreate?: RetainExceptOnCreate;
3235
3252
  }
3236
3253
  export type StackDriftDetectionId = string;
3237
3254
  export type StackDriftDetectionStatus = "DETECTION_IN_PROGRESS"|"DETECTION_FAILED"|"DETECTION_COMPLETE"|string;
@@ -4382,6 +4399,10 @@ declare namespace CloudFormation {
4382
4399
  * A unique identifier for this UpdateStack request. Specify this token if you plan to retry requests so that CloudFormation knows that you're not attempting to update a stack with the same name. You might retry UpdateStack requests to ensure that CloudFormation successfully received them. All events triggered by a given stack operation are assigned the same client request token, which you can use to track operations. For example, if you execute a CreateStack operation with the token token1, then all the StackEvents generated by that operation will have ClientRequestToken set as token1. In the console, stack operations display the client request token on the Events tab. Stack operations that are initiated from the console use the token format Console-StackOperation-ID, which helps you easily identify the stack operation . For example, if you create a stack using the console, each stack event would be assigned the same token in the following format: Console-CreateStack-7f59c3cf-00d2-40c7-b2ff-e75db0987002.
4383
4400
  */
4384
4401
  ClientRequestToken?: ClientRequestToken;
4402
+ /**
4403
+ * This deletion policy deletes newly created resources, but retains existing resources, when a stack operation is rolled back. This ensures new, empty, and unused resources are deleted, while critical resources and their data are retained. RetainExceptOnCreate can be specified for any resource that supports the DeletionPolicy attribute.
4404
+ */
4405
+ RetainExceptOnCreate?: RetainExceptOnCreate;
4385
4406
  }
4386
4407
  export interface UpdateStackInstancesInput {
4387
4408
  /**