aws-sdk-costexplorer 1.38.0 → 1.43.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 75c6cdf232d9461b1b2e82c9751a5c69954ffecd
4
- data.tar.gz: 34723a0b8191ef14a91e95c3311307376da2ca54
2
+ SHA256:
3
+ metadata.gz: 3885493c5b0869d598eb07b69f6ef0602cebe560081381c85e3ece42b4891680
4
+ data.tar.gz: f66a4bbfe800cd77bad76fab9365a57a2e5395abd76d27834b112d4220d2511b
5
5
  SHA512:
6
- metadata.gz: 56572f2e23b82d87c5d61a66f3e025dbb0774d5f90d47024c5c644aa4f0207e4314269f812aee32cf66a44c3d6b0c9dd6054fe6be01b401bdbb37394ce1bac8d
7
- data.tar.gz: ff6e2afe928caf74761ebd5caf2c63d75df12db94b4448ffb86ad8d647f5369f06e57a8b163a8b3e63a75ff1f187f9846c67f6694cdc6bca557e768fbb06d4a4
6
+ metadata.gz: e165a2c4bf0ca2a3b2413dc2f0324758284399ff308fa2a99f61ee5151e60ced247cc7674d108a6de58ae9a6f23972531d33895f5dc7fb0a7193857dc8af91b3
7
+ data.tar.gz: ef158a9aba88c7c4f2095e3c50865b93c00dec498d02a4384b7cef27ad8097ce58f5b846b5f34cb85199d13a5ee0aefee688a72c2c999faa94a388ab26b6da14
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-costexplorer/customizations'
45
45
  # @service
46
46
  module Aws::CostExplorer
47
47
 
48
- GEM_VERSION = '1.38.0'
48
+ GEM_VERSION = '1.43.1'
49
49
 
50
50
  end
@@ -24,6 +24,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
24
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
25
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
26
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
27
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
28
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
29
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
29
30
 
@@ -69,6 +70,7 @@ module Aws::CostExplorer
69
70
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
71
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
72
  add_plugin(Aws::Plugins::TransferEncoding)
73
+ add_plugin(Aws::Plugins::HttpChecksum)
72
74
  add_plugin(Aws::Plugins::SignatureV4)
73
75
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
74
76
 
@@ -105,7 +107,7 @@ module Aws::CostExplorer
105
107
  # @option options [required, String] :region
106
108
  # The AWS region to connect to. The configured `:region` is
107
109
  # used to determine the service `:endpoint`. When not passed,
108
- # a default `:region` is search for in the following locations:
110
+ # a default `:region` is searched for in the following locations:
109
111
  #
110
112
  # * `Aws.config[:region]`
111
113
  # * `ENV['AWS_REGION']`
@@ -161,7 +163,7 @@ module Aws::CostExplorer
161
163
  # @option options [String] :endpoint
162
164
  # The client endpoint is normally constructed from the `:region`
163
165
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be avalid HTTP(S) URI.
166
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
167
  #
166
168
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
169
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +178,7 @@ module Aws::CostExplorer
176
178
  # requests fetching endpoints information. Defaults to 60 sec.
177
179
  #
178
180
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
181
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
182
  #
181
183
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
184
  # The log formatter.
@@ -318,12 +320,6 @@ module Aws::CostExplorer
318
320
 
319
321
  # @!group API Operations
320
322
 
321
- # <i> <b>Cost Category is in public beta for AWS Billing and Cost
322
- # Management and is subject to change. Your use of Cost Categories is
323
- # subject to the Beta Service Participation terms of the <a
324
- # href="http://aws.amazon.com/service-terms/">AWS Service Terms</a>
325
- # (Section 1.10).</b> </i>
326
- #
327
323
  # Creates a new Cost Category with the requested name and rules.
328
324
  #
329
325
  # @option params [required, String] :name
@@ -333,16 +329,12 @@ module Aws::CostExplorer
333
329
  # The rule schema version in this particular Cost Category.
334
330
  #
335
331
  # @option params [required, Array<Types::CostCategoryRule>] :rules
336
- # `CreateCostCategoryDefinition` supports dimensions, Tags, and nested
337
- # expressions. Currently the only dimensions supported is
338
- # `LINKED_ACCOUNT`.
332
+ # The Cost Category rules used to categorize costs. For more
333
+ # information, see [CostCategoryRule][1].
334
+ #
339
335
  #
340
- # Root level `OR` is not supported. We recommend you create a separate
341
- # rule instead.
342
336
  #
343
- # Rules are processed in order. If there are multiple rules that match
344
- # the line item, then the first rule to match is used to determine that
345
- # Cost Category value.
337
+ # [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategoryRule.html
346
338
  #
347
339
  # @return [Types::CreateCostCategoryDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
348
340
  #
@@ -372,12 +364,14 @@ module Aws::CostExplorer
372
364
  # # recursive Expression
373
365
  # },
374
366
  # dimensions: {
375
- # key: "AZ", # accepts AZ, INSTANCE_TYPE, LINKED_ACCOUNT, OPERATION, PURCHASE_TYPE, REGION, SERVICE, USAGE_TYPE, USAGE_TYPE_GROUP, RECORD_TYPE, OPERATING_SYSTEM, TENANCY, SCOPE, PLATFORM, SUBSCRIPTION_ID, LEGAL_ENTITY_NAME, DEPLOYMENT_OPTION, DATABASE_ENGINE, CACHE_ENGINE, INSTANCE_TYPE_FAMILY, BILLING_ENTITY, RESERVATION_ID, RESOURCE_ID, RIGHTSIZING_TYPE, SAVINGS_PLANS_TYPE, SAVINGS_PLAN_ARN, PAYMENT_OPTION
367
+ # key: "AZ", # accepts AZ, INSTANCE_TYPE, LINKED_ACCOUNT, LINKED_ACCOUNT_NAME, OPERATION, PURCHASE_TYPE, REGION, SERVICE, SERVICE_CODE, USAGE_TYPE, USAGE_TYPE_GROUP, RECORD_TYPE, OPERATING_SYSTEM, TENANCY, SCOPE, PLATFORM, SUBSCRIPTION_ID, LEGAL_ENTITY_NAME, DEPLOYMENT_OPTION, DATABASE_ENGINE, CACHE_ENGINE, INSTANCE_TYPE_FAMILY, BILLING_ENTITY, RESERVATION_ID, RESOURCE_ID, RIGHTSIZING_TYPE, SAVINGS_PLANS_TYPE, SAVINGS_PLAN_ARN, PAYMENT_OPTION
376
368
  # values: ["Value"],
369
+ # match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
377
370
  # },
378
371
  # tags: {
379
372
  # key: "TagKey",
380
373
  # values: ["Value"],
374
+ # match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
381
375
  # },
382
376
  # cost_categories: {
383
377
  # key: "CostCategoryName",
@@ -402,12 +396,6 @@ module Aws::CostExplorer
402
396
  req.send_request(options)
403
397
  end
404
398
 
405
- # <i> <b>Cost Category is in public beta for AWS Billing and Cost
406
- # Management and is subject to change. Your use of Cost Categories is
407
- # subject to the Beta Service Participation terms of the <a
408
- # href="http://aws.amazon.com/service-terms/">AWS Service Terms</a>
409
- # (Section 1.10).</b> </i>
410
- #
411
399
  # Deletes a Cost Category. Expenses from this month going forward will
412
400
  # no longer be categorized with this Cost Category.
413
401
  #
@@ -439,12 +427,6 @@ module Aws::CostExplorer
439
427
  req.send_request(options)
440
428
  end
441
429
 
442
- # <i> <b>Cost Category is in public beta for AWS Billing and Cost
443
- # Management and is subject to change. Your use of Cost Categories is
444
- # subject to the Beta Service Participation terms of the <a
445
- # href="http://aws.amazon.com/service-terms/">AWS Service Terms</a>
446
- # (Section 1.10).</b> </i>
447
- #
448
430
  # Returns the name, ARN, rules, definition, and effective dates of a
449
431
  # Cost Category that's defined in the account.
450
432
  #
@@ -485,12 +467,16 @@ module Aws::CostExplorer
485
467
  # resp.cost_category.rules[0].rule.and #=> Array
486
468
  # resp.cost_category.rules[0].rule.and[0] #=> Types::Expression
487
469
  # resp.cost_category.rules[0].rule.not #=> Types::Expression
488
- # resp.cost_category.rules[0].rule.dimensions.key #=> String, one of "AZ", "INSTANCE_TYPE", "LINKED_ACCOUNT", "OPERATION", "PURCHASE_TYPE", "REGION", "SERVICE", "USAGE_TYPE", "USAGE_TYPE_GROUP", "RECORD_TYPE", "OPERATING_SYSTEM", "TENANCY", "SCOPE", "PLATFORM", "SUBSCRIPTION_ID", "LEGAL_ENTITY_NAME", "DEPLOYMENT_OPTION", "DATABASE_ENGINE", "CACHE_ENGINE", "INSTANCE_TYPE_FAMILY", "BILLING_ENTITY", "RESERVATION_ID", "RESOURCE_ID", "RIGHTSIZING_TYPE", "SAVINGS_PLANS_TYPE", "SAVINGS_PLAN_ARN", "PAYMENT_OPTION"
470
+ # resp.cost_category.rules[0].rule.dimensions.key #=> String, one of "AZ", "INSTANCE_TYPE", "LINKED_ACCOUNT", "LINKED_ACCOUNT_NAME", "OPERATION", "PURCHASE_TYPE", "REGION", "SERVICE", "SERVICE_CODE", "USAGE_TYPE", "USAGE_TYPE_GROUP", "RECORD_TYPE", "OPERATING_SYSTEM", "TENANCY", "SCOPE", "PLATFORM", "SUBSCRIPTION_ID", "LEGAL_ENTITY_NAME", "DEPLOYMENT_OPTION", "DATABASE_ENGINE", "CACHE_ENGINE", "INSTANCE_TYPE_FAMILY", "BILLING_ENTITY", "RESERVATION_ID", "RESOURCE_ID", "RIGHTSIZING_TYPE", "SAVINGS_PLANS_TYPE", "SAVINGS_PLAN_ARN", "PAYMENT_OPTION"
489
471
  # resp.cost_category.rules[0].rule.dimensions.values #=> Array
490
472
  # resp.cost_category.rules[0].rule.dimensions.values[0] #=> String
473
+ # resp.cost_category.rules[0].rule.dimensions.match_options #=> Array
474
+ # resp.cost_category.rules[0].rule.dimensions.match_options[0] #=> String, one of "EQUALS", "STARTS_WITH", "ENDS_WITH", "CONTAINS", "CASE_SENSITIVE", "CASE_INSENSITIVE"
491
475
  # resp.cost_category.rules[0].rule.tags.key #=> String
492
476
  # resp.cost_category.rules[0].rule.tags.values #=> Array
493
477
  # resp.cost_category.rules[0].rule.tags.values[0] #=> String
478
+ # resp.cost_category.rules[0].rule.tags.match_options #=> Array
479
+ # resp.cost_category.rules[0].rule.tags.match_options[0] #=> String, one of "EQUALS", "STARTS_WITH", "ENDS_WITH", "CONTAINS", "CASE_SENSITIVE", "CASE_INSENSITIVE"
494
480
  # resp.cost_category.rules[0].rule.cost_categories.key #=> String
495
481
  # resp.cost_category.rules[0].rule.cost_categories.values #=> Array
496
482
  # resp.cost_category.rules[0].rule.cost_categories.values[0] #=> String
@@ -610,12 +596,14 @@ module Aws::CostExplorer
610
596
  # # recursive Expression
611
597
  # },
612
598
  # dimensions: {
613
- # key: "AZ", # accepts AZ, INSTANCE_TYPE, LINKED_ACCOUNT, OPERATION, PURCHASE_TYPE, REGION, SERVICE, USAGE_TYPE, USAGE_TYPE_GROUP, RECORD_TYPE, OPERATING_SYSTEM, TENANCY, SCOPE, PLATFORM, SUBSCRIPTION_ID, LEGAL_ENTITY_NAME, DEPLOYMENT_OPTION, DATABASE_ENGINE, CACHE_ENGINE, INSTANCE_TYPE_FAMILY, BILLING_ENTITY, RESERVATION_ID, RESOURCE_ID, RIGHTSIZING_TYPE, SAVINGS_PLANS_TYPE, SAVINGS_PLAN_ARN, PAYMENT_OPTION
599
+ # key: "AZ", # accepts AZ, INSTANCE_TYPE, LINKED_ACCOUNT, LINKED_ACCOUNT_NAME, OPERATION, PURCHASE_TYPE, REGION, SERVICE, SERVICE_CODE, USAGE_TYPE, USAGE_TYPE_GROUP, RECORD_TYPE, OPERATING_SYSTEM, TENANCY, SCOPE, PLATFORM, SUBSCRIPTION_ID, LEGAL_ENTITY_NAME, DEPLOYMENT_OPTION, DATABASE_ENGINE, CACHE_ENGINE, INSTANCE_TYPE_FAMILY, BILLING_ENTITY, RESERVATION_ID, RESOURCE_ID, RIGHTSIZING_TYPE, SAVINGS_PLANS_TYPE, SAVINGS_PLAN_ARN, PAYMENT_OPTION
614
600
  # values: ["Value"],
601
+ # match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
615
602
  # },
616
603
  # tags: {
617
604
  # key: "TagKey",
618
605
  # values: ["Value"],
606
+ # match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
619
607
  # },
620
608
  # cost_categories: {
621
609
  # key: "CostCategoryName",
@@ -680,7 +668,7 @@ module Aws::CostExplorer
680
668
  #
681
669
  #
682
670
  #
683
- # [1]: http://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetDimensionValues.html
671
+ # [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetDimensionValues.html
684
672
  # [2]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/ce-access.html
685
673
  #
686
674
  # @option params [required, Types::DateInterval] :time_period
@@ -709,7 +697,7 @@ module Aws::CostExplorer
709
697
  #
710
698
  #
711
699
  #
712
- # [1]: http://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html
700
+ # [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html
713
701
  #
714
702
  # @option params [Array<String>] :metrics
715
703
  # Which metrics are returned in the query. For more information about
@@ -734,7 +722,7 @@ module Aws::CostExplorer
734
722
  #
735
723
  #
736
724
  #
737
- # [1]: https://aws.amazon.com/premiumsupport/knowledge-center/blended-rates-intro/
725
+ # [1]: http://aws.amazon.com/premiumsupport/knowledge-center/blended-rates-intro/
738
726
  #
739
727
  # @option params [Array<Types::GroupDefinition>] :group_by
740
728
  # You can group Amazon Web Services costs using up to two different
@@ -774,12 +762,14 @@ module Aws::CostExplorer
774
762
  # # recursive Expression
775
763
  # },
776
764
  # dimensions: {
777
- # key: "AZ", # accepts AZ, INSTANCE_TYPE, LINKED_ACCOUNT, OPERATION, PURCHASE_TYPE, REGION, SERVICE, USAGE_TYPE, USAGE_TYPE_GROUP, RECORD_TYPE, OPERATING_SYSTEM, TENANCY, SCOPE, PLATFORM, SUBSCRIPTION_ID, LEGAL_ENTITY_NAME, DEPLOYMENT_OPTION, DATABASE_ENGINE, CACHE_ENGINE, INSTANCE_TYPE_FAMILY, BILLING_ENTITY, RESERVATION_ID, RESOURCE_ID, RIGHTSIZING_TYPE, SAVINGS_PLANS_TYPE, SAVINGS_PLAN_ARN, PAYMENT_OPTION
765
+ # key: "AZ", # accepts AZ, INSTANCE_TYPE, LINKED_ACCOUNT, LINKED_ACCOUNT_NAME, OPERATION, PURCHASE_TYPE, REGION, SERVICE, SERVICE_CODE, USAGE_TYPE, USAGE_TYPE_GROUP, RECORD_TYPE, OPERATING_SYSTEM, TENANCY, SCOPE, PLATFORM, SUBSCRIPTION_ID, LEGAL_ENTITY_NAME, DEPLOYMENT_OPTION, DATABASE_ENGINE, CACHE_ENGINE, INSTANCE_TYPE_FAMILY, BILLING_ENTITY, RESERVATION_ID, RESOURCE_ID, RIGHTSIZING_TYPE, SAVINGS_PLANS_TYPE, SAVINGS_PLAN_ARN, PAYMENT_OPTION
778
766
  # values: ["Value"],
767
+ # match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
779
768
  # },
780
769
  # tags: {
781
770
  # key: "TagKey",
782
771
  # values: ["Value"],
772
+ # match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
783
773
  # },
784
774
  # cost_categories: {
785
775
  # key: "CostCategoryName",
@@ -901,12 +891,14 @@ module Aws::CostExplorer
901
891
  # # recursive Expression
902
892
  # },
903
893
  # dimensions: {
904
- # key: "AZ", # accepts AZ, INSTANCE_TYPE, LINKED_ACCOUNT, OPERATION, PURCHASE_TYPE, REGION, SERVICE, USAGE_TYPE, USAGE_TYPE_GROUP, RECORD_TYPE, OPERATING_SYSTEM, TENANCY, SCOPE, PLATFORM, SUBSCRIPTION_ID, LEGAL_ENTITY_NAME, DEPLOYMENT_OPTION, DATABASE_ENGINE, CACHE_ENGINE, INSTANCE_TYPE_FAMILY, BILLING_ENTITY, RESERVATION_ID, RESOURCE_ID, RIGHTSIZING_TYPE, SAVINGS_PLANS_TYPE, SAVINGS_PLAN_ARN, PAYMENT_OPTION
894
+ # key: "AZ", # accepts AZ, INSTANCE_TYPE, LINKED_ACCOUNT, LINKED_ACCOUNT_NAME, OPERATION, PURCHASE_TYPE, REGION, SERVICE, SERVICE_CODE, USAGE_TYPE, USAGE_TYPE_GROUP, RECORD_TYPE, OPERATING_SYSTEM, TENANCY, SCOPE, PLATFORM, SUBSCRIPTION_ID, LEGAL_ENTITY_NAME, DEPLOYMENT_OPTION, DATABASE_ENGINE, CACHE_ENGINE, INSTANCE_TYPE_FAMILY, BILLING_ENTITY, RESERVATION_ID, RESOURCE_ID, RIGHTSIZING_TYPE, SAVINGS_PLANS_TYPE, SAVINGS_PLAN_ARN, PAYMENT_OPTION
905
895
  # values: ["Value"],
896
+ # match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
906
897
  # },
907
898
  # tags: {
908
899
  # key: "TagKey",
909
900
  # values: ["Value"],
901
+ # match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
910
902
  # },
911
903
  # cost_categories: {
912
904
  # key: "CostCategoryName",
@@ -1082,7 +1074,7 @@ module Aws::CostExplorer
1082
1074
  # start: "YearMonthDay", # required
1083
1075
  # end: "YearMonthDay", # required
1084
1076
  # },
1085
- # dimension: "AZ", # required, accepts AZ, INSTANCE_TYPE, LINKED_ACCOUNT, OPERATION, PURCHASE_TYPE, REGION, SERVICE, USAGE_TYPE, USAGE_TYPE_GROUP, RECORD_TYPE, OPERATING_SYSTEM, TENANCY, SCOPE, PLATFORM, SUBSCRIPTION_ID, LEGAL_ENTITY_NAME, DEPLOYMENT_OPTION, DATABASE_ENGINE, CACHE_ENGINE, INSTANCE_TYPE_FAMILY, BILLING_ENTITY, RESERVATION_ID, RESOURCE_ID, RIGHTSIZING_TYPE, SAVINGS_PLANS_TYPE, SAVINGS_PLAN_ARN, PAYMENT_OPTION
1077
+ # dimension: "AZ", # required, accepts AZ, INSTANCE_TYPE, LINKED_ACCOUNT, LINKED_ACCOUNT_NAME, OPERATION, PURCHASE_TYPE, REGION, SERVICE, SERVICE_CODE, USAGE_TYPE, USAGE_TYPE_GROUP, RECORD_TYPE, OPERATING_SYSTEM, TENANCY, SCOPE, PLATFORM, SUBSCRIPTION_ID, LEGAL_ENTITY_NAME, DEPLOYMENT_OPTION, DATABASE_ENGINE, CACHE_ENGINE, INSTANCE_TYPE_FAMILY, BILLING_ENTITY, RESERVATION_ID, RESOURCE_ID, RIGHTSIZING_TYPE, SAVINGS_PLANS_TYPE, SAVINGS_PLAN_ARN, PAYMENT_OPTION
1086
1078
  # context: "COST_AND_USAGE", # accepts COST_AND_USAGE, RESERVATIONS, SAVINGS_PLANS
1087
1079
  # next_page_token: "NextPageToken",
1088
1080
  # })
@@ -1110,7 +1102,8 @@ module Aws::CostExplorer
1110
1102
  # to see how much of your Amazon Elastic Compute Cloud, Amazon
1111
1103
  # ElastiCache, Amazon Relational Database Service, or Amazon Redshift
1112
1104
  # usage is covered by a reservation. An organization's master account
1113
- # can see the coverage of the associated member accounts. For any time
1105
+ # can see the coverage of the associated member accounts. This supports
1106
+ # dimensions, Cost Categories, and nested expressions. For any time
1114
1107
  # period, you can filter data about reservation usage by the following
1115
1108
  # dimensions:
1116
1109
  #
@@ -1220,6 +1213,8 @@ module Aws::CostExplorer
1220
1213
  # If you don't provide a `SERVICE` filter, Cost Explorer defaults to
1221
1214
  # EC2.
1222
1215
  #
1216
+ # Cost category is also supported.
1217
+ #
1223
1218
  #
1224
1219
  #
1225
1220
  # [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html
@@ -1270,12 +1265,14 @@ module Aws::CostExplorer
1270
1265
  # # recursive Expression
1271
1266
  # },
1272
1267
  # dimensions: {
1273
- # key: "AZ", # accepts AZ, INSTANCE_TYPE, LINKED_ACCOUNT, OPERATION, PURCHASE_TYPE, REGION, SERVICE, USAGE_TYPE, USAGE_TYPE_GROUP, RECORD_TYPE, OPERATING_SYSTEM, TENANCY, SCOPE, PLATFORM, SUBSCRIPTION_ID, LEGAL_ENTITY_NAME, DEPLOYMENT_OPTION, DATABASE_ENGINE, CACHE_ENGINE, INSTANCE_TYPE_FAMILY, BILLING_ENTITY, RESERVATION_ID, RESOURCE_ID, RIGHTSIZING_TYPE, SAVINGS_PLANS_TYPE, SAVINGS_PLAN_ARN, PAYMENT_OPTION
1268
+ # key: "AZ", # accepts AZ, INSTANCE_TYPE, LINKED_ACCOUNT, LINKED_ACCOUNT_NAME, OPERATION, PURCHASE_TYPE, REGION, SERVICE, SERVICE_CODE, USAGE_TYPE, USAGE_TYPE_GROUP, RECORD_TYPE, OPERATING_SYSTEM, TENANCY, SCOPE, PLATFORM, SUBSCRIPTION_ID, LEGAL_ENTITY_NAME, DEPLOYMENT_OPTION, DATABASE_ENGINE, CACHE_ENGINE, INSTANCE_TYPE_FAMILY, BILLING_ENTITY, RESERVATION_ID, RESOURCE_ID, RIGHTSIZING_TYPE, SAVINGS_PLANS_TYPE, SAVINGS_PLAN_ARN, PAYMENT_OPTION
1274
1269
  # values: ["Value"],
1270
+ # match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
1275
1271
  # },
1276
1272
  # tags: {
1277
1273
  # key: "TagKey",
1278
1274
  # values: ["Value"],
1275
+ # match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
1279
1276
  # },
1280
1277
  # cost_categories: {
1281
1278
  # key: "CostCategoryName",
@@ -1589,12 +1586,14 @@ module Aws::CostExplorer
1589
1586
  # # recursive Expression
1590
1587
  # },
1591
1588
  # dimensions: {
1592
- # key: "AZ", # accepts AZ, INSTANCE_TYPE, LINKED_ACCOUNT, OPERATION, PURCHASE_TYPE, REGION, SERVICE, USAGE_TYPE, USAGE_TYPE_GROUP, RECORD_TYPE, OPERATING_SYSTEM, TENANCY, SCOPE, PLATFORM, SUBSCRIPTION_ID, LEGAL_ENTITY_NAME, DEPLOYMENT_OPTION, DATABASE_ENGINE, CACHE_ENGINE, INSTANCE_TYPE_FAMILY, BILLING_ENTITY, RESERVATION_ID, RESOURCE_ID, RIGHTSIZING_TYPE, SAVINGS_PLANS_TYPE, SAVINGS_PLAN_ARN, PAYMENT_OPTION
1589
+ # key: "AZ", # accepts AZ, INSTANCE_TYPE, LINKED_ACCOUNT, LINKED_ACCOUNT_NAME, OPERATION, PURCHASE_TYPE, REGION, SERVICE, SERVICE_CODE, USAGE_TYPE, USAGE_TYPE_GROUP, RECORD_TYPE, OPERATING_SYSTEM, TENANCY, SCOPE, PLATFORM, SUBSCRIPTION_ID, LEGAL_ENTITY_NAME, DEPLOYMENT_OPTION, DATABASE_ENGINE, CACHE_ENGINE, INSTANCE_TYPE_FAMILY, BILLING_ENTITY, RESERVATION_ID, RESOURCE_ID, RIGHTSIZING_TYPE, SAVINGS_PLANS_TYPE, SAVINGS_PLAN_ARN, PAYMENT_OPTION
1593
1590
  # values: ["Value"],
1591
+ # match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
1594
1592
  # },
1595
1593
  # tags: {
1596
1594
  # key: "TagKey",
1597
1595
  # values: ["Value"],
1596
+ # match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
1598
1597
  # },
1599
1598
  # cost_categories: {
1600
1599
  # key: "CostCategoryName",
@@ -1725,6 +1724,14 @@ module Aws::CostExplorer
1725
1724
  #
1726
1725
  # </note>
1727
1726
  #
1727
+ # @option params [Types::RightsizingRecommendationConfiguration] :configuration
1728
+ # Enables you to customize recommendations across two attributes. You
1729
+ # can choose to view recommendations for instances within the same
1730
+ # instance families or across different instance families. You can also
1731
+ # choose to view your estimated savings associated with recommendations
1732
+ # with consideration of existing Savings Plans or RI benefits, or
1733
+ # niether.
1734
+ #
1728
1735
  # @option params [required, String] :service
1729
1736
  # The specific service that you want recommendations for. The only valid
1730
1737
  # value for `GetRightsizingRecommendation` is "`AmazonEC2`".
@@ -1743,6 +1750,7 @@ module Aws::CostExplorer
1743
1750
  # * {Types::GetRightsizingRecommendationResponse#summary #summary} => Types::RightsizingRecommendationSummary
1744
1751
  # * {Types::GetRightsizingRecommendationResponse#rightsizing_recommendations #rightsizing_recommendations} => Array&lt;Types::RightsizingRecommendation&gt;
1745
1752
  # * {Types::GetRightsizingRecommendationResponse#next_page_token #next_page_token} => String
1753
+ # * {Types::GetRightsizingRecommendationResponse#configuration #configuration} => Types::RightsizingRecommendationConfiguration
1746
1754
  #
1747
1755
  # @example Request syntax with placeholder values
1748
1756
  #
@@ -1762,18 +1770,24 @@ module Aws::CostExplorer
1762
1770
  # # recursive Expression
1763
1771
  # },
1764
1772
  # dimensions: {
1765
- # key: "AZ", # accepts AZ, INSTANCE_TYPE, LINKED_ACCOUNT, OPERATION, PURCHASE_TYPE, REGION, SERVICE, USAGE_TYPE, USAGE_TYPE_GROUP, RECORD_TYPE, OPERATING_SYSTEM, TENANCY, SCOPE, PLATFORM, SUBSCRIPTION_ID, LEGAL_ENTITY_NAME, DEPLOYMENT_OPTION, DATABASE_ENGINE, CACHE_ENGINE, INSTANCE_TYPE_FAMILY, BILLING_ENTITY, RESERVATION_ID, RESOURCE_ID, RIGHTSIZING_TYPE, SAVINGS_PLANS_TYPE, SAVINGS_PLAN_ARN, PAYMENT_OPTION
1773
+ # key: "AZ", # accepts AZ, INSTANCE_TYPE, LINKED_ACCOUNT, LINKED_ACCOUNT_NAME, OPERATION, PURCHASE_TYPE, REGION, SERVICE, SERVICE_CODE, USAGE_TYPE, USAGE_TYPE_GROUP, RECORD_TYPE, OPERATING_SYSTEM, TENANCY, SCOPE, PLATFORM, SUBSCRIPTION_ID, LEGAL_ENTITY_NAME, DEPLOYMENT_OPTION, DATABASE_ENGINE, CACHE_ENGINE, INSTANCE_TYPE_FAMILY, BILLING_ENTITY, RESERVATION_ID, RESOURCE_ID, RIGHTSIZING_TYPE, SAVINGS_PLANS_TYPE, SAVINGS_PLAN_ARN, PAYMENT_OPTION
1766
1774
  # values: ["Value"],
1775
+ # match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
1767
1776
  # },
1768
1777
  # tags: {
1769
1778
  # key: "TagKey",
1770
1779
  # values: ["Value"],
1780
+ # match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
1771
1781
  # },
1772
1782
  # cost_categories: {
1773
1783
  # key: "CostCategoryName",
1774
1784
  # values: ["Value"],
1775
1785
  # },
1776
1786
  # },
1787
+ # configuration: {
1788
+ # recommendation_target: "SAME_INSTANCE_FAMILY", # required, accepts SAME_INSTANCE_FAMILY, CROSS_INSTANCE_FAMILY
1789
+ # benefits_considered: false, # required
1790
+ # },
1777
1791
  # service: "GenericString", # required
1778
1792
  # page_size: 1,
1779
1793
  # next_page_token: "NextPageToken",
@@ -1795,6 +1809,8 @@ module Aws::CostExplorer
1795
1809
  # resp.rightsizing_recommendations[0].current_instance.tags[0].key #=> String
1796
1810
  # resp.rightsizing_recommendations[0].current_instance.tags[0].values #=> Array
1797
1811
  # resp.rightsizing_recommendations[0].current_instance.tags[0].values[0] #=> String
1812
+ # resp.rightsizing_recommendations[0].current_instance.tags[0].match_options #=> Array
1813
+ # resp.rightsizing_recommendations[0].current_instance.tags[0].match_options[0] #=> String, one of "EQUALS", "STARTS_WITH", "ENDS_WITH", "CONTAINS", "CASE_SENSITIVE", "CASE_INSENSITIVE"
1798
1814
  # resp.rightsizing_recommendations[0].current_instance.resource_details.ec2_resource_details.hourly_on_demand_rate #=> String
1799
1815
  # resp.rightsizing_recommendations[0].current_instance.resource_details.ec2_resource_details.instance_type #=> String
1800
1816
  # resp.rightsizing_recommendations[0].current_instance.resource_details.ec2_resource_details.platform #=> String
@@ -1834,6 +1850,8 @@ module Aws::CostExplorer
1834
1850
  # resp.rightsizing_recommendations[0].terminate_recommendation_detail.estimated_monthly_savings #=> String
1835
1851
  # resp.rightsizing_recommendations[0].terminate_recommendation_detail.currency_code #=> String
1836
1852
  # resp.next_page_token #=> String
1853
+ # resp.configuration.recommendation_target #=> String, one of "SAME_INSTANCE_FAMILY", "CROSS_INSTANCE_FAMILY"
1854
+ # resp.configuration.benefits_considered #=> Boolean
1837
1855
  #
1838
1856
  # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/GetRightsizingRecommendation AWS API Documentation
1839
1857
  #
@@ -1847,7 +1865,8 @@ module Aws::CostExplorer
1847
1865
  # Retrieves the Savings Plans covered for your account. This enables you
1848
1866
  # to see how much of your cost is covered by a Savings Plan. An
1849
1867
  # organization’s master account can see the coverage of the associated
1850
- # member accounts. For any time period, you can filter data for Savings
1868
+ # member accounts. This supports dimensions, Cost Categories, and nested
1869
+ # expressions. For any time period, you can filter data for Savings
1851
1870
  # Plans usage with the following dimensions:
1852
1871
  #
1853
1872
  # * `LINKED_ACCOUNT`
@@ -1894,6 +1913,8 @@ module Aws::CostExplorer
1894
1913
  # other operations, but only `AND` is supported among each dimension. If
1895
1914
  # there are multiple values for a dimension, they are OR'd together.
1896
1915
  #
1916
+ # Cost category is also supported.
1917
+ #
1897
1918
  #
1898
1919
  #
1899
1920
  # [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html
@@ -1947,12 +1968,14 @@ module Aws::CostExplorer
1947
1968
  # # recursive Expression
1948
1969
  # },
1949
1970
  # dimensions: {
1950
- # key: "AZ", # accepts AZ, INSTANCE_TYPE, LINKED_ACCOUNT, OPERATION, PURCHASE_TYPE, REGION, SERVICE, USAGE_TYPE, USAGE_TYPE_GROUP, RECORD_TYPE, OPERATING_SYSTEM, TENANCY, SCOPE, PLATFORM, SUBSCRIPTION_ID, LEGAL_ENTITY_NAME, DEPLOYMENT_OPTION, DATABASE_ENGINE, CACHE_ENGINE, INSTANCE_TYPE_FAMILY, BILLING_ENTITY, RESERVATION_ID, RESOURCE_ID, RIGHTSIZING_TYPE, SAVINGS_PLANS_TYPE, SAVINGS_PLAN_ARN, PAYMENT_OPTION
1971
+ # key: "AZ", # accepts AZ, INSTANCE_TYPE, LINKED_ACCOUNT, LINKED_ACCOUNT_NAME, OPERATION, PURCHASE_TYPE, REGION, SERVICE, SERVICE_CODE, USAGE_TYPE, USAGE_TYPE_GROUP, RECORD_TYPE, OPERATING_SYSTEM, TENANCY, SCOPE, PLATFORM, SUBSCRIPTION_ID, LEGAL_ENTITY_NAME, DEPLOYMENT_OPTION, DATABASE_ENGINE, CACHE_ENGINE, INSTANCE_TYPE_FAMILY, BILLING_ENTITY, RESERVATION_ID, RESOURCE_ID, RIGHTSIZING_TYPE, SAVINGS_PLANS_TYPE, SAVINGS_PLAN_ARN, PAYMENT_OPTION
1951
1972
  # values: ["Value"],
1973
+ # match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
1952
1974
  # },
1953
1975
  # tags: {
1954
1976
  # key: "TagKey",
1955
1977
  # values: ["Value"],
1978
+ # match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
1956
1979
  # },
1957
1980
  # cost_categories: {
1958
1981
  # key: "CostCategoryName",
@@ -2063,12 +2086,14 @@ module Aws::CostExplorer
2063
2086
  # # recursive Expression
2064
2087
  # },
2065
2088
  # dimensions: {
2066
- # key: "AZ", # accepts AZ, INSTANCE_TYPE, LINKED_ACCOUNT, OPERATION, PURCHASE_TYPE, REGION, SERVICE, USAGE_TYPE, USAGE_TYPE_GROUP, RECORD_TYPE, OPERATING_SYSTEM, TENANCY, SCOPE, PLATFORM, SUBSCRIPTION_ID, LEGAL_ENTITY_NAME, DEPLOYMENT_OPTION, DATABASE_ENGINE, CACHE_ENGINE, INSTANCE_TYPE_FAMILY, BILLING_ENTITY, RESERVATION_ID, RESOURCE_ID, RIGHTSIZING_TYPE, SAVINGS_PLANS_TYPE, SAVINGS_PLAN_ARN, PAYMENT_OPTION
2089
+ # key: "AZ", # accepts AZ, INSTANCE_TYPE, LINKED_ACCOUNT, LINKED_ACCOUNT_NAME, OPERATION, PURCHASE_TYPE, REGION, SERVICE, SERVICE_CODE, USAGE_TYPE, USAGE_TYPE_GROUP, RECORD_TYPE, OPERATING_SYSTEM, TENANCY, SCOPE, PLATFORM, SUBSCRIPTION_ID, LEGAL_ENTITY_NAME, DEPLOYMENT_OPTION, DATABASE_ENGINE, CACHE_ENGINE, INSTANCE_TYPE_FAMILY, BILLING_ENTITY, RESERVATION_ID, RESOURCE_ID, RIGHTSIZING_TYPE, SAVINGS_PLANS_TYPE, SAVINGS_PLAN_ARN, PAYMENT_OPTION
2067
2090
  # values: ["Value"],
2091
+ # match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
2068
2092
  # },
2069
2093
  # tags: {
2070
2094
  # key: "TagKey",
2071
2095
  # values: ["Value"],
2096
+ # match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
2072
2097
  # },
2073
2098
  # cost_categories: {
2074
2099
  # key: "CostCategoryName",
@@ -2203,12 +2228,14 @@ module Aws::CostExplorer
2203
2228
  # # recursive Expression
2204
2229
  # },
2205
2230
  # dimensions: {
2206
- # key: "AZ", # accepts AZ, INSTANCE_TYPE, LINKED_ACCOUNT, OPERATION, PURCHASE_TYPE, REGION, SERVICE, USAGE_TYPE, USAGE_TYPE_GROUP, RECORD_TYPE, OPERATING_SYSTEM, TENANCY, SCOPE, PLATFORM, SUBSCRIPTION_ID, LEGAL_ENTITY_NAME, DEPLOYMENT_OPTION, DATABASE_ENGINE, CACHE_ENGINE, INSTANCE_TYPE_FAMILY, BILLING_ENTITY, RESERVATION_ID, RESOURCE_ID, RIGHTSIZING_TYPE, SAVINGS_PLANS_TYPE, SAVINGS_PLAN_ARN, PAYMENT_OPTION
2231
+ # key: "AZ", # accepts AZ, INSTANCE_TYPE, LINKED_ACCOUNT, LINKED_ACCOUNT_NAME, OPERATION, PURCHASE_TYPE, REGION, SERVICE, SERVICE_CODE, USAGE_TYPE, USAGE_TYPE_GROUP, RECORD_TYPE, OPERATING_SYSTEM, TENANCY, SCOPE, PLATFORM, SUBSCRIPTION_ID, LEGAL_ENTITY_NAME, DEPLOYMENT_OPTION, DATABASE_ENGINE, CACHE_ENGINE, INSTANCE_TYPE_FAMILY, BILLING_ENTITY, RESERVATION_ID, RESOURCE_ID, RIGHTSIZING_TYPE, SAVINGS_PLANS_TYPE, SAVINGS_PLAN_ARN, PAYMENT_OPTION
2207
2232
  # values: ["Value"],
2233
+ # match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
2208
2234
  # },
2209
2235
  # tags: {
2210
2236
  # key: "TagKey",
2211
2237
  # values: ["Value"],
2238
+ # match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
2212
2239
  # },
2213
2240
  # cost_categories: {
2214
2241
  # key: "CostCategoryName",
@@ -2332,12 +2359,14 @@ module Aws::CostExplorer
2332
2359
  # # recursive Expression
2333
2360
  # },
2334
2361
  # dimensions: {
2335
- # key: "AZ", # accepts AZ, INSTANCE_TYPE, LINKED_ACCOUNT, OPERATION, PURCHASE_TYPE, REGION, SERVICE, USAGE_TYPE, USAGE_TYPE_GROUP, RECORD_TYPE, OPERATING_SYSTEM, TENANCY, SCOPE, PLATFORM, SUBSCRIPTION_ID, LEGAL_ENTITY_NAME, DEPLOYMENT_OPTION, DATABASE_ENGINE, CACHE_ENGINE, INSTANCE_TYPE_FAMILY, BILLING_ENTITY, RESERVATION_ID, RESOURCE_ID, RIGHTSIZING_TYPE, SAVINGS_PLANS_TYPE, SAVINGS_PLAN_ARN, PAYMENT_OPTION
2362
+ # key: "AZ", # accepts AZ, INSTANCE_TYPE, LINKED_ACCOUNT, LINKED_ACCOUNT_NAME, OPERATION, PURCHASE_TYPE, REGION, SERVICE, SERVICE_CODE, USAGE_TYPE, USAGE_TYPE_GROUP, RECORD_TYPE, OPERATING_SYSTEM, TENANCY, SCOPE, PLATFORM, SUBSCRIPTION_ID, LEGAL_ENTITY_NAME, DEPLOYMENT_OPTION, DATABASE_ENGINE, CACHE_ENGINE, INSTANCE_TYPE_FAMILY, BILLING_ENTITY, RESERVATION_ID, RESOURCE_ID, RIGHTSIZING_TYPE, SAVINGS_PLANS_TYPE, SAVINGS_PLAN_ARN, PAYMENT_OPTION
2336
2363
  # values: ["Value"],
2364
+ # match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
2337
2365
  # },
2338
2366
  # tags: {
2339
2367
  # key: "TagKey",
2340
2368
  # values: ["Value"],
2369
+ # match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
2341
2370
  # },
2342
2371
  # cost_categories: {
2343
2372
  # key: "CostCategoryName",
@@ -2511,12 +2540,14 @@ module Aws::CostExplorer
2511
2540
  # # recursive Expression
2512
2541
  # },
2513
2542
  # dimensions: {
2514
- # key: "AZ", # accepts AZ, INSTANCE_TYPE, LINKED_ACCOUNT, OPERATION, PURCHASE_TYPE, REGION, SERVICE, USAGE_TYPE, USAGE_TYPE_GROUP, RECORD_TYPE, OPERATING_SYSTEM, TENANCY, SCOPE, PLATFORM, SUBSCRIPTION_ID, LEGAL_ENTITY_NAME, DEPLOYMENT_OPTION, DATABASE_ENGINE, CACHE_ENGINE, INSTANCE_TYPE_FAMILY, BILLING_ENTITY, RESERVATION_ID, RESOURCE_ID, RIGHTSIZING_TYPE, SAVINGS_PLANS_TYPE, SAVINGS_PLAN_ARN, PAYMENT_OPTION
2543
+ # key: "AZ", # accepts AZ, INSTANCE_TYPE, LINKED_ACCOUNT, LINKED_ACCOUNT_NAME, OPERATION, PURCHASE_TYPE, REGION, SERVICE, SERVICE_CODE, USAGE_TYPE, USAGE_TYPE_GROUP, RECORD_TYPE, OPERATING_SYSTEM, TENANCY, SCOPE, PLATFORM, SUBSCRIPTION_ID, LEGAL_ENTITY_NAME, DEPLOYMENT_OPTION, DATABASE_ENGINE, CACHE_ENGINE, INSTANCE_TYPE_FAMILY, BILLING_ENTITY, RESERVATION_ID, RESOURCE_ID, RIGHTSIZING_TYPE, SAVINGS_PLANS_TYPE, SAVINGS_PLAN_ARN, PAYMENT_OPTION
2515
2544
  # values: ["Value"],
2545
+ # match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
2516
2546
  # },
2517
2547
  # tags: {
2518
2548
  # key: "TagKey",
2519
2549
  # values: ["Value"],
2550
+ # match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
2520
2551
  # },
2521
2552
  # cost_categories: {
2522
2553
  # key: "CostCategoryName",
@@ -2546,18 +2577,14 @@ module Aws::CostExplorer
2546
2577
  req.send_request(options)
2547
2578
  end
2548
2579
 
2549
- # <i> <b>Cost Category is in public beta for AWS Billing and Cost
2550
- # Management and is subject to change. Your use of Cost Categories is
2551
- # subject to the Beta Service Participation terms of the <a
2552
- # href="http://aws.amazon.com/service-terms/">AWS Service Terms</a>
2553
- # (Section 1.10).</b> </i>
2554
- #
2555
- # Returns the name, ARN and effective dates of all Cost Categories
2556
- # defined in the account. You have the option to use `EffectiveOn` to
2557
- # return a list of Cost Categories that were active on a specific date.
2558
- # If there is no `EffectiveOn` specified, you’ll see Cost Categories
2559
- # that are effective on the current date. If Cost Category is still
2560
- # effective, `EffectiveEnd` is omitted in the response.
2580
+ # Returns the name, ARN, `NumberOfRules` and effective dates of all Cost
2581
+ # Categories defined in the account. You have the option to use
2582
+ # `EffectiveOn` to return a list of Cost Categories that were active on
2583
+ # a specific date. If there is no `EffectiveOn` specified, you’ll see
2584
+ # Cost Categories that are effective on the current date. If Cost
2585
+ # Category is still effective, `EffectiveEnd` is omitted in the
2586
+ # response. `ListCostCategoryDefinitions` supports pagination. The
2587
+ # request can have a `MaxResults` range up to 100.
2561
2588
  #
2562
2589
  # @option params [String] :effective_on
2563
2590
  # The date when the Cost Category was effective.
@@ -2567,19 +2594,22 @@ module Aws::CostExplorer
2567
2594
  # provides the token when the response from a previous call has more
2568
2595
  # results than the maximum page size.
2569
2596
  #
2570
- # You can use this information to retrieve the full Cost Category
2571
- # information using `DescribeCostCategory`.
2597
+ # @option params [Integer] :max_results
2598
+ # The number of entries a paginated response contains.
2572
2599
  #
2573
2600
  # @return [Types::ListCostCategoryDefinitionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2574
2601
  #
2575
2602
  # * {Types::ListCostCategoryDefinitionsResponse#cost_category_references #cost_category_references} => Array&lt;Types::CostCategoryReference&gt;
2576
2603
  # * {Types::ListCostCategoryDefinitionsResponse#next_token #next_token} => String
2577
2604
  #
2605
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2606
+ #
2578
2607
  # @example Request syntax with placeholder values
2579
2608
  #
2580
2609
  # resp = client.list_cost_category_definitions({
2581
2610
  # effective_on: "ZonedDateTime",
2582
2611
  # next_token: "NextPageToken",
2612
+ # max_results: 1,
2583
2613
  # })
2584
2614
  #
2585
2615
  # @example Response structure
@@ -2589,6 +2619,7 @@ module Aws::CostExplorer
2589
2619
  # resp.cost_category_references[0].name #=> String
2590
2620
  # resp.cost_category_references[0].effective_start #=> String
2591
2621
  # resp.cost_category_references[0].effective_end #=> String
2622
+ # resp.cost_category_references[0].number_of_rules #=> Integer
2592
2623
  # resp.next_token #=> String
2593
2624
  #
2594
2625
  # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ListCostCategoryDefinitions AWS API Documentation
@@ -2600,12 +2631,6 @@ module Aws::CostExplorer
2600
2631
  req.send_request(options)
2601
2632
  end
2602
2633
 
2603
- # <i> <b>Cost Category is in public beta for AWS Billing and Cost
2604
- # Management and is subject to change. Your use of Cost Categories is
2605
- # subject to the Beta Service Participation terms of the <a
2606
- # href="http://aws.amazon.com/service-terms/">AWS Service Terms</a>
2607
- # (Section 1.10).</b> </i>
2608
- #
2609
2634
  # Updates an existing Cost Category. Changes made to the Cost Category
2610
2635
  # rules will be used to categorize the current month’s expenses and
2611
2636
  # future expenses. This won’t change categorization for the previous
@@ -2618,16 +2643,12 @@ module Aws::CostExplorer
2618
2643
  # The rule schema version in this particular Cost Category.
2619
2644
  #
2620
2645
  # @option params [required, Array<Types::CostCategoryRule>] :rules
2621
- # `UpdateCostCategoryDefinition` supports dimensions, Tags, and nested
2622
- # expressions. Currently the only dimensions supported is
2623
- # `LINKED_ACCOUNT`.
2646
+ # The `Expression` object used to categorize costs. For more
2647
+ # information, see [CostCategoryRule ][1].
2648
+ #
2624
2649
  #
2625
- # Root level `OR` is not supported. We recommend you create a separate
2626
- # rule instead.
2627
2650
  #
2628
- # Rules are processed in order. If there are multiple rules that match
2629
- # the line item, then the first rule to match is used to determine that
2630
- # Cost Category value.
2651
+ # [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategoryRule.html
2631
2652
  #
2632
2653
  # @return [Types::UpdateCostCategoryDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2633
2654
  #
@@ -2657,12 +2678,14 @@ module Aws::CostExplorer
2657
2678
  # # recursive Expression
2658
2679
  # },
2659
2680
  # dimensions: {
2660
- # key: "AZ", # accepts AZ, INSTANCE_TYPE, LINKED_ACCOUNT, OPERATION, PURCHASE_TYPE, REGION, SERVICE, USAGE_TYPE, USAGE_TYPE_GROUP, RECORD_TYPE, OPERATING_SYSTEM, TENANCY, SCOPE, PLATFORM, SUBSCRIPTION_ID, LEGAL_ENTITY_NAME, DEPLOYMENT_OPTION, DATABASE_ENGINE, CACHE_ENGINE, INSTANCE_TYPE_FAMILY, BILLING_ENTITY, RESERVATION_ID, RESOURCE_ID, RIGHTSIZING_TYPE, SAVINGS_PLANS_TYPE, SAVINGS_PLAN_ARN, PAYMENT_OPTION
2681
+ # key: "AZ", # accepts AZ, INSTANCE_TYPE, LINKED_ACCOUNT, LINKED_ACCOUNT_NAME, OPERATION, PURCHASE_TYPE, REGION, SERVICE, SERVICE_CODE, USAGE_TYPE, USAGE_TYPE_GROUP, RECORD_TYPE, OPERATING_SYSTEM, TENANCY, SCOPE, PLATFORM, SUBSCRIPTION_ID, LEGAL_ENTITY_NAME, DEPLOYMENT_OPTION, DATABASE_ENGINE, CACHE_ENGINE, INSTANCE_TYPE_FAMILY, BILLING_ENTITY, RESERVATION_ID, RESOURCE_ID, RIGHTSIZING_TYPE, SAVINGS_PLANS_TYPE, SAVINGS_PLAN_ARN, PAYMENT_OPTION
2661
2682
  # values: ["Value"],
2683
+ # match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
2662
2684
  # },
2663
2685
  # tags: {
2664
2686
  # key: "TagKey",
2665
2687
  # values: ["Value"],
2688
+ # match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
2666
2689
  # },
2667
2690
  # cost_categories: {
2668
2691
  # key: "CostCategoryName",
@@ -2700,7 +2723,7 @@ module Aws::CostExplorer
2700
2723
  params: params,
2701
2724
  config: config)
2702
2725
  context[:gem_name] = 'aws-sdk-costexplorer'
2703
- context[:gem_version] = '1.38.0'
2726
+ context[:gem_version] = '1.43.1'
2704
2727
  Seahorse::Client::Request.new(handlers, context)
2705
2728
  end
2706
2729