aws-sdk-costexplorer 1.49.0 → 1.50.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-costexplorer.rb +1 -1
- data/lib/aws-sdk-costexplorer/client.rb +27 -17
- data/lib/aws-sdk-costexplorer/client_api.rb +8 -0
- data/lib/aws-sdk-costexplorer/types.rb +61 -18
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0922786b526a6cedca60638eae0ebfdc2d2c887254752dac9fcf8c565283eb1d'
|
4
|
+
data.tar.gz: 17ec5125ea455debb770910eb304b218b749ad581bea44595953eda5d9ba2aae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c33eabe4ba56eb0f6bcaadef9d88576c81142aabe6114192b1e391896be7cb31d536a4d1507128f64547e7f1bbbd56d05e68179b6a007a214c0fa1f5b181e22
|
7
|
+
data.tar.gz: 8df69c2ec38f3f0ed9a82edd7d0471f356a6a20afe1f03636ef54fbfdbe4aba4b2ba04d8e5b889f9d37feec230339778eac3a13070a7cdb6f475b2d0b8fd958a
|
data/lib/aws-sdk-costexplorer.rb
CHANGED
@@ -875,7 +875,7 @@ module Aws::CostExplorer
|
|
875
875
|
# `UsageQuantity`, that you want the request to return. You can also
|
876
876
|
# filter and group your data by various dimensions, such as `SERVICE` or
|
877
877
|
# `AZ`, in a specific time range. For a complete list of valid
|
878
|
-
# dimensions, see the [GetDimensionValues][1] operation. Master
|
878
|
+
# dimensions, see the [GetDimensionValues][1] operation. Master account
|
879
879
|
# in an organization in AWS Organizations have access to all member
|
880
880
|
# accounts.
|
881
881
|
#
|
@@ -1035,7 +1035,7 @@ module Aws::CostExplorer
|
|
1035
1035
|
# return. You can also filter and group your data by various dimensions,
|
1036
1036
|
# such as `SERVICE` or `AZ`, in a specific time range. For a complete
|
1037
1037
|
# list of valid dimensions, see the [GetDimensionValues][1] operation.
|
1038
|
-
# Master
|
1038
|
+
# Master account in an organization in AWS Organizations have access to
|
1039
1039
|
# all member accounts. This API is currently available for the Amazon
|
1040
1040
|
# Elastic Compute Cloud – Compute service only.
|
1041
1041
|
#
|
@@ -1743,9 +1743,9 @@ module Aws::CostExplorer
|
|
1743
1743
|
#
|
1744
1744
|
# @option params [String] :account_scope
|
1745
1745
|
# The account scope that you want your recommendations for. Amazon Web
|
1746
|
-
# Services calculates recommendations including the
|
1747
|
-
#
|
1748
|
-
# `LINKED`, recommendations are calculated for individual
|
1746
|
+
# Services calculates recommendations including the master account and
|
1747
|
+
# member accounts if the value is set to `PAYER`. If the value is
|
1748
|
+
# `LINKED`, recommendations are calculated for individual member
|
1749
1749
|
# accounts only.
|
1750
1750
|
#
|
1751
1751
|
# @option params [String] :lookback_period_in_days
|
@@ -1871,11 +1871,11 @@ module Aws::CostExplorer
|
|
1871
1871
|
req.send_request(options)
|
1872
1872
|
end
|
1873
1873
|
|
1874
|
-
# Retrieves the reservation utilization for your account. Master
|
1875
|
-
#
|
1876
|
-
#
|
1877
|
-
#
|
1878
|
-
#
|
1874
|
+
# Retrieves the reservation utilization for your account. Master account
|
1875
|
+
# in an organization have access to member accounts. You can filter data
|
1876
|
+
# by dimensions in a time period. You can use `GetDimensionValues` to
|
1877
|
+
# determine the possible dimension values. Currently, you can group only
|
1878
|
+
# by `SUBSCRIPTION_ID`.
|
1879
1879
|
#
|
1880
1880
|
# @option params [required, Types::DateInterval] :time_period
|
1881
1881
|
# Sets the start and end dates for retrieving RI utilization. The start
|
@@ -2070,8 +2070,10 @@ module Aws::CostExplorer
|
|
2070
2070
|
#
|
2071
2071
|
# * Simple dimension values - You can set the dimension name and values
|
2072
2072
|
# for the filters that you plan to use. For example, you can filter
|
2073
|
-
# for `REGION==us-east-1 OR REGION==us-west-1`.
|
2074
|
-
#
|
2073
|
+
# for `REGION==us-east-1 OR REGION==us-west-1`. For
|
2074
|
+
# `GetRightsizingRecommendation`, the Region is a full name (for
|
2075
|
+
# example, `REGION==US East (N. Virginia)`. The `Expression` example
|
2076
|
+
# looks like:
|
2075
2077
|
#
|
2076
2078
|
# `\{ "Dimensions": \{ "Key": "REGION", "Values": [ "us-east-1",
|
2077
2079
|
# “us-west-1” ] \} \}`
|
@@ -2210,6 +2212,10 @@ module Aws::CostExplorer
|
|
2210
2212
|
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.max_cpu_utilization_percentage #=> String
|
2211
2213
|
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.max_memory_utilization_percentage #=> String
|
2212
2214
|
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.max_storage_utilization_percentage #=> String
|
2215
|
+
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.ebs_resource_utilization.ebs_read_ops_per_second #=> String
|
2216
|
+
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.ebs_resource_utilization.ebs_write_ops_per_second #=> String
|
2217
|
+
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.ebs_resource_utilization.ebs_read_bytes_per_second #=> String
|
2218
|
+
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.ebs_resource_utilization.ebs_write_bytes_per_second #=> String
|
2213
2219
|
# resp.rightsizing_recommendations[0].current_instance.reservation_covered_hours_in_lookback_period #=> String
|
2214
2220
|
# resp.rightsizing_recommendations[0].current_instance.savings_plans_covered_hours_in_lookback_period #=> String
|
2215
2221
|
# resp.rightsizing_recommendations[0].current_instance.on_demand_hours_in_lookback_period #=> String
|
@@ -2234,6 +2240,10 @@ module Aws::CostExplorer
|
|
2234
2240
|
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.max_cpu_utilization_percentage #=> String
|
2235
2241
|
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.max_memory_utilization_percentage #=> String
|
2236
2242
|
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.max_storage_utilization_percentage #=> String
|
2243
|
+
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.ebs_resource_utilization.ebs_read_ops_per_second #=> String
|
2244
|
+
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.ebs_resource_utilization.ebs_write_ops_per_second #=> String
|
2245
|
+
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.ebs_resource_utilization.ebs_read_bytes_per_second #=> String
|
2246
|
+
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.ebs_resource_utilization.ebs_write_bytes_per_second #=> String
|
2237
2247
|
# resp.rightsizing_recommendations[0].terminate_recommendation_detail.estimated_monthly_savings #=> String
|
2238
2248
|
# resp.rightsizing_recommendations[0].terminate_recommendation_detail.currency_code #=> String
|
2239
2249
|
# resp.next_page_token #=> String
|
@@ -2411,9 +2421,9 @@ module Aws::CostExplorer
|
|
2411
2421
|
#
|
2412
2422
|
# @option params [String] :account_scope
|
2413
2423
|
# The account scope that you want your recommendations for. Amazon Web
|
2414
|
-
# Services calculates recommendations including the
|
2415
|
-
#
|
2416
|
-
# `LINKED`, recommendations are calculated for individual
|
2424
|
+
# Services calculates recommendations including the master account and
|
2425
|
+
# member accounts if the value is set to `PAYER`. If the value is
|
2426
|
+
# `LINKED`, recommendations are calculated for individual member
|
2417
2427
|
# accounts only.
|
2418
2428
|
#
|
2419
2429
|
# @option params [String] :next_page_token
|
@@ -2540,7 +2550,7 @@ module Aws::CostExplorer
|
|
2540
2550
|
end
|
2541
2551
|
|
2542
2552
|
# Retrieves the Savings Plans utilization for your account across date
|
2543
|
-
# ranges with daily or monthly granularity. Master
|
2553
|
+
# ranges with daily or monthly granularity. Master account in an
|
2544
2554
|
# organization have access to member accounts. You can use
|
2545
2555
|
# `GetDimensionValues` in `SAVINGS_PLANS` to determine the possible
|
2546
2556
|
# dimension values.
|
@@ -3232,7 +3242,7 @@ module Aws::CostExplorer
|
|
3232
3242
|
params: params,
|
3233
3243
|
config: config)
|
3234
3244
|
context[:gem_name] = 'aws-sdk-costexplorer'
|
3235
|
-
context[:gem_version] = '1.
|
3245
|
+
context[:gem_version] = '1.50.0'
|
3236
3246
|
Seahorse::Client::Request.new(handlers, context)
|
3237
3247
|
end
|
3238
3248
|
|
@@ -71,6 +71,7 @@ module Aws::CostExplorer
|
|
71
71
|
DimensionValues = Shapes::StructureShape.new(name: 'DimensionValues')
|
72
72
|
DimensionValuesWithAttributes = Shapes::StructureShape.new(name: 'DimensionValuesWithAttributes')
|
73
73
|
DimensionValuesWithAttributesList = Shapes::ListShape.new(name: 'DimensionValuesWithAttributesList')
|
74
|
+
EBSResourceUtilization = Shapes::StructureShape.new(name: 'EBSResourceUtilization')
|
74
75
|
EC2InstanceDetails = Shapes::StructureShape.new(name: 'EC2InstanceDetails')
|
75
76
|
EC2ResourceDetails = Shapes::StructureShape.new(name: 'EC2ResourceDetails')
|
76
77
|
EC2ResourceUtilization = Shapes::StructureShape.new(name: 'EC2ResourceUtilization')
|
@@ -442,6 +443,12 @@ module Aws::CostExplorer
|
|
442
443
|
|
443
444
|
DimensionValuesWithAttributesList.member = Shapes::ShapeRef.new(shape: DimensionValuesWithAttributes)
|
444
445
|
|
446
|
+
EBSResourceUtilization.add_member(:ebs_read_ops_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "EbsReadOpsPerSecond"))
|
447
|
+
EBSResourceUtilization.add_member(:ebs_write_ops_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "EbsWriteOpsPerSecond"))
|
448
|
+
EBSResourceUtilization.add_member(:ebs_read_bytes_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "EbsReadBytesPerSecond"))
|
449
|
+
EBSResourceUtilization.add_member(:ebs_write_bytes_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "EbsWriteBytesPerSecond"))
|
450
|
+
EBSResourceUtilization.struct_class = Types::EBSResourceUtilization
|
451
|
+
|
445
452
|
EC2InstanceDetails.add_member(:family, Shapes::ShapeRef.new(shape: GenericString, location_name: "Family"))
|
446
453
|
EC2InstanceDetails.add_member(:instance_type, Shapes::ShapeRef.new(shape: GenericString, location_name: "InstanceType"))
|
447
454
|
EC2InstanceDetails.add_member(:region, Shapes::ShapeRef.new(shape: GenericString, location_name: "Region"))
|
@@ -466,6 +473,7 @@ module Aws::CostExplorer
|
|
466
473
|
EC2ResourceUtilization.add_member(:max_cpu_utilization_percentage, Shapes::ShapeRef.new(shape: GenericString, location_name: "MaxCpuUtilizationPercentage"))
|
467
474
|
EC2ResourceUtilization.add_member(:max_memory_utilization_percentage, Shapes::ShapeRef.new(shape: GenericString, location_name: "MaxMemoryUtilizationPercentage"))
|
468
475
|
EC2ResourceUtilization.add_member(:max_storage_utilization_percentage, Shapes::ShapeRef.new(shape: GenericString, location_name: "MaxStorageUtilizationPercentage"))
|
476
|
+
EC2ResourceUtilization.add_member(:ebs_resource_utilization, Shapes::ShapeRef.new(shape: EBSResourceUtilization, location_name: "EBSResourceUtilization"))
|
469
477
|
EC2ResourceUtilization.struct_class = Types::EC2ResourceUtilization
|
470
478
|
|
471
479
|
EC2Specification.add_member(:offering_class, Shapes::ShapeRef.new(shape: OfferingClass, location_name: "OfferingClass"))
|
@@ -176,8 +176,10 @@ module Aws::CostExplorer
|
|
176
176
|
#
|
177
177
|
# * Simple dimension values - You can set the dimension name and
|
178
178
|
# values for the filters that you plan to use. For example, you can
|
179
|
-
# filter for `REGION==us-east-1 OR REGION==us-west-1`.
|
180
|
-
# `
|
179
|
+
# filter for `REGION==us-east-1 OR REGION==us-west-1`. For
|
180
|
+
# `GetRightsizingRecommendation`, the Region is a full name (for
|
181
|
+
# example, `REGION==US East (N. Virginia)`. The `Expression` example
|
182
|
+
# looks like:
|
181
183
|
#
|
182
184
|
# `\{ "Dimensions": \{ "Key": "REGION", "Values": [ "us-east-1",
|
183
185
|
# “us-west-1” ] \} \}`
|
@@ -1164,6 +1166,36 @@ module Aws::CostExplorer
|
|
1164
1166
|
include Aws::Structure
|
1165
1167
|
end
|
1166
1168
|
|
1169
|
+
# The EBS field that contains a list of EBS metrics associated with the
|
1170
|
+
# current instance.
|
1171
|
+
#
|
1172
|
+
# @!attribute [rw] ebs_read_ops_per_second
|
1173
|
+
# The maximum number of read operations per second.
|
1174
|
+
# @return [String]
|
1175
|
+
#
|
1176
|
+
# @!attribute [rw] ebs_write_ops_per_second
|
1177
|
+
# The maximum number of write operations per second.
|
1178
|
+
# @return [String]
|
1179
|
+
#
|
1180
|
+
# @!attribute [rw] ebs_read_bytes_per_second
|
1181
|
+
# The maximum size of read operations per second
|
1182
|
+
# @return [String]
|
1183
|
+
#
|
1184
|
+
# @!attribute [rw] ebs_write_bytes_per_second
|
1185
|
+
# The maximum size of write operations per second.
|
1186
|
+
# @return [String]
|
1187
|
+
#
|
1188
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/EBSResourceUtilization AWS API Documentation
|
1189
|
+
#
|
1190
|
+
class EBSResourceUtilization < Struct.new(
|
1191
|
+
:ebs_read_ops_per_second,
|
1192
|
+
:ebs_write_ops_per_second,
|
1193
|
+
:ebs_read_bytes_per_second,
|
1194
|
+
:ebs_write_bytes_per_second)
|
1195
|
+
SENSITIVE = []
|
1196
|
+
include Aws::Structure
|
1197
|
+
end
|
1198
|
+
|
1167
1199
|
# Details about the Amazon EC2 instances that AWS recommends that you
|
1168
1200
|
# purchase.
|
1169
1201
|
#
|
@@ -1287,12 +1319,18 @@ module Aws::CostExplorer
|
|
1287
1319
|
# (does not measure EBS storage).
|
1288
1320
|
# @return [String]
|
1289
1321
|
#
|
1322
|
+
# @!attribute [rw] ebs_resource_utilization
|
1323
|
+
# The EBS field that contains a list of EBS metrics associated with
|
1324
|
+
# the current instance.
|
1325
|
+
# @return [Types::EBSResourceUtilization]
|
1326
|
+
#
|
1290
1327
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/EC2ResourceUtilization AWS API Documentation
|
1291
1328
|
#
|
1292
1329
|
class EC2ResourceUtilization < Struct.new(
|
1293
1330
|
:max_cpu_utilization_percentage,
|
1294
1331
|
:max_memory_utilization_percentage,
|
1295
|
-
:max_storage_utilization_percentage
|
1332
|
+
:max_storage_utilization_percentage,
|
1333
|
+
:ebs_resource_utilization)
|
1296
1334
|
SENSITIVE = []
|
1297
1335
|
include Aws::Structure
|
1298
1336
|
end
|
@@ -1400,8 +1438,10 @@ module Aws::CostExplorer
|
|
1400
1438
|
#
|
1401
1439
|
# * Simple dimension values - You can set the dimension name and values
|
1402
1440
|
# for the filters that you plan to use. For example, you can filter
|
1403
|
-
# for `REGION==us-east-1 OR REGION==us-west-1`.
|
1404
|
-
#
|
1441
|
+
# for `REGION==us-east-1 OR REGION==us-west-1`. For
|
1442
|
+
# `GetRightsizingRecommendation`, the Region is a full name (for
|
1443
|
+
# example, `REGION==US East (N. Virginia)`. The `Expression` example
|
1444
|
+
# looks like:
|
1405
1445
|
#
|
1406
1446
|
# `\{ "Dimensions": \{ "Key": "REGION", "Values": [ "us-east-1",
|
1407
1447
|
# “us-west-1” ] \} \}`
|
@@ -2750,9 +2790,9 @@ module Aws::CostExplorer
|
|
2750
2790
|
#
|
2751
2791
|
# @!attribute [rw] account_scope
|
2752
2792
|
# The account scope that you want your recommendations for. Amazon Web
|
2753
|
-
# Services calculates recommendations including the
|
2754
|
-
#
|
2755
|
-
# `LINKED`, recommendations are calculated for individual
|
2793
|
+
# Services calculates recommendations including the master account and
|
2794
|
+
# member accounts if the value is set to `PAYER`. If the value is
|
2795
|
+
# `LINKED`, recommendations are calculated for individual member
|
2756
2796
|
# accounts only.
|
2757
2797
|
# @return [String]
|
2758
2798
|
#
|
@@ -3019,8 +3059,10 @@ module Aws::CostExplorer
|
|
3019
3059
|
#
|
3020
3060
|
# * Simple dimension values - You can set the dimension name and
|
3021
3061
|
# values for the filters that you plan to use. For example, you can
|
3022
|
-
# filter for `REGION==us-east-1 OR REGION==us-west-1`.
|
3023
|
-
# `
|
3062
|
+
# filter for `REGION==us-east-1 OR REGION==us-west-1`. For
|
3063
|
+
# `GetRightsizingRecommendation`, the Region is a full name (for
|
3064
|
+
# example, `REGION==US East (N. Virginia)`. The `Expression` example
|
3065
|
+
# looks like:
|
3024
3066
|
#
|
3025
3067
|
# `\{ "Dimensions": \{ "Key": "REGION", "Values": [ "us-east-1",
|
3026
3068
|
# “us-west-1” ] \} \}`
|
@@ -3334,9 +3376,9 @@ module Aws::CostExplorer
|
|
3334
3376
|
#
|
3335
3377
|
# @!attribute [rw] account_scope
|
3336
3378
|
# The account scope that you want your recommendations for. Amazon Web
|
3337
|
-
# Services calculates recommendations including the
|
3338
|
-
#
|
3339
|
-
# `LINKED`, recommendations are calculated for individual
|
3379
|
+
# Services calculates recommendations including the master account and
|
3380
|
+
# member accounts if the value is set to `PAYER`. If the value is
|
3381
|
+
# `LINKED`, recommendations are calculated for individual member
|
3340
3382
|
# accounts only.
|
3341
3383
|
# @return [String]
|
3342
3384
|
#
|
@@ -4893,10 +4935,11 @@ module Aws::CostExplorer
|
|
4893
4935
|
# Summary, and Details.
|
4894
4936
|
#
|
4895
4937
|
# @!attribute [rw] account_scope
|
4896
|
-
# The account scope that you want your recommendations for.
|
4897
|
-
# calculates recommendations including the
|
4898
|
-
# accounts if the value is set to `PAYER`. If the value is
|
4899
|
-
# recommendations are calculated for individual
|
4938
|
+
# The account scope that you want your recommendations for. Amazon Web
|
4939
|
+
# Services calculates recommendations including the master account and
|
4940
|
+
# member accounts if the value is set to `PAYER`. If the value is
|
4941
|
+
# `LINKED`, recommendations are calculated for individual member
|
4942
|
+
# accounts only.
|
4900
4943
|
# @return [String]
|
4901
4944
|
#
|
4902
4945
|
# @!attribute [rw] savings_plans_type
|
@@ -5259,7 +5302,7 @@ module Aws::CostExplorer
|
|
5259
5302
|
end
|
5260
5303
|
|
5261
5304
|
# A single daily or monthly Savings Plans utilization rate, and details
|
5262
|
-
# for your account.
|
5305
|
+
# for your account. A master account in an organization have access to
|
5263
5306
|
# member accounts. You can use `GetDimensionValues` to determine the
|
5264
5307
|
# possible dimension values.
|
5265
5308
|
#
|
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.50.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-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|