@aws-sdk/client-compute-optimizer 3.687.0 → 3.691.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 +521 -521
- package/dist-types/ts3.4/models/models_0.d.ts +567 -521
- package/package.json +7 -7
|
@@ -15,10 +15,10 @@ export declare const Status: {
|
|
|
15
15
|
};
|
|
16
16
|
export type Status = (typeof Status)[keyof typeof Status];
|
|
17
17
|
export interface AccountEnrollmentStatus {
|
|
18
|
-
accountId?: string;
|
|
19
|
-
status?: Status;
|
|
20
|
-
statusReason?: string;
|
|
21
|
-
lastUpdatedTimestamp?: Date;
|
|
18
|
+
accountId?: string | undefined;
|
|
19
|
+
status?: Status | undefined;
|
|
20
|
+
statusReason?: string | undefined;
|
|
21
|
+
lastUpdatedTimestamp?: Date | undefined;
|
|
22
22
|
}
|
|
23
23
|
export declare const AutoScalingConfiguration: {
|
|
24
24
|
readonly TARGET_TRACKING_SCALING_CPU: "TargetTrackingScalingCpu";
|
|
@@ -27,10 +27,10 @@ export declare const AutoScalingConfiguration: {
|
|
|
27
27
|
export type AutoScalingConfiguration =
|
|
28
28
|
(typeof AutoScalingConfiguration)[keyof typeof AutoScalingConfiguration];
|
|
29
29
|
export interface AutoScalingGroupConfiguration {
|
|
30
|
-
desiredCapacity?: number;
|
|
31
|
-
minSize?: number;
|
|
32
|
-
maxSize?: number;
|
|
33
|
-
instanceType?: string;
|
|
30
|
+
desiredCapacity?: number | undefined;
|
|
31
|
+
minSize?: number | undefined;
|
|
32
|
+
maxSize?: number | undefined;
|
|
33
|
+
instanceType?: string | undefined;
|
|
34
34
|
}
|
|
35
35
|
export declare const Currency: {
|
|
36
36
|
readonly CNY: "CNY";
|
|
@@ -38,15 +38,15 @@ export declare const Currency: {
|
|
|
38
38
|
};
|
|
39
39
|
export type Currency = (typeof Currency)[keyof typeof Currency];
|
|
40
40
|
export interface AutoScalingGroupEstimatedMonthlySavings {
|
|
41
|
-
currency?: Currency;
|
|
42
|
-
value?: number;
|
|
41
|
+
currency?: Currency | undefined;
|
|
42
|
+
value?: number | undefined;
|
|
43
43
|
}
|
|
44
44
|
export interface Gpu {
|
|
45
|
-
gpuCount?: number;
|
|
46
|
-
gpuMemorySizeInMiB?: number;
|
|
45
|
+
gpuCount?: number | undefined;
|
|
46
|
+
gpuMemorySizeInMiB?: number | undefined;
|
|
47
47
|
}
|
|
48
48
|
export interface GpuInfo {
|
|
49
|
-
gpus?: Gpu[];
|
|
49
|
+
gpus?: Gpu[] | undefined;
|
|
50
50
|
}
|
|
51
51
|
export declare const CurrentPerformanceRisk: {
|
|
52
52
|
readonly HIGH: "High";
|
|
@@ -77,7 +77,7 @@ export declare const ExternalMetricsSource: {
|
|
|
77
77
|
export type ExternalMetricsSource =
|
|
78
78
|
(typeof ExternalMetricsSource)[keyof typeof ExternalMetricsSource];
|
|
79
79
|
export interface ExternalMetricsPreference {
|
|
80
|
-
source?: ExternalMetricsSource;
|
|
80
|
+
source?: ExternalMetricsSource | undefined;
|
|
81
81
|
}
|
|
82
82
|
export declare const InferredWorkloadTypesPreference: {
|
|
83
83
|
readonly ACTIVE: "Active";
|
|
@@ -98,10 +98,10 @@ export declare const PreferredResourceName: {
|
|
|
98
98
|
export type PreferredResourceName =
|
|
99
99
|
(typeof PreferredResourceName)[keyof typeof PreferredResourceName];
|
|
100
100
|
export interface EffectivePreferredResource {
|
|
101
|
-
name?: PreferredResourceName;
|
|
102
|
-
includeList?: string[];
|
|
103
|
-
effectiveIncludeList?: string[];
|
|
104
|
-
excludeList?: string[];
|
|
101
|
+
name?: PreferredResourceName | undefined;
|
|
102
|
+
includeList?: string[] | undefined;
|
|
103
|
+
effectiveIncludeList?: string[] | undefined;
|
|
104
|
+
excludeList?: string[] | undefined;
|
|
105
105
|
}
|
|
106
106
|
export declare const InstanceSavingsEstimationModeSource: {
|
|
107
107
|
readonly COST_EXPLORER_RIGHTSIZING: "CostExplorerRightsizing";
|
|
@@ -111,7 +111,7 @@ export declare const InstanceSavingsEstimationModeSource: {
|
|
|
111
111
|
export type InstanceSavingsEstimationModeSource =
|
|
112
112
|
(typeof InstanceSavingsEstimationModeSource)[keyof typeof InstanceSavingsEstimationModeSource];
|
|
113
113
|
export interface InstanceSavingsEstimationMode {
|
|
114
|
-
source?: InstanceSavingsEstimationModeSource;
|
|
114
|
+
source?: InstanceSavingsEstimationModeSource | undefined;
|
|
115
115
|
}
|
|
116
116
|
export declare const CustomizableMetricName: {
|
|
117
117
|
readonly CPU_UTILIZATION: "CpuUtilization";
|
|
@@ -135,22 +135,22 @@ export declare const CustomizableMetricThreshold: {
|
|
|
135
135
|
export type CustomizableMetricThreshold =
|
|
136
136
|
(typeof CustomizableMetricThreshold)[keyof typeof CustomizableMetricThreshold];
|
|
137
137
|
export interface CustomizableMetricParameters {
|
|
138
|
-
threshold?: CustomizableMetricThreshold;
|
|
139
|
-
headroom?: CustomizableMetricHeadroom;
|
|
138
|
+
threshold?: CustomizableMetricThreshold | undefined;
|
|
139
|
+
headroom?: CustomizableMetricHeadroom | undefined;
|
|
140
140
|
}
|
|
141
141
|
export interface UtilizationPreference {
|
|
142
|
-
metricName?: CustomizableMetricName;
|
|
143
|
-
metricParameters?: CustomizableMetricParameters;
|
|
142
|
+
metricName?: CustomizableMetricName | undefined;
|
|
143
|
+
metricParameters?: CustomizableMetricParameters | undefined;
|
|
144
144
|
}
|
|
145
145
|
export interface EffectiveRecommendationPreferences {
|
|
146
|
-
cpuVendorArchitectures?: CpuVendorArchitecture[];
|
|
147
|
-
enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics;
|
|
148
|
-
inferredWorkloadTypes?: InferredWorkloadTypesPreference;
|
|
149
|
-
externalMetricsPreference?: ExternalMetricsPreference;
|
|
150
|
-
lookBackPeriod?: LookBackPeriodPreference;
|
|
151
|
-
utilizationPreferences?: UtilizationPreference[];
|
|
152
|
-
preferredResources?: EffectivePreferredResource[];
|
|
153
|
-
savingsEstimationMode?: InstanceSavingsEstimationMode;
|
|
146
|
+
cpuVendorArchitectures?: CpuVendorArchitecture[] | undefined;
|
|
147
|
+
enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics | undefined;
|
|
148
|
+
inferredWorkloadTypes?: InferredWorkloadTypesPreference | undefined;
|
|
149
|
+
externalMetricsPreference?: ExternalMetricsPreference | undefined;
|
|
150
|
+
lookBackPeriod?: LookBackPeriodPreference | undefined;
|
|
151
|
+
utilizationPreferences?: UtilizationPreference[] | undefined;
|
|
152
|
+
preferredResources?: EffectivePreferredResource[] | undefined;
|
|
153
|
+
savingsEstimationMode?: InstanceSavingsEstimationMode | undefined;
|
|
154
154
|
}
|
|
155
155
|
export declare const Finding: {
|
|
156
156
|
readonly NOT_OPTIMIZED: "NotOptimized";
|
|
@@ -206,46 +206,50 @@ export declare const MetricStatistic: {
|
|
|
206
206
|
export type MetricStatistic =
|
|
207
207
|
(typeof MetricStatistic)[keyof typeof MetricStatistic];
|
|
208
208
|
export interface UtilizationMetric {
|
|
209
|
-
name?: MetricName;
|
|
210
|
-
statistic?: MetricStatistic;
|
|
211
|
-
value?: number;
|
|
209
|
+
name?: MetricName | undefined;
|
|
210
|
+
statistic?: MetricStatistic | undefined;
|
|
211
|
+
value?: number | undefined;
|
|
212
212
|
}
|
|
213
213
|
export interface EstimatedMonthlySavings {
|
|
214
|
-
currency?: Currency;
|
|
215
|
-
value?: number;
|
|
214
|
+
currency?: Currency | undefined;
|
|
215
|
+
value?: number | undefined;
|
|
216
216
|
}
|
|
217
217
|
export interface SavingsOpportunity {
|
|
218
|
-
savingsOpportunityPercentage?: number;
|
|
219
|
-
estimatedMonthlySavings?: EstimatedMonthlySavings;
|
|
218
|
+
savingsOpportunityPercentage?: number | undefined;
|
|
219
|
+
estimatedMonthlySavings?: EstimatedMonthlySavings | undefined;
|
|
220
220
|
}
|
|
221
221
|
export interface AutoScalingGroupSavingsOpportunityAfterDiscounts {
|
|
222
|
-
savingsOpportunityPercentage?: number;
|
|
223
|
-
estimatedMonthlySavings?: AutoScalingGroupEstimatedMonthlySavings;
|
|
222
|
+
savingsOpportunityPercentage?: number | undefined;
|
|
223
|
+
estimatedMonthlySavings?: AutoScalingGroupEstimatedMonthlySavings | undefined;
|
|
224
224
|
}
|
|
225
225
|
export interface AutoScalingGroupRecommendationOption {
|
|
226
|
-
configuration?: AutoScalingGroupConfiguration;
|
|
227
|
-
instanceGpuInfo?: GpuInfo;
|
|
228
|
-
projectedUtilizationMetrics?: UtilizationMetric[];
|
|
229
|
-
performanceRisk?: number;
|
|
230
|
-
rank?: number;
|
|
231
|
-
savingsOpportunity?: SavingsOpportunity;
|
|
232
|
-
savingsOpportunityAfterDiscounts?:
|
|
233
|
-
|
|
226
|
+
configuration?: AutoScalingGroupConfiguration | undefined;
|
|
227
|
+
instanceGpuInfo?: GpuInfo | undefined;
|
|
228
|
+
projectedUtilizationMetrics?: UtilizationMetric[] | undefined;
|
|
229
|
+
performanceRisk?: number | undefined;
|
|
230
|
+
rank?: number | undefined;
|
|
231
|
+
savingsOpportunity?: SavingsOpportunity | undefined;
|
|
232
|
+
savingsOpportunityAfterDiscounts?:
|
|
233
|
+
| AutoScalingGroupSavingsOpportunityAfterDiscounts
|
|
234
|
+
| undefined;
|
|
235
|
+
migrationEffort?: MigrationEffort | undefined;
|
|
234
236
|
}
|
|
235
237
|
export interface AutoScalingGroupRecommendation {
|
|
236
|
-
accountId?: string;
|
|
237
|
-
autoScalingGroupArn?: string;
|
|
238
|
-
autoScalingGroupName?: string;
|
|
239
|
-
finding?: Finding;
|
|
240
|
-
utilizationMetrics?: UtilizationMetric[];
|
|
241
|
-
lookBackPeriodInDays?: number;
|
|
242
|
-
currentConfiguration?: AutoScalingGroupConfiguration;
|
|
243
|
-
currentInstanceGpuInfo?: GpuInfo;
|
|
244
|
-
recommendationOptions?: AutoScalingGroupRecommendationOption[];
|
|
245
|
-
lastRefreshTimestamp?: Date;
|
|
246
|
-
currentPerformanceRisk?: CurrentPerformanceRisk;
|
|
247
|
-
effectiveRecommendationPreferences?:
|
|
248
|
-
|
|
238
|
+
accountId?: string | undefined;
|
|
239
|
+
autoScalingGroupArn?: string | undefined;
|
|
240
|
+
autoScalingGroupName?: string | undefined;
|
|
241
|
+
finding?: Finding | undefined;
|
|
242
|
+
utilizationMetrics?: UtilizationMetric[] | undefined;
|
|
243
|
+
lookBackPeriodInDays?: number | undefined;
|
|
244
|
+
currentConfiguration?: AutoScalingGroupConfiguration | undefined;
|
|
245
|
+
currentInstanceGpuInfo?: GpuInfo | undefined;
|
|
246
|
+
recommendationOptions?: AutoScalingGroupRecommendationOption[] | undefined;
|
|
247
|
+
lastRefreshTimestamp?: Date | undefined;
|
|
248
|
+
currentPerformanceRisk?: CurrentPerformanceRisk | undefined;
|
|
249
|
+
effectiveRecommendationPreferences?:
|
|
250
|
+
| EffectiveRecommendationPreferences
|
|
251
|
+
| undefined;
|
|
252
|
+
inferredWorkloadTypes?: InferredWorkloadType[] | undefined;
|
|
249
253
|
}
|
|
250
254
|
export declare const RecommendationPreferenceName: {
|
|
251
255
|
readonly ENHANCED_INFRASTRUCTURE_METRICS: "EnhancedInfrastructureMetrics";
|
|
@@ -275,12 +279,12 @@ export declare const ScopeName: {
|
|
|
275
279
|
};
|
|
276
280
|
export type ScopeName = (typeof ScopeName)[keyof typeof ScopeName];
|
|
277
281
|
export interface Scope {
|
|
278
|
-
name?: ScopeName;
|
|
279
|
-
value?: string;
|
|
282
|
+
name?: ScopeName | undefined;
|
|
283
|
+
value?: string | undefined;
|
|
280
284
|
}
|
|
281
285
|
export interface DeleteRecommendationPreferencesRequest {
|
|
282
286
|
resourceType: ResourceType | undefined;
|
|
283
|
-
scope?: Scope;
|
|
287
|
+
scope?: Scope | undefined;
|
|
284
288
|
recommendationPreferenceNames: RecommendationPreferenceName[] | undefined;
|
|
285
289
|
}
|
|
286
290
|
export interface DeleteRecommendationPreferencesResponse {}
|
|
@@ -339,22 +343,22 @@ export declare const JobFilterName: {
|
|
|
339
343
|
};
|
|
340
344
|
export type JobFilterName = (typeof JobFilterName)[keyof typeof JobFilterName];
|
|
341
345
|
export interface JobFilter {
|
|
342
|
-
name?: JobFilterName;
|
|
343
|
-
values?: string[];
|
|
346
|
+
name?: JobFilterName | undefined;
|
|
347
|
+
values?: string[] | undefined;
|
|
344
348
|
}
|
|
345
349
|
export interface DescribeRecommendationExportJobsRequest {
|
|
346
|
-
jobIds?: string[];
|
|
347
|
-
filters?: JobFilter[];
|
|
348
|
-
nextToken?: string;
|
|
349
|
-
maxResults?: number;
|
|
350
|
+
jobIds?: string[] | undefined;
|
|
351
|
+
filters?: JobFilter[] | undefined;
|
|
352
|
+
nextToken?: string | undefined;
|
|
353
|
+
maxResults?: number | undefined;
|
|
350
354
|
}
|
|
351
355
|
export interface S3Destination {
|
|
352
|
-
bucket?: string;
|
|
353
|
-
key?: string;
|
|
354
|
-
metadataKey?: string;
|
|
356
|
+
bucket?: string | undefined;
|
|
357
|
+
key?: string | undefined;
|
|
358
|
+
metadataKey?: string | undefined;
|
|
355
359
|
}
|
|
356
360
|
export interface ExportDestination {
|
|
357
|
-
s3?: S3Destination;
|
|
361
|
+
s3?: S3Destination | undefined;
|
|
358
362
|
}
|
|
359
363
|
export declare const JobStatus: {
|
|
360
364
|
readonly COMPLETE: "Complete";
|
|
@@ -364,17 +368,17 @@ export declare const JobStatus: {
|
|
|
364
368
|
};
|
|
365
369
|
export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
|
|
366
370
|
export interface RecommendationExportJob {
|
|
367
|
-
jobId?: string;
|
|
368
|
-
destination?: ExportDestination;
|
|
369
|
-
resourceType?: ResourceType;
|
|
370
|
-
status?: JobStatus;
|
|
371
|
-
creationTimestamp?: Date;
|
|
372
|
-
lastUpdatedTimestamp?: Date;
|
|
373
|
-
failureReason?: string;
|
|
371
|
+
jobId?: string | undefined;
|
|
372
|
+
destination?: ExportDestination | undefined;
|
|
373
|
+
resourceType?: ResourceType | undefined;
|
|
374
|
+
status?: JobStatus | undefined;
|
|
375
|
+
creationTimestamp?: Date | undefined;
|
|
376
|
+
lastUpdatedTimestamp?: Date | undefined;
|
|
377
|
+
failureReason?: string | undefined;
|
|
374
378
|
}
|
|
375
379
|
export interface DescribeRecommendationExportJobsResponse {
|
|
376
|
-
recommendationExportJobs?: RecommendationExportJob[];
|
|
377
|
-
nextToken?: string;
|
|
380
|
+
recommendationExportJobs?: RecommendationExportJob[] | undefined;
|
|
381
|
+
nextToken?: string | undefined;
|
|
378
382
|
}
|
|
379
383
|
export declare const ExportableAutoScalingGroupField: {
|
|
380
384
|
readonly ACCOUNT_ID: "AccountId";
|
|
@@ -458,28 +462,28 @@ export declare const FilterName: {
|
|
|
458
462
|
};
|
|
459
463
|
export type FilterName = (typeof FilterName)[keyof typeof FilterName];
|
|
460
464
|
export interface Filter {
|
|
461
|
-
name?: FilterName;
|
|
462
|
-
values?: string[];
|
|
465
|
+
name?: FilterName | undefined;
|
|
466
|
+
values?: string[] | undefined;
|
|
463
467
|
}
|
|
464
468
|
export interface RecommendationPreferences {
|
|
465
|
-
cpuVendorArchitectures?: CpuVendorArchitecture[];
|
|
469
|
+
cpuVendorArchitectures?: CpuVendorArchitecture[] | undefined;
|
|
466
470
|
}
|
|
467
471
|
export interface S3DestinationConfig {
|
|
468
|
-
bucket?: string;
|
|
469
|
-
keyPrefix?: string;
|
|
472
|
+
bucket?: string | undefined;
|
|
473
|
+
keyPrefix?: string | undefined;
|
|
470
474
|
}
|
|
471
475
|
export interface ExportAutoScalingGroupRecommendationsRequest {
|
|
472
|
-
accountIds?: string[];
|
|
473
|
-
filters?: Filter[];
|
|
474
|
-
fieldsToExport?: ExportableAutoScalingGroupField[];
|
|
476
|
+
accountIds?: string[] | undefined;
|
|
477
|
+
filters?: Filter[] | undefined;
|
|
478
|
+
fieldsToExport?: ExportableAutoScalingGroupField[] | undefined;
|
|
475
479
|
s3DestinationConfig: S3DestinationConfig | undefined;
|
|
476
|
-
fileFormat?: FileFormat;
|
|
477
|
-
includeMemberAccounts?: boolean;
|
|
478
|
-
recommendationPreferences?: RecommendationPreferences;
|
|
480
|
+
fileFormat?: FileFormat | undefined;
|
|
481
|
+
includeMemberAccounts?: boolean | undefined;
|
|
482
|
+
recommendationPreferences?: RecommendationPreferences | undefined;
|
|
479
483
|
}
|
|
480
484
|
export interface ExportAutoScalingGroupRecommendationsResponse {
|
|
481
|
-
jobId?: string;
|
|
482
|
-
s3Destination?: S3Destination;
|
|
485
|
+
jobId?: string | undefined;
|
|
486
|
+
s3Destination?: S3Destination | undefined;
|
|
483
487
|
}
|
|
484
488
|
export declare class LimitExceededException extends __BaseException {
|
|
485
489
|
readonly name: "LimitExceededException";
|
|
@@ -532,20 +536,20 @@ export declare const EBSFilterName: {
|
|
|
532
536
|
};
|
|
533
537
|
export type EBSFilterName = (typeof EBSFilterName)[keyof typeof EBSFilterName];
|
|
534
538
|
export interface EBSFilter {
|
|
535
|
-
name?: EBSFilterName;
|
|
536
|
-
values?: string[];
|
|
539
|
+
name?: EBSFilterName | undefined;
|
|
540
|
+
values?: string[] | undefined;
|
|
537
541
|
}
|
|
538
542
|
export interface ExportEBSVolumeRecommendationsRequest {
|
|
539
|
-
accountIds?: string[];
|
|
540
|
-
filters?: EBSFilter[];
|
|
541
|
-
fieldsToExport?: ExportableVolumeField[];
|
|
543
|
+
accountIds?: string[] | undefined;
|
|
544
|
+
filters?: EBSFilter[] | undefined;
|
|
545
|
+
fieldsToExport?: ExportableVolumeField[] | undefined;
|
|
542
546
|
s3DestinationConfig: S3DestinationConfig | undefined;
|
|
543
|
-
fileFormat?: FileFormat;
|
|
544
|
-
includeMemberAccounts?: boolean;
|
|
547
|
+
fileFormat?: FileFormat | undefined;
|
|
548
|
+
includeMemberAccounts?: boolean | undefined;
|
|
545
549
|
}
|
|
546
550
|
export interface ExportEBSVolumeRecommendationsResponse {
|
|
547
|
-
jobId?: string;
|
|
548
|
-
s3Destination?: S3Destination;
|
|
551
|
+
jobId?: string | undefined;
|
|
552
|
+
s3Destination?: S3Destination | undefined;
|
|
549
553
|
}
|
|
550
554
|
export declare const ExportableInstanceField: {
|
|
551
555
|
readonly ACCOUNT_ID: "AccountId";
|
|
@@ -623,17 +627,17 @@ export declare const ExportableInstanceField: {
|
|
|
623
627
|
export type ExportableInstanceField =
|
|
624
628
|
(typeof ExportableInstanceField)[keyof typeof ExportableInstanceField];
|
|
625
629
|
export interface ExportEC2InstanceRecommendationsRequest {
|
|
626
|
-
accountIds?: string[];
|
|
627
|
-
filters?: Filter[];
|
|
628
|
-
fieldsToExport?: ExportableInstanceField[];
|
|
630
|
+
accountIds?: string[] | undefined;
|
|
631
|
+
filters?: Filter[] | undefined;
|
|
632
|
+
fieldsToExport?: ExportableInstanceField[] | undefined;
|
|
629
633
|
s3DestinationConfig: S3DestinationConfig | undefined;
|
|
630
|
-
fileFormat?: FileFormat;
|
|
631
|
-
includeMemberAccounts?: boolean;
|
|
632
|
-
recommendationPreferences?: RecommendationPreferences;
|
|
634
|
+
fileFormat?: FileFormat | undefined;
|
|
635
|
+
includeMemberAccounts?: boolean | undefined;
|
|
636
|
+
recommendationPreferences?: RecommendationPreferences | undefined;
|
|
633
637
|
}
|
|
634
638
|
export interface ExportEC2InstanceRecommendationsResponse {
|
|
635
|
-
jobId?: string;
|
|
636
|
-
s3Destination?: S3Destination;
|
|
639
|
+
jobId?: string | undefined;
|
|
640
|
+
s3Destination?: S3Destination | undefined;
|
|
637
641
|
}
|
|
638
642
|
export declare const ExportableECSServiceField: {
|
|
639
643
|
readonly ACCOUNT_ID: "AccountId";
|
|
@@ -674,20 +678,20 @@ export declare const ECSServiceRecommendationFilterName: {
|
|
|
674
678
|
export type ECSServiceRecommendationFilterName =
|
|
675
679
|
(typeof ECSServiceRecommendationFilterName)[keyof typeof ECSServiceRecommendationFilterName];
|
|
676
680
|
export interface ECSServiceRecommendationFilter {
|
|
677
|
-
name?: ECSServiceRecommendationFilterName;
|
|
678
|
-
values?: string[];
|
|
681
|
+
name?: ECSServiceRecommendationFilterName | undefined;
|
|
682
|
+
values?: string[] | undefined;
|
|
679
683
|
}
|
|
680
684
|
export interface ExportECSServiceRecommendationsRequest {
|
|
681
|
-
accountIds?: string[];
|
|
682
|
-
filters?: ECSServiceRecommendationFilter[];
|
|
683
|
-
fieldsToExport?: ExportableECSServiceField[];
|
|
685
|
+
accountIds?: string[] | undefined;
|
|
686
|
+
filters?: ECSServiceRecommendationFilter[] | undefined;
|
|
687
|
+
fieldsToExport?: ExportableECSServiceField[] | undefined;
|
|
684
688
|
s3DestinationConfig: S3DestinationConfig | undefined;
|
|
685
|
-
fileFormat?: FileFormat;
|
|
686
|
-
includeMemberAccounts?: boolean;
|
|
689
|
+
fileFormat?: FileFormat | undefined;
|
|
690
|
+
includeMemberAccounts?: boolean | undefined;
|
|
687
691
|
}
|
|
688
692
|
export interface ExportECSServiceRecommendationsResponse {
|
|
689
|
-
jobId?: string;
|
|
690
|
-
s3Destination?: S3Destination;
|
|
693
|
+
jobId?: string | undefined;
|
|
694
|
+
s3Destination?: S3Destination | undefined;
|
|
691
695
|
}
|
|
692
696
|
export declare const ExportableLambdaFunctionField: {
|
|
693
697
|
readonly ACCOUNT_ID: "AccountId";
|
|
@@ -731,20 +735,20 @@ export declare const LambdaFunctionRecommendationFilterName: {
|
|
|
731
735
|
export type LambdaFunctionRecommendationFilterName =
|
|
732
736
|
(typeof LambdaFunctionRecommendationFilterName)[keyof typeof LambdaFunctionRecommendationFilterName];
|
|
733
737
|
export interface LambdaFunctionRecommendationFilter {
|
|
734
|
-
name?: LambdaFunctionRecommendationFilterName;
|
|
735
|
-
values?: string[];
|
|
738
|
+
name?: LambdaFunctionRecommendationFilterName | undefined;
|
|
739
|
+
values?: string[] | undefined;
|
|
736
740
|
}
|
|
737
741
|
export interface ExportLambdaFunctionRecommendationsRequest {
|
|
738
|
-
accountIds?: string[];
|
|
739
|
-
filters?: LambdaFunctionRecommendationFilter[];
|
|
740
|
-
fieldsToExport?: ExportableLambdaFunctionField[];
|
|
742
|
+
accountIds?: string[] | undefined;
|
|
743
|
+
filters?: LambdaFunctionRecommendationFilter[] | undefined;
|
|
744
|
+
fieldsToExport?: ExportableLambdaFunctionField[] | undefined;
|
|
741
745
|
s3DestinationConfig: S3DestinationConfig | undefined;
|
|
742
|
-
fileFormat?: FileFormat;
|
|
743
|
-
includeMemberAccounts?: boolean;
|
|
746
|
+
fileFormat?: FileFormat | undefined;
|
|
747
|
+
includeMemberAccounts?: boolean | undefined;
|
|
744
748
|
}
|
|
745
749
|
export interface ExportLambdaFunctionRecommendationsResponse {
|
|
746
|
-
jobId?: string;
|
|
747
|
-
s3Destination?: S3Destination;
|
|
750
|
+
jobId?: string | undefined;
|
|
751
|
+
s3Destination?: S3Destination | undefined;
|
|
748
752
|
}
|
|
749
753
|
export declare const ExportableLicenseField: {
|
|
750
754
|
readonly ACCOUNT_ID: "AccountId";
|
|
@@ -779,20 +783,20 @@ export declare const LicenseRecommendationFilterName: {
|
|
|
779
783
|
export type LicenseRecommendationFilterName =
|
|
780
784
|
(typeof LicenseRecommendationFilterName)[keyof typeof LicenseRecommendationFilterName];
|
|
781
785
|
export interface LicenseRecommendationFilter {
|
|
782
|
-
name?: LicenseRecommendationFilterName;
|
|
783
|
-
values?: string[];
|
|
786
|
+
name?: LicenseRecommendationFilterName | undefined;
|
|
787
|
+
values?: string[] | undefined;
|
|
784
788
|
}
|
|
785
789
|
export interface ExportLicenseRecommendationsRequest {
|
|
786
|
-
accountIds?: string[];
|
|
787
|
-
filters?: LicenseRecommendationFilter[];
|
|
788
|
-
fieldsToExport?: ExportableLicenseField[];
|
|
790
|
+
accountIds?: string[] | undefined;
|
|
791
|
+
filters?: LicenseRecommendationFilter[] | undefined;
|
|
792
|
+
fieldsToExport?: ExportableLicenseField[] | undefined;
|
|
789
793
|
s3DestinationConfig: S3DestinationConfig | undefined;
|
|
790
|
-
fileFormat?: FileFormat;
|
|
791
|
-
includeMemberAccounts?: boolean;
|
|
794
|
+
fileFormat?: FileFormat | undefined;
|
|
795
|
+
includeMemberAccounts?: boolean | undefined;
|
|
792
796
|
}
|
|
793
797
|
export interface ExportLicenseRecommendationsResponse {
|
|
794
|
-
jobId?: string;
|
|
795
|
-
s3Destination?: S3Destination;
|
|
798
|
+
jobId?: string | undefined;
|
|
799
|
+
s3Destination?: S3Destination | undefined;
|
|
796
800
|
}
|
|
797
801
|
export declare const ExportableRDSDBField: {
|
|
798
802
|
readonly ACCOUNT_ID: "AccountId";
|
|
@@ -867,55 +871,57 @@ export declare const RDSDBRecommendationFilterName: {
|
|
|
867
871
|
export type RDSDBRecommendationFilterName =
|
|
868
872
|
(typeof RDSDBRecommendationFilterName)[keyof typeof RDSDBRecommendationFilterName];
|
|
869
873
|
export interface RDSDBRecommendationFilter {
|
|
870
|
-
name?: RDSDBRecommendationFilterName;
|
|
871
|
-
values?: string[];
|
|
874
|
+
name?: RDSDBRecommendationFilterName | undefined;
|
|
875
|
+
values?: string[] | undefined;
|
|
872
876
|
}
|
|
873
877
|
export interface ExportRDSDatabaseRecommendationsRequest {
|
|
874
|
-
accountIds?: string[];
|
|
875
|
-
filters?: RDSDBRecommendationFilter[];
|
|
876
|
-
fieldsToExport?: ExportableRDSDBField[];
|
|
878
|
+
accountIds?: string[] | undefined;
|
|
879
|
+
filters?: RDSDBRecommendationFilter[] | undefined;
|
|
880
|
+
fieldsToExport?: ExportableRDSDBField[] | undefined;
|
|
877
881
|
s3DestinationConfig: S3DestinationConfig | undefined;
|
|
878
|
-
fileFormat?: FileFormat;
|
|
879
|
-
includeMemberAccounts?: boolean;
|
|
880
|
-
recommendationPreferences?: RecommendationPreferences;
|
|
882
|
+
fileFormat?: FileFormat | undefined;
|
|
883
|
+
includeMemberAccounts?: boolean | undefined;
|
|
884
|
+
recommendationPreferences?: RecommendationPreferences | undefined;
|
|
881
885
|
}
|
|
882
886
|
export interface ExportRDSDatabaseRecommendationsResponse {
|
|
883
|
-
jobId?: string;
|
|
884
|
-
s3Destination?: S3Destination;
|
|
887
|
+
jobId?: string | undefined;
|
|
888
|
+
s3Destination?: S3Destination | undefined;
|
|
885
889
|
}
|
|
886
890
|
export interface GetAutoScalingGroupRecommendationsRequest {
|
|
887
|
-
accountIds?: string[];
|
|
888
|
-
autoScalingGroupArns?: string[];
|
|
889
|
-
nextToken?: string;
|
|
890
|
-
maxResults?: number;
|
|
891
|
-
filters?: Filter[];
|
|
892
|
-
recommendationPreferences?: RecommendationPreferences;
|
|
891
|
+
accountIds?: string[] | undefined;
|
|
892
|
+
autoScalingGroupArns?: string[] | undefined;
|
|
893
|
+
nextToken?: string | undefined;
|
|
894
|
+
maxResults?: number | undefined;
|
|
895
|
+
filters?: Filter[] | undefined;
|
|
896
|
+
recommendationPreferences?: RecommendationPreferences | undefined;
|
|
893
897
|
}
|
|
894
898
|
export interface GetRecommendationError {
|
|
895
|
-
identifier?: string;
|
|
896
|
-
code?: string;
|
|
897
|
-
message?: string;
|
|
899
|
+
identifier?: string | undefined;
|
|
900
|
+
code?: string | undefined;
|
|
901
|
+
message?: string | undefined;
|
|
898
902
|
}
|
|
899
903
|
export interface GetAutoScalingGroupRecommendationsResponse {
|
|
900
|
-
nextToken?: string;
|
|
901
|
-
autoScalingGroupRecommendations?:
|
|
902
|
-
|
|
904
|
+
nextToken?: string | undefined;
|
|
905
|
+
autoScalingGroupRecommendations?:
|
|
906
|
+
| AutoScalingGroupRecommendation[]
|
|
907
|
+
| undefined;
|
|
908
|
+
errors?: GetRecommendationError[] | undefined;
|
|
903
909
|
}
|
|
904
910
|
export interface GetEBSVolumeRecommendationsRequest {
|
|
905
|
-
volumeArns?: string[];
|
|
906
|
-
nextToken?: string;
|
|
907
|
-
maxResults?: number;
|
|
908
|
-
filters?: EBSFilter[];
|
|
909
|
-
accountIds?: string[];
|
|
911
|
+
volumeArns?: string[] | undefined;
|
|
912
|
+
nextToken?: string | undefined;
|
|
913
|
+
maxResults?: number | undefined;
|
|
914
|
+
filters?: EBSFilter[] | undefined;
|
|
915
|
+
accountIds?: string[] | undefined;
|
|
910
916
|
}
|
|
911
917
|
export interface VolumeConfiguration {
|
|
912
|
-
volumeType?: string;
|
|
913
|
-
volumeSize?: number;
|
|
914
|
-
volumeBaselineIOPS?: number;
|
|
915
|
-
volumeBurstIOPS?: number;
|
|
916
|
-
volumeBaselineThroughput?: number;
|
|
917
|
-
volumeBurstThroughput?: number;
|
|
918
|
-
rootVolume?: boolean;
|
|
918
|
+
volumeType?: string | undefined;
|
|
919
|
+
volumeSize?: number | undefined;
|
|
920
|
+
volumeBaselineIOPS?: number | undefined;
|
|
921
|
+
volumeBurstIOPS?: number | undefined;
|
|
922
|
+
volumeBaselineThroughput?: number | undefined;
|
|
923
|
+
volumeBurstThroughput?: number | undefined;
|
|
924
|
+
rootVolume?: boolean | undefined;
|
|
919
925
|
}
|
|
920
926
|
export declare const EBSSavingsEstimationModeSource: {
|
|
921
927
|
readonly COST_EXPLORER_RIGHTSIZING: "CostExplorerRightsizing";
|
|
@@ -925,10 +931,10 @@ export declare const EBSSavingsEstimationModeSource: {
|
|
|
925
931
|
export type EBSSavingsEstimationModeSource =
|
|
926
932
|
(typeof EBSSavingsEstimationModeSource)[keyof typeof EBSSavingsEstimationModeSource];
|
|
927
933
|
export interface EBSSavingsEstimationMode {
|
|
928
|
-
source?: EBSSavingsEstimationModeSource;
|
|
934
|
+
source?: EBSSavingsEstimationModeSource | undefined;
|
|
929
935
|
}
|
|
930
936
|
export interface EBSEffectiveRecommendationPreferences {
|
|
931
|
-
savingsEstimationMode?: EBSSavingsEstimationMode;
|
|
937
|
+
savingsEstimationMode?: EBSSavingsEstimationMode | undefined;
|
|
932
938
|
}
|
|
933
939
|
export declare const EBSFinding: {
|
|
934
940
|
readonly NOT_OPTIMIZED: "NotOptimized";
|
|
@@ -936,8 +942,8 @@ export declare const EBSFinding: {
|
|
|
936
942
|
};
|
|
937
943
|
export type EBSFinding = (typeof EBSFinding)[keyof typeof EBSFinding];
|
|
938
944
|
export interface Tag {
|
|
939
|
-
key?: string;
|
|
940
|
-
value?: string;
|
|
945
|
+
key?: string | undefined;
|
|
946
|
+
value?: string | undefined;
|
|
941
947
|
}
|
|
942
948
|
export declare const EBSMetricName: {
|
|
943
949
|
readonly VOLUME_READ_BYTES_PER_SECOND: "VolumeReadBytesPerSecond";
|
|
@@ -947,50 +953,54 @@ export declare const EBSMetricName: {
|
|
|
947
953
|
};
|
|
948
954
|
export type EBSMetricName = (typeof EBSMetricName)[keyof typeof EBSMetricName];
|
|
949
955
|
export interface EBSUtilizationMetric {
|
|
950
|
-
name?: EBSMetricName;
|
|
951
|
-
statistic?: MetricStatistic;
|
|
952
|
-
value?: number;
|
|
956
|
+
name?: EBSMetricName | undefined;
|
|
957
|
+
statistic?: MetricStatistic | undefined;
|
|
958
|
+
value?: number | undefined;
|
|
953
959
|
}
|
|
954
960
|
export interface EBSEstimatedMonthlySavings {
|
|
955
|
-
currency?: Currency;
|
|
956
|
-
value?: number;
|
|
961
|
+
currency?: Currency | undefined;
|
|
962
|
+
value?: number | undefined;
|
|
957
963
|
}
|
|
958
964
|
export interface EBSSavingsOpportunityAfterDiscounts {
|
|
959
|
-
savingsOpportunityPercentage?: number;
|
|
960
|
-
estimatedMonthlySavings?: EBSEstimatedMonthlySavings;
|
|
965
|
+
savingsOpportunityPercentage?: number | undefined;
|
|
966
|
+
estimatedMonthlySavings?: EBSEstimatedMonthlySavings | undefined;
|
|
961
967
|
}
|
|
962
968
|
export interface VolumeRecommendationOption {
|
|
963
|
-
configuration?: VolumeConfiguration;
|
|
964
|
-
performanceRisk?: number;
|
|
965
|
-
rank?: number;
|
|
966
|
-
savingsOpportunity?: SavingsOpportunity;
|
|
967
|
-
savingsOpportunityAfterDiscounts?:
|
|
969
|
+
configuration?: VolumeConfiguration | undefined;
|
|
970
|
+
performanceRisk?: number | undefined;
|
|
971
|
+
rank?: number | undefined;
|
|
972
|
+
savingsOpportunity?: SavingsOpportunity | undefined;
|
|
973
|
+
savingsOpportunityAfterDiscounts?:
|
|
974
|
+
| EBSSavingsOpportunityAfterDiscounts
|
|
975
|
+
| undefined;
|
|
968
976
|
}
|
|
969
977
|
export interface VolumeRecommendation {
|
|
970
|
-
volumeArn?: string;
|
|
971
|
-
accountId?: string;
|
|
972
|
-
currentConfiguration?: VolumeConfiguration;
|
|
973
|
-
finding?: EBSFinding;
|
|
974
|
-
utilizationMetrics?: EBSUtilizationMetric[];
|
|
975
|
-
lookBackPeriodInDays?: number;
|
|
976
|
-
volumeRecommendationOptions?: VolumeRecommendationOption[];
|
|
977
|
-
lastRefreshTimestamp?: Date;
|
|
978
|
-
currentPerformanceRisk?: CurrentPerformanceRisk;
|
|
979
|
-
effectiveRecommendationPreferences?:
|
|
980
|
-
|
|
978
|
+
volumeArn?: string | undefined;
|
|
979
|
+
accountId?: string | undefined;
|
|
980
|
+
currentConfiguration?: VolumeConfiguration | undefined;
|
|
981
|
+
finding?: EBSFinding | undefined;
|
|
982
|
+
utilizationMetrics?: EBSUtilizationMetric[] | undefined;
|
|
983
|
+
lookBackPeriodInDays?: number | undefined;
|
|
984
|
+
volumeRecommendationOptions?: VolumeRecommendationOption[] | undefined;
|
|
985
|
+
lastRefreshTimestamp?: Date | undefined;
|
|
986
|
+
currentPerformanceRisk?: CurrentPerformanceRisk | undefined;
|
|
987
|
+
effectiveRecommendationPreferences?:
|
|
988
|
+
| EBSEffectiveRecommendationPreferences
|
|
989
|
+
| undefined;
|
|
990
|
+
tags?: Tag[] | undefined;
|
|
981
991
|
}
|
|
982
992
|
export interface GetEBSVolumeRecommendationsResponse {
|
|
983
|
-
nextToken?: string;
|
|
984
|
-
volumeRecommendations?: VolumeRecommendation[];
|
|
985
|
-
errors?: GetRecommendationError[];
|
|
993
|
+
nextToken?: string | undefined;
|
|
994
|
+
volumeRecommendations?: VolumeRecommendation[] | undefined;
|
|
995
|
+
errors?: GetRecommendationError[] | undefined;
|
|
986
996
|
}
|
|
987
997
|
export interface GetEC2InstanceRecommendationsRequest {
|
|
988
|
-
instanceArns?: string[];
|
|
989
|
-
nextToken?: string;
|
|
990
|
-
maxResults?: number;
|
|
991
|
-
filters?: Filter[];
|
|
992
|
-
accountIds?: string[];
|
|
993
|
-
recommendationPreferences?: RecommendationPreferences;
|
|
998
|
+
instanceArns?: string[] | undefined;
|
|
999
|
+
nextToken?: string | undefined;
|
|
1000
|
+
maxResults?: number | undefined;
|
|
1001
|
+
filters?: Filter[] | undefined;
|
|
1002
|
+
accountIds?: string[] | undefined;
|
|
1003
|
+
recommendationPreferences?: RecommendationPreferences | undefined;
|
|
994
1004
|
}
|
|
995
1005
|
export declare const ExternalMetricStatusCode: {
|
|
996
1006
|
readonly DATADOG_INTEGRATION_ERROR: "DATADOG_INTEGRATION_ERROR";
|
|
@@ -1007,8 +1017,8 @@ export declare const ExternalMetricStatusCode: {
|
|
|
1007
1017
|
export type ExternalMetricStatusCode =
|
|
1008
1018
|
(typeof ExternalMetricStatusCode)[keyof typeof ExternalMetricStatusCode];
|
|
1009
1019
|
export interface ExternalMetricStatus {
|
|
1010
|
-
statusCode?: ExternalMetricStatusCode;
|
|
1011
|
-
statusReason?: string;
|
|
1020
|
+
statusCode?: ExternalMetricStatusCode | undefined;
|
|
1021
|
+
statusReason?: string | undefined;
|
|
1012
1022
|
}
|
|
1013
1023
|
export declare const InstanceRecommendationFindingReasonCode: {
|
|
1014
1024
|
readonly CPU_OVER_PROVISIONED: "CPUOverprovisioned";
|
|
@@ -1059,23 +1069,25 @@ export declare const PlatformDifference: {
|
|
|
1059
1069
|
export type PlatformDifference =
|
|
1060
1070
|
(typeof PlatformDifference)[keyof typeof PlatformDifference];
|
|
1061
1071
|
export interface InstanceEstimatedMonthlySavings {
|
|
1062
|
-
currency?: Currency;
|
|
1063
|
-
value?: number;
|
|
1072
|
+
currency?: Currency | undefined;
|
|
1073
|
+
value?: number | undefined;
|
|
1064
1074
|
}
|
|
1065
1075
|
export interface InstanceSavingsOpportunityAfterDiscounts {
|
|
1066
|
-
savingsOpportunityPercentage?: number;
|
|
1067
|
-
estimatedMonthlySavings?: InstanceEstimatedMonthlySavings;
|
|
1076
|
+
savingsOpportunityPercentage?: number | undefined;
|
|
1077
|
+
estimatedMonthlySavings?: InstanceEstimatedMonthlySavings | undefined;
|
|
1068
1078
|
}
|
|
1069
1079
|
export interface InstanceRecommendationOption {
|
|
1070
|
-
instanceType?: string;
|
|
1071
|
-
instanceGpuInfo?: GpuInfo;
|
|
1072
|
-
projectedUtilizationMetrics?: UtilizationMetric[];
|
|
1073
|
-
platformDifferences?: PlatformDifference[];
|
|
1074
|
-
performanceRisk?: number;
|
|
1075
|
-
rank?: number;
|
|
1076
|
-
savingsOpportunity?: SavingsOpportunity;
|
|
1077
|
-
savingsOpportunityAfterDiscounts?:
|
|
1078
|
-
|
|
1080
|
+
instanceType?: string | undefined;
|
|
1081
|
+
instanceGpuInfo?: GpuInfo | undefined;
|
|
1082
|
+
projectedUtilizationMetrics?: UtilizationMetric[] | undefined;
|
|
1083
|
+
platformDifferences?: PlatformDifference[] | undefined;
|
|
1084
|
+
performanceRisk?: number | undefined;
|
|
1085
|
+
rank?: number | undefined;
|
|
1086
|
+
savingsOpportunity?: SavingsOpportunity | undefined;
|
|
1087
|
+
savingsOpportunityAfterDiscounts?:
|
|
1088
|
+
| InstanceSavingsOpportunityAfterDiscounts
|
|
1089
|
+
| undefined;
|
|
1090
|
+
migrationEffort?: MigrationEffort | undefined;
|
|
1079
1091
|
}
|
|
1080
1092
|
export declare const RecommendationSourceType: {
|
|
1081
1093
|
readonly AUTO_SCALING_GROUP: "AutoScalingGroup";
|
|
@@ -1090,34 +1102,36 @@ export declare const RecommendationSourceType: {
|
|
|
1090
1102
|
export type RecommendationSourceType =
|
|
1091
1103
|
(typeof RecommendationSourceType)[keyof typeof RecommendationSourceType];
|
|
1092
1104
|
export interface RecommendationSource {
|
|
1093
|
-
recommendationSourceArn?: string;
|
|
1094
|
-
recommendationSourceType?: RecommendationSourceType;
|
|
1105
|
+
recommendationSourceArn?: string | undefined;
|
|
1106
|
+
recommendationSourceType?: RecommendationSourceType | undefined;
|
|
1095
1107
|
}
|
|
1096
1108
|
export interface InstanceRecommendation {
|
|
1097
|
-
instanceArn?: string;
|
|
1098
|
-
accountId?: string;
|
|
1099
|
-
instanceName?: string;
|
|
1100
|
-
currentInstanceType?: string;
|
|
1101
|
-
finding?: Finding;
|
|
1102
|
-
findingReasonCodes?: InstanceRecommendationFindingReasonCode[];
|
|
1103
|
-
utilizationMetrics?: UtilizationMetric[];
|
|
1104
|
-
lookBackPeriodInDays?: number;
|
|
1105
|
-
recommendationOptions?: InstanceRecommendationOption[];
|
|
1106
|
-
recommendationSources?: RecommendationSource[];
|
|
1107
|
-
lastRefreshTimestamp?: Date;
|
|
1108
|
-
currentPerformanceRisk?: CurrentPerformanceRisk;
|
|
1109
|
-
effectiveRecommendationPreferences?:
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1109
|
+
instanceArn?: string | undefined;
|
|
1110
|
+
accountId?: string | undefined;
|
|
1111
|
+
instanceName?: string | undefined;
|
|
1112
|
+
currentInstanceType?: string | undefined;
|
|
1113
|
+
finding?: Finding | undefined;
|
|
1114
|
+
findingReasonCodes?: InstanceRecommendationFindingReasonCode[] | undefined;
|
|
1115
|
+
utilizationMetrics?: UtilizationMetric[] | undefined;
|
|
1116
|
+
lookBackPeriodInDays?: number | undefined;
|
|
1117
|
+
recommendationOptions?: InstanceRecommendationOption[] | undefined;
|
|
1118
|
+
recommendationSources?: RecommendationSource[] | undefined;
|
|
1119
|
+
lastRefreshTimestamp?: Date | undefined;
|
|
1120
|
+
currentPerformanceRisk?: CurrentPerformanceRisk | undefined;
|
|
1121
|
+
effectiveRecommendationPreferences?:
|
|
1122
|
+
| EffectiveRecommendationPreferences
|
|
1123
|
+
| undefined;
|
|
1124
|
+
inferredWorkloadTypes?: InferredWorkloadType[] | undefined;
|
|
1125
|
+
instanceState?: InstanceState | undefined;
|
|
1126
|
+
tags?: Tag[] | undefined;
|
|
1127
|
+
externalMetricStatus?: ExternalMetricStatus | undefined;
|
|
1128
|
+
currentInstanceGpuInfo?: GpuInfo | undefined;
|
|
1129
|
+
idle?: InstanceIdle | undefined;
|
|
1116
1130
|
}
|
|
1117
1131
|
export interface GetEC2InstanceRecommendationsResponse {
|
|
1118
|
-
nextToken?: string;
|
|
1119
|
-
instanceRecommendations?: InstanceRecommendation[];
|
|
1120
|
-
errors?: GetRecommendationError[];
|
|
1132
|
+
nextToken?: string | undefined;
|
|
1133
|
+
instanceRecommendations?: InstanceRecommendation[] | undefined;
|
|
1134
|
+
errors?: GetRecommendationError[] | undefined;
|
|
1121
1135
|
}
|
|
1122
1136
|
export interface GetEC2RecommendationProjectedMetricsRequest {
|
|
1123
1137
|
instanceArn: string | undefined;
|
|
@@ -1125,20 +1139,22 @@ export interface GetEC2RecommendationProjectedMetricsRequest {
|
|
|
1125
1139
|
period: number | undefined;
|
|
1126
1140
|
startTime: Date | undefined;
|
|
1127
1141
|
endTime: Date | undefined;
|
|
1128
|
-
recommendationPreferences?: RecommendationPreferences;
|
|
1142
|
+
recommendationPreferences?: RecommendationPreferences | undefined;
|
|
1129
1143
|
}
|
|
1130
1144
|
export interface ProjectedMetric {
|
|
1131
|
-
name?: MetricName;
|
|
1132
|
-
timestamps?: Date[];
|
|
1133
|
-
values?: number[];
|
|
1145
|
+
name?: MetricName | undefined;
|
|
1146
|
+
timestamps?: Date[] | undefined;
|
|
1147
|
+
values?: number[] | undefined;
|
|
1134
1148
|
}
|
|
1135
1149
|
export interface RecommendedOptionProjectedMetric {
|
|
1136
|
-
recommendedInstanceType?: string;
|
|
1137
|
-
rank?: number;
|
|
1138
|
-
projectedMetrics?: ProjectedMetric[];
|
|
1150
|
+
recommendedInstanceType?: string | undefined;
|
|
1151
|
+
rank?: number | undefined;
|
|
1152
|
+
projectedMetrics?: ProjectedMetric[] | undefined;
|
|
1139
1153
|
}
|
|
1140
1154
|
export interface GetEC2RecommendationProjectedMetricsResponse {
|
|
1141
|
-
recommendedOptionProjectedMetrics?:
|
|
1155
|
+
recommendedOptionProjectedMetrics?:
|
|
1156
|
+
| RecommendedOptionProjectedMetric[]
|
|
1157
|
+
| undefined;
|
|
1142
1158
|
}
|
|
1143
1159
|
export interface GetECSServiceRecommendationProjectedMetricsRequest {
|
|
1144
1160
|
serviceArn: string | undefined;
|
|
@@ -1154,41 +1170,43 @@ export declare const ECSServiceMetricName: {
|
|
|
1154
1170
|
export type ECSServiceMetricName =
|
|
1155
1171
|
(typeof ECSServiceMetricName)[keyof typeof ECSServiceMetricName];
|
|
1156
1172
|
export interface ECSServiceProjectedMetric {
|
|
1157
|
-
name?: ECSServiceMetricName;
|
|
1158
|
-
timestamps?: Date[];
|
|
1159
|
-
upperBoundValues?: number[];
|
|
1160
|
-
lowerBoundValues?: number[];
|
|
1173
|
+
name?: ECSServiceMetricName | undefined;
|
|
1174
|
+
timestamps?: Date[] | undefined;
|
|
1175
|
+
upperBoundValues?: number[] | undefined;
|
|
1176
|
+
lowerBoundValues?: number[] | undefined;
|
|
1161
1177
|
}
|
|
1162
1178
|
export interface ECSServiceRecommendedOptionProjectedMetric {
|
|
1163
|
-
recommendedCpuUnits?: number;
|
|
1164
|
-
recommendedMemorySize?: number;
|
|
1165
|
-
projectedMetrics?: ECSServiceProjectedMetric[];
|
|
1179
|
+
recommendedCpuUnits?: number | undefined;
|
|
1180
|
+
recommendedMemorySize?: number | undefined;
|
|
1181
|
+
projectedMetrics?: ECSServiceProjectedMetric[] | undefined;
|
|
1166
1182
|
}
|
|
1167
1183
|
export interface GetECSServiceRecommendationProjectedMetricsResponse {
|
|
1168
|
-
recommendedOptionProjectedMetrics?:
|
|
1184
|
+
recommendedOptionProjectedMetrics?:
|
|
1185
|
+
| ECSServiceRecommendedOptionProjectedMetric[]
|
|
1186
|
+
| undefined;
|
|
1169
1187
|
}
|
|
1170
1188
|
export interface GetECSServiceRecommendationsRequest {
|
|
1171
|
-
serviceArns?: string[];
|
|
1172
|
-
nextToken?: string;
|
|
1173
|
-
maxResults?: number;
|
|
1174
|
-
filters?: ECSServiceRecommendationFilter[];
|
|
1175
|
-
accountIds?: string[];
|
|
1189
|
+
serviceArns?: string[] | undefined;
|
|
1190
|
+
nextToken?: string | undefined;
|
|
1191
|
+
maxResults?: number | undefined;
|
|
1192
|
+
filters?: ECSServiceRecommendationFilter[] | undefined;
|
|
1193
|
+
accountIds?: string[] | undefined;
|
|
1176
1194
|
}
|
|
1177
1195
|
export interface MemorySizeConfiguration {
|
|
1178
|
-
memory?: number;
|
|
1179
|
-
memoryReservation?: number;
|
|
1196
|
+
memory?: number | undefined;
|
|
1197
|
+
memoryReservation?: number | undefined;
|
|
1180
1198
|
}
|
|
1181
1199
|
export interface ContainerConfiguration {
|
|
1182
|
-
containerName?: string;
|
|
1183
|
-
memorySizeConfiguration?: MemorySizeConfiguration;
|
|
1184
|
-
cpu?: number;
|
|
1200
|
+
containerName?: string | undefined;
|
|
1201
|
+
memorySizeConfiguration?: MemorySizeConfiguration | undefined;
|
|
1202
|
+
cpu?: number | undefined;
|
|
1185
1203
|
}
|
|
1186
1204
|
export interface ServiceConfiguration {
|
|
1187
|
-
memory?: number;
|
|
1188
|
-
cpu?: number;
|
|
1189
|
-
containerConfigurations?: ContainerConfiguration[];
|
|
1190
|
-
autoScalingConfiguration?: AutoScalingConfiguration;
|
|
1191
|
-
taskDefinitionArn?: string;
|
|
1205
|
+
memory?: number | undefined;
|
|
1206
|
+
cpu?: number | undefined;
|
|
1207
|
+
containerConfigurations?: ContainerConfiguration[] | undefined;
|
|
1208
|
+
autoScalingConfiguration?: AutoScalingConfiguration | undefined;
|
|
1209
|
+
taskDefinitionArn?: string | undefined;
|
|
1192
1210
|
}
|
|
1193
1211
|
export declare const ECSSavingsEstimationModeSource: {
|
|
1194
1212
|
readonly COST_EXPLORER_RIGHTSIZING: "CostExplorerRightsizing";
|
|
@@ -1198,10 +1216,10 @@ export declare const ECSSavingsEstimationModeSource: {
|
|
|
1198
1216
|
export type ECSSavingsEstimationModeSource =
|
|
1199
1217
|
(typeof ECSSavingsEstimationModeSource)[keyof typeof ECSSavingsEstimationModeSource];
|
|
1200
1218
|
export interface ECSSavingsEstimationMode {
|
|
1201
|
-
source?: ECSSavingsEstimationModeSource;
|
|
1219
|
+
source?: ECSSavingsEstimationModeSource | undefined;
|
|
1202
1220
|
}
|
|
1203
1221
|
export interface ECSEffectiveRecommendationPreferences {
|
|
1204
|
-
savingsEstimationMode?: ECSSavingsEstimationMode;
|
|
1222
|
+
savingsEstimationMode?: ECSSavingsEstimationMode | undefined;
|
|
1205
1223
|
}
|
|
1206
1224
|
export declare const ECSServiceRecommendationFinding: {
|
|
1207
1225
|
readonly OPTIMIZED: "Optimized";
|
|
@@ -1225,9 +1243,9 @@ export declare const ECSServiceLaunchType: {
|
|
|
1225
1243
|
export type ECSServiceLaunchType =
|
|
1226
1244
|
(typeof ECSServiceLaunchType)[keyof typeof ECSServiceLaunchType];
|
|
1227
1245
|
export interface ContainerRecommendation {
|
|
1228
|
-
containerName?: string;
|
|
1229
|
-
memorySizeConfiguration?: MemorySizeConfiguration;
|
|
1230
|
-
cpu?: number;
|
|
1246
|
+
containerName?: string | undefined;
|
|
1247
|
+
memorySizeConfiguration?: MemorySizeConfiguration | undefined;
|
|
1248
|
+
cpu?: number | undefined;
|
|
1231
1249
|
}
|
|
1232
1250
|
export declare const ECSServiceMetricStatistic: {
|
|
1233
1251
|
readonly AVERAGE: "Average";
|
|
@@ -1236,69 +1254,75 @@ export declare const ECSServiceMetricStatistic: {
|
|
|
1236
1254
|
export type ECSServiceMetricStatistic =
|
|
1237
1255
|
(typeof ECSServiceMetricStatistic)[keyof typeof ECSServiceMetricStatistic];
|
|
1238
1256
|
export interface ECSServiceProjectedUtilizationMetric {
|
|
1239
|
-
name?: ECSServiceMetricName;
|
|
1240
|
-
statistic?: ECSServiceMetricStatistic;
|
|
1241
|
-
lowerBoundValue?: number;
|
|
1242
|
-
upperBoundValue?: number;
|
|
1257
|
+
name?: ECSServiceMetricName | undefined;
|
|
1258
|
+
statistic?: ECSServiceMetricStatistic | undefined;
|
|
1259
|
+
lowerBoundValue?: number | undefined;
|
|
1260
|
+
upperBoundValue?: number | undefined;
|
|
1243
1261
|
}
|
|
1244
1262
|
export interface ECSEstimatedMonthlySavings {
|
|
1245
|
-
currency?: Currency;
|
|
1246
|
-
value?: number;
|
|
1263
|
+
currency?: Currency | undefined;
|
|
1264
|
+
value?: number | undefined;
|
|
1247
1265
|
}
|
|
1248
1266
|
export interface ECSSavingsOpportunityAfterDiscounts {
|
|
1249
|
-
savingsOpportunityPercentage?: number;
|
|
1250
|
-
estimatedMonthlySavings?: ECSEstimatedMonthlySavings;
|
|
1267
|
+
savingsOpportunityPercentage?: number | undefined;
|
|
1268
|
+
estimatedMonthlySavings?: ECSEstimatedMonthlySavings | undefined;
|
|
1251
1269
|
}
|
|
1252
1270
|
export interface ECSServiceRecommendationOption {
|
|
1253
|
-
memory?: number;
|
|
1254
|
-
cpu?: number;
|
|
1255
|
-
savingsOpportunity?: SavingsOpportunity;
|
|
1256
|
-
savingsOpportunityAfterDiscounts?:
|
|
1257
|
-
|
|
1258
|
-
|
|
1271
|
+
memory?: number | undefined;
|
|
1272
|
+
cpu?: number | undefined;
|
|
1273
|
+
savingsOpportunity?: SavingsOpportunity | undefined;
|
|
1274
|
+
savingsOpportunityAfterDiscounts?:
|
|
1275
|
+
| ECSSavingsOpportunityAfterDiscounts
|
|
1276
|
+
| undefined;
|
|
1277
|
+
projectedUtilizationMetrics?:
|
|
1278
|
+
| ECSServiceProjectedUtilizationMetric[]
|
|
1279
|
+
| undefined;
|
|
1280
|
+
containerRecommendations?: ContainerRecommendation[] | undefined;
|
|
1259
1281
|
}
|
|
1260
1282
|
export interface ECSServiceUtilizationMetric {
|
|
1261
|
-
name?: ECSServiceMetricName;
|
|
1262
|
-
statistic?: ECSServiceMetricStatistic;
|
|
1263
|
-
value?: number;
|
|
1283
|
+
name?: ECSServiceMetricName | undefined;
|
|
1284
|
+
statistic?: ECSServiceMetricStatistic | undefined;
|
|
1285
|
+
value?: number | undefined;
|
|
1264
1286
|
}
|
|
1265
1287
|
export interface ECSServiceRecommendation {
|
|
1266
|
-
serviceArn?: string;
|
|
1267
|
-
accountId?: string;
|
|
1268
|
-
currentServiceConfiguration?: ServiceConfiguration;
|
|
1269
|
-
utilizationMetrics?: ECSServiceUtilizationMetric[];
|
|
1270
|
-
lookbackPeriodInDays?: number;
|
|
1271
|
-
launchType?: ECSServiceLaunchType;
|
|
1272
|
-
lastRefreshTimestamp?: Date;
|
|
1273
|
-
finding?: ECSServiceRecommendationFinding;
|
|
1274
|
-
findingReasonCodes?: ECSServiceRecommendationFindingReasonCode[];
|
|
1275
|
-
serviceRecommendationOptions?: ECSServiceRecommendationOption[];
|
|
1276
|
-
currentPerformanceRisk?: CurrentPerformanceRisk;
|
|
1277
|
-
effectiveRecommendationPreferences?:
|
|
1278
|
-
|
|
1288
|
+
serviceArn?: string | undefined;
|
|
1289
|
+
accountId?: string | undefined;
|
|
1290
|
+
currentServiceConfiguration?: ServiceConfiguration | undefined;
|
|
1291
|
+
utilizationMetrics?: ECSServiceUtilizationMetric[] | undefined;
|
|
1292
|
+
lookbackPeriodInDays?: number | undefined;
|
|
1293
|
+
launchType?: ECSServiceLaunchType | undefined;
|
|
1294
|
+
lastRefreshTimestamp?: Date | undefined;
|
|
1295
|
+
finding?: ECSServiceRecommendationFinding | undefined;
|
|
1296
|
+
findingReasonCodes?: ECSServiceRecommendationFindingReasonCode[] | undefined;
|
|
1297
|
+
serviceRecommendationOptions?: ECSServiceRecommendationOption[] | undefined;
|
|
1298
|
+
currentPerformanceRisk?: CurrentPerformanceRisk | undefined;
|
|
1299
|
+
effectiveRecommendationPreferences?:
|
|
1300
|
+
| ECSEffectiveRecommendationPreferences
|
|
1301
|
+
| undefined;
|
|
1302
|
+
tags?: Tag[] | undefined;
|
|
1279
1303
|
}
|
|
1280
1304
|
export interface GetECSServiceRecommendationsResponse {
|
|
1281
|
-
nextToken?: string;
|
|
1282
|
-
ecsServiceRecommendations?: ECSServiceRecommendation[];
|
|
1283
|
-
errors?: GetRecommendationError[];
|
|
1305
|
+
nextToken?: string | undefined;
|
|
1306
|
+
ecsServiceRecommendations?: ECSServiceRecommendation[] | undefined;
|
|
1307
|
+
errors?: GetRecommendationError[] | undefined;
|
|
1284
1308
|
}
|
|
1285
1309
|
export interface GetEffectiveRecommendationPreferencesRequest {
|
|
1286
1310
|
resourceArn: string | undefined;
|
|
1287
1311
|
}
|
|
1288
1312
|
export interface GetEffectiveRecommendationPreferencesResponse {
|
|
1289
|
-
enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics;
|
|
1290
|
-
externalMetricsPreference?: ExternalMetricsPreference;
|
|
1291
|
-
lookBackPeriod?: LookBackPeriodPreference;
|
|
1292
|
-
utilizationPreferences?: UtilizationPreference[];
|
|
1293
|
-
preferredResources?: EffectivePreferredResource[];
|
|
1313
|
+
enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics | undefined;
|
|
1314
|
+
externalMetricsPreference?: ExternalMetricsPreference | undefined;
|
|
1315
|
+
lookBackPeriod?: LookBackPeriodPreference | undefined;
|
|
1316
|
+
utilizationPreferences?: UtilizationPreference[] | undefined;
|
|
1317
|
+
preferredResources?: EffectivePreferredResource[] | undefined;
|
|
1294
1318
|
}
|
|
1295
1319
|
export interface GetEnrollmentStatusRequest {}
|
|
1296
1320
|
export interface GetEnrollmentStatusResponse {
|
|
1297
|
-
status?: Status;
|
|
1298
|
-
statusReason?: string;
|
|
1299
|
-
memberAccountsEnrolled?: boolean;
|
|
1300
|
-
lastUpdatedTimestamp?: Date;
|
|
1301
|
-
numberOfMemberAccountsOptedIn?: number;
|
|
1321
|
+
status?: Status | undefined;
|
|
1322
|
+
statusReason?: string | undefined;
|
|
1323
|
+
memberAccountsEnrolled?: boolean | undefined;
|
|
1324
|
+
lastUpdatedTimestamp?: Date | undefined;
|
|
1325
|
+
numberOfMemberAccountsOptedIn?: number | undefined;
|
|
1302
1326
|
}
|
|
1303
1327
|
export declare const EnrollmentFilterName: {
|
|
1304
1328
|
readonly STATUS: "Status";
|
|
@@ -1306,24 +1330,24 @@ export declare const EnrollmentFilterName: {
|
|
|
1306
1330
|
export type EnrollmentFilterName =
|
|
1307
1331
|
(typeof EnrollmentFilterName)[keyof typeof EnrollmentFilterName];
|
|
1308
1332
|
export interface EnrollmentFilter {
|
|
1309
|
-
name?: EnrollmentFilterName;
|
|
1310
|
-
values?: string[];
|
|
1333
|
+
name?: EnrollmentFilterName | undefined;
|
|
1334
|
+
values?: string[] | undefined;
|
|
1311
1335
|
}
|
|
1312
1336
|
export interface GetEnrollmentStatusesForOrganizationRequest {
|
|
1313
|
-
filters?: EnrollmentFilter[];
|
|
1314
|
-
nextToken?: string;
|
|
1315
|
-
maxResults?: number;
|
|
1337
|
+
filters?: EnrollmentFilter[] | undefined;
|
|
1338
|
+
nextToken?: string | undefined;
|
|
1339
|
+
maxResults?: number | undefined;
|
|
1316
1340
|
}
|
|
1317
1341
|
export interface GetEnrollmentStatusesForOrganizationResponse {
|
|
1318
|
-
accountEnrollmentStatuses?: AccountEnrollmentStatus[];
|
|
1319
|
-
nextToken?: string;
|
|
1342
|
+
accountEnrollmentStatuses?: AccountEnrollmentStatus[] | undefined;
|
|
1343
|
+
nextToken?: string | undefined;
|
|
1320
1344
|
}
|
|
1321
1345
|
export interface GetLambdaFunctionRecommendationsRequest {
|
|
1322
|
-
functionArns?: string[];
|
|
1323
|
-
accountIds?: string[];
|
|
1324
|
-
filters?: LambdaFunctionRecommendationFilter[];
|
|
1325
|
-
nextToken?: string;
|
|
1326
|
-
maxResults?: number;
|
|
1346
|
+
functionArns?: string[] | undefined;
|
|
1347
|
+
accountIds?: string[] | undefined;
|
|
1348
|
+
filters?: LambdaFunctionRecommendationFilter[] | undefined;
|
|
1349
|
+
nextToken?: string | undefined;
|
|
1350
|
+
maxResults?: number | undefined;
|
|
1327
1351
|
}
|
|
1328
1352
|
export declare const LambdaSavingsEstimationModeSource: {
|
|
1329
1353
|
readonly COST_EXPLORER_RIGHTSIZING: "CostExplorerRightsizing";
|
|
@@ -1333,10 +1357,10 @@ export declare const LambdaSavingsEstimationModeSource: {
|
|
|
1333
1357
|
export type LambdaSavingsEstimationModeSource =
|
|
1334
1358
|
(typeof LambdaSavingsEstimationModeSource)[keyof typeof LambdaSavingsEstimationModeSource];
|
|
1335
1359
|
export interface LambdaSavingsEstimationMode {
|
|
1336
|
-
source?: LambdaSavingsEstimationModeSource;
|
|
1360
|
+
source?: LambdaSavingsEstimationModeSource | undefined;
|
|
1337
1361
|
}
|
|
1338
1362
|
export interface LambdaEffectiveRecommendationPreferences {
|
|
1339
|
-
savingsEstimationMode?: LambdaSavingsEstimationMode;
|
|
1363
|
+
savingsEstimationMode?: LambdaSavingsEstimationMode | undefined;
|
|
1340
1364
|
}
|
|
1341
1365
|
export declare const LambdaFunctionRecommendationFinding: {
|
|
1342
1366
|
readonly NOT_OPTIMIZED: "NotOptimized";
|
|
@@ -1366,24 +1390,28 @@ export declare const LambdaFunctionMemoryMetricStatistic: {
|
|
|
1366
1390
|
export type LambdaFunctionMemoryMetricStatistic =
|
|
1367
1391
|
(typeof LambdaFunctionMemoryMetricStatistic)[keyof typeof LambdaFunctionMemoryMetricStatistic];
|
|
1368
1392
|
export interface LambdaFunctionMemoryProjectedMetric {
|
|
1369
|
-
name?: LambdaFunctionMemoryMetricName;
|
|
1370
|
-
statistic?: LambdaFunctionMemoryMetricStatistic;
|
|
1371
|
-
value?: number;
|
|
1393
|
+
name?: LambdaFunctionMemoryMetricName | undefined;
|
|
1394
|
+
statistic?: LambdaFunctionMemoryMetricStatistic | undefined;
|
|
1395
|
+
value?: number | undefined;
|
|
1372
1396
|
}
|
|
1373
1397
|
export interface LambdaEstimatedMonthlySavings {
|
|
1374
|
-
currency?: Currency;
|
|
1375
|
-
value?: number;
|
|
1398
|
+
currency?: Currency | undefined;
|
|
1399
|
+
value?: number | undefined;
|
|
1376
1400
|
}
|
|
1377
1401
|
export interface LambdaSavingsOpportunityAfterDiscounts {
|
|
1378
|
-
savingsOpportunityPercentage?: number;
|
|
1379
|
-
estimatedMonthlySavings?: LambdaEstimatedMonthlySavings;
|
|
1402
|
+
savingsOpportunityPercentage?: number | undefined;
|
|
1403
|
+
estimatedMonthlySavings?: LambdaEstimatedMonthlySavings | undefined;
|
|
1380
1404
|
}
|
|
1381
1405
|
export interface LambdaFunctionMemoryRecommendationOption {
|
|
1382
|
-
rank?: number;
|
|
1383
|
-
memorySize?: number;
|
|
1384
|
-
projectedUtilizationMetrics?:
|
|
1385
|
-
|
|
1386
|
-
|
|
1406
|
+
rank?: number | undefined;
|
|
1407
|
+
memorySize?: number | undefined;
|
|
1408
|
+
projectedUtilizationMetrics?:
|
|
1409
|
+
| LambdaFunctionMemoryProjectedMetric[]
|
|
1410
|
+
| undefined;
|
|
1411
|
+
savingsOpportunity?: SavingsOpportunity | undefined;
|
|
1412
|
+
savingsOpportunityAfterDiscounts?:
|
|
1413
|
+
| LambdaSavingsOpportunityAfterDiscounts
|
|
1414
|
+
| undefined;
|
|
1387
1415
|
}
|
|
1388
1416
|
export declare const LambdaFunctionMetricName: {
|
|
1389
1417
|
readonly DURATION: "Duration";
|
|
@@ -1398,36 +1426,42 @@ export declare const LambdaFunctionMetricStatistic: {
|
|
|
1398
1426
|
export type LambdaFunctionMetricStatistic =
|
|
1399
1427
|
(typeof LambdaFunctionMetricStatistic)[keyof typeof LambdaFunctionMetricStatistic];
|
|
1400
1428
|
export interface LambdaFunctionUtilizationMetric {
|
|
1401
|
-
name?: LambdaFunctionMetricName;
|
|
1402
|
-
statistic?: LambdaFunctionMetricStatistic;
|
|
1403
|
-
value?: number;
|
|
1429
|
+
name?: LambdaFunctionMetricName | undefined;
|
|
1430
|
+
statistic?: LambdaFunctionMetricStatistic | undefined;
|
|
1431
|
+
value?: number | undefined;
|
|
1404
1432
|
}
|
|
1405
1433
|
export interface LambdaFunctionRecommendation {
|
|
1406
|
-
functionArn?: string;
|
|
1407
|
-
functionVersion?: string;
|
|
1408
|
-
accountId?: string;
|
|
1409
|
-
currentMemorySize?: number;
|
|
1410
|
-
numberOfInvocations?: number;
|
|
1411
|
-
utilizationMetrics?: LambdaFunctionUtilizationMetric[];
|
|
1412
|
-
lookbackPeriodInDays?: number;
|
|
1413
|
-
lastRefreshTimestamp?: Date;
|
|
1414
|
-
finding?: LambdaFunctionRecommendationFinding;
|
|
1415
|
-
findingReasonCodes?:
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1434
|
+
functionArn?: string | undefined;
|
|
1435
|
+
functionVersion?: string | undefined;
|
|
1436
|
+
accountId?: string | undefined;
|
|
1437
|
+
currentMemorySize?: number | undefined;
|
|
1438
|
+
numberOfInvocations?: number | undefined;
|
|
1439
|
+
utilizationMetrics?: LambdaFunctionUtilizationMetric[] | undefined;
|
|
1440
|
+
lookbackPeriodInDays?: number | undefined;
|
|
1441
|
+
lastRefreshTimestamp?: Date | undefined;
|
|
1442
|
+
finding?: LambdaFunctionRecommendationFinding | undefined;
|
|
1443
|
+
findingReasonCodes?:
|
|
1444
|
+
| LambdaFunctionRecommendationFindingReasonCode[]
|
|
1445
|
+
| undefined;
|
|
1446
|
+
memorySizeRecommendationOptions?:
|
|
1447
|
+
| LambdaFunctionMemoryRecommendationOption[]
|
|
1448
|
+
| undefined;
|
|
1449
|
+
currentPerformanceRisk?: CurrentPerformanceRisk | undefined;
|
|
1450
|
+
effectiveRecommendationPreferences?:
|
|
1451
|
+
| LambdaEffectiveRecommendationPreferences
|
|
1452
|
+
| undefined;
|
|
1453
|
+
tags?: Tag[] | undefined;
|
|
1420
1454
|
}
|
|
1421
1455
|
export interface GetLambdaFunctionRecommendationsResponse {
|
|
1422
|
-
nextToken?: string;
|
|
1423
|
-
lambdaFunctionRecommendations?: LambdaFunctionRecommendation[];
|
|
1456
|
+
nextToken?: string | undefined;
|
|
1457
|
+
lambdaFunctionRecommendations?: LambdaFunctionRecommendation[] | undefined;
|
|
1424
1458
|
}
|
|
1425
1459
|
export interface GetLicenseRecommendationsRequest {
|
|
1426
|
-
resourceArns?: string[];
|
|
1427
|
-
nextToken?: string;
|
|
1428
|
-
maxResults?: number;
|
|
1429
|
-
filters?: LicenseRecommendationFilter[];
|
|
1430
|
-
accountIds?: string[];
|
|
1460
|
+
resourceArns?: string[] | undefined;
|
|
1461
|
+
nextToken?: string | undefined;
|
|
1462
|
+
maxResults?: number | undefined;
|
|
1463
|
+
filters?: LicenseRecommendationFilter[] | undefined;
|
|
1464
|
+
accountIds?: string[] | undefined;
|
|
1431
1465
|
}
|
|
1432
1466
|
export declare const LicenseEdition: {
|
|
1433
1467
|
readonly ENTERPRISE: "Enterprise";
|
|
@@ -1452,18 +1486,18 @@ export declare const MetricSourceProvider: {
|
|
|
1452
1486
|
export type MetricSourceProvider =
|
|
1453
1487
|
(typeof MetricSourceProvider)[keyof typeof MetricSourceProvider];
|
|
1454
1488
|
export interface MetricSource {
|
|
1455
|
-
provider?: MetricSourceProvider;
|
|
1456
|
-
providerArn?: string;
|
|
1489
|
+
provider?: MetricSourceProvider | undefined;
|
|
1490
|
+
providerArn?: string | undefined;
|
|
1457
1491
|
}
|
|
1458
1492
|
export interface LicenseConfiguration {
|
|
1459
|
-
numberOfCores?: number;
|
|
1460
|
-
instanceType?: string;
|
|
1461
|
-
operatingSystem?: string;
|
|
1462
|
-
licenseEdition?: LicenseEdition;
|
|
1463
|
-
licenseName?: LicenseName;
|
|
1464
|
-
licenseModel?: LicenseModel;
|
|
1465
|
-
licenseVersion?: string;
|
|
1466
|
-
metricsSource?: MetricSource[];
|
|
1493
|
+
numberOfCores?: number | undefined;
|
|
1494
|
+
instanceType?: string | undefined;
|
|
1495
|
+
operatingSystem?: string | undefined;
|
|
1496
|
+
licenseEdition?: LicenseEdition | undefined;
|
|
1497
|
+
licenseName?: LicenseName | undefined;
|
|
1498
|
+
licenseModel?: LicenseModel | undefined;
|
|
1499
|
+
licenseVersion?: string | undefined;
|
|
1500
|
+
metricsSource?: MetricSource[] | undefined;
|
|
1467
1501
|
}
|
|
1468
1502
|
export declare const LicenseFinding: {
|
|
1469
1503
|
readonly INSUFFICIENT_METRICS: "InsufficientMetrics";
|
|
@@ -1481,27 +1515,27 @@ export declare const LicenseFindingReasonCode: {
|
|
|
1481
1515
|
export type LicenseFindingReasonCode =
|
|
1482
1516
|
(typeof LicenseFindingReasonCode)[keyof typeof LicenseFindingReasonCode];
|
|
1483
1517
|
export interface LicenseRecommendationOption {
|
|
1484
|
-
rank?: number;
|
|
1485
|
-
operatingSystem?: string;
|
|
1486
|
-
licenseEdition?: LicenseEdition;
|
|
1487
|
-
licenseModel?: LicenseModel;
|
|
1488
|
-
savingsOpportunity?: SavingsOpportunity;
|
|
1518
|
+
rank?: number | undefined;
|
|
1519
|
+
operatingSystem?: string | undefined;
|
|
1520
|
+
licenseEdition?: LicenseEdition | undefined;
|
|
1521
|
+
licenseModel?: LicenseModel | undefined;
|
|
1522
|
+
savingsOpportunity?: SavingsOpportunity | undefined;
|
|
1489
1523
|
}
|
|
1490
1524
|
export interface LicenseRecommendation {
|
|
1491
|
-
resourceArn?: string;
|
|
1492
|
-
accountId?: string;
|
|
1493
|
-
currentLicenseConfiguration?: LicenseConfiguration;
|
|
1494
|
-
lookbackPeriodInDays?: number;
|
|
1495
|
-
lastRefreshTimestamp?: Date;
|
|
1496
|
-
finding?: LicenseFinding;
|
|
1497
|
-
findingReasonCodes?: LicenseFindingReasonCode[];
|
|
1498
|
-
licenseRecommendationOptions?: LicenseRecommendationOption[];
|
|
1499
|
-
tags?: Tag[];
|
|
1525
|
+
resourceArn?: string | undefined;
|
|
1526
|
+
accountId?: string | undefined;
|
|
1527
|
+
currentLicenseConfiguration?: LicenseConfiguration | undefined;
|
|
1528
|
+
lookbackPeriodInDays?: number | undefined;
|
|
1529
|
+
lastRefreshTimestamp?: Date | undefined;
|
|
1530
|
+
finding?: LicenseFinding | undefined;
|
|
1531
|
+
findingReasonCodes?: LicenseFindingReasonCode[] | undefined;
|
|
1532
|
+
licenseRecommendationOptions?: LicenseRecommendationOption[] | undefined;
|
|
1533
|
+
tags?: Tag[] | undefined;
|
|
1500
1534
|
}
|
|
1501
1535
|
export interface GetLicenseRecommendationsResponse {
|
|
1502
|
-
nextToken?: string;
|
|
1503
|
-
licenseRecommendations?: LicenseRecommendation[];
|
|
1504
|
-
errors?: GetRecommendationError[];
|
|
1536
|
+
nextToken?: string | undefined;
|
|
1537
|
+
licenseRecommendations?: LicenseRecommendation[] | undefined;
|
|
1538
|
+
errors?: GetRecommendationError[] | undefined;
|
|
1505
1539
|
}
|
|
1506
1540
|
export interface GetRDSDatabaseRecommendationProjectedMetricsRequest {
|
|
1507
1541
|
resourceArn: string | undefined;
|
|
@@ -1509,7 +1543,7 @@ export interface GetRDSDatabaseRecommendationProjectedMetricsRequest {
|
|
|
1509
1543
|
period: number | undefined;
|
|
1510
1544
|
startTime: Date | undefined;
|
|
1511
1545
|
endTime: Date | undefined;
|
|
1512
|
-
recommendationPreferences?: RecommendationPreferences;
|
|
1546
|
+
recommendationPreferences?: RecommendationPreferences | undefined;
|
|
1513
1547
|
}
|
|
1514
1548
|
export declare const RDSDBMetricName: {
|
|
1515
1549
|
readonly CPU: "CPU";
|
|
@@ -1526,32 +1560,34 @@ export declare const RDSDBMetricName: {
|
|
|
1526
1560
|
export type RDSDBMetricName =
|
|
1527
1561
|
(typeof RDSDBMetricName)[keyof typeof RDSDBMetricName];
|
|
1528
1562
|
export interface RDSDatabaseProjectedMetric {
|
|
1529
|
-
name?: RDSDBMetricName;
|
|
1530
|
-
timestamps?: Date[];
|
|
1531
|
-
values?: number[];
|
|
1563
|
+
name?: RDSDBMetricName | undefined;
|
|
1564
|
+
timestamps?: Date[] | undefined;
|
|
1565
|
+
values?: number[] | undefined;
|
|
1532
1566
|
}
|
|
1533
1567
|
export interface RDSDatabaseRecommendedOptionProjectedMetric {
|
|
1534
|
-
recommendedDBInstanceClass?: string;
|
|
1535
|
-
rank?: number;
|
|
1536
|
-
projectedMetrics?: RDSDatabaseProjectedMetric[];
|
|
1568
|
+
recommendedDBInstanceClass?: string | undefined;
|
|
1569
|
+
rank?: number | undefined;
|
|
1570
|
+
projectedMetrics?: RDSDatabaseProjectedMetric[] | undefined;
|
|
1537
1571
|
}
|
|
1538
1572
|
export interface GetRDSDatabaseRecommendationProjectedMetricsResponse {
|
|
1539
|
-
recommendedOptionProjectedMetrics?:
|
|
1573
|
+
recommendedOptionProjectedMetrics?:
|
|
1574
|
+
| RDSDatabaseRecommendedOptionProjectedMetric[]
|
|
1575
|
+
| undefined;
|
|
1540
1576
|
}
|
|
1541
1577
|
export interface GetRDSDatabaseRecommendationsRequest {
|
|
1542
|
-
resourceArns?: string[];
|
|
1543
|
-
nextToken?: string;
|
|
1544
|
-
maxResults?: number;
|
|
1545
|
-
filters?: RDSDBRecommendationFilter[];
|
|
1546
|
-
accountIds?: string[];
|
|
1547
|
-
recommendationPreferences?: RecommendationPreferences;
|
|
1578
|
+
resourceArns?: string[] | undefined;
|
|
1579
|
+
nextToken?: string | undefined;
|
|
1580
|
+
maxResults?: number | undefined;
|
|
1581
|
+
filters?: RDSDBRecommendationFilter[] | undefined;
|
|
1582
|
+
accountIds?: string[] | undefined;
|
|
1583
|
+
recommendationPreferences?: RecommendationPreferences | undefined;
|
|
1548
1584
|
}
|
|
1549
1585
|
export interface DBStorageConfiguration {
|
|
1550
|
-
storageType?: string;
|
|
1551
|
-
allocatedStorage?: number;
|
|
1552
|
-
iops?: number;
|
|
1553
|
-
maxAllocatedStorage?: number;
|
|
1554
|
-
storageThroughput?: number;
|
|
1586
|
+
storageType?: string | undefined;
|
|
1587
|
+
allocatedStorage?: number | undefined;
|
|
1588
|
+
iops?: number | undefined;
|
|
1589
|
+
maxAllocatedStorage?: number | undefined;
|
|
1590
|
+
storageThroughput?: number | undefined;
|
|
1555
1591
|
}
|
|
1556
1592
|
export declare const RDSSavingsEstimationModeSource: {
|
|
1557
1593
|
readonly COST_EXPLORER_RIGHTSIZING: "CostExplorerRightsizing";
|
|
@@ -1561,13 +1597,13 @@ export declare const RDSSavingsEstimationModeSource: {
|
|
|
1561
1597
|
export type RDSSavingsEstimationModeSource =
|
|
1562
1598
|
(typeof RDSSavingsEstimationModeSource)[keyof typeof RDSSavingsEstimationModeSource];
|
|
1563
1599
|
export interface RDSSavingsEstimationMode {
|
|
1564
|
-
source?: RDSSavingsEstimationModeSource;
|
|
1600
|
+
source?: RDSSavingsEstimationModeSource | undefined;
|
|
1565
1601
|
}
|
|
1566
1602
|
export interface RDSEffectiveRecommendationPreferences {
|
|
1567
|
-
cpuVendorArchitectures?: CpuVendorArchitecture[];
|
|
1568
|
-
enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics;
|
|
1569
|
-
lookBackPeriod?: LookBackPeriodPreference;
|
|
1570
|
-
savingsEstimationMode?: RDSSavingsEstimationMode;
|
|
1603
|
+
cpuVendorArchitectures?: CpuVendorArchitecture[] | undefined;
|
|
1604
|
+
enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics | undefined;
|
|
1605
|
+
lookBackPeriod?: LookBackPeriodPreference | undefined;
|
|
1606
|
+
savingsEstimationMode?: RDSSavingsEstimationMode | undefined;
|
|
1571
1607
|
}
|
|
1572
1608
|
export declare const Idle: {
|
|
1573
1609
|
readonly FALSE: "False";
|
|
@@ -1602,25 +1638,27 @@ export declare const RDSDBMetricStatistic: {
|
|
|
1602
1638
|
export type RDSDBMetricStatistic =
|
|
1603
1639
|
(typeof RDSDBMetricStatistic)[keyof typeof RDSDBMetricStatistic];
|
|
1604
1640
|
export interface RDSDBUtilizationMetric {
|
|
1605
|
-
name?: RDSDBMetricName;
|
|
1606
|
-
statistic?: RDSDBMetricStatistic;
|
|
1607
|
-
value?: number;
|
|
1641
|
+
name?: RDSDBMetricName | undefined;
|
|
1642
|
+
statistic?: RDSDBMetricStatistic | undefined;
|
|
1643
|
+
value?: number | undefined;
|
|
1608
1644
|
}
|
|
1609
1645
|
export interface RDSInstanceEstimatedMonthlySavings {
|
|
1610
|
-
currency?: Currency;
|
|
1611
|
-
value?: number;
|
|
1646
|
+
currency?: Currency | undefined;
|
|
1647
|
+
value?: number | undefined;
|
|
1612
1648
|
}
|
|
1613
1649
|
export interface RDSInstanceSavingsOpportunityAfterDiscounts {
|
|
1614
|
-
savingsOpportunityPercentage?: number;
|
|
1615
|
-
estimatedMonthlySavings?: RDSInstanceEstimatedMonthlySavings;
|
|
1650
|
+
savingsOpportunityPercentage?: number | undefined;
|
|
1651
|
+
estimatedMonthlySavings?: RDSInstanceEstimatedMonthlySavings | undefined;
|
|
1616
1652
|
}
|
|
1617
1653
|
export interface RDSDBInstanceRecommendationOption {
|
|
1618
|
-
dbInstanceClass?: string;
|
|
1619
|
-
projectedUtilizationMetrics?: RDSDBUtilizationMetric[];
|
|
1620
|
-
performanceRisk?: number;
|
|
1621
|
-
rank?: number;
|
|
1622
|
-
savingsOpportunity?: SavingsOpportunity;
|
|
1623
|
-
savingsOpportunityAfterDiscounts?:
|
|
1654
|
+
dbInstanceClass?: string | undefined;
|
|
1655
|
+
projectedUtilizationMetrics?: RDSDBUtilizationMetric[] | undefined;
|
|
1656
|
+
performanceRisk?: number | undefined;
|
|
1657
|
+
rank?: number | undefined;
|
|
1658
|
+
savingsOpportunity?: SavingsOpportunity | undefined;
|
|
1659
|
+
savingsOpportunityAfterDiscounts?:
|
|
1660
|
+
| RDSInstanceSavingsOpportunityAfterDiscounts
|
|
1661
|
+
| undefined;
|
|
1624
1662
|
}
|
|
1625
1663
|
export declare const RDSStorageFinding: {
|
|
1626
1664
|
readonly OPTIMIZED: "Optimized";
|
|
@@ -1639,49 +1677,55 @@ export declare const RDSStorageFindingReasonCode: {
|
|
|
1639
1677
|
export type RDSStorageFindingReasonCode =
|
|
1640
1678
|
(typeof RDSStorageFindingReasonCode)[keyof typeof RDSStorageFindingReasonCode];
|
|
1641
1679
|
export interface RDSStorageEstimatedMonthlySavings {
|
|
1642
|
-
currency?: Currency;
|
|
1643
|
-
value?: number;
|
|
1680
|
+
currency?: Currency | undefined;
|
|
1681
|
+
value?: number | undefined;
|
|
1644
1682
|
}
|
|
1645
1683
|
export interface RDSStorageSavingsOpportunityAfterDiscounts {
|
|
1646
|
-
savingsOpportunityPercentage?: number;
|
|
1647
|
-
estimatedMonthlySavings?: RDSStorageEstimatedMonthlySavings;
|
|
1684
|
+
savingsOpportunityPercentage?: number | undefined;
|
|
1685
|
+
estimatedMonthlySavings?: RDSStorageEstimatedMonthlySavings | undefined;
|
|
1648
1686
|
}
|
|
1649
1687
|
export interface RDSDBStorageRecommendationOption {
|
|
1650
|
-
storageConfiguration?: DBStorageConfiguration;
|
|
1651
|
-
rank?: number;
|
|
1652
|
-
savingsOpportunity?: SavingsOpportunity;
|
|
1653
|
-
savingsOpportunityAfterDiscounts?:
|
|
1688
|
+
storageConfiguration?: DBStorageConfiguration | undefined;
|
|
1689
|
+
rank?: number | undefined;
|
|
1690
|
+
savingsOpportunity?: SavingsOpportunity | undefined;
|
|
1691
|
+
savingsOpportunityAfterDiscounts?:
|
|
1692
|
+
| RDSStorageSavingsOpportunityAfterDiscounts
|
|
1693
|
+
| undefined;
|
|
1654
1694
|
}
|
|
1655
1695
|
export interface RDSDBRecommendation {
|
|
1656
|
-
resourceArn?: string;
|
|
1657
|
-
accountId?: string;
|
|
1658
|
-
engine?: string;
|
|
1659
|
-
engineVersion?: string;
|
|
1660
|
-
currentDBInstanceClass?: string;
|
|
1661
|
-
currentStorageConfiguration?: DBStorageConfiguration;
|
|
1662
|
-
idle?: Idle;
|
|
1663
|
-
instanceFinding?: RDSInstanceFinding;
|
|
1664
|
-
storageFinding?: RDSStorageFinding;
|
|
1665
|
-
instanceFindingReasonCodes?: RDSInstanceFindingReasonCode[];
|
|
1666
|
-
storageFindingReasonCodes?: RDSStorageFindingReasonCode[];
|
|
1667
|
-
instanceRecommendationOptions?:
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1696
|
+
resourceArn?: string | undefined;
|
|
1697
|
+
accountId?: string | undefined;
|
|
1698
|
+
engine?: string | undefined;
|
|
1699
|
+
engineVersion?: string | undefined;
|
|
1700
|
+
currentDBInstanceClass?: string | undefined;
|
|
1701
|
+
currentStorageConfiguration?: DBStorageConfiguration | undefined;
|
|
1702
|
+
idle?: Idle | undefined;
|
|
1703
|
+
instanceFinding?: RDSInstanceFinding | undefined;
|
|
1704
|
+
storageFinding?: RDSStorageFinding | undefined;
|
|
1705
|
+
instanceFindingReasonCodes?: RDSInstanceFindingReasonCode[] | undefined;
|
|
1706
|
+
storageFindingReasonCodes?: RDSStorageFindingReasonCode[] | undefined;
|
|
1707
|
+
instanceRecommendationOptions?:
|
|
1708
|
+
| RDSDBInstanceRecommendationOption[]
|
|
1709
|
+
| undefined;
|
|
1710
|
+
storageRecommendationOptions?: RDSDBStorageRecommendationOption[] | undefined;
|
|
1711
|
+
utilizationMetrics?: RDSDBUtilizationMetric[] | undefined;
|
|
1712
|
+
effectiveRecommendationPreferences?:
|
|
1713
|
+
| RDSEffectiveRecommendationPreferences
|
|
1714
|
+
| undefined;
|
|
1715
|
+
lookbackPeriodInDays?: number | undefined;
|
|
1716
|
+
lastRefreshTimestamp?: Date | undefined;
|
|
1717
|
+
tags?: Tag[] | undefined;
|
|
1674
1718
|
}
|
|
1675
1719
|
export interface GetRDSDatabaseRecommendationsResponse {
|
|
1676
|
-
nextToken?: string;
|
|
1677
|
-
rdsDBRecommendations?: RDSDBRecommendation[];
|
|
1678
|
-
errors?: GetRecommendationError[];
|
|
1720
|
+
nextToken?: string | undefined;
|
|
1721
|
+
rdsDBRecommendations?: RDSDBRecommendation[] | undefined;
|
|
1722
|
+
errors?: GetRecommendationError[] | undefined;
|
|
1679
1723
|
}
|
|
1680
1724
|
export interface GetRecommendationPreferencesRequest {
|
|
1681
1725
|
resourceType: ResourceType | undefined;
|
|
1682
|
-
scope?: Scope;
|
|
1683
|
-
nextToken?: string;
|
|
1684
|
-
maxResults?: number;
|
|
1726
|
+
scope?: Scope | undefined;
|
|
1727
|
+
nextToken?: string | undefined;
|
|
1728
|
+
maxResults?: number | undefined;
|
|
1685
1729
|
}
|
|
1686
1730
|
export declare const SavingsEstimationMode: {
|
|
1687
1731
|
readonly AFTER_DISCOUNTS: "AfterDiscounts";
|
|
@@ -1690,34 +1734,36 @@ export declare const SavingsEstimationMode: {
|
|
|
1690
1734
|
export type SavingsEstimationMode =
|
|
1691
1735
|
(typeof SavingsEstimationMode)[keyof typeof SavingsEstimationMode];
|
|
1692
1736
|
export interface RecommendationPreferencesDetail {
|
|
1693
|
-
scope?: Scope;
|
|
1694
|
-
resourceType?: ResourceType;
|
|
1695
|
-
enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics;
|
|
1696
|
-
inferredWorkloadTypes?: InferredWorkloadTypesPreference;
|
|
1697
|
-
externalMetricsPreference?: ExternalMetricsPreference;
|
|
1698
|
-
lookBackPeriod?: LookBackPeriodPreference;
|
|
1699
|
-
utilizationPreferences?: UtilizationPreference[];
|
|
1700
|
-
preferredResources?: EffectivePreferredResource[];
|
|
1701
|
-
savingsEstimationMode?: SavingsEstimationMode;
|
|
1737
|
+
scope?: Scope | undefined;
|
|
1738
|
+
resourceType?: ResourceType | undefined;
|
|
1739
|
+
enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics | undefined;
|
|
1740
|
+
inferredWorkloadTypes?: InferredWorkloadTypesPreference | undefined;
|
|
1741
|
+
externalMetricsPreference?: ExternalMetricsPreference | undefined;
|
|
1742
|
+
lookBackPeriod?: LookBackPeriodPreference | undefined;
|
|
1743
|
+
utilizationPreferences?: UtilizationPreference[] | undefined;
|
|
1744
|
+
preferredResources?: EffectivePreferredResource[] | undefined;
|
|
1745
|
+
savingsEstimationMode?: SavingsEstimationMode | undefined;
|
|
1702
1746
|
}
|
|
1703
1747
|
export interface GetRecommendationPreferencesResponse {
|
|
1704
|
-
nextToken?: string;
|
|
1705
|
-
recommendationPreferencesDetails?:
|
|
1748
|
+
nextToken?: string | undefined;
|
|
1749
|
+
recommendationPreferencesDetails?:
|
|
1750
|
+
| RecommendationPreferencesDetail[]
|
|
1751
|
+
| undefined;
|
|
1706
1752
|
}
|
|
1707
1753
|
export interface GetRecommendationSummariesRequest {
|
|
1708
|
-
accountIds?: string[];
|
|
1709
|
-
nextToken?: string;
|
|
1710
|
-
maxResults?: number;
|
|
1754
|
+
accountIds?: string[] | undefined;
|
|
1755
|
+
nextToken?: string | undefined;
|
|
1756
|
+
maxResults?: number | undefined;
|
|
1711
1757
|
}
|
|
1712
1758
|
export interface CurrentPerformanceRiskRatings {
|
|
1713
|
-
high?: number;
|
|
1714
|
-
medium?: number;
|
|
1715
|
-
low?: number;
|
|
1716
|
-
veryLow?: number;
|
|
1759
|
+
high?: number | undefined;
|
|
1760
|
+
medium?: number | undefined;
|
|
1761
|
+
low?: number | undefined;
|
|
1762
|
+
veryLow?: number | undefined;
|
|
1717
1763
|
}
|
|
1718
1764
|
export interface InferredWorkloadSaving {
|
|
1719
|
-
inferredWorkloadTypes?: InferredWorkloadType[];
|
|
1720
|
-
estimatedMonthlySavings?: EstimatedMonthlySavings;
|
|
1765
|
+
inferredWorkloadTypes?: InferredWorkloadType[] | undefined;
|
|
1766
|
+
estimatedMonthlySavings?: EstimatedMonthlySavings | undefined;
|
|
1721
1767
|
}
|
|
1722
1768
|
export declare const FindingReasonCode: {
|
|
1723
1769
|
readonly MEMORY_OVER_PROVISIONED: "MemoryOverprovisioned";
|
|
@@ -1726,48 +1772,48 @@ export declare const FindingReasonCode: {
|
|
|
1726
1772
|
export type FindingReasonCode =
|
|
1727
1773
|
(typeof FindingReasonCode)[keyof typeof FindingReasonCode];
|
|
1728
1774
|
export interface ReasonCodeSummary {
|
|
1729
|
-
name?: FindingReasonCode;
|
|
1730
|
-
value?: number;
|
|
1775
|
+
name?: FindingReasonCode | undefined;
|
|
1776
|
+
value?: number | undefined;
|
|
1731
1777
|
}
|
|
1732
1778
|
export interface Summary {
|
|
1733
|
-
name?: Finding;
|
|
1734
|
-
value?: number;
|
|
1735
|
-
reasonCodeSummaries?: ReasonCodeSummary[];
|
|
1779
|
+
name?: Finding | undefined;
|
|
1780
|
+
value?: number | undefined;
|
|
1781
|
+
reasonCodeSummaries?: ReasonCodeSummary[] | undefined;
|
|
1736
1782
|
}
|
|
1737
1783
|
export interface RecommendationSummary {
|
|
1738
|
-
summaries?: Summary[];
|
|
1739
|
-
recommendationResourceType?: RecommendationSourceType;
|
|
1740
|
-
accountId?: string;
|
|
1741
|
-
savingsOpportunity?: SavingsOpportunity;
|
|
1742
|
-
currentPerformanceRiskRatings?: CurrentPerformanceRiskRatings;
|
|
1743
|
-
inferredWorkloadSavings?: InferredWorkloadSaving[];
|
|
1784
|
+
summaries?: Summary[] | undefined;
|
|
1785
|
+
recommendationResourceType?: RecommendationSourceType | undefined;
|
|
1786
|
+
accountId?: string | undefined;
|
|
1787
|
+
savingsOpportunity?: SavingsOpportunity | undefined;
|
|
1788
|
+
currentPerformanceRiskRatings?: CurrentPerformanceRiskRatings | undefined;
|
|
1789
|
+
inferredWorkloadSavings?: InferredWorkloadSaving[] | undefined;
|
|
1744
1790
|
}
|
|
1745
1791
|
export interface GetRecommendationSummariesResponse {
|
|
1746
|
-
nextToken?: string;
|
|
1747
|
-
recommendationSummaries?: RecommendationSummary[];
|
|
1792
|
+
nextToken?: string | undefined;
|
|
1793
|
+
recommendationSummaries?: RecommendationSummary[] | undefined;
|
|
1748
1794
|
}
|
|
1749
1795
|
export interface PreferredResource {
|
|
1750
|
-
name?: PreferredResourceName;
|
|
1751
|
-
includeList?: string[];
|
|
1752
|
-
excludeList?: string[];
|
|
1796
|
+
name?: PreferredResourceName | undefined;
|
|
1797
|
+
includeList?: string[] | undefined;
|
|
1798
|
+
excludeList?: string[] | undefined;
|
|
1753
1799
|
}
|
|
1754
1800
|
export interface PutRecommendationPreferencesRequest {
|
|
1755
1801
|
resourceType: ResourceType | undefined;
|
|
1756
|
-
scope?: Scope;
|
|
1757
|
-
enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics;
|
|
1758
|
-
inferredWorkloadTypes?: InferredWorkloadTypesPreference;
|
|
1759
|
-
externalMetricsPreference?: ExternalMetricsPreference;
|
|
1760
|
-
lookBackPeriod?: LookBackPeriodPreference;
|
|
1761
|
-
utilizationPreferences?: UtilizationPreference[];
|
|
1762
|
-
preferredResources?: PreferredResource[];
|
|
1763
|
-
savingsEstimationMode?: SavingsEstimationMode;
|
|
1802
|
+
scope?: Scope | undefined;
|
|
1803
|
+
enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics | undefined;
|
|
1804
|
+
inferredWorkloadTypes?: InferredWorkloadTypesPreference | undefined;
|
|
1805
|
+
externalMetricsPreference?: ExternalMetricsPreference | undefined;
|
|
1806
|
+
lookBackPeriod?: LookBackPeriodPreference | undefined;
|
|
1807
|
+
utilizationPreferences?: UtilizationPreference[] | undefined;
|
|
1808
|
+
preferredResources?: PreferredResource[] | undefined;
|
|
1809
|
+
savingsEstimationMode?: SavingsEstimationMode | undefined;
|
|
1764
1810
|
}
|
|
1765
1811
|
export interface PutRecommendationPreferencesResponse {}
|
|
1766
1812
|
export interface UpdateEnrollmentStatusRequest {
|
|
1767
1813
|
status: Status | undefined;
|
|
1768
|
-
includeMemberAccounts?: boolean;
|
|
1814
|
+
includeMemberAccounts?: boolean | undefined;
|
|
1769
1815
|
}
|
|
1770
1816
|
export interface UpdateEnrollmentStatusResponse {
|
|
1771
|
-
status?: Status;
|
|
1772
|
-
statusReason?: string;
|
|
1817
|
+
status?: Status | undefined;
|
|
1818
|
+
statusReason?: string | undefined;
|
|
1773
1819
|
}
|