aws-sdk-costexplorer 1.77.0 → 1.78.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/client.rb +21 -1
- data/lib/aws-sdk-costexplorer/client_api.rb +2 -0
- data/lib/aws-sdk-costexplorer/types.rb +39 -7
- data/lib/aws-sdk-costexplorer.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 73e0a5282f76f86618932dca1cee2bd696861dd37a0f210a9b07c3d042253490
|
4
|
+
data.tar.gz: '008366c116ae2d567bb2008a109b57dbb356b6e9921e1e7259493281a9859016'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46559160286a73bfa4366b5067bc5e783d39bf8fc9f57a10827eba04ab6c3265d8b3d199f5d1fc29615aedb78cd532e4e4605b00f85e81c64bc84c3c0b1f6ce1
|
7
|
+
data.tar.gz: 61c27afe6938e945607d9118e2405a63a9b1e93172d6597606e0a499c6c581c24c5fb9ba535d3ab7ea9c142ff7949173e2155baca69c5890b0036a60603b28f5
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.78.0 (2022-09-27)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release is to support retroactive Cost Categories. The new field will enable you to retroactively apply new and existing cost category rules to previous months.
|
8
|
+
|
4
9
|
1.77.0 (2022-06-07)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.78.0
|
@@ -551,6 +551,12 @@ module Aws::CostExplorer
|
|
551
551
|
# @option params [required, String] :name
|
552
552
|
# The unique name of the Cost Category.
|
553
553
|
#
|
554
|
+
# @option params [String] :effective_start
|
555
|
+
# The Cost Category's effective start date. It can only be a billing
|
556
|
+
# start date (first day of the month). If the date isn't provided,
|
557
|
+
# it's the first day of the current month. Dates can't be before the
|
558
|
+
# previous twelve months, or in the future.
|
559
|
+
#
|
554
560
|
# @option params [required, String] :rule_version
|
555
561
|
# The rule schema version in this particular Cost Category.
|
556
562
|
#
|
@@ -608,6 +614,7 @@ module Aws::CostExplorer
|
|
608
614
|
#
|
609
615
|
# resp = client.create_cost_category_definition({
|
610
616
|
# name: "CostCategoryName", # required
|
617
|
+
# effective_start: "ZonedDateTime",
|
611
618
|
# rule_version: "CostCategoryExpression.v1", # required, accepts CostCategoryExpression.v1
|
612
619
|
# rules: [ # required
|
613
620
|
# {
|
@@ -1779,6 +1786,12 @@ module Aws::CostExplorer
|
|
1779
1786
|
# @option params [required, String] :dimension
|
1780
1787
|
# The name of the dimension. Each `Dimension` is available for a
|
1781
1788
|
# different `Context`. For more information, see `Context`.
|
1789
|
+
# `LINK_ACCOUNT_NAME` and `SERVICE_CODE` can only be used in
|
1790
|
+
# [CostCategoryRule][1].
|
1791
|
+
#
|
1792
|
+
#
|
1793
|
+
#
|
1794
|
+
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/AAPI_CostCategoryRule.html
|
1782
1795
|
#
|
1783
1796
|
# @option params [String] :context
|
1784
1797
|
# The context for the call to `GetDimensionValues`. This can be
|
@@ -4486,6 +4499,12 @@ module Aws::CostExplorer
|
|
4486
4499
|
# @option params [required, String] :cost_category_arn
|
4487
4500
|
# The unique identifier for your Cost Category.
|
4488
4501
|
#
|
4502
|
+
# @option params [String] :effective_start
|
4503
|
+
# The Cost Category's effective start date. It can only be a billing
|
4504
|
+
# start date (first day of the month). If the date isn't provided,
|
4505
|
+
# it's the first day of the current month. Dates can't be before the
|
4506
|
+
# previous twelve months, or in the future.
|
4507
|
+
#
|
4489
4508
|
# @option params [required, String] :rule_version
|
4490
4509
|
# The rule schema version in this particular Cost Category.
|
4491
4510
|
#
|
@@ -4513,6 +4532,7 @@ module Aws::CostExplorer
|
|
4513
4532
|
#
|
4514
4533
|
# resp = client.update_cost_category_definition({
|
4515
4534
|
# cost_category_arn: "Arn", # required
|
4535
|
+
# effective_start: "ZonedDateTime",
|
4516
4536
|
# rule_version: "CostCategoryExpression.v1", # required, accepts CostCategoryExpression.v1
|
4517
4537
|
# rules: [ # required
|
4518
4538
|
# {
|
@@ -4597,7 +4617,7 @@ module Aws::CostExplorer
|
|
4597
4617
|
params: params,
|
4598
4618
|
config: config)
|
4599
4619
|
context[:gem_name] = 'aws-sdk-costexplorer'
|
4600
|
-
context[:gem_version] = '1.
|
4620
|
+
context[:gem_version] = '1.78.0'
|
4601
4621
|
Seahorse::Client::Request.new(handlers, context)
|
4602
4622
|
end
|
4603
4623
|
|
@@ -499,6 +499,7 @@ module Aws::CostExplorer
|
|
499
499
|
CreateAnomalySubscriptionResponse.struct_class = Types::CreateAnomalySubscriptionResponse
|
500
500
|
|
501
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"))
|
502
503
|
CreateCostCategoryDefinitionRequest.add_member(:rule_version, Shapes::ShapeRef.new(shape: CostCategoryRuleVersion, required: true, location_name: "RuleVersion"))
|
503
504
|
CreateCostCategoryDefinitionRequest.add_member(:rules, Shapes::ShapeRef.new(shape: CostCategoryRulesList, required: true, location_name: "Rules"))
|
504
505
|
CreateCostCategoryDefinitionRequest.add_member(:default_value, Shapes::ShapeRef.new(shape: CostCategoryValue, location_name: "DefaultValue"))
|
@@ -1339,6 +1340,7 @@ module Aws::CostExplorer
|
|
1339
1340
|
UpdateCostAllocationTagsStatusResponse.struct_class = Types::UpdateCostAllocationTagsStatusResponse
|
1340
1341
|
|
1341
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"))
|
1342
1344
|
UpdateCostCategoryDefinitionRequest.add_member(:rule_version, Shapes::ShapeRef.new(shape: CostCategoryRuleVersion, required: true, location_name: "RuleVersion"))
|
1343
1345
|
UpdateCostCategoryDefinitionRequest.add_member(:rules, Shapes::ShapeRef.new(shape: CostCategoryRulesList, required: true, location_name: "Rules"))
|
1344
1346
|
UpdateCostCategoryDefinitionRequest.add_member(:default_value, Shapes::ShapeRef.new(shape: CostCategoryValue, location_name: "DefaultValue"))
|
@@ -411,11 +411,11 @@ module Aws::CostExplorer
|
|
411
411
|
# @return [String]
|
412
412
|
#
|
413
413
|
# @!attribute [rw] effective_start
|
414
|
-
# The effective
|
414
|
+
# The effective start date of your Cost Category.
|
415
415
|
# @return [String]
|
416
416
|
#
|
417
417
|
# @!attribute [rw] effective_end
|
418
|
-
# The effective end
|
418
|
+
# The effective end date of your Cost Category.
|
419
419
|
# @return [String]
|
420
420
|
#
|
421
421
|
# @!attribute [rw] name
|
@@ -1144,6 +1144,7 @@ module Aws::CostExplorer
|
|
1144
1144
|
#
|
1145
1145
|
# {
|
1146
1146
|
# name: "CostCategoryName", # required
|
1147
|
+
# effective_start: "ZonedDateTime",
|
1147
1148
|
# rule_version: "CostCategoryExpression.v1", # required, accepts CostCategoryExpression.v1
|
1148
1149
|
# rules: [ # required
|
1149
1150
|
# {
|
@@ -1211,6 +1212,13 @@ module Aws::CostExplorer
|
|
1211
1212
|
# The unique name of the Cost Category.
|
1212
1213
|
# @return [String]
|
1213
1214
|
#
|
1215
|
+
# @!attribute [rw] effective_start
|
1216
|
+
# The Cost Category's effective start date. It can only be a billing
|
1217
|
+
# start date (first day of the month). If the date isn't provided,
|
1218
|
+
# it's the first day of the current month. Dates can't be before the
|
1219
|
+
# previous twelve months, or in the future.
|
1220
|
+
# @return [String]
|
1221
|
+
#
|
1214
1222
|
# @!attribute [rw] rule_version
|
1215
1223
|
# The rule schema version in this particular Cost Category.
|
1216
1224
|
# @return [String]
|
@@ -1269,6 +1277,7 @@ module Aws::CostExplorer
|
|
1269
1277
|
#
|
1270
1278
|
class CreateCostCategoryDefinitionRequest < Struct.new(
|
1271
1279
|
:name,
|
1280
|
+
:effective_start,
|
1272
1281
|
:rule_version,
|
1273
1282
|
:rules,
|
1274
1283
|
:default_value,
|
@@ -1283,7 +1292,8 @@ module Aws::CostExplorer
|
|
1283
1292
|
# @return [String]
|
1284
1293
|
#
|
1285
1294
|
# @!attribute [rw] effective_start
|
1286
|
-
# The Cost Category's effective start date.
|
1295
|
+
# The Cost Category's effective start date. It can only be a billing
|
1296
|
+
# start date (first day of the month).
|
1287
1297
|
# @return [String]
|
1288
1298
|
#
|
1289
1299
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/CreateCostCategoryDefinitionResponse AWS API Documentation
|
@@ -1553,7 +1563,12 @@ module Aws::CostExplorer
|
|
1553
1563
|
# @!attribute [rw] key
|
1554
1564
|
# The names of the metadata types that you can use to filter and group
|
1555
1565
|
# your results. For example, `AZ` returns a list of Availability
|
1556
|
-
# Zones.
|
1566
|
+
# Zones. `LINK_ACCOUNT_NAME` and `SERVICE_CODE` can only be used in
|
1567
|
+
# [CostCategoryRule][1].
|
1568
|
+
#
|
1569
|
+
#
|
1570
|
+
#
|
1571
|
+
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/AAPI_CostCategoryRule.html
|
1557
1572
|
# @return [String]
|
1558
1573
|
#
|
1559
1574
|
# @!attribute [rw] values
|
@@ -3136,6 +3151,12 @@ module Aws::CostExplorer
|
|
3136
3151
|
# @!attribute [rw] dimension
|
3137
3152
|
# The name of the dimension. Each `Dimension` is available for a
|
3138
3153
|
# different `Context`. For more information, see `Context`.
|
3154
|
+
# `LINK_ACCOUNT_NAME` and `SERVICE_CODE` can only be used in
|
3155
|
+
# [CostCategoryRule][1].
|
3156
|
+
#
|
3157
|
+
#
|
3158
|
+
#
|
3159
|
+
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/AAPI_CostCategoryRule.html
|
3139
3160
|
# @return [String]
|
3140
3161
|
#
|
3141
3162
|
# @!attribute [rw] context
|
@@ -3452,7 +3473,8 @@ module Aws::CostExplorer
|
|
3452
3473
|
#
|
3453
3474
|
# * RESOURCE\_ID - The unique identifier of the resource. ResourceId
|
3454
3475
|
# is an opt-in feature only available for last 14 days for
|
3455
|
-
# EC2-Compute Service.
|
3476
|
+
# EC2-Compute Service. You can opt-in by enabling `Hourly` and
|
3477
|
+
# `Resource Level Data` in Cost Management Console preferences.
|
3456
3478
|
#
|
3457
3479
|
# If you set the context to `RESERVATIONS`, you can use the following
|
3458
3480
|
# dimensions for searching:
|
@@ -7180,7 +7202,7 @@ module Aws::CostExplorer
|
|
7180
7202
|
# applied to all tags. That is, it's filtered on resources with no
|
7181
7203
|
# tags.
|
7182
7204
|
#
|
7183
|
-
# If `
|
7205
|
+
# If `Key` is provided and `Values` isn't specified, the `ABSENT`
|
7184
7206
|
# `MatchOption` is applied to the tag `Key` only. That is, it's
|
7185
7207
|
# filtered on resources without the given tag key.
|
7186
7208
|
#
|
@@ -7592,6 +7614,7 @@ module Aws::CostExplorer
|
|
7592
7614
|
#
|
7593
7615
|
# {
|
7594
7616
|
# cost_category_arn: "Arn", # required
|
7617
|
+
# effective_start: "ZonedDateTime",
|
7595
7618
|
# rule_version: "CostCategoryExpression.v1", # required, accepts CostCategoryExpression.v1
|
7596
7619
|
# rules: [ # required
|
7597
7620
|
# {
|
@@ -7653,6 +7676,13 @@ module Aws::CostExplorer
|
|
7653
7676
|
# The unique identifier for your Cost Category.
|
7654
7677
|
# @return [String]
|
7655
7678
|
#
|
7679
|
+
# @!attribute [rw] effective_start
|
7680
|
+
# The Cost Category's effective start date. It can only be a billing
|
7681
|
+
# start date (first day of the month). If the date isn't provided,
|
7682
|
+
# it's the first day of the current month. Dates can't be before the
|
7683
|
+
# previous twelve months, or in the future.
|
7684
|
+
# @return [String]
|
7685
|
+
#
|
7656
7686
|
# @!attribute [rw] rule_version
|
7657
7687
|
# The rule schema version in this particular Cost Category.
|
7658
7688
|
# @return [String]
|
@@ -7679,6 +7709,7 @@ module Aws::CostExplorer
|
|
7679
7709
|
#
|
7680
7710
|
class UpdateCostCategoryDefinitionRequest < Struct.new(
|
7681
7711
|
:cost_category_arn,
|
7712
|
+
:effective_start,
|
7682
7713
|
:rule_version,
|
7683
7714
|
:rules,
|
7684
7715
|
:default_value,
|
@@ -7692,7 +7723,8 @@ module Aws::CostExplorer
|
|
7692
7723
|
# @return [String]
|
7693
7724
|
#
|
7694
7725
|
# @!attribute [rw] effective_start
|
7695
|
-
# The Cost Category's effective start date.
|
7726
|
+
# The Cost Category's effective start date. It can only be a billing
|
7727
|
+
# start date (first day of the month).
|
7696
7728
|
# @return [String]
|
7697
7729
|
#
|
7698
7730
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/UpdateCostCategoryDefinitionResponse AWS API Documentation
|
data/lib/aws-sdk-costexplorer.rb
CHANGED
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.78.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: 2022-
|
11
|
+
date: 2022-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|