aws-sdk-computeoptimizer 1.69.0 → 1.71.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-computeoptimizer/client.rb +260 -14
- data/lib/aws-sdk-computeoptimizer/client_api.rb +156 -0
- data/lib/aws-sdk-computeoptimizer/types.rb +567 -7
- data/lib/aws-sdk-computeoptimizer.rb +1 -1
- data/sig/client.rbs +53 -4
- data/sig/types.rbs +115 -9
- metadata +2 -2
@@ -50,6 +50,7 @@ module Aws::ComputeOptimizer
|
|
50
50
|
CustomizableMetricName = Shapes::StringShape.new(name: 'CustomizableMetricName')
|
51
51
|
CustomizableMetricParameters = Shapes::StructureShape.new(name: 'CustomizableMetricParameters')
|
52
52
|
CustomizableMetricThreshold = Shapes::StringShape.new(name: 'CustomizableMetricThreshold')
|
53
|
+
DBClusterIdentifier = Shapes::StringShape.new(name: 'DBClusterIdentifier')
|
53
54
|
DBInstanceClass = Shapes::StringShape.new(name: 'DBInstanceClass')
|
54
55
|
DBStorageConfiguration = Shapes::StructureShape.new(name: 'DBStorageConfiguration')
|
55
56
|
DeleteRecommendationPreferencesRequest = Shapes::StructureShape.new(name: 'DeleteRecommendationPreferencesRequest')
|
@@ -60,6 +61,7 @@ module Aws::ComputeOptimizer
|
|
60
61
|
DestinationBucket = Shapes::StringShape.new(name: 'DestinationBucket')
|
61
62
|
DestinationKey = Shapes::StringShape.new(name: 'DestinationKey')
|
62
63
|
DestinationKeyPrefix = Shapes::StringShape.new(name: 'DestinationKeyPrefix')
|
64
|
+
Dimension = Shapes::StringShape.new(name: 'Dimension')
|
63
65
|
EBSEffectiveRecommendationPreferences = Shapes::StructureShape.new(name: 'EBSEffectiveRecommendationPreferences')
|
64
66
|
EBSEstimatedMonthlySavings = Shapes::StructureShape.new(name: 'EBSEstimatedMonthlySavings')
|
65
67
|
EBSFilter = Shapes::StructureShape.new(name: 'EBSFilter')
|
@@ -118,6 +120,8 @@ module Aws::ComputeOptimizer
|
|
118
120
|
ExportEC2InstanceRecommendationsResponse = Shapes::StructureShape.new(name: 'ExportEC2InstanceRecommendationsResponse')
|
119
121
|
ExportECSServiceRecommendationsRequest = Shapes::StructureShape.new(name: 'ExportECSServiceRecommendationsRequest')
|
120
122
|
ExportECSServiceRecommendationsResponse = Shapes::StructureShape.new(name: 'ExportECSServiceRecommendationsResponse')
|
123
|
+
ExportIdleRecommendationsRequest = Shapes::StructureShape.new(name: 'ExportIdleRecommendationsRequest')
|
124
|
+
ExportIdleRecommendationsResponse = Shapes::StructureShape.new(name: 'ExportIdleRecommendationsResponse')
|
121
125
|
ExportLambdaFunctionRecommendationsRequest = Shapes::StructureShape.new(name: 'ExportLambdaFunctionRecommendationsRequest')
|
122
126
|
ExportLambdaFunctionRecommendationsResponse = Shapes::StructureShape.new(name: 'ExportLambdaFunctionRecommendationsResponse')
|
123
127
|
ExportLicenseRecommendationsRequest = Shapes::StructureShape.new(name: 'ExportLicenseRecommendationsRequest')
|
@@ -128,6 +132,8 @@ module Aws::ComputeOptimizer
|
|
128
132
|
ExportableAutoScalingGroupFields = Shapes::ListShape.new(name: 'ExportableAutoScalingGroupFields')
|
129
133
|
ExportableECSServiceField = Shapes::StringShape.new(name: 'ExportableECSServiceField')
|
130
134
|
ExportableECSServiceFields = Shapes::ListShape.new(name: 'ExportableECSServiceFields')
|
135
|
+
ExportableIdleField = Shapes::StringShape.new(name: 'ExportableIdleField')
|
136
|
+
ExportableIdleFields = Shapes::ListShape.new(name: 'ExportableIdleFields')
|
131
137
|
ExportableInstanceField = Shapes::StringShape.new(name: 'ExportableInstanceField')
|
132
138
|
ExportableInstanceFields = Shapes::ListShape.new(name: 'ExportableInstanceFields')
|
133
139
|
ExportableLambdaFunctionField = Shapes::StringShape.new(name: 'ExportableLambdaFunctionField')
|
@@ -173,6 +179,8 @@ module Aws::ComputeOptimizer
|
|
173
179
|
GetEnrollmentStatusResponse = Shapes::StructureShape.new(name: 'GetEnrollmentStatusResponse')
|
174
180
|
GetEnrollmentStatusesForOrganizationRequest = Shapes::StructureShape.new(name: 'GetEnrollmentStatusesForOrganizationRequest')
|
175
181
|
GetEnrollmentStatusesForOrganizationResponse = Shapes::StructureShape.new(name: 'GetEnrollmentStatusesForOrganizationResponse')
|
182
|
+
GetIdleRecommendationsRequest = Shapes::StructureShape.new(name: 'GetIdleRecommendationsRequest')
|
183
|
+
GetIdleRecommendationsResponse = Shapes::StructureShape.new(name: 'GetIdleRecommendationsResponse')
|
176
184
|
GetLambdaFunctionRecommendationsRequest = Shapes::StructureShape.new(name: 'GetLambdaFunctionRecommendationsRequest')
|
177
185
|
GetLambdaFunctionRecommendationsResponse = Shapes::StructureShape.new(name: 'GetLambdaFunctionRecommendationsResponse')
|
178
186
|
GetLicenseRecommendationsRequest = Shapes::StructureShape.new(name: 'GetLicenseRecommendationsRequest')
|
@@ -195,6 +203,25 @@ module Aws::ComputeOptimizer
|
|
195
203
|
High = Shapes::IntegerShape.new(name: 'High')
|
196
204
|
Identifier = Shapes::StringShape.new(name: 'Identifier')
|
197
205
|
Idle = Shapes::StringShape.new(name: 'Idle')
|
206
|
+
IdleEstimatedMonthlySavings = Shapes::StructureShape.new(name: 'IdleEstimatedMonthlySavings')
|
207
|
+
IdleFinding = Shapes::StringShape.new(name: 'IdleFinding')
|
208
|
+
IdleFindingDescription = Shapes::StringShape.new(name: 'IdleFindingDescription')
|
209
|
+
IdleMaxResults = Shapes::IntegerShape.new(name: 'IdleMaxResults')
|
210
|
+
IdleMetricName = Shapes::StringShape.new(name: 'IdleMetricName')
|
211
|
+
IdleRecommendation = Shapes::StructureShape.new(name: 'IdleRecommendation')
|
212
|
+
IdleRecommendationError = Shapes::StructureShape.new(name: 'IdleRecommendationError')
|
213
|
+
IdleRecommendationErrors = Shapes::ListShape.new(name: 'IdleRecommendationErrors')
|
214
|
+
IdleRecommendationFilter = Shapes::StructureShape.new(name: 'IdleRecommendationFilter')
|
215
|
+
IdleRecommendationFilterName = Shapes::StringShape.new(name: 'IdleRecommendationFilterName')
|
216
|
+
IdleRecommendationFilters = Shapes::ListShape.new(name: 'IdleRecommendationFilters')
|
217
|
+
IdleRecommendationResourceType = Shapes::StringShape.new(name: 'IdleRecommendationResourceType')
|
218
|
+
IdleRecommendations = Shapes::ListShape.new(name: 'IdleRecommendations')
|
219
|
+
IdleSavingsOpportunity = Shapes::StructureShape.new(name: 'IdleSavingsOpportunity')
|
220
|
+
IdleSavingsOpportunityAfterDiscounts = Shapes::StructureShape.new(name: 'IdleSavingsOpportunityAfterDiscounts')
|
221
|
+
IdleSummaries = Shapes::ListShape.new(name: 'IdleSummaries')
|
222
|
+
IdleSummary = Shapes::StructureShape.new(name: 'IdleSummary')
|
223
|
+
IdleUtilizationMetric = Shapes::StructureShape.new(name: 'IdleUtilizationMetric')
|
224
|
+
IdleUtilizationMetrics = Shapes::ListShape.new(name: 'IdleUtilizationMetrics')
|
198
225
|
IncludeMemberAccounts = Shapes::BooleanShape.new(name: 'IncludeMemberAccounts')
|
199
226
|
InferredWorkloadSaving = Shapes::StructureShape.new(name: 'InferredWorkloadSaving')
|
200
227
|
InferredWorkloadSavings = Shapes::ListShape.new(name: 'InferredWorkloadSavings')
|
@@ -300,6 +327,8 @@ module Aws::ComputeOptimizer
|
|
300
327
|
NumberOfMemberAccountsOptedIn = Shapes::IntegerShape.new(name: 'NumberOfMemberAccountsOptedIn')
|
301
328
|
OperatingSystem = Shapes::StringShape.new(name: 'OperatingSystem')
|
302
329
|
OptInRequiredException = Shapes::StructureShape.new(name: 'OptInRequiredException')
|
330
|
+
Order = Shapes::StringShape.new(name: 'Order')
|
331
|
+
OrderBy = Shapes::StructureShape.new(name: 'OrderBy')
|
303
332
|
PerformanceRisk = Shapes::FloatShape.new(name: 'PerformanceRisk')
|
304
333
|
Period = Shapes::IntegerShape.new(name: 'Period')
|
305
334
|
PlatformDifference = Shapes::StringShape.new(name: 'PlatformDifference')
|
@@ -312,8 +341,10 @@ module Aws::ComputeOptimizer
|
|
312
341
|
ProjectedMetric = Shapes::StructureShape.new(name: 'ProjectedMetric')
|
313
342
|
ProjectedMetrics = Shapes::ListShape.new(name: 'ProjectedMetrics')
|
314
343
|
ProjectedUtilizationMetrics = Shapes::ListShape.new(name: 'ProjectedUtilizationMetrics')
|
344
|
+
PromotionTier = Shapes::IntegerShape.new(name: 'PromotionTier')
|
315
345
|
PutRecommendationPreferencesRequest = Shapes::StructureShape.new(name: 'PutRecommendationPreferencesRequest')
|
316
346
|
PutRecommendationPreferencesResponse = Shapes::StructureShape.new(name: 'PutRecommendationPreferencesResponse')
|
347
|
+
RDSCurrentInstancePerformanceRisk = Shapes::StringShape.new(name: 'RDSCurrentInstancePerformanceRisk')
|
317
348
|
RDSDBInstanceRecommendationOption = Shapes::StructureShape.new(name: 'RDSDBInstanceRecommendationOption')
|
318
349
|
RDSDBInstanceRecommendationOptions = Shapes::ListShape.new(name: 'RDSDBInstanceRecommendationOptions')
|
319
350
|
RDSDBMetricName = Shapes::StringShape.new(name: 'RDSDBMetricName')
|
@@ -368,6 +399,7 @@ module Aws::ComputeOptimizer
|
|
368
399
|
RecommendedOptionProjectedMetrics = Shapes::ListShape.new(name: 'RecommendedOptionProjectedMetrics')
|
369
400
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
370
401
|
ResourceArns = Shapes::ListShape.new(name: 'ResourceArns')
|
402
|
+
ResourceId = Shapes::StringShape.new(name: 'ResourceId')
|
371
403
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
372
404
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
373
405
|
RootVolume = Shapes::BooleanShape.new(name: 'RootVolume')
|
@@ -715,6 +747,18 @@ module Aws::ComputeOptimizer
|
|
715
747
|
ExportECSServiceRecommendationsResponse.add_member(:s3_destination, Shapes::ShapeRef.new(shape: S3Destination, location_name: "s3Destination"))
|
716
748
|
ExportECSServiceRecommendationsResponse.struct_class = Types::ExportECSServiceRecommendationsResponse
|
717
749
|
|
750
|
+
ExportIdleRecommendationsRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, location_name: "accountIds"))
|
751
|
+
ExportIdleRecommendationsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: IdleRecommendationFilters, location_name: "filters"))
|
752
|
+
ExportIdleRecommendationsRequest.add_member(:fields_to_export, Shapes::ShapeRef.new(shape: ExportableIdleFields, location_name: "fieldsToExport"))
|
753
|
+
ExportIdleRecommendationsRequest.add_member(:s3_destination_config, Shapes::ShapeRef.new(shape: S3DestinationConfig, required: true, location_name: "s3DestinationConfig"))
|
754
|
+
ExportIdleRecommendationsRequest.add_member(:file_format, Shapes::ShapeRef.new(shape: FileFormat, location_name: "fileFormat"))
|
755
|
+
ExportIdleRecommendationsRequest.add_member(:include_member_accounts, Shapes::ShapeRef.new(shape: IncludeMemberAccounts, location_name: "includeMemberAccounts"))
|
756
|
+
ExportIdleRecommendationsRequest.struct_class = Types::ExportIdleRecommendationsRequest
|
757
|
+
|
758
|
+
ExportIdleRecommendationsResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location_name: "jobId"))
|
759
|
+
ExportIdleRecommendationsResponse.add_member(:s3_destination, Shapes::ShapeRef.new(shape: S3Destination, location_name: "s3Destination"))
|
760
|
+
ExportIdleRecommendationsResponse.struct_class = Types::ExportIdleRecommendationsResponse
|
761
|
+
|
718
762
|
ExportLambdaFunctionRecommendationsRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, location_name: "accountIds"))
|
719
763
|
ExportLambdaFunctionRecommendationsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: LambdaFunctionRecommendationFilters, location_name: "filters"))
|
720
764
|
ExportLambdaFunctionRecommendationsRequest.add_member(:fields_to_export, Shapes::ShapeRef.new(shape: ExportableLambdaFunctionFields, location_name: "fieldsToExport"))
|
@@ -756,6 +800,8 @@ module Aws::ComputeOptimizer
|
|
756
800
|
|
757
801
|
ExportableECSServiceFields.member = Shapes::ShapeRef.new(shape: ExportableECSServiceField)
|
758
802
|
|
803
|
+
ExportableIdleFields.member = Shapes::ShapeRef.new(shape: ExportableIdleField)
|
804
|
+
|
759
805
|
ExportableInstanceFields.member = Shapes::ShapeRef.new(shape: ExportableInstanceField)
|
760
806
|
|
761
807
|
ExportableLambdaFunctionFields.member = Shapes::ShapeRef.new(shape: ExportableLambdaFunctionField)
|
@@ -882,6 +928,19 @@ module Aws::ComputeOptimizer
|
|
882
928
|
GetEnrollmentStatusesForOrganizationResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
883
929
|
GetEnrollmentStatusesForOrganizationResponse.struct_class = Types::GetEnrollmentStatusesForOrganizationResponse
|
884
930
|
|
931
|
+
GetIdleRecommendationsRequest.add_member(:resource_arns, Shapes::ShapeRef.new(shape: ResourceArns, location_name: "resourceArns"))
|
932
|
+
GetIdleRecommendationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
933
|
+
GetIdleRecommendationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: IdleMaxResults, location_name: "maxResults"))
|
934
|
+
GetIdleRecommendationsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: IdleRecommendationFilters, location_name: "filters"))
|
935
|
+
GetIdleRecommendationsRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, location_name: "accountIds"))
|
936
|
+
GetIdleRecommendationsRequest.add_member(:order_by, Shapes::ShapeRef.new(shape: OrderBy, location_name: "orderBy"))
|
937
|
+
GetIdleRecommendationsRequest.struct_class = Types::GetIdleRecommendationsRequest
|
938
|
+
|
939
|
+
GetIdleRecommendationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
940
|
+
GetIdleRecommendationsResponse.add_member(:idle_recommendations, Shapes::ShapeRef.new(shape: IdleRecommendations, location_name: "idleRecommendations"))
|
941
|
+
GetIdleRecommendationsResponse.add_member(:errors, Shapes::ShapeRef.new(shape: IdleRecommendationErrors, location_name: "errors"))
|
942
|
+
GetIdleRecommendationsResponse.struct_class = Types::GetIdleRecommendationsResponse
|
943
|
+
|
885
944
|
GetLambdaFunctionRecommendationsRequest.add_member(:function_arns, Shapes::ShapeRef.new(shape: FunctionArns, location_name: "functionArns"))
|
886
945
|
GetLambdaFunctionRecommendationsRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, location_name: "accountIds"))
|
887
946
|
GetLambdaFunctionRecommendationsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: LambdaFunctionRecommendationFilters, location_name: "filters"))
|
@@ -964,6 +1023,61 @@ module Aws::ComputeOptimizer
|
|
964
1023
|
|
965
1024
|
Gpus.member = Shapes::ShapeRef.new(shape: Gpu)
|
966
1025
|
|
1026
|
+
IdleEstimatedMonthlySavings.add_member(:currency, Shapes::ShapeRef.new(shape: Currency, location_name: "currency"))
|
1027
|
+
IdleEstimatedMonthlySavings.add_member(:value, Shapes::ShapeRef.new(shape: Value, location_name: "value"))
|
1028
|
+
IdleEstimatedMonthlySavings.struct_class = Types::IdleEstimatedMonthlySavings
|
1029
|
+
|
1030
|
+
IdleRecommendation.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "resourceArn"))
|
1031
|
+
IdleRecommendation.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "resourceId"))
|
1032
|
+
IdleRecommendation.add_member(:resource_type, Shapes::ShapeRef.new(shape: IdleRecommendationResourceType, location_name: "resourceType"))
|
1033
|
+
IdleRecommendation.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
|
1034
|
+
IdleRecommendation.add_member(:finding, Shapes::ShapeRef.new(shape: IdleFinding, location_name: "finding"))
|
1035
|
+
IdleRecommendation.add_member(:finding_description, Shapes::ShapeRef.new(shape: IdleFindingDescription, location_name: "findingDescription"))
|
1036
|
+
IdleRecommendation.add_member(:savings_opportunity, Shapes::ShapeRef.new(shape: IdleSavingsOpportunity, location_name: "savingsOpportunity"))
|
1037
|
+
IdleRecommendation.add_member(:savings_opportunity_after_discounts, Shapes::ShapeRef.new(shape: IdleSavingsOpportunityAfterDiscounts, location_name: "savingsOpportunityAfterDiscounts"))
|
1038
|
+
IdleRecommendation.add_member(:utilization_metrics, Shapes::ShapeRef.new(shape: IdleUtilizationMetrics, location_name: "utilizationMetrics"))
|
1039
|
+
IdleRecommendation.add_member(:look_back_period_in_days, Shapes::ShapeRef.new(shape: LookBackPeriodInDays, location_name: "lookBackPeriodInDays"))
|
1040
|
+
IdleRecommendation.add_member(:last_refresh_timestamp, Shapes::ShapeRef.new(shape: LastRefreshTimestamp, location_name: "lastRefreshTimestamp"))
|
1041
|
+
IdleRecommendation.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
1042
|
+
IdleRecommendation.struct_class = Types::IdleRecommendation
|
1043
|
+
|
1044
|
+
IdleRecommendationError.add_member(:identifier, Shapes::ShapeRef.new(shape: Identifier, location_name: "identifier"))
|
1045
|
+
IdleRecommendationError.add_member(:code, Shapes::ShapeRef.new(shape: Code, location_name: "code"))
|
1046
|
+
IdleRecommendationError.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
|
1047
|
+
IdleRecommendationError.add_member(:resource_type, Shapes::ShapeRef.new(shape: IdleRecommendationResourceType, location_name: "resourceType"))
|
1048
|
+
IdleRecommendationError.struct_class = Types::IdleRecommendationError
|
1049
|
+
|
1050
|
+
IdleRecommendationErrors.member = Shapes::ShapeRef.new(shape: IdleRecommendationError)
|
1051
|
+
|
1052
|
+
IdleRecommendationFilter.add_member(:name, Shapes::ShapeRef.new(shape: IdleRecommendationFilterName, location_name: "name"))
|
1053
|
+
IdleRecommendationFilter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, location_name: "values"))
|
1054
|
+
IdleRecommendationFilter.struct_class = Types::IdleRecommendationFilter
|
1055
|
+
|
1056
|
+
IdleRecommendationFilters.member = Shapes::ShapeRef.new(shape: IdleRecommendationFilter)
|
1057
|
+
|
1058
|
+
IdleRecommendations.member = Shapes::ShapeRef.new(shape: IdleRecommendation)
|
1059
|
+
|
1060
|
+
IdleSavingsOpportunity.add_member(:savings_opportunity_percentage, Shapes::ShapeRef.new(shape: SavingsOpportunityPercentage, location_name: "savingsOpportunityPercentage"))
|
1061
|
+
IdleSavingsOpportunity.add_member(:estimated_monthly_savings, Shapes::ShapeRef.new(shape: IdleEstimatedMonthlySavings, location_name: "estimatedMonthlySavings"))
|
1062
|
+
IdleSavingsOpportunity.struct_class = Types::IdleSavingsOpportunity
|
1063
|
+
|
1064
|
+
IdleSavingsOpportunityAfterDiscounts.add_member(:savings_opportunity_percentage, Shapes::ShapeRef.new(shape: SavingsOpportunityPercentage, location_name: "savingsOpportunityPercentage"))
|
1065
|
+
IdleSavingsOpportunityAfterDiscounts.add_member(:estimated_monthly_savings, Shapes::ShapeRef.new(shape: IdleEstimatedMonthlySavings, location_name: "estimatedMonthlySavings"))
|
1066
|
+
IdleSavingsOpportunityAfterDiscounts.struct_class = Types::IdleSavingsOpportunityAfterDiscounts
|
1067
|
+
|
1068
|
+
IdleSummaries.member = Shapes::ShapeRef.new(shape: IdleSummary)
|
1069
|
+
|
1070
|
+
IdleSummary.add_member(:name, Shapes::ShapeRef.new(shape: IdleFinding, location_name: "name"))
|
1071
|
+
IdleSummary.add_member(:value, Shapes::ShapeRef.new(shape: SummaryValue, location_name: "value"))
|
1072
|
+
IdleSummary.struct_class = Types::IdleSummary
|
1073
|
+
|
1074
|
+
IdleUtilizationMetric.add_member(:name, Shapes::ShapeRef.new(shape: IdleMetricName, location_name: "name"))
|
1075
|
+
IdleUtilizationMetric.add_member(:statistic, Shapes::ShapeRef.new(shape: MetricStatistic, location_name: "statistic"))
|
1076
|
+
IdleUtilizationMetric.add_member(:value, Shapes::ShapeRef.new(shape: MetricValue, location_name: "value"))
|
1077
|
+
IdleUtilizationMetric.struct_class = Types::IdleUtilizationMetric
|
1078
|
+
|
1079
|
+
IdleUtilizationMetrics.member = Shapes::ShapeRef.new(shape: IdleUtilizationMetric)
|
1080
|
+
|
967
1081
|
InferredWorkloadSaving.add_member(:inferred_workload_types, Shapes::ShapeRef.new(shape: InferredWorkloadTypes, location_name: "inferredWorkloadTypes"))
|
968
1082
|
InferredWorkloadSaving.add_member(:estimated_monthly_savings, Shapes::ShapeRef.new(shape: EstimatedMonthlySavings, location_name: "estimatedMonthlySavings"))
|
969
1083
|
InferredWorkloadSaving.struct_class = Types::InferredWorkloadSaving
|
@@ -1159,6 +1273,10 @@ module Aws::ComputeOptimizer
|
|
1159
1273
|
OptInRequiredException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
1160
1274
|
OptInRequiredException.struct_class = Types::OptInRequiredException
|
1161
1275
|
|
1276
|
+
OrderBy.add_member(:dimension, Shapes::ShapeRef.new(shape: Dimension, location_name: "dimension"))
|
1277
|
+
OrderBy.add_member(:order, Shapes::ShapeRef.new(shape: Order, location_name: "order"))
|
1278
|
+
OrderBy.struct_class = Types::OrderBy
|
1279
|
+
|
1162
1280
|
PlatformDifferences.member = Shapes::ShapeRef.new(shape: PlatformDifference)
|
1163
1281
|
|
1164
1282
|
PreferredResource.add_member(:name, Shapes::ShapeRef.new(shape: PreferredResourceName, location_name: "name"))
|
@@ -1208,12 +1326,15 @@ module Aws::ComputeOptimizer
|
|
1208
1326
|
RDSDBRecommendation.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
|
1209
1327
|
RDSDBRecommendation.add_member(:engine, Shapes::ShapeRef.new(shape: Engine, location_name: "engine"))
|
1210
1328
|
RDSDBRecommendation.add_member(:engine_version, Shapes::ShapeRef.new(shape: EngineVersion, location_name: "engineVersion"))
|
1329
|
+
RDSDBRecommendation.add_member(:promotion_tier, Shapes::ShapeRef.new(shape: PromotionTier, location_name: "promotionTier"))
|
1211
1330
|
RDSDBRecommendation.add_member(:current_db_instance_class, Shapes::ShapeRef.new(shape: CurrentDBInstanceClass, location_name: "currentDBInstanceClass"))
|
1212
1331
|
RDSDBRecommendation.add_member(:current_storage_configuration, Shapes::ShapeRef.new(shape: DBStorageConfiguration, location_name: "currentStorageConfiguration"))
|
1332
|
+
RDSDBRecommendation.add_member(:db_cluster_identifier, Shapes::ShapeRef.new(shape: DBClusterIdentifier, location_name: "dbClusterIdentifier"))
|
1213
1333
|
RDSDBRecommendation.add_member(:idle, Shapes::ShapeRef.new(shape: Idle, location_name: "idle"))
|
1214
1334
|
RDSDBRecommendation.add_member(:instance_finding, Shapes::ShapeRef.new(shape: RDSInstanceFinding, location_name: "instanceFinding"))
|
1215
1335
|
RDSDBRecommendation.add_member(:storage_finding, Shapes::ShapeRef.new(shape: RDSStorageFinding, location_name: "storageFinding"))
|
1216
1336
|
RDSDBRecommendation.add_member(:instance_finding_reason_codes, Shapes::ShapeRef.new(shape: RDSInstanceFindingReasonCodes, location_name: "instanceFindingReasonCodes"))
|
1337
|
+
RDSDBRecommendation.add_member(:current_instance_performance_risk, Shapes::ShapeRef.new(shape: RDSCurrentInstancePerformanceRisk, location_name: "currentInstancePerformanceRisk"))
|
1217
1338
|
RDSDBRecommendation.add_member(:storage_finding_reason_codes, Shapes::ShapeRef.new(shape: RDSStorageFindingReasonCodes, location_name: "storageFindingReasonCodes"))
|
1218
1339
|
RDSDBRecommendation.add_member(:instance_recommendation_options, Shapes::ShapeRef.new(shape: RDSDBInstanceRecommendationOptions, location_name: "instanceRecommendationOptions"))
|
1219
1340
|
RDSDBRecommendation.add_member(:storage_recommendation_options, Shapes::ShapeRef.new(shape: RDSDBStorageRecommendationOptions, location_name: "storageRecommendationOptions"))
|
@@ -1336,9 +1457,12 @@ module Aws::ComputeOptimizer
|
|
1336
1457
|
RecommendationSummaries.member = Shapes::ShapeRef.new(shape: RecommendationSummary)
|
1337
1458
|
|
1338
1459
|
RecommendationSummary.add_member(:summaries, Shapes::ShapeRef.new(shape: Summaries, location_name: "summaries"))
|
1460
|
+
RecommendationSummary.add_member(:idle_summaries, Shapes::ShapeRef.new(shape: IdleSummaries, location_name: "idleSummaries"))
|
1339
1461
|
RecommendationSummary.add_member(:recommendation_resource_type, Shapes::ShapeRef.new(shape: RecommendationSourceType, location_name: "recommendationResourceType"))
|
1340
1462
|
RecommendationSummary.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "accountId"))
|
1341
1463
|
RecommendationSummary.add_member(:savings_opportunity, Shapes::ShapeRef.new(shape: SavingsOpportunity, location_name: "savingsOpportunity"))
|
1464
|
+
RecommendationSummary.add_member(:idle_savings_opportunity, Shapes::ShapeRef.new(shape: SavingsOpportunity, location_name: "idleSavingsOpportunity"))
|
1465
|
+
RecommendationSummary.add_member(:aggregated_savings_opportunity, Shapes::ShapeRef.new(shape: SavingsOpportunity, location_name: "aggregatedSavingsOpportunity"))
|
1342
1466
|
RecommendationSummary.add_member(:current_performance_risk_ratings, Shapes::ShapeRef.new(shape: CurrentPerformanceRiskRatings, location_name: "currentPerformanceRiskRatings"))
|
1343
1467
|
RecommendationSummary.add_member(:inferred_workload_savings, Shapes::ShapeRef.new(shape: InferredWorkloadSavings, location_name: "inferredWorkloadSavings"))
|
1344
1468
|
RecommendationSummary.struct_class = Types::RecommendationSummary
|
@@ -1581,6 +1705,22 @@ module Aws::ComputeOptimizer
|
|
1581
1705
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1582
1706
|
end)
|
1583
1707
|
|
1708
|
+
api.add_operation(:export_idle_recommendations, Seahorse::Model::Operation.new.tap do |o|
|
1709
|
+
o.name = "ExportIdleRecommendations"
|
1710
|
+
o.http_method = "POST"
|
1711
|
+
o.http_request_uri = "/"
|
1712
|
+
o.input = Shapes::ShapeRef.new(shape: ExportIdleRecommendationsRequest)
|
1713
|
+
o.output = Shapes::ShapeRef.new(shape: ExportIdleRecommendationsResponse)
|
1714
|
+
o.errors << Shapes::ShapeRef.new(shape: OptInRequiredException)
|
1715
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1716
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1717
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1718
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1719
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingAuthenticationToken)
|
1720
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1721
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1722
|
+
end)
|
1723
|
+
|
1584
1724
|
api.add_operation(:export_lambda_function_recommendations, Seahorse::Model::Operation.new.tap do |o|
|
1585
1725
|
o.name = "ExportLambdaFunctionRecommendations"
|
1586
1726
|
o.http_method = "POST"
|
@@ -1775,6 +1915,22 @@ module Aws::ComputeOptimizer
|
|
1775
1915
|
)
|
1776
1916
|
end)
|
1777
1917
|
|
1918
|
+
api.add_operation(:get_idle_recommendations, Seahorse::Model::Operation.new.tap do |o|
|
1919
|
+
o.name = "GetIdleRecommendations"
|
1920
|
+
o.http_method = "POST"
|
1921
|
+
o.http_request_uri = "/"
|
1922
|
+
o.input = Shapes::ShapeRef.new(shape: GetIdleRecommendationsRequest)
|
1923
|
+
o.output = Shapes::ShapeRef.new(shape: GetIdleRecommendationsResponse)
|
1924
|
+
o.errors << Shapes::ShapeRef.new(shape: OptInRequiredException)
|
1925
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1926
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1927
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1928
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1929
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1930
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingAuthenticationToken)
|
1931
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1932
|
+
end)
|
1933
|
+
|
1778
1934
|
api.add_operation(:get_lambda_function_recommendations, Seahorse::Model::Operation.new.tap do |o|
|
1779
1935
|
o.name = "GetLambdaFunctionRecommendations"
|
1780
1936
|
o.http_method = "POST"
|