aws-sdk-costexplorer 1.60.0 → 1.64.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-costexplorer.rb +1 -1
- data/lib/aws-sdk-costexplorer/client.rb +27 -7
- data/lib/aws-sdk-costexplorer/client_api.rb +28 -2
- data/lib/aws-sdk-costexplorer/types.rb +94 -6
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc2a993c2916f037bf802205f0e06f57f2f8eba6ac1eeca1ac5828aeee5abcca
|
4
|
+
data.tar.gz: 4b0ae354a0aac2137ac908f048ec9f90ecf338182bade0112fce0a13d5f6c841
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94878caf2b546aa416eba037d855fc6a5553154af949a4c9fea436b65cd4ac379b6f95fcf1e2e0bee93245a735b52ad45121cc7dc4976e957e664f4bd47f3e9a
|
7
|
+
data.tar.gz: a8cedf87de830bc72ba14f0871926bed4a8f8417c6040fc7fb4c148ee233e1b19a5f90a3ef64f21c593872f0f81f0c8cc37ecf5507e819010dbd3c9548cfc6db
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.64.0 (2021-07-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.63.0 (2021-07-28)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.62.0 (2021-05-24)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Introduced FindingReasonCodes, PlatformDifferences, DiskResourceUtilization and NetworkResourceUtilization to GetRightsizingRecommendation action
|
18
|
+
|
19
|
+
1.61.0 (2021-04-19)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Adding support for Sagemaker savings plans in GetSavingsPlansPurchaseRecommendation API
|
23
|
+
|
4
24
|
1.60.0 (2021-03-23)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.64.0
|
data/lib/aws-sdk-costexplorer.rb
CHANGED
@@ -916,7 +916,7 @@ module Aws::CostExplorer
|
|
916
916
|
# data is retrieved from `2017-01-01` up to and including `2017-04-30`
|
917
917
|
# but not including `2017-05-01`.
|
918
918
|
#
|
919
|
-
# @option params [String] :granularity
|
919
|
+
# @option params [required, String] :granularity
|
920
920
|
# Sets the AWS cost granularity to `MONTHLY` or `DAILY`, or `HOURLY`. If
|
921
921
|
# `Granularity` isn't set, the response object doesn't include the
|
922
922
|
# `Granularity`, either `MONTHLY` or `DAILY`, or `HOURLY`.
|
@@ -987,7 +987,7 @@ module Aws::CostExplorer
|
|
987
987
|
# start: "YearMonthDay", # required
|
988
988
|
# end: "YearMonthDay", # required
|
989
989
|
# },
|
990
|
-
# granularity: "DAILY", # accepts DAILY, MONTHLY, HOURLY
|
990
|
+
# granularity: "DAILY", # required, accepts DAILY, MONTHLY, HOURLY
|
991
991
|
# filter: {
|
992
992
|
# or: [
|
993
993
|
# {
|
@@ -1092,7 +1092,7 @@ module Aws::CostExplorer
|
|
1092
1092
|
# `2017-01-01` up to and including `2017-04-30` but not including
|
1093
1093
|
# `2017-05-01`.
|
1094
1094
|
#
|
1095
|
-
# @option params [String] :granularity
|
1095
|
+
# @option params [required, String] :granularity
|
1096
1096
|
# Sets the AWS cost granularity to `MONTHLY`, `DAILY`, or `HOURLY`. If
|
1097
1097
|
# `Granularity` isn't set, the response object doesn't include the
|
1098
1098
|
# `Granularity`, `MONTHLY`, `DAILY`, or `HOURLY`.
|
@@ -1160,7 +1160,7 @@ module Aws::CostExplorer
|
|
1160
1160
|
# start: "YearMonthDay", # required
|
1161
1161
|
# end: "YearMonthDay", # required
|
1162
1162
|
# },
|
1163
|
-
# granularity: "DAILY", # accepts DAILY, MONTHLY, HOURLY
|
1163
|
+
# granularity: "DAILY", # required, accepts DAILY, MONTHLY, HOURLY
|
1164
1164
|
# filter: { # required
|
1165
1165
|
# or: [
|
1166
1166
|
# {
|
@@ -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
|
@@ -3078,7 +3098,7 @@ module Aws::CostExplorer
|
|
3078
3098
|
# @example Request syntax with placeholder values
|
3079
3099
|
#
|
3080
3100
|
# resp = client.get_savings_plans_purchase_recommendation({
|
3081
|
-
# savings_plans_type: "COMPUTE_SP", # required, accepts COMPUTE_SP, EC2_INSTANCE_SP
|
3101
|
+
# savings_plans_type: "COMPUTE_SP", # required, accepts COMPUTE_SP, EC2_INSTANCE_SP, SAGEMAKER_SP
|
3082
3102
|
# term_in_years: "ONE_YEAR", # required, accepts ONE_YEAR, THREE_YEARS
|
3083
3103
|
# payment_option: "NO_UPFRONT", # required, accepts NO_UPFRONT, PARTIAL_UPFRONT, ALL_UPFRONT, LIGHT_UTILIZATION, MEDIUM_UTILIZATION, HEAVY_UTILIZATION
|
3084
3104
|
# account_scope: "PAYER", # accepts PAYER, LINKED
|
@@ -3123,7 +3143,7 @@ module Aws::CostExplorer
|
|
3123
3143
|
# resp.metadata.generation_timestamp #=> String
|
3124
3144
|
# resp.metadata.additional_metadata #=> String
|
3125
3145
|
# resp.savings_plans_purchase_recommendation.account_scope #=> String, one of "PAYER", "LINKED"
|
3126
|
-
# resp.savings_plans_purchase_recommendation.savings_plans_type #=> String, one of "COMPUTE_SP", "EC2_INSTANCE_SP"
|
3146
|
+
# resp.savings_plans_purchase_recommendation.savings_plans_type #=> String, one of "COMPUTE_SP", "EC2_INSTANCE_SP", "SAGEMAKER_SP"
|
3127
3147
|
# resp.savings_plans_purchase_recommendation.term_in_years #=> String, one of "ONE_YEAR", "THREE_YEARS"
|
3128
3148
|
# resp.savings_plans_purchase_recommendation.payment_option #=> String, one of "NO_UPFRONT", "PARTIAL_UPFRONT", "ALL_UPFRONT", "LIGHT_UTILIZATION", "MEDIUM_UTILIZATION", "HEAVY_UTILIZATION"
|
3129
3149
|
# resp.savings_plans_purchase_recommendation.lookback_period_in_days #=> String, one of "SEVEN_DAYS", "THIRTY_DAYS", "SIXTY_DAYS"
|
@@ -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.64.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"))
|
@@ -588,7 +604,7 @@ module Aws::CostExplorer
|
|
588
604
|
GetAnomalySubscriptionsResponse.struct_class = Types::GetAnomalySubscriptionsResponse
|
589
605
|
|
590
606
|
GetCostAndUsageRequest.add_member(:time_period, Shapes::ShapeRef.new(shape: DateInterval, required: true, location_name: "TimePeriod"))
|
591
|
-
GetCostAndUsageRequest.add_member(:granularity, Shapes::ShapeRef.new(shape: Granularity, location_name: "Granularity"))
|
607
|
+
GetCostAndUsageRequest.add_member(:granularity, Shapes::ShapeRef.new(shape: Granularity, required: true, location_name: "Granularity"))
|
592
608
|
GetCostAndUsageRequest.add_member(:filter, Shapes::ShapeRef.new(shape: Expression, location_name: "Filter"))
|
593
609
|
GetCostAndUsageRequest.add_member(:metrics, Shapes::ShapeRef.new(shape: MetricNames, required: true, location_name: "Metrics"))
|
594
610
|
GetCostAndUsageRequest.add_member(:group_by, Shapes::ShapeRef.new(shape: GroupDefinitions, location_name: "GroupBy"))
|
@@ -602,7 +618,7 @@ module Aws::CostExplorer
|
|
602
618
|
GetCostAndUsageResponse.struct_class = Types::GetCostAndUsageResponse
|
603
619
|
|
604
620
|
GetCostAndUsageWithResourcesRequest.add_member(:time_period, Shapes::ShapeRef.new(shape: DateInterval, required: true, location_name: "TimePeriod"))
|
605
|
-
GetCostAndUsageWithResourcesRequest.add_member(:granularity, Shapes::ShapeRef.new(shape: Granularity, location_name: "Granularity"))
|
621
|
+
GetCostAndUsageWithResourcesRequest.add_member(:granularity, Shapes::ShapeRef.new(shape: Granularity, required: true, location_name: "Granularity"))
|
606
622
|
GetCostAndUsageWithResourcesRequest.add_member(:filter, Shapes::ShapeRef.new(shape: Expression, required: true, location_name: "Filter"))
|
607
623
|
GetCostAndUsageWithResourcesRequest.add_member(:metrics, Shapes::ShapeRef.new(shape: MetricNames, location_name: "Metrics"))
|
608
624
|
GetCostAndUsageWithResourcesRequest.add_member(:group_by, Shapes::ShapeRef.new(shape: GroupDefinitions, location_name: "GroupBy"))
|
@@ -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
|
@@ -2004,7 +2046,7 @@ module Aws::CostExplorer
|
|
2004
2046
|
# start: "YearMonthDay", # required
|
2005
2047
|
# end: "YearMonthDay", # required
|
2006
2048
|
# },
|
2007
|
-
# granularity: "DAILY", # accepts DAILY, MONTHLY, HOURLY
|
2049
|
+
# granularity: "DAILY", # required, accepts DAILY, MONTHLY, HOURLY
|
2008
2050
|
# filter: {
|
2009
2051
|
# or: [
|
2010
2052
|
# {
|
@@ -2168,7 +2210,7 @@ module Aws::CostExplorer
|
|
2168
2210
|
# start: "YearMonthDay", # required
|
2169
2211
|
# end: "YearMonthDay", # required
|
2170
2212
|
# },
|
2171
|
-
# granularity: "DAILY", # accepts DAILY, MONTHLY, HOURLY
|
2213
|
+
# granularity: "DAILY", # required, accepts DAILY, MONTHLY, HOURLY
|
2172
2214
|
# filter: { # required
|
2173
2215
|
# or: [
|
2174
2216
|
# {
|
@@ -4107,7 +4149,7 @@ module Aws::CostExplorer
|
|
4107
4149
|
# data as a hash:
|
4108
4150
|
#
|
4109
4151
|
# {
|
4110
|
-
# savings_plans_type: "COMPUTE_SP", # required, accepts COMPUTE_SP, EC2_INSTANCE_SP
|
4152
|
+
# savings_plans_type: "COMPUTE_SP", # required, accepts COMPUTE_SP, EC2_INSTANCE_SP, SAGEMAKER_SP
|
4111
4153
|
# term_in_years: "ONE_YEAR", # required, accepts ONE_YEAR, THREE_YEARS
|
4112
4154
|
# payment_option: "NO_UPFRONT", # required, accepts NO_UPFRONT, PARTIAL_UPFRONT, ALL_UPFRONT, LIGHT_UTILIZATION, MEDIUM_UTILIZATION, HEAVY_UTILIZATION
|
4113
4155
|
# account_scope: "PAYER", # accepts PAYER, LINKED
|
@@ -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.64.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-07-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.119.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.119.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -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.2
|
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
|