aws-sdk-costexplorer 1.39.0 → 1.40.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
  SHA256:
3
- metadata.gz: a6834234d6804f2a6d45d00c709b16f67682276fd0e28cfc2aefb5c1b2a5ad2c
4
- data.tar.gz: f0993bd58299e545b0ba34eae895ed4bf53bae3b9b872ffce96d24d3fc11ff77
3
+ metadata.gz: 1c5f1276524f221ad56b7c2c5b26028591eeaab1d82c7cfb03eb6156ef5fd9b1
4
+ data.tar.gz: efbcdf0484433d63d4f7df96a4956d7fc632a36f6f6cdd4039c5dce0eb248a0b
5
5
  SHA512:
6
- metadata.gz: 91ed3357b6a9b593c4e366303bb20738da673d4da09284c0a51a6cd853321412dc9a46a39f21129bd8e9be24e4dce8f9bcc14bdb01f3dd1121ec135a2e97f9e4
7
- data.tar.gz: 05c6c61af5b3e5c7c596ce8a7249cb800e84eeaa33ea3b9a0012f3897bb3cac411fc40300b2f5f48b41fe5e5e77bb10ee5dcc31ffb9d60e858ebe3d0350d376f
6
+ metadata.gz: 1d2a5261eabfaf8f7f0675e9d38637ee822a28af2958d41cc8dbbd14f3d031a8af4a31533692d70abad3c1dd204e5c9a2a03fded4fc3c467ec4b4ad301d35e72
7
+ data.tar.gz: 8a4640dbff375fdc59166d224daa4c3ef2951d0b8d17bf227f79210ff86806064492d3b947330947d9e5ce63e286373bfa8ceacdbb889465b8528aea147578b9
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-costexplorer/customizations'
45
45
  # @service
46
46
  module Aws::CostExplorer
47
47
 
48
- GEM_VERSION = '1.39.0'
48
+ GEM_VERSION = '1.40.0'
49
49
 
50
50
  end
@@ -1722,6 +1722,14 @@ module Aws::CostExplorer
1722
1722
  #
1723
1723
  # </note>
1724
1724
  #
1725
+ # @option params [Types::RightsizingRecommendationConfiguration] :configuration
1726
+ # Enables you to customize recommendations across two attributes. You
1727
+ # can choose to view recommendations for instances within the same
1728
+ # instance families or across different instance families. You can also
1729
+ # choose to view your estimated savings associated with recommendations
1730
+ # with consideration of existing Savings Plans or RI benefits, or
1731
+ # niether.
1732
+ #
1725
1733
  # @option params [required, String] :service
1726
1734
  # The specific service that you want recommendations for. The only valid
1727
1735
  # value for `GetRightsizingRecommendation` is "`AmazonEC2`".
@@ -1740,6 +1748,7 @@ module Aws::CostExplorer
1740
1748
  # * {Types::GetRightsizingRecommendationResponse#summary #summary} => Types::RightsizingRecommendationSummary
1741
1749
  # * {Types::GetRightsizingRecommendationResponse#rightsizing_recommendations #rightsizing_recommendations} => Array&lt;Types::RightsizingRecommendation&gt;
1742
1750
  # * {Types::GetRightsizingRecommendationResponse#next_page_token #next_page_token} => String
1751
+ # * {Types::GetRightsizingRecommendationResponse#configuration #configuration} => Types::RightsizingRecommendationConfiguration
1743
1752
  #
1744
1753
  # @example Request syntax with placeholder values
1745
1754
  #
@@ -1773,6 +1782,10 @@ module Aws::CostExplorer
1773
1782
  # values: ["Value"],
1774
1783
  # },
1775
1784
  # },
1785
+ # configuration: {
1786
+ # recommendation_target: "SAME_INSTANCE_FAMILY", # required, accepts SAME_INSTANCE_FAMILY, CROSS_INSTANCE_FAMILY
1787
+ # benefits_considered: false, # required
1788
+ # },
1776
1789
  # service: "GenericString", # required
1777
1790
  # page_size: 1,
1778
1791
  # next_page_token: "NextPageToken",
@@ -1835,6 +1848,8 @@ module Aws::CostExplorer
1835
1848
  # resp.rightsizing_recommendations[0].terminate_recommendation_detail.estimated_monthly_savings #=> String
1836
1849
  # resp.rightsizing_recommendations[0].terminate_recommendation_detail.currency_code #=> String
1837
1850
  # resp.next_page_token #=> String
1851
+ # resp.configuration.recommendation_target #=> String, one of "SAME_INSTANCE_FAMILY", "CROSS_INSTANCE_FAMILY"
1852
+ # resp.configuration.benefits_considered #=> Boolean
1838
1853
  #
1839
1854
  # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetRightsizingRecommendation AWS API Documentation
1840
1855
  #
@@ -2706,7 +2721,7 @@ module Aws::CostExplorer
2706
2721
  params: params,
2707
2722
  config: config)
2708
2723
  context[:gem_name] = 'aws-sdk-costexplorer'
2709
- context[:gem_version] = '1.39.0'
2724
+ context[:gem_version] = '1.40.0'
2710
2725
  Seahorse::Client::Request.new(handlers, context)
2711
2726
  end
2712
2727
 
@@ -134,6 +134,7 @@ module Aws::CostExplorer
134
134
  PurchasedHours = Shapes::StringShape.new(name: 'PurchasedHours')
135
135
  PurchasedUnits = Shapes::StringShape.new(name: 'PurchasedUnits')
136
136
  RDSInstanceDetails = Shapes::StructureShape.new(name: 'RDSInstanceDetails')
137
+ RecommendationTarget = Shapes::StringShape.new(name: 'RecommendationTarget')
137
138
  RedshiftInstanceDetails = Shapes::StructureShape.new(name: 'RedshiftInstanceDetails')
138
139
  RequestChangedException = Shapes::StructureShape.new(name: 'RequestChangedException')
139
140
  ReservationAggregates = Shapes::StructureShape.new(name: 'ReservationAggregates')
@@ -157,6 +158,7 @@ module Aws::CostExplorer
157
158
  ResultByTime = Shapes::StructureShape.new(name: 'ResultByTime')
158
159
  ResultsByTime = Shapes::ListShape.new(name: 'ResultsByTime')
159
160
  RightsizingRecommendation = Shapes::StructureShape.new(name: 'RightsizingRecommendation')
161
+ RightsizingRecommendationConfiguration = Shapes::StructureShape.new(name: 'RightsizingRecommendationConfiguration')
160
162
  RightsizingRecommendationList = Shapes::ListShape.new(name: 'RightsizingRecommendationList')
161
163
  RightsizingRecommendationMetadata = Shapes::StructureShape.new(name: 'RightsizingRecommendationMetadata')
162
164
  RightsizingRecommendationSummary = Shapes::StructureShape.new(name: 'RightsizingRecommendationSummary')
@@ -478,6 +480,7 @@ module Aws::CostExplorer
478
480
  GetReservationUtilizationResponse.struct_class = Types::GetReservationUtilizationResponse
479
481
 
480
482
  GetRightsizingRecommendationRequest.add_member(:filter, Shapes::ShapeRef.new(shape: Expression, location_name: "Filter"))
483
+ GetRightsizingRecommendationRequest.add_member(:configuration, Shapes::ShapeRef.new(shape: RightsizingRecommendationConfiguration, location_name: "Configuration"))
481
484
  GetRightsizingRecommendationRequest.add_member(:service, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "Service"))
482
485
  GetRightsizingRecommendationRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "PageSize"))
483
486
  GetRightsizingRecommendationRequest.add_member(:next_page_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextPageToken"))
@@ -487,6 +490,7 @@ module Aws::CostExplorer
487
490
  GetRightsizingRecommendationResponse.add_member(:summary, Shapes::ShapeRef.new(shape: RightsizingRecommendationSummary, location_name: "Summary"))
488
491
  GetRightsizingRecommendationResponse.add_member(:rightsizing_recommendations, Shapes::ShapeRef.new(shape: RightsizingRecommendationList, location_name: "RightsizingRecommendations"))
489
492
  GetRightsizingRecommendationResponse.add_member(:next_page_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextPageToken"))
493
+ GetRightsizingRecommendationResponse.add_member(:configuration, Shapes::ShapeRef.new(shape: RightsizingRecommendationConfiguration, location_name: "Configuration"))
490
494
  GetRightsizingRecommendationResponse.struct_class = Types::GetRightsizingRecommendationResponse
491
495
 
492
496
  GetSavingsPlansCoverageRequest.add_member(:time_period, Shapes::ShapeRef.new(shape: DateInterval, required: true, location_name: "TimePeriod"))
@@ -729,6 +733,10 @@ module Aws::CostExplorer
729
733
  RightsizingRecommendation.add_member(:terminate_recommendation_detail, Shapes::ShapeRef.new(shape: TerminateRecommendationDetail, location_name: "TerminateRecommendationDetail"))
730
734
  RightsizingRecommendation.struct_class = Types::RightsizingRecommendation
731
735
 
736
+ RightsizingRecommendationConfiguration.add_member(:recommendation_target, Shapes::ShapeRef.new(shape: RecommendationTarget, required: true, location_name: "RecommendationTarget"))
737
+ RightsizingRecommendationConfiguration.add_member(:benefits_considered, Shapes::ShapeRef.new(shape: GenericBoolean, required: true, location_name: "BenefitsConsidered"))
738
+ RightsizingRecommendationConfiguration.struct_class = Types::RightsizingRecommendationConfiguration
739
+
732
740
  RightsizingRecommendationList.member = Shapes::ShapeRef.new(shape: RightsizingRecommendation)
733
741
 
734
742
  RightsizingRecommendationMetadata.add_member(:recommendation_id, Shapes::ShapeRef.new(shape: GenericString, location_name: "RecommendationId"))
@@ -2273,6 +2273,10 @@ module Aws::CostExplorer
2273
2273
  # values: ["Value"],
2274
2274
  # },
2275
2275
  # },
2276
+ # configuration: {
2277
+ # recommendation_target: "SAME_INSTANCE_FAMILY", # required, accepts SAME_INSTANCE_FAMILY, CROSS_INSTANCE_FAMILY
2278
+ # benefits_considered: false, # required
2279
+ # },
2276
2280
  # service: "GenericString", # required
2277
2281
  # page_size: 1,
2278
2282
  # next_page_token: "NextPageToken",
@@ -2327,6 +2331,15 @@ module Aws::CostExplorer
2327
2331
  # </note>
2328
2332
  # @return [Types::Expression]
2329
2333
  #
2334
+ # @!attribute [rw] configuration
2335
+ # Enables you to customize recommendations across two attributes. You
2336
+ # can choose to view recommendations for instances within the same
2337
+ # instance families or across different instance families. You can
2338
+ # also choose to view your estimated savings associated with
2339
+ # recommendations with consideration of existing Savings Plans or RI
2340
+ # benefits, or niether.
2341
+ # @return [Types::RightsizingRecommendationConfiguration]
2342
+ #
2330
2343
  # @!attribute [rw] service
2331
2344
  # The specific service that you want recommendations for. The only
2332
2345
  # valid value for `GetRightsizingRecommendation` is "`AmazonEC2`".
@@ -2346,6 +2359,7 @@ module Aws::CostExplorer
2346
2359
  #
2347
2360
  class GetRightsizingRecommendationRequest < Struct.new(
2348
2361
  :filter,
2362
+ :configuration,
2349
2363
  :service,
2350
2364
  :page_size,
2351
2365
  :next_page_token)
@@ -2368,13 +2382,23 @@ module Aws::CostExplorer
2368
2382
  # The token to retrieve the next set of results.
2369
2383
  # @return [String]
2370
2384
  #
2385
+ # @!attribute [rw] configuration
2386
+ # Enables you to customize recommendations across two attributes. You
2387
+ # can choose to view recommendations for instances within the same
2388
+ # instance families or across different instance families. You can
2389
+ # also choose to view your estimated savings associated with
2390
+ # recommendations with consideration of existing Savings Plans or RI
2391
+ # benefits, or niether.
2392
+ # @return [Types::RightsizingRecommendationConfiguration]
2393
+ #
2371
2394
  # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetRightsizingRecommendationResponse AWS API Documentation
2372
2395
  #
2373
2396
  class GetRightsizingRecommendationResponse < Struct.new(
2374
2397
  :metadata,
2375
2398
  :summary,
2376
2399
  :rightsizing_recommendations,
2377
- :next_page_token)
2400
+ :next_page_token,
2401
+ :configuration)
2378
2402
  include Aws::Structure
2379
2403
  end
2380
2404
 
@@ -3804,6 +3828,40 @@ module Aws::CostExplorer
3804
3828
  include Aws::Structure
3805
3829
  end
3806
3830
 
3831
+ # Enables you to customize recommendations across two attributes. You
3832
+ # can choose to view recommendations for instances within the same
3833
+ # instance families or across different instance families. You can also
3834
+ # choose to view your estimated savings associated with recommendations
3835
+ # with consideration of existing Savings Plans or RI benefits, or
3836
+ # niether.
3837
+ #
3838
+ # @note When making an API call, you may pass RightsizingRecommendationConfiguration
3839
+ # data as a hash:
3840
+ #
3841
+ # {
3842
+ # recommendation_target: "SAME_INSTANCE_FAMILY", # required, accepts SAME_INSTANCE_FAMILY, CROSS_INSTANCE_FAMILY
3843
+ # benefits_considered: false, # required
3844
+ # }
3845
+ #
3846
+ # @!attribute [rw] recommendation_target
3847
+ # The option to see recommendations within the same instance family,
3848
+ # or recommendations for instances across other families. The default
3849
+ # value is `SAME_INSTANCE_FAMILY`.
3850
+ # @return [String]
3851
+ #
3852
+ # @!attribute [rw] benefits_considered
3853
+ # The option to consider RI or Savings Plans discount benefits in your
3854
+ # savings calculation. The default value is `TRUE`.
3855
+ # @return [Boolean]
3856
+ #
3857
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/RightsizingRecommendationConfiguration AWS API Documentation
3858
+ #
3859
+ class RightsizingRecommendationConfiguration < Struct.new(
3860
+ :recommendation_target,
3861
+ :benefits_considered)
3862
+ include Aws::Structure
3863
+ end
3864
+
3807
3865
  # Metadata for this recommendation set.
3808
3866
  #
3809
3867
  # @!attribute [rw] recommendation_id
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.39.0
4
+ version: 1.40.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: 2020-04-20 00:00:00.000000000 Z
11
+ date: 2020-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core