aws-sdk-costexplorer 1.121.0 → 1.123.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-costexplorer/client.rb +8 -8
- data/lib/aws-sdk-costexplorer/client_api.rb +21 -3
- data/lib/aws-sdk-costexplorer/endpoint_provider.rb +12 -0
- data/lib/aws-sdk-costexplorer/types.rb +1 -8
- 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: 4445c765a57afd1890af3a33d39c3b27650d25b4e04662da5e34c35a1b7d00cb
|
4
|
+
data.tar.gz: 39c4124a2d10e4a77faf50a04e056015cbf0f2fae9f190e089220d8449bd29d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64674c05fccad3f3a0934545b9c664c38fe76aed14e24f883fdde3a81e54efc83a41dd1642df84e66b500d1745863200814d4b2d0293692b8a731bcbc64533c2
|
7
|
+
data.tar.gz: 36e511b8d7f0635af060dd118ee7e232267735f3143764c0d66ae2714479efe4c0033b86cabec763b49a9851a6f5f7fc4a779cbca6835e90cab7f3a300c5a0f1
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.123.0 (2025-04-08)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release supports Pagination traits on Cost Anomaly Detection APIs.
|
8
|
+
|
9
|
+
1.122.0 (2025-03-10)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Releasing minor partition endpoint updates.
|
13
|
+
|
4
14
|
1.121.0 (2025-02-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.123.0
|
@@ -1030,6 +1030,8 @@ module Aws::CostExplorer
|
|
1030
1030
|
# * {Types::GetAnomaliesResponse#anomalies #anomalies} => Array<Types::Anomaly>
|
1031
1031
|
# * {Types::GetAnomaliesResponse#next_page_token #next_page_token} => String
|
1032
1032
|
#
|
1033
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1034
|
+
#
|
1033
1035
|
# @example Request syntax with placeholder values
|
1034
1036
|
#
|
1035
1037
|
# resp = client.get_anomalies({
|
@@ -1102,6 +1104,8 @@ module Aws::CostExplorer
|
|
1102
1104
|
# * {Types::GetAnomalyMonitorsResponse#anomaly_monitors #anomaly_monitors} => Array<Types::AnomalyMonitor>
|
1103
1105
|
# * {Types::GetAnomalyMonitorsResponse#next_page_token #next_page_token} => String
|
1104
1106
|
#
|
1107
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1108
|
+
#
|
1105
1109
|
# @example Request syntax with placeholder values
|
1106
1110
|
#
|
1107
1111
|
# resp = client.get_anomaly_monitors({
|
@@ -1175,6 +1179,8 @@ module Aws::CostExplorer
|
|
1175
1179
|
# * {Types::GetAnomalySubscriptionsResponse#anomaly_subscriptions #anomaly_subscriptions} => Array<Types::AnomalySubscription>
|
1176
1180
|
# * {Types::GetAnomalySubscriptionsResponse#next_page_token #next_page_token} => String
|
1177
1181
|
#
|
1182
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1183
|
+
#
|
1178
1184
|
# @example Request syntax with placeholder values
|
1179
1185
|
#
|
1180
1186
|
# resp = client.get_anomaly_subscriptions({
|
@@ -1593,10 +1599,6 @@ module Aws::CostExplorer
|
|
1593
1599
|
# You can nest `Expression` objects to define any combination of
|
1594
1600
|
# dimension filters. For more information, see [Expression][1].
|
1595
1601
|
#
|
1596
|
-
# The `GetCostAndUsageWithResources` operation requires that you either
|
1597
|
-
# group by or filter by a `ResourceId`. It requires the [Expression][1]
|
1598
|
-
# `"SERVICE = Amazon Elastic Compute Cloud - Compute"` in the filter.
|
1599
|
-
#
|
1600
1602
|
# Valid values for `MatchOptions` for `Dimensions` are `EQUALS` and
|
1601
1603
|
# `CASE_SENSITIVE`.
|
1602
1604
|
#
|
@@ -2023,8 +2025,6 @@ module Aws::CostExplorer
|
|
2023
2025
|
#
|
2024
2026
|
# * `LINKED_ACCOUNT`
|
2025
2027
|
#
|
2026
|
-
# * `LINKED_ACCOUNT_NAME`
|
2027
|
-
#
|
2028
2028
|
# * `OPERATION`
|
2029
2029
|
#
|
2030
2030
|
# * `PURCHASE_TYPE`
|
@@ -5115,7 +5115,7 @@ module Aws::CostExplorer
|
|
5115
5115
|
|
5116
5116
|
# Request a cost allocation tag backfill. This will backfill the
|
5117
5117
|
# activation status (either `active` or `inactive`) for all tag keys
|
5118
|
-
# from `para:BackfillFrom` up to the
|
5118
|
+
# from `para:BackfillFrom` up to the time this request is made.
|
5119
5119
|
#
|
5120
5120
|
# You can request a backfill once every 24 hours.
|
5121
5121
|
#
|
@@ -5635,7 +5635,7 @@ module Aws::CostExplorer
|
|
5635
5635
|
tracer: tracer
|
5636
5636
|
)
|
5637
5637
|
context[:gem_name] = 'aws-sdk-costexplorer'
|
5638
|
-
context[:gem_version] = '1.
|
5638
|
+
context[:gem_version] = '1.123.0'
|
5639
5639
|
Seahorse::Client::Request.new(handlers, context)
|
5640
5640
|
end
|
5641
5641
|
|
@@ -766,7 +766,7 @@ module Aws::CostExplorer
|
|
766
766
|
GetAnomaliesRequest.add_member(:feedback, Shapes::ShapeRef.new(shape: AnomalyFeedbackType, location_name: "Feedback"))
|
767
767
|
GetAnomaliesRequest.add_member(:total_impact, Shapes::ShapeRef.new(shape: TotalImpactFilter, location_name: "TotalImpact"))
|
768
768
|
GetAnomaliesRequest.add_member(:next_page_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextPageToken"))
|
769
|
-
GetAnomaliesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
|
769
|
+
GetAnomaliesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults", metadata: {"box"=>true}))
|
770
770
|
GetAnomaliesRequest.struct_class = Types::GetAnomaliesRequest
|
771
771
|
|
772
772
|
GetAnomaliesResponse.add_member(:anomalies, Shapes::ShapeRef.new(shape: Anomalies, required: true, location_name: "Anomalies"))
|
@@ -775,7 +775,7 @@ module Aws::CostExplorer
|
|
775
775
|
|
776
776
|
GetAnomalyMonitorsRequest.add_member(:monitor_arn_list, Shapes::ShapeRef.new(shape: Values, location_name: "MonitorArnList"))
|
777
777
|
GetAnomalyMonitorsRequest.add_member(:next_page_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextPageToken"))
|
778
|
-
GetAnomalyMonitorsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
|
778
|
+
GetAnomalyMonitorsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults", metadata: {"box"=>true}))
|
779
779
|
GetAnomalyMonitorsRequest.struct_class = Types::GetAnomalyMonitorsRequest
|
780
780
|
|
781
781
|
GetAnomalyMonitorsResponse.add_member(:anomaly_monitors, Shapes::ShapeRef.new(shape: AnomalyMonitors, required: true, location_name: "AnomalyMonitors"))
|
@@ -785,7 +785,7 @@ module Aws::CostExplorer
|
|
785
785
|
GetAnomalySubscriptionsRequest.add_member(:subscription_arn_list, Shapes::ShapeRef.new(shape: Values, location_name: "SubscriptionArnList"))
|
786
786
|
GetAnomalySubscriptionsRequest.add_member(:monitor_arn, Shapes::ShapeRef.new(shape: GenericString, location_name: "MonitorArn"))
|
787
787
|
GetAnomalySubscriptionsRequest.add_member(:next_page_token, Shapes::ShapeRef.new(shape: NextPageToken, location_name: "NextPageToken"))
|
788
|
-
GetAnomalySubscriptionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
|
788
|
+
GetAnomalySubscriptionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults", metadata: {"box"=>true}))
|
789
789
|
GetAnomalySubscriptionsRequest.struct_class = Types::GetAnomalySubscriptionsRequest
|
790
790
|
|
791
791
|
GetAnomalySubscriptionsResponse.add_member(:anomaly_subscriptions, Shapes::ShapeRef.new(shape: AnomalySubscriptions, required: true, location_name: "AnomalySubscriptions"))
|
@@ -1777,6 +1777,12 @@ module Aws::CostExplorer
|
|
1777
1777
|
o.output = Shapes::ShapeRef.new(shape: GetAnomaliesResponse)
|
1778
1778
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1779
1779
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
1780
|
+
o[:pager] = Aws::Pager.new(
|
1781
|
+
limit_key: "max_results",
|
1782
|
+
tokens: {
|
1783
|
+
"next_page_token" => "next_page_token"
|
1784
|
+
}
|
1785
|
+
)
|
1780
1786
|
end)
|
1781
1787
|
|
1782
1788
|
api.add_operation(:get_anomaly_monitors, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1788,6 +1794,12 @@ module Aws::CostExplorer
|
|
1788
1794
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1789
1795
|
o.errors << Shapes::ShapeRef.new(shape: UnknownMonitorException)
|
1790
1796
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
1797
|
+
o[:pager] = Aws::Pager.new(
|
1798
|
+
limit_key: "max_results",
|
1799
|
+
tokens: {
|
1800
|
+
"next_page_token" => "next_page_token"
|
1801
|
+
}
|
1802
|
+
)
|
1791
1803
|
end)
|
1792
1804
|
|
1793
1805
|
api.add_operation(:get_anomaly_subscriptions, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1799,6 +1811,12 @@ module Aws::CostExplorer
|
|
1799
1811
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1800
1812
|
o.errors << Shapes::ShapeRef.new(shape: UnknownSubscriptionException)
|
1801
1813
|
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
1814
|
+
o[:pager] = Aws::Pager.new(
|
1815
|
+
limit_key: "max_results",
|
1816
|
+
tokens: {
|
1817
|
+
"next_page_token" => "next_page_token"
|
1818
|
+
}
|
1819
|
+
)
|
1802
1820
|
end)
|
1803
1821
|
|
1804
1822
|
api.add_operation(:get_approximate_usage_records, Seahorse::Model::Operation.new.tap do |o|
|
@@ -27,6 +27,18 @@ module Aws::CostExplorer
|
|
27
27
|
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-cn") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
|
28
28
|
return Aws::Endpoints::Endpoint.new(url: "https://ce.cn-northwest-1.amazonaws.com.cn", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"ce", "signingRegion"=>"cn-northwest-1"}]})
|
29
29
|
end
|
30
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
|
31
|
+
return Aws::Endpoints::Endpoint.new(url: "https://ce.us-iso-east-1.c2s.ic.gov", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"ce", "signingRegion"=>"us-iso-east-1"}]})
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso-b") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
|
34
|
+
return Aws::Endpoints::Endpoint.new(url: "https://ce.us-isob-east-1.sc2s.sgov.gov", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"ce", "signingRegion"=>"us-isob-east-1"}]})
|
35
|
+
end
|
36
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso-e") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
|
37
|
+
return Aws::Endpoints::Endpoint.new(url: "https://ce.eu-isoe-west-1.cloud.adc-e.uk", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"ce", "signingRegion"=>"eu-isoe-west-1"}]})
|
38
|
+
end
|
39
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso-f") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
|
40
|
+
return Aws::Endpoints::Endpoint.new(url: "https://ce.us-isof-south-1.csp.hci.ic.gov", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"ce", "signingRegion"=>"us-isof-south-1"}]})
|
41
|
+
end
|
30
42
|
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
31
43
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
32
44
|
return Aws::Endpoints::Endpoint.new(url: "https://ce-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
@@ -1477,7 +1477,7 @@ module Aws::CostExplorer
|
|
1477
1477
|
# Not all dimensions are supported in each API. Refer to the
|
1478
1478
|
# documentation for each specific API to see what is supported.
|
1479
1479
|
#
|
1480
|
-
# `
|
1480
|
+
# `LINKED_ACCOUNT_NAME` and `SERVICE_CODE` can only be used in
|
1481
1481
|
# [CostCategoryRule][1].
|
1482
1482
|
#
|
1483
1483
|
# `ANOMALY_TOTAL_IMPACT_ABSOLUTE` and
|
@@ -2494,11 +2494,6 @@ module Aws::CostExplorer
|
|
2494
2494
|
# service. You can nest `Expression` objects to define any combination
|
2495
2495
|
# of dimension filters. For more information, see [Expression][1].
|
2496
2496
|
#
|
2497
|
-
# The `GetCostAndUsageWithResources` operation requires that you
|
2498
|
-
# either group by or filter by a `ResourceId`. It requires the
|
2499
|
-
# [Expression][1] `"SERVICE = Amazon Elastic Compute Cloud - Compute"`
|
2500
|
-
# in the filter.
|
2501
|
-
#
|
2502
2497
|
# Valid values for `MatchOptions` for `Dimensions` are `EQUALS` and
|
2503
2498
|
# `CASE_SENSITIVE`.
|
2504
2499
|
#
|
@@ -2866,8 +2861,6 @@ module Aws::CostExplorer
|
|
2866
2861
|
#
|
2867
2862
|
# * `LINKED_ACCOUNT`
|
2868
2863
|
#
|
2869
|
-
# * `LINKED_ACCOUNT_NAME`
|
2870
|
-
#
|
2871
2864
|
# * `OPERATION`
|
2872
2865
|
#
|
2873
2866
|
# * `PURCHASE_TYPE`
|
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.123.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: 2025-
|
11
|
+
date: 2025-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|