aws-sdk-costexplorer 1.3.0 → 1.4.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: 47c8a1aee41cfbbeac27c6dcfebb7bdce048744c
4
- data.tar.gz: 23eda2491bcade6dd9b524fa0f7f19549e5daffe
3
+ metadata.gz: 0575bd7efc1aa2d9a02fe0e635c15e1fbffd09b5
4
+ data.tar.gz: 724d56b95f9a22186ac9960c99d5dd58409c7bbe
5
5
  SHA512:
6
- metadata.gz: 9df66e5162344323b0dffa6cec5dc9403021b9903136f462bf43cd85cedcd6e0e09795db956ce73fd8d71d5b770055085e08671312e59c4a5ac38b6828e8803b
7
- data.tar.gz: c540020a0e135a4b95dd474a1c3b36decf8c4bb998b41d631e4b7fbb64e06520f7c12a64c4c6264a26e2e7ef981493f529423581c3980852252047ab97b0e065
6
+ metadata.gz: cce5501ffab6cf6325bff988074a58b8ec2996e254224a66413dad0c5199da8f232063ff09b6babbb6b2208ee27f9e22272c3cfaa6d05acb8469efa8536d7ed4
7
+ data.tar.gz: 30faf3dec6719f460ef0938031e004b60a4624c01f5b01ad10109a6fa155df4725c43d05df83886d3b59571b5f7833aa65ce380e6bda38ae934ca826909b9491
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-costexplorer/customizations'
42
42
  # @service
43
43
  module Aws::CostExplorer
44
44
 
45
- GEM_VERSION = '1.3.0'
45
+ GEM_VERSION = '1.4.0'
46
46
 
47
47
  end
@@ -895,14 +895,32 @@ module Aws::CostExplorer
895
895
  # resp.utilizations_by_time[0].groups[0].utilization.purchased_hours #=> String
896
896
  # resp.utilizations_by_time[0].groups[0].utilization.total_actual_hours #=> String
897
897
  # resp.utilizations_by_time[0].groups[0].utilization.unused_hours #=> String
898
+ # resp.utilizations_by_time[0].groups[0].utilization.on_demand_cost_of_ri_hours_used #=> String
899
+ # resp.utilizations_by_time[0].groups[0].utilization.net_ri_savings #=> String
900
+ # resp.utilizations_by_time[0].groups[0].utilization.total_potential_ri_savings #=> String
901
+ # resp.utilizations_by_time[0].groups[0].utilization.amortized_upfront_fee #=> String
902
+ # resp.utilizations_by_time[0].groups[0].utilization.amortized_recurring_fee #=> String
903
+ # resp.utilizations_by_time[0].groups[0].utilization.total_amortized_fee #=> String
898
904
  # resp.utilizations_by_time[0].total.utilization_percentage #=> String
899
905
  # resp.utilizations_by_time[0].total.purchased_hours #=> String
900
906
  # resp.utilizations_by_time[0].total.total_actual_hours #=> String
901
907
  # resp.utilizations_by_time[0].total.unused_hours #=> String
908
+ # resp.utilizations_by_time[0].total.on_demand_cost_of_ri_hours_used #=> String
909
+ # resp.utilizations_by_time[0].total.net_ri_savings #=> String
910
+ # resp.utilizations_by_time[0].total.total_potential_ri_savings #=> String
911
+ # resp.utilizations_by_time[0].total.amortized_upfront_fee #=> String
912
+ # resp.utilizations_by_time[0].total.amortized_recurring_fee #=> String
913
+ # resp.utilizations_by_time[0].total.total_amortized_fee #=> String
902
914
  # resp.total.utilization_percentage #=> String
903
915
  # resp.total.purchased_hours #=> String
904
916
  # resp.total.total_actual_hours #=> String
905
917
  # resp.total.unused_hours #=> String
918
+ # resp.total.on_demand_cost_of_ri_hours_used #=> String
919
+ # resp.total.net_ri_savings #=> String
920
+ # resp.total.total_potential_ri_savings #=> String
921
+ # resp.total.amortized_upfront_fee #=> String
922
+ # resp.total.amortized_recurring_fee #=> String
923
+ # resp.total.total_amortized_fee #=> String
906
924
  # resp.next_page_token #=> String
907
925
  #
908
926
  # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetReservationUtilization AWS API Documentation
@@ -984,7 +1002,7 @@ module Aws::CostExplorer
984
1002
  params: params,
985
1003
  config: config)
986
1004
  context[:gem_name] = 'aws-sdk-costexplorer'
987
- context[:gem_version] = '1.3.0'
1005
+ context[:gem_version] = '1.4.0'
988
1006
  Seahorse::Client::Request.new(handlers, context)
989
1007
  end
990
1008
 
@@ -12,6 +12,8 @@ module Aws::CostExplorer
12
12
  include Seahorse::Model
13
13
 
14
14
  AccountScope = Shapes::StringShape.new(name: 'AccountScope')
15
+ AmortizedRecurringFee = Shapes::StringShape.new(name: 'AmortizedRecurringFee')
16
+ AmortizedUpfrontFee = Shapes::StringShape.new(name: 'AmortizedUpfrontFee')
15
17
  AttributeType = Shapes::StringShape.new(name: 'AttributeType')
16
18
  AttributeValue = Shapes::StringShape.new(name: 'AttributeValue')
17
19
  Attributes = Shapes::MapShape.new(name: 'Attributes')
@@ -68,9 +70,11 @@ module Aws::CostExplorer
68
70
  MetricUnit = Shapes::StringShape.new(name: 'MetricUnit')
69
71
  MetricValue = Shapes::StructureShape.new(name: 'MetricValue')
70
72
  Metrics = Shapes::MapShape.new(name: 'Metrics')
73
+ NetRISavings = Shapes::StringShape.new(name: 'NetRISavings')
71
74
  NextPageToken = Shapes::StringShape.new(name: 'NextPageToken')
72
75
  NonNegativeInteger = Shapes::IntegerShape.new(name: 'NonNegativeInteger')
73
76
  OfferingClass = Shapes::StringShape.new(name: 'OfferingClass')
77
+ OnDemandCostOfRIHoursUsed = Shapes::StringShape.new(name: 'OnDemandCostOfRIHoursUsed')
74
78
  OnDemandHours = Shapes::StringShape.new(name: 'OnDemandHours')
75
79
  PageSize = Shapes::IntegerShape.new(name: 'PageSize')
76
80
  PaymentOption = Shapes::StringShape.new(name: 'PaymentOption')
@@ -100,6 +104,8 @@ module Aws::CostExplorer
100
104
  TagValues = Shapes::StructureShape.new(name: 'TagValues')
101
105
  TermInYears = Shapes::StringShape.new(name: 'TermInYears')
102
106
  TotalActualHours = Shapes::StringShape.new(name: 'TotalActualHours')
107
+ TotalAmortizedFee = Shapes::StringShape.new(name: 'TotalAmortizedFee')
108
+ TotalPotentialRISavings = Shapes::StringShape.new(name: 'TotalPotentialRISavings')
103
109
  TotalRunningHours = Shapes::StringShape.new(name: 'TotalRunningHours')
104
110
  UnusedHours = Shapes::StringShape.new(name: 'UnusedHours')
105
111
  UtilizationByTime = Shapes::StructureShape.new(name: 'UtilizationByTime')
@@ -283,6 +289,12 @@ module Aws::CostExplorer
283
289
  ReservationAggregates.add_member(:purchased_hours, Shapes::ShapeRef.new(shape: PurchasedHours, location_name: "PurchasedHours"))
284
290
  ReservationAggregates.add_member(:total_actual_hours, Shapes::ShapeRef.new(shape: TotalActualHours, location_name: "TotalActualHours"))
285
291
  ReservationAggregates.add_member(:unused_hours, Shapes::ShapeRef.new(shape: UnusedHours, location_name: "UnusedHours"))
292
+ ReservationAggregates.add_member(:on_demand_cost_of_ri_hours_used, Shapes::ShapeRef.new(shape: OnDemandCostOfRIHoursUsed, location_name: "OnDemandCostOfRIHoursUsed"))
293
+ ReservationAggregates.add_member(:net_ri_savings, Shapes::ShapeRef.new(shape: NetRISavings, location_name: "NetRISavings"))
294
+ ReservationAggregates.add_member(:total_potential_ri_savings, Shapes::ShapeRef.new(shape: TotalPotentialRISavings, location_name: "TotalPotentialRISavings"))
295
+ ReservationAggregates.add_member(:amortized_upfront_fee, Shapes::ShapeRef.new(shape: AmortizedUpfrontFee, location_name: "AmortizedUpfrontFee"))
296
+ ReservationAggregates.add_member(:amortized_recurring_fee, Shapes::ShapeRef.new(shape: AmortizedRecurringFee, location_name: "AmortizedRecurringFee"))
297
+ ReservationAggregates.add_member(:total_amortized_fee, Shapes::ShapeRef.new(shape: TotalAmortizedFee, location_name: "TotalAmortizedFee"))
286
298
  ReservationAggregates.struct_class = Types::ReservationAggregates
287
299
 
288
300
  ReservationCoverageGroup.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "Attributes"))
@@ -254,8 +254,8 @@ module Aws::CostExplorer
254
254
  # `Expression` for that looks like this:
255
255
  #
256
256
  # `\{ "And": [ \{"Or": [ \{"Dimensions": \{ "Key": "INSTANCE_TYPE",
257
- # "Values": [ "m4.x.large", "c4.large" ] \}\}, \{"Tag": \{ "Key":
258
- # "TagName", "Values": ["Value1"] \} \} ]\}, \{"Not": \{"dimensions":
257
+ # "Values": [ "m4.x.large", "c4.large" ] \}\}, \{"Tags": \{ "Key":
258
+ # "TagName", "Values": ["Value1"] \} \} ]\}, \{"Not": \{"Dimensions":
259
259
  # \{ "Key": "USAGE_TYPE", "Values": ["DataTransfer"] \}\}\} ] \} `
260
260
  #
261
261
  # <note markdown="1"> Because each `Expression` can have only one operator, the service
@@ -1381,13 +1381,45 @@ module Aws::CostExplorer
1381
1381
  # The number of RI hours that you didn't use.
1382
1382
  # @return [String]
1383
1383
  #
1384
+ # @!attribute [rw] on_demand_cost_of_ri_hours_used
1385
+ # How much your RIs would cost if charged On-Demand rates.
1386
+ # @return [String]
1387
+ #
1388
+ # @!attribute [rw] net_ri_savings
1389
+ # How much you saved due to purchasing and utilizing RIs. This is
1390
+ # calculated by subtracting the `TotalAmortizedFee` from the
1391
+ # `OnDemandCostOfRIHoursUsed`.
1392
+ # @return [String]
1393
+ #
1394
+ # @!attribute [rw] total_potential_ri_savings
1395
+ # How much you could save if you use your entire reservation.
1396
+ # @return [String]
1397
+ #
1398
+ # @!attribute [rw] amortized_upfront_fee
1399
+ # The upfront cost of your RI, amortized over the RI period.
1400
+ # @return [String]
1401
+ #
1402
+ # @!attribute [rw] amortized_recurring_fee
1403
+ # The monthly cost of your RI, amortized over the RI period.
1404
+ # @return [String]
1405
+ #
1406
+ # @!attribute [rw] total_amortized_fee
1407
+ # The total cost of your RI, amortized over the RI period.
1408
+ # @return [String]
1409
+ #
1384
1410
  # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ReservationAggregates AWS API Documentation
1385
1411
  #
1386
1412
  class ReservationAggregates < Struct.new(
1387
1413
  :utilization_percentage,
1388
1414
  :purchased_hours,
1389
1415
  :total_actual_hours,
1390
- :unused_hours)
1416
+ :unused_hours,
1417
+ :on_demand_cost_of_ri_hours_used,
1418
+ :net_ri_savings,
1419
+ :total_potential_ri_savings,
1420
+ :amortized_upfront_fee,
1421
+ :amortized_recurring_fee,
1422
+ :total_amortized_fee)
1391
1423
  include Aws::Structure
1392
1424
  end
1393
1425
 
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.3.0
4
+ version: 1.4.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: 2018-04-19 00:00:00.000000000 Z
11
+ date: 2018-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  version: '0'
76
76
  requirements: []
77
77
  rubyforge_project:
78
- rubygems_version: 2.5.2.2
78
+ rubygems_version: 2.5.2.3
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: AWS SDK for Ruby - AWS Cost Explorer