aws-sdk-costexplorer 1.23.0 → 1.24.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 72087f45c17664557d24405b11c6c94e862ee63c
4
- data.tar.gz: 50d98b95256f09fcb20e9a1c9087a83ee65ec7c0
3
+ metadata.gz: 91b351e7ed60cd763fa5aeaae61634cbd28dc78b
4
+ data.tar.gz: 010f3a79d21114e6cfe139b70630aaf11844303b
5
5
  SHA512:
6
- metadata.gz: 9ef9f2e663350173f20fd91991d1f121d5ba914a98bb94617873578450eac09ee28d7e72b6e9396ebb47631632a5ce41a7eaadf69f01f0bfc4b0a453281e1c6d
7
- data.tar.gz: 5c22c5f970250383ef2245a0f416a276464e510b3fc786d1c6220915c11336d50467b82034a120a9492ebf9faebd9c5d638ab423cde7493e5596e095b18c8283
6
+ metadata.gz: 6ab0360d3cff5cf34358994c8d6fc8962770d521a038a9f92ddfe95176b202181e644754bde081d12adfec1cd22a8ce99c8aff9438ee2d72b8a8876706f9aab9
7
+ data.tar.gz: dadb1b0869c387fa0981ee1b957a9a941580cadaac3f73ae5e20ce01fb6be4dbb757c82612f33e78f7936021a5b7cc3feec9c8e0ff32220057c6bc856daf744d
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-costexplorer/customizations'
42
42
  # @service
43
43
  module Aws::CostExplorer
44
44
 
45
- GEM_VERSION = '1.23.0'
45
+ GEM_VERSION = '1.24.0'
46
46
 
47
47
  end
@@ -1296,7 +1296,7 @@ module Aws::CostExplorer
1296
1296
  params: params,
1297
1297
  config: config)
1298
1298
  context[:gem_name] = 'aws-sdk-costexplorer'
1299
- context[:gem_version] = '1.23.0'
1299
+ context[:gem_version] = '1.24.0'
1300
1300
  Seahorse::Client::Request.new(handlers, context)
1301
1301
  end
1302
1302
 
@@ -138,6 +138,9 @@ module Aws::CostExplorer
138
138
  Attributes.key = Shapes::ShapeRef.new(shape: AttributeType)
139
139
  Attributes.value = Shapes::ShapeRef.new(shape: AttributeValue)
140
140
 
141
+ BillExpirationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
142
+ BillExpirationException.struct_class = Types::BillExpirationException
143
+
141
144
  Coverage.add_member(:coverage_hours, Shapes::ShapeRef.new(shape: CoverageHours, location_name: "CoverageHours"))
142
145
  Coverage.add_member(:coverage_normalized_units, Shapes::ShapeRef.new(shape: CoverageNormalizedUnits, location_name: "CoverageNormalizedUnits"))
143
146
  Coverage.add_member(:coverage_cost, Shapes::ShapeRef.new(shape: CoverageCost, location_name: "CoverageCost"))
@@ -165,6 +168,9 @@ module Aws::CostExplorer
165
168
 
166
169
  CoveragesByTime.member = Shapes::ShapeRef.new(shape: CoverageByTime)
167
170
 
171
+ DataUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
172
+ DataUnavailableException.struct_class = Types::DataUnavailableException
173
+
168
174
  DateInterval.add_member(:start, Shapes::ShapeRef.new(shape: YearMonthDay, required: true, location_name: "Start"))
169
175
  DateInterval.add_member(:end, Shapes::ShapeRef.new(shape: YearMonthDay, required: true, location_name: "End"))
170
176
  DateInterval.struct_class = Types::DateInterval
@@ -333,8 +339,14 @@ module Aws::CostExplorer
333
339
  InstanceDetails.add_member(:es_instance_details, Shapes::ShapeRef.new(shape: ESInstanceDetails, location_name: "ESInstanceDetails"))
334
340
  InstanceDetails.struct_class = Types::InstanceDetails
335
341
 
342
+ InvalidNextTokenException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
343
+ InvalidNextTokenException.struct_class = Types::InvalidNextTokenException
344
+
336
345
  Keys.member = Shapes::ShapeRef.new(shape: Key)
337
346
 
347
+ LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
348
+ LimitExceededException.struct_class = Types::LimitExceededException
349
+
338
350
  MetricNames.member = Shapes::ShapeRef.new(shape: MetricName)
339
351
 
340
352
  MetricValue.add_member(:amount, Shapes::ShapeRef.new(shape: MetricAmount, location_name: "Amount"))
@@ -362,6 +374,9 @@ module Aws::CostExplorer
362
374
  RedshiftInstanceDetails.add_member(:size_flex_eligible, Shapes::ShapeRef.new(shape: GenericBoolean, location_name: "SizeFlexEligible"))
363
375
  RedshiftInstanceDetails.struct_class = Types::RedshiftInstanceDetails
364
376
 
377
+ RequestChangedException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
378
+ RequestChangedException.struct_class = Types::RequestChangedException
379
+
365
380
  ReservationAggregates.add_member(:utilization_percentage, Shapes::ShapeRef.new(shape: UtilizationPercentage, location_name: "UtilizationPercentage"))
366
381
  ReservationAggregates.add_member(:utilization_percentage_in_units, Shapes::ShapeRef.new(shape: UtilizationPercentageInUnits, location_name: "UtilizationPercentageInUnits"))
367
382
  ReservationAggregates.add_member(:purchased_hours, Shapes::ShapeRef.new(shape: PurchasedHours, location_name: "PurchasedHours"))
@@ -10,5 +10,85 @@ module Aws::CostExplorer
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class BillExpirationException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::CostExplorer::Types::BillExpirationException] data
18
+ def initialize(context, message, data = Aws::EmptyStructure.new)
19
+ super(context, message, data)
20
+ end
21
+
22
+ # @return [String]
23
+ def message
24
+ @message || @data[:message]
25
+ end
26
+
27
+ end
28
+
29
+ class DataUnavailableException < ServiceError
30
+
31
+ # @param [Seahorse::Client::RequestContext] context
32
+ # @param [String] message
33
+ # @param [Aws::CostExplorer::Types::DataUnavailableException] data
34
+ def initialize(context, message, data = Aws::EmptyStructure.new)
35
+ super(context, message, data)
36
+ end
37
+
38
+ # @return [String]
39
+ def message
40
+ @message || @data[:message]
41
+ end
42
+
43
+ end
44
+
45
+ class InvalidNextTokenException < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::CostExplorer::Types::InvalidNextTokenException] data
50
+ def initialize(context, message, data = Aws::EmptyStructure.new)
51
+ super(context, message, data)
52
+ end
53
+
54
+ # @return [String]
55
+ def message
56
+ @message || @data[:message]
57
+ end
58
+
59
+ end
60
+
61
+ class LimitExceededException < ServiceError
62
+
63
+ # @param [Seahorse::Client::RequestContext] context
64
+ # @param [String] message
65
+ # @param [Aws::CostExplorer::Types::LimitExceededException] data
66
+ def initialize(context, message, data = Aws::EmptyStructure.new)
67
+ super(context, message, data)
68
+ end
69
+
70
+ # @return [String]
71
+ def message
72
+ @message || @data[:message]
73
+ end
74
+
75
+ end
76
+
77
+ class RequestChangedException < ServiceError
78
+
79
+ # @param [Seahorse::Client::RequestContext] context
80
+ # @param [String] message
81
+ # @param [Aws::CostExplorer::Types::RequestChangedException] data
82
+ def initialize(context, message, data = Aws::EmptyStructure.new)
83
+ super(context, message, data)
84
+ end
85
+
86
+ # @return [String]
87
+ def message
88
+ @message || @data[:message]
89
+ end
90
+
91
+ end
92
+
13
93
  end
14
94
  end
@@ -8,6 +8,18 @@
8
8
  module Aws::CostExplorer
9
9
  module Types
10
10
 
11
+ # The requested report expired. Update the date interval and try again.
12
+ #
13
+ # @!attribute [rw] message
14
+ # @return [String]
15
+ #
16
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/BillExpirationException AWS API Documentation
17
+ #
18
+ class BillExpirationException < Struct.new(
19
+ :message)
20
+ include Aws::Structure
21
+ end
22
+
11
23
  # The amount of instance usage that a reservation covered.
12
24
  #
13
25
  # @!attribute [rw] coverage_hours
@@ -143,6 +155,18 @@ module Aws::CostExplorer
143
155
  include Aws::Structure
144
156
  end
145
157
 
158
+ # The requested data is unavailable.
159
+ #
160
+ # @!attribute [rw] message
161
+ # @return [String]
162
+ #
163
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/DataUnavailableException AWS API Documentation
164
+ #
165
+ class DataUnavailableException < Struct.new(
166
+ :message)
167
+ include Aws::Structure
168
+ end
169
+
146
170
  # The time period that you want the usage and costs for.
147
171
  #
148
172
  # @note When making an API call, you may pass DateInterval
@@ -1630,6 +1654,30 @@ module Aws::CostExplorer
1630
1654
  include Aws::Structure
1631
1655
  end
1632
1656
 
1657
+ # The pagination token is invalid. Try again without a pagination token.
1658
+ #
1659
+ # @!attribute [rw] message
1660
+ # @return [String]
1661
+ #
1662
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/InvalidNextTokenException AWS API Documentation
1663
+ #
1664
+ class InvalidNextTokenException < Struct.new(
1665
+ :message)
1666
+ include Aws::Structure
1667
+ end
1668
+
1669
+ # You made too many calls in a short period of time. Try again later.
1670
+ #
1671
+ # @!attribute [rw] message
1672
+ # @return [String]
1673
+ #
1674
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/LimitExceededException AWS API Documentation
1675
+ #
1676
+ class LimitExceededException < Struct.new(
1677
+ :message)
1678
+ include Aws::Structure
1679
+ end
1680
+
1633
1681
  # The aggregated value for a metric.
1634
1682
  #
1635
1683
  # @!attribute [rw] amount
@@ -1738,6 +1786,19 @@ module Aws::CostExplorer
1738
1786
  include Aws::Structure
1739
1787
  end
1740
1788
 
1789
+ # Your request parameters changed between pages. Try again with the old
1790
+ # parameters or without a pagination token.
1791
+ #
1792
+ # @!attribute [rw] message
1793
+ # @return [String]
1794
+ #
1795
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/RequestChangedException AWS API Documentation
1796
+ #
1797
+ class RequestChangedException < Struct.new(
1798
+ :message)
1799
+ include Aws::Structure
1800
+ end
1801
+
1741
1802
  # The aggregated numbers for your reservation usage.
1742
1803
  #
1743
1804
  # @!attribute [rw] utilization_percentage
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-costexplorer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.23.0
4
+ version: 1.24.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-15 00:00:00.000000000 Z
11
+ date: 2019-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.52.1
22
+ version: 3.53.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.52.1
32
+ version: 3.53.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement