aws-sdk-costexplorer 1.45.0 → 1.50.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 +4 -3
- data/lib/aws-sdk-costexplorer/client.rb +547 -32
- data/lib/aws-sdk-costexplorer/client_api.rb +310 -2
- data/lib/aws-sdk-costexplorer/errors.rb +32 -0
- data/lib/aws-sdk-costexplorer/types.rb +1110 -105
- 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')
|
@@ -40,11 +50,19 @@ module Aws::CostExplorer
|
|
40
50
|
CoverageNormalizedUnits = Shapes::StructureShape.new(name: 'CoverageNormalizedUnits')
|
41
51
|
CoverageNormalizedUnitsPercentage = Shapes::StringShape.new(name: 'CoverageNormalizedUnitsPercentage')
|
42
52
|
CoveragesByTime = Shapes::ListShape.new(name: 'CoveragesByTime')
|
53
|
+
CreateAnomalyMonitorRequest = Shapes::StructureShape.new(name: 'CreateAnomalyMonitorRequest')
|
54
|
+
CreateAnomalyMonitorResponse = Shapes::StructureShape.new(name: 'CreateAnomalyMonitorResponse')
|
55
|
+
CreateAnomalySubscriptionRequest = Shapes::StructureShape.new(name: 'CreateAnomalySubscriptionRequest')
|
56
|
+
CreateAnomalySubscriptionResponse = Shapes::StructureShape.new(name: 'CreateAnomalySubscriptionResponse')
|
43
57
|
CreateCostCategoryDefinitionRequest = Shapes::StructureShape.new(name: 'CreateCostCategoryDefinitionRequest')
|
44
58
|
CreateCostCategoryDefinitionResponse = Shapes::StructureShape.new(name: 'CreateCostCategoryDefinitionResponse')
|
45
59
|
CurrentInstance = Shapes::StructureShape.new(name: 'CurrentInstance')
|
46
60
|
DataUnavailableException = Shapes::StructureShape.new(name: 'DataUnavailableException')
|
47
61
|
DateInterval = Shapes::StructureShape.new(name: 'DateInterval')
|
62
|
+
DeleteAnomalyMonitorRequest = Shapes::StructureShape.new(name: 'DeleteAnomalyMonitorRequest')
|
63
|
+
DeleteAnomalyMonitorResponse = Shapes::StructureShape.new(name: 'DeleteAnomalyMonitorResponse')
|
64
|
+
DeleteAnomalySubscriptionRequest = Shapes::StructureShape.new(name: 'DeleteAnomalySubscriptionRequest')
|
65
|
+
DeleteAnomalySubscriptionResponse = Shapes::StructureShape.new(name: 'DeleteAnomalySubscriptionResponse')
|
48
66
|
DeleteCostCategoryDefinitionRequest = Shapes::StructureShape.new(name: 'DeleteCostCategoryDefinitionRequest')
|
49
67
|
DeleteCostCategoryDefinitionResponse = Shapes::StructureShape.new(name: 'DeleteCostCategoryDefinitionResponse')
|
50
68
|
DescribeCostCategoryDefinitionRequest = Shapes::StructureShape.new(name: 'DescribeCostCategoryDefinitionRequest')
|
@@ -53,6 +71,7 @@ module Aws::CostExplorer
|
|
53
71
|
DimensionValues = Shapes::StructureShape.new(name: 'DimensionValues')
|
54
72
|
DimensionValuesWithAttributes = Shapes::StructureShape.new(name: 'DimensionValuesWithAttributes')
|
55
73
|
DimensionValuesWithAttributesList = Shapes::ListShape.new(name: 'DimensionValuesWithAttributesList')
|
74
|
+
EBSResourceUtilization = Shapes::StructureShape.new(name: 'EBSResourceUtilization')
|
56
75
|
EC2InstanceDetails = Shapes::StructureShape.new(name: 'EC2InstanceDetails')
|
57
76
|
EC2ResourceDetails = Shapes::StructureShape.new(name: 'EC2ResourceDetails')
|
58
77
|
EC2ResourceUtilization = Shapes::StructureShape.new(name: 'EC2ResourceUtilization')
|
@@ -67,7 +86,14 @@ module Aws::CostExplorer
|
|
67
86
|
ForecastResult = Shapes::StructureShape.new(name: 'ForecastResult')
|
68
87
|
ForecastResultsByTime = Shapes::ListShape.new(name: 'ForecastResultsByTime')
|
69
88
|
GenericBoolean = Shapes::BooleanShape.new(name: 'GenericBoolean')
|
89
|
+
GenericDouble = Shapes::FloatShape.new(name: 'GenericDouble')
|
70
90
|
GenericString = Shapes::StringShape.new(name: 'GenericString')
|
91
|
+
GetAnomaliesRequest = Shapes::StructureShape.new(name: 'GetAnomaliesRequest')
|
92
|
+
GetAnomaliesResponse = Shapes::StructureShape.new(name: 'GetAnomaliesResponse')
|
93
|
+
GetAnomalyMonitorsRequest = Shapes::StructureShape.new(name: 'GetAnomalyMonitorsRequest')
|
94
|
+
GetAnomalyMonitorsResponse = Shapes::StructureShape.new(name: 'GetAnomalyMonitorsResponse')
|
95
|
+
GetAnomalySubscriptionsRequest = Shapes::StructureShape.new(name: 'GetAnomalySubscriptionsRequest')
|
96
|
+
GetAnomalySubscriptionsResponse = Shapes::StructureShape.new(name: 'GetAnomalySubscriptionsResponse')
|
71
97
|
GetCostAndUsageRequest = Shapes::StructureShape.new(name: 'GetCostAndUsageRequest')
|
72
98
|
GetCostAndUsageResponse = Shapes::StructureShape.new(name: 'GetCostAndUsageResponse')
|
73
99
|
GetCostAndUsageWithResourcesRequest = Shapes::StructureShape.new(name: 'GetCostAndUsageWithResourcesRequest')
|
@@ -103,6 +129,7 @@ module Aws::CostExplorer
|
|
103
129
|
GroupDefinitionType = Shapes::StringShape.new(name: 'GroupDefinitionType')
|
104
130
|
GroupDefinitions = Shapes::ListShape.new(name: 'GroupDefinitions')
|
105
131
|
Groups = Shapes::ListShape.new(name: 'Groups')
|
132
|
+
Impact = Shapes::StructureShape.new(name: 'Impact')
|
106
133
|
InstanceDetails = Shapes::StructureShape.new(name: 'InstanceDetails')
|
107
134
|
InvalidNextTokenException = Shapes::StructureShape.new(name: 'InvalidNextTokenException')
|
108
135
|
Key = Shapes::StringShape.new(name: 'Key')
|
@@ -122,9 +149,13 @@ module Aws::CostExplorer
|
|
122
149
|
MetricValue = Shapes::StructureShape.new(name: 'MetricValue')
|
123
150
|
Metrics = Shapes::MapShape.new(name: 'Metrics')
|
124
151
|
ModifyRecommendationDetail = Shapes::StructureShape.new(name: 'ModifyRecommendationDetail')
|
152
|
+
MonitorDimension = Shapes::StringShape.new(name: 'MonitorDimension')
|
153
|
+
MonitorType = Shapes::StringShape.new(name: 'MonitorType')
|
125
154
|
NetRISavings = Shapes::StringShape.new(name: 'NetRISavings')
|
126
155
|
NextPageToken = Shapes::StringShape.new(name: 'NextPageToken')
|
127
156
|
NonNegativeInteger = Shapes::IntegerShape.new(name: 'NonNegativeInteger')
|
157
|
+
NullableNonNegativeDouble = Shapes::FloatShape.new(name: 'NullableNonNegativeDouble')
|
158
|
+
NumericOperator = Shapes::StringShape.new(name: 'NumericOperator')
|
128
159
|
OfferingClass = Shapes::StringShape.new(name: 'OfferingClass')
|
129
160
|
OnDemandCost = Shapes::StringShape.new(name: 'OnDemandCost')
|
130
161
|
OnDemandCostOfRIHoursUsed = Shapes::StringShape.new(name: 'OnDemandCostOfRIHoursUsed')
|
@@ -133,6 +164,8 @@ module Aws::CostExplorer
|
|
133
164
|
PageSize = Shapes::IntegerShape.new(name: 'PageSize')
|
134
165
|
PaymentOption = Shapes::StringShape.new(name: 'PaymentOption')
|
135
166
|
PredictionIntervalLevel = Shapes::IntegerShape.new(name: 'PredictionIntervalLevel')
|
167
|
+
ProvideAnomalyFeedbackRequest = Shapes::StructureShape.new(name: 'ProvideAnomalyFeedbackRequest')
|
168
|
+
ProvideAnomalyFeedbackResponse = Shapes::StructureShape.new(name: 'ProvideAnomalyFeedbackResponse')
|
136
169
|
PurchasedHours = Shapes::StringShape.new(name: 'PurchasedHours')
|
137
170
|
PurchasedUnits = Shapes::StringShape.new(name: 'PurchasedUnits')
|
138
171
|
RDSInstanceDetails = Shapes::StructureShape.new(name: 'RDSInstanceDetails')
|
@@ -165,6 +198,8 @@ module Aws::CostExplorer
|
|
165
198
|
RightsizingRecommendationMetadata = Shapes::StructureShape.new(name: 'RightsizingRecommendationMetadata')
|
166
199
|
RightsizingRecommendationSummary = Shapes::StructureShape.new(name: 'RightsizingRecommendationSummary')
|
167
200
|
RightsizingType = Shapes::StringShape.new(name: 'RightsizingType')
|
201
|
+
RootCause = Shapes::StructureShape.new(name: 'RootCause')
|
202
|
+
RootCauses = Shapes::ListShape.new(name: 'RootCauses')
|
168
203
|
SavingsPlanArn = Shapes::StringShape.new(name: 'SavingsPlanArn')
|
169
204
|
SavingsPlansAmortizedCommitment = Shapes::StructureShape.new(name: 'SavingsPlansAmortizedCommitment')
|
170
205
|
SavingsPlansCoverage = Shapes::StructureShape.new(name: 'SavingsPlansCoverage')
|
@@ -186,6 +221,11 @@ module Aws::CostExplorer
|
|
186
221
|
SearchString = Shapes::StringShape.new(name: 'SearchString')
|
187
222
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
188
223
|
ServiceSpecification = Shapes::StructureShape.new(name: 'ServiceSpecification')
|
224
|
+
Subscriber = Shapes::StructureShape.new(name: 'Subscriber')
|
225
|
+
SubscriberAddress = Shapes::StringShape.new(name: 'SubscriberAddress')
|
226
|
+
SubscriberStatus = Shapes::StringShape.new(name: 'SubscriberStatus')
|
227
|
+
SubscriberType = Shapes::StringShape.new(name: 'SubscriberType')
|
228
|
+
Subscribers = Shapes::ListShape.new(name: 'Subscribers')
|
189
229
|
SupportedSavingsPlansType = Shapes::StringShape.new(name: 'SupportedSavingsPlansType')
|
190
230
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
191
231
|
TagList = Shapes::ListShape.new(name: 'TagList')
|
@@ -198,12 +238,19 @@ module Aws::CostExplorer
|
|
198
238
|
TotalActualHours = Shapes::StringShape.new(name: 'TotalActualHours')
|
199
239
|
TotalActualUnits = Shapes::StringShape.new(name: 'TotalActualUnits')
|
200
240
|
TotalAmortizedFee = Shapes::StringShape.new(name: 'TotalAmortizedFee')
|
241
|
+
TotalImpactFilter = Shapes::StructureShape.new(name: 'TotalImpactFilter')
|
201
242
|
TotalPotentialRISavings = Shapes::StringShape.new(name: 'TotalPotentialRISavings')
|
202
243
|
TotalRunningHours = Shapes::StringShape.new(name: 'TotalRunningHours')
|
203
244
|
TotalRunningNormalizedUnits = Shapes::StringShape.new(name: 'TotalRunningNormalizedUnits')
|
245
|
+
UnknownMonitorException = Shapes::StructureShape.new(name: 'UnknownMonitorException')
|
246
|
+
UnknownSubscriptionException = Shapes::StructureShape.new(name: 'UnknownSubscriptionException')
|
204
247
|
UnresolvableUsageUnitException = Shapes::StructureShape.new(name: 'UnresolvableUsageUnitException')
|
205
248
|
UnusedHours = Shapes::StringShape.new(name: 'UnusedHours')
|
206
249
|
UnusedUnits = Shapes::StringShape.new(name: 'UnusedUnits')
|
250
|
+
UpdateAnomalyMonitorRequest = Shapes::StructureShape.new(name: 'UpdateAnomalyMonitorRequest')
|
251
|
+
UpdateAnomalyMonitorResponse = Shapes::StructureShape.new(name: 'UpdateAnomalyMonitorResponse')
|
252
|
+
UpdateAnomalySubscriptionRequest = Shapes::StructureShape.new(name: 'UpdateAnomalySubscriptionRequest')
|
253
|
+
UpdateAnomalySubscriptionResponse = Shapes::StructureShape.new(name: 'UpdateAnomalySubscriptionResponse')
|
207
254
|
UpdateCostCategoryDefinitionRequest = Shapes::StructureShape.new(name: 'UpdateCostCategoryDefinitionRequest')
|
208
255
|
UpdateCostCategoryDefinitionResponse = Shapes::StructureShape.new(name: 'UpdateCostCategoryDefinitionResponse')
|
209
256
|
UtilizationByTime = Shapes::StructureShape.new(name: 'UtilizationByTime')
|
@@ -215,6 +262,51 @@ module Aws::CostExplorer
|
|
215
262
|
YearMonthDay = Shapes::StringShape.new(name: 'YearMonthDay')
|
216
263
|
ZonedDateTime = Shapes::StringShape.new(name: 'ZonedDateTime')
|
217
264
|
|
265
|
+
Anomalies.member = Shapes::ShapeRef.new(shape: Anomaly)
|
266
|
+
|
267
|
+
Anomaly.add_member(:anomaly_id, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "AnomalyId"))
|
268
|
+
Anomaly.add_member(:anomaly_start_date, Shapes::ShapeRef.new(shape: YearMonthDay, location_name: "AnomalyStartDate"))
|
269
|
+
Anomaly.add_member(:anomaly_end_date, Shapes::ShapeRef.new(shape: YearMonthDay, location_name: "AnomalyEndDate"))
|
270
|
+
Anomaly.add_member(:dimension_value, Shapes::ShapeRef.new(shape: GenericString, location_name: "DimensionValue"))
|
271
|
+
Anomaly.add_member(:root_causes, Shapes::ShapeRef.new(shape: RootCauses, location_name: "RootCauses"))
|
272
|
+
Anomaly.add_member(:anomaly_score, Shapes::ShapeRef.new(shape: AnomalyScore, required: true, location_name: "AnomalyScore"))
|
273
|
+
Anomaly.add_member(:impact, Shapes::ShapeRef.new(shape: Impact, required: true, location_name: "Impact"))
|
274
|
+
Anomaly.add_member(:monitor_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "MonitorArn"))
|
275
|
+
Anomaly.add_member(:feedback, Shapes::ShapeRef.new(shape: AnomalyFeedbackType, location_name: "Feedback"))
|
276
|
+
Anomaly.struct_class = Types::Anomaly
|
277
|
+
|
278
|
+
AnomalyDateInterval.add_member(:start_date, Shapes::ShapeRef.new(shape: YearMonthDay, required: true, location_name: "StartDate"))
|
279
|
+
AnomalyDateInterval.add_member(:end_date, Shapes::ShapeRef.new(shape: YearMonthDay, location_name: "EndDate"))
|
280
|
+
AnomalyDateInterval.struct_class = Types::AnomalyDateInterval
|
281
|
+
|
282
|
+
AnomalyMonitor.add_member(:monitor_arn, Shapes::ShapeRef.new(shape: GenericString, location_name: "MonitorArn"))
|
283
|
+
AnomalyMonitor.add_member(:monitor_name, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "MonitorName"))
|
284
|
+
AnomalyMonitor.add_member(:creation_date, Shapes::ShapeRef.new(shape: YearMonthDay, location_name: "CreationDate"))
|
285
|
+
AnomalyMonitor.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: YearMonthDay, location_name: "LastUpdatedDate"))
|
286
|
+
AnomalyMonitor.add_member(:last_evaluated_date, Shapes::ShapeRef.new(shape: YearMonthDay, location_name: "LastEvaluatedDate"))
|
287
|
+
AnomalyMonitor.add_member(:monitor_type, Shapes::ShapeRef.new(shape: MonitorType, required: true, location_name: "MonitorType"))
|
288
|
+
AnomalyMonitor.add_member(:monitor_dimension, Shapes::ShapeRef.new(shape: MonitorDimension, location_name: "MonitorDimension"))
|
289
|
+
AnomalyMonitor.add_member(:monitor_specification, Shapes::ShapeRef.new(shape: Expression, location_name: "MonitorSpecification"))
|
290
|
+
AnomalyMonitor.add_member(:dimensional_value_count, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "DimensionalValueCount"))
|
291
|
+
AnomalyMonitor.struct_class = Types::AnomalyMonitor
|
292
|
+
|
293
|
+
AnomalyMonitors.member = Shapes::ShapeRef.new(shape: AnomalyMonitor)
|
294
|
+
|
295
|
+
AnomalyScore.add_member(:max_score, Shapes::ShapeRef.new(shape: GenericDouble, required: true, location_name: "MaxScore"))
|
296
|
+
AnomalyScore.add_member(:current_score, Shapes::ShapeRef.new(shape: GenericDouble, required: true, location_name: "CurrentScore"))
|
297
|
+
AnomalyScore.struct_class = Types::AnomalyScore
|
298
|
+
|
299
|
+
AnomalySubscription.add_member(:subscription_arn, Shapes::ShapeRef.new(shape: GenericString, location_name: "SubscriptionArn"))
|
300
|
+
AnomalySubscription.add_member(:account_id, Shapes::ShapeRef.new(shape: GenericString, location_name: "AccountId"))
|
301
|
+
AnomalySubscription.add_member(:monitor_arn_list, Shapes::ShapeRef.new(shape: Values, required: true, location_name: "MonitorArnList"))
|
302
|
+
AnomalySubscription.add_member(:subscribers, Shapes::ShapeRef.new(shape: Subscribers, required: true, location_name: "Subscribers"))
|
303
|
+
AnomalySubscription.add_member(:threshold, Shapes::ShapeRef.new(shape: NullableNonNegativeDouble, required: true, location_name: "Threshold"))
|
304
|
+
AnomalySubscription.add_member(:frequency, Shapes::ShapeRef.new(shape: AnomalySubscriptionFrequency, required: true, location_name: "Frequency"))
|
305
|
+
AnomalySubscription.add_member(:subscription_name, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "SubscriptionName"))
|
306
|
+
AnomalySubscription.struct_class = Types::AnomalySubscription
|
307
|
+
|
308
|
+
AnomalySubscriptions.member = Shapes::ShapeRef.new(shape: AnomalySubscription)
|
309
|
+
|
218
310
|
Attributes.key = Shapes::ShapeRef.new(shape: AttributeType)
|
219
311
|
Attributes.value = Shapes::ShapeRef.new(shape: AttributeValue)
|
220
312
|
|
@@ -275,6 +367,18 @@ module Aws::CostExplorer
|
|
275
367
|
|
276
368
|
CoveragesByTime.member = Shapes::ShapeRef.new(shape: CoverageByTime)
|
277
369
|
|
370
|
+
CreateAnomalyMonitorRequest.add_member(:anomaly_monitor, Shapes::ShapeRef.new(shape: AnomalyMonitor, required: true, location_name: "AnomalyMonitor"))
|
371
|
+
CreateAnomalyMonitorRequest.struct_class = Types::CreateAnomalyMonitorRequest
|
372
|
+
|
373
|
+
CreateAnomalyMonitorResponse.add_member(:monitor_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "MonitorArn"))
|
374
|
+
CreateAnomalyMonitorResponse.struct_class = Types::CreateAnomalyMonitorResponse
|
375
|
+
|
376
|
+
CreateAnomalySubscriptionRequest.add_member(:anomaly_subscription, Shapes::ShapeRef.new(shape: AnomalySubscription, required: true, location_name: "AnomalySubscription"))
|
377
|
+
CreateAnomalySubscriptionRequest.struct_class = Types::CreateAnomalySubscriptionRequest
|
378
|
+
|
379
|
+
CreateAnomalySubscriptionResponse.add_member(:subscription_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "SubscriptionArn"))
|
380
|
+
CreateAnomalySubscriptionResponse.struct_class = Types::CreateAnomalySubscriptionResponse
|
381
|
+
|
278
382
|
CreateCostCategoryDefinitionRequest.add_member(:name, Shapes::ShapeRef.new(shape: CostCategoryName, required: true, location_name: "Name"))
|
279
383
|
CreateCostCategoryDefinitionRequest.add_member(:rule_version, Shapes::ShapeRef.new(shape: CostCategoryRuleVersion, required: true, location_name: "RuleVersion"))
|
280
384
|
CreateCostCategoryDefinitionRequest.add_member(:rules, Shapes::ShapeRef.new(shape: CostCategoryRulesList, required: true, location_name: "Rules"))
|
@@ -304,6 +408,16 @@ module Aws::CostExplorer
|
|
304
408
|
DateInterval.add_member(:end, Shapes::ShapeRef.new(shape: YearMonthDay, required: true, location_name: "End"))
|
305
409
|
DateInterval.struct_class = Types::DateInterval
|
306
410
|
|
411
|
+
DeleteAnomalyMonitorRequest.add_member(:monitor_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "MonitorArn"))
|
412
|
+
DeleteAnomalyMonitorRequest.struct_class = Types::DeleteAnomalyMonitorRequest
|
413
|
+
|
414
|
+
DeleteAnomalyMonitorResponse.struct_class = Types::DeleteAnomalyMonitorResponse
|
415
|
+
|
416
|
+
DeleteAnomalySubscriptionRequest.add_member(:subscription_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "SubscriptionArn"))
|
417
|
+
DeleteAnomalySubscriptionRequest.struct_class = Types::DeleteAnomalySubscriptionRequest
|
418
|
+
|
419
|
+
DeleteAnomalySubscriptionResponse.struct_class = Types::DeleteAnomalySubscriptionResponse
|
420
|
+
|
307
421
|
DeleteCostCategoryDefinitionRequest.add_member(:cost_category_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CostCategoryArn"))
|
308
422
|
DeleteCostCategoryDefinitionRequest.struct_class = Types::DeleteCostCategoryDefinitionRequest
|
309
423
|
|
@@ -329,6 +443,12 @@ module Aws::CostExplorer
|
|
329
443
|
|
330
444
|
DimensionValuesWithAttributesList.member = Shapes::ShapeRef.new(shape: DimensionValuesWithAttributes)
|
331
445
|
|
446
|
+
EBSResourceUtilization.add_member(:ebs_read_ops_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "EbsReadOpsPerSecond"))
|
447
|
+
EBSResourceUtilization.add_member(:ebs_write_ops_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "EbsWriteOpsPerSecond"))
|
448
|
+
EBSResourceUtilization.add_member(:ebs_read_bytes_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "EbsReadBytesPerSecond"))
|
449
|
+
EBSResourceUtilization.add_member(:ebs_write_bytes_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "EbsWriteBytesPerSecond"))
|
450
|
+
EBSResourceUtilization.struct_class = Types::EBSResourceUtilization
|
451
|
+
|
332
452
|
EC2InstanceDetails.add_member(:family, Shapes::ShapeRef.new(shape: GenericString, location_name: "Family"))
|
333
453
|
EC2InstanceDetails.add_member(:instance_type, Shapes::ShapeRef.new(shape: GenericString, location_name: "InstanceType"))
|
334
454
|
EC2InstanceDetails.add_member(:region, Shapes::ShapeRef.new(shape: GenericString, location_name: "Region"))
|
@@ -353,6 +473,7 @@ module Aws::CostExplorer
|
|
353
473
|
EC2ResourceUtilization.add_member(:max_cpu_utilization_percentage, Shapes::ShapeRef.new(shape: GenericString, location_name: "MaxCpuUtilizationPercentage"))
|
354
474
|
EC2ResourceUtilization.add_member(:max_memory_utilization_percentage, Shapes::ShapeRef.new(shape: GenericString, location_name: "MaxMemoryUtilizationPercentage"))
|
355
475
|
EC2ResourceUtilization.add_member(:max_storage_utilization_percentage, Shapes::ShapeRef.new(shape: GenericString, location_name: "MaxStorageUtilizationPercentage"))
|
476
|
+
EC2ResourceUtilization.add_member(:ebs_resource_utilization, Shapes::ShapeRef.new(shape: EBSResourceUtilization, location_name: "EBSResourceUtilization"))
|
356
477
|
EC2ResourceUtilization.struct_class = Types::EC2ResourceUtilization
|
357
478
|
|
358
479
|
EC2Specification.add_member(:offering_class, Shapes::ShapeRef.new(shape: OfferingClass, location_name: "OfferingClass"))
|
@@ -391,10 +512,41 @@ module Aws::CostExplorer
|
|
391
512
|
|
392
513
|
ForecastResultsByTime.member = Shapes::ShapeRef.new(shape: ForecastResult)
|
393
514
|
|
515
|
+
GetAnomaliesRequest.add_member(:monitor_arn, Shapes::ShapeRef.new(shape: GenericString, location_name: "MonitorArn"))
|
516
|
+
GetAnomaliesRequest.add_member(:date_interval, Shapes::ShapeRef.new(shape: AnomalyDateInterval, required: true, location_name: "DateInterval"))
|
517
|
+
GetAnomaliesRequest.add_member(:feedback, Shapes::ShapeRef.new(shape: AnomalyFeedbackType, location_name: "Feedback"))
|
518
|
+
GetAnomaliesRequest.add_member(:total_impact, Shapes::ShapeRef.new(shape: TotalImpactFilter, location_name: "TotalImpact"))
|
519
|
+
GetAnomaliesRequest.add_member(:next_page_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextPageToken"))
|
520
|
+
GetAnomaliesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
|
521
|
+
GetAnomaliesRequest.struct_class = Types::GetAnomaliesRequest
|
522
|
+
|
523
|
+
GetAnomaliesResponse.add_member(:anomalies, Shapes::ShapeRef.new(shape: Anomalies, required: true, location_name: "Anomalies"))
|
524
|
+
GetAnomaliesResponse.add_member(:next_page_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextPageToken"))
|
525
|
+
GetAnomaliesResponse.struct_class = Types::GetAnomaliesResponse
|
526
|
+
|
527
|
+
GetAnomalyMonitorsRequest.add_member(:monitor_arn_list, Shapes::ShapeRef.new(shape: Values, location_name: "MonitorArnList"))
|
528
|
+
GetAnomalyMonitorsRequest.add_member(:next_page_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextPageToken"))
|
529
|
+
GetAnomalyMonitorsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
|
530
|
+
GetAnomalyMonitorsRequest.struct_class = Types::GetAnomalyMonitorsRequest
|
531
|
+
|
532
|
+
GetAnomalyMonitorsResponse.add_member(:anomaly_monitors, Shapes::ShapeRef.new(shape: AnomalyMonitors, required: true, location_name: "AnomalyMonitors"))
|
533
|
+
GetAnomalyMonitorsResponse.add_member(:next_page_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextPageToken"))
|
534
|
+
GetAnomalyMonitorsResponse.struct_class = Types::GetAnomalyMonitorsResponse
|
535
|
+
|
536
|
+
GetAnomalySubscriptionsRequest.add_member(:subscription_arn_list, Shapes::ShapeRef.new(shape: Values, location_name: "SubscriptionArnList"))
|
537
|
+
GetAnomalySubscriptionsRequest.add_member(:monitor_arn, Shapes::ShapeRef.new(shape: GenericString, location_name: "MonitorArn"))
|
538
|
+
GetAnomalySubscriptionsRequest.add_member(:next_page_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextPageToken"))
|
539
|
+
GetAnomalySubscriptionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
|
540
|
+
GetAnomalySubscriptionsRequest.struct_class = Types::GetAnomalySubscriptionsRequest
|
541
|
+
|
542
|
+
GetAnomalySubscriptionsResponse.add_member(:anomaly_subscriptions, Shapes::ShapeRef.new(shape: AnomalySubscriptions, required: true, location_name: "AnomalySubscriptions"))
|
543
|
+
GetAnomalySubscriptionsResponse.add_member(:next_page_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextPageToken"))
|
544
|
+
GetAnomalySubscriptionsResponse.struct_class = Types::GetAnomalySubscriptionsResponse
|
545
|
+
|
394
546
|
GetCostAndUsageRequest.add_member(:time_period, Shapes::ShapeRef.new(shape: DateInterval, required: true, location_name: "TimePeriod"))
|
395
547
|
GetCostAndUsageRequest.add_member(:granularity, Shapes::ShapeRef.new(shape: Granularity, location_name: "Granularity"))
|
396
548
|
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"))
|
549
|
+
GetCostAndUsageRequest.add_member(:metrics, Shapes::ShapeRef.new(shape: MetricNames, required: true, location_name: "Metrics"))
|
398
550
|
GetCostAndUsageRequest.add_member(:group_by, Shapes::ShapeRef.new(shape: GroupDefinitions, location_name: "GroupBy"))
|
399
551
|
GetCostAndUsageRequest.add_member(:next_page_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextPageToken"))
|
400
552
|
GetCostAndUsageRequest.struct_class = Types::GetCostAndUsageRequest
|
@@ -406,7 +558,7 @@ module Aws::CostExplorer
|
|
406
558
|
|
407
559
|
GetCostAndUsageWithResourcesRequest.add_member(:time_period, Shapes::ShapeRef.new(shape: DateInterval, required: true, location_name: "TimePeriod"))
|
408
560
|
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"))
|
561
|
+
GetCostAndUsageWithResourcesRequest.add_member(:filter, Shapes::ShapeRef.new(shape: Expression, required: true, location_name: "Filter"))
|
410
562
|
GetCostAndUsageWithResourcesRequest.add_member(:metrics, Shapes::ShapeRef.new(shape: MetricNames, location_name: "Metrics"))
|
411
563
|
GetCostAndUsageWithResourcesRequest.add_member(:group_by, Shapes::ShapeRef.new(shape: GroupDefinitions, location_name: "GroupBy"))
|
412
564
|
GetCostAndUsageWithResourcesRequest.add_member(:next_page_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextPageToken"))
|
@@ -580,6 +732,10 @@ module Aws::CostExplorer
|
|
580
732
|
|
581
733
|
Groups.member = Shapes::ShapeRef.new(shape: Group)
|
582
734
|
|
735
|
+
Impact.add_member(:max_impact, Shapes::ShapeRef.new(shape: GenericDouble, required: true, location_name: "MaxImpact"))
|
736
|
+
Impact.add_member(:total_impact, Shapes::ShapeRef.new(shape: GenericDouble, location_name: "TotalImpact"))
|
737
|
+
Impact.struct_class = Types::Impact
|
738
|
+
|
583
739
|
InstanceDetails.add_member(:ec2_instance_details, Shapes::ShapeRef.new(shape: EC2InstanceDetails, location_name: "EC2InstanceDetails"))
|
584
740
|
InstanceDetails.add_member(:rds_instance_details, Shapes::ShapeRef.new(shape: RDSInstanceDetails, location_name: "RDSInstanceDetails"))
|
585
741
|
InstanceDetails.add_member(:redshift_instance_details, Shapes::ShapeRef.new(shape: RedshiftInstanceDetails, location_name: "RedshiftInstanceDetails"))
|
@@ -618,6 +774,13 @@ module Aws::CostExplorer
|
|
618
774
|
ModifyRecommendationDetail.add_member(:target_instances, Shapes::ShapeRef.new(shape: TargetInstancesList, location_name: "TargetInstances"))
|
619
775
|
ModifyRecommendationDetail.struct_class = Types::ModifyRecommendationDetail
|
620
776
|
|
777
|
+
ProvideAnomalyFeedbackRequest.add_member(:anomaly_id, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "AnomalyId"))
|
778
|
+
ProvideAnomalyFeedbackRequest.add_member(:feedback, Shapes::ShapeRef.new(shape: AnomalyFeedbackType, required: true, location_name: "Feedback"))
|
779
|
+
ProvideAnomalyFeedbackRequest.struct_class = Types::ProvideAnomalyFeedbackRequest
|
780
|
+
|
781
|
+
ProvideAnomalyFeedbackResponse.add_member(:anomaly_id, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "AnomalyId"))
|
782
|
+
ProvideAnomalyFeedbackResponse.struct_class = Types::ProvideAnomalyFeedbackResponse
|
783
|
+
|
621
784
|
RDSInstanceDetails.add_member(:family, Shapes::ShapeRef.new(shape: GenericString, location_name: "Family"))
|
622
785
|
RDSInstanceDetails.add_member(:instance_type, Shapes::ShapeRef.new(shape: GenericString, location_name: "InstanceType"))
|
623
786
|
RDSInstanceDetails.add_member(:region, Shapes::ShapeRef.new(shape: GenericString, location_name: "Region"))
|
@@ -753,6 +916,14 @@ module Aws::CostExplorer
|
|
753
916
|
RightsizingRecommendationSummary.add_member(:savings_percentage, Shapes::ShapeRef.new(shape: GenericString, location_name: "SavingsPercentage"))
|
754
917
|
RightsizingRecommendationSummary.struct_class = Types::RightsizingRecommendationSummary
|
755
918
|
|
919
|
+
RootCause.add_member(:service, Shapes::ShapeRef.new(shape: GenericString, location_name: "Service"))
|
920
|
+
RootCause.add_member(:region, Shapes::ShapeRef.new(shape: GenericString, location_name: "Region"))
|
921
|
+
RootCause.add_member(:linked_account, Shapes::ShapeRef.new(shape: GenericString, location_name: "LinkedAccount"))
|
922
|
+
RootCause.add_member(:usage_type, Shapes::ShapeRef.new(shape: GenericString, location_name: "UsageType"))
|
923
|
+
RootCause.struct_class = Types::RootCause
|
924
|
+
|
925
|
+
RootCauses.member = Shapes::ShapeRef.new(shape: RootCause)
|
926
|
+
|
756
927
|
SavingsPlansAmortizedCommitment.add_member(:amortized_recurring_commitment, Shapes::ShapeRef.new(shape: GenericString, location_name: "AmortizedRecurringCommitment"))
|
757
928
|
SavingsPlansAmortizedCommitment.add_member(:amortized_upfront_commitment, Shapes::ShapeRef.new(shape: GenericString, location_name: "AmortizedUpfrontCommitment"))
|
758
929
|
SavingsPlansAmortizedCommitment.add_member(:total_amortized_commitment, Shapes::ShapeRef.new(shape: GenericString, location_name: "TotalAmortizedCommitment"))
|
@@ -860,6 +1031,13 @@ module Aws::CostExplorer
|
|
860
1031
|
ServiceSpecification.add_member(:ec2_specification, Shapes::ShapeRef.new(shape: EC2Specification, location_name: "EC2Specification"))
|
861
1032
|
ServiceSpecification.struct_class = Types::ServiceSpecification
|
862
1033
|
|
1034
|
+
Subscriber.add_member(:address, Shapes::ShapeRef.new(shape: SubscriberAddress, location_name: "Address"))
|
1035
|
+
Subscriber.add_member(:type, Shapes::ShapeRef.new(shape: SubscriberType, location_name: "Type"))
|
1036
|
+
Subscriber.add_member(:status, Shapes::ShapeRef.new(shape: SubscriberStatus, location_name: "Status"))
|
1037
|
+
Subscriber.struct_class = Types::Subscriber
|
1038
|
+
|
1039
|
+
Subscribers.member = Shapes::ShapeRef.new(shape: Subscriber)
|
1040
|
+
|
863
1041
|
TagList.member = Shapes::ShapeRef.new(shape: Entity)
|
864
1042
|
|
865
1043
|
TagValues.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, location_name: "Key"))
|
@@ -883,9 +1061,38 @@ module Aws::CostExplorer
|
|
883
1061
|
TerminateRecommendationDetail.add_member(:currency_code, Shapes::ShapeRef.new(shape: GenericString, location_name: "CurrencyCode"))
|
884
1062
|
TerminateRecommendationDetail.struct_class = Types::TerminateRecommendationDetail
|
885
1063
|
|
1064
|
+
TotalImpactFilter.add_member(:numeric_operator, Shapes::ShapeRef.new(shape: NumericOperator, required: true, location_name: "NumericOperator"))
|
1065
|
+
TotalImpactFilter.add_member(:start_value, Shapes::ShapeRef.new(shape: GenericDouble, required: true, location_name: "StartValue"))
|
1066
|
+
TotalImpactFilter.add_member(:end_value, Shapes::ShapeRef.new(shape: GenericDouble, location_name: "EndValue"))
|
1067
|
+
TotalImpactFilter.struct_class = Types::TotalImpactFilter
|
1068
|
+
|
1069
|
+
UnknownMonitorException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
1070
|
+
UnknownMonitorException.struct_class = Types::UnknownMonitorException
|
1071
|
+
|
1072
|
+
UnknownSubscriptionException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
1073
|
+
UnknownSubscriptionException.struct_class = Types::UnknownSubscriptionException
|
1074
|
+
|
886
1075
|
UnresolvableUsageUnitException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
887
1076
|
UnresolvableUsageUnitException.struct_class = Types::UnresolvableUsageUnitException
|
888
1077
|
|
1078
|
+
UpdateAnomalyMonitorRequest.add_member(:monitor_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "MonitorArn"))
|
1079
|
+
UpdateAnomalyMonitorRequest.add_member(:monitor_name, Shapes::ShapeRef.new(shape: GenericString, location_name: "MonitorName"))
|
1080
|
+
UpdateAnomalyMonitorRequest.struct_class = Types::UpdateAnomalyMonitorRequest
|
1081
|
+
|
1082
|
+
UpdateAnomalyMonitorResponse.add_member(:monitor_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "MonitorArn"))
|
1083
|
+
UpdateAnomalyMonitorResponse.struct_class = Types::UpdateAnomalyMonitorResponse
|
1084
|
+
|
1085
|
+
UpdateAnomalySubscriptionRequest.add_member(:subscription_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "SubscriptionArn"))
|
1086
|
+
UpdateAnomalySubscriptionRequest.add_member(:threshold, Shapes::ShapeRef.new(shape: NullableNonNegativeDouble, location_name: "Threshold"))
|
1087
|
+
UpdateAnomalySubscriptionRequest.add_member(:frequency, Shapes::ShapeRef.new(shape: AnomalySubscriptionFrequency, location_name: "Frequency"))
|
1088
|
+
UpdateAnomalySubscriptionRequest.add_member(:monitor_arn_list, Shapes::ShapeRef.new(shape: Values, location_name: "MonitorArnList"))
|
1089
|
+
UpdateAnomalySubscriptionRequest.add_member(:subscribers, Shapes::ShapeRef.new(shape: Subscribers, location_name: "Subscribers"))
|
1090
|
+
UpdateAnomalySubscriptionRequest.add_member(:subscription_name, Shapes::ShapeRef.new(shape: GenericString, location_name: "SubscriptionName"))
|
1091
|
+
UpdateAnomalySubscriptionRequest.struct_class = Types::UpdateAnomalySubscriptionRequest
|
1092
|
+
|
1093
|
+
UpdateAnomalySubscriptionResponse.add_member(:subscription_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "SubscriptionArn"))
|
1094
|
+
UpdateAnomalySubscriptionResponse.struct_class = Types::UpdateAnomalySubscriptionResponse
|
1095
|
+
|
889
1096
|
UpdateCostCategoryDefinitionRequest.add_member(:cost_category_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CostCategoryArn"))
|
890
1097
|
UpdateCostCategoryDefinitionRequest.add_member(:rule_version, Shapes::ShapeRef.new(shape: CostCategoryRuleVersion, required: true, location_name: "RuleVersion"))
|
891
1098
|
UpdateCostCategoryDefinitionRequest.add_member(:rules, Shapes::ShapeRef.new(shape: CostCategoryRulesList, required: true, location_name: "Rules"))
|
@@ -924,6 +1131,25 @@ module Aws::CostExplorer
|
|
924
1131
|
"uid" => "ce-2017-10-25",
|
925
1132
|
}
|
926
1133
|
|
1134
|
+
api.add_operation(:create_anomaly_monitor, Seahorse::Model::Operation.new.tap do |o|
|
1135
|
+
o.name = "CreateAnomalyMonitor"
|
1136
|
+
o.http_method = "POST"
|
1137
|
+
o.http_request_uri = "/"
|
1138
|
+
o.input = Shapes::ShapeRef.new(shape: CreateAnomalyMonitorRequest)
|
1139
|
+
o.output = Shapes::ShapeRef.new(shape: CreateAnomalyMonitorResponse)
|
1140
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1141
|
+
end)
|
1142
|
+
|
1143
|
+
api.add_operation(:create_anomaly_subscription, Seahorse::Model::Operation.new.tap do |o|
|
1144
|
+
o.name = "CreateAnomalySubscription"
|
1145
|
+
o.http_method = "POST"
|
1146
|
+
o.http_request_uri = "/"
|
1147
|
+
o.input = Shapes::ShapeRef.new(shape: CreateAnomalySubscriptionRequest)
|
1148
|
+
o.output = Shapes::ShapeRef.new(shape: CreateAnomalySubscriptionResponse)
|
1149
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownMonitorException)
|
1150
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1151
|
+
end)
|
1152
|
+
|
927
1153
|
api.add_operation(:create_cost_category_definition, Seahorse::Model::Operation.new.tap do |o|
|
928
1154
|
o.name = "CreateCostCategoryDefinition"
|
929
1155
|
o.http_method = "POST"
|
@@ -934,6 +1160,26 @@ module Aws::CostExplorer
|
|
934
1160
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
935
1161
|
end)
|
936
1162
|
|
1163
|
+
api.add_operation(:delete_anomaly_monitor, Seahorse::Model::Operation.new.tap do |o|
|
1164
|
+
o.name = "DeleteAnomalyMonitor"
|
1165
|
+
o.http_method = "POST"
|
1166
|
+
o.http_request_uri = "/"
|
1167
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteAnomalyMonitorRequest)
|
1168
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteAnomalyMonitorResponse)
|
1169
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1170
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownMonitorException)
|
1171
|
+
end)
|
1172
|
+
|
1173
|
+
api.add_operation(:delete_anomaly_subscription, Seahorse::Model::Operation.new.tap do |o|
|
1174
|
+
o.name = "DeleteAnomalySubscription"
|
1175
|
+
o.http_method = "POST"
|
1176
|
+
o.http_request_uri = "/"
|
1177
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteAnomalySubscriptionRequest)
|
1178
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteAnomalySubscriptionResponse)
|
1179
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1180
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownSubscriptionException)
|
1181
|
+
end)
|
1182
|
+
|
937
1183
|
api.add_operation(:delete_cost_category_definition, Seahorse::Model::Operation.new.tap do |o|
|
938
1184
|
o.name = "DeleteCostCategoryDefinition"
|
939
1185
|
o.http_method = "POST"
|
@@ -954,6 +1200,38 @@ module Aws::CostExplorer
|
|
954
1200
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
955
1201
|
end)
|
956
1202
|
|
1203
|
+
api.add_operation(:get_anomalies, Seahorse::Model::Operation.new.tap do |o|
|
1204
|
+
o.name = "GetAnomalies"
|
1205
|
+
o.http_method = "POST"
|
1206
|
+
o.http_request_uri = "/"
|
1207
|
+
o.input = Shapes::ShapeRef.new(shape: GetAnomaliesRequest)
|
1208
|
+
o.output = Shapes::ShapeRef.new(shape: GetAnomaliesResponse)
|
1209
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1210
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
1211
|
+
end)
|
1212
|
+
|
1213
|
+
api.add_operation(:get_anomaly_monitors, Seahorse::Model::Operation.new.tap do |o|
|
1214
|
+
o.name = "GetAnomalyMonitors"
|
1215
|
+
o.http_method = "POST"
|
1216
|
+
o.http_request_uri = "/"
|
1217
|
+
o.input = Shapes::ShapeRef.new(shape: GetAnomalyMonitorsRequest)
|
1218
|
+
o.output = Shapes::ShapeRef.new(shape: GetAnomalyMonitorsResponse)
|
1219
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1220
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownMonitorException)
|
1221
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
1222
|
+
end)
|
1223
|
+
|
1224
|
+
api.add_operation(:get_anomaly_subscriptions, Seahorse::Model::Operation.new.tap do |o|
|
1225
|
+
o.name = "GetAnomalySubscriptions"
|
1226
|
+
o.http_method = "POST"
|
1227
|
+
o.http_request_uri = "/"
|
1228
|
+
o.input = Shapes::ShapeRef.new(shape: GetAnomalySubscriptionsRequest)
|
1229
|
+
o.output = Shapes::ShapeRef.new(shape: GetAnomalySubscriptionsResponse)
|
1230
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1231
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownSubscriptionException)
|
1232
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
1233
|
+
end)
|
1234
|
+
|
957
1235
|
api.add_operation(:get_cost_and_usage, Seahorse::Model::Operation.new.tap do |o|
|
958
1236
|
o.name = "GetCostAndUsage"
|
959
1237
|
o.http_method = "POST"
|
@@ -1139,6 +1417,36 @@ module Aws::CostExplorer
|
|
1139
1417
|
)
|
1140
1418
|
end)
|
1141
1419
|
|
1420
|
+
api.add_operation(:provide_anomaly_feedback, Seahorse::Model::Operation.new.tap do |o|
|
1421
|
+
o.name = "ProvideAnomalyFeedback"
|
1422
|
+
o.http_method = "POST"
|
1423
|
+
o.http_request_uri = "/"
|
1424
|
+
o.input = Shapes::ShapeRef.new(shape: ProvideAnomalyFeedbackRequest)
|
1425
|
+
o.output = Shapes::ShapeRef.new(shape: ProvideAnomalyFeedbackResponse)
|
1426
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1427
|
+
end)
|
1428
|
+
|
1429
|
+
api.add_operation(:update_anomaly_monitor, Seahorse::Model::Operation.new.tap do |o|
|
1430
|
+
o.name = "UpdateAnomalyMonitor"
|
1431
|
+
o.http_method = "POST"
|
1432
|
+
o.http_request_uri = "/"
|
1433
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateAnomalyMonitorRequest)
|
1434
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateAnomalyMonitorResponse)
|
1435
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1436
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownMonitorException)
|
1437
|
+
end)
|
1438
|
+
|
1439
|
+
api.add_operation(:update_anomaly_subscription, Seahorse::Model::Operation.new.tap do |o|
|
1440
|
+
o.name = "UpdateAnomalySubscription"
|
1441
|
+
o.http_method = "POST"
|
1442
|
+
o.http_request_uri = "/"
|
1443
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateAnomalySubscriptionRequest)
|
1444
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateAnomalySubscriptionResponse)
|
1445
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1446
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownMonitorException)
|
1447
|
+
o.errors << Shapes::ShapeRef.new(shape: UnknownSubscriptionException)
|
1448
|
+
end)
|
1449
|
+
|
1142
1450
|
api.add_operation(:update_cost_category_definition, Seahorse::Model::Operation.new.tap do |o|
|
1143
1451
|
o.name = "UpdateCostCategoryDefinition"
|
1144
1452
|
o.http_method = "POST"
|