aws-sdk-costexplorer 1.59.0 → 1.60.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-costexplorer.rb +1 -1
- data/lib/aws-sdk-costexplorer/client.rb +28 -5
- data/lib/aws-sdk-costexplorer/client_api.rb +15 -2
- data/lib/aws-sdk-costexplorer/types.rb +105 -13
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8fbed579ff86fb66265cf2d1203c399090426f6112589a3018a0d6dd525d2e44
|
4
|
+
data.tar.gz: 97ca61312d96739ad5ffb796d90e9dd99e46823c9004dc85c74ef2b54a11d63b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 207635a08f9c76f297fe188fb28c83564d24d58b53b0c242ae5eb876f3761705e147deb6705207e1a14bd4f58a6e2dda930e7d069b9deec6530ea58590131ad9
|
7
|
+
data.tar.gz: 90885cf7ddec1f0eee4921a9f7e2e58eef433b674765f8596fd5d8aca4671c34773e3db5c5ea6140b3474550f9a023578c9325bfbf6e051c6f3b388396c5b592
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.60.0 (2021-03-23)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - You can now create cost categories with inherited value rules and specify default values for any uncategorized costs.
|
8
|
+
|
4
9
|
1.59.0 (2021-03-10)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.60.0
|
data/lib/aws-sdk-costexplorer.rb
CHANGED
@@ -466,6 +466,9 @@ module Aws::CostExplorer
|
|
466
466
|
#
|
467
467
|
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategoryRule.html
|
468
468
|
#
|
469
|
+
# @option params [String] :default_value
|
470
|
+
# The default value for the cost category.
|
471
|
+
#
|
469
472
|
# @return [Types::CreateCostCategoryDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
470
473
|
#
|
471
474
|
# * {Types::CreateCostCategoryDefinitionResponse#cost_category_arn #cost_category_arn} => String
|
@@ -478,8 +481,8 @@ module Aws::CostExplorer
|
|
478
481
|
# rule_version: "CostCategoryExpression.v1", # required, accepts CostCategoryExpression.v1
|
479
482
|
# rules: [ # required
|
480
483
|
# {
|
481
|
-
# value: "CostCategoryValue",
|
482
|
-
# rule: {
|
484
|
+
# value: "CostCategoryValue",
|
485
|
+
# rule: {
|
483
486
|
# or: [
|
484
487
|
# {
|
485
488
|
# # recursive Expression
|
@@ -509,8 +512,14 @@ module Aws::CostExplorer
|
|
509
512
|
# match_options: ["EQUALS"], # accepts EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
510
513
|
# },
|
511
514
|
# },
|
515
|
+
# inherited_value: {
|
516
|
+
# dimension_name: "LINKED_ACCOUNT_NAME", # accepts LINKED_ACCOUNT_NAME, TAG
|
517
|
+
# dimension_key: "GenericString",
|
518
|
+
# },
|
519
|
+
# type: "REGULAR", # accepts REGULAR, INHERITED_VALUE
|
512
520
|
# },
|
513
521
|
# ],
|
522
|
+
# default_value: "CostCategoryValue",
|
514
523
|
# })
|
515
524
|
#
|
516
525
|
# @example Response structure
|
@@ -659,9 +668,13 @@ module Aws::CostExplorer
|
|
659
668
|
# resp.cost_category.rules[0].rule.cost_categories.values[0] #=> String
|
660
669
|
# resp.cost_category.rules[0].rule.cost_categories.match_options #=> Array
|
661
670
|
# resp.cost_category.rules[0].rule.cost_categories.match_options[0] #=> String, one of "EQUALS", "ABSENT", "STARTS_WITH", "ENDS_WITH", "CONTAINS", "CASE_SENSITIVE", "CASE_INSENSITIVE"
|
671
|
+
# resp.cost_category.rules[0].inherited_value.dimension_name #=> String, one of "LINKED_ACCOUNT_NAME", "TAG"
|
672
|
+
# resp.cost_category.rules[0].inherited_value.dimension_key #=> String
|
673
|
+
# resp.cost_category.rules[0].type #=> String, one of "REGULAR", "INHERITED_VALUE"
|
662
674
|
# resp.cost_category.processing_status #=> Array
|
663
675
|
# resp.cost_category.processing_status[0].component #=> String, one of "COST_EXPLORER"
|
664
676
|
# resp.cost_category.processing_status[0].status #=> String, one of "PROCESSING", "APPLIED"
|
677
|
+
# resp.cost_category.default_value #=> String
|
665
678
|
#
|
666
679
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/DescribeCostCategoryDefinition AWS API Documentation
|
667
680
|
#
|
@@ -3851,6 +3864,7 @@ module Aws::CostExplorer
|
|
3851
3864
|
# resp.cost_category_references[0].processing_status[0].status #=> String, one of "PROCESSING", "APPLIED"
|
3852
3865
|
# resp.cost_category_references[0].values #=> Array
|
3853
3866
|
# resp.cost_category_references[0].values[0] #=> String
|
3867
|
+
# resp.cost_category_references[0].default_value #=> String
|
3854
3868
|
# resp.next_token #=> String
|
3855
3869
|
#
|
3856
3870
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ListCostCategoryDefinitions AWS API Documentation
|
@@ -4002,6 +4016,9 @@ module Aws::CostExplorer
|
|
4002
4016
|
#
|
4003
4017
|
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategoryRule.html
|
4004
4018
|
#
|
4019
|
+
# @option params [String] :default_value
|
4020
|
+
# The default value for the cost category.
|
4021
|
+
#
|
4005
4022
|
# @return [Types::UpdateCostCategoryDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4006
4023
|
#
|
4007
4024
|
# * {Types::UpdateCostCategoryDefinitionResponse#cost_category_arn #cost_category_arn} => String
|
@@ -4014,8 +4031,8 @@ module Aws::CostExplorer
|
|
4014
4031
|
# rule_version: "CostCategoryExpression.v1", # required, accepts CostCategoryExpression.v1
|
4015
4032
|
# rules: [ # required
|
4016
4033
|
# {
|
4017
|
-
# value: "CostCategoryValue",
|
4018
|
-
# rule: {
|
4034
|
+
# value: "CostCategoryValue",
|
4035
|
+
# rule: {
|
4019
4036
|
# or: [
|
4020
4037
|
# {
|
4021
4038
|
# # recursive Expression
|
@@ -4045,8 +4062,14 @@ module Aws::CostExplorer
|
|
4045
4062
|
# match_options: ["EQUALS"], # accepts EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
4046
4063
|
# },
|
4047
4064
|
# },
|
4065
|
+
# inherited_value: {
|
4066
|
+
# dimension_name: "LINKED_ACCOUNT_NAME", # accepts LINKED_ACCOUNT_NAME, TAG
|
4067
|
+
# dimension_key: "GenericString",
|
4068
|
+
# },
|
4069
|
+
# type: "REGULAR", # accepts REGULAR, INHERITED_VALUE
|
4048
4070
|
# },
|
4049
4071
|
# ],
|
4072
|
+
# default_value: "CostCategoryValue",
|
4050
4073
|
# })
|
4051
4074
|
#
|
4052
4075
|
# @example Response structure
|
@@ -4076,7 +4099,7 @@ module Aws::CostExplorer
|
|
4076
4099
|
params: params,
|
4077
4100
|
config: config)
|
4078
4101
|
context[:gem_name] = 'aws-sdk-costexplorer'
|
4079
|
-
context[:gem_version] = '1.
|
4102
|
+
context[:gem_version] = '1.60.0'
|
4080
4103
|
Seahorse::Client::Request.new(handlers, context)
|
4081
4104
|
end
|
4082
4105
|
|
@@ -33,6 +33,8 @@ module Aws::CostExplorer
|
|
33
33
|
BillExpirationException = Shapes::StructureShape.new(name: 'BillExpirationException')
|
34
34
|
Context = Shapes::StringShape.new(name: 'Context')
|
35
35
|
CostCategory = Shapes::StructureShape.new(name: 'CostCategory')
|
36
|
+
CostCategoryInheritedValueDimension = Shapes::StructureShape.new(name: 'CostCategoryInheritedValueDimension')
|
37
|
+
CostCategoryInheritedValueDimensionName = Shapes::StringShape.new(name: 'CostCategoryInheritedValueDimensionName')
|
36
38
|
CostCategoryMaxResults = Shapes::IntegerShape.new(name: 'CostCategoryMaxResults')
|
37
39
|
CostCategoryName = Shapes::StringShape.new(name: 'CostCategoryName')
|
38
40
|
CostCategoryNamesList = Shapes::ListShape.new(name: 'CostCategoryNamesList')
|
@@ -41,6 +43,7 @@ module Aws::CostExplorer
|
|
41
43
|
CostCategoryReference = Shapes::StructureShape.new(name: 'CostCategoryReference')
|
42
44
|
CostCategoryReferencesList = Shapes::ListShape.new(name: 'CostCategoryReferencesList')
|
43
45
|
CostCategoryRule = Shapes::StructureShape.new(name: 'CostCategoryRule')
|
46
|
+
CostCategoryRuleType = Shapes::StringShape.new(name: 'CostCategoryRuleType')
|
44
47
|
CostCategoryRuleVersion = Shapes::StringShape.new(name: 'CostCategoryRuleVersion')
|
45
48
|
CostCategoryRulesList = Shapes::ListShape.new(name: 'CostCategoryRulesList')
|
46
49
|
CostCategoryStatus = Shapes::StringShape.new(name: 'CostCategoryStatus')
|
@@ -338,8 +341,13 @@ module Aws::CostExplorer
|
|
338
341
|
CostCategory.add_member(:rule_version, Shapes::ShapeRef.new(shape: CostCategoryRuleVersion, required: true, location_name: "RuleVersion"))
|
339
342
|
CostCategory.add_member(:rules, Shapes::ShapeRef.new(shape: CostCategoryRulesList, required: true, location_name: "Rules"))
|
340
343
|
CostCategory.add_member(:processing_status, Shapes::ShapeRef.new(shape: CostCategoryProcessingStatusList, location_name: "ProcessingStatus"))
|
344
|
+
CostCategory.add_member(:default_value, Shapes::ShapeRef.new(shape: CostCategoryValue, location_name: "DefaultValue"))
|
341
345
|
CostCategory.struct_class = Types::CostCategory
|
342
346
|
|
347
|
+
CostCategoryInheritedValueDimension.add_member(:dimension_name, Shapes::ShapeRef.new(shape: CostCategoryInheritedValueDimensionName, location_name: "DimensionName"))
|
348
|
+
CostCategoryInheritedValueDimension.add_member(:dimension_key, Shapes::ShapeRef.new(shape: GenericString, location_name: "DimensionKey"))
|
349
|
+
CostCategoryInheritedValueDimension.struct_class = Types::CostCategoryInheritedValueDimension
|
350
|
+
|
343
351
|
CostCategoryNamesList.member = Shapes::ShapeRef.new(shape: CostCategoryName)
|
344
352
|
|
345
353
|
CostCategoryProcessingStatus.add_member(:component, Shapes::ShapeRef.new(shape: CostCategoryStatusComponent, location_name: "Component"))
|
@@ -355,12 +363,15 @@ module Aws::CostExplorer
|
|
355
363
|
CostCategoryReference.add_member(:number_of_rules, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "NumberOfRules"))
|
356
364
|
CostCategoryReference.add_member(:processing_status, Shapes::ShapeRef.new(shape: CostCategoryProcessingStatusList, location_name: "ProcessingStatus"))
|
357
365
|
CostCategoryReference.add_member(:values, Shapes::ShapeRef.new(shape: CostCategoryValuesList, location_name: "Values"))
|
366
|
+
CostCategoryReference.add_member(:default_value, Shapes::ShapeRef.new(shape: CostCategoryValue, location_name: "DefaultValue"))
|
358
367
|
CostCategoryReference.struct_class = Types::CostCategoryReference
|
359
368
|
|
360
369
|
CostCategoryReferencesList.member = Shapes::ShapeRef.new(shape: CostCategoryReference)
|
361
370
|
|
362
|
-
CostCategoryRule.add_member(:value, Shapes::ShapeRef.new(shape: CostCategoryValue,
|
363
|
-
CostCategoryRule.add_member(:rule, Shapes::ShapeRef.new(shape: Expression,
|
371
|
+
CostCategoryRule.add_member(:value, Shapes::ShapeRef.new(shape: CostCategoryValue, location_name: "Value"))
|
372
|
+
CostCategoryRule.add_member(:rule, Shapes::ShapeRef.new(shape: Expression, location_name: "Rule"))
|
373
|
+
CostCategoryRule.add_member(:inherited_value, Shapes::ShapeRef.new(shape: CostCategoryInheritedValueDimension, location_name: "InheritedValue"))
|
374
|
+
CostCategoryRule.add_member(:type, Shapes::ShapeRef.new(shape: CostCategoryRuleType, location_name: "Type"))
|
364
375
|
CostCategoryRule.struct_class = Types::CostCategoryRule
|
365
376
|
|
366
377
|
CostCategoryRulesList.member = Shapes::ShapeRef.new(shape: CostCategoryRule)
|
@@ -414,6 +425,7 @@ module Aws::CostExplorer
|
|
414
425
|
CreateCostCategoryDefinitionRequest.add_member(:name, Shapes::ShapeRef.new(shape: CostCategoryName, required: true, location_name: "Name"))
|
415
426
|
CreateCostCategoryDefinitionRequest.add_member(:rule_version, Shapes::ShapeRef.new(shape: CostCategoryRuleVersion, required: true, location_name: "RuleVersion"))
|
416
427
|
CreateCostCategoryDefinitionRequest.add_member(:rules, Shapes::ShapeRef.new(shape: CostCategoryRulesList, required: true, location_name: "Rules"))
|
428
|
+
CreateCostCategoryDefinitionRequest.add_member(:default_value, Shapes::ShapeRef.new(shape: CostCategoryValue, location_name: "DefaultValue"))
|
417
429
|
CreateCostCategoryDefinitionRequest.struct_class = Types::CreateCostCategoryDefinitionRequest
|
418
430
|
|
419
431
|
CreateCostCategoryDefinitionResponse.add_member(:cost_category_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "CostCategoryArn"))
|
@@ -1176,6 +1188,7 @@ module Aws::CostExplorer
|
|
1176
1188
|
UpdateCostCategoryDefinitionRequest.add_member(:cost_category_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CostCategoryArn"))
|
1177
1189
|
UpdateCostCategoryDefinitionRequest.add_member(:rule_version, Shapes::ShapeRef.new(shape: CostCategoryRuleVersion, required: true, location_name: "RuleVersion"))
|
1178
1190
|
UpdateCostCategoryDefinitionRequest.add_member(:rules, Shapes::ShapeRef.new(shape: CostCategoryRulesList, required: true, location_name: "Rules"))
|
1191
|
+
UpdateCostCategoryDefinitionRequest.add_member(:default_value, Shapes::ShapeRef.new(shape: CostCategoryValue, location_name: "DefaultValue"))
|
1179
1192
|
UpdateCostCategoryDefinitionRequest.struct_class = Types::UpdateCostCategoryDefinitionRequest
|
1180
1193
|
|
1181
1194
|
UpdateCostCategoryDefinitionResponse.add_member(:cost_category_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "CostCategoryArn"))
|
@@ -380,6 +380,10 @@ module Aws::CostExplorer
|
|
380
380
|
# specific cost category.
|
381
381
|
# @return [Array<Types::CostCategoryProcessingStatus>]
|
382
382
|
#
|
383
|
+
# @!attribute [rw] default_value
|
384
|
+
# The default value for the cost category.
|
385
|
+
# @return [String]
|
386
|
+
#
|
383
387
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CostCategory AWS API Documentation
|
384
388
|
#
|
385
389
|
class CostCategory < Struct.new(
|
@@ -389,7 +393,46 @@ module Aws::CostExplorer
|
|
389
393
|
:name,
|
390
394
|
:rule_version,
|
391
395
|
:rules,
|
392
|
-
:processing_status
|
396
|
+
:processing_status,
|
397
|
+
:default_value)
|
398
|
+
SENSITIVE = []
|
399
|
+
include Aws::Structure
|
400
|
+
end
|
401
|
+
|
402
|
+
# When creating or updating a cost category, you can define the
|
403
|
+
# `CostCategoryRule` rule type as `INHERITED_VALUE`. This rule type adds
|
404
|
+
# the flexibility of defining a rule that dynamically inherits the cost
|
405
|
+
# category value from the dimension value defined by
|
406
|
+
# `CostCategoryInheritedValueDimension`. For example, if you wanted to
|
407
|
+
# dynamically group costs based on the value of a specific tag key, you
|
408
|
+
# would first choose an inherited value rule type, then choose the tag
|
409
|
+
# dimension and specify the tag key to use.
|
410
|
+
#
|
411
|
+
# @note When making an API call, you may pass CostCategoryInheritedValueDimension
|
412
|
+
# data as a hash:
|
413
|
+
#
|
414
|
+
# {
|
415
|
+
# dimension_name: "LINKED_ACCOUNT_NAME", # accepts LINKED_ACCOUNT_NAME, TAG
|
416
|
+
# dimension_key: "GenericString",
|
417
|
+
# }
|
418
|
+
#
|
419
|
+
# @!attribute [rw] dimension_name
|
420
|
+
# The name of dimension for which to group costs.
|
421
|
+
#
|
422
|
+
# If you specify `LINKED_ACCOUNT_NAME`, the cost category value will
|
423
|
+
# be based on account name. If you specify `TAG`, the cost category
|
424
|
+
# value will be based on the value of the specified tag key.
|
425
|
+
# @return [String]
|
426
|
+
#
|
427
|
+
# @!attribute [rw] dimension_key
|
428
|
+
# The key to extract cost category values.
|
429
|
+
# @return [String]
|
430
|
+
#
|
431
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CostCategoryInheritedValueDimension AWS API Documentation
|
432
|
+
#
|
433
|
+
class CostCategoryInheritedValueDimension < Struct.new(
|
434
|
+
:dimension_name,
|
435
|
+
:dimension_key)
|
393
436
|
SENSITIVE = []
|
394
437
|
include Aws::Structure
|
395
438
|
end
|
@@ -449,6 +492,10 @@ module Aws::CostExplorer
|
|
449
492
|
# A list of unique cost category values in a specific cost category.
|
450
493
|
# @return [Array<String>]
|
451
494
|
#
|
495
|
+
# @!attribute [rw] default_value
|
496
|
+
# The default value for the cost category.
|
497
|
+
# @return [String]
|
498
|
+
#
|
452
499
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CostCategoryReference AWS API Documentation
|
453
500
|
#
|
454
501
|
class CostCategoryReference < Struct.new(
|
@@ -458,7 +505,8 @@ module Aws::CostExplorer
|
|
458
505
|
:effective_end,
|
459
506
|
:number_of_rules,
|
460
507
|
:processing_status,
|
461
|
-
:values
|
508
|
+
:values,
|
509
|
+
:default_value)
|
462
510
|
SENSITIVE = []
|
463
511
|
include Aws::Structure
|
464
512
|
end
|
@@ -471,8 +519,8 @@ module Aws::CostExplorer
|
|
471
519
|
# data as a hash:
|
472
520
|
#
|
473
521
|
# {
|
474
|
-
# value: "CostCategoryValue",
|
475
|
-
# rule: {
|
522
|
+
# value: "CostCategoryValue",
|
523
|
+
# rule: {
|
476
524
|
# or: [
|
477
525
|
# {
|
478
526
|
# # recursive Expression
|
@@ -502,11 +550,15 @@ module Aws::CostExplorer
|
|
502
550
|
# match_options: ["EQUALS"], # accepts EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
503
551
|
# },
|
504
552
|
# },
|
553
|
+
# inherited_value: {
|
554
|
+
# dimension_name: "LINKED_ACCOUNT_NAME", # accepts LINKED_ACCOUNT_NAME, TAG
|
555
|
+
# dimension_key: "GenericString",
|
556
|
+
# },
|
557
|
+
# type: "REGULAR", # accepts REGULAR, INHERITED_VALUE
|
505
558
|
# }
|
506
559
|
#
|
507
560
|
# @!attribute [rw] value
|
508
|
-
# The value
|
509
|
-
# rule.
|
561
|
+
# The default value for the cost category.
|
510
562
|
# @return [String]
|
511
563
|
#
|
512
564
|
# @!attribute [rw] rule
|
@@ -530,11 +582,29 @@ module Aws::CostExplorer
|
|
530
582
|
# [2]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-cost-categories.html#cost-categories-terms
|
531
583
|
# @return [Types::Expression]
|
532
584
|
#
|
585
|
+
# @!attribute [rw] inherited_value
|
586
|
+
# The value the line item will be categorized as, if the line item
|
587
|
+
# contains the matched dimension.
|
588
|
+
# @return [Types::CostCategoryInheritedValueDimension]
|
589
|
+
#
|
590
|
+
# @!attribute [rw] type
|
591
|
+
# You can define the `CostCategoryRule` rule type as either `REGULAR`
|
592
|
+
# or `INHERITED_VALUE`. The `INHERITED_VALUE` rule type adds the
|
593
|
+
# flexibility of defining a rule that dynamically inherits the cost
|
594
|
+
# category value from the dimension value defined by
|
595
|
+
# `CostCategoryInheritedValueDimension`. For example, if you wanted to
|
596
|
+
# dynamically group costs based on the value of a specific tag key,
|
597
|
+
# you would first choose an inherited value rule type, then choose the
|
598
|
+
# tag dimension and specify the tag key to use.
|
599
|
+
# @return [String]
|
600
|
+
#
|
533
601
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CostCategoryRule AWS API Documentation
|
534
602
|
#
|
535
603
|
class CostCategoryRule < Struct.new(
|
536
604
|
:value,
|
537
|
-
:rule
|
605
|
+
:rule,
|
606
|
+
:inherited_value,
|
607
|
+
:type)
|
538
608
|
SENSITIVE = []
|
539
609
|
include Aws::Structure
|
540
610
|
end
|
@@ -848,8 +918,8 @@ module Aws::CostExplorer
|
|
848
918
|
# rule_version: "CostCategoryExpression.v1", # required, accepts CostCategoryExpression.v1
|
849
919
|
# rules: [ # required
|
850
920
|
# {
|
851
|
-
# value: "CostCategoryValue",
|
852
|
-
# rule: {
|
921
|
+
# value: "CostCategoryValue",
|
922
|
+
# rule: {
|
853
923
|
# or: [
|
854
924
|
# {
|
855
925
|
# # recursive Expression
|
@@ -879,8 +949,14 @@ module Aws::CostExplorer
|
|
879
949
|
# match_options: ["EQUALS"], # accepts EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
880
950
|
# },
|
881
951
|
# },
|
952
|
+
# inherited_value: {
|
953
|
+
# dimension_name: "LINKED_ACCOUNT_NAME", # accepts LINKED_ACCOUNT_NAME, TAG
|
954
|
+
# dimension_key: "GenericString",
|
955
|
+
# },
|
956
|
+
# type: "REGULAR", # accepts REGULAR, INHERITED_VALUE
|
882
957
|
# },
|
883
958
|
# ],
|
959
|
+
# default_value: "CostCategoryValue",
|
884
960
|
# }
|
885
961
|
#
|
886
962
|
# @!attribute [rw] name
|
@@ -900,12 +976,17 @@ module Aws::CostExplorer
|
|
900
976
|
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategoryRule.html
|
901
977
|
# @return [Array<Types::CostCategoryRule>]
|
902
978
|
#
|
979
|
+
# @!attribute [rw] default_value
|
980
|
+
# The default value for the cost category.
|
981
|
+
# @return [String]
|
982
|
+
#
|
903
983
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CreateCostCategoryDefinitionRequest AWS API Documentation
|
904
984
|
#
|
905
985
|
class CreateCostCategoryDefinitionRequest < Struct.new(
|
906
986
|
:name,
|
907
987
|
:rule_version,
|
908
|
-
:rules
|
988
|
+
:rules,
|
989
|
+
:default_value)
|
909
990
|
SENSITIVE = []
|
910
991
|
include Aws::Structure
|
911
992
|
end
|
@@ -6699,8 +6780,8 @@ module Aws::CostExplorer
|
|
6699
6780
|
# rule_version: "CostCategoryExpression.v1", # required, accepts CostCategoryExpression.v1
|
6700
6781
|
# rules: [ # required
|
6701
6782
|
# {
|
6702
|
-
# value: "CostCategoryValue",
|
6703
|
-
# rule: {
|
6783
|
+
# value: "CostCategoryValue",
|
6784
|
+
# rule: {
|
6704
6785
|
# or: [
|
6705
6786
|
# {
|
6706
6787
|
# # recursive Expression
|
@@ -6730,8 +6811,14 @@ module Aws::CostExplorer
|
|
6730
6811
|
# match_options: ["EQUALS"], # accepts EQUALS, ABSENT, STARTS_WITH, ENDS_WITH, CONTAINS, CASE_SENSITIVE, CASE_INSENSITIVE
|
6731
6812
|
# },
|
6732
6813
|
# },
|
6814
|
+
# inherited_value: {
|
6815
|
+
# dimension_name: "LINKED_ACCOUNT_NAME", # accepts LINKED_ACCOUNT_NAME, TAG
|
6816
|
+
# dimension_key: "GenericString",
|
6817
|
+
# },
|
6818
|
+
# type: "REGULAR", # accepts REGULAR, INHERITED_VALUE
|
6733
6819
|
# },
|
6734
6820
|
# ],
|
6821
|
+
# default_value: "CostCategoryValue",
|
6735
6822
|
# }
|
6736
6823
|
#
|
6737
6824
|
# @!attribute [rw] cost_category_arn
|
@@ -6751,12 +6838,17 @@ module Aws::CostExplorer
|
|
6751
6838
|
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_CostCategoryRule.html
|
6752
6839
|
# @return [Array<Types::CostCategoryRule>]
|
6753
6840
|
#
|
6841
|
+
# @!attribute [rw] default_value
|
6842
|
+
# The default value for the cost category.
|
6843
|
+
# @return [String]
|
6844
|
+
#
|
6754
6845
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/UpdateCostCategoryDefinitionRequest AWS API Documentation
|
6755
6846
|
#
|
6756
6847
|
class UpdateCostCategoryDefinitionRequest < Struct.new(
|
6757
6848
|
:cost_category_arn,
|
6758
6849
|
:rule_version,
|
6759
|
-
:rules
|
6850
|
+
:rules,
|
6851
|
+
:default_value)
|
6760
6852
|
SENSITIVE = []
|
6761
6853
|
include Aws::Structure
|
6762
6854
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-costexplorer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.60.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-03-
|
11
|
+
date: 2021-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -66,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
|
|
66
66
|
licenses:
|
67
67
|
- Apache-2.0
|
68
68
|
metadata:
|
69
|
-
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
70
|
-
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
69
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-costexplorer
|
70
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-costexplorer/CHANGELOG.md
|
71
71
|
post_install_message:
|
72
72
|
rdoc_options: []
|
73
73
|
require_paths:
|