aws-sdk-costexplorer 1.61.0 → 1.65.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 +208 -141
- data/lib/aws-sdk-costexplorer/client_api.rb +55 -0
- data/lib/aws-sdk-costexplorer/types.rb +721 -460
- metadata +5 -6
@@ -46,6 +46,14 @@ module Aws::CostExplorer
|
|
46
46
|
CostCategoryRuleType = Shapes::StringShape.new(name: 'CostCategoryRuleType')
|
47
47
|
CostCategoryRuleVersion = Shapes::StringShape.new(name: 'CostCategoryRuleVersion')
|
48
48
|
CostCategoryRulesList = Shapes::ListShape.new(name: 'CostCategoryRulesList')
|
49
|
+
CostCategorySplitChargeMethod = Shapes::StringShape.new(name: 'CostCategorySplitChargeMethod')
|
50
|
+
CostCategorySplitChargeRule = Shapes::StructureShape.new(name: 'CostCategorySplitChargeRule')
|
51
|
+
CostCategorySplitChargeRuleParameter = Shapes::StructureShape.new(name: 'CostCategorySplitChargeRuleParameter')
|
52
|
+
CostCategorySplitChargeRuleParameterType = Shapes::StringShape.new(name: 'CostCategorySplitChargeRuleParameterType')
|
53
|
+
CostCategorySplitChargeRuleParameterValuesList = Shapes::ListShape.new(name: 'CostCategorySplitChargeRuleParameterValuesList')
|
54
|
+
CostCategorySplitChargeRuleParametersList = Shapes::ListShape.new(name: 'CostCategorySplitChargeRuleParametersList')
|
55
|
+
CostCategorySplitChargeRuleTargetsList = Shapes::ListShape.new(name: 'CostCategorySplitChargeRuleTargetsList')
|
56
|
+
CostCategorySplitChargeRulesList = Shapes::ListShape.new(name: 'CostCategorySplitChargeRulesList')
|
49
57
|
CostCategoryStatus = Shapes::StringShape.new(name: 'CostCategoryStatus')
|
50
58
|
CostCategoryStatusComponent = Shapes::StringShape.new(name: 'CostCategoryStatusComponent')
|
51
59
|
CostCategoryValue = Shapes::StringShape.new(name: 'CostCategoryValue')
|
@@ -80,6 +88,7 @@ module Aws::CostExplorer
|
|
80
88
|
DimensionValues = Shapes::StructureShape.new(name: 'DimensionValues')
|
81
89
|
DimensionValuesWithAttributes = Shapes::StructureShape.new(name: 'DimensionValuesWithAttributes')
|
82
90
|
DimensionValuesWithAttributesList = Shapes::ListShape.new(name: 'DimensionValuesWithAttributesList')
|
91
|
+
DiskResourceUtilization = Shapes::StructureShape.new(name: 'DiskResourceUtilization')
|
83
92
|
EBSResourceUtilization = Shapes::StructureShape.new(name: 'EBSResourceUtilization')
|
84
93
|
EC2InstanceDetails = Shapes::StructureShape.new(name: 'EC2InstanceDetails')
|
85
94
|
EC2ResourceDetails = Shapes::StructureShape.new(name: 'EC2ResourceDetails')
|
@@ -92,6 +101,8 @@ module Aws::CostExplorer
|
|
92
101
|
Estimated = Shapes::BooleanShape.new(name: 'Estimated')
|
93
102
|
Expression = Shapes::StructureShape.new(name: 'Expression')
|
94
103
|
Expressions = Shapes::ListShape.new(name: 'Expressions')
|
104
|
+
FindingReasonCode = Shapes::StringShape.new(name: 'FindingReasonCode')
|
105
|
+
FindingReasonCodes = Shapes::ListShape.new(name: 'FindingReasonCodes')
|
95
106
|
ForecastResult = Shapes::StructureShape.new(name: 'ForecastResult')
|
96
107
|
ForecastResultsByTime = Shapes::ListShape.new(name: 'ForecastResultsByTime')
|
97
108
|
GenericBoolean = Shapes::BooleanShape.new(name: 'GenericBoolean')
|
@@ -164,6 +175,7 @@ module Aws::CostExplorer
|
|
164
175
|
MonitorDimension = Shapes::StringShape.new(name: 'MonitorDimension')
|
165
176
|
MonitorType = Shapes::StringShape.new(name: 'MonitorType')
|
166
177
|
NetRISavings = Shapes::StringShape.new(name: 'NetRISavings')
|
178
|
+
NetworkResourceUtilization = Shapes::StructureShape.new(name: 'NetworkResourceUtilization')
|
167
179
|
NextPageToken = Shapes::StringShape.new(name: 'NextPageToken')
|
168
180
|
NonNegativeInteger = Shapes::IntegerShape.new(name: 'NonNegativeInteger')
|
169
181
|
NullableNonNegativeDouble = Shapes::FloatShape.new(name: 'NullableNonNegativeDouble')
|
@@ -175,6 +187,8 @@ module Aws::CostExplorer
|
|
175
187
|
OnDemandNormalizedUnits = Shapes::StringShape.new(name: 'OnDemandNormalizedUnits')
|
176
188
|
PageSize = Shapes::IntegerShape.new(name: 'PageSize')
|
177
189
|
PaymentOption = Shapes::StringShape.new(name: 'PaymentOption')
|
190
|
+
PlatformDifference = Shapes::StringShape.new(name: 'PlatformDifference')
|
191
|
+
PlatformDifferences = Shapes::ListShape.new(name: 'PlatformDifferences')
|
178
192
|
PredictionIntervalLevel = Shapes::IntegerShape.new(name: 'PredictionIntervalLevel')
|
179
193
|
ProvideAnomalyFeedbackRequest = Shapes::StructureShape.new(name: 'ProvideAnomalyFeedbackRequest')
|
180
194
|
ProvideAnomalyFeedbackResponse = Shapes::StructureShape.new(name: 'ProvideAnomalyFeedbackResponse')
|
@@ -340,6 +354,7 @@ module Aws::CostExplorer
|
|
340
354
|
CostCategory.add_member(:name, Shapes::ShapeRef.new(shape: CostCategoryName, required: true, location_name: "Name"))
|
341
355
|
CostCategory.add_member(:rule_version, Shapes::ShapeRef.new(shape: CostCategoryRuleVersion, required: true, location_name: "RuleVersion"))
|
342
356
|
CostCategory.add_member(:rules, Shapes::ShapeRef.new(shape: CostCategoryRulesList, required: true, location_name: "Rules"))
|
357
|
+
CostCategory.add_member(:split_charge_rules, Shapes::ShapeRef.new(shape: CostCategorySplitChargeRulesList, location_name: "SplitChargeRules"))
|
343
358
|
CostCategory.add_member(:processing_status, Shapes::ShapeRef.new(shape: CostCategoryProcessingStatusList, location_name: "ProcessingStatus"))
|
344
359
|
CostCategory.add_member(:default_value, Shapes::ShapeRef.new(shape: CostCategoryValue, location_name: "DefaultValue"))
|
345
360
|
CostCategory.struct_class = Types::CostCategory
|
@@ -376,6 +391,24 @@ module Aws::CostExplorer
|
|
376
391
|
|
377
392
|
CostCategoryRulesList.member = Shapes::ShapeRef.new(shape: CostCategoryRule)
|
378
393
|
|
394
|
+
CostCategorySplitChargeRule.add_member(:source, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "Source"))
|
395
|
+
CostCategorySplitChargeRule.add_member(:targets, Shapes::ShapeRef.new(shape: CostCategorySplitChargeRuleTargetsList, required: true, location_name: "Targets"))
|
396
|
+
CostCategorySplitChargeRule.add_member(:method, Shapes::ShapeRef.new(shape: CostCategorySplitChargeMethod, required: true, location_name: "Method"))
|
397
|
+
CostCategorySplitChargeRule.add_member(:parameters, Shapes::ShapeRef.new(shape: CostCategorySplitChargeRuleParametersList, location_name: "Parameters"))
|
398
|
+
CostCategorySplitChargeRule.struct_class = Types::CostCategorySplitChargeRule
|
399
|
+
|
400
|
+
CostCategorySplitChargeRuleParameter.add_member(:type, Shapes::ShapeRef.new(shape: CostCategorySplitChargeRuleParameterType, required: true, location_name: "Type"))
|
401
|
+
CostCategorySplitChargeRuleParameter.add_member(:values, Shapes::ShapeRef.new(shape: CostCategorySplitChargeRuleParameterValuesList, required: true, location_name: "Values"))
|
402
|
+
CostCategorySplitChargeRuleParameter.struct_class = Types::CostCategorySplitChargeRuleParameter
|
403
|
+
|
404
|
+
CostCategorySplitChargeRuleParameterValuesList.member = Shapes::ShapeRef.new(shape: GenericString)
|
405
|
+
|
406
|
+
CostCategorySplitChargeRuleParametersList.member = Shapes::ShapeRef.new(shape: CostCategorySplitChargeRuleParameter)
|
407
|
+
|
408
|
+
CostCategorySplitChargeRuleTargetsList.member = Shapes::ShapeRef.new(shape: GenericString)
|
409
|
+
|
410
|
+
CostCategorySplitChargeRulesList.member = Shapes::ShapeRef.new(shape: CostCategorySplitChargeRule)
|
411
|
+
|
379
412
|
CostCategoryValues.add_member(:key, Shapes::ShapeRef.new(shape: CostCategoryName, location_name: "Key"))
|
380
413
|
CostCategoryValues.add_member(:values, Shapes::ShapeRef.new(shape: Values, location_name: "Values"))
|
381
414
|
CostCategoryValues.add_member(:match_options, Shapes::ShapeRef.new(shape: MatchOptions, location_name: "MatchOptions"))
|
@@ -426,6 +459,7 @@ module Aws::CostExplorer
|
|
426
459
|
CreateCostCategoryDefinitionRequest.add_member(:rule_version, Shapes::ShapeRef.new(shape: CostCategoryRuleVersion, required: true, location_name: "RuleVersion"))
|
427
460
|
CreateCostCategoryDefinitionRequest.add_member(:rules, Shapes::ShapeRef.new(shape: CostCategoryRulesList, required: true, location_name: "Rules"))
|
428
461
|
CreateCostCategoryDefinitionRequest.add_member(:default_value, Shapes::ShapeRef.new(shape: CostCategoryValue, location_name: "DefaultValue"))
|
462
|
+
CreateCostCategoryDefinitionRequest.add_member(:split_charge_rules, Shapes::ShapeRef.new(shape: CostCategorySplitChargeRulesList, location_name: "SplitChargeRules"))
|
429
463
|
CreateCostCategoryDefinitionRequest.struct_class = Types::CreateCostCategoryDefinitionRequest
|
430
464
|
|
431
465
|
CreateCostCategoryDefinitionResponse.add_member(:cost_category_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "CostCategoryArn"))
|
@@ -487,6 +521,12 @@ module Aws::CostExplorer
|
|
487
521
|
|
488
522
|
DimensionValuesWithAttributesList.member = Shapes::ShapeRef.new(shape: DimensionValuesWithAttributes)
|
489
523
|
|
524
|
+
DiskResourceUtilization.add_member(:disk_read_ops_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "DiskReadOpsPerSecond"))
|
525
|
+
DiskResourceUtilization.add_member(:disk_write_ops_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "DiskWriteOpsPerSecond"))
|
526
|
+
DiskResourceUtilization.add_member(:disk_read_bytes_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "DiskReadBytesPerSecond"))
|
527
|
+
DiskResourceUtilization.add_member(:disk_write_bytes_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "DiskWriteBytesPerSecond"))
|
528
|
+
DiskResourceUtilization.struct_class = Types::DiskResourceUtilization
|
529
|
+
|
490
530
|
EBSResourceUtilization.add_member(:ebs_read_ops_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "EbsReadOpsPerSecond"))
|
491
531
|
EBSResourceUtilization.add_member(:ebs_write_ops_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "EbsWriteOpsPerSecond"))
|
492
532
|
EBSResourceUtilization.add_member(:ebs_read_bytes_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "EbsReadBytesPerSecond"))
|
@@ -518,6 +558,8 @@ module Aws::CostExplorer
|
|
518
558
|
EC2ResourceUtilization.add_member(:max_memory_utilization_percentage, Shapes::ShapeRef.new(shape: GenericString, location_name: "MaxMemoryUtilizationPercentage"))
|
519
559
|
EC2ResourceUtilization.add_member(:max_storage_utilization_percentage, Shapes::ShapeRef.new(shape: GenericString, location_name: "MaxStorageUtilizationPercentage"))
|
520
560
|
EC2ResourceUtilization.add_member(:ebs_resource_utilization, Shapes::ShapeRef.new(shape: EBSResourceUtilization, location_name: "EBSResourceUtilization"))
|
561
|
+
EC2ResourceUtilization.add_member(:disk_resource_utilization, Shapes::ShapeRef.new(shape: DiskResourceUtilization, location_name: "DiskResourceUtilization"))
|
562
|
+
EC2ResourceUtilization.add_member(:network_resource_utilization, Shapes::ShapeRef.new(shape: NetworkResourceUtilization, location_name: "NetworkResourceUtilization"))
|
521
563
|
EC2ResourceUtilization.struct_class = Types::EC2ResourceUtilization
|
522
564
|
|
523
565
|
EC2Specification.add_member(:offering_class, Shapes::ShapeRef.new(shape: OfferingClass, location_name: "OfferingClass"))
|
@@ -548,6 +590,8 @@ module Aws::CostExplorer
|
|
548
590
|
|
549
591
|
Expressions.member = Shapes::ShapeRef.new(shape: Expression)
|
550
592
|
|
593
|
+
FindingReasonCodes.member = Shapes::ShapeRef.new(shape: FindingReasonCode)
|
594
|
+
|
551
595
|
ForecastResult.add_member(:time_period, Shapes::ShapeRef.new(shape: DateInterval, location_name: "TimePeriod"))
|
552
596
|
ForecastResult.add_member(:mean_value, Shapes::ShapeRef.new(shape: GenericString, location_name: "MeanValue"))
|
553
597
|
ForecastResult.add_member(:prediction_interval_lower_bound, Shapes::ShapeRef.new(shape: GenericString, location_name: "PredictionIntervalLowerBound"))
|
@@ -853,6 +897,14 @@ module Aws::CostExplorer
|
|
853
897
|
|
854
898
|
MonitorArnList.member = Shapes::ShapeRef.new(shape: Arn)
|
855
899
|
|
900
|
+
NetworkResourceUtilization.add_member(:network_in_bytes_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "NetworkInBytesPerSecond"))
|
901
|
+
NetworkResourceUtilization.add_member(:network_out_bytes_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "NetworkOutBytesPerSecond"))
|
902
|
+
NetworkResourceUtilization.add_member(:network_packets_in_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "NetworkPacketsInPerSecond"))
|
903
|
+
NetworkResourceUtilization.add_member(:network_packets_out_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "NetworkPacketsOutPerSecond"))
|
904
|
+
NetworkResourceUtilization.struct_class = Types::NetworkResourceUtilization
|
905
|
+
|
906
|
+
PlatformDifferences.member = Shapes::ShapeRef.new(shape: PlatformDifference)
|
907
|
+
|
856
908
|
ProvideAnomalyFeedbackRequest.add_member(:anomaly_id, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "AnomalyId"))
|
857
909
|
ProvideAnomalyFeedbackRequest.add_member(:feedback, Shapes::ShapeRef.new(shape: AnomalyFeedbackType, required: true, location_name: "Feedback"))
|
858
910
|
ProvideAnomalyFeedbackRequest.struct_class = Types::ProvideAnomalyFeedbackRequest
|
@@ -979,6 +1031,7 @@ module Aws::CostExplorer
|
|
979
1031
|
RightsizingRecommendation.add_member(:rightsizing_type, Shapes::ShapeRef.new(shape: RightsizingType, location_name: "RightsizingType"))
|
980
1032
|
RightsizingRecommendation.add_member(:modify_recommendation_detail, Shapes::ShapeRef.new(shape: ModifyRecommendationDetail, location_name: "ModifyRecommendationDetail"))
|
981
1033
|
RightsizingRecommendation.add_member(:terminate_recommendation_detail, Shapes::ShapeRef.new(shape: TerminateRecommendationDetail, location_name: "TerminateRecommendationDetail"))
|
1034
|
+
RightsizingRecommendation.add_member(:finding_reason_codes, Shapes::ShapeRef.new(shape: FindingReasonCodes, location_name: "FindingReasonCodes"))
|
982
1035
|
RightsizingRecommendation.struct_class = Types::RightsizingRecommendation
|
983
1036
|
|
984
1037
|
RightsizingRecommendationConfiguration.add_member(:recommendation_target, Shapes::ShapeRef.new(shape: RecommendationTarget, required: true, location_name: "RecommendationTarget"))
|
@@ -1145,6 +1198,7 @@ module Aws::CostExplorer
|
|
1145
1198
|
TargetInstance.add_member(:default_target_instance, Shapes::ShapeRef.new(shape: GenericBoolean, location_name: "DefaultTargetInstance"))
|
1146
1199
|
TargetInstance.add_member(:resource_details, Shapes::ShapeRef.new(shape: ResourceDetails, location_name: "ResourceDetails"))
|
1147
1200
|
TargetInstance.add_member(:expected_resource_utilization, Shapes::ShapeRef.new(shape: ResourceUtilization, location_name: "ExpectedResourceUtilization"))
|
1201
|
+
TargetInstance.add_member(:platform_differences, Shapes::ShapeRef.new(shape: PlatformDifferences, location_name: "PlatformDifferences"))
|
1148
1202
|
TargetInstance.struct_class = Types::TargetInstance
|
1149
1203
|
|
1150
1204
|
TargetInstancesList.member = Shapes::ShapeRef.new(shape: TargetInstance)
|
@@ -1189,6 +1243,7 @@ module Aws::CostExplorer
|
|
1189
1243
|
UpdateCostCategoryDefinitionRequest.add_member(:rule_version, Shapes::ShapeRef.new(shape: CostCategoryRuleVersion, required: true, location_name: "RuleVersion"))
|
1190
1244
|
UpdateCostCategoryDefinitionRequest.add_member(:rules, Shapes::ShapeRef.new(shape: CostCategoryRulesList, required: true, location_name: "Rules"))
|
1191
1245
|
UpdateCostCategoryDefinitionRequest.add_member(:default_value, Shapes::ShapeRef.new(shape: CostCategoryValue, location_name: "DefaultValue"))
|
1246
|
+
UpdateCostCategoryDefinitionRequest.add_member(:split_charge_rules, Shapes::ShapeRef.new(shape: CostCategorySplitChargeRulesList, location_name: "SplitChargeRules"))
|
1192
1247
|
UpdateCostCategoryDefinitionRequest.struct_class = Types::UpdateCostCategoryDefinitionRequest
|
1193
1248
|
|
1194
1249
|
UpdateCostCategoryDefinitionResponse.add_member(:cost_category_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "CostCategoryArn"))
|
@@ -26,8 +26,8 @@ module Aws::CostExplorer
|
|
26
26
|
# @return [String]
|
27
27
|
#
|
28
28
|
# @!attribute [rw] dimension_value
|
29
|
-
# The dimension for the anomaly
|
30
|
-
# service monitor.
|
29
|
+
# The dimension for the anomaly (for example, an Amazon Web Services
|
30
|
+
# service in a service monitor).
|
31
31
|
# @return [String]
|
32
32
|
#
|
33
33
|
# @!attribute [rw] root_causes
|
@@ -95,9 +95,9 @@ module Aws::CostExplorer
|
|
95
95
|
end
|
96
96
|
|
97
97
|
# This object continuously inspects your account's cost data for
|
98
|
-
# anomalies
|
99
|
-
# content consists of detailed metadata and the current status of
|
100
|
-
# monitor object.
|
98
|
+
# anomalies. It's based on `MonitorType` and `MonitorSpecification`.
|
99
|
+
# The content consists of detailed metadata and the current status of
|
100
|
+
# the monitor object.
|
101
101
|
#
|
102
102
|
# @note When making an API call, you may pass AnomalyMonitor
|
103
103
|
# data as a hash:
|
@@ -180,7 +180,7 @@ module Aws::CostExplorer
|
|
180
180
|
# filter for `REGION==us-east-1 OR REGION==us-west-1`. For
|
181
181
|
# `GetRightsizingRecommendation`, the Region is a full name (for
|
182
182
|
# example, `REGION==US East (N. Virginia)`. The `Expression` example
|
183
|
-
#
|
183
|
+
# is as follows:
|
184
184
|
#
|
185
185
|
# `\{ "Dimensions": \{ "Key": "REGION", "Values": [ "us-east-1",
|
186
186
|
# “us-west-1” ] \} \}`
|
@@ -192,11 +192,11 @@ module Aws::CostExplorer
|
|
192
192
|
#
|
193
193
|
# * Compound dimension values with logical operations - You can use
|
194
194
|
# multiple `Expression` types and the logical operators `AND/OR/NOT`
|
195
|
-
# to create a list of one or more `Expression` objects.
|
196
|
-
# you
|
197
|
-
# filter on `((REGION == us-east-1 OR REGION == us-west-1) OR
|
195
|
+
# to create a list of one or more `Expression` objects. By doing
|
196
|
+
# this, you can filter on more advanced options. For example, you
|
197
|
+
# can filter on `((REGION == us-east-1 OR REGION == us-west-1) OR
|
198
198
|
# (TAG.Type == Type1)) AND (USAGE_TYPE != DataTransfer)`. The
|
199
|
-
# `Expression` for that
|
199
|
+
# `Expression` for that is as follows:
|
200
200
|
#
|
201
201
|
# `\{ "And": [ \{"Or": [ \{"Dimensions": \{ "Key": "REGION",
|
202
202
|
# "Values": [ "us-east-1", "us-west-1" ] \}\}, \{"Tags": \{ "Key":
|
@@ -214,13 +214,13 @@ module Aws::CostExplorer
|
|
214
214
|
# "USAGE_TYPE", "Values": [ "DataTransfer" ] \} \} `
|
215
215
|
#
|
216
216
|
# <note markdown="1"> For the `GetRightsizingRecommendation` action, a combination of OR
|
217
|
-
# and NOT
|
217
|
+
# and NOT isn't supported. OR isn't supported between different
|
218
218
|
# dimensions, or dimensions and tags. NOT operators aren't supported.
|
219
219
|
# Dimensions are also limited to `LINKED_ACCOUNT`, `REGION`, or
|
220
220
|
# `RIGHTSIZING_TYPE`.
|
221
221
|
#
|
222
222
|
# For the `GetReservationPurchaseRecommendation` action, only NOT is
|
223
|
-
# supported. AND and OR
|
223
|
+
# supported. AND and OR aren't supported. Dimensions are limited to
|
224
224
|
# `LINKED_ACCOUNT`.
|
225
225
|
#
|
226
226
|
# </note>
|
@@ -246,11 +246,11 @@ module Aws::CostExplorer
|
|
246
246
|
include Aws::Structure
|
247
247
|
end
|
248
248
|
|
249
|
-
# Quantifies the anomaly. The higher score means that it
|
249
|
+
# Quantifies the anomaly. The higher score means that it's more
|
250
250
|
# anomalous.
|
251
251
|
#
|
252
252
|
# @!attribute [rw] max_score
|
253
|
-
# The maximum score observed during the `AnomalyDateInterval`.
|
253
|
+
# The maximum score that's observed during the `AnomalyDateInterval`.
|
254
254
|
# @return [Float]
|
255
255
|
#
|
256
256
|
# @!attribute [rw] current_score
|
@@ -312,7 +312,7 @@ module Aws::CostExplorer
|
|
312
312
|
# @return [Float]
|
313
313
|
#
|
314
314
|
# @!attribute [rw] frequency
|
315
|
-
# The frequency
|
315
|
+
# The frequency that anomaly reports are sent over email.
|
316
316
|
# @return [String]
|
317
317
|
#
|
318
318
|
# @!attribute [rw] subscription_name
|
@@ -354,11 +354,11 @@ module Aws::CostExplorer
|
|
354
354
|
# @return [String]
|
355
355
|
#
|
356
356
|
# @!attribute [rw] effective_start
|
357
|
-
# The
|
357
|
+
# The effective state data of your Cost Category.
|
358
358
|
# @return [String]
|
359
359
|
#
|
360
360
|
# @!attribute [rw] effective_end
|
361
|
-
# The
|
361
|
+
# The effective end data of your Cost Category.
|
362
362
|
# @return [String]
|
363
363
|
#
|
364
364
|
# @!attribute [rw] name
|
@@ -370,11 +370,16 @@ module Aws::CostExplorer
|
|
370
370
|
# @return [String]
|
371
371
|
#
|
372
372
|
# @!attribute [rw] rules
|
373
|
-
#
|
374
|
-
# the line item, then the first rule to match is used to
|
375
|
-
# that Cost Category value.
|
373
|
+
# The rules are processed in order. If there are multiple rules that
|
374
|
+
# match the line item, then the first rule to match is used to
|
375
|
+
# determine that Cost Category value.
|
376
376
|
# @return [Array<Types::CostCategoryRule>]
|
377
377
|
#
|
378
|
+
# @!attribute [rw] split_charge_rules
|
379
|
+
# The split charge rules that are used to allocate your charges
|
380
|
+
# between your Cost Category values.
|
381
|
+
# @return [Array<Types::CostCategorySplitChargeRule>]
|
382
|
+
#
|
378
383
|
# @!attribute [rw] processing_status
|
379
384
|
# The list of processing statuses for Cost Management products for a
|
380
385
|
# specific cost category.
|
@@ -393,6 +398,7 @@ module Aws::CostExplorer
|
|
393
398
|
:name,
|
394
399
|
:rule_version,
|
395
400
|
:rules,
|
401
|
+
:split_charge_rules,
|
396
402
|
:processing_status,
|
397
403
|
:default_value)
|
398
404
|
SENSITIVE = []
|
@@ -403,9 +409,9 @@ module Aws::CostExplorer
|
|
403
409
|
# `CostCategoryRule` rule type as `INHERITED_VALUE`. This rule type adds
|
404
410
|
# the flexibility of defining a rule that dynamically inherits the cost
|
405
411
|
# category value from the dimension value defined by
|
406
|
-
# `CostCategoryInheritedValueDimension`. For example, if you
|
407
|
-
# dynamically group costs based on the value of a specific tag
|
408
|
-
#
|
412
|
+
# `CostCategoryInheritedValueDimension`. For example, if you want to
|
413
|
+
# dynamically group costs that are based on the value of a specific tag
|
414
|
+
# key, first choose an inherited value rule type, then choose the tag
|
409
415
|
# dimension and specify the tag key to use.
|
410
416
|
#
|
411
417
|
# @note When making an API call, you may pass CostCategoryInheritedValueDimension
|
@@ -417,11 +423,11 @@ module Aws::CostExplorer
|
|
417
423
|
# }
|
418
424
|
#
|
419
425
|
# @!attribute [rw] dimension_name
|
420
|
-
# The name of dimension
|
426
|
+
# The name of the dimension that's used to group costs.
|
421
427
|
#
|
422
|
-
# If you specify `LINKED_ACCOUNT_NAME`, the cost category value
|
423
|
-
#
|
424
|
-
#
|
428
|
+
# If you specify `LINKED_ACCOUNT_NAME`, the cost category value is
|
429
|
+
# based on account name. If you specify `TAG`, the cost category value
|
430
|
+
# will be based on the value of the specified tag key.
|
425
431
|
# @return [String]
|
426
432
|
#
|
427
433
|
# @!attribute [rw] dimension_key
|
@@ -480,7 +486,8 @@ module Aws::CostExplorer
|
|
480
486
|
# @return [String]
|
481
487
|
#
|
482
488
|
# @!attribute [rw] number_of_rules
|
483
|
-
# The number of rules associated with a specific Cost
|
489
|
+
# The number of rules that are associated with a specific Cost
|
490
|
+
# Category.
|
484
491
|
# @return [Integer]
|
485
492
|
#
|
486
493
|
# @!attribute [rw] processing_status
|
@@ -567,14 +574,14 @@ module Aws::CostExplorer
|
|
567
574
|
# dimensions supported are `LINKED_ACCOUNT`, `SERVICE_CODE`,
|
568
575
|
# `RECORD_TYPE`, and `LINKED_ACCOUNT_NAME`.
|
569
576
|
#
|
570
|
-
# Root level `OR`
|
577
|
+
# Root level `OR` isn't supported. We recommend that you create a
|
571
578
|
# separate rule instead.
|
572
579
|
#
|
573
580
|
# `RECORD_TYPE` is a dimension used for Cost Explorer APIs, and is
|
574
581
|
# also supported for Cost Category expressions. This dimension uses
|
575
582
|
# different terms, depending on whether you're using the console or
|
576
583
|
# API/JSON editor. For a detailed comparison, see [Term
|
577
|
-
# Comparisons][2] in the *
|
584
|
+
# Comparisons][2] in the *Billing and Cost Management User Guide*.
|
578
585
|
#
|
579
586
|
#
|
580
587
|
#
|
@@ -583,8 +590,8 @@ module Aws::CostExplorer
|
|
583
590
|
# @return [Types::Expression]
|
584
591
|
#
|
585
592
|
# @!attribute [rw] inherited_value
|
586
|
-
# The value the line item
|
587
|
-
#
|
593
|
+
# The value the line item is categorized as if the line item contains
|
594
|
+
# the matched dimension.
|
588
595
|
# @return [Types::CostCategoryInheritedValueDimension]
|
589
596
|
#
|
590
597
|
# @!attribute [rw] type
|
@@ -592,10 +599,10 @@ module Aws::CostExplorer
|
|
592
599
|
# or `INHERITED_VALUE`. The `INHERITED_VALUE` rule type adds the
|
593
600
|
# flexibility of defining a rule that dynamically inherits the cost
|
594
601
|
# category value from the dimension value defined by
|
595
|
-
# `CostCategoryInheritedValueDimension`. For example, if you
|
602
|
+
# `CostCategoryInheritedValueDimension`. For example, if you want to
|
596
603
|
# dynamically group costs based on the value of a specific tag key,
|
597
|
-
#
|
598
|
-
#
|
604
|
+
# first choose an inherited value rule type, then choose the tag
|
605
|
+
# dimension and specify the tag key to use.
|
599
606
|
# @return [String]
|
600
607
|
#
|
601
608
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CostCategoryRule AWS API Documentation
|
@@ -609,15 +616,101 @@ module Aws::CostExplorer
|
|
609
616
|
include Aws::Structure
|
610
617
|
end
|
611
618
|
|
619
|
+
# Use the split charge rule to split the cost of one Cost Category value
|
620
|
+
# across several other target values.
|
621
|
+
#
|
622
|
+
# @note When making an API call, you may pass CostCategorySplitChargeRule
|
623
|
+
# data as a hash:
|
624
|
+
#
|
625
|
+
# {
|
626
|
+
# source: "GenericString", # required
|
627
|
+
# targets: ["GenericString"], # required
|
628
|
+
# method: "FIXED", # required, accepts FIXED, PROPORTIONAL, EVEN
|
629
|
+
# parameters: [
|
630
|
+
# {
|
631
|
+
# type: "ALLOCATION_PERCENTAGES", # required, accepts ALLOCATION_PERCENTAGES
|
632
|
+
# values: ["GenericString"], # required
|
633
|
+
# },
|
634
|
+
# ],
|
635
|
+
# }
|
636
|
+
#
|
637
|
+
# @!attribute [rw] source
|
638
|
+
# The Cost Category value that you want to split. That value can't be
|
639
|
+
# used as a source or a target in other split charge rules. To
|
640
|
+
# indicate uncategorized costs, you can use an empty string as the
|
641
|
+
# source.
|
642
|
+
# @return [String]
|
643
|
+
#
|
644
|
+
# @!attribute [rw] targets
|
645
|
+
# The Cost Category values that you want to split costs across. These
|
646
|
+
# values can't be used as a source in other split charge rules.
|
647
|
+
# @return [Array<String>]
|
648
|
+
#
|
649
|
+
# @!attribute [rw] method
|
650
|
+
# The method that's used to define how to split your source costs
|
651
|
+
# across your targets.
|
652
|
+
#
|
653
|
+
# `Proportional` - Allocates charges across your targets based on the
|
654
|
+
# proportional weighted cost of each target.
|
655
|
+
#
|
656
|
+
# `Fixed` - Allocates charges across your targets based on your
|
657
|
+
# defined allocation percentage.
|
658
|
+
#
|
659
|
+
# >`Even` - Allocates costs evenly across all targets.
|
660
|
+
# @return [String]
|
661
|
+
#
|
662
|
+
# @!attribute [rw] parameters
|
663
|
+
# The parameters for a split charge method. This is only required for
|
664
|
+
# the `FIXED` method.
|
665
|
+
# @return [Array<Types::CostCategorySplitChargeRuleParameter>]
|
666
|
+
#
|
667
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CostCategorySplitChargeRule AWS API Documentation
|
668
|
+
#
|
669
|
+
class CostCategorySplitChargeRule < Struct.new(
|
670
|
+
:source,
|
671
|
+
:targets,
|
672
|
+
:method,
|
673
|
+
:parameters)
|
674
|
+
SENSITIVE = []
|
675
|
+
include Aws::Structure
|
676
|
+
end
|
677
|
+
|
678
|
+
# The parameters for a split charge method.
|
679
|
+
#
|
680
|
+
# @note When making an API call, you may pass CostCategorySplitChargeRuleParameter
|
681
|
+
# data as a hash:
|
682
|
+
#
|
683
|
+
# {
|
684
|
+
# type: "ALLOCATION_PERCENTAGES", # required, accepts ALLOCATION_PERCENTAGES
|
685
|
+
# values: ["GenericString"], # required
|
686
|
+
# }
|
687
|
+
#
|
688
|
+
# @!attribute [rw] type
|
689
|
+
# The parameter type.
|
690
|
+
# @return [String]
|
691
|
+
#
|
692
|
+
# @!attribute [rw] values
|
693
|
+
# The parameter values.
|
694
|
+
# @return [Array<String>]
|
695
|
+
#
|
696
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CostCategorySplitChargeRuleParameter AWS API Documentation
|
697
|
+
#
|
698
|
+
class CostCategorySplitChargeRuleParameter < Struct.new(
|
699
|
+
:type,
|
700
|
+
:values)
|
701
|
+
SENSITIVE = []
|
702
|
+
include Aws::Structure
|
703
|
+
end
|
704
|
+
|
612
705
|
# The Cost Categories values used for filtering the costs.
|
613
706
|
#
|
614
707
|
# If `Values` and `Key` are not specified, the `ABSENT` `MatchOption` is
|
615
|
-
# applied to all Cost Categories. That is,
|
616
|
-
#
|
708
|
+
# applied to all Cost Categories. That is, it filters on resources that
|
709
|
+
# aren't mapped to any Cost Categories.
|
617
710
|
#
|
618
|
-
# If `Values` is provided and `Key`
|
711
|
+
# If `Values` is provided and `Key` isn't specified, the `ABSENT`
|
619
712
|
# `MatchOption` is applied to the Cost Categories `Key` only. That is,
|
620
|
-
#
|
713
|
+
# it filters on resources without the given Cost Categories key.
|
621
714
|
#
|
622
715
|
# @note When making an API call, you may pass CostCategoryValues
|
623
716
|
# data as a hash:
|
@@ -747,15 +840,15 @@ module Aws::CostExplorer
|
|
747
840
|
include Aws::Structure
|
748
841
|
end
|
749
842
|
|
750
|
-
# The amount of instance usage, in normalized units.
|
751
|
-
#
|
752
|
-
# uniform way. For example, suppose you run an xlarge instance
|
753
|
-
# 2xlarge instance. If you run both instances for the same amount
|
754
|
-
# time, the 2xlarge instance uses twice as much of your reservation
|
755
|
-
# the xlarge instance, even though both instances show only one
|
756
|
-
# instance-hour.
|
757
|
-
# xlarge instance used 8 normalized units, and the
|
758
|
-
# 16 normalized units.
|
843
|
+
# The amount of instance usage, in normalized units. You can use
|
844
|
+
# normalized units to see your EC2 usage for multiple sizes of instances
|
845
|
+
# in a uniform way. For example, suppose that you run an xlarge instance
|
846
|
+
# and a 2xlarge instance. If you run both instances for the same amount
|
847
|
+
# of time, the 2xlarge instance uses twice as much of your reservation
|
848
|
+
# as the xlarge instance, even though both instances show only one
|
849
|
+
# instance-hour. When you use normalized units instead of
|
850
|
+
# instance-hours, the xlarge instance used 8 normalized units, and the
|
851
|
+
# 2xlarge instance used 16 normalized units.
|
759
852
|
#
|
760
853
|
# For more information, see [Modifying Reserved Instances][1] in the
|
761
854
|
# *Amazon Elastic Compute Cloud User Guide for Linux Instances*.
|
@@ -957,6 +1050,19 @@ module Aws::CostExplorer
|
|
957
1050
|
# },
|
958
1051
|
# ],
|
959
1052
|
# default_value: "CostCategoryValue",
|
1053
|
+
# split_charge_rules: [
|
1054
|
+
# {
|
1055
|
+
# source: "GenericString", # required
|
1056
|
+
# targets: ["GenericString"], # required
|
1057
|
+
# method: "FIXED", # required, accepts FIXED, PROPORTIONAL, EVEN
|
1058
|
+
# parameters: [
|
1059
|
+
# {
|
1060
|
+
# type: "ALLOCATION_PERCENTAGES", # required, accepts ALLOCATION_PERCENTAGES
|
1061
|
+
# values: ["GenericString"], # required
|
1062
|
+
# },
|
1063
|
+
# ],
|
1064
|
+
# },
|
1065
|
+
# ],
|
960
1066
|
# }
|
961
1067
|
#
|
962
1068
|
# @!attribute [rw] name
|
@@ -980,13 +1086,19 @@ module Aws::CostExplorer
|
|
980
1086
|
# The default value for the cost category.
|
981
1087
|
# @return [String]
|
982
1088
|
#
|
1089
|
+
# @!attribute [rw] split_charge_rules
|
1090
|
+
# The split charge rules used to allocate your charges between your
|
1091
|
+
# Cost Category values.
|
1092
|
+
# @return [Array<Types::CostCategorySplitChargeRule>]
|
1093
|
+
#
|
983
1094
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CreateCostCategoryDefinitionRequest AWS API Documentation
|
984
1095
|
#
|
985
1096
|
class CreateCostCategoryDefinitionRequest < Struct.new(
|
986
1097
|
:name,
|
987
1098
|
:rule_version,
|
988
1099
|
:rules,
|
989
|
-
:default_value
|
1100
|
+
:default_value,
|
1101
|
+
:split_charge_rules)
|
990
1102
|
SENSITIVE = []
|
991
1103
|
include Aws::Structure
|
992
1104
|
end
|
@@ -1015,12 +1127,12 @@ module Aws::CostExplorer
|
|
1015
1127
|
# @return [String]
|
1016
1128
|
#
|
1017
1129
|
# @!attribute [rw] instance_name
|
1018
|
-
# The name you
|
1130
|
+
# The name that you given an instance. This field shows as blank if
|
1019
1131
|
# you haven't given the instance a name.
|
1020
1132
|
# @return [String]
|
1021
1133
|
#
|
1022
1134
|
# @!attribute [rw] tags
|
1023
|
-
# Cost allocation resource tags applied to the instance.
|
1135
|
+
# Cost allocation resource tags that are applied to the instance.
|
1024
1136
|
# @return [Array<Types::TagValues>]
|
1025
1137
|
#
|
1026
1138
|
# @!attribute [rw] resource_details
|
@@ -1033,31 +1145,33 @@ module Aws::CostExplorer
|
|
1033
1145
|
# @return [Types::ResourceUtilization]
|
1034
1146
|
#
|
1035
1147
|
# @!attribute [rw] reservation_covered_hours_in_lookback_period
|
1036
|
-
#
|
1148
|
+
# The number of hours during the lookback period that's covered by
|
1149
|
+
# reservations.
|
1037
1150
|
# @return [String]
|
1038
1151
|
#
|
1039
1152
|
# @!attribute [rw] savings_plans_covered_hours_in_lookback_period
|
1040
|
-
#
|
1153
|
+
# The number of hours during the lookback period that's covered by
|
1154
|
+
# Savings Plans.
|
1041
1155
|
# @return [String]
|
1042
1156
|
#
|
1043
1157
|
# @!attribute [rw] on_demand_hours_in_lookback_period
|
1044
|
-
#
|
1045
|
-
# rates.
|
1158
|
+
# The number of hours during the lookback period that's billed at
|
1159
|
+
# On-Demand rates.
|
1046
1160
|
# @return [String]
|
1047
1161
|
#
|
1048
1162
|
# @!attribute [rw] total_running_hours_in_lookback_period
|
1049
|
-
# The total number of hours the instance ran during the lookback
|
1163
|
+
# The total number of hours that the instance ran during the lookback
|
1050
1164
|
# period.
|
1051
1165
|
# @return [String]
|
1052
1166
|
#
|
1053
1167
|
# @!attribute [rw] monthly_cost
|
1054
|
-
#
|
1168
|
+
# The current On-Demand cost of operating this instance on a monthly
|
1055
1169
|
# basis.
|
1056
1170
|
# @return [String]
|
1057
1171
|
#
|
1058
1172
|
# @!attribute [rw] currency_code
|
1059
|
-
# The currency code that
|
1060
|
-
# instance.
|
1173
|
+
# The currency code that Amazon Web Services used to calculate the
|
1174
|
+
# costs for this instance.
|
1061
1175
|
# @return [String]
|
1062
1176
|
#
|
1063
1177
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CurrentInstance AWS API Documentation
|
@@ -1103,16 +1217,17 @@ module Aws::CostExplorer
|
|
1103
1217
|
#
|
1104
1218
|
# @!attribute [rw] start
|
1105
1219
|
# The beginning of the time period. The start date is inclusive. For
|
1106
|
-
# example, if `start` is `2017-01-01`,
|
1107
|
-
# data starting at `2017-01-01` up to the end date. The
|
1108
|
-
# must be equal to or no later than the current date to
|
1109
|
-
# validation error.
|
1220
|
+
# example, if `start` is `2017-01-01`, Amazon Web Services retrieves
|
1221
|
+
# cost and usage data starting at `2017-01-01` up to the end date. The
|
1222
|
+
# start date must be equal to or no later than the current date to
|
1223
|
+
# avoid a validation error.
|
1110
1224
|
# @return [String]
|
1111
1225
|
#
|
1112
1226
|
# @!attribute [rw] end
|
1113
1227
|
# The end of the time period. The end date is exclusive. For example,
|
1114
|
-
# if `end` is `2017-05-01`,
|
1115
|
-
# start date up to, but not including,
|
1228
|
+
# if `end` is `2017-05-01`, Amazon Web Services retrieves cost and
|
1229
|
+
# usage data from the start date up to, but not including,
|
1230
|
+
# `2017-05-01`.
|
1116
1231
|
# @return [String]
|
1117
1232
|
#
|
1118
1233
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/DateInterval AWS API Documentation
|
@@ -1309,8 +1424,38 @@ module Aws::CostExplorer
|
|
1309
1424
|
include Aws::Structure
|
1310
1425
|
end
|
1311
1426
|
|
1312
|
-
# The
|
1313
|
-
# current instance.
|
1427
|
+
# The field that contains a list of disk (local storage) metrics that
|
1428
|
+
# are associated with the current instance.
|
1429
|
+
#
|
1430
|
+
# @!attribute [rw] disk_read_ops_per_second
|
1431
|
+
# The maximum number of read operations per second.
|
1432
|
+
# @return [String]
|
1433
|
+
#
|
1434
|
+
# @!attribute [rw] disk_write_ops_per_second
|
1435
|
+
# The maximum number of write operations per second.
|
1436
|
+
# @return [String]
|
1437
|
+
#
|
1438
|
+
# @!attribute [rw] disk_read_bytes_per_second
|
1439
|
+
# The maximum read throughput operations per second.
|
1440
|
+
# @return [String]
|
1441
|
+
#
|
1442
|
+
# @!attribute [rw] disk_write_bytes_per_second
|
1443
|
+
# The maximum write throughput operations per second.
|
1444
|
+
# @return [String]
|
1445
|
+
#
|
1446
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/DiskResourceUtilization AWS API Documentation
|
1447
|
+
#
|
1448
|
+
class DiskResourceUtilization < Struct.new(
|
1449
|
+
:disk_read_ops_per_second,
|
1450
|
+
:disk_write_ops_per_second,
|
1451
|
+
:disk_read_bytes_per_second,
|
1452
|
+
:disk_write_bytes_per_second)
|
1453
|
+
SENSITIVE = []
|
1454
|
+
include Aws::Structure
|
1455
|
+
end
|
1456
|
+
|
1457
|
+
# The EBS field that contains a list of EBS metrics that are associated
|
1458
|
+
# with the current instance.
|
1314
1459
|
#
|
1315
1460
|
# @!attribute [rw] ebs_read_ops_per_second
|
1316
1461
|
# The maximum number of read operations per second.
|
@@ -1339,19 +1484,19 @@ module Aws::CostExplorer
|
|
1339
1484
|
include Aws::Structure
|
1340
1485
|
end
|
1341
1486
|
|
1342
|
-
# Details about the Amazon EC2 instances that
|
1343
|
-
# purchase.
|
1487
|
+
# Details about the Amazon EC2 instances that Amazon Web Services
|
1488
|
+
# recommends that you purchase.
|
1344
1489
|
#
|
1345
1490
|
# @!attribute [rw] family
|
1346
1491
|
# The instance family of the recommended reservation.
|
1347
1492
|
# @return [String]
|
1348
1493
|
#
|
1349
1494
|
# @!attribute [rw] instance_type
|
1350
|
-
# The type of instance that
|
1495
|
+
# The type of instance that Amazon Web Services recommends.
|
1351
1496
|
# @return [String]
|
1352
1497
|
#
|
1353
1498
|
# @!attribute [rw] region
|
1354
|
-
# The
|
1499
|
+
# The Amazon Web Services Region of the recommended reservation.
|
1355
1500
|
# @return [String]
|
1356
1501
|
#
|
1357
1502
|
# @!attribute [rw] availability_zone
|
@@ -1365,15 +1510,17 @@ module Aws::CostExplorer
|
|
1365
1510
|
# @return [String]
|
1366
1511
|
#
|
1367
1512
|
# @!attribute [rw] tenancy
|
1368
|
-
#
|
1513
|
+
# Determines whether the recommended reservation is dedicated or
|
1514
|
+
# shared.
|
1369
1515
|
# @return [String]
|
1370
1516
|
#
|
1371
1517
|
# @!attribute [rw] current_generation
|
1372
|
-
#
|
1518
|
+
# Determines whether the recommendation is for a current-generation
|
1519
|
+
# instance.
|
1373
1520
|
# @return [Boolean]
|
1374
1521
|
#
|
1375
1522
|
# @!attribute [rw] size_flex_eligible
|
1376
|
-
#
|
1523
|
+
# Determines whether the recommended reservation is size flexible.
|
1377
1524
|
# @return [Boolean]
|
1378
1525
|
#
|
1379
1526
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/EC2InstanceDetails AWS API Documentation
|
@@ -1394,21 +1541,21 @@ module Aws::CostExplorer
|
|
1394
1541
|
# Details on the Amazon EC2 Resource.
|
1395
1542
|
#
|
1396
1543
|
# @!attribute [rw] hourly_on_demand_rate
|
1397
|
-
#
|
1544
|
+
# The hourly public On-Demand rate for the instance type.
|
1398
1545
|
# @return [String]
|
1399
1546
|
#
|
1400
1547
|
# @!attribute [rw] instance_type
|
1401
|
-
# The type of
|
1548
|
+
# The type of Amazon Web Services instance.
|
1402
1549
|
# @return [String]
|
1403
1550
|
#
|
1404
1551
|
# @!attribute [rw] platform
|
1405
|
-
# The platform of the
|
1406
|
-
# combination of operating system, license model, and
|
1407
|
-
# instance.
|
1552
|
+
# The platform of the Amazon Web Services instance. The platform is
|
1553
|
+
# the specific combination of operating system, license model, and
|
1554
|
+
# software on an instance.
|
1408
1555
|
# @return [String]
|
1409
1556
|
#
|
1410
1557
|
# @!attribute [rw] region
|
1411
|
-
# The
|
1558
|
+
# The Amazon Web Services Region of the instance.
|
1412
1559
|
# @return [String]
|
1413
1560
|
#
|
1414
1561
|
# @!attribute [rw] sku
|
@@ -1416,19 +1563,21 @@ module Aws::CostExplorer
|
|
1416
1563
|
# @return [String]
|
1417
1564
|
#
|
1418
1565
|
# @!attribute [rw] memory
|
1419
|
-
#
|
1566
|
+
# The memory capacity of the Amazon Web Services instance.
|
1420
1567
|
# @return [String]
|
1421
1568
|
#
|
1422
1569
|
# @!attribute [rw] network_performance
|
1423
|
-
#
|
1570
|
+
# The network performance capacity of the Amazon Web Services
|
1571
|
+
# instance.
|
1424
1572
|
# @return [String]
|
1425
1573
|
#
|
1426
1574
|
# @!attribute [rw] storage
|
1427
|
-
# The disk storage of the
|
1575
|
+
# The disk storage of the Amazon Web Services instance. This doesn't
|
1576
|
+
# include EBS storage.
|
1428
1577
|
# @return [String]
|
1429
1578
|
#
|
1430
1579
|
# @!attribute [rw] vcpu
|
1431
|
-
#
|
1580
|
+
# The number of VCPU cores in the Amazon Web Services instance type.
|
1432
1581
|
# @return [String]
|
1433
1582
|
#
|
1434
1583
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/EC2ResourceDetails AWS API Documentation
|
@@ -1450,36 +1599,48 @@ module Aws::CostExplorer
|
|
1450
1599
|
# Utilization metrics of the instance.
|
1451
1600
|
#
|
1452
1601
|
# @!attribute [rw] max_cpu_utilization_percentage
|
1453
|
-
#
|
1602
|
+
# The maximum observed or expected CPU utilization of the instance.
|
1454
1603
|
# @return [String]
|
1455
1604
|
#
|
1456
1605
|
# @!attribute [rw] max_memory_utilization_percentage
|
1457
|
-
#
|
1606
|
+
# The maximum observed or expected memory utilization of the instance.
|
1458
1607
|
# @return [String]
|
1459
1608
|
#
|
1460
1609
|
# @!attribute [rw] max_storage_utilization_percentage
|
1461
|
-
#
|
1462
|
-
#
|
1610
|
+
# The maximum observed or expected storage utilization of the
|
1611
|
+
# instance. This doesn't include EBS storage.
|
1463
1612
|
# @return [String]
|
1464
1613
|
#
|
1465
1614
|
# @!attribute [rw] ebs_resource_utilization
|
1466
|
-
# The EBS field that contains a list of EBS metrics
|
1467
|
-
# the current instance.
|
1615
|
+
# The EBS field that contains a list of EBS metrics that are
|
1616
|
+
# associated with the current instance.
|
1468
1617
|
# @return [Types::EBSResourceUtilization]
|
1469
1618
|
#
|
1619
|
+
# @!attribute [rw] disk_resource_utilization
|
1620
|
+
# The field that contains a list of disk (local storage) metrics that
|
1621
|
+
# are associated with the current instance.
|
1622
|
+
# @return [Types::DiskResourceUtilization]
|
1623
|
+
#
|
1624
|
+
# @!attribute [rw] network_resource_utilization
|
1625
|
+
# The network field that contains a list of network metrics that are
|
1626
|
+
# associated with the current instance.
|
1627
|
+
# @return [Types::NetworkResourceUtilization]
|
1628
|
+
#
|
1470
1629
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/EC2ResourceUtilization AWS API Documentation
|
1471
1630
|
#
|
1472
1631
|
class EC2ResourceUtilization < Struct.new(
|
1473
1632
|
:max_cpu_utilization_percentage,
|
1474
1633
|
:max_memory_utilization_percentage,
|
1475
1634
|
:max_storage_utilization_percentage,
|
1476
|
-
:ebs_resource_utilization
|
1635
|
+
:ebs_resource_utilization,
|
1636
|
+
:disk_resource_utilization,
|
1637
|
+
:network_resource_utilization)
|
1477
1638
|
SENSITIVE = []
|
1478
1639
|
include Aws::Structure
|
1479
1640
|
end
|
1480
1641
|
|
1481
|
-
# The Amazon EC2 hardware specifications that you want
|
1482
|
-
# recommendations for.
|
1642
|
+
# The Amazon EC2 hardware specifications that you want Amazon Web
|
1643
|
+
# Services to provide recommendations for.
|
1483
1644
|
#
|
1484
1645
|
# @note When making an API call, you may pass EC2Specification
|
1485
1646
|
# data as a hash:
|
@@ -1489,8 +1650,8 @@ module Aws::CostExplorer
|
|
1489
1650
|
# }
|
1490
1651
|
#
|
1491
1652
|
# @!attribute [rw] offering_class
|
1492
|
-
#
|
1493
|
-
# reservations.
|
1653
|
+
# Indicates whether you want a recommendation for standard or
|
1654
|
+
# convertible reservations.
|
1494
1655
|
# @return [String]
|
1495
1656
|
#
|
1496
1657
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/EC2Specification AWS API Documentation
|
@@ -1501,27 +1662,28 @@ module Aws::CostExplorer
|
|
1501
1662
|
include Aws::Structure
|
1502
1663
|
end
|
1503
1664
|
|
1504
|
-
# Details about the Amazon ES instances that
|
1505
|
-
# purchase.
|
1665
|
+
# Details about the Amazon ES instances that Amazon Web Services
|
1666
|
+
# recommends that you purchase.
|
1506
1667
|
#
|
1507
1668
|
# @!attribute [rw] instance_class
|
1508
|
-
# The class of instance that
|
1669
|
+
# The class of instance that Amazon Web Services recommends.
|
1509
1670
|
# @return [String]
|
1510
1671
|
#
|
1511
1672
|
# @!attribute [rw] instance_size
|
1512
|
-
# The size of instance that
|
1673
|
+
# The size of instance that Amazon Web Services recommends.
|
1513
1674
|
# @return [String]
|
1514
1675
|
#
|
1515
1676
|
# @!attribute [rw] region
|
1516
|
-
# The
|
1677
|
+
# The Amazon Web Services Region of the recommended reservation.
|
1517
1678
|
# @return [String]
|
1518
1679
|
#
|
1519
1680
|
# @!attribute [rw] current_generation
|
1520
|
-
#
|
1681
|
+
# Determines whether the recommendation is for a current-generation
|
1682
|
+
# instance.
|
1521
1683
|
# @return [Boolean]
|
1522
1684
|
#
|
1523
1685
|
# @!attribute [rw] size_flex_eligible
|
1524
|
-
#
|
1686
|
+
# Determines whether the recommended reservation is size flexible.
|
1525
1687
|
# @return [Boolean]
|
1526
1688
|
#
|
1527
1689
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ESInstanceDetails AWS API Documentation
|
@@ -1536,19 +1698,19 @@ module Aws::CostExplorer
|
|
1536
1698
|
include Aws::Structure
|
1537
1699
|
end
|
1538
1700
|
|
1539
|
-
# Details about the Amazon ElastiCache instances that
|
1540
|
-
# that you purchase.
|
1701
|
+
# Details about the Amazon ElastiCache instances that Amazon Web
|
1702
|
+
# Services recommends that you purchase.
|
1541
1703
|
#
|
1542
1704
|
# @!attribute [rw] family
|
1543
1705
|
# The instance family of the recommended reservation.
|
1544
1706
|
# @return [String]
|
1545
1707
|
#
|
1546
1708
|
# @!attribute [rw] node_type
|
1547
|
-
# The type of node that
|
1709
|
+
# The type of node that Amazon Web Services recommends.
|
1548
1710
|
# @return [String]
|
1549
1711
|
#
|
1550
1712
|
# @!attribute [rw] region
|
1551
|
-
# The
|
1713
|
+
# The Amazon Web Services Region of the recommended reservation.
|
1552
1714
|
# @return [String]
|
1553
1715
|
#
|
1554
1716
|
# @!attribute [rw] product_description
|
@@ -1556,11 +1718,12 @@ module Aws::CostExplorer
|
|
1556
1718
|
# @return [String]
|
1557
1719
|
#
|
1558
1720
|
# @!attribute [rw] current_generation
|
1559
|
-
#
|
1721
|
+
# Determines whether the recommendation is for a current generation
|
1722
|
+
# instance.
|
1560
1723
|
# @return [Boolean]
|
1561
1724
|
#
|
1562
1725
|
# @!attribute [rw] size_flex_eligible
|
1563
|
-
#
|
1726
|
+
# Determines whether the recommended reservation is size flexible.
|
1564
1727
|
# @return [Boolean]
|
1565
1728
|
#
|
1566
1729
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ElastiCacheInstanceDetails AWS API Documentation
|
@@ -1584,7 +1747,7 @@ module Aws::CostExplorer
|
|
1584
1747
|
# for `REGION==us-east-1 OR REGION==us-west-1`. For
|
1585
1748
|
# `GetRightsizingRecommendation`, the Region is a full name (for
|
1586
1749
|
# example, `REGION==US East (N. Virginia)`. The `Expression` example
|
1587
|
-
#
|
1750
|
+
# is as follows:
|
1588
1751
|
#
|
1589
1752
|
# `\{ "Dimensions": \{ "Key": "REGION", "Values": [ "us-east-1",
|
1590
1753
|
# “us-west-1” ] \} \}`
|
@@ -1596,11 +1759,11 @@ module Aws::CostExplorer
|
|
1596
1759
|
#
|
1597
1760
|
# * Compound dimension values with logical operations - You can use
|
1598
1761
|
# multiple `Expression` types and the logical operators `AND/OR/NOT`
|
1599
|
-
# to create a list of one or more `Expression` objects.
|
1600
|
-
# you
|
1762
|
+
# to create a list of one or more `Expression` objects. By doing this,
|
1763
|
+
# you can filter on more advanced options. For example, you can filter
|
1601
1764
|
# on `((REGION == us-east-1 OR REGION == us-west-1) OR (TAG.Type ==
|
1602
1765
|
# Type1)) AND (USAGE_TYPE != DataTransfer)`. The `Expression` for that
|
1603
|
-
#
|
1766
|
+
# is as follows:
|
1604
1767
|
#
|
1605
1768
|
# `\{ "And": [ \{"Or": [ \{"Dimensions": \{ "Key": "REGION", "Values":
|
1606
1769
|
# [ "us-east-1", "us-west-1" ] \}\}, \{"Tags": \{ "Key": "TagName",
|
@@ -1617,13 +1780,13 @@ module Aws::CostExplorer
|
|
1617
1780
|
# "USAGE_TYPE", "Values": [ "DataTransfer" ] \} \} `
|
1618
1781
|
#
|
1619
1782
|
# <note markdown="1"> For the `GetRightsizingRecommendation` action, a combination of OR and
|
1620
|
-
# NOT
|
1783
|
+
# NOT isn't supported. OR isn't supported between different
|
1621
1784
|
# dimensions, or dimensions and tags. NOT operators aren't supported.
|
1622
1785
|
# Dimensions are also limited to `LINKED_ACCOUNT`, `REGION`, or
|
1623
1786
|
# `RIGHTSIZING_TYPE`.
|
1624
1787
|
#
|
1625
1788
|
# For the `GetReservationPurchaseRecommendation` action, only NOT is
|
1626
|
-
# supported. AND and OR
|
1789
|
+
# supported. AND and OR aren't supported. Dimensions are limited to
|
1627
1790
|
# `LINKED_ACCOUNT`.
|
1628
1791
|
#
|
1629
1792
|
# </note>
|
@@ -1756,7 +1919,7 @@ module Aws::CostExplorer
|
|
1756
1919
|
# @return [Types::TagValues]
|
1757
1920
|
#
|
1758
1921
|
# @!attribute [rw] cost_categories
|
1759
|
-
# The filter based on `CostCategory` values.
|
1922
|
+
# The filter that's based on `CostCategory` values.
|
1760
1923
|
# @return [Types::CostCategoryValues]
|
1761
1924
|
#
|
1762
1925
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/Expression AWS API Documentation
|
@@ -1772,7 +1935,7 @@ module Aws::CostExplorer
|
|
1772
1935
|
include Aws::Structure
|
1773
1936
|
end
|
1774
1937
|
|
1775
|
-
# The forecast created for your query.
|
1938
|
+
# The forecast that's created for your query.
|
1776
1939
|
#
|
1777
1940
|
# @!attribute [rw] time_period
|
1778
1941
|
# The period of time that the forecast covers.
|
@@ -1843,9 +2006,9 @@ module Aws::CostExplorer
|
|
1843
2006
|
# @return [Types::TotalImpactFilter]
|
1844
2007
|
#
|
1845
2008
|
# @!attribute [rw] next_page_token
|
1846
|
-
# The token to retrieve the next set of results.
|
1847
|
-
# token when the response from a previous call has more
|
1848
|
-
# the maximum page size.
|
2009
|
+
# The token to retrieve the next set of results. Amazon Web Services
|
2010
|
+
# provides the token when the response from a previous call has more
|
2011
|
+
# results than the maximum page size.
|
1849
2012
|
# @return [String]
|
1850
2013
|
#
|
1851
2014
|
# @!attribute [rw] max_results
|
@@ -1870,9 +2033,9 @@ module Aws::CostExplorer
|
|
1870
2033
|
# @return [Array<Types::Anomaly>]
|
1871
2034
|
#
|
1872
2035
|
# @!attribute [rw] next_page_token
|
1873
|
-
# The token to retrieve the next set of results.
|
1874
|
-
# token when the response from a previous call has more
|
1875
|
-
# the maximum page size.
|
2036
|
+
# The token to retrieve the next set of results. Amazon Web Services
|
2037
|
+
# provides the token when the response from a previous call has more
|
2038
|
+
# results than the maximum page size.
|
1876
2039
|
# @return [String]
|
1877
2040
|
#
|
1878
2041
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetAnomaliesResponse AWS API Documentation
|
@@ -1898,13 +2061,13 @@ module Aws::CostExplorer
|
|
1898
2061
|
# @return [Array<String>]
|
1899
2062
|
#
|
1900
2063
|
# @!attribute [rw] next_page_token
|
1901
|
-
# The token to retrieve the next set of results.
|
1902
|
-
# token when the response from a previous call has more
|
1903
|
-
# the maximum page size.
|
2064
|
+
# The token to retrieve the next set of results. Amazon Web Services
|
2065
|
+
# provides the token when the response from a previous call has more
|
2066
|
+
# results than the maximum page size.
|
1904
2067
|
# @return [String]
|
1905
2068
|
#
|
1906
2069
|
# @!attribute [rw] max_results
|
1907
|
-
# The number of entries a paginated response contains.
|
2070
|
+
# The number of entries that a paginated response contains.
|
1908
2071
|
# @return [Integer]
|
1909
2072
|
#
|
1910
2073
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetAnomalyMonitorsRequest AWS API Documentation
|
@@ -1923,9 +2086,9 @@ module Aws::CostExplorer
|
|
1923
2086
|
# @return [Array<Types::AnomalyMonitor>]
|
1924
2087
|
#
|
1925
2088
|
# @!attribute [rw] next_page_token
|
1926
|
-
# The token to retrieve the next set of results.
|
1927
|
-
# token when the response from a previous call has more
|
1928
|
-
# the maximum page size.
|
2089
|
+
# The token to retrieve the next set of results. Amazon Web Services
|
2090
|
+
# provides the token when the response from a previous call has more
|
2091
|
+
# results than the maximum page size.
|
1929
2092
|
# @return [String]
|
1930
2093
|
#
|
1931
2094
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetAnomalyMonitorsResponse AWS API Documentation
|
@@ -1956,9 +2119,9 @@ module Aws::CostExplorer
|
|
1956
2119
|
# @return [String]
|
1957
2120
|
#
|
1958
2121
|
# @!attribute [rw] next_page_token
|
1959
|
-
# The token to retrieve the next set of results.
|
1960
|
-
# token when the response from a previous call has more
|
1961
|
-
# the maximum page size.
|
2122
|
+
# The token to retrieve the next set of results. Amazon Web Services
|
2123
|
+
# provides the token when the response from a previous call has more
|
2124
|
+
# results than the maximum page size.
|
1962
2125
|
# @return [String]
|
1963
2126
|
#
|
1964
2127
|
# @!attribute [rw] max_results
|
@@ -1982,9 +2145,9 @@ module Aws::CostExplorer
|
|
1982
2145
|
# @return [Array<Types::AnomalySubscription>]
|
1983
2146
|
#
|
1984
2147
|
# @!attribute [rw] next_page_token
|
1985
|
-
# The token to retrieve the next set of results.
|
1986
|
-
# token when the response from a previous call has more
|
1987
|
-
# the maximum page size.
|
2148
|
+
# The token to retrieve the next set of results. Amazon Web Services
|
2149
|
+
# provides the token when the response from a previous call has more
|
2150
|
+
# results than the maximum page size.
|
1988
2151
|
# @return [String]
|
1989
2152
|
#
|
1990
2153
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetAnomalySubscriptionsResponse AWS API Documentation
|
@@ -2046,25 +2209,26 @@ module Aws::CostExplorer
|
|
2046
2209
|
# }
|
2047
2210
|
#
|
2048
2211
|
# @!attribute [rw] time_period
|
2049
|
-
# Sets the start and end
|
2050
|
-
# date is inclusive, but the end date is exclusive.
|
2051
|
-
# `start` is `2017-01-01` and `end` is `2017-05-01`,
|
2052
|
-
# usage data is retrieved from `2017-01-01` up to
|
2053
|
-
# `2017-04-30` but not including `2017-05-01`.
|
2212
|
+
# Sets the start date and end date for retrieving Amazon Web Services
|
2213
|
+
# costs. The start date is inclusive, but the end date is exclusive.
|
2214
|
+
# For example, if `start` is `2017-01-01` and `end` is `2017-05-01`,
|
2215
|
+
# then the cost and usage data is retrieved from `2017-01-01` up to
|
2216
|
+
# and including `2017-04-30` but not including `2017-05-01`.
|
2054
2217
|
# @return [Types::DateInterval]
|
2055
2218
|
#
|
2056
2219
|
# @!attribute [rw] granularity
|
2057
|
-
# Sets the
|
2058
|
-
# If `Granularity` isn't set, the response
|
2059
|
-
# the `Granularity`, either `MONTHLY` or
|
2220
|
+
# Sets the Amazon Web Services cost granularity to `MONTHLY` or
|
2221
|
+
# `DAILY`, or `HOURLY`. If `Granularity` isn't set, the response
|
2222
|
+
# object doesn't include the `Granularity`, either `MONTHLY` or
|
2223
|
+
# `DAILY`, or `HOURLY`.
|
2060
2224
|
# @return [String]
|
2061
2225
|
#
|
2062
2226
|
# @!attribute [rw] filter
|
2063
|
-
# Filters
|
2064
|
-
# specify `SERVICE` and `LINKED_ACCOUNT` and get the
|
2065
|
-
# associated with that account's usage of that
|
2066
|
-
# `Expression` objects to define any combination
|
2067
|
-
# For more information, see [Expression][1].
|
2227
|
+
# Filters Amazon Web Services costs by different dimensions. For
|
2228
|
+
# example, you can specify `SERVICE` and `LINKED_ACCOUNT` and get the
|
2229
|
+
# costs that are associated with that account's usage of that
|
2230
|
+
# service. You can nest `Expression` objects to define any combination
|
2231
|
+
# of dimension filters. For more information, see [Expression][1].
|
2068
2232
|
#
|
2069
2233
|
#
|
2070
2234
|
#
|
@@ -2084,7 +2248,7 @@ module Aws::CostExplorer
|
|
2084
2248
|
# usage numbers without taking into account the units. For example, if
|
2085
2249
|
# you aggregate `usageQuantity` across all of Amazon EC2, the results
|
2086
2250
|
# aren't meaningful because Amazon EC2 compute hours and data
|
2087
|
-
# transfer are measured in different units (for example, hours
|
2251
|
+
# transfer are measured in different units (for example, hours and
|
2088
2252
|
# GB). To get more meaningful `UsageQuantity` metrics, filter by
|
2089
2253
|
# `UsageType` or `UsageTypeGroups`.
|
2090
2254
|
#
|
@@ -2098,21 +2262,23 @@ module Aws::CostExplorer
|
|
2098
2262
|
# @return [Array<String>]
|
2099
2263
|
#
|
2100
2264
|
# @!attribute [rw] group_by
|
2101
|
-
# You can group
|
2102
|
-
# dimensions, tag keys, cost categories, or any two
|
2265
|
+
# You can group Amazon Web Services costs using up to two different
|
2266
|
+
# groups, either dimensions, tag keys, cost categories, or any two
|
2267
|
+
# group by types.
|
2103
2268
|
#
|
2104
|
-
#
|
2105
|
-
#
|
2269
|
+
# Valid values for the `DIMENSION` type are `AZ`, `INSTANCE_TYPE`,
|
2270
|
+
# `LEGAL_ENTITY_NAME`, `LINKED_ACCOUNT`, `OPERATION`, `PLATFORM`,
|
2271
|
+
# `PURCHASE_TYPE`, `SERVICE`, `TENANCY`, `RECORD_TYPE`, and
|
2272
|
+
# `USAGE_TYPE`.
|
2106
2273
|
#
|
2107
|
-
#
|
2108
|
-
#
|
2109
|
-
# `SERVICE`, `TAGS`, `TENANCY`, `RECORD_TYPE`, and `USAGE_TYPE`.
|
2274
|
+
# When you group by the `TAG` type and include a valid tag key, you
|
2275
|
+
# get all tag values, including empty strings.
|
2110
2276
|
# @return [Array<Types::GroupDefinition>]
|
2111
2277
|
#
|
2112
2278
|
# @!attribute [rw] next_page_token
|
2113
|
-
# The token to retrieve the next set of results.
|
2114
|
-
# token when the response from a previous call has more
|
2115
|
-
# the maximum page size.
|
2279
|
+
# The token to retrieve the next set of results. Amazon Web Services
|
2280
|
+
# provides the token when the response from a previous call has more
|
2281
|
+
# results than the maximum page size.
|
2116
2282
|
# @return [String]
|
2117
2283
|
#
|
2118
2284
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetCostAndUsageRequest AWS API Documentation
|
@@ -2129,9 +2295,9 @@ module Aws::CostExplorer
|
|
2129
2295
|
end
|
2130
2296
|
|
2131
2297
|
# @!attribute [rw] next_page_token
|
2132
|
-
# The token for the next set of retrievable results.
|
2133
|
-
# token when the response from a previous call
|
2134
|
-
# the maximum page size.
|
2298
|
+
# The token for the next set of retrievable results. Amazon Web
|
2299
|
+
# Services provides the token when the response from a previous call
|
2300
|
+
# has more results than the maximum page size.
|
2135
2301
|
# @return [String]
|
2136
2302
|
#
|
2137
2303
|
# @!attribute [rw] group_definitions
|
@@ -2140,7 +2306,7 @@ module Aws::CostExplorer
|
|
2140
2306
|
# @return [Array<Types::GroupDefinition>]
|
2141
2307
|
#
|
2142
2308
|
# @!attribute [rw] results_by_time
|
2143
|
-
# The time period that
|
2309
|
+
# The time period that's covered by the results in the response.
|
2144
2310
|
# @return [Array<Types::ResultByTime>]
|
2145
2311
|
#
|
2146
2312
|
# @!attribute [rw] dimension_value_attributes
|
@@ -2220,9 +2386,9 @@ module Aws::CostExplorer
|
|
2220
2386
|
# @return [Types::DateInterval]
|
2221
2387
|
#
|
2222
2388
|
# @!attribute [rw] granularity
|
2223
|
-
# Sets the
|
2224
|
-
# `Granularity` isn't set, the response object
|
2225
|
-
# `Granularity`, `MONTHLY`, `DAILY`, or `HOURLY`.
|
2389
|
+
# Sets the Amazon Web Services cost granularity to `MONTHLY`, `DAILY`,
|
2390
|
+
# or `HOURLY`. If `Granularity` isn't set, the response object
|
2391
|
+
# doesn't include the `Granularity`, `MONTHLY`, `DAILY`, or `HOURLY`.
|
2226
2392
|
# @return [String]
|
2227
2393
|
#
|
2228
2394
|
# @!attribute [rw] filter
|
@@ -2274,9 +2440,9 @@ module Aws::CostExplorer
|
|
2274
2440
|
# @return [Array<Types::GroupDefinition>]
|
2275
2441
|
#
|
2276
2442
|
# @!attribute [rw] next_page_token
|
2277
|
-
# The token to retrieve the next set of results.
|
2278
|
-
# token when the response from a previous call has more
|
2279
|
-
# the maximum page size.
|
2443
|
+
# The token to retrieve the next set of results. Amazon Web Services
|
2444
|
+
# provides the token when the response from a previous call has more
|
2445
|
+
# results than the maximum page size.
|
2280
2446
|
# @return [String]
|
2281
2447
|
#
|
2282
2448
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetCostAndUsageWithResourcesRequest AWS API Documentation
|
@@ -2293,9 +2459,9 @@ module Aws::CostExplorer
|
|
2293
2459
|
end
|
2294
2460
|
|
2295
2461
|
# @!attribute [rw] next_page_token
|
2296
|
-
# The token for the next set of retrievable results.
|
2297
|
-
# token when the response from a previous call
|
2298
|
-
# the maximum page size.
|
2462
|
+
# The token for the next set of retrievable results. Amazon Web
|
2463
|
+
# Services provides the token when the response from a previous call
|
2464
|
+
# has more results than the maximum page size.
|
2299
2465
|
# @return [String]
|
2300
2466
|
#
|
2301
2467
|
# @!attribute [rw] group_definitions
|
@@ -2401,7 +2567,7 @@ module Aws::CostExplorer
|
|
2401
2567
|
# filter for `REGION==us-east-1 OR REGION==us-west-1`. For
|
2402
2568
|
# `GetRightsizingRecommendation`, the Region is a full name (for
|
2403
2569
|
# example, `REGION==US East (N. Virginia)`. The `Expression` example
|
2404
|
-
#
|
2570
|
+
# is as follows:
|
2405
2571
|
#
|
2406
2572
|
# `\{ "Dimensions": \{ "Key": "REGION", "Values": [ "us-east-1",
|
2407
2573
|
# “us-west-1” ] \} \}`
|
@@ -2413,11 +2579,11 @@ module Aws::CostExplorer
|
|
2413
2579
|
#
|
2414
2580
|
# * Compound dimension values with logical operations - You can use
|
2415
2581
|
# multiple `Expression` types and the logical operators `AND/OR/NOT`
|
2416
|
-
# to create a list of one or more `Expression` objects.
|
2417
|
-
# you
|
2418
|
-
# filter on `((REGION == us-east-1 OR REGION == us-west-1) OR
|
2582
|
+
# to create a list of one or more `Expression` objects. By doing
|
2583
|
+
# this, you can filter on more advanced options. For example, you
|
2584
|
+
# can filter on `((REGION == us-east-1 OR REGION == us-west-1) OR
|
2419
2585
|
# (TAG.Type == Type1)) AND (USAGE_TYPE != DataTransfer)`. The
|
2420
|
-
# `Expression` for that
|
2586
|
+
# `Expression` for that is as follows:
|
2421
2587
|
#
|
2422
2588
|
# `\{ "And": [ \{"Or": [ \{"Dimensions": \{ "Key": "REGION",
|
2423
2589
|
# "Values": [ "us-east-1", "us-west-1" ] \}\}, \{"Tags": \{ "Key":
|
@@ -2435,13 +2601,13 @@ module Aws::CostExplorer
|
|
2435
2601
|
# "USAGE_TYPE", "Values": [ "DataTransfer" ] \} \} `
|
2436
2602
|
#
|
2437
2603
|
# <note markdown="1"> For the `GetRightsizingRecommendation` action, a combination of OR
|
2438
|
-
# and NOT
|
2604
|
+
# and NOT isn't supported. OR isn't supported between different
|
2439
2605
|
# dimensions, or dimensions and tags. NOT operators aren't supported.
|
2440
2606
|
# Dimensions are also limited to `LINKED_ACCOUNT`, `REGION`, or
|
2441
2607
|
# `RIGHTSIZING_TYPE`.
|
2442
2608
|
#
|
2443
2609
|
# For the `GetReservationPurchaseRecommendation` action, only NOT is
|
2444
|
-
# supported. AND and OR
|
2610
|
+
# supported. AND and OR aren't supported. Dimensions are limited to
|
2445
2611
|
# `LINKED_ACCOUNT`.
|
2446
2612
|
#
|
2447
2613
|
# </note>
|
@@ -2485,8 +2651,8 @@ module Aws::CostExplorer
|
|
2485
2651
|
#
|
2486
2652
|
# @!attribute [rw] next_page_token
|
2487
2653
|
# If the number of objects that are still available for retrieval
|
2488
|
-
# exceeds the limit,
|
2489
|
-
# response. To retrieve the next batch of objects, provide the
|
2654
|
+
# exceeds the limit, Amazon Web Services returns a NextPageToken value
|
2655
|
+
# in the response. To retrieve the next batch of objects, provide the
|
2490
2656
|
# NextPageToken from the prior call in your next request.
|
2491
2657
|
# @return [String]
|
2492
2658
|
#
|
@@ -2506,9 +2672,9 @@ module Aws::CostExplorer
|
|
2506
2672
|
|
2507
2673
|
# @!attribute [rw] next_page_token
|
2508
2674
|
# If the number of objects that are still available for retrieval
|
2509
|
-
# exceeds the limit,
|
2510
|
-
# response. To retrieve the next batch of objects, provide the
|
2511
|
-
# from the prior call in your next request.
|
2675
|
+
# exceeds the limit, Amazon Web Services returns a NextPageToken value
|
2676
|
+
# in the response. To retrieve the next batch of objects, provide the
|
2677
|
+
# marker from the prior call in your next request.
|
2512
2678
|
# @return [String]
|
2513
2679
|
#
|
2514
2680
|
# @!attribute [rw] cost_category_names
|
@@ -2770,7 +2936,7 @@ module Aws::CostExplorer
|
|
2770
2936
|
# @return [String]
|
2771
2937
|
#
|
2772
2938
|
# @!attribute [rw] time_period
|
2773
|
-
# The start and end
|
2939
|
+
# The start date and end date for retrieving the dimension values. The
|
2774
2940
|
# start date is inclusive, but the end date is exclusive. For example,
|
2775
2941
|
# if `start` is `2017-01-01` and `end` is `2017-05-01`, then the cost
|
2776
2942
|
# and usage data is retrieved from `2017-01-01` up to and including
|
@@ -2803,11 +2969,11 @@ module Aws::CostExplorer
|
|
2803
2969
|
# `m4.xlarge`.
|
2804
2970
|
#
|
2805
2971
|
# * LEGAL\_ENTITY\_NAME - The name of the organization that sells you
|
2806
|
-
#
|
2972
|
+
# Amazon Web Services services, such as Amazon Web Services.
|
2807
2973
|
#
|
2808
2974
|
# * LINKED\_ACCOUNT - The description in the attribute map that
|
2809
2975
|
# includes the full name of the member account. The value field
|
2810
|
-
# contains the
|
2976
|
+
# contains the Amazon Web Services ID of the member account.
|
2811
2977
|
#
|
2812
2978
|
# * OPERATING\_SYSTEM - The operating system. Examples are Windows or
|
2813
2979
|
# Linux.
|
@@ -2822,7 +2988,7 @@ module Aws::CostExplorer
|
|
2822
2988
|
# this usage is related. Examples include On-Demand Instances and
|
2823
2989
|
# Standard Reserved Instances.
|
2824
2990
|
#
|
2825
|
-
# * SERVICE - The
|
2991
|
+
# * SERVICE - The Amazon Web Services service such as Amazon DynamoDB.
|
2826
2992
|
#
|
2827
2993
|
# * USAGE\_TYPE - The type of usage. An example is
|
2828
2994
|
# DataTransfer-In-Bytes. The response for the `GetDimensionValues`
|
@@ -2832,7 +2998,7 @@ module Aws::CostExplorer
|
|
2832
2998
|
# example is Amazon EC2: CloudWatch – Alarms. The response for this
|
2833
2999
|
# operation includes a unit attribute.
|
2834
3000
|
#
|
2835
|
-
# * REGION - The
|
3001
|
+
# * REGION - The Amazon Web Services Region.
|
2836
3002
|
#
|
2837
3003
|
# * RECORD\_TYPE - The different types of charges such as RI fees,
|
2838
3004
|
# usage costs, tax refunds, and credits.
|
@@ -2857,12 +3023,12 @@ module Aws::CostExplorer
|
|
2857
3023
|
#
|
2858
3024
|
# * LINKED\_ACCOUNT - The description in the attribute map that
|
2859
3025
|
# includes the full name of the member account. The value field
|
2860
|
-
# contains the
|
3026
|
+
# contains the Amazon Web Services ID of the member account.
|
2861
3027
|
#
|
2862
3028
|
# * PLATFORM - The Amazon EC2 operating system. Examples are Windows
|
2863
3029
|
# or Linux.
|
2864
3030
|
#
|
2865
|
-
# * REGION - The
|
3031
|
+
# * REGION - The Amazon Web Services Region.
|
2866
3032
|
#
|
2867
3033
|
# * SCOPE (Utilization only) - The scope of a Reserved Instance (RI).
|
2868
3034
|
# Values are regional or a single Availability Zone.
|
@@ -2882,14 +3048,14 @@ module Aws::CostExplorer
|
|
2882
3048
|
# * PAYMENT\_OPTION - Payment option for the given Savings Plans (for
|
2883
3049
|
# example, All Upfront)
|
2884
3050
|
#
|
2885
|
-
# * REGION - The
|
3051
|
+
# * REGION - The Amazon Web Services Region.
|
2886
3052
|
#
|
2887
3053
|
# * INSTANCE\_TYPE\_FAMILY - The family of instances (For example,
|
2888
3054
|
# `m5`)
|
2889
3055
|
#
|
2890
3056
|
# * LINKED\_ACCOUNT - The description in the attribute map that
|
2891
3057
|
# includes the full name of the member account. The value field
|
2892
|
-
# contains the
|
3058
|
+
# contains the Amazon Web Services ID of the member account.
|
2893
3059
|
#
|
2894
3060
|
# * SAVINGS\_PLAN\_ARN - The unique identifier for your Savings Plan
|
2895
3061
|
# @return [String]
|
@@ -2903,7 +3069,7 @@ module Aws::CostExplorer
|
|
2903
3069
|
# filter for `REGION==us-east-1 OR REGION==us-west-1`. For
|
2904
3070
|
# `GetRightsizingRecommendation`, the Region is a full name (for
|
2905
3071
|
# example, `REGION==US East (N. Virginia)`. The `Expression` example
|
2906
|
-
#
|
3072
|
+
# is as follows:
|
2907
3073
|
#
|
2908
3074
|
# `\{ "Dimensions": \{ "Key": "REGION", "Values": [ "us-east-1",
|
2909
3075
|
# “us-west-1” ] \} \}`
|
@@ -2915,11 +3081,11 @@ module Aws::CostExplorer
|
|
2915
3081
|
#
|
2916
3082
|
# * Compound dimension values with logical operations - You can use
|
2917
3083
|
# multiple `Expression` types and the logical operators `AND/OR/NOT`
|
2918
|
-
# to create a list of one or more `Expression` objects.
|
2919
|
-
# you
|
2920
|
-
# filter on `((REGION == us-east-1 OR REGION == us-west-1) OR
|
3084
|
+
# to create a list of one or more `Expression` objects. By doing
|
3085
|
+
# this, you can filter on more advanced options. For example, you
|
3086
|
+
# can filter on `((REGION == us-east-1 OR REGION == us-west-1) OR
|
2921
3087
|
# (TAG.Type == Type1)) AND (USAGE_TYPE != DataTransfer)`. The
|
2922
|
-
# `Expression` for that
|
3088
|
+
# `Expression` for that is as follows:
|
2923
3089
|
#
|
2924
3090
|
# `\{ "And": [ \{"Or": [ \{"Dimensions": \{ "Key": "REGION",
|
2925
3091
|
# "Values": [ "us-east-1", "us-west-1" ] \}\}, \{"Tags": \{ "Key":
|
@@ -2937,13 +3103,13 @@ module Aws::CostExplorer
|
|
2937
3103
|
# "USAGE_TYPE", "Values": [ "DataTransfer" ] \} \} `
|
2938
3104
|
#
|
2939
3105
|
# <note markdown="1"> For the `GetRightsizingRecommendation` action, a combination of OR
|
2940
|
-
# and NOT
|
3106
|
+
# and NOT isn't supported. OR isn't supported between different
|
2941
3107
|
# dimensions, or dimensions and tags. NOT operators aren't supported.
|
2942
3108
|
# Dimensions are also limited to `LINKED_ACCOUNT`, `REGION`, or
|
2943
3109
|
# `RIGHTSIZING_TYPE`.
|
2944
3110
|
#
|
2945
3111
|
# For the `GetReservationPurchaseRecommendation` action, only NOT is
|
2946
|
-
# supported. AND and OR
|
3112
|
+
# supported. AND and OR aren't supported. Dimensions are limited to
|
2947
3113
|
# `LINKED_ACCOUNT`.
|
2948
3114
|
#
|
2949
3115
|
# </note>
|
@@ -2986,9 +3152,9 @@ module Aws::CostExplorer
|
|
2986
3152
|
# @return [Integer]
|
2987
3153
|
#
|
2988
3154
|
# @!attribute [rw] next_page_token
|
2989
|
-
# The token to retrieve the next set of results.
|
2990
|
-
# token when the response from a previous call has more
|
2991
|
-
# the maximum page size.
|
3155
|
+
# The token to retrieve the next set of results. Amazon Web Services
|
3156
|
+
# provides the token when the response from a previous call has more
|
3157
|
+
# results than the maximum page size.
|
2992
3158
|
# @return [String]
|
2993
3159
|
#
|
2994
3160
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetDimensionValuesRequest AWS API Documentation
|
@@ -3022,11 +3188,11 @@ module Aws::CostExplorer
|
|
3022
3188
|
# `m4.xlarge`.
|
3023
3189
|
#
|
3024
3190
|
# * LEGAL\_ENTITY\_NAME - The name of the organization that sells you
|
3025
|
-
#
|
3191
|
+
# Amazon Web Services services, such as Amazon Web Services.
|
3026
3192
|
#
|
3027
3193
|
# * LINKED\_ACCOUNT - The description in the attribute map that
|
3028
3194
|
# includes the full name of the member account. The value field
|
3029
|
-
# contains the
|
3195
|
+
# contains the Amazon Web Services ID of the member account.
|
3030
3196
|
#
|
3031
3197
|
# * OPERATING\_SYSTEM - The operating system. Examples are Windows or
|
3032
3198
|
# Linux.
|
@@ -3041,7 +3207,7 @@ module Aws::CostExplorer
|
|
3041
3207
|
# this usage is related. Examples include On-Demand Instances and
|
3042
3208
|
# Standard Reserved Instances.
|
3043
3209
|
#
|
3044
|
-
# * SERVICE - The
|
3210
|
+
# * SERVICE - The Amazon Web Services service such as Amazon DynamoDB.
|
3045
3211
|
#
|
3046
3212
|
# * USAGE\_TYPE - The type of usage. An example is
|
3047
3213
|
# DataTransfer-In-Bytes. The response for the `GetDimensionValues`
|
@@ -3074,12 +3240,12 @@ module Aws::CostExplorer
|
|
3074
3240
|
#
|
3075
3241
|
# * LINKED\_ACCOUNT - The description in the attribute map that
|
3076
3242
|
# includes the full name of the member account. The value field
|
3077
|
-
# contains the
|
3243
|
+
# contains the Amazon Web Services ID of the member account.
|
3078
3244
|
#
|
3079
3245
|
# * PLATFORM - The Amazon EC2 operating system. Examples are Windows
|
3080
3246
|
# or Linux.
|
3081
3247
|
#
|
3082
|
-
# * REGION - The
|
3248
|
+
# * REGION - The Amazon Web Services Region.
|
3083
3249
|
#
|
3084
3250
|
# * SCOPE (Utilization only) - The scope of a Reserved Instance (RI).
|
3085
3251
|
# Values are regional or a single Availability Zone.
|
@@ -3099,20 +3265,20 @@ module Aws::CostExplorer
|
|
3099
3265
|
# * PAYMENT\_OPTION - Payment option for the given Savings Plans (for
|
3100
3266
|
# example, All Upfront)
|
3101
3267
|
#
|
3102
|
-
# * REGION - The
|
3268
|
+
# * REGION - The Amazon Web Services Region.
|
3103
3269
|
#
|
3104
3270
|
# * INSTANCE\_TYPE\_FAMILY - The family of instances (For example,
|
3105
3271
|
# `m5`)
|
3106
3272
|
#
|
3107
3273
|
# * LINKED\_ACCOUNT - The description in the attribute map that
|
3108
3274
|
# includes the full name of the member account. The value field
|
3109
|
-
# contains the
|
3275
|
+
# contains the Amazon Web Services ID of the member account.
|
3110
3276
|
#
|
3111
3277
|
# * SAVINGS\_PLAN\_ARN - The unique identifier for your Savings Plan
|
3112
3278
|
# @return [Array<Types::DimensionValuesWithAttributes>]
|
3113
3279
|
#
|
3114
3280
|
# @!attribute [rw] return_size
|
3115
|
-
# The number of results that
|
3281
|
+
# The number of results that Amazon Web Services returned at one time.
|
3116
3282
|
# @return [Integer]
|
3117
3283
|
#
|
3118
3284
|
# @!attribute [rw] total_size
|
@@ -3120,9 +3286,9 @@ module Aws::CostExplorer
|
|
3120
3286
|
# @return [Integer]
|
3121
3287
|
#
|
3122
3288
|
# @!attribute [rw] next_page_token
|
3123
|
-
# The token for the next set of retrievable results.
|
3124
|
-
# token when the response from a previous call
|
3125
|
-
# the maximum page size.
|
3289
|
+
# The token for the next set of retrievable results. Amazon Web
|
3290
|
+
# Services provides the token when the response from a previous call
|
3291
|
+
# has more results than the maximum page size.
|
3126
3292
|
# @return [String]
|
3127
3293
|
#
|
3128
3294
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetDimensionValuesResponse AWS API Documentation
|
@@ -3228,8 +3394,8 @@ module Aws::CostExplorer
|
|
3228
3394
|
# @return [Array<Types::GroupDefinition>]
|
3229
3395
|
#
|
3230
3396
|
# @!attribute [rw] granularity
|
3231
|
-
# The granularity of the
|
3232
|
-
# values are `MONTHLY` and `DAILY`.
|
3397
|
+
# The granularity of the Amazon Web Services cost data for the
|
3398
|
+
# reservation. Valid values are `MONTHLY` and `DAILY`.
|
3233
3399
|
#
|
3234
3400
|
# If `GroupBy` is set, `Granularity` can't be set. If `Granularity`
|
3235
3401
|
# isn't set, the response object doesn't include `Granularity`,
|
@@ -3290,9 +3456,9 @@ module Aws::CostExplorer
|
|
3290
3456
|
# @return [Array<String>]
|
3291
3457
|
#
|
3292
3458
|
# @!attribute [rw] next_page_token
|
3293
|
-
# The token to retrieve the next set of results.
|
3294
|
-
# token when the response from a previous call has more
|
3295
|
-
# the maximum page size.
|
3459
|
+
# The token to retrieve the next set of results. Amazon Web Services
|
3460
|
+
# provides the token when the response from a previous call has more
|
3461
|
+
# results than the maximum page size.
|
3296
3462
|
# @return [String]
|
3297
3463
|
#
|
3298
3464
|
# @!attribute [rw] sort_by
|
@@ -3325,9 +3491,9 @@ module Aws::CostExplorer
|
|
3325
3491
|
#
|
3326
3492
|
# @!attribute [rw] max_results
|
3327
3493
|
# The maximum number of objects that you returned for this request. If
|
3328
|
-
# more objects are available, in the response,
|
3329
|
-
# NextPageToken value that you can use in a subsequent call
|
3330
|
-
# next batch of objects.
|
3494
|
+
# more objects are available, in the response, Amazon Web Services
|
3495
|
+
# provides a NextPageToken value that you can use in a subsequent call
|
3496
|
+
# to get the next batch of objects.
|
3331
3497
|
# @return [Integer]
|
3332
3498
|
#
|
3333
3499
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetReservationCoverageRequest AWS API Documentation
|
@@ -3354,9 +3520,9 @@ module Aws::CostExplorer
|
|
3354
3520
|
# @return [Types::Coverage]
|
3355
3521
|
#
|
3356
3522
|
# @!attribute [rw] next_page_token
|
3357
|
-
# The token for the next set of retrievable results.
|
3358
|
-
# token when the response from a previous call
|
3359
|
-
# the maximum page size.
|
3523
|
+
# The token for the next set of retrievable results. Amazon Web
|
3524
|
+
# Services provides the token when the response from a previous call
|
3525
|
+
# has more results than the maximum page size.
|
3360
3526
|
# @return [String]
|
3361
3527
|
#
|
3362
3528
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetReservationCoverageResponse AWS API Documentation
|
@@ -3435,7 +3601,7 @@ module Aws::CostExplorer
|
|
3435
3601
|
# filter for `REGION==us-east-1 OR REGION==us-west-1`. For
|
3436
3602
|
# `GetRightsizingRecommendation`, the Region is a full name (for
|
3437
3603
|
# example, `REGION==US East (N. Virginia)`. The `Expression` example
|
3438
|
-
#
|
3604
|
+
# is as follows:
|
3439
3605
|
#
|
3440
3606
|
# `\{ "Dimensions": \{ "Key": "REGION", "Values": [ "us-east-1",
|
3441
3607
|
# “us-west-1” ] \} \}`
|
@@ -3447,11 +3613,11 @@ module Aws::CostExplorer
|
|
3447
3613
|
#
|
3448
3614
|
# * Compound dimension values with logical operations - You can use
|
3449
3615
|
# multiple `Expression` types and the logical operators `AND/OR/NOT`
|
3450
|
-
# to create a list of one or more `Expression` objects.
|
3451
|
-
# you
|
3452
|
-
# filter on `((REGION == us-east-1 OR REGION == us-west-1) OR
|
3616
|
+
# to create a list of one or more `Expression` objects. By doing
|
3617
|
+
# this, you can filter on more advanced options. For example, you
|
3618
|
+
# can filter on `((REGION == us-east-1 OR REGION == us-west-1) OR
|
3453
3619
|
# (TAG.Type == Type1)) AND (USAGE_TYPE != DataTransfer)`. The
|
3454
|
-
# `Expression` for that
|
3620
|
+
# `Expression` for that is as follows:
|
3455
3621
|
#
|
3456
3622
|
# `\{ "And": [ \{"Or": [ \{"Dimensions": \{ "Key": "REGION",
|
3457
3623
|
# "Values": [ "us-east-1", "us-west-1" ] \}\}, \{"Tags": \{ "Key":
|
@@ -3469,13 +3635,13 @@ module Aws::CostExplorer
|
|
3469
3635
|
# "USAGE_TYPE", "Values": [ "DataTransfer" ] \} \} `
|
3470
3636
|
#
|
3471
3637
|
# <note markdown="1"> For the `GetRightsizingRecommendation` action, a combination of OR
|
3472
|
-
# and NOT
|
3638
|
+
# and NOT isn't supported. OR isn't supported between different
|
3473
3639
|
# dimensions, or dimensions and tags. NOT operators aren't supported.
|
3474
3640
|
# Dimensions are also limited to `LINKED_ACCOUNT`, `REGION`, or
|
3475
3641
|
# `RIGHTSIZING_TYPE`.
|
3476
3642
|
#
|
3477
3643
|
# For the `GetReservationPurchaseRecommendation` action, only NOT is
|
3478
|
-
# supported. AND and OR
|
3644
|
+
# supported. AND and OR aren't supported. Dimensions are limited to
|
3479
3645
|
# `LINKED_ACCOUNT`.
|
3480
3646
|
#
|
3481
3647
|
# </note>
|
@@ -3490,8 +3656,8 @@ module Aws::CostExplorer
|
|
3490
3656
|
# @return [String]
|
3491
3657
|
#
|
3492
3658
|
# @!attribute [rw] lookback_period_in_days
|
3493
|
-
# The number of previous days that you want
|
3494
|
-
# calculates your recommendations.
|
3659
|
+
# The number of previous days that you want Amazon Web Services to
|
3660
|
+
# consider when it calculates your recommendations.
|
3495
3661
|
# @return [String]
|
3496
3662
|
#
|
3497
3663
|
# @!attribute [rw] term_in_years
|
@@ -3712,16 +3878,16 @@ module Aws::CostExplorer
|
|
3712
3878
|
# @return [Types::SortDefinition]
|
3713
3879
|
#
|
3714
3880
|
# @!attribute [rw] next_page_token
|
3715
|
-
# The token to retrieve the next set of results.
|
3716
|
-
# token when the response from a previous call has more
|
3717
|
-
# the maximum page size.
|
3881
|
+
# The token to retrieve the next set of results. Amazon Web Services
|
3882
|
+
# provides the token when the response from a previous call has more
|
3883
|
+
# results than the maximum page size.
|
3718
3884
|
# @return [String]
|
3719
3885
|
#
|
3720
3886
|
# @!attribute [rw] max_results
|
3721
3887
|
# The maximum number of objects that you returned for this request. If
|
3722
|
-
# more objects are available, in the response,
|
3723
|
-
# NextPageToken value that you can use in a subsequent call
|
3724
|
-
# next batch of objects.
|
3888
|
+
# more objects are available, in the response, Amazon Web Services
|
3889
|
+
# provides a NextPageToken value that you can use in a subsequent call
|
3890
|
+
# to get the next batch of objects.
|
3725
3891
|
# @return [Integer]
|
3726
3892
|
#
|
3727
3893
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetReservationUtilizationRequest AWS API Documentation
|
@@ -3747,9 +3913,9 @@ module Aws::CostExplorer
|
|
3747
3913
|
# @return [Types::ReservationAggregates]
|
3748
3914
|
#
|
3749
3915
|
# @!attribute [rw] next_page_token
|
3750
|
-
# The token for the next set of retrievable results.
|
3751
|
-
# token when the response from a previous call
|
3752
|
-
# the maximum page size.
|
3916
|
+
# The token for the next set of retrievable results. Amazon Web
|
3917
|
+
# Services provides the token when the response from a previous call
|
3918
|
+
# has more results than the maximum page size.
|
3753
3919
|
# @return [String]
|
3754
3920
|
#
|
3755
3921
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetReservationUtilizationResponse AWS API Documentation
|
@@ -3814,7 +3980,7 @@ module Aws::CostExplorer
|
|
3814
3980
|
# filter for `REGION==us-east-1 OR REGION==us-west-1`. For
|
3815
3981
|
# `GetRightsizingRecommendation`, the Region is a full name (for
|
3816
3982
|
# example, `REGION==US East (N. Virginia)`. The `Expression` example
|
3817
|
-
#
|
3983
|
+
# is as follows:
|
3818
3984
|
#
|
3819
3985
|
# `\{ "Dimensions": \{ "Key": "REGION", "Values": [ "us-east-1",
|
3820
3986
|
# “us-west-1” ] \} \}`
|
@@ -3826,11 +3992,11 @@ module Aws::CostExplorer
|
|
3826
3992
|
#
|
3827
3993
|
# * Compound dimension values with logical operations - You can use
|
3828
3994
|
# multiple `Expression` types and the logical operators `AND/OR/NOT`
|
3829
|
-
# to create a list of one or more `Expression` objects.
|
3830
|
-
# you
|
3831
|
-
# filter on `((REGION == us-east-1 OR REGION == us-west-1) OR
|
3995
|
+
# to create a list of one or more `Expression` objects. By doing
|
3996
|
+
# this, you can filter on more advanced options. For example, you
|
3997
|
+
# can filter on `((REGION == us-east-1 OR REGION == us-west-1) OR
|
3832
3998
|
# (TAG.Type == Type1)) AND (USAGE_TYPE != DataTransfer)`. The
|
3833
|
-
# `Expression` for that
|
3999
|
+
# `Expression` for that is as follows:
|
3834
4000
|
#
|
3835
4001
|
# `\{ "And": [ \{"Or": [ \{"Dimensions": \{ "Key": "REGION",
|
3836
4002
|
# "Values": [ "us-east-1", "us-west-1" ] \}\}, \{"Tags": \{ "Key":
|
@@ -3848,13 +4014,13 @@ module Aws::CostExplorer
|
|
3848
4014
|
# "USAGE_TYPE", "Values": [ "DataTransfer" ] \} \} `
|
3849
4015
|
#
|
3850
4016
|
# <note markdown="1"> For the `GetRightsizingRecommendation` action, a combination of OR
|
3851
|
-
# and NOT
|
4017
|
+
# and NOT isn't supported. OR isn't supported between different
|
3852
4018
|
# dimensions, or dimensions and tags. NOT operators aren't supported.
|
3853
4019
|
# Dimensions are also limited to `LINKED_ACCOUNT`, `REGION`, or
|
3854
4020
|
# `RIGHTSIZING_TYPE`.
|
3855
4021
|
#
|
3856
4022
|
# For the `GetReservationPurchaseRecommendation` action, only NOT is
|
3857
|
-
# supported. AND and OR
|
4023
|
+
# supported. AND and OR aren't supported. Dimensions are limited to
|
3858
4024
|
# `LINKED_ACCOUNT`.
|
3859
4025
|
#
|
3860
4026
|
# </note>
|
@@ -4222,9 +4388,9 @@ module Aws::CostExplorer
|
|
4222
4388
|
# @return [Types::SavingsPlansPurchaseRecommendation]
|
4223
4389
|
#
|
4224
4390
|
# @!attribute [rw] next_page_token
|
4225
|
-
# The token for the next set of retrievable results.
|
4226
|
-
# token when the response from a previous call
|
4227
|
-
# the maximum page size.
|
4391
|
+
# The token for the next set of retrievable results. Amazon Web
|
4392
|
+
# Services provides the token when the response from a previous call
|
4393
|
+
# has more results than the maximum page size.
|
4228
4394
|
# @return [String]
|
4229
4395
|
#
|
4230
4396
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetSavingsPlansPurchaseRecommendationResponse AWS API Documentation
|
@@ -4602,7 +4768,7 @@ module Aws::CostExplorer
|
|
4602
4768
|
# filter for `REGION==us-east-1 OR REGION==us-west-1`. For
|
4603
4769
|
# `GetRightsizingRecommendation`, the Region is a full name (for
|
4604
4770
|
# example, `REGION==US East (N. Virginia)`. The `Expression` example
|
4605
|
-
#
|
4771
|
+
# is as follows:
|
4606
4772
|
#
|
4607
4773
|
# `\{ "Dimensions": \{ "Key": "REGION", "Values": [ "us-east-1",
|
4608
4774
|
# “us-west-1” ] \} \}`
|
@@ -4614,11 +4780,11 @@ module Aws::CostExplorer
|
|
4614
4780
|
#
|
4615
4781
|
# * Compound dimension values with logical operations - You can use
|
4616
4782
|
# multiple `Expression` types and the logical operators `AND/OR/NOT`
|
4617
|
-
# to create a list of one or more `Expression` objects.
|
4618
|
-
# you
|
4619
|
-
# filter on `((REGION == us-east-1 OR REGION == us-west-1) OR
|
4783
|
+
# to create a list of one or more `Expression` objects. By doing
|
4784
|
+
# this, you can filter on more advanced options. For example, you
|
4785
|
+
# can filter on `((REGION == us-east-1 OR REGION == us-west-1) OR
|
4620
4786
|
# (TAG.Type == Type1)) AND (USAGE_TYPE != DataTransfer)`. The
|
4621
|
-
# `Expression` for that
|
4787
|
+
# `Expression` for that is as follows:
|
4622
4788
|
#
|
4623
4789
|
# `\{ "And": [ \{"Or": [ \{"Dimensions": \{ "Key": "REGION",
|
4624
4790
|
# "Values": [ "us-east-1", "us-west-1" ] \}\}, \{"Tags": \{ "Key":
|
@@ -4636,13 +4802,13 @@ module Aws::CostExplorer
|
|
4636
4802
|
# "USAGE_TYPE", "Values": [ "DataTransfer" ] \} \} `
|
4637
4803
|
#
|
4638
4804
|
# <note markdown="1"> For the `GetRightsizingRecommendation` action, a combination of OR
|
4639
|
-
# and NOT
|
4805
|
+
# and NOT isn't supported. OR isn't supported between different
|
4640
4806
|
# dimensions, or dimensions and tags. NOT operators aren't supported.
|
4641
4807
|
# Dimensions are also limited to `LINKED_ACCOUNT`, `REGION`, or
|
4642
4808
|
# `RIGHTSIZING_TYPE`.
|
4643
4809
|
#
|
4644
4810
|
# For the `GetReservationPurchaseRecommendation` action, only NOT is
|
4645
|
-
# supported. AND and OR
|
4811
|
+
# supported. AND and OR aren't supported. Dimensions are limited to
|
4646
4812
|
# `LINKED_ACCOUNT`.
|
4647
4813
|
#
|
4648
4814
|
# </note>
|
@@ -4684,9 +4850,9 @@ module Aws::CostExplorer
|
|
4684
4850
|
# @return [Integer]
|
4685
4851
|
#
|
4686
4852
|
# @!attribute [rw] next_page_token
|
4687
|
-
# The token to retrieve the next set of results.
|
4688
|
-
# token when the response from a previous call has more
|
4689
|
-
# the maximum page size.
|
4853
|
+
# The token to retrieve the next set of results. Amazon Web Services
|
4854
|
+
# provides the token when the response from a previous call has more
|
4855
|
+
# results than the maximum page size.
|
4690
4856
|
# @return [String]
|
4691
4857
|
#
|
4692
4858
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetTagsRequest AWS API Documentation
|
@@ -4704,9 +4870,9 @@ module Aws::CostExplorer
|
|
4704
4870
|
end
|
4705
4871
|
|
4706
4872
|
# @!attribute [rw] next_page_token
|
4707
|
-
# The token for the next set of retrievable results.
|
4708
|
-
# token when the response from a previous call
|
4709
|
-
# the maximum page size.
|
4873
|
+
# The token for the next set of retrievable results. Amazon Web
|
4874
|
+
# Services provides the token when the response from a previous call
|
4875
|
+
# has more results than the maximum page size.
|
4710
4876
|
# @return [String]
|
4711
4877
|
#
|
4712
4878
|
# @!attribute [rw] tags
|
@@ -4714,7 +4880,8 @@ module Aws::CostExplorer
|
|
4714
4880
|
# @return [Array<String>]
|
4715
4881
|
#
|
4716
4882
|
# @!attribute [rw] return_size
|
4717
|
-
# The number of query results that
|
4883
|
+
# The number of query results that Amazon Web Services returns at a
|
4884
|
+
# time.
|
4718
4885
|
# @return [Integer]
|
4719
4886
|
#
|
4720
4887
|
# @!attribute [rw] total_size
|
@@ -4942,14 +5109,14 @@ module Aws::CostExplorer
|
|
4942
5109
|
include Aws::Structure
|
4943
5110
|
end
|
4944
5111
|
|
4945
|
-
# The
|
5112
|
+
# The dollar value of the anomaly.
|
4946
5113
|
#
|
4947
5114
|
# @!attribute [rw] max_impact
|
4948
|
-
# The maximum dollar value observed for an anomaly.
|
5115
|
+
# The maximum dollar value that's observed for an anomaly.
|
4949
5116
|
# @return [Float]
|
4950
5117
|
#
|
4951
5118
|
# @!attribute [rw] total_impact
|
4952
|
-
# The cumulative dollar value observed for an anomaly.
|
5119
|
+
# The cumulative dollar value that's observed for an anomaly.
|
4953
5120
|
# @return [Float]
|
4954
5121
|
#
|
4955
5122
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/Impact AWS API Documentation
|
@@ -4961,26 +5128,32 @@ module Aws::CostExplorer
|
|
4961
5128
|
include Aws::Structure
|
4962
5129
|
end
|
4963
5130
|
|
4964
|
-
# Details about the instances that
|
5131
|
+
# Details about the instances that Amazon Web Services recommends that
|
5132
|
+
# you purchase.
|
4965
5133
|
#
|
4966
5134
|
# @!attribute [rw] ec2_instance_details
|
4967
|
-
# The Amazon EC2 instances that
|
5135
|
+
# The Amazon EC2 instances that Amazon Web Services recommends that
|
5136
|
+
# you purchase.
|
4968
5137
|
# @return [Types::EC2InstanceDetails]
|
4969
5138
|
#
|
4970
5139
|
# @!attribute [rw] rds_instance_details
|
4971
|
-
# The Amazon RDS instances that
|
5140
|
+
# The Amazon RDS instances that Amazon Web Services recommends that
|
5141
|
+
# you purchase.
|
4972
5142
|
# @return [Types::RDSInstanceDetails]
|
4973
5143
|
#
|
4974
5144
|
# @!attribute [rw] redshift_instance_details
|
4975
|
-
# The Amazon Redshift instances that
|
5145
|
+
# The Amazon Redshift instances that Amazon Web Services recommends
|
5146
|
+
# that you purchase.
|
4976
5147
|
# @return [Types::RedshiftInstanceDetails]
|
4977
5148
|
#
|
4978
5149
|
# @!attribute [rw] elasticache_instance_details
|
4979
|
-
# The ElastiCache instances that
|
5150
|
+
# The ElastiCache instances that Amazon Web Services recommends that
|
5151
|
+
# you purchase.
|
4980
5152
|
# @return [Types::ElastiCacheInstanceDetails]
|
4981
5153
|
#
|
4982
5154
|
# @!attribute [rw] es_instance_details
|
4983
|
-
# The Amazon ES instances that
|
5155
|
+
# The Amazon ES instances that Amazon Web Services recommends that you
|
5156
|
+
# purchase.
|
4984
5157
|
# @return [Types::ESInstanceDetails]
|
4985
5158
|
#
|
4986
5159
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/InstanceDetails AWS API Documentation
|
@@ -5096,8 +5269,8 @@ module Aws::CostExplorer
|
|
5096
5269
|
# Details on the modification recommendation.
|
5097
5270
|
#
|
5098
5271
|
# @!attribute [rw] target_instances
|
5099
|
-
#
|
5100
|
-
# recommendation.
|
5272
|
+
# Determines whether this instance type is the Amazon Web Services
|
5273
|
+
# default recommendation.
|
5101
5274
|
# @return [Array<Types::TargetInstance>]
|
5102
5275
|
#
|
5103
5276
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ModifyRecommendationDetail AWS API Documentation
|
@@ -5108,6 +5281,39 @@ module Aws::CostExplorer
|
|
5108
5281
|
include Aws::Structure
|
5109
5282
|
end
|
5110
5283
|
|
5284
|
+
# The network field that contains a list of network metrics that are
|
5285
|
+
# associated with the current instance.
|
5286
|
+
#
|
5287
|
+
# @!attribute [rw] network_in_bytes_per_second
|
5288
|
+
# The network inbound throughput utilization measured in Bytes per
|
5289
|
+
# second.
|
5290
|
+
# @return [String]
|
5291
|
+
#
|
5292
|
+
# @!attribute [rw] network_out_bytes_per_second
|
5293
|
+
# The network outbound throughput utilization measured in Bytes per
|
5294
|
+
# second.
|
5295
|
+
# @return [String]
|
5296
|
+
#
|
5297
|
+
# @!attribute [rw] network_packets_in_per_second
|
5298
|
+
# The network ingress packets that are measured in packets per second.
|
5299
|
+
# @return [String]
|
5300
|
+
#
|
5301
|
+
# @!attribute [rw] network_packets_out_per_second
|
5302
|
+
# The network outgress packets that are measured in packets per
|
5303
|
+
# second.
|
5304
|
+
# @return [String]
|
5305
|
+
#
|
5306
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/NetworkResourceUtilization AWS API Documentation
|
5307
|
+
#
|
5308
|
+
class NetworkResourceUtilization < Struct.new(
|
5309
|
+
:network_in_bytes_per_second,
|
5310
|
+
:network_out_bytes_per_second,
|
5311
|
+
:network_packets_in_per_second,
|
5312
|
+
:network_packets_out_per_second)
|
5313
|
+
SENSITIVE = []
|
5314
|
+
include Aws::Structure
|
5315
|
+
end
|
5316
|
+
|
5111
5317
|
# @note When making an API call, you may pass ProvideAnomalyFeedbackRequest
|
5112
5318
|
# data as a hash:
|
5113
5319
|
#
|
@@ -5146,19 +5352,19 @@ module Aws::CostExplorer
|
|
5146
5352
|
include Aws::Structure
|
5147
5353
|
end
|
5148
5354
|
|
5149
|
-
# Details about the Amazon RDS instances that
|
5150
|
-
# purchase.
|
5355
|
+
# Details about the Amazon RDS instances that Amazon Web Services
|
5356
|
+
# recommends that you purchase.
|
5151
5357
|
#
|
5152
5358
|
# @!attribute [rw] family
|
5153
5359
|
# The instance family of the recommended reservation.
|
5154
5360
|
# @return [String]
|
5155
5361
|
#
|
5156
5362
|
# @!attribute [rw] instance_type
|
5157
|
-
# The type of instance that
|
5363
|
+
# The type of instance that Amazon Web Services recommends.
|
5158
5364
|
# @return [String]
|
5159
5365
|
#
|
5160
5366
|
# @!attribute [rw] region
|
5161
|
-
# The
|
5367
|
+
# The Amazon Web Services Region of the recommended reservation.
|
5162
5368
|
# @return [String]
|
5163
5369
|
#
|
5164
5370
|
# @!attribute [rw] database_engine
|
@@ -5170,8 +5376,8 @@ module Aws::CostExplorer
|
|
5170
5376
|
# @return [String]
|
5171
5377
|
#
|
5172
5378
|
# @!attribute [rw] deployment_option
|
5173
|
-
#
|
5174
|
-
# Availability Zone or a reservation with a backup in a second
|
5379
|
+
# Determines whether the recommendation is for a reservation in a
|
5380
|
+
# single Availability Zone or a reservation with a backup in a second
|
5175
5381
|
# Availability Zone.
|
5176
5382
|
# @return [String]
|
5177
5383
|
#
|
@@ -5180,11 +5386,12 @@ module Aws::CostExplorer
|
|
5180
5386
|
# @return [String]
|
5181
5387
|
#
|
5182
5388
|
# @!attribute [rw] current_generation
|
5183
|
-
#
|
5389
|
+
# Determines whether the recommendation is for a current-generation
|
5390
|
+
# instance.
|
5184
5391
|
# @return [Boolean]
|
5185
5392
|
#
|
5186
5393
|
# @!attribute [rw] size_flex_eligible
|
5187
|
-
#
|
5394
|
+
# Determines whether the recommended reservation is size flexible.
|
5188
5395
|
# @return [Boolean]
|
5189
5396
|
#
|
5190
5397
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/RDSInstanceDetails AWS API Documentation
|
@@ -5203,27 +5410,28 @@ module Aws::CostExplorer
|
|
5203
5410
|
include Aws::Structure
|
5204
5411
|
end
|
5205
5412
|
|
5206
|
-
# Details about the Amazon Redshift instances that
|
5207
|
-
# you purchase.
|
5413
|
+
# Details about the Amazon Redshift instances that Amazon Web Services
|
5414
|
+
# recommends that you purchase.
|
5208
5415
|
#
|
5209
5416
|
# @!attribute [rw] family
|
5210
5417
|
# The instance family of the recommended reservation.
|
5211
5418
|
# @return [String]
|
5212
5419
|
#
|
5213
5420
|
# @!attribute [rw] node_type
|
5214
|
-
# The type of node that
|
5421
|
+
# The type of node that Amazon Web Services recommends.
|
5215
5422
|
# @return [String]
|
5216
5423
|
#
|
5217
5424
|
# @!attribute [rw] region
|
5218
|
-
# The
|
5425
|
+
# The Amazon Web Services Region of the recommended reservation.
|
5219
5426
|
# @return [String]
|
5220
5427
|
#
|
5221
5428
|
# @!attribute [rw] current_generation
|
5222
|
-
#
|
5429
|
+
# Determines whether the recommendation is for a current-generation
|
5430
|
+
# instance.
|
5223
5431
|
# @return [Boolean]
|
5224
5432
|
#
|
5225
5433
|
# @!attribute [rw] size_flex_eligible
|
5226
|
-
#
|
5434
|
+
# Determines whether the recommended reservation is size flexible.
|
5227
5435
|
# @return [Boolean]
|
5228
5436
|
#
|
5229
5437
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/RedshiftInstanceDetails AWS API Documentation
|
@@ -5259,7 +5467,7 @@ module Aws::CostExplorer
|
|
5259
5467
|
# @return [String]
|
5260
5468
|
#
|
5261
5469
|
# @!attribute [rw] utilization_percentage_in_units
|
5262
|
-
# The percentage of Amazon EC2 reservation time that you used
|
5470
|
+
# The percentage of Amazon EC2 reservation time that you used. It's
|
5263
5471
|
# converted to normalized units. Normalized units are available only
|
5264
5472
|
# for Amazon EC2 usage after November 11, 2017.
|
5265
5473
|
# @return [String]
|
@@ -5269,9 +5477,9 @@ module Aws::CostExplorer
|
|
5269
5477
|
# @return [String]
|
5270
5478
|
#
|
5271
5479
|
# @!attribute [rw] purchased_units
|
5272
|
-
#
|
5273
|
-
# to normalized units. Normalized units are available only
|
5274
|
-
# EC2 usage after November 11, 2017.
|
5480
|
+
# The number of Amazon EC2 reservation hours that you purchased. It's
|
5481
|
+
# converted to normalized units. Normalized units are available only
|
5482
|
+
# for Amazon EC2 usage after November 11, 2017.
|
5275
5483
|
# @return [String]
|
5276
5484
|
#
|
5277
5485
|
# @!attribute [rw] total_actual_hours
|
@@ -5279,9 +5487,9 @@ module Aws::CostExplorer
|
|
5279
5487
|
# @return [String]
|
5280
5488
|
#
|
5281
5489
|
# @!attribute [rw] total_actual_units
|
5282
|
-
# The total number of Amazon EC2 reservation hours that you used
|
5283
|
-
# converted to normalized units. Normalized units are available
|
5284
|
-
# for Amazon EC2 usage after November 11, 2017.
|
5490
|
+
# The total number of Amazon EC2 reservation hours that you used.
|
5491
|
+
# It's converted to normalized units. Normalized units are available
|
5492
|
+
# only for Amazon EC2 usage after November 11, 2017.
|
5285
5493
|
# @return [String]
|
5286
5494
|
#
|
5287
5495
|
# @!attribute [rw] unused_hours
|
@@ -5289,38 +5497,38 @@ module Aws::CostExplorer
|
|
5289
5497
|
# @return [String]
|
5290
5498
|
#
|
5291
5499
|
# @!attribute [rw] unused_units
|
5292
|
-
# The number of Amazon EC2 reservation hours that you didn't use
|
5293
|
-
# converted to normalized units. Normalized units are available
|
5294
|
-
# for Amazon EC2 usage after November 11, 2017.
|
5500
|
+
# The number of Amazon EC2 reservation hours that you didn't use.
|
5501
|
+
# It's converted to normalized units. Normalized units are available
|
5502
|
+
# only for Amazon EC2 usage after November 11, 2017.
|
5295
5503
|
# @return [String]
|
5296
5504
|
#
|
5297
5505
|
# @!attribute [rw] on_demand_cost_of_ri_hours_used
|
5298
|
-
# How much your reservation
|
5506
|
+
# How much your reservation costs if charged On-Demand rates.
|
5299
5507
|
# @return [String]
|
5300
5508
|
#
|
5301
5509
|
# @!attribute [rw] net_ri_savings
|
5302
|
-
# How much you saved due to purchasing and utilizing reservation.
|
5303
|
-
# calculates this by subtracting
|
5304
|
-
# `OnDemandCostOfRIHoursUsed`.
|
5510
|
+
# How much you saved due to purchasing and utilizing reservation.
|
5511
|
+
# Amazon Web Services calculates this by subtracting
|
5512
|
+
# `TotalAmortizedFee` from `OnDemandCostOfRIHoursUsed`.
|
5305
5513
|
# @return [String]
|
5306
5514
|
#
|
5307
5515
|
# @!attribute [rw] total_potential_ri_savings
|
5308
|
-
# How much you
|
5516
|
+
# How much you might save if you use your entire reservation.
|
5309
5517
|
# @return [String]
|
5310
5518
|
#
|
5311
5519
|
# @!attribute [rw] amortized_upfront_fee
|
5312
|
-
# The upfront cost of your reservation
|
5313
|
-
# period.
|
5520
|
+
# The upfront cost of your reservation. It's amortized over the
|
5521
|
+
# reservation period.
|
5314
5522
|
# @return [String]
|
5315
5523
|
#
|
5316
5524
|
# @!attribute [rw] amortized_recurring_fee
|
5317
|
-
# The monthly cost of your reservation
|
5318
|
-
# period.
|
5525
|
+
# The monthly cost of your reservation. It's amortized over the
|
5526
|
+
# reservation period.
|
5319
5527
|
# @return [String]
|
5320
5528
|
#
|
5321
5529
|
# @!attribute [rw] total_amortized_fee
|
5322
|
-
# The total cost of your reservation
|
5323
|
-
# period.
|
5530
|
+
# The total cost of your reservation. It's amortized over the
|
5531
|
+
# reservation period.
|
5324
5532
|
# @return [String]
|
5325
5533
|
#
|
5326
5534
|
# @!attribute [rw] ri_cost_for_unused_hours
|
@@ -5328,11 +5536,12 @@ module Aws::CostExplorer
|
|
5328
5536
|
# @return [String]
|
5329
5537
|
#
|
5330
5538
|
# @!attribute [rw] realized_savings
|
5331
|
-
# The realized savings
|
5539
|
+
# The realized savings because of purchasing and using a reservation.
|
5332
5540
|
# @return [String]
|
5333
5541
|
#
|
5334
5542
|
# @!attribute [rw] unrealized_savings
|
5335
|
-
# The unrealized savings
|
5543
|
+
# The unrealized savings because of purchasing and using a
|
5544
|
+
# reservation.
|
5336
5545
|
# @return [String]
|
5337
5546
|
#
|
5338
5547
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ReservationAggregates AWS API Documentation
|
@@ -5378,17 +5587,19 @@ module Aws::CostExplorer
|
|
5378
5587
|
include Aws::Structure
|
5379
5588
|
end
|
5380
5589
|
|
5381
|
-
# A specific reservation that
|
5590
|
+
# A specific reservation that Amazon Web Services recommends for
|
5591
|
+
# purchase.
|
5382
5592
|
#
|
5383
5593
|
# @!attribute [rw] account_scope
|
5384
|
-
# The account scope that
|
5385
|
-
# instance for. For example, you can purchase this
|
5386
|
-
# entire organization in
|
5594
|
+
# The account scope that Amazon Web Services recommends that you
|
5595
|
+
# purchase this instance for. For example, you can purchase this
|
5596
|
+
# reservation for an entire organization in Amazon Web Services
|
5597
|
+
# Organizations.
|
5387
5598
|
# @return [String]
|
5388
5599
|
#
|
5389
5600
|
# @!attribute [rw] lookback_period_in_days
|
5390
|
-
# How many days of previous usage that
|
5391
|
-
# recommendation.
|
5601
|
+
# How many days of previous usage that Amazon Web Services considers
|
5602
|
+
# when making this recommendation.
|
5392
5603
|
# @return [String]
|
5393
5604
|
#
|
5394
5605
|
# @!attribute [rw] term_in_years
|
@@ -5397,8 +5608,8 @@ module Aws::CostExplorer
|
|
5397
5608
|
# @return [String]
|
5398
5609
|
#
|
5399
5610
|
# @!attribute [rw] payment_option
|
5400
|
-
# The payment option for the reservation
|
5401
|
-
# `NoUpfront
|
5611
|
+
# The payment option for the reservation (for example, `AllUpfront` or
|
5612
|
+
# `NoUpfront`).
|
5402
5613
|
# @return [String]
|
5403
5614
|
#
|
5404
5615
|
# @!attribute [rw] service_specification
|
@@ -5435,87 +5646,91 @@ module Aws::CostExplorer
|
|
5435
5646
|
# @return [String]
|
5436
5647
|
#
|
5437
5648
|
# @!attribute [rw] instance_details
|
5438
|
-
# Details about the instances that
|
5649
|
+
# Details about the instances that Amazon Web Services recommends that
|
5650
|
+
# you purchase.
|
5439
5651
|
# @return [Types::InstanceDetails]
|
5440
5652
|
#
|
5441
5653
|
# @!attribute [rw] recommended_number_of_instances_to_purchase
|
5442
|
-
# The number of instances that
|
5654
|
+
# The number of instances that Amazon Web Services recommends that you
|
5655
|
+
# purchase.
|
5443
5656
|
# @return [String]
|
5444
5657
|
#
|
5445
5658
|
# @!attribute [rw] recommended_normalized_units_to_purchase
|
5446
|
-
# The number of normalized units that
|
5447
|
-
# purchase.
|
5659
|
+
# The number of normalized units that Amazon Web Services recommends
|
5660
|
+
# that you purchase.
|
5448
5661
|
# @return [String]
|
5449
5662
|
#
|
5450
5663
|
# @!attribute [rw] minimum_number_of_instances_used_per_hour
|
5451
5664
|
# The minimum number of instances that you used in an hour during the
|
5452
|
-
# historical period.
|
5453
|
-
# reservation purchases.
|
5665
|
+
# historical period. Amazon Web Services uses this to calculate your
|
5666
|
+
# recommended reservation purchases.
|
5454
5667
|
# @return [String]
|
5455
5668
|
#
|
5456
5669
|
# @!attribute [rw] minimum_normalized_units_used_per_hour
|
5457
5670
|
# The minimum number of normalized units that you used in an hour
|
5458
|
-
# during the historical period.
|
5459
|
-
# recommended reservation purchases.
|
5671
|
+
# during the historical period. Amazon Web Services uses this to
|
5672
|
+
# calculate your recommended reservation purchases.
|
5460
5673
|
# @return [String]
|
5461
5674
|
#
|
5462
5675
|
# @!attribute [rw] maximum_number_of_instances_used_per_hour
|
5463
5676
|
# The maximum number of instances that you used in an hour during the
|
5464
|
-
# historical period.
|
5465
|
-
# reservation purchases.
|
5677
|
+
# historical period. Amazon Web Services uses this to calculate your
|
5678
|
+
# recommended reservation purchases.
|
5466
5679
|
# @return [String]
|
5467
5680
|
#
|
5468
5681
|
# @!attribute [rw] maximum_normalized_units_used_per_hour
|
5469
5682
|
# The maximum number of normalized units that you used in an hour
|
5470
|
-
# during the historical period.
|
5471
|
-
# recommended reservation purchases.
|
5683
|
+
# during the historical period. Amazon Web Services uses this to
|
5684
|
+
# calculate your recommended reservation purchases.
|
5472
5685
|
# @return [String]
|
5473
5686
|
#
|
5474
5687
|
# @!attribute [rw] average_number_of_instances_used_per_hour
|
5475
5688
|
# The average number of instances that you used in an hour during the
|
5476
|
-
# historical period.
|
5477
|
-
# reservation purchases.
|
5689
|
+
# historical period. Amazon Web Services uses this to calculate your
|
5690
|
+
# recommended reservation purchases.
|
5478
5691
|
# @return [String]
|
5479
5692
|
#
|
5480
5693
|
# @!attribute [rw] average_normalized_units_used_per_hour
|
5481
5694
|
# The average number of normalized units that you used in an hour
|
5482
|
-
# during the historical period.
|
5483
|
-
# recommended reservation purchases.
|
5695
|
+
# during the historical period. Amazon Web Services uses this to
|
5696
|
+
# calculate your recommended reservation purchases.
|
5484
5697
|
# @return [String]
|
5485
5698
|
#
|
5486
5699
|
# @!attribute [rw] average_utilization
|
5487
|
-
# The average utilization of your instances.
|
5488
|
-
# calculate your recommended reservation purchases.
|
5700
|
+
# The average utilization of your instances. Amazon Web Services uses
|
5701
|
+
# this to calculate your recommended reservation purchases.
|
5489
5702
|
# @return [String]
|
5490
5703
|
#
|
5491
5704
|
# @!attribute [rw] estimated_break_even_in_months
|
5492
|
-
# How long
|
5493
|
-
# saving you money, in months.
|
5705
|
+
# How long Amazon Web Services estimates that it takes for this
|
5706
|
+
# instance to start saving you money, in months.
|
5494
5707
|
# @return [String]
|
5495
5708
|
#
|
5496
5709
|
# @!attribute [rw] currency_code
|
5497
|
-
# The currency code that
|
5498
|
-
# instance.
|
5710
|
+
# The currency code that Amazon Web Services used to calculate the
|
5711
|
+
# costs for this instance.
|
5499
5712
|
# @return [String]
|
5500
5713
|
#
|
5501
5714
|
# @!attribute [rw] estimated_monthly_savings_amount
|
5502
|
-
# How much
|
5503
|
-
# you in a month.
|
5715
|
+
# How much Amazon Web Services estimates that this specific
|
5716
|
+
# recommendation could save you in a month.
|
5504
5717
|
# @return [String]
|
5505
5718
|
#
|
5506
5719
|
# @!attribute [rw] estimated_monthly_savings_percentage
|
5507
|
-
# How much
|
5508
|
-
# you in a month, as a percentage of your
|
5720
|
+
# How much Amazon Web Services estimates that this specific
|
5721
|
+
# recommendation could save you in a month, as a percentage of your
|
5722
|
+
# overall costs.
|
5509
5723
|
# @return [String]
|
5510
5724
|
#
|
5511
5725
|
# @!attribute [rw] estimated_monthly_on_demand_cost
|
5512
|
-
# How much
|
5513
|
-
# month.
|
5726
|
+
# How much Amazon Web Services estimates that you spend on On-Demand
|
5727
|
+
# Instances in a month.
|
5514
5728
|
# @return [String]
|
5515
5729
|
#
|
5516
5730
|
# @!attribute [rw] estimated_reservation_cost_for_lookback_period
|
5517
|
-
# How much
|
5518
|
-
# during the specified historical period if you had a
|
5731
|
+
# How much Amazon Web Services estimates that you would have spent for
|
5732
|
+
# all usage during the specified historical period if you had a
|
5733
|
+
# reservation.
|
5519
5734
|
# @return [String]
|
5520
5735
|
#
|
5521
5736
|
# @!attribute [rw] upfront_cost
|
@@ -5553,14 +5768,14 @@ module Aws::CostExplorer
|
|
5553
5768
|
end
|
5554
5769
|
|
5555
5770
|
# Information about this specific recommendation, such as the timestamp
|
5556
|
-
# for when
|
5771
|
+
# for when Amazon Web Services made a specific recommendation.
|
5557
5772
|
#
|
5558
5773
|
# @!attribute [rw] recommendation_id
|
5559
5774
|
# The ID for this specific recommendation.
|
5560
5775
|
# @return [String]
|
5561
5776
|
#
|
5562
5777
|
# @!attribute [rw] generation_timestamp
|
5563
|
-
# The timestamp for when
|
5778
|
+
# The timestamp for when Amazon Web Services made this recommendation.
|
5564
5779
|
# @return [String]
|
5565
5780
|
#
|
5566
5781
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ReservationPurchaseRecommendationMetadata AWS API Documentation
|
@@ -5573,17 +5788,18 @@ module Aws::CostExplorer
|
|
5573
5788
|
end
|
5574
5789
|
|
5575
5790
|
# A summary about this recommendation, such as the currency code, the
|
5576
|
-
# amount that
|
5577
|
-
# reservation to purchase.
|
5791
|
+
# amount that Amazon Web Services estimates that you could save, and the
|
5792
|
+
# total amount of reservation to purchase.
|
5578
5793
|
#
|
5579
5794
|
# @!attribute [rw] total_estimated_monthly_savings_amount
|
5580
|
-
# The total amount that
|
5581
|
-
# save you in a month.
|
5795
|
+
# The total amount that Amazon Web Services estimates that this
|
5796
|
+
# recommendation could save you in a month.
|
5582
5797
|
# @return [String]
|
5583
5798
|
#
|
5584
5799
|
# @!attribute [rw] total_estimated_monthly_savings_percentage
|
5585
|
-
# The total amount that
|
5586
|
-
# save you in a month, as a percentage of your
|
5800
|
+
# The total amount that Amazon Web Services estimates that this
|
5801
|
+
# recommendation could save you in a month, as a percentage of your
|
5802
|
+
# costs.
|
5587
5803
|
# @return [String]
|
5588
5804
|
#
|
5589
5805
|
# @!attribute [rw] currency_code
|
@@ -5659,7 +5875,7 @@ module Aws::CostExplorer
|
|
5659
5875
|
# Resource utilization of current resource.
|
5660
5876
|
#
|
5661
5877
|
# @!attribute [rw] ec2_resource_utilization
|
5662
|
-
#
|
5878
|
+
# The utilization of current Amazon EC2 instance.
|
5663
5879
|
# @return [Types::EC2ResourceUtilization]
|
5664
5880
|
#
|
5665
5881
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ResourceUtilization AWS API Documentation
|
@@ -5670,7 +5886,7 @@ module Aws::CostExplorer
|
|
5670
5886
|
include Aws::Structure
|
5671
5887
|
end
|
5672
5888
|
|
5673
|
-
# The result that
|
5889
|
+
# The result that's associated with a time period.
|
5674
5890
|
#
|
5675
5891
|
# @!attribute [rw] time_period
|
5676
5892
|
# The time period that the result covers.
|
@@ -5685,7 +5901,7 @@ module Aws::CostExplorer
|
|
5685
5901
|
# @return [Array<Types::Group>]
|
5686
5902
|
#
|
5687
5903
|
# @!attribute [rw] estimated
|
5688
|
-
#
|
5904
|
+
# Determines whether the result is estimated.
|
5689
5905
|
# @return [Boolean]
|
5690
5906
|
#
|
5691
5907
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ResultByTime AWS API Documentation
|
@@ -5710,17 +5926,23 @@ module Aws::CostExplorer
|
|
5710
5926
|
# @return [Types::CurrentInstance]
|
5711
5927
|
#
|
5712
5928
|
# @!attribute [rw] rightsizing_type
|
5713
|
-
#
|
5929
|
+
# A recommendation to either terminate or modify the resource.
|
5714
5930
|
# @return [String]
|
5715
5931
|
#
|
5716
5932
|
# @!attribute [rw] modify_recommendation_detail
|
5717
|
-
#
|
5933
|
+
# The details for the modification recommendations.
|
5718
5934
|
# @return [Types::ModifyRecommendationDetail]
|
5719
5935
|
#
|
5720
5936
|
# @!attribute [rw] terminate_recommendation_detail
|
5721
|
-
#
|
5937
|
+
# The details for termination recommendations.
|
5722
5938
|
# @return [Types::TerminateRecommendationDetail]
|
5723
5939
|
#
|
5940
|
+
# @!attribute [rw] finding_reason_codes
|
5941
|
+
# The list of possible reasons why the recommendation is generated
|
5942
|
+
# such as under or over utilization of specific metrics (for example,
|
5943
|
+
# CPU, Memory, Network).
|
5944
|
+
# @return [Array<String>]
|
5945
|
+
#
|
5724
5946
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/RightsizingRecommendation AWS API Documentation
|
5725
5947
|
#
|
5726
5948
|
class RightsizingRecommendation < Struct.new(
|
@@ -5728,17 +5950,18 @@ module Aws::CostExplorer
|
|
5728
5950
|
:current_instance,
|
5729
5951
|
:rightsizing_type,
|
5730
5952
|
:modify_recommendation_detail,
|
5731
|
-
:terminate_recommendation_detail
|
5953
|
+
:terminate_recommendation_detail,
|
5954
|
+
:finding_reason_codes)
|
5732
5955
|
SENSITIVE = []
|
5733
5956
|
include Aws::Structure
|
5734
5957
|
end
|
5735
5958
|
|
5736
|
-
#
|
5737
|
-
#
|
5738
|
-
#
|
5739
|
-
#
|
5740
|
-
#
|
5741
|
-
# neither.
|
5959
|
+
# You can use `RightsizingRecommendationConfiguration` to customize
|
5960
|
+
# recommendations across two attributes. You can choose to view
|
5961
|
+
# recommendations for instances within the same instance families or
|
5962
|
+
# across different instance families. You can also choose to view your
|
5963
|
+
# estimated savings that are associated with recommendations with
|
5964
|
+
# consideration of existing Savings Plans or RI benefits, or neither.
|
5742
5965
|
#
|
5743
5966
|
# @note When making an API call, you may pass RightsizingRecommendationConfiguration
|
5744
5967
|
# data as a hash:
|
@@ -5749,8 +5972,8 @@ module Aws::CostExplorer
|
|
5749
5972
|
# }
|
5750
5973
|
#
|
5751
5974
|
# @!attribute [rw] recommendation_target
|
5752
|
-
# The option to see recommendations within the same instance family
|
5753
|
-
#
|
5975
|
+
# The option to see recommendations within the same instance family or
|
5976
|
+
# recommendations for instances across other families. The default
|
5754
5977
|
# value is `SAME_INSTANCE_FAMILY`.
|
5755
5978
|
# @return [String]
|
5756
5979
|
#
|
@@ -5775,16 +5998,16 @@ module Aws::CostExplorer
|
|
5775
5998
|
# @return [String]
|
5776
5999
|
#
|
5777
6000
|
# @!attribute [rw] generation_timestamp
|
5778
|
-
# The timestamp for when
|
6001
|
+
# The timestamp for when Amazon Web Services made this recommendation.
|
5779
6002
|
# @return [String]
|
5780
6003
|
#
|
5781
6004
|
# @!attribute [rw] lookback_period_in_days
|
5782
|
-
#
|
5783
|
-
# recommendation.
|
6005
|
+
# The number of days of previous usage that Amazon Web Services
|
6006
|
+
# considers when making this recommendation.
|
5784
6007
|
# @return [String]
|
5785
6008
|
#
|
5786
6009
|
# @!attribute [rw] additional_metadata
|
5787
|
-
# Additional metadata that
|
6010
|
+
# Additional metadata that might be applicable to the recommendation.
|
5788
6011
|
# @return [String]
|
5789
6012
|
#
|
5790
6013
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/RightsizingRecommendationMetadata AWS API Documentation
|
@@ -5798,24 +6021,26 @@ module Aws::CostExplorer
|
|
5798
6021
|
include Aws::Structure
|
5799
6022
|
end
|
5800
6023
|
|
5801
|
-
#
|
6024
|
+
# The summary of rightsizing recommendations
|
5802
6025
|
#
|
5803
6026
|
# @!attribute [rw] total_recommendation_count
|
5804
|
-
#
|
6027
|
+
# The total number of instance recommendations.
|
5805
6028
|
# @return [String]
|
5806
6029
|
#
|
5807
6030
|
# @!attribute [rw] estimated_total_monthly_savings_amount
|
5808
|
-
#
|
5809
|
-
# basis.
|
6031
|
+
# The estimated total savings resulting from modifications, on a
|
6032
|
+
# monthly basis.
|
5810
6033
|
# @return [String]
|
5811
6034
|
#
|
5812
6035
|
# @!attribute [rw] savings_currency_code
|
5813
|
-
# The currency code that
|
6036
|
+
# The currency code that Amazon Web Services used to calculate the
|
6037
|
+
# savings.
|
5814
6038
|
# @return [String]
|
5815
6039
|
#
|
5816
6040
|
# @!attribute [rw] savings_percentage
|
5817
|
-
#
|
5818
|
-
# to the total On-Demand costs associated with these
|
6041
|
+
# The savings percentage based on the recommended modifications. It's
|
6042
|
+
# relative to the total On-Demand costs that are associated with these
|
6043
|
+
# instances.
|
5819
6044
|
# @return [String]
|
5820
6045
|
#
|
5821
6046
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/RightsizingRecommendationSummary AWS API Documentation
|
@@ -5829,23 +6054,25 @@ module Aws::CostExplorer
|
|
5829
6054
|
include Aws::Structure
|
5830
6055
|
end
|
5831
6056
|
|
5832
|
-
# The combination of
|
5833
|
-
# where a cost anomaly is observed.
|
6057
|
+
# The combination of Amazon Web Services service, linked account,
|
6058
|
+
# Region, and usage type where a cost anomaly is observed.
|
5834
6059
|
#
|
5835
6060
|
# @!attribute [rw] service
|
5836
|
-
# The
|
6061
|
+
# The Amazon Web Services service name that's associated with the
|
6062
|
+
# cost anomaly.
|
5837
6063
|
# @return [String]
|
5838
6064
|
#
|
5839
6065
|
# @!attribute [rw] region
|
5840
|
-
# The
|
6066
|
+
# The Amazon Web Services Region that's associated with the cost
|
6067
|
+
# anomaly.
|
5841
6068
|
# @return [String]
|
5842
6069
|
#
|
5843
6070
|
# @!attribute [rw] linked_account
|
5844
|
-
# The
|
6071
|
+
# The member account value that's associated with the cost anomaly.
|
5845
6072
|
# @return [String]
|
5846
6073
|
#
|
5847
6074
|
# @!attribute [rw] usage_type
|
5848
|
-
# The `UsageType` value associated with the cost anomaly.
|
6075
|
+
# The `UsageType` value that's associated with the cost anomaly.
|
5849
6076
|
# @return [String]
|
5850
6077
|
#
|
5851
6078
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/RootCause AWS API Documentation
|
@@ -5918,21 +6145,23 @@ module Aws::CostExplorer
|
|
5918
6145
|
# Savings Plans, and total Savings Plans costs for an account.
|
5919
6146
|
#
|
5920
6147
|
# @!attribute [rw] spend_covered_by_savings_plans
|
5921
|
-
# The amount of your
|
6148
|
+
# The amount of your Amazon Web Services usage that is covered by a
|
6149
|
+
# Savings Plans.
|
5922
6150
|
# @return [String]
|
5923
6151
|
#
|
5924
6152
|
# @!attribute [rw] on_demand_cost
|
5925
|
-
# The cost of your
|
6153
|
+
# The cost of your Amazon Web Services usage at the public On-Demand
|
6154
|
+
# rate.
|
5926
6155
|
# @return [String]
|
5927
6156
|
#
|
5928
6157
|
# @!attribute [rw] total_cost
|
5929
|
-
# The total cost of your
|
5930
|
-
# option.
|
6158
|
+
# The total cost of your Amazon Web Services usage, regardless of your
|
6159
|
+
# purchase option.
|
5931
6160
|
# @return [String]
|
5932
6161
|
#
|
5933
6162
|
# @!attribute [rw] coverage_percentage
|
5934
6163
|
# The percentage of your existing Savings Plans covered usage, divided
|
5935
|
-
# by all of your eligible Savings Plans usage in an account(or set of
|
6164
|
+
# by all of your eligible Savings Plans usage in an account (or set of
|
5936
6165
|
# accounts).
|
5937
6166
|
# @return [String]
|
5938
6167
|
#
|
@@ -5947,11 +6176,12 @@ module Aws::CostExplorer
|
|
5947
6176
|
include Aws::Structure
|
5948
6177
|
end
|
5949
6178
|
|
5950
|
-
#
|
6179
|
+
# The attribute details on a specific Savings Plan.
|
5951
6180
|
#
|
5952
6181
|
# @!attribute [rw] region
|
5953
|
-
# A collection of
|
5954
|
-
# is isolated and independent of the
|
6182
|
+
# A collection of Amazon Web Services resources in a geographic area.
|
6183
|
+
# Each Amazon Web Services Region is isolated and independent of the
|
6184
|
+
# other Regions.
|
5955
6185
|
# @return [String]
|
5956
6186
|
#
|
5957
6187
|
# @!attribute [rw] instance_family
|
@@ -5959,7 +6189,8 @@ module Aws::CostExplorer
|
|
5959
6189
|
# @return [String]
|
5960
6190
|
#
|
5961
6191
|
# @!attribute [rw] offering_id
|
5962
|
-
# The unique ID used to distinguish Savings Plans from one
|
6192
|
+
# The unique ID that's used to distinguish Savings Plans from one
|
6193
|
+
# another.
|
5963
6194
|
# @return [String]
|
5964
6195
|
#
|
5965
6196
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/SavingsPlansDetails AWS API Documentation
|
@@ -5977,10 +6208,10 @@ module Aws::CostExplorer
|
|
5977
6208
|
#
|
5978
6209
|
# @!attribute [rw] account_scope
|
5979
6210
|
# The account scope that you want your recommendations for. Amazon Web
|
5980
|
-
# Services calculates recommendations
|
5981
|
-
# and member accounts if the value is set to `PAYER`. If the
|
5982
|
-
# `LINKED`, recommendations are calculated for individual
|
5983
|
-
# accounts only.
|
6211
|
+
# Services calculates recommendations that include the management
|
6212
|
+
# account and member accounts if the value is set to `PAYER`. If the
|
6213
|
+
# value is `LINKED`, recommendations are calculated for individual
|
6214
|
+
# member accounts only.
|
5984
6215
|
# @return [String]
|
5985
6216
|
#
|
5986
6217
|
# @!attribute [rw] savings_plans_type
|
@@ -5988,8 +6219,8 @@ module Aws::CostExplorer
|
|
5988
6219
|
# @return [String]
|
5989
6220
|
#
|
5990
6221
|
# @!attribute [rw] term_in_years
|
5991
|
-
# The Savings Plans recommendation term in years
|
5992
|
-
# recommendation.
|
6222
|
+
# The Savings Plans recommendation term in years. It's used to
|
6223
|
+
# generate the recommendation.
|
5993
6224
|
# @return [String]
|
5994
6225
|
#
|
5995
6226
|
# @!attribute [rw] payment_option
|
@@ -6039,14 +6270,14 @@ module Aws::CostExplorer
|
|
6039
6270
|
# @return [String]
|
6040
6271
|
#
|
6041
6272
|
# @!attribute [rw] estimated_roi
|
6042
|
-
# The estimated return on investment based on the recommended
|
6043
|
-
# Plans purchased. This is calculated as
|
6044
|
-
# `estimatedSPCost`*100.
|
6273
|
+
# The estimated return on investment that's based on the recommended
|
6274
|
+
# Savings Plans that you purchased. This is calculated as
|
6275
|
+
# `estimatedSavingsAmount`/ `estimatedSPCost`*100.
|
6045
6276
|
# @return [String]
|
6046
6277
|
#
|
6047
6278
|
# @!attribute [rw] currency_code
|
6048
|
-
# The currency code
|
6049
|
-
# present potential savings.
|
6279
|
+
# The currency code that Amazon Web Services used to generate the
|
6280
|
+
# recommendations and present potential savings.
|
6050
6281
|
# @return [String]
|
6051
6282
|
#
|
6052
6283
|
# @!attribute [rw] estimated_sp_cost
|
@@ -6066,8 +6297,8 @@ module Aws::CostExplorer
|
|
6066
6297
|
# @return [String]
|
6067
6298
|
#
|
6068
6299
|
# @!attribute [rw] estimated_savings_amount
|
6069
|
-
# The estimated savings amount based on the recommended
|
6070
|
-
# over the length of the lookback period.
|
6300
|
+
# The estimated savings amount that's based on the recommended
|
6301
|
+
# Savings Plans over the length of the lookback period.
|
6071
6302
|
# @return [String]
|
6072
6303
|
#
|
6073
6304
|
# @!attribute [rw] estimated_savings_percentage
|
@@ -6076,8 +6307,9 @@ module Aws::CostExplorer
|
|
6076
6307
|
# @return [String]
|
6077
6308
|
#
|
6078
6309
|
# @!attribute [rw] hourly_commitment_to_purchase
|
6079
|
-
# The recommended hourly commitment level for the Savings Plans type
|
6080
|
-
# and configuration based on the usage during the lookback
|
6310
|
+
# The recommended hourly commitment level for the Savings Plans type
|
6311
|
+
# and the configuration that's based on the usage during the lookback
|
6312
|
+
# period.
|
6081
6313
|
# @return [String]
|
6082
6314
|
#
|
6083
6315
|
# @!attribute [rw] estimated_average_utilization
|
@@ -6085,7 +6317,7 @@ module Aws::CostExplorer
|
|
6085
6317
|
# @return [String]
|
6086
6318
|
#
|
6087
6319
|
# @!attribute [rw] estimated_monthly_savings_amount
|
6088
|
-
# The estimated monthly savings amount
|
6320
|
+
# The estimated monthly savings amount based on the recommended
|
6089
6321
|
# Savings Plans.
|
6090
6322
|
# @return [String]
|
6091
6323
|
#
|
@@ -6138,7 +6370,7 @@ module Aws::CostExplorer
|
|
6138
6370
|
# @return [String]
|
6139
6371
|
#
|
6140
6372
|
# @!attribute [rw] additional_metadata
|
6141
|
-
# Additional metadata that
|
6373
|
+
# Additional metadata that might be applicable to the recommendation.
|
6142
6374
|
# @return [String]
|
6143
6375
|
#
|
6144
6376
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/SavingsPlansPurchaseRecommendationMetadata AWS API Documentation
|
@@ -6154,13 +6386,13 @@ module Aws::CostExplorer
|
|
6154
6386
|
# Summary metrics for your Savings Plans Purchase Recommendations.
|
6155
6387
|
#
|
6156
6388
|
# @!attribute [rw] estimated_roi
|
6157
|
-
# The estimated return on investment based on the recommended
|
6158
|
-
# Plans and estimated savings.
|
6389
|
+
# The estimated return on investment that's based on the recommended
|
6390
|
+
# Savings Plans and estimated savings.
|
6159
6391
|
# @return [String]
|
6160
6392
|
#
|
6161
6393
|
# @!attribute [rw] currency_code
|
6162
|
-
# The currency code
|
6163
|
-
# present potential savings.
|
6394
|
+
# The currency code that Amazon Web Services used to generate the
|
6395
|
+
# recommendations and present potential savings.
|
6164
6396
|
# @return [String]
|
6165
6397
|
#
|
6166
6398
|
# @!attribute [rw] estimated_total_cost
|
@@ -6189,8 +6421,8 @@ module Aws::CostExplorer
|
|
6189
6421
|
# @return [String]
|
6190
6422
|
#
|
6191
6423
|
# @!attribute [rw] hourly_commitment_to_purchase
|
6192
|
-
# The recommended hourly commitment based on the
|
6193
|
-
# parameters.
|
6424
|
+
# The recommended hourly commitment that's based on the
|
6425
|
+
# recommendation parameters.
|
6194
6426
|
# @return [String]
|
6195
6427
|
#
|
6196
6428
|
# @!attribute [rw] estimated_savings_percentage
|
@@ -6200,14 +6432,14 @@ module Aws::CostExplorer
|
|
6200
6432
|
# @return [String]
|
6201
6433
|
#
|
6202
6434
|
# @!attribute [rw] estimated_monthly_savings_amount
|
6203
|
-
# The estimated monthly savings amount
|
6204
|
-
# Savings Plans purchase.
|
6435
|
+
# The estimated monthly savings amount that's based on the
|
6436
|
+
# recommended Savings Plans purchase.
|
6205
6437
|
# @return [String]
|
6206
6438
|
#
|
6207
6439
|
# @!attribute [rw] estimated_on_demand_cost_with_current_commitment
|
6208
6440
|
# The estimated On-Demand costs you would expect with no additional
|
6209
|
-
# commitment
|
6210
|
-
# Savings Plans you own.
|
6441
|
+
# commitment. It's based on your usage of the selected time period
|
6442
|
+
# and the Savings Plans you own.
|
6211
6443
|
# @return [String]
|
6212
6444
|
#
|
6213
6445
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/SavingsPlansPurchaseRecommendationSummary AWS API Documentation
|
@@ -6228,11 +6460,11 @@ module Aws::CostExplorer
|
|
6228
6460
|
include Aws::Structure
|
6229
6461
|
end
|
6230
6462
|
|
6231
|
-
# The amount of savings you're accumulating, against the public
|
6463
|
+
# The amount of savings that you're accumulating, against the public
|
6232
6464
|
# On-Demand rate of the usage accrued in an account.
|
6233
6465
|
#
|
6234
6466
|
# @!attribute [rw] net_savings
|
6235
|
-
# The savings amount that you
|
6467
|
+
# The savings amount that you're accumulating for the usage that's
|
6236
6468
|
# covered by a Savings Plans, when compared to the On-Demand
|
6237
6469
|
# equivalent of the same usage.
|
6238
6470
|
# @return [String]
|
@@ -6251,7 +6483,7 @@ module Aws::CostExplorer
|
|
6251
6483
|
include Aws::Structure
|
6252
6484
|
end
|
6253
6485
|
|
6254
|
-
# The measurement of how well you
|
6486
|
+
# The measurement of how well you're using your existing Savings Plans.
|
6255
6487
|
#
|
6256
6488
|
# @!attribute [rw] total_commitment
|
6257
6489
|
# The total amount of Savings Plans commitment that's been purchased
|
@@ -6264,7 +6496,7 @@ module Aws::CostExplorer
|
|
6264
6496
|
# @return [String]
|
6265
6497
|
#
|
6266
6498
|
# @!attribute [rw] unused_commitment
|
6267
|
-
# The amount of your Savings Plans commitment that
|
6499
|
+
# The amount of your Savings Plans commitment that wasn't consumed
|
6268
6500
|
# from Savings Plans eligible usage in a specific period.
|
6269
6501
|
# @return [String]
|
6270
6502
|
#
|
@@ -6416,8 +6648,8 @@ module Aws::CostExplorer
|
|
6416
6648
|
# }
|
6417
6649
|
#
|
6418
6650
|
# @!attribute [rw] ec2_specification
|
6419
|
-
# The Amazon EC2 hardware specifications that you want
|
6420
|
-
# recommendations for.
|
6651
|
+
# The Amazon EC2 hardware specifications that you want Amazon Web
|
6652
|
+
# Services to provide recommendations for.
|
6421
6653
|
# @return [Types::EC2Specification]
|
6422
6654
|
#
|
6423
6655
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ServiceSpecification AWS API Documentation
|
@@ -6439,11 +6671,11 @@ module Aws::CostExplorer
|
|
6439
6671
|
# }
|
6440
6672
|
#
|
6441
6673
|
# @!attribute [rw] key
|
6442
|
-
# The key
|
6674
|
+
# The key that's used to sort the data.
|
6443
6675
|
# @return [String]
|
6444
6676
|
#
|
6445
6677
|
# @!attribute [rw] sort_order
|
6446
|
-
# The order
|
6678
|
+
# The order that's used to sort the data.
|
6447
6679
|
# @return [String]
|
6448
6680
|
#
|
6449
6681
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/SortDefinition AWS API Documentation
|
@@ -6467,7 +6699,7 @@ module Aws::CostExplorer
|
|
6467
6699
|
# }
|
6468
6700
|
#
|
6469
6701
|
# @!attribute [rw] address
|
6470
|
-
# The email address or SNS Amazon Resource Name (ARN)
|
6702
|
+
# The email address or SNS Amazon Resource Name (ARN). This depends on
|
6471
6703
|
# the `Type`.
|
6472
6704
|
# @return [String]
|
6473
6705
|
#
|
@@ -6491,12 +6723,13 @@ module Aws::CostExplorer
|
|
6491
6723
|
|
6492
6724
|
# The values that are available for a tag.
|
6493
6725
|
#
|
6494
|
-
# If `Values` and `Key`
|
6495
|
-
# applied to all tags. That is,
|
6726
|
+
# If `Values` and `Key` aren't specified, the `ABSENT` `MatchOption` is
|
6727
|
+
# applied to all tags. That is, it's filtered on resources with no
|
6728
|
+
# tags.
|
6496
6729
|
#
|
6497
|
-
# If `Values` is provided and `Key`
|
6498
|
-
# `MatchOption` is applied to the tag `Key` only. That is,
|
6499
|
-
# resources without the given tag key.
|
6730
|
+
# If `Values` is provided and `Key` isn't specified, the `ABSENT`
|
6731
|
+
# `MatchOption` is applied to the tag `Key` only. That is, it's
|
6732
|
+
# filtered on resources without the given tag key.
|
6500
6733
|
#
|
6501
6734
|
# @note When making an API call, you may pass TagValues
|
6502
6735
|
# data as a hash:
|
@@ -6535,21 +6768,22 @@ module Aws::CostExplorer
|
|
6535
6768
|
# Details on recommended instance.
|
6536
6769
|
#
|
6537
6770
|
# @!attribute [rw] estimated_monthly_cost
|
6538
|
-
#
|
6771
|
+
# The expected cost to operate this instance type on a monthly basis.
|
6539
6772
|
# @return [String]
|
6540
6773
|
#
|
6541
6774
|
# @!attribute [rw] estimated_monthly_savings
|
6542
|
-
#
|
6775
|
+
# The estimated savings that result from modification, on a monthly
|
6776
|
+
# basis.
|
6543
6777
|
# @return [String]
|
6544
6778
|
#
|
6545
6779
|
# @!attribute [rw] currency_code
|
6546
|
-
# The currency code that
|
6547
|
-
# instance.
|
6780
|
+
# The currency code that Amazon Web Services used to calculate the
|
6781
|
+
# costs for this instance.
|
6548
6782
|
# @return [String]
|
6549
6783
|
#
|
6550
6784
|
# @!attribute [rw] default_target_instance
|
6551
|
-
#
|
6552
|
-
# recommendation.
|
6785
|
+
# Determines whether this recommendation is the defaulted Amazon Web
|
6786
|
+
# Services recommendation.
|
6553
6787
|
# @return [Boolean]
|
6554
6788
|
#
|
6555
6789
|
# @!attribute [rw] resource_details
|
@@ -6557,9 +6791,15 @@ module Aws::CostExplorer
|
|
6557
6791
|
# @return [Types::ResourceDetails]
|
6558
6792
|
#
|
6559
6793
|
# @!attribute [rw] expected_resource_utilization
|
6560
|
-
#
|
6794
|
+
# The expected utilization metrics for target instance type.
|
6561
6795
|
# @return [Types::ResourceUtilization]
|
6562
6796
|
#
|
6797
|
+
# @!attribute [rw] platform_differences
|
6798
|
+
# Explains the actions you might need to take in order to successfully
|
6799
|
+
# migrate your workloads from the current instance type to the
|
6800
|
+
# recommended instance type.
|
6801
|
+
# @return [Array<String>]
|
6802
|
+
#
|
6563
6803
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/TargetInstance AWS API Documentation
|
6564
6804
|
#
|
6565
6805
|
class TargetInstance < Struct.new(
|
@@ -6568,7 +6808,8 @@ module Aws::CostExplorer
|
|
6568
6808
|
:currency_code,
|
6569
6809
|
:default_target_instance,
|
6570
6810
|
:resource_details,
|
6571
|
-
:expected_resource_utilization
|
6811
|
+
:expected_resource_utilization,
|
6812
|
+
:platform_differences)
|
6572
6813
|
SENSITIVE = []
|
6573
6814
|
include Aws::Structure
|
6574
6815
|
end
|
@@ -6576,12 +6817,13 @@ module Aws::CostExplorer
|
|
6576
6817
|
# Details on termination recommendation.
|
6577
6818
|
#
|
6578
6819
|
# @!attribute [rw] estimated_monthly_savings
|
6579
|
-
#
|
6820
|
+
# The estimated savings that result from modification, on a monthly
|
6821
|
+
# basis.
|
6580
6822
|
# @return [String]
|
6581
6823
|
#
|
6582
6824
|
# @!attribute [rw] currency_code
|
6583
|
-
# The currency code that
|
6584
|
-
# instance.
|
6825
|
+
# The currency code that Amazon Web Services used to calculate the
|
6826
|
+
# costs for this instance.
|
6585
6827
|
# @return [String]
|
6586
6828
|
#
|
6587
6829
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/TerminateRecommendationDetail AWS API Documentation
|
@@ -6605,15 +6847,15 @@ module Aws::CostExplorer
|
|
6605
6847
|
# }
|
6606
6848
|
#
|
6607
6849
|
# @!attribute [rw] numeric_operator
|
6608
|
-
# The comparing value used in the filter.
|
6850
|
+
# The comparing value that's used in the filter.
|
6609
6851
|
# @return [String]
|
6610
6852
|
#
|
6611
6853
|
# @!attribute [rw] start_value
|
6612
|
-
# The lower bound dollar value used in the filter.
|
6854
|
+
# The lower bound dollar value that's used in the filter.
|
6613
6855
|
# @return [Float]
|
6614
6856
|
#
|
6615
6857
|
# @!attribute [rw] end_value
|
6616
|
-
# The upper bound dollar value used in the filter.
|
6858
|
+
# The upper bound dollar value that's used in the filter.
|
6617
6859
|
# @return [Float]
|
6618
6860
|
#
|
6619
6861
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/TotalImpactFilter AWS API Documentation
|
@@ -6731,7 +6973,7 @@ module Aws::CostExplorer
|
|
6731
6973
|
# @return [Float]
|
6732
6974
|
#
|
6733
6975
|
# @!attribute [rw] frequency
|
6734
|
-
# The update to the frequency value
|
6976
|
+
# The update to the frequency value that subscribers receive
|
6735
6977
|
# notifications.
|
6736
6978
|
# @return [String]
|
6737
6979
|
#
|
@@ -6744,7 +6986,7 @@ module Aws::CostExplorer
|
|
6744
6986
|
# @return [Array<Types::Subscriber>]
|
6745
6987
|
#
|
6746
6988
|
# @!attribute [rw] subscription_name
|
6747
|
-
# The
|
6989
|
+
# The new name of the subscription.
|
6748
6990
|
# @return [String]
|
6749
6991
|
#
|
6750
6992
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/UpdateAnomalySubscriptionRequest AWS API Documentation
|
@@ -6819,6 +7061,19 @@ module Aws::CostExplorer
|
|
6819
7061
|
# },
|
6820
7062
|
# ],
|
6821
7063
|
# default_value: "CostCategoryValue",
|
7064
|
+
# split_charge_rules: [
|
7065
|
+
# {
|
7066
|
+
# source: "GenericString", # required
|
7067
|
+
# targets: ["GenericString"], # required
|
7068
|
+
# method: "FIXED", # required, accepts FIXED, PROPORTIONAL, EVEN
|
7069
|
+
# parameters: [
|
7070
|
+
# {
|
7071
|
+
# type: "ALLOCATION_PERCENTAGES", # required, accepts ALLOCATION_PERCENTAGES
|
7072
|
+
# values: ["GenericString"], # required
|
7073
|
+
# },
|
7074
|
+
# ],
|
7075
|
+
# },
|
7076
|
+
# ],
|
6822
7077
|
# }
|
6823
7078
|
#
|
6824
7079
|
# @!attribute [rw] cost_category_arn
|
@@ -6842,13 +7097,19 @@ module Aws::CostExplorer
|
|
6842
7097
|
# The default value for the cost category.
|
6843
7098
|
# @return [String]
|
6844
7099
|
#
|
7100
|
+
# @!attribute [rw] split_charge_rules
|
7101
|
+
# The split charge rules used to allocate your charges between your
|
7102
|
+
# Cost Category values.
|
7103
|
+
# @return [Array<Types::CostCategorySplitChargeRule>]
|
7104
|
+
#
|
6845
7105
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/UpdateCostCategoryDefinitionRequest AWS API Documentation
|
6846
7106
|
#
|
6847
7107
|
class UpdateCostCategoryDefinitionRequest < Struct.new(
|
6848
7108
|
:cost_category_arn,
|
6849
7109
|
:rule_version,
|
6850
7110
|
:rules,
|
6851
|
-
:default_value
|
7111
|
+
:default_value,
|
7112
|
+
:split_charge_rules)
|
6852
7113
|
SENSITIVE = []
|
6853
7114
|
include Aws::Structure
|
6854
7115
|
end
|