aws-sdk-costexplorer 1.43.1 → 1.48.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -32,6 +34,8 @@ module Aws::CostExplorer
32
34
  # * {RequestChangedException}
33
35
  # * {ResourceNotFoundException}
34
36
  # * {ServiceQuotaExceededException}
37
+ # * {UnknownMonitorException}
38
+ # * {UnknownSubscriptionException}
35
39
  # * {UnresolvableUsageUnitException}
36
40
  #
37
41
  # Additionally, error classes are dynamically generated for service errors based on the error code
@@ -145,6 +149,36 @@ module Aws::CostExplorer
145
149
  end
146
150
  end
147
151
 
152
+ class UnknownMonitorException < ServiceError
153
+
154
+ # @param [Seahorse::Client::RequestContext] context
155
+ # @param [String] message
156
+ # @param [Aws::CostExplorer::Types::UnknownMonitorException] data
157
+ def initialize(context, message, data = Aws::EmptyStructure.new)
158
+ super(context, message, data)
159
+ end
160
+
161
+ # @return [String]
162
+ def message
163
+ @message || @data[:message]
164
+ end
165
+ end
166
+
167
+ class UnknownSubscriptionException < ServiceError
168
+
169
+ # @param [Seahorse::Client::RequestContext] context
170
+ # @param [String] message
171
+ # @param [Aws::CostExplorer::Types::UnknownSubscriptionException] data
172
+ def initialize(context, message, data = Aws::EmptyStructure.new)
173
+ super(context, message, data)
174
+ end
175
+
176
+ # @return [String]
177
+ def message
178
+ @message || @data[:message]
179
+ end
180
+ end
181
+
148
182
  class UnresolvableUsageUnitException < ServiceError
149
183
 
150
184
  # @param [Seahorse::Client::RequestContext] context
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -8,6 +10,322 @@
8
10
  module Aws::CostExplorer
9
11
  module Types
10
12
 
13
+ # An unusual cost pattern. This consists of the detailed metadata and
14
+ # the current status of the anomaly object.
15
+ #
16
+ # @!attribute [rw] anomaly_id
17
+ # The unique identifier for the anomaly.
18
+ # @return [String]
19
+ #
20
+ # @!attribute [rw] anomaly_start_date
21
+ # The first day the anomaly is detected.
22
+ # @return [String]
23
+ #
24
+ # @!attribute [rw] anomaly_end_date
25
+ # The last day the anomaly is detected.
26
+ # @return [String]
27
+ #
28
+ # @!attribute [rw] dimension_value
29
+ # The dimension for the anomaly. For example, an AWS service in a
30
+ # service monitor.
31
+ # @return [String]
32
+ #
33
+ # @!attribute [rw] root_causes
34
+ # The list of identified root causes for the anomaly.
35
+ # @return [Array<Types::RootCause>]
36
+ #
37
+ # @!attribute [rw] anomaly_score
38
+ # The latest and maximum score for the anomaly.
39
+ # @return [Types::AnomalyScore]
40
+ #
41
+ # @!attribute [rw] impact
42
+ # The dollar impact for the anomaly.
43
+ # @return [Types::Impact]
44
+ #
45
+ # @!attribute [rw] monitor_arn
46
+ # The Amazon Resource Name (ARN) for the cost monitor that generated
47
+ # this anomaly.
48
+ # @return [String]
49
+ #
50
+ # @!attribute [rw] feedback
51
+ # The feedback value.
52
+ # @return [String]
53
+ #
54
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/Anomaly AWS API Documentation
55
+ #
56
+ class Anomaly < Struct.new(
57
+ :anomaly_id,
58
+ :anomaly_start_date,
59
+ :anomaly_end_date,
60
+ :dimension_value,
61
+ :root_causes,
62
+ :anomaly_score,
63
+ :impact,
64
+ :monitor_arn,
65
+ :feedback)
66
+ SENSITIVE = []
67
+ include Aws::Structure
68
+ end
69
+
70
+ # The time period for an anomaly.
71
+ #
72
+ # @note When making an API call, you may pass AnomalyDateInterval
73
+ # data as a hash:
74
+ #
75
+ # {
76
+ # start_date: "YearMonthDay", # required
77
+ # end_date: "YearMonthDay",
78
+ # }
79
+ #
80
+ # @!attribute [rw] start_date
81
+ # The first date an anomaly was observed.
82
+ # @return [String]
83
+ #
84
+ # @!attribute [rw] end_date
85
+ # The last date an anomaly was observed.
86
+ # @return [String]
87
+ #
88
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/AnomalyDateInterval AWS API Documentation
89
+ #
90
+ class AnomalyDateInterval < Struct.new(
91
+ :start_date,
92
+ :end_date)
93
+ SENSITIVE = []
94
+ include Aws::Structure
95
+ end
96
+
97
+ # This object continuously inspects your account's cost data for
98
+ # anomalies, based on `MonitorType` and `MonitorSpecification`. The
99
+ # content consists of detailed metadata and the current status of the
100
+ # monitor object.
101
+ #
102
+ # @note When making an API call, you may pass AnomalyMonitor
103
+ # data as a hash:
104
+ #
105
+ # {
106
+ # monitor_arn: "GenericString",
107
+ # monitor_name: "GenericString", # required
108
+ # creation_date: "YearMonthDay",
109
+ # last_updated_date: "YearMonthDay",
110
+ # last_evaluated_date: "YearMonthDay",
111
+ # monitor_type: "DIMENSIONAL", # required, accepts DIMENSIONAL, CUSTOM
112
+ # monitor_dimension: "SERVICE", # accepts SERVICE
113
+ # monitor_specification: {
114
+ # or: [
115
+ # {
116
+ # # recursive Expression
117
+ # },
118
+ # ],
119
+ # and: [
120
+ # {
121
+ # # recursive Expression
122
+ # },
123
+ # ],
124
+ # not: {
125
+ # # recursive Expression
126
+ # },
127
+ # dimensions: {
128
+ # key: "AZ", # accepts AZ, INSTANCE_TYPE, LINKED_ACCOUNT, LINKED_ACCOUNT_NAME, OPERATION, PURCHASE_TYPE, REGION, SERVICE, SERVICE_CODE, USAGE_TYPE, USAGE_TYPE_GROUP, RECORD_TYPE, OPERATING_SYSTEM, TENANCY, SCOPE, PLATFORM, SUBSCRIPTION_ID, LEGAL_ENTITY_NAME, DEPLOYMENT_OPTION, DATABASE_ENGINE, CACHE_ENGINE, INSTANCE_TYPE_FAMILY, BILLING_ENTITY, RESERVATION_ID, RESOURCE_ID, RIGHTSIZING_TYPE, SAVINGS_PLANS_TYPE, SAVINGS_PLAN_ARN, PAYMENT_OPTION
129
+ # values: ["Value"],
130
+ # match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
131
+ # },
132
+ # tags: {
133
+ # key: "TagKey",
134
+ # values: ["Value"],
135
+ # match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
136
+ # },
137
+ # cost_categories: {
138
+ # key: "CostCategoryName",
139
+ # values: ["Value"],
140
+ # },
141
+ # },
142
+ # dimensional_value_count: 1,
143
+ # }
144
+ #
145
+ # @!attribute [rw] monitor_arn
146
+ # The Amazon Resource Name (ARN) value.
147
+ # @return [String]
148
+ #
149
+ # @!attribute [rw] monitor_name
150
+ # The name of the monitor.
151
+ # @return [String]
152
+ #
153
+ # @!attribute [rw] creation_date
154
+ # The date when the monitor was created.
155
+ # @return [String]
156
+ #
157
+ # @!attribute [rw] last_updated_date
158
+ # The date when the monitor was last updated.
159
+ # @return [String]
160
+ #
161
+ # @!attribute [rw] last_evaluated_date
162
+ # The date when the monitor last evaluated for anomalies.
163
+ # @return [String]
164
+ #
165
+ # @!attribute [rw] monitor_type
166
+ # The possible type values.
167
+ # @return [String]
168
+ #
169
+ # @!attribute [rw] monitor_dimension
170
+ # The dimensions to evaluate.
171
+ # @return [String]
172
+ #
173
+ # @!attribute [rw] monitor_specification
174
+ # Use `Expression` to filter by cost or by usage. There are two
175
+ # patterns:
176
+ #
177
+ # * Simple dimension values - You can set the dimension name and
178
+ # values for the filters that you plan to use. For example, you can
179
+ # filter for `REGION==us-east-1 OR REGION==us-west-1`. The
180
+ # `Expression` for that looks like this:
181
+ #
182
+ # `\{ "Dimensions": \{ "Key": "REGION", "Values": [ "us-east-1",
183
+ # “us-west-1” ] \} \}`
184
+ #
185
+ # The list of dimension values are OR'd together to retrieve cost
186
+ # or usage data. You can create `Expression` and `DimensionValues`
187
+ # objects using either `with*` methods or `set*` methods in multiple
188
+ # lines.
189
+ #
190
+ # * Compound dimension values with logical operations - You can use
191
+ # multiple `Expression` types and the logical operators `AND/OR/NOT`
192
+ # to create a list of one or more `Expression` objects. This allows
193
+ # you to filter on more advanced options. For example, you can
194
+ # filter on `((REGION == us-east-1 OR REGION == us-west-1) OR
195
+ # (TAG.Type == Type1)) AND (USAGE_TYPE != DataTransfer)`. The
196
+ # `Expression` for that looks like this:
197
+ #
198
+ # `\{ "And": [ \{"Or": [ \{"Dimensions": \{ "Key": "REGION",
199
+ # "Values": [ "us-east-1", "us-west-1" ] \}\}, \{"Tags": \{ "Key":
200
+ # "TagName", "Values": ["Value1"] \} \} ]\}, \{"Not":
201
+ # \{"Dimensions": \{ "Key": "USAGE_TYPE", "Values": ["DataTransfer"]
202
+ # \}\}\} ] \} `
203
+ #
204
+ # <note markdown="1"> Because each `Expression` can have only one operator, the service
205
+ # returns an error if more than one is specified. The following
206
+ # example shows an `Expression` object that creates an error.
207
+ #
208
+ # </note>
209
+ #
210
+ # ` \{ "And": [ ... ], "DimensionValues": \{ "Dimension":
211
+ # "USAGE_TYPE", "Values": [ "DataTransfer" ] \} \} `
212
+ #
213
+ # <note markdown="1"> For `GetRightsizingRecommendation` action, a combination of OR and
214
+ # NOT is not supported. OR is not supported between different
215
+ # dimensions, or dimensions and tags. NOT operators aren't supported.
216
+ # Dimensions are also limited to `LINKED_ACCOUNT`, `REGION`, or
217
+ # `RIGHTSIZING_TYPE`.
218
+ #
219
+ # </note>
220
+ # @return [Types::Expression]
221
+ #
222
+ # @!attribute [rw] dimensional_value_count
223
+ # The value for evaluated dimensions.
224
+ # @return [Integer]
225
+ #
226
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/AnomalyMonitor AWS API Documentation
227
+ #
228
+ class AnomalyMonitor < Struct.new(
229
+ :monitor_arn,
230
+ :monitor_name,
231
+ :creation_date,
232
+ :last_updated_date,
233
+ :last_evaluated_date,
234
+ :monitor_type,
235
+ :monitor_dimension,
236
+ :monitor_specification,
237
+ :dimensional_value_count)
238
+ SENSITIVE = []
239
+ include Aws::Structure
240
+ end
241
+
242
+ # Quantifies the anomaly. The higher score means that it is more
243
+ # anomalous.
244
+ #
245
+ # @!attribute [rw] max_score
246
+ # The maximum score observed during the `AnomalyDateInterval`.
247
+ # @return [Float]
248
+ #
249
+ # @!attribute [rw] current_score
250
+ # The last observed score.
251
+ # @return [Float]
252
+ #
253
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/AnomalyScore AWS API Documentation
254
+ #
255
+ class AnomalyScore < Struct.new(
256
+ :max_score,
257
+ :current_score)
258
+ SENSITIVE = []
259
+ include Aws::Structure
260
+ end
261
+
262
+ # The association between a monitor, threshold, and list of subscribers
263
+ # used to deliver notifications about anomalies detected by a monitor
264
+ # that exceeds a threshold. The content consists of the detailed
265
+ # metadata and the current status of the `AnomalySubscription` object.
266
+ #
267
+ # @note When making an API call, you may pass AnomalySubscription
268
+ # data as a hash:
269
+ #
270
+ # {
271
+ # subscription_arn: "GenericString",
272
+ # account_id: "GenericString",
273
+ # monitor_arn_list: ["Value"], # required
274
+ # subscribers: [ # required
275
+ # {
276
+ # address: "SubscriberAddress",
277
+ # type: "EMAIL", # accepts EMAIL, SNS
278
+ # status: "CONFIRMED", # accepts CONFIRMED, DECLINED
279
+ # },
280
+ # ],
281
+ # threshold: 1.0, # required
282
+ # frequency: "DAILY", # required, accepts DAILY, IMMEDIATE, WEEKLY
283
+ # subscription_name: "GenericString", # required
284
+ # }
285
+ #
286
+ # @!attribute [rw] subscription_arn
287
+ # The `AnomalySubscription` Amazon Resource Name (ARN).
288
+ # @return [String]
289
+ #
290
+ # @!attribute [rw] account_id
291
+ # Your unique account identifier.
292
+ # @return [String]
293
+ #
294
+ # @!attribute [rw] monitor_arn_list
295
+ # A list of cost anomaly monitors.
296
+ # @return [Array<String>]
297
+ #
298
+ # @!attribute [rw] subscribers
299
+ # A list of subscribers to notify.
300
+ # @return [Array<Types::Subscriber>]
301
+ #
302
+ # @!attribute [rw] threshold
303
+ # The dollar value that triggers a notification if the threshold is
304
+ # exceeded.
305
+ # @return [Float]
306
+ #
307
+ # @!attribute [rw] frequency
308
+ # The frequency at which anomaly reports are sent over email.
309
+ # @return [String]
310
+ #
311
+ # @!attribute [rw] subscription_name
312
+ # The name for the subscription.
313
+ # @return [String]
314
+ #
315
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/AnomalySubscription AWS API Documentation
316
+ #
317
+ class AnomalySubscription < Struct.new(
318
+ :subscription_arn,
319
+ :account_id,
320
+ :monitor_arn_list,
321
+ :subscribers,
322
+ :threshold,
323
+ :frequency,
324
+ :subscription_name)
325
+ SENSITIVE = []
326
+ include Aws::Structure
327
+ end
328
+
11
329
  # The requested report expired. Update the date interval and try again.
12
330
  #
13
331
  # @!attribute [rw] message
@@ -17,6 +335,7 @@ module Aws::CostExplorer
17
335
  #
18
336
  class BillExpirationException < Struct.new(
19
337
  :message)
338
+ SENSITIVE = []
20
339
  include Aws::Structure
21
340
  end
22
341
 
@@ -58,6 +377,7 @@ module Aws::CostExplorer
58
377
  :name,
59
378
  :rule_version,
60
379
  :rules)
380
+ SENSITIVE = []
61
381
  include Aws::Structure
62
382
  end
63
383
 
@@ -95,6 +415,7 @@ module Aws::CostExplorer
95
415
  :effective_start,
96
416
  :effective_end,
97
417
  :number_of_rules)
418
+ SENSITIVE = []
98
419
  include Aws::Structure
99
420
  end
100
421
 
@@ -145,7 +466,7 @@ module Aws::CostExplorer
145
466
  #
146
467
  # @!attribute [rw] rule
147
468
  # An [Expression][1] object used to categorize costs. This supports
148
- # dimensions, Tags, and nested expressions. Currently the only
469
+ # dimensions, tags, and nested expressions. Currently the only
149
470
  # dimensions supported are `LINKED_ACCOUNT`, `SERVICE_CODE`,
150
471
  # `RECORD_TYPE`, and `LINKED_ACCOUNT_NAME`.
151
472
  #
@@ -169,6 +490,7 @@ module Aws::CostExplorer
169
490
  class CostCategoryRule < Struct.new(
170
491
  :value,
171
492
  :rule)
493
+ SENSITIVE = []
172
494
  include Aws::Structure
173
495
  end
174
496
 
@@ -195,6 +517,7 @@ module Aws::CostExplorer
195
517
  class CostCategoryValues < Struct.new(
196
518
  :key,
197
519
  :values)
520
+ SENSITIVE = []
198
521
  include Aws::Structure
199
522
  end
200
523
 
@@ -219,6 +542,7 @@ module Aws::CostExplorer
219
542
  :coverage_hours,
220
543
  :coverage_normalized_units,
221
544
  :coverage_cost)
545
+ SENSITIVE = []
222
546
  include Aws::Structure
223
547
  end
224
548
 
@@ -242,6 +566,7 @@ module Aws::CostExplorer
242
566
  :time_period,
243
567
  :groups,
244
568
  :total)
569
+ SENSITIVE = []
245
570
  include Aws::Structure
246
571
  end
247
572
 
@@ -255,6 +580,7 @@ module Aws::CostExplorer
255
580
  #
256
581
  class CoverageCost < Struct.new(
257
582
  :on_demand_cost)
583
+ SENSITIVE = []
258
584
  include Aws::Structure
259
585
  end
260
586
 
@@ -285,6 +611,7 @@ module Aws::CostExplorer
285
611
  :reserved_hours,
286
612
  :total_running_hours,
287
613
  :coverage_hours_percentage)
614
+ SENSITIVE = []
288
615
  include Aws::Structure
289
616
  end
290
617
 
@@ -330,6 +657,123 @@ module Aws::CostExplorer
330
657
  :reserved_normalized_units,
331
658
  :total_running_normalized_units,
332
659
  :coverage_normalized_units_percentage)
660
+ SENSITIVE = []
661
+ include Aws::Structure
662
+ end
663
+
664
+ # @note When making an API call, you may pass CreateAnomalyMonitorRequest
665
+ # data as a hash:
666
+ #
667
+ # {
668
+ # anomaly_monitor: { # required
669
+ # monitor_arn: "GenericString",
670
+ # monitor_name: "GenericString", # required
671
+ # creation_date: "YearMonthDay",
672
+ # last_updated_date: "YearMonthDay",
673
+ # last_evaluated_date: "YearMonthDay",
674
+ # monitor_type: "DIMENSIONAL", # required, accepts DIMENSIONAL, CUSTOM
675
+ # monitor_dimension: "SERVICE", # accepts SERVICE
676
+ # monitor_specification: {
677
+ # or: [
678
+ # {
679
+ # # recursive Expression
680
+ # },
681
+ # ],
682
+ # and: [
683
+ # {
684
+ # # recursive Expression
685
+ # },
686
+ # ],
687
+ # not: {
688
+ # # recursive Expression
689
+ # },
690
+ # dimensions: {
691
+ # key: "AZ", # accepts AZ, INSTANCE_TYPE, LINKED_ACCOUNT, LINKED_ACCOUNT_NAME, OPERATION, PURCHASE_TYPE, REGION, SERVICE, SERVICE_CODE, USAGE_TYPE, USAGE_TYPE_GROUP, RECORD_TYPE, OPERATING_SYSTEM, TENANCY, SCOPE, PLATFORM, SUBSCRIPTION_ID, LEGAL_ENTITY_NAME, DEPLOYMENT_OPTION, DATABASE_ENGINE, CACHE_ENGINE, INSTANCE_TYPE_FAMILY, BILLING_ENTITY, RESERVATION_ID, RESOURCE_ID, RIGHTSIZING_TYPE, SAVINGS_PLANS_TYPE, SAVINGS_PLAN_ARN, PAYMENT_OPTION
692
+ # values: ["Value"],
693
+ # match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
694
+ # },
695
+ # tags: {
696
+ # key: "TagKey",
697
+ # values: ["Value"],
698
+ # match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
699
+ # },
700
+ # cost_categories: {
701
+ # key: "CostCategoryName",
702
+ # values: ["Value"],
703
+ # },
704
+ # },
705
+ # dimensional_value_count: 1,
706
+ # },
707
+ # }
708
+ #
709
+ # @!attribute [rw] anomaly_monitor
710
+ # The cost anomaly detection monitor object that you want to create.
711
+ # @return [Types::AnomalyMonitor]
712
+ #
713
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CreateAnomalyMonitorRequest AWS API Documentation
714
+ #
715
+ class CreateAnomalyMonitorRequest < Struct.new(
716
+ :anomaly_monitor)
717
+ SENSITIVE = []
718
+ include Aws::Structure
719
+ end
720
+
721
+ # @!attribute [rw] monitor_arn
722
+ # The unique identifier of your newly created cost anomaly detection
723
+ # monitor.
724
+ # @return [String]
725
+ #
726
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CreateAnomalyMonitorResponse AWS API Documentation
727
+ #
728
+ class CreateAnomalyMonitorResponse < Struct.new(
729
+ :monitor_arn)
730
+ SENSITIVE = []
731
+ include Aws::Structure
732
+ end
733
+
734
+ # @note When making an API call, you may pass CreateAnomalySubscriptionRequest
735
+ # data as a hash:
736
+ #
737
+ # {
738
+ # anomaly_subscription: { # required
739
+ # subscription_arn: "GenericString",
740
+ # account_id: "GenericString",
741
+ # monitor_arn_list: ["Value"], # required
742
+ # subscribers: [ # required
743
+ # {
744
+ # address: "SubscriberAddress",
745
+ # type: "EMAIL", # accepts EMAIL, SNS
746
+ # status: "CONFIRMED", # accepts CONFIRMED, DECLINED
747
+ # },
748
+ # ],
749
+ # threshold: 1.0, # required
750
+ # frequency: "DAILY", # required, accepts DAILY, IMMEDIATE, WEEKLY
751
+ # subscription_name: "GenericString", # required
752
+ # },
753
+ # }
754
+ #
755
+ # @!attribute [rw] anomaly_subscription
756
+ # The cost anomaly subscription object that you want to create.
757
+ # @return [Types::AnomalySubscription]
758
+ #
759
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CreateAnomalySubscriptionRequest AWS API Documentation
760
+ #
761
+ class CreateAnomalySubscriptionRequest < Struct.new(
762
+ :anomaly_subscription)
763
+ SENSITIVE = []
764
+ include Aws::Structure
765
+ end
766
+
767
+ # @!attribute [rw] subscription_arn
768
+ # The unique identifier of your newly created cost anomaly
769
+ # subscription.
770
+ # @return [String]
771
+ #
772
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CreateAnomalySubscriptionResponse AWS API Documentation
773
+ #
774
+ class CreateAnomalySubscriptionResponse < Struct.new(
775
+ :subscription_arn)
776
+ SENSITIVE = []
333
777
  include Aws::Structure
334
778
  end
335
779
 
@@ -398,6 +842,7 @@ module Aws::CostExplorer
398
842
  :name,
399
843
  :rule_version,
400
844
  :rules)
845
+ SENSITIVE = []
401
846
  include Aws::Structure
402
847
  end
403
848
 
@@ -414,6 +859,7 @@ module Aws::CostExplorer
414
859
  class CreateCostCategoryDefinitionResponse < Struct.new(
415
860
  :cost_category_arn,
416
861
  :effective_start)
862
+ SENSITIVE = []
417
863
  include Aws::Structure
418
864
  end
419
865
 
@@ -423,6 +869,11 @@ module Aws::CostExplorer
423
869
  # Resource ID of the current instance.
424
870
  # @return [String]
425
871
  #
872
+ # @!attribute [rw] instance_name
873
+ # The name you've given an instance. This field will show as blank if
874
+ # you haven't given the instance a name.
875
+ # @return [String]
876
+ #
426
877
  # @!attribute [rw] tags
427
878
  # Cost allocation resource tags applied to the instance.
428
879
  # @return [Array<Types::TagValues>]
@@ -445,7 +896,7 @@ module Aws::CostExplorer
445
896
  # @return [String]
446
897
  #
447
898
  # @!attribute [rw] on_demand_hours_in_lookback_period
448
- # Number of hours during the lookback period billed at On Demand
899
+ # Number of hours during the lookback period billed at On-Demand
449
900
  # rates.
450
901
  # @return [String]
451
902
  #
@@ -455,19 +906,20 @@ module Aws::CostExplorer
455
906
  # @return [String]
456
907
  #
457
908
  # @!attribute [rw] monthly_cost
458
- # Current On Demand cost of operating this instance on a monthly
909
+ # Current On-Demand cost of operating this instance on a monthly
459
910
  # basis.
460
911
  # @return [String]
461
912
  #
462
913
  # @!attribute [rw] currency_code
463
- # The currency code that Amazon Web Services used to calculate the
464
- # costs for this instance.
914
+ # The currency code that AWS used to calculate the costs for this
915
+ # instance.
465
916
  # @return [String]
466
917
  #
467
918
  # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CurrentInstance AWS API Documentation
468
919
  #
469
920
  class CurrentInstance < Struct.new(
470
921
  :resource_id,
922
+ :instance_name,
471
923
  :tags,
472
924
  :resource_details,
473
925
  :resource_utilization,
@@ -477,6 +929,7 @@ module Aws::CostExplorer
477
929
  :total_running_hours_in_lookback_period,
478
930
  :monthly_cost,
479
931
  :currency_code)
932
+ SENSITIVE = []
480
933
  include Aws::Structure
481
934
  end
482
935
 
@@ -489,6 +942,7 @@ module Aws::CostExplorer
489
942
  #
490
943
  class DataUnavailableException < Struct.new(
491
944
  :message)
945
+ SENSITIVE = []
492
946
  include Aws::Structure
493
947
  end
494
948
 
@@ -521,9 +975,58 @@ module Aws::CostExplorer
521
975
  class DateInterval < Struct.new(
522
976
  :start,
523
977
  :end)
978
+ SENSITIVE = []
979
+ include Aws::Structure
980
+ end
981
+
982
+ # @note When making an API call, you may pass DeleteAnomalyMonitorRequest
983
+ # data as a hash:
984
+ #
985
+ # {
986
+ # monitor_arn: "GenericString", # required
987
+ # }
988
+ #
989
+ # @!attribute [rw] monitor_arn
990
+ # The unique identifier of the cost anomaly monitor that you want to
991
+ # delete.
992
+ # @return [String]
993
+ #
994
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/DeleteAnomalyMonitorRequest AWS API Documentation
995
+ #
996
+ class DeleteAnomalyMonitorRequest < Struct.new(
997
+ :monitor_arn)
998
+ SENSITIVE = []
999
+ include Aws::Structure
1000
+ end
1001
+
1002
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/DeleteAnomalyMonitorResponse AWS API Documentation
1003
+ #
1004
+ class DeleteAnomalyMonitorResponse < Aws::EmptyStructure; end
1005
+
1006
+ # @note When making an API call, you may pass DeleteAnomalySubscriptionRequest
1007
+ # data as a hash:
1008
+ #
1009
+ # {
1010
+ # subscription_arn: "GenericString", # required
1011
+ # }
1012
+ #
1013
+ # @!attribute [rw] subscription_arn
1014
+ # The unique identifier of the cost anomaly subscription that you want
1015
+ # to delete.
1016
+ # @return [String]
1017
+ #
1018
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/DeleteAnomalySubscriptionRequest AWS API Documentation
1019
+ #
1020
+ class DeleteAnomalySubscriptionRequest < Struct.new(
1021
+ :subscription_arn)
1022
+ SENSITIVE = []
524
1023
  include Aws::Structure
525
1024
  end
526
1025
 
1026
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/DeleteAnomalySubscriptionResponse AWS API Documentation
1027
+ #
1028
+ class DeleteAnomalySubscriptionResponse < Aws::EmptyStructure; end
1029
+
527
1030
  # @note When making an API call, you may pass DeleteCostCategoryDefinitionRequest
528
1031
  # data as a hash:
529
1032
  #
@@ -539,6 +1042,7 @@ module Aws::CostExplorer
539
1042
  #
540
1043
  class DeleteCostCategoryDefinitionRequest < Struct.new(
541
1044
  :cost_category_arn)
1045
+ SENSITIVE = []
542
1046
  include Aws::Structure
543
1047
  end
544
1048
 
@@ -557,6 +1061,7 @@ module Aws::CostExplorer
557
1061
  class DeleteCostCategoryDefinitionResponse < Struct.new(
558
1062
  :cost_category_arn,
559
1063
  :effective_end)
1064
+ SENSITIVE = []
560
1065
  include Aws::Structure
561
1066
  end
562
1067
 
@@ -581,6 +1086,7 @@ module Aws::CostExplorer
581
1086
  class DescribeCostCategoryDefinitionRequest < Struct.new(
582
1087
  :cost_category_arn,
583
1088
  :effective_on)
1089
+ SENSITIVE = []
584
1090
  include Aws::Structure
585
1091
  end
586
1092
 
@@ -593,6 +1099,7 @@ module Aws::CostExplorer
593
1099
  #
594
1100
  class DescribeCostCategoryDefinitionResponse < Struct.new(
595
1101
  :cost_category)
1102
+ SENSITIVE = []
596
1103
  include Aws::Structure
597
1104
  end
598
1105
 
@@ -622,7 +1129,7 @@ module Aws::CostExplorer
622
1129
  # @!attribute [rw] match_options
623
1130
  # The match options that you can use to filter your results.
624
1131
  # `MatchOptions` is only applicable for actions related to Cost
625
- # Category. The default values for `MatchOptions` is `EQUALS` and
1132
+ # Category. The default values for `MatchOptions` are `EQUALS` and
626
1133
  # `CASE_SENSITIVE`.
627
1134
  # @return [Array<String>]
628
1135
  #
@@ -632,6 +1139,7 @@ module Aws::CostExplorer
632
1139
  :key,
633
1140
  :values,
634
1141
  :match_options)
1142
+ SENSITIVE = []
635
1143
  include Aws::Structure
636
1144
  end
637
1145
 
@@ -652,6 +1160,7 @@ module Aws::CostExplorer
652
1160
  class DimensionValuesWithAttributes < Struct.new(
653
1161
  :value,
654
1162
  :attributes)
1163
+ SENSITIVE = []
655
1164
  include Aws::Structure
656
1165
  end
657
1166
 
@@ -703,27 +1212,28 @@ module Aws::CostExplorer
703
1212
  :tenancy,
704
1213
  :current_generation,
705
1214
  :size_flex_eligible)
1215
+ SENSITIVE = []
706
1216
  include Aws::Structure
707
1217
  end
708
1218
 
709
1219
  # Details on the Amazon EC2 Resource.
710
1220
  #
711
1221
  # @!attribute [rw] hourly_on_demand_rate
712
- # Hourly public On Demand rate for the instance type.
1222
+ # Hourly public On-Demand rate for the instance type.
713
1223
  # @return [String]
714
1224
  #
715
1225
  # @!attribute [rw] instance_type
716
- # The type of Amazon Web Services instance.
1226
+ # The type of AWS instance.
717
1227
  # @return [String]
718
1228
  #
719
1229
  # @!attribute [rw] platform
720
- # The platform of the Amazon Web Services instance. The platform is
721
- # the specific combination of operating system, license model, and
722
- # software on an instance.
1230
+ # The platform of the AWS instance. The platform is the specific
1231
+ # combination of operating system, license model, and software on an
1232
+ # instance.
723
1233
  # @return [String]
724
1234
  #
725
1235
  # @!attribute [rw] region
726
- # The Amazon Web Services Region of the instance.
1236
+ # The AWS Region of the instance.
727
1237
  # @return [String]
728
1238
  #
729
1239
  # @!attribute [rw] sku
@@ -731,20 +1241,19 @@ module Aws::CostExplorer
731
1241
  # @return [String]
732
1242
  #
733
1243
  # @!attribute [rw] memory
734
- # Memory capacity of Amazon Web Services instance.
1244
+ # Memory capacity of the AWS instance.
735
1245
  # @return [String]
736
1246
  #
737
1247
  # @!attribute [rw] network_performance
738
- # Network performance capacity of the Amazon Web Services instance.
1248
+ # Network performance capacity of the AWS instance.
739
1249
  # @return [String]
740
1250
  #
741
1251
  # @!attribute [rw] storage
742
- # The disk storage of the Amazon Web Services instance (Not EBS
743
- # storage).
1252
+ # The disk storage of the AWS instance (not EBS storage).
744
1253
  # @return [String]
745
1254
  #
746
1255
  # @!attribute [rw] vcpu
747
- # Number of VCPU cores in the Amazon Web Services instance type.
1256
+ # Number of VCPU cores in the AWS instance type.
748
1257
  # @return [String]
749
1258
  #
750
1259
  # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/EC2ResourceDetails AWS API Documentation
@@ -759,6 +1268,7 @@ module Aws::CostExplorer
759
1268
  :network_performance,
760
1269
  :storage,
761
1270
  :vcpu)
1271
+ SENSITIVE = []
762
1272
  include Aws::Structure
763
1273
  end
764
1274
 
@@ -783,6 +1293,7 @@ module Aws::CostExplorer
783
1293
  :max_cpu_utilization_percentage,
784
1294
  :max_memory_utilization_percentage,
785
1295
  :max_storage_utilization_percentage)
1296
+ SENSITIVE = []
786
1297
  include Aws::Structure
787
1298
  end
788
1299
 
@@ -805,6 +1316,7 @@ module Aws::CostExplorer
805
1316
  #
806
1317
  class EC2Specification < Struct.new(
807
1318
  :offering_class)
1319
+ SENSITIVE = []
808
1320
  include Aws::Structure
809
1321
  end
810
1322
 
@@ -839,6 +1351,7 @@ module Aws::CostExplorer
839
1351
  :region,
840
1352
  :current_generation,
841
1353
  :size_flex_eligible)
1354
+ SENSITIVE = []
842
1355
  include Aws::Structure
843
1356
  end
844
1357
 
@@ -878,6 +1391,7 @@ module Aws::CostExplorer
878
1391
  :product_description,
879
1392
  :current_generation,
880
1393
  :size_flex_eligible)
1394
+ SENSITIVE = []
881
1395
  include Aws::Structure
882
1396
  end
883
1397
 
@@ -1029,67 +1543,264 @@ module Aws::CostExplorer
1029
1543
  # },
1030
1544
  # }
1031
1545
  #
1032
- # @!attribute [rw] or
1033
- # Return results that match either `Dimension` object.
1034
- # @return [Array<Types::Expression>]
1546
+ # @!attribute [rw] or
1547
+ # Return results that match either `Dimension` object.
1548
+ # @return [Array<Types::Expression>]
1549
+ #
1550
+ # @!attribute [rw] and
1551
+ # Return results that match both `Dimension` objects.
1552
+ # @return [Array<Types::Expression>]
1553
+ #
1554
+ # @!attribute [rw] not
1555
+ # Return results that don't match a `Dimension` object.
1556
+ # @return [Types::Expression]
1557
+ #
1558
+ # @!attribute [rw] dimensions
1559
+ # The specific `Dimension` to use for `Expression`.
1560
+ # @return [Types::DimensionValues]
1561
+ #
1562
+ # @!attribute [rw] tags
1563
+ # The specific `Tag` to use for `Expression`.
1564
+ # @return [Types::TagValues]
1565
+ #
1566
+ # @!attribute [rw] cost_categories
1567
+ # The filter based on `CostCategory` values.
1568
+ # @return [Types::CostCategoryValues]
1569
+ #
1570
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/Expression AWS API Documentation
1571
+ #
1572
+ class Expression < Struct.new(
1573
+ :or,
1574
+ :and,
1575
+ :not,
1576
+ :dimensions,
1577
+ :tags,
1578
+ :cost_categories)
1579
+ SENSITIVE = []
1580
+ include Aws::Structure
1581
+ end
1582
+
1583
+ # The forecast created for your query.
1584
+ #
1585
+ # @!attribute [rw] time_period
1586
+ # The period of time that the forecast covers.
1587
+ # @return [Types::DateInterval]
1588
+ #
1589
+ # @!attribute [rw] mean_value
1590
+ # The mean value of the forecast.
1591
+ # @return [String]
1592
+ #
1593
+ # @!attribute [rw] prediction_interval_lower_bound
1594
+ # The lower limit for the prediction interval.
1595
+ # @return [String]
1596
+ #
1597
+ # @!attribute [rw] prediction_interval_upper_bound
1598
+ # The upper limit for the prediction interval.
1599
+ # @return [String]
1600
+ #
1601
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ForecastResult AWS API Documentation
1602
+ #
1603
+ class ForecastResult < Struct.new(
1604
+ :time_period,
1605
+ :mean_value,
1606
+ :prediction_interval_lower_bound,
1607
+ :prediction_interval_upper_bound)
1608
+ SENSITIVE = []
1609
+ include Aws::Structure
1610
+ end
1611
+
1612
+ # @note When making an API call, you may pass GetAnomaliesRequest
1613
+ # data as a hash:
1614
+ #
1615
+ # {
1616
+ # monitor_arn: "GenericString",
1617
+ # date_interval: { # required
1618
+ # start_date: "YearMonthDay", # required
1619
+ # end_date: "YearMonthDay",
1620
+ # },
1621
+ # feedback: "YES", # accepts YES, NO, PLANNED_ACTIVITY
1622
+ # total_impact: {
1623
+ # numeric_operator: "EQUAL", # required, accepts EQUAL, GREATER_THAN_OR_EQUAL, LESS_THAN_OR_EQUAL, GREATER_THAN, LESS_THAN, BETWEEN
1624
+ # start_value: 1.0, # required
1625
+ # end_value: 1.0,
1626
+ # },
1627
+ # next_page_token: "NextPageToken",
1628
+ # max_results: 1,
1629
+ # }
1630
+ #
1631
+ # @!attribute [rw] monitor_arn
1632
+ # Retrieves all of the cost anomalies detected for a specific cost
1633
+ # anomaly monitor Amazon Resource Name (ARN).
1634
+ # @return [String]
1635
+ #
1636
+ # @!attribute [rw] date_interval
1637
+ # Assigns the start and end dates for retrieving cost anomalies. The
1638
+ # returned anomaly object will have an `AnomalyEndDate` in the
1639
+ # specified time range.
1640
+ # @return [Types::AnomalyDateInterval]
1641
+ #
1642
+ # @!attribute [rw] feedback
1643
+ # Filters anomaly results by the feedback field on the anomaly object.
1644
+ # @return [String]
1645
+ #
1646
+ # @!attribute [rw] total_impact
1647
+ # Filters anomaly results by the total impact field on the anomaly
1648
+ # object. For example, you can filter anomalies `GREATER_THAN 200.00`
1649
+ # to retrieve anomalies, with an estimated dollar impact greater than
1650
+ # 200.
1651
+ # @return [Types::TotalImpactFilter]
1652
+ #
1653
+ # @!attribute [rw] next_page_token
1654
+ # The token to retrieve the next set of results. AWS provides the
1655
+ # token when the response from a previous call has more results than
1656
+ # the maximum page size.
1657
+ # @return [String]
1658
+ #
1659
+ # @!attribute [rw] max_results
1660
+ # The number of entries a paginated response contains.
1661
+ # @return [Integer]
1662
+ #
1663
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetAnomaliesRequest AWS API Documentation
1664
+ #
1665
+ class GetAnomaliesRequest < Struct.new(
1666
+ :monitor_arn,
1667
+ :date_interval,
1668
+ :feedback,
1669
+ :total_impact,
1670
+ :next_page_token,
1671
+ :max_results)
1672
+ SENSITIVE = []
1673
+ include Aws::Structure
1674
+ end
1675
+
1676
+ # @!attribute [rw] anomalies
1677
+ # A list of cost anomalies.
1678
+ # @return [Array<Types::Anomaly>]
1679
+ #
1680
+ # @!attribute [rw] next_page_token
1681
+ # The token to retrieve the next set of results. AWS provides the
1682
+ # token when the response from a previous call has more results than
1683
+ # the maximum page size.
1684
+ # @return [String]
1685
+ #
1686
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetAnomaliesResponse AWS API Documentation
1687
+ #
1688
+ class GetAnomaliesResponse < Struct.new(
1689
+ :anomalies,
1690
+ :next_page_token)
1691
+ SENSITIVE = []
1692
+ include Aws::Structure
1693
+ end
1694
+
1695
+ # @note When making an API call, you may pass GetAnomalyMonitorsRequest
1696
+ # data as a hash:
1697
+ #
1698
+ # {
1699
+ # monitor_arn_list: ["Value"],
1700
+ # next_page_token: "NextPageToken",
1701
+ # max_results: 1,
1702
+ # }
1703
+ #
1704
+ # @!attribute [rw] monitor_arn_list
1705
+ # A list of cost anomaly monitor ARNs.
1706
+ # @return [Array<String>]
1035
1707
  #
1036
- # @!attribute [rw] and
1037
- # Return results that match both `Dimension` objects.
1038
- # @return [Array<Types::Expression>]
1708
+ # @!attribute [rw] next_page_token
1709
+ # The token to retrieve the next set of results. AWS provides the
1710
+ # token when the response from a previous call has more results than
1711
+ # the maximum page size.
1712
+ # @return [String]
1039
1713
  #
1040
- # @!attribute [rw] not
1041
- # Return results that don't match a `Dimension` object.
1042
- # @return [Types::Expression]
1714
+ # @!attribute [rw] max_results
1715
+ # The number of entries a paginated response contains.
1716
+ # @return [Integer]
1043
1717
  #
1044
- # @!attribute [rw] dimensions
1045
- # The specific `Dimension` to use for `Expression`.
1046
- # @return [Types::DimensionValues]
1718
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetAnomalyMonitorsRequest AWS API Documentation
1047
1719
  #
1048
- # @!attribute [rw] tags
1049
- # The specific `Tag` to use for `Expression`.
1050
- # @return [Types::TagValues]
1720
+ class GetAnomalyMonitorsRequest < Struct.new(
1721
+ :monitor_arn_list,
1722
+ :next_page_token,
1723
+ :max_results)
1724
+ SENSITIVE = []
1725
+ include Aws::Structure
1726
+ end
1727
+
1728
+ # @!attribute [rw] anomaly_monitors
1729
+ # A list of cost anomaly monitors that includes the detailed metadata
1730
+ # for each monitor.
1731
+ # @return [Array<Types::AnomalyMonitor>]
1051
1732
  #
1052
- # @!attribute [rw] cost_categories
1053
- # The filter based on `CostCategory` values.
1054
- # @return [Types::CostCategoryValues]
1733
+ # @!attribute [rw] next_page_token
1734
+ # The token to retrieve the next set of results. AWS provides the
1735
+ # token when the response from a previous call has more results than
1736
+ # the maximum page size.
1737
+ # @return [String]
1055
1738
  #
1056
- # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/Expression AWS API Documentation
1739
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetAnomalyMonitorsResponse AWS API Documentation
1057
1740
  #
1058
- class Expression < Struct.new(
1059
- :or,
1060
- :and,
1061
- :not,
1062
- :dimensions,
1063
- :tags,
1064
- :cost_categories)
1741
+ class GetAnomalyMonitorsResponse < Struct.new(
1742
+ :anomaly_monitors,
1743
+ :next_page_token)
1744
+ SENSITIVE = []
1065
1745
  include Aws::Structure
1066
1746
  end
1067
1747
 
1068
- # The forecast created for your query.
1748
+ # @note When making an API call, you may pass GetAnomalySubscriptionsRequest
1749
+ # data as a hash:
1069
1750
  #
1070
- # @!attribute [rw] time_period
1071
- # The period of time that the forecast covers.
1072
- # @return [Types::DateInterval]
1751
+ # {
1752
+ # subscription_arn_list: ["Value"],
1753
+ # monitor_arn: "GenericString",
1754
+ # next_page_token: "NextPageToken",
1755
+ # max_results: 1,
1756
+ # }
1073
1757
  #
1074
- # @!attribute [rw] mean_value
1075
- # The mean value of the forecast.
1758
+ # @!attribute [rw] subscription_arn_list
1759
+ # A list of cost anomaly subscription ARNs.
1760
+ # @return [Array<String>]
1761
+ #
1762
+ # @!attribute [rw] monitor_arn
1763
+ # Cost anomaly monitor ARNs.
1076
1764
  # @return [String]
1077
1765
  #
1078
- # @!attribute [rw] prediction_interval_lower_bound
1079
- # The lower limit for the prediction interval.
1766
+ # @!attribute [rw] next_page_token
1767
+ # The token to retrieve the next set of results. AWS provides the
1768
+ # token when the response from a previous call has more results than
1769
+ # the maximum page size.
1080
1770
  # @return [String]
1081
1771
  #
1082
- # @!attribute [rw] prediction_interval_upper_bound
1083
- # The upper limit for the prediction interval.
1772
+ # @!attribute [rw] max_results
1773
+ # The number of entries a paginated response contains.
1774
+ # @return [Integer]
1775
+ #
1776
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetAnomalySubscriptionsRequest AWS API Documentation
1777
+ #
1778
+ class GetAnomalySubscriptionsRequest < Struct.new(
1779
+ :subscription_arn_list,
1780
+ :monitor_arn,
1781
+ :next_page_token,
1782
+ :max_results)
1783
+ SENSITIVE = []
1784
+ include Aws::Structure
1785
+ end
1786
+
1787
+ # @!attribute [rw] anomaly_subscriptions
1788
+ # A list of cost anomaly subscriptions that includes the detailed
1789
+ # metadata for each one.
1790
+ # @return [Array<Types::AnomalySubscription>]
1791
+ #
1792
+ # @!attribute [rw] next_page_token
1793
+ # The token to retrieve the next set of results. AWS provides the
1794
+ # token when the response from a previous call has more results than
1795
+ # the maximum page size.
1084
1796
  # @return [String]
1085
1797
  #
1086
- # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ForecastResult AWS API Documentation
1798
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetAnomalySubscriptionsResponse AWS API Documentation
1087
1799
  #
1088
- class ForecastResult < Struct.new(
1089
- :time_period,
1090
- :mean_value,
1091
- :prediction_interval_lower_bound,
1092
- :prediction_interval_upper_bound)
1800
+ class GetAnomalySubscriptionsResponse < Struct.new(
1801
+ :anomaly_subscriptions,
1802
+ :next_page_token)
1803
+ SENSITIVE = []
1093
1804
  include Aws::Structure
1094
1805
  end
1095
1806
 
@@ -1131,7 +1842,7 @@ module Aws::CostExplorer
1131
1842
  # values: ["Value"],
1132
1843
  # },
1133
1844
  # },
1134
- # metrics: ["MetricName"],
1845
+ # metrics: ["MetricName"], # required
1135
1846
  # group_by: [
1136
1847
  # {
1137
1848
  # type: "DIMENSION", # accepts DIMENSION, TAG, COST_CATEGORY
@@ -1195,7 +1906,7 @@ module Aws::CostExplorer
1195
1906
  #
1196
1907
  # @!attribute [rw] group_by
1197
1908
  # You can group AWS costs using up to two different groups, either
1198
- # dimensions, tag keys, or both.
1909
+ # dimensions, tag keys, cost categories, or any two group by types.
1199
1910
  #
1200
1911
  # When you group by tag key, you get all tag values, including empty
1201
1912
  # strings.
@@ -1220,6 +1931,7 @@ module Aws::CostExplorer
1220
1931
  :metrics,
1221
1932
  :group_by,
1222
1933
  :next_page_token)
1934
+ SENSITIVE = []
1223
1935
  include Aws::Structure
1224
1936
  end
1225
1937
 
@@ -1244,6 +1956,7 @@ module Aws::CostExplorer
1244
1956
  :next_page_token,
1245
1957
  :group_definitions,
1246
1958
  :results_by_time)
1959
+ SENSITIVE = []
1247
1960
  include Aws::Structure
1248
1961
  end
1249
1962
 
@@ -1256,7 +1969,7 @@ module Aws::CostExplorer
1256
1969
  # end: "YearMonthDay", # required
1257
1970
  # },
1258
1971
  # granularity: "DAILY", # accepts DAILY, MONTHLY, HOURLY
1259
- # filter: {
1972
+ # filter: { # required
1260
1973
  # or: [
1261
1974
  # {
1262
1975
  # # recursive Expression
@@ -1319,7 +2032,9 @@ module Aws::CostExplorer
1319
2032
  # of dimension filters. For more information, see [Expression][1].
1320
2033
  #
1321
2034
  # The `GetCostAndUsageWithResources` operation requires that you
1322
- # either group by or filter by a `ResourceId`.
2035
+ # either group by or filter by a `ResourceId`. It requires the
2036
+ # [Expression][1] `"SERVICE = Amazon Elastic Compute Cloud - Compute"`
2037
+ # in the filter.
1323
2038
  #
1324
2039
  #
1325
2040
  #
@@ -1372,6 +2087,7 @@ module Aws::CostExplorer
1372
2087
  :metrics,
1373
2088
  :group_by,
1374
2089
  :next_page_token)
2090
+ SENSITIVE = []
1375
2091
  include Aws::Structure
1376
2092
  end
1377
2093
 
@@ -1396,6 +2112,7 @@ module Aws::CostExplorer
1396
2112
  :next_page_token,
1397
2113
  :group_definitions,
1398
2114
  :results_by_time)
2115
+ SENSITIVE = []
1399
2116
  include Aws::Structure
1400
2117
  end
1401
2118
 
@@ -1442,7 +2159,9 @@ module Aws::CostExplorer
1442
2159
  # }
1443
2160
  #
1444
2161
  # @!attribute [rw] time_period
1445
- # The period of time that you want the forecast to cover.
2162
+ # The period of time that you want the forecast to cover. The start
2163
+ # date must be equal to or no later than the current date to avoid a
2164
+ # validation error.
1446
2165
  # @return [Types::DateInterval]
1447
2166
  #
1448
2167
  # @!attribute [rw] metric
@@ -1497,6 +2216,7 @@ module Aws::CostExplorer
1497
2216
  :granularity,
1498
2217
  :filter,
1499
2218
  :prediction_interval_level)
2219
+ SENSITIVE = []
1500
2220
  include Aws::Structure
1501
2221
  end
1502
2222
 
@@ -1516,6 +2236,7 @@ module Aws::CostExplorer
1516
2236
  class GetCostForecastResponse < Struct.new(
1517
2237
  :total,
1518
2238
  :forecast_results_by_time)
2239
+ SENSITIVE = []
1519
2240
  include Aws::Structure
1520
2241
  end
1521
2242
 
@@ -1600,6 +2321,8 @@ module Aws::CostExplorer
1600
2321
  # example is Amazon EC2: CloudWatch – Alarms. The response for this
1601
2322
  # operation includes a unit attribute.
1602
2323
  #
2324
+ # * REGION - The AWS Region.
2325
+ #
1603
2326
  # * RECORD\_TYPE - The different types of charges such as RI fees,
1604
2327
  # usage costs, tax refunds, and credits.
1605
2328
  #
@@ -1674,6 +2397,7 @@ module Aws::CostExplorer
1674
2397
  :dimension,
1675
2398
  :context,
1676
2399
  :next_page_token)
2400
+ SENSITIVE = []
1677
2401
  include Aws::Structure
1678
2402
  end
1679
2403
 
@@ -1803,6 +2527,7 @@ module Aws::CostExplorer
1803
2527
  :return_size,
1804
2528
  :total_size,
1805
2529
  :next_page_token)
2530
+ SENSITIVE = []
1806
2531
  include Aws::Structure
1807
2532
  end
1808
2533
 
@@ -1968,6 +2693,7 @@ module Aws::CostExplorer
1968
2693
  :filter,
1969
2694
  :metrics,
1970
2695
  :next_page_token)
2696
+ SENSITIVE = []
1971
2697
  include Aws::Structure
1972
2698
  end
1973
2699
 
@@ -1991,6 +2717,7 @@ module Aws::CostExplorer
1991
2717
  :coverages_by_time,
1992
2718
  :total,
1993
2719
  :next_page_token)
2720
+ SENSITIVE = []
1994
2721
  include Aws::Structure
1995
2722
  end
1996
2723
 
@@ -2070,6 +2797,7 @@ module Aws::CostExplorer
2070
2797
  :service_specification,
2071
2798
  :page_size,
2072
2799
  :next_page_token)
2800
+ SENSITIVE = []
2073
2801
  include Aws::Structure
2074
2802
  end
2075
2803
 
@@ -2092,6 +2820,7 @@ module Aws::CostExplorer
2092
2820
  :metadata,
2093
2821
  :recommendations,
2094
2822
  :next_page_token)
2823
+ SENSITIVE = []
2095
2824
  include Aws::Structure
2096
2825
  end
2097
2826
 
@@ -2214,6 +2943,7 @@ module Aws::CostExplorer
2214
2943
  :granularity,
2215
2944
  :filter,
2216
2945
  :next_page_token)
2946
+ SENSITIVE = []
2217
2947
  include Aws::Structure
2218
2948
  end
2219
2949
 
@@ -2237,6 +2967,7 @@ module Aws::CostExplorer
2237
2967
  :utilizations_by_time,
2238
2968
  :total,
2239
2969
  :next_page_token)
2970
+ SENSITIVE = []
2240
2971
  include Aws::Structure
2241
2972
  end
2242
2973
 
@@ -2337,7 +3068,7 @@ module Aws::CostExplorer
2337
3068
  # instance families or across different instance families. You can
2338
3069
  # also choose to view your estimated savings associated with
2339
3070
  # recommendations with consideration of existing Savings Plans or RI
2340
- # benefits, or niether.
3071
+ # benefits, or neither.
2341
3072
  # @return [Types::RightsizingRecommendationConfiguration]
2342
3073
  #
2343
3074
  # @!attribute [rw] service
@@ -2363,6 +3094,7 @@ module Aws::CostExplorer
2363
3094
  :service,
2364
3095
  :page_size,
2365
3096
  :next_page_token)
3097
+ SENSITIVE = []
2366
3098
  include Aws::Structure
2367
3099
  end
2368
3100
 
@@ -2388,7 +3120,7 @@ module Aws::CostExplorer
2388
3120
  # instance families or across different instance families. You can
2389
3121
  # also choose to view your estimated savings associated with
2390
3122
  # recommendations with consideration of existing Savings Plans or RI
2391
- # benefits, or niether.
3123
+ # benefits, or neither.
2392
3124
  # @return [Types::RightsizingRecommendationConfiguration]
2393
3125
  #
2394
3126
  # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetRightsizingRecommendationResponse AWS API Documentation
@@ -2399,6 +3131,7 @@ module Aws::CostExplorer
2399
3131
  :rightsizing_recommendations,
2400
3132
  :next_page_token,
2401
3133
  :configuration)
3134
+ SENSITIVE = []
2402
3135
  include Aws::Structure
2403
3136
  end
2404
3137
 
@@ -2521,6 +3254,7 @@ module Aws::CostExplorer
2521
3254
  :metrics,
2522
3255
  :next_token,
2523
3256
  :max_results)
3257
+ SENSITIVE = []
2524
3258
  include Aws::Structure
2525
3259
  end
2526
3260
 
@@ -2539,6 +3273,7 @@ module Aws::CostExplorer
2539
3273
  class GetSavingsPlansCoverageResponse < Struct.new(
2540
3274
  :savings_plans_coverages,
2541
3275
  :next_token)
3276
+ SENSITIVE = []
2542
3277
  include Aws::Structure
2543
3278
  end
2544
3279
 
@@ -2589,7 +3324,7 @@ module Aws::CostExplorer
2589
3324
  # @return [String]
2590
3325
  #
2591
3326
  # @!attribute [rw] term_in_years
2592
- # The savings plan recommendation term used to generated these
3327
+ # The savings plan recommendation term used to generate these
2593
3328
  # recommendations.
2594
3329
  # @return [String]
2595
3330
  #
@@ -2646,6 +3381,7 @@ module Aws::CostExplorer
2646
3381
  :page_size,
2647
3382
  :lookback_period_in_days,
2648
3383
  :filter)
3384
+ SENSITIVE = []
2649
3385
  include Aws::Structure
2650
3386
  end
2651
3387
 
@@ -2670,6 +3406,7 @@ module Aws::CostExplorer
2670
3406
  :metadata,
2671
3407
  :savings_plans_purchase_recommendation,
2672
3408
  :next_page_token)
3409
+ SENSITIVE = []
2673
3410
  include Aws::Structure
2674
3411
  end
2675
3412
 
@@ -2762,6 +3499,7 @@ module Aws::CostExplorer
2762
3499
  :filter,
2763
3500
  :next_token,
2764
3501
  :max_results)
3502
+ SENSITIVE = []
2765
3503
  include Aws::Structure
2766
3504
  end
2767
3505
 
@@ -2791,6 +3529,7 @@ module Aws::CostExplorer
2791
3529
  :total,
2792
3530
  :time_period,
2793
3531
  :next_token)
3532
+ SENSITIVE = []
2794
3533
  include Aws::Structure
2795
3534
  end
2796
3535
 
@@ -2880,6 +3619,7 @@ module Aws::CostExplorer
2880
3619
  :time_period,
2881
3620
  :granularity,
2882
3621
  :filter)
3622
+ SENSITIVE = []
2883
3623
  include Aws::Structure
2884
3624
  end
2885
3625
 
@@ -2898,6 +3638,7 @@ module Aws::CostExplorer
2898
3638
  class GetSavingsPlansUtilizationResponse < Struct.new(
2899
3639
  :savings_plans_utilizations_by_time,
2900
3640
  :total)
3641
+ SENSITIVE = []
2901
3642
  include Aws::Structure
2902
3643
  end
2903
3644
 
@@ -2943,6 +3684,7 @@ module Aws::CostExplorer
2943
3684
  :time_period,
2944
3685
  :tag_key,
2945
3686
  :next_page_token)
3687
+ SENSITIVE = []
2946
3688
  include Aws::Structure
2947
3689
  end
2948
3690
 
@@ -2971,6 +3713,7 @@ module Aws::CostExplorer
2971
3713
  :tags,
2972
3714
  :return_size,
2973
3715
  :total_size)
3716
+ SENSITIVE = []
2974
3717
  include Aws::Structure
2975
3718
  end
2976
3719
 
@@ -3022,7 +3765,8 @@ module Aws::CostExplorer
3022
3765
  # exclusive. For example, if `start` is `2017-01-01` and `end` is
3023
3766
  # `2017-05-01`, then the cost and usage data is retrieved from
3024
3767
  # `2017-01-01` up to and including `2017-04-30` but not including
3025
- # `2017-05-01`.
3768
+ # `2017-05-01`. The start date must be equal to or later than the
3769
+ # current date to avoid a validation error.
3026
3770
  # @return [Types::DateInterval]
3027
3771
  #
3028
3772
  # @!attribute [rw] metric
@@ -3065,6 +3809,7 @@ module Aws::CostExplorer
3065
3809
  :granularity,
3066
3810
  :filter,
3067
3811
  :prediction_interval_level)
3812
+ SENSITIVE = []
3068
3813
  include Aws::Structure
3069
3814
  end
3070
3815
 
@@ -3083,6 +3828,7 @@ module Aws::CostExplorer
3083
3828
  class GetUsageForecastResponse < Struct.new(
3084
3829
  :total,
3085
3830
  :forecast_results_by_time)
3831
+ SENSITIVE = []
3086
3832
  include Aws::Structure
3087
3833
  end
3088
3834
 
@@ -3101,6 +3847,7 @@ module Aws::CostExplorer
3101
3847
  class Group < Struct.new(
3102
3848
  :keys,
3103
3849
  :metrics)
3850
+ SENSITIVE = []
3104
3851
  include Aws::Structure
3105
3852
  end
3106
3853
 
@@ -3128,6 +3875,26 @@ module Aws::CostExplorer
3128
3875
  class GroupDefinition < Struct.new(
3129
3876
  :type,
3130
3877
  :key)
3878
+ SENSITIVE = []
3879
+ include Aws::Structure
3880
+ end
3881
+
3882
+ # The anomaly's dollar value.
3883
+ #
3884
+ # @!attribute [rw] max_impact
3885
+ # The maximum dollar value observed for an anomaly.
3886
+ # @return [Float]
3887
+ #
3888
+ # @!attribute [rw] total_impact
3889
+ # The cumulative dollar value observed for an anomaly.
3890
+ # @return [Float]
3891
+ #
3892
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/Impact AWS API Documentation
3893
+ #
3894
+ class Impact < Struct.new(
3895
+ :max_impact,
3896
+ :total_impact)
3897
+ SENSITIVE = []
3131
3898
  include Aws::Structure
3132
3899
  end
3133
3900
 
@@ -3161,6 +3928,7 @@ module Aws::CostExplorer
3161
3928
  :redshift_instance_details,
3162
3929
  :elasticache_instance_details,
3163
3930
  :es_instance_details)
3931
+ SENSITIVE = []
3164
3932
  include Aws::Structure
3165
3933
  end
3166
3934
 
@@ -3173,6 +3941,7 @@ module Aws::CostExplorer
3173
3941
  #
3174
3942
  class InvalidNextTokenException < Struct.new(
3175
3943
  :message)
3944
+ SENSITIVE = []
3176
3945
  include Aws::Structure
3177
3946
  end
3178
3947
 
@@ -3185,6 +3954,7 @@ module Aws::CostExplorer
3185
3954
  #
3186
3955
  class LimitExceededException < Struct.new(
3187
3956
  :message)
3957
+ SENSITIVE = []
3188
3958
  include Aws::Structure
3189
3959
  end
3190
3960
 
@@ -3217,6 +3987,7 @@ module Aws::CostExplorer
3217
3987
  :effective_on,
3218
3988
  :next_token,
3219
3989
  :max_results)
3990
+ SENSITIVE = []
3220
3991
  include Aws::Structure
3221
3992
  end
3222
3993
 
@@ -3236,6 +4007,7 @@ module Aws::CostExplorer
3236
4007
  class ListCostCategoryDefinitionsResponse < Struct.new(
3237
4008
  :cost_category_references,
3238
4009
  :next_token)
4010
+ SENSITIVE = []
3239
4011
  include Aws::Structure
3240
4012
  end
3241
4013
 
@@ -3254,20 +4026,60 @@ module Aws::CostExplorer
3254
4026
  class MetricValue < Struct.new(
3255
4027
  :amount,
3256
4028
  :unit)
4029
+ SENSITIVE = []
3257
4030
  include Aws::Structure
3258
4031
  end
3259
4032
 
3260
4033
  # Details on the modification recommendation.
3261
4034
  #
3262
4035
  # @!attribute [rw] target_instances
3263
- # Identifies whether this instance type is the Amazon Web Services
3264
- # default recommendation.
4036
+ # Identifies whether this instance type is the AWS default
4037
+ # recommendation.
3265
4038
  # @return [Array<Types::TargetInstance>]
3266
4039
  #
3267
4040
  # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ModifyRecommendationDetail AWS API Documentation
3268
4041
  #
3269
4042
  class ModifyRecommendationDetail < Struct.new(
3270
4043
  :target_instances)
4044
+ SENSITIVE = []
4045
+ include Aws::Structure
4046
+ end
4047
+
4048
+ # @note When making an API call, you may pass ProvideAnomalyFeedbackRequest
4049
+ # data as a hash:
4050
+ #
4051
+ # {
4052
+ # anomaly_id: "GenericString", # required
4053
+ # feedback: "YES", # required, accepts YES, NO, PLANNED_ACTIVITY
4054
+ # }
4055
+ #
4056
+ # @!attribute [rw] anomaly_id
4057
+ # A cost anomaly ID.
4058
+ # @return [String]
4059
+ #
4060
+ # @!attribute [rw] feedback
4061
+ # Describes whether the cost anomaly was a planned activity or you
4062
+ # considered it an anomaly.
4063
+ # @return [String]
4064
+ #
4065
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ProvideAnomalyFeedbackRequest AWS API Documentation
4066
+ #
4067
+ class ProvideAnomalyFeedbackRequest < Struct.new(
4068
+ :anomaly_id,
4069
+ :feedback)
4070
+ SENSITIVE = []
4071
+ include Aws::Structure
4072
+ end
4073
+
4074
+ # @!attribute [rw] anomaly_id
4075
+ # The ID of the modified cost anomaly.
4076
+ # @return [String]
4077
+ #
4078
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ProvideAnomalyFeedbackResponse AWS API Documentation
4079
+ #
4080
+ class ProvideAnomalyFeedbackResponse < Struct.new(
4081
+ :anomaly_id)
4082
+ SENSITIVE = []
3271
4083
  include Aws::Structure
3272
4084
  end
3273
4085
 
@@ -3324,6 +4136,7 @@ module Aws::CostExplorer
3324
4136
  :license_model,
3325
4137
  :current_generation,
3326
4138
  :size_flex_eligible)
4139
+ SENSITIVE = []
3327
4140
  include Aws::Structure
3328
4141
  end
3329
4142
 
@@ -3358,6 +4171,7 @@ module Aws::CostExplorer
3358
4171
  :region,
3359
4172
  :current_generation,
3360
4173
  :size_flex_eligible)
4174
+ SENSITIVE = []
3361
4175
  include Aws::Structure
3362
4176
  end
3363
4177
 
@@ -3371,6 +4185,7 @@ module Aws::CostExplorer
3371
4185
  #
3372
4186
  class RequestChangedException < Struct.new(
3373
4187
  :message)
4188
+ SENSITIVE = []
3374
4189
  include Aws::Structure
3375
4190
  end
3376
4191
 
@@ -3462,6 +4277,7 @@ module Aws::CostExplorer
3462
4277
  :amortized_upfront_fee,
3463
4278
  :amortized_recurring_fee,
3464
4279
  :total_amortized_fee)
4280
+ SENSITIVE = []
3465
4281
  include Aws::Structure
3466
4282
  end
3467
4283
 
@@ -3480,6 +4296,7 @@ module Aws::CostExplorer
3480
4296
  class ReservationCoverageGroup < Struct.new(
3481
4297
  :attributes,
3482
4298
  :coverage)
4299
+ SENSITIVE = []
3483
4300
  include Aws::Structure
3484
4301
  end
3485
4302
 
@@ -3529,6 +4346,7 @@ module Aws::CostExplorer
3529
4346
  :service_specification,
3530
4347
  :recommendation_details,
3531
4348
  :recommendation_summary)
4349
+ SENSITIVE = []
3532
4350
  include Aws::Structure
3533
4351
  end
3534
4352
 
@@ -3652,6 +4470,7 @@ module Aws::CostExplorer
3652
4470
  :estimated_reservation_cost_for_lookback_period,
3653
4471
  :upfront_cost,
3654
4472
  :recurring_standard_monthly_cost)
4473
+ SENSITIVE = []
3655
4474
  include Aws::Structure
3656
4475
  end
3657
4476
 
@@ -3671,6 +4490,7 @@ module Aws::CostExplorer
3671
4490
  class ReservationPurchaseRecommendationMetadata < Struct.new(
3672
4491
  :recommendation_id,
3673
4492
  :generation_timestamp)
4493
+ SENSITIVE = []
3674
4494
  include Aws::Structure
3675
4495
  end
3676
4496
 
@@ -3698,6 +4518,7 @@ module Aws::CostExplorer
3698
4518
  :total_estimated_monthly_savings_amount,
3699
4519
  :total_estimated_monthly_savings_percentage,
3700
4520
  :currency_code)
4521
+ SENSITIVE = []
3701
4522
  include Aws::Structure
3702
4523
  end
3703
4524
 
@@ -3726,6 +4547,7 @@ module Aws::CostExplorer
3726
4547
  :value,
3727
4548
  :attributes,
3728
4549
  :utilization)
4550
+ SENSITIVE = []
3729
4551
  include Aws::Structure
3730
4552
  end
3731
4553
 
@@ -3739,6 +4561,7 @@ module Aws::CostExplorer
3739
4561
  #
3740
4562
  class ResourceDetails < Struct.new(
3741
4563
  :ec2_resource_details)
4564
+ SENSITIVE = []
3742
4565
  include Aws::Structure
3743
4566
  end
3744
4567
 
@@ -3751,19 +4574,21 @@ module Aws::CostExplorer
3751
4574
  #
3752
4575
  class ResourceNotFoundException < Struct.new(
3753
4576
  :message)
4577
+ SENSITIVE = []
3754
4578
  include Aws::Structure
3755
4579
  end
3756
4580
 
3757
4581
  # Resource utilization of current resource.
3758
4582
  #
3759
4583
  # @!attribute [rw] ec2_resource_utilization
3760
- # Utilization of current Amazon EC2 Instance
4584
+ # Utilization of current Amazon EC2 instance.
3761
4585
  # @return [Types::EC2ResourceUtilization]
3762
4586
  #
3763
4587
  # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ResourceUtilization AWS API Documentation
3764
4588
  #
3765
4589
  class ResourceUtilization < Struct.new(
3766
4590
  :ec2_resource_utilization)
4591
+ SENSITIVE = []
3767
4592
  include Aws::Structure
3768
4593
  end
3769
4594
 
@@ -3792,6 +4617,7 @@ module Aws::CostExplorer
3792
4617
  :total,
3793
4618
  :groups,
3794
4619
  :estimated)
4620
+ SENSITIVE = []
3795
4621
  include Aws::Structure
3796
4622
  end
3797
4623
 
@@ -3825,6 +4651,7 @@ module Aws::CostExplorer
3825
4651
  :rightsizing_type,
3826
4652
  :modify_recommendation_detail,
3827
4653
  :terminate_recommendation_detail)
4654
+ SENSITIVE = []
3828
4655
  include Aws::Structure
3829
4656
  end
3830
4657
 
@@ -3833,7 +4660,7 @@ module Aws::CostExplorer
3833
4660
  # instance families or across different instance families. You can also
3834
4661
  # choose to view your estimated savings associated with recommendations
3835
4662
  # with consideration of existing Savings Plans or RI benefits, or
3836
- # niether.
4663
+ # neither.
3837
4664
  #
3838
4665
  # @note When making an API call, you may pass RightsizingRecommendationConfiguration
3839
4666
  # data as a hash:
@@ -3859,6 +4686,7 @@ module Aws::CostExplorer
3859
4686
  class RightsizingRecommendationConfiguration < Struct.new(
3860
4687
  :recommendation_target,
3861
4688
  :benefits_considered)
4689
+ SENSITIVE = []
3862
4690
  include Aws::Structure
3863
4691
  end
3864
4692
 
@@ -3869,13 +4697,12 @@ module Aws::CostExplorer
3869
4697
  # @return [String]
3870
4698
  #
3871
4699
  # @!attribute [rw] generation_timestamp
3872
- # The time stamp for when Amazon Web Services made this
3873
- # recommendation.
4700
+ # The timestamp for when AWS made this recommendation.
3874
4701
  # @return [String]
3875
4702
  #
3876
4703
  # @!attribute [rw] lookback_period_in_days
3877
- # How many days of previous usage that Amazon Web Services considers
3878
- # when making this recommendation.
4704
+ # How many days of previous usage that AWS considers when making this
4705
+ # recommendation.
3879
4706
  # @return [String]
3880
4707
  #
3881
4708
  # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/RightsizingRecommendationMetadata AWS API Documentation
@@ -3884,6 +4711,7 @@ module Aws::CostExplorer
3884
4711
  :recommendation_id,
3885
4712
  :generation_timestamp,
3886
4713
  :lookback_period_in_days)
4714
+ SENSITIVE = []
3887
4715
  include Aws::Structure
3888
4716
  end
3889
4717
 
@@ -3899,13 +4727,12 @@ module Aws::CostExplorer
3899
4727
  # @return [String]
3900
4728
  #
3901
4729
  # @!attribute [rw] savings_currency_code
3902
- # The currency code that Amazon Web Services used to calculate the
3903
- # savings.
4730
+ # The currency code that AWS used to calculate the savings.
3904
4731
  # @return [String]
3905
4732
  #
3906
4733
  # @!attribute [rw] savings_percentage
3907
4734
  # Savings percentage based on the recommended modifications, relative
3908
- # to the total On Demand costs associated with these instances.
4735
+ # to the total On-Demand costs associated with these instances.
3909
4736
  # @return [String]
3910
4737
  #
3911
4738
  # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/RightsizingRecommendationSummary AWS API Documentation
@@ -3915,6 +4742,37 @@ module Aws::CostExplorer
3915
4742
  :estimated_total_monthly_savings_amount,
3916
4743
  :savings_currency_code,
3917
4744
  :savings_percentage)
4745
+ SENSITIVE = []
4746
+ include Aws::Structure
4747
+ end
4748
+
4749
+ # The combination of AWS service, linked account, Region, and usage type
4750
+ # where a cost anomaly is observed.
4751
+ #
4752
+ # @!attribute [rw] service
4753
+ # The AWS service name associated with the cost anomaly.
4754
+ # @return [String]
4755
+ #
4756
+ # @!attribute [rw] region
4757
+ # The AWS Region associated with the cost anomaly.
4758
+ # @return [String]
4759
+ #
4760
+ # @!attribute [rw] linked_account
4761
+ # The linked account value associated with the cost anomaly.
4762
+ # @return [String]
4763
+ #
4764
+ # @!attribute [rw] usage_type
4765
+ # The `UsageType` value associated with the cost anomaly.
4766
+ # @return [String]
4767
+ #
4768
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/RootCause AWS API Documentation
4769
+ #
4770
+ class RootCause < Struct.new(
4771
+ :service,
4772
+ :region,
4773
+ :linked_account,
4774
+ :usage_type)
4775
+ SENSITIVE = []
3918
4776
  include Aws::Structure
3919
4777
  end
3920
4778
 
@@ -3942,6 +4800,7 @@ module Aws::CostExplorer
3942
4800
  :amortized_recurring_commitment,
3943
4801
  :amortized_upfront_commitment,
3944
4802
  :total_amortized_commitment)
4803
+ SENSITIVE = []
3945
4804
  include Aws::Structure
3946
4805
  end
3947
4806
 
@@ -3968,6 +4827,7 @@ module Aws::CostExplorer
3968
4827
  :attributes,
3969
4828
  :coverage,
3970
4829
  :time_period)
4830
+ SENSITIVE = []
3971
4831
  include Aws::Structure
3972
4832
  end
3973
4833
 
@@ -3975,18 +4835,16 @@ module Aws::CostExplorer
3975
4835
  # Savings Plans, and total Savings Plans costs for an account.
3976
4836
  #
3977
4837
  # @!attribute [rw] spend_covered_by_savings_plans
3978
- # The amount of your Amazon Web Services usage that is covered by a
3979
- # Savings Plans.
4838
+ # The amount of your AWS usage that is covered by a Savings Plans.
3980
4839
  # @return [String]
3981
4840
  #
3982
4841
  # @!attribute [rw] on_demand_cost
3983
- # The cost of your Amazon Web Services usage at the public On-Demand
3984
- # rate.
4842
+ # The cost of your AWS usage at the public On-Demand rate.
3985
4843
  # @return [String]
3986
4844
  #
3987
4845
  # @!attribute [rw] total_cost
3988
- # The total cost of your Amazon Web Services usage, regardless of your
3989
- # purchase option.
4846
+ # The total cost of your AWS usage, regardless of your purchase
4847
+ # option.
3990
4848
  # @return [String]
3991
4849
  #
3992
4850
  # @!attribute [rw] coverage_percentage
@@ -4002,6 +4860,7 @@ module Aws::CostExplorer
4002
4860
  :on_demand_cost,
4003
4861
  :total_cost,
4004
4862
  :coverage_percentage)
4863
+ SENSITIVE = []
4005
4864
  include Aws::Structure
4006
4865
  end
4007
4866
 
@@ -4026,6 +4885,7 @@ module Aws::CostExplorer
4026
4885
  :region,
4027
4886
  :instance_family,
4028
4887
  :offering_id)
4888
+ SENSITIVE = []
4029
4889
  include Aws::Structure
4030
4890
  end
4031
4891
 
@@ -4033,11 +4893,10 @@ module Aws::CostExplorer
4033
4893
  # Summary, and Details.
4034
4894
  #
4035
4895
  # @!attribute [rw] account_scope
4036
- # The account scope that you want your recommendations for. Amazon Web
4037
- # Services calculates recommendations including the payer account and
4038
- # linked accounts if the value is set to `PAYER`. If the value is
4039
- # `LINKED`, recommendations are calculated for individual linked
4040
- # accounts only.
4896
+ # The account scope that you want your recommendations for. AWS
4897
+ # calculates recommendations including the payer account and linked
4898
+ # accounts if the value is set to `PAYER`. If the value is `LINKED`,
4899
+ # recommendations are calculated for individual linked accounts only.
4041
4900
  # @return [String]
4042
4901
  #
4043
4902
  # @!attribute [rw] savings_plans_type
@@ -4076,6 +4935,7 @@ module Aws::CostExplorer
4076
4935
  :lookback_period_in_days,
4077
4936
  :savings_plans_purchase_recommendation_details,
4078
4937
  :savings_plans_purchase_recommendation_summary)
4938
+ SENSITIVE = []
4079
4939
  include Aws::Structure
4080
4940
  end
4081
4941
 
@@ -4101,8 +4961,8 @@ module Aws::CostExplorer
4101
4961
  # @return [String]
4102
4962
  #
4103
4963
  # @!attribute [rw] currency_code
4104
- # The currency code Amazon Web Services used to generate the
4105
- # recommendations and present potential savings.
4964
+ # The currency code AWS used to generate the recommendations and
4965
+ # present potential savings.
4106
4966
  # @return [String]
4107
4967
  #
4108
4968
  # @!attribute [rw] estimated_sp_cost
@@ -4179,6 +5039,7 @@ module Aws::CostExplorer
4179
5039
  :current_minimum_hourly_on_demand_spend,
4180
5040
  :current_maximum_hourly_on_demand_spend,
4181
5041
  :current_average_hourly_on_demand_spend)
5042
+ SENSITIVE = []
4182
5043
  include Aws::Structure
4183
5044
  end
4184
5045
 
@@ -4197,6 +5058,7 @@ module Aws::CostExplorer
4197
5058
  class SavingsPlansPurchaseRecommendationMetadata < Struct.new(
4198
5059
  :recommendation_id,
4199
5060
  :generation_timestamp)
5061
+ SENSITIVE = []
4200
5062
  include Aws::Structure
4201
5063
  end
4202
5064
 
@@ -4208,8 +5070,8 @@ module Aws::CostExplorer
4208
5070
  # @return [String]
4209
5071
  #
4210
5072
  # @!attribute [rw] currency_code
4211
- # The currency code Amazon Web Services used to generate the
4212
- # recommendations and present potential savings.
5073
+ # The currency code AWS used to generate the recommendations and
5074
+ # present potential savings.
4213
5075
  # @return [String]
4214
5076
  #
4215
5077
  # @!attribute [rw] estimated_total_cost
@@ -4273,6 +5135,7 @@ module Aws::CostExplorer
4273
5135
  :estimated_savings_percentage,
4274
5136
  :estimated_monthly_savings_amount,
4275
5137
  :estimated_on_demand_cost_with_current_commitment)
5138
+ SENSITIVE = []
4276
5139
  include Aws::Structure
4277
5140
  end
4278
5141
 
@@ -4295,6 +5158,7 @@ module Aws::CostExplorer
4295
5158
  class SavingsPlansSavings < Struct.new(
4296
5159
  :net_savings,
4297
5160
  :on_demand_cost_equivalent)
5161
+ SENSITIVE = []
4298
5162
  include Aws::Structure
4299
5163
  end
4300
5164
 
@@ -4327,6 +5191,7 @@ module Aws::CostExplorer
4327
5191
  :used_commitment,
4328
5192
  :unused_commitment,
4329
5193
  :utilization_percentage)
5194
+ SENSITIVE = []
4330
5195
  include Aws::Structure
4331
5196
  end
4332
5197
 
@@ -4355,6 +5220,7 @@ module Aws::CostExplorer
4355
5220
  :utilization,
4356
5221
  :savings,
4357
5222
  :amortized_commitment)
5223
+ SENSITIVE = []
4358
5224
  include Aws::Structure
4359
5225
  end
4360
5226
 
@@ -4388,6 +5254,7 @@ module Aws::CostExplorer
4388
5254
  :utilization,
4389
5255
  :savings,
4390
5256
  :amortized_commitment)
5257
+ SENSITIVE = []
4391
5258
  include Aws::Structure
4392
5259
  end
4393
5260
 
@@ -4429,11 +5296,12 @@ module Aws::CostExplorer
4429
5296
  :utilization,
4430
5297
  :savings,
4431
5298
  :amortized_commitment)
5299
+ SENSITIVE = []
4432
5300
  include Aws::Structure
4433
5301
  end
4434
5302
 
4435
5303
  # You've reached the limit on the number of resources you can create,
4436
- # or exceeded the size of an individual resources.
5304
+ # or exceeded the size of an individual resource.
4437
5305
  #
4438
5306
  # @!attribute [rw] message
4439
5307
  # @return [String]
@@ -4442,6 +5310,7 @@ module Aws::CostExplorer
4442
5310
  #
4443
5311
  class ServiceQuotaExceededException < Struct.new(
4444
5312
  :message)
5313
+ SENSITIVE = []
4445
5314
  include Aws::Structure
4446
5315
  end
4447
5316
 
@@ -4466,6 +5335,41 @@ module Aws::CostExplorer
4466
5335
  #
4467
5336
  class ServiceSpecification < Struct.new(
4468
5337
  :ec2_specification)
5338
+ SENSITIVE = []
5339
+ include Aws::Structure
5340
+ end
5341
+
5342
+ # The recipient of `AnomalySubscription` notifications.
5343
+ #
5344
+ # @note When making an API call, you may pass Subscriber
5345
+ # data as a hash:
5346
+ #
5347
+ # {
5348
+ # address: "SubscriberAddress",
5349
+ # type: "EMAIL", # accepts EMAIL, SNS
5350
+ # status: "CONFIRMED", # accepts CONFIRMED, DECLINED
5351
+ # }
5352
+ #
5353
+ # @!attribute [rw] address
5354
+ # The email address or SNS Amazon Resource Name (ARN), depending on
5355
+ # the `Type`.
5356
+ # @return [String]
5357
+ #
5358
+ # @!attribute [rw] type
5359
+ # The notification delivery channel.
5360
+ # @return [String]
5361
+ #
5362
+ # @!attribute [rw] status
5363
+ # Indicates if the subscriber accepts the notifications.
5364
+ # @return [String]
5365
+ #
5366
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/Subscriber AWS API Documentation
5367
+ #
5368
+ class Subscriber < Struct.new(
5369
+ :address,
5370
+ :type,
5371
+ :status)
5372
+ SENSITIVE = []
4469
5373
  include Aws::Structure
4470
5374
  end
4471
5375
 
@@ -4490,9 +5394,9 @@ module Aws::CostExplorer
4490
5394
  #
4491
5395
  # @!attribute [rw] match_options
4492
5396
  # The match options that you can use to filter your results.
4493
- # `MatchOptions` is only applicable for only applicable for actions
4494
- # related to Cost Category. The default values for `MatchOptions` is
4495
- # `EQUALS` and `CASE_SENSITIVE`.
5397
+ # `MatchOptions` is only applicable for actions related to Cost
5398
+ # Category. The default values for `MatchOptions` are `EQUALS` and
5399
+ # `CASE_SENSITIVE`.
4496
5400
  # @return [Array<String>]
4497
5401
  #
4498
5402
  # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/TagValues AWS API Documentation
@@ -4501,6 +5405,7 @@ module Aws::CostExplorer
4501
5405
  :key,
4502
5406
  :values,
4503
5407
  :match_options)
5408
+ SENSITIVE = []
4504
5409
  include Aws::Structure
4505
5410
  end
4506
5411
 
@@ -4515,13 +5420,13 @@ module Aws::CostExplorer
4515
5420
  # @return [String]
4516
5421
  #
4517
5422
  # @!attribute [rw] currency_code
4518
- # The currency code that Amazon Web Services used to calculate the
4519
- # costs for this instance.
5423
+ # The currency code that AWS used to calculate the costs for this
5424
+ # instance.
4520
5425
  # @return [String]
4521
5426
  #
4522
5427
  # @!attribute [rw] default_target_instance
4523
- # Indicates whether or not this recommendation is the defaulted Amazon
4524
- # Web Services recommendation.
5428
+ # Indicates whether this recommendation is the defaulted AWS
5429
+ # recommendation.
4525
5430
  # @return [Boolean]
4526
5431
  #
4527
5432
  # @!attribute [rw] resource_details
@@ -4541,6 +5446,7 @@ module Aws::CostExplorer
4541
5446
  :default_target_instance,
4542
5447
  :resource_details,
4543
5448
  :expected_resource_utilization)
5449
+ SENSITIVE = []
4544
5450
  include Aws::Structure
4545
5451
  end
4546
5452
 
@@ -4551,8 +5457,8 @@ module Aws::CostExplorer
4551
5457
  # @return [String]
4552
5458
  #
4553
5459
  # @!attribute [rw] currency_code
4554
- # The currency code that Amazon Web Services used to calculate the
4555
- # costs for this instance.
5460
+ # The currency code that AWS used to calculate the costs for this
5461
+ # instance.
4556
5462
  # @return [String]
4557
5463
  #
4558
5464
  # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/TerminateRecommendationDetail AWS API Documentation
@@ -4560,6 +5466,66 @@ module Aws::CostExplorer
4560
5466
  class TerminateRecommendationDetail < Struct.new(
4561
5467
  :estimated_monthly_savings,
4562
5468
  :currency_code)
5469
+ SENSITIVE = []
5470
+ include Aws::Structure
5471
+ end
5472
+
5473
+ # Filters cost anomalies based on the total impact.
5474
+ #
5475
+ # @note When making an API call, you may pass TotalImpactFilter
5476
+ # data as a hash:
5477
+ #
5478
+ # {
5479
+ # numeric_operator: "EQUAL", # required, accepts EQUAL, GREATER_THAN_OR_EQUAL, LESS_THAN_OR_EQUAL, GREATER_THAN, LESS_THAN, BETWEEN
5480
+ # start_value: 1.0, # required
5481
+ # end_value: 1.0,
5482
+ # }
5483
+ #
5484
+ # @!attribute [rw] numeric_operator
5485
+ # The comparing value used in the filter.
5486
+ # @return [String]
5487
+ #
5488
+ # @!attribute [rw] start_value
5489
+ # The lower bound dollar value used in the filter.
5490
+ # @return [Float]
5491
+ #
5492
+ # @!attribute [rw] end_value
5493
+ # The upper bound dollar value used in the filter.
5494
+ # @return [Float]
5495
+ #
5496
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/TotalImpactFilter AWS API Documentation
5497
+ #
5498
+ class TotalImpactFilter < Struct.new(
5499
+ :numeric_operator,
5500
+ :start_value,
5501
+ :end_value)
5502
+ SENSITIVE = []
5503
+ include Aws::Structure
5504
+ end
5505
+
5506
+ # The cost anomaly monitor does not exist for the account.
5507
+ #
5508
+ # @!attribute [rw] message
5509
+ # @return [String]
5510
+ #
5511
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/UnknownMonitorException AWS API Documentation
5512
+ #
5513
+ class UnknownMonitorException < Struct.new(
5514
+ :message)
5515
+ SENSITIVE = []
5516
+ include Aws::Structure
5517
+ end
5518
+
5519
+ # The cost anomaly subscription does not exist for the account.
5520
+ #
5521
+ # @!attribute [rw] message
5522
+ # @return [String]
5523
+ #
5524
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/UnknownSubscriptionException AWS API Documentation
5525
+ #
5526
+ class UnknownSubscriptionException < Struct.new(
5527
+ :message)
5528
+ SENSITIVE = []
4563
5529
  include Aws::Structure
4564
5530
  end
4565
5531
 
@@ -4574,6 +5540,112 @@ module Aws::CostExplorer
4574
5540
  #
4575
5541
  class UnresolvableUsageUnitException < Struct.new(
4576
5542
  :message)
5543
+ SENSITIVE = []
5544
+ include Aws::Structure
5545
+ end
5546
+
5547
+ # @note When making an API call, you may pass UpdateAnomalyMonitorRequest
5548
+ # data as a hash:
5549
+ #
5550
+ # {
5551
+ # monitor_arn: "GenericString", # required
5552
+ # monitor_name: "GenericString",
5553
+ # }
5554
+ #
5555
+ # @!attribute [rw] monitor_arn
5556
+ # Cost anomaly monitor Amazon Resource Names (ARNs).
5557
+ # @return [String]
5558
+ #
5559
+ # @!attribute [rw] monitor_name
5560
+ # The new name for the cost anomaly monitor.
5561
+ # @return [String]
5562
+ #
5563
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/UpdateAnomalyMonitorRequest AWS API Documentation
5564
+ #
5565
+ class UpdateAnomalyMonitorRequest < Struct.new(
5566
+ :monitor_arn,
5567
+ :monitor_name)
5568
+ SENSITIVE = []
5569
+ include Aws::Structure
5570
+ end
5571
+
5572
+ # @!attribute [rw] monitor_arn
5573
+ # A cost anomaly monitor ARN.
5574
+ # @return [String]
5575
+ #
5576
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/UpdateAnomalyMonitorResponse AWS API Documentation
5577
+ #
5578
+ class UpdateAnomalyMonitorResponse < Struct.new(
5579
+ :monitor_arn)
5580
+ SENSITIVE = []
5581
+ include Aws::Structure
5582
+ end
5583
+
5584
+ # @note When making an API call, you may pass UpdateAnomalySubscriptionRequest
5585
+ # data as a hash:
5586
+ #
5587
+ # {
5588
+ # subscription_arn: "GenericString", # required
5589
+ # threshold: 1.0,
5590
+ # frequency: "DAILY", # accepts DAILY, IMMEDIATE, WEEKLY
5591
+ # monitor_arn_list: ["Value"],
5592
+ # subscribers: [
5593
+ # {
5594
+ # address: "SubscriberAddress",
5595
+ # type: "EMAIL", # accepts EMAIL, SNS
5596
+ # status: "CONFIRMED", # accepts CONFIRMED, DECLINED
5597
+ # },
5598
+ # ],
5599
+ # subscription_name: "GenericString",
5600
+ # }
5601
+ #
5602
+ # @!attribute [rw] subscription_arn
5603
+ # A cost anomaly subscription Amazon Resource Name (ARN).
5604
+ # @return [String]
5605
+ #
5606
+ # @!attribute [rw] threshold
5607
+ # The update to the threshold value for receiving notifications.
5608
+ # @return [Float]
5609
+ #
5610
+ # @!attribute [rw] frequency
5611
+ # The update to the frequency value at which subscribers will receive
5612
+ # notifications.
5613
+ # @return [String]
5614
+ #
5615
+ # @!attribute [rw] monitor_arn_list
5616
+ # A list of cost anomaly subscription ARNs.
5617
+ # @return [Array<String>]
5618
+ #
5619
+ # @!attribute [rw] subscribers
5620
+ # The update to the subscriber list.
5621
+ # @return [Array<Types::Subscriber>]
5622
+ #
5623
+ # @!attribute [rw] subscription_name
5624
+ # The subscription's new name.
5625
+ # @return [String]
5626
+ #
5627
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/UpdateAnomalySubscriptionRequest AWS API Documentation
5628
+ #
5629
+ class UpdateAnomalySubscriptionRequest < Struct.new(
5630
+ :subscription_arn,
5631
+ :threshold,
5632
+ :frequency,
5633
+ :monitor_arn_list,
5634
+ :subscribers,
5635
+ :subscription_name)
5636
+ SENSITIVE = []
5637
+ include Aws::Structure
5638
+ end
5639
+
5640
+ # @!attribute [rw] subscription_arn
5641
+ # A cost anomaly subscription ARN.
5642
+ # @return [String]
5643
+ #
5644
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/UpdateAnomalySubscriptionResponse AWS API Documentation
5645
+ #
5646
+ class UpdateAnomalySubscriptionResponse < Struct.new(
5647
+ :subscription_arn)
5648
+ SENSITIVE = []
4577
5649
  include Aws::Structure
4578
5650
  end
4579
5651
 
@@ -4642,6 +5714,7 @@ module Aws::CostExplorer
4642
5714
  :cost_category_arn,
4643
5715
  :rule_version,
4644
5716
  :rules)
5717
+ SENSITIVE = []
4645
5718
  include Aws::Structure
4646
5719
  end
4647
5720
 
@@ -4658,6 +5731,7 @@ module Aws::CostExplorer
4658
5731
  class UpdateCostCategoryDefinitionResponse < Struct.new(
4659
5732
  :cost_category_arn,
4660
5733
  :effective_start)
5734
+ SENSITIVE = []
4661
5735
  include Aws::Structure
4662
5736
  end
4663
5737
 
@@ -4681,6 +5755,7 @@ module Aws::CostExplorer
4681
5755
  :time_period,
4682
5756
  :groups,
4683
5757
  :total)
5758
+ SENSITIVE = []
4684
5759
  include Aws::Structure
4685
5760
  end
4686
5761