aws-sdk-costexplorer 1.46.0 → 1.51.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-costexplorer.rb +3 -2
- data/lib/aws-sdk-costexplorer/client.rb +551 -25
- data/lib/aws-sdk-costexplorer/client_api.rb +327 -2
- data/lib/aws-sdk-costexplorer/errors.rb +32 -0
- data/lib/aws-sdk-costexplorer/types.rb +1173 -102
- metadata +4 -4
@@ -16,6 +16,16 @@ module Aws::CostExplorer
|
|
16
16
|
AccountScope = Shapes::StringShape.new(name: 'AccountScope')
|
17
17
|
AmortizedRecurringFee = Shapes::StringShape.new(name: 'AmortizedRecurringFee')
|
18
18
|
AmortizedUpfrontFee = Shapes::StringShape.new(name: 'AmortizedUpfrontFee')
|
19
|
+
Anomalies = Shapes::ListShape.new(name: 'Anomalies')
|
20
|
+
Anomaly = Shapes::StructureShape.new(name: 'Anomaly')
|
21
|
+
AnomalyDateInterval = Shapes::StructureShape.new(name: 'AnomalyDateInterval')
|
22
|
+
AnomalyFeedbackType = Shapes::StringShape.new(name: 'AnomalyFeedbackType')
|
23
|
+
AnomalyMonitor = Shapes::StructureShape.new(name: 'AnomalyMonitor')
|
24
|
+
AnomalyMonitors = Shapes::ListShape.new(name: 'AnomalyMonitors')
|
25
|
+
AnomalyScore = Shapes::StructureShape.new(name: 'AnomalyScore')
|
26
|
+
AnomalySubscription = Shapes::StructureShape.new(name: 'AnomalySubscription')
|
27
|
+
AnomalySubscriptionFrequency = Shapes::StringShape.new(name: 'AnomalySubscriptionFrequency')
|
28
|
+
AnomalySubscriptions = Shapes::ListShape.new(name: 'AnomalySubscriptions')
|
19
29
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
20
30
|
AttributeType = Shapes::StringShape.new(name: 'AttributeType')
|
21
31
|
AttributeValue = Shapes::StringShape.new(name: 'AttributeValue')
|
@@ -25,13 +35,18 @@ module Aws::CostExplorer
|
|
25
35
|
CostCategory = Shapes::StructureShape.new(name: 'CostCategory')
|
26
36
|
CostCategoryMaxResults = Shapes::IntegerShape.new(name: 'CostCategoryMaxResults')
|
27
37
|
CostCategoryName = Shapes::StringShape.new(name: 'CostCategoryName')
|
38
|
+
CostCategoryProcessingStatus = Shapes::StructureShape.new(name: 'CostCategoryProcessingStatus')
|
39
|
+
CostCategoryProcessingStatusList = Shapes::ListShape.new(name: 'CostCategoryProcessingStatusList')
|
28
40
|
CostCategoryReference = Shapes::StructureShape.new(name: 'CostCategoryReference')
|
29
41
|
CostCategoryReferencesList = Shapes::ListShape.new(name: 'CostCategoryReferencesList')
|
30
42
|
CostCategoryRule = Shapes::StructureShape.new(name: 'CostCategoryRule')
|
31
43
|
CostCategoryRuleVersion = Shapes::StringShape.new(name: 'CostCategoryRuleVersion')
|
32
44
|
CostCategoryRulesList = Shapes::ListShape.new(name: 'CostCategoryRulesList')
|
45
|
+
CostCategoryStatus = Shapes::StringShape.new(name: 'CostCategoryStatus')
|
46
|
+
CostCategoryStatusComponent = Shapes::StringShape.new(name: 'CostCategoryStatusComponent')
|
33
47
|
CostCategoryValue = Shapes::StringShape.new(name: 'CostCategoryValue')
|
34
48
|
CostCategoryValues = Shapes::StructureShape.new(name: 'CostCategoryValues')
|
49
|
+
CostCategoryValuesList = Shapes::ListShape.new(name: 'CostCategoryValuesList')
|
35
50
|
Coverage = Shapes::StructureShape.new(name: 'Coverage')
|
36
51
|
CoverageByTime = Shapes::StructureShape.new(name: 'CoverageByTime')
|
37
52
|
CoverageCost = Shapes::StructureShape.new(name: 'CoverageCost')
|
@@ -40,11 +55,19 @@ module Aws::CostExplorer
|
|
40
55
|
CoverageNormalizedUnits = Shapes::StructureShape.new(name: 'CoverageNormalizedUnits')
|
41
56
|
CoverageNormalizedUnitsPercentage = Shapes::StringShape.new(name: 'CoverageNormalizedUnitsPercentage')
|
42
57
|
CoveragesByTime = Shapes::ListShape.new(name: 'CoveragesByTime')
|
58
|
+
CreateAnomalyMonitorRequest = Shapes::StructureShape.new(name: 'CreateAnomalyMonitorRequest')
|
59
|
+
CreateAnomalyMonitorResponse = Shapes::StructureShape.new(name: 'CreateAnomalyMonitorResponse')
|
60
|
+
CreateAnomalySubscriptionRequest = Shapes::StructureShape.new(name: 'CreateAnomalySubscriptionRequest')
|
61
|
+
CreateAnomalySubscriptionResponse = Shapes::StructureShape.new(name: 'CreateAnomalySubscriptionResponse')
|
43
62
|
CreateCostCategoryDefinitionRequest = Shapes::StructureShape.new(name: 'CreateCostCategoryDefinitionRequest')
|
44
63
|
CreateCostCategoryDefinitionResponse = Shapes::StructureShape.new(name: 'CreateCostCategoryDefinitionResponse')
|
45
64
|
CurrentInstance = Shapes::StructureShape.new(name: 'CurrentInstance')
|
46
65
|
DataUnavailableException = Shapes::StructureShape.new(name: 'DataUnavailableException')
|
47
66
|
DateInterval = Shapes::StructureShape.new(name: 'DateInterval')
|
67
|
+
DeleteAnomalyMonitorRequest = Shapes::StructureShape.new(name: 'DeleteAnomalyMonitorRequest')
|
68
|
+
DeleteAnomalyMonitorResponse = Shapes::StructureShape.new(name: 'DeleteAnomalyMonitorResponse')
|
69
|
+
DeleteAnomalySubscriptionRequest = Shapes::StructureShape.new(name: 'DeleteAnomalySubscriptionRequest')
|
70
|
+
DeleteAnomalySubscriptionResponse = Shapes::StructureShape.new(name: 'DeleteAnomalySubscriptionResponse')
|
48
71
|
DeleteCostCategoryDefinitionRequest = Shapes::StructureShape.new(name: 'DeleteCostCategoryDefinitionRequest')
|
49
72
|
DeleteCostCategoryDefinitionResponse = Shapes::StructureShape.new(name: 'DeleteCostCategoryDefinitionResponse')
|
50
73
|
DescribeCostCategoryDefinitionRequest = Shapes::StructureShape.new(name: 'DescribeCostCategoryDefinitionRequest')
|
@@ -53,6 +76,7 @@ module Aws::CostExplorer
|
|
53
76
|
DimensionValues = Shapes::StructureShape.new(name: 'DimensionValues')
|
54
77
|
DimensionValuesWithAttributes = Shapes::StructureShape.new(name: 'DimensionValuesWithAttributes')
|
55
78
|
DimensionValuesWithAttributesList = Shapes::ListShape.new(name: 'DimensionValuesWithAttributesList')
|
79
|
+
EBSResourceUtilization = Shapes::StructureShape.new(name: 'EBSResourceUtilization')
|
56
80
|
EC2InstanceDetails = Shapes::StructureShape.new(name: 'EC2InstanceDetails')
|
57
81
|
EC2ResourceDetails = Shapes::StructureShape.new(name: 'EC2ResourceDetails')
|
58
82
|
EC2ResourceUtilization = Shapes::StructureShape.new(name: 'EC2ResourceUtilization')
|
@@ -67,7 +91,14 @@ module Aws::CostExplorer
|
|
67
91
|
ForecastResult = Shapes::StructureShape.new(name: 'ForecastResult')
|
68
92
|
ForecastResultsByTime = Shapes::ListShape.new(name: 'ForecastResultsByTime')
|
69
93
|
GenericBoolean = Shapes::BooleanShape.new(name: 'GenericBoolean')
|
94
|
+
GenericDouble = Shapes::FloatShape.new(name: 'GenericDouble')
|
70
95
|
GenericString = Shapes::StringShape.new(name: 'GenericString')
|
96
|
+
GetAnomaliesRequest = Shapes::StructureShape.new(name: 'GetAnomaliesRequest')
|
97
|
+
GetAnomaliesResponse = Shapes::StructureShape.new(name: 'GetAnomaliesResponse')
|
98
|
+
GetAnomalyMonitorsRequest = Shapes::StructureShape.new(name: 'GetAnomalyMonitorsRequest')
|
99
|
+
GetAnomalyMonitorsResponse = Shapes::StructureShape.new(name: 'GetAnomalyMonitorsResponse')
|
100
|
+
GetAnomalySubscriptionsRequest = Shapes::StructureShape.new(name: 'GetAnomalySubscriptionsRequest')
|
101
|
+
GetAnomalySubscriptionsResponse = Shapes::StructureShape.new(name: 'GetAnomalySubscriptionsResponse')
|
71
102
|
GetCostAndUsageRequest = Shapes::StructureShape.new(name: 'GetCostAndUsageRequest')
|
72
103
|
GetCostAndUsageResponse = Shapes::StructureShape.new(name: 'GetCostAndUsageResponse')
|
73
104
|
GetCostAndUsageWithResourcesRequest = Shapes::StructureShape.new(name: 'GetCostAndUsageWithResourcesRequest')
|
@@ -103,6 +134,7 @@ module Aws::CostExplorer
|
|
103
134
|
GroupDefinitionType = Shapes::StringShape.new(name: 'GroupDefinitionType')
|
104
135
|
GroupDefinitions = Shapes::ListShape.new(name: 'GroupDefinitions')
|
105
136
|
Groups = Shapes::ListShape.new(name: 'Groups')
|
137
|
+
Impact = Shapes::StructureShape.new(name: 'Impact')
|
106
138
|
InstanceDetails = Shapes::StructureShape.new(name: 'InstanceDetails')
|
107
139
|
InvalidNextTokenException = Shapes::StructureShape.new(name: 'InvalidNextTokenException')
|
108
140
|
Key = Shapes::StringShape.new(name: 'Key')
|
@@ -122,9 +154,13 @@ module Aws::CostExplorer
|
|
122
154
|
MetricValue = Shapes::StructureShape.new(name: 'MetricValue')
|
123
155
|
Metrics = Shapes::MapShape.new(name: 'Metrics')
|
124
156
|
ModifyRecommendationDetail = Shapes::StructureShape.new(name: 'ModifyRecommendationDetail')
|
157
|
+
MonitorDimension = Shapes::StringShape.new(name: 'MonitorDimension')
|
158
|
+
MonitorType = Shapes::StringShape.new(name: 'MonitorType')
|
125
159
|
NetRISavings = Shapes::StringShape.new(name: 'NetRISavings')
|
126
160
|
NextPageToken = Shapes::StringShape.new(name: 'NextPageToken')
|
127
161
|
NonNegativeInteger = Shapes::IntegerShape.new(name: 'NonNegativeInteger')
|
162
|
+
NullableNonNegativeDouble = Shapes::FloatShape.new(name: 'NullableNonNegativeDouble')
|
163
|
+
NumericOperator = Shapes::StringShape.new(name: 'NumericOperator')
|
128
164
|
OfferingClass = Shapes::StringShape.new(name: 'OfferingClass')
|
129
165
|
OnDemandCost = Shapes::StringShape.new(name: 'OnDemandCost')
|
130
166
|
OnDemandCostOfRIHoursUsed = Shapes::StringShape.new(name: 'OnDemandCostOfRIHoursUsed')
|
@@ -133,6 +169,8 @@ module Aws::CostExplorer
|
|
133
169
|
PageSize = Shapes::IntegerShape.new(name: 'PageSize')
|
134
170
|
PaymentOption = Shapes::StringShape.new(name: 'PaymentOption')
|
135
171
|
PredictionIntervalLevel = Shapes::IntegerShape.new(name: 'PredictionIntervalLevel')
|
172
|
+
ProvideAnomalyFeedbackRequest = Shapes::StructureShape.new(name: 'ProvideAnomalyFeedbackRequest')
|
173
|
+
ProvideAnomalyFeedbackResponse = Shapes::StructureShape.new(name: 'ProvideAnomalyFeedbackResponse')
|
136
174
|
PurchasedHours = Shapes::StringShape.new(name: 'PurchasedHours')
|
137
175
|
PurchasedUnits = Shapes::StringShape.new(name: 'PurchasedUnits')
|
138
176
|
RDSInstanceDetails = Shapes::StructureShape.new(name: 'RDSInstanceDetails')
|
@@ -165,6 +203,8 @@ module Aws::CostExplorer
|
|
165
203
|
RightsizingRecommendationMetadata = Shapes::StructureShape.new(name: 'RightsizingRecommendationMetadata')
|
166
204
|
RightsizingRecommendationSummary = Shapes::StructureShape.new(name: 'RightsizingRecommendationSummary')
|
167
205
|
RightsizingType = Shapes::StringShape.new(name: 'RightsizingType')
|
206
|
+
RootCause = Shapes::StructureShape.new(name: 'RootCause')
|
207
|
+
RootCauses = Shapes::ListShape.new(name: 'RootCauses')
|
168
208
|
SavingsPlanArn = Shapes::StringShape.new(name: 'SavingsPlanArn')
|
169
209
|
SavingsPlansAmortizedCommitment = Shapes::StructureShape.new(name: 'SavingsPlansAmortizedCommitment')
|
170
210
|
SavingsPlansCoverage = Shapes::StructureShape.new(name: 'SavingsPlansCoverage')
|
@@ -186,6 +226,11 @@ module Aws::CostExplorer
|
|
186
226
|
SearchString = Shapes::StringShape.new(name: 'SearchString')
|
187
227
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
188
228
|
ServiceSpecification = Shapes::StructureShape.new(name: 'ServiceSpecification')
|
229
|
+
Subscriber = Shapes::StructureShape.new(name: 'Subscriber')
|
230
|
+
SubscriberAddress = Shapes::StringShape.new(name: 'SubscriberAddress')
|
231
|
+
SubscriberStatus = Shapes::StringShape.new(name: 'SubscriberStatus')
|
232
|
+
SubscriberType = Shapes::StringShape.new(name: 'SubscriberType')
|
233
|
+
Subscribers = Shapes::ListShape.new(name: 'Subscribers')
|
189
234
|
SupportedSavingsPlansType = Shapes::StringShape.new(name: 'SupportedSavingsPlansType')
|
190
235
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
191
236
|
TagList = Shapes::ListShape.new(name: 'TagList')
|
@@ -198,12 +243,19 @@ module Aws::CostExplorer
|
|
198
243
|
TotalActualHours = Shapes::StringShape.new(name: 'TotalActualHours')
|
199
244
|
TotalActualUnits = Shapes::StringShape.new(name: 'TotalActualUnits')
|
200
245
|
TotalAmortizedFee = Shapes::StringShape.new(name: 'TotalAmortizedFee')
|
246
|
+
TotalImpactFilter = Shapes::StructureShape.new(name: 'TotalImpactFilter')
|
201
247
|
TotalPotentialRISavings = Shapes::StringShape.new(name: 'TotalPotentialRISavings')
|
202
248
|
TotalRunningHours = Shapes::StringShape.new(name: 'TotalRunningHours')
|
203
249
|
TotalRunningNormalizedUnits = Shapes::StringShape.new(name: 'TotalRunningNormalizedUnits')
|
250
|
+
UnknownMonitorException = Shapes::StructureShape.new(name: 'UnknownMonitorException')
|
251
|
+
UnknownSubscriptionException = Shapes::StructureShape.new(name: 'UnknownSubscriptionException')
|
204
252
|
UnresolvableUsageUnitException = Shapes::StructureShape.new(name: 'UnresolvableUsageUnitException')
|
205
253
|
UnusedHours = Shapes::StringShape.new(name: 'UnusedHours')
|
206
254
|
UnusedUnits = Shapes::StringShape.new(name: 'UnusedUnits')
|
255
|
+
UpdateAnomalyMonitorRequest = Shapes::StructureShape.new(name: 'UpdateAnomalyMonitorRequest')
|
256
|
+
UpdateAnomalyMonitorResponse = Shapes::StructureShape.new(name: 'UpdateAnomalyMonitorResponse')
|
257
|
+
UpdateAnomalySubscriptionRequest = Shapes::StructureShape.new(name: 'UpdateAnomalySubscriptionRequest')
|
258
|
+
UpdateAnomalySubscriptionResponse = Shapes::StructureShape.new(name: 'UpdateAnomalySubscriptionResponse')
|
207
259
|
UpdateCostCategoryDefinitionRequest = Shapes::StructureShape.new(name: 'UpdateCostCategoryDefinitionRequest')
|
208
260
|
UpdateCostCategoryDefinitionResponse = Shapes::StructureShape.new(name: 'UpdateCostCategoryDefinitionResponse')
|
209
261
|
UtilizationByTime = Shapes::StructureShape.new(name: 'UtilizationByTime')
|
@@ -215,6 +267,51 @@ module Aws::CostExplorer
|
|
215
267
|
YearMonthDay = Shapes::StringShape.new(name: 'YearMonthDay')
|
216
268
|
ZonedDateTime = Shapes::StringShape.new(name: 'ZonedDateTime')
|
217
269
|
|
270
|
+
Anomalies.member = Shapes::ShapeRef.new(shape: Anomaly)
|
271
|
+
|
272
|
+
Anomaly.add_member(:anomaly_id, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "AnomalyId"))
|
273
|
+
Anomaly.add_member(:anomaly_start_date, Shapes::ShapeRef.new(shape: YearMonthDay, location_name: "AnomalyStartDate"))
|
274
|
+
Anomaly.add_member(:anomaly_end_date, Shapes::ShapeRef.new(shape: YearMonthDay, location_name: "AnomalyEndDate"))
|
275
|
+
Anomaly.add_member(:dimension_value, Shapes::ShapeRef.new(shape: GenericString, location_name: "DimensionValue"))
|
276
|
+
Anomaly.add_member(:root_causes, Shapes::ShapeRef.new(shape: RootCauses, location_name: "RootCauses"))
|
277
|
+
Anomaly.add_member(:anomaly_score, Shapes::ShapeRef.new(shape: AnomalyScore, required: true, location_name: "AnomalyScore"))
|
278
|
+
Anomaly.add_member(:impact, Shapes::ShapeRef.new(shape: Impact, required: true, location_name: "Impact"))
|
279
|
+
Anomaly.add_member(:monitor_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "MonitorArn"))
|
280
|
+
Anomaly.add_member(:feedback, Shapes::ShapeRef.new(shape: AnomalyFeedbackType, location_name: "Feedback"))
|
281
|
+
Anomaly.struct_class = Types::Anomaly
|
282
|
+
|
283
|
+
AnomalyDateInterval.add_member(:start_date, Shapes::ShapeRef.new(shape: YearMonthDay, required: true, location_name: "StartDate"))
|
284
|
+
AnomalyDateInterval.add_member(:end_date, Shapes::ShapeRef.new(shape: YearMonthDay, location_name: "EndDate"))
|
285
|
+
AnomalyDateInterval.struct_class = Types::AnomalyDateInterval
|
286
|
+
|
287
|
+
AnomalyMonitor.add_member(:monitor_arn, Shapes::ShapeRef.new(shape: GenericString, location_name: "MonitorArn"))
|
288
|
+
AnomalyMonitor.add_member(:monitor_name, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "MonitorName"))
|
289
|
+
AnomalyMonitor.add_member(:creation_date, Shapes::ShapeRef.new(shape: YearMonthDay, location_name: "CreationDate"))
|
290
|
+
AnomalyMonitor.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: YearMonthDay, location_name: "LastUpdatedDate"))
|
291
|
+
AnomalyMonitor.add_member(:last_evaluated_date, Shapes::ShapeRef.new(shape: YearMonthDay, location_name: "LastEvaluatedDate"))
|
292
|
+
AnomalyMonitor.add_member(:monitor_type, Shapes::ShapeRef.new(shape: MonitorType, required: true, location_name: "MonitorType"))
|
293
|
+
AnomalyMonitor.add_member(:monitor_dimension, Shapes::ShapeRef.new(shape: MonitorDimension, location_name: "MonitorDimension"))
|
294
|
+
AnomalyMonitor.add_member(:monitor_specification, Shapes::ShapeRef.new(shape: Expression, location_name: "MonitorSpecification"))
|
295
|
+
AnomalyMonitor.add_member(:dimensional_value_count, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "DimensionalValueCount"))
|
296
|
+
AnomalyMonitor.struct_class = Types::AnomalyMonitor
|
297
|
+
|
298
|
+
AnomalyMonitors.member = Shapes::ShapeRef.new(shape: AnomalyMonitor)
|
299
|
+
|
300
|
+
AnomalyScore.add_member(:max_score, Shapes::ShapeRef.new(shape: GenericDouble, required: true, location_name: "MaxScore"))
|
301
|
+
AnomalyScore.add_member(:current_score, Shapes::ShapeRef.new(shape: GenericDouble, required: true, location_name: "CurrentScore"))
|
302
|
+
AnomalyScore.struct_class = Types::AnomalyScore
|
303
|
+
|
304
|
+
AnomalySubscription.add_member(:subscription_arn, Shapes::ShapeRef.new(shape: GenericString, location_name: "SubscriptionArn"))
|
305
|
+
AnomalySubscription.add_member(:account_id, Shapes::ShapeRef.new(shape: GenericString, location_name: "AccountId"))
|
306
|
+
AnomalySubscription.add_member(:monitor_arn_list, Shapes::ShapeRef.new(shape: Values, required: true, location_name: "MonitorArnList"))
|
307
|
+
AnomalySubscription.add_member(:subscribers, Shapes::ShapeRef.new(shape: Subscribers, required: true, location_name: "Subscribers"))
|
308
|
+
AnomalySubscription.add_member(:threshold, Shapes::ShapeRef.new(shape: NullableNonNegativeDouble, required: true, location_name: "Threshold"))
|
309
|
+
AnomalySubscription.add_member(:frequency, Shapes::ShapeRef.new(shape: AnomalySubscriptionFrequency, required: true, location_name: "Frequency"))
|
310
|
+
AnomalySubscription.add_member(:subscription_name, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "SubscriptionName"))
|
311
|
+
AnomalySubscription.struct_class = Types::AnomalySubscription
|
312
|
+
|
313
|
+
AnomalySubscriptions.member = Shapes::ShapeRef.new(shape: AnomalySubscription)
|
314
|
+
|
218
315
|
Attributes.key = Shapes::ShapeRef.new(shape: AttributeType)
|
219
316
|
Attributes.value = Shapes::ShapeRef.new(shape: AttributeValue)
|
220
317
|
|
@@ -227,13 +324,22 @@ module Aws::CostExplorer
|
|
227
324
|
CostCategory.add_member(:name, Shapes::ShapeRef.new(shape: CostCategoryName, required: true, location_name: "Name"))
|
228
325
|
CostCategory.add_member(:rule_version, Shapes::ShapeRef.new(shape: CostCategoryRuleVersion, required: true, location_name: "RuleVersion"))
|
229
326
|
CostCategory.add_member(:rules, Shapes::ShapeRef.new(shape: CostCategoryRulesList, required: true, location_name: "Rules"))
|
327
|
+
CostCategory.add_member(:processing_status, Shapes::ShapeRef.new(shape: CostCategoryProcessingStatusList, location_name: "ProcessingStatus"))
|
230
328
|
CostCategory.struct_class = Types::CostCategory
|
231
329
|
|
330
|
+
CostCategoryProcessingStatus.add_member(:component, Shapes::ShapeRef.new(shape: CostCategoryStatusComponent, location_name: "Component"))
|
331
|
+
CostCategoryProcessingStatus.add_member(:status, Shapes::ShapeRef.new(shape: CostCategoryStatus, location_name: "Status"))
|
332
|
+
CostCategoryProcessingStatus.struct_class = Types::CostCategoryProcessingStatus
|
333
|
+
|
334
|
+
CostCategoryProcessingStatusList.member = Shapes::ShapeRef.new(shape: CostCategoryProcessingStatus)
|
335
|
+
|
232
336
|
CostCategoryReference.add_member(:cost_category_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "CostCategoryArn"))
|
233
337
|
CostCategoryReference.add_member(:name, Shapes::ShapeRef.new(shape: CostCategoryName, location_name: "Name"))
|
234
338
|
CostCategoryReference.add_member(:effective_start, Shapes::ShapeRef.new(shape: ZonedDateTime, location_name: "EffectiveStart"))
|
235
339
|
CostCategoryReference.add_member(:effective_end, Shapes::ShapeRef.new(shape: ZonedDateTime, location_name: "EffectiveEnd"))
|
236
340
|
CostCategoryReference.add_member(:number_of_rules, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "NumberOfRules"))
|
341
|
+
CostCategoryReference.add_member(:processing_status, Shapes::ShapeRef.new(shape: CostCategoryProcessingStatusList, location_name: "ProcessingStatus"))
|
342
|
+
CostCategoryReference.add_member(:values, Shapes::ShapeRef.new(shape: CostCategoryValuesList, location_name: "Values"))
|
237
343
|
CostCategoryReference.struct_class = Types::CostCategoryReference
|
238
344
|
|
239
345
|
CostCategoryReferencesList.member = Shapes::ShapeRef.new(shape: CostCategoryReference)
|
@@ -246,8 +352,11 @@ module Aws::CostExplorer
|
|
246
352
|
|
247
353
|
CostCategoryValues.add_member(:key, Shapes::ShapeRef.new(shape: CostCategoryName, location_name: "Key"))
|
248
354
|
CostCategoryValues.add_member(:values, Shapes::ShapeRef.new(shape: Values, location_name: "Values"))
|
355
|
+
CostCategoryValues.add_member(:match_options, Shapes::ShapeRef.new(shape: MatchOptions, location_name: "MatchOptions"))
|
249
356
|
CostCategoryValues.struct_class = Types::CostCategoryValues
|
250
357
|
|
358
|
+
CostCategoryValuesList.member = Shapes::ShapeRef.new(shape: CostCategoryValue)
|
359
|
+
|
251
360
|
Coverage.add_member(:coverage_hours, Shapes::ShapeRef.new(shape: CoverageHours, location_name: "CoverageHours"))
|
252
361
|
Coverage.add_member(:coverage_normalized_units, Shapes::ShapeRef.new(shape: CoverageNormalizedUnits, location_name: "CoverageNormalizedUnits"))
|
253
362
|
Coverage.add_member(:coverage_cost, Shapes::ShapeRef.new(shape: CoverageCost, location_name: "CoverageCost"))
|
@@ -275,6 +384,18 @@ module Aws::CostExplorer
|
|
275
384
|
|
276
385
|
CoveragesByTime.member = Shapes::ShapeRef.new(shape: CoverageByTime)
|
277
386
|
|
387
|
+
CreateAnomalyMonitorRequest.add_member(:anomaly_monitor, Shapes::ShapeRef.new(shape: AnomalyMonitor, required: true, location_name: "AnomalyMonitor"))
|
388
|
+
CreateAnomalyMonitorRequest.struct_class = Types::CreateAnomalyMonitorRequest
|
389
|
+
|
390
|
+
CreateAnomalyMonitorResponse.add_member(:monitor_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "MonitorArn"))
|
391
|
+
CreateAnomalyMonitorResponse.struct_class = Types::CreateAnomalyMonitorResponse
|
392
|
+
|
393
|
+
CreateAnomalySubscriptionRequest.add_member(:anomaly_subscription, Shapes::ShapeRef.new(shape: AnomalySubscription, required: true, location_name: "AnomalySubscription"))
|
394
|
+
CreateAnomalySubscriptionRequest.struct_class = Types::CreateAnomalySubscriptionRequest
|
395
|
+
|
396
|
+
CreateAnomalySubscriptionResponse.add_member(:subscription_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "SubscriptionArn"))
|
397
|
+
CreateAnomalySubscriptionResponse.struct_class = Types::CreateAnomalySubscriptionResponse
|
398
|
+
|
278
399
|
CreateCostCategoryDefinitionRequest.add_member(:name, Shapes::ShapeRef.new(shape: CostCategoryName, required: true, location_name: "Name"))
|
279
400
|
CreateCostCategoryDefinitionRequest.add_member(:rule_version, Shapes::ShapeRef.new(shape: CostCategoryRuleVersion, required: true, location_name: "RuleVersion"))
|
280
401
|
CreateCostCategoryDefinitionRequest.add_member(:rules, Shapes::ShapeRef.new(shape: CostCategoryRulesList, required: true, location_name: "Rules"))
|
@@ -304,6 +425,16 @@ module Aws::CostExplorer
|
|
304
425
|
DateInterval.add_member(:end, Shapes::ShapeRef.new(shape: YearMonthDay, required: true, location_name: "End"))
|
305
426
|
DateInterval.struct_class = Types::DateInterval
|
306
427
|
|
428
|
+
DeleteAnomalyMonitorRequest.add_member(:monitor_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "MonitorArn"))
|
429
|
+
DeleteAnomalyMonitorRequest.struct_class = Types::DeleteAnomalyMonitorRequest
|
430
|
+
|
431
|
+
DeleteAnomalyMonitorResponse.struct_class = Types::DeleteAnomalyMonitorResponse
|
432
|
+
|
433
|
+
DeleteAnomalySubscriptionRequest.add_member(:subscription_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "SubscriptionArn"))
|
434
|
+
DeleteAnomalySubscriptionRequest.struct_class = Types::DeleteAnomalySubscriptionRequest
|
435
|
+
|
436
|
+
DeleteAnomalySubscriptionResponse.struct_class = Types::DeleteAnomalySubscriptionResponse
|
437
|
+
|
307
438
|
DeleteCostCategoryDefinitionRequest.add_member(:cost_category_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CostCategoryArn"))
|
308
439
|
DeleteCostCategoryDefinitionRequest.struct_class = Types::DeleteCostCategoryDefinitionRequest
|
309
440
|
|
@@ -329,6 +460,12 @@ module Aws::CostExplorer
|
|
329
460
|
|
330
461
|
DimensionValuesWithAttributesList.member = Shapes::ShapeRef.new(shape: DimensionValuesWithAttributes)
|
331
462
|
|
463
|
+
EBSResourceUtilization.add_member(:ebs_read_ops_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "EbsReadOpsPerSecond"))
|
464
|
+
EBSResourceUtilization.add_member(:ebs_write_ops_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "EbsWriteOpsPerSecond"))
|
465
|
+
EBSResourceUtilization.add_member(:ebs_read_bytes_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "EbsReadBytesPerSecond"))
|
466
|
+
EBSResourceUtilization.add_member(:ebs_write_bytes_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "EbsWriteBytesPerSecond"))
|
467
|
+
EBSResourceUtilization.struct_class = Types::EBSResourceUtilization
|
468
|
+
|
332
469
|
EC2InstanceDetails.add_member(:family, Shapes::ShapeRef.new(shape: GenericString, location_name: "Family"))
|
333
470
|
EC2InstanceDetails.add_member(:instance_type, Shapes::ShapeRef.new(shape: GenericString, location_name: "InstanceType"))
|
334
471
|
EC2InstanceDetails.add_member(:region, Shapes::ShapeRef.new(shape: GenericString, location_name: "Region"))
|
@@ -353,6 +490,7 @@ module Aws::CostExplorer
|
|
353
490
|
EC2ResourceUtilization.add_member(:max_cpu_utilization_percentage, Shapes::ShapeRef.new(shape: GenericString, location_name: "MaxCpuUtilizationPercentage"))
|
354
491
|
EC2ResourceUtilization.add_member(:max_memory_utilization_percentage, Shapes::ShapeRef.new(shape: GenericString, location_name: "MaxMemoryUtilizationPercentage"))
|
355
492
|
EC2ResourceUtilization.add_member(:max_storage_utilization_percentage, Shapes::ShapeRef.new(shape: GenericString, location_name: "MaxStorageUtilizationPercentage"))
|
493
|
+
EC2ResourceUtilization.add_member(:ebs_resource_utilization, Shapes::ShapeRef.new(shape: EBSResourceUtilization, location_name: "EBSResourceUtilization"))
|
356
494
|
EC2ResourceUtilization.struct_class = Types::EC2ResourceUtilization
|
357
495
|
|
358
496
|
EC2Specification.add_member(:offering_class, Shapes::ShapeRef.new(shape: OfferingClass, location_name: "OfferingClass"))
|
@@ -391,10 +529,41 @@ module Aws::CostExplorer
|
|
391
529
|
|
392
530
|
ForecastResultsByTime.member = Shapes::ShapeRef.new(shape: ForecastResult)
|
393
531
|
|
532
|
+
GetAnomaliesRequest.add_member(:monitor_arn, Shapes::ShapeRef.new(shape: GenericString, location_name: "MonitorArn"))
|
533
|
+
GetAnomaliesRequest.add_member(:date_interval, Shapes::ShapeRef.new(shape: AnomalyDateInterval, required: true, location_name: "DateInterval"))
|
534
|
+
GetAnomaliesRequest.add_member(:feedback, Shapes::ShapeRef.new(shape: AnomalyFeedbackType, location_name: "Feedback"))
|
535
|
+
GetAnomaliesRequest.add_member(:total_impact, Shapes::ShapeRef.new(shape: TotalImpactFilter, location_name: "TotalImpact"))
|
536
|
+
GetAnomaliesRequest.add_member(:next_page_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextPageToken"))
|
537
|
+
GetAnomaliesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
|
538
|
+
GetAnomaliesRequest.struct_class = Types::GetAnomaliesRequest
|
539
|
+
|
540
|
+
GetAnomaliesResponse.add_member(:anomalies, Shapes::ShapeRef.new(shape: Anomalies, required: true, location_name: "Anomalies"))
|
541
|
+
GetAnomaliesResponse.add_member(:next_page_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextPageToken"))
|
542
|
+
GetAnomaliesResponse.struct_class = Types::GetAnomaliesResponse
|
543
|
+
|
544
|
+
GetAnomalyMonitorsRequest.add_member(:monitor_arn_list, Shapes::ShapeRef.new(shape: Values, location_name: "MonitorArnList"))
|
545
|
+
GetAnomalyMonitorsRequest.add_member(:next_page_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextPageToken"))
|
546
|
+
GetAnomalyMonitorsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
|
547
|
+
GetAnomalyMonitorsRequest.struct_class = Types::GetAnomalyMonitorsRequest
|
548
|
+
|
549
|
+
GetAnomalyMonitorsResponse.add_member(:anomaly_monitors, Shapes::ShapeRef.new(shape: AnomalyMonitors, required: true, location_name: "AnomalyMonitors"))
|
550
|
+
GetAnomalyMonitorsResponse.add_member(:next_page_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextPageToken"))
|
551
|
+
GetAnomalyMonitorsResponse.struct_class = Types::GetAnomalyMonitorsResponse
|
552
|
+
|
553
|
+
GetAnomalySubscriptionsRequest.add_member(:subscription_arn_list, Shapes::ShapeRef.new(shape: Values, location_name: "SubscriptionArnList"))
|
554
|
+
GetAnomalySubscriptionsRequest.add_member(:monitor_arn, Shapes::ShapeRef.new(shape: GenericString, location_name: "MonitorArn"))
|
555
|
+
GetAnomalySubscriptionsRequest.add_member(:next_page_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextPageToken"))
|
556
|
+
GetAnomalySubscriptionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
|
557
|
+
GetAnomalySubscriptionsRequest.struct_class = Types::GetAnomalySubscriptionsRequest
|
558
|
+
|
559
|
+
GetAnomalySubscriptionsResponse.add_member(:anomaly_subscriptions, Shapes::ShapeRef.new(shape: AnomalySubscriptions, required: true, location_name: "AnomalySubscriptions"))
|
560
|
+
GetAnomalySubscriptionsResponse.add_member(:next_page_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextPageToken"))
|
561
|
+
GetAnomalySubscriptionsResponse.struct_class = Types::GetAnomalySubscriptionsResponse
|
562
|
+
|
394
563
|
GetCostAndUsageRequest.add_member(:time_period, Shapes::ShapeRef.new(shape: DateInterval, required: true, location_name: "TimePeriod"))
|
395
564
|
GetCostAndUsageRequest.add_member(:granularity, Shapes::ShapeRef.new(shape: Granularity, location_name: "Granularity"))
|
396
565
|
GetCostAndUsageRequest.add_member(:filter, Shapes::ShapeRef.new(shape: Expression, location_name: "Filter"))
|
397
|
-
GetCostAndUsageRequest.add_member(:metrics, Shapes::ShapeRef.new(shape: MetricNames, location_name: "Metrics"))
|
566
|
+
GetCostAndUsageRequest.add_member(:metrics, Shapes::ShapeRef.new(shape: MetricNames, required: true, location_name: "Metrics"))
|
398
567
|
GetCostAndUsageRequest.add_member(:group_by, Shapes::ShapeRef.new(shape: GroupDefinitions, location_name: "GroupBy"))
|
399
568
|
GetCostAndUsageRequest.add_member(:next_page_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextPageToken"))
|
400
569
|
GetCostAndUsageRequest.struct_class = Types::GetCostAndUsageRequest
|
@@ -406,7 +575,7 @@ module Aws::CostExplorer
|
|
406
575
|
|
407
576
|
GetCostAndUsageWithResourcesRequest.add_member(:time_period, Shapes::ShapeRef.new(shape: DateInterval, required: true, location_name: "TimePeriod"))
|
408
577
|
GetCostAndUsageWithResourcesRequest.add_member(:granularity, Shapes::ShapeRef.new(shape: Granularity, location_name: "Granularity"))
|
409
|
-
GetCostAndUsageWithResourcesRequest.add_member(:filter, Shapes::ShapeRef.new(shape: Expression, location_name: "Filter"))
|
578
|
+
GetCostAndUsageWithResourcesRequest.add_member(:filter, Shapes::ShapeRef.new(shape: Expression, required: true, location_name: "Filter"))
|
410
579
|
GetCostAndUsageWithResourcesRequest.add_member(:metrics, Shapes::ShapeRef.new(shape: MetricNames, location_name: "Metrics"))
|
411
580
|
GetCostAndUsageWithResourcesRequest.add_member(:group_by, Shapes::ShapeRef.new(shape: GroupDefinitions, location_name: "GroupBy"))
|
412
581
|
GetCostAndUsageWithResourcesRequest.add_member(:next_page_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextPageToken"))
|
@@ -580,6 +749,10 @@ module Aws::CostExplorer
|
|
580
749
|
|
581
750
|
Groups.member = Shapes::ShapeRef.new(shape: Group)
|
582
751
|
|
752
|
+
Impact.add_member(:max_impact, Shapes::ShapeRef.new(shape: GenericDouble, required: true, location_name: "MaxImpact"))
|
753
|
+
Impact.add_member(:total_impact, Shapes::ShapeRef.new(shape: GenericDouble, location_name: "TotalImpact"))
|
754
|
+
Impact.struct_class = Types::Impact
|
755
|
+
|
583
756
|
InstanceDetails.add_member(:ec2_instance_details, Shapes::ShapeRef.new(shape: EC2InstanceDetails, location_name: "EC2InstanceDetails"))
|
584
757
|
InstanceDetails.add_member(:rds_instance_details, Shapes::ShapeRef.new(shape: RDSInstanceDetails, location_name: "RDSInstanceDetails"))
|
585
758
|
InstanceDetails.add_member(:redshift_instance_details, Shapes::ShapeRef.new(shape: RedshiftInstanceDetails, location_name: "RedshiftInstanceDetails"))
|
@@ -618,6 +791,13 @@ module Aws::CostExplorer
|
|
618
791
|
ModifyRecommendationDetail.add_member(:target_instances, Shapes::ShapeRef.new(shape: TargetInstancesList, location_name: "TargetInstances"))
|
619
792
|
ModifyRecommendationDetail.struct_class = Types::ModifyRecommendationDetail
|
620
793
|
|
794
|
+
ProvideAnomalyFeedbackRequest.add_member(:anomaly_id, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "AnomalyId"))
|
795
|
+
ProvideAnomalyFeedbackRequest.add_member(:feedback, Shapes::ShapeRef.new(shape: AnomalyFeedbackType, required: true, location_name: "Feedback"))
|
796
|
+
ProvideAnomalyFeedbackRequest.struct_class = Types::ProvideAnomalyFeedbackRequest
|
797
|
+
|
798
|
+
ProvideAnomalyFeedbackResponse.add_member(:anomaly_id, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "AnomalyId"))
|
799
|
+
ProvideAnomalyFeedbackResponse.struct_class = Types::ProvideAnomalyFeedbackResponse
|
800
|
+
|
621
801
|
RDSInstanceDetails.add_member(:family, Shapes::ShapeRef.new(shape: GenericString, location_name: "Family"))
|
622
802
|
RDSInstanceDetails.add_member(:instance_type, Shapes::ShapeRef.new(shape: GenericString, location_name: "InstanceType"))
|
623
803
|
RDSInstanceDetails.add_member(:region, Shapes::ShapeRef.new(shape: GenericString, location_name: "Region"))
|
@@ -753,6 +933,14 @@ module Aws::CostExplorer
|
|
753
933
|
RightsizingRecommendationSummary.add_member(:savings_percentage, Shapes::ShapeRef.new(shape: GenericString, location_name: "SavingsPercentage"))
|
754
934
|
RightsizingRecommendationSummary.struct_class = Types::RightsizingRecommendationSummary
|
755
935
|
|
936
|
+
RootCause.add_member(:service, Shapes::ShapeRef.new(shape: GenericString, location_name: "Service"))
|
937
|
+
RootCause.add_member(:region, Shapes::ShapeRef.new(shape: GenericString, location_name: "Region"))
|
938
|
+
RootCause.add_member(:linked_account, Shapes::ShapeRef.new(shape: GenericString, location_name: "LinkedAccount"))
|
939
|
+
RootCause.add_member(:usage_type, Shapes::ShapeRef.new(shape: GenericString, location_name: "UsageType"))
|
940
|
+
RootCause.struct_class = Types::RootCause
|
941
|
+
|
942
|
+
RootCauses.member = Shapes::ShapeRef.new(shape: RootCause)
|
943
|
+
|
756
944
|
SavingsPlansAmortizedCommitment.add_member(:amortized_recurring_commitment, Shapes::ShapeRef.new(shape: GenericString, location_name: "AmortizedRecurringCommitment"))
|
757
945
|
SavingsPlansAmortizedCommitment.add_member(:amortized_upfront_commitment, Shapes::ShapeRef.new(shape: GenericString, location_name: "AmortizedUpfrontCommitment"))
|
758
946
|
SavingsPlansAmortizedCommitment.add_member(:total_amortized_commitment, Shapes::ShapeRef.new(shape: GenericString, location_name: "TotalAmortizedCommitment"))
|
@@ -860,6 +1048,13 @@ module Aws::CostExplorer
|
|
860
1048
|
ServiceSpecification.add_member(:ec2_specification, Shapes::ShapeRef.new(shape: EC2Specification, location_name: "EC2Specification"))
|
861
1049
|
ServiceSpecification.struct_class = Types::ServiceSpecification
|
862
1050
|
|
1051
|
+
Subscriber.add_member(:address, Shapes::ShapeRef.new(shape: SubscriberAddress, location_name: "Address"))
|
1052
|
+
Subscriber.add_member(:type, Shapes::ShapeRef.new(shape: SubscriberType, location_name: "Type"))
|
1053
|
+
Subscriber.add_member(:status, Shapes::ShapeRef.new(shape: SubscriberStatus, location_name: "Status"))
|
1054
|
+
Subscriber.struct_class = Types::Subscriber
|
1055
|
+
|
1056
|
+
Subscribers.member = Shapes::ShapeRef.new(shape: Subscriber)
|
1057
|
+
|
863
1058
|
TagList.member = Shapes::ShapeRef.new(shape: Entity)
|
864
1059
|
|
865
1060
|
TagValues.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, location_name: "Key"))
|
@@ -883,9 +1078,38 @@ module Aws::CostExplorer
|
|
883
1078
|
TerminateRecommendationDetail.add_member(:currency_code, Shapes::ShapeRef.new(shape: GenericString, location_name: "CurrencyCode"))
|
884
1079
|
TerminateRecommendationDetail.struct_class = Types::TerminateRecommendationDetail
|
885
1080
|
|
1081
|
+
TotalImpactFilter.add_member(:numeric_operator, Shapes::ShapeRef.new(shape: NumericOperator, required: true, location_name: "NumericOperator"))
|
1082
|
+
TotalImpactFilter.add_member(:start_value, Shapes::ShapeRef.new(shape: GenericDouble, required: true, location_name: "StartValue"))
|
1083
|
+
TotalImpactFilter.add_member(:end_value, Shapes::ShapeRef.new(shape: GenericDouble, location_name: "EndValue"))
|
1084
|
+
TotalImpactFilter.struct_class = Types::TotalImpactFilter
|
1085
|
+
|
1086
|
+
UnknownMonitorException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
1087
|
+
UnknownMonitorException.struct_class = Types::UnknownMonitorException
|
1088
|
+
|
1089
|
+
UnknownSubscriptionException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
1090
|
+
UnknownSubscriptionException.struct_class = Types::UnknownSubscriptionException
|
1091
|
+
|
886
1092
|
UnresolvableUsageUnitException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
887
1093
|
UnresolvableUsageUnitException.struct_class = Types::UnresolvableUsageUnitException
|
888
1094
|
|
1095
|
+
UpdateAnomalyMonitorRequest.add_member(:monitor_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "MonitorArn"))
|
1096
|
+
UpdateAnomalyMonitorRequest.add_member(:monitor_name, Shapes::ShapeRef.new(shape: GenericString, location_name: "MonitorName"))
|
1097
|
+
UpdateAnomalyMonitorRequest.struct_class = Types::UpdateAnomalyMonitorRequest
|
1098
|
+
|
1099
|
+
UpdateAnomalyMonitorResponse.add_member(:monitor_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "MonitorArn"))
|
1100
|
+
UpdateAnomalyMonitorResponse.struct_class = Types::UpdateAnomalyMonitorResponse
|
1101
|
+
|
1102
|
+
UpdateAnomalySubscriptionRequest.add_member(:subscription_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "SubscriptionArn"))
|
1103
|
+
UpdateAnomalySubscriptionRequest.add_member(:threshold, Shapes::ShapeRef.new(shape: NullableNonNegativeDouble, location_name: "Threshold"))
|
1104
|
+
UpdateAnomalySubscriptionRequest.add_member(:frequency, Shapes::ShapeRef.new(shape: AnomalySubscriptionFrequency, location_name: "Frequency"))
|
1105
|
+
UpdateAnomalySubscriptionRequest.add_member(:monitor_arn_list, Shapes::ShapeRef.new(shape: Values, location_name: "MonitorArnList"))
|
1106
|
+
UpdateAnomalySubscriptionRequest.add_member(:subscribers, Shapes::ShapeRef.new(shape: Subscribers, location_name: "Subscribers"))
|
1107
|
+
UpdateAnomalySubscriptionRequest.add_member(:subscription_name, Shapes::ShapeRef.new(shape: GenericString, location_name: "SubscriptionName"))
|
1108
|
+
UpdateAnomalySubscriptionRequest.struct_class = Types::UpdateAnomalySubscriptionRequest
|
1109
|
+
|
1110
|
+
UpdateAnomalySubscriptionResponse.add_member(:subscription_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "SubscriptionArn"))
|
1111
|
+
UpdateAnomalySubscriptionResponse.struct_class = Types::UpdateAnomalySubscriptionResponse
|
1112
|
+
|
889
1113
|
UpdateCostCategoryDefinitionRequest.add_member(:cost_category_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CostCategoryArn"))
|
890
1114
|
UpdateCostCategoryDefinitionRequest.add_member(:rule_version, Shapes::ShapeRef.new(shape: CostCategoryRuleVersion, required: true, location_name: "RuleVersion"))
|
891
1115
|
UpdateCostCategoryDefinitionRequest.add_member(:rules, Shapes::ShapeRef.new(shape: CostCategoryRulesList, required: true, location_name: "Rules"))
|
@@ -924,6 +1148,25 @@ module Aws::CostExplorer
|
|
924
1148
|
"uid" => "ce-2017-10-25",
|
925
1149
|
}
|
926
1150
|
|
1151
|
+
api.add_operation(:create_anomaly_monitor, Seahorse::Model::Operation.new.tap do |o|
|
1152
|
+
o.name = "CreateAnomalyMonitor"
|
1153
|
+
o.http_method = "POST"
|
1154
|
+
o.http_request_uri = "/"
|
1155
|
+
o.input = Shapes::ShapeRef.new(shape: CreateAnomalyMonitorRequest)
|
1156
|
+
o.output = Shapes::ShapeRef.new(shape: CreateAnomalyMonitorResponse)
|
1157
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1158
|
+
end)
|
1159
|
+
|
1160
|
+
api.add_operation(:create_anomaly_subscription, Seahorse::Model::Operation.new.tap do |o|
|
1161
|
+
o.name = "CreateAnomalySubscription"
|
1162
|
+
o.http_method = "POST"
|
1163
|
+
o.http_request_uri = "/"
|
1164
|
+
o.input = Shapes::ShapeRef.new(shape: CreateAnomalySubscriptionRequest)
|
1165
|
+
o.output = Shapes::ShapeRef.new(shape: CreateAnomalySubscriptionResponse)
|
1166
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownMonitorException)
|
1167
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1168
|
+
end)
|
1169
|
+
|
927
1170
|
api.add_operation(:create_cost_category_definition, Seahorse::Model::Operation.new.tap do |o|
|
928
1171
|
o.name = "CreateCostCategoryDefinition"
|
929
1172
|
o.http_method = "POST"
|
@@ -934,6 +1177,26 @@ module Aws::CostExplorer
|
|
934
1177
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
935
1178
|
end)
|
936
1179
|
|
1180
|
+
api.add_operation(:delete_anomaly_monitor, Seahorse::Model::Operation.new.tap do |o|
|
1181
|
+
o.name = "DeleteAnomalyMonitor"
|
1182
|
+
o.http_method = "POST"
|
1183
|
+
o.http_request_uri = "/"
|
1184
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteAnomalyMonitorRequest)
|
1185
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteAnomalyMonitorResponse)
|
1186
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1187
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownMonitorException)
|
1188
|
+
end)
|
1189
|
+
|
1190
|
+
api.add_operation(:delete_anomaly_subscription, Seahorse::Model::Operation.new.tap do |o|
|
1191
|
+
o.name = "DeleteAnomalySubscription"
|
1192
|
+
o.http_method = "POST"
|
1193
|
+
o.http_request_uri = "/"
|
1194
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteAnomalySubscriptionRequest)
|
1195
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteAnomalySubscriptionResponse)
|
1196
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1197
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownSubscriptionException)
|
1198
|
+
end)
|
1199
|
+
|
937
1200
|
api.add_operation(:delete_cost_category_definition, Seahorse::Model::Operation.new.tap do |o|
|
938
1201
|
o.name = "DeleteCostCategoryDefinition"
|
939
1202
|
o.http_method = "POST"
|
@@ -954,6 +1217,38 @@ module Aws::CostExplorer
|
|
954
1217
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
955
1218
|
end)
|
956
1219
|
|
1220
|
+
api.add_operation(:get_anomalies, Seahorse::Model::Operation.new.tap do |o|
|
1221
|
+
o.name = "GetAnomalies"
|
1222
|
+
o.http_method = "POST"
|
1223
|
+
o.http_request_uri = "/"
|
1224
|
+
o.input = Shapes::ShapeRef.new(shape: GetAnomaliesRequest)
|
1225
|
+
o.output = Shapes::ShapeRef.new(shape: GetAnomaliesResponse)
|
1226
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1227
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
1228
|
+
end)
|
1229
|
+
|
1230
|
+
api.add_operation(:get_anomaly_monitors, Seahorse::Model::Operation.new.tap do |o|
|
1231
|
+
o.name = "GetAnomalyMonitors"
|
1232
|
+
o.http_method = "POST"
|
1233
|
+
o.http_request_uri = "/"
|
1234
|
+
o.input = Shapes::ShapeRef.new(shape: GetAnomalyMonitorsRequest)
|
1235
|
+
o.output = Shapes::ShapeRef.new(shape: GetAnomalyMonitorsResponse)
|
1236
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1237
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownMonitorException)
|
1238
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
1239
|
+
end)
|
1240
|
+
|
1241
|
+
api.add_operation(:get_anomaly_subscriptions, Seahorse::Model::Operation.new.tap do |o|
|
1242
|
+
o.name = "GetAnomalySubscriptions"
|
1243
|
+
o.http_method = "POST"
|
1244
|
+
o.http_request_uri = "/"
|
1245
|
+
o.input = Shapes::ShapeRef.new(shape: GetAnomalySubscriptionsRequest)
|
1246
|
+
o.output = Shapes::ShapeRef.new(shape: GetAnomalySubscriptionsResponse)
|
1247
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1248
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownSubscriptionException)
|
1249
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
1250
|
+
end)
|
1251
|
+
|
957
1252
|
api.add_operation(:get_cost_and_usage, Seahorse::Model::Operation.new.tap do |o|
|
958
1253
|
o.name = "GetCostAndUsage"
|
959
1254
|
o.http_method = "POST"
|
@@ -1139,6 +1434,36 @@ module Aws::CostExplorer
|
|
1139
1434
|
)
|
1140
1435
|
end)
|
1141
1436
|
|
1437
|
+
api.add_operation(:provide_anomaly_feedback, Seahorse::Model::Operation.new.tap do |o|
|
1438
|
+
o.name = "ProvideAnomalyFeedback"
|
1439
|
+
o.http_method = "POST"
|
1440
|
+
o.http_request_uri = "/"
|
1441
|
+
o.input = Shapes::ShapeRef.new(shape: ProvideAnomalyFeedbackRequest)
|
1442
|
+
o.output = Shapes::ShapeRef.new(shape: ProvideAnomalyFeedbackResponse)
|
1443
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1444
|
+
end)
|
1445
|
+
|
1446
|
+
api.add_operation(:update_anomaly_monitor, Seahorse::Model::Operation.new.tap do |o|
|
1447
|
+
o.name = "UpdateAnomalyMonitor"
|
1448
|
+
o.http_method = "POST"
|
1449
|
+
o.http_request_uri = "/"
|
1450
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateAnomalyMonitorRequest)
|
1451
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateAnomalyMonitorResponse)
|
1452
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1453
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownMonitorException)
|
1454
|
+
end)
|
1455
|
+
|
1456
|
+
api.add_operation(:update_anomaly_subscription, Seahorse::Model::Operation.new.tap do |o|
|
1457
|
+
o.name = "UpdateAnomalySubscription"
|
1458
|
+
o.http_method = "POST"
|
1459
|
+
o.http_request_uri = "/"
|
1460
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateAnomalySubscriptionRequest)
|
1461
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateAnomalySubscriptionResponse)
|
1462
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1463
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownMonitorException)
|
1464
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownSubscriptionException)
|
1465
|
+
end)
|
1466
|
+
|
1142
1467
|
api.add_operation(:update_cost_category_definition, Seahorse::Model::Operation.new.tap do |o|
|
1143
1468
|
o.name = "UpdateCostCategoryDefinition"
|
1144
1469
|
o.http_method = "POST"
|