aws-sdk 2.976.0 → 2.980.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -1
- package/README.md +1 -1
- package/apis/cloudformation-2010-05-15.min.json +27 -1
- package/apis/compute-optimizer-2019-11-01.min.json +98 -25
- package/apis/ec2-2016-11-15.min.json +8 -1
- package/apis/elasticmapreduce-2009-03-31.min.json +84 -21
- package/apis/firehose-2015-08-04.min.json +104 -79
- package/apis/iot-2015-05-28.min.json +481 -232
- package/apis/iot-2015-05-28.paginators.json +12 -0
- package/apis/kms-2014-11-01.examples.json +100 -94
- package/apis/kms-2014-11-01.min.json +54 -34
- package/apis/rekognition-2016-06-27.min.json +134 -110
- package/apis/s3-2006-03-01.examples.json +162 -162
- package/clients/cloudformation.d.ts +116 -80
- package/clients/codebuild.d.ts +3 -3
- package/clients/computeoptimizer.d.ts +181 -81
- package/clients/ec2.d.ts +34 -22
- package/clients/emr.d.ts +78 -15
- package/clients/firehose.d.ts +39 -10
- package/clients/iot.d.ts +829 -506
- package/clients/kms.d.ts +293 -280
- package/clients/memorydb.d.ts +2 -2
- package/clients/polly.d.ts +2 -2
- package/clients/rekognition.d.ts +27 -7
- package/clients/s3.d.ts +6 -6
- package/clients/sqs.d.ts +4 -4
- package/clients/transcribeservice.d.ts +3 -3
- package/dist/aws-sdk-core-react-native.js +1 -1
- package/dist/aws-sdk-react-native.js +14 -16
- package/dist/aws-sdk.js +907 -481
- package/dist/aws-sdk.min.js +85 -85
- package/dist/xml2js.js +2 -3
- package/lib/core.js +1 -1
- package/package.json +1 -1
|
@@ -20,59 +20,59 @@ declare class ComputeOptimizer extends Service {
|
|
|
20
20
|
*/
|
|
21
21
|
describeRecommendationExportJobs(callback?: (err: AWSError, data: ComputeOptimizer.Types.DescribeRecommendationExportJobsResponse) => void): Request<ComputeOptimizer.Types.DescribeRecommendationExportJobsResponse, AWSError>;
|
|
22
22
|
/**
|
|
23
|
-
* Exports optimization recommendations for Auto Scaling groups. Recommendations are exported in a comma-separated values (.csv) file, and its metadata in a JavaScript Object Notation (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting Recommendations in the Compute Optimizer User Guide. You can have only one Auto Scaling group export job in progress per
|
|
23
|
+
* Exports optimization recommendations for Auto Scaling groups. Recommendations are exported in a comma-separated values (.csv) file, and its metadata in a JavaScript Object Notation (JSON) (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting Recommendations in the Compute Optimizer User Guide. You can have only one Auto Scaling group export job in progress per Amazon Web Services Region.
|
|
24
24
|
*/
|
|
25
25
|
exportAutoScalingGroupRecommendations(params: ComputeOptimizer.Types.ExportAutoScalingGroupRecommendationsRequest, callback?: (err: AWSError, data: ComputeOptimizer.Types.ExportAutoScalingGroupRecommendationsResponse) => void): Request<ComputeOptimizer.Types.ExportAutoScalingGroupRecommendationsResponse, AWSError>;
|
|
26
26
|
/**
|
|
27
|
-
* Exports optimization recommendations for Auto Scaling groups. Recommendations are exported in a comma-separated values (.csv) file, and its metadata in a JavaScript Object Notation (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting Recommendations in the Compute Optimizer User Guide. You can have only one Auto Scaling group export job in progress per
|
|
27
|
+
* Exports optimization recommendations for Auto Scaling groups. Recommendations are exported in a comma-separated values (.csv) file, and its metadata in a JavaScript Object Notation (JSON) (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting Recommendations in the Compute Optimizer User Guide. You can have only one Auto Scaling group export job in progress per Amazon Web Services Region.
|
|
28
28
|
*/
|
|
29
29
|
exportAutoScalingGroupRecommendations(callback?: (err: AWSError, data: ComputeOptimizer.Types.ExportAutoScalingGroupRecommendationsResponse) => void): Request<ComputeOptimizer.Types.ExportAutoScalingGroupRecommendationsResponse, AWSError>;
|
|
30
30
|
/**
|
|
31
|
-
* Exports optimization recommendations for Amazon EBS volumes. Recommendations are exported in a comma-separated values (.csv) file, and its metadata in a JavaScript Object Notation (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting Recommendations in the Compute Optimizer User Guide. You can have only one Amazon EBS volume export job in progress per
|
|
31
|
+
* Exports optimization recommendations for Amazon EBS volumes. Recommendations are exported in a comma-separated values (.csv) file, and its metadata in a JavaScript Object Notation (JSON) (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting Recommendations in the Compute Optimizer User Guide. You can have only one Amazon EBS volume export job in progress per Amazon Web Services Region.
|
|
32
32
|
*/
|
|
33
33
|
exportEBSVolumeRecommendations(params: ComputeOptimizer.Types.ExportEBSVolumeRecommendationsRequest, callback?: (err: AWSError, data: ComputeOptimizer.Types.ExportEBSVolumeRecommendationsResponse) => void): Request<ComputeOptimizer.Types.ExportEBSVolumeRecommendationsResponse, AWSError>;
|
|
34
34
|
/**
|
|
35
|
-
* Exports optimization recommendations for Amazon EBS volumes. Recommendations are exported in a comma-separated values (.csv) file, and its metadata in a JavaScript Object Notation (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting Recommendations in the Compute Optimizer User Guide. You can have only one Amazon EBS volume export job in progress per
|
|
35
|
+
* Exports optimization recommendations for Amazon EBS volumes. Recommendations are exported in a comma-separated values (.csv) file, and its metadata in a JavaScript Object Notation (JSON) (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting Recommendations in the Compute Optimizer User Guide. You can have only one Amazon EBS volume export job in progress per Amazon Web Services Region.
|
|
36
36
|
*/
|
|
37
37
|
exportEBSVolumeRecommendations(callback?: (err: AWSError, data: ComputeOptimizer.Types.ExportEBSVolumeRecommendationsResponse) => void): Request<ComputeOptimizer.Types.ExportEBSVolumeRecommendationsResponse, AWSError>;
|
|
38
38
|
/**
|
|
39
|
-
* Exports optimization recommendations for Amazon EC2 instances. Recommendations are exported in a comma-separated values (.csv) file, and its metadata in a JavaScript Object Notation (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting Recommendations in the Compute Optimizer User Guide. You can have only one Amazon EC2 instance export job in progress per
|
|
39
|
+
* Exports optimization recommendations for Amazon EC2 instances. Recommendations are exported in a comma-separated values (.csv) file, and its metadata in a JavaScript Object Notation (JSON) (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting Recommendations in the Compute Optimizer User Guide. You can have only one Amazon EC2 instance export job in progress per Amazon Web Services Region.
|
|
40
40
|
*/
|
|
41
41
|
exportEC2InstanceRecommendations(params: ComputeOptimizer.Types.ExportEC2InstanceRecommendationsRequest, callback?: (err: AWSError, data: ComputeOptimizer.Types.ExportEC2InstanceRecommendationsResponse) => void): Request<ComputeOptimizer.Types.ExportEC2InstanceRecommendationsResponse, AWSError>;
|
|
42
42
|
/**
|
|
43
|
-
* Exports optimization recommendations for Amazon EC2 instances. Recommendations are exported in a comma-separated values (.csv) file, and its metadata in a JavaScript Object Notation (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting Recommendations in the Compute Optimizer User Guide. You can have only one Amazon EC2 instance export job in progress per
|
|
43
|
+
* Exports optimization recommendations for Amazon EC2 instances. Recommendations are exported in a comma-separated values (.csv) file, and its metadata in a JavaScript Object Notation (JSON) (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting Recommendations in the Compute Optimizer User Guide. You can have only one Amazon EC2 instance export job in progress per Amazon Web Services Region.
|
|
44
44
|
*/
|
|
45
45
|
exportEC2InstanceRecommendations(callback?: (err: AWSError, data: ComputeOptimizer.Types.ExportEC2InstanceRecommendationsResponse) => void): Request<ComputeOptimizer.Types.ExportEC2InstanceRecommendationsResponse, AWSError>;
|
|
46
46
|
/**
|
|
47
|
-
* Exports optimization recommendations for
|
|
47
|
+
* Exports optimization recommendations for Lambda functions. Recommendations are exported in a comma-separated values (.csv) file, and its metadata in a JavaScript Object Notation (JSON) (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting Recommendations in the Compute Optimizer User Guide. You can have only one Lambda function export job in progress per Amazon Web Services Region.
|
|
48
48
|
*/
|
|
49
49
|
exportLambdaFunctionRecommendations(params: ComputeOptimizer.Types.ExportLambdaFunctionRecommendationsRequest, callback?: (err: AWSError, data: ComputeOptimizer.Types.ExportLambdaFunctionRecommendationsResponse) => void): Request<ComputeOptimizer.Types.ExportLambdaFunctionRecommendationsResponse, AWSError>;
|
|
50
50
|
/**
|
|
51
|
-
* Exports optimization recommendations for
|
|
51
|
+
* Exports optimization recommendations for Lambda functions. Recommendations are exported in a comma-separated values (.csv) file, and its metadata in a JavaScript Object Notation (JSON) (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting Recommendations in the Compute Optimizer User Guide. You can have only one Lambda function export job in progress per Amazon Web Services Region.
|
|
52
52
|
*/
|
|
53
53
|
exportLambdaFunctionRecommendations(callback?: (err: AWSError, data: ComputeOptimizer.Types.ExportLambdaFunctionRecommendationsResponse) => void): Request<ComputeOptimizer.Types.ExportLambdaFunctionRecommendationsResponse, AWSError>;
|
|
54
54
|
/**
|
|
55
|
-
* Returns Auto Scaling group recommendations.
|
|
55
|
+
* Returns Auto Scaling group recommendations. Compute Optimizer generates recommendations for Amazon EC2 Auto Scaling groups that meet a specific set of requirements. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide.
|
|
56
56
|
*/
|
|
57
57
|
getAutoScalingGroupRecommendations(params: ComputeOptimizer.Types.GetAutoScalingGroupRecommendationsRequest, callback?: (err: AWSError, data: ComputeOptimizer.Types.GetAutoScalingGroupRecommendationsResponse) => void): Request<ComputeOptimizer.Types.GetAutoScalingGroupRecommendationsResponse, AWSError>;
|
|
58
58
|
/**
|
|
59
|
-
* Returns Auto Scaling group recommendations.
|
|
59
|
+
* Returns Auto Scaling group recommendations. Compute Optimizer generates recommendations for Amazon EC2 Auto Scaling groups that meet a specific set of requirements. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide.
|
|
60
60
|
*/
|
|
61
61
|
getAutoScalingGroupRecommendations(callback?: (err: AWSError, data: ComputeOptimizer.Types.GetAutoScalingGroupRecommendationsResponse) => void): Request<ComputeOptimizer.Types.GetAutoScalingGroupRecommendationsResponse, AWSError>;
|
|
62
62
|
/**
|
|
63
|
-
* Returns Amazon Elastic Block Store (Amazon EBS) volume recommendations.
|
|
63
|
+
* Returns Amazon Elastic Block Store (Amazon EBS) volume recommendations. Compute Optimizer generates recommendations for Amazon EBS volumes that meet a specific set of requirements. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide.
|
|
64
64
|
*/
|
|
65
65
|
getEBSVolumeRecommendations(params: ComputeOptimizer.Types.GetEBSVolumeRecommendationsRequest, callback?: (err: AWSError, data: ComputeOptimizer.Types.GetEBSVolumeRecommendationsResponse) => void): Request<ComputeOptimizer.Types.GetEBSVolumeRecommendationsResponse, AWSError>;
|
|
66
66
|
/**
|
|
67
|
-
* Returns Amazon Elastic Block Store (Amazon EBS) volume recommendations.
|
|
67
|
+
* Returns Amazon Elastic Block Store (Amazon EBS) volume recommendations. Compute Optimizer generates recommendations for Amazon EBS volumes that meet a specific set of requirements. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide.
|
|
68
68
|
*/
|
|
69
69
|
getEBSVolumeRecommendations(callback?: (err: AWSError, data: ComputeOptimizer.Types.GetEBSVolumeRecommendationsResponse) => void): Request<ComputeOptimizer.Types.GetEBSVolumeRecommendationsResponse, AWSError>;
|
|
70
70
|
/**
|
|
71
|
-
* Returns Amazon EC2 instance recommendations.
|
|
71
|
+
* Returns Amazon EC2 instance recommendations. Compute Optimizer generates recommendations for Amazon Elastic Compute Cloud (Amazon EC2) instances that meet a specific set of requirements. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide.
|
|
72
72
|
*/
|
|
73
73
|
getEC2InstanceRecommendations(params: ComputeOptimizer.Types.GetEC2InstanceRecommendationsRequest, callback?: (err: AWSError, data: ComputeOptimizer.Types.GetEC2InstanceRecommendationsResponse) => void): Request<ComputeOptimizer.Types.GetEC2InstanceRecommendationsResponse, AWSError>;
|
|
74
74
|
/**
|
|
75
|
-
* Returns Amazon EC2 instance recommendations.
|
|
75
|
+
* Returns Amazon EC2 instance recommendations. Compute Optimizer generates recommendations for Amazon Elastic Compute Cloud (Amazon EC2) instances that meet a specific set of requirements. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide.
|
|
76
76
|
*/
|
|
77
77
|
getEC2InstanceRecommendations(callback?: (err: AWSError, data: ComputeOptimizer.Types.GetEC2InstanceRecommendationsResponse) => void): Request<ComputeOptimizer.Types.GetEC2InstanceRecommendationsResponse, AWSError>;
|
|
78
78
|
/**
|
|
@@ -84,19 +84,27 @@ declare class ComputeOptimizer extends Service {
|
|
|
84
84
|
*/
|
|
85
85
|
getEC2RecommendationProjectedMetrics(callback?: (err: AWSError, data: ComputeOptimizer.Types.GetEC2RecommendationProjectedMetricsResponse) => void): Request<ComputeOptimizer.Types.GetEC2RecommendationProjectedMetricsResponse, AWSError>;
|
|
86
86
|
/**
|
|
87
|
-
* Returns the enrollment (opt in) status of an account to the
|
|
87
|
+
* Returns the enrollment (opt in) status of an account to the Compute Optimizer service. If the account is the management account of an organization, this action also confirms the enrollment status of member accounts of the organization. Use the GetEnrollmentStatusesForOrganization action to get detailed information about the enrollment status of member accounts of an organization.
|
|
88
88
|
*/
|
|
89
89
|
getEnrollmentStatus(params: ComputeOptimizer.Types.GetEnrollmentStatusRequest, callback?: (err: AWSError, data: ComputeOptimizer.Types.GetEnrollmentStatusResponse) => void): Request<ComputeOptimizer.Types.GetEnrollmentStatusResponse, AWSError>;
|
|
90
90
|
/**
|
|
91
|
-
* Returns the enrollment (opt in) status of an account to the
|
|
91
|
+
* Returns the enrollment (opt in) status of an account to the Compute Optimizer service. If the account is the management account of an organization, this action also confirms the enrollment status of member accounts of the organization. Use the GetEnrollmentStatusesForOrganization action to get detailed information about the enrollment status of member accounts of an organization.
|
|
92
92
|
*/
|
|
93
93
|
getEnrollmentStatus(callback?: (err: AWSError, data: ComputeOptimizer.Types.GetEnrollmentStatusResponse) => void): Request<ComputeOptimizer.Types.GetEnrollmentStatusResponse, AWSError>;
|
|
94
94
|
/**
|
|
95
|
-
* Returns
|
|
95
|
+
* Returns the Compute Optimizer enrollment (opt-in) status of organization member accounts, if your account is an organization management account. To get the enrollment status of standalone accounts, use the GetEnrollmentStatus action.
|
|
96
|
+
*/
|
|
97
|
+
getEnrollmentStatusesForOrganization(params: ComputeOptimizer.Types.GetEnrollmentStatusesForOrganizationRequest, callback?: (err: AWSError, data: ComputeOptimizer.Types.GetEnrollmentStatusesForOrganizationResponse) => void): Request<ComputeOptimizer.Types.GetEnrollmentStatusesForOrganizationResponse, AWSError>;
|
|
98
|
+
/**
|
|
99
|
+
* Returns the Compute Optimizer enrollment (opt-in) status of organization member accounts, if your account is an organization management account. To get the enrollment status of standalone accounts, use the GetEnrollmentStatus action.
|
|
100
|
+
*/
|
|
101
|
+
getEnrollmentStatusesForOrganization(callback?: (err: AWSError, data: ComputeOptimizer.Types.GetEnrollmentStatusesForOrganizationResponse) => void): Request<ComputeOptimizer.Types.GetEnrollmentStatusesForOrganizationResponse, AWSError>;
|
|
102
|
+
/**
|
|
103
|
+
* Returns Lambda function recommendations. Compute Optimizer generates recommendations for functions that meet a specific set of requirements. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide.
|
|
96
104
|
*/
|
|
97
105
|
getLambdaFunctionRecommendations(params: ComputeOptimizer.Types.GetLambdaFunctionRecommendationsRequest, callback?: (err: AWSError, data: ComputeOptimizer.Types.GetLambdaFunctionRecommendationsResponse) => void): Request<ComputeOptimizer.Types.GetLambdaFunctionRecommendationsResponse, AWSError>;
|
|
98
106
|
/**
|
|
99
|
-
* Returns
|
|
107
|
+
* Returns Lambda function recommendations. Compute Optimizer generates recommendations for functions that meet a specific set of requirements. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide.
|
|
100
108
|
*/
|
|
101
109
|
getLambdaFunctionRecommendations(callback?: (err: AWSError, data: ComputeOptimizer.Types.GetLambdaFunctionRecommendationsResponse) => void): Request<ComputeOptimizer.Types.GetLambdaFunctionRecommendationsResponse, AWSError>;
|
|
102
110
|
/**
|
|
@@ -108,15 +116,34 @@ declare class ComputeOptimizer extends Service {
|
|
|
108
116
|
*/
|
|
109
117
|
getRecommendationSummaries(callback?: (err: AWSError, data: ComputeOptimizer.Types.GetRecommendationSummariesResponse) => void): Request<ComputeOptimizer.Types.GetRecommendationSummariesResponse, AWSError>;
|
|
110
118
|
/**
|
|
111
|
-
* Updates the enrollment (opt in and opt out) status of an account to the
|
|
119
|
+
* Updates the enrollment (opt in and opt out) status of an account to the Compute Optimizer service. If the account is a management account of an organization, this action can also be used to enroll member accounts of the organization. You must have the appropriate permissions to opt in to Compute Optimizer, to view its recommendations, and to opt out. For more information, see Controlling access with Amazon Web Services Identity and Access Management in the Compute Optimizer User Guide. When you opt in, Compute Optimizer automatically creates a service-linked role in your account to access its data. For more information, see Using Service-Linked Roles for Compute Optimizer in the Compute Optimizer User Guide.
|
|
112
120
|
*/
|
|
113
121
|
updateEnrollmentStatus(params: ComputeOptimizer.Types.UpdateEnrollmentStatusRequest, callback?: (err: AWSError, data: ComputeOptimizer.Types.UpdateEnrollmentStatusResponse) => void): Request<ComputeOptimizer.Types.UpdateEnrollmentStatusResponse, AWSError>;
|
|
114
122
|
/**
|
|
115
|
-
* Updates the enrollment (opt in and opt out) status of an account to the
|
|
123
|
+
* Updates the enrollment (opt in and opt out) status of an account to the Compute Optimizer service. If the account is a management account of an organization, this action can also be used to enroll member accounts of the organization. You must have the appropriate permissions to opt in to Compute Optimizer, to view its recommendations, and to opt out. For more information, see Controlling access with Amazon Web Services Identity and Access Management in the Compute Optimizer User Guide. When you opt in, Compute Optimizer automatically creates a service-linked role in your account to access its data. For more information, see Using Service-Linked Roles for Compute Optimizer in the Compute Optimizer User Guide.
|
|
116
124
|
*/
|
|
117
125
|
updateEnrollmentStatus(callback?: (err: AWSError, data: ComputeOptimizer.Types.UpdateEnrollmentStatusResponse) => void): Request<ComputeOptimizer.Types.UpdateEnrollmentStatusResponse, AWSError>;
|
|
118
126
|
}
|
|
119
127
|
declare namespace ComputeOptimizer {
|
|
128
|
+
export interface AccountEnrollmentStatus {
|
|
129
|
+
/**
|
|
130
|
+
* The Amazon Web Services account ID.
|
|
131
|
+
*/
|
|
132
|
+
accountId?: AccountId;
|
|
133
|
+
/**
|
|
134
|
+
* The account enrollment status.
|
|
135
|
+
*/
|
|
136
|
+
status?: Status;
|
|
137
|
+
/**
|
|
138
|
+
* The reason for the account enrollment status. For example, an account might show a status of Pending because member accounts of an organization require more time to be enrolled in the service.
|
|
139
|
+
*/
|
|
140
|
+
statusReason?: StatusReason;
|
|
141
|
+
/**
|
|
142
|
+
* The Unix epoch timestamp, in seconds, of when the account enrollment status was last updated.
|
|
143
|
+
*/
|
|
144
|
+
lastUpdatedTimestamp?: LastUpdatedTimestamp;
|
|
145
|
+
}
|
|
146
|
+
export type AccountEnrollmentStatuses = AccountEnrollmentStatus[];
|
|
120
147
|
export type AccountId = string;
|
|
121
148
|
export type AccountIds = AccountId[];
|
|
122
149
|
export type AutoScalingGroupArn = string;
|
|
@@ -142,7 +169,7 @@ declare namespace ComputeOptimizer {
|
|
|
142
169
|
export type AutoScalingGroupName = string;
|
|
143
170
|
export interface AutoScalingGroupRecommendation {
|
|
144
171
|
/**
|
|
145
|
-
* The
|
|
172
|
+
* The Amazon Web Services account ID of the Auto Scaling group.
|
|
146
173
|
*/
|
|
147
174
|
accountId?: AccountId;
|
|
148
175
|
/**
|
|
@@ -154,7 +181,7 @@ declare namespace ComputeOptimizer {
|
|
|
154
181
|
*/
|
|
155
182
|
autoScalingGroupName?: AutoScalingGroupName;
|
|
156
183
|
/**
|
|
157
|
-
* The finding classification of the Auto Scaling group. Findings for Auto Scaling groups include: NotOptimized —An Auto Scaling group is considered not optimized when
|
|
184
|
+
* The finding classification of the Auto Scaling group. Findings for Auto Scaling groups include: NotOptimized —An Auto Scaling group is considered not optimized when Compute Optimizer identifies a recommendation that can provide better performance for your workload. Optimized —An Auto Scaling group is considered optimized when Compute Optimizer determines that the group is correctly provisioned to run your workload based on the chosen instance type. For optimized resources, Compute Optimizer might recommend a new generation instance type.
|
|
158
185
|
*/
|
|
159
186
|
finding?: Finding;
|
|
160
187
|
/**
|
|
@@ -174,7 +201,7 @@ declare namespace ComputeOptimizer {
|
|
|
174
201
|
*/
|
|
175
202
|
recommendationOptions?: AutoScalingGroupRecommendationOptions;
|
|
176
203
|
/**
|
|
177
|
-
* The
|
|
204
|
+
* The timestamp of when the Auto Scaling group recommendation was last refreshed.
|
|
178
205
|
*/
|
|
179
206
|
lastRefreshTimestamp?: LastRefreshTimestamp;
|
|
180
207
|
}
|
|
@@ -199,6 +226,8 @@ declare namespace ComputeOptimizer {
|
|
|
199
226
|
export type AutoScalingGroupRecommendationOptions = AutoScalingGroupRecommendationOption[];
|
|
200
227
|
export type AutoScalingGroupRecommendations = AutoScalingGroupRecommendation[];
|
|
201
228
|
export type Code = string;
|
|
229
|
+
export type CpuVendorArchitecture = "AWS_ARM64"|"CURRENT"|string;
|
|
230
|
+
export type CpuVendorArchitectures = CpuVendorArchitecture[];
|
|
202
231
|
export type CreationTimestamp = Date;
|
|
203
232
|
export type CurrentInstanceType = string;
|
|
204
233
|
export interface DescribeRecommendationExportJobsRequest {
|
|
@@ -207,7 +236,7 @@ declare namespace ComputeOptimizer {
|
|
|
207
236
|
*/
|
|
208
237
|
jobIds?: JobIds;
|
|
209
238
|
/**
|
|
210
|
-
* An array of objects
|
|
239
|
+
* An array of objects to specify a filter that returns a more specific list of export jobs.
|
|
211
240
|
*/
|
|
212
241
|
filters?: JobFilters;
|
|
213
242
|
/**
|
|
@@ -215,7 +244,7 @@ declare namespace ComputeOptimizer {
|
|
|
215
244
|
*/
|
|
216
245
|
nextToken?: NextToken;
|
|
217
246
|
/**
|
|
218
|
-
* The maximum number of export jobs to return with a single request. To retrieve the remaining results, make another request with the returned
|
|
247
|
+
* The maximum number of export jobs to return with a single request. To retrieve the remaining results, make another request with the returned nextToken value.
|
|
219
248
|
*/
|
|
220
249
|
maxResults?: MaxResults;
|
|
221
250
|
}
|
|
@@ -235,7 +264,7 @@ declare namespace ComputeOptimizer {
|
|
|
235
264
|
export type DestinationKeyPrefix = string;
|
|
236
265
|
export interface EBSFilter {
|
|
237
266
|
/**
|
|
238
|
-
* The name of the filter. Specify Finding to return recommendations with a specific finding classification (
|
|
267
|
+
* The name of the filter. Specify Finding to return recommendations with a specific finding classification (for example, NotOptimized).
|
|
239
268
|
*/
|
|
240
269
|
name?: EBSFilterName;
|
|
241
270
|
/**
|
|
@@ -253,7 +282,7 @@ declare namespace ComputeOptimizer {
|
|
|
253
282
|
*/
|
|
254
283
|
name?: EBSMetricName;
|
|
255
284
|
/**
|
|
256
|
-
* The statistic of the utilization metric. The Compute Optimizer API,
|
|
285
|
+
* The statistic of the utilization metric. The Compute Optimizer API, Command Line Interface (CLI), and SDKs return utilization metrics using only the Maximum statistic, which is the highest value observed during the specified period. The Compute Optimizer console displays graphs for some utilization metrics using the Average statistic, which is the value of Sum / SampleCount during the specified period. For more information, see Viewing resource recommendations in the Compute Optimizer User Guide. You can also get averaged utilization metric data for your resources using Amazon CloudWatch. For more information, see the Amazon CloudWatch User Guide.
|
|
257
286
|
*/
|
|
258
287
|
statistic?: MetricStatistic;
|
|
259
288
|
/**
|
|
@@ -262,13 +291,25 @@ declare namespace ComputeOptimizer {
|
|
|
262
291
|
value?: MetricValue;
|
|
263
292
|
}
|
|
264
293
|
export type EBSUtilizationMetrics = EBSUtilizationMetric[];
|
|
294
|
+
export interface EnrollmentFilter {
|
|
295
|
+
/**
|
|
296
|
+
* The name of the filter. Specify Status to return accounts with a specific enrollment status (for example, Active).
|
|
297
|
+
*/
|
|
298
|
+
name?: EnrollmentFilterName;
|
|
299
|
+
/**
|
|
300
|
+
* The value of the filter. The valid values are Active, Inactive, Pending, and Failed.
|
|
301
|
+
*/
|
|
302
|
+
values?: FilterValues;
|
|
303
|
+
}
|
|
304
|
+
export type EnrollmentFilterName = "Status"|string;
|
|
305
|
+
export type EnrollmentFilters = EnrollmentFilter[];
|
|
265
306
|
export interface ExportAutoScalingGroupRecommendationsRequest {
|
|
266
307
|
/**
|
|
267
|
-
* The IDs of the
|
|
308
|
+
* The IDs of the Amazon Web Services accounts for which to export Auto Scaling group recommendations. If your account is the management account of an organization, use this parameter to specify the member account for which you want to export recommendations. This parameter cannot be specified together with the include member accounts parameter. The parameters are mutually exclusive. Recommendations for member accounts are not included in the export if this parameter, or the include member accounts parameter, is omitted. You can specify multiple account IDs per request.
|
|
268
309
|
*/
|
|
269
310
|
accountIds?: AccountIds;
|
|
270
311
|
/**
|
|
271
|
-
* An array of objects
|
|
312
|
+
* An array of objects to specify a filter that exports a more specific set of Auto Scaling group recommendations.
|
|
272
313
|
*/
|
|
273
314
|
filters?: Filters;
|
|
274
315
|
/**
|
|
@@ -276,7 +317,7 @@ declare namespace ComputeOptimizer {
|
|
|
276
317
|
*/
|
|
277
318
|
fieldsToExport?: ExportableAutoScalingGroupFields;
|
|
278
319
|
/**
|
|
279
|
-
* An object to specify the destination Amazon Simple Storage Service (Amazon S3) bucket name and key prefix for the export job. You must create the destination Amazon S3 bucket for your recommendations export before you create the export job. Compute Optimizer does not create the S3 bucket for you. After you create the S3 bucket, ensure that it has the required
|
|
320
|
+
* An object to specify the destination Amazon Simple Storage Service (Amazon S3) bucket name and key prefix for the export job. You must create the destination Amazon S3 bucket for your recommendations export before you create the export job. Compute Optimizer does not create the S3 bucket for you. After you create the S3 bucket, ensure that it has the required permissions policy to allow Compute Optimizer to write the export file to it. If you plan to specify an object prefix when you create the export job, you must include the object prefix in the policy that you add to the S3 bucket. For more information, see Amazon S3 Bucket Policy for Compute Optimizer in the Compute Optimizer User Guide.
|
|
280
321
|
*/
|
|
281
322
|
s3DestinationConfig: S3DestinationConfig;
|
|
282
323
|
/**
|
|
@@ -284,9 +325,13 @@ declare namespace ComputeOptimizer {
|
|
|
284
325
|
*/
|
|
285
326
|
fileFormat?: FileFormat;
|
|
286
327
|
/**
|
|
287
|
-
* Indicates whether to include recommendations for resources in all member accounts of the organization if your account is the management account of an organization. The member accounts must also be opted in to Compute Optimizer, and trusted access for Compute Optimizer must be enabled in the organization account. For more information, see Compute Optimizer and
|
|
328
|
+
* Indicates whether to include recommendations for resources in all member accounts of the organization if your account is the management account of an organization. The member accounts must also be opted in to Compute Optimizer, and trusted access for Compute Optimizer must be enabled in the organization account. For more information, see Compute Optimizer and Amazon Web Services Organizations trusted access in the Compute Optimizer User Guide. Recommendations for member accounts of the organization are not included in the export file if this parameter is omitted. This parameter cannot be specified together with the account IDs parameter. The parameters are mutually exclusive. Recommendations for member accounts are not included in the export if this parameter, or the account IDs parameter, is omitted.
|
|
288
329
|
*/
|
|
289
330
|
includeMemberAccounts?: IncludeMemberAccounts;
|
|
331
|
+
/**
|
|
332
|
+
* An object to specify the preferences for the Auto Scaling group recommendations to export.
|
|
333
|
+
*/
|
|
334
|
+
recommendationPreferences?: RecommendationPreferences;
|
|
290
335
|
}
|
|
291
336
|
export interface ExportAutoScalingGroupRecommendationsResponse {
|
|
292
337
|
/**
|
|
@@ -306,11 +351,11 @@ declare namespace ComputeOptimizer {
|
|
|
306
351
|
}
|
|
307
352
|
export interface ExportEBSVolumeRecommendationsRequest {
|
|
308
353
|
/**
|
|
309
|
-
* The IDs of the
|
|
354
|
+
* The IDs of the Amazon Web Services accounts for which to export Amazon EBS volume recommendations. If your account is the management account of an organization, use this parameter to specify the member account for which you want to export recommendations. This parameter cannot be specified together with the include member accounts parameter. The parameters are mutually exclusive. Recommendations for member accounts are not included in the export if this parameter, or the include member accounts parameter, is omitted. You can specify multiple account IDs per request.
|
|
310
355
|
*/
|
|
311
356
|
accountIds?: AccountIds;
|
|
312
357
|
/**
|
|
313
|
-
* An array of objects
|
|
358
|
+
* An array of objects to specify a filter that exports a more specific set of Amazon EBS volume recommendations.
|
|
314
359
|
*/
|
|
315
360
|
filters?: EBSFilters;
|
|
316
361
|
/**
|
|
@@ -323,7 +368,7 @@ declare namespace ComputeOptimizer {
|
|
|
323
368
|
*/
|
|
324
369
|
fileFormat?: FileFormat;
|
|
325
370
|
/**
|
|
326
|
-
* Indicates whether to include recommendations for resources in all member accounts of the organization if your account is the management account of an organization. The member accounts must also be opted in to Compute Optimizer, and trusted access for Compute Optimizer must be enabled in the organization account. For more information, see Compute Optimizer and
|
|
371
|
+
* Indicates whether to include recommendations for resources in all member accounts of the organization if your account is the management account of an organization. The member accounts must also be opted in to Compute Optimizer, and trusted access for Compute Optimizer must be enabled in the organization account. For more information, see Compute Optimizer and Amazon Web Services Organizations trusted access in the Compute Optimizer User Guide. Recommendations for member accounts of the organization are not included in the export file if this parameter is omitted. This parameter cannot be specified together with the account IDs parameter. The parameters are mutually exclusive. Recommendations for member accounts are not included in the export if this parameter, or the account IDs parameter, is omitted.
|
|
327
372
|
*/
|
|
328
373
|
includeMemberAccounts?: IncludeMemberAccounts;
|
|
329
374
|
}
|
|
@@ -336,11 +381,11 @@ declare namespace ComputeOptimizer {
|
|
|
336
381
|
}
|
|
337
382
|
export interface ExportEC2InstanceRecommendationsRequest {
|
|
338
383
|
/**
|
|
339
|
-
* The IDs of the
|
|
384
|
+
* The IDs of the Amazon Web Services accounts for which to export instance recommendations. If your account is the management account of an organization, use this parameter to specify the member account for which you want to export recommendations. This parameter cannot be specified together with the include member accounts parameter. The parameters are mutually exclusive. Recommendations for member accounts are not included in the export if this parameter, or the include member accounts parameter, is omitted. You can specify multiple account IDs per request.
|
|
340
385
|
*/
|
|
341
386
|
accountIds?: AccountIds;
|
|
342
387
|
/**
|
|
343
|
-
* An array of objects
|
|
388
|
+
* An array of objects to specify a filter that exports a more specific set of instance recommendations.
|
|
344
389
|
*/
|
|
345
390
|
filters?: Filters;
|
|
346
391
|
/**
|
|
@@ -348,7 +393,7 @@ declare namespace ComputeOptimizer {
|
|
|
348
393
|
*/
|
|
349
394
|
fieldsToExport?: ExportableInstanceFields;
|
|
350
395
|
/**
|
|
351
|
-
* An object to specify the destination Amazon Simple Storage Service (Amazon S3) bucket name and key prefix for the export job. You must create the destination Amazon S3 bucket for your recommendations export before you create the export job. Compute Optimizer does not create the S3 bucket for you. After you create the S3 bucket, ensure that it has the required
|
|
396
|
+
* An object to specify the destination Amazon Simple Storage Service (Amazon S3) bucket name and key prefix for the export job. You must create the destination Amazon S3 bucket for your recommendations export before you create the export job. Compute Optimizer does not create the S3 bucket for you. After you create the S3 bucket, ensure that it has the required permissions policy policy to allow Compute Optimizer to write the export file to it. If you plan to specify an object prefix when you create the export job, you must include the object prefix in the that you add to the S3 bucket. For more information, see Amazon S3 Bucket Policy for Compute Optimizer in the Compute Optimizer User Guide.
|
|
352
397
|
*/
|
|
353
398
|
s3DestinationConfig: S3DestinationConfig;
|
|
354
399
|
/**
|
|
@@ -356,9 +401,13 @@ declare namespace ComputeOptimizer {
|
|
|
356
401
|
*/
|
|
357
402
|
fileFormat?: FileFormat;
|
|
358
403
|
/**
|
|
359
|
-
* Indicates whether to include recommendations for resources in all member accounts of the organization if your account is the management account of an organization. The member accounts must also be opted in to Compute Optimizer, and trusted access for Compute Optimizer must be enabled in the organization account. For more information, see Compute Optimizer and
|
|
404
|
+
* Indicates whether to include recommendations for resources in all member accounts of the organization if your account is the management account of an organization. The member accounts must also be opted in to Compute Optimizer, and trusted access for Compute Optimizer must be enabled in the organization account. For more information, see Compute Optimizer and Amazon Web Services Organizations trusted access in the Compute Optimizer User Guide. Recommendations for member accounts of the organization are not included in the export file if this parameter is omitted. Recommendations for member accounts are not included in the export if this parameter, or the account IDs parameter, is omitted.
|
|
360
405
|
*/
|
|
361
406
|
includeMemberAccounts?: IncludeMemberAccounts;
|
|
407
|
+
/**
|
|
408
|
+
* An object to specify the preferences for the Amazon EC2 instance recommendations to export.
|
|
409
|
+
*/
|
|
410
|
+
recommendationPreferences?: RecommendationPreferences;
|
|
362
411
|
}
|
|
363
412
|
export interface ExportEC2InstanceRecommendationsResponse {
|
|
364
413
|
/**
|
|
@@ -372,11 +421,11 @@ declare namespace ComputeOptimizer {
|
|
|
372
421
|
}
|
|
373
422
|
export interface ExportLambdaFunctionRecommendationsRequest {
|
|
374
423
|
/**
|
|
375
|
-
* The IDs of the
|
|
424
|
+
* The IDs of the Amazon Web Services accounts for which to export Lambda function recommendations. If your account is the management account of an organization, use this parameter to specify the member account for which you want to export recommendations. This parameter cannot be specified together with the include member accounts parameter. The parameters are mutually exclusive. Recommendations for member accounts are not included in the export if this parameter, or the include member accounts parameter, is omitted. You can specify multiple account IDs per request.
|
|
376
425
|
*/
|
|
377
426
|
accountIds?: AccountIds;
|
|
378
427
|
/**
|
|
379
|
-
* An array of objects
|
|
428
|
+
* An array of objects to specify a filter that exports a more specific set of Lambda function recommendations.
|
|
380
429
|
*/
|
|
381
430
|
filters?: LambdaFunctionRecommendationFilters;
|
|
382
431
|
/**
|
|
@@ -389,7 +438,7 @@ declare namespace ComputeOptimizer {
|
|
|
389
438
|
*/
|
|
390
439
|
fileFormat?: FileFormat;
|
|
391
440
|
/**
|
|
392
|
-
* Indicates whether to include recommendations for resources in all member accounts of the organization if your account is the management account of an organization. The member accounts must also be opted in to Compute Optimizer, and trusted access for Compute Optimizer must be enabled in the organization account. For more information, see Compute Optimizer and
|
|
441
|
+
* Indicates whether to include recommendations for resources in all member accounts of the organization if your account is the management account of an organization. The member accounts must also be opted in to Compute Optimizer, and trusted access for Compute Optimizer must be enabled in the organization account. For more information, see Compute Optimizer and Amazon Web Services Organizations trusted access in the Compute Optimizer User Guide. Recommendations for member accounts of the organization are not included in the export file if this parameter is omitted. This parameter cannot be specified together with the account IDs parameter. The parameters are mutually exclusive. Recommendations for member accounts are not included in the export if this parameter, or the account IDs parameter, is omitted.
|
|
393
442
|
*/
|
|
394
443
|
includeMemberAccounts?: IncludeMemberAccounts;
|
|
395
444
|
}
|
|
@@ -412,7 +461,7 @@ declare namespace ComputeOptimizer {
|
|
|
412
461
|
export type FileFormat = "Csv"|string;
|
|
413
462
|
export interface Filter {
|
|
414
463
|
/**
|
|
415
|
-
* The name of the filter. Specify Finding to return recommendations with a specific finding classification (
|
|
464
|
+
* The name of the filter. Specify Finding to return recommendations with a specific finding classification (for example, Underprovisioned). Specify RecommendationSourceType to return recommendations of a specific resource type (for example, Ec2Instance). Specify FindingReasonCodes to return recommendations with a specific finding reason code (for example, CPUUnderprovisioned).
|
|
416
465
|
*/
|
|
417
466
|
name?: FilterName;
|
|
418
467
|
/**
|
|
@@ -431,7 +480,7 @@ declare namespace ComputeOptimizer {
|
|
|
431
480
|
export type FunctionVersion = string;
|
|
432
481
|
export interface GetAutoScalingGroupRecommendationsRequest {
|
|
433
482
|
/**
|
|
434
|
-
* The ID of the
|
|
483
|
+
* The ID of the Amazon Web Services account for which to return Auto Scaling group recommendations. If your account is the management account of an organization, use this parameter to specify the member account for which you want to return Auto Scaling group recommendations. Only one account ID can be specified per request.
|
|
435
484
|
*/
|
|
436
485
|
accountIds?: AccountIds;
|
|
437
486
|
/**
|
|
@@ -443,13 +492,17 @@ declare namespace ComputeOptimizer {
|
|
|
443
492
|
*/
|
|
444
493
|
nextToken?: NextToken;
|
|
445
494
|
/**
|
|
446
|
-
* The maximum number of Auto Scaling group recommendations to return with a single request. To retrieve the remaining results, make another request with the returned
|
|
495
|
+
* The maximum number of Auto Scaling group recommendations to return with a single request. To retrieve the remaining results, make another request with the returned nextToken value.
|
|
447
496
|
*/
|
|
448
497
|
maxResults?: MaxResults;
|
|
449
498
|
/**
|
|
450
|
-
* An array of objects
|
|
499
|
+
* An array of objects to specify a filter that returns a more specific list of Auto Scaling group recommendations.
|
|
451
500
|
*/
|
|
452
501
|
filters?: Filters;
|
|
502
|
+
/**
|
|
503
|
+
* An object to specify the preferences for the Auto Scaling group recommendations to return in the response.
|
|
504
|
+
*/
|
|
505
|
+
recommendationPreferences?: RecommendationPreferences;
|
|
453
506
|
}
|
|
454
507
|
export interface GetAutoScalingGroupRecommendationsResponse {
|
|
455
508
|
/**
|
|
@@ -475,15 +528,15 @@ declare namespace ComputeOptimizer {
|
|
|
475
528
|
*/
|
|
476
529
|
nextToken?: NextToken;
|
|
477
530
|
/**
|
|
478
|
-
* The maximum number of volume recommendations to return with a single request. To retrieve the remaining results, make another request with the returned
|
|
531
|
+
* The maximum number of volume recommendations to return with a single request. To retrieve the remaining results, make another request with the returned nextToken value.
|
|
479
532
|
*/
|
|
480
533
|
maxResults?: MaxResults;
|
|
481
534
|
/**
|
|
482
|
-
* An array of objects
|
|
535
|
+
* An array of objects to specify a filter that returns a more specific list of volume recommendations.
|
|
483
536
|
*/
|
|
484
537
|
filters?: EBSFilters;
|
|
485
538
|
/**
|
|
486
|
-
* The ID of the
|
|
539
|
+
* The ID of the Amazon Web Services account for which to return volume recommendations. If your account is the management account of an organization, use this parameter to specify the member account for which you want to return volume recommendations. Only one account ID can be specified per request.
|
|
487
540
|
*/
|
|
488
541
|
accountIds?: AccountIds;
|
|
489
542
|
}
|
|
@@ -511,17 +564,21 @@ declare namespace ComputeOptimizer {
|
|
|
511
564
|
*/
|
|
512
565
|
nextToken?: NextToken;
|
|
513
566
|
/**
|
|
514
|
-
* The maximum number of instance recommendations to return with a single request. To retrieve the remaining results, make another request with the returned
|
|
567
|
+
* The maximum number of instance recommendations to return with a single request. To retrieve the remaining results, make another request with the returned nextToken value.
|
|
515
568
|
*/
|
|
516
569
|
maxResults?: MaxResults;
|
|
517
570
|
/**
|
|
518
|
-
* An array of objects
|
|
571
|
+
* An array of objects to specify a filter that returns a more specific list of instance recommendations.
|
|
519
572
|
*/
|
|
520
573
|
filters?: Filters;
|
|
521
574
|
/**
|
|
522
|
-
* The ID of the
|
|
575
|
+
* The ID of the Amazon Web Services account for which to return instance recommendations. If your account is the management account of an organization, use this parameter to specify the member account for which you want to return instance recommendations. Only one account ID can be specified per request.
|
|
523
576
|
*/
|
|
524
577
|
accountIds?: AccountIds;
|
|
578
|
+
/**
|
|
579
|
+
* An object to specify the preferences for the Amazon EC2 instance recommendations to return in the response.
|
|
580
|
+
*/
|
|
581
|
+
recommendationPreferences?: RecommendationPreferences;
|
|
525
582
|
}
|
|
526
583
|
export interface GetEC2InstanceRecommendationsResponse {
|
|
527
584
|
/**
|
|
@@ -551,17 +608,21 @@ declare namespace ComputeOptimizer {
|
|
|
551
608
|
*/
|
|
552
609
|
period: Period;
|
|
553
610
|
/**
|
|
554
|
-
* The
|
|
611
|
+
* The timestamp of the first projected metrics data point to return.
|
|
555
612
|
*/
|
|
556
613
|
startTime: Timestamp;
|
|
557
614
|
/**
|
|
558
|
-
* The
|
|
615
|
+
* The timestamp of the last projected metrics data point to return.
|
|
559
616
|
*/
|
|
560
617
|
endTime: Timestamp;
|
|
618
|
+
/**
|
|
619
|
+
* An object to specify the preferences for the Amazon EC2 recommendation projected metrics to return in the response.
|
|
620
|
+
*/
|
|
621
|
+
recommendationPreferences?: RecommendationPreferences;
|
|
561
622
|
}
|
|
562
623
|
export interface GetEC2RecommendationProjectedMetricsResponse {
|
|
563
624
|
/**
|
|
564
|
-
* An array of objects that
|
|
625
|
+
* An array of objects that describes projected metrics.
|
|
565
626
|
*/
|
|
566
627
|
recommendedOptionProjectedMetrics?: RecommendedOptionProjectedMetrics;
|
|
567
628
|
}
|
|
@@ -577,21 +638,53 @@ declare namespace ComputeOptimizer {
|
|
|
577
638
|
*/
|
|
578
639
|
statusReason?: StatusReason;
|
|
579
640
|
/**
|
|
580
|
-
* Confirms the enrollment status of member accounts
|
|
641
|
+
* Confirms the enrollment status of member accounts of the organization, if the account is a management account of an organization.
|
|
581
642
|
*/
|
|
582
643
|
memberAccountsEnrolled?: MemberAccountsEnrolled;
|
|
644
|
+
/**
|
|
645
|
+
* The Unix epoch timestamp, in seconds, of when the account enrollment status was last updated.
|
|
646
|
+
*/
|
|
647
|
+
lastUpdatedTimestamp?: LastUpdatedTimestamp;
|
|
648
|
+
/**
|
|
649
|
+
* The count of organization member accounts that are opted in to the service, if your account is an organization management account.
|
|
650
|
+
*/
|
|
651
|
+
numberOfMemberAccountsOptedIn?: NumberOfMemberAccountsOptedIn;
|
|
652
|
+
}
|
|
653
|
+
export interface GetEnrollmentStatusesForOrganizationRequest {
|
|
654
|
+
/**
|
|
655
|
+
* An array of objects to specify a filter that returns a more specific list of account enrollment statuses.
|
|
656
|
+
*/
|
|
657
|
+
filters?: EnrollmentFilters;
|
|
658
|
+
/**
|
|
659
|
+
* The token to advance to the next page of account enrollment statuses.
|
|
660
|
+
*/
|
|
661
|
+
nextToken?: NextToken;
|
|
662
|
+
/**
|
|
663
|
+
* The maximum number of account enrollment statuses to return with a single request. You can specify up to 100 statuses to return with each request. To retrieve the remaining results, make another request with the returned nextToken value.
|
|
664
|
+
*/
|
|
665
|
+
maxResults?: MaxResults;
|
|
666
|
+
}
|
|
667
|
+
export interface GetEnrollmentStatusesForOrganizationResponse {
|
|
668
|
+
/**
|
|
669
|
+
* An array of objects that describe the enrollment statuses of organization member accounts.
|
|
670
|
+
*/
|
|
671
|
+
accountEnrollmentStatuses?: AccountEnrollmentStatuses;
|
|
672
|
+
/**
|
|
673
|
+
* The token to use to advance to the next page of account enrollment statuses. This value is null when there are no more pages of account enrollment statuses to return.
|
|
674
|
+
*/
|
|
675
|
+
nextToken?: NextToken;
|
|
583
676
|
}
|
|
584
677
|
export interface GetLambdaFunctionRecommendationsRequest {
|
|
585
678
|
/**
|
|
586
|
-
* The Amazon Resource Name (ARN) of the functions for which to return recommendations. You can specify a qualified or unqualified ARN. If you specify an unqualified ARN without a function version suffix, Compute Optimizer will return recommendations for the latest ($LATEST) version of the function. If you specify a qualified ARN with a version suffix, Compute Optimizer will return recommendations for the specified function version. For more information about using function versions, see Using versions in the
|
|
679
|
+
* The Amazon Resource Name (ARN) of the functions for which to return recommendations. You can specify a qualified or unqualified ARN. If you specify an unqualified ARN without a function version suffix, Compute Optimizer will return recommendations for the latest ($LATEST) version of the function. If you specify a qualified ARN with a version suffix, Compute Optimizer will return recommendations for the specified function version. For more information about using function versions, see Using versions in the Lambda Developer Guide.
|
|
587
680
|
*/
|
|
588
681
|
functionArns?: FunctionArns;
|
|
589
682
|
/**
|
|
590
|
-
* The ID of the
|
|
683
|
+
* The ID of the Amazon Web Services account for which to return function recommendations. If your account is the management account of an organization, use this parameter to specify the member account for which you want to return function recommendations. Only one account ID can be specified per request.
|
|
591
684
|
*/
|
|
592
685
|
accountIds?: AccountIds;
|
|
593
686
|
/**
|
|
594
|
-
* An array of objects
|
|
687
|
+
* An array of objects to specify a filter that returns a more specific list of function recommendations.
|
|
595
688
|
*/
|
|
596
689
|
filters?: LambdaFunctionRecommendationFilters;
|
|
597
690
|
/**
|
|
@@ -599,7 +692,7 @@ declare namespace ComputeOptimizer {
|
|
|
599
692
|
*/
|
|
600
693
|
nextToken?: NextToken;
|
|
601
694
|
/**
|
|
602
|
-
* The maximum number of function recommendations to return with a single request. To retrieve the remaining results, make another request with the returned
|
|
695
|
+
* The maximum number of function recommendations to return with a single request. To retrieve the remaining results, make another request with the returned nextToken value.
|
|
603
696
|
*/
|
|
604
697
|
maxResults?: MaxResults;
|
|
605
698
|
}
|
|
@@ -630,7 +723,7 @@ declare namespace ComputeOptimizer {
|
|
|
630
723
|
export type GetRecommendationErrors = GetRecommendationError[];
|
|
631
724
|
export interface GetRecommendationSummariesRequest {
|
|
632
725
|
/**
|
|
633
|
-
* The ID of the
|
|
726
|
+
* The ID of the Amazon Web Services account for which to return recommendation summaries. If your account is the management account of an organization, use this parameter to specify the member account for which you want to return recommendation summaries. Only one account ID can be specified per request.
|
|
634
727
|
*/
|
|
635
728
|
accountIds?: AccountIds;
|
|
636
729
|
/**
|
|
@@ -638,7 +731,7 @@ declare namespace ComputeOptimizer {
|
|
|
638
731
|
*/
|
|
639
732
|
nextToken?: NextToken;
|
|
640
733
|
/**
|
|
641
|
-
* The maximum number of recommendation summaries to return with a single request. To retrieve the remaining results, make another request with the returned
|
|
734
|
+
* The maximum number of recommendation summaries to return with a single request. To retrieve the remaining results, make another request with the returned nextToken value.
|
|
642
735
|
*/
|
|
643
736
|
maxResults?: MaxResults;
|
|
644
737
|
}
|
|
@@ -663,7 +756,7 @@ declare namespace ComputeOptimizer {
|
|
|
663
756
|
*/
|
|
664
757
|
instanceArn?: InstanceArn;
|
|
665
758
|
/**
|
|
666
|
-
* The
|
|
759
|
+
* The Amazon Web Services account ID of the instance.
|
|
667
760
|
*/
|
|
668
761
|
accountId?: AccountId;
|
|
669
762
|
/**
|
|
@@ -675,11 +768,11 @@ declare namespace ComputeOptimizer {
|
|
|
675
768
|
*/
|
|
676
769
|
currentInstanceType?: CurrentInstanceType;
|
|
677
770
|
/**
|
|
678
|
-
* The finding classification of the instance. Findings for instances include: Underprovisioned —An instance is considered under-provisioned when at least one specification of your instance, such as CPU, memory, or network, does not meet the performance requirements of your workload. Under-provisioned instances may lead to poor application performance. Overprovisioned —An instance is considered over-provisioned when at least one specification of your instance, such as CPU, memory, or network, can be sized down while still meeting the performance requirements of your workload, and no specification is under-provisioned. Over-provisioned instances may lead to unnecessary infrastructure cost. Optimized —An instance is considered optimized when all specifications of your instance, such as CPU, memory, and network, meet the performance requirements of your workload and is not over provisioned. For optimized resources,
|
|
771
|
+
* The finding classification of the instance. Findings for instances include: Underprovisioned —An instance is considered under-provisioned when at least one specification of your instance, such as CPU, memory, or network, does not meet the performance requirements of your workload. Under-provisioned instances may lead to poor application performance. Overprovisioned —An instance is considered over-provisioned when at least one specification of your instance, such as CPU, memory, or network, can be sized down while still meeting the performance requirements of your workload, and no specification is under-provisioned. Over-provisioned instances may lead to unnecessary infrastructure cost. Optimized —An instance is considered optimized when all specifications of your instance, such as CPU, memory, and network, meet the performance requirements of your workload and is not over provisioned. For optimized resources, Compute Optimizer might recommend a new generation instance type.
|
|
679
772
|
*/
|
|
680
773
|
finding?: Finding;
|
|
681
774
|
/**
|
|
682
|
-
* The reason for the finding classification of the instance. Finding reason codes for instances include: CPUOverprovisioned — The instance’s CPU configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the CPUUtilization metric of the current instance during the look-back period. CPUUnderprovisioned — The instance’s CPU configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better CPU performance. This is identified by analyzing the CPUUtilization metric of the current instance during the look-back period. MemoryOverprovisioned — The instance’s memory configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the memory utilization metric of the current instance during the look-back period. MemoryUnderprovisioned — The instance’s memory configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better memory performance. This is identified by analyzing the memory utilization metric of the current instance during the look-back period. Memory utilization is analyzed only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling memory utilization with the Amazon CloudWatch Agent in the
|
|
775
|
+
* The reason for the finding classification of the instance. Finding reason codes for instances include: CPUOverprovisioned — The instance’s CPU configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the CPUUtilization metric of the current instance during the look-back period. CPUUnderprovisioned — The instance’s CPU configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better CPU performance. This is identified by analyzing the CPUUtilization metric of the current instance during the look-back period. MemoryOverprovisioned — The instance’s memory configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the memory utilization metric of the current instance during the look-back period. MemoryUnderprovisioned — The instance’s memory configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better memory performance. This is identified by analyzing the memory utilization metric of the current instance during the look-back period. Memory utilization is analyzed only for resources that have the unified CloudWatch agent installed on them. For more information, see Enabling memory utilization with the Amazon CloudWatch Agent in the Compute Optimizer User Guide. On Linux instances, Compute Optimizer analyses the mem_used_percent metric in the CWAgent namespace, or the legacy MemoryUtilization metric in the System/Linux namespace. On Windows instances, Compute Optimizer analyses the Memory % Committed Bytes In Use metric in the CWAgent namespace. EBSThroughputOverprovisioned — The instance’s EBS throughput configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the VolumeReadOps and VolumeWriteOps metrics of EBS volumes attached to the current instance during the look-back period. EBSThroughputUnderprovisioned — The instance’s EBS throughput configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better EBS throughput performance. This is identified by analyzing the VolumeReadOps and VolumeWriteOps metrics of EBS volumes attached to the current instance during the look-back period. EBSIOPSOverprovisioned — The instance’s EBS IOPS configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the VolumeReadBytes and VolumeWriteBytes metric of EBS volumes attached to the current instance during the look-back period. EBSIOPSUnderprovisioned — The instance’s EBS IOPS configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better EBS IOPS performance. This is identified by analyzing the VolumeReadBytes and VolumeWriteBytes metric of EBS volumes attached to the current instance during the look-back period. NetworkBandwidthOverprovisioned — The instance’s network bandwidth configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the NetworkIn and NetworkOut metrics of the current instance during the look-back period. NetworkBandwidthUnderprovisioned — The instance’s network bandwidth configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better network bandwidth performance. This is identified by analyzing the NetworkIn and NetworkOut metrics of the current instance during the look-back period. This finding reason happens when the NetworkIn or NetworkOut performance of an instance is impacted. NetworkPPSOverprovisioned — The instance’s network PPS (packets per second) configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the NetworkPacketsIn and NetworkPacketsIn metrics of the current instance during the look-back period. NetworkPPSUnderprovisioned — The instance’s network PPS (packets per second) configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better network PPS performance. This is identified by analyzing the NetworkPacketsIn and NetworkPacketsIn metrics of the current instance during the look-back period. DiskIOPSOverprovisioned — The instance’s disk IOPS configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the DiskReadOps and DiskWriteOps metrics of the current instance during the look-back period. DiskIOPSUnderprovisioned — The instance’s disk IOPS configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better disk IOPS performance. This is identified by analyzing the DiskReadOps and DiskWriteOps metrics of the current instance during the look-back period. DiskThroughputOverprovisioned — The instance’s disk throughput configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the DiskReadBytes and DiskWriteBytes metrics of the current instance during the look-back period. DiskThroughputUnderprovisioned — The instance’s disk throughput configuration doesn't meet the performance requirements of your workload and there is an alternative instance type that provides better disk throughput performance. This is identified by analyzing the DiskReadBytes and DiskWriteBytes metrics of the current instance during the look-back period. For more information about instance metrics, see List the available CloudWatch metrics for your instances in the Amazon Elastic Compute Cloud User Guide. For more information about EBS volume metrics, see Amazon CloudWatch metrics for Amazon EBS in the Amazon Elastic Compute Cloud User Guide.
|
|
683
776
|
*/
|
|
684
777
|
findingReasonCodes?: InstanceRecommendationFindingReasonCodes;
|
|
685
778
|
/**
|
|
@@ -699,7 +792,7 @@ declare namespace ComputeOptimizer {
|
|
|
699
792
|
*/
|
|
700
793
|
recommendationSources?: RecommendationSources;
|
|
701
794
|
/**
|
|
702
|
-
* The
|
|
795
|
+
* The timestamp of when the instance recommendation was last refreshed.
|
|
703
796
|
*/
|
|
704
797
|
lastRefreshTimestamp?: LastRefreshTimestamp;
|
|
705
798
|
}
|
|
@@ -715,7 +808,7 @@ declare namespace ComputeOptimizer {
|
|
|
715
808
|
*/
|
|
716
809
|
projectedUtilizationMetrics?: ProjectedUtilizationMetrics;
|
|
717
810
|
/**
|
|
718
|
-
* Describes the configuration differences between the current instance and the recommended instance type. You should consider the configuration differences before migrating your workloads from the current instance to the recommended instance type. The Change the instance type guide for Linux and Change the instance type guide for Windows provide general guidance for getting started with an instance migration. Platform differences include: Hypervisor — The hypervisor of the recommended instance type is different than that of the current instance. For example, the recommended instance type uses a Nitro hypervisor and the current instance uses a Xen hypervisor. The differences that you should consider between these hypervisors are covered in the Nitro Hypervisor section of the Amazon EC2 frequently asked questions. For more information, see Instances built on the Nitro System in the Amazon EC2 User Guide for Linux, or Instances built on the Nitro System in the Amazon EC2 User Guide for Windows. NetworkInterface — The network interface of the recommended instance type is different than that of the current instance. For example, the recommended instance type supports enhanced networking and the current instance might not. To enable enhanced networking for the recommended instance type, you
|
|
811
|
+
* Describes the configuration differences between the current instance and the recommended instance type. You should consider the configuration differences before migrating your workloads from the current instance to the recommended instance type. The Change the instance type guide for Linux and Change the instance type guide for Windows provide general guidance for getting started with an instance migration. Platform differences include: Hypervisor — The hypervisor of the recommended instance type is different than that of the current instance. For example, the recommended instance type uses a Nitro hypervisor and the current instance uses a Xen hypervisor. The differences that you should consider between these hypervisors are covered in the Nitro Hypervisor section of the Amazon EC2 frequently asked questions. For more information, see Instances built on the Nitro System in the Amazon EC2 User Guide for Linux, or Instances built on the Nitro System in the Amazon EC2 User Guide for Windows. NetworkInterface — The network interface of the recommended instance type is different than that of the current instance. For example, the recommended instance type supports enhanced networking and the current instance might not. To enable enhanced networking for the recommended instance type, you must install the Elastic Network Adapter (ENA) driver or the Intel 82599 Virtual Function driver. For more information, see Networking and storage features and Enhanced networking on Linux in the Amazon EC2 User Guide for Linux, or Networking and storage features and Enhanced networking on Windows in the Amazon EC2 User Guide for Windows. StorageInterface — The storage interface of the recommended instance type is different than that of the current instance. For example, the recommended instance type uses an NVMe storage interface and the current instance does not. To access NVMe volumes for the recommended instance type, you will need to install or upgrade the NVMe driver. For more information, see Networking and storage features and Amazon EBS and NVMe on Linux instances in the Amazon EC2 User Guide for Linux, or Networking and storage features and Amazon EBS and NVMe on Windows instances in the Amazon EC2 User Guide for Windows. InstanceStoreAvailability — The recommended instance type does not support instance store volumes and the current instance does. Before migrating, you might need to back up the data on your instance store volumes if you want to preserve them. For more information, see How do I back up an instance store volume on my Amazon EC2 instance to Amazon EBS? in the Amazon Web Services Premium Support Knowledge Base. For more information, see Networking and storage features and Amazon EC2 instance store in the Amazon EC2 User Guide for Linux, or see Networking and storage features and Amazon EC2 instance store in the Amazon EC2 User Guide for Windows. VirtualizationType — The recommended instance type uses the hardware virtual machine (HVM) virtualization type and the current instance uses the paravirtual (PV) virtualization type. For more information about the differences between these virtualization types, see Linux AMI virtualization types in the Amazon EC2 User Guide for Linux, or Windows AMI virtualization types in the Amazon EC2 User Guide for Windows. Architecture — The CPU architecture between the recommended instance type and the current instance is different. For example, the recommended instance type might use an Arm CPU architecture and the current instance type might use a different one, such as x86. Before migrating, you should consider recompiling the software on your instance for the new architecture. Alternatively, you might switch to an Amazon Machine Image (AMI) that supports the new architecture. For more information about the CPU architecture for each instance type, see Amazon EC2 Instance Types.
|
|
719
812
|
*/
|
|
720
813
|
platformDifferences?: PlatformDifferences;
|
|
721
814
|
/**
|
|
@@ -731,7 +824,7 @@ declare namespace ComputeOptimizer {
|
|
|
731
824
|
export type InstanceType = string;
|
|
732
825
|
export interface JobFilter {
|
|
733
826
|
/**
|
|
734
|
-
* The name of the filter. Specify ResourceType to return export jobs of a specific resource type (
|
|
827
|
+
* The name of the filter. Specify ResourceType to return export jobs of a specific resource type (for example, Ec2Instance). Specify JobStatus to return export jobs with a specific status (e.g, Complete).
|
|
735
828
|
*/
|
|
736
829
|
name?: JobFilterName;
|
|
737
830
|
/**
|
|
@@ -788,7 +881,7 @@ declare namespace ComputeOptimizer {
|
|
|
788
881
|
*/
|
|
789
882
|
functionVersion?: FunctionVersion;
|
|
790
883
|
/**
|
|
791
|
-
* The
|
|
884
|
+
* The Amazon Web Services account ID of the function.
|
|
792
885
|
*/
|
|
793
886
|
accountId?: AccountId;
|
|
794
887
|
/**
|
|
@@ -796,7 +889,7 @@ declare namespace ComputeOptimizer {
|
|
|
796
889
|
*/
|
|
797
890
|
currentMemorySize?: MemorySize;
|
|
798
891
|
/**
|
|
799
|
-
* The number of times your function code was
|
|
892
|
+
* The number of times your function code was applied during the look-back period.
|
|
800
893
|
*/
|
|
801
894
|
numberOfInvocations?: NumberOfInvocations;
|
|
802
895
|
/**
|
|
@@ -808,7 +901,7 @@ declare namespace ComputeOptimizer {
|
|
|
808
901
|
*/
|
|
809
902
|
lookbackPeriodInDays?: LookBackPeriodInDays;
|
|
810
903
|
/**
|
|
811
|
-
* The
|
|
904
|
+
* The timestamp of when the function recommendation was last refreshed.
|
|
812
905
|
*/
|
|
813
906
|
lastRefreshTimestamp?: LastRefreshTimestamp;
|
|
814
907
|
/**
|
|
@@ -816,7 +909,7 @@ declare namespace ComputeOptimizer {
|
|
|
816
909
|
*/
|
|
817
910
|
finding?: LambdaFunctionRecommendationFinding;
|
|
818
911
|
/**
|
|
819
|
-
* The reason for the finding classification of the function. Functions that have a finding classification of Optimized don't have a finding reason code. Finding reason codes for functions include: MemoryOverprovisioned — The function is over-provisioned when its memory configuration can be sized down while still meeting the performance requirements of your workload. An over-provisioned function might lead to unnecessary infrastructure cost. This finding reason code is part of the NotOptimized finding classification. MemoryUnderprovisioned — The function is under-provisioned when its memory configuration doesn't meet the performance requirements of the workload. An under-provisioned function might lead to poor application performance. This finding reason code is part of the NotOptimized finding classification. InsufficientData — The function does not have sufficient metric data for Compute Optimizer to generate a recommendation. For more information, see the Supported resources and requirements in the
|
|
912
|
+
* The reason for the finding classification of the function. Functions that have a finding classification of Optimized don't have a finding reason code. Finding reason codes for functions include: MemoryOverprovisioned — The function is over-provisioned when its memory configuration can be sized down while still meeting the performance requirements of your workload. An over-provisioned function might lead to unnecessary infrastructure cost. This finding reason code is part of the NotOptimized finding classification. MemoryUnderprovisioned — The function is under-provisioned when its memory configuration doesn't meet the performance requirements of the workload. An under-provisioned function might lead to poor application performance. This finding reason code is part of the NotOptimized finding classification. InsufficientData — The function does not have sufficient metric data for Compute Optimizer to generate a recommendation. For more information, see the Supported resources and requirements in the Compute Optimizer User Guide. This finding reason code is part of the Unavailable finding classification. Inconclusive — The function does not qualify for a recommendation because Compute Optimizer cannot generate a recommendation with a high degree of confidence. This finding reason code is part of the Unavailable finding classification.
|
|
820
913
|
*/
|
|
821
914
|
findingReasonCodes?: LambdaFunctionRecommendationFindingReasonCodes;
|
|
822
915
|
/**
|
|
@@ -826,7 +919,7 @@ declare namespace ComputeOptimizer {
|
|
|
826
919
|
}
|
|
827
920
|
export interface LambdaFunctionRecommendationFilter {
|
|
828
921
|
/**
|
|
829
|
-
* The name of the filter. Specify Finding to return recommendations with a specific finding classification (
|
|
922
|
+
* The name of the filter. Specify Finding to return recommendations with a specific finding classification (for example, NotOptimized). Specify FindingReasonCode to return recommendations with a specific finding reason code (for example, MemoryUnderprovisioned).
|
|
830
923
|
*/
|
|
831
924
|
name?: LambdaFunctionRecommendationFilterName;
|
|
832
925
|
/**
|
|
@@ -846,7 +939,7 @@ declare namespace ComputeOptimizer {
|
|
|
846
939
|
*/
|
|
847
940
|
name?: LambdaFunctionMetricName;
|
|
848
941
|
/**
|
|
849
|
-
* The statistic of the utilization metric. The Compute Optimizer API,
|
|
942
|
+
* The statistic of the utilization metric. The Compute Optimizer API, Command Line Interface (CLI), and SDKs return utilization metrics using only the Maximum statistic, which is the highest value observed during the specified period. The Compute Optimizer console displays graphs for some utilization metrics using the Average statistic, which is the value of Sum / SampleCount during the specified period. For more information, see Viewing resource recommendations in the Compute Optimizer User Guide. You can also get averaged utilization metric data for your resources using Amazon CloudWatch. For more information, see the Amazon CloudWatch User Guide.
|
|
850
943
|
*/
|
|
851
944
|
statistic?: LambdaFunctionMetricStatistic;
|
|
852
945
|
/**
|
|
@@ -871,9 +964,10 @@ declare namespace ComputeOptimizer {
|
|
|
871
964
|
export type MinSize = number;
|
|
872
965
|
export type NextToken = string;
|
|
873
966
|
export type NumberOfInvocations = number;
|
|
967
|
+
export type NumberOfMemberAccountsOptedIn = number;
|
|
874
968
|
export type PerformanceRisk = number;
|
|
875
969
|
export type Period = number;
|
|
876
|
-
export type PlatformDifference = "Hypervisor"|"NetworkInterface"|"StorageInterface"|"InstanceStoreAvailability"|"VirtualizationType"|string;
|
|
970
|
+
export type PlatformDifference = "Hypervisor"|"NetworkInterface"|"StorageInterface"|"InstanceStoreAvailability"|"VirtualizationType"|"Architecture"|string;
|
|
877
971
|
export type PlatformDifferences = PlatformDifference[];
|
|
878
972
|
export interface ProjectedMetric {
|
|
879
973
|
/**
|
|
@@ -881,7 +975,7 @@ declare namespace ComputeOptimizer {
|
|
|
881
975
|
*/
|
|
882
976
|
name?: MetricName;
|
|
883
977
|
/**
|
|
884
|
-
* The
|
|
978
|
+
* The timestamps of the projected utilization metric.
|
|
885
979
|
*/
|
|
886
980
|
timestamps?: Timestamps;
|
|
887
981
|
/**
|
|
@@ -935,6 +1029,12 @@ declare namespace ComputeOptimizer {
|
|
|
935
1029
|
}
|
|
936
1030
|
export type RecommendationExportJobs = RecommendationExportJob[];
|
|
937
1031
|
export type RecommendationOptions = InstanceRecommendationOption[];
|
|
1032
|
+
export interface RecommendationPreferences {
|
|
1033
|
+
/**
|
|
1034
|
+
* Specifies the CPU vendor and architecture for Amazon EC2 instance and Auto Scaling group recommendations. For example, when you specify AWS_ARM64 with: A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations request, Compute Optimizer returns recommendations that consist of Graviton2 instance types only. A GetEC2RecommendationProjectedMetrics request, Compute Optimizer returns projected utilization metrics for Graviton2 instance type recommendations only. A ExportEC2InstanceRecommendations or ExportAutoScalingGroupRecommendations request, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.
|
|
1035
|
+
*/
|
|
1036
|
+
cpuVendorArchitectures?: CpuVendorArchitectures;
|
|
1037
|
+
}
|
|
938
1038
|
export interface RecommendationSource {
|
|
939
1039
|
/**
|
|
940
1040
|
* The Amazon Resource Name (ARN) of the recommendation source.
|
|
@@ -959,7 +1059,7 @@ declare namespace ComputeOptimizer {
|
|
|
959
1059
|
*/
|
|
960
1060
|
recommendationResourceType?: RecommendationSourceType;
|
|
961
1061
|
/**
|
|
962
|
-
* The
|
|
1062
|
+
* The Amazon Web Services account ID of the recommendation summary.
|
|
963
1063
|
*/
|
|
964
1064
|
accountId?: AccountId;
|
|
965
1065
|
}
|
|
@@ -1026,7 +1126,7 @@ declare namespace ComputeOptimizer {
|
|
|
1026
1126
|
export type Timestamps = Timestamp[];
|
|
1027
1127
|
export interface UpdateEnrollmentStatusRequest {
|
|
1028
1128
|
/**
|
|
1029
|
-
* The new enrollment status of the account. The following status options are available: Active - Opts in your account to the Compute Optimizer service. Compute Optimizer begins analyzing the configuration and utilization metrics of your
|
|
1129
|
+
* The new enrollment status of the account. The following status options are available: Active - Opts in your account to the Compute Optimizer service. Compute Optimizer begins analyzing the configuration and utilization metrics of your Amazon Web Services resources after you opt in. For more information, see Metrics analyzed by Compute Optimizer in the Compute Optimizer User Guide. Inactive - Opts out your account from the Compute Optimizer service. Your account's recommendations and related metrics data will be deleted from Compute Optimizer after you opt out. The Pending and Failed options cannot be used to update the enrollment status of an account. They are returned in the response of a request to update the enrollment status of an account.
|
|
1030
1130
|
*/
|
|
1031
1131
|
status: Status;
|
|
1032
1132
|
/**
|
|
@@ -1050,7 +1150,7 @@ declare namespace ComputeOptimizer {
|
|
|
1050
1150
|
*/
|
|
1051
1151
|
name?: MetricName;
|
|
1052
1152
|
/**
|
|
1053
|
-
* The statistic of the utilization metric. The Compute Optimizer API,
|
|
1153
|
+
* The statistic of the utilization metric. The Compute Optimizer API, Command Line Interface (CLI), and SDKs return utilization metrics using only the Maximum statistic, which is the highest value observed during the specified period. The Compute Optimizer console displays graphs for some utilization metrics using the Average statistic, which is the value of Sum / SampleCount during the specified period. For more information, see Viewing resource recommendations in the Compute Optimizer User Guide. You can also get averaged utilization metric data for your resources using Amazon CloudWatch. For more information, see the Amazon CloudWatch User Guide.
|
|
1054
1154
|
*/
|
|
1055
1155
|
statistic?: MetricStatistic;
|
|
1056
1156
|
/**
|
|
@@ -1097,7 +1197,7 @@ declare namespace ComputeOptimizer {
|
|
|
1097
1197
|
*/
|
|
1098
1198
|
volumeArn?: VolumeArn;
|
|
1099
1199
|
/**
|
|
1100
|
-
* The
|
|
1200
|
+
* The Amazon Web Services account ID of the volume.
|
|
1101
1201
|
*/
|
|
1102
1202
|
accountId?: AccountId;
|
|
1103
1203
|
/**
|
|
@@ -1105,7 +1205,7 @@ declare namespace ComputeOptimizer {
|
|
|
1105
1205
|
*/
|
|
1106
1206
|
currentConfiguration?: VolumeConfiguration;
|
|
1107
1207
|
/**
|
|
1108
|
-
* The finding classification of the volume. Findings for volumes include: NotOptimized —A volume is considered not optimized when
|
|
1208
|
+
* The finding classification of the volume. Findings for volumes include: NotOptimized —A volume is considered not optimized when Compute Optimizer identifies a recommendation that can provide better performance for your workload. Optimized —An volume is considered optimized when Compute Optimizer determines that the volume is correctly provisioned to run your workload based on the chosen volume type. For optimized resources, Compute Optimizer might recommend a new generation volume type.
|
|
1109
1209
|
*/
|
|
1110
1210
|
finding?: EBSFinding;
|
|
1111
1211
|
/**
|
|
@@ -1121,7 +1221,7 @@ declare namespace ComputeOptimizer {
|
|
|
1121
1221
|
*/
|
|
1122
1222
|
volumeRecommendationOptions?: VolumeRecommendationOptions;
|
|
1123
1223
|
/**
|
|
1124
|
-
* The
|
|
1224
|
+
* The timestamp of when the volume recommendation was last refreshed.
|
|
1125
1225
|
*/
|
|
1126
1226
|
lastRefreshTimestamp?: LastRefreshTimestamp;
|
|
1127
1227
|
}
|