aws-sdk-bcmpricingcalculator 1.3.0 → 1.5.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bcmpricingcalculator/client.rb +76 -7
- data/lib/aws-sdk-bcmpricingcalculator/client_api.rb +5 -0
- data/lib/aws-sdk-bcmpricingcalculator/endpoint_provider.rb +6 -9
- data/lib/aws-sdk-bcmpricingcalculator/types.rb +6 -6
- data/lib/aws-sdk-bcmpricingcalculator.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: c8bb36c916befe4e5272e2b8833966608d0b08f9cfd9624cfaa1f075c489a728
|
4
|
+
data.tar.gz: 628e9e6ae0d695ea1a12a02ef3bb93d3b20458f15006a2b9b2de6576adbd8704
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c5fa5354255bb4406344563d921639e2528931209a53b92dad09ee841d67a42e96e3ae3d12263b4b27bf68eb26adcd2b1cedb1491cab66d0f4f468904b255af
|
7
|
+
data.tar.gz: 9aaa2f983fbf3ef057c4c7df681c59a7919f596b8ea746a61eb964f61ba0178a6554a61041febcb89137e32f141068ccba2e81ce74209fdac89b09cba7bcc95b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.5.0 (2025-02-06)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.4.0 (2025-01-29)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Added ConflictException error type in DeleteBillScenario, BatchDeleteBillScenarioCommitmentModification, BatchDeleteBillScenarioUsageModification, BatchUpdateBillScenarioUsageModification, and BatchUpdateBillScenarioCommitmentModification API operations.
|
13
|
+
|
4
14
|
1.3.0 (2025-01-15)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.5.0
|
@@ -481,6 +481,14 @@ module Aws::BCMPricingCalculator
|
|
481
481
|
# Reserved Instances commitments that you want to model in a Bill
|
482
482
|
# Scenario.
|
483
483
|
#
|
484
|
+
# <note markdown="1"> The `BatchCreateBillScenarioCommitmentModification` operation doesn't
|
485
|
+
# have its own IAM permission. To authorize this operation for Amazon
|
486
|
+
# Web Services principals, include the permission
|
487
|
+
# `bcm-pricing-calculator:CreateBillScenarioCommitmentModification` in
|
488
|
+
# your policies.
|
489
|
+
#
|
490
|
+
# </note>
|
491
|
+
#
|
484
492
|
# @option params [required, String] :bill_scenario_id
|
485
493
|
# The ID of the Bill Scenario for which you want to create the modeled
|
486
494
|
# commitment.
|
@@ -560,6 +568,14 @@ module Aws::BCMPricingCalculator
|
|
560
568
|
# Create Amazon Web Services service usage that you want to model in a
|
561
569
|
# Bill Scenario.
|
562
570
|
#
|
571
|
+
# <note markdown="1"> The `BatchCreateBillScenarioUsageModification` operation doesn't have
|
572
|
+
# its own IAM permission. To authorize this operation for Amazon Web
|
573
|
+
# Services principals, include the permission
|
574
|
+
# `bcm-pricing-calculator:CreateBillScenarioUsageModification` in your
|
575
|
+
# policies.
|
576
|
+
#
|
577
|
+
# </note>
|
578
|
+
#
|
563
579
|
# @option params [required, String] :bill_scenario_id
|
564
580
|
# The ID of the Bill Scenario for which you want to create the modeled
|
565
581
|
# usage.
|
@@ -704,6 +720,13 @@ module Aws::BCMPricingCalculator
|
|
704
720
|
# Create Amazon Web Services service usage that you want to model in a
|
705
721
|
# Workload Estimate.
|
706
722
|
#
|
723
|
+
# <note markdown="1"> The `BatchCreateWorkloadEstimateUsage` operation doesn't have its own
|
724
|
+
# IAM permission. To authorize this operation for Amazon Web Services
|
725
|
+
# principals, include the permission
|
726
|
+
# `bcm-pricing-calculator:CreateWorkloadEstimateUsage` in your policies.
|
727
|
+
#
|
728
|
+
# </note>
|
729
|
+
#
|
707
730
|
# @option params [required, String] :workload_estimate_id
|
708
731
|
# The ID of the Workload estimate for which you want to create the
|
709
732
|
# modeled usage.
|
@@ -846,6 +869,14 @@ module Aws::BCMPricingCalculator
|
|
846
869
|
# BillScenarioCommitmentModificationAction][1] of [
|
847
870
|
# BatchCreateBillScenarioCommitmentModification][2] operation.
|
848
871
|
#
|
872
|
+
# <note markdown="1"> The `BatchDeleteBillScenarioCommitmentModification` operation doesn't
|
873
|
+
# have its own IAM permission. To authorize this operation for Amazon
|
874
|
+
# Web Services principals, include the permission
|
875
|
+
# `bcm-pricing-calculator:DeleteBillScenarioCommitmentModification` in
|
876
|
+
# your policies.
|
877
|
+
#
|
878
|
+
# </note>
|
879
|
+
#
|
849
880
|
#
|
850
881
|
#
|
851
882
|
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AWSBCMPricingCalculator_BillScenarioCommitmentModificationAction.html
|
@@ -890,6 +921,14 @@ module Aws::BCMPricingCalculator
|
|
890
921
|
# of a existing usage. If you want model removal of an existing usage,
|
891
922
|
# see [ BatchUpdateBillScenarioUsageModification][1].
|
892
923
|
#
|
924
|
+
# <note markdown="1"> The `BatchDeleteBillScenarioUsageModification` operation doesn't have
|
925
|
+
# its own IAM permission. To authorize this operation for Amazon Web
|
926
|
+
# Services principals, include the permission
|
927
|
+
# `bcm-pricing-calculator:DeleteBillScenarioUsageModification` in your
|
928
|
+
# policies.
|
929
|
+
#
|
930
|
+
# </note>
|
931
|
+
#
|
893
932
|
#
|
894
933
|
#
|
895
934
|
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AWSBCMPricingCalculator_BatchUpdateBillScenarioUsageModification.html
|
@@ -933,6 +972,13 @@ module Aws::BCMPricingCalculator
|
|
933
972
|
# removal) of a existing usage. If you want model removal of an existing
|
934
973
|
# usage, see [ BatchUpdateWorkloadEstimateUsage][1].
|
935
974
|
#
|
975
|
+
# <note markdown="1"> The `BatchDeleteWorkloadEstimateUsage` operation doesn't have its own
|
976
|
+
# IAM permission. To authorize this operation for Amazon Web Services
|
977
|
+
# principals, include the permission
|
978
|
+
# `bcm-pricing-calculator:DeleteWorkloadEstimateUsage` in your policies.
|
979
|
+
#
|
980
|
+
# </note>
|
981
|
+
#
|
936
982
|
#
|
937
983
|
#
|
938
984
|
# [1]: https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_AWSBCMPricingCalculator_BatchUpdateWorkloadEstimateUsage.html
|
@@ -974,6 +1020,14 @@ module Aws::BCMPricingCalculator
|
|
974
1020
|
# Update a newly added or existing commitment. You can update the
|
975
1021
|
# commitment group based on a commitment ID and a Bill scenario ID.
|
976
1022
|
#
|
1023
|
+
# <note markdown="1"> The `BatchUpdateBillScenarioCommitmentModification` operation doesn't
|
1024
|
+
# have its own IAM permission. To authorize this operation for Amazon
|
1025
|
+
# Web Services principals, include the permission
|
1026
|
+
# `bcm-pricing-calculator:UpdateBillScenarioCommitmentModification` in
|
1027
|
+
# your policies.
|
1028
|
+
#
|
1029
|
+
# </note>
|
1030
|
+
#
|
977
1031
|
# @option params [required, String] :bill_scenario_id
|
978
1032
|
# The ID of the Bill Scenario for which you want to modify the
|
979
1033
|
# commitment group of a modeled commitment.
|
@@ -1028,6 +1082,14 @@ module Aws::BCMPricingCalculator
|
|
1028
1082
|
# amounts, usage hour, and usage group based on a usage ID and a Bill
|
1029
1083
|
# scenario ID.
|
1030
1084
|
#
|
1085
|
+
# <note markdown="1"> The `BatchUpdateBillScenarioUsageModification` operation doesn't have
|
1086
|
+
# its own IAM permission. To authorize this operation for Amazon Web
|
1087
|
+
# Services principals, include the permission
|
1088
|
+
# `bcm-pricing-calculator:UpdateBillScenarioUsageModification` in your
|
1089
|
+
# policies.
|
1090
|
+
#
|
1091
|
+
# </note>
|
1092
|
+
#
|
1031
1093
|
# @option params [required, String] :bill_scenario_id
|
1032
1094
|
# The ID of the Bill Scenario for which you want to modify the usage
|
1033
1095
|
# lines.
|
@@ -1119,6 +1181,13 @@ module Aws::BCMPricingCalculator
|
|
1119
1181
|
# amounts and usage group based on a usage ID and a Workload estimate
|
1120
1182
|
# ID.
|
1121
1183
|
#
|
1184
|
+
# <note markdown="1"> The `BatchUpdateWorkloadEstimateUsage` operation doesn't have its own
|
1185
|
+
# IAM permission. To authorize this operation for Amazon Web Services
|
1186
|
+
# principals, include the permission
|
1187
|
+
# `bcm-pricing-calculator:UpdateWorkloadEstimateUsage` in your policies.
|
1188
|
+
#
|
1189
|
+
# </note>
|
1190
|
+
#
|
1122
1191
|
# @option params [required, String] :workload_estimate_id
|
1123
1192
|
# The ID of the Workload estimate for which you want to modify the usage
|
1124
1193
|
# lines.
|
@@ -1919,10 +1988,10 @@ module Aws::BCMPricingCalculator
|
|
1919
1988
|
# Filters to apply to the list of bill estimates.
|
1920
1989
|
#
|
1921
1990
|
# @option params [Types::FilterTimestamp] :created_at_filter
|
1922
|
-
# Filter bill estimates based on
|
1991
|
+
# Filter bill estimates based on the creation date.
|
1923
1992
|
#
|
1924
1993
|
# @option params [Types::FilterTimestamp] :expires_at_filter
|
1925
|
-
# Filter bill estimates based on
|
1994
|
+
# Filter bill estimates based on the expiration date.
|
1926
1995
|
#
|
1927
1996
|
# @option params [String] :next_token
|
1928
1997
|
# A token to retrieve the next page of results.
|
@@ -2126,10 +2195,10 @@ module Aws::BCMPricingCalculator
|
|
2126
2195
|
# Filters to apply to the list of bill scenarios.
|
2127
2196
|
#
|
2128
2197
|
# @option params [Types::FilterTimestamp] :created_at_filter
|
2129
|
-
# Filter bill scenarios based on
|
2198
|
+
# Filter bill scenarios based on the creation date.
|
2130
2199
|
#
|
2131
2200
|
# @option params [Types::FilterTimestamp] :expires_at_filter
|
2132
|
-
# Filter bill scenarios based on
|
2201
|
+
# Filter bill scenarios based on the expiration date.
|
2133
2202
|
#
|
2134
2203
|
# @option params [String] :next_token
|
2135
2204
|
# A token to retrieve the next page of results.
|
@@ -2309,10 +2378,10 @@ module Aws::BCMPricingCalculator
|
|
2309
2378
|
# Lists all workload estimates for the account.
|
2310
2379
|
#
|
2311
2380
|
# @option params [Types::FilterTimestamp] :created_at_filter
|
2312
|
-
# Filter workload estimates based on
|
2381
|
+
# Filter workload estimates based on the creation date.
|
2313
2382
|
#
|
2314
2383
|
# @option params [Types::FilterTimestamp] :expires_at_filter
|
2315
|
-
# Filter workload estimates based on
|
2384
|
+
# Filter workload estimates based on the expiration date.
|
2316
2385
|
#
|
2317
2386
|
# @option params [Array<Types::ListWorkloadEstimatesFilter>] :filters
|
2318
2387
|
# Filters to apply to the list of workload estimates.
|
@@ -2647,7 +2716,7 @@ module Aws::BCMPricingCalculator
|
|
2647
2716
|
tracer: tracer
|
2648
2717
|
)
|
2649
2718
|
context[:gem_name] = 'aws-sdk-bcmpricingcalculator'
|
2650
|
-
context[:gem_version] = '1.
|
2719
|
+
context[:gem_version] = '1.5.0'
|
2651
2720
|
Seahorse::Client::Request.new(handlers, context)
|
2652
2721
|
end
|
2653
2722
|
|
@@ -1155,6 +1155,7 @@ module Aws::BCMPricingCalculator
|
|
1155
1155
|
o.http_request_uri = "/"
|
1156
1156
|
o.input = Shapes::ShapeRef.new(shape: BatchDeleteBillScenarioCommitmentModificationRequest)
|
1157
1157
|
o.output = Shapes::ShapeRef.new(shape: BatchDeleteBillScenarioCommitmentModificationResponse)
|
1158
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1158
1159
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1159
1160
|
o.errors << Shapes::ShapeRef.new(shape: DataUnavailableException)
|
1160
1161
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
@@ -1169,6 +1170,7 @@ module Aws::BCMPricingCalculator
|
|
1169
1170
|
o.http_request_uri = "/"
|
1170
1171
|
o.input = Shapes::ShapeRef.new(shape: BatchDeleteBillScenarioUsageModificationRequest)
|
1171
1172
|
o.output = Shapes::ShapeRef.new(shape: BatchDeleteBillScenarioUsageModificationResponse)
|
1173
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1172
1174
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1173
1175
|
o.errors << Shapes::ShapeRef.new(shape: DataUnavailableException)
|
1174
1176
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
@@ -1199,6 +1201,7 @@ module Aws::BCMPricingCalculator
|
|
1199
1201
|
o.http_request_uri = "/"
|
1200
1202
|
o.input = Shapes::ShapeRef.new(shape: BatchUpdateBillScenarioCommitmentModificationRequest)
|
1201
1203
|
o.output = Shapes::ShapeRef.new(shape: BatchUpdateBillScenarioCommitmentModificationResponse)
|
1204
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1202
1205
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1203
1206
|
o.errors << Shapes::ShapeRef.new(shape: DataUnavailableException)
|
1204
1207
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
@@ -1213,6 +1216,7 @@ module Aws::BCMPricingCalculator
|
|
1213
1216
|
o.http_request_uri = "/"
|
1214
1217
|
o.input = Shapes::ShapeRef.new(shape: BatchUpdateBillScenarioUsageModificationRequest)
|
1215
1218
|
o.output = Shapes::ShapeRef.new(shape: BatchUpdateBillScenarioUsageModificationResponse)
|
1219
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1216
1220
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1217
1221
|
o.errors << Shapes::ShapeRef.new(shape: DataUnavailableException)
|
1218
1222
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
@@ -1302,6 +1306,7 @@ module Aws::BCMPricingCalculator
|
|
1302
1306
|
o.http_request_uri = "/"
|
1303
1307
|
o.input = Shapes::ShapeRef.new(shape: DeleteBillScenarioRequest)
|
1304
1308
|
o.output = Shapes::ShapeRef.new(shape: DeleteBillScenarioResponse)
|
1309
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1305
1310
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1306
1311
|
o.errors << Shapes::ShapeRef.new(shape: DataUnavailableException)
|
1307
1312
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
@@ -10,18 +10,15 @@
|
|
10
10
|
module Aws::BCMPricingCalculator
|
11
11
|
class EndpointProvider
|
12
12
|
def resolve_endpoint(parameters)
|
13
|
-
|
14
|
-
|
15
|
-
region = parameters.region
|
16
|
-
if Aws::Endpoints::Matchers.set?(endpoint)
|
17
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
13
|
+
if Aws::Endpoints::Matchers.set?(parameters.endpoint)
|
14
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
18
15
|
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
19
16
|
end
|
20
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
17
|
+
return Aws::Endpoints::Endpoint.new(url: parameters.endpoint, headers: {}, properties: {})
|
21
18
|
end
|
22
|
-
if Aws::Endpoints::Matchers.set?(region)
|
23
|
-
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
24
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
19
|
+
if Aws::Endpoints::Matchers.set?(parameters.region)
|
20
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
|
21
|
+
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
|
25
22
|
return Aws::Endpoints::Endpoint.new(url: "https://bcm-pricing-calculator-fips.#{partition_result['implicitGlobalRegion']}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{partition_result['implicitGlobalRegion']}"}]})
|
26
23
|
end
|
27
24
|
return Aws::Endpoints::Endpoint.new(url: "https://bcm-pricing-calculator.#{partition_result['implicitGlobalRegion']}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{partition_result['implicitGlobalRegion']}"}]})
|
@@ -2514,11 +2514,11 @@ module Aws::BCMPricingCalculator
|
|
2514
2514
|
# @return [Array<Types::ListBillEstimatesFilter>]
|
2515
2515
|
#
|
2516
2516
|
# @!attribute [rw] created_at_filter
|
2517
|
-
# Filter bill estimates based on
|
2517
|
+
# Filter bill estimates based on the creation date.
|
2518
2518
|
# @return [Types::FilterTimestamp]
|
2519
2519
|
#
|
2520
2520
|
# @!attribute [rw] expires_at_filter
|
2521
|
-
# Filter bill estimates based on
|
2521
|
+
# Filter bill estimates based on the expiration date.
|
2522
2522
|
# @return [Types::FilterTimestamp]
|
2523
2523
|
#
|
2524
2524
|
# @!attribute [rw] next_token
|
@@ -2673,11 +2673,11 @@ module Aws::BCMPricingCalculator
|
|
2673
2673
|
# @return [Array<Types::ListBillScenariosFilter>]
|
2674
2674
|
#
|
2675
2675
|
# @!attribute [rw] created_at_filter
|
2676
|
-
# Filter bill scenarios based on
|
2676
|
+
# Filter bill scenarios based on the creation date.
|
2677
2677
|
# @return [Types::FilterTimestamp]
|
2678
2678
|
#
|
2679
2679
|
# @!attribute [rw] expires_at_filter
|
2680
|
-
# Filter bill scenarios based on
|
2680
|
+
# Filter bill scenarios based on the expiration date.
|
2681
2681
|
# @return [Types::FilterTimestamp]
|
2682
2682
|
#
|
2683
2683
|
# @!attribute [rw] next_token
|
@@ -2834,11 +2834,11 @@ module Aws::BCMPricingCalculator
|
|
2834
2834
|
end
|
2835
2835
|
|
2836
2836
|
# @!attribute [rw] created_at_filter
|
2837
|
-
# Filter workload estimates based on
|
2837
|
+
# Filter workload estimates based on the creation date.
|
2838
2838
|
# @return [Types::FilterTimestamp]
|
2839
2839
|
#
|
2840
2840
|
# @!attribute [rw] expires_at_filter
|
2841
|
-
# Filter workload estimates based on
|
2841
|
+
# Filter workload estimates based on the expiration date.
|
2842
2842
|
# @return [Types::FilterTimestamp]
|
2843
2843
|
#
|
2844
2844
|
# @!attribute [rw] filters
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-bcmpricingcalculator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.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-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|