aws-sdk-costexplorer 1.49.0 → 1.54.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 +70 -29
- data/lib/aws-sdk-costexplorer/client_api.rb +31 -2
- data/lib/aws-sdk-costexplorer/types.rb +141 -27
- 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: 940b4ef1a65a63ec3a36228cacf6fcb922ace0d795a3f37b25a7251fe9f9b569
|
4
|
+
data.tar.gz: 58ab876de970ed21945cdddd696983a7ec85f85e08a5b16b8fcf8b506903682b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69b14ff65f6ffaf516cf1c9ecefbfc8bb51ac63658ece9b57d29940f5455bd651aa1e974f66c01462643fdd3fcf8b6f60af11d308c8b12ee90eb3d311e99734e
|
7
|
+
data.tar.gz: bac72d3e3a97fe0bbf11a851ab950b7f8db1e2830774074cb02897089f3a0be340e5e9303bc99c34cbc7d08603eea2bf7b072aa6738c95d0d10c1f40c1eb6c1b
|
data/lib/aws-sdk-costexplorer.rb
CHANGED
@@ -385,6 +385,7 @@ module Aws::CostExplorer
|
|
385
385
|
# cost_categories: {
|
386
386
|
# key: "CostCategoryName",
|
387
387
|
# values: ["Value"],
|
388
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
388
389
|
# },
|
389
390
|
# },
|
390
391
|
# dimensional_value_count: 1,
|
@@ -422,7 +423,7 @@ module Aws::CostExplorer
|
|
422
423
|
# anomaly_subscription: { # required
|
423
424
|
# subscription_arn: "GenericString",
|
424
425
|
# account_id: "GenericString",
|
425
|
-
# monitor_arn_list: ["
|
426
|
+
# monitor_arn_list: ["Arn"], # required
|
426
427
|
# subscribers: [ # required
|
427
428
|
# {
|
428
429
|
# address: "SubscriberAddress",
|
@@ -505,6 +506,7 @@ module Aws::CostExplorer
|
|
505
506
|
# cost_categories: {
|
506
507
|
# key: "CostCategoryName",
|
507
508
|
# values: ["Value"],
|
509
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
508
510
|
# },
|
509
511
|
# },
|
510
512
|
# },
|
@@ -655,6 +657,11 @@ module Aws::CostExplorer
|
|
655
657
|
# resp.cost_category.rules[0].rule.cost_categories.key #=> String
|
656
658
|
# resp.cost_category.rules[0].rule.cost_categories.values #=> Array
|
657
659
|
# resp.cost_category.rules[0].rule.cost_categories.values[0] #=> String
|
660
|
+
# resp.cost_category.rules[0].rule.cost_categories.match_options #=> Array
|
661
|
+
# resp.cost_category.rules[0].rule.cost_categories.match_options[0] #=> String, one of "EQUALS", "STARTS_WITH", "ENDS_WITH", "CONTAINS", "CASE_SENSITIVE", "CASE_INSENSITIVE"
|
662
|
+
# resp.cost_category.processing_status #=> Array
|
663
|
+
# resp.cost_category.processing_status[0].component #=> String, one of "COST_EXPLORER"
|
664
|
+
# resp.cost_category.processing_status[0].status #=> String, one of "PROCESSING", "APPLIED"
|
658
665
|
#
|
659
666
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/DescribeCostCategoryDefinition AWS API Documentation
|
660
667
|
#
|
@@ -801,6 +808,8 @@ module Aws::CostExplorer
|
|
801
808
|
# resp.anomaly_monitors[0].monitor_specification.cost_categories.key #=> String
|
802
809
|
# resp.anomaly_monitors[0].monitor_specification.cost_categories.values #=> Array
|
803
810
|
# resp.anomaly_monitors[0].monitor_specification.cost_categories.values[0] #=> String
|
811
|
+
# resp.anomaly_monitors[0].monitor_specification.cost_categories.match_options #=> Array
|
812
|
+
# resp.anomaly_monitors[0].monitor_specification.cost_categories.match_options[0] #=> String, one of "EQUALS", "STARTS_WITH", "ENDS_WITH", "CONTAINS", "CASE_SENSITIVE", "CASE_INSENSITIVE"
|
804
813
|
# resp.anomaly_monitors[0].dimensional_value_count #=> Integer
|
805
814
|
# resp.next_page_token #=> String
|
806
815
|
#
|
@@ -875,13 +884,17 @@ module Aws::CostExplorer
|
|
875
884
|
# `UsageQuantity`, that you want the request to return. You can also
|
876
885
|
# filter and group your data by various dimensions, such as `SERVICE` or
|
877
886
|
# `AZ`, in a specific time range. For a complete list of valid
|
878
|
-
# dimensions, see the [GetDimensionValues][1] operation.
|
879
|
-
# in an organization in AWS Organizations have access to all
|
880
|
-
# accounts.
|
887
|
+
# dimensions, see the [GetDimensionValues][1] operation. Management
|
888
|
+
# account in an organization in AWS Organizations have access to all
|
889
|
+
# member accounts.
|
890
|
+
#
|
891
|
+
# For information about filter limitations, see [Quotas and
|
892
|
+
# restrictions][2] in the *Billing and Cost Management User Guide*.
|
881
893
|
#
|
882
894
|
#
|
883
895
|
#
|
884
896
|
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetDimensionValues.html
|
897
|
+
# [2]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-limits.html
|
885
898
|
#
|
886
899
|
# @option params [required, Types::DateInterval] :time_period
|
887
900
|
# Sets the start and end dates for retrieving AWS costs. The start date
|
@@ -988,6 +1001,7 @@ module Aws::CostExplorer
|
|
988
1001
|
# cost_categories: {
|
989
1002
|
# key: "CostCategoryName",
|
990
1003
|
# values: ["Value"],
|
1004
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
991
1005
|
# },
|
992
1006
|
# },
|
993
1007
|
# metrics: ["MetricName"], # required
|
@@ -1035,8 +1049,8 @@ module Aws::CostExplorer
|
|
1035
1049
|
# return. You can also filter and group your data by various dimensions,
|
1036
1050
|
# such as `SERVICE` or `AZ`, in a specific time range. For a complete
|
1037
1051
|
# list of valid dimensions, see the [GetDimensionValues][1] operation.
|
1038
|
-
#
|
1039
|
-
# all member accounts. This API is currently available for the Amazon
|
1052
|
+
# Management account in an organization in AWS Organizations have access
|
1053
|
+
# to all member accounts. This API is currently available for the Amazon
|
1040
1054
|
# Elastic Compute Cloud – Compute service only.
|
1041
1055
|
#
|
1042
1056
|
# <note markdown="1"> This is an opt-in only feature. You can enable this feature from the
|
@@ -1107,7 +1121,7 @@ module Aws::CostExplorer
|
|
1107
1121
|
#
|
1108
1122
|
# @option params [Array<Types::GroupDefinition>] :group_by
|
1109
1123
|
# You can group Amazon Web Services costs using up to two different
|
1110
|
-
# groups:
|
1124
|
+
# groups: `DIMENSION`, `TAG`, `COST_CATEGORY`.
|
1111
1125
|
#
|
1112
1126
|
# @option params [String] :next_page_token
|
1113
1127
|
# The token to retrieve the next set of results. AWS provides the token
|
@@ -1155,6 +1169,7 @@ module Aws::CostExplorer
|
|
1155
1169
|
# cost_categories: {
|
1156
1170
|
# key: "CostCategoryName",
|
1157
1171
|
# values: ["Value"],
|
1172
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
1158
1173
|
# },
|
1159
1174
|
# },
|
1160
1175
|
# metrics: ["MetricName"],
|
@@ -1286,6 +1301,7 @@ module Aws::CostExplorer
|
|
1286
1301
|
# cost_categories: {
|
1287
1302
|
# key: "CostCategoryName",
|
1288
1303
|
# values: ["Value"],
|
1304
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
1289
1305
|
# },
|
1290
1306
|
# },
|
1291
1307
|
# prediction_interval_level: 1,
|
@@ -1486,11 +1502,11 @@ module Aws::CostExplorer
|
|
1486
1502
|
# Retrieves the reservation coverage for your account. This enables you
|
1487
1503
|
# to see how much of your Amazon Elastic Compute Cloud, Amazon
|
1488
1504
|
# ElastiCache, Amazon Relational Database Service, or Amazon Redshift
|
1489
|
-
# usage is covered by a reservation. An organization's
|
1490
|
-
# can see the coverage of the associated member accounts. This
|
1491
|
-
# dimensions, Cost Categories, and nested expressions. For any
|
1492
|
-
# period, you can filter data about reservation usage by the
|
1493
|
-
# dimensions:
|
1505
|
+
# usage is covered by a reservation. An organization's management
|
1506
|
+
# account can see the coverage of the associated member accounts. This
|
1507
|
+
# supports dimensions, Cost Categories, and nested expressions. For any
|
1508
|
+
# time period, you can filter data about reservation usage by the
|
1509
|
+
# following dimensions:
|
1494
1510
|
#
|
1495
1511
|
# * AZ
|
1496
1512
|
#
|
@@ -1662,6 +1678,7 @@ module Aws::CostExplorer
|
|
1662
1678
|
# cost_categories: {
|
1663
1679
|
# key: "CostCategoryName",
|
1664
1680
|
# values: ["Value"],
|
1681
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
1665
1682
|
# },
|
1666
1683
|
# },
|
1667
1684
|
# metrics: ["MetricName"],
|
@@ -1743,9 +1760,9 @@ module Aws::CostExplorer
|
|
1743
1760
|
#
|
1744
1761
|
# @option params [String] :account_scope
|
1745
1762
|
# 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
|
1763
|
+
# Services calculates recommendations including the management account
|
1764
|
+
# and member accounts if the value is set to `PAYER`. If the value is
|
1765
|
+
# `LINKED`, recommendations are calculated for individual member
|
1749
1766
|
# accounts only.
|
1750
1767
|
#
|
1751
1768
|
# @option params [String] :lookback_period_in_days
|
@@ -1871,8 +1888,8 @@ module Aws::CostExplorer
|
|
1871
1888
|
req.send_request(options)
|
1872
1889
|
end
|
1873
1890
|
|
1874
|
-
# Retrieves the reservation utilization for your account.
|
1875
|
-
#
|
1891
|
+
# Retrieves the reservation utilization for your account. Management
|
1892
|
+
# account in an organization have access to member accounts. You can
|
1876
1893
|
# filter data by dimensions in a time period. You can use
|
1877
1894
|
# `GetDimensionValues` to determine the possible dimension values.
|
1878
1895
|
# Currently, you can group only by `SUBSCRIPTION_ID`.
|
@@ -1983,6 +2000,7 @@ module Aws::CostExplorer
|
|
1983
2000
|
# cost_categories: {
|
1984
2001
|
# key: "CostCategoryName",
|
1985
2002
|
# values: ["Value"],
|
2003
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
1986
2004
|
# },
|
1987
2005
|
# },
|
1988
2006
|
# next_page_token: "NextPageToken",
|
@@ -2070,8 +2088,10 @@ module Aws::CostExplorer
|
|
2070
2088
|
#
|
2071
2089
|
# * Simple dimension values - You can set the dimension name and values
|
2072
2090
|
# 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
|
-
#
|
2091
|
+
# for `REGION==us-east-1 OR REGION==us-west-1`. For
|
2092
|
+
# `GetRightsizingRecommendation`, the Region is a full name (for
|
2093
|
+
# example, `REGION==US East (N. Virginia)`. The `Expression` example
|
2094
|
+
# looks like:
|
2075
2095
|
#
|
2076
2096
|
# `\{ "Dimensions": \{ "Key": "REGION", "Values": [ "us-east-1",
|
2077
2097
|
# “us-west-1” ] \} \}`
|
@@ -2168,6 +2188,7 @@ module Aws::CostExplorer
|
|
2168
2188
|
# cost_categories: {
|
2169
2189
|
# key: "CostCategoryName",
|
2170
2190
|
# values: ["Value"],
|
2191
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
2171
2192
|
# },
|
2172
2193
|
# },
|
2173
2194
|
# configuration: {
|
@@ -2210,6 +2231,10 @@ module Aws::CostExplorer
|
|
2210
2231
|
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.max_cpu_utilization_percentage #=> String
|
2211
2232
|
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.max_memory_utilization_percentage #=> String
|
2212
2233
|
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.max_storage_utilization_percentage #=> String
|
2234
|
+
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.ebs_resource_utilization.ebs_read_ops_per_second #=> String
|
2235
|
+
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.ebs_resource_utilization.ebs_write_ops_per_second #=> String
|
2236
|
+
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.ebs_resource_utilization.ebs_read_bytes_per_second #=> String
|
2237
|
+
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.ebs_resource_utilization.ebs_write_bytes_per_second #=> String
|
2213
2238
|
# resp.rightsizing_recommendations[0].current_instance.reservation_covered_hours_in_lookback_period #=> String
|
2214
2239
|
# resp.rightsizing_recommendations[0].current_instance.savings_plans_covered_hours_in_lookback_period #=> String
|
2215
2240
|
# resp.rightsizing_recommendations[0].current_instance.on_demand_hours_in_lookback_period #=> String
|
@@ -2234,6 +2259,10 @@ module Aws::CostExplorer
|
|
2234
2259
|
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.max_cpu_utilization_percentage #=> String
|
2235
2260
|
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.max_memory_utilization_percentage #=> String
|
2236
2261
|
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.max_storage_utilization_percentage #=> String
|
2262
|
+
# 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
|
2263
|
+
# 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
|
2264
|
+
# 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
|
2265
|
+
# 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
2266
|
# resp.rightsizing_recommendations[0].terminate_recommendation_detail.estimated_monthly_savings #=> String
|
2238
2267
|
# resp.rightsizing_recommendations[0].terminate_recommendation_detail.currency_code #=> String
|
2239
2268
|
# resp.next_page_token #=> String
|
@@ -2251,10 +2280,10 @@ module Aws::CostExplorer
|
|
2251
2280
|
|
2252
2281
|
# Retrieves the Savings Plans covered for your account. This enables you
|
2253
2282
|
# to see how much of your cost is covered by a Savings Plan. An
|
2254
|
-
# organization’s
|
2255
|
-
# member accounts. This supports dimensions, Cost Categories,
|
2256
|
-
# expressions. For any time period, you can filter data for
|
2257
|
-
# Plans usage with the following dimensions:
|
2283
|
+
# organization’s management account can see the coverage of the
|
2284
|
+
# associated member accounts. This supports dimensions, Cost Categories,
|
2285
|
+
# and nested expressions. For any time period, you can filter data for
|
2286
|
+
# Savings Plans usage with the following dimensions:
|
2258
2287
|
#
|
2259
2288
|
# * `LINKED_ACCOUNT`
|
2260
2289
|
#
|
@@ -2367,6 +2396,7 @@ module Aws::CostExplorer
|
|
2367
2396
|
# cost_categories: {
|
2368
2397
|
# key: "CostCategoryName",
|
2369
2398
|
# values: ["Value"],
|
2399
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
2370
2400
|
# },
|
2371
2401
|
# },
|
2372
2402
|
# metrics: ["MetricName"],
|
@@ -2411,9 +2441,9 @@ module Aws::CostExplorer
|
|
2411
2441
|
#
|
2412
2442
|
# @option params [String] :account_scope
|
2413
2443
|
# 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
|
2444
|
+
# Services calculates recommendations including the management account
|
2445
|
+
# and member accounts if the value is set to `PAYER`. If the value is
|
2446
|
+
# `LINKED`, recommendations are calculated for individual member
|
2417
2447
|
# accounts only.
|
2418
2448
|
#
|
2419
2449
|
# @option params [String] :next_page_token
|
@@ -2485,6 +2515,7 @@ module Aws::CostExplorer
|
|
2485
2515
|
# cost_categories: {
|
2486
2516
|
# key: "CostCategoryName",
|
2487
2517
|
# values: ["Value"],
|
2518
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
2488
2519
|
# },
|
2489
2520
|
# },
|
2490
2521
|
# })
|
@@ -2493,6 +2524,7 @@ module Aws::CostExplorer
|
|
2493
2524
|
#
|
2494
2525
|
# resp.metadata.recommendation_id #=> String
|
2495
2526
|
# resp.metadata.generation_timestamp #=> String
|
2527
|
+
# resp.metadata.additional_metadata #=> String
|
2496
2528
|
# resp.savings_plans_purchase_recommendation.account_scope #=> String, one of "PAYER", "LINKED"
|
2497
2529
|
# resp.savings_plans_purchase_recommendation.savings_plans_type #=> String, one of "COMPUTE_SP", "EC2_INSTANCE_SP"
|
2498
2530
|
# resp.savings_plans_purchase_recommendation.term_in_years #=> String, one of "ONE_YEAR", "THREE_YEARS"
|
@@ -2540,7 +2572,7 @@ module Aws::CostExplorer
|
|
2540
2572
|
end
|
2541
2573
|
|
2542
2574
|
# Retrieves the Savings Plans utilization for your account across date
|
2543
|
-
# ranges with daily or monthly granularity.
|
2575
|
+
# ranges with daily or monthly granularity. Management account in an
|
2544
2576
|
# organization have access to member accounts. You can use
|
2545
2577
|
# `GetDimensionValues` in `SAVINGS_PLANS` to determine the possible
|
2546
2578
|
# dimension values.
|
@@ -2627,6 +2659,7 @@ module Aws::CostExplorer
|
|
2627
2659
|
# cost_categories: {
|
2628
2660
|
# key: "CostCategoryName",
|
2629
2661
|
# values: ["Value"],
|
2662
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
2630
2663
|
# },
|
2631
2664
|
# },
|
2632
2665
|
# })
|
@@ -2758,6 +2791,7 @@ module Aws::CostExplorer
|
|
2758
2791
|
# cost_categories: {
|
2759
2792
|
# key: "CostCategoryName",
|
2760
2793
|
# values: ["Value"],
|
2794
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
2761
2795
|
# },
|
2762
2796
|
# },
|
2763
2797
|
# next_token: "NextPageToken",
|
@@ -2940,6 +2974,7 @@ module Aws::CostExplorer
|
|
2940
2974
|
# cost_categories: {
|
2941
2975
|
# key: "CostCategoryName",
|
2942
2976
|
# values: ["Value"],
|
2977
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
2943
2978
|
# },
|
2944
2979
|
# },
|
2945
2980
|
# prediction_interval_level: 1,
|
@@ -3008,6 +3043,11 @@ module Aws::CostExplorer
|
|
3008
3043
|
# resp.cost_category_references[0].effective_start #=> String
|
3009
3044
|
# resp.cost_category_references[0].effective_end #=> String
|
3010
3045
|
# resp.cost_category_references[0].number_of_rules #=> Integer
|
3046
|
+
# resp.cost_category_references[0].processing_status #=> Array
|
3047
|
+
# resp.cost_category_references[0].processing_status[0].component #=> String, one of "COST_EXPLORER"
|
3048
|
+
# resp.cost_category_references[0].processing_status[0].status #=> String, one of "PROCESSING", "APPLIED"
|
3049
|
+
# resp.cost_category_references[0].values #=> Array
|
3050
|
+
# resp.cost_category_references[0].values[0] #=> String
|
3011
3051
|
# resp.next_token #=> String
|
3012
3052
|
#
|
3013
3053
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ListCostCategoryDefinitions AWS API Documentation
|
@@ -3116,7 +3156,7 @@ module Aws::CostExplorer
|
|
3116
3156
|
# subscription_arn: "GenericString", # required
|
3117
3157
|
# threshold: 1.0,
|
3118
3158
|
# frequency: "DAILY", # accepts DAILY, IMMEDIATE, WEEKLY
|
3119
|
-
# monitor_arn_list: ["
|
3159
|
+
# monitor_arn_list: ["Arn"],
|
3120
3160
|
# subscribers: [
|
3121
3161
|
# {
|
3122
3162
|
# address: "SubscriberAddress",
|
@@ -3199,6 +3239,7 @@ module Aws::CostExplorer
|
|
3199
3239
|
# cost_categories: {
|
3200
3240
|
# key: "CostCategoryName",
|
3201
3241
|
# values: ["Value"],
|
3242
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
3202
3243
|
# },
|
3203
3244
|
# },
|
3204
3245
|
# },
|
@@ -3232,7 +3273,7 @@ module Aws::CostExplorer
|
|
3232
3273
|
params: params,
|
3233
3274
|
config: config)
|
3234
3275
|
context[:gem_name] = 'aws-sdk-costexplorer'
|
3235
|
-
context[:gem_version] = '1.
|
3276
|
+
context[:gem_version] = '1.54.0'
|
3236
3277
|
Seahorse::Client::Request.new(handlers, context)
|
3237
3278
|
end
|
3238
3279
|
|
@@ -35,13 +35,18 @@ module Aws::CostExplorer
|
|
35
35
|
CostCategory = Shapes::StructureShape.new(name: 'CostCategory')
|
36
36
|
CostCategoryMaxResults = Shapes::IntegerShape.new(name: 'CostCategoryMaxResults')
|
37
37
|
CostCategoryName = Shapes::StringShape.new(name: 'CostCategoryName')
|
38
|
+
CostCategoryProcessingStatus = Shapes::StructureShape.new(name: 'CostCategoryProcessingStatus')
|
39
|
+
CostCategoryProcessingStatusList = Shapes::ListShape.new(name: 'CostCategoryProcessingStatusList')
|
38
40
|
CostCategoryReference = Shapes::StructureShape.new(name: 'CostCategoryReference')
|
39
41
|
CostCategoryReferencesList = Shapes::ListShape.new(name: 'CostCategoryReferencesList')
|
40
42
|
CostCategoryRule = Shapes::StructureShape.new(name: 'CostCategoryRule')
|
41
43
|
CostCategoryRuleVersion = Shapes::StringShape.new(name: 'CostCategoryRuleVersion')
|
42
44
|
CostCategoryRulesList = Shapes::ListShape.new(name: 'CostCategoryRulesList')
|
45
|
+
CostCategoryStatus = Shapes::StringShape.new(name: 'CostCategoryStatus')
|
46
|
+
CostCategoryStatusComponent = Shapes::StringShape.new(name: 'CostCategoryStatusComponent')
|
43
47
|
CostCategoryValue = Shapes::StringShape.new(name: 'CostCategoryValue')
|
44
48
|
CostCategoryValues = Shapes::StructureShape.new(name: 'CostCategoryValues')
|
49
|
+
CostCategoryValuesList = Shapes::ListShape.new(name: 'CostCategoryValuesList')
|
45
50
|
Coverage = Shapes::StructureShape.new(name: 'Coverage')
|
46
51
|
CoverageByTime = Shapes::StructureShape.new(name: 'CoverageByTime')
|
47
52
|
CoverageCost = Shapes::StructureShape.new(name: 'CoverageCost')
|
@@ -71,6 +76,7 @@ module Aws::CostExplorer
|
|
71
76
|
DimensionValues = Shapes::StructureShape.new(name: 'DimensionValues')
|
72
77
|
DimensionValuesWithAttributes = Shapes::StructureShape.new(name: 'DimensionValuesWithAttributes')
|
73
78
|
DimensionValuesWithAttributesList = Shapes::ListShape.new(name: 'DimensionValuesWithAttributesList')
|
79
|
+
EBSResourceUtilization = Shapes::StructureShape.new(name: 'EBSResourceUtilization')
|
74
80
|
EC2InstanceDetails = Shapes::StructureShape.new(name: 'EC2InstanceDetails')
|
75
81
|
EC2ResourceDetails = Shapes::StructureShape.new(name: 'EC2ResourceDetails')
|
76
82
|
EC2ResourceUtilization = Shapes::StructureShape.new(name: 'EC2ResourceUtilization')
|
@@ -148,6 +154,7 @@ module Aws::CostExplorer
|
|
148
154
|
MetricValue = Shapes::StructureShape.new(name: 'MetricValue')
|
149
155
|
Metrics = Shapes::MapShape.new(name: 'Metrics')
|
150
156
|
ModifyRecommendationDetail = Shapes::StructureShape.new(name: 'ModifyRecommendationDetail')
|
157
|
+
MonitorArnList = Shapes::ListShape.new(name: 'MonitorArnList')
|
151
158
|
MonitorDimension = Shapes::StringShape.new(name: 'MonitorDimension')
|
152
159
|
MonitorType = Shapes::StringShape.new(name: 'MonitorType')
|
153
160
|
NetRISavings = Shapes::StringShape.new(name: 'NetRISavings')
|
@@ -297,7 +304,7 @@ module Aws::CostExplorer
|
|
297
304
|
|
298
305
|
AnomalySubscription.add_member(:subscription_arn, Shapes::ShapeRef.new(shape: GenericString, location_name: "SubscriptionArn"))
|
299
306
|
AnomalySubscription.add_member(:account_id, Shapes::ShapeRef.new(shape: GenericString, location_name: "AccountId"))
|
300
|
-
AnomalySubscription.add_member(:monitor_arn_list, Shapes::ShapeRef.new(shape:
|
307
|
+
AnomalySubscription.add_member(:monitor_arn_list, Shapes::ShapeRef.new(shape: MonitorArnList, required: true, location_name: "MonitorArnList"))
|
301
308
|
AnomalySubscription.add_member(:subscribers, Shapes::ShapeRef.new(shape: Subscribers, required: true, location_name: "Subscribers"))
|
302
309
|
AnomalySubscription.add_member(:threshold, Shapes::ShapeRef.new(shape: NullableNonNegativeDouble, required: true, location_name: "Threshold"))
|
303
310
|
AnomalySubscription.add_member(:frequency, Shapes::ShapeRef.new(shape: AnomalySubscriptionFrequency, required: true, location_name: "Frequency"))
|
@@ -318,13 +325,22 @@ module Aws::CostExplorer
|
|
318
325
|
CostCategory.add_member(:name, Shapes::ShapeRef.new(shape: CostCategoryName, required: true, location_name: "Name"))
|
319
326
|
CostCategory.add_member(:rule_version, Shapes::ShapeRef.new(shape: CostCategoryRuleVersion, required: true, location_name: "RuleVersion"))
|
320
327
|
CostCategory.add_member(:rules, Shapes::ShapeRef.new(shape: CostCategoryRulesList, required: true, location_name: "Rules"))
|
328
|
+
CostCategory.add_member(:processing_status, Shapes::ShapeRef.new(shape: CostCategoryProcessingStatusList, location_name: "ProcessingStatus"))
|
321
329
|
CostCategory.struct_class = Types::CostCategory
|
322
330
|
|
331
|
+
CostCategoryProcessingStatus.add_member(:component, Shapes::ShapeRef.new(shape: CostCategoryStatusComponent, location_name: "Component"))
|
332
|
+
CostCategoryProcessingStatus.add_member(:status, Shapes::ShapeRef.new(shape: CostCategoryStatus, location_name: "Status"))
|
333
|
+
CostCategoryProcessingStatus.struct_class = Types::CostCategoryProcessingStatus
|
334
|
+
|
335
|
+
CostCategoryProcessingStatusList.member = Shapes::ShapeRef.new(shape: CostCategoryProcessingStatus)
|
336
|
+
|
323
337
|
CostCategoryReference.add_member(:cost_category_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "CostCategoryArn"))
|
324
338
|
CostCategoryReference.add_member(:name, Shapes::ShapeRef.new(shape: CostCategoryName, location_name: "Name"))
|
325
339
|
CostCategoryReference.add_member(:effective_start, Shapes::ShapeRef.new(shape: ZonedDateTime, location_name: "EffectiveStart"))
|
326
340
|
CostCategoryReference.add_member(:effective_end, Shapes::ShapeRef.new(shape: ZonedDateTime, location_name: "EffectiveEnd"))
|
327
341
|
CostCategoryReference.add_member(:number_of_rules, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "NumberOfRules"))
|
342
|
+
CostCategoryReference.add_member(:processing_status, Shapes::ShapeRef.new(shape: CostCategoryProcessingStatusList, location_name: "ProcessingStatus"))
|
343
|
+
CostCategoryReference.add_member(:values, Shapes::ShapeRef.new(shape: CostCategoryValuesList, location_name: "Values"))
|
328
344
|
CostCategoryReference.struct_class = Types::CostCategoryReference
|
329
345
|
|
330
346
|
CostCategoryReferencesList.member = Shapes::ShapeRef.new(shape: CostCategoryReference)
|
@@ -337,8 +353,11 @@ module Aws::CostExplorer
|
|
337
353
|
|
338
354
|
CostCategoryValues.add_member(:key, Shapes::ShapeRef.new(shape: CostCategoryName, location_name: "Key"))
|
339
355
|
CostCategoryValues.add_member(:values, Shapes::ShapeRef.new(shape: Values, location_name: "Values"))
|
356
|
+
CostCategoryValues.add_member(:match_options, Shapes::ShapeRef.new(shape: MatchOptions, location_name: "MatchOptions"))
|
340
357
|
CostCategoryValues.struct_class = Types::CostCategoryValues
|
341
358
|
|
359
|
+
CostCategoryValuesList.member = Shapes::ShapeRef.new(shape: CostCategoryValue)
|
360
|
+
|
342
361
|
Coverage.add_member(:coverage_hours, Shapes::ShapeRef.new(shape: CoverageHours, location_name: "CoverageHours"))
|
343
362
|
Coverage.add_member(:coverage_normalized_units, Shapes::ShapeRef.new(shape: CoverageNormalizedUnits, location_name: "CoverageNormalizedUnits"))
|
344
363
|
Coverage.add_member(:coverage_cost, Shapes::ShapeRef.new(shape: CoverageCost, location_name: "CoverageCost"))
|
@@ -442,6 +461,12 @@ module Aws::CostExplorer
|
|
442
461
|
|
443
462
|
DimensionValuesWithAttributesList.member = Shapes::ShapeRef.new(shape: DimensionValuesWithAttributes)
|
444
463
|
|
464
|
+
EBSResourceUtilization.add_member(:ebs_read_ops_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "EbsReadOpsPerSecond"))
|
465
|
+
EBSResourceUtilization.add_member(:ebs_write_ops_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "EbsWriteOpsPerSecond"))
|
466
|
+
EBSResourceUtilization.add_member(:ebs_read_bytes_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "EbsReadBytesPerSecond"))
|
467
|
+
EBSResourceUtilization.add_member(:ebs_write_bytes_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "EbsWriteBytesPerSecond"))
|
468
|
+
EBSResourceUtilization.struct_class = Types::EBSResourceUtilization
|
469
|
+
|
445
470
|
EC2InstanceDetails.add_member(:family, Shapes::ShapeRef.new(shape: GenericString, location_name: "Family"))
|
446
471
|
EC2InstanceDetails.add_member(:instance_type, Shapes::ShapeRef.new(shape: GenericString, location_name: "InstanceType"))
|
447
472
|
EC2InstanceDetails.add_member(:region, Shapes::ShapeRef.new(shape: GenericString, location_name: "Region"))
|
@@ -466,6 +491,7 @@ module Aws::CostExplorer
|
|
466
491
|
EC2ResourceUtilization.add_member(:max_cpu_utilization_percentage, Shapes::ShapeRef.new(shape: GenericString, location_name: "MaxCpuUtilizationPercentage"))
|
467
492
|
EC2ResourceUtilization.add_member(:max_memory_utilization_percentage, Shapes::ShapeRef.new(shape: GenericString, location_name: "MaxMemoryUtilizationPercentage"))
|
468
493
|
EC2ResourceUtilization.add_member(:max_storage_utilization_percentage, Shapes::ShapeRef.new(shape: GenericString, location_name: "MaxStorageUtilizationPercentage"))
|
494
|
+
EC2ResourceUtilization.add_member(:ebs_resource_utilization, Shapes::ShapeRef.new(shape: EBSResourceUtilization, location_name: "EBSResourceUtilization"))
|
469
495
|
EC2ResourceUtilization.struct_class = Types::EC2ResourceUtilization
|
470
496
|
|
471
497
|
EC2Specification.add_member(:offering_class, Shapes::ShapeRef.new(shape: OfferingClass, location_name: "OfferingClass"))
|
@@ -766,6 +792,8 @@ module Aws::CostExplorer
|
|
766
792
|
ModifyRecommendationDetail.add_member(:target_instances, Shapes::ShapeRef.new(shape: TargetInstancesList, location_name: "TargetInstances"))
|
767
793
|
ModifyRecommendationDetail.struct_class = Types::ModifyRecommendationDetail
|
768
794
|
|
795
|
+
MonitorArnList.member = Shapes::ShapeRef.new(shape: Arn)
|
796
|
+
|
769
797
|
ProvideAnomalyFeedbackRequest.add_member(:anomaly_id, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "AnomalyId"))
|
770
798
|
ProvideAnomalyFeedbackRequest.add_member(:feedback, Shapes::ShapeRef.new(shape: AnomalyFeedbackType, required: true, location_name: "Feedback"))
|
771
799
|
ProvideAnomalyFeedbackRequest.struct_class = Types::ProvideAnomalyFeedbackRequest
|
@@ -970,6 +998,7 @@ module Aws::CostExplorer
|
|
970
998
|
|
971
999
|
SavingsPlansPurchaseRecommendationMetadata.add_member(:recommendation_id, Shapes::ShapeRef.new(shape: GenericString, location_name: "RecommendationId"))
|
972
1000
|
SavingsPlansPurchaseRecommendationMetadata.add_member(:generation_timestamp, Shapes::ShapeRef.new(shape: GenericString, location_name: "GenerationTimestamp"))
|
1001
|
+
SavingsPlansPurchaseRecommendationMetadata.add_member(:additional_metadata, Shapes::ShapeRef.new(shape: GenericString, location_name: "AdditionalMetadata"))
|
973
1002
|
SavingsPlansPurchaseRecommendationMetadata.struct_class = Types::SavingsPlansPurchaseRecommendationMetadata
|
974
1003
|
|
975
1004
|
SavingsPlansPurchaseRecommendationSummary.add_member(:estimated_roi, Shapes::ShapeRef.new(shape: GenericString, location_name: "EstimatedROI"))
|
@@ -1077,7 +1106,7 @@ module Aws::CostExplorer
|
|
1077
1106
|
UpdateAnomalySubscriptionRequest.add_member(:subscription_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "SubscriptionArn"))
|
1078
1107
|
UpdateAnomalySubscriptionRequest.add_member(:threshold, Shapes::ShapeRef.new(shape: NullableNonNegativeDouble, location_name: "Threshold"))
|
1079
1108
|
UpdateAnomalySubscriptionRequest.add_member(:frequency, Shapes::ShapeRef.new(shape: AnomalySubscriptionFrequency, location_name: "Frequency"))
|
1080
|
-
UpdateAnomalySubscriptionRequest.add_member(:monitor_arn_list, Shapes::ShapeRef.new(shape:
|
1109
|
+
UpdateAnomalySubscriptionRequest.add_member(:monitor_arn_list, Shapes::ShapeRef.new(shape: MonitorArnList, location_name: "MonitorArnList"))
|
1081
1110
|
UpdateAnomalySubscriptionRequest.add_member(:subscribers, Shapes::ShapeRef.new(shape: Subscribers, location_name: "Subscribers"))
|
1082
1111
|
UpdateAnomalySubscriptionRequest.add_member(:subscription_name, Shapes::ShapeRef.new(shape: GenericString, location_name: "SubscriptionName"))
|
1083
1112
|
UpdateAnomalySubscriptionRequest.struct_class = Types::UpdateAnomalySubscriptionRequest
|
@@ -137,6 +137,7 @@ module Aws::CostExplorer
|
|
137
137
|
# cost_categories: {
|
138
138
|
# key: "CostCategoryName",
|
139
139
|
# values: ["Value"],
|
140
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
140
141
|
# },
|
141
142
|
# },
|
142
143
|
# dimensional_value_count: 1,
|
@@ -176,8 +177,10 @@ module Aws::CostExplorer
|
|
176
177
|
#
|
177
178
|
# * Simple dimension values - You can set the dimension name and
|
178
179
|
# 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
|
-
# `
|
180
|
+
# filter for `REGION==us-east-1 OR REGION==us-west-1`. For
|
181
|
+
# `GetRightsizingRecommendation`, the Region is a full name (for
|
182
|
+
# example, `REGION==US East (N. Virginia)`. The `Expression` example
|
183
|
+
# looks like:
|
181
184
|
#
|
182
185
|
# `\{ "Dimensions": \{ "Key": "REGION", "Values": [ "us-east-1",
|
183
186
|
# “us-west-1” ] \} \}`
|
@@ -270,7 +273,7 @@ module Aws::CostExplorer
|
|
270
273
|
# {
|
271
274
|
# subscription_arn: "GenericString",
|
272
275
|
# account_id: "GenericString",
|
273
|
-
# monitor_arn_list: ["
|
276
|
+
# monitor_arn_list: ["Arn"], # required
|
274
277
|
# subscribers: [ # required
|
275
278
|
# {
|
276
279
|
# address: "SubscriberAddress",
|
@@ -368,6 +371,11 @@ module Aws::CostExplorer
|
|
368
371
|
# that Cost Category value.
|
369
372
|
# @return [Array<Types::CostCategoryRule>]
|
370
373
|
#
|
374
|
+
# @!attribute [rw] processing_status
|
375
|
+
# The list of processing statuses for Cost Management products for a
|
376
|
+
# specific cost category.
|
377
|
+
# @return [Array<Types::CostCategoryProcessingStatus>]
|
378
|
+
#
|
371
379
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CostCategory AWS API Documentation
|
372
380
|
#
|
373
381
|
class CostCategory < Struct.new(
|
@@ -376,7 +384,28 @@ module Aws::CostExplorer
|
|
376
384
|
:effective_end,
|
377
385
|
:name,
|
378
386
|
:rule_version,
|
379
|
-
:rules
|
387
|
+
:rules,
|
388
|
+
:processing_status)
|
389
|
+
SENSITIVE = []
|
390
|
+
include Aws::Structure
|
391
|
+
end
|
392
|
+
|
393
|
+
# The list of processing statuses for Cost Management products for a
|
394
|
+
# specific cost category.
|
395
|
+
#
|
396
|
+
# @!attribute [rw] component
|
397
|
+
# The Cost Management product name of the applied status.
|
398
|
+
# @return [String]
|
399
|
+
#
|
400
|
+
# @!attribute [rw] status
|
401
|
+
# The process status for a specific cost category.
|
402
|
+
# @return [String]
|
403
|
+
#
|
404
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CostCategoryProcessingStatus AWS API Documentation
|
405
|
+
#
|
406
|
+
class CostCategoryProcessingStatus < Struct.new(
|
407
|
+
:component,
|
408
|
+
:status)
|
380
409
|
SENSITIVE = []
|
381
410
|
include Aws::Structure
|
382
411
|
end
|
@@ -407,6 +436,15 @@ module Aws::CostExplorer
|
|
407
436
|
# The number of rules associated with a specific Cost Category.
|
408
437
|
# @return [Integer]
|
409
438
|
#
|
439
|
+
# @!attribute [rw] processing_status
|
440
|
+
# The list of processing statuses for Cost Management products for a
|
441
|
+
# specific cost category.
|
442
|
+
# @return [Array<Types::CostCategoryProcessingStatus>]
|
443
|
+
#
|
444
|
+
# @!attribute [rw] values
|
445
|
+
# A list of unique cost category values in a specific cost category.
|
446
|
+
# @return [Array<String>]
|
447
|
+
#
|
410
448
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CostCategoryReference AWS API Documentation
|
411
449
|
#
|
412
450
|
class CostCategoryReference < Struct.new(
|
@@ -414,7 +452,9 @@ module Aws::CostExplorer
|
|
414
452
|
:name,
|
415
453
|
:effective_start,
|
416
454
|
:effective_end,
|
417
|
-
:number_of_rules
|
455
|
+
:number_of_rules,
|
456
|
+
:processing_status,
|
457
|
+
:values)
|
418
458
|
SENSITIVE = []
|
419
459
|
include Aws::Structure
|
420
460
|
end
|
@@ -455,6 +495,7 @@ module Aws::CostExplorer
|
|
455
495
|
# cost_categories: {
|
456
496
|
# key: "CostCategoryName",
|
457
497
|
# values: ["Value"],
|
498
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
458
499
|
# },
|
459
500
|
# },
|
460
501
|
# }
|
@@ -502,6 +543,7 @@ module Aws::CostExplorer
|
|
502
543
|
# {
|
503
544
|
# key: "CostCategoryName",
|
504
545
|
# values: ["Value"],
|
546
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
505
547
|
# }
|
506
548
|
#
|
507
549
|
# @!attribute [rw] key
|
@@ -512,11 +554,19 @@ module Aws::CostExplorer
|
|
512
554
|
# The specific value of the Cost Category.
|
513
555
|
# @return [Array<String>]
|
514
556
|
#
|
557
|
+
# @!attribute [rw] match_options
|
558
|
+
# The match options that you can use to filter your results.
|
559
|
+
# MatchOptions is only applicable for only applicable for actions
|
560
|
+
# related to cost category. The default values for `MatchOptions` is
|
561
|
+
# `EQUALS` and `CASE_SENSITIVE`.
|
562
|
+
# @return [Array<String>]
|
563
|
+
#
|
515
564
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CostCategoryValues AWS API Documentation
|
516
565
|
#
|
517
566
|
class CostCategoryValues < Struct.new(
|
518
567
|
:key,
|
519
|
-
:values
|
568
|
+
:values,
|
569
|
+
:match_options)
|
520
570
|
SENSITIVE = []
|
521
571
|
include Aws::Structure
|
522
572
|
end
|
@@ -700,6 +750,7 @@ module Aws::CostExplorer
|
|
700
750
|
# cost_categories: {
|
701
751
|
# key: "CostCategoryName",
|
702
752
|
# values: ["Value"],
|
753
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
703
754
|
# },
|
704
755
|
# },
|
705
756
|
# dimensional_value_count: 1,
|
@@ -738,7 +789,7 @@ module Aws::CostExplorer
|
|
738
789
|
# anomaly_subscription: { # required
|
739
790
|
# subscription_arn: "GenericString",
|
740
791
|
# account_id: "GenericString",
|
741
|
-
# monitor_arn_list: ["
|
792
|
+
# monitor_arn_list: ["Arn"], # required
|
742
793
|
# subscribers: [ # required
|
743
794
|
# {
|
744
795
|
# address: "SubscriberAddress",
|
@@ -813,6 +864,7 @@ module Aws::CostExplorer
|
|
813
864
|
# cost_categories: {
|
814
865
|
# key: "CostCategoryName",
|
815
866
|
# values: ["Value"],
|
867
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
816
868
|
# },
|
817
869
|
# },
|
818
870
|
# },
|
@@ -1164,6 +1216,36 @@ module Aws::CostExplorer
|
|
1164
1216
|
include Aws::Structure
|
1165
1217
|
end
|
1166
1218
|
|
1219
|
+
# The EBS field that contains a list of EBS metrics associated with the
|
1220
|
+
# current instance.
|
1221
|
+
#
|
1222
|
+
# @!attribute [rw] ebs_read_ops_per_second
|
1223
|
+
# The maximum number of read operations per second.
|
1224
|
+
# @return [String]
|
1225
|
+
#
|
1226
|
+
# @!attribute [rw] ebs_write_ops_per_second
|
1227
|
+
# The maximum number of write operations per second.
|
1228
|
+
# @return [String]
|
1229
|
+
#
|
1230
|
+
# @!attribute [rw] ebs_read_bytes_per_second
|
1231
|
+
# The maximum size of read operations per second
|
1232
|
+
# @return [String]
|
1233
|
+
#
|
1234
|
+
# @!attribute [rw] ebs_write_bytes_per_second
|
1235
|
+
# The maximum size of write operations per second.
|
1236
|
+
# @return [String]
|
1237
|
+
#
|
1238
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/EBSResourceUtilization AWS API Documentation
|
1239
|
+
#
|
1240
|
+
class EBSResourceUtilization < Struct.new(
|
1241
|
+
:ebs_read_ops_per_second,
|
1242
|
+
:ebs_write_ops_per_second,
|
1243
|
+
:ebs_read_bytes_per_second,
|
1244
|
+
:ebs_write_bytes_per_second)
|
1245
|
+
SENSITIVE = []
|
1246
|
+
include Aws::Structure
|
1247
|
+
end
|
1248
|
+
|
1167
1249
|
# Details about the Amazon EC2 instances that AWS recommends that you
|
1168
1250
|
# purchase.
|
1169
1251
|
#
|
@@ -1287,12 +1369,18 @@ module Aws::CostExplorer
|
|
1287
1369
|
# (does not measure EBS storage).
|
1288
1370
|
# @return [String]
|
1289
1371
|
#
|
1372
|
+
# @!attribute [rw] ebs_resource_utilization
|
1373
|
+
# The EBS field that contains a list of EBS metrics associated with
|
1374
|
+
# the current instance.
|
1375
|
+
# @return [Types::EBSResourceUtilization]
|
1376
|
+
#
|
1290
1377
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/EC2ResourceUtilization AWS API Documentation
|
1291
1378
|
#
|
1292
1379
|
class EC2ResourceUtilization < Struct.new(
|
1293
1380
|
:max_cpu_utilization_percentage,
|
1294
1381
|
:max_memory_utilization_percentage,
|
1295
|
-
:max_storage_utilization_percentage
|
1382
|
+
:max_storage_utilization_percentage,
|
1383
|
+
:ebs_resource_utilization)
|
1296
1384
|
SENSITIVE = []
|
1297
1385
|
include Aws::Structure
|
1298
1386
|
end
|
@@ -1400,8 +1488,10 @@ module Aws::CostExplorer
|
|
1400
1488
|
#
|
1401
1489
|
# * Simple dimension values - You can set the dimension name and values
|
1402
1490
|
# 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
|
-
#
|
1491
|
+
# for `REGION==us-east-1 OR REGION==us-west-1`. For
|
1492
|
+
# `GetRightsizingRecommendation`, the Region is a full name (for
|
1493
|
+
# example, `REGION==US East (N. Virginia)`. The `Expression` example
|
1494
|
+
# looks like:
|
1405
1495
|
#
|
1406
1496
|
# `\{ "Dimensions": \{ "Key": "REGION", "Values": [ "us-east-1",
|
1407
1497
|
# “us-west-1” ] \} \}`
|
@@ -1468,6 +1558,7 @@ module Aws::CostExplorer
|
|
1468
1558
|
# cost_categories: {
|
1469
1559
|
# key: "CostCategoryName",
|
1470
1560
|
# values: ["Value"],
|
1561
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
1471
1562
|
# },
|
1472
1563
|
# },
|
1473
1564
|
# ],
|
@@ -1495,6 +1586,7 @@ module Aws::CostExplorer
|
|
1495
1586
|
# cost_categories: {
|
1496
1587
|
# key: "CostCategoryName",
|
1497
1588
|
# values: ["Value"],
|
1589
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
1498
1590
|
# },
|
1499
1591
|
# },
|
1500
1592
|
# ],
|
@@ -1525,6 +1617,7 @@ module Aws::CostExplorer
|
|
1525
1617
|
# cost_categories: {
|
1526
1618
|
# key: "CostCategoryName",
|
1527
1619
|
# values: ["Value"],
|
1620
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
1528
1621
|
# },
|
1529
1622
|
# },
|
1530
1623
|
# dimensions: {
|
@@ -1540,6 +1633,7 @@ module Aws::CostExplorer
|
|
1540
1633
|
# cost_categories: {
|
1541
1634
|
# key: "CostCategoryName",
|
1542
1635
|
# values: ["Value"],
|
1636
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
1543
1637
|
# },
|
1544
1638
|
# }
|
1545
1639
|
#
|
@@ -1840,6 +1934,7 @@ module Aws::CostExplorer
|
|
1840
1934
|
# cost_categories: {
|
1841
1935
|
# key: "CostCategoryName",
|
1842
1936
|
# values: ["Value"],
|
1937
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
1843
1938
|
# },
|
1844
1939
|
# },
|
1845
1940
|
# metrics: ["MetricName"], # required
|
@@ -1996,6 +2091,7 @@ module Aws::CostExplorer
|
|
1996
2091
|
# cost_categories: {
|
1997
2092
|
# key: "CostCategoryName",
|
1998
2093
|
# values: ["Value"],
|
2094
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
1999
2095
|
# },
|
2000
2096
|
# },
|
2001
2097
|
# metrics: ["MetricName"],
|
@@ -2069,7 +2165,7 @@ module Aws::CostExplorer
|
|
2069
2165
|
#
|
2070
2166
|
# @!attribute [rw] group_by
|
2071
2167
|
# You can group Amazon Web Services costs using up to two different
|
2072
|
-
# groups:
|
2168
|
+
# groups: `DIMENSION`, `TAG`, `COST_CATEGORY`.
|
2073
2169
|
# @return [Array<Types::GroupDefinition>]
|
2074
2170
|
#
|
2075
2171
|
# @!attribute [rw] next_page_token
|
@@ -2153,6 +2249,7 @@ module Aws::CostExplorer
|
|
2153
2249
|
# cost_categories: {
|
2154
2250
|
# key: "CostCategoryName",
|
2155
2251
|
# values: ["Value"],
|
2252
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
2156
2253
|
# },
|
2157
2254
|
# },
|
2158
2255
|
# prediction_interval_level: 1,
|
@@ -2576,6 +2673,7 @@ module Aws::CostExplorer
|
|
2576
2673
|
# cost_categories: {
|
2577
2674
|
# key: "CostCategoryName",
|
2578
2675
|
# values: ["Value"],
|
2676
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
2579
2677
|
# },
|
2580
2678
|
# },
|
2581
2679
|
# metrics: ["MetricName"],
|
@@ -2750,9 +2848,9 @@ module Aws::CostExplorer
|
|
2750
2848
|
#
|
2751
2849
|
# @!attribute [rw] account_scope
|
2752
2850
|
# 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
|
2851
|
+
# Services calculates recommendations including the management account
|
2852
|
+
# and member accounts if the value is set to `PAYER`. If the value is
|
2853
|
+
# `LINKED`, recommendations are calculated for individual member
|
2756
2854
|
# accounts only.
|
2757
2855
|
# @return [String]
|
2758
2856
|
#
|
@@ -2866,6 +2964,7 @@ module Aws::CostExplorer
|
|
2866
2964
|
# cost_categories: {
|
2867
2965
|
# key: "CostCategoryName",
|
2868
2966
|
# values: ["Value"],
|
2967
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
2869
2968
|
# },
|
2870
2969
|
# },
|
2871
2970
|
# next_page_token: "NextPageToken",
|
@@ -3002,6 +3101,7 @@ module Aws::CostExplorer
|
|
3002
3101
|
# cost_categories: {
|
3003
3102
|
# key: "CostCategoryName",
|
3004
3103
|
# values: ["Value"],
|
3104
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
3005
3105
|
# },
|
3006
3106
|
# },
|
3007
3107
|
# configuration: {
|
@@ -3019,8 +3119,10 @@ module Aws::CostExplorer
|
|
3019
3119
|
#
|
3020
3120
|
# * Simple dimension values - You can set the dimension name and
|
3021
3121
|
# 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
|
-
# `
|
3122
|
+
# filter for `REGION==us-east-1 OR REGION==us-west-1`. For
|
3123
|
+
# `GetRightsizingRecommendation`, the Region is a full name (for
|
3124
|
+
# example, `REGION==US East (N. Virginia)`. The `Expression` example
|
3125
|
+
# looks like:
|
3024
3126
|
#
|
3025
3127
|
# `\{ "Dimensions": \{ "Key": "REGION", "Values": [ "us-east-1",
|
3026
3128
|
# “us-west-1” ] \} \}`
|
@@ -3177,6 +3279,7 @@ module Aws::CostExplorer
|
|
3177
3279
|
# cost_categories: {
|
3178
3280
|
# key: "CostCategoryName",
|
3179
3281
|
# values: ["Value"],
|
3282
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
3180
3283
|
# },
|
3181
3284
|
# },
|
3182
3285
|
# metrics: ["MetricName"],
|
@@ -3315,6 +3418,7 @@ module Aws::CostExplorer
|
|
3315
3418
|
# cost_categories: {
|
3316
3419
|
# key: "CostCategoryName",
|
3317
3420
|
# values: ["Value"],
|
3421
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
3318
3422
|
# },
|
3319
3423
|
# },
|
3320
3424
|
# }
|
@@ -3334,9 +3438,9 @@ module Aws::CostExplorer
|
|
3334
3438
|
#
|
3335
3439
|
# @!attribute [rw] account_scope
|
3336
3440
|
# 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
|
3441
|
+
# Services calculates recommendations including the management account
|
3442
|
+
# and member accounts if the value is set to `PAYER`. If the value is
|
3443
|
+
# `LINKED`, recommendations are calculated for individual member
|
3340
3444
|
# accounts only.
|
3341
3445
|
# @return [String]
|
3342
3446
|
#
|
@@ -3445,6 +3549,7 @@ module Aws::CostExplorer
|
|
3445
3549
|
# cost_categories: {
|
3446
3550
|
# key: "CostCategoryName",
|
3447
3551
|
# values: ["Value"],
|
3552
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
3448
3553
|
# },
|
3449
3554
|
# },
|
3450
3555
|
# next_token: "NextPageToken",
|
@@ -3569,6 +3674,7 @@ module Aws::CostExplorer
|
|
3569
3674
|
# cost_categories: {
|
3570
3675
|
# key: "CostCategoryName",
|
3571
3676
|
# values: ["Value"],
|
3677
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
3572
3678
|
# },
|
3573
3679
|
# },
|
3574
3680
|
# }
|
@@ -3754,6 +3860,7 @@ module Aws::CostExplorer
|
|
3754
3860
|
# cost_categories: {
|
3755
3861
|
# key: "CostCategoryName",
|
3756
3862
|
# values: ["Value"],
|
3863
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
3757
3864
|
# },
|
3758
3865
|
# },
|
3759
3866
|
# prediction_interval_level: 1,
|
@@ -4893,10 +5000,11 @@ module Aws::CostExplorer
|
|
4893
5000
|
# Summary, and Details.
|
4894
5001
|
#
|
4895
5002
|
# @!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
|
5003
|
+
# The account scope that you want your recommendations for. Amazon Web
|
5004
|
+
# Services calculates recommendations including the management account
|
5005
|
+
# and member accounts if the value is set to `PAYER`. If the value is
|
5006
|
+
# `LINKED`, recommendations are calculated for individual member
|
5007
|
+
# accounts only.
|
4900
5008
|
# @return [String]
|
4901
5009
|
#
|
4902
5010
|
# @!attribute [rw] savings_plans_type
|
@@ -5053,11 +5161,16 @@ module Aws::CostExplorer
|
|
5053
5161
|
# The timestamp showing when the recommendations were generated.
|
5054
5162
|
# @return [String]
|
5055
5163
|
#
|
5164
|
+
# @!attribute [rw] additional_metadata
|
5165
|
+
# Additional metadata that may be applicable to the recommendation.
|
5166
|
+
# @return [String]
|
5167
|
+
#
|
5056
5168
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/SavingsPlansPurchaseRecommendationMetadata AWS API Documentation
|
5057
5169
|
#
|
5058
5170
|
class SavingsPlansPurchaseRecommendationMetadata < Struct.new(
|
5059
5171
|
:recommendation_id,
|
5060
|
-
:generation_timestamp
|
5172
|
+
:generation_timestamp,
|
5173
|
+
:additional_metadata)
|
5061
5174
|
SENSITIVE = []
|
5062
5175
|
include Aws::Structure
|
5063
5176
|
end
|
@@ -5259,8 +5372,8 @@ module Aws::CostExplorer
|
|
5259
5372
|
end
|
5260
5373
|
|
5261
5374
|
# A single daily or monthly Savings Plans utilization rate, and details
|
5262
|
-
# for your account.
|
5263
|
-
# member accounts. You can use `GetDimensionValues` to determine the
|
5375
|
+
# for your account. A management account in an organization have access
|
5376
|
+
# to member accounts. You can use `GetDimensionValues` to determine the
|
5264
5377
|
# possible dimension values.
|
5265
5378
|
#
|
5266
5379
|
# @!attribute [rw] savings_plan_arn
|
@@ -5588,7 +5701,7 @@ module Aws::CostExplorer
|
|
5588
5701
|
# subscription_arn: "GenericString", # required
|
5589
5702
|
# threshold: 1.0,
|
5590
5703
|
# frequency: "DAILY", # accepts DAILY, IMMEDIATE, WEEKLY
|
5591
|
-
# monitor_arn_list: ["
|
5704
|
+
# monitor_arn_list: ["Arn"],
|
5592
5705
|
# subscribers: [
|
5593
5706
|
# {
|
5594
5707
|
# address: "SubscriberAddress",
|
@@ -5685,6 +5798,7 @@ module Aws::CostExplorer
|
|
5685
5798
|
# cost_categories: {
|
5686
5799
|
# key: "CostCategoryName",
|
5687
5800
|
# values: ["Value"],
|
5801
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
5688
5802
|
# },
|
5689
5803
|
# },
|
5690
5804
|
# },
|
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.54.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-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|