aws-sdk-outposts 1.98.0 → 1.99.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: fda6eaa0dad16eda7dd78b330355035357ae1222a466496688c616788967b06d
4
- data.tar.gz: b1ff8f0f29a6f028b595424daff9ef185af9e5c9fa0979067ab082ed97636377
3
+ metadata.gz: 0b41c192f27c126ac0ee328c22ec386efe44a688788f0a6edff76f506dc0b70c
4
+ data.tar.gz: d3ba0fb214ce5f4a36f118b052605112673302893f113ad9c4df5ec6873e8806
5
5
  SHA512:
6
- metadata.gz: 86e948d440b4e22b12df72abbca0d1d75b7180176e3fdd7a433d37f56b60d2058b95624b6b7468612b993d527e69b3cb49515c42524834bbcfee32c2186ce460
7
- data.tar.gz: 706f4fd88cde96534cd9b0ba70a5ab175f9951557573dd8dc2910d75d32f01f34a1ff8a884e9383a2e9fe93eb915d4750e222f4dce7093dd126e7817a77100a1
6
+ metadata.gz: 1912833deaa247791e4bd945974beacc8fc56632c6497a08a20443961ea8b5b56cfa39acb77079224d5d82e43f1cb33b2049a3788713d67d6ee39faf2e447a9a
7
+ data.tar.gz: 65cba9bc8b876766b1f42e33cb87f838df19afbcd1da68c4cfd28a9a6eb8b36411a946e60e995f18dfbffad8f06b3dd514055c271cdfc54dad24745d3f5e4843
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.99.0 (2026-04-08)
5
+ ------------------
6
+
7
+ * Feature - Add AWS Outposts APIs to view renewal pricing options and submit renewal requests for Outpost contracts
8
+
4
9
  1.98.0 (2026-04-07)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.98.0
1
+ 1.99.0
@@ -658,6 +658,58 @@ module Aws::Outposts
658
658
  req.send_request(options)
659
659
  end
660
660
 
661
+ # Creates a renewal contract for the specified Outpost.
662
+ #
663
+ # @option params [required, String] :payment_option
664
+ # The payment option.
665
+ #
666
+ # @option params [required, String] :payment_term
667
+ # The payment term.
668
+ #
669
+ # @option params [required, String] :outpost_identifier
670
+ # The ID or ARN of the Outpost.
671
+ #
672
+ # @option params [String] :client_token
673
+ # A unique, case-sensitive identifier that you provide to ensure the
674
+ # idempotency of the request.
675
+ #
676
+ # **A suitable default value is auto-generated.** You should normally
677
+ # not need to pass this option.**
678
+ #
679
+ # @return [Types::CreateRenewalOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
680
+ #
681
+ # * {Types::CreateRenewalOutput#payment_option #payment_option} => String
682
+ # * {Types::CreateRenewalOutput#payment_term #payment_term} => String
683
+ # * {Types::CreateRenewalOutput#outpost_id #outpost_id} => String
684
+ # * {Types::CreateRenewalOutput#upfront_price #upfront_price} => Float
685
+ # * {Types::CreateRenewalOutput#monthly_recurring_price #monthly_recurring_price} => Float
686
+ #
687
+ # @example Request syntax with placeholder values
688
+ #
689
+ # resp = client.create_renewal({
690
+ # payment_option: "ALL_UPFRONT", # required, accepts ALL_UPFRONT, NO_UPFRONT, PARTIAL_UPFRONT
691
+ # payment_term: "THREE_YEARS", # required, accepts THREE_YEARS, ONE_YEAR, FIVE_YEARS
692
+ # outpost_identifier: "OutpostIdentifier", # required
693
+ # client_token: "AutoFillIdempotencyToken",
694
+ # })
695
+ #
696
+ # @example Response structure
697
+ #
698
+ # resp.payment_option #=> String, one of "ALL_UPFRONT", "NO_UPFRONT", "PARTIAL_UPFRONT"
699
+ # resp.payment_term #=> String, one of "THREE_YEARS", "ONE_YEAR", "FIVE_YEARS"
700
+ # resp.outpost_id #=> String
701
+ # resp.upfront_price #=> Float
702
+ # resp.monthly_recurring_price #=> Float
703
+ #
704
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CreateRenewal AWS API Documentation
705
+ #
706
+ # @overload create_renewal(params = {})
707
+ # @param [Hash] params ({})
708
+ def create_renewal(params = {}, options = {})
709
+ req = build_request(:create_renewal, params)
710
+ req.send_request(options)
711
+ end
712
+
661
713
  # Creates a site for an Outpost.
662
714
  #
663
715
  # @option params [required, String] :name
@@ -1081,6 +1133,8 @@ module Aws::Outposts
1081
1133
  # * {Types::GetOutpostBillingInformationOutput#next_token #next_token} => String
1082
1134
  # * {Types::GetOutpostBillingInformationOutput#subscriptions #subscriptions} => Array<Types::Subscription>
1083
1135
  # * {Types::GetOutpostBillingInformationOutput#contract_end_date #contract_end_date} => String
1136
+ # * {Types::GetOutpostBillingInformationOutput#payment_term #payment_term} => String
1137
+ # * {Types::GetOutpostBillingInformationOutput#payment_option #payment_option} => String
1084
1138
  #
1085
1139
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1086
1140
  #
@@ -1098,7 +1152,7 @@ module Aws::Outposts
1098
1152
  # resp.subscriptions #=> Array
1099
1153
  # resp.subscriptions[0].subscription_id #=> String
1100
1154
  # resp.subscriptions[0].subscription_type #=> String, one of "ORIGINAL", "RENEWAL", "CAPACITY_INCREASE"
1101
- # resp.subscriptions[0].subscription_status #=> String, one of "ACTIVE", "INACTIVE", "CANCELLED"
1155
+ # resp.subscriptions[0].subscription_status #=> String, one of "ACTIVE", "PENDING", "INACTIVE", "CANCELLED"
1102
1156
  # resp.subscriptions[0].order_ids #=> Array
1103
1157
  # resp.subscriptions[0].order_ids[0] #=> String
1104
1158
  # resp.subscriptions[0].begin_date #=> Time
@@ -1106,6 +1160,8 @@ module Aws::Outposts
1106
1160
  # resp.subscriptions[0].monthly_recurring_price #=> Float
1107
1161
  # resp.subscriptions[0].upfront_price #=> Float
1108
1162
  # resp.contract_end_date #=> String
1163
+ # resp.payment_term #=> String, one of "THREE_YEARS", "ONE_YEAR", "FIVE_YEARS"
1164
+ # resp.payment_option #=> String, one of "ALL_UPFRONT", "NO_UPFRONT", "PARTIAL_UPFRONT"
1109
1165
  #
1110
1166
  # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetOutpostBillingInformation AWS API Documentation
1111
1167
  #
@@ -1216,6 +1272,41 @@ module Aws::Outposts
1216
1272
  req.send_request(options)
1217
1273
  end
1218
1274
 
1275
+ # Gets all available renewal pricing options for the specified Outpost.
1276
+ #
1277
+ # @option params [required, String] :outpost_identifier
1278
+ # The ID or ARN of the Outpost.
1279
+ #
1280
+ # @return [Types::GetRenewalPricingOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1281
+ #
1282
+ # * {Types::GetRenewalPricingOutput#pricing_result #pricing_result} => String
1283
+ # * {Types::GetRenewalPricingOutput#pricing_options #pricing_options} => Array<Types::PricingOption>
1284
+ #
1285
+ # @example Request syntax with placeholder values
1286
+ #
1287
+ # resp = client.get_renewal_pricing({
1288
+ # outpost_identifier: "OutpostIdentifier", # required
1289
+ # })
1290
+ #
1291
+ # @example Response structure
1292
+ #
1293
+ # resp.pricing_result #=> String, one of "PRICED", "UNABLE_TO_PRICE"
1294
+ # resp.pricing_options #=> Array
1295
+ # resp.pricing_options[0].pricing_type #=> String, one of "SUBSCRIPTION"
1296
+ # resp.pricing_options[0].subscription_pricing_details.payment_option #=> String, one of "ALL_UPFRONT", "NO_UPFRONT", "PARTIAL_UPFRONT"
1297
+ # resp.pricing_options[0].subscription_pricing_details.payment_term #=> String, one of "THREE_YEARS", "ONE_YEAR", "FIVE_YEARS"
1298
+ # resp.pricing_options[0].subscription_pricing_details.upfront_price #=> Float
1299
+ # resp.pricing_options[0].subscription_pricing_details.monthly_recurring_price #=> Float
1300
+ #
1301
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetRenewalPricing AWS API Documentation
1302
+ #
1303
+ # @overload get_renewal_pricing(params = {})
1304
+ # @param [Hash] params ({})
1305
+ def get_renewal_pricing(params = {}, options = {})
1306
+ req = build_request(:get_renewal_pricing, params)
1307
+ req.send_request(options)
1308
+ end
1309
+
1219
1310
  # Gets information about the specified Outpost site.
1220
1311
  #
1221
1312
  # @option params [required, String] :site_id
@@ -2460,7 +2551,7 @@ module Aws::Outposts
2460
2551
  tracer: tracer
2461
2552
  )
2462
2553
  context[:gem_name] = 'aws-sdk-outposts'
2463
- context[:gem_version] = '1.98.0'
2554
+ context[:gem_version] = '1.99.0'
2464
2555
  Seahorse::Client::Request.new(handlers, context)
2465
2556
  end
2466
2557
 
@@ -38,6 +38,7 @@ module Aws::Outposts
38
38
  AssetState = Shapes::StringShape.new(name: 'AssetState')
39
39
  AssetType = Shapes::StringShape.new(name: 'AssetType')
40
40
  AssetTypeList = Shapes::ListShape.new(name: 'AssetTypeList')
41
+ AutoFillIdempotencyToken = Shapes::StringShape.new(name: 'AutoFillIdempotencyToken')
41
42
  AvailabilityZone = Shapes::StringShape.new(name: 'AvailabilityZone')
42
43
  AvailabilityZoneId = Shapes::StringShape.new(name: 'AvailabilityZoneId')
43
44
  AvailabilityZoneIdList = Shapes::ListShape.new(name: 'AvailabilityZoneIdList')
@@ -82,6 +83,8 @@ module Aws::Outposts
82
83
  CreateOrderOutput = Shapes::StructureShape.new(name: 'CreateOrderOutput')
83
84
  CreateOutpostInput = Shapes::StructureShape.new(name: 'CreateOutpostInput')
84
85
  CreateOutpostOutput = Shapes::StructureShape.new(name: 'CreateOutpostOutput')
86
+ CreateRenewalInput = Shapes::StructureShape.new(name: 'CreateRenewalInput')
87
+ CreateRenewalOutput = Shapes::StructureShape.new(name: 'CreateRenewalOutput')
85
88
  CreateSiteInput = Shapes::StructureShape.new(name: 'CreateSiteInput')
86
89
  CreateSiteOutput = Shapes::StructureShape.new(name: 'CreateSiteOutput')
87
90
  DecommissionRequestStatus = Shapes::StringShape.new(name: 'DecommissionRequestStatus')
@@ -114,6 +117,8 @@ module Aws::Outposts
114
117
  GetOutpostOutput = Shapes::StructureShape.new(name: 'GetOutpostOutput')
115
118
  GetOutpostSupportedInstanceTypesInput = Shapes::StructureShape.new(name: 'GetOutpostSupportedInstanceTypesInput')
116
119
  GetOutpostSupportedInstanceTypesOutput = Shapes::StructureShape.new(name: 'GetOutpostSupportedInstanceTypesOutput')
120
+ GetRenewalPricingInput = Shapes::StructureShape.new(name: 'GetRenewalPricingInput')
121
+ GetRenewalPricingOutput = Shapes::StructureShape.new(name: 'GetRenewalPricingOutput')
117
122
  GetSiteAddressInput = Shapes::StructureShape.new(name: 'GetSiteAddressInput')
118
123
  GetSiteAddressOutput = Shapes::StructureShape.new(name: 'GetSiteAddressOutput')
119
124
  GetSiteInput = Shapes::StructureShape.new(name: 'GetSiteInput')
@@ -172,6 +177,7 @@ module Aws::Outposts
172
177
  NetworkInterfaceDeviceIndex = Shapes::IntegerShape.new(name: 'NetworkInterfaceDeviceIndex')
173
178
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
174
179
  NullableDouble = Shapes::FloatShape.new(name: 'NullableDouble')
180
+ NullableFloat = Shapes::FloatShape.new(name: 'NullableFloat')
175
181
  OpticalStandard = Shapes::StringShape.new(name: 'OpticalStandard')
176
182
  Order = Shapes::StructureShape.new(name: 'Order')
177
183
  OrderId = Shapes::StringShape.new(name: 'OrderId')
@@ -197,7 +203,11 @@ module Aws::Outposts
197
203
  PowerDrawKva = Shapes::StringShape.new(name: 'PowerDrawKva')
198
204
  PowerFeedDrop = Shapes::StringShape.new(name: 'PowerFeedDrop')
199
205
  PowerPhase = Shapes::StringShape.new(name: 'PowerPhase')
206
+ PricingOption = Shapes::StructureShape.new(name: 'PricingOption')
207
+ PricingOptionList = Shapes::ListShape.new(name: 'PricingOptionList')
208
+ PricingResult = Shapes::StringShape.new(name: 'PricingResult')
200
209
  Quantity = Shapes::StringShape.new(name: 'Quantity')
210
+ QuotePricingType = Shapes::StringShape.new(name: 'QuotePricingType')
201
211
  RackElevation = Shapes::FloatShape.new(name: 'RackElevation')
202
212
  RackId = Shapes::StringShape.new(name: 'RackId')
203
213
  RackPhysicalProperties = Shapes::StructureShape.new(name: 'RackPhysicalProperties')
@@ -226,6 +236,7 @@ module Aws::Outposts
226
236
  String = Shapes::StringShape.new(name: 'String')
227
237
  Subscription = Shapes::StructureShape.new(name: 'Subscription')
228
238
  SubscriptionList = Shapes::ListShape.new(name: 'SubscriptionList')
239
+ SubscriptionPricingDetails = Shapes::StructureShape.new(name: 'SubscriptionPricingDetails')
229
240
  SubscriptionStatus = Shapes::StringShape.new(name: 'SubscriptionStatus')
230
241
  SubscriptionType = Shapes::StringShape.new(name: 'SubscriptionType')
231
242
  SupportedHardwareType = Shapes::StringShape.new(name: 'SupportedHardwareType')
@@ -415,6 +426,19 @@ module Aws::Outposts
415
426
  CreateOutpostOutput.add_member(:outpost, Shapes::ShapeRef.new(shape: Outpost, location_name: "Outpost"))
416
427
  CreateOutpostOutput.struct_class = Types::CreateOutpostOutput
417
428
 
429
+ CreateRenewalInput.add_member(:payment_option, Shapes::ShapeRef.new(shape: PaymentOption, required: true, location_name: "PaymentOption"))
430
+ CreateRenewalInput.add_member(:payment_term, Shapes::ShapeRef.new(shape: PaymentTerm, required: true, location_name: "PaymentTerm"))
431
+ CreateRenewalInput.add_member(:outpost_identifier, Shapes::ShapeRef.new(shape: OutpostIdentifier, required: true, location_name: "OutpostIdentifier"))
432
+ CreateRenewalInput.add_member(:client_token, Shapes::ShapeRef.new(shape: AutoFillIdempotencyToken, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
433
+ CreateRenewalInput.struct_class = Types::CreateRenewalInput
434
+
435
+ CreateRenewalOutput.add_member(:payment_option, Shapes::ShapeRef.new(shape: PaymentOption, location_name: "PaymentOption"))
436
+ CreateRenewalOutput.add_member(:payment_term, Shapes::ShapeRef.new(shape: PaymentTerm, location_name: "PaymentTerm"))
437
+ CreateRenewalOutput.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostIdOnly, location_name: "OutpostId"))
438
+ CreateRenewalOutput.add_member(:upfront_price, Shapes::ShapeRef.new(shape: NullableFloat, location_name: "UpfrontPrice"))
439
+ CreateRenewalOutput.add_member(:monthly_recurring_price, Shapes::ShapeRef.new(shape: NullableFloat, location_name: "MonthlyRecurringPrice"))
440
+ CreateRenewalOutput.struct_class = Types::CreateRenewalOutput
441
+
418
442
  CreateSiteInput.add_member(:name, Shapes::ShapeRef.new(shape: SiteName, required: true, location_name: "Name"))
419
443
  CreateSiteInput.add_member(:description, Shapes::ShapeRef.new(shape: SiteDescription, location_name: "Description"))
420
444
  CreateSiteInput.add_member(:notes, Shapes::ShapeRef.new(shape: SiteNotes, location_name: "Notes"))
@@ -492,6 +516,8 @@ module Aws::Outposts
492
516
  GetOutpostBillingInformationOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
493
517
  GetOutpostBillingInformationOutput.add_member(:subscriptions, Shapes::ShapeRef.new(shape: SubscriptionList, location_name: "Subscriptions"))
494
518
  GetOutpostBillingInformationOutput.add_member(:contract_end_date, Shapes::ShapeRef.new(shape: String, location_name: "ContractEndDate"))
519
+ GetOutpostBillingInformationOutput.add_member(:payment_term, Shapes::ShapeRef.new(shape: PaymentTerm, location_name: "PaymentTerm"))
520
+ GetOutpostBillingInformationOutput.add_member(:payment_option, Shapes::ShapeRef.new(shape: PaymentOption, location_name: "PaymentOption"))
495
521
  GetOutpostBillingInformationOutput.struct_class = Types::GetOutpostBillingInformationOutput
496
522
 
497
523
  GetOutpostInput.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostId, required: true, location: "uri", location_name: "OutpostId"))
@@ -522,6 +548,13 @@ module Aws::Outposts
522
548
  GetOutpostSupportedInstanceTypesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
523
549
  GetOutpostSupportedInstanceTypesOutput.struct_class = Types::GetOutpostSupportedInstanceTypesOutput
524
550
 
551
+ GetRenewalPricingInput.add_member(:outpost_identifier, Shapes::ShapeRef.new(shape: OutpostIdentifier, required: true, location: "uri", location_name: "OutpostIdentifier"))
552
+ GetRenewalPricingInput.struct_class = Types::GetRenewalPricingInput
553
+
554
+ GetRenewalPricingOutput.add_member(:pricing_result, Shapes::ShapeRef.new(shape: PricingResult, location_name: "PricingResult"))
555
+ GetRenewalPricingOutput.add_member(:pricing_options, Shapes::ShapeRef.new(shape: PricingOptionList, location_name: "PricingOptions"))
556
+ GetRenewalPricingOutput.struct_class = Types::GetRenewalPricingOutput
557
+
525
558
  GetSiteAddressInput.add_member(:site_id, Shapes::ShapeRef.new(shape: SiteId, required: true, location: "uri", location_name: "SiteId"))
526
559
  GetSiteAddressInput.add_member(:address_type, Shapes::ShapeRef.new(shape: AddressType, required: true, location: "querystring", location_name: "AddressType"))
527
560
  GetSiteAddressInput.struct_class = Types::GetSiteAddressInput
@@ -728,6 +761,12 @@ module Aws::Outposts
728
761
 
729
762
  OutpostInstanceTypeList.member = Shapes::ShapeRef.new(shape: OutpostInstanceType)
730
763
 
764
+ PricingOption.add_member(:pricing_type, Shapes::ShapeRef.new(shape: QuotePricingType, location_name: "PricingType"))
765
+ PricingOption.add_member(:subscription_pricing_details, Shapes::ShapeRef.new(shape: SubscriptionPricingDetails, location_name: "SubscriptionPricingDetails"))
766
+ PricingOption.struct_class = Types::PricingOption
767
+
768
+ PricingOptionList.member = Shapes::ShapeRef.new(shape: PricingOption)
769
+
731
770
  RackPhysicalProperties.add_member(:power_draw_kva, Shapes::ShapeRef.new(shape: PowerDrawKva, location_name: "PowerDrawKva"))
732
771
  RackPhysicalProperties.add_member(:power_phase, Shapes::ShapeRef.new(shape: PowerPhase, location_name: "PowerPhase"))
733
772
  RackPhysicalProperties.add_member(:power_connector, Shapes::ShapeRef.new(shape: PowerConnector, location_name: "PowerConnector"))
@@ -819,6 +858,12 @@ module Aws::Outposts
819
858
 
820
859
  SubscriptionList.member = Shapes::ShapeRef.new(shape: Subscription)
821
860
 
861
+ SubscriptionPricingDetails.add_member(:payment_option, Shapes::ShapeRef.new(shape: PaymentOption, location_name: "PaymentOption"))
862
+ SubscriptionPricingDetails.add_member(:payment_term, Shapes::ShapeRef.new(shape: PaymentTerm, location_name: "PaymentTerm"))
863
+ SubscriptionPricingDetails.add_member(:upfront_price, Shapes::ShapeRef.new(shape: NullableFloat, location_name: "UpfrontPrice"))
864
+ SubscriptionPricingDetails.add_member(:monthly_recurring_price, Shapes::ShapeRef.new(shape: NullableFloat, location_name: "MonthlyRecurringPrice"))
865
+ SubscriptionPricingDetails.struct_class = Types::SubscriptionPricingDetails
866
+
822
867
  SupportedStorageList.member = Shapes::ShapeRef.new(shape: SupportedStorageEnum)
823
868
 
824
869
  SupportedUplinkGbpsListDefinition.member = Shapes::ShapeRef.new(shape: SupportedUplinkGbps)
@@ -964,6 +1009,18 @@ module Aws::Outposts
964
1009
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
965
1010
  end)
966
1011
 
1012
+ api.add_operation(:create_renewal, Seahorse::Model::Operation.new.tap do |o|
1013
+ o.name = "CreateRenewal"
1014
+ o.http_method = "POST"
1015
+ o.http_request_uri = "/renewals"
1016
+ o.input = Shapes::ShapeRef.new(shape: CreateRenewalInput)
1017
+ o.output = Shapes::ShapeRef.new(shape: CreateRenewalOutput)
1018
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1019
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1020
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1021
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1022
+ end)
1023
+
967
1024
  api.add_operation(:create_site, Seahorse::Model::Operation.new.tap do |o|
968
1025
  o.name = "CreateSite"
969
1026
  o.http_method = "POST"
@@ -1115,6 +1172,18 @@ module Aws::Outposts
1115
1172
  )
1116
1173
  end)
1117
1174
 
1175
+ api.add_operation(:get_renewal_pricing, Seahorse::Model::Operation.new.tap do |o|
1176
+ o.name = "GetRenewalPricing"
1177
+ o.http_method = "GET"
1178
+ o.http_request_uri = "/outpost/{OutpostIdentifier}/renewal-pricing"
1179
+ o.input = Shapes::ShapeRef.new(shape: GetRenewalPricingInput)
1180
+ o.output = Shapes::ShapeRef.new(shape: GetRenewalPricingOutput)
1181
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1182
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1183
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1184
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1185
+ end)
1186
+
1118
1187
  api.add_operation(:get_site, Seahorse::Model::Operation.new.tap do |o|
1119
1188
  o.name = "GetSite"
1120
1189
  o.http_method = "GET"
@@ -575,6 +575,69 @@ module Aws::Outposts
575
575
  include Aws::Structure
576
576
  end
577
577
 
578
+ # @!attribute [rw] payment_option
579
+ # The payment option.
580
+ # @return [String]
581
+ #
582
+ # @!attribute [rw] payment_term
583
+ # The payment term.
584
+ # @return [String]
585
+ #
586
+ # @!attribute [rw] outpost_identifier
587
+ # The ID or ARN of the Outpost.
588
+ # @return [String]
589
+ #
590
+ # @!attribute [rw] client_token
591
+ # A unique, case-sensitive identifier that you provide to ensure the
592
+ # idempotency of the request.
593
+ #
594
+ # **A suitable default value is auto-generated.** You should normally
595
+ # not need to pass this option.
596
+ # @return [String]
597
+ #
598
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CreateRenewalInput AWS API Documentation
599
+ #
600
+ class CreateRenewalInput < Struct.new(
601
+ :payment_option,
602
+ :payment_term,
603
+ :outpost_identifier,
604
+ :client_token)
605
+ SENSITIVE = []
606
+ include Aws::Structure
607
+ end
608
+
609
+ # @!attribute [rw] payment_option
610
+ # The payment option.
611
+ # @return [String]
612
+ #
613
+ # @!attribute [rw] payment_term
614
+ # The payment term.
615
+ # @return [String]
616
+ #
617
+ # @!attribute [rw] outpost_id
618
+ # The ID of the Outpost.
619
+ # @return [String]
620
+ #
621
+ # @!attribute [rw] upfront_price
622
+ # The upfront price of the renewal.
623
+ # @return [Float]
624
+ #
625
+ # @!attribute [rw] monthly_recurring_price
626
+ # The monthly recurring price of the renewal.
627
+ # @return [Float]
628
+ #
629
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CreateRenewalOutput AWS API Documentation
630
+ #
631
+ class CreateRenewalOutput < Struct.new(
632
+ :payment_option,
633
+ :payment_term,
634
+ :outpost_id,
635
+ :upfront_price,
636
+ :monthly_recurring_price)
637
+ SENSITIVE = []
638
+ include Aws::Structure
639
+ end
640
+
578
641
  # @!attribute [rw] name
579
642
  # The name of the site.
580
643
  # @return [String]
@@ -935,12 +998,22 @@ module Aws::Outposts
935
998
  # charges.
936
999
  # @return [String]
937
1000
  #
1001
+ # @!attribute [rw] payment_term
1002
+ # The payment term.
1003
+ # @return [String]
1004
+ #
1005
+ # @!attribute [rw] payment_option
1006
+ # The payment option.
1007
+ # @return [String]
1008
+ #
938
1009
  # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetOutpostBillingInformationOutput AWS API Documentation
939
1010
  #
940
1011
  class GetOutpostBillingInformationOutput < Struct.new(
941
1012
  :next_token,
942
1013
  :subscriptions,
943
- :contract_end_date)
1014
+ :contract_end_date,
1015
+ :payment_term,
1016
+ :payment_option)
944
1017
  SENSITIVE = []
945
1018
  include Aws::Structure
946
1019
  end
@@ -1068,6 +1141,35 @@ module Aws::Outposts
1068
1141
  include Aws::Structure
1069
1142
  end
1070
1143
 
1144
+ # @!attribute [rw] outpost_identifier
1145
+ # The ID or ARN of the Outpost.
1146
+ # @return [String]
1147
+ #
1148
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetRenewalPricingInput AWS API Documentation
1149
+ #
1150
+ class GetRenewalPricingInput < Struct.new(
1151
+ :outpost_identifier)
1152
+ SENSITIVE = []
1153
+ include Aws::Structure
1154
+ end
1155
+
1156
+ # @!attribute [rw] pricing_result
1157
+ # The result of the pricing request.
1158
+ # @return [String]
1159
+ #
1160
+ # @!attribute [rw] pricing_options
1161
+ # The pricing options for the specified Outpost.
1162
+ # @return [Array<Types::PricingOption>]
1163
+ #
1164
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetRenewalPricingOutput AWS API Documentation
1165
+ #
1166
+ class GetRenewalPricingOutput < Struct.new(
1167
+ :pricing_result,
1168
+ :pricing_options)
1169
+ SENSITIVE = []
1170
+ include Aws::Structure
1171
+ end
1172
+
1071
1173
  # @!attribute [rw] site_id
1072
1174
  # The ID or the Amazon Resource Name (ARN) of the site.
1073
1175
  # @return [String]
@@ -1941,6 +2043,25 @@ module Aws::Outposts
1941
2043
  include Aws::Structure
1942
2044
  end
1943
2045
 
2046
+ # A pricing option for the specified Outpost.
2047
+ #
2048
+ # @!attribute [rw] pricing_type
2049
+ # The type of pricing model.
2050
+ # @return [String]
2051
+ #
2052
+ # @!attribute [rw] subscription_pricing_details
2053
+ # The subscription pricing details for this pricing option.
2054
+ # @return [Types::SubscriptionPricingDetails]
2055
+ #
2056
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/PricingOption AWS API Documentation
2057
+ #
2058
+ class PricingOption < Struct.new(
2059
+ :pricing_type,
2060
+ :subscription_pricing_details)
2061
+ SENSITIVE = []
2062
+ include Aws::Structure
2063
+ end
2064
+
1944
2065
  # Information about the physical and logistical details for racks at
1945
2066
  # sites. For more information about hardware requirements for racks, see
1946
2067
  # [Network readiness checklist][1] in the Amazon Web Services Outposts
@@ -2355,6 +2476,10 @@ module Aws::Outposts
2355
2476
  # * **ACTIVE** - Subscription requests that are in progress and have
2356
2477
  # an end date in the future.
2357
2478
  #
2479
+ # * **PENDING** - Subscription has been created but billing has not
2480
+ # yet commenced because the subscription begin date has not been
2481
+ # reached.
2482
+ #
2358
2483
  # * **CANCELLED** - Subscription requests that are cancelled.
2359
2484
  # @return [String]
2360
2485
  #
@@ -2394,6 +2519,35 @@ module Aws::Outposts
2394
2519
  include Aws::Structure
2395
2520
  end
2396
2521
 
2522
+ # The pricing details for a subscription.
2523
+ #
2524
+ # @!attribute [rw] payment_option
2525
+ # The payment option.
2526
+ # @return [String]
2527
+ #
2528
+ # @!attribute [rw] payment_term
2529
+ # The payment term.
2530
+ # @return [String]
2531
+ #
2532
+ # @!attribute [rw] upfront_price
2533
+ # The upfront price.
2534
+ # @return [Float]
2535
+ #
2536
+ # @!attribute [rw] monthly_recurring_price
2537
+ # The monthly recurring price.
2538
+ # @return [Float]
2539
+ #
2540
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/SubscriptionPricingDetails AWS API Documentation
2541
+ #
2542
+ class SubscriptionPricingDetails < Struct.new(
2543
+ :payment_option,
2544
+ :payment_term,
2545
+ :upfront_price,
2546
+ :monthly_recurring_price)
2547
+ SENSITIVE = []
2548
+ include Aws::Structure
2549
+ end
2550
+
2397
2551
  # @!attribute [rw] resource_arn
2398
2552
  # The Amazon Resource Name (ARN) of the resource.
2399
2553
  # @return [String]
@@ -54,7 +54,7 @@ module Aws::Outposts
54
54
  autoload :EndpointProvider, 'aws-sdk-outposts/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-outposts/endpoints'
56
56
 
57
- GEM_VERSION = '1.98.0'
57
+ GEM_VERSION = '1.99.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -131,6 +131,23 @@ module Aws
131
131
  ) -> _CreateOutpostResponseSuccess
132
132
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateOutpostResponseSuccess
133
133
 
134
+ interface _CreateRenewalResponseSuccess
135
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateRenewalOutput]
136
+ def payment_option: () -> ("ALL_UPFRONT" | "NO_UPFRONT" | "PARTIAL_UPFRONT")
137
+ def payment_term: () -> ("THREE_YEARS" | "ONE_YEAR" | "FIVE_YEARS")
138
+ def outpost_id: () -> ::String
139
+ def upfront_price: () -> ::Float
140
+ def monthly_recurring_price: () -> ::Float
141
+ end
142
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Outposts/Client.html#create_renewal-instance_method
143
+ def create_renewal: (
144
+ payment_option: ("ALL_UPFRONT" | "NO_UPFRONT" | "PARTIAL_UPFRONT"),
145
+ payment_term: ("THREE_YEARS" | "ONE_YEAR" | "FIVE_YEARS"),
146
+ outpost_identifier: ::String,
147
+ ?client_token: ::String
148
+ ) -> _CreateRenewalResponseSuccess
149
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRenewalResponseSuccess
150
+
134
151
  interface _CreateSiteResponseSuccess
135
152
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateSiteOutput]
136
153
  def site: () -> Types::Site
@@ -268,6 +285,8 @@ module Aws
268
285
  def next_token: () -> ::String
269
286
  def subscriptions: () -> ::Array[Types::Subscription]
270
287
  def contract_end_date: () -> ::String
288
+ def payment_term: () -> ("THREE_YEARS" | "ONE_YEAR" | "FIVE_YEARS")
289
+ def payment_option: () -> ("ALL_UPFRONT" | "NO_UPFRONT" | "PARTIAL_UPFRONT")
271
290
  end
272
291
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Outposts/Client.html#get_outpost_billing_information-instance_method
273
292
  def get_outpost_billing_information: (
@@ -307,6 +326,17 @@ module Aws
307
326
  ) -> _GetOutpostSupportedInstanceTypesResponseSuccess
308
327
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetOutpostSupportedInstanceTypesResponseSuccess
309
328
 
329
+ interface _GetRenewalPricingResponseSuccess
330
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRenewalPricingOutput]
331
+ def pricing_result: () -> ("PRICED" | "UNABLE_TO_PRICE")
332
+ def pricing_options: () -> ::Array[Types::PricingOption]
333
+ end
334
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Outposts/Client.html#get_renewal_pricing-instance_method
335
+ def get_renewal_pricing: (
336
+ outpost_identifier: ::String
337
+ ) -> _GetRenewalPricingResponseSuccess
338
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRenewalPricingResponseSuccess
339
+
310
340
  interface _GetSiteResponseSuccess
311
341
  include ::Seahorse::Client::_ResponseSuccess[Types::GetSiteOutput]
312
342
  def site: () -> Types::Site
data/sig/types.rbs CHANGED
@@ -165,6 +165,23 @@ module Aws::Outposts
165
165
  SENSITIVE: []
166
166
  end
167
167
 
168
+ class CreateRenewalInput
169
+ attr_accessor payment_option: ("ALL_UPFRONT" | "NO_UPFRONT" | "PARTIAL_UPFRONT")
170
+ attr_accessor payment_term: ("THREE_YEARS" | "ONE_YEAR" | "FIVE_YEARS")
171
+ attr_accessor outpost_identifier: ::String
172
+ attr_accessor client_token: ::String
173
+ SENSITIVE: []
174
+ end
175
+
176
+ class CreateRenewalOutput
177
+ attr_accessor payment_option: ("ALL_UPFRONT" | "NO_UPFRONT" | "PARTIAL_UPFRONT")
178
+ attr_accessor payment_term: ("THREE_YEARS" | "ONE_YEAR" | "FIVE_YEARS")
179
+ attr_accessor outpost_id: ::String
180
+ attr_accessor upfront_price: ::Float
181
+ attr_accessor monthly_recurring_price: ::Float
182
+ SENSITIVE: []
183
+ end
184
+
168
185
  class CreateSiteInput
169
186
  attr_accessor name: ::String
170
187
  attr_accessor description: ::String
@@ -269,6 +286,8 @@ module Aws::Outposts
269
286
  attr_accessor next_token: ::String
270
287
  attr_accessor subscriptions: ::Array[Types::Subscription]
271
288
  attr_accessor contract_end_date: ::String
289
+ attr_accessor payment_term: ("THREE_YEARS" | "ONE_YEAR" | "FIVE_YEARS")
290
+ attr_accessor payment_option: ("ALL_UPFRONT" | "NO_UPFRONT" | "PARTIAL_UPFRONT")
272
291
  SENSITIVE: []
273
292
  end
274
293
 
@@ -312,6 +331,17 @@ module Aws::Outposts
312
331
  SENSITIVE: []
313
332
  end
314
333
 
334
+ class GetRenewalPricingInput
335
+ attr_accessor outpost_identifier: ::String
336
+ SENSITIVE: []
337
+ end
338
+
339
+ class GetRenewalPricingOutput
340
+ attr_accessor pricing_result: ("PRICED" | "UNABLE_TO_PRICE")
341
+ attr_accessor pricing_options: ::Array[Types::PricingOption]
342
+ SENSITIVE: []
343
+ end
344
+
315
345
  class GetSiteAddressInput
316
346
  attr_accessor site_id: ::String
317
347
  attr_accessor address_type: ("SHIPPING_ADDRESS" | "OPERATING_ADDRESS")
@@ -557,6 +587,12 @@ module Aws::Outposts
557
587
  SENSITIVE: []
558
588
  end
559
589
 
590
+ class PricingOption
591
+ attr_accessor pricing_type: ("SUBSCRIPTION")
592
+ attr_accessor subscription_pricing_details: Types::SubscriptionPricingDetails
593
+ SENSITIVE: []
594
+ end
595
+
560
596
  class RackPhysicalProperties
561
597
  attr_accessor power_draw_kva: ("POWER_5_KVA" | "POWER_10_KVA" | "POWER_15_KVA" | "POWER_30_KVA")
562
598
  attr_accessor power_phase: ("SINGLE_PHASE" | "THREE_PHASE")
@@ -653,7 +689,7 @@ module Aws::Outposts
653
689
  class Subscription
654
690
  attr_accessor subscription_id: ::String
655
691
  attr_accessor subscription_type: ("ORIGINAL" | "RENEWAL" | "CAPACITY_INCREASE")
656
- attr_accessor subscription_status: ("ACTIVE" | "INACTIVE" | "CANCELLED")
692
+ attr_accessor subscription_status: ("ACTIVE" | "PENDING" | "INACTIVE" | "CANCELLED")
657
693
  attr_accessor order_ids: ::Array[::String]
658
694
  attr_accessor begin_date: ::Time
659
695
  attr_accessor end_date: ::Time
@@ -662,6 +698,14 @@ module Aws::Outposts
662
698
  SENSITIVE: []
663
699
  end
664
700
 
701
+ class SubscriptionPricingDetails
702
+ attr_accessor payment_option: ("ALL_UPFRONT" | "NO_UPFRONT" | "PARTIAL_UPFRONT")
703
+ attr_accessor payment_term: ("THREE_YEARS" | "ONE_YEAR" | "FIVE_YEARS")
704
+ attr_accessor upfront_price: ::Float
705
+ attr_accessor monthly_recurring_price: ::Float
706
+ SENSITIVE: []
707
+ end
708
+
665
709
  class TagResourceRequest
666
710
  attr_accessor resource_arn: ::String
667
711
  attr_accessor tags: ::Hash[::String, ::String]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-outposts
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.98.0
4
+ version: 1.99.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services