aws-sdk-costexplorer 1.59.0 → 1.63.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-costexplorer.rb +1 -1
- data/lib/aws-sdk-costexplorer/client.rb +54 -11
- data/lib/aws-sdk-costexplorer/client_api.rb +43 -4
- data/lib/aws-sdk-costexplorer/types.rb +199 -19
- metadata +7 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9a511200f33b1143ffafd849696633566ca11afdcfb234563838b4d394c51a92
|
|
4
|
+
data.tar.gz: 19ed9cca6655c5291caea082aa0bb7e32302ca822980bf2f56777c4ecc2dc6ce
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d2268234ac039ad8b7e93fdb74467c62d8bc7cd86061d1e9017105fbf5470147b317fd72ae2e533cb0486ecd3338b76437c04fe8b9a478df6cb86a4343488e47
|
|
7
|
+
data.tar.gz: e1ec8a07a1be7ba00999eba1c2676e1c4afd2677d43661b346055947cda7553cf8ae8a86cc7912922eb2fb07d552a075d14feaa463bac2722a896ebfa3dd65d7
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,26 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.63.0 (2021-07-28)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
8
|
+
|
|
9
|
+
1.62.0 (2021-05-24)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Introduced FindingReasonCodes, PlatformDifferences, DiskResourceUtilization and NetworkResourceUtilization to GetRightsizingRecommendation action
|
|
13
|
+
|
|
14
|
+
1.61.0 (2021-04-19)
|
|
15
|
+
------------------
|
|
16
|
+
|
|
17
|
+
* Feature - Adding support for Sagemaker savings plans in GetSavingsPlansPurchaseRecommendation API
|
|
18
|
+
|
|
19
|
+
1.60.0 (2021-03-23)
|
|
20
|
+
------------------
|
|
21
|
+
|
|
22
|
+
* Feature - You can now create cost categories with inherited value rules and specify default values for any uncategorized costs.
|
|
23
|
+
|
|
4
24
|
1.59.0 (2021-03-10)
|
|
5
25
|
------------------
|
|
6
26
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.63.0
|
data/lib/aws-sdk-costexplorer.rb
CHANGED
|
@@ -466,6 +466,9 @@ module Aws::CostExplorer
|
|
|
466
466
|
#
|
|
467
467
|
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategoryRule.html
|
|
468
468
|
#
|
|
469
|
+
# @option params [String] :default_value
|
|
470
|
+
# The default value for the cost category.
|
|
471
|
+
#
|
|
469
472
|
# @return [Types::CreateCostCategoryDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
470
473
|
#
|
|
471
474
|
# * {Types::CreateCostCategoryDefinitionResponse#cost_category_arn #cost_category_arn} => String
|
|
@@ -478,8 +481,8 @@ module Aws::CostExplorer
|
|
|
478
481
|
# rule_version: "CostCategoryExpression.v1", # required, accepts CostCategoryExpression.v1
|
|
479
482
|
# rules: [ # required
|
|
480
483
|
# {
|
|
481
|
-
# value: "CostCategoryValue",
|
|
482
|
-
# rule: {
|
|
484
|
+
# value: "CostCategoryValue",
|
|
485
|
+
# rule: {
|
|
483
486
|
# or: [
|
|
484
487
|
# {
|
|
485
488
|
# # recursive Expression
|
|
@@ -509,8 +512,14 @@ module Aws::CostExplorer
|
|
|
509
512
|
# match_options: ["EQUALS"], # accepts EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
|
510
513
|
# },
|
|
511
514
|
# },
|
|
515
|
+
# inherited_value: {
|
|
516
|
+
# dimension_name: "LINKED_ACCOUNT_NAME", # accepts LINKED_ACCOUNT_NAME, TAG
|
|
517
|
+
# dimension_key: "GenericString",
|
|
518
|
+
# },
|
|
519
|
+
# type: "REGULAR", # accepts REGULAR, INHERITED_VALUE
|
|
512
520
|
# },
|
|
513
521
|
# ],
|
|
522
|
+
# default_value: "CostCategoryValue",
|
|
514
523
|
# })
|
|
515
524
|
#
|
|
516
525
|
# @example Response structure
|
|
@@ -659,9 +668,13 @@ module Aws::CostExplorer
|
|
|
659
668
|
# resp.cost_category.rules[0].rule.cost_categories.values[0] #=> String
|
|
660
669
|
# resp.cost_category.rules[0].rule.cost_categories.match_options #=> Array
|
|
661
670
|
# resp.cost_category.rules[0].rule.cost_categories.match_options[0] #=> String, one of "EQUALS", "ABSENT", "STARTS_WITH", "ENDS_WITH", "CONTAINS", "CASE_SENSITIVE", "CASE_INSENSITIVE"
|
|
671
|
+
# resp.cost_category.rules[0].inherited_value.dimension_name #=> String, one of "LINKED_ACCOUNT_NAME", "TAG"
|
|
672
|
+
# resp.cost_category.rules[0].inherited_value.dimension_key #=> String
|
|
673
|
+
# resp.cost_category.rules[0].type #=> String, one of "REGULAR", "INHERITED_VALUE"
|
|
662
674
|
# resp.cost_category.processing_status #=> Array
|
|
663
675
|
# resp.cost_category.processing_status[0].component #=> String, one of "COST_EXPLORER"
|
|
664
676
|
# resp.cost_category.processing_status[0].status #=> String, one of "PROCESSING", "APPLIED"
|
|
677
|
+
# resp.cost_category.default_value #=> String
|
|
665
678
|
#
|
|
666
679
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/DescribeCostCategoryDefinition AWS API Documentation
|
|
667
680
|
#
|
|
@@ -903,7 +916,7 @@ module Aws::CostExplorer
|
|
|
903
916
|
# data is retrieved from `2017-01-01` up to and including `2017-04-30`
|
|
904
917
|
# but not including `2017-05-01`.
|
|
905
918
|
#
|
|
906
|
-
# @option params [String] :granularity
|
|
919
|
+
# @option params [required, String] :granularity
|
|
907
920
|
# Sets the AWS cost granularity to `MONTHLY` or `DAILY`, or `HOURLY`. If
|
|
908
921
|
# `Granularity` isn't set, the response object doesn't include the
|
|
909
922
|
# `Granularity`, either `MONTHLY` or `DAILY`, or `HOURLY`.
|
|
@@ -974,7 +987,7 @@ module Aws::CostExplorer
|
|
|
974
987
|
# start: "YearMonthDay", # required
|
|
975
988
|
# end: "YearMonthDay", # required
|
|
976
989
|
# },
|
|
977
|
-
# granularity: "DAILY", # accepts DAILY, MONTHLY, HOURLY
|
|
990
|
+
# granularity: "DAILY", # required, accepts DAILY, MONTHLY, HOURLY
|
|
978
991
|
# filter: {
|
|
979
992
|
# or: [
|
|
980
993
|
# {
|
|
@@ -1079,7 +1092,7 @@ module Aws::CostExplorer
|
|
|
1079
1092
|
# `2017-01-01` up to and including `2017-04-30` but not including
|
|
1080
1093
|
# `2017-05-01`.
|
|
1081
1094
|
#
|
|
1082
|
-
# @option params [String] :granularity
|
|
1095
|
+
# @option params [required, String] :granularity
|
|
1083
1096
|
# Sets the AWS cost granularity to `MONTHLY`, `DAILY`, or `HOURLY`. If
|
|
1084
1097
|
# `Granularity` isn't set, the response object doesn't include the
|
|
1085
1098
|
# `Granularity`, `MONTHLY`, `DAILY`, or `HOURLY`.
|
|
@@ -1147,7 +1160,7 @@ module Aws::CostExplorer
|
|
|
1147
1160
|
# start: "YearMonthDay", # required
|
|
1148
1161
|
# end: "YearMonthDay", # required
|
|
1149
1162
|
# },
|
|
1150
|
-
# granularity: "DAILY", # accepts DAILY, MONTHLY, HOURLY
|
|
1163
|
+
# granularity: "DAILY", # required, accepts DAILY, MONTHLY, HOURLY
|
|
1151
1164
|
# filter: { # required
|
|
1152
1165
|
# or: [
|
|
1153
1166
|
# {
|
|
@@ -2794,6 +2807,14 @@ module Aws::CostExplorer
|
|
|
2794
2807
|
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.ebs_resource_utilization.ebs_write_ops_per_second #=> String
|
|
2795
2808
|
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.ebs_resource_utilization.ebs_read_bytes_per_second #=> String
|
|
2796
2809
|
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.ebs_resource_utilization.ebs_write_bytes_per_second #=> String
|
|
2810
|
+
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.disk_resource_utilization.disk_read_ops_per_second #=> String
|
|
2811
|
+
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.disk_resource_utilization.disk_write_ops_per_second #=> String
|
|
2812
|
+
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.disk_resource_utilization.disk_read_bytes_per_second #=> String
|
|
2813
|
+
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.disk_resource_utilization.disk_write_bytes_per_second #=> String
|
|
2814
|
+
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.network_resource_utilization.network_in_bytes_per_second #=> String
|
|
2815
|
+
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.network_resource_utilization.network_out_bytes_per_second #=> String
|
|
2816
|
+
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.network_resource_utilization.network_packets_in_per_second #=> String
|
|
2817
|
+
# resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.network_resource_utilization.network_packets_out_per_second #=> String
|
|
2797
2818
|
# resp.rightsizing_recommendations[0].current_instance.reservation_covered_hours_in_lookback_period #=> String
|
|
2798
2819
|
# resp.rightsizing_recommendations[0].current_instance.savings_plans_covered_hours_in_lookback_period #=> String
|
|
2799
2820
|
# resp.rightsizing_recommendations[0].current_instance.on_demand_hours_in_lookback_period #=> String
|
|
@@ -2822,8 +2843,20 @@ module Aws::CostExplorer
|
|
|
2822
2843
|
# 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
|
|
2823
2844
|
# 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
|
|
2824
2845
|
# 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
|
|
2846
|
+
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.disk_resource_utilization.disk_read_ops_per_second #=> String
|
|
2847
|
+
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.disk_resource_utilization.disk_write_ops_per_second #=> String
|
|
2848
|
+
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.disk_resource_utilization.disk_read_bytes_per_second #=> String
|
|
2849
|
+
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.disk_resource_utilization.disk_write_bytes_per_second #=> String
|
|
2850
|
+
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.network_resource_utilization.network_in_bytes_per_second #=> String
|
|
2851
|
+
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.network_resource_utilization.network_out_bytes_per_second #=> String
|
|
2852
|
+
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.network_resource_utilization.network_packets_in_per_second #=> String
|
|
2853
|
+
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].expected_resource_utilization.ec2_resource_utilization.network_resource_utilization.network_packets_out_per_second #=> String
|
|
2854
|
+
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].platform_differences #=> Array
|
|
2855
|
+
# resp.rightsizing_recommendations[0].modify_recommendation_detail.target_instances[0].platform_differences[0] #=> String, one of "HYPERVISOR", "NETWORK_INTERFACE", "STORAGE_INTERFACE", "INSTANCE_STORE_AVAILABILITY", "VIRTUALIZATION_TYPE"
|
|
2825
2856
|
# resp.rightsizing_recommendations[0].terminate_recommendation_detail.estimated_monthly_savings #=> String
|
|
2826
2857
|
# resp.rightsizing_recommendations[0].terminate_recommendation_detail.currency_code #=> String
|
|
2858
|
+
# resp.rightsizing_recommendations[0].finding_reason_codes #=> Array
|
|
2859
|
+
# resp.rightsizing_recommendations[0].finding_reason_codes[0] #=> String, one of "CPU_OVER_PROVISIONED", "CPU_UNDER_PROVISIONED", "MEMORY_OVER_PROVISIONED", "MEMORY_UNDER_PROVISIONED", "EBS_THROUGHPUT_OVER_PROVISIONED", "EBS_THROUGHPUT_UNDER_PROVISIONED", "EBS_IOPS_OVER_PROVISIONED", "EBS_IOPS_UNDER_PROVISIONED", "NETWORK_BANDWIDTH_OVER_PROVISIONED", "NETWORK_BANDWIDTH_UNDER_PROVISIONED", "NETWORK_PPS_OVER_PROVISIONED", "NETWORK_PPS_UNDER_PROVISIONED", "DISK_IOPS_OVER_PROVISIONED", "DISK_IOPS_UNDER_PROVISIONED", "DISK_THROUGHPUT_OVER_PROVISIONED", "DISK_THROUGHPUT_UNDER_PROVISIONED"
|
|
2827
2860
|
# resp.next_page_token #=> String
|
|
2828
2861
|
# resp.configuration.recommendation_target #=> String, one of "SAME_INSTANCE_FAMILY", "CROSS_INSTANCE_FAMILY"
|
|
2829
2862
|
# resp.configuration.benefits_considered #=> Boolean
|
|
@@ -3065,7 +3098,7 @@ module Aws::CostExplorer
|
|
|
3065
3098
|
# @example Request syntax with placeholder values
|
|
3066
3099
|
#
|
|
3067
3100
|
# resp = client.get_savings_plans_purchase_recommendation({
|
|
3068
|
-
# savings_plans_type: "COMPUTE_SP", # required, accepts COMPUTE_SP, EC2_INSTANCE_SP
|
|
3101
|
+
# savings_plans_type: "COMPUTE_SP", # required, accepts COMPUTE_SP, EC2_INSTANCE_SP, SAGEMAKER_SP
|
|
3069
3102
|
# term_in_years: "ONE_YEAR", # required, accepts ONE_YEAR, THREE_YEARS
|
|
3070
3103
|
# payment_option: "NO_UPFRONT", # required, accepts NO_UPFRONT, PARTIAL_UPFRONT, ALL_UPFRONT, LIGHT_UTILIZATION, MEDIUM_UTILIZATION, HEAVY_UTILIZATION
|
|
3071
3104
|
# account_scope: "PAYER", # accepts PAYER, LINKED
|
|
@@ -3110,7 +3143,7 @@ module Aws::CostExplorer
|
|
|
3110
3143
|
# resp.metadata.generation_timestamp #=> String
|
|
3111
3144
|
# resp.metadata.additional_metadata #=> String
|
|
3112
3145
|
# resp.savings_plans_purchase_recommendation.account_scope #=> String, one of "PAYER", "LINKED"
|
|
3113
|
-
# resp.savings_plans_purchase_recommendation.savings_plans_type #=> String, one of "COMPUTE_SP", "EC2_INSTANCE_SP"
|
|
3146
|
+
# resp.savings_plans_purchase_recommendation.savings_plans_type #=> String, one of "COMPUTE_SP", "EC2_INSTANCE_SP", "SAGEMAKER_SP"
|
|
3114
3147
|
# resp.savings_plans_purchase_recommendation.term_in_years #=> String, one of "ONE_YEAR", "THREE_YEARS"
|
|
3115
3148
|
# resp.savings_plans_purchase_recommendation.payment_option #=> String, one of "NO_UPFRONT", "PARTIAL_UPFRONT", "ALL_UPFRONT", "LIGHT_UTILIZATION", "MEDIUM_UTILIZATION", "HEAVY_UTILIZATION"
|
|
3116
3149
|
# resp.savings_plans_purchase_recommendation.lookback_period_in_days #=> String, one of "SEVEN_DAYS", "THIRTY_DAYS", "SIXTY_DAYS"
|
|
@@ -3851,6 +3884,7 @@ module Aws::CostExplorer
|
|
|
3851
3884
|
# resp.cost_category_references[0].processing_status[0].status #=> String, one of "PROCESSING", "APPLIED"
|
|
3852
3885
|
# resp.cost_category_references[0].values #=> Array
|
|
3853
3886
|
# resp.cost_category_references[0].values[0] #=> String
|
|
3887
|
+
# resp.cost_category_references[0].default_value #=> String
|
|
3854
3888
|
# resp.next_token #=> String
|
|
3855
3889
|
#
|
|
3856
3890
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ListCostCategoryDefinitions AWS API Documentation
|
|
@@ -4002,6 +4036,9 @@ module Aws::CostExplorer
|
|
|
4002
4036
|
#
|
|
4003
4037
|
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategoryRule.html
|
|
4004
4038
|
#
|
|
4039
|
+
# @option params [String] :default_value
|
|
4040
|
+
# The default value for the cost category.
|
|
4041
|
+
#
|
|
4005
4042
|
# @return [Types::UpdateCostCategoryDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4006
4043
|
#
|
|
4007
4044
|
# * {Types::UpdateCostCategoryDefinitionResponse#cost_category_arn #cost_category_arn} => String
|
|
@@ -4014,8 +4051,8 @@ module Aws::CostExplorer
|
|
|
4014
4051
|
# rule_version: "CostCategoryExpression.v1", # required, accepts CostCategoryExpression.v1
|
|
4015
4052
|
# rules: [ # required
|
|
4016
4053
|
# {
|
|
4017
|
-
# value: "CostCategoryValue",
|
|
4018
|
-
# rule: {
|
|
4054
|
+
# value: "CostCategoryValue",
|
|
4055
|
+
# rule: {
|
|
4019
4056
|
# or: [
|
|
4020
4057
|
# {
|
|
4021
4058
|
# # recursive Expression
|
|
@@ -4045,8 +4082,14 @@ module Aws::CostExplorer
|
|
|
4045
4082
|
# match_options: ["EQUALS"], # accepts EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
|
4046
4083
|
# },
|
|
4047
4084
|
# },
|
|
4085
|
+
# inherited_value: {
|
|
4086
|
+
# dimension_name: "LINKED_ACCOUNT_NAME", # accepts LINKED_ACCOUNT_NAME, TAG
|
|
4087
|
+
# dimension_key: "GenericString",
|
|
4088
|
+
# },
|
|
4089
|
+
# type: "REGULAR", # accepts REGULAR, INHERITED_VALUE
|
|
4048
4090
|
# },
|
|
4049
4091
|
# ],
|
|
4092
|
+
# default_value: "CostCategoryValue",
|
|
4050
4093
|
# })
|
|
4051
4094
|
#
|
|
4052
4095
|
# @example Response structure
|
|
@@ -4076,7 +4119,7 @@ module Aws::CostExplorer
|
|
|
4076
4119
|
params: params,
|
|
4077
4120
|
config: config)
|
|
4078
4121
|
context[:gem_name] = 'aws-sdk-costexplorer'
|
|
4079
|
-
context[:gem_version] = '1.
|
|
4122
|
+
context[:gem_version] = '1.63.0'
|
|
4080
4123
|
Seahorse::Client::Request.new(handlers, context)
|
|
4081
4124
|
end
|
|
4082
4125
|
|
|
@@ -33,6 +33,8 @@ module Aws::CostExplorer
|
|
|
33
33
|
BillExpirationException = Shapes::StructureShape.new(name: 'BillExpirationException')
|
|
34
34
|
Context = Shapes::StringShape.new(name: 'Context')
|
|
35
35
|
CostCategory = Shapes::StructureShape.new(name: 'CostCategory')
|
|
36
|
+
CostCategoryInheritedValueDimension = Shapes::StructureShape.new(name: 'CostCategoryInheritedValueDimension')
|
|
37
|
+
CostCategoryInheritedValueDimensionName = Shapes::StringShape.new(name: 'CostCategoryInheritedValueDimensionName')
|
|
36
38
|
CostCategoryMaxResults = Shapes::IntegerShape.new(name: 'CostCategoryMaxResults')
|
|
37
39
|
CostCategoryName = Shapes::StringShape.new(name: 'CostCategoryName')
|
|
38
40
|
CostCategoryNamesList = Shapes::ListShape.new(name: 'CostCategoryNamesList')
|
|
@@ -41,6 +43,7 @@ module Aws::CostExplorer
|
|
|
41
43
|
CostCategoryReference = Shapes::StructureShape.new(name: 'CostCategoryReference')
|
|
42
44
|
CostCategoryReferencesList = Shapes::ListShape.new(name: 'CostCategoryReferencesList')
|
|
43
45
|
CostCategoryRule = Shapes::StructureShape.new(name: 'CostCategoryRule')
|
|
46
|
+
CostCategoryRuleType = Shapes::StringShape.new(name: 'CostCategoryRuleType')
|
|
44
47
|
CostCategoryRuleVersion = Shapes::StringShape.new(name: 'CostCategoryRuleVersion')
|
|
45
48
|
CostCategoryRulesList = Shapes::ListShape.new(name: 'CostCategoryRulesList')
|
|
46
49
|
CostCategoryStatus = Shapes::StringShape.new(name: 'CostCategoryStatus')
|
|
@@ -77,6 +80,7 @@ module Aws::CostExplorer
|
|
|
77
80
|
DimensionValues = Shapes::StructureShape.new(name: 'DimensionValues')
|
|
78
81
|
DimensionValuesWithAttributes = Shapes::StructureShape.new(name: 'DimensionValuesWithAttributes')
|
|
79
82
|
DimensionValuesWithAttributesList = Shapes::ListShape.new(name: 'DimensionValuesWithAttributesList')
|
|
83
|
+
DiskResourceUtilization = Shapes::StructureShape.new(name: 'DiskResourceUtilization')
|
|
80
84
|
EBSResourceUtilization = Shapes::StructureShape.new(name: 'EBSResourceUtilization')
|
|
81
85
|
EC2InstanceDetails = Shapes::StructureShape.new(name: 'EC2InstanceDetails')
|
|
82
86
|
EC2ResourceDetails = Shapes::StructureShape.new(name: 'EC2ResourceDetails')
|
|
@@ -89,6 +93,8 @@ module Aws::CostExplorer
|
|
|
89
93
|
Estimated = Shapes::BooleanShape.new(name: 'Estimated')
|
|
90
94
|
Expression = Shapes::StructureShape.new(name: 'Expression')
|
|
91
95
|
Expressions = Shapes::ListShape.new(name: 'Expressions')
|
|
96
|
+
FindingReasonCode = Shapes::StringShape.new(name: 'FindingReasonCode')
|
|
97
|
+
FindingReasonCodes = Shapes::ListShape.new(name: 'FindingReasonCodes')
|
|
92
98
|
ForecastResult = Shapes::StructureShape.new(name: 'ForecastResult')
|
|
93
99
|
ForecastResultsByTime = Shapes::ListShape.new(name: 'ForecastResultsByTime')
|
|
94
100
|
GenericBoolean = Shapes::BooleanShape.new(name: 'GenericBoolean')
|
|
@@ -161,6 +167,7 @@ module Aws::CostExplorer
|
|
|
161
167
|
MonitorDimension = Shapes::StringShape.new(name: 'MonitorDimension')
|
|
162
168
|
MonitorType = Shapes::StringShape.new(name: 'MonitorType')
|
|
163
169
|
NetRISavings = Shapes::StringShape.new(name: 'NetRISavings')
|
|
170
|
+
NetworkResourceUtilization = Shapes::StructureShape.new(name: 'NetworkResourceUtilization')
|
|
164
171
|
NextPageToken = Shapes::StringShape.new(name: 'NextPageToken')
|
|
165
172
|
NonNegativeInteger = Shapes::IntegerShape.new(name: 'NonNegativeInteger')
|
|
166
173
|
NullableNonNegativeDouble = Shapes::FloatShape.new(name: 'NullableNonNegativeDouble')
|
|
@@ -172,6 +179,8 @@ module Aws::CostExplorer
|
|
|
172
179
|
OnDemandNormalizedUnits = Shapes::StringShape.new(name: 'OnDemandNormalizedUnits')
|
|
173
180
|
PageSize = Shapes::IntegerShape.new(name: 'PageSize')
|
|
174
181
|
PaymentOption = Shapes::StringShape.new(name: 'PaymentOption')
|
|
182
|
+
PlatformDifference = Shapes::StringShape.new(name: 'PlatformDifference')
|
|
183
|
+
PlatformDifferences = Shapes::ListShape.new(name: 'PlatformDifferences')
|
|
175
184
|
PredictionIntervalLevel = Shapes::IntegerShape.new(name: 'PredictionIntervalLevel')
|
|
176
185
|
ProvideAnomalyFeedbackRequest = Shapes::StructureShape.new(name: 'ProvideAnomalyFeedbackRequest')
|
|
177
186
|
ProvideAnomalyFeedbackResponse = Shapes::StructureShape.new(name: 'ProvideAnomalyFeedbackResponse')
|
|
@@ -338,8 +347,13 @@ module Aws::CostExplorer
|
|
|
338
347
|
CostCategory.add_member(:rule_version, Shapes::ShapeRef.new(shape: CostCategoryRuleVersion, required: true, location_name: "RuleVersion"))
|
|
339
348
|
CostCategory.add_member(:rules, Shapes::ShapeRef.new(shape: CostCategoryRulesList, required: true, location_name: "Rules"))
|
|
340
349
|
CostCategory.add_member(:processing_status, Shapes::ShapeRef.new(shape: CostCategoryProcessingStatusList, location_name: "ProcessingStatus"))
|
|
350
|
+
CostCategory.add_member(:default_value, Shapes::ShapeRef.new(shape: CostCategoryValue, location_name: "DefaultValue"))
|
|
341
351
|
CostCategory.struct_class = Types::CostCategory
|
|
342
352
|
|
|
353
|
+
CostCategoryInheritedValueDimension.add_member(:dimension_name, Shapes::ShapeRef.new(shape: CostCategoryInheritedValueDimensionName, location_name: "DimensionName"))
|
|
354
|
+
CostCategoryInheritedValueDimension.add_member(:dimension_key, Shapes::ShapeRef.new(shape: GenericString, location_name: "DimensionKey"))
|
|
355
|
+
CostCategoryInheritedValueDimension.struct_class = Types::CostCategoryInheritedValueDimension
|
|
356
|
+
|
|
343
357
|
CostCategoryNamesList.member = Shapes::ShapeRef.new(shape: CostCategoryName)
|
|
344
358
|
|
|
345
359
|
CostCategoryProcessingStatus.add_member(:component, Shapes::ShapeRef.new(shape: CostCategoryStatusComponent, location_name: "Component"))
|
|
@@ -355,12 +369,15 @@ module Aws::CostExplorer
|
|
|
355
369
|
CostCategoryReference.add_member(:number_of_rules, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "NumberOfRules"))
|
|
356
370
|
CostCategoryReference.add_member(:processing_status, Shapes::ShapeRef.new(shape: CostCategoryProcessingStatusList, location_name: "ProcessingStatus"))
|
|
357
371
|
CostCategoryReference.add_member(:values, Shapes::ShapeRef.new(shape: CostCategoryValuesList, location_name: "Values"))
|
|
372
|
+
CostCategoryReference.add_member(:default_value, Shapes::ShapeRef.new(shape: CostCategoryValue, location_name: "DefaultValue"))
|
|
358
373
|
CostCategoryReference.struct_class = Types::CostCategoryReference
|
|
359
374
|
|
|
360
375
|
CostCategoryReferencesList.member = Shapes::ShapeRef.new(shape: CostCategoryReference)
|
|
361
376
|
|
|
362
|
-
CostCategoryRule.add_member(:value, Shapes::ShapeRef.new(shape: CostCategoryValue,
|
|
363
|
-
CostCategoryRule.add_member(:rule, Shapes::ShapeRef.new(shape: Expression,
|
|
377
|
+
CostCategoryRule.add_member(:value, Shapes::ShapeRef.new(shape: CostCategoryValue, location_name: "Value"))
|
|
378
|
+
CostCategoryRule.add_member(:rule, Shapes::ShapeRef.new(shape: Expression, location_name: "Rule"))
|
|
379
|
+
CostCategoryRule.add_member(:inherited_value, Shapes::ShapeRef.new(shape: CostCategoryInheritedValueDimension, location_name: "InheritedValue"))
|
|
380
|
+
CostCategoryRule.add_member(:type, Shapes::ShapeRef.new(shape: CostCategoryRuleType, location_name: "Type"))
|
|
364
381
|
CostCategoryRule.struct_class = Types::CostCategoryRule
|
|
365
382
|
|
|
366
383
|
CostCategoryRulesList.member = Shapes::ShapeRef.new(shape: CostCategoryRule)
|
|
@@ -414,6 +431,7 @@ module Aws::CostExplorer
|
|
|
414
431
|
CreateCostCategoryDefinitionRequest.add_member(:name, Shapes::ShapeRef.new(shape: CostCategoryName, required: true, location_name: "Name"))
|
|
415
432
|
CreateCostCategoryDefinitionRequest.add_member(:rule_version, Shapes::ShapeRef.new(shape: CostCategoryRuleVersion, required: true, location_name: "RuleVersion"))
|
|
416
433
|
CreateCostCategoryDefinitionRequest.add_member(:rules, Shapes::ShapeRef.new(shape: CostCategoryRulesList, required: true, location_name: "Rules"))
|
|
434
|
+
CreateCostCategoryDefinitionRequest.add_member(:default_value, Shapes::ShapeRef.new(shape: CostCategoryValue, location_name: "DefaultValue"))
|
|
417
435
|
CreateCostCategoryDefinitionRequest.struct_class = Types::CreateCostCategoryDefinitionRequest
|
|
418
436
|
|
|
419
437
|
CreateCostCategoryDefinitionResponse.add_member(:cost_category_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "CostCategoryArn"))
|
|
@@ -475,6 +493,12 @@ module Aws::CostExplorer
|
|
|
475
493
|
|
|
476
494
|
DimensionValuesWithAttributesList.member = Shapes::ShapeRef.new(shape: DimensionValuesWithAttributes)
|
|
477
495
|
|
|
496
|
+
DiskResourceUtilization.add_member(:disk_read_ops_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "DiskReadOpsPerSecond"))
|
|
497
|
+
DiskResourceUtilization.add_member(:disk_write_ops_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "DiskWriteOpsPerSecond"))
|
|
498
|
+
DiskResourceUtilization.add_member(:disk_read_bytes_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "DiskReadBytesPerSecond"))
|
|
499
|
+
DiskResourceUtilization.add_member(:disk_write_bytes_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "DiskWriteBytesPerSecond"))
|
|
500
|
+
DiskResourceUtilization.struct_class = Types::DiskResourceUtilization
|
|
501
|
+
|
|
478
502
|
EBSResourceUtilization.add_member(:ebs_read_ops_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "EbsReadOpsPerSecond"))
|
|
479
503
|
EBSResourceUtilization.add_member(:ebs_write_ops_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "EbsWriteOpsPerSecond"))
|
|
480
504
|
EBSResourceUtilization.add_member(:ebs_read_bytes_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "EbsReadBytesPerSecond"))
|
|
@@ -506,6 +530,8 @@ module Aws::CostExplorer
|
|
|
506
530
|
EC2ResourceUtilization.add_member(:max_memory_utilization_percentage, Shapes::ShapeRef.new(shape: GenericString, location_name: "MaxMemoryUtilizationPercentage"))
|
|
507
531
|
EC2ResourceUtilization.add_member(:max_storage_utilization_percentage, Shapes::ShapeRef.new(shape: GenericString, location_name: "MaxStorageUtilizationPercentage"))
|
|
508
532
|
EC2ResourceUtilization.add_member(:ebs_resource_utilization, Shapes::ShapeRef.new(shape: EBSResourceUtilization, location_name: "EBSResourceUtilization"))
|
|
533
|
+
EC2ResourceUtilization.add_member(:disk_resource_utilization, Shapes::ShapeRef.new(shape: DiskResourceUtilization, location_name: "DiskResourceUtilization"))
|
|
534
|
+
EC2ResourceUtilization.add_member(:network_resource_utilization, Shapes::ShapeRef.new(shape: NetworkResourceUtilization, location_name: "NetworkResourceUtilization"))
|
|
509
535
|
EC2ResourceUtilization.struct_class = Types::EC2ResourceUtilization
|
|
510
536
|
|
|
511
537
|
EC2Specification.add_member(:offering_class, Shapes::ShapeRef.new(shape: OfferingClass, location_name: "OfferingClass"))
|
|
@@ -536,6 +562,8 @@ module Aws::CostExplorer
|
|
|
536
562
|
|
|
537
563
|
Expressions.member = Shapes::ShapeRef.new(shape: Expression)
|
|
538
564
|
|
|
565
|
+
FindingReasonCodes.member = Shapes::ShapeRef.new(shape: FindingReasonCode)
|
|
566
|
+
|
|
539
567
|
ForecastResult.add_member(:time_period, Shapes::ShapeRef.new(shape: DateInterval, location_name: "TimePeriod"))
|
|
540
568
|
ForecastResult.add_member(:mean_value, Shapes::ShapeRef.new(shape: GenericString, location_name: "MeanValue"))
|
|
541
569
|
ForecastResult.add_member(:prediction_interval_lower_bound, Shapes::ShapeRef.new(shape: GenericString, location_name: "PredictionIntervalLowerBound"))
|
|
@@ -576,7 +604,7 @@ module Aws::CostExplorer
|
|
|
576
604
|
GetAnomalySubscriptionsResponse.struct_class = Types::GetAnomalySubscriptionsResponse
|
|
577
605
|
|
|
578
606
|
GetCostAndUsageRequest.add_member(:time_period, Shapes::ShapeRef.new(shape: DateInterval, required: true, location_name: "TimePeriod"))
|
|
579
|
-
GetCostAndUsageRequest.add_member(:granularity, Shapes::ShapeRef.new(shape: Granularity, location_name: "Granularity"))
|
|
607
|
+
GetCostAndUsageRequest.add_member(:granularity, Shapes::ShapeRef.new(shape: Granularity, required: true, location_name: "Granularity"))
|
|
580
608
|
GetCostAndUsageRequest.add_member(:filter, Shapes::ShapeRef.new(shape: Expression, location_name: "Filter"))
|
|
581
609
|
GetCostAndUsageRequest.add_member(:metrics, Shapes::ShapeRef.new(shape: MetricNames, required: true, location_name: "Metrics"))
|
|
582
610
|
GetCostAndUsageRequest.add_member(:group_by, Shapes::ShapeRef.new(shape: GroupDefinitions, location_name: "GroupBy"))
|
|
@@ -590,7 +618,7 @@ module Aws::CostExplorer
|
|
|
590
618
|
GetCostAndUsageResponse.struct_class = Types::GetCostAndUsageResponse
|
|
591
619
|
|
|
592
620
|
GetCostAndUsageWithResourcesRequest.add_member(:time_period, Shapes::ShapeRef.new(shape: DateInterval, required: true, location_name: "TimePeriod"))
|
|
593
|
-
GetCostAndUsageWithResourcesRequest.add_member(:granularity, Shapes::ShapeRef.new(shape: Granularity, location_name: "Granularity"))
|
|
621
|
+
GetCostAndUsageWithResourcesRequest.add_member(:granularity, Shapes::ShapeRef.new(shape: Granularity, required: true, location_name: "Granularity"))
|
|
594
622
|
GetCostAndUsageWithResourcesRequest.add_member(:filter, Shapes::ShapeRef.new(shape: Expression, required: true, location_name: "Filter"))
|
|
595
623
|
GetCostAndUsageWithResourcesRequest.add_member(:metrics, Shapes::ShapeRef.new(shape: MetricNames, location_name: "Metrics"))
|
|
596
624
|
GetCostAndUsageWithResourcesRequest.add_member(:group_by, Shapes::ShapeRef.new(shape: GroupDefinitions, location_name: "GroupBy"))
|
|
@@ -841,6 +869,14 @@ module Aws::CostExplorer
|
|
|
841
869
|
|
|
842
870
|
MonitorArnList.member = Shapes::ShapeRef.new(shape: Arn)
|
|
843
871
|
|
|
872
|
+
NetworkResourceUtilization.add_member(:network_in_bytes_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "NetworkInBytesPerSecond"))
|
|
873
|
+
NetworkResourceUtilization.add_member(:network_out_bytes_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "NetworkOutBytesPerSecond"))
|
|
874
|
+
NetworkResourceUtilization.add_member(:network_packets_in_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "NetworkPacketsInPerSecond"))
|
|
875
|
+
NetworkResourceUtilization.add_member(:network_packets_out_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "NetworkPacketsOutPerSecond"))
|
|
876
|
+
NetworkResourceUtilization.struct_class = Types::NetworkResourceUtilization
|
|
877
|
+
|
|
878
|
+
PlatformDifferences.member = Shapes::ShapeRef.new(shape: PlatformDifference)
|
|
879
|
+
|
|
844
880
|
ProvideAnomalyFeedbackRequest.add_member(:anomaly_id, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "AnomalyId"))
|
|
845
881
|
ProvideAnomalyFeedbackRequest.add_member(:feedback, Shapes::ShapeRef.new(shape: AnomalyFeedbackType, required: true, location_name: "Feedback"))
|
|
846
882
|
ProvideAnomalyFeedbackRequest.struct_class = Types::ProvideAnomalyFeedbackRequest
|
|
@@ -967,6 +1003,7 @@ module Aws::CostExplorer
|
|
|
967
1003
|
RightsizingRecommendation.add_member(:rightsizing_type, Shapes::ShapeRef.new(shape: RightsizingType, location_name: "RightsizingType"))
|
|
968
1004
|
RightsizingRecommendation.add_member(:modify_recommendation_detail, Shapes::ShapeRef.new(shape: ModifyRecommendationDetail, location_name: "ModifyRecommendationDetail"))
|
|
969
1005
|
RightsizingRecommendation.add_member(:terminate_recommendation_detail, Shapes::ShapeRef.new(shape: TerminateRecommendationDetail, location_name: "TerminateRecommendationDetail"))
|
|
1006
|
+
RightsizingRecommendation.add_member(:finding_reason_codes, Shapes::ShapeRef.new(shape: FindingReasonCodes, location_name: "FindingReasonCodes"))
|
|
970
1007
|
RightsizingRecommendation.struct_class = Types::RightsizingRecommendation
|
|
971
1008
|
|
|
972
1009
|
RightsizingRecommendationConfiguration.add_member(:recommendation_target, Shapes::ShapeRef.new(shape: RecommendationTarget, required: true, location_name: "RecommendationTarget"))
|
|
@@ -1133,6 +1170,7 @@ module Aws::CostExplorer
|
|
|
1133
1170
|
TargetInstance.add_member(:default_target_instance, Shapes::ShapeRef.new(shape: GenericBoolean, location_name: "DefaultTargetInstance"))
|
|
1134
1171
|
TargetInstance.add_member(:resource_details, Shapes::ShapeRef.new(shape: ResourceDetails, location_name: "ResourceDetails"))
|
|
1135
1172
|
TargetInstance.add_member(:expected_resource_utilization, Shapes::ShapeRef.new(shape: ResourceUtilization, location_name: "ExpectedResourceUtilization"))
|
|
1173
|
+
TargetInstance.add_member(:platform_differences, Shapes::ShapeRef.new(shape: PlatformDifferences, location_name: "PlatformDifferences"))
|
|
1136
1174
|
TargetInstance.struct_class = Types::TargetInstance
|
|
1137
1175
|
|
|
1138
1176
|
TargetInstancesList.member = Shapes::ShapeRef.new(shape: TargetInstance)
|
|
@@ -1176,6 +1214,7 @@ module Aws::CostExplorer
|
|
|
1176
1214
|
UpdateCostCategoryDefinitionRequest.add_member(:cost_category_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CostCategoryArn"))
|
|
1177
1215
|
UpdateCostCategoryDefinitionRequest.add_member(:rule_version, Shapes::ShapeRef.new(shape: CostCategoryRuleVersion, required: true, location_name: "RuleVersion"))
|
|
1178
1216
|
UpdateCostCategoryDefinitionRequest.add_member(:rules, Shapes::ShapeRef.new(shape: CostCategoryRulesList, required: true, location_name: "Rules"))
|
|
1217
|
+
UpdateCostCategoryDefinitionRequest.add_member(:default_value, Shapes::ShapeRef.new(shape: CostCategoryValue, location_name: "DefaultValue"))
|
|
1179
1218
|
UpdateCostCategoryDefinitionRequest.struct_class = Types::UpdateCostCategoryDefinitionRequest
|
|
1180
1219
|
|
|
1181
1220
|
UpdateCostCategoryDefinitionResponse.add_member(:cost_category_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "CostCategoryArn"))
|
|
@@ -380,6 +380,10 @@ module Aws::CostExplorer
|
|
|
380
380
|
# specific cost category.
|
|
381
381
|
# @return [Array<Types::CostCategoryProcessingStatus>]
|
|
382
382
|
#
|
|
383
|
+
# @!attribute [rw] default_value
|
|
384
|
+
# The default value for the cost category.
|
|
385
|
+
# @return [String]
|
|
386
|
+
#
|
|
383
387
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CostCategory AWS API Documentation
|
|
384
388
|
#
|
|
385
389
|
class CostCategory < Struct.new(
|
|
@@ -389,7 +393,46 @@ module Aws::CostExplorer
|
|
|
389
393
|
:name,
|
|
390
394
|
:rule_version,
|
|
391
395
|
:rules,
|
|
392
|
-
:processing_status
|
|
396
|
+
:processing_status,
|
|
397
|
+
:default_value)
|
|
398
|
+
SENSITIVE = []
|
|
399
|
+
include Aws::Structure
|
|
400
|
+
end
|
|
401
|
+
|
|
402
|
+
# When creating or updating a cost category, you can define the
|
|
403
|
+
# `CostCategoryRule` rule type as `INHERITED_VALUE`. This rule type adds
|
|
404
|
+
# the flexibility of defining a rule that dynamically inherits the cost
|
|
405
|
+
# category value from the dimension value defined by
|
|
406
|
+
# `CostCategoryInheritedValueDimension`. For example, if you wanted to
|
|
407
|
+
# dynamically group costs based on the value of a specific tag key, you
|
|
408
|
+
# would first choose an inherited value rule type, then choose the tag
|
|
409
|
+
# dimension and specify the tag key to use.
|
|
410
|
+
#
|
|
411
|
+
# @note When making an API call, you may pass CostCategoryInheritedValueDimension
|
|
412
|
+
# data as a hash:
|
|
413
|
+
#
|
|
414
|
+
# {
|
|
415
|
+
# dimension_name: "LINKED_ACCOUNT_NAME", # accepts LINKED_ACCOUNT_NAME, TAG
|
|
416
|
+
# dimension_key: "GenericString",
|
|
417
|
+
# }
|
|
418
|
+
#
|
|
419
|
+
# @!attribute [rw] dimension_name
|
|
420
|
+
# The name of dimension for which to group costs.
|
|
421
|
+
#
|
|
422
|
+
# If you specify `LINKED_ACCOUNT_NAME`, the cost category value will
|
|
423
|
+
# be based on account name. If you specify `TAG`, the cost category
|
|
424
|
+
# value will be based on the value of the specified tag key.
|
|
425
|
+
# @return [String]
|
|
426
|
+
#
|
|
427
|
+
# @!attribute [rw] dimension_key
|
|
428
|
+
# The key to extract cost category values.
|
|
429
|
+
# @return [String]
|
|
430
|
+
#
|
|
431
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CostCategoryInheritedValueDimension AWS API Documentation
|
|
432
|
+
#
|
|
433
|
+
class CostCategoryInheritedValueDimension < Struct.new(
|
|
434
|
+
:dimension_name,
|
|
435
|
+
:dimension_key)
|
|
393
436
|
SENSITIVE = []
|
|
394
437
|
include Aws::Structure
|
|
395
438
|
end
|
|
@@ -449,6 +492,10 @@ module Aws::CostExplorer
|
|
|
449
492
|
# A list of unique cost category values in a specific cost category.
|
|
450
493
|
# @return [Array<String>]
|
|
451
494
|
#
|
|
495
|
+
# @!attribute [rw] default_value
|
|
496
|
+
# The default value for the cost category.
|
|
497
|
+
# @return [String]
|
|
498
|
+
#
|
|
452
499
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CostCategoryReference AWS API Documentation
|
|
453
500
|
#
|
|
454
501
|
class CostCategoryReference < Struct.new(
|
|
@@ -458,7 +505,8 @@ module Aws::CostExplorer
|
|
|
458
505
|
:effective_end,
|
|
459
506
|
:number_of_rules,
|
|
460
507
|
:processing_status,
|
|
461
|
-
:values
|
|
508
|
+
:values,
|
|
509
|
+
:default_value)
|
|
462
510
|
SENSITIVE = []
|
|
463
511
|
include Aws::Structure
|
|
464
512
|
end
|
|
@@ -471,8 +519,8 @@ module Aws::CostExplorer
|
|
|
471
519
|
# data as a hash:
|
|
472
520
|
#
|
|
473
521
|
# {
|
|
474
|
-
# value: "CostCategoryValue",
|
|
475
|
-
# rule: {
|
|
522
|
+
# value: "CostCategoryValue",
|
|
523
|
+
# rule: {
|
|
476
524
|
# or: [
|
|
477
525
|
# {
|
|
478
526
|
# # recursive Expression
|
|
@@ -502,11 +550,15 @@ module Aws::CostExplorer
|
|
|
502
550
|
# match_options: ["EQUALS"], # accepts EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
|
503
551
|
# },
|
|
504
552
|
# },
|
|
553
|
+
# inherited_value: {
|
|
554
|
+
# dimension_name: "LINKED_ACCOUNT_NAME", # accepts LINKED_ACCOUNT_NAME, TAG
|
|
555
|
+
# dimension_key: "GenericString",
|
|
556
|
+
# },
|
|
557
|
+
# type: "REGULAR", # accepts REGULAR, INHERITED_VALUE
|
|
505
558
|
# }
|
|
506
559
|
#
|
|
507
560
|
# @!attribute [rw] value
|
|
508
|
-
# The value
|
|
509
|
-
# rule.
|
|
561
|
+
# The default value for the cost category.
|
|
510
562
|
# @return [String]
|
|
511
563
|
#
|
|
512
564
|
# @!attribute [rw] rule
|
|
@@ -530,11 +582,29 @@ module Aws::CostExplorer
|
|
|
530
582
|
# [2]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-cost-categories.html#cost-categories-terms
|
|
531
583
|
# @return [Types::Expression]
|
|
532
584
|
#
|
|
585
|
+
# @!attribute [rw] inherited_value
|
|
586
|
+
# The value the line item will be categorized as, if the line item
|
|
587
|
+
# contains the matched dimension.
|
|
588
|
+
# @return [Types::CostCategoryInheritedValueDimension]
|
|
589
|
+
#
|
|
590
|
+
# @!attribute [rw] type
|
|
591
|
+
# You can define the `CostCategoryRule` rule type as either `REGULAR`
|
|
592
|
+
# or `INHERITED_VALUE`. The `INHERITED_VALUE` rule type adds the
|
|
593
|
+
# flexibility of defining a rule that dynamically inherits the cost
|
|
594
|
+
# category value from the dimension value defined by
|
|
595
|
+
# `CostCategoryInheritedValueDimension`. For example, if you wanted to
|
|
596
|
+
# dynamically group costs based on the value of a specific tag key,
|
|
597
|
+
# you would first choose an inherited value rule type, then choose the
|
|
598
|
+
# tag dimension and specify the tag key to use.
|
|
599
|
+
# @return [String]
|
|
600
|
+
#
|
|
533
601
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CostCategoryRule AWS API Documentation
|
|
534
602
|
#
|
|
535
603
|
class CostCategoryRule < Struct.new(
|
|
536
604
|
:value,
|
|
537
|
-
:rule
|
|
605
|
+
:rule,
|
|
606
|
+
:inherited_value,
|
|
607
|
+
:type)
|
|
538
608
|
SENSITIVE = []
|
|
539
609
|
include Aws::Structure
|
|
540
610
|
end
|
|
@@ -848,8 +918,8 @@ module Aws::CostExplorer
|
|
|
848
918
|
# rule_version: "CostCategoryExpression.v1", # required, accepts CostCategoryExpression.v1
|
|
849
919
|
# rules: [ # required
|
|
850
920
|
# {
|
|
851
|
-
# value: "CostCategoryValue",
|
|
852
|
-
# rule: {
|
|
921
|
+
# value: "CostCategoryValue",
|
|
922
|
+
# rule: {
|
|
853
923
|
# or: [
|
|
854
924
|
# {
|
|
855
925
|
# # recursive Expression
|
|
@@ -879,8 +949,14 @@ module Aws::CostExplorer
|
|
|
879
949
|
# match_options: ["EQUALS"], # accepts EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
|
880
950
|
# },
|
|
881
951
|
# },
|
|
952
|
+
# inherited_value: {
|
|
953
|
+
# dimension_name: "LINKED_ACCOUNT_NAME", # accepts LINKED_ACCOUNT_NAME, TAG
|
|
954
|
+
# dimension_key: "GenericString",
|
|
955
|
+
# },
|
|
956
|
+
# type: "REGULAR", # accepts REGULAR, INHERITED_VALUE
|
|
882
957
|
# },
|
|
883
958
|
# ],
|
|
959
|
+
# default_value: "CostCategoryValue",
|
|
884
960
|
# }
|
|
885
961
|
#
|
|
886
962
|
# @!attribute [rw] name
|
|
@@ -900,12 +976,17 @@ module Aws::CostExplorer
|
|
|
900
976
|
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategoryRule.html
|
|
901
977
|
# @return [Array<Types::CostCategoryRule>]
|
|
902
978
|
#
|
|
979
|
+
# @!attribute [rw] default_value
|
|
980
|
+
# The default value for the cost category.
|
|
981
|
+
# @return [String]
|
|
982
|
+
#
|
|
903
983
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CreateCostCategoryDefinitionRequest AWS API Documentation
|
|
904
984
|
#
|
|
905
985
|
class CreateCostCategoryDefinitionRequest < Struct.new(
|
|
906
986
|
:name,
|
|
907
987
|
:rule_version,
|
|
908
|
-
:rules
|
|
988
|
+
:rules,
|
|
989
|
+
:default_value)
|
|
909
990
|
SENSITIVE = []
|
|
910
991
|
include Aws::Structure
|
|
911
992
|
end
|
|
@@ -1228,6 +1309,36 @@ module Aws::CostExplorer
|
|
|
1228
1309
|
include Aws::Structure
|
|
1229
1310
|
end
|
|
1230
1311
|
|
|
1312
|
+
# The field that contains a list of disk (local storage) metrics
|
|
1313
|
+
# associated with the current instance.
|
|
1314
|
+
#
|
|
1315
|
+
# @!attribute [rw] disk_read_ops_per_second
|
|
1316
|
+
# The maximum number of read operations per second.
|
|
1317
|
+
# @return [String]
|
|
1318
|
+
#
|
|
1319
|
+
# @!attribute [rw] disk_write_ops_per_second
|
|
1320
|
+
# The maximum number of write operations per second.
|
|
1321
|
+
# @return [String]
|
|
1322
|
+
#
|
|
1323
|
+
# @!attribute [rw] disk_read_bytes_per_second
|
|
1324
|
+
# The maximum read throughput operations per second.
|
|
1325
|
+
# @return [String]
|
|
1326
|
+
#
|
|
1327
|
+
# @!attribute [rw] disk_write_bytes_per_second
|
|
1328
|
+
# The maximum write throughput operations per second.
|
|
1329
|
+
# @return [String]
|
|
1330
|
+
#
|
|
1331
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/DiskResourceUtilization AWS API Documentation
|
|
1332
|
+
#
|
|
1333
|
+
class DiskResourceUtilization < Struct.new(
|
|
1334
|
+
:disk_read_ops_per_second,
|
|
1335
|
+
:disk_write_ops_per_second,
|
|
1336
|
+
:disk_read_bytes_per_second,
|
|
1337
|
+
:disk_write_bytes_per_second)
|
|
1338
|
+
SENSITIVE = []
|
|
1339
|
+
include Aws::Structure
|
|
1340
|
+
end
|
|
1341
|
+
|
|
1231
1342
|
# The EBS field that contains a list of EBS metrics associated with the
|
|
1232
1343
|
# current instance.
|
|
1233
1344
|
#
|
|
@@ -1386,13 +1497,25 @@ module Aws::CostExplorer
|
|
|
1386
1497
|
# the current instance.
|
|
1387
1498
|
# @return [Types::EBSResourceUtilization]
|
|
1388
1499
|
#
|
|
1500
|
+
# @!attribute [rw] disk_resource_utilization
|
|
1501
|
+
# The field that contains a list of disk (local storage) metrics
|
|
1502
|
+
# associated with the current instance.
|
|
1503
|
+
# @return [Types::DiskResourceUtilization]
|
|
1504
|
+
#
|
|
1505
|
+
# @!attribute [rw] network_resource_utilization
|
|
1506
|
+
# The network field that contains a list of network metrics associated
|
|
1507
|
+
# with the current instance.
|
|
1508
|
+
# @return [Types::NetworkResourceUtilization]
|
|
1509
|
+
#
|
|
1389
1510
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/EC2ResourceUtilization AWS API Documentation
|
|
1390
1511
|
#
|
|
1391
1512
|
class EC2ResourceUtilization < Struct.new(
|
|
1392
1513
|
:max_cpu_utilization_percentage,
|
|
1393
1514
|
:max_memory_utilization_percentage,
|
|
1394
1515
|
:max_storage_utilization_percentage,
|
|
1395
|
-
:ebs_resource_utilization
|
|
1516
|
+
:ebs_resource_utilization,
|
|
1517
|
+
:disk_resource_utilization,
|
|
1518
|
+
:network_resource_utilization)
|
|
1396
1519
|
SENSITIVE = []
|
|
1397
1520
|
include Aws::Structure
|
|
1398
1521
|
end
|
|
@@ -1923,7 +2046,7 @@ module Aws::CostExplorer
|
|
|
1923
2046
|
# start: "YearMonthDay", # required
|
|
1924
2047
|
# end: "YearMonthDay", # required
|
|
1925
2048
|
# },
|
|
1926
|
-
# granularity: "DAILY", # accepts DAILY, MONTHLY, HOURLY
|
|
2049
|
+
# granularity: "DAILY", # required, accepts DAILY, MONTHLY, HOURLY
|
|
1927
2050
|
# filter: {
|
|
1928
2051
|
# or: [
|
|
1929
2052
|
# {
|
|
@@ -2087,7 +2210,7 @@ module Aws::CostExplorer
|
|
|
2087
2210
|
# start: "YearMonthDay", # required
|
|
2088
2211
|
# end: "YearMonthDay", # required
|
|
2089
2212
|
# },
|
|
2090
|
-
# granularity: "DAILY", # accepts DAILY, MONTHLY, HOURLY
|
|
2213
|
+
# granularity: "DAILY", # required, accepts DAILY, MONTHLY, HOURLY
|
|
2091
2214
|
# filter: { # required
|
|
2092
2215
|
# or: [
|
|
2093
2216
|
# {
|
|
@@ -4026,7 +4149,7 @@ module Aws::CostExplorer
|
|
|
4026
4149
|
# data as a hash:
|
|
4027
4150
|
#
|
|
4028
4151
|
# {
|
|
4029
|
-
# savings_plans_type: "COMPUTE_SP", # required, accepts COMPUTE_SP, EC2_INSTANCE_SP
|
|
4152
|
+
# savings_plans_type: "COMPUTE_SP", # required, accepts COMPUTE_SP, EC2_INSTANCE_SP, SAGEMAKER_SP
|
|
4030
4153
|
# term_in_years: "ONE_YEAR", # required, accepts ONE_YEAR, THREE_YEARS
|
|
4031
4154
|
# payment_option: "NO_UPFRONT", # required, accepts NO_UPFRONT, PARTIAL_UPFRONT, ALL_UPFRONT, LIGHT_UTILIZATION, MEDIUM_UTILIZATION, HEAVY_UTILIZATION
|
|
4032
4155
|
# account_scope: "PAYER", # accepts PAYER, LINKED
|
|
@@ -5027,6 +5150,38 @@ module Aws::CostExplorer
|
|
|
5027
5150
|
include Aws::Structure
|
|
5028
5151
|
end
|
|
5029
5152
|
|
|
5153
|
+
# The network field that contains a list of network metrics associated
|
|
5154
|
+
# with the current instance.
|
|
5155
|
+
#
|
|
5156
|
+
# @!attribute [rw] network_in_bytes_per_second
|
|
5157
|
+
# The network ingress throughput utilization measured in Bytes per
|
|
5158
|
+
# second.
|
|
5159
|
+
# @return [String]
|
|
5160
|
+
#
|
|
5161
|
+
# @!attribute [rw] network_out_bytes_per_second
|
|
5162
|
+
# The network outgress throughput utilization measured in Bytes per
|
|
5163
|
+
# second.
|
|
5164
|
+
# @return [String]
|
|
5165
|
+
#
|
|
5166
|
+
# @!attribute [rw] network_packets_in_per_second
|
|
5167
|
+
# The network ingress packets measured in packets per second.
|
|
5168
|
+
# @return [String]
|
|
5169
|
+
#
|
|
5170
|
+
# @!attribute [rw] network_packets_out_per_second
|
|
5171
|
+
# The network outgress packets measured in packets per second.
|
|
5172
|
+
# @return [String]
|
|
5173
|
+
#
|
|
5174
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/NetworkResourceUtilization AWS API Documentation
|
|
5175
|
+
#
|
|
5176
|
+
class NetworkResourceUtilization < Struct.new(
|
|
5177
|
+
:network_in_bytes_per_second,
|
|
5178
|
+
:network_out_bytes_per_second,
|
|
5179
|
+
:network_packets_in_per_second,
|
|
5180
|
+
:network_packets_out_per_second)
|
|
5181
|
+
SENSITIVE = []
|
|
5182
|
+
include Aws::Structure
|
|
5183
|
+
end
|
|
5184
|
+
|
|
5030
5185
|
# @note When making an API call, you may pass ProvideAnomalyFeedbackRequest
|
|
5031
5186
|
# data as a hash:
|
|
5032
5187
|
#
|
|
@@ -5640,6 +5795,12 @@ module Aws::CostExplorer
|
|
|
5640
5795
|
# Details for termination recommendations.
|
|
5641
5796
|
# @return [Types::TerminateRecommendationDetail]
|
|
5642
5797
|
#
|
|
5798
|
+
# @!attribute [rw] finding_reason_codes
|
|
5799
|
+
# The list of possible reasons why the recommendation is generated
|
|
5800
|
+
# such as under or over utilization of specific metrics (for example,
|
|
5801
|
+
# CPU, Memory, Network).
|
|
5802
|
+
# @return [Array<String>]
|
|
5803
|
+
#
|
|
5643
5804
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/RightsizingRecommendation AWS API Documentation
|
|
5644
5805
|
#
|
|
5645
5806
|
class RightsizingRecommendation < Struct.new(
|
|
@@ -5647,7 +5808,8 @@ module Aws::CostExplorer
|
|
|
5647
5808
|
:current_instance,
|
|
5648
5809
|
:rightsizing_type,
|
|
5649
5810
|
:modify_recommendation_detail,
|
|
5650
|
-
:terminate_recommendation_detail
|
|
5811
|
+
:terminate_recommendation_detail,
|
|
5812
|
+
:finding_reason_codes)
|
|
5651
5813
|
SENSITIVE = []
|
|
5652
5814
|
include Aws::Structure
|
|
5653
5815
|
end
|
|
@@ -6479,6 +6641,12 @@ module Aws::CostExplorer
|
|
|
6479
6641
|
# Expected utilization metrics for target instance type.
|
|
6480
6642
|
# @return [Types::ResourceUtilization]
|
|
6481
6643
|
#
|
|
6644
|
+
# @!attribute [rw] platform_differences
|
|
6645
|
+
# Explains the actions you might need to take in order to successfully
|
|
6646
|
+
# migrate your workloads from the current instance type to the
|
|
6647
|
+
# recommended instance type.
|
|
6648
|
+
# @return [Array<String>]
|
|
6649
|
+
#
|
|
6482
6650
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/TargetInstance AWS API Documentation
|
|
6483
6651
|
#
|
|
6484
6652
|
class TargetInstance < Struct.new(
|
|
@@ -6487,7 +6655,8 @@ module Aws::CostExplorer
|
|
|
6487
6655
|
:currency_code,
|
|
6488
6656
|
:default_target_instance,
|
|
6489
6657
|
:resource_details,
|
|
6490
|
-
:expected_resource_utilization
|
|
6658
|
+
:expected_resource_utilization,
|
|
6659
|
+
:platform_differences)
|
|
6491
6660
|
SENSITIVE = []
|
|
6492
6661
|
include Aws::Structure
|
|
6493
6662
|
end
|
|
@@ -6699,8 +6868,8 @@ module Aws::CostExplorer
|
|
|
6699
6868
|
# rule_version: "CostCategoryExpression.v1", # required, accepts CostCategoryExpression.v1
|
|
6700
6869
|
# rules: [ # required
|
|
6701
6870
|
# {
|
|
6702
|
-
# value: "CostCategoryValue",
|
|
6703
|
-
# rule: {
|
|
6871
|
+
# value: "CostCategoryValue",
|
|
6872
|
+
# rule: {
|
|
6704
6873
|
# or: [
|
|
6705
6874
|
# {
|
|
6706
6875
|
# # recursive Expression
|
|
@@ -6730,8 +6899,14 @@ module Aws::CostExplorer
|
|
|
6730
6899
|
# match_options: ["EQUALS"], # accepts EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
|
6731
6900
|
# },
|
|
6732
6901
|
# },
|
|
6902
|
+
# inherited_value: {
|
|
6903
|
+
# dimension_name: "LINKED_ACCOUNT_NAME", # accepts LINKED_ACCOUNT_NAME, TAG
|
|
6904
|
+
# dimension_key: "GenericString",
|
|
6905
|
+
# },
|
|
6906
|
+
# type: "REGULAR", # accepts REGULAR, INHERITED_VALUE
|
|
6733
6907
|
# },
|
|
6734
6908
|
# ],
|
|
6909
|
+
# default_value: "CostCategoryValue",
|
|
6735
6910
|
# }
|
|
6736
6911
|
#
|
|
6737
6912
|
# @!attribute [rw] cost_category_arn
|
|
@@ -6751,12 +6926,17 @@ module Aws::CostExplorer
|
|
|
6751
6926
|
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategoryRule.html
|
|
6752
6927
|
# @return [Array<Types::CostCategoryRule>]
|
|
6753
6928
|
#
|
|
6929
|
+
# @!attribute [rw] default_value
|
|
6930
|
+
# The default value for the cost category.
|
|
6931
|
+
# @return [String]
|
|
6932
|
+
#
|
|
6754
6933
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/UpdateCostCategoryDefinitionRequest AWS API Documentation
|
|
6755
6934
|
#
|
|
6756
6935
|
class UpdateCostCategoryDefinitionRequest < Struct.new(
|
|
6757
6936
|
:cost_category_arn,
|
|
6758
6937
|
:rule_version,
|
|
6759
|
-
:rules
|
|
6938
|
+
:rules,
|
|
6939
|
+
:default_value)
|
|
6760
6940
|
SENSITIVE = []
|
|
6761
6941
|
include Aws::Structure
|
|
6762
6942
|
end
|
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.63.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-07-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|
|
@@ -19,7 +19,7 @@ dependencies:
|
|
|
19
19
|
version: '3'
|
|
20
20
|
- - ">="
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version: 3.
|
|
22
|
+
version: 3.118.0
|
|
23
23
|
type: :runtime
|
|
24
24
|
prerelease: false
|
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -29,7 +29,7 @@ dependencies:
|
|
|
29
29
|
version: '3'
|
|
30
30
|
- - ">="
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: 3.
|
|
32
|
+
version: 3.118.0
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: aws-sigv4
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -66,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
|
|
|
66
66
|
licenses:
|
|
67
67
|
- Apache-2.0
|
|
68
68
|
metadata:
|
|
69
|
-
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
|
70
|
-
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
|
69
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-costexplorer
|
|
70
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-costexplorer/CHANGELOG.md
|
|
71
71
|
post_install_message:
|
|
72
72
|
rdoc_options: []
|
|
73
73
|
require_paths:
|
|
@@ -83,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
83
83
|
- !ruby/object:Gem::Version
|
|
84
84
|
version: '0'
|
|
85
85
|
requirements: []
|
|
86
|
-
|
|
87
|
-
rubygems_version: 2.7.6.2
|
|
86
|
+
rubygems_version: 3.1.6
|
|
88
87
|
signing_key:
|
|
89
88
|
specification_version: 4
|
|
90
89
|
summary: AWS SDK for Ruby - AWS Cost Explorer
|