aws-sdk-costexplorer 1.60.0 → 1.61.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-costexplorer.rb +1 -1
- data/lib/aws-sdk-costexplorer/client.rb +7 -7
- data/lib/aws-sdk-costexplorer/client_api.rb +2 -2
- data/lib/aws-sdk-costexplorer/types.rb +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 163315af79d1936eb03a60f3a44d161e348bf53594f14ddfea79213863d5161b
|
|
4
|
+
data.tar.gz: 99e3412987a19a2c16ab3ca6e2c468a3ed320d915f8eddf53479f55ce9fb6634
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 554d41ea55a462b937ad070b7ed3e0edbcfcaca83824e0818ff5936a7a165ec18783e00d11cf37b97d8cd08adc03380c13c7829b514fcc5889c3346813b95374
|
|
7
|
+
data.tar.gz: 8ca433d72bea3b8b61c10a949ca881120fef4ee7b6dd9e257dcb21fc624a7e95f73cc08fa3bdb928df124f3dea18e01e5151c26bac67aafd41d693844d113714
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.61.0
|
data/lib/aws-sdk-costexplorer.rb
CHANGED
|
@@ -916,7 +916,7 @@ module Aws::CostExplorer
|
|
|
916
916
|
# data is retrieved from `2017-01-01` up to and including `2017-04-30`
|
|
917
917
|
# but not including `2017-05-01`.
|
|
918
918
|
#
|
|
919
|
-
# @option params [String] :granularity
|
|
919
|
+
# @option params [required, String] :granularity
|
|
920
920
|
# Sets the AWS cost granularity to `MONTHLY` or `DAILY`, or `HOURLY`. If
|
|
921
921
|
# `Granularity` isn't set, the response object doesn't include the
|
|
922
922
|
# `Granularity`, either `MONTHLY` or `DAILY`, or `HOURLY`.
|
|
@@ -987,7 +987,7 @@ module Aws::CostExplorer
|
|
|
987
987
|
# start: "YearMonthDay", # required
|
|
988
988
|
# end: "YearMonthDay", # required
|
|
989
989
|
# },
|
|
990
|
-
# granularity: "DAILY", # accepts DAILY, MONTHLY, HOURLY
|
|
990
|
+
# granularity: "DAILY", # required, accepts DAILY, MONTHLY, HOURLY
|
|
991
991
|
# filter: {
|
|
992
992
|
# or: [
|
|
993
993
|
# {
|
|
@@ -1092,7 +1092,7 @@ module Aws::CostExplorer
|
|
|
1092
1092
|
# `2017-01-01` up to and including `2017-04-30` but not including
|
|
1093
1093
|
# `2017-05-01`.
|
|
1094
1094
|
#
|
|
1095
|
-
# @option params [String] :granularity
|
|
1095
|
+
# @option params [required, String] :granularity
|
|
1096
1096
|
# Sets the AWS cost granularity to `MONTHLY`, `DAILY`, or `HOURLY`. If
|
|
1097
1097
|
# `Granularity` isn't set, the response object doesn't include the
|
|
1098
1098
|
# `Granularity`, `MONTHLY`, `DAILY`, or `HOURLY`.
|
|
@@ -1160,7 +1160,7 @@ module Aws::CostExplorer
|
|
|
1160
1160
|
# start: "YearMonthDay", # required
|
|
1161
1161
|
# end: "YearMonthDay", # required
|
|
1162
1162
|
# },
|
|
1163
|
-
# granularity: "DAILY", # accepts DAILY, MONTHLY, HOURLY
|
|
1163
|
+
# granularity: "DAILY", # required, accepts DAILY, MONTHLY, HOURLY
|
|
1164
1164
|
# filter: { # required
|
|
1165
1165
|
# or: [
|
|
1166
1166
|
# {
|
|
@@ -3078,7 +3078,7 @@ module Aws::CostExplorer
|
|
|
3078
3078
|
# @example Request syntax with placeholder values
|
|
3079
3079
|
#
|
|
3080
3080
|
# resp = client.get_savings_plans_purchase_recommendation({
|
|
3081
|
-
# savings_plans_type: "COMPUTE_SP", # required, accepts COMPUTE_SP, EC2_INSTANCE_SP
|
|
3081
|
+
# savings_plans_type: "COMPUTE_SP", # required, accepts COMPUTE_SP, EC2_INSTANCE_SP, SAGEMAKER_SP
|
|
3082
3082
|
# term_in_years: "ONE_YEAR", # required, accepts ONE_YEAR, THREE_YEARS
|
|
3083
3083
|
# payment_option: "NO_UPFRONT", # required, accepts NO_UPFRONT, PARTIAL_UPFRONT, ALL_UPFRONT, LIGHT_UTILIZATION, MEDIUM_UTILIZATION, HEAVY_UTILIZATION
|
|
3084
3084
|
# account_scope: "PAYER", # accepts PAYER, LINKED
|
|
@@ -3123,7 +3123,7 @@ module Aws::CostExplorer
|
|
|
3123
3123
|
# resp.metadata.generation_timestamp #=> String
|
|
3124
3124
|
# resp.metadata.additional_metadata #=> String
|
|
3125
3125
|
# resp.savings_plans_purchase_recommendation.account_scope #=> String, one of "PAYER", "LINKED"
|
|
3126
|
-
# resp.savings_plans_purchase_recommendation.savings_plans_type #=> String, one of "COMPUTE_SP", "EC2_INSTANCE_SP"
|
|
3126
|
+
# resp.savings_plans_purchase_recommendation.savings_plans_type #=> String, one of "COMPUTE_SP", "EC2_INSTANCE_SP", "SAGEMAKER_SP"
|
|
3127
3127
|
# resp.savings_plans_purchase_recommendation.term_in_years #=> String, one of "ONE_YEAR", "THREE_YEARS"
|
|
3128
3128
|
# resp.savings_plans_purchase_recommendation.payment_option #=> String, one of "NO_UPFRONT", "PARTIAL_UPFRONT", "ALL_UPFRONT", "LIGHT_UTILIZATION", "MEDIUM_UTILIZATION", "HEAVY_UTILIZATION"
|
|
3129
3129
|
# resp.savings_plans_purchase_recommendation.lookback_period_in_days #=> String, one of "SEVEN_DAYS", "THIRTY_DAYS", "SIXTY_DAYS"
|
|
@@ -4099,7 +4099,7 @@ module Aws::CostExplorer
|
|
|
4099
4099
|
params: params,
|
|
4100
4100
|
config: config)
|
|
4101
4101
|
context[:gem_name] = 'aws-sdk-costexplorer'
|
|
4102
|
-
context[:gem_version] = '1.
|
|
4102
|
+
context[:gem_version] = '1.61.0'
|
|
4103
4103
|
Seahorse::Client::Request.new(handlers, context)
|
|
4104
4104
|
end
|
|
4105
4105
|
|
|
@@ -588,7 +588,7 @@ module Aws::CostExplorer
|
|
|
588
588
|
GetAnomalySubscriptionsResponse.struct_class = Types::GetAnomalySubscriptionsResponse
|
|
589
589
|
|
|
590
590
|
GetCostAndUsageRequest.add_member(:time_period, Shapes::ShapeRef.new(shape: DateInterval, required: true, location_name: "TimePeriod"))
|
|
591
|
-
GetCostAndUsageRequest.add_member(:granularity, Shapes::ShapeRef.new(shape: Granularity, location_name: "Granularity"))
|
|
591
|
+
GetCostAndUsageRequest.add_member(:granularity, Shapes::ShapeRef.new(shape: Granularity, required: true, location_name: "Granularity"))
|
|
592
592
|
GetCostAndUsageRequest.add_member(:filter, Shapes::ShapeRef.new(shape: Expression, location_name: "Filter"))
|
|
593
593
|
GetCostAndUsageRequest.add_member(:metrics, Shapes::ShapeRef.new(shape: MetricNames, required: true, location_name: "Metrics"))
|
|
594
594
|
GetCostAndUsageRequest.add_member(:group_by, Shapes::ShapeRef.new(shape: GroupDefinitions, location_name: "GroupBy"))
|
|
@@ -602,7 +602,7 @@ module Aws::CostExplorer
|
|
|
602
602
|
GetCostAndUsageResponse.struct_class = Types::GetCostAndUsageResponse
|
|
603
603
|
|
|
604
604
|
GetCostAndUsageWithResourcesRequest.add_member(:time_period, Shapes::ShapeRef.new(shape: DateInterval, required: true, location_name: "TimePeriod"))
|
|
605
|
-
GetCostAndUsageWithResourcesRequest.add_member(:granularity, Shapes::ShapeRef.new(shape: Granularity, location_name: "Granularity"))
|
|
605
|
+
GetCostAndUsageWithResourcesRequest.add_member(:granularity, Shapes::ShapeRef.new(shape: Granularity, required: true, location_name: "Granularity"))
|
|
606
606
|
GetCostAndUsageWithResourcesRequest.add_member(:filter, Shapes::ShapeRef.new(shape: Expression, required: true, location_name: "Filter"))
|
|
607
607
|
GetCostAndUsageWithResourcesRequest.add_member(:metrics, Shapes::ShapeRef.new(shape: MetricNames, location_name: "Metrics"))
|
|
608
608
|
GetCostAndUsageWithResourcesRequest.add_member(:group_by, Shapes::ShapeRef.new(shape: GroupDefinitions, location_name: "GroupBy"))
|
|
@@ -2004,7 +2004,7 @@ module Aws::CostExplorer
|
|
|
2004
2004
|
# start: "YearMonthDay", # required
|
|
2005
2005
|
# end: "YearMonthDay", # required
|
|
2006
2006
|
# },
|
|
2007
|
-
# granularity: "DAILY", # accepts DAILY, MONTHLY, HOURLY
|
|
2007
|
+
# granularity: "DAILY", # required, accepts DAILY, MONTHLY, HOURLY
|
|
2008
2008
|
# filter: {
|
|
2009
2009
|
# or: [
|
|
2010
2010
|
# {
|
|
@@ -2168,7 +2168,7 @@ module Aws::CostExplorer
|
|
|
2168
2168
|
# start: "YearMonthDay", # required
|
|
2169
2169
|
# end: "YearMonthDay", # required
|
|
2170
2170
|
# },
|
|
2171
|
-
# granularity: "DAILY", # accepts DAILY, MONTHLY, HOURLY
|
|
2171
|
+
# granularity: "DAILY", # required, accepts DAILY, MONTHLY, HOURLY
|
|
2172
2172
|
# filter: { # required
|
|
2173
2173
|
# or: [
|
|
2174
2174
|
# {
|
|
@@ -4107,7 +4107,7 @@ module Aws::CostExplorer
|
|
|
4107
4107
|
# data as a hash:
|
|
4108
4108
|
#
|
|
4109
4109
|
# {
|
|
4110
|
-
# savings_plans_type: "COMPUTE_SP", # required, accepts COMPUTE_SP, EC2_INSTANCE_SP
|
|
4110
|
+
# savings_plans_type: "COMPUTE_SP", # required, accepts COMPUTE_SP, EC2_INSTANCE_SP, SAGEMAKER_SP
|
|
4111
4111
|
# term_in_years: "ONE_YEAR", # required, accepts ONE_YEAR, THREE_YEARS
|
|
4112
4112
|
# payment_option: "NO_UPFRONT", # required, accepts NO_UPFRONT, PARTIAL_UPFRONT, ALL_UPFRONT, LIGHT_UTILIZATION, MEDIUM_UTILIZATION, HEAVY_UTILIZATION
|
|
4113
4113
|
# account_scope: "PAYER", # accepts PAYER, LINKED
|
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.61.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: 2021-
|
|
11
|
+
date: 2021-04-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|
|
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
84
84
|
version: '0'
|
|
85
85
|
requirements: []
|
|
86
86
|
rubyforge_project:
|
|
87
|
-
rubygems_version: 2.7.6.
|
|
87
|
+
rubygems_version: 2.7.6.3
|
|
88
88
|
signing_key:
|
|
89
89
|
specification_version: 4
|
|
90
90
|
summary: AWS SDK for Ruby - AWS Cost Explorer
|