aws-sdk-costexplorer 1.141.0 → 1.142.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 924ab94a563f58c9f0da83058d31452b83fa3524f46cd0fa890a68968b604a74
4
- data.tar.gz: 60bd07a830b6a821df0c89227b679301855749e586761b1497c10f33b59541fa
3
+ metadata.gz: c98e8d9f8f27e5f03759956e984802f90b9d2ba9fad9307fc66409fafd8b8a77
4
+ data.tar.gz: 5577400f9d114c205ea420ee578031d43d8033e30b21c6d2758c0f85d9eaae28
5
5
  SHA512:
6
- metadata.gz: 896341534a6d38baa13f604ca49f1f0aee0a08380dbe7e191dd07138659265104360a4098f1393319d745e2f1c74585831e5a9f4c18084182899fb2199e68db3
7
- data.tar.gz: 5bb54ba4e3b4b780f8fe943b4e6275f4fcbfd41e886157b3f9e4349010e5597ce5c6ffcbafea536d476b8eacf9aea2e7897a2c84f71ebcf66a12d841acfc768c
6
+ metadata.gz: 879b8ae7c077eb8e8f8b59d29afd5370f93619d3718f8801872a563a545ff0abae2ad96f7b40e9eb7aa86ae04c5536a4fd202a13340b5d79103b9bbad425e6c7
7
+ data.tar.gz: d5c072f4a6528c99ff514a8c5e2992b6d8903422012664ed2738340ab86b3aa474b3015a2360bc722b2536415966f8057434ccda4a31eb65622f01b3c91fe2b0
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.142.0 (2025-12-08)
5
+ ------------------
6
+
7
+ * Feature - Add support for Cost Category resource associations including filtering by resource type on ListCostCategoryDefinitions and new ListCostCategoryResourceAssociations API.
8
+
4
9
  1.141.0 (2025-12-02)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.141.0
1
+ 1.142.0
@@ -698,22 +698,22 @@ module Aws::CostExplorer
698
698
  req.send_request(options)
699
699
  end
700
700
 
701
- # Creates a new Cost Category with the requested name and rules.
701
+ # Creates a new cost category with the requested name and rules.
702
702
  #
703
703
  # @option params [required, String] :name
704
- # The unique name of the Cost Category.
704
+ # The unique name of the cost category.
705
705
  #
706
706
  # @option params [String] :effective_start
707
- # The Cost Category's effective start date. It can only be a billing
707
+ # The cost category's effective start date. It can only be a billing
708
708
  # start date (first day of the month). If the date isn't provided,
709
709
  # it's the first day of the current month. Dates can't be before the
710
710
  # previous twelve months, or in the future.
711
711
  #
712
712
  # @option params [required, String] :rule_version
713
- # The rule schema version in this particular Cost Category.
713
+ # The rule schema version in this particular cost category.
714
714
  #
715
715
  # @option params [required, Array<Types::CostCategoryRule>] :rules
716
- # The Cost Category rules used to categorize costs. For more
716
+ # The cost category rules used to categorize costs. For more
717
717
  # information, see [CostCategoryRule][1].
718
718
  #
719
719
  #
@@ -724,8 +724,8 @@ module Aws::CostExplorer
724
724
  # The default value for the cost category.
725
725
  #
726
726
  # @option params [Array<Types::CostCategorySplitChargeRule>] :split_charge_rules
727
- # The split charge rules used to allocate your charges between your Cost
728
- # Category values.
727
+ # The split charge rules used to allocate your charges between your cost
728
+ # category values.
729
729
  #
730
730
  # @option params [Array<Types::ResourceTag>] :resource_tags
731
731
  # An optional list of tags to associate with the specified [
@@ -890,11 +890,11 @@ module Aws::CostExplorer
890
890
  req.send_request(options)
891
891
  end
892
892
 
893
- # Deletes a Cost Category. Expenses from this month going forward will
894
- # no longer be categorized with this Cost Category.
893
+ # Deletes a cost category. Expenses from this month going forward will
894
+ # no longer be categorized with this cost category.
895
895
  #
896
896
  # @option params [required, String] :cost_category_arn
897
- # The unique identifier for your Cost Category.
897
+ # The unique identifier for your cost category.
898
898
  #
899
899
  # @return [Types::DeleteCostCategoryDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
900
900
  #
@@ -922,19 +922,19 @@ module Aws::CostExplorer
922
922
  end
923
923
 
924
924
  # Returns the name, Amazon Resource Name (ARN), rules, definition, and
925
- # effective dates of a Cost Category that's defined in the account.
925
+ # effective dates of a cost category that's defined in the account.
926
926
  #
927
- # You have the option to use `EffectiveOn` to return a Cost Category
927
+ # You have the option to use `EffectiveOn` to return a cost category
928
928
  # that's active on a specific date. If there's no `EffectiveOn`
929
929
  # specified, you see a Cost Category that's effective on the current
930
- # date. If Cost Category is still effective, `EffectiveEnd` is omitted
930
+ # date. If cost category is still effective, `EffectiveEnd` is omitted
931
931
  # in the response.
932
932
  #
933
933
  # @option params [required, String] :cost_category_arn
934
- # The unique identifier for your Cost Category.
934
+ # The unique identifier for your cost category.
935
935
  #
936
936
  # @option params [String] :effective_on
937
- # The date when the Cost Category was effective.
937
+ # The date when the cost category was effective.
938
938
  #
939
939
  # @return [Types::DescribeCostCategoryDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
940
940
  #
@@ -1839,6 +1839,10 @@ module Aws::CostExplorer
1839
1839
  # You can nest `Expression` objects to define any combination of
1840
1840
  # dimension filters. For more information, see [Expression][1].
1841
1841
  #
1842
+ # The `GetCostAndUsageWithResources` operation requires that you either
1843
+ # group by or filter by a `ResourceId`. It requires the [Expression][1]
1844
+ # `"SERVICE = Amazon Elastic Compute Cloud - Compute"` in the filter.
1845
+ #
1842
1846
  # Valid values for `MatchOptions` for `Dimensions` are `EQUALS` and
1843
1847
  # `CASE_SENSITIVE`.
1844
1848
  #
@@ -1981,9 +1985,9 @@ module Aws::CostExplorer
1981
1985
  req.send_request(options)
1982
1986
  end
1983
1987
 
1984
- # Retrieves an array of Cost Category names and values incurred cost.
1988
+ # Retrieves an array of cost category names and values incurred cost.
1985
1989
  #
1986
- # <note markdown="1"> If some Cost Category names and values are not associated with any
1990
+ # <note markdown="1"> If some cost category names and values are not associated with any
1987
1991
  # cost, they will not be returned by this API.
1988
1992
  #
1989
1993
  # </note>
@@ -1992,15 +1996,15 @@ module Aws::CostExplorer
1992
1996
  # The value that you want to search the filter values for.
1993
1997
  #
1994
1998
  # If you don't specify a `CostCategoryName`, `SearchString` is used to
1995
- # filter Cost Category names that match the `SearchString` pattern. If
1999
+ # filter cost category names that match the `SearchString` pattern. If
1996
2000
  # you specify a `CostCategoryName`, `SearchString` is used to filter
1997
- # Cost Category values that match the `SearchString` pattern.
2001
+ # cost category values that match the `SearchString` pattern.
1998
2002
  #
1999
2003
  # @option params [required, Types::DateInterval] :time_period
2000
2004
  # The time period of the request.
2001
2005
  #
2002
2006
  # @option params [String] :cost_category_name
2003
- # The unique name of the Cost Category.
2007
+ # The unique name of the cost category.
2004
2008
  #
2005
2009
  # @option params [Types::Expression] :filter
2006
2010
  # Use `Expression` to filter in various Cost Explorer APIs.
@@ -3017,7 +3021,7 @@ module Aws::CostExplorer
3017
3021
  # ElastiCache, Amazon Relational Database Service, or Amazon Redshift
3018
3022
  # usage is covered by a reservation. An organization's management
3019
3023
  # account can see the coverage of the associated member accounts. This
3020
- # supports dimensions, Cost Categories, and nested expressions. For any
3024
+ # supports dimensions, cost categories, and nested expressions. For any
3021
3025
  # time period, you can filter data about reservation usage by the
3022
3026
  # following dimensions:
3023
3027
  #
@@ -4164,7 +4168,7 @@ module Aws::CostExplorer
4164
4168
  # Retrieves the Savings Plans covered for your account. This enables you
4165
4169
  # to see how much of your cost is covered by a Savings Plan. An
4166
4170
  # organization’s management account can see the coverage of the
4167
- # associated member accounts. This supports dimensions, Cost Categories,
4171
+ # associated member accounts. This supports dimensions, cost categories,
4168
4172
  # and nested expressions. For any time period, you can filter data for
4169
4173
  # Savings Plans usage with the following dimensions:
4170
4174
  #
@@ -5357,17 +5361,17 @@ module Aws::CostExplorer
5357
5361
  end
5358
5362
 
5359
5363
  # Returns the name, Amazon Resource Name (ARN), `NumberOfRules` and
5360
- # effective dates of all Cost Categories defined in the account. You
5361
- # have the option to use `EffectiveOn` to return a list of Cost
5362
- # Categories that were active on a specific date. If there is no
5363
- # `EffectiveOn` specified, you’ll see Cost Categories that are effective
5364
- # on the current date. If Cost Category is still effective,
5365
- # `EffectiveEnd` is omitted in the response.
5364
+ # effective dates of all cost categories defined in the account. You
5365
+ # have the option to use `EffectiveOn` and `SupportedResourceTypes` to
5366
+ # return a list of cost categories that were active on a specific date.
5367
+ # If there is no `EffectiveOn` specified, you’ll see cost categories
5368
+ # that are effective on the current date. If cost category is still
5369
+ # effective, `EffectiveEnd` is omitted in the response.
5366
5370
  # `ListCostCategoryDefinitions` supports pagination. The request can
5367
5371
  # have a `MaxResults` range up to 100.
5368
5372
  #
5369
5373
  # @option params [String] :effective_on
5370
- # The date when the Cost Category was effective.
5374
+ # The date when the cost category was effective.
5371
5375
  #
5372
5376
  # @option params [String] :next_token
5373
5377
  # The token to retrieve the next set of results. Amazon Web Services
@@ -5377,6 +5381,13 @@ module Aws::CostExplorer
5377
5381
  # @option params [Integer] :max_results
5378
5382
  # The number of entries a paginated response contains.
5379
5383
  #
5384
+ # @option params [Array<String>] :supported_resource_types
5385
+ # Filter cost category definitions that are supported by given resource
5386
+ # types based on the latest version. If the filter is present, the
5387
+ # result only includes Cost Categories that supports input resource
5388
+ # type. If the filter isn't provided, no filtering is applied. The
5389
+ # valid values are `billing:rispgroupsharing`.
5390
+ #
5380
5391
  # @return [Types::ListCostCategoryDefinitionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5381
5392
  #
5382
5393
  # * {Types::ListCostCategoryDefinitionsResponse#cost_category_references #cost_category_references} => Array&lt;Types::CostCategoryReference&gt;
@@ -5390,6 +5401,7 @@ module Aws::CostExplorer
5390
5401
  # effective_on: "ZonedDateTime",
5391
5402
  # next_token: "NextPageToken",
5392
5403
  # max_results: 1,
5404
+ # supported_resource_types: ["ResourceType"],
5393
5405
  # })
5394
5406
  #
5395
5407
  # @example Response structure
@@ -5406,6 +5418,8 @@ module Aws::CostExplorer
5406
5418
  # resp.cost_category_references[0].values #=> Array
5407
5419
  # resp.cost_category_references[0].values[0] #=> String
5408
5420
  # resp.cost_category_references[0].default_value #=> String
5421
+ # resp.cost_category_references[0].supported_resource_types #=> Array
5422
+ # resp.cost_category_references[0].supported_resource_types[0] #=> String
5409
5423
  # resp.next_token #=> String
5410
5424
  #
5411
5425
  # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ListCostCategoryDefinitions AWS API Documentation
@@ -5417,6 +5431,55 @@ module Aws::CostExplorer
5417
5431
  req.send_request(options)
5418
5432
  end
5419
5433
 
5434
+ # Returns resource associations of all cost categories defined in the
5435
+ # account. You have the option to use `CostCategoryArn` to get the
5436
+ # association for a specific cost category.
5437
+ # `ListCostCategoryResourceAssociations` supports pagination. The
5438
+ # request can have a `MaxResults` range up to 100.
5439
+ #
5440
+ # @option params [String] :cost_category_arn
5441
+ # The unique identifier for your cost category.
5442
+ #
5443
+ # @option params [String] :next_token
5444
+ # The token to retrieve the next set of results. Amazon Web Services
5445
+ # provides the token when the response from a previous call has more
5446
+ # results than the maximum page size.
5447
+ #
5448
+ # @option params [Integer] :max_results
5449
+ # The number of entries a paginated response contains.
5450
+ #
5451
+ # @return [Types::ListCostCategoryResourceAssociationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5452
+ #
5453
+ # * {Types::ListCostCategoryResourceAssociationsResponse#cost_category_resource_associations #cost_category_resource_associations} => Array&lt;Types::CostCategoryResourceAssociation&gt;
5454
+ # * {Types::ListCostCategoryResourceAssociationsResponse#next_token #next_token} => String
5455
+ #
5456
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
5457
+ #
5458
+ # @example Request syntax with placeholder values
5459
+ #
5460
+ # resp = client.list_cost_category_resource_associations({
5461
+ # cost_category_arn: "Arn",
5462
+ # next_token: "NextPageToken",
5463
+ # max_results: 1,
5464
+ # })
5465
+ #
5466
+ # @example Response structure
5467
+ #
5468
+ # resp.cost_category_resource_associations #=> Array
5469
+ # resp.cost_category_resource_associations[0].resource_arn #=> String
5470
+ # resp.cost_category_resource_associations[0].cost_category_name #=> String
5471
+ # resp.cost_category_resource_associations[0].cost_category_arn #=> String
5472
+ # resp.next_token #=> String
5473
+ #
5474
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ListCostCategoryResourceAssociations AWS API Documentation
5475
+ #
5476
+ # @overload list_cost_category_resource_associations(params = {})
5477
+ # @param [Hash] params ({})
5478
+ def list_cost_category_resource_associations(params = {}, options = {})
5479
+ req = build_request(:list_cost_category_resource_associations, params)
5480
+ req.send_request(options)
5481
+ end
5482
+
5420
5483
  # Retrieves a list of your historical recommendation generations within
5421
5484
  # the past 30 days.
5422
5485
  #
@@ -5982,22 +6045,22 @@ module Aws::CostExplorer
5982
6045
  req.send_request(options)
5983
6046
  end
5984
6047
 
5985
- # Updates an existing Cost Category. Changes made to the Cost Category
6048
+ # Updates an existing cost category. Changes made to the cost category
5986
6049
  # rules will be used to categorize the current month’s expenses and
5987
6050
  # future expenses. This won’t change categorization for the previous
5988
6051
  # months.
5989
6052
  #
5990
6053
  # @option params [required, String] :cost_category_arn
5991
- # The unique identifier for your Cost Category.
6054
+ # The unique identifier for your cost category.
5992
6055
  #
5993
6056
  # @option params [String] :effective_start
5994
- # The Cost Category's effective start date. It can only be a billing
6057
+ # The cost category's effective start date. It can only be a billing
5995
6058
  # start date (first day of the month). If the date isn't provided,
5996
6059
  # it's the first day of the current month. Dates can't be before the
5997
6060
  # previous twelve months, or in the future.
5998
6061
  #
5999
6062
  # @option params [required, String] :rule_version
6000
- # The rule schema version in this particular Cost Category.
6063
+ # The rule schema version in this particular cost category.
6001
6064
  #
6002
6065
  # @option params [required, Array<Types::CostCategoryRule>] :rules
6003
6066
  # The `Expression` object used to categorize costs. For more
@@ -6011,8 +6074,8 @@ module Aws::CostExplorer
6011
6074
  # The default value for the cost category.
6012
6075
  #
6013
6076
  # @option params [Array<Types::CostCategorySplitChargeRule>] :split_charge_rules
6014
- # The split charge rules used to allocate your charges between your Cost
6015
- # Category values.
6077
+ # The split charge rules used to allocate your charges between your cost
6078
+ # category values.
6016
6079
  #
6017
6080
  # @return [Types::UpdateCostCategoryDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6018
6081
  #
@@ -6113,7 +6176,7 @@ module Aws::CostExplorer
6113
6176
  tracer: tracer
6114
6177
  )
6115
6178
  context[:gem_name] = 'aws-sdk-costexplorer'
6116
- context[:gem_version] = '1.141.0'
6179
+ context[:gem_version] = '1.142.0'
6117
6180
  Seahorse::Client::Request.new(handlers, context)
6118
6181
  end
6119
6182
 
@@ -74,6 +74,8 @@ module Aws::CostExplorer
74
74
  CostCategoryProcessingStatusList = Shapes::ListShape.new(name: 'CostCategoryProcessingStatusList')
75
75
  CostCategoryReference = Shapes::StructureShape.new(name: 'CostCategoryReference')
76
76
  CostCategoryReferencesList = Shapes::ListShape.new(name: 'CostCategoryReferencesList')
77
+ CostCategoryResourceAssociation = Shapes::StructureShape.new(name: 'CostCategoryResourceAssociation')
78
+ CostCategoryResourceAssociations = Shapes::ListShape.new(name: 'CostCategoryResourceAssociations')
77
79
  CostCategoryRule = Shapes::StructureShape.new(name: 'CostCategoryRule')
78
80
  CostCategoryRuleType = Shapes::StringShape.new(name: 'CostCategoryRuleType')
79
81
  CostCategoryRuleVersion = Shapes::StringShape.new(name: 'CostCategoryRuleVersion')
@@ -148,6 +150,7 @@ module Aws::CostExplorer
148
150
  GenerationStatus = Shapes::StringShape.new(name: 'GenerationStatus')
149
151
  GenerationSummary = Shapes::StructureShape.new(name: 'GenerationSummary')
150
152
  GenerationSummaryList = Shapes::ListShape.new(name: 'GenerationSummaryList')
153
+ GenericArn = Shapes::StringShape.new(name: 'GenericArn')
151
154
  GenericBoolean = Shapes::BooleanShape.new(name: 'GenericBoolean')
152
155
  GenericDouble = Shapes::FloatShape.new(name: 'GenericDouble')
153
156
  GenericString = Shapes::StringShape.new(name: 'GenericString')
@@ -218,6 +221,8 @@ module Aws::CostExplorer
218
221
  ListCostAllocationTagsResponse = Shapes::StructureShape.new(name: 'ListCostAllocationTagsResponse')
219
222
  ListCostCategoryDefinitionsRequest = Shapes::StructureShape.new(name: 'ListCostCategoryDefinitionsRequest')
220
223
  ListCostCategoryDefinitionsResponse = Shapes::StructureShape.new(name: 'ListCostCategoryDefinitionsResponse')
224
+ ListCostCategoryResourceAssociationsRequest = Shapes::StructureShape.new(name: 'ListCostCategoryResourceAssociationsRequest')
225
+ ListCostCategoryResourceAssociationsResponse = Shapes::StructureShape.new(name: 'ListCostCategoryResourceAssociationsResponse')
221
226
  ListSavingsPlansPurchaseRecommendationGenerationRequest = Shapes::StructureShape.new(name: 'ListSavingsPlansPurchaseRecommendationGenerationRequest')
222
227
  ListSavingsPlansPurchaseRecommendationGenerationResponse = Shapes::StructureShape.new(name: 'ListSavingsPlansPurchaseRecommendationGenerationResponse')
223
228
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
@@ -294,6 +299,9 @@ module Aws::CostExplorer
294
299
  ResourceTagKeyList = Shapes::ListShape.new(name: 'ResourceTagKeyList')
295
300
  ResourceTagList = Shapes::ListShape.new(name: 'ResourceTagList')
296
301
  ResourceTagValue = Shapes::StringShape.new(name: 'ResourceTagValue')
302
+ ResourceType = Shapes::StringShape.new(name: 'ResourceType')
303
+ ResourceTypes = Shapes::ListShape.new(name: 'ResourceTypes')
304
+ ResourceTypesFilterInput = Shapes::ListShape.new(name: 'ResourceTypesFilterInput')
297
305
  ResourceUtilization = Shapes::StructureShape.new(name: 'ResourceUtilization')
298
306
  ResultByTime = Shapes::StructureShape.new(name: 'ResultByTime')
299
307
  ResultsByTime = Shapes::ListShape.new(name: 'ResultsByTime')
@@ -553,10 +561,18 @@ module Aws::CostExplorer
553
561
  CostCategoryReference.add_member(:processing_status, Shapes::ShapeRef.new(shape: CostCategoryProcessingStatusList, location_name: "ProcessingStatus"))
554
562
  CostCategoryReference.add_member(:values, Shapes::ShapeRef.new(shape: CostCategoryValuesList, location_name: "Values"))
555
563
  CostCategoryReference.add_member(:default_value, Shapes::ShapeRef.new(shape: CostCategoryValue, location_name: "DefaultValue"))
564
+ CostCategoryReference.add_member(:supported_resource_types, Shapes::ShapeRef.new(shape: ResourceTypes, location_name: "SupportedResourceTypes"))
556
565
  CostCategoryReference.struct_class = Types::CostCategoryReference
557
566
 
558
567
  CostCategoryReferencesList.member = Shapes::ShapeRef.new(shape: CostCategoryReference)
559
568
 
569
+ CostCategoryResourceAssociation.add_member(:resource_arn, Shapes::ShapeRef.new(shape: GenericArn, location_name: "ResourceArn"))
570
+ CostCategoryResourceAssociation.add_member(:cost_category_name, Shapes::ShapeRef.new(shape: CostCategoryName, location_name: "CostCategoryName"))
571
+ CostCategoryResourceAssociation.add_member(:cost_category_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "CostCategoryArn"))
572
+ CostCategoryResourceAssociation.struct_class = Types::CostCategoryResourceAssociation
573
+
574
+ CostCategoryResourceAssociations.member = Shapes::ShapeRef.new(shape: CostCategoryResourceAssociation)
575
+
560
576
  CostCategoryRule.add_member(:value, Shapes::ShapeRef.new(shape: CostCategoryValue, location_name: "Value"))
561
577
  CostCategoryRule.add_member(:rule, Shapes::ShapeRef.new(shape: Expression, location_name: "Rule"))
562
578
  CostCategoryRule.add_member(:inherited_value, Shapes::ShapeRef.new(shape: CostCategoryInheritedValueDimension, location_name: "InheritedValue"))
@@ -1182,12 +1198,22 @@ module Aws::CostExplorer
1182
1198
  ListCostCategoryDefinitionsRequest.add_member(:effective_on, Shapes::ShapeRef.new(shape: ZonedDateTime, location_name: "EffectiveOn"))
1183
1199
  ListCostCategoryDefinitionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextToken"))
1184
1200
  ListCostCategoryDefinitionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: CostCategoryMaxResults, location_name: "MaxResults", metadata: {"box" => true}))
1201
+ ListCostCategoryDefinitionsRequest.add_member(:supported_resource_types, Shapes::ShapeRef.new(shape: ResourceTypesFilterInput, location_name: "SupportedResourceTypes"))
1185
1202
  ListCostCategoryDefinitionsRequest.struct_class = Types::ListCostCategoryDefinitionsRequest
1186
1203
 
1187
1204
  ListCostCategoryDefinitionsResponse.add_member(:cost_category_references, Shapes::ShapeRef.new(shape: CostCategoryReferencesList, location_name: "CostCategoryReferences"))
1188
1205
  ListCostCategoryDefinitionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextToken"))
1189
1206
  ListCostCategoryDefinitionsResponse.struct_class = Types::ListCostCategoryDefinitionsResponse
1190
1207
 
1208
+ ListCostCategoryResourceAssociationsRequest.add_member(:cost_category_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "CostCategoryArn"))
1209
+ ListCostCategoryResourceAssociationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextToken"))
1210
+ ListCostCategoryResourceAssociationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: CostCategoryMaxResults, location_name: "MaxResults", metadata: {"box" => true}))
1211
+ ListCostCategoryResourceAssociationsRequest.struct_class = Types::ListCostCategoryResourceAssociationsRequest
1212
+
1213
+ ListCostCategoryResourceAssociationsResponse.add_member(:cost_category_resource_associations, Shapes::ShapeRef.new(shape: CostCategoryResourceAssociations, location_name: "CostCategoryResourceAssociations"))
1214
+ ListCostCategoryResourceAssociationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextToken"))
1215
+ ListCostCategoryResourceAssociationsResponse.struct_class = Types::ListCostCategoryResourceAssociationsResponse
1216
+
1191
1217
  ListSavingsPlansPurchaseRecommendationGenerationRequest.add_member(:generation_status, Shapes::ShapeRef.new(shape: GenerationStatus, location_name: "GenerationStatus"))
1192
1218
  ListSavingsPlansPurchaseRecommendationGenerationRequest.add_member(:recommendation_ids, Shapes::ShapeRef.new(shape: RecommendationIdList, location_name: "RecommendationIds"))
1193
1219
  ListSavingsPlansPurchaseRecommendationGenerationRequest.add_member(:page_size, Shapes::ShapeRef.new(shape: NonNegativeInteger, location_name: "PageSize"))
@@ -1405,6 +1431,10 @@ module Aws::CostExplorer
1405
1431
 
1406
1432
  ResourceTagList.member = Shapes::ShapeRef.new(shape: ResourceTag)
1407
1433
 
1434
+ ResourceTypes.member = Shapes::ShapeRef.new(shape: ResourceType)
1435
+
1436
+ ResourceTypesFilterInput.member = Shapes::ShapeRef.new(shape: ResourceType)
1437
+
1408
1438
  ResourceUtilization.add_member(:ec2_resource_utilization, Shapes::ShapeRef.new(shape: EC2ResourceUtilization, location_name: "EC2ResourceUtilization"))
1409
1439
  ResourceUtilization.struct_class = Types::ResourceUtilization
1410
1440
 
@@ -2219,6 +2249,22 @@ module Aws::CostExplorer
2219
2249
  )
2220
2250
  end)
2221
2251
 
2252
+ api.add_operation(:list_cost_category_resource_associations, Seahorse::Model::Operation.new.tap do |o|
2253
+ o.name = "ListCostCategoryResourceAssociations"
2254
+ o.http_method = "POST"
2255
+ o.http_request_uri = "/"
2256
+ o.input = Shapes::ShapeRef.new(shape: ListCostCategoryResourceAssociationsRequest)
2257
+ o.output = Shapes::ShapeRef.new(shape: ListCostCategoryResourceAssociationsResponse)
2258
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2259
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2260
+ o[:pager] = Aws::Pager.new(
2261
+ limit_key: "max_results",
2262
+ tokens: {
2263
+ "next_token" => "next_token"
2264
+ }
2265
+ )
2266
+ end)
2267
+
2222
2268
  api.add_operation(:list_savings_plans_purchase_recommendation_generation, Seahorse::Model::Operation.new.tap do |o|
2223
2269
  o.name = "ListSavingsPlansPurchaseRecommendationGeneration"
2224
2270
  o.http_method = "POST"
@@ -716,34 +716,34 @@ module Aws::CostExplorer
716
716
  # the set of rules for the `CostCategory` object.
717
717
  #
718
718
  # @!attribute [rw] cost_category_arn
719
- # The unique identifier for your Cost Category.
719
+ # The unique identifier for your cost category.
720
720
  # @return [String]
721
721
  #
722
722
  # @!attribute [rw] effective_start
723
- # The effective start date of your Cost Category.
723
+ # The effective start date of your cost category.
724
724
  # @return [String]
725
725
  #
726
726
  # @!attribute [rw] effective_end
727
- # The effective end date of your Cost Category.
727
+ # The effective end date of your cost category.
728
728
  # @return [String]
729
729
  #
730
730
  # @!attribute [rw] name
731
- # The unique name of the Cost Category.
731
+ # The unique name of the cost category.
732
732
  # @return [String]
733
733
  #
734
734
  # @!attribute [rw] rule_version
735
- # The rule schema version in this particular Cost Category.
735
+ # The rule schema version in this particular cost category.
736
736
  # @return [String]
737
737
  #
738
738
  # @!attribute [rw] rules
739
739
  # The rules are processed in order. If there are multiple rules that
740
740
  # match the line item, then the first rule to match is used to
741
- # determine that Cost Category value.
741
+ # determine that cost category value.
742
742
  # @return [Array<Types::CostCategoryRule>]
743
743
  #
744
744
  # @!attribute [rw] split_charge_rules
745
745
  # The split charge rules that are used to allocate your charges
746
- # between your Cost Category values.
746
+ # between your cost category values.
747
747
  # @return [Array<Types::CostCategorySplitChargeRule>]
748
748
  #
749
749
  # @!attribute [rw] processing_status
@@ -821,31 +821,31 @@ module Aws::CostExplorer
821
821
  include Aws::Structure
822
822
  end
823
823
 
824
- # A reference to a Cost Category containing only enough information to
824
+ # A reference to a cost category containing only enough information to
825
825
  # identify the Cost Category.
826
826
  #
827
- # You can use this information to retrieve the full Cost Category
827
+ # You can use this information to retrieve the full cost category
828
828
  # information using `DescribeCostCategory`.
829
829
  #
830
830
  # @!attribute [rw] cost_category_arn
831
- # The unique identifier for your Cost Category.
831
+ # The unique identifier for your cost category.
832
832
  # @return [String]
833
833
  #
834
834
  # @!attribute [rw] name
835
- # The unique name of the Cost Category.
835
+ # The unique name of the cost category.
836
836
  # @return [String]
837
837
  #
838
838
  # @!attribute [rw] effective_start
839
- # The Cost Category's effective start date.
839
+ # The cost category's effective start date.
840
840
  # @return [String]
841
841
  #
842
842
  # @!attribute [rw] effective_end
843
- # The Cost Category's effective end date.
843
+ # The cost category's effective end date.
844
844
  # @return [String]
845
845
  #
846
846
  # @!attribute [rw] number_of_rules
847
- # The number of rules that are associated with a specific Cost
848
- # Category.
847
+ # The number of rules that are associated with a specific cost
848
+ # category.
849
849
  # @return [Integer]
850
850
  #
851
851
  # @!attribute [rw] processing_status
@@ -861,6 +861,10 @@ module Aws::CostExplorer
861
861
  # The default value for the cost category.
862
862
  # @return [String]
863
863
  #
864
+ # @!attribute [rw] supported_resource_types
865
+ # The resource types supported by a specific cost category.
866
+ # @return [Array<String>]
867
+ #
864
868
  # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CostCategoryReference AWS API Documentation
865
869
  #
866
870
  class CostCategoryReference < Struct.new(
@@ -871,14 +875,40 @@ module Aws::CostExplorer
871
875
  :number_of_rules,
872
876
  :processing_status,
873
877
  :values,
874
- :default_value)
878
+ :default_value,
879
+ :supported_resource_types)
880
+ SENSITIVE = []
881
+ include Aws::Structure
882
+ end
883
+
884
+ # A reference to a cost category association that contains information
885
+ # on an associated resource.
886
+ #
887
+ # @!attribute [rw] resource_arn
888
+ # The unique identifier for an associated resource.
889
+ # @return [String]
890
+ #
891
+ # @!attribute [rw] cost_category_name
892
+ # The unique name of the cost category.
893
+ # @return [String]
894
+ #
895
+ # @!attribute [rw] cost_category_arn
896
+ # The unique identifier for your cost category.
897
+ # @return [String]
898
+ #
899
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CostCategoryResourceAssociation AWS API Documentation
900
+ #
901
+ class CostCategoryResourceAssociation < Struct.new(
902
+ :resource_arn,
903
+ :cost_category_name,
904
+ :cost_category_arn)
875
905
  SENSITIVE = []
876
906
  include Aws::Structure
877
907
  end
878
908
 
879
909
  # Rules are processed in order. If there are multiple rules that match
880
910
  # the line item, then the first rule to match is used to determine that
881
- # Cost Category value.
911
+ # cost category value.
882
912
  #
883
913
  # @!attribute [rw] value
884
914
  # The default value for the cost category.
@@ -891,7 +921,7 @@ module Aws::CostExplorer
891
921
  # `RECORD_TYPE`, `LINKED_ACCOUNT_NAME`, `REGION`, and `USAGE_TYPE`.
892
922
  #
893
923
  # `RECORD_TYPE` is a dimension used for Cost Explorer APIs, and is
894
- # also supported for Cost Category expressions. This dimension uses
924
+ # also supported for cost category expressions. This dimension uses
895
925
  # different terms, depending on whether you're using the console or
896
926
  # API/JSON editor. For a detailed comparison, see [Term
897
927
  # Comparisons][2] in the *Billing and Cost Management User Guide*.
@@ -930,18 +960,18 @@ module Aws::CostExplorer
930
960
  include Aws::Structure
931
961
  end
932
962
 
933
- # Use the split charge rule to split the cost of one Cost Category value
963
+ # Use the split charge rule to split the cost of one cost category value
934
964
  # across several other target values.
935
965
  #
936
966
  # @!attribute [rw] source
937
- # The Cost Category value that you want to split. That value can't be
967
+ # The cost category value that you want to split. That value can't be
938
968
  # used as a source or a target in other split charge rules. To
939
969
  # indicate uncategorized costs, you can use an empty string as the
940
970
  # source.
941
971
  # @return [String]
942
972
  #
943
973
  # @!attribute [rw] targets
944
- # The Cost Category values that you want to split costs across. These
974
+ # The cost category values that you want to split costs across. These
945
975
  # values can't be used as a source in other split charge rules.
946
976
  # @return [Array<String>]
947
977
  #
@@ -1004,11 +1034,11 @@ module Aws::CostExplorer
1004
1034
  # it filters on resources without the given Cost Categories key.
1005
1035
  #
1006
1036
  # @!attribute [rw] key
1007
- # The unique name of the Cost Category.
1037
+ # The unique name of the cost category.
1008
1038
  # @return [String]
1009
1039
  #
1010
1040
  # @!attribute [rw] values
1011
- # The specific value of the Cost Category.
1041
+ # The specific value of the cost category.
1012
1042
  # @return [Array<String>]
1013
1043
  #
1014
1044
  # @!attribute [rw] match_options
@@ -1434,22 +1464,22 @@ module Aws::CostExplorer
1434
1464
  end
1435
1465
 
1436
1466
  # @!attribute [rw] name
1437
- # The unique name of the Cost Category.
1467
+ # The unique name of the cost category.
1438
1468
  # @return [String]
1439
1469
  #
1440
1470
  # @!attribute [rw] effective_start
1441
- # The Cost Category's effective start date. It can only be a billing
1471
+ # The cost category's effective start date. It can only be a billing
1442
1472
  # start date (first day of the month). If the date isn't provided,
1443
1473
  # it's the first day of the current month. Dates can't be before the
1444
1474
  # previous twelve months, or in the future.
1445
1475
  # @return [String]
1446
1476
  #
1447
1477
  # @!attribute [rw] rule_version
1448
- # The rule schema version in this particular Cost Category.
1478
+ # The rule schema version in this particular cost category.
1449
1479
  # @return [String]
1450
1480
  #
1451
1481
  # @!attribute [rw] rules
1452
- # The Cost Category rules used to categorize costs. For more
1482
+ # The cost category rules used to categorize costs. For more
1453
1483
  # information, see [CostCategoryRule][1].
1454
1484
  #
1455
1485
  #
@@ -1463,7 +1493,7 @@ module Aws::CostExplorer
1463
1493
  #
1464
1494
  # @!attribute [rw] split_charge_rules
1465
1495
  # The split charge rules used to allocate your charges between your
1466
- # Cost Category values.
1496
+ # cost category values.
1467
1497
  # @return [Array<Types::CostCategorySplitChargeRule>]
1468
1498
  #
1469
1499
  # @!attribute [rw] resource_tags
@@ -1513,11 +1543,11 @@ module Aws::CostExplorer
1513
1543
  end
1514
1544
 
1515
1545
  # @!attribute [rw] cost_category_arn
1516
- # The unique identifier for your newly created Cost Category.
1546
+ # The unique identifier for your newly created cost category.
1517
1547
  # @return [String]
1518
1548
  #
1519
1549
  # @!attribute [rw] effective_start
1520
- # The Cost Category's effective start date. It can only be a billing
1550
+ # The cost category's effective start date. It can only be a billing
1521
1551
  # start date (first day of the month).
1522
1552
  # @return [String]
1523
1553
  #
@@ -1676,7 +1706,7 @@ module Aws::CostExplorer
1676
1706
  class DeleteAnomalySubscriptionResponse < Aws::EmptyStructure; end
1677
1707
 
1678
1708
  # @!attribute [rw] cost_category_arn
1679
- # The unique identifier for your Cost Category.
1709
+ # The unique identifier for your cost category.
1680
1710
  # @return [String]
1681
1711
  #
1682
1712
  # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/DeleteCostCategoryDefinitionRequest AWS API Documentation
@@ -1688,13 +1718,13 @@ module Aws::CostExplorer
1688
1718
  end
1689
1719
 
1690
1720
  # @!attribute [rw] cost_category_arn
1691
- # The unique identifier for your Cost Category.
1721
+ # The unique identifier for your cost category.
1692
1722
  # @return [String]
1693
1723
  #
1694
1724
  # @!attribute [rw] effective_end
1695
- # The effective end date of the Cost Category as a result of deleting
1696
- # it. No costs after this date is categorized by the deleted Cost
1697
- # Category.
1725
+ # The effective end date of the cost category as a result of deleting
1726
+ # it. No costs after this date is categorized by the deleted cost
1727
+ # category.
1698
1728
  # @return [String]
1699
1729
  #
1700
1730
  # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/DeleteCostCategoryDefinitionResponse AWS API Documentation
@@ -1707,11 +1737,11 @@ module Aws::CostExplorer
1707
1737
  end
1708
1738
 
1709
1739
  # @!attribute [rw] cost_category_arn
1710
- # The unique identifier for your Cost Category.
1740
+ # The unique identifier for your cost category.
1711
1741
  # @return [String]
1712
1742
  #
1713
1743
  # @!attribute [rw] effective_on
1714
- # The date when the Cost Category was effective.
1744
+ # The date when the cost category was effective.
1715
1745
  # @return [String]
1716
1746
  #
1717
1747
  # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/DescribeCostCategoryDefinitionRequest AWS API Documentation
@@ -1768,8 +1798,8 @@ module Aws::CostExplorer
1768
1798
  # @!attribute [rw] match_options
1769
1799
  # The match options that you can use to filter your results.
1770
1800
  #
1771
- # `MatchOptions` is only applicable for actions related to Cost
1772
- # Category and Anomaly Subscriptions. Refer to the documentation for
1801
+ # `MatchOptions` is only applicable for actions related to cost
1802
+ # category and Anomaly Subscriptions. Refer to the documentation for
1773
1803
  # each specific API to see what is supported.
1774
1804
  #
1775
1805
  # The default values for `MatchOptions` are `EQUALS` and
@@ -2940,6 +2970,11 @@ module Aws::CostExplorer
2940
2970
  # service. You can nest `Expression` objects to define any combination
2941
2971
  # of dimension filters. For more information, see [Expression][1].
2942
2972
  #
2973
+ # The `GetCostAndUsageWithResources` operation requires that you
2974
+ # either group by or filter by a `ResourceId`. It requires the
2975
+ # [Expression][1] `"SERVICE = Amazon Elastic Compute Cloud - Compute"`
2976
+ # in the filter.
2977
+ #
2943
2978
  # Valid values for `MatchOptions` for `Dimensions` are `EQUALS` and
2944
2979
  # `CASE_SENSITIVE`.
2945
2980
  #
@@ -3048,9 +3083,9 @@ module Aws::CostExplorer
3048
3083
  # The value that you want to search the filter values for.
3049
3084
  #
3050
3085
  # If you don't specify a `CostCategoryName`, `SearchString` is used
3051
- # to filter Cost Category names that match the `SearchString` pattern.
3086
+ # to filter cost category names that match the `SearchString` pattern.
3052
3087
  # If you specify a `CostCategoryName`, `SearchString` is used to
3053
- # filter Cost Category values that match the `SearchString` pattern.
3088
+ # filter cost category values that match the `SearchString` pattern.
3054
3089
  # @return [String]
3055
3090
  #
3056
3091
  # @!attribute [rw] time_period
@@ -3058,7 +3093,7 @@ module Aws::CostExplorer
3058
3093
  # @return [Types::DateInterval]
3059
3094
  #
3060
3095
  # @!attribute [rw] cost_category_name
3061
- # The unique name of the Cost Category.
3096
+ # The unique name of the cost category.
3062
3097
  # @return [String]
3063
3098
  #
3064
3099
  # @!attribute [rw] filter
@@ -3230,11 +3265,11 @@ module Aws::CostExplorer
3230
3265
  # @return [String]
3231
3266
  #
3232
3267
  # @!attribute [rw] cost_category_names
3233
- # The names of the Cost Categories.
3268
+ # The names of the cost categories.
3234
3269
  # @return [Array<String>]
3235
3270
  #
3236
3271
  # @!attribute [rw] cost_category_values
3237
- # The Cost Category values.
3272
+ # The cost category values.
3238
3273
  #
3239
3274
  # If the `CostCategoryName` key isn't specified in the request, the
3240
3275
  # `CostCategoryValues` fields aren't returned.
@@ -5790,7 +5825,7 @@ module Aws::CostExplorer
5790
5825
  end
5791
5826
 
5792
5827
  # @!attribute [rw] effective_on
5793
- # The date when the Cost Category was effective.
5828
+ # The date when the cost category was effective.
5794
5829
  # @return [String]
5795
5830
  #
5796
5831
  # @!attribute [rw] next_token
@@ -5803,18 +5838,27 @@ module Aws::CostExplorer
5803
5838
  # The number of entries a paginated response contains.
5804
5839
  # @return [Integer]
5805
5840
  #
5841
+ # @!attribute [rw] supported_resource_types
5842
+ # Filter cost category definitions that are supported by given
5843
+ # resource types based on the latest version. If the filter is
5844
+ # present, the result only includes Cost Categories that supports
5845
+ # input resource type. If the filter isn't provided, no filtering is
5846
+ # applied. The valid values are `billing:rispgroupsharing`.
5847
+ # @return [Array<String>]
5848
+ #
5806
5849
  # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ListCostCategoryDefinitionsRequest AWS API Documentation
5807
5850
  #
5808
5851
  class ListCostCategoryDefinitionsRequest < Struct.new(
5809
5852
  :effective_on,
5810
5853
  :next_token,
5811
- :max_results)
5854
+ :max_results,
5855
+ :supported_resource_types)
5812
5856
  SENSITIVE = []
5813
5857
  include Aws::Structure
5814
5858
  end
5815
5859
 
5816
5860
  # @!attribute [rw] cost_category_references
5817
- # A reference to a Cost Category that contains enough information to
5861
+ # A reference to a cost category that contains enough information to
5818
5862
  # identify the Cost Category.
5819
5863
  # @return [Array<Types::CostCategoryReference>]
5820
5864
  #
@@ -5833,6 +5877,50 @@ module Aws::CostExplorer
5833
5877
  include Aws::Structure
5834
5878
  end
5835
5879
 
5880
+ # @!attribute [rw] cost_category_arn
5881
+ # The unique identifier for your cost category.
5882
+ # @return [String]
5883
+ #
5884
+ # @!attribute [rw] next_token
5885
+ # The token to retrieve the next set of results. Amazon Web Services
5886
+ # provides the token when the response from a previous call has more
5887
+ # results than the maximum page size.
5888
+ # @return [String]
5889
+ #
5890
+ # @!attribute [rw] max_results
5891
+ # The number of entries a paginated response contains.
5892
+ # @return [Integer]
5893
+ #
5894
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ListCostCategoryResourceAssociationsRequest AWS API Documentation
5895
+ #
5896
+ class ListCostCategoryResourceAssociationsRequest < Struct.new(
5897
+ :cost_category_arn,
5898
+ :next_token,
5899
+ :max_results)
5900
+ SENSITIVE = []
5901
+ include Aws::Structure
5902
+ end
5903
+
5904
+ # @!attribute [rw] cost_category_resource_associations
5905
+ # A reference to a cost category association that contains information
5906
+ # on an associated resource.
5907
+ # @return [Array<Types::CostCategoryResourceAssociation>]
5908
+ #
5909
+ # @!attribute [rw] next_token
5910
+ # The token to retrieve the next set of results. Amazon Web Services
5911
+ # provides the token when the response from a previous call has more
5912
+ # results than the maximum page size.
5913
+ # @return [String]
5914
+ #
5915
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ListCostCategoryResourceAssociationsResponse AWS API Documentation
5916
+ #
5917
+ class ListCostCategoryResourceAssociationsResponse < Struct.new(
5918
+ :cost_category_resource_associations,
5919
+ :next_token)
5920
+ SENSITIVE = []
5921
+ include Aws::Structure
5922
+ end
5923
+
5836
5924
  # @!attribute [rw] generation_status
5837
5925
  # The status of the recommendation generation.
5838
5926
  # @return [String]
@@ -8089,8 +8177,8 @@ module Aws::CostExplorer
8089
8177
  #
8090
8178
  # @!attribute [rw] match_options
8091
8179
  # The match options that you can use to filter your results.
8092
- # `MatchOptions` is only applicable for actions related to Cost
8093
- # Category. The default values for `MatchOptions` are `EQUALS` and
8180
+ # `MatchOptions` is only applicable for actions related to cost
8181
+ # category. The default values for `MatchOptions` are `EQUALS` and
8094
8182
  # `CASE_SENSITIVE`.
8095
8183
  # @return [Array<String>]
8096
8184
  #
@@ -8474,18 +8562,18 @@ module Aws::CostExplorer
8474
8562
  end
8475
8563
 
8476
8564
  # @!attribute [rw] cost_category_arn
8477
- # The unique identifier for your Cost Category.
8565
+ # The unique identifier for your cost category.
8478
8566
  # @return [String]
8479
8567
  #
8480
8568
  # @!attribute [rw] effective_start
8481
- # The Cost Category's effective start date. It can only be a billing
8569
+ # The cost category's effective start date. It can only be a billing
8482
8570
  # start date (first day of the month). If the date isn't provided,
8483
8571
  # it's the first day of the current month. Dates can't be before the
8484
8572
  # previous twelve months, or in the future.
8485
8573
  # @return [String]
8486
8574
  #
8487
8575
  # @!attribute [rw] rule_version
8488
- # The rule schema version in this particular Cost Category.
8576
+ # The rule schema version in this particular cost category.
8489
8577
  # @return [String]
8490
8578
  #
8491
8579
  # @!attribute [rw] rules
@@ -8503,7 +8591,7 @@ module Aws::CostExplorer
8503
8591
  #
8504
8592
  # @!attribute [rw] split_charge_rules
8505
8593
  # The split charge rules used to allocate your charges between your
8506
- # Cost Category values.
8594
+ # cost category values.
8507
8595
  # @return [Array<Types::CostCategorySplitChargeRule>]
8508
8596
  #
8509
8597
  # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/UpdateCostCategoryDefinitionRequest AWS API Documentation
@@ -8520,11 +8608,11 @@ module Aws::CostExplorer
8520
8608
  end
8521
8609
 
8522
8610
  # @!attribute [rw] cost_category_arn
8523
- # The unique identifier for your Cost Category.
8611
+ # The unique identifier for your cost category.
8524
8612
  # @return [String]
8525
8613
  #
8526
8614
  # @!attribute [rw] effective_start
8527
- # The Cost Category's effective start date. It can only be a billing
8615
+ # The cost category's effective start date. It can only be a billing
8528
8616
  # start date (first day of the month).
8529
8617
  # @return [String]
8530
8618
  #
@@ -54,7 +54,7 @@ module Aws::CostExplorer
54
54
  autoload :EndpointProvider, 'aws-sdk-costexplorer/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-costexplorer/endpoints'
56
56
 
57
- GEM_VERSION = '1.141.0'
57
+ GEM_VERSION = '1.142.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -1256,10 +1256,24 @@ module Aws
1256
1256
  def list_cost_category_definitions: (
1257
1257
  ?effective_on: ::String,
1258
1258
  ?next_token: ::String,
1259
- ?max_results: ::Integer
1259
+ ?max_results: ::Integer,
1260
+ ?supported_resource_types: Array[::String]
1260
1261
  ) -> _ListCostCategoryDefinitionsResponseSuccess
1261
1262
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCostCategoryDefinitionsResponseSuccess
1262
1263
 
1264
+ interface _ListCostCategoryResourceAssociationsResponseSuccess
1265
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCostCategoryResourceAssociationsResponse]
1266
+ def cost_category_resource_associations: () -> ::Array[Types::CostCategoryResourceAssociation]
1267
+ def next_token: () -> ::String
1268
+ end
1269
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CostExplorer/Client.html#list_cost_category_resource_associations-instance_method
1270
+ def list_cost_category_resource_associations: (
1271
+ ?cost_category_arn: ::String,
1272
+ ?next_token: ::String,
1273
+ ?max_results: ::Integer
1274
+ ) -> _ListCostCategoryResourceAssociationsResponseSuccess
1275
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCostCategoryResourceAssociationsResponseSuccess
1276
+
1263
1277
  interface _ListSavingsPlansPurchaseRecommendationGenerationResponseSuccess
1264
1278
  include ::Seahorse::Client::_ResponseSuccess[Types::ListSavingsPlansPurchaseRecommendationGenerationResponse]
1265
1279
  def generation_summary_list: () -> ::Array[Types::GenerationSummary]
data/sig/types.rbs CHANGED
@@ -171,6 +171,14 @@ module Aws::CostExplorer
171
171
  attr_accessor processing_status: ::Array[Types::CostCategoryProcessingStatus]
172
172
  attr_accessor values: ::Array[::String]
173
173
  attr_accessor default_value: ::String
174
+ attr_accessor supported_resource_types: ::Array[::String]
175
+ SENSITIVE: []
176
+ end
177
+
178
+ class CostCategoryResourceAssociation
179
+ attr_accessor resource_arn: ::String
180
+ attr_accessor cost_category_name: ::String
181
+ attr_accessor cost_category_arn: ::String
174
182
  SENSITIVE: []
175
183
  end
176
184
 
@@ -966,6 +974,7 @@ module Aws::CostExplorer
966
974
  attr_accessor effective_on: ::String
967
975
  attr_accessor next_token: ::String
968
976
  attr_accessor max_results: ::Integer
977
+ attr_accessor supported_resource_types: ::Array[::String]
969
978
  SENSITIVE: []
970
979
  end
971
980
 
@@ -975,6 +984,19 @@ module Aws::CostExplorer
975
984
  SENSITIVE: []
976
985
  end
977
986
 
987
+ class ListCostCategoryResourceAssociationsRequest
988
+ attr_accessor cost_category_arn: ::String
989
+ attr_accessor next_token: ::String
990
+ attr_accessor max_results: ::Integer
991
+ SENSITIVE: []
992
+ end
993
+
994
+ class ListCostCategoryResourceAssociationsResponse
995
+ attr_accessor cost_category_resource_associations: ::Array[Types::CostCategoryResourceAssociation]
996
+ attr_accessor next_token: ::String
997
+ SENSITIVE: []
998
+ end
999
+
978
1000
  class ListSavingsPlansPurchaseRecommendationGenerationRequest
979
1001
  attr_accessor generation_status: ("SUCCEEDED" | "PROCESSING" | "FAILED")
980
1002
  attr_accessor recommendation_ids: ::Array[::String]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-costexplorer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.141.0
4
+ version: 1.142.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services