aws-sdk 2.1423.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.
- package/CHANGELOG.md +16 -1
- package/README.md +1 -1
- package/apis/application-insights-2018-11-25.min.json +228 -43
- package/apis/application-insights-2018-11-25.paginators.json +5 -0
- package/apis/autoscaling-2011-01-01.examples.json +54 -16
- package/apis/autoscaling-2011-01-01.min.json +3 -0
- package/apis/autoscaling-2011-01-01.paginators.json +6 -0
- package/apis/cloudformation-2010-05-15.min.json +95 -80
- package/apis/cloudfront-2020-05-31.min.json +4 -1
- package/apis/ebs-2019-11-02.min.json +2 -1
- package/apis/ec2-2016-11-15.min.json +795 -780
- package/apis/ec2-2016-11-15.waiters2.json +25 -0
- package/apis/kafka-2018-11-14.min.json +237 -52
- package/apis/kafka-2018-11-14.paginators.json +6 -0
- package/apis/pinpoint-2016-12-01.examples.json +6 -12
- package/apis/pinpoint-2016-12-01.min.json +286 -243
- package/apis/sagemaker-2017-07-24.min.json +3 -0
- package/clients/applicationinsights.d.ts +342 -2
- package/clients/autoscaling.d.ts +7 -7
- package/clients/cloudformation.d.ts +21 -0
- package/clients/cloudfront.d.ts +14 -10
- package/clients/connect.d.ts +1 -1
- package/clients/ebs.d.ts +17 -12
- package/clients/ec2.d.ts +29 -0
- package/clients/eks.d.ts +1 -1
- package/clients/kafka.d.ts +204 -0
- package/clients/pinpoint.d.ts +69 -5
- package/clients/sagemaker.d.ts +1 -0
- package/clients/sqs.d.ts +9 -9
- package/dist/aws-sdk-core-react-native.js +1 -1
- package/dist/aws-sdk-react-native.js +14 -14
- package/dist/aws-sdk.js +931 -864
- package/dist/aws-sdk.min.js +98 -98
- package/lib/core.js +1 -1
- package/package.json +1 -1
@@ -16886,6 +16886,9 @@
|
|
16886
16886
|
"DebugRuleEvaluationStatuses": {
|
16887
16887
|
"shape": "S12a"
|
16888
16888
|
},
|
16889
|
+
"ProfilerConfig": {
|
16890
|
+
"shape": "Spk"
|
16891
|
+
},
|
16889
16892
|
"Environment": {
|
16890
16893
|
"shape": "Spq"
|
16891
16894
|
},
|
@@ -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;
|
package/clients/autoscaling.d.ts
CHANGED
@@ -68,11 +68,11 @@ declare class AutoScaling extends Service {
|
|
68
68
|
*/
|
69
69
|
cancelInstanceRefresh(callback?: (err: AWSError, data: AutoScaling.Types.CancelInstanceRefreshAnswer) => void): Request<AutoScaling.Types.CancelInstanceRefreshAnswer, AWSError>;
|
70
70
|
/**
|
71
|
-
* Completes the lifecycle action for the specified token or instance with the specified result. This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group: (Optional) Create a launch template or launch configuration with a user data script that runs while an instance is in a wait state due to a lifecycle hook. (Optional) Create a Lambda function and a rule that allows Amazon EventBridge to invoke your Lambda function when an instance is put into a wait state due to a lifecycle hook. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate. If you need more time, record the lifecycle action heartbeat to keep the instance in a wait state. If you finish before the timeout period ends, send a callback by using the CompleteLifecycleAction API call. For more information, see
|
71
|
+
* Completes the lifecycle action for the specified token or instance with the specified result. This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group: (Optional) Create a launch template or launch configuration with a user data script that runs while an instance is in a wait state due to a lifecycle hook. (Optional) Create a Lambda function and a rule that allows Amazon EventBridge to invoke your Lambda function when an instance is put into a wait state due to a lifecycle hook. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate. If you need more time, record the lifecycle action heartbeat to keep the instance in a wait state. If you finish before the timeout period ends, send a callback by using the CompleteLifecycleAction API call. For more information, see Complete a lifecycle action in the Amazon EC2 Auto Scaling User Guide.
|
72
72
|
*/
|
73
73
|
completeLifecycleAction(params: AutoScaling.Types.CompleteLifecycleActionType, callback?: (err: AWSError, data: AutoScaling.Types.CompleteLifecycleActionAnswer) => void): Request<AutoScaling.Types.CompleteLifecycleActionAnswer, AWSError>;
|
74
74
|
/**
|
75
|
-
* Completes the lifecycle action for the specified token or instance with the specified result. This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group: (Optional) Create a launch template or launch configuration with a user data script that runs while an instance is in a wait state due to a lifecycle hook. (Optional) Create a Lambda function and a rule that allows Amazon EventBridge to invoke your Lambda function when an instance is put into a wait state due to a lifecycle hook. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate. If you need more time, record the lifecycle action heartbeat to keep the instance in a wait state. If you finish before the timeout period ends, send a callback by using the CompleteLifecycleAction API call. For more information, see
|
75
|
+
* Completes the lifecycle action for the specified token or instance with the specified result. This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group: (Optional) Create a launch template or launch configuration with a user data script that runs while an instance is in a wait state due to a lifecycle hook. (Optional) Create a Lambda function and a rule that allows Amazon EventBridge to invoke your Lambda function when an instance is put into a wait state due to a lifecycle hook. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate. If you need more time, record the lifecycle action heartbeat to keep the instance in a wait state. If you finish before the timeout period ends, send a callback by using the CompleteLifecycleAction API call. For more information, see Complete a lifecycle action in the Amazon EC2 Auto Scaling User Guide.
|
76
76
|
*/
|
77
77
|
completeLifecycleAction(callback?: (err: AWSError, data: AutoScaling.Types.CompleteLifecycleActionAnswer) => void): Request<AutoScaling.Types.CompleteLifecycleActionAnswer, AWSError>;
|
78
78
|
/**
|
@@ -328,11 +328,11 @@ declare class AutoScaling extends Service {
|
|
328
328
|
*/
|
329
329
|
detachLoadBalancers(callback?: (err: AWSError, data: AutoScaling.Types.DetachLoadBalancersResultType) => void): Request<AutoScaling.Types.DetachLoadBalancersResultType, AWSError>;
|
330
330
|
/**
|
331
|
-
* Detaches one or more traffic sources from the specified Auto Scaling group. When you detach a
|
331
|
+
* Detaches one or more traffic sources from the specified Auto Scaling group. When you detach a traffic source, it enters the Removing state while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the traffic source using the DescribeTrafficSources API call. The instances continue to run.
|
332
332
|
*/
|
333
333
|
detachTrafficSources(params: AutoScaling.Types.DetachTrafficSourcesType, callback?: (err: AWSError, data: AutoScaling.Types.DetachTrafficSourcesResultType) => void): Request<AutoScaling.Types.DetachTrafficSourcesResultType, AWSError>;
|
334
334
|
/**
|
335
|
-
* Detaches one or more traffic sources from the specified Auto Scaling group. When you detach a
|
335
|
+
* Detaches one or more traffic sources from the specified Auto Scaling group. When you detach a traffic source, it enters the Removing state while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the traffic source using the DescribeTrafficSources API call. The instances continue to run.
|
336
336
|
*/
|
337
337
|
detachTrafficSources(callback?: (err: AWSError, data: AutoScaling.Types.DetachTrafficSourcesResultType) => void): Request<AutoScaling.Types.DetachTrafficSourcesResultType, AWSError>;
|
338
338
|
/**
|
@@ -2846,7 +2846,7 @@ declare namespace AutoScaling {
|
|
2846
2846
|
*/
|
2847
2847
|
MinAdjustmentMagnitude?: MinAdjustmentMagnitude;
|
2848
2848
|
/**
|
2849
|
-
* The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity. For exact capacity, you must specify a
|
2849
|
+
* The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity. For exact capacity, you must specify a non-negative value. Required if the policy type is SimpleScaling. (Not used with any other policy type.)
|
2850
2850
|
*/
|
2851
2851
|
ScalingAdjustment?: PolicyIncrement;
|
2852
2852
|
/**
|
@@ -3035,7 +3035,7 @@ declare namespace AutoScaling {
|
|
3035
3035
|
/**
|
3036
3036
|
* The name of the Auto Scaling group.
|
3037
3037
|
*/
|
3038
|
-
AutoScalingGroupName
|
3038
|
+
AutoScalingGroupName: XmlStringMaxLen255;
|
3039
3039
|
}
|
3040
3040
|
export type ScaleInProtectedInstances = "Refresh"|"Ignore"|"Wait"|string;
|
3041
3041
|
export type ScalingActivityStatusCode = "PendingSpotBidPlacement"|"WaitingForSpotInstanceRequestId"|"WaitingForSpotInstanceId"|"WaitingForInstanceId"|"PreInService"|"InProgress"|"WaitingForELBConnectionDraining"|"MidLifecycleAction"|"WaitingForInstanceWarmup"|"Successful"|"Failed"|"Cancelled"|"WaitingForConnectionDraining"|string;
|
@@ -3295,7 +3295,7 @@ declare namespace AutoScaling {
|
|
3295
3295
|
*/
|
3296
3296
|
MetricIntervalUpperBound?: MetricScale;
|
3297
3297
|
/**
|
3298
|
-
* The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity.
|
3298
|
+
* The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity. For exact capacity, you must specify a non-negative value.
|
3299
3299
|
*/
|
3300
3300
|
ScalingAdjustment: PolicyIncrement;
|
3301
3301
|
}
|