aws-sdk-outposts 1.97.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-outposts/client.rb +111 -5
- data/lib/aws-sdk-outposts/client_api.rb +73 -0
- data/lib/aws-sdk-outposts/types.rb +175 -2
- data/lib/aws-sdk-outposts.rb +1 -1
- data/sig/client.rbs +32 -1
- data/sig/types.rbs +49 -4
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0b41c192f27c126ac0ee328c22ec386efe44a688788f0a6edff76f506dc0b70c
|
|
4
|
+
data.tar.gz: d3ba0fb214ce5f4a36f118b052605112673302893f113ad9c4df5ec6873e8806
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1912833deaa247791e4bd945974beacc8fc56632c6497a08a20443961ea8b5b56cfa39acb77079224d5d82e43f1cb33b2049a3788713d67d6ee39faf2e447a9a
|
|
7
|
+
data.tar.gz: 65cba9bc8b876766b1f42e33cb87f838df19afbcd1da68c4cfd28a9a6eb8b36411a946e60e995f18dfbffad8f06b3dd514055c271cdfc54dad24745d3f5e4843
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
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
|
+
|
|
9
|
+
1.98.0 (2026-04-07)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - This change allows listAssets to surface pending and non-compute asset information. Adds the INSTALLING asset state enum and the STORAGE, POWERSHELF, SWITCH, and NETWORKING AssetTypes.
|
|
13
|
+
|
|
4
14
|
1.97.0 (2026-03-18)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
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
|
|
@@ -1395,6 +1486,20 @@ module Aws::Outposts
|
|
|
1395
1486
|
# @option params [Array<String>] :status_filter
|
|
1396
1487
|
# Filters the results by state.
|
|
1397
1488
|
#
|
|
1489
|
+
# @option params [Array<String>] :asset_type_filter
|
|
1490
|
+
# Filters the results by asset type.
|
|
1491
|
+
#
|
|
1492
|
+
# * COMPUTE - Server asset used for customer compute
|
|
1493
|
+
#
|
|
1494
|
+
# * STORAGE - Server asset used by storage services
|
|
1495
|
+
#
|
|
1496
|
+
# * POWERSHELF - Powershelf assets
|
|
1497
|
+
#
|
|
1498
|
+
# * SWITCH - Switch assets
|
|
1499
|
+
#
|
|
1500
|
+
# * NETWORKING - Asset managed by Amazon Web Services for networking
|
|
1501
|
+
# purposes
|
|
1502
|
+
#
|
|
1398
1503
|
# @return [Types::ListAssetsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1399
1504
|
#
|
|
1400
1505
|
# * {Types::ListAssetsOutput#assets #assets} => Array<Types::AssetInfo>
|
|
@@ -1409,7 +1514,8 @@ module Aws::Outposts
|
|
|
1409
1514
|
# host_id_filter: ["HostId"],
|
|
1410
1515
|
# max_results: 1,
|
|
1411
1516
|
# next_token: "Token",
|
|
1412
|
-
# status_filter: ["ACTIVE"], # accepts ACTIVE, RETIRING, ISOLATED
|
|
1517
|
+
# status_filter: ["ACTIVE"], # accepts ACTIVE, RETIRING, ISOLATED, INSTALLING
|
|
1518
|
+
# asset_type_filter: ["COMPUTE"], # accepts COMPUTE, STORAGE, POWERSHELF, SWITCH, NETWORKING
|
|
1413
1519
|
# })
|
|
1414
1520
|
#
|
|
1415
1521
|
# @example Response structure
|
|
@@ -1417,9 +1523,9 @@ module Aws::Outposts
|
|
|
1417
1523
|
# resp.assets #=> Array
|
|
1418
1524
|
# resp.assets[0].asset_id #=> String
|
|
1419
1525
|
# resp.assets[0].rack_id #=> String
|
|
1420
|
-
# resp.assets[0].asset_type #=> String, one of "COMPUTE"
|
|
1526
|
+
# resp.assets[0].asset_type #=> String, one of "COMPUTE", "STORAGE", "POWERSHELF", "SWITCH", "NETWORKING"
|
|
1421
1527
|
# resp.assets[0].compute_attributes.host_id #=> String
|
|
1422
|
-
# resp.assets[0].compute_attributes.state #=> String, one of "ACTIVE", "ISOLATED", "RETIRING"
|
|
1528
|
+
# resp.assets[0].compute_attributes.state #=> String, one of "ACTIVE", "ISOLATED", "RETIRING", "INSTALLING"
|
|
1423
1529
|
# resp.assets[0].compute_attributes.instance_families #=> Array
|
|
1424
1530
|
# resp.assets[0].compute_attributes.instance_families[0] #=> String
|
|
1425
1531
|
# resp.assets[0].compute_attributes.instance_type_capacities #=> Array
|
|
@@ -2445,7 +2551,7 @@ module Aws::Outposts
|
|
|
2445
2551
|
tracer: tracer
|
|
2446
2552
|
)
|
|
2447
2553
|
context[:gem_name] = 'aws-sdk-outposts'
|
|
2448
|
-
context[:gem_version] = '1.
|
|
2554
|
+
context[:gem_version] = '1.99.0'
|
|
2449
2555
|
Seahorse::Client::Request.new(handlers, context)
|
|
2450
2556
|
end
|
|
2451
2557
|
|
|
@@ -37,6 +37,8 @@ module Aws::Outposts
|
|
|
37
37
|
AssetLocation = Shapes::StructureShape.new(name: 'AssetLocation')
|
|
38
38
|
AssetState = Shapes::StringShape.new(name: 'AssetState')
|
|
39
39
|
AssetType = Shapes::StringShape.new(name: 'AssetType')
|
|
40
|
+
AssetTypeList = Shapes::ListShape.new(name: 'AssetTypeList')
|
|
41
|
+
AutoFillIdempotencyToken = Shapes::StringShape.new(name: 'AutoFillIdempotencyToken')
|
|
40
42
|
AvailabilityZone = Shapes::StringShape.new(name: 'AvailabilityZone')
|
|
41
43
|
AvailabilityZoneId = Shapes::StringShape.new(name: 'AvailabilityZoneId')
|
|
42
44
|
AvailabilityZoneIdList = Shapes::ListShape.new(name: 'AvailabilityZoneIdList')
|
|
@@ -81,6 +83,8 @@ module Aws::Outposts
|
|
|
81
83
|
CreateOrderOutput = Shapes::StructureShape.new(name: 'CreateOrderOutput')
|
|
82
84
|
CreateOutpostInput = Shapes::StructureShape.new(name: 'CreateOutpostInput')
|
|
83
85
|
CreateOutpostOutput = Shapes::StructureShape.new(name: 'CreateOutpostOutput')
|
|
86
|
+
CreateRenewalInput = Shapes::StructureShape.new(name: 'CreateRenewalInput')
|
|
87
|
+
CreateRenewalOutput = Shapes::StructureShape.new(name: 'CreateRenewalOutput')
|
|
84
88
|
CreateSiteInput = Shapes::StructureShape.new(name: 'CreateSiteInput')
|
|
85
89
|
CreateSiteOutput = Shapes::StructureShape.new(name: 'CreateSiteOutput')
|
|
86
90
|
DecommissionRequestStatus = Shapes::StringShape.new(name: 'DecommissionRequestStatus')
|
|
@@ -113,6 +117,8 @@ module Aws::Outposts
|
|
|
113
117
|
GetOutpostOutput = Shapes::StructureShape.new(name: 'GetOutpostOutput')
|
|
114
118
|
GetOutpostSupportedInstanceTypesInput = Shapes::StructureShape.new(name: 'GetOutpostSupportedInstanceTypesInput')
|
|
115
119
|
GetOutpostSupportedInstanceTypesOutput = Shapes::StructureShape.new(name: 'GetOutpostSupportedInstanceTypesOutput')
|
|
120
|
+
GetRenewalPricingInput = Shapes::StructureShape.new(name: 'GetRenewalPricingInput')
|
|
121
|
+
GetRenewalPricingOutput = Shapes::StructureShape.new(name: 'GetRenewalPricingOutput')
|
|
116
122
|
GetSiteAddressInput = Shapes::StructureShape.new(name: 'GetSiteAddressInput')
|
|
117
123
|
GetSiteAddressOutput = Shapes::StructureShape.new(name: 'GetSiteAddressOutput')
|
|
118
124
|
GetSiteInput = Shapes::StructureShape.new(name: 'GetSiteInput')
|
|
@@ -171,6 +177,7 @@ module Aws::Outposts
|
|
|
171
177
|
NetworkInterfaceDeviceIndex = Shapes::IntegerShape.new(name: 'NetworkInterfaceDeviceIndex')
|
|
172
178
|
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
|
173
179
|
NullableDouble = Shapes::FloatShape.new(name: 'NullableDouble')
|
|
180
|
+
NullableFloat = Shapes::FloatShape.new(name: 'NullableFloat')
|
|
174
181
|
OpticalStandard = Shapes::StringShape.new(name: 'OpticalStandard')
|
|
175
182
|
Order = Shapes::StructureShape.new(name: 'Order')
|
|
176
183
|
OrderId = Shapes::StringShape.new(name: 'OrderId')
|
|
@@ -196,7 +203,11 @@ module Aws::Outposts
|
|
|
196
203
|
PowerDrawKva = Shapes::StringShape.new(name: 'PowerDrawKva')
|
|
197
204
|
PowerFeedDrop = Shapes::StringShape.new(name: 'PowerFeedDrop')
|
|
198
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')
|
|
199
209
|
Quantity = Shapes::StringShape.new(name: 'Quantity')
|
|
210
|
+
QuotePricingType = Shapes::StringShape.new(name: 'QuotePricingType')
|
|
200
211
|
RackElevation = Shapes::FloatShape.new(name: 'RackElevation')
|
|
201
212
|
RackId = Shapes::StringShape.new(name: 'RackId')
|
|
202
213
|
RackPhysicalProperties = Shapes::StructureShape.new(name: 'RackPhysicalProperties')
|
|
@@ -225,6 +236,7 @@ module Aws::Outposts
|
|
|
225
236
|
String = Shapes::StringShape.new(name: 'String')
|
|
226
237
|
Subscription = Shapes::StructureShape.new(name: 'Subscription')
|
|
227
238
|
SubscriptionList = Shapes::ListShape.new(name: 'SubscriptionList')
|
|
239
|
+
SubscriptionPricingDetails = Shapes::StructureShape.new(name: 'SubscriptionPricingDetails')
|
|
228
240
|
SubscriptionStatus = Shapes::StringShape.new(name: 'SubscriptionStatus')
|
|
229
241
|
SubscriptionType = Shapes::StringShape.new(name: 'SubscriptionType')
|
|
230
242
|
SupportedHardwareType = Shapes::StringShape.new(name: 'SupportedHardwareType')
|
|
@@ -310,6 +322,8 @@ module Aws::Outposts
|
|
|
310
322
|
AssetLocation.add_member(:rack_elevation, Shapes::ShapeRef.new(shape: RackElevation, location_name: "RackElevation"))
|
|
311
323
|
AssetLocation.struct_class = Types::AssetLocation
|
|
312
324
|
|
|
325
|
+
AssetTypeList.member = Shapes::ShapeRef.new(shape: AssetType)
|
|
326
|
+
|
|
313
327
|
AvailabilityZoneIdList.member = Shapes::ShapeRef.new(shape: AvailabilityZoneId)
|
|
314
328
|
|
|
315
329
|
AvailabilityZoneList.member = Shapes::ShapeRef.new(shape: AvailabilityZone)
|
|
@@ -412,6 +426,19 @@ module Aws::Outposts
|
|
|
412
426
|
CreateOutpostOutput.add_member(:outpost, Shapes::ShapeRef.new(shape: Outpost, location_name: "Outpost"))
|
|
413
427
|
CreateOutpostOutput.struct_class = Types::CreateOutpostOutput
|
|
414
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
|
+
|
|
415
442
|
CreateSiteInput.add_member(:name, Shapes::ShapeRef.new(shape: SiteName, required: true, location_name: "Name"))
|
|
416
443
|
CreateSiteInput.add_member(:description, Shapes::ShapeRef.new(shape: SiteDescription, location_name: "Description"))
|
|
417
444
|
CreateSiteInput.add_member(:notes, Shapes::ShapeRef.new(shape: SiteNotes, location_name: "Notes"))
|
|
@@ -489,6 +516,8 @@ module Aws::Outposts
|
|
|
489
516
|
GetOutpostBillingInformationOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
|
490
517
|
GetOutpostBillingInformationOutput.add_member(:subscriptions, Shapes::ShapeRef.new(shape: SubscriptionList, location_name: "Subscriptions"))
|
|
491
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"))
|
|
492
521
|
GetOutpostBillingInformationOutput.struct_class = Types::GetOutpostBillingInformationOutput
|
|
493
522
|
|
|
494
523
|
GetOutpostInput.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostId, required: true, location: "uri", location_name: "OutpostId"))
|
|
@@ -519,6 +548,13 @@ module Aws::Outposts
|
|
|
519
548
|
GetOutpostSupportedInstanceTypesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
|
520
549
|
GetOutpostSupportedInstanceTypesOutput.struct_class = Types::GetOutpostSupportedInstanceTypesOutput
|
|
521
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
|
+
|
|
522
558
|
GetSiteAddressInput.add_member(:site_id, Shapes::ShapeRef.new(shape: SiteId, required: true, location: "uri", location_name: "SiteId"))
|
|
523
559
|
GetSiteAddressInput.add_member(:address_type, Shapes::ShapeRef.new(shape: AddressType, required: true, location: "querystring", location_name: "AddressType"))
|
|
524
560
|
GetSiteAddressInput.struct_class = Types::GetSiteAddressInput
|
|
@@ -605,6 +641,7 @@ module Aws::Outposts
|
|
|
605
641
|
ListAssetsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults1000, location: "querystring", location_name: "MaxResults"))
|
|
606
642
|
ListAssetsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "NextToken"))
|
|
607
643
|
ListAssetsInput.add_member(:status_filter, Shapes::ShapeRef.new(shape: StatusList, location: "querystring", location_name: "StatusFilter"))
|
|
644
|
+
ListAssetsInput.add_member(:asset_type_filter, Shapes::ShapeRef.new(shape: AssetTypeList, location: "querystring", location_name: "AssetTypeFilter"))
|
|
608
645
|
ListAssetsInput.struct_class = Types::ListAssetsInput
|
|
609
646
|
|
|
610
647
|
ListAssetsOutput.add_member(:assets, Shapes::ShapeRef.new(shape: AssetListDefinition, location_name: "Assets"))
|
|
@@ -724,6 +761,12 @@ module Aws::Outposts
|
|
|
724
761
|
|
|
725
762
|
OutpostInstanceTypeList.member = Shapes::ShapeRef.new(shape: OutpostInstanceType)
|
|
726
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
|
+
|
|
727
770
|
RackPhysicalProperties.add_member(:power_draw_kva, Shapes::ShapeRef.new(shape: PowerDrawKva, location_name: "PowerDrawKva"))
|
|
728
771
|
RackPhysicalProperties.add_member(:power_phase, Shapes::ShapeRef.new(shape: PowerPhase, location_name: "PowerPhase"))
|
|
729
772
|
RackPhysicalProperties.add_member(:power_connector, Shapes::ShapeRef.new(shape: PowerConnector, location_name: "PowerConnector"))
|
|
@@ -815,6 +858,12 @@ module Aws::Outposts
|
|
|
815
858
|
|
|
816
859
|
SubscriptionList.member = Shapes::ShapeRef.new(shape: Subscription)
|
|
817
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
|
+
|
|
818
867
|
SupportedStorageList.member = Shapes::ShapeRef.new(shape: SupportedStorageEnum)
|
|
819
868
|
|
|
820
869
|
SupportedUplinkGbpsListDefinition.member = Shapes::ShapeRef.new(shape: SupportedUplinkGbps)
|
|
@@ -960,6 +1009,18 @@ module Aws::Outposts
|
|
|
960
1009
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
961
1010
|
end)
|
|
962
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
|
+
|
|
963
1024
|
api.add_operation(:create_site, Seahorse::Model::Operation.new.tap do |o|
|
|
964
1025
|
o.name = "CreateSite"
|
|
965
1026
|
o.http_method = "POST"
|
|
@@ -1111,6 +1172,18 @@ module Aws::Outposts
|
|
|
1111
1172
|
)
|
|
1112
1173
|
end)
|
|
1113
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
|
+
|
|
1114
1187
|
api.add_operation(:get_site, Seahorse::Model::Operation.new.tap do |o|
|
|
1115
1188
|
o.name = "GetSite"
|
|
1116
1189
|
o.http_method = "GET"
|
|
@@ -389,6 +389,9 @@ module Aws::Outposts
|
|
|
389
389
|
# Capacity for new compute resources is reduced. Amazon Web Services
|
|
390
390
|
# sends notifications for resources that must be stopped before the
|
|
391
391
|
# asset can be replaced.
|
|
392
|
+
#
|
|
393
|
+
# * INSTALLING - The asset is being installed and can't yet provide
|
|
394
|
+
# capacity for new compute resources.
|
|
392
395
|
# @return [String]
|
|
393
396
|
#
|
|
394
397
|
# @!attribute [rw] instance_families
|
|
@@ -572,6 +575,69 @@ module Aws::Outposts
|
|
|
572
575
|
include Aws::Structure
|
|
573
576
|
end
|
|
574
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
|
+
|
|
575
641
|
# @!attribute [rw] name
|
|
576
642
|
# The name of the site.
|
|
577
643
|
# @return [String]
|
|
@@ -932,12 +998,22 @@ module Aws::Outposts
|
|
|
932
998
|
# charges.
|
|
933
999
|
# @return [String]
|
|
934
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
|
+
#
|
|
935
1009
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetOutpostBillingInformationOutput AWS API Documentation
|
|
936
1010
|
#
|
|
937
1011
|
class GetOutpostBillingInformationOutput < Struct.new(
|
|
938
1012
|
:next_token,
|
|
939
1013
|
:subscriptions,
|
|
940
|
-
:contract_end_date
|
|
1014
|
+
:contract_end_date,
|
|
1015
|
+
:payment_term,
|
|
1016
|
+
:payment_option)
|
|
941
1017
|
SENSITIVE = []
|
|
942
1018
|
include Aws::Structure
|
|
943
1019
|
end
|
|
@@ -1065,6 +1141,35 @@ module Aws::Outposts
|
|
|
1065
1141
|
include Aws::Structure
|
|
1066
1142
|
end
|
|
1067
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
|
+
|
|
1068
1173
|
# @!attribute [rw] site_id
|
|
1069
1174
|
# The ID or the Amazon Resource Name (ARN) of the site.
|
|
1070
1175
|
# @return [String]
|
|
@@ -1376,6 +1481,21 @@ module Aws::Outposts
|
|
|
1376
1481
|
# Filters the results by state.
|
|
1377
1482
|
# @return [Array<String>]
|
|
1378
1483
|
#
|
|
1484
|
+
# @!attribute [rw] asset_type_filter
|
|
1485
|
+
# Filters the results by asset type.
|
|
1486
|
+
#
|
|
1487
|
+
# * COMPUTE - Server asset used for customer compute
|
|
1488
|
+
#
|
|
1489
|
+
# * STORAGE - Server asset used by storage services
|
|
1490
|
+
#
|
|
1491
|
+
# * POWERSHELF - Powershelf assets
|
|
1492
|
+
#
|
|
1493
|
+
# * SWITCH - Switch assets
|
|
1494
|
+
#
|
|
1495
|
+
# * NETWORKING - Asset managed by Amazon Web Services for networking
|
|
1496
|
+
# purposes
|
|
1497
|
+
# @return [Array<String>]
|
|
1498
|
+
#
|
|
1379
1499
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListAssetsInput AWS API Documentation
|
|
1380
1500
|
#
|
|
1381
1501
|
class ListAssetsInput < Struct.new(
|
|
@@ -1383,7 +1503,8 @@ module Aws::Outposts
|
|
|
1383
1503
|
:host_id_filter,
|
|
1384
1504
|
:max_results,
|
|
1385
1505
|
:next_token,
|
|
1386
|
-
:status_filter
|
|
1506
|
+
:status_filter,
|
|
1507
|
+
:asset_type_filter)
|
|
1387
1508
|
SENSITIVE = []
|
|
1388
1509
|
include Aws::Structure
|
|
1389
1510
|
end
|
|
@@ -1922,6 +2043,25 @@ module Aws::Outposts
|
|
|
1922
2043
|
include Aws::Structure
|
|
1923
2044
|
end
|
|
1924
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
|
+
|
|
1925
2065
|
# Information about the physical and logistical details for racks at
|
|
1926
2066
|
# sites. For more information about hardware requirements for racks, see
|
|
1927
2067
|
# [Network readiness checklist][1] in the Amazon Web Services Outposts
|
|
@@ -2336,6 +2476,10 @@ module Aws::Outposts
|
|
|
2336
2476
|
# * **ACTIVE** - Subscription requests that are in progress and have
|
|
2337
2477
|
# an end date in the future.
|
|
2338
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
|
+
#
|
|
2339
2483
|
# * **CANCELLED** - Subscription requests that are cancelled.
|
|
2340
2484
|
# @return [String]
|
|
2341
2485
|
#
|
|
@@ -2375,6 +2519,35 @@ module Aws::Outposts
|
|
|
2375
2519
|
include Aws::Structure
|
|
2376
2520
|
end
|
|
2377
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
|
+
|
|
2378
2551
|
# @!attribute [rw] resource_arn
|
|
2379
2552
|
# The Amazon Resource Name (ARN) of the resource.
|
|
2380
2553
|
# @return [String]
|
data/lib/aws-sdk-outposts.rb
CHANGED
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
|
|
@@ -358,7 +388,8 @@ module Aws
|
|
|
358
388
|
?host_id_filter: Array[::String],
|
|
359
389
|
?max_results: ::Integer,
|
|
360
390
|
?next_token: ::String,
|
|
361
|
-
?status_filter: Array[("ACTIVE" | "RETIRING" | "ISOLATED")]
|
|
391
|
+
?status_filter: Array[("ACTIVE" | "RETIRING" | "ISOLATED" | "INSTALLING")],
|
|
392
|
+
?asset_type_filter: Array[("COMPUTE" | "STORAGE" | "POWERSHELF" | "SWITCH" | "NETWORKING")]
|
|
362
393
|
) -> _ListAssetsResponseSuccess
|
|
363
394
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAssetsResponseSuccess
|
|
364
395
|
|
data/sig/types.rbs
CHANGED
|
@@ -31,7 +31,7 @@ module Aws::Outposts
|
|
|
31
31
|
class AssetInfo
|
|
32
32
|
attr_accessor asset_id: ::String
|
|
33
33
|
attr_accessor rack_id: ::String
|
|
34
|
-
attr_accessor asset_type: ("COMPUTE")
|
|
34
|
+
attr_accessor asset_type: ("COMPUTE" | "STORAGE" | "POWERSHELF" | "SWITCH" | "NETWORKING")
|
|
35
35
|
attr_accessor compute_attributes: Types::ComputeAttributes
|
|
36
36
|
attr_accessor asset_location: Types::AssetLocation
|
|
37
37
|
SENSITIVE: []
|
|
@@ -112,7 +112,7 @@ module Aws::Outposts
|
|
|
112
112
|
|
|
113
113
|
class ComputeAttributes
|
|
114
114
|
attr_accessor host_id: ::String
|
|
115
|
-
attr_accessor state: ("ACTIVE" | "ISOLATED" | "RETIRING")
|
|
115
|
+
attr_accessor state: ("ACTIVE" | "ISOLATED" | "RETIRING" | "INSTALLING")
|
|
116
116
|
attr_accessor instance_families: ::Array[::String]
|
|
117
117
|
attr_accessor instance_type_capacities: ::Array[Types::AssetInstanceTypeCapacity]
|
|
118
118
|
attr_accessor max_vcpus: ::Integer
|
|
@@ -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")
|
|
@@ -405,7 +435,8 @@ module Aws::Outposts
|
|
|
405
435
|
attr_accessor host_id_filter: ::Array[::String]
|
|
406
436
|
attr_accessor max_results: ::Integer
|
|
407
437
|
attr_accessor next_token: ::String
|
|
408
|
-
attr_accessor status_filter: ::Array[("ACTIVE" | "RETIRING" | "ISOLATED")]
|
|
438
|
+
attr_accessor status_filter: ::Array[("ACTIVE" | "RETIRING" | "ISOLATED" | "INSTALLING")]
|
|
439
|
+
attr_accessor asset_type_filter: ::Array[("COMPUTE" | "STORAGE" | "POWERSHELF" | "SWITCH" | "NETWORKING")]
|
|
409
440
|
SENSITIVE: []
|
|
410
441
|
end
|
|
411
442
|
|
|
@@ -556,6 +587,12 @@ module Aws::Outposts
|
|
|
556
587
|
SENSITIVE: []
|
|
557
588
|
end
|
|
558
589
|
|
|
590
|
+
class PricingOption
|
|
591
|
+
attr_accessor pricing_type: ("SUBSCRIPTION")
|
|
592
|
+
attr_accessor subscription_pricing_details: Types::SubscriptionPricingDetails
|
|
593
|
+
SENSITIVE: []
|
|
594
|
+
end
|
|
595
|
+
|
|
559
596
|
class RackPhysicalProperties
|
|
560
597
|
attr_accessor power_draw_kva: ("POWER_5_KVA" | "POWER_10_KVA" | "POWER_15_KVA" | "POWER_30_KVA")
|
|
561
598
|
attr_accessor power_phase: ("SINGLE_PHASE" | "THREE_PHASE")
|
|
@@ -652,7 +689,7 @@ module Aws::Outposts
|
|
|
652
689
|
class Subscription
|
|
653
690
|
attr_accessor subscription_id: ::String
|
|
654
691
|
attr_accessor subscription_type: ("ORIGINAL" | "RENEWAL" | "CAPACITY_INCREASE")
|
|
655
|
-
attr_accessor subscription_status: ("ACTIVE" | "INACTIVE" | "CANCELLED")
|
|
692
|
+
attr_accessor subscription_status: ("ACTIVE" | "PENDING" | "INACTIVE" | "CANCELLED")
|
|
656
693
|
attr_accessor order_ids: ::Array[::String]
|
|
657
694
|
attr_accessor begin_date: ::Time
|
|
658
695
|
attr_accessor end_date: ::Time
|
|
@@ -661,6 +698,14 @@ module Aws::Outposts
|
|
|
661
698
|
SENSITIVE: []
|
|
662
699
|
end
|
|
663
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
|
+
|
|
664
709
|
class TagResourceRequest
|
|
665
710
|
attr_accessor resource_arn: ::String
|
|
666
711
|
attr_accessor tags: ::Hash[::String, ::String]
|