aws-sdk-costexplorer 1.76.0 → 1.78.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.
@@ -32,6 +32,14 @@ module Aws::CostExplorer
32
32
  Attributes = Shapes::MapShape.new(name: 'Attributes')
33
33
  BillExpirationException = Shapes::StructureShape.new(name: 'BillExpirationException')
34
34
  Context = Shapes::StringShape.new(name: 'Context')
35
+ CostAllocationTag = Shapes::StructureShape.new(name: 'CostAllocationTag')
36
+ CostAllocationTagKeyList = Shapes::ListShape.new(name: 'CostAllocationTagKeyList')
37
+ CostAllocationTagList = Shapes::ListShape.new(name: 'CostAllocationTagList')
38
+ CostAllocationTagStatus = Shapes::StringShape.new(name: 'CostAllocationTagStatus')
39
+ CostAllocationTagStatusEntry = Shapes::StructureShape.new(name: 'CostAllocationTagStatusEntry')
40
+ CostAllocationTagStatusList = Shapes::ListShape.new(name: 'CostAllocationTagStatusList')
41
+ CostAllocationTagType = Shapes::StringShape.new(name: 'CostAllocationTagType')
42
+ CostAllocationTagsMaxResults = Shapes::IntegerShape.new(name: 'CostAllocationTagsMaxResults')
35
43
  CostCategory = Shapes::StructureShape.new(name: 'CostCategory')
36
44
  CostCategoryInheritedValueDimension = Shapes::StructureShape.new(name: 'CostCategoryInheritedValueDimension')
37
45
  CostCategoryInheritedValueDimensionName = Shapes::StringShape.new(name: 'CostCategoryInheritedValueDimensionName')
@@ -157,6 +165,8 @@ module Aws::CostExplorer
157
165
  Key = Shapes::StringShape.new(name: 'Key')
158
166
  Keys = Shapes::ListShape.new(name: 'Keys')
159
167
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
168
+ ListCostAllocationTagsRequest = Shapes::StructureShape.new(name: 'ListCostAllocationTagsRequest')
169
+ ListCostAllocationTagsResponse = Shapes::StructureShape.new(name: 'ListCostAllocationTagsResponse')
160
170
  ListCostCategoryDefinitionsRequest = Shapes::StructureShape.new(name: 'ListCostCategoryDefinitionsRequest')
161
171
  ListCostCategoryDefinitionsResponse = Shapes::StructureShape.new(name: 'ListCostCategoryDefinitionsResponse')
162
172
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
@@ -298,6 +308,10 @@ module Aws::CostExplorer
298
308
  UpdateAnomalyMonitorResponse = Shapes::StructureShape.new(name: 'UpdateAnomalyMonitorResponse')
299
309
  UpdateAnomalySubscriptionRequest = Shapes::StructureShape.new(name: 'UpdateAnomalySubscriptionRequest')
300
310
  UpdateAnomalySubscriptionResponse = Shapes::StructureShape.new(name: 'UpdateAnomalySubscriptionResponse')
311
+ UpdateCostAllocationTagsStatusError = Shapes::StructureShape.new(name: 'UpdateCostAllocationTagsStatusError')
312
+ UpdateCostAllocationTagsStatusErrors = Shapes::ListShape.new(name: 'UpdateCostAllocationTagsStatusErrors')
313
+ UpdateCostAllocationTagsStatusRequest = Shapes::StructureShape.new(name: 'UpdateCostAllocationTagsStatusRequest')
314
+ UpdateCostAllocationTagsStatusResponse = Shapes::StructureShape.new(name: 'UpdateCostAllocationTagsStatusResponse')
301
315
  UpdateCostCategoryDefinitionRequest = Shapes::StructureShape.new(name: 'UpdateCostCategoryDefinitionRequest')
302
316
  UpdateCostCategoryDefinitionResponse = Shapes::StructureShape.new(name: 'UpdateCostCategoryDefinitionResponse')
303
317
  UtilizationByTime = Shapes::StructureShape.new(name: 'UtilizationByTime')
@@ -360,6 +374,21 @@ module Aws::CostExplorer
360
374
  BillExpirationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
361
375
  BillExpirationException.struct_class = Types::BillExpirationException
362
376
 
377
+ CostAllocationTag.add_member(:tag_key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "TagKey"))
378
+ CostAllocationTag.add_member(:type, Shapes::ShapeRef.new(shape: CostAllocationTagType, required: true, location_name: "Type"))
379
+ CostAllocationTag.add_member(:status, Shapes::ShapeRef.new(shape: CostAllocationTagStatus, required: true, location_name: "Status"))
380
+ CostAllocationTag.struct_class = Types::CostAllocationTag
381
+
382
+ CostAllocationTagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
383
+
384
+ CostAllocationTagList.member = Shapes::ShapeRef.new(shape: CostAllocationTag)
385
+
386
+ CostAllocationTagStatusEntry.add_member(:tag_key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "TagKey"))
387
+ CostAllocationTagStatusEntry.add_member(:status, Shapes::ShapeRef.new(shape: CostAllocationTagStatus, required: true, location_name: "Status"))
388
+ CostAllocationTagStatusEntry.struct_class = Types::CostAllocationTagStatusEntry
389
+
390
+ CostAllocationTagStatusList.member = Shapes::ShapeRef.new(shape: CostAllocationTagStatusEntry)
391
+
363
392
  CostCategory.add_member(:cost_category_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CostCategoryArn"))
364
393
  CostCategory.add_member(:effective_start, Shapes::ShapeRef.new(shape: ZonedDateTime, required: true, location_name: "EffectiveStart"))
365
394
  CostCategory.add_member(:effective_end, Shapes::ShapeRef.new(shape: ZonedDateTime, location_name: "EffectiveEnd"))
@@ -470,6 +499,7 @@ module Aws::CostExplorer
470
499
  CreateAnomalySubscriptionResponse.struct_class = Types::CreateAnomalySubscriptionResponse
471
500
 
472
501
  CreateCostCategoryDefinitionRequest.add_member(:name, Shapes::ShapeRef.new(shape: CostCategoryName, required: true, location_name: "Name"))
502
+ CreateCostCategoryDefinitionRequest.add_member(:effective_start, Shapes::ShapeRef.new(shape: ZonedDateTime, location_name: "EffectiveStart"))
473
503
  CreateCostCategoryDefinitionRequest.add_member(:rule_version, Shapes::ShapeRef.new(shape: CostCategoryRuleVersion, required: true, location_name: "RuleVersion"))
474
504
  CreateCostCategoryDefinitionRequest.add_member(:rules, Shapes::ShapeRef.new(shape: CostCategoryRulesList, required: true, location_name: "Rules"))
475
505
  CreateCostCategoryDefinitionRequest.add_member(:default_value, Shapes::ShapeRef.new(shape: CostCategoryValue, location_name: "DefaultValue"))
@@ -887,6 +917,17 @@ module Aws::CostExplorer
887
917
  LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
888
918
  LimitExceededException.struct_class = Types::LimitExceededException
889
919
 
920
+ ListCostAllocationTagsRequest.add_member(:status, Shapes::ShapeRef.new(shape: CostAllocationTagStatus, location_name: "Status"))
921
+ ListCostAllocationTagsRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: CostAllocationTagKeyList, location_name: "TagKeys"))
922
+ ListCostAllocationTagsRequest.add_member(:type, Shapes::ShapeRef.new(shape: CostAllocationTagType, location_name: "Type"))
923
+ ListCostAllocationTagsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextToken"))
924
+ ListCostAllocationTagsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: CostAllocationTagsMaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
925
+ ListCostAllocationTagsRequest.struct_class = Types::ListCostAllocationTagsRequest
926
+
927
+ ListCostAllocationTagsResponse.add_member(:cost_allocation_tags, Shapes::ShapeRef.new(shape: CostAllocationTagList, location_name: "CostAllocationTags"))
928
+ ListCostAllocationTagsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextToken"))
929
+ ListCostAllocationTagsResponse.struct_class = Types::ListCostAllocationTagsResponse
930
+
890
931
  ListCostCategoryDefinitionsRequest.add_member(:effective_on, Shapes::ShapeRef.new(shape: ZonedDateTime, location_name: "EffectiveOn"))
891
932
  ListCostCategoryDefinitionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextToken"))
892
933
  ListCostCategoryDefinitionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: CostCategoryMaxResults, location_name: "MaxResults", metadata: {"box"=>true}))
@@ -1285,7 +1326,21 @@ module Aws::CostExplorer
1285
1326
  UpdateAnomalySubscriptionResponse.add_member(:subscription_arn, Shapes::ShapeRef.new(shape: GenericString, required: true, location_name: "SubscriptionArn"))
1286
1327
  UpdateAnomalySubscriptionResponse.struct_class = Types::UpdateAnomalySubscriptionResponse
1287
1328
 
1329
+ UpdateCostAllocationTagsStatusError.add_member(:tag_key, Shapes::ShapeRef.new(shape: TagKey, location_name: "TagKey"))
1330
+ UpdateCostAllocationTagsStatusError.add_member(:code, Shapes::ShapeRef.new(shape: GenericString, location_name: "Code"))
1331
+ UpdateCostAllocationTagsStatusError.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
1332
+ UpdateCostAllocationTagsStatusError.struct_class = Types::UpdateCostAllocationTagsStatusError
1333
+
1334
+ UpdateCostAllocationTagsStatusErrors.member = Shapes::ShapeRef.new(shape: UpdateCostAllocationTagsStatusError)
1335
+
1336
+ UpdateCostAllocationTagsStatusRequest.add_member(:cost_allocation_tags_status, Shapes::ShapeRef.new(shape: CostAllocationTagStatusList, required: true, location_name: "CostAllocationTagsStatus"))
1337
+ UpdateCostAllocationTagsStatusRequest.struct_class = Types::UpdateCostAllocationTagsStatusRequest
1338
+
1339
+ UpdateCostAllocationTagsStatusResponse.add_member(:errors, Shapes::ShapeRef.new(shape: UpdateCostAllocationTagsStatusErrors, location_name: "Errors"))
1340
+ UpdateCostAllocationTagsStatusResponse.struct_class = Types::UpdateCostAllocationTagsStatusResponse
1341
+
1288
1342
  UpdateCostCategoryDefinitionRequest.add_member(:cost_category_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "CostCategoryArn"))
1343
+ UpdateCostCategoryDefinitionRequest.add_member(:effective_start, Shapes::ShapeRef.new(shape: ZonedDateTime, location_name: "EffectiveStart"))
1289
1344
  UpdateCostCategoryDefinitionRequest.add_member(:rule_version, Shapes::ShapeRef.new(shape: CostCategoryRuleVersion, required: true, location_name: "RuleVersion"))
1290
1345
  UpdateCostCategoryDefinitionRequest.add_member(:rules, Shapes::ShapeRef.new(shape: CostCategoryRulesList, required: true, location_name: "Rules"))
1291
1346
  UpdateCostCategoryDefinitionRequest.add_member(:default_value, Shapes::ShapeRef.new(shape: CostCategoryValue, location_name: "DefaultValue"))
@@ -1609,6 +1664,22 @@ module Aws::CostExplorer
1609
1664
  o.errors << Shapes::ShapeRef.new(shape: UnresolvableUsageUnitException)
1610
1665
  end)
1611
1666
 
1667
+ api.add_operation(:list_cost_allocation_tags, Seahorse::Model::Operation.new.tap do |o|
1668
+ o.name = "ListCostAllocationTags"
1669
+ o.http_method = "POST"
1670
+ o.http_request_uri = "/"
1671
+ o.input = Shapes::ShapeRef.new(shape: ListCostAllocationTagsRequest)
1672
+ o.output = Shapes::ShapeRef.new(shape: ListCostAllocationTagsResponse)
1673
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1674
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
1675
+ o[:pager] = Aws::Pager.new(
1676
+ limit_key: "max_results",
1677
+ tokens: {
1678
+ "next_token" => "next_token"
1679
+ }
1680
+ )
1681
+ end)
1682
+
1612
1683
  api.add_operation(:list_cost_category_definitions, Seahorse::Model::Operation.new.tap do |o|
1613
1684
  o.name = "ListCostCategoryDefinitions"
1614
1685
  o.http_method = "POST"
@@ -1685,6 +1756,15 @@ module Aws::CostExplorer
1685
1756
  o.errors << Shapes::ShapeRef.new(shape: UnknownSubscriptionException)
1686
1757
  end)
1687
1758
 
1759
+ api.add_operation(:update_cost_allocation_tags_status, Seahorse::Model::Operation.new.tap do |o|
1760
+ o.name = "UpdateCostAllocationTagsStatus"
1761
+ o.http_method = "POST"
1762
+ o.http_request_uri = "/"
1763
+ o.input = Shapes::ShapeRef.new(shape: UpdateCostAllocationTagsStatusRequest)
1764
+ o.output = Shapes::ShapeRef.new(shape: UpdateCostAllocationTagsStatusResponse)
1765
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1766
+ end)
1767
+
1688
1768
  api.add_operation(:update_cost_category_definition, Seahorse::Model::Operation.new.tap do |o|
1689
1769
  o.name = "UpdateCostCategoryDefinition"
1690
1770
  o.http_method = "POST"