aws-sdk-costexplorer 1.38.0 → 1.39.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-costexplorer.rb +1 -1
- data/lib/aws-sdk-costexplorer/client.rb +81 -75
- data/lib/aws-sdk-costexplorer/client_api.rb +15 -0
- data/lib/aws-sdk-costexplorer/types.rb +123 -98
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a6834234d6804f2a6d45d00c709b16f67682276fd0e28cfc2aefb5c1b2a5ad2c
|
4
|
+
data.tar.gz: f0993bd58299e545b0ba34eae895ed4bf53bae3b9b872ffce96d24d3fc11ff77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91ed3357b6a9b593c4e366303bb20738da673d4da09284c0a51a6cd853321412dc9a46a39f21129bd8e9be24e4dce8f9bcc14bdb01f3dd1121ec135a2e97f9e4
|
7
|
+
data.tar.gz: 05c6c61af5b3e5c7c596ce8a7249cb800e84eeaa33ea3b9a0012f3897bb3cac411fc40300b2f5f48b41fe5e5e77bb10ee5dcc31ffb9d60e858ebe3d0350d376f
|
data/lib/aws-sdk-costexplorer.rb
CHANGED
@@ -318,12 +318,6 @@ module Aws::CostExplorer
|
|
318
318
|
|
319
319
|
# @!group API Operations
|
320
320
|
|
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
321
|
# Creates a new Cost Category with the requested name and rules.
|
328
322
|
#
|
329
323
|
# @option params [required, String] :name
|
@@ -333,16 +327,12 @@ module Aws::CostExplorer
|
|
333
327
|
# The rule schema version in this particular Cost Category.
|
334
328
|
#
|
335
329
|
# @option params [required, Array<Types::CostCategoryRule>] :rules
|
336
|
-
#
|
337
|
-
#
|
338
|
-
#
|
330
|
+
# The Cost Category rules used to categorize costs. For more
|
331
|
+
# information, see [CostCategoryRule][1].
|
332
|
+
#
|
339
333
|
#
|
340
|
-
# Root level `OR` is not supported. We recommend you create a separate
|
341
|
-
# rule instead.
|
342
334
|
#
|
343
|
-
#
|
344
|
-
# the line item, then the first rule to match is used to determine that
|
345
|
-
# Cost Category value.
|
335
|
+
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategoryRule.html
|
346
336
|
#
|
347
337
|
# @return [Types::CreateCostCategoryDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
348
338
|
#
|
@@ -372,12 +362,14 @@ module Aws::CostExplorer
|
|
372
362
|
# # recursive Expression
|
373
363
|
# },
|
374
364
|
# 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
|
365
|
+
# 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
366
|
# values: ["Value"],
|
367
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
377
368
|
# },
|
378
369
|
# tags: {
|
379
370
|
# key: "TagKey",
|
380
371
|
# values: ["Value"],
|
372
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
381
373
|
# },
|
382
374
|
# cost_categories: {
|
383
375
|
# key: "CostCategoryName",
|
@@ -402,12 +394,6 @@ module Aws::CostExplorer
|
|
402
394
|
req.send_request(options)
|
403
395
|
end
|
404
396
|
|
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
397
|
# Deletes a Cost Category. Expenses from this month going forward will
|
412
398
|
# no longer be categorized with this Cost Category.
|
413
399
|
#
|
@@ -439,12 +425,6 @@ module Aws::CostExplorer
|
|
439
425
|
req.send_request(options)
|
440
426
|
end
|
441
427
|
|
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
428
|
# Returns the name, ARN, rules, definition, and effective dates of a
|
449
429
|
# Cost Category that's defined in the account.
|
450
430
|
#
|
@@ -485,12 +465,16 @@ module Aws::CostExplorer
|
|
485
465
|
# resp.cost_category.rules[0].rule.and #=> Array
|
486
466
|
# resp.cost_category.rules[0].rule.and[0] #=> Types::Expression
|
487
467
|
# 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"
|
468
|
+
# 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
469
|
# resp.cost_category.rules[0].rule.dimensions.values #=> Array
|
490
470
|
# resp.cost_category.rules[0].rule.dimensions.values[0] #=> String
|
471
|
+
# resp.cost_category.rules[0].rule.dimensions.match_options #=> Array
|
472
|
+
# resp.cost_category.rules[0].rule.dimensions.match_options[0] #=> String, one of "EQUALS", "STARTS_WITH", "ENDS_WITH", "CONTAINS", "CASE_SENSITIVE", "CASE_INSENSITIVE"
|
491
473
|
# resp.cost_category.rules[0].rule.tags.key #=> String
|
492
474
|
# resp.cost_category.rules[0].rule.tags.values #=> Array
|
493
475
|
# resp.cost_category.rules[0].rule.tags.values[0] #=> String
|
476
|
+
# resp.cost_category.rules[0].rule.tags.match_options #=> Array
|
477
|
+
# resp.cost_category.rules[0].rule.tags.match_options[0] #=> String, one of "EQUALS", "STARTS_WITH", "ENDS_WITH", "CONTAINS", "CASE_SENSITIVE", "CASE_INSENSITIVE"
|
494
478
|
# resp.cost_category.rules[0].rule.cost_categories.key #=> String
|
495
479
|
# resp.cost_category.rules[0].rule.cost_categories.values #=> Array
|
496
480
|
# resp.cost_category.rules[0].rule.cost_categories.values[0] #=> String
|
@@ -610,12 +594,14 @@ module Aws::CostExplorer
|
|
610
594
|
# # recursive Expression
|
611
595
|
# },
|
612
596
|
# 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
|
597
|
+
# 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
598
|
# values: ["Value"],
|
599
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
615
600
|
# },
|
616
601
|
# tags: {
|
617
602
|
# key: "TagKey",
|
618
603
|
# values: ["Value"],
|
604
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
619
605
|
# },
|
620
606
|
# cost_categories: {
|
621
607
|
# key: "CostCategoryName",
|
@@ -680,7 +666,7 @@ module Aws::CostExplorer
|
|
680
666
|
#
|
681
667
|
#
|
682
668
|
#
|
683
|
-
# [1]:
|
669
|
+
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_GetDimensionValues.html
|
684
670
|
# [2]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/ce-access.html
|
685
671
|
#
|
686
672
|
# @option params [required, Types::DateInterval] :time_period
|
@@ -709,7 +695,7 @@ module Aws::CostExplorer
|
|
709
695
|
#
|
710
696
|
#
|
711
697
|
#
|
712
|
-
# [1]:
|
698
|
+
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html
|
713
699
|
#
|
714
700
|
# @option params [Array<String>] :metrics
|
715
701
|
# Which metrics are returned in the query. For more information about
|
@@ -734,7 +720,7 @@ module Aws::CostExplorer
|
|
734
720
|
#
|
735
721
|
#
|
736
722
|
#
|
737
|
-
# [1]:
|
723
|
+
# [1]: http://aws.amazon.com/premiumsupport/knowledge-center/blended-rates-intro/
|
738
724
|
#
|
739
725
|
# @option params [Array<Types::GroupDefinition>] :group_by
|
740
726
|
# You can group Amazon Web Services costs using up to two different
|
@@ -774,12 +760,14 @@ module Aws::CostExplorer
|
|
774
760
|
# # recursive Expression
|
775
761
|
# },
|
776
762
|
# 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
|
763
|
+
# 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
764
|
# values: ["Value"],
|
765
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
779
766
|
# },
|
780
767
|
# tags: {
|
781
768
|
# key: "TagKey",
|
782
769
|
# values: ["Value"],
|
770
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
783
771
|
# },
|
784
772
|
# cost_categories: {
|
785
773
|
# key: "CostCategoryName",
|
@@ -901,12 +889,14 @@ module Aws::CostExplorer
|
|
901
889
|
# # recursive Expression
|
902
890
|
# },
|
903
891
|
# 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
|
892
|
+
# 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
893
|
# values: ["Value"],
|
894
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
906
895
|
# },
|
907
896
|
# tags: {
|
908
897
|
# key: "TagKey",
|
909
898
|
# values: ["Value"],
|
899
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
910
900
|
# },
|
911
901
|
# cost_categories: {
|
912
902
|
# key: "CostCategoryName",
|
@@ -1082,7 +1072,7 @@ module Aws::CostExplorer
|
|
1082
1072
|
# start: "YearMonthDay", # required
|
1083
1073
|
# end: "YearMonthDay", # required
|
1084
1074
|
# },
|
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
|
1075
|
+
# 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
1076
|
# context: "COST_AND_USAGE", # accepts COST_AND_USAGE, RESERVATIONS, SAVINGS_PLANS
|
1087
1077
|
# next_page_token: "NextPageToken",
|
1088
1078
|
# })
|
@@ -1110,7 +1100,8 @@ module Aws::CostExplorer
|
|
1110
1100
|
# to see how much of your Amazon Elastic Compute Cloud, Amazon
|
1111
1101
|
# ElastiCache, Amazon Relational Database Service, or Amazon Redshift
|
1112
1102
|
# usage is covered by a reservation. An organization's master account
|
1113
|
-
# can see the coverage of the associated member accounts.
|
1103
|
+
# can see the coverage of the associated member accounts. This supports
|
1104
|
+
# dimensions, Cost Categories, and nested expressions. For any time
|
1114
1105
|
# period, you can filter data about reservation usage by the following
|
1115
1106
|
# dimensions:
|
1116
1107
|
#
|
@@ -1220,6 +1211,8 @@ module Aws::CostExplorer
|
|
1220
1211
|
# If you don't provide a `SERVICE` filter, Cost Explorer defaults to
|
1221
1212
|
# EC2.
|
1222
1213
|
#
|
1214
|
+
# Cost category is also supported.
|
1215
|
+
#
|
1223
1216
|
#
|
1224
1217
|
#
|
1225
1218
|
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html
|
@@ -1270,12 +1263,14 @@ module Aws::CostExplorer
|
|
1270
1263
|
# # recursive Expression
|
1271
1264
|
# },
|
1272
1265
|
# 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
|
1266
|
+
# 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
1267
|
# values: ["Value"],
|
1268
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
1275
1269
|
# },
|
1276
1270
|
# tags: {
|
1277
1271
|
# key: "TagKey",
|
1278
1272
|
# values: ["Value"],
|
1273
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
1279
1274
|
# },
|
1280
1275
|
# cost_categories: {
|
1281
1276
|
# key: "CostCategoryName",
|
@@ -1589,12 +1584,14 @@ module Aws::CostExplorer
|
|
1589
1584
|
# # recursive Expression
|
1590
1585
|
# },
|
1591
1586
|
# 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
|
1587
|
+
# 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
1588
|
# values: ["Value"],
|
1589
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
1594
1590
|
# },
|
1595
1591
|
# tags: {
|
1596
1592
|
# key: "TagKey",
|
1597
1593
|
# values: ["Value"],
|
1594
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
1598
1595
|
# },
|
1599
1596
|
# cost_categories: {
|
1600
1597
|
# key: "CostCategoryName",
|
@@ -1762,12 +1759,14 @@ module Aws::CostExplorer
|
|
1762
1759
|
# # recursive Expression
|
1763
1760
|
# },
|
1764
1761
|
# 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
|
1762
|
+
# 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
1763
|
# values: ["Value"],
|
1764
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
1767
1765
|
# },
|
1768
1766
|
# tags: {
|
1769
1767
|
# key: "TagKey",
|
1770
1768
|
# values: ["Value"],
|
1769
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
1771
1770
|
# },
|
1772
1771
|
# cost_categories: {
|
1773
1772
|
# key: "CostCategoryName",
|
@@ -1795,6 +1794,8 @@ module Aws::CostExplorer
|
|
1795
1794
|
# resp.rightsizing_recommendations[0].current_instance.tags[0].key #=> String
|
1796
1795
|
# resp.rightsizing_recommendations[0].current_instance.tags[0].values #=> Array
|
1797
1796
|
# resp.rightsizing_recommendations[0].current_instance.tags[0].values[0] #=> String
|
1797
|
+
# resp.rightsizing_recommendations[0].current_instance.tags[0].match_options #=> Array
|
1798
|
+
# 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
1799
|
# resp.rightsizing_recommendations[0].current_instance.resource_details.ec2_resource_details.hourly_on_demand_rate #=> String
|
1799
1800
|
# resp.rightsizing_recommendations[0].current_instance.resource_details.ec2_resource_details.instance_type #=> String
|
1800
1801
|
# resp.rightsizing_recommendations[0].current_instance.resource_details.ec2_resource_details.platform #=> String
|
@@ -1847,7 +1848,8 @@ module Aws::CostExplorer
|
|
1847
1848
|
# Retrieves the Savings Plans covered for your account. This enables you
|
1848
1849
|
# to see how much of your cost is covered by a Savings Plan. An
|
1849
1850
|
# organization’s master account can see the coverage of the associated
|
1850
|
-
# member accounts.
|
1851
|
+
# member accounts. This supports dimensions, Cost Categories, and nested
|
1852
|
+
# expressions. For any time period, you can filter data for Savings
|
1851
1853
|
# Plans usage with the following dimensions:
|
1852
1854
|
#
|
1853
1855
|
# * `LINKED_ACCOUNT`
|
@@ -1894,6 +1896,8 @@ module Aws::CostExplorer
|
|
1894
1896
|
# other operations, but only `AND` is supported among each dimension. If
|
1895
1897
|
# there are multiple values for a dimension, they are OR'd together.
|
1896
1898
|
#
|
1899
|
+
# Cost category is also supported.
|
1900
|
+
#
|
1897
1901
|
#
|
1898
1902
|
#
|
1899
1903
|
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html
|
@@ -1947,12 +1951,14 @@ module Aws::CostExplorer
|
|
1947
1951
|
# # recursive Expression
|
1948
1952
|
# },
|
1949
1953
|
# 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
|
1954
|
+
# 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
1955
|
# values: ["Value"],
|
1956
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
1952
1957
|
# },
|
1953
1958
|
# tags: {
|
1954
1959
|
# key: "TagKey",
|
1955
1960
|
# values: ["Value"],
|
1961
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
1956
1962
|
# },
|
1957
1963
|
# cost_categories: {
|
1958
1964
|
# key: "CostCategoryName",
|
@@ -2063,12 +2069,14 @@ module Aws::CostExplorer
|
|
2063
2069
|
# # recursive Expression
|
2064
2070
|
# },
|
2065
2071
|
# 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
|
2072
|
+
# 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
2073
|
# values: ["Value"],
|
2074
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
2068
2075
|
# },
|
2069
2076
|
# tags: {
|
2070
2077
|
# key: "TagKey",
|
2071
2078
|
# values: ["Value"],
|
2079
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
2072
2080
|
# },
|
2073
2081
|
# cost_categories: {
|
2074
2082
|
# key: "CostCategoryName",
|
@@ -2203,12 +2211,14 @@ module Aws::CostExplorer
|
|
2203
2211
|
# # recursive Expression
|
2204
2212
|
# },
|
2205
2213
|
# 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
|
2214
|
+
# 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
2215
|
# values: ["Value"],
|
2216
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
2208
2217
|
# },
|
2209
2218
|
# tags: {
|
2210
2219
|
# key: "TagKey",
|
2211
2220
|
# values: ["Value"],
|
2221
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
2212
2222
|
# },
|
2213
2223
|
# cost_categories: {
|
2214
2224
|
# key: "CostCategoryName",
|
@@ -2332,12 +2342,14 @@ module Aws::CostExplorer
|
|
2332
2342
|
# # recursive Expression
|
2333
2343
|
# },
|
2334
2344
|
# 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
|
2345
|
+
# 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
2346
|
# values: ["Value"],
|
2347
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
2337
2348
|
# },
|
2338
2349
|
# tags: {
|
2339
2350
|
# key: "TagKey",
|
2340
2351
|
# values: ["Value"],
|
2352
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
2341
2353
|
# },
|
2342
2354
|
# cost_categories: {
|
2343
2355
|
# key: "CostCategoryName",
|
@@ -2511,12 +2523,14 @@ module Aws::CostExplorer
|
|
2511
2523
|
# # recursive Expression
|
2512
2524
|
# },
|
2513
2525
|
# 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
|
2526
|
+
# 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
2527
|
# values: ["Value"],
|
2528
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
2516
2529
|
# },
|
2517
2530
|
# tags: {
|
2518
2531
|
# key: "TagKey",
|
2519
2532
|
# values: ["Value"],
|
2533
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
2520
2534
|
# },
|
2521
2535
|
# cost_categories: {
|
2522
2536
|
# key: "CostCategoryName",
|
@@ -2546,18 +2560,14 @@ module Aws::CostExplorer
|
|
2546
2560
|
req.send_request(options)
|
2547
2561
|
end
|
2548
2562
|
|
2549
|
-
#
|
2550
|
-
#
|
2551
|
-
#
|
2552
|
-
#
|
2553
|
-
#
|
2554
|
-
#
|
2555
|
-
#
|
2556
|
-
#
|
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.
|
2563
|
+
# Returns the name, ARN, `NumberOfRules` and effective dates of all Cost
|
2564
|
+
# Categories defined in the account. You have the option to use
|
2565
|
+
# `EffectiveOn` to return a list of Cost Categories that were active on
|
2566
|
+
# a specific date. If there is no `EffectiveOn` specified, you’ll see
|
2567
|
+
# Cost Categories that are effective on the current date. If Cost
|
2568
|
+
# Category is still effective, `EffectiveEnd` is omitted in the
|
2569
|
+
# response. `ListCostCategoryDefinitions` supports pagination. The
|
2570
|
+
# request can have a `MaxResults` range up to 100.
|
2561
2571
|
#
|
2562
2572
|
# @option params [String] :effective_on
|
2563
2573
|
# The date when the Cost Category was effective.
|
@@ -2567,19 +2577,22 @@ module Aws::CostExplorer
|
|
2567
2577
|
# provides the token when the response from a previous call has more
|
2568
2578
|
# results than the maximum page size.
|
2569
2579
|
#
|
2570
|
-
#
|
2571
|
-
#
|
2580
|
+
# @option params [Integer] :max_results
|
2581
|
+
# The number of entries a paginated response contains.
|
2572
2582
|
#
|
2573
2583
|
# @return [Types::ListCostCategoryDefinitionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2574
2584
|
#
|
2575
2585
|
# * {Types::ListCostCategoryDefinitionsResponse#cost_category_references #cost_category_references} => Array<Types::CostCategoryReference>
|
2576
2586
|
# * {Types::ListCostCategoryDefinitionsResponse#next_token #next_token} => String
|
2577
2587
|
#
|
2588
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2589
|
+
#
|
2578
2590
|
# @example Request syntax with placeholder values
|
2579
2591
|
#
|
2580
2592
|
# resp = client.list_cost_category_definitions({
|
2581
2593
|
# effective_on: "ZonedDateTime",
|
2582
2594
|
# next_token: "NextPageToken",
|
2595
|
+
# max_results: 1,
|
2583
2596
|
# })
|
2584
2597
|
#
|
2585
2598
|
# @example Response structure
|
@@ -2589,6 +2602,7 @@ module Aws::CostExplorer
|
|
2589
2602
|
# resp.cost_category_references[0].name #=> String
|
2590
2603
|
# resp.cost_category_references[0].effective_start #=> String
|
2591
2604
|
# resp.cost_category_references[0].effective_end #=> String
|
2605
|
+
# resp.cost_category_references[0].number_of_rules #=> Integer
|
2592
2606
|
# resp.next_token #=> String
|
2593
2607
|
#
|
2594
2608
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ListCostCategoryDefinitions AWS API Documentation
|
@@ -2600,12 +2614,6 @@ module Aws::CostExplorer
|
|
2600
2614
|
req.send_request(options)
|
2601
2615
|
end
|
2602
2616
|
|
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
2617
|
# Updates an existing Cost Category. Changes made to the Cost Category
|
2610
2618
|
# rules will be used to categorize the current month’s expenses and
|
2611
2619
|
# future expenses. This won’t change categorization for the previous
|
@@ -2618,16 +2626,12 @@ module Aws::CostExplorer
|
|
2618
2626
|
# The rule schema version in this particular Cost Category.
|
2619
2627
|
#
|
2620
2628
|
# @option params [required, Array<Types::CostCategoryRule>] :rules
|
2621
|
-
# `
|
2622
|
-
#
|
2623
|
-
#
|
2629
|
+
# The `Expression` object used to categorize costs. For more
|
2630
|
+
# information, see [CostCategoryRule ][1].
|
2631
|
+
#
|
2624
2632
|
#
|
2625
|
-
# Root level `OR` is not supported. We recommend you create a separate
|
2626
|
-
# rule instead.
|
2627
2633
|
#
|
2628
|
-
#
|
2629
|
-
# the line item, then the first rule to match is used to determine that
|
2630
|
-
# Cost Category value.
|
2634
|
+
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategoryRule.html
|
2631
2635
|
#
|
2632
2636
|
# @return [Types::UpdateCostCategoryDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2633
2637
|
#
|
@@ -2657,12 +2661,14 @@ module Aws::CostExplorer
|
|
2657
2661
|
# # recursive Expression
|
2658
2662
|
# },
|
2659
2663
|
# 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
|
2664
|
+
# 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
2665
|
# values: ["Value"],
|
2666
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
2662
2667
|
# },
|
2663
2668
|
# tags: {
|
2664
2669
|
# key: "TagKey",
|
2665
2670
|
# values: ["Value"],
|
2671
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
2666
2672
|
# },
|
2667
2673
|
# cost_categories: {
|
2668
2674
|
# key: "CostCategoryName",
|
@@ -2700,7 +2706,7 @@ module Aws::CostExplorer
|
|
2700
2706
|
params: params,
|
2701
2707
|
config: config)
|
2702
2708
|
context[:gem_name] = 'aws-sdk-costexplorer'
|
2703
|
-
context[:gem_version] = '1.
|
2709
|
+
context[:gem_version] = '1.39.0'
|
2704
2710
|
Seahorse::Client::Request.new(handlers, context)
|
2705
2711
|
end
|
2706
2712
|
|
@@ -21,6 +21,7 @@ module Aws::CostExplorer
|
|
21
21
|
BillExpirationException = Shapes::StructureShape.new(name: 'BillExpirationException')
|
22
22
|
Context = Shapes::StringShape.new(name: 'Context')
|
23
23
|
CostCategory = Shapes::StructureShape.new(name: 'CostCategory')
|
24
|
+
CostCategoryMaxResults = Shapes::IntegerShape.new(name: 'CostCategoryMaxResults')
|
24
25
|
CostCategoryName = Shapes::StringShape.new(name: 'CostCategoryName')
|
25
26
|
CostCategoryReference = Shapes::StructureShape.new(name: 'CostCategoryReference')
|
26
27
|
CostCategoryReferencesList = Shapes::ListShape.new(name: 'CostCategoryReferencesList')
|
@@ -108,6 +109,8 @@ module Aws::CostExplorer
|
|
108
109
|
ListCostCategoryDefinitionsRequest = Shapes::StructureShape.new(name: 'ListCostCategoryDefinitionsRequest')
|
109
110
|
ListCostCategoryDefinitionsResponse = Shapes::StructureShape.new(name: 'ListCostCategoryDefinitionsResponse')
|
110
111
|
LookbackPeriodInDays = Shapes::StringShape.new(name: 'LookbackPeriodInDays')
|
112
|
+
MatchOption = Shapes::StringShape.new(name: 'MatchOption')
|
113
|
+
MatchOptions = Shapes::ListShape.new(name: 'MatchOptions')
|
111
114
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
112
115
|
Metric = Shapes::StringShape.new(name: 'Metric')
|
113
116
|
MetricAmount = Shapes::StringShape.new(name: 'MetricAmount')
|
@@ -226,6 +229,7 @@ module Aws::CostExplorer
|
|
226
229
|
CostCategoryReference.add_member(:name, Shapes::ShapeRef.new(shape: CostCategoryName, location_name: "Name"))
|
227
230
|
CostCategoryReference.add_member(:effective_start, Shapes::ShapeRef.new(shape: ZonedDateTime, location_name: "EffectiveStart"))
|
228
231
|
CostCategoryReference.add_member(:effective_end, Shapes::ShapeRef.new(shape: ZonedDateTime, location_name: "EffectiveEnd"))
|
232
|
+
CostCategoryReference.add_member(:number_of_rules, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "NumberOfRules"))
|
229
233
|
CostCategoryReference.struct_class = Types::CostCategoryReference
|
230
234
|
|
231
235
|
CostCategoryReferencesList.member = Shapes::ShapeRef.new(shape: CostCategoryReference)
|
@@ -311,6 +315,7 @@ module Aws::CostExplorer
|
|
311
315
|
|
312
316
|
DimensionValues.add_member(:key, Shapes::ShapeRef.new(shape: Dimension, location_name: "Key"))
|
313
317
|
DimensionValues.add_member(:values, Shapes::ShapeRef.new(shape: Values, location_name: "Values"))
|
318
|
+
DimensionValues.add_member(:match_options, Shapes::ShapeRef.new(shape: MatchOptions, location_name: "MatchOptions"))
|
314
319
|
DimensionValues.struct_class = Types::DimensionValues
|
315
320
|
|
316
321
|
DimensionValuesWithAttributes.add_member(:value, Shapes::ShapeRef.new(shape: Value, location_name: "Value"))
|
@@ -585,12 +590,15 @@ module Aws::CostExplorer
|
|
585
590
|
|
586
591
|
ListCostCategoryDefinitionsRequest.add_member(:effective_on, Shapes::ShapeRef.new(shape: ZonedDateTime, location_name: "EffectiveOn"))
|
587
592
|
ListCostCategoryDefinitionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextToken"))
|
593
|
+
ListCostCategoryDefinitionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: CostCategoryMaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
|
588
594
|
ListCostCategoryDefinitionsRequest.struct_class = Types::ListCostCategoryDefinitionsRequest
|
589
595
|
|
590
596
|
ListCostCategoryDefinitionsResponse.add_member(:cost_category_references, Shapes::ShapeRef.new(shape: CostCategoryReferencesList, location_name: "CostCategoryReferences"))
|
591
597
|
ListCostCategoryDefinitionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextToken"))
|
592
598
|
ListCostCategoryDefinitionsResponse.struct_class = Types::ListCostCategoryDefinitionsResponse
|
593
599
|
|
600
|
+
MatchOptions.member = Shapes::ShapeRef.new(shape: MatchOption)
|
601
|
+
|
594
602
|
MetricNames.member = Shapes::ShapeRef.new(shape: MetricName)
|
595
603
|
|
596
604
|
MetricValue.add_member(:amount, Shapes::ShapeRef.new(shape: MetricAmount, location_name: "Amount"))
|
@@ -845,6 +853,7 @@ module Aws::CostExplorer
|
|
845
853
|
|
846
854
|
TagValues.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, location_name: "Key"))
|
847
855
|
TagValues.add_member(:values, Shapes::ShapeRef.new(shape: Values, location_name: "Values"))
|
856
|
+
TagValues.add_member(:match_options, Shapes::ShapeRef.new(shape: MatchOptions, location_name: "MatchOptions"))
|
848
857
|
TagValues.struct_class = Types::TagValues
|
849
858
|
|
850
859
|
TagValuesList.member = Shapes::ShapeRef.new(shape: TagValues)
|
@@ -1111,6 +1120,12 @@ module Aws::CostExplorer
|
|
1111
1120
|
o.input = Shapes::ShapeRef.new(shape: ListCostCategoryDefinitionsRequest)
|
1112
1121
|
o.output = Shapes::ShapeRef.new(shape: ListCostCategoryDefinitionsResponse)
|
1113
1122
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1123
|
+
o[:pager] = Aws::Pager.new(
|
1124
|
+
limit_key: "max_results",
|
1125
|
+
tokens: {
|
1126
|
+
"next_token" => "next_token"
|
1127
|
+
}
|
1128
|
+
)
|
1114
1129
|
end)
|
1115
1130
|
|
1116
1131
|
api.add_operation(:update_cost_category_definition, Seahorse::Model::Operation.new.tap do |o|
|
@@ -20,12 +20,6 @@ module Aws::CostExplorer
|
|
20
20
|
include Aws::Structure
|
21
21
|
end
|
22
22
|
|
23
|
-
# <i> <b>Cost Category is in public beta for AWS Billing and Cost
|
24
|
-
# Management and is subject to change. Your use of Cost Categories is
|
25
|
-
# subject to the Beta Service Participation terms of the <a
|
26
|
-
# href="http://aws.amazon.com/service-terms/">AWS Service Terms</a>
|
27
|
-
# (Section 1.10).</b> </i>
|
28
|
-
#
|
29
23
|
# The structure of Cost Categories. This includes detailed metadata and
|
30
24
|
# the set of rules for the `CostCategory` object.
|
31
25
|
#
|
@@ -67,12 +61,6 @@ module Aws::CostExplorer
|
|
67
61
|
include Aws::Structure
|
68
62
|
end
|
69
63
|
|
70
|
-
# <i> <b>Cost Category is in public beta for AWS Billing and Cost
|
71
|
-
# Management and is subject to change. Your use of Cost Categories is
|
72
|
-
# subject to the Beta Service Participation terms of the <a
|
73
|
-
# href="http://aws.amazon.com/service-terms/">AWS Service Terms</a>
|
74
|
-
# (Section 1.10).</b> </i>
|
75
|
-
#
|
76
64
|
# A reference to a Cost Category containing only enough information to
|
77
65
|
# identify the Cost Category.
|
78
66
|
#
|
@@ -80,7 +68,7 @@ module Aws::CostExplorer
|
|
80
68
|
# information using `DescribeCostCategory`.
|
81
69
|
#
|
82
70
|
# @!attribute [rw] cost_category_arn
|
83
|
-
# The unique identifier for your Cost Category
|
71
|
+
# The unique identifier for your Cost Category.
|
84
72
|
# @return [String]
|
85
73
|
#
|
86
74
|
# @!attribute [rw] name
|
@@ -95,22 +83,21 @@ module Aws::CostExplorer
|
|
95
83
|
# The Cost Category's effective end date.
|
96
84
|
# @return [String]
|
97
85
|
#
|
86
|
+
# @!attribute [rw] number_of_rules
|
87
|
+
# The number of rules associated with a specific Cost Category.
|
88
|
+
# @return [Integer]
|
89
|
+
#
|
98
90
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CostCategoryReference AWS API Documentation
|
99
91
|
#
|
100
92
|
class CostCategoryReference < Struct.new(
|
101
93
|
:cost_category_arn,
|
102
94
|
:name,
|
103
95
|
:effective_start,
|
104
|
-
:effective_end
|
96
|
+
:effective_end,
|
97
|
+
:number_of_rules)
|
105
98
|
include Aws::Structure
|
106
99
|
end
|
107
100
|
|
108
|
-
# <i> <b>Cost Category is in public beta for AWS Billing and Cost
|
109
|
-
# Management and is subject to change. Your use of Cost Categories is
|
110
|
-
# subject to the Beta Service Participation terms of the <a
|
111
|
-
# href="http://aws.amazon.com/service-terms/">AWS Service Terms</a>
|
112
|
-
# (Section 1.10).</b> </i>
|
113
|
-
#
|
114
101
|
# Rules are processed in order. If there are multiple rules that match
|
115
102
|
# the line item, then the first rule to match is used to determine that
|
116
103
|
# Cost Category value.
|
@@ -135,12 +122,14 @@ module Aws::CostExplorer
|
|
135
122
|
# # recursive Expression
|
136
123
|
# },
|
137
124
|
# dimensions: {
|
138
|
-
# 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
|
125
|
+
# 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
|
139
126
|
# values: ["Value"],
|
127
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
140
128
|
# },
|
141
129
|
# tags: {
|
142
130
|
# key: "TagKey",
|
143
131
|
# values: ["Value"],
|
132
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
144
133
|
# },
|
145
134
|
# cost_categories: {
|
146
135
|
# key: "CostCategoryName",
|
@@ -157,14 +146,22 @@ module Aws::CostExplorer
|
|
157
146
|
# @!attribute [rw] rule
|
158
147
|
# An [Expression][1] object used to categorize costs. This supports
|
159
148
|
# dimensions, Tags, and nested expressions. Currently the only
|
160
|
-
# dimensions supported
|
149
|
+
# dimensions supported are `LINKED_ACCOUNT`, `SERVICE_CODE`,
|
150
|
+
# `RECORD_TYPE`, and `LINKED_ACCOUNT_NAME`.
|
161
151
|
#
|
162
|
-
# Root level `OR` is not supported. We recommend you create a
|
163
|
-
# rule instead.
|
152
|
+
# Root level `OR` is not supported. We recommend that you create a
|
153
|
+
# separate rule instead.
|
154
|
+
#
|
155
|
+
# `RECORD_TYPE` is a dimension used for Cost Explorer APIs, and is
|
156
|
+
# also supported for Cost Category expressions. This dimension uses
|
157
|
+
# different terms, depending on whether you're using the console or
|
158
|
+
# API/JSON editor. For a detailed comparison, see [Term
|
159
|
+
# Comparisons][2] in the *AWS Billing and Cost Management User Guide*.
|
164
160
|
#
|
165
161
|
#
|
166
162
|
#
|
167
163
|
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html
|
164
|
+
# [2]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-cost-categories.html#cost-categories-terms
|
168
165
|
# @return [Types::Expression]
|
169
166
|
#
|
170
167
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CostCategoryRule AWS API Documentation
|
@@ -175,13 +172,7 @@ module Aws::CostExplorer
|
|
175
172
|
include Aws::Structure
|
176
173
|
end
|
177
174
|
|
178
|
-
#
|
179
|
-
# Management and is subject to change. Your use of Cost Categories is
|
180
|
-
# subject to the Beta Service Participation terms of the <a
|
181
|
-
# href="http://aws.amazon.com/service-terms/">AWS Service Terms</a>
|
182
|
-
# (Section 1.10).</b> </i>
|
183
|
-
#
|
184
|
-
# The values that are available for Cost Categories.
|
175
|
+
# The Cost Categories values used for filtering the costs.
|
185
176
|
#
|
186
177
|
# @note When making an API call, you may pass CostCategoryValues
|
187
178
|
# data as a hash:
|
@@ -254,10 +245,10 @@ module Aws::CostExplorer
|
|
254
245
|
include Aws::Structure
|
255
246
|
end
|
256
247
|
|
257
|
-
# How much it
|
248
|
+
# How much it costs to run an instance.
|
258
249
|
#
|
259
250
|
# @!attribute [rw] on_demand_cost
|
260
|
-
# How much an On-Demand
|
251
|
+
# How much an On-Demand Instance costs.
|
261
252
|
# @return [String]
|
262
253
|
#
|
263
254
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CoverageCost AWS API Documentation
|
@@ -366,12 +357,14 @@ module Aws::CostExplorer
|
|
366
357
|
# # recursive Expression
|
367
358
|
# },
|
368
359
|
# dimensions: {
|
369
|
-
# 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
|
360
|
+
# 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
|
370
361
|
# values: ["Value"],
|
362
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
371
363
|
# },
|
372
364
|
# tags: {
|
373
365
|
# key: "TagKey",
|
374
366
|
# values: ["Value"],
|
367
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
375
368
|
# },
|
376
369
|
# cost_categories: {
|
377
370
|
# key: "CostCategoryName",
|
@@ -391,16 +384,12 @@ module Aws::CostExplorer
|
|
391
384
|
# @return [String]
|
392
385
|
#
|
393
386
|
# @!attribute [rw] rules
|
394
|
-
#
|
395
|
-
#
|
396
|
-
# `LINKED_ACCOUNT`.
|
387
|
+
# The Cost Category rules used to categorize costs. For more
|
388
|
+
# information, see [CostCategoryRule][1].
|
397
389
|
#
|
398
|
-
# Root level `OR` is not supported. We recommend you create a separate
|
399
|
-
# rule instead.
|
400
390
|
#
|
401
|
-
#
|
402
|
-
#
|
403
|
-
# that Cost Category value.
|
391
|
+
#
|
392
|
+
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategoryRule.html
|
404
393
|
# @return [Array<Types::CostCategoryRule>]
|
405
394
|
#
|
406
395
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CreateCostCategoryDefinitionRequest AWS API Documentation
|
@@ -596,12 +585,6 @@ module Aws::CostExplorer
|
|
596
585
|
end
|
597
586
|
|
598
587
|
# @!attribute [rw] cost_category
|
599
|
-
# <i> <b>Cost Category is in public beta for AWS Billing and Cost
|
600
|
-
# Management and is subject to change. Your use of Cost Categories is
|
601
|
-
# subject to the Beta Service Participation terms of the <a
|
602
|
-
# href="http://aws.amazon.com/service-terms/">AWS Service Terms</a>
|
603
|
-
# (Section 1.10).</b> </i>
|
604
|
-
#
|
605
588
|
# The structure of Cost Categories. This includes detailed metadata
|
606
589
|
# and the set of rules for the `CostCategory` object.
|
607
590
|
# @return [Types::CostCategory]
|
@@ -620,8 +603,9 @@ module Aws::CostExplorer
|
|
620
603
|
# data as a hash:
|
621
604
|
#
|
622
605
|
# {
|
623
|
-
# 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
|
606
|
+
# 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
|
624
607
|
# values: ["Value"],
|
608
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
625
609
|
# }
|
626
610
|
#
|
627
611
|
# @!attribute [rw] key
|
@@ -633,18 +617,21 @@ module Aws::CostExplorer
|
|
633
617
|
# @!attribute [rw] values
|
634
618
|
# The metadata values that you can use to filter and group your
|
635
619
|
# results. You can use `GetDimensionValues` to find specific values.
|
620
|
+
# @return [Array<String>]
|
636
621
|
#
|
637
|
-
#
|
638
|
-
#
|
639
|
-
#
|
640
|
-
#
|
622
|
+
# @!attribute [rw] match_options
|
623
|
+
# The match options that you can use to filter your results.
|
624
|
+
# `MatchOptions` is only applicable for actions related to Cost
|
625
|
+
# Category. The default values for `MatchOptions` is `EQUALS` and
|
626
|
+
# `CASE_SENSITIVE`.
|
641
627
|
# @return [Array<String>]
|
642
628
|
#
|
643
629
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/DimensionValues AWS API Documentation
|
644
630
|
#
|
645
631
|
class DimensionValues < Struct.new(
|
646
632
|
:key,
|
647
|
-
:values
|
633
|
+
:values,
|
634
|
+
:match_options)
|
648
635
|
include Aws::Structure
|
649
636
|
end
|
650
637
|
|
@@ -955,12 +942,14 @@ module Aws::CostExplorer
|
|
955
942
|
# # recursive Expression
|
956
943
|
# },
|
957
944
|
# dimensions: {
|
958
|
-
# 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
|
945
|
+
# 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
|
959
946
|
# values: ["Value"],
|
947
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
960
948
|
# },
|
961
949
|
# tags: {
|
962
950
|
# key: "TagKey",
|
963
951
|
# values: ["Value"],
|
952
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
964
953
|
# },
|
965
954
|
# cost_categories: {
|
966
955
|
# key: "CostCategoryName",
|
@@ -980,12 +969,14 @@ module Aws::CostExplorer
|
|
980
969
|
# # recursive Expression
|
981
970
|
# },
|
982
971
|
# dimensions: {
|
983
|
-
# 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
|
972
|
+
# 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
|
984
973
|
# values: ["Value"],
|
974
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
985
975
|
# },
|
986
976
|
# tags: {
|
987
977
|
# key: "TagKey",
|
988
978
|
# values: ["Value"],
|
979
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
989
980
|
# },
|
990
981
|
# cost_categories: {
|
991
982
|
# key: "CostCategoryName",
|
@@ -1008,12 +999,14 @@ module Aws::CostExplorer
|
|
1008
999
|
# # recursive Expression
|
1009
1000
|
# },
|
1010
1001
|
# dimensions: {
|
1011
|
-
# 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
|
1002
|
+
# 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
|
1012
1003
|
# values: ["Value"],
|
1004
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
1013
1005
|
# },
|
1014
1006
|
# tags: {
|
1015
1007
|
# key: "TagKey",
|
1016
1008
|
# values: ["Value"],
|
1009
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
1017
1010
|
# },
|
1018
1011
|
# cost_categories: {
|
1019
1012
|
# key: "CostCategoryName",
|
@@ -1021,12 +1014,14 @@ module Aws::CostExplorer
|
|
1021
1014
|
# },
|
1022
1015
|
# },
|
1023
1016
|
# dimensions: {
|
1024
|
-
# 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
|
1017
|
+
# 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
|
1025
1018
|
# values: ["Value"],
|
1019
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
1026
1020
|
# },
|
1027
1021
|
# tags: {
|
1028
1022
|
# key: "TagKey",
|
1029
1023
|
# values: ["Value"],
|
1024
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
1030
1025
|
# },
|
1031
1026
|
# cost_categories: {
|
1032
1027
|
# key: "CostCategoryName",
|
@@ -1055,13 +1050,7 @@ module Aws::CostExplorer
|
|
1055
1050
|
# @return [Types::TagValues]
|
1056
1051
|
#
|
1057
1052
|
# @!attribute [rw] cost_categories
|
1058
|
-
#
|
1059
|
-
# Management and is subject to change. Your use of Cost Categories is
|
1060
|
-
# subject to the Beta Service Participation terms of the <a
|
1061
|
-
# href="http://aws.amazon.com/service-terms/">AWS Service Terms</a>
|
1062
|
-
# (Section 1.10).</b> </i>
|
1063
|
-
#
|
1064
|
-
# The specific `CostCategory` used for `Expression`.
|
1053
|
+
# The filter based on `CostCategory` values.
|
1065
1054
|
# @return [Types::CostCategoryValues]
|
1066
1055
|
#
|
1067
1056
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/Expression AWS API Documentation
|
@@ -1128,12 +1117,14 @@ module Aws::CostExplorer
|
|
1128
1117
|
# # recursive Expression
|
1129
1118
|
# },
|
1130
1119
|
# dimensions: {
|
1131
|
-
# 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
|
1120
|
+
# 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
|
1132
1121
|
# values: ["Value"],
|
1122
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
1133
1123
|
# },
|
1134
1124
|
# tags: {
|
1135
1125
|
# key: "TagKey",
|
1136
1126
|
# values: ["Value"],
|
1127
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
1137
1128
|
# },
|
1138
1129
|
# cost_categories: {
|
1139
1130
|
# key: "CostCategoryName",
|
@@ -1280,12 +1271,14 @@ module Aws::CostExplorer
|
|
1280
1271
|
# # recursive Expression
|
1281
1272
|
# },
|
1282
1273
|
# dimensions: {
|
1283
|
-
# 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
|
1274
|
+
# 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
|
1284
1275
|
# values: ["Value"],
|
1276
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
1285
1277
|
# },
|
1286
1278
|
# tags: {
|
1287
1279
|
# key: "TagKey",
|
1288
1280
|
# values: ["Value"],
|
1281
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
1289
1282
|
# },
|
1290
1283
|
# cost_categories: {
|
1291
1284
|
# key: "CostCategoryName",
|
@@ -1330,7 +1323,7 @@ module Aws::CostExplorer
|
|
1330
1323
|
#
|
1331
1324
|
#
|
1332
1325
|
#
|
1333
|
-
# [1]:
|
1326
|
+
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html
|
1334
1327
|
# @return [Types::Expression]
|
1335
1328
|
#
|
1336
1329
|
# @!attribute [rw] metrics
|
@@ -1356,7 +1349,7 @@ module Aws::CostExplorer
|
|
1356
1349
|
#
|
1357
1350
|
#
|
1358
1351
|
#
|
1359
|
-
# [1]:
|
1352
|
+
# [1]: http://aws.amazon.com/premiumsupport/knowledge-center/blended-rates-intro/
|
1360
1353
|
# @return [Array<String>]
|
1361
1354
|
#
|
1362
1355
|
# @!attribute [rw] group_by
|
@@ -1431,12 +1424,14 @@ module Aws::CostExplorer
|
|
1431
1424
|
# # recursive Expression
|
1432
1425
|
# },
|
1433
1426
|
# dimensions: {
|
1434
|
-
# 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
|
1427
|
+
# 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
|
1435
1428
|
# values: ["Value"],
|
1429
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
1436
1430
|
# },
|
1437
1431
|
# tags: {
|
1438
1432
|
# key: "TagKey",
|
1439
1433
|
# values: ["Value"],
|
1434
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
1440
1435
|
# },
|
1441
1436
|
# cost_categories: {
|
1442
1437
|
# key: "CostCategoryName",
|
@@ -1533,7 +1528,7 @@ module Aws::CostExplorer
|
|
1533
1528
|
# start: "YearMonthDay", # required
|
1534
1529
|
# end: "YearMonthDay", # required
|
1535
1530
|
# },
|
1536
|
-
# 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
|
1531
|
+
# 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
|
1537
1532
|
# context: "COST_AND_USAGE", # accepts COST_AND_USAGE, RESERVATIONS, SAVINGS_PLANS
|
1538
1533
|
# next_page_token: "NextPageToken",
|
1539
1534
|
# }
|
@@ -1844,12 +1839,14 @@ module Aws::CostExplorer
|
|
1844
1839
|
# # recursive Expression
|
1845
1840
|
# },
|
1846
1841
|
# dimensions: {
|
1847
|
-
# 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
|
1842
|
+
# 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
|
1848
1843
|
# values: ["Value"],
|
1844
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
1849
1845
|
# },
|
1850
1846
|
# tags: {
|
1851
1847
|
# key: "TagKey",
|
1852
1848
|
# values: ["Value"],
|
1849
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
1853
1850
|
# },
|
1854
1851
|
# cost_categories: {
|
1855
1852
|
# key: "CostCategoryName",
|
@@ -1942,6 +1939,8 @@ module Aws::CostExplorer
|
|
1942
1939
|
# If you don't provide a `SERVICE` filter, Cost Explorer defaults to
|
1943
1940
|
# EC2.
|
1944
1941
|
#
|
1942
|
+
# Cost category is also supported.
|
1943
|
+
#
|
1945
1944
|
#
|
1946
1945
|
#
|
1947
1946
|
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html
|
@@ -2126,12 +2125,14 @@ module Aws::CostExplorer
|
|
2126
2125
|
# # recursive Expression
|
2127
2126
|
# },
|
2128
2127
|
# dimensions: {
|
2129
|
-
# 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
|
2128
|
+
# 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
|
2130
2129
|
# values: ["Value"],
|
2130
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
2131
2131
|
# },
|
2132
2132
|
# tags: {
|
2133
2133
|
# key: "TagKey",
|
2134
2134
|
# values: ["Value"],
|
2135
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
2135
2136
|
# },
|
2136
2137
|
# cost_categories: {
|
2137
2138
|
# key: "CostCategoryName",
|
@@ -2258,12 +2259,14 @@ module Aws::CostExplorer
|
|
2258
2259
|
# # recursive Expression
|
2259
2260
|
# },
|
2260
2261
|
# dimensions: {
|
2261
|
-
# 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
|
2262
|
+
# 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
|
2262
2263
|
# values: ["Value"],
|
2264
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
2263
2265
|
# },
|
2264
2266
|
# tags: {
|
2265
2267
|
# key: "TagKey",
|
2266
2268
|
# values: ["Value"],
|
2269
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
2267
2270
|
# },
|
2268
2271
|
# cost_categories: {
|
2269
2272
|
# key: "CostCategoryName",
|
@@ -2405,12 +2408,14 @@ module Aws::CostExplorer
|
|
2405
2408
|
# # recursive Expression
|
2406
2409
|
# },
|
2407
2410
|
# dimensions: {
|
2408
|
-
# 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
|
2411
|
+
# 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
|
2409
2412
|
# values: ["Value"],
|
2413
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
2410
2414
|
# },
|
2411
2415
|
# tags: {
|
2412
2416
|
# key: "TagKey",
|
2413
2417
|
# values: ["Value"],
|
2418
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
2414
2419
|
# },
|
2415
2420
|
# cost_categories: {
|
2416
2421
|
# key: "CostCategoryName",
|
@@ -2459,6 +2464,8 @@ module Aws::CostExplorer
|
|
2459
2464
|
# dimension. If there are multiple values for a dimension, they are
|
2460
2465
|
# OR'd together.
|
2461
2466
|
#
|
2467
|
+
# Cost category is also supported.
|
2468
|
+
#
|
2462
2469
|
#
|
2463
2470
|
#
|
2464
2471
|
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_Expression.html
|
@@ -2537,12 +2544,14 @@ module Aws::CostExplorer
|
|
2537
2544
|
# # recursive Expression
|
2538
2545
|
# },
|
2539
2546
|
# dimensions: {
|
2540
|
-
# 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
|
2547
|
+
# 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
|
2541
2548
|
# values: ["Value"],
|
2549
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
2542
2550
|
# },
|
2543
2551
|
# tags: {
|
2544
2552
|
# key: "TagKey",
|
2545
2553
|
# values: ["Value"],
|
2554
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
2546
2555
|
# },
|
2547
2556
|
# cost_categories: {
|
2548
2557
|
# key: "CostCategoryName",
|
@@ -2663,12 +2672,14 @@ module Aws::CostExplorer
|
|
2663
2672
|
# # recursive Expression
|
2664
2673
|
# },
|
2665
2674
|
# dimensions: {
|
2666
|
-
# 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
|
2675
|
+
# 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
|
2667
2676
|
# values: ["Value"],
|
2677
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
2668
2678
|
# },
|
2669
2679
|
# tags: {
|
2670
2680
|
# key: "TagKey",
|
2671
2681
|
# values: ["Value"],
|
2682
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
2672
2683
|
# },
|
2673
2684
|
# cost_categories: {
|
2674
2685
|
# key: "CostCategoryName",
|
@@ -2783,12 +2794,14 @@ module Aws::CostExplorer
|
|
2783
2794
|
# # recursive Expression
|
2784
2795
|
# },
|
2785
2796
|
# dimensions: {
|
2786
|
-
# 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
|
2797
|
+
# 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
|
2787
2798
|
# values: ["Value"],
|
2799
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
2788
2800
|
# },
|
2789
2801
|
# tags: {
|
2790
2802
|
# key: "TagKey",
|
2791
2803
|
# values: ["Value"],
|
2804
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
2792
2805
|
# },
|
2793
2806
|
# cost_categories: {
|
2794
2807
|
# key: "CostCategoryName",
|
@@ -2962,12 +2975,14 @@ module Aws::CostExplorer
|
|
2962
2975
|
# # recursive Expression
|
2963
2976
|
# },
|
2964
2977
|
# dimensions: {
|
2965
|
-
# 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
|
2978
|
+
# 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
|
2966
2979
|
# values: ["Value"],
|
2980
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
2967
2981
|
# },
|
2968
2982
|
# tags: {
|
2969
2983
|
# key: "TagKey",
|
2970
2984
|
# values: ["Value"],
|
2985
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
2971
2986
|
# },
|
2972
2987
|
# cost_categories: {
|
2973
2988
|
# key: "CostCategoryName",
|
@@ -3155,6 +3170,7 @@ module Aws::CostExplorer
|
|
3155
3170
|
# {
|
3156
3171
|
# effective_on: "ZonedDateTime",
|
3157
3172
|
# next_token: "NextPageToken",
|
3173
|
+
# max_results: 1,
|
3158
3174
|
# }
|
3159
3175
|
#
|
3160
3176
|
# @!attribute [rw] effective_on
|
@@ -3165,16 +3181,18 @@ module Aws::CostExplorer
|
|
3165
3181
|
# The token to retrieve the next set of results. Amazon Web Services
|
3166
3182
|
# provides the token when the response from a previous call has more
|
3167
3183
|
# results than the maximum page size.
|
3168
|
-
#
|
3169
|
-
# You can use this information to retrieve the full Cost Category
|
3170
|
-
# information using `DescribeCostCategory`.
|
3171
3184
|
# @return [String]
|
3172
3185
|
#
|
3186
|
+
# @!attribute [rw] max_results
|
3187
|
+
# The number of entries a paginated response contains.
|
3188
|
+
# @return [Integer]
|
3189
|
+
#
|
3173
3190
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ListCostCategoryDefinitionsRequest AWS API Documentation
|
3174
3191
|
#
|
3175
3192
|
class ListCostCategoryDefinitionsRequest < Struct.new(
|
3176
3193
|
:effective_on,
|
3177
|
-
:next_token
|
3194
|
+
:next_token,
|
3195
|
+
:max_results)
|
3178
3196
|
include Aws::Structure
|
3179
3197
|
end
|
3180
3198
|
|
@@ -3613,7 +3631,7 @@ module Aws::CostExplorer
|
|
3613
3631
|
include Aws::Structure
|
3614
3632
|
end
|
3615
3633
|
|
3616
|
-
# Information about this specific recommendation, such as the
|
3634
|
+
# Information about this specific recommendation, such as the timestamp
|
3617
3635
|
# for when AWS made a specific recommendation.
|
3618
3636
|
#
|
3619
3637
|
# @!attribute [rw] recommendation_id
|
@@ -3621,7 +3639,7 @@ module Aws::CostExplorer
|
|
3621
3639
|
# @return [String]
|
3622
3640
|
#
|
3623
3641
|
# @!attribute [rw] generation_timestamp
|
3624
|
-
# The
|
3642
|
+
# The timestamp for when AWS made this recommendation.
|
3625
3643
|
# @return [String]
|
3626
3644
|
#
|
3627
3645
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ReservationPurchaseRecommendationMetadata AWS API Documentation
|
@@ -3914,7 +3932,7 @@ module Aws::CostExplorer
|
|
3914
3932
|
# @return [String]
|
3915
3933
|
#
|
3916
3934
|
# @!attribute [rw] coverage_percentage
|
3917
|
-
# The percentage of your existing Savings
|
3935
|
+
# The percentage of your existing Savings Plans covered usage, divided
|
3918
3936
|
# by all of your eligible Savings Plans usage in an account(or set of
|
3919
3937
|
# accounts).
|
3920
3938
|
# @return [String]
|
@@ -3982,8 +4000,8 @@ module Aws::CostExplorer
|
|
3982
4000
|
# @return [String]
|
3983
4001
|
#
|
3984
4002
|
# @!attribute [rw] savings_plans_purchase_recommendation_details
|
3985
|
-
# Details for the Savings Plans we recommend you
|
3986
|
-
# existing
|
4003
|
+
# Details for the Savings Plans we recommend that you purchase to
|
4004
|
+
# cover existing Savings Plans eligible workloads.
|
3987
4005
|
# @return [Array<Types::SavingsPlansPurchaseRecommendationDetail>]
|
3988
4006
|
#
|
3989
4007
|
# @!attribute [rw] savings_plans_purchase_recommendation_summary
|
@@ -4401,6 +4419,7 @@ module Aws::CostExplorer
|
|
4401
4419
|
# {
|
4402
4420
|
# key: "TagKey",
|
4403
4421
|
# values: ["Value"],
|
4422
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
4404
4423
|
# }
|
4405
4424
|
#
|
4406
4425
|
# @!attribute [rw] key
|
@@ -4411,11 +4430,19 @@ module Aws::CostExplorer
|
|
4411
4430
|
# The specific value of the tag.
|
4412
4431
|
# @return [Array<String>]
|
4413
4432
|
#
|
4433
|
+
# @!attribute [rw] match_options
|
4434
|
+
# The match options that you can use to filter your results.
|
4435
|
+
# `MatchOptions` is only applicable for only applicable for actions
|
4436
|
+
# related to Cost Category. The default values for `MatchOptions` is
|
4437
|
+
# `EQUALS` and `CASE_SENSITIVE`.
|
4438
|
+
# @return [Array<String>]
|
4439
|
+
#
|
4414
4440
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/TagValues AWS API Documentation
|
4415
4441
|
#
|
4416
4442
|
class TagValues < Struct.new(
|
4417
4443
|
:key,
|
4418
|
-
:values
|
4444
|
+
:values,
|
4445
|
+
:match_options)
|
4419
4446
|
include Aws::Structure
|
4420
4447
|
end
|
4421
4448
|
|
@@ -4516,12 +4543,14 @@ module Aws::CostExplorer
|
|
4516
4543
|
# # recursive Expression
|
4517
4544
|
# },
|
4518
4545
|
# dimensions: {
|
4519
|
-
# 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
|
4546
|
+
# 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
|
4520
4547
|
# values: ["Value"],
|
4548
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
4521
4549
|
# },
|
4522
4550
|
# tags: {
|
4523
4551
|
# key: "TagKey",
|
4524
4552
|
# values: ["Value"],
|
4553
|
+
# match_options: ["EQUALS"], # accepts EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
4525
4554
|
# },
|
4526
4555
|
# cost_categories: {
|
4527
4556
|
# key: "CostCategoryName",
|
@@ -4541,16 +4570,12 @@ module Aws::CostExplorer
|
|
4541
4570
|
# @return [String]
|
4542
4571
|
#
|
4543
4572
|
# @!attribute [rw] rules
|
4544
|
-
# `
|
4545
|
-
#
|
4546
|
-
# `LINKED_ACCOUNT`.
|
4573
|
+
# The `Expression` object used to categorize costs. For more
|
4574
|
+
# information, see [CostCategoryRule ][1].
|
4547
4575
|
#
|
4548
|
-
# Root level `OR` is not supported. We recommend you create a separate
|
4549
|
-
# rule instead.
|
4550
4576
|
#
|
4551
|
-
#
|
4552
|
-
#
|
4553
|
-
# that Cost Category value.
|
4577
|
+
#
|
4578
|
+
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategoryRule.html
|
4554
4579
|
# @return [Array<Types::CostCategoryRule>]
|
4555
4580
|
#
|
4556
4581
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/UpdateCostCategoryDefinitionRequest AWS API Documentation
|
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.39.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
83
|
rubyforge_project:
|
84
|
-
rubygems_version: 2.
|
84
|
+
rubygems_version: 2.7.6.2
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: AWS SDK for Ruby - AWS Cost Explorer
|