@aws-sdk/client-compute-optimizer 3.427.0 → 3.429.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-types/models/models_0.d.ts +94 -94
- package/dist-types/ts3.4/models/models_0.d.ts +94 -99
- package/package.json +31 -31
|
@@ -16,7 +16,7 @@ export declare const Status: {
|
|
|
16
16
|
export type Status = (typeof Status)[keyof typeof Status];
|
|
17
17
|
export interface AccountEnrollmentStatus {
|
|
18
18
|
accountId?: string;
|
|
19
|
-
status?: Status
|
|
19
|
+
status?: Status;
|
|
20
20
|
statusReason?: string;
|
|
21
21
|
lastUpdatedTimestamp?: Date;
|
|
22
22
|
}
|
|
@@ -68,7 +68,7 @@ export declare const ExternalMetricsSource: {
|
|
|
68
68
|
export type ExternalMetricsSource =
|
|
69
69
|
(typeof ExternalMetricsSource)[keyof typeof ExternalMetricsSource];
|
|
70
70
|
export interface ExternalMetricsPreference {
|
|
71
|
-
source?: ExternalMetricsSource
|
|
71
|
+
source?: ExternalMetricsSource;
|
|
72
72
|
}
|
|
73
73
|
export declare const InferredWorkloadTypesPreference: {
|
|
74
74
|
readonly ACTIVE: "Active";
|
|
@@ -77,9 +77,9 @@ export declare const InferredWorkloadTypesPreference: {
|
|
|
77
77
|
export type InferredWorkloadTypesPreference =
|
|
78
78
|
(typeof InferredWorkloadTypesPreference)[keyof typeof InferredWorkloadTypesPreference];
|
|
79
79
|
export interface EffectiveRecommendationPreferences {
|
|
80
|
-
cpuVendorArchitectures?:
|
|
81
|
-
enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics
|
|
82
|
-
inferredWorkloadTypes?: InferredWorkloadTypesPreference
|
|
80
|
+
cpuVendorArchitectures?: CpuVendorArchitecture[];
|
|
81
|
+
enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics;
|
|
82
|
+
inferredWorkloadTypes?: InferredWorkloadTypesPreference;
|
|
83
83
|
externalMetricsPreference?: ExternalMetricsPreference;
|
|
84
84
|
}
|
|
85
85
|
export declare const Finding: {
|
|
@@ -136,8 +136,8 @@ export declare const MetricStatistic: {
|
|
|
136
136
|
export type MetricStatistic =
|
|
137
137
|
(typeof MetricStatistic)[keyof typeof MetricStatistic];
|
|
138
138
|
export interface UtilizationMetric {
|
|
139
|
-
name?: MetricName
|
|
140
|
-
statistic?: MetricStatistic
|
|
139
|
+
name?: MetricName;
|
|
140
|
+
statistic?: MetricStatistic;
|
|
141
141
|
value?: number;
|
|
142
142
|
}
|
|
143
143
|
export declare const Currency: {
|
|
@@ -146,7 +146,7 @@ export declare const Currency: {
|
|
|
146
146
|
};
|
|
147
147
|
export type Currency = (typeof Currency)[keyof typeof Currency];
|
|
148
148
|
export interface EstimatedMonthlySavings {
|
|
149
|
-
currency?: Currency
|
|
149
|
+
currency?: Currency;
|
|
150
150
|
value?: number;
|
|
151
151
|
}
|
|
152
152
|
export interface SavingsOpportunity {
|
|
@@ -159,22 +159,22 @@ export interface AutoScalingGroupRecommendationOption {
|
|
|
159
159
|
performanceRisk?: number;
|
|
160
160
|
rank?: number;
|
|
161
161
|
savingsOpportunity?: SavingsOpportunity;
|
|
162
|
-
migrationEffort?: MigrationEffort
|
|
162
|
+
migrationEffort?: MigrationEffort;
|
|
163
163
|
instanceGpuInfo?: GpuInfo;
|
|
164
164
|
}
|
|
165
165
|
export interface AutoScalingGroupRecommendation {
|
|
166
166
|
accountId?: string;
|
|
167
167
|
autoScalingGroupArn?: string;
|
|
168
168
|
autoScalingGroupName?: string;
|
|
169
|
-
finding?: Finding
|
|
169
|
+
finding?: Finding;
|
|
170
170
|
utilizationMetrics?: UtilizationMetric[];
|
|
171
171
|
lookBackPeriodInDays?: number;
|
|
172
172
|
currentConfiguration?: AutoScalingGroupConfiguration;
|
|
173
173
|
recommendationOptions?: AutoScalingGroupRecommendationOption[];
|
|
174
174
|
lastRefreshTimestamp?: Date;
|
|
175
|
-
currentPerformanceRisk?: CurrentPerformanceRisk
|
|
175
|
+
currentPerformanceRisk?: CurrentPerformanceRisk;
|
|
176
176
|
effectiveRecommendationPreferences?: EffectiveRecommendationPreferences;
|
|
177
|
-
inferredWorkloadTypes?:
|
|
177
|
+
inferredWorkloadTypes?: InferredWorkloadType[];
|
|
178
178
|
currentInstanceGpuInfo?: GpuInfo;
|
|
179
179
|
}
|
|
180
180
|
export declare const RecommendationPreferenceName: {
|
|
@@ -201,15 +201,13 @@ export declare const ScopeName: {
|
|
|
201
201
|
};
|
|
202
202
|
export type ScopeName = (typeof ScopeName)[keyof typeof ScopeName];
|
|
203
203
|
export interface Scope {
|
|
204
|
-
name?: ScopeName
|
|
204
|
+
name?: ScopeName;
|
|
205
205
|
value?: string;
|
|
206
206
|
}
|
|
207
207
|
export interface DeleteRecommendationPreferencesRequest {
|
|
208
|
-
resourceType: ResourceType |
|
|
208
|
+
resourceType: ResourceType | undefined;
|
|
209
209
|
scope?: Scope;
|
|
210
|
-
recommendationPreferenceNames:
|
|
211
|
-
| (RecommendationPreferenceName | string)[]
|
|
212
|
-
| undefined;
|
|
210
|
+
recommendationPreferenceNames: RecommendationPreferenceName[] | undefined;
|
|
213
211
|
}
|
|
214
212
|
export interface DeleteRecommendationPreferencesResponse {}
|
|
215
213
|
export declare class InternalServerException extends __BaseException {
|
|
@@ -267,7 +265,7 @@ export declare const JobFilterName: {
|
|
|
267
265
|
};
|
|
268
266
|
export type JobFilterName = (typeof JobFilterName)[keyof typeof JobFilterName];
|
|
269
267
|
export interface JobFilter {
|
|
270
|
-
name?: JobFilterName
|
|
268
|
+
name?: JobFilterName;
|
|
271
269
|
values?: string[];
|
|
272
270
|
}
|
|
273
271
|
export interface DescribeRecommendationExportJobsRequest {
|
|
@@ -294,8 +292,8 @@ export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
|
|
|
294
292
|
export interface RecommendationExportJob {
|
|
295
293
|
jobId?: string;
|
|
296
294
|
destination?: ExportDestination;
|
|
297
|
-
resourceType?: ResourceType
|
|
298
|
-
status?: JobStatus
|
|
295
|
+
resourceType?: ResourceType;
|
|
296
|
+
status?: JobStatus;
|
|
299
297
|
creationTimestamp?: Date;
|
|
300
298
|
lastUpdatedTimestamp?: Date;
|
|
301
299
|
failureReason?: string;
|
|
@@ -380,11 +378,11 @@ export declare const FilterName: {
|
|
|
380
378
|
};
|
|
381
379
|
export type FilterName = (typeof FilterName)[keyof typeof FilterName];
|
|
382
380
|
export interface Filter {
|
|
383
|
-
name?: FilterName
|
|
381
|
+
name?: FilterName;
|
|
384
382
|
values?: string[];
|
|
385
383
|
}
|
|
386
384
|
export interface RecommendationPreferences {
|
|
387
|
-
cpuVendorArchitectures?:
|
|
385
|
+
cpuVendorArchitectures?: CpuVendorArchitecture[];
|
|
388
386
|
}
|
|
389
387
|
export interface S3DestinationConfig {
|
|
390
388
|
bucket?: string;
|
|
@@ -393,9 +391,9 @@ export interface S3DestinationConfig {
|
|
|
393
391
|
export interface ExportAutoScalingGroupRecommendationsRequest {
|
|
394
392
|
accountIds?: string[];
|
|
395
393
|
filters?: Filter[];
|
|
396
|
-
fieldsToExport?:
|
|
394
|
+
fieldsToExport?: ExportableAutoScalingGroupField[];
|
|
397
395
|
s3DestinationConfig: S3DestinationConfig | undefined;
|
|
398
|
-
fileFormat?: FileFormat
|
|
396
|
+
fileFormat?: FileFormat;
|
|
399
397
|
includeMemberAccounts?: boolean;
|
|
400
398
|
recommendationPreferences?: RecommendationPreferences;
|
|
401
399
|
}
|
|
@@ -450,15 +448,15 @@ export declare const EBSFilterName: {
|
|
|
450
448
|
};
|
|
451
449
|
export type EBSFilterName = (typeof EBSFilterName)[keyof typeof EBSFilterName];
|
|
452
450
|
export interface EBSFilter {
|
|
453
|
-
name?: EBSFilterName
|
|
451
|
+
name?: EBSFilterName;
|
|
454
452
|
values?: string[];
|
|
455
453
|
}
|
|
456
454
|
export interface ExportEBSVolumeRecommendationsRequest {
|
|
457
455
|
accountIds?: string[];
|
|
458
456
|
filters?: EBSFilter[];
|
|
459
|
-
fieldsToExport?:
|
|
457
|
+
fieldsToExport?: ExportableVolumeField[];
|
|
460
458
|
s3DestinationConfig: S3DestinationConfig | undefined;
|
|
461
|
-
fileFormat?: FileFormat
|
|
459
|
+
fileFormat?: FileFormat;
|
|
462
460
|
includeMemberAccounts?: boolean;
|
|
463
461
|
}
|
|
464
462
|
export interface ExportEBSVolumeRecommendationsResponse {
|
|
@@ -536,9 +534,9 @@ export type ExportableInstanceField =
|
|
|
536
534
|
export interface ExportEC2InstanceRecommendationsRequest {
|
|
537
535
|
accountIds?: string[];
|
|
538
536
|
filters?: Filter[];
|
|
539
|
-
fieldsToExport?:
|
|
537
|
+
fieldsToExport?: ExportableInstanceField[];
|
|
540
538
|
s3DestinationConfig: S3DestinationConfig | undefined;
|
|
541
|
-
fileFormat?: FileFormat
|
|
539
|
+
fileFormat?: FileFormat;
|
|
542
540
|
includeMemberAccounts?: boolean;
|
|
543
541
|
recommendationPreferences?: RecommendationPreferences;
|
|
544
542
|
}
|
|
@@ -581,15 +579,15 @@ export declare const ECSServiceRecommendationFilterName: {
|
|
|
581
579
|
export type ECSServiceRecommendationFilterName =
|
|
582
580
|
(typeof ECSServiceRecommendationFilterName)[keyof typeof ECSServiceRecommendationFilterName];
|
|
583
581
|
export interface ECSServiceRecommendationFilter {
|
|
584
|
-
name?: ECSServiceRecommendationFilterName
|
|
582
|
+
name?: ECSServiceRecommendationFilterName;
|
|
585
583
|
values?: string[];
|
|
586
584
|
}
|
|
587
585
|
export interface ExportECSServiceRecommendationsRequest {
|
|
588
586
|
accountIds?: string[];
|
|
589
587
|
filters?: ECSServiceRecommendationFilter[];
|
|
590
|
-
fieldsToExport?:
|
|
588
|
+
fieldsToExport?: ExportableECSServiceField[];
|
|
591
589
|
s3DestinationConfig: S3DestinationConfig | undefined;
|
|
592
|
-
fileFormat?: FileFormat
|
|
590
|
+
fileFormat?: FileFormat;
|
|
593
591
|
includeMemberAccounts?: boolean;
|
|
594
592
|
}
|
|
595
593
|
export interface ExportECSServiceRecommendationsResponse {
|
|
@@ -634,15 +632,15 @@ export declare const LambdaFunctionRecommendationFilterName: {
|
|
|
634
632
|
export type LambdaFunctionRecommendationFilterName =
|
|
635
633
|
(typeof LambdaFunctionRecommendationFilterName)[keyof typeof LambdaFunctionRecommendationFilterName];
|
|
636
634
|
export interface LambdaFunctionRecommendationFilter {
|
|
637
|
-
name?: LambdaFunctionRecommendationFilterName
|
|
635
|
+
name?: LambdaFunctionRecommendationFilterName;
|
|
638
636
|
values?: string[];
|
|
639
637
|
}
|
|
640
638
|
export interface ExportLambdaFunctionRecommendationsRequest {
|
|
641
639
|
accountIds?: string[];
|
|
642
640
|
filters?: LambdaFunctionRecommendationFilter[];
|
|
643
|
-
fieldsToExport?:
|
|
641
|
+
fieldsToExport?: ExportableLambdaFunctionField[];
|
|
644
642
|
s3DestinationConfig: S3DestinationConfig | undefined;
|
|
645
|
-
fileFormat?: FileFormat
|
|
643
|
+
fileFormat?: FileFormat;
|
|
646
644
|
includeMemberAccounts?: boolean;
|
|
647
645
|
}
|
|
648
646
|
export interface ExportLambdaFunctionRecommendationsResponse {
|
|
@@ -682,15 +680,15 @@ export declare const LicenseRecommendationFilterName: {
|
|
|
682
680
|
export type LicenseRecommendationFilterName =
|
|
683
681
|
(typeof LicenseRecommendationFilterName)[keyof typeof LicenseRecommendationFilterName];
|
|
684
682
|
export interface LicenseRecommendationFilter {
|
|
685
|
-
name?: LicenseRecommendationFilterName
|
|
683
|
+
name?: LicenseRecommendationFilterName;
|
|
686
684
|
values?: string[];
|
|
687
685
|
}
|
|
688
686
|
export interface ExportLicenseRecommendationsRequest {
|
|
689
687
|
accountIds?: string[];
|
|
690
688
|
filters?: LicenseRecommendationFilter[];
|
|
691
|
-
fieldsToExport?:
|
|
689
|
+
fieldsToExport?: ExportableLicenseField[];
|
|
692
690
|
s3DestinationConfig: S3DestinationConfig | undefined;
|
|
693
|
-
fileFormat?: FileFormat
|
|
691
|
+
fileFormat?: FileFormat;
|
|
694
692
|
includeMemberAccounts?: boolean;
|
|
695
693
|
}
|
|
696
694
|
export interface ExportLicenseRecommendationsResponse {
|
|
@@ -748,8 +746,8 @@ export declare const EBSMetricName: {
|
|
|
748
746
|
};
|
|
749
747
|
export type EBSMetricName = (typeof EBSMetricName)[keyof typeof EBSMetricName];
|
|
750
748
|
export interface EBSUtilizationMetric {
|
|
751
|
-
name?: EBSMetricName
|
|
752
|
-
statistic?: MetricStatistic
|
|
749
|
+
name?: EBSMetricName;
|
|
750
|
+
statistic?: MetricStatistic;
|
|
753
751
|
value?: number;
|
|
754
752
|
}
|
|
755
753
|
export interface VolumeRecommendationOption {
|
|
@@ -762,12 +760,12 @@ export interface VolumeRecommendation {
|
|
|
762
760
|
volumeArn?: string;
|
|
763
761
|
accountId?: string;
|
|
764
762
|
currentConfiguration?: VolumeConfiguration;
|
|
765
|
-
finding?: EBSFinding
|
|
763
|
+
finding?: EBSFinding;
|
|
766
764
|
utilizationMetrics?: EBSUtilizationMetric[];
|
|
767
765
|
lookBackPeriodInDays?: number;
|
|
768
766
|
volumeRecommendationOptions?: VolumeRecommendationOption[];
|
|
769
767
|
lastRefreshTimestamp?: Date;
|
|
770
|
-
currentPerformanceRisk?: CurrentPerformanceRisk
|
|
768
|
+
currentPerformanceRisk?: CurrentPerformanceRisk;
|
|
771
769
|
tags?: Tag[];
|
|
772
770
|
}
|
|
773
771
|
export interface GetEBSVolumeRecommendationsResponse {
|
|
@@ -798,7 +796,7 @@ export declare const ExternalMetricStatusCode: {
|
|
|
798
796
|
export type ExternalMetricStatusCode =
|
|
799
797
|
(typeof ExternalMetricStatusCode)[keyof typeof ExternalMetricStatusCode];
|
|
800
798
|
export interface ExternalMetricStatus {
|
|
801
|
-
statusCode?: ExternalMetricStatusCode
|
|
799
|
+
statusCode?: ExternalMetricStatusCode;
|
|
802
800
|
statusReason?: string;
|
|
803
801
|
}
|
|
804
802
|
export declare const InstanceRecommendationFindingReasonCode: {
|
|
@@ -852,11 +850,11 @@ export type PlatformDifference =
|
|
|
852
850
|
export interface InstanceRecommendationOption {
|
|
853
851
|
instanceType?: string;
|
|
854
852
|
projectedUtilizationMetrics?: UtilizationMetric[];
|
|
855
|
-
platformDifferences?:
|
|
853
|
+
platformDifferences?: PlatformDifference[];
|
|
856
854
|
performanceRisk?: number;
|
|
857
855
|
rank?: number;
|
|
858
856
|
savingsOpportunity?: SavingsOpportunity;
|
|
859
|
-
migrationEffort?: MigrationEffort
|
|
857
|
+
migrationEffort?: MigrationEffort;
|
|
860
858
|
instanceGpuInfo?: GpuInfo;
|
|
861
859
|
}
|
|
862
860
|
export declare const RecommendationSourceType: {
|
|
@@ -871,28 +869,28 @@ export type RecommendationSourceType =
|
|
|
871
869
|
(typeof RecommendationSourceType)[keyof typeof RecommendationSourceType];
|
|
872
870
|
export interface RecommendationSource {
|
|
873
871
|
recommendationSourceArn?: string;
|
|
874
|
-
recommendationSourceType?: RecommendationSourceType
|
|
872
|
+
recommendationSourceType?: RecommendationSourceType;
|
|
875
873
|
}
|
|
876
874
|
export interface InstanceRecommendation {
|
|
877
875
|
instanceArn?: string;
|
|
878
876
|
accountId?: string;
|
|
879
877
|
instanceName?: string;
|
|
880
878
|
currentInstanceType?: string;
|
|
881
|
-
finding?: Finding
|
|
882
|
-
findingReasonCodes?:
|
|
879
|
+
finding?: Finding;
|
|
880
|
+
findingReasonCodes?: InstanceRecommendationFindingReasonCode[];
|
|
883
881
|
utilizationMetrics?: UtilizationMetric[];
|
|
884
882
|
lookBackPeriodInDays?: number;
|
|
885
883
|
recommendationOptions?: InstanceRecommendationOption[];
|
|
886
884
|
recommendationSources?: RecommendationSource[];
|
|
887
885
|
lastRefreshTimestamp?: Date;
|
|
888
|
-
currentPerformanceRisk?: CurrentPerformanceRisk
|
|
886
|
+
currentPerformanceRisk?: CurrentPerformanceRisk;
|
|
889
887
|
effectiveRecommendationPreferences?: EffectiveRecommendationPreferences;
|
|
890
|
-
inferredWorkloadTypes?:
|
|
891
|
-
instanceState?: InstanceState
|
|
888
|
+
inferredWorkloadTypes?: InferredWorkloadType[];
|
|
889
|
+
instanceState?: InstanceState;
|
|
892
890
|
tags?: Tag[];
|
|
893
891
|
externalMetricStatus?: ExternalMetricStatus;
|
|
894
892
|
currentInstanceGpuInfo?: GpuInfo;
|
|
895
|
-
idle?: InstanceIdle
|
|
893
|
+
idle?: InstanceIdle;
|
|
896
894
|
}
|
|
897
895
|
export interface GetEC2InstanceRecommendationsResponse {
|
|
898
896
|
nextToken?: string;
|
|
@@ -901,14 +899,14 @@ export interface GetEC2InstanceRecommendationsResponse {
|
|
|
901
899
|
}
|
|
902
900
|
export interface GetEC2RecommendationProjectedMetricsRequest {
|
|
903
901
|
instanceArn: string | undefined;
|
|
904
|
-
stat: MetricStatistic |
|
|
902
|
+
stat: MetricStatistic | undefined;
|
|
905
903
|
period: number | undefined;
|
|
906
904
|
startTime: Date | undefined;
|
|
907
905
|
endTime: Date | undefined;
|
|
908
906
|
recommendationPreferences?: RecommendationPreferences;
|
|
909
907
|
}
|
|
910
908
|
export interface ProjectedMetric {
|
|
911
|
-
name?: MetricName
|
|
909
|
+
name?: MetricName;
|
|
912
910
|
timestamps?: Date[];
|
|
913
911
|
values?: number[];
|
|
914
912
|
}
|
|
@@ -922,7 +920,7 @@ export interface GetEC2RecommendationProjectedMetricsResponse {
|
|
|
922
920
|
}
|
|
923
921
|
export interface GetECSServiceRecommendationProjectedMetricsRequest {
|
|
924
922
|
serviceArn: string | undefined;
|
|
925
|
-
stat: MetricStatistic |
|
|
923
|
+
stat: MetricStatistic | undefined;
|
|
926
924
|
period: number | undefined;
|
|
927
925
|
startTime: Date | undefined;
|
|
928
926
|
endTime: Date | undefined;
|
|
@@ -934,7 +932,7 @@ export declare const ECSServiceMetricName: {
|
|
|
934
932
|
export type ECSServiceMetricName =
|
|
935
933
|
(typeof ECSServiceMetricName)[keyof typeof ECSServiceMetricName];
|
|
936
934
|
export interface ECSServiceProjectedMetric {
|
|
937
|
-
name?: ECSServiceMetricName
|
|
935
|
+
name?: ECSServiceMetricName;
|
|
938
936
|
timestamps?: Date[];
|
|
939
937
|
upperBoundValues?: number[];
|
|
940
938
|
lowerBoundValues?: number[];
|
|
@@ -967,7 +965,7 @@ export interface ServiceConfiguration {
|
|
|
967
965
|
memory?: number;
|
|
968
966
|
cpu?: number;
|
|
969
967
|
containerConfigurations?: ContainerConfiguration[];
|
|
970
|
-
autoScalingConfiguration?: AutoScalingConfiguration
|
|
968
|
+
autoScalingConfiguration?: AutoScalingConfiguration;
|
|
971
969
|
taskDefinitionArn?: string;
|
|
972
970
|
}
|
|
973
971
|
export declare const ECSServiceRecommendationFinding: {
|
|
@@ -1003,8 +1001,8 @@ export declare const ECSServiceMetricStatistic: {
|
|
|
1003
1001
|
export type ECSServiceMetricStatistic =
|
|
1004
1002
|
(typeof ECSServiceMetricStatistic)[keyof typeof ECSServiceMetricStatistic];
|
|
1005
1003
|
export interface ECSServiceProjectedUtilizationMetric {
|
|
1006
|
-
name?: ECSServiceMetricName
|
|
1007
|
-
statistic?: ECSServiceMetricStatistic
|
|
1004
|
+
name?: ECSServiceMetricName;
|
|
1005
|
+
statistic?: ECSServiceMetricStatistic;
|
|
1008
1006
|
lowerBoundValue?: number;
|
|
1009
1007
|
upperBoundValue?: number;
|
|
1010
1008
|
}
|
|
@@ -1016,8 +1014,8 @@ export interface ECSServiceRecommendationOption {
|
|
|
1016
1014
|
containerRecommendations?: ContainerRecommendation[];
|
|
1017
1015
|
}
|
|
1018
1016
|
export interface ECSServiceUtilizationMetric {
|
|
1019
|
-
name?: ECSServiceMetricName
|
|
1020
|
-
statistic?: ECSServiceMetricStatistic
|
|
1017
|
+
name?: ECSServiceMetricName;
|
|
1018
|
+
statistic?: ECSServiceMetricStatistic;
|
|
1021
1019
|
value?: number;
|
|
1022
1020
|
}
|
|
1023
1021
|
export interface ECSServiceRecommendation {
|
|
@@ -1026,12 +1024,12 @@ export interface ECSServiceRecommendation {
|
|
|
1026
1024
|
currentServiceConfiguration?: ServiceConfiguration;
|
|
1027
1025
|
utilizationMetrics?: ECSServiceUtilizationMetric[];
|
|
1028
1026
|
lookbackPeriodInDays?: number;
|
|
1029
|
-
launchType?: ECSServiceLaunchType
|
|
1027
|
+
launchType?: ECSServiceLaunchType;
|
|
1030
1028
|
lastRefreshTimestamp?: Date;
|
|
1031
|
-
finding?: ECSServiceRecommendationFinding
|
|
1032
|
-
findingReasonCodes?:
|
|
1029
|
+
finding?: ECSServiceRecommendationFinding;
|
|
1030
|
+
findingReasonCodes?: ECSServiceRecommendationFindingReasonCode[];
|
|
1033
1031
|
serviceRecommendationOptions?: ECSServiceRecommendationOption[];
|
|
1034
|
-
currentPerformanceRisk?: CurrentPerformanceRisk
|
|
1032
|
+
currentPerformanceRisk?: CurrentPerformanceRisk;
|
|
1035
1033
|
tags?: Tag[];
|
|
1036
1034
|
}
|
|
1037
1035
|
export interface GetECSServiceRecommendationsResponse {
|
|
@@ -1043,12 +1041,12 @@ export interface GetEffectiveRecommendationPreferencesRequest {
|
|
|
1043
1041
|
resourceArn: string | undefined;
|
|
1044
1042
|
}
|
|
1045
1043
|
export interface GetEffectiveRecommendationPreferencesResponse {
|
|
1046
|
-
enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics
|
|
1044
|
+
enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics;
|
|
1047
1045
|
externalMetricsPreference?: ExternalMetricsPreference;
|
|
1048
1046
|
}
|
|
1049
1047
|
export interface GetEnrollmentStatusRequest {}
|
|
1050
1048
|
export interface GetEnrollmentStatusResponse {
|
|
1051
|
-
status?: Status
|
|
1049
|
+
status?: Status;
|
|
1052
1050
|
statusReason?: string;
|
|
1053
1051
|
memberAccountsEnrolled?: boolean;
|
|
1054
1052
|
lastUpdatedTimestamp?: Date;
|
|
@@ -1060,7 +1058,7 @@ export declare const EnrollmentFilterName: {
|
|
|
1060
1058
|
export type EnrollmentFilterName =
|
|
1061
1059
|
(typeof EnrollmentFilterName)[keyof typeof EnrollmentFilterName];
|
|
1062
1060
|
export interface EnrollmentFilter {
|
|
1063
|
-
name?: EnrollmentFilterName
|
|
1061
|
+
name?: EnrollmentFilterName;
|
|
1064
1062
|
values?: string[];
|
|
1065
1063
|
}
|
|
1066
1064
|
export interface GetEnrollmentStatusesForOrganizationRequest {
|
|
@@ -1107,8 +1105,8 @@ export declare const LambdaFunctionMemoryMetricStatistic: {
|
|
|
1107
1105
|
export type LambdaFunctionMemoryMetricStatistic =
|
|
1108
1106
|
(typeof LambdaFunctionMemoryMetricStatistic)[keyof typeof LambdaFunctionMemoryMetricStatistic];
|
|
1109
1107
|
export interface LambdaFunctionMemoryProjectedMetric {
|
|
1110
|
-
name?: LambdaFunctionMemoryMetricName
|
|
1111
|
-
statistic?: LambdaFunctionMemoryMetricStatistic
|
|
1108
|
+
name?: LambdaFunctionMemoryMetricName;
|
|
1109
|
+
statistic?: LambdaFunctionMemoryMetricStatistic;
|
|
1112
1110
|
value?: number;
|
|
1113
1111
|
}
|
|
1114
1112
|
export interface LambdaFunctionMemoryRecommendationOption {
|
|
@@ -1130,8 +1128,8 @@ export declare const LambdaFunctionMetricStatistic: {
|
|
|
1130
1128
|
export type LambdaFunctionMetricStatistic =
|
|
1131
1129
|
(typeof LambdaFunctionMetricStatistic)[keyof typeof LambdaFunctionMetricStatistic];
|
|
1132
1130
|
export interface LambdaFunctionUtilizationMetric {
|
|
1133
|
-
name?: LambdaFunctionMetricName
|
|
1134
|
-
statistic?: LambdaFunctionMetricStatistic
|
|
1131
|
+
name?: LambdaFunctionMetricName;
|
|
1132
|
+
statistic?: LambdaFunctionMetricStatistic;
|
|
1135
1133
|
value?: number;
|
|
1136
1134
|
}
|
|
1137
1135
|
export interface LambdaFunctionRecommendation {
|
|
@@ -1143,13 +1141,10 @@ export interface LambdaFunctionRecommendation {
|
|
|
1143
1141
|
utilizationMetrics?: LambdaFunctionUtilizationMetric[];
|
|
1144
1142
|
lookbackPeriodInDays?: number;
|
|
1145
1143
|
lastRefreshTimestamp?: Date;
|
|
1146
|
-
finding?: LambdaFunctionRecommendationFinding
|
|
1147
|
-
findingReasonCodes?:
|
|
1148
|
-
| LambdaFunctionRecommendationFindingReasonCode
|
|
1149
|
-
| string
|
|
1150
|
-
)[];
|
|
1144
|
+
finding?: LambdaFunctionRecommendationFinding;
|
|
1145
|
+
findingReasonCodes?: LambdaFunctionRecommendationFindingReasonCode[];
|
|
1151
1146
|
memorySizeRecommendationOptions?: LambdaFunctionMemoryRecommendationOption[];
|
|
1152
|
-
currentPerformanceRisk?: CurrentPerformanceRisk
|
|
1147
|
+
currentPerformanceRisk?: CurrentPerformanceRisk;
|
|
1153
1148
|
tags?: Tag[];
|
|
1154
1149
|
}
|
|
1155
1150
|
export interface GetLambdaFunctionRecommendationsResponse {
|
|
@@ -1186,16 +1181,16 @@ export declare const MetricSourceProvider: {
|
|
|
1186
1181
|
export type MetricSourceProvider =
|
|
1187
1182
|
(typeof MetricSourceProvider)[keyof typeof MetricSourceProvider];
|
|
1188
1183
|
export interface MetricSource {
|
|
1189
|
-
provider?: MetricSourceProvider
|
|
1184
|
+
provider?: MetricSourceProvider;
|
|
1190
1185
|
providerArn?: string;
|
|
1191
1186
|
}
|
|
1192
1187
|
export interface LicenseConfiguration {
|
|
1193
1188
|
numberOfCores?: number;
|
|
1194
1189
|
instanceType?: string;
|
|
1195
1190
|
operatingSystem?: string;
|
|
1196
|
-
licenseEdition?: LicenseEdition
|
|
1197
|
-
licenseName?: LicenseName
|
|
1198
|
-
licenseModel?: LicenseModel
|
|
1191
|
+
licenseEdition?: LicenseEdition;
|
|
1192
|
+
licenseName?: LicenseName;
|
|
1193
|
+
licenseModel?: LicenseModel;
|
|
1199
1194
|
licenseVersion?: string;
|
|
1200
1195
|
metricsSource?: MetricSource[];
|
|
1201
1196
|
}
|
|
@@ -1217,8 +1212,8 @@ export type LicenseFindingReasonCode =
|
|
|
1217
1212
|
export interface LicenseRecommendationOption {
|
|
1218
1213
|
rank?: number;
|
|
1219
1214
|
operatingSystem?: string;
|
|
1220
|
-
licenseEdition?: LicenseEdition
|
|
1221
|
-
licenseModel?: LicenseModel
|
|
1215
|
+
licenseEdition?: LicenseEdition;
|
|
1216
|
+
licenseModel?: LicenseModel;
|
|
1222
1217
|
savingsOpportunity?: SavingsOpportunity;
|
|
1223
1218
|
}
|
|
1224
1219
|
export interface LicenseRecommendation {
|
|
@@ -1227,8 +1222,8 @@ export interface LicenseRecommendation {
|
|
|
1227
1222
|
currentLicenseConfiguration?: LicenseConfiguration;
|
|
1228
1223
|
lookbackPeriodInDays?: number;
|
|
1229
1224
|
lastRefreshTimestamp?: Date;
|
|
1230
|
-
finding?: LicenseFinding
|
|
1231
|
-
findingReasonCodes?:
|
|
1225
|
+
finding?: LicenseFinding;
|
|
1226
|
+
findingReasonCodes?: LicenseFindingReasonCode[];
|
|
1232
1227
|
licenseRecommendationOptions?: LicenseRecommendationOption[];
|
|
1233
1228
|
tags?: Tag[];
|
|
1234
1229
|
}
|
|
@@ -1238,16 +1233,16 @@ export interface GetLicenseRecommendationsResponse {
|
|
|
1238
1233
|
errors?: GetRecommendationError[];
|
|
1239
1234
|
}
|
|
1240
1235
|
export interface GetRecommendationPreferencesRequest {
|
|
1241
|
-
resourceType: ResourceType |
|
|
1236
|
+
resourceType: ResourceType | undefined;
|
|
1242
1237
|
scope?: Scope;
|
|
1243
1238
|
nextToken?: string;
|
|
1244
1239
|
maxResults?: number;
|
|
1245
1240
|
}
|
|
1246
1241
|
export interface RecommendationPreferencesDetail {
|
|
1247
1242
|
scope?: Scope;
|
|
1248
|
-
resourceType?: ResourceType
|
|
1249
|
-
enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics
|
|
1250
|
-
inferredWorkloadTypes?: InferredWorkloadTypesPreference
|
|
1243
|
+
resourceType?: ResourceType;
|
|
1244
|
+
enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics;
|
|
1245
|
+
inferredWorkloadTypes?: InferredWorkloadTypesPreference;
|
|
1251
1246
|
externalMetricsPreference?: ExternalMetricsPreference;
|
|
1252
1247
|
}
|
|
1253
1248
|
export interface GetRecommendationPreferencesResponse {
|
|
@@ -1266,7 +1261,7 @@ export interface CurrentPerformanceRiskRatings {
|
|
|
1266
1261
|
veryLow?: number;
|
|
1267
1262
|
}
|
|
1268
1263
|
export interface InferredWorkloadSaving {
|
|
1269
|
-
inferredWorkloadTypes?:
|
|
1264
|
+
inferredWorkloadTypes?: InferredWorkloadType[];
|
|
1270
1265
|
estimatedMonthlySavings?: EstimatedMonthlySavings;
|
|
1271
1266
|
}
|
|
1272
1267
|
export declare const FindingReasonCode: {
|
|
@@ -1276,17 +1271,17 @@ export declare const FindingReasonCode: {
|
|
|
1276
1271
|
export type FindingReasonCode =
|
|
1277
1272
|
(typeof FindingReasonCode)[keyof typeof FindingReasonCode];
|
|
1278
1273
|
export interface ReasonCodeSummary {
|
|
1279
|
-
name?: FindingReasonCode
|
|
1274
|
+
name?: FindingReasonCode;
|
|
1280
1275
|
value?: number;
|
|
1281
1276
|
}
|
|
1282
1277
|
export interface Summary {
|
|
1283
|
-
name?: Finding
|
|
1278
|
+
name?: Finding;
|
|
1284
1279
|
value?: number;
|
|
1285
1280
|
reasonCodeSummaries?: ReasonCodeSummary[];
|
|
1286
1281
|
}
|
|
1287
1282
|
export interface RecommendationSummary {
|
|
1288
1283
|
summaries?: Summary[];
|
|
1289
|
-
recommendationResourceType?: RecommendationSourceType
|
|
1284
|
+
recommendationResourceType?: RecommendationSourceType;
|
|
1290
1285
|
accountId?: string;
|
|
1291
1286
|
savingsOpportunity?: SavingsOpportunity;
|
|
1292
1287
|
currentPerformanceRiskRatings?: CurrentPerformanceRiskRatings;
|
|
@@ -1297,18 +1292,18 @@ export interface GetRecommendationSummariesResponse {
|
|
|
1297
1292
|
recommendationSummaries?: RecommendationSummary[];
|
|
1298
1293
|
}
|
|
1299
1294
|
export interface PutRecommendationPreferencesRequest {
|
|
1300
|
-
resourceType: ResourceType |
|
|
1295
|
+
resourceType: ResourceType | undefined;
|
|
1301
1296
|
scope?: Scope;
|
|
1302
|
-
enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics
|
|
1303
|
-
inferredWorkloadTypes?: InferredWorkloadTypesPreference
|
|
1297
|
+
enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics;
|
|
1298
|
+
inferredWorkloadTypes?: InferredWorkloadTypesPreference;
|
|
1304
1299
|
externalMetricsPreference?: ExternalMetricsPreference;
|
|
1305
1300
|
}
|
|
1306
1301
|
export interface PutRecommendationPreferencesResponse {}
|
|
1307
1302
|
export interface UpdateEnrollmentStatusRequest {
|
|
1308
|
-
status: Status |
|
|
1303
|
+
status: Status | undefined;
|
|
1309
1304
|
includeMemberAccounts?: boolean;
|
|
1310
1305
|
}
|
|
1311
1306
|
export interface UpdateEnrollmentStatusResponse {
|
|
1312
|
-
status?: Status
|
|
1307
|
+
status?: Status;
|
|
1313
1308
|
statusReason?: string;
|
|
1314
1309
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-compute-optimizer",
|
|
3
3
|
"description": "AWS SDK for JavaScript Compute Optimizer Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.429.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,39 +21,39 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^2.0.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.2.
|
|
38
|
-
"@smithy/hash-node": "^2.0.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.
|
|
42
|
-
"@smithy/middleware-retry": "^2.0.
|
|
43
|
-
"@smithy/middleware-serde": "^2.0.
|
|
44
|
-
"@smithy/middleware-stack": "^2.0.
|
|
45
|
-
"@smithy/node-config-provider": "^2.
|
|
46
|
-
"@smithy/node-http-handler": "^2.1.
|
|
47
|
-
"@smithy/protocol-http": "^3.0.
|
|
48
|
-
"@smithy/smithy-client": "^2.1.
|
|
49
|
-
"@smithy/types": "^2.3.
|
|
50
|
-
"@smithy/url-parser": "^2.0.
|
|
24
|
+
"@aws-sdk/client-sts": "3.429.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.429.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.429.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.428.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.428.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.428.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.428.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.428.0",
|
|
32
|
+
"@aws-sdk/types": "3.428.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.428.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.428.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.428.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.0.14",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.2.3",
|
|
38
|
+
"@smithy/hash-node": "^2.0.11",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.0.11",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.0.13",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.1.1",
|
|
42
|
+
"@smithy/middleware-retry": "^2.0.16",
|
|
43
|
+
"@smithy/middleware-serde": "^2.0.11",
|
|
44
|
+
"@smithy/middleware-stack": "^2.0.5",
|
|
45
|
+
"@smithy/node-config-provider": "^2.1.1",
|
|
46
|
+
"@smithy/node-http-handler": "^2.1.7",
|
|
47
|
+
"@smithy/protocol-http": "^3.0.7",
|
|
48
|
+
"@smithy/smithy-client": "^2.1.11",
|
|
49
|
+
"@smithy/types": "^2.3.5",
|
|
50
|
+
"@smithy/url-parser": "^2.0.11",
|
|
51
51
|
"@smithy/util-base64": "^2.0.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
56
|
-
"@smithy/util-retry": "^2.0.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.0.15",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.0.19",
|
|
56
|
+
"@smithy/util-retry": "^2.0.4",
|
|
57
57
|
"@smithy/util-utf8": "^2.0.0",
|
|
58
58
|
"tslib": "^2.5.0"
|
|
59
59
|
},
|