aws-sdk-costexplorer 1.57.0 → 1.62.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.62.0
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-costexplorer/customizations'
48
48
  # @!group service
49
49
  module Aws::CostExplorer
50
50
 
51
- GEM_VERSION = '1.57.0'
51
+ GEM_VERSION = '1.62.0'
52
52
 
53
53
  end
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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", # required
482
- # rule: { # required
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
  # {
@@ -1328,6 +1341,8 @@ module Aws::CostExplorer
1328
1341
  # `MaxResults` is not specified with `SortBy`, the request will return
1329
1342
  # 1000 results as the default value for this parameter.
1330
1343
  #
1344
+ # For `GetCostCategories`, MaxResults has an upper limit of 1000.
1345
+ #
1331
1346
  # @option params [String] :next_page_token
1332
1347
  # If the number of objects that are still available for retrieval
1333
1348
  # exceeds the limit, AWS returns a NextPageToken value in the response.
@@ -1448,8 +1463,54 @@ module Aws::CostExplorer
1448
1463
  # granularities.
1449
1464
  #
1450
1465
  # @option params [Types::Expression] :filter
1451
- # The filters that you want to use to filter your forecast. Cost
1452
- # Explorer API supports all of the Cost Explorer filters.
1466
+ # The filters that you want to use to filter your forecast. The
1467
+ # `GetCostForecast` API supports filtering by the following dimensions:
1468
+ #
1469
+ # * `AZ`
1470
+ #
1471
+ # * `INSTANCE_TYPE`
1472
+ #
1473
+ # * `LINKED_ACCOUNT`
1474
+ #
1475
+ # * `LINKED_ACCOUNT_NAME`
1476
+ #
1477
+ # * `OPERATION`
1478
+ #
1479
+ # * `PURCHASE_TYPE`
1480
+ #
1481
+ # * `REGION`
1482
+ #
1483
+ # * `SERVICE`
1484
+ #
1485
+ # * `USAGE_TYPE`
1486
+ #
1487
+ # * `USAGE_TYPE_GROUP`
1488
+ #
1489
+ # * `RECORD_TYPE`
1490
+ #
1491
+ # * `OPERATING_SYSTEM`
1492
+ #
1493
+ # * `TENANCY`
1494
+ #
1495
+ # * `SCOPE`
1496
+ #
1497
+ # * `PLATFORM`
1498
+ #
1499
+ # * `SUBSCRIPTION_ID`
1500
+ #
1501
+ # * `LEGAL_ENTITY_NAME`
1502
+ #
1503
+ # * `DEPLOYMENT_OPTION`
1504
+ #
1505
+ # * `DATABASE_ENGINE`
1506
+ #
1507
+ # * `INSTANCE_TYPE_FAMILY`
1508
+ #
1509
+ # * `BILLING_ENTITY`
1510
+ #
1511
+ # * `RESERVATION_ID`
1512
+ #
1513
+ # * `SAVINGS_PLAN_ARN`
1453
1514
  #
1454
1515
  # @option params [Integer] :prediction_interval_level
1455
1516
  # Cost Explorer always returns the mean forecast as a single point. You
@@ -1739,6 +1800,8 @@ module Aws::CostExplorer
1739
1800
  # MaxResults is not specified with SortBy, the request will return 1000
1740
1801
  # results as the default value for this parameter.
1741
1802
  #
1803
+ # For `GetDimensionValues`, MaxResults has an upper limit of 1000.
1804
+ #
1742
1805
  # @option params [String] :next_page_token
1743
1806
  # The token to retrieve the next set of results. AWS provides the token
1744
1807
  # when the response from a previous call has more results than the
@@ -2744,6 +2807,14 @@ module Aws::CostExplorer
2744
2807
  # resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.ebs_resource_utilization.ebs_write_ops_per_second #=> String
2745
2808
  # resp.rightsizing_recommendations[0].current_instance.resource_utilization.ec2_resource_utilization.ebs_resource_utilization.ebs_read_bytes_per_second #=> String
2746
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
2747
2818
  # resp.rightsizing_recommendations[0].current_instance.reservation_covered_hours_in_lookback_period #=> String
2748
2819
  # resp.rightsizing_recommendations[0].current_instance.savings_plans_covered_hours_in_lookback_period #=> String
2749
2820
  # resp.rightsizing_recommendations[0].current_instance.on_demand_hours_in_lookback_period #=> String
@@ -2772,8 +2843,20 @@ module Aws::CostExplorer
2772
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
2773
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
2774
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"
2775
2856
  # resp.rightsizing_recommendations[0].terminate_recommendation_detail.estimated_monthly_savings #=> String
2776
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"
2777
2860
  # resp.next_page_token #=> String
2778
2861
  # resp.configuration.recommendation_target #=> String, one of "SAME_INSTANCE_FAMILY", "CROSS_INSTANCE_FAMILY"
2779
2862
  # resp.configuration.benefits_considered #=> Boolean
@@ -3015,7 +3098,7 @@ module Aws::CostExplorer
3015
3098
  # @example Request syntax with placeholder values
3016
3099
  #
3017
3100
  # resp = client.get_savings_plans_purchase_recommendation({
3018
- # 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
3019
3102
  # term_in_years: "ONE_YEAR", # required, accepts ONE_YEAR, THREE_YEARS
3020
3103
  # payment_option: "NO_UPFRONT", # required, accepts NO_UPFRONT, PARTIAL_UPFRONT, ALL_UPFRONT, LIGHT_UTILIZATION, MEDIUM_UTILIZATION, HEAVY_UTILIZATION
3021
3104
  # account_scope: "PAYER", # accepts PAYER, LINKED
@@ -3060,7 +3143,7 @@ module Aws::CostExplorer
3060
3143
  # resp.metadata.generation_timestamp #=> String
3061
3144
  # resp.metadata.additional_metadata #=> String
3062
3145
  # resp.savings_plans_purchase_recommendation.account_scope #=> String, one of "PAYER", "LINKED"
3063
- # 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"
3064
3147
  # resp.savings_plans_purchase_recommendation.term_in_years #=> String, one of "ONE_YEAR", "THREE_YEARS"
3065
3148
  # resp.savings_plans_purchase_recommendation.payment_option #=> String, one of "NO_UPFRONT", "PARTIAL_UPFRONT", "ALL_UPFRONT", "LIGHT_UTILIZATION", "MEDIUM_UTILIZATION", "HEAVY_UTILIZATION"
3066
3149
  # resp.savings_plans_purchase_recommendation.lookback_period_in_days #=> String, one of "SEVEN_DAYS", "THIRTY_DAYS", "SIXTY_DAYS"
@@ -3519,6 +3602,8 @@ module Aws::CostExplorer
3519
3602
  # MaxResults is not specified with SortBy, the request will return 1000
3520
3603
  # results as the default value for this parameter.
3521
3604
  #
3605
+ # For `GetTags`, MaxResults has an upper limit of 1000.
3606
+ #
3522
3607
  # @option params [String] :next_page_token
3523
3608
  # The token to retrieve the next set of results. AWS provides the token
3524
3609
  # when the response from a previous call has more results than the
@@ -3627,8 +3712,54 @@ module Aws::CostExplorer
3627
3712
  # granularities.
3628
3713
  #
3629
3714
  # @option params [Types::Expression] :filter
3630
- # The filters that you want to use to filter your forecast. Cost
3631
- # Explorer API supports all of the Cost Explorer filters.
3715
+ # The filters that you want to use to filter your forecast. The
3716
+ # `GetUsageForecast` API supports filtering by the following dimensions:
3717
+ #
3718
+ # * `AZ`
3719
+ #
3720
+ # * `INSTANCE_TYPE`
3721
+ #
3722
+ # * `LINKED_ACCOUNT`
3723
+ #
3724
+ # * `LINKED_ACCOUNT_NAME`
3725
+ #
3726
+ # * `OPERATION`
3727
+ #
3728
+ # * `PURCHASE_TYPE`
3729
+ #
3730
+ # * `REGION`
3731
+ #
3732
+ # * `SERVICE`
3733
+ #
3734
+ # * `USAGE_TYPE`
3735
+ #
3736
+ # * `USAGE_TYPE_GROUP`
3737
+ #
3738
+ # * `RECORD_TYPE`
3739
+ #
3740
+ # * `OPERATING_SYSTEM`
3741
+ #
3742
+ # * `TENANCY`
3743
+ #
3744
+ # * `SCOPE`
3745
+ #
3746
+ # * `PLATFORM`
3747
+ #
3748
+ # * `SUBSCRIPTION_ID`
3749
+ #
3750
+ # * `LEGAL_ENTITY_NAME`
3751
+ #
3752
+ # * `DEPLOYMENT_OPTION`
3753
+ #
3754
+ # * `DATABASE_ENGINE`
3755
+ #
3756
+ # * `INSTANCE_TYPE_FAMILY`
3757
+ #
3758
+ # * `BILLING_ENTITY`
3759
+ #
3760
+ # * `RESERVATION_ID`
3761
+ #
3762
+ # * `SAVINGS_PLAN_ARN`
3632
3763
  #
3633
3764
  # @option params [Integer] :prediction_interval_level
3634
3765
  # Cost Explorer always returns the mean forecast as a single point. You
@@ -3753,6 +3884,7 @@ module Aws::CostExplorer
3753
3884
  # resp.cost_category_references[0].processing_status[0].status #=> String, one of "PROCESSING", "APPLIED"
3754
3885
  # resp.cost_category_references[0].values #=> Array
3755
3886
  # resp.cost_category_references[0].values[0] #=> String
3887
+ # resp.cost_category_references[0].default_value #=> String
3756
3888
  # resp.next_token #=> String
3757
3889
  #
3758
3890
  # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ListCostCategoryDefinitions AWS API Documentation
@@ -3904,6 +4036,9 @@ module Aws::CostExplorer
3904
4036
  #
3905
4037
  # [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategoryRule.html
3906
4038
  #
4039
+ # @option params [String] :default_value
4040
+ # The default value for the cost category.
4041
+ #
3907
4042
  # @return [Types::UpdateCostCategoryDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3908
4043
  #
3909
4044
  # * {Types::UpdateCostCategoryDefinitionResponse#cost_category_arn #cost_category_arn} => String
@@ -3916,8 +4051,8 @@ module Aws::CostExplorer
3916
4051
  # rule_version: "CostCategoryExpression.v1", # required, accepts CostCategoryExpression.v1
3917
4052
  # rules: [ # required
3918
4053
  # {
3919
- # value: "CostCategoryValue", # required
3920
- # rule: { # required
4054
+ # value: "CostCategoryValue",
4055
+ # rule: {
3921
4056
  # or: [
3922
4057
  # {
3923
4058
  # # recursive Expression
@@ -3947,8 +4082,14 @@ module Aws::CostExplorer
3947
4082
  # match_options: ["EQUALS"], # accepts EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
3948
4083
  # },
3949
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
3950
4090
  # },
3951
4091
  # ],
4092
+ # default_value: "CostCategoryValue",
3952
4093
  # })
3953
4094
  #
3954
4095
  # @example Response structure
@@ -3978,7 +4119,7 @@ module Aws::CostExplorer
3978
4119
  params: params,
3979
4120
  config: config)
3980
4121
  context[:gem_name] = 'aws-sdk-costexplorer'
3981
- context[:gem_version] = '1.57.0'
4122
+ context[:gem_version] = '1.62.0'
3982
4123
  Seahorse::Client::Request.new(handlers, context)
3983
4124
  end
3984
4125
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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, required: true, location_name: "Value"))
363
- CostCategoryRule.add_member(:rule, Shapes::ShapeRef.new(shape: Expression, required: true, location_name: "Rule"))
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"))