aws-sdk-computeoptimizer 1.26.0 → 1.27.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-computeoptimizer/client.rb +291 -10
- data/lib/aws-sdk-computeoptimizer/client_api.rb +166 -0
- data/lib/aws-sdk-computeoptimizer/types.rb +625 -23
- data/lib/aws-sdk-computeoptimizer.rb +2 -2
- metadata +2 -2
@@ -30,7 +30,12 @@ module Aws::ComputeOptimizer
|
|
30
30
|
CpuVendorArchitecture = Shapes::StringShape.new(name: 'CpuVendorArchitecture')
|
31
31
|
CpuVendorArchitectures = Shapes::ListShape.new(name: 'CpuVendorArchitectures')
|
32
32
|
CreationTimestamp = Shapes::TimestampShape.new(name: 'CreationTimestamp')
|
33
|
+
Currency = Shapes::StringShape.new(name: 'Currency')
|
33
34
|
CurrentInstanceType = Shapes::StringShape.new(name: 'CurrentInstanceType')
|
35
|
+
CurrentPerformanceRisk = Shapes::StringShape.new(name: 'CurrentPerformanceRisk')
|
36
|
+
CurrentPerformanceRiskRatings = Shapes::StructureShape.new(name: 'CurrentPerformanceRiskRatings')
|
37
|
+
DeleteRecommendationPreferencesRequest = Shapes::StructureShape.new(name: 'DeleteRecommendationPreferencesRequest')
|
38
|
+
DeleteRecommendationPreferencesResponse = Shapes::StructureShape.new(name: 'DeleteRecommendationPreferencesResponse')
|
34
39
|
DescribeRecommendationExportJobsRequest = Shapes::StructureShape.new(name: 'DescribeRecommendationExportJobsRequest')
|
35
40
|
DescribeRecommendationExportJobsResponse = Shapes::StructureShape.new(name: 'DescribeRecommendationExportJobsResponse')
|
36
41
|
DesiredCapacity = Shapes::IntegerShape.new(name: 'DesiredCapacity')
|
@@ -44,10 +49,13 @@ module Aws::ComputeOptimizer
|
|
44
49
|
EBSMetricName = Shapes::StringShape.new(name: 'EBSMetricName')
|
45
50
|
EBSUtilizationMetric = Shapes::StructureShape.new(name: 'EBSUtilizationMetric')
|
46
51
|
EBSUtilizationMetrics = Shapes::ListShape.new(name: 'EBSUtilizationMetrics')
|
52
|
+
EffectiveRecommendationPreferences = Shapes::StructureShape.new(name: 'EffectiveRecommendationPreferences')
|
53
|
+
EnhancedInfrastructureMetrics = Shapes::StringShape.new(name: 'EnhancedInfrastructureMetrics')
|
47
54
|
EnrollmentFilter = Shapes::StructureShape.new(name: 'EnrollmentFilter')
|
48
55
|
EnrollmentFilterName = Shapes::StringShape.new(name: 'EnrollmentFilterName')
|
49
56
|
EnrollmentFilters = Shapes::ListShape.new(name: 'EnrollmentFilters')
|
50
57
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
58
|
+
EstimatedMonthlySavings = Shapes::StructureShape.new(name: 'EstimatedMonthlySavings')
|
51
59
|
ExportAutoScalingGroupRecommendationsRequest = Shapes::StructureShape.new(name: 'ExportAutoScalingGroupRecommendationsRequest')
|
52
60
|
ExportAutoScalingGroupRecommendationsResponse = Shapes::StructureShape.new(name: 'ExportAutoScalingGroupRecommendationsResponse')
|
53
61
|
ExportDestination = Shapes::StructureShape.new(name: 'ExportDestination')
|
@@ -85,6 +93,8 @@ module Aws::ComputeOptimizer
|
|
85
93
|
GetEC2InstanceRecommendationsResponse = Shapes::StructureShape.new(name: 'GetEC2InstanceRecommendationsResponse')
|
86
94
|
GetEC2RecommendationProjectedMetricsRequest = Shapes::StructureShape.new(name: 'GetEC2RecommendationProjectedMetricsRequest')
|
87
95
|
GetEC2RecommendationProjectedMetricsResponse = Shapes::StructureShape.new(name: 'GetEC2RecommendationProjectedMetricsResponse')
|
96
|
+
GetEffectiveRecommendationPreferencesRequest = Shapes::StructureShape.new(name: 'GetEffectiveRecommendationPreferencesRequest')
|
97
|
+
GetEffectiveRecommendationPreferencesResponse = Shapes::StructureShape.new(name: 'GetEffectiveRecommendationPreferencesResponse')
|
88
98
|
GetEnrollmentStatusRequest = Shapes::StructureShape.new(name: 'GetEnrollmentStatusRequest')
|
89
99
|
GetEnrollmentStatusResponse = Shapes::StructureShape.new(name: 'GetEnrollmentStatusResponse')
|
90
100
|
GetEnrollmentStatusesForOrganizationRequest = Shapes::StructureShape.new(name: 'GetEnrollmentStatusesForOrganizationRequest')
|
@@ -93,8 +103,11 @@ module Aws::ComputeOptimizer
|
|
93
103
|
GetLambdaFunctionRecommendationsResponse = Shapes::StructureShape.new(name: 'GetLambdaFunctionRecommendationsResponse')
|
94
104
|
GetRecommendationError = Shapes::StructureShape.new(name: 'GetRecommendationError')
|
95
105
|
GetRecommendationErrors = Shapes::ListShape.new(name: 'GetRecommendationErrors')
|
106
|
+
GetRecommendationPreferencesRequest = Shapes::StructureShape.new(name: 'GetRecommendationPreferencesRequest')
|
107
|
+
GetRecommendationPreferencesResponse = Shapes::StructureShape.new(name: 'GetRecommendationPreferencesResponse')
|
96
108
|
GetRecommendationSummariesRequest = Shapes::StructureShape.new(name: 'GetRecommendationSummariesRequest')
|
97
109
|
GetRecommendationSummariesResponse = Shapes::StructureShape.new(name: 'GetRecommendationSummariesResponse')
|
110
|
+
High = Shapes::IntegerShape.new(name: 'High')
|
98
111
|
Identifier = Shapes::StringShape.new(name: 'Identifier')
|
99
112
|
IncludeMemberAccounts = Shapes::BooleanShape.new(name: 'IncludeMemberAccounts')
|
100
113
|
InstanceArn = Shapes::StringShape.new(name: 'InstanceArn')
|
@@ -136,8 +149,10 @@ module Aws::ComputeOptimizer
|
|
136
149
|
LastUpdatedTimestamp = Shapes::TimestampShape.new(name: 'LastUpdatedTimestamp')
|
137
150
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
138
151
|
LookBackPeriodInDays = Shapes::FloatShape.new(name: 'LookBackPeriodInDays')
|
152
|
+
Low = Shapes::IntegerShape.new(name: 'Low')
|
139
153
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
140
154
|
MaxSize = Shapes::IntegerShape.new(name: 'MaxSize')
|
155
|
+
Medium = Shapes::IntegerShape.new(name: 'Medium')
|
141
156
|
MemberAccountsEnrolled = Shapes::BooleanShape.new(name: 'MemberAccountsEnrolled')
|
142
157
|
MemorySize = Shapes::IntegerShape.new(name: 'MemorySize')
|
143
158
|
Message = Shapes::StringShape.new(name: 'Message')
|
@@ -159,13 +174,19 @@ module Aws::ComputeOptimizer
|
|
159
174
|
ProjectedMetric = Shapes::StructureShape.new(name: 'ProjectedMetric')
|
160
175
|
ProjectedMetrics = Shapes::ListShape.new(name: 'ProjectedMetrics')
|
161
176
|
ProjectedUtilizationMetrics = Shapes::ListShape.new(name: 'ProjectedUtilizationMetrics')
|
177
|
+
PutRecommendationPreferencesRequest = Shapes::StructureShape.new(name: 'PutRecommendationPreferencesRequest')
|
178
|
+
PutRecommendationPreferencesResponse = Shapes::StructureShape.new(name: 'PutRecommendationPreferencesResponse')
|
162
179
|
Rank = Shapes::IntegerShape.new(name: 'Rank')
|
163
180
|
ReasonCodeSummaries = Shapes::ListShape.new(name: 'ReasonCodeSummaries')
|
164
181
|
ReasonCodeSummary = Shapes::StructureShape.new(name: 'ReasonCodeSummary')
|
165
182
|
RecommendationExportJob = Shapes::StructureShape.new(name: 'RecommendationExportJob')
|
166
183
|
RecommendationExportJobs = Shapes::ListShape.new(name: 'RecommendationExportJobs')
|
167
184
|
RecommendationOptions = Shapes::ListShape.new(name: 'RecommendationOptions')
|
185
|
+
RecommendationPreferenceName = Shapes::StringShape.new(name: 'RecommendationPreferenceName')
|
186
|
+
RecommendationPreferenceNames = Shapes::ListShape.new(name: 'RecommendationPreferenceNames')
|
168
187
|
RecommendationPreferences = Shapes::StructureShape.new(name: 'RecommendationPreferences')
|
188
|
+
RecommendationPreferencesDetail = Shapes::StructureShape.new(name: 'RecommendationPreferencesDetail')
|
189
|
+
RecommendationPreferencesDetails = Shapes::ListShape.new(name: 'RecommendationPreferencesDetails')
|
169
190
|
RecommendationSource = Shapes::StructureShape.new(name: 'RecommendationSource')
|
170
191
|
RecommendationSourceArn = Shapes::StringShape.new(name: 'RecommendationSourceArn')
|
171
192
|
RecommendationSourceType = Shapes::StringShape.new(name: 'RecommendationSourceType')
|
@@ -175,10 +196,16 @@ module Aws::ComputeOptimizer
|
|
175
196
|
RecommendedInstanceType = Shapes::StringShape.new(name: 'RecommendedInstanceType')
|
176
197
|
RecommendedOptionProjectedMetric = Shapes::StructureShape.new(name: 'RecommendedOptionProjectedMetric')
|
177
198
|
RecommendedOptionProjectedMetrics = Shapes::ListShape.new(name: 'RecommendedOptionProjectedMetrics')
|
199
|
+
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
178
200
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
179
201
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
180
202
|
S3Destination = Shapes::StructureShape.new(name: 'S3Destination')
|
181
203
|
S3DestinationConfig = Shapes::StructureShape.new(name: 'S3DestinationConfig')
|
204
|
+
SavingsOpportunity = Shapes::StructureShape.new(name: 'SavingsOpportunity')
|
205
|
+
SavingsOpportunityPercentage = Shapes::FloatShape.new(name: 'SavingsOpportunityPercentage')
|
206
|
+
Scope = Shapes::StructureShape.new(name: 'Scope')
|
207
|
+
ScopeName = Shapes::StringShape.new(name: 'ScopeName')
|
208
|
+
ScopeValue = Shapes::StringShape.new(name: 'ScopeValue')
|
182
209
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
183
210
|
Status = Shapes::StringShape.new(name: 'Status')
|
184
211
|
StatusReason = Shapes::StringShape.new(name: 'StatusReason')
|
@@ -192,6 +219,8 @@ module Aws::ComputeOptimizer
|
|
192
219
|
UpdateEnrollmentStatusResponse = Shapes::StructureShape.new(name: 'UpdateEnrollmentStatusResponse')
|
193
220
|
UtilizationMetric = Shapes::StructureShape.new(name: 'UtilizationMetric')
|
194
221
|
UtilizationMetrics = Shapes::ListShape.new(name: 'UtilizationMetrics')
|
222
|
+
Value = Shapes::FloatShape.new(name: 'Value')
|
223
|
+
VeryLow = Shapes::IntegerShape.new(name: 'VeryLow')
|
195
224
|
VolumeArn = Shapes::StringShape.new(name: 'VolumeArn')
|
196
225
|
VolumeArns = Shapes::ListShape.new(name: 'VolumeArns')
|
197
226
|
VolumeBaselineIOPS = Shapes::IntegerShape.new(name: 'VolumeBaselineIOPS')
|
@@ -236,12 +265,15 @@ module Aws::ComputeOptimizer
|
|
236
265
|
AutoScalingGroupRecommendation.add_member(:current_configuration, Shapes::ShapeRef.new(shape: AutoScalingGroupConfiguration, location_name: "currentConfiguration"))
|
237
266
|
AutoScalingGroupRecommendation.add_member(:recommendation_options, Shapes::ShapeRef.new(shape: AutoScalingGroupRecommendationOptions, location_name: "recommendationOptions"))
|
238
267
|
AutoScalingGroupRecommendation.add_member(:last_refresh_timestamp, Shapes::ShapeRef.new(shape: LastRefreshTimestamp, location_name: "lastRefreshTimestamp"))
|
268
|
+
AutoScalingGroupRecommendation.add_member(:current_performance_risk, Shapes::ShapeRef.new(shape: CurrentPerformanceRisk, location_name: "currentPerformanceRisk"))
|
269
|
+
AutoScalingGroupRecommendation.add_member(:effective_recommendation_preferences, Shapes::ShapeRef.new(shape: EffectiveRecommendationPreferences, location_name: "effectiveRecommendationPreferences"))
|
239
270
|
AutoScalingGroupRecommendation.struct_class = Types::AutoScalingGroupRecommendation
|
240
271
|
|
241
272
|
AutoScalingGroupRecommendationOption.add_member(:configuration, Shapes::ShapeRef.new(shape: AutoScalingGroupConfiguration, location_name: "configuration"))
|
242
273
|
AutoScalingGroupRecommendationOption.add_member(:projected_utilization_metrics, Shapes::ShapeRef.new(shape: ProjectedUtilizationMetrics, location_name: "projectedUtilizationMetrics"))
|
243
274
|
AutoScalingGroupRecommendationOption.add_member(:performance_risk, Shapes::ShapeRef.new(shape: PerformanceRisk, location_name: "performanceRisk"))
|
244
275
|
AutoScalingGroupRecommendationOption.add_member(:rank, Shapes::ShapeRef.new(shape: Rank, location_name: "rank"))
|
276
|
+
AutoScalingGroupRecommendationOption.add_member(:savings_opportunity, Shapes::ShapeRef.new(shape: SavingsOpportunity, location_name: "savingsOpportunity"))
|
245
277
|
AutoScalingGroupRecommendationOption.struct_class = Types::AutoScalingGroupRecommendationOption
|
246
278
|
|
247
279
|
AutoScalingGroupRecommendationOptions.member = Shapes::ShapeRef.new(shape: AutoScalingGroupRecommendationOption)
|
@@ -250,6 +282,19 @@ module Aws::ComputeOptimizer
|
|
250
282
|
|
251
283
|
CpuVendorArchitectures.member = Shapes::ShapeRef.new(shape: CpuVendorArchitecture)
|
252
284
|
|
285
|
+
CurrentPerformanceRiskRatings.add_member(:high, Shapes::ShapeRef.new(shape: High, location_name: "high"))
|
286
|
+
CurrentPerformanceRiskRatings.add_member(:medium, Shapes::ShapeRef.new(shape: Medium, location_name: "medium"))
|
287
|
+
CurrentPerformanceRiskRatings.add_member(:low, Shapes::ShapeRef.new(shape: Low, location_name: "low"))
|
288
|
+
CurrentPerformanceRiskRatings.add_member(:very_low, Shapes::ShapeRef.new(shape: VeryLow, location_name: "veryLow"))
|
289
|
+
CurrentPerformanceRiskRatings.struct_class = Types::CurrentPerformanceRiskRatings
|
290
|
+
|
291
|
+
DeleteRecommendationPreferencesRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "resourceType"))
|
292
|
+
DeleteRecommendationPreferencesRequest.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, location_name: "scope"))
|
293
|
+
DeleteRecommendationPreferencesRequest.add_member(:recommendation_preference_names, Shapes::ShapeRef.new(shape: RecommendationPreferenceNames, required: true, location_name: "recommendationPreferenceNames"))
|
294
|
+
DeleteRecommendationPreferencesRequest.struct_class = Types::DeleteRecommendationPreferencesRequest
|
295
|
+
|
296
|
+
DeleteRecommendationPreferencesResponse.struct_class = Types::DeleteRecommendationPreferencesResponse
|
297
|
+
|
253
298
|
DescribeRecommendationExportJobsRequest.add_member(:job_ids, Shapes::ShapeRef.new(shape: JobIds, location_name: "jobIds"))
|
254
299
|
DescribeRecommendationExportJobsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: JobFilters, location_name: "filters"))
|
255
300
|
DescribeRecommendationExportJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
@@ -273,12 +318,20 @@ module Aws::ComputeOptimizer
|
|
273
318
|
|
274
319
|
EBSUtilizationMetrics.member = Shapes::ShapeRef.new(shape: EBSUtilizationMetric)
|
275
320
|
|
321
|
+
EffectiveRecommendationPreferences.add_member(:cpu_vendor_architectures, Shapes::ShapeRef.new(shape: CpuVendorArchitectures, location_name: "cpuVendorArchitectures"))
|
322
|
+
EffectiveRecommendationPreferences.add_member(:enhanced_infrastructure_metrics, Shapes::ShapeRef.new(shape: EnhancedInfrastructureMetrics, location_name: "enhancedInfrastructureMetrics"))
|
323
|
+
EffectiveRecommendationPreferences.struct_class = Types::EffectiveRecommendationPreferences
|
324
|
+
|
276
325
|
EnrollmentFilter.add_member(:name, Shapes::ShapeRef.new(shape: EnrollmentFilterName, location_name: "name"))
|
277
326
|
EnrollmentFilter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, location_name: "values"))
|
278
327
|
EnrollmentFilter.struct_class = Types::EnrollmentFilter
|
279
328
|
|
280
329
|
EnrollmentFilters.member = Shapes::ShapeRef.new(shape: EnrollmentFilter)
|
281
330
|
|
331
|
+
EstimatedMonthlySavings.add_member(:currency, Shapes::ShapeRef.new(shape: Currency, location_name: "currency"))
|
332
|
+
EstimatedMonthlySavings.add_member(:value, Shapes::ShapeRef.new(shape: Value, location_name: "value"))
|
333
|
+
EstimatedMonthlySavings.struct_class = Types::EstimatedMonthlySavings
|
334
|
+
|
282
335
|
ExportAutoScalingGroupRecommendationsRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, location_name: "accountIds"))
|
283
336
|
ExportAutoScalingGroupRecommendationsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: Filters, location_name: "filters"))
|
284
337
|
ExportAutoScalingGroupRecommendationsRequest.add_member(:fields_to_export, Shapes::ShapeRef.new(shape: ExportableAutoScalingGroupFields, location_name: "fieldsToExport"))
|
@@ -399,6 +452,12 @@ module Aws::ComputeOptimizer
|
|
399
452
|
GetEC2RecommendationProjectedMetricsResponse.add_member(:recommended_option_projected_metrics, Shapes::ShapeRef.new(shape: RecommendedOptionProjectedMetrics, location_name: "recommendedOptionProjectedMetrics"))
|
400
453
|
GetEC2RecommendationProjectedMetricsResponse.struct_class = Types::GetEC2RecommendationProjectedMetricsResponse
|
401
454
|
|
455
|
+
GetEffectiveRecommendationPreferencesRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "resourceArn"))
|
456
|
+
GetEffectiveRecommendationPreferencesRequest.struct_class = Types::GetEffectiveRecommendationPreferencesRequest
|
457
|
+
|
458
|
+
GetEffectiveRecommendationPreferencesResponse.add_member(:enhanced_infrastructure_metrics, Shapes::ShapeRef.new(shape: EnhancedInfrastructureMetrics, location_name: "enhancedInfrastructureMetrics"))
|
459
|
+
GetEffectiveRecommendationPreferencesResponse.struct_class = Types::GetEffectiveRecommendationPreferencesResponse
|
460
|
+
|
402
461
|
GetEnrollmentStatusRequest.struct_class = Types::GetEnrollmentStatusRequest
|
403
462
|
|
404
463
|
GetEnrollmentStatusResponse.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
|
@@ -435,6 +494,16 @@ module Aws::ComputeOptimizer
|
|
435
494
|
|
436
495
|
GetRecommendationErrors.member = Shapes::ShapeRef.new(shape: GetRecommendationError)
|
437
496
|
|
497
|
+
GetRecommendationPreferencesRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "resourceType"))
|
498
|
+
GetRecommendationPreferencesRequest.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, location_name: "scope"))
|
499
|
+
GetRecommendationPreferencesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
500
|
+
GetRecommendationPreferencesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
501
|
+
GetRecommendationPreferencesRequest.struct_class = Types::GetRecommendationPreferencesRequest
|
502
|
+
|
503
|
+
GetRecommendationPreferencesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
504
|
+
GetRecommendationPreferencesResponse.add_member(:recommendation_preferences_details, Shapes::ShapeRef.new(shape: RecommendationPreferencesDetails, location_name: "recommendationPreferencesDetails"))
|
505
|
+
GetRecommendationPreferencesResponse.struct_class = Types::GetRecommendationPreferencesResponse
|
506
|
+
|
438
507
|
GetRecommendationSummariesRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, location_name: "accountIds"))
|
439
508
|
GetRecommendationSummariesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
440
509
|
GetRecommendationSummariesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
@@ -457,6 +526,8 @@ module Aws::ComputeOptimizer
|
|
457
526
|
InstanceRecommendation.add_member(:recommendation_options, Shapes::ShapeRef.new(shape: RecommendationOptions, location_name: "recommendationOptions"))
|
458
527
|
InstanceRecommendation.add_member(:recommendation_sources, Shapes::ShapeRef.new(shape: RecommendationSources, location_name: "recommendationSources"))
|
459
528
|
InstanceRecommendation.add_member(:last_refresh_timestamp, Shapes::ShapeRef.new(shape: LastRefreshTimestamp, location_name: "lastRefreshTimestamp"))
|
529
|
+
InstanceRecommendation.add_member(:current_performance_risk, Shapes::ShapeRef.new(shape: CurrentPerformanceRisk, location_name: "currentPerformanceRisk"))
|
530
|
+
InstanceRecommendation.add_member(:effective_recommendation_preferences, Shapes::ShapeRef.new(shape: EffectiveRecommendationPreferences, location_name: "effectiveRecommendationPreferences"))
|
460
531
|
InstanceRecommendation.struct_class = Types::InstanceRecommendation
|
461
532
|
|
462
533
|
InstanceRecommendationFindingReasonCodes.member = Shapes::ShapeRef.new(shape: InstanceRecommendationFindingReasonCode)
|
@@ -466,6 +537,7 @@ module Aws::ComputeOptimizer
|
|
466
537
|
InstanceRecommendationOption.add_member(:platform_differences, Shapes::ShapeRef.new(shape: PlatformDifferences, location_name: "platformDifferences"))
|
467
538
|
InstanceRecommendationOption.add_member(:performance_risk, Shapes::ShapeRef.new(shape: PerformanceRisk, location_name: "performanceRisk"))
|
468
539
|
InstanceRecommendationOption.add_member(:rank, Shapes::ShapeRef.new(shape: Rank, location_name: "rank"))
|
540
|
+
InstanceRecommendationOption.add_member(:savings_opportunity, Shapes::ShapeRef.new(shape: SavingsOpportunity, location_name: "savingsOpportunity"))
|
469
541
|
InstanceRecommendationOption.struct_class = Types::InstanceRecommendationOption
|
470
542
|
|
471
543
|
InstanceRecommendations.member = Shapes::ShapeRef.new(shape: InstanceRecommendation)
|
@@ -494,6 +566,7 @@ module Aws::ComputeOptimizer
|
|
494
566
|
LambdaFunctionMemoryRecommendationOption.add_member(:rank, Shapes::ShapeRef.new(shape: Rank, location_name: "rank"))
|
495
567
|
LambdaFunctionMemoryRecommendationOption.add_member(:memory_size, Shapes::ShapeRef.new(shape: MemorySize, location_name: "memorySize"))
|
496
568
|
LambdaFunctionMemoryRecommendationOption.add_member(:projected_utilization_metrics, Shapes::ShapeRef.new(shape: LambdaFunctionMemoryProjectedMetrics, location_name: "projectedUtilizationMetrics"))
|
569
|
+
LambdaFunctionMemoryRecommendationOption.add_member(:savings_opportunity, Shapes::ShapeRef.new(shape: SavingsOpportunity, location_name: "savingsOpportunity"))
|
497
570
|
LambdaFunctionMemoryRecommendationOption.struct_class = Types::LambdaFunctionMemoryRecommendationOption
|
498
571
|
|
499
572
|
LambdaFunctionMemoryRecommendationOptions.member = Shapes::ShapeRef.new(shape: LambdaFunctionMemoryRecommendationOption)
|
@@ -509,6 +582,7 @@ module Aws::ComputeOptimizer
|
|
509
582
|
LambdaFunctionRecommendation.add_member(:finding, Shapes::ShapeRef.new(shape: LambdaFunctionRecommendationFinding, location_name: "finding"))
|
510
583
|
LambdaFunctionRecommendation.add_member(:finding_reason_codes, Shapes::ShapeRef.new(shape: LambdaFunctionRecommendationFindingReasonCodes, location_name: "findingReasonCodes"))
|
511
584
|
LambdaFunctionRecommendation.add_member(:memory_size_recommendation_options, Shapes::ShapeRef.new(shape: LambdaFunctionMemoryRecommendationOptions, location_name: "memorySizeRecommendationOptions"))
|
585
|
+
LambdaFunctionRecommendation.add_member(:current_performance_risk, Shapes::ShapeRef.new(shape: CurrentPerformanceRisk, location_name: "currentPerformanceRisk"))
|
512
586
|
LambdaFunctionRecommendation.struct_class = Types::LambdaFunctionRecommendation
|
513
587
|
|
514
588
|
LambdaFunctionRecommendationFilter.add_member(:name, Shapes::ShapeRef.new(shape: LambdaFunctionRecommendationFilterName, location_name: "name"))
|
@@ -550,6 +624,13 @@ module Aws::ComputeOptimizer
|
|
550
624
|
|
551
625
|
ProjectedUtilizationMetrics.member = Shapes::ShapeRef.new(shape: UtilizationMetric)
|
552
626
|
|
627
|
+
PutRecommendationPreferencesRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "resourceType"))
|
628
|
+
PutRecommendationPreferencesRequest.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, location_name: "scope"))
|
629
|
+
PutRecommendationPreferencesRequest.add_member(:enhanced_infrastructure_metrics, Shapes::ShapeRef.new(shape: EnhancedInfrastructureMetrics, location_name: "enhancedInfrastructureMetrics"))
|
630
|
+
PutRecommendationPreferencesRequest.struct_class = Types::PutRecommendationPreferencesRequest
|
631
|
+
|
632
|
+
PutRecommendationPreferencesResponse.struct_class = Types::PutRecommendationPreferencesResponse
|
633
|
+
|
553
634
|
ReasonCodeSummaries.member = Shapes::ShapeRef.new(shape: ReasonCodeSummary)
|
554
635
|
|
555
636
|
ReasonCodeSummary.add_member(:name, Shapes::ShapeRef.new(shape: FindingReasonCode, location_name: "name"))
|
@@ -569,9 +650,18 @@ module Aws::ComputeOptimizer
|
|
569
650
|
|
570
651
|
RecommendationOptions.member = Shapes::ShapeRef.new(shape: InstanceRecommendationOption)
|
571
652
|
|
653
|
+
RecommendationPreferenceNames.member = Shapes::ShapeRef.new(shape: RecommendationPreferenceName)
|
654
|
+
|
572
655
|
RecommendationPreferences.add_member(:cpu_vendor_architectures, Shapes::ShapeRef.new(shape: CpuVendorArchitectures, location_name: "cpuVendorArchitectures"))
|
573
656
|
RecommendationPreferences.struct_class = Types::RecommendationPreferences
|
574
657
|
|
658
|
+
RecommendationPreferencesDetail.add_member(:scope, Shapes::ShapeRef.new(shape: Scope, location_name: "scope"))
|
659
|
+
RecommendationPreferencesDetail.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
|
660
|
+
RecommendationPreferencesDetail.add_member(:enhanced_infrastructure_metrics, Shapes::ShapeRef.new(shape: EnhancedInfrastructureMetrics, location_name: "enhancedInfrastructureMetrics"))
|
661
|
+
RecommendationPreferencesDetail.struct_class = Types::RecommendationPreferencesDetail
|
662
|
+
|
663
|
+
RecommendationPreferencesDetails.member = Shapes::ShapeRef.new(shape: RecommendationPreferencesDetail)
|
664
|
+
|
575
665
|
RecommendationSource.add_member(:recommendation_source_arn, Shapes::ShapeRef.new(shape: RecommendationSourceArn, location_name: "recommendationSourceArn"))
|
576
666
|
RecommendationSource.add_member(:recommendation_source_type, Shapes::ShapeRef.new(shape: RecommendationSourceType, location_name: "recommendationSourceType"))
|
577
667
|
RecommendationSource.struct_class = Types::RecommendationSource
|
@@ -583,6 +673,8 @@ module Aws::ComputeOptimizer
|
|
583
673
|
RecommendationSummary.add_member(:summaries, Shapes::ShapeRef.new(shape: Summaries, location_name: "summaries"))
|
584
674
|
RecommendationSummary.add_member(:recommendation_resource_type, Shapes::ShapeRef.new(shape: RecommendationSourceType, location_name: "recommendationResourceType"))
|
585
675
|
RecommendationSummary.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
|
676
|
+
RecommendationSummary.add_member(:savings_opportunity, Shapes::ShapeRef.new(shape: SavingsOpportunity, location_name: "savingsOpportunity"))
|
677
|
+
RecommendationSummary.add_member(:current_performance_risk_ratings, Shapes::ShapeRef.new(shape: CurrentPerformanceRiskRatings, location_name: "currentPerformanceRiskRatings"))
|
586
678
|
RecommendationSummary.struct_class = Types::RecommendationSummary
|
587
679
|
|
588
680
|
RecommendedOptionProjectedMetric.add_member(:recommended_instance_type, Shapes::ShapeRef.new(shape: RecommendedInstanceType, location_name: "recommendedInstanceType"))
|
@@ -604,6 +696,14 @@ module Aws::ComputeOptimizer
|
|
604
696
|
S3DestinationConfig.add_member(:key_prefix, Shapes::ShapeRef.new(shape: DestinationKeyPrefix, location_name: "keyPrefix"))
|
605
697
|
S3DestinationConfig.struct_class = Types::S3DestinationConfig
|
606
698
|
|
699
|
+
SavingsOpportunity.add_member(:savings_opportunity_percentage, Shapes::ShapeRef.new(shape: SavingsOpportunityPercentage, location_name: "savingsOpportunityPercentage"))
|
700
|
+
SavingsOpportunity.add_member(:estimated_monthly_savings, Shapes::ShapeRef.new(shape: EstimatedMonthlySavings, location_name: "estimatedMonthlySavings"))
|
701
|
+
SavingsOpportunity.struct_class = Types::SavingsOpportunity
|
702
|
+
|
703
|
+
Scope.add_member(:name, Shapes::ShapeRef.new(shape: ScopeName, location_name: "name"))
|
704
|
+
Scope.add_member(:value, Shapes::ShapeRef.new(shape: ScopeValue, location_name: "value"))
|
705
|
+
Scope.struct_class = Types::Scope
|
706
|
+
|
607
707
|
ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
608
708
|
ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
|
609
709
|
|
@@ -652,11 +752,13 @@ module Aws::ComputeOptimizer
|
|
652
752
|
VolumeRecommendation.add_member(:look_back_period_in_days, Shapes::ShapeRef.new(shape: LookBackPeriodInDays, location_name: "lookBackPeriodInDays"))
|
653
753
|
VolumeRecommendation.add_member(:volume_recommendation_options, Shapes::ShapeRef.new(shape: VolumeRecommendationOptions, location_name: "volumeRecommendationOptions"))
|
654
754
|
VolumeRecommendation.add_member(:last_refresh_timestamp, Shapes::ShapeRef.new(shape: LastRefreshTimestamp, location_name: "lastRefreshTimestamp"))
|
755
|
+
VolumeRecommendation.add_member(:current_performance_risk, Shapes::ShapeRef.new(shape: CurrentPerformanceRisk, location_name: "currentPerformanceRisk"))
|
655
756
|
VolumeRecommendation.struct_class = Types::VolumeRecommendation
|
656
757
|
|
657
758
|
VolumeRecommendationOption.add_member(:configuration, Shapes::ShapeRef.new(shape: VolumeConfiguration, location_name: "configuration"))
|
658
759
|
VolumeRecommendationOption.add_member(:performance_risk, Shapes::ShapeRef.new(shape: PerformanceRisk, location_name: "performanceRisk"))
|
659
760
|
VolumeRecommendationOption.add_member(:rank, Shapes::ShapeRef.new(shape: Rank, location_name: "rank"))
|
761
|
+
VolumeRecommendationOption.add_member(:savings_opportunity, Shapes::ShapeRef.new(shape: SavingsOpportunity, location_name: "savingsOpportunity"))
|
660
762
|
VolumeRecommendationOption.struct_class = Types::VolumeRecommendationOption
|
661
763
|
|
662
764
|
VolumeRecommendationOptions.member = Shapes::ShapeRef.new(shape: VolumeRecommendationOption)
|
@@ -682,6 +784,22 @@ module Aws::ComputeOptimizer
|
|
682
784
|
"uid" => "compute-optimizer-2019-11-01",
|
683
785
|
}
|
684
786
|
|
787
|
+
api.add_operation(:delete_recommendation_preferences, Seahorse::Model::Operation.new.tap do |o|
|
788
|
+
o.name = "DeleteRecommendationPreferences"
|
789
|
+
o.http_method = "POST"
|
790
|
+
o.http_request_uri = "/"
|
791
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteRecommendationPreferencesRequest)
|
792
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteRecommendationPreferencesResponse)
|
793
|
+
o.errors << Shapes::ShapeRef.new(shape: OptInRequiredException)
|
794
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
795
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
796
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
797
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
798
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
799
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingAuthenticationToken)
|
800
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
801
|
+
end)
|
802
|
+
|
685
803
|
api.add_operation(:describe_recommendation_export_jobs, Seahorse::Model::Operation.new.tap do |o|
|
686
804
|
o.name = "DescribeRecommendationExportJobs"
|
687
805
|
o.http_method = "POST"
|
@@ -826,6 +944,22 @@ module Aws::ComputeOptimizer
|
|
826
944
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
827
945
|
end)
|
828
946
|
|
947
|
+
api.add_operation(:get_effective_recommendation_preferences, Seahorse::Model::Operation.new.tap do |o|
|
948
|
+
o.name = "GetEffectiveRecommendationPreferences"
|
949
|
+
o.http_method = "POST"
|
950
|
+
o.http_request_uri = "/"
|
951
|
+
o.input = Shapes::ShapeRef.new(shape: GetEffectiveRecommendationPreferencesRequest)
|
952
|
+
o.output = Shapes::ShapeRef.new(shape: GetEffectiveRecommendationPreferencesResponse)
|
953
|
+
o.errors << Shapes::ShapeRef.new(shape: OptInRequiredException)
|
954
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
955
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
956
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
957
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
958
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
959
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingAuthenticationToken)
|
960
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
961
|
+
end)
|
962
|
+
|
829
963
|
api.add_operation(:get_enrollment_status, Seahorse::Model::Operation.new.tap do |o|
|
830
964
|
o.name = "GetEnrollmentStatus"
|
831
965
|
o.http_method = "POST"
|
@@ -870,6 +1004,22 @@ module Aws::ComputeOptimizer
|
|
870
1004
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
871
1005
|
end)
|
872
1006
|
|
1007
|
+
api.add_operation(:get_recommendation_preferences, Seahorse::Model::Operation.new.tap do |o|
|
1008
|
+
o.name = "GetRecommendationPreferences"
|
1009
|
+
o.http_method = "POST"
|
1010
|
+
o.http_request_uri = "/"
|
1011
|
+
o.input = Shapes::ShapeRef.new(shape: GetRecommendationPreferencesRequest)
|
1012
|
+
o.output = Shapes::ShapeRef.new(shape: GetRecommendationPreferencesResponse)
|
1013
|
+
o.errors << Shapes::ShapeRef.new(shape: OptInRequiredException)
|
1014
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1015
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1016
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1017
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1018
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1019
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingAuthenticationToken)
|
1020
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1021
|
+
end)
|
1022
|
+
|
873
1023
|
api.add_operation(:get_recommendation_summaries, Seahorse::Model::Operation.new.tap do |o|
|
874
1024
|
o.name = "GetRecommendationSummaries"
|
875
1025
|
o.http_method = "POST"
|
@@ -885,6 +1035,22 @@ module Aws::ComputeOptimizer
|
|
885
1035
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
886
1036
|
end)
|
887
1037
|
|
1038
|
+
api.add_operation(:put_recommendation_preferences, Seahorse::Model::Operation.new.tap do |o|
|
1039
|
+
o.name = "PutRecommendationPreferences"
|
1040
|
+
o.http_method = "POST"
|
1041
|
+
o.http_request_uri = "/"
|
1042
|
+
o.input = Shapes::ShapeRef.new(shape: PutRecommendationPreferencesRequest)
|
1043
|
+
o.output = Shapes::ShapeRef.new(shape: PutRecommendationPreferencesResponse)
|
1044
|
+
o.errors << Shapes::ShapeRef.new(shape: OptInRequiredException)
|
1045
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1046
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1047
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1048
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1049
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1050
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingAuthenticationToken)
|
1051
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1052
|
+
end)
|
1053
|
+
|
888
1054
|
api.add_operation(:update_enrollment_status, Seahorse::Model::Operation.new.tap do |o|
|
889
1055
|
o.name = "UpdateEnrollmentStatus"
|
890
1056
|
o.http_method = "POST"
|