aws-sdk-outposts 1.53.0 → 1.55.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-outposts/client.rb +264 -7
- data/lib/aws-sdk-outposts/client_api.rb +180 -0
- data/lib/aws-sdk-outposts/endpoints.rb +70 -0
- data/lib/aws-sdk-outposts/plugins/endpoints.rb +10 -0
- data/lib/aws-sdk-outposts/types.rb +378 -4
- data/lib/aws-sdk-outposts.rb +2 -2
- data/sig/client.rbs +85 -0
- data/sig/types.rbs +103 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf4142a94cf8ba419a9445d1788bb27d51fb0d4c302ee00a84bb94a323b0cacc
|
4
|
+
data.tar.gz: 27a67fecab387aba2b0370a991954581e68c5ff0604ada13a903f4f06505fcbe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eda077cb087ddbb7c157ac2b16e65777e74c673401379064a23a9fd6258fbb1e1e70f6460634172c49f62f63749436ad1bfb50b963ac407e02c2e1c191e9ef6d
|
7
|
+
data.tar.gz: 170aaed1ab5b8e81ec535fe9730841a8781c631854511e1e3286264b212216937e6804fd1c6c272d7fb58538d289fe1ddfa0e5f6c90b1b86fd649fd472e22032
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.55.0 (2024-04-16)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds new APIs to allow customers to configure their Outpost capacity at order-time.
|
8
|
+
|
9
|
+
1.54.0 (2024-04-12)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds EXPEDITORS as a valid shipment carrier.
|
13
|
+
|
4
14
|
1.53.0 (2024-01-26)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.55.0
|
@@ -388,6 +388,33 @@ module Aws::Outposts
|
|
388
388
|
|
389
389
|
# @!group API Operations
|
390
390
|
|
391
|
+
# Cancels the capacity task.
|
392
|
+
#
|
393
|
+
# @option params [required, String] :capacity_task_id
|
394
|
+
# ID of the capacity task that you want to cancel.
|
395
|
+
#
|
396
|
+
# @option params [required, String] :outpost_identifier
|
397
|
+
# ID or ARN of the Outpost associated with the capacity task that you
|
398
|
+
# want to cancel.
|
399
|
+
#
|
400
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
401
|
+
#
|
402
|
+
# @example Request syntax with placeholder values
|
403
|
+
#
|
404
|
+
# resp = client.cancel_capacity_task({
|
405
|
+
# capacity_task_id: "CapacityTaskId", # required
|
406
|
+
# outpost_identifier: "OutpostIdentifier", # required
|
407
|
+
# })
|
408
|
+
#
|
409
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CancelCapacityTask AWS API Documentation
|
410
|
+
#
|
411
|
+
# @overload cancel_capacity_task(params = {})
|
412
|
+
# @param [Hash] params ({})
|
413
|
+
def cancel_capacity_task(params = {}, options = {})
|
414
|
+
req = build_request(:cancel_capacity_task, params)
|
415
|
+
req.send_request(options)
|
416
|
+
end
|
417
|
+
|
391
418
|
# Cancels the specified order for an Outpost.
|
392
419
|
#
|
393
420
|
# @option params [required, String] :order_id
|
@@ -453,7 +480,7 @@ module Aws::Outposts
|
|
453
480
|
# resp.order.line_items[0].quantity #=> Integer
|
454
481
|
# resp.order.line_items[0].status #=> String, one of "PREPARING", "BUILDING", "SHIPPED", "DELIVERED", "INSTALLING", "INSTALLED", "ERROR", "CANCELLED", "REPLACED"
|
455
482
|
# resp.order.line_items[0].shipment_information.shipment_tracking_number #=> String
|
456
|
-
# resp.order.line_items[0].shipment_information.shipment_carrier #=> String, one of "DHL", "DBS", "FEDEX", "UPS"
|
483
|
+
# resp.order.line_items[0].shipment_information.shipment_carrier #=> String, one of "DHL", "DBS", "FEDEX", "UPS", "EXPEDITORS"
|
457
484
|
# resp.order.line_items[0].asset_information_list #=> Array
|
458
485
|
# resp.order.line_items[0].asset_information_list[0].asset_id #=> String
|
459
486
|
# resp.order.line_items[0].asset_information_list[0].mac_address_list #=> Array
|
@@ -665,7 +692,7 @@ module Aws::Outposts
|
|
665
692
|
# Deletes the specified Outpost.
|
666
693
|
#
|
667
694
|
# @option params [required, String] :outpost_id
|
668
|
-
# The ID or
|
695
|
+
# The ID or ARN of the Outpost.
|
669
696
|
#
|
670
697
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
671
698
|
#
|
@@ -706,6 +733,59 @@ module Aws::Outposts
|
|
706
733
|
req.send_request(options)
|
707
734
|
end
|
708
735
|
|
736
|
+
# Gets details of the specified capacity task.
|
737
|
+
#
|
738
|
+
# @option params [required, String] :capacity_task_id
|
739
|
+
# ID of the capacity task.
|
740
|
+
#
|
741
|
+
# @option params [required, String] :outpost_identifier
|
742
|
+
# ID or ARN of the Outpost associated with the specified capacity task.
|
743
|
+
#
|
744
|
+
# @return [Types::GetCapacityTaskOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
745
|
+
#
|
746
|
+
# * {Types::GetCapacityTaskOutput#capacity_task_id #capacity_task_id} => String
|
747
|
+
# * {Types::GetCapacityTaskOutput#outpost_id #outpost_id} => String
|
748
|
+
# * {Types::GetCapacityTaskOutput#order_id #order_id} => String
|
749
|
+
# * {Types::GetCapacityTaskOutput#requested_instance_pools #requested_instance_pools} => Array<Types::InstanceTypeCapacity>
|
750
|
+
# * {Types::GetCapacityTaskOutput#dry_run #dry_run} => Boolean
|
751
|
+
# * {Types::GetCapacityTaskOutput#capacity_task_status #capacity_task_status} => String
|
752
|
+
# * {Types::GetCapacityTaskOutput#failed #failed} => Types::CapacityTaskFailure
|
753
|
+
# * {Types::GetCapacityTaskOutput#creation_date #creation_date} => Time
|
754
|
+
# * {Types::GetCapacityTaskOutput#completion_date #completion_date} => Time
|
755
|
+
# * {Types::GetCapacityTaskOutput#last_modified_date #last_modified_date} => Time
|
756
|
+
#
|
757
|
+
# @example Request syntax with placeholder values
|
758
|
+
#
|
759
|
+
# resp = client.get_capacity_task({
|
760
|
+
# capacity_task_id: "CapacityTaskId", # required
|
761
|
+
# outpost_identifier: "OutpostIdentifier", # required
|
762
|
+
# })
|
763
|
+
#
|
764
|
+
# @example Response structure
|
765
|
+
#
|
766
|
+
# resp.capacity_task_id #=> String
|
767
|
+
# resp.outpost_id #=> String
|
768
|
+
# resp.order_id #=> String
|
769
|
+
# resp.requested_instance_pools #=> Array
|
770
|
+
# resp.requested_instance_pools[0].instance_type #=> String
|
771
|
+
# resp.requested_instance_pools[0].count #=> Integer
|
772
|
+
# resp.dry_run #=> Boolean
|
773
|
+
# resp.capacity_task_status #=> String, one of "REQUESTED", "IN_PROGRESS", "FAILED", "COMPLETED", "CANCELLED"
|
774
|
+
# resp.failed.reason #=> String
|
775
|
+
# resp.failed.type #=> String, one of "UNSUPPORTED_CAPACITY_CONFIGURATION"
|
776
|
+
# resp.creation_date #=> Time
|
777
|
+
# resp.completion_date #=> Time
|
778
|
+
# resp.last_modified_date #=> Time
|
779
|
+
#
|
780
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetCapacityTask AWS API Documentation
|
781
|
+
#
|
782
|
+
# @overload get_capacity_task(params = {})
|
783
|
+
# @param [Hash] params ({})
|
784
|
+
def get_capacity_task(params = {}, options = {})
|
785
|
+
req = build_request(:get_capacity_task, params)
|
786
|
+
req.send_request(options)
|
787
|
+
end
|
788
|
+
|
709
789
|
# Gets information about the specified catalog item.
|
710
790
|
#
|
711
791
|
# @option params [required, String] :catalog_item_id
|
@@ -823,7 +903,7 @@ module Aws::Outposts
|
|
823
903
|
# resp.order.line_items[0].quantity #=> Integer
|
824
904
|
# resp.order.line_items[0].status #=> String, one of "PREPARING", "BUILDING", "SHIPPED", "DELIVERED", "INSTALLING", "INSTALLED", "ERROR", "CANCELLED", "REPLACED"
|
825
905
|
# resp.order.line_items[0].shipment_information.shipment_tracking_number #=> String
|
826
|
-
# resp.order.line_items[0].shipment_information.shipment_carrier #=> String, one of "DHL", "DBS", "FEDEX", "UPS"
|
906
|
+
# resp.order.line_items[0].shipment_information.shipment_carrier #=> String, one of "DHL", "DBS", "FEDEX", "UPS", "EXPEDITORS"
|
827
907
|
# resp.order.line_items[0].asset_information_list #=> Array
|
828
908
|
# resp.order.line_items[0].asset_information_list[0].asset_id #=> String
|
829
909
|
# resp.order.line_items[0].asset_information_list[0].mac_address_list #=> Array
|
@@ -848,7 +928,7 @@ module Aws::Outposts
|
|
848
928
|
# Gets information about the specified Outpost.
|
849
929
|
#
|
850
930
|
# @option params [required, String] :outpost_id
|
851
|
-
# The ID or
|
931
|
+
# The ID or ARN of the Outpost.
|
852
932
|
#
|
853
933
|
# @return [Types::GetOutpostOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
854
934
|
#
|
@@ -888,7 +968,7 @@ module Aws::Outposts
|
|
888
968
|
# Gets the instance types for the specified Outpost.
|
889
969
|
#
|
890
970
|
# @option params [required, String] :outpost_id
|
891
|
-
# The ID or
|
971
|
+
# The ID or ARN of the Outpost.
|
892
972
|
#
|
893
973
|
# @option params [String] :next_token
|
894
974
|
# The pagination token.
|
@@ -930,6 +1010,54 @@ module Aws::Outposts
|
|
930
1010
|
req.send_request(options)
|
931
1011
|
end
|
932
1012
|
|
1013
|
+
# Gets the instance types that an Outpost can support in
|
1014
|
+
# `InstanceTypeCapacity`. This will generally include instance types
|
1015
|
+
# that are not currently configured and therefore cannot be launched
|
1016
|
+
# with the current Outpost capacity configuration.
|
1017
|
+
#
|
1018
|
+
# @option params [required, String] :outpost_identifier
|
1019
|
+
# The ID or ARN of the Outpost.
|
1020
|
+
#
|
1021
|
+
# @option params [required, String] :order_id
|
1022
|
+
# The ID for the Amazon Web Services Outposts order.
|
1023
|
+
#
|
1024
|
+
# @option params [Integer] :max_results
|
1025
|
+
# The maximum page size.
|
1026
|
+
#
|
1027
|
+
# @option params [String] :next_token
|
1028
|
+
# The pagination token.
|
1029
|
+
#
|
1030
|
+
# @return [Types::GetOutpostSupportedInstanceTypesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1031
|
+
#
|
1032
|
+
# * {Types::GetOutpostSupportedInstanceTypesOutput#instance_types #instance_types} => Array<Types::InstanceTypeItem>
|
1033
|
+
# * {Types::GetOutpostSupportedInstanceTypesOutput#next_token #next_token} => String
|
1034
|
+
#
|
1035
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1036
|
+
#
|
1037
|
+
# @example Request syntax with placeholder values
|
1038
|
+
#
|
1039
|
+
# resp = client.get_outpost_supported_instance_types({
|
1040
|
+
# outpost_identifier: "OutpostIdentifier", # required
|
1041
|
+
# order_id: "OrderId", # required
|
1042
|
+
# max_results: 1,
|
1043
|
+
# next_token: "Token",
|
1044
|
+
# })
|
1045
|
+
#
|
1046
|
+
# @example Response structure
|
1047
|
+
#
|
1048
|
+
# resp.instance_types #=> Array
|
1049
|
+
# resp.instance_types[0].instance_type #=> String
|
1050
|
+
# resp.next_token #=> String
|
1051
|
+
#
|
1052
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetOutpostSupportedInstanceTypes AWS API Documentation
|
1053
|
+
#
|
1054
|
+
# @overload get_outpost_supported_instance_types(params = {})
|
1055
|
+
# @param [Hash] params ({})
|
1056
|
+
def get_outpost_supported_instance_types(params = {}, options = {})
|
1057
|
+
req = build_request(:get_outpost_supported_instance_types, params)
|
1058
|
+
req.send_request(options)
|
1059
|
+
end
|
1060
|
+
|
933
1061
|
# Gets information about the specified Outpost site.
|
934
1062
|
#
|
935
1063
|
# @option params [required, String] :site_id
|
@@ -1085,6 +1213,64 @@ module Aws::Outposts
|
|
1085
1213
|
req.send_request(options)
|
1086
1214
|
end
|
1087
1215
|
|
1216
|
+
# Lists the capacity tasks for your Amazon Web Services account.
|
1217
|
+
#
|
1218
|
+
# Use filters to return specific results. If you specify multiple
|
1219
|
+
# filters, the results include only the resources that match all of the
|
1220
|
+
# specified filters. For a filter where you can specify multiple values,
|
1221
|
+
# the results include items that match any of the values that you
|
1222
|
+
# specify for the filter.
|
1223
|
+
#
|
1224
|
+
# @option params [String] :outpost_identifier_filter
|
1225
|
+
# Filters the results by an Outpost ID or an Outpost ARN.
|
1226
|
+
#
|
1227
|
+
# @option params [Integer] :max_results
|
1228
|
+
# The maximum page size.
|
1229
|
+
#
|
1230
|
+
# @option params [String] :next_token
|
1231
|
+
# The pagination token.
|
1232
|
+
#
|
1233
|
+
# @option params [Array<String>] :capacity_task_status_filter
|
1234
|
+
# A list of statuses. For example, `REQUESTED` or
|
1235
|
+
# `WAITING_FOR_EVACUATION`.
|
1236
|
+
#
|
1237
|
+
# @return [Types::ListCapacityTasksOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1238
|
+
#
|
1239
|
+
# * {Types::ListCapacityTasksOutput#capacity_tasks #capacity_tasks} => Array<Types::CapacityTaskSummary>
|
1240
|
+
# * {Types::ListCapacityTasksOutput#next_token #next_token} => String
|
1241
|
+
#
|
1242
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1243
|
+
#
|
1244
|
+
# @example Request syntax with placeholder values
|
1245
|
+
#
|
1246
|
+
# resp = client.list_capacity_tasks({
|
1247
|
+
# outpost_identifier_filter: "OutpostIdentifier",
|
1248
|
+
# max_results: 1,
|
1249
|
+
# next_token: "Token",
|
1250
|
+
# capacity_task_status_filter: ["REQUESTED"], # accepts REQUESTED, IN_PROGRESS, FAILED, COMPLETED, CANCELLED
|
1251
|
+
# })
|
1252
|
+
#
|
1253
|
+
# @example Response structure
|
1254
|
+
#
|
1255
|
+
# resp.capacity_tasks #=> Array
|
1256
|
+
# resp.capacity_tasks[0].capacity_task_id #=> String
|
1257
|
+
# resp.capacity_tasks[0].outpost_id #=> String
|
1258
|
+
# resp.capacity_tasks[0].order_id #=> String
|
1259
|
+
# resp.capacity_tasks[0].capacity_task_status #=> String, one of "REQUESTED", "IN_PROGRESS", "FAILED", "COMPLETED", "CANCELLED"
|
1260
|
+
# resp.capacity_tasks[0].creation_date #=> Time
|
1261
|
+
# resp.capacity_tasks[0].completion_date #=> Time
|
1262
|
+
# resp.capacity_tasks[0].last_modified_date #=> Time
|
1263
|
+
# resp.next_token #=> String
|
1264
|
+
#
|
1265
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListCapacityTasks AWS API Documentation
|
1266
|
+
#
|
1267
|
+
# @overload list_capacity_tasks(params = {})
|
1268
|
+
# @param [Hash] params ({})
|
1269
|
+
def list_capacity_tasks(params = {}, options = {})
|
1270
|
+
req = build_request(:list_capacity_tasks, params)
|
1271
|
+
req.send_request(options)
|
1272
|
+
end
|
1273
|
+
|
1088
1274
|
# Lists the items in the catalog.
|
1089
1275
|
#
|
1090
1276
|
# Use filters to return specific results. If you specify multiple
|
@@ -1370,6 +1556,77 @@ module Aws::Outposts
|
|
1370
1556
|
req.send_request(options)
|
1371
1557
|
end
|
1372
1558
|
|
1559
|
+
# Starts the specified capacity task. You can have one active capacity
|
1560
|
+
# task for an order.
|
1561
|
+
#
|
1562
|
+
# @option params [required, String] :outpost_identifier
|
1563
|
+
# The ID or ARN of the Outposts associated with the specified capacity
|
1564
|
+
# task.
|
1565
|
+
#
|
1566
|
+
# @option params [required, String] :order_id
|
1567
|
+
# The ID of the Amazon Web Services Outposts order associated with the
|
1568
|
+
# specified capacity task.
|
1569
|
+
#
|
1570
|
+
# @option params [required, Array<Types::InstanceTypeCapacity>] :instance_pools
|
1571
|
+
# The instance pools specified in the capacity task.
|
1572
|
+
#
|
1573
|
+
# @option params [Boolean] :dry_run
|
1574
|
+
# You can request a dry run to determine if the instance type and
|
1575
|
+
# instance size changes is above or below available instance capacity.
|
1576
|
+
# Requesting a dry run does not make any changes to your plan.
|
1577
|
+
#
|
1578
|
+
# @return [Types::StartCapacityTaskOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1579
|
+
#
|
1580
|
+
# * {Types::StartCapacityTaskOutput#capacity_task_id #capacity_task_id} => String
|
1581
|
+
# * {Types::StartCapacityTaskOutput#outpost_id #outpost_id} => String
|
1582
|
+
# * {Types::StartCapacityTaskOutput#order_id #order_id} => String
|
1583
|
+
# * {Types::StartCapacityTaskOutput#requested_instance_pools #requested_instance_pools} => Array<Types::InstanceTypeCapacity>
|
1584
|
+
# * {Types::StartCapacityTaskOutput#dry_run #dry_run} => Boolean
|
1585
|
+
# * {Types::StartCapacityTaskOutput#capacity_task_status #capacity_task_status} => String
|
1586
|
+
# * {Types::StartCapacityTaskOutput#failed #failed} => Types::CapacityTaskFailure
|
1587
|
+
# * {Types::StartCapacityTaskOutput#creation_date #creation_date} => Time
|
1588
|
+
# * {Types::StartCapacityTaskOutput#completion_date #completion_date} => Time
|
1589
|
+
# * {Types::StartCapacityTaskOutput#last_modified_date #last_modified_date} => Time
|
1590
|
+
#
|
1591
|
+
# @example Request syntax with placeholder values
|
1592
|
+
#
|
1593
|
+
# resp = client.start_capacity_task({
|
1594
|
+
# outpost_identifier: "OutpostIdentifier", # required
|
1595
|
+
# order_id: "OrderId", # required
|
1596
|
+
# instance_pools: [ # required
|
1597
|
+
# {
|
1598
|
+
# instance_type: "InstanceTypeName", # required
|
1599
|
+
# count: 1, # required
|
1600
|
+
# },
|
1601
|
+
# ],
|
1602
|
+
# dry_run: false,
|
1603
|
+
# })
|
1604
|
+
#
|
1605
|
+
# @example Response structure
|
1606
|
+
#
|
1607
|
+
# resp.capacity_task_id #=> String
|
1608
|
+
# resp.outpost_id #=> String
|
1609
|
+
# resp.order_id #=> String
|
1610
|
+
# resp.requested_instance_pools #=> Array
|
1611
|
+
# resp.requested_instance_pools[0].instance_type #=> String
|
1612
|
+
# resp.requested_instance_pools[0].count #=> Integer
|
1613
|
+
# resp.dry_run #=> Boolean
|
1614
|
+
# resp.capacity_task_status #=> String, one of "REQUESTED", "IN_PROGRESS", "FAILED", "COMPLETED", "CANCELLED"
|
1615
|
+
# resp.failed.reason #=> String
|
1616
|
+
# resp.failed.type #=> String, one of "UNSUPPORTED_CAPACITY_CONFIGURATION"
|
1617
|
+
# resp.creation_date #=> Time
|
1618
|
+
# resp.completion_date #=> Time
|
1619
|
+
# resp.last_modified_date #=> Time
|
1620
|
+
#
|
1621
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/StartCapacityTask AWS API Documentation
|
1622
|
+
#
|
1623
|
+
# @overload start_capacity_task(params = {})
|
1624
|
+
# @param [Hash] params ({})
|
1625
|
+
def start_capacity_task(params = {}, options = {})
|
1626
|
+
req = build_request(:start_capacity_task, params)
|
1627
|
+
req.send_request(options)
|
1628
|
+
end
|
1629
|
+
|
1373
1630
|
# <note markdown="1"> Amazon Web Services uses this action to install Outpost servers.
|
1374
1631
|
#
|
1375
1632
|
# </note>
|
@@ -1485,7 +1742,7 @@ module Aws::Outposts
|
|
1485
1742
|
# Updates an Outpost.
|
1486
1743
|
#
|
1487
1744
|
# @option params [required, String] :outpost_id
|
1488
|
-
# The ID or
|
1745
|
+
# The ID or ARN of the Outpost.
|
1489
1746
|
#
|
1490
1747
|
# @option params [String] :name
|
1491
1748
|
# The name of the Outpost.
|
@@ -1833,7 +2090,7 @@ module Aws::Outposts
|
|
1833
2090
|
params: params,
|
1834
2091
|
config: config)
|
1835
2092
|
context[:gem_name] = 'aws-sdk-outposts'
|
1836
|
-
context[:gem_version] = '1.
|
2093
|
+
context[:gem_version] = '1.55.0'
|
1837
2094
|
Seahorse::Client::Request.new(handlers, context)
|
1838
2095
|
end
|
1839
2096
|
|