aws-sdk-costexplorer 1.61.0 → 1.62.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-costexplorer.rb +1 -1
- data/lib/aws-sdk-costexplorer/client.rb +21 -1
- data/lib/aws-sdk-costexplorer/client_api.rb +26 -0
- data/lib/aws-sdk-costexplorer/types.rb +91 -3
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8d7741a11d352ecb597ab62d9918b43beaaa5f087cd104ca6c6b4180bedeea2c
|
|
4
|
+
data.tar.gz: 9e125c0337c0496fe330c075591fff6fa0fde00509610f743159297bd1693f7c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ab84acc6f85086dd9fa5ef8a52894541f6de8ed03433a8378240ba760ccd7428cf751b6c400d2d9c441952b129a4d94654528356f5a85b3efa90f431450cf3e4
|
|
7
|
+
data.tar.gz: 45f5f6ba41bc7d3c16f2649415a4859807690a17cb2d3e93e04298b44eb1f875a90d12c4867b707fe1cf250b8e1045bc2342b40ca23a4dce61262ada9b848136
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.62.0 (2021-05-24)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Introduced FindingReasonCodes, PlatformDifferences, DiskResourceUtilization and NetworkResourceUtilization to GetRightsizingRecommendation action
|
|
8
|
+
|
|
4
9
|
1.61.0 (2021-04-19)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.62.0
|
data/lib/aws-sdk-costexplorer.rb
CHANGED
|
@@ -2807,6 +2807,14 @@ module Aws::CostExplorer
|
|
|
2807
2807
|
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.ebs_resource_utilization.ebs_write_ops_per_second #=> String
|
|
2808
2808
|
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.ebs_resource_utilization.ebs_read_bytes_per_second #=> String
|
|
2809
2809
|
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.ebs_resource_utilization.ebs_write_bytes_per_second #=> String
|
|
2810
|
+
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.disk_resource_utilization.disk_read_ops_per_second #=> String
|
|
2811
|
+
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.disk_resource_utilization.disk_write_ops_per_second #=> String
|
|
2812
|
+
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.disk_resource_utilization.disk_read_bytes_per_second #=> String
|
|
2813
|
+
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.disk_resource_utilization.disk_write_bytes_per_second #=> String
|
|
2814
|
+
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.network_resource_utilization.network_in_bytes_per_second #=> String
|
|
2815
|
+
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.network_resource_utilization.network_out_bytes_per_second #=> String
|
|
2816
|
+
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.network_resource_utilization.network_packets_in_per_second #=> String
|
|
2817
|
+
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.network_resource_utilization.network_packets_out_per_second #=> String
|
|
2810
2818
|
# resp.rightsizing_recommendations[0].current_instance.reservation_covered_hours_in_lookback_period #=> String
|
|
2811
2819
|
# resp.rightsizing_recommendations[0].current_instance.savings_plans_covered_hours_in_lookback_period #=> String
|
|
2812
2820
|
# resp.rightsizing_recommendations[0].current_instance.on_demand_hours_in_lookback_period #=> String
|
|
@@ -2835,8 +2843,20 @@ module Aws::CostExplorer
|
|
|
2835
2843
|
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.ebs_resource_utilization.ebs_write_ops_per_second #=> String
|
|
2836
2844
|
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.ebs_resource_utilization.ebs_read_bytes_per_second #=> String
|
|
2837
2845
|
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.ebs_resource_utilization.ebs_write_bytes_per_second #=> String
|
|
2846
|
+
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.disk_resource_utilization.disk_read_ops_per_second #=> String
|
|
2847
|
+
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.disk_resource_utilization.disk_write_ops_per_second #=> String
|
|
2848
|
+
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.disk_resource_utilization.disk_read_bytes_per_second #=> String
|
|
2849
|
+
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.disk_resource_utilization.disk_write_bytes_per_second #=> String
|
|
2850
|
+
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.network_resource_utilization.network_in_bytes_per_second #=> String
|
|
2851
|
+
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.network_resource_utilization.network_out_bytes_per_second #=> String
|
|
2852
|
+
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.network_resource_utilization.network_packets_in_per_second #=> String
|
|
2853
|
+
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.network_resource_utilization.network_packets_out_per_second #=> String
|
|
2854
|
+
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].platform_differences #=> Array
|
|
2855
|
+
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].platform_differences[0] #=> String, one of "HYPERVISOR", "NETWORK_INTERFACE", "STORAGE_INTERFACE", "INSTANCE_STORE_AVAILABILITY", "VIRTUALIZATION_TYPE"
|
|
2838
2856
|
# resp.rightsizing_recommendations[0].terminate_recommendation_detail.estimated_monthly_savings #=> String
|
|
2839
2857
|
# resp.rightsizing_recommendations[0].terminate_recommendation_detail.currency_code #=> String
|
|
2858
|
+
# resp.rightsizing_recommendations[0].finding_reason_codes #=> Array
|
|
2859
|
+
# resp.rightsizing_recommendations[0].finding_reason_codes[0] #=> String, one of "CPU_OVER_PROVISIONED", "CPU_UNDER_PROVISIONED", "MEMORY_OVER_PROVISIONED", "MEMORY_UNDER_PROVISIONED", "EBS_THROUGHPUT_OVER_PROVISIONED", "EBS_THROUGHPUT_UNDER_PROVISIONED", "EBS_IOPS_OVER_PROVISIONED", "EBS_IOPS_UNDER_PROVISIONED", "NETWORK_BANDWIDTH_OVER_PROVISIONED", "NETWORK_BANDWIDTH_UNDER_PROVISIONED", "NETWORK_PPS_OVER_PROVISIONED", "NETWORK_PPS_UNDER_PROVISIONED", "DISK_IOPS_OVER_PROVISIONED", "DISK_IOPS_UNDER_PROVISIONED", "DISK_THROUGHPUT_OVER_PROVISIONED", "DISK_THROUGHPUT_UNDER_PROVISIONED"
|
|
2840
2860
|
# resp.next_page_token #=> String
|
|
2841
2861
|
# resp.configuration.recommendation_target #=> String, one of "SAME_INSTANCE_FAMILY", "CROSS_INSTANCE_FAMILY"
|
|
2842
2862
|
# resp.configuration.benefits_considered #=> Boolean
|
|
@@ -4099,7 +4119,7 @@ module Aws::CostExplorer
|
|
|
4099
4119
|
params: params,
|
|
4100
4120
|
config: config)
|
|
4101
4121
|
context[:gem_name] = 'aws-sdk-costexplorer'
|
|
4102
|
-
context[:gem_version] = '1.
|
|
4122
|
+
context[:gem_version] = '1.62.0'
|
|
4103
4123
|
Seahorse::Client::Request.new(handlers, context)
|
|
4104
4124
|
end
|
|
4105
4125
|
|
|
@@ -80,6 +80,7 @@ module Aws::CostExplorer
|
|
|
80
80
|
DimensionValues = Shapes::StructureShape.new(name: 'DimensionValues')
|
|
81
81
|
DimensionValuesWithAttributes = Shapes::StructureShape.new(name: 'DimensionValuesWithAttributes')
|
|
82
82
|
DimensionValuesWithAttributesList = Shapes::ListShape.new(name: 'DimensionValuesWithAttributesList')
|
|
83
|
+
DiskResourceUtilization = Shapes::StructureShape.new(name: 'DiskResourceUtilization')
|
|
83
84
|
EBSResourceUtilization = Shapes::StructureShape.new(name: 'EBSResourceUtilization')
|
|
84
85
|
EC2InstanceDetails = Shapes::StructureShape.new(name: 'EC2InstanceDetails')
|
|
85
86
|
EC2ResourceDetails = Shapes::StructureShape.new(name: 'EC2ResourceDetails')
|
|
@@ -92,6 +93,8 @@ module Aws::CostExplorer
|
|
|
92
93
|
Estimated = Shapes::BooleanShape.new(name: 'Estimated')
|
|
93
94
|
Expression = Shapes::StructureShape.new(name: 'Expression')
|
|
94
95
|
Expressions = Shapes::ListShape.new(name: 'Expressions')
|
|
96
|
+
FindingReasonCode = Shapes::StringShape.new(name: 'FindingReasonCode')
|
|
97
|
+
FindingReasonCodes = Shapes::ListShape.new(name: 'FindingReasonCodes')
|
|
95
98
|
ForecastResult = Shapes::StructureShape.new(name: 'ForecastResult')
|
|
96
99
|
ForecastResultsByTime = Shapes::ListShape.new(name: 'ForecastResultsByTime')
|
|
97
100
|
GenericBoolean = Shapes::BooleanShape.new(name: 'GenericBoolean')
|
|
@@ -164,6 +167,7 @@ module Aws::CostExplorer
|
|
|
164
167
|
MonitorDimension = Shapes::StringShape.new(name: 'MonitorDimension')
|
|
165
168
|
MonitorType = Shapes::StringShape.new(name: 'MonitorType')
|
|
166
169
|
NetRISavings = Shapes::StringShape.new(name: 'NetRISavings')
|
|
170
|
+
NetworkResourceUtilization = Shapes::StructureShape.new(name: 'NetworkResourceUtilization')
|
|
167
171
|
NextPageToken = Shapes::StringShape.new(name: 'NextPageToken')
|
|
168
172
|
NonNegativeInteger = Shapes::IntegerShape.new(name: 'NonNegativeInteger')
|
|
169
173
|
NullableNonNegativeDouble = Shapes::FloatShape.new(name: 'NullableNonNegativeDouble')
|
|
@@ -175,6 +179,8 @@ module Aws::CostExplorer
|
|
|
175
179
|
OnDemandNormalizedUnits = Shapes::StringShape.new(name: 'OnDemandNormalizedUnits')
|
|
176
180
|
PageSize = Shapes::IntegerShape.new(name: 'PageSize')
|
|
177
181
|
PaymentOption = Shapes::StringShape.new(name: 'PaymentOption')
|
|
182
|
+
PlatformDifference = Shapes::StringShape.new(name: 'PlatformDifference')
|
|
183
|
+
PlatformDifferences = Shapes::ListShape.new(name: 'PlatformDifferences')
|
|
178
184
|
PredictionIntervalLevel = Shapes::IntegerShape.new(name: 'PredictionIntervalLevel')
|
|
179
185
|
ProvideAnomalyFeedbackRequest = Shapes::StructureShape.new(name: 'ProvideAnomalyFeedbackRequest')
|
|
180
186
|
ProvideAnomalyFeedbackResponse = Shapes::StructureShape.new(name: 'ProvideAnomalyFeedbackResponse')
|
|
@@ -487,6 +493,12 @@ module Aws::CostExplorer
|
|
|
487
493
|
|
|
488
494
|
DimensionValuesWithAttributesList.member = Shapes::ShapeRef.new(shape: DimensionValuesWithAttributes)
|
|
489
495
|
|
|
496
|
+
DiskResourceUtilization.add_member(:disk_read_ops_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "DiskReadOpsPerSecond"))
|
|
497
|
+
DiskResourceUtilization.add_member(:disk_write_ops_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "DiskWriteOpsPerSecond"))
|
|
498
|
+
DiskResourceUtilization.add_member(:disk_read_bytes_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "DiskReadBytesPerSecond"))
|
|
499
|
+
DiskResourceUtilization.add_member(:disk_write_bytes_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "DiskWriteBytesPerSecond"))
|
|
500
|
+
DiskResourceUtilization.struct_class = Types::DiskResourceUtilization
|
|
501
|
+
|
|
490
502
|
EBSResourceUtilization.add_member(:ebs_read_ops_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "EbsReadOpsPerSecond"))
|
|
491
503
|
EBSResourceUtilization.add_member(:ebs_write_ops_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "EbsWriteOpsPerSecond"))
|
|
492
504
|
EBSResourceUtilization.add_member(:ebs_read_bytes_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "EbsReadBytesPerSecond"))
|
|
@@ -518,6 +530,8 @@ module Aws::CostExplorer
|
|
|
518
530
|
EC2ResourceUtilization.add_member(:max_memory_utilization_percentage, Shapes::ShapeRef.new(shape: GenericString, location_name: "MaxMemoryUtilizationPercentage"))
|
|
519
531
|
EC2ResourceUtilization.add_member(:max_storage_utilization_percentage, Shapes::ShapeRef.new(shape: GenericString, location_name: "MaxStorageUtilizationPercentage"))
|
|
520
532
|
EC2ResourceUtilization.add_member(:ebs_resource_utilization, Shapes::ShapeRef.new(shape: EBSResourceUtilization, location_name: "EBSResourceUtilization"))
|
|
533
|
+
EC2ResourceUtilization.add_member(:disk_resource_utilization, Shapes::ShapeRef.new(shape: DiskResourceUtilization, location_name: "DiskResourceUtilization"))
|
|
534
|
+
EC2ResourceUtilization.add_member(:network_resource_utilization, Shapes::ShapeRef.new(shape: NetworkResourceUtilization, location_name: "NetworkResourceUtilization"))
|
|
521
535
|
EC2ResourceUtilization.struct_class = Types::EC2ResourceUtilization
|
|
522
536
|
|
|
523
537
|
EC2Specification.add_member(:offering_class, Shapes::ShapeRef.new(shape: OfferingClass, location_name: "OfferingClass"))
|
|
@@ -548,6 +562,8 @@ module Aws::CostExplorer
|
|
|
548
562
|
|
|
549
563
|
Expressions.member = Shapes::ShapeRef.new(shape: Expression)
|
|
550
564
|
|
|
565
|
+
FindingReasonCodes.member = Shapes::ShapeRef.new(shape: FindingReasonCode)
|
|
566
|
+
|
|
551
567
|
ForecastResult.add_member(:time_period, Shapes::ShapeRef.new(shape: DateInterval, location_name: "TimePeriod"))
|
|
552
568
|
ForecastResult.add_member(:mean_value, Shapes::ShapeRef.new(shape: GenericString, location_name: "MeanValue"))
|
|
553
569
|
ForecastResult.add_member(:prediction_interval_lower_bound, Shapes::ShapeRef.new(shape: GenericString, location_name: "PredictionIntervalLowerBound"))
|
|
@@ -853,6 +869,14 @@ module Aws::CostExplorer
|
|
|
853
869
|
|
|
854
870
|
MonitorArnList.member = Shapes::ShapeRef.new(shape: Arn)
|
|
855
871
|
|
|
872
|
+
NetworkResourceUtilization.add_member(:network_in_bytes_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "NetworkInBytesPerSecond"))
|
|
873
|
+
NetworkResourceUtilization.add_member(:network_out_bytes_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "NetworkOutBytesPerSecond"))
|
|
874
|
+
NetworkResourceUtilization.add_member(:network_packets_in_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "NetworkPacketsInPerSecond"))
|
|
875
|
+
NetworkResourceUtilization.add_member(:network_packets_out_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "NetworkPacketsOutPerSecond"))
|
|
876
|
+
NetworkResourceUtilization.struct_class = Types::NetworkResourceUtilization
|
|
877
|
+
|
|
878
|
+
PlatformDifferences.member = Shapes::ShapeRef.new(shape: PlatformDifference)
|
|
879
|
+
|
|
856
880
|
ProvideAnomalyFeedbackRequest.add_member(:anomaly_id, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "AnomalyId"))
|
|
857
881
|
ProvideAnomalyFeedbackRequest.add_member(:feedback, Shapes::ShapeRef.new(shape: AnomalyFeedbackType, required: true, location_name: "Feedback"))
|
|
858
882
|
ProvideAnomalyFeedbackRequest.struct_class = Types::ProvideAnomalyFeedbackRequest
|
|
@@ -979,6 +1003,7 @@ module Aws::CostExplorer
|
|
|
979
1003
|
RightsizingRecommendation.add_member(:rightsizing_type, Shapes::ShapeRef.new(shape: RightsizingType, location_name: "RightsizingType"))
|
|
980
1004
|
RightsizingRecommendation.add_member(:modify_recommendation_detail, Shapes::ShapeRef.new(shape: ModifyRecommendationDetail, location_name: "ModifyRecommendationDetail"))
|
|
981
1005
|
RightsizingRecommendation.add_member(:terminate_recommendation_detail, Shapes::ShapeRef.new(shape: TerminateRecommendationDetail, location_name: "TerminateRecommendationDetail"))
|
|
1006
|
+
RightsizingRecommendation.add_member(:finding_reason_codes, Shapes::ShapeRef.new(shape: FindingReasonCodes, location_name: "FindingReasonCodes"))
|
|
982
1007
|
RightsizingRecommendation.struct_class = Types::RightsizingRecommendation
|
|
983
1008
|
|
|
984
1009
|
RightsizingRecommendationConfiguration.add_member(:recommendation_target, Shapes::ShapeRef.new(shape: RecommendationTarget, required: true, location_name: "RecommendationTarget"))
|
|
@@ -1145,6 +1170,7 @@ module Aws::CostExplorer
|
|
|
1145
1170
|
TargetInstance.add_member(:default_target_instance, Shapes::ShapeRef.new(shape: GenericBoolean, location_name: "DefaultTargetInstance"))
|
|
1146
1171
|
TargetInstance.add_member(:resource_details, Shapes::ShapeRef.new(shape: ResourceDetails, location_name: "ResourceDetails"))
|
|
1147
1172
|
TargetInstance.add_member(:expected_resource_utilization, Shapes::ShapeRef.new(shape: ResourceUtilization, location_name: "ExpectedResourceUtilization"))
|
|
1173
|
+
TargetInstance.add_member(:platform_differences, Shapes::ShapeRef.new(shape: PlatformDifferences, location_name: "PlatformDifferences"))
|
|
1148
1174
|
TargetInstance.struct_class = Types::TargetInstance
|
|
1149
1175
|
|
|
1150
1176
|
TargetInstancesList.member = Shapes::ShapeRef.new(shape: TargetInstance)
|
|
@@ -1309,6 +1309,36 @@ module Aws::CostExplorer
|
|
|
1309
1309
|
include Aws::Structure
|
|
1310
1310
|
end
|
|
1311
1311
|
|
|
1312
|
+
# The field that contains a list of disk (local storage) metrics
|
|
1313
|
+
# associated with the current instance.
|
|
1314
|
+
#
|
|
1315
|
+
# @!attribute [rw] disk_read_ops_per_second
|
|
1316
|
+
# The maximum number of read operations per second.
|
|
1317
|
+
# @return [String]
|
|
1318
|
+
#
|
|
1319
|
+
# @!attribute [rw] disk_write_ops_per_second
|
|
1320
|
+
# The maximum number of write operations per second.
|
|
1321
|
+
# @return [String]
|
|
1322
|
+
#
|
|
1323
|
+
# @!attribute [rw] disk_read_bytes_per_second
|
|
1324
|
+
# The maximum read throughput operations per second.
|
|
1325
|
+
# @return [String]
|
|
1326
|
+
#
|
|
1327
|
+
# @!attribute [rw] disk_write_bytes_per_second
|
|
1328
|
+
# The maximum write throughput operations per second.
|
|
1329
|
+
# @return [String]
|
|
1330
|
+
#
|
|
1331
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/DiskResourceUtilization AWS API Documentation
|
|
1332
|
+
#
|
|
1333
|
+
class DiskResourceUtilization < Struct.new(
|
|
1334
|
+
:disk_read_ops_per_second,
|
|
1335
|
+
:disk_write_ops_per_second,
|
|
1336
|
+
:disk_read_bytes_per_second,
|
|
1337
|
+
:disk_write_bytes_per_second)
|
|
1338
|
+
SENSITIVE = []
|
|
1339
|
+
include Aws::Structure
|
|
1340
|
+
end
|
|
1341
|
+
|
|
1312
1342
|
# The EBS field that contains a list of EBS metrics associated with the
|
|
1313
1343
|
# current instance.
|
|
1314
1344
|
#
|
|
@@ -1467,13 +1497,25 @@ module Aws::CostExplorer
|
|
|
1467
1497
|
# the current instance.
|
|
1468
1498
|
# @return [Types::EBSResourceUtilization]
|
|
1469
1499
|
#
|
|
1500
|
+
# @!attribute [rw] disk_resource_utilization
|
|
1501
|
+
# The field that contains a list of disk (local storage) metrics
|
|
1502
|
+
# associated with the current instance.
|
|
1503
|
+
# @return [Types::DiskResourceUtilization]
|
|
1504
|
+
#
|
|
1505
|
+
# @!attribute [rw] network_resource_utilization
|
|
1506
|
+
# The network field that contains a list of network metrics associated
|
|
1507
|
+
# with the current instance.
|
|
1508
|
+
# @return [Types::NetworkResourceUtilization]
|
|
1509
|
+
#
|
|
1470
1510
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/EC2ResourceUtilization AWS API Documentation
|
|
1471
1511
|
#
|
|
1472
1512
|
class EC2ResourceUtilization < Struct.new(
|
|
1473
1513
|
:max_cpu_utilization_percentage,
|
|
1474
1514
|
:max_memory_utilization_percentage,
|
|
1475
1515
|
:max_storage_utilization_percentage,
|
|
1476
|
-
:ebs_resource_utilization
|
|
1516
|
+
:ebs_resource_utilization,
|
|
1517
|
+
:disk_resource_utilization,
|
|
1518
|
+
:network_resource_utilization)
|
|
1477
1519
|
SENSITIVE = []
|
|
1478
1520
|
include Aws::Structure
|
|
1479
1521
|
end
|
|
@@ -5108,6 +5150,38 @@ module Aws::CostExplorer
|
|
|
5108
5150
|
include Aws::Structure
|
|
5109
5151
|
end
|
|
5110
5152
|
|
|
5153
|
+
# The network field that contains a list of network metrics associated
|
|
5154
|
+
# with the current instance.
|
|
5155
|
+
#
|
|
5156
|
+
# @!attribute [rw] network_in_bytes_per_second
|
|
5157
|
+
# The network ingress throughput utilization measured in Bytes per
|
|
5158
|
+
# second.
|
|
5159
|
+
# @return [String]
|
|
5160
|
+
#
|
|
5161
|
+
# @!attribute [rw] network_out_bytes_per_second
|
|
5162
|
+
# The network outgress throughput utilization measured in Bytes per
|
|
5163
|
+
# second.
|
|
5164
|
+
# @return [String]
|
|
5165
|
+
#
|
|
5166
|
+
# @!attribute [rw] network_packets_in_per_second
|
|
5167
|
+
# The network ingress packets measured in packets per second.
|
|
5168
|
+
# @return [String]
|
|
5169
|
+
#
|
|
5170
|
+
# @!attribute [rw] network_packets_out_per_second
|
|
5171
|
+
# The network outgress packets measured in packets per second.
|
|
5172
|
+
# @return [String]
|
|
5173
|
+
#
|
|
5174
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/NetworkResourceUtilization AWS API Documentation
|
|
5175
|
+
#
|
|
5176
|
+
class NetworkResourceUtilization < Struct.new(
|
|
5177
|
+
:network_in_bytes_per_second,
|
|
5178
|
+
:network_out_bytes_per_second,
|
|
5179
|
+
:network_packets_in_per_second,
|
|
5180
|
+
:network_packets_out_per_second)
|
|
5181
|
+
SENSITIVE = []
|
|
5182
|
+
include Aws::Structure
|
|
5183
|
+
end
|
|
5184
|
+
|
|
5111
5185
|
# @note When making an API call, you may pass ProvideAnomalyFeedbackRequest
|
|
5112
5186
|
# data as a hash:
|
|
5113
5187
|
#
|
|
@@ -5721,6 +5795,12 @@ module Aws::CostExplorer
|
|
|
5721
5795
|
# Details for termination recommendations.
|
|
5722
5796
|
# @return [Types::TerminateRecommendationDetail]
|
|
5723
5797
|
#
|
|
5798
|
+
# @!attribute [rw] finding_reason_codes
|
|
5799
|
+
# The list of possible reasons why the recommendation is generated
|
|
5800
|
+
# such as under or over utilization of specific metrics (for example,
|
|
5801
|
+
# CPU, Memory, Network).
|
|
5802
|
+
# @return [Array<String>]
|
|
5803
|
+
#
|
|
5724
5804
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/RightsizingRecommendation AWS API Documentation
|
|
5725
5805
|
#
|
|
5726
5806
|
class RightsizingRecommendation < Struct.new(
|
|
@@ -5728,7 +5808,8 @@ module Aws::CostExplorer
|
|
|
5728
5808
|
:current_instance,
|
|
5729
5809
|
:rightsizing_type,
|
|
5730
5810
|
:modify_recommendation_detail,
|
|
5731
|
-
:terminate_recommendation_detail
|
|
5811
|
+
:terminate_recommendation_detail,
|
|
5812
|
+
:finding_reason_codes)
|
|
5732
5813
|
SENSITIVE = []
|
|
5733
5814
|
include Aws::Structure
|
|
5734
5815
|
end
|
|
@@ -6560,6 +6641,12 @@ module Aws::CostExplorer
|
|
|
6560
6641
|
# Expected utilization metrics for target instance type.
|
|
6561
6642
|
# @return [Types::ResourceUtilization]
|
|
6562
6643
|
#
|
|
6644
|
+
# @!attribute [rw] platform_differences
|
|
6645
|
+
# Explains the actions you might need to take in order to successfully
|
|
6646
|
+
# migrate your workloads from the current instance type to the
|
|
6647
|
+
# recommended instance type.
|
|
6648
|
+
# @return [Array<String>]
|
|
6649
|
+
#
|
|
6563
6650
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/TargetInstance AWS API Documentation
|
|
6564
6651
|
#
|
|
6565
6652
|
class TargetInstance < Struct.new(
|
|
@@ -6568,7 +6655,8 @@ module Aws::CostExplorer
|
|
|
6568
6655
|
:currency_code,
|
|
6569
6656
|
:default_target_instance,
|
|
6570
6657
|
:resource_details,
|
|
6571
|
-
:expected_resource_utilization
|
|
6658
|
+
:expected_resource_utilization,
|
|
6659
|
+
:platform_differences)
|
|
6572
6660
|
SENSITIVE = []
|
|
6573
6661
|
include Aws::Structure
|
|
6574
6662
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-costexplorer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.62.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-05-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|
|
@@ -83,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
83
83
|
- !ruby/object:Gem::Version
|
|
84
84
|
version: '0'
|
|
85
85
|
requirements: []
|
|
86
|
-
|
|
87
|
-
rubygems_version: 2.7.6.3
|
|
86
|
+
rubygems_version: 3.1.6
|
|
88
87
|
signing_key:
|
|
89
88
|
specification_version: 4
|
|
90
89
|
summary: AWS SDK for Ruby - AWS Cost Explorer
|