aws-sdk-costexplorer 1.44.0 → 1.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6aba9e216bd7048869658584a32b8a5a8a94d420db7fa0302e6b20abd0677f3a
|
|
4
|
+
data.tar.gz: fccc1d2f324d62faa70100d53a600872aecf1f03e6360966ee62448308245e93
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 35d1503b8aa33cf7e072d25c772f7899cbad7cd71dc33ebf052e99ea68e0b45ba1e7348dbc8bf51977d7ac7e7d724d7e5643bdd002a12bd7d76bd4895c817e45
|
|
7
|
+
data.tar.gz: 1765bc3baa8db543374d738e8e2548fb12fde75fe6a627620710c8e9701b36b0281cb388cc0ac41f6ca6ed1beb3f56a45eb34dfaadad7c5e63bd04452e188f35
|
data/lib/aws-sdk-costexplorer.rb
CHANGED
|
@@ -1668,17 +1668,18 @@ module Aws::CostExplorer
|
|
|
1668
1668
|
req.send_request(options)
|
|
1669
1669
|
end
|
|
1670
1670
|
|
|
1671
|
-
# Creates recommendations that
|
|
1671
|
+
# Creates recommendations that help you save cost by identifying idle
|
|
1672
1672
|
# and underutilized Amazon EC2 instances.
|
|
1673
1673
|
#
|
|
1674
1674
|
# Recommendations are generated to either downsize or terminate
|
|
1675
1675
|
# instances, along with providing savings detail and metrics. For
|
|
1676
1676
|
# details on calculation and function, see [Optimizing Your Cost with
|
|
1677
|
-
# Rightsizing Recommendations][1]
|
|
1677
|
+
# Rightsizing Recommendations][1] in the *AWS Billing and Cost
|
|
1678
|
+
# Management User Guide*.
|
|
1678
1679
|
#
|
|
1679
1680
|
#
|
|
1680
1681
|
#
|
|
1681
|
-
# [1]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/ce-
|
|
1682
|
+
# [1]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/ce-rightsizing.html
|
|
1682
1683
|
#
|
|
1683
1684
|
# @option params [Types::Expression] :filter
|
|
1684
1685
|
# Use `Expression` to filter by cost or by usage. There are two
|
|
@@ -1732,7 +1733,7 @@ module Aws::CostExplorer
|
|
|
1732
1733
|
# instance families or across different instance families. You can also
|
|
1733
1734
|
# choose to view your estimated savings associated with recommendations
|
|
1734
1735
|
# with consideration of existing Savings Plans or RI benefits, or
|
|
1735
|
-
#
|
|
1736
|
+
# neither.
|
|
1736
1737
|
#
|
|
1737
1738
|
# @option params [required, String] :service
|
|
1738
1739
|
# The specific service that you want recommendations for. The only valid
|
|
@@ -1807,6 +1808,7 @@ module Aws::CostExplorer
|
|
|
1807
1808
|
# resp.rightsizing_recommendations #=> Array
|
|
1808
1809
|
# resp.rightsizing_recommendations[0].account_id #=> String
|
|
1809
1810
|
# resp.rightsizing_recommendations[0].current_instance.resource_id #=> String
|
|
1811
|
+
# resp.rightsizing_recommendations[0].current_instance.instance_name #=> String
|
|
1810
1812
|
# resp.rightsizing_recommendations[0].current_instance.tags #=> Array
|
|
1811
1813
|
# resp.rightsizing_recommendations[0].current_instance.tags[0].key #=> String
|
|
1812
1814
|
# resp.rightsizing_recommendations[0].current_instance.tags[0].values #=> Array
|
|
@@ -2018,7 +2020,7 @@ module Aws::CostExplorer
|
|
|
2018
2020
|
# The Savings Plans recommendation type requested.
|
|
2019
2021
|
#
|
|
2020
2022
|
# @option params [required, String] :term_in_years
|
|
2021
|
-
# The savings plan recommendation term used to
|
|
2023
|
+
# The savings plan recommendation term used to generate these
|
|
2022
2024
|
# recommendations.
|
|
2023
2025
|
#
|
|
2024
2026
|
# @option params [required, String] :payment_option
|
|
@@ -2725,7 +2727,7 @@ module Aws::CostExplorer
|
|
|
2725
2727
|
params: params,
|
|
2726
2728
|
config: config)
|
|
2727
2729
|
context[:gem_name] = 'aws-sdk-costexplorer'
|
|
2728
|
-
context[:gem_version] = '1.
|
|
2730
|
+
context[:gem_version] = '1.45.0'
|
|
2729
2731
|
Seahorse::Client::Request.new(handlers, context)
|
|
2730
2732
|
end
|
|
2731
2733
|
|
|
@@ -285,6 +285,7 @@ module Aws::CostExplorer
|
|
|
285
285
|
CreateCostCategoryDefinitionResponse.struct_class = Types::CreateCostCategoryDefinitionResponse
|
|
286
286
|
|
|
287
287
|
CurrentInstance.add_member(:resource_id, Shapes::ShapeRef.new(shape: GenericString, location_name: "ResourceId"))
|
|
288
|
+
CurrentInstance.add_member(:instance_name, Shapes::ShapeRef.new(shape: GenericString, location_name: "InstanceName"))
|
|
288
289
|
CurrentInstance.add_member(:tags, Shapes::ShapeRef.new(shape: TagValuesList, location_name: "Tags"))
|
|
289
290
|
CurrentInstance.add_member(:resource_details, Shapes::ShapeRef.new(shape: ResourceDetails, location_name: "ResourceDetails"))
|
|
290
291
|
CurrentInstance.add_member(:resource_utilization, Shapes::ShapeRef.new(shape: ResourceUtilization, location_name: "ResourceUtilization"))
|
|
@@ -437,6 +437,11 @@ module Aws::CostExplorer
|
|
|
437
437
|
# Resource ID of the current instance.
|
|
438
438
|
# @return [String]
|
|
439
439
|
#
|
|
440
|
+
# @!attribute [rw] instance_name
|
|
441
|
+
# The name you've given an instance. This field will show as blank if
|
|
442
|
+
# you haven't given the instance a name.
|
|
443
|
+
# @return [String]
|
|
444
|
+
#
|
|
440
445
|
# @!attribute [rw] tags
|
|
441
446
|
# Cost allocation resource tags applied to the instance.
|
|
442
447
|
# @return [Array<Types::TagValues>]
|
|
@@ -482,6 +487,7 @@ module Aws::CostExplorer
|
|
|
482
487
|
#
|
|
483
488
|
class CurrentInstance < Struct.new(
|
|
484
489
|
:resource_id,
|
|
490
|
+
:instance_name,
|
|
485
491
|
:tags,
|
|
486
492
|
:resource_details,
|
|
487
493
|
:resource_utilization,
|
|
@@ -2382,7 +2388,7 @@ module Aws::CostExplorer
|
|
|
2382
2388
|
# instance families or across different instance families. You can
|
|
2383
2389
|
# also choose to view your estimated savings associated with
|
|
2384
2390
|
# recommendations with consideration of existing Savings Plans or RI
|
|
2385
|
-
# benefits, or
|
|
2391
|
+
# benefits, or neither.
|
|
2386
2392
|
# @return [Types::RightsizingRecommendationConfiguration]
|
|
2387
2393
|
#
|
|
2388
2394
|
# @!attribute [rw] service
|
|
@@ -2434,7 +2440,7 @@ module Aws::CostExplorer
|
|
|
2434
2440
|
# instance families or across different instance families. You can
|
|
2435
2441
|
# also choose to view your estimated savings associated with
|
|
2436
2442
|
# recommendations with consideration of existing Savings Plans or RI
|
|
2437
|
-
# benefits, or
|
|
2443
|
+
# benefits, or neither.
|
|
2438
2444
|
# @return [Types::RightsizingRecommendationConfiguration]
|
|
2439
2445
|
#
|
|
2440
2446
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetRightsizingRecommendationResponse AWS API Documentation
|
|
@@ -2638,7 +2644,7 @@ module Aws::CostExplorer
|
|
|
2638
2644
|
# @return [String]
|
|
2639
2645
|
#
|
|
2640
2646
|
# @!attribute [rw] term_in_years
|
|
2641
|
-
# The savings plan recommendation term used to
|
|
2647
|
+
# The savings plan recommendation term used to generate these
|
|
2642
2648
|
# recommendations.
|
|
2643
2649
|
# @return [String]
|
|
2644
2650
|
#
|
|
@@ -3916,7 +3922,7 @@ module Aws::CostExplorer
|
|
|
3916
3922
|
# instance families or across different instance families. You can also
|
|
3917
3923
|
# choose to view your estimated savings associated with recommendations
|
|
3918
3924
|
# with consideration of existing Savings Plans or RI benefits, or
|
|
3919
|
-
#
|
|
3925
|
+
# neither.
|
|
3920
3926
|
#
|
|
3921
3927
|
# @note When making an API call, you may pass RightsizingRecommendationConfiguration
|
|
3922
3928
|
# data as a hash:
|
|
@@ -3953,8 +3959,7 @@ module Aws::CostExplorer
|
|
|
3953
3959
|
# @return [String]
|
|
3954
3960
|
#
|
|
3955
3961
|
# @!attribute [rw] generation_timestamp
|
|
3956
|
-
# The
|
|
3957
|
-
# recommendation.
|
|
3962
|
+
# The timestamp for when Amazon Web Services made this recommendation.
|
|
3958
3963
|
# @return [String]
|
|
3959
3964
|
#
|
|
3960
3965
|
# @!attribute [rw] lookback_period_in_days
|
|
@@ -3990,7 +3995,7 @@ module Aws::CostExplorer
|
|
|
3990
3995
|
#
|
|
3991
3996
|
# @!attribute [rw] savings_percentage
|
|
3992
3997
|
# Savings percentage based on the recommended modifications, relative
|
|
3993
|
-
# to the total On
|
|
3998
|
+
# to the total On-Demand costs associated with these instances.
|
|
3994
3999
|
# @return [String]
|
|
3995
4000
|
#
|
|
3996
4001
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/RightsizingRecommendationSummary AWS API Documentation
|
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.
|
|
4
|
+
version: 1.45.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-
|
|
11
|
+
date: 2020-07-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|