aws-sdk-bcmpricingcalculator 1.6.0 → 1.7.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: 724efb5efae8a8ac0a5375e43530318f73cd0af94c1b78b7100a08205cd89bbc
4
- data.tar.gz: 54316c67b4d57bbfdd5d64b9780ba8b7c85f595a122506c579df1381e1a08c85
3
+ metadata.gz: 679af0f0f204007f1870c2ccd2418b71f6a7235804513cf7761fb51de797a9f7
4
+ data.tar.gz: 6be050d1143fcef0258834f3e9377502e1e3e1cc12bcf89f56b56c21109971c9
5
5
  SHA512:
6
- metadata.gz: d0317f2d82df97fa6755f9db7480c6aef1f0010e5a55d6e4f940275777cfa70956024ad106afd1fe72b702dc1452ae18dc1ca0d6a3d7d6fcba9899814aabf2be
7
- data.tar.gz: 34c00003023cf93e58b70bd813f753b765bf43c0d10f9544692682e08e5c972fdbfff0938a2e9b3fec3e810efc9bed830e4f1f1031d38380ea2a0ced233ffbc1
6
+ metadata.gz: 5da3e1fec2eb5c9cc87ab32f67b99a5862434f5acc09a6be41e92bde528ef85c10f115085957022950f80cacdcdc362dc8291330d270972069e024fa1e6327b3
7
+ data.tar.gz: c22f3209c6475acf5310f321285dab03661d450de12dd68a2570929d9ec7a8401b0565790167b0f37e441a4e1504b1c6ad37eb632bb775f7b084acd39440a342
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.7.0 (2025-03-27)
5
+ ------------------
6
+
7
+ * Feature - Added standaloneAccountRateTypeSelections for GetPreferences and UpdatePreferences APIs. Added STALE enum value to status attribute in GetBillScenario and UpdateBillScenario APIs.
8
+
4
9
  1.6.0 (2025-02-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.6.0
1
+ 1.7.0
@@ -1413,7 +1413,7 @@ module Aws::BCMPricingCalculator
1413
1413
  # resp.name #=> String
1414
1414
  # resp.bill_interval.start #=> Time
1415
1415
  # resp.bill_interval.end #=> Time
1416
- # resp.status #=> String, one of "READY", "LOCKED", "FAILED"
1416
+ # resp.status #=> String, one of "READY", "LOCKED", "FAILED", "STALE"
1417
1417
  # resp.created_at #=> Time
1418
1418
  # resp.expires_at #=> Time
1419
1419
  # resp.failure_message #=> String
@@ -1636,7 +1636,7 @@ module Aws::BCMPricingCalculator
1636
1636
  # resp.name #=> String
1637
1637
  # resp.bill_interval.start #=> Time
1638
1638
  # resp.bill_interval.end #=> Time
1639
- # resp.status #=> String, one of "READY", "LOCKED", "FAILED"
1639
+ # resp.status #=> String, one of "READY", "LOCKED", "FAILED", "STALE"
1640
1640
  # resp.created_at #=> Time
1641
1641
  # resp.expires_at #=> Time
1642
1642
  # resp.failure_message #=> String
@@ -1650,13 +1650,13 @@ module Aws::BCMPricingCalculator
1650
1650
  req.send_request(options)
1651
1651
  end
1652
1652
 
1653
- # Retrieves the current preferences for the Amazon Web Services Cost
1654
- # Explorer service.
1653
+ # Retrieves the current preferences for Pricing Calculator.
1655
1654
  #
1656
1655
  # @return [Types::GetPreferencesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1657
1656
  #
1658
1657
  # * {Types::GetPreferencesResponse#management_account_rate_type_selections #management_account_rate_type_selections} => Array<String>
1659
1658
  # * {Types::GetPreferencesResponse#member_account_rate_type_selections #member_account_rate_type_selections} => Array<String>
1659
+ # * {Types::GetPreferencesResponse#standalone_account_rate_type_selections #standalone_account_rate_type_selections} => Array<String>
1660
1660
  #
1661
1661
  # @example Response structure
1662
1662
  #
@@ -1664,6 +1664,8 @@ module Aws::BCMPricingCalculator
1664
1664
  # resp.management_account_rate_type_selections[0] #=> String, one of "BEFORE_DISCOUNTS", "AFTER_DISCOUNTS"
1665
1665
  # resp.member_account_rate_type_selections #=> Array
1666
1666
  # resp.member_account_rate_type_selections[0] #=> String, one of "BEFORE_DISCOUNTS", "AFTER_DISCOUNTS"
1667
+ # resp.standalone_account_rate_type_selections #=> Array
1668
+ # resp.standalone_account_rate_type_selections[0] #=> String, one of "BEFORE_DISCOUNTS", "AFTER_DISCOUNTS"
1667
1669
  #
1668
1670
  # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/GetPreferences AWS API Documentation
1669
1671
  #
@@ -2242,7 +2244,7 @@ module Aws::BCMPricingCalculator
2242
2244
  # resp.items[0].name #=> String
2243
2245
  # resp.items[0].bill_interval.start #=> Time
2244
2246
  # resp.items[0].bill_interval.end #=> Time
2245
- # resp.items[0].status #=> String, one of "READY", "LOCKED", "FAILED"
2247
+ # resp.items[0].status #=> String, one of "READY", "LOCKED", "FAILED", "STALE"
2246
2248
  # resp.items[0].created_at #=> Time
2247
2249
  # resp.items[0].expires_at #=> Time
2248
2250
  # resp.items[0].failure_message #=> String
@@ -2593,7 +2595,7 @@ module Aws::BCMPricingCalculator
2593
2595
  # resp.name #=> String
2594
2596
  # resp.bill_interval.start #=> Time
2595
2597
  # resp.bill_interval.end #=> Time
2596
- # resp.status #=> String, one of "READY", "LOCKED", "FAILED"
2598
+ # resp.status #=> String, one of "READY", "LOCKED", "FAILED", "STALE"
2597
2599
  # resp.created_at #=> Time
2598
2600
  # resp.expires_at #=> Time
2599
2601
  # resp.failure_message #=> String
@@ -2607,8 +2609,7 @@ module Aws::BCMPricingCalculator
2607
2609
  req.send_request(options)
2608
2610
  end
2609
2611
 
2610
- # Updates the preferences for the Amazon Web Services Cost Explorer
2611
- # service.
2612
+ # Updates the preferences for Pricing Calculator.
2612
2613
  #
2613
2614
  # @option params [Array<String>] :management_account_rate_type_selections
2614
2615
  # The updated preferred rate types for the management account.
@@ -2616,16 +2617,21 @@ module Aws::BCMPricingCalculator
2616
2617
  # @option params [Array<String>] :member_account_rate_type_selections
2617
2618
  # The updated preferred rate types for member accounts.
2618
2619
  #
2620
+ # @option params [Array<String>] :standalone_account_rate_type_selections
2621
+ # The updated preferred rate types for a standalone account.
2622
+ #
2619
2623
  # @return [Types::UpdatePreferencesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2620
2624
  #
2621
2625
  # * {Types::UpdatePreferencesResponse#management_account_rate_type_selections #management_account_rate_type_selections} => Array&lt;String&gt;
2622
2626
  # * {Types::UpdatePreferencesResponse#member_account_rate_type_selections #member_account_rate_type_selections} => Array&lt;String&gt;
2627
+ # * {Types::UpdatePreferencesResponse#standalone_account_rate_type_selections #standalone_account_rate_type_selections} => Array&lt;String&gt;
2623
2628
  #
2624
2629
  # @example Request syntax with placeholder values
2625
2630
  #
2626
2631
  # resp = client.update_preferences({
2627
2632
  # management_account_rate_type_selections: ["BEFORE_DISCOUNTS"], # accepts BEFORE_DISCOUNTS, AFTER_DISCOUNTS
2628
2633
  # member_account_rate_type_selections: ["BEFORE_DISCOUNTS"], # accepts BEFORE_DISCOUNTS, AFTER_DISCOUNTS
2634
+ # standalone_account_rate_type_selections: ["BEFORE_DISCOUNTS"], # accepts BEFORE_DISCOUNTS, AFTER_DISCOUNTS
2629
2635
  # })
2630
2636
  #
2631
2637
  # @example Response structure
@@ -2634,6 +2640,8 @@ module Aws::BCMPricingCalculator
2634
2640
  # resp.management_account_rate_type_selections[0] #=> String, one of "BEFORE_DISCOUNTS", "AFTER_DISCOUNTS"
2635
2641
  # resp.member_account_rate_type_selections #=> Array
2636
2642
  # resp.member_account_rate_type_selections[0] #=> String, one of "BEFORE_DISCOUNTS", "AFTER_DISCOUNTS"
2643
+ # resp.standalone_account_rate_type_selections #=> Array
2644
+ # resp.standalone_account_rate_type_selections[0] #=> String, one of "BEFORE_DISCOUNTS", "AFTER_DISCOUNTS"
2637
2645
  #
2638
2646
  # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/UpdatePreferences AWS API Documentation
2639
2647
  #
@@ -2716,7 +2724,7 @@ module Aws::BCMPricingCalculator
2716
2724
  tracer: tracer
2717
2725
  )
2718
2726
  context[:gem_name] = 'aws-sdk-bcmpricingcalculator'
2719
- context[:gem_version] = '1.6.0'
2727
+ context[:gem_version] = '1.7.0'
2720
2728
  Seahorse::Client::Request.new(handlers, context)
2721
2729
  end
2722
2730
 
@@ -734,6 +734,7 @@ module Aws::BCMPricingCalculator
734
734
 
735
735
  GetPreferencesResponse.add_member(:management_account_rate_type_selections, Shapes::ShapeRef.new(shape: RateTypes, location_name: "managementAccountRateTypeSelections"))
736
736
  GetPreferencesResponse.add_member(:member_account_rate_type_selections, Shapes::ShapeRef.new(shape: RateTypes, location_name: "memberAccountRateTypeSelections"))
737
+ GetPreferencesResponse.add_member(:standalone_account_rate_type_selections, Shapes::ShapeRef.new(shape: RateTypes, location_name: "standaloneAccountRateTypeSelections"))
737
738
  GetPreferencesResponse.struct_class = Types::GetPreferencesResponse
738
739
 
739
740
  GetWorkloadEstimateRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "identifier"))
@@ -996,10 +997,12 @@ module Aws::BCMPricingCalculator
996
997
 
997
998
  UpdatePreferencesRequest.add_member(:management_account_rate_type_selections, Shapes::ShapeRef.new(shape: RateTypes, location_name: "managementAccountRateTypeSelections"))
998
999
  UpdatePreferencesRequest.add_member(:member_account_rate_type_selections, Shapes::ShapeRef.new(shape: RateTypes, location_name: "memberAccountRateTypeSelections"))
1000
+ UpdatePreferencesRequest.add_member(:standalone_account_rate_type_selections, Shapes::ShapeRef.new(shape: RateTypes, location_name: "standaloneAccountRateTypeSelections"))
999
1001
  UpdatePreferencesRequest.struct_class = Types::UpdatePreferencesRequest
1000
1002
 
1001
1003
  UpdatePreferencesResponse.add_member(:management_account_rate_type_selections, Shapes::ShapeRef.new(shape: RateTypes, location_name: "managementAccountRateTypeSelections"))
1002
1004
  UpdatePreferencesResponse.add_member(:member_account_rate_type_selections, Shapes::ShapeRef.new(shape: RateTypes, location_name: "memberAccountRateTypeSelections"))
1005
+ UpdatePreferencesResponse.add_member(:standalone_account_rate_type_selections, Shapes::ShapeRef.new(shape: RateTypes, location_name: "standaloneAccountRateTypeSelections"))
1003
1006
  UpdatePreferencesResponse.struct_class = Types::UpdatePreferencesResponse
1004
1007
 
1005
1008
  UpdateWorkloadEstimateRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "identifier"))
@@ -2147,11 +2147,16 @@ module Aws::BCMPricingCalculator
2147
2147
  # The preferred rate types for member accounts.
2148
2148
  # @return [Array<String>]
2149
2149
  #
2150
+ # @!attribute [rw] standalone_account_rate_type_selections
2151
+ # The preferred rate types for a standalone account.
2152
+ # @return [Array<String>]
2153
+ #
2150
2154
  # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/GetPreferencesResponse AWS API Documentation
2151
2155
  #
2152
2156
  class GetPreferencesResponse < Struct.new(
2153
2157
  :management_account_rate_type_selections,
2154
- :member_account_rate_type_selections)
2158
+ :member_account_rate_type_selections,
2159
+ :standalone_account_rate_type_selections)
2155
2160
  SENSITIVE = []
2156
2161
  include Aws::Structure
2157
2162
  end
@@ -3184,11 +3189,16 @@ module Aws::BCMPricingCalculator
3184
3189
  # The updated preferred rate types for member accounts.
3185
3190
  # @return [Array<String>]
3186
3191
  #
3192
+ # @!attribute [rw] standalone_account_rate_type_selections
3193
+ # The updated preferred rate types for a standalone account.
3194
+ # @return [Array<String>]
3195
+ #
3187
3196
  # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/UpdatePreferencesRequest AWS API Documentation
3188
3197
  #
3189
3198
  class UpdatePreferencesRequest < Struct.new(
3190
3199
  :management_account_rate_type_selections,
3191
- :member_account_rate_type_selections)
3200
+ :member_account_rate_type_selections,
3201
+ :standalone_account_rate_type_selections)
3192
3202
  SENSITIVE = []
3193
3203
  include Aws::Structure
3194
3204
  end
@@ -3201,11 +3211,16 @@ module Aws::BCMPricingCalculator
3201
3211
  # The updated preferred rate types for member accounts.
3202
3212
  # @return [Array<String>]
3203
3213
  #
3214
+ # @!attribute [rw] standalone_account_rate_type_selections
3215
+ # The updated preferred rate types for a standalone account.
3216
+ # @return [Array<String>]
3217
+ #
3204
3218
  # @see http://docs.aws.amazon.com/goto/WebAPI/bcm-pricing-calculator-2024-06-19/UpdatePreferencesResponse AWS API Documentation
3205
3219
  #
3206
3220
  class UpdatePreferencesResponse < Struct.new(
3207
3221
  :management_account_rate_type_selections,
3208
- :member_account_rate_type_selections)
3222
+ :member_account_rate_type_selections,
3223
+ :standalone_account_rate_type_selections)
3209
3224
  SENSITIVE = []
3210
3225
  include Aws::Structure
3211
3226
  end
@@ -55,7 +55,7 @@ module Aws::BCMPricingCalculator
55
55
  autoload :EndpointProvider, 'aws-sdk-bcmpricingcalculator/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-bcmpricingcalculator/endpoints'
57
57
 
58
- GEM_VERSION = '1.6.0'
58
+ GEM_VERSION = '1.7.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -351,7 +351,7 @@ module Aws
351
351
  def id: () -> ::String
352
352
  def name: () -> ::String
353
353
  def bill_interval: () -> Types::BillInterval
354
- def status: () -> ("READY" | "LOCKED" | "FAILED")
354
+ def status: () -> ("READY" | "LOCKED" | "FAILED" | "STALE")
355
355
  def created_at: () -> ::Time
356
356
  def expires_at: () -> ::Time
357
357
  def failure_message: () -> ::String
@@ -435,7 +435,7 @@ module Aws
435
435
  def id: () -> ::String
436
436
  def name: () -> ::String
437
437
  def bill_interval: () -> Types::BillInterval
438
- def status: () -> ("READY" | "LOCKED" | "FAILED")
438
+ def status: () -> ("READY" | "LOCKED" | "FAILED" | "STALE")
439
439
  def created_at: () -> ::Time
440
440
  def expires_at: () -> ::Time
441
441
  def failure_message: () -> ::String
@@ -450,6 +450,7 @@ module Aws
450
450
  include ::Seahorse::Client::_ResponseSuccess[Types::GetPreferencesResponse]
451
451
  def management_account_rate_type_selections: () -> ::Array[("BEFORE_DISCOUNTS" | "AFTER_DISCOUNTS")]
452
452
  def member_account_rate_type_selections: () -> ::Array[("BEFORE_DISCOUNTS" | "AFTER_DISCOUNTS")]
453
+ def standalone_account_rate_type_selections: () -> ::Array[("BEFORE_DISCOUNTS" | "AFTER_DISCOUNTS")]
453
454
  end
454
455
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#get_preferences-instance_method
455
456
  def get_preferences: (
@@ -729,7 +730,7 @@ module Aws
729
730
  def id: () -> ::String
730
731
  def name: () -> ::String
731
732
  def bill_interval: () -> Types::BillInterval
732
- def status: () -> ("READY" | "LOCKED" | "FAILED")
733
+ def status: () -> ("READY" | "LOCKED" | "FAILED" | "STALE")
733
734
  def created_at: () -> ::Time
734
735
  def expires_at: () -> ::Time
735
736
  def failure_message: () -> ::String
@@ -746,11 +747,13 @@ module Aws
746
747
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePreferencesResponse]
747
748
  def management_account_rate_type_selections: () -> ::Array[("BEFORE_DISCOUNTS" | "AFTER_DISCOUNTS")]
748
749
  def member_account_rate_type_selections: () -> ::Array[("BEFORE_DISCOUNTS" | "AFTER_DISCOUNTS")]
750
+ def standalone_account_rate_type_selections: () -> ::Array[("BEFORE_DISCOUNTS" | "AFTER_DISCOUNTS")]
749
751
  end
750
752
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BCMPricingCalculator/Client.html#update_preferences-instance_method
751
753
  def update_preferences: (
752
754
  ?management_account_rate_type_selections: Array[("BEFORE_DISCOUNTS" | "AFTER_DISCOUNTS")],
753
- ?member_account_rate_type_selections: Array[("BEFORE_DISCOUNTS" | "AFTER_DISCOUNTS")]
755
+ ?member_account_rate_type_selections: Array[("BEFORE_DISCOUNTS" | "AFTER_DISCOUNTS")],
756
+ ?standalone_account_rate_type_selections: Array[("BEFORE_DISCOUNTS" | "AFTER_DISCOUNTS")]
754
757
  ) -> _UpdatePreferencesResponseSuccess
755
758
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePreferencesResponseSuccess
756
759
 
data/sig/types.rbs CHANGED
@@ -398,7 +398,7 @@ module Aws::BCMPricingCalculator
398
398
  attr_accessor id: ::String
399
399
  attr_accessor name: ::String
400
400
  attr_accessor bill_interval: Types::BillInterval
401
- attr_accessor status: ("READY" | "LOCKED" | "FAILED")
401
+ attr_accessor status: ("READY" | "LOCKED" | "FAILED" | "STALE")
402
402
  attr_accessor created_at: ::Time
403
403
  attr_accessor expires_at: ::Time
404
404
  attr_accessor failure_message: ::String
@@ -469,7 +469,7 @@ module Aws::BCMPricingCalculator
469
469
  attr_accessor id: ::String
470
470
  attr_accessor name: ::String
471
471
  attr_accessor bill_interval: Types::BillInterval
472
- attr_accessor status: ("READY" | "LOCKED" | "FAILED")
472
+ attr_accessor status: ("READY" | "LOCKED" | "FAILED" | "STALE")
473
473
  attr_accessor created_at: ::Time
474
474
  attr_accessor expires_at: ::Time
475
475
  attr_accessor failure_message: ::String
@@ -576,7 +576,7 @@ module Aws::BCMPricingCalculator
576
576
  attr_accessor id: ::String
577
577
  attr_accessor name: ::String
578
578
  attr_accessor bill_interval: Types::BillInterval
579
- attr_accessor status: ("READY" | "LOCKED" | "FAILED")
579
+ attr_accessor status: ("READY" | "LOCKED" | "FAILED" | "STALE")
580
580
  attr_accessor created_at: ::Time
581
581
  attr_accessor expires_at: ::Time
582
582
  attr_accessor failure_message: ::String
@@ -589,6 +589,7 @@ module Aws::BCMPricingCalculator
589
589
  class GetPreferencesResponse
590
590
  attr_accessor management_account_rate_type_selections: ::Array[("BEFORE_DISCOUNTS" | "AFTER_DISCOUNTS")]
591
591
  attr_accessor member_account_rate_type_selections: ::Array[("BEFORE_DISCOUNTS" | "AFTER_DISCOUNTS")]
592
+ attr_accessor standalone_account_rate_type_selections: ::Array[("BEFORE_DISCOUNTS" | "AFTER_DISCOUNTS")]
592
593
  SENSITIVE: []
593
594
  end
594
595
 
@@ -895,7 +896,7 @@ module Aws::BCMPricingCalculator
895
896
  attr_accessor id: ::String
896
897
  attr_accessor name: ::String
897
898
  attr_accessor bill_interval: Types::BillInterval
898
- attr_accessor status: ("READY" | "LOCKED" | "FAILED")
899
+ attr_accessor status: ("READY" | "LOCKED" | "FAILED" | "STALE")
899
900
  attr_accessor created_at: ::Time
900
901
  attr_accessor expires_at: ::Time
901
902
  attr_accessor failure_message: ::String
@@ -905,12 +906,14 @@ module Aws::BCMPricingCalculator
905
906
  class UpdatePreferencesRequest
906
907
  attr_accessor management_account_rate_type_selections: ::Array[("BEFORE_DISCOUNTS" | "AFTER_DISCOUNTS")]
907
908
  attr_accessor member_account_rate_type_selections: ::Array[("BEFORE_DISCOUNTS" | "AFTER_DISCOUNTS")]
909
+ attr_accessor standalone_account_rate_type_selections: ::Array[("BEFORE_DISCOUNTS" | "AFTER_DISCOUNTS")]
908
910
  SENSITIVE: []
909
911
  end
910
912
 
911
913
  class UpdatePreferencesResponse
912
914
  attr_accessor management_account_rate_type_selections: ::Array[("BEFORE_DISCOUNTS" | "AFTER_DISCOUNTS")]
913
915
  attr_accessor member_account_rate_type_selections: ::Array[("BEFORE_DISCOUNTS" | "AFTER_DISCOUNTS")]
916
+ attr_accessor standalone_account_rate_type_selections: ::Array[("BEFORE_DISCOUNTS" | "AFTER_DISCOUNTS")]
914
917
  SENSITIVE: []
915
918
  end
916
919
 
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.6.0
4
+ version: 1.7.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-02-18 00:00:00.000000000 Z
11
+ date: 2025-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core