aws-sdk-outposts 1.54.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-outposts/client.rb +262 -5
- 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 +102 -0
- metadata +2 -2
@@ -135,6 +135,28 @@ module Aws::Outposts
|
|
135
135
|
include Aws::Structure
|
136
136
|
end
|
137
137
|
|
138
|
+
# @!attribute [rw] capacity_task_id
|
139
|
+
# ID of the capacity task that you want to cancel.
|
140
|
+
# @return [String]
|
141
|
+
#
|
142
|
+
# @!attribute [rw] outpost_identifier
|
143
|
+
# ID or ARN of the Outpost associated with the capacity task that you
|
144
|
+
# want to cancel.
|
145
|
+
# @return [String]
|
146
|
+
#
|
147
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CancelCapacityTaskInput AWS API Documentation
|
148
|
+
#
|
149
|
+
class CancelCapacityTaskInput < Struct.new(
|
150
|
+
:capacity_task_id,
|
151
|
+
:outpost_identifier)
|
152
|
+
SENSITIVE = []
|
153
|
+
include Aws::Structure
|
154
|
+
end
|
155
|
+
|
156
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CancelCapacityTaskOutput AWS API Documentation
|
157
|
+
#
|
158
|
+
class CancelCapacityTaskOutput < Aws::EmptyStructure; end
|
159
|
+
|
138
160
|
# @!attribute [rw] order_id
|
139
161
|
# The ID of the order.
|
140
162
|
# @return [String]
|
@@ -151,6 +173,70 @@ module Aws::Outposts
|
|
151
173
|
#
|
152
174
|
class CancelOrderOutput < Aws::EmptyStructure; end
|
153
175
|
|
176
|
+
# The capacity tasks that failed.
|
177
|
+
#
|
178
|
+
# @!attribute [rw] reason
|
179
|
+
# The reason that the specified capacity task failed.
|
180
|
+
# @return [String]
|
181
|
+
#
|
182
|
+
# @!attribute [rw] type
|
183
|
+
# The type of failure.
|
184
|
+
# @return [String]
|
185
|
+
#
|
186
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CapacityTaskFailure AWS API Documentation
|
187
|
+
#
|
188
|
+
class CapacityTaskFailure < Struct.new(
|
189
|
+
:reason,
|
190
|
+
:type)
|
191
|
+
SENSITIVE = []
|
192
|
+
include Aws::Structure
|
193
|
+
end
|
194
|
+
|
195
|
+
# The summary of the capacity task.
|
196
|
+
#
|
197
|
+
# @!attribute [rw] capacity_task_id
|
198
|
+
# The ID of the specified capacity task.
|
199
|
+
# @return [String]
|
200
|
+
#
|
201
|
+
# @!attribute [rw] outpost_id
|
202
|
+
# The ID of the Outpost associated with the specified capacity task.
|
203
|
+
# @return [String]
|
204
|
+
#
|
205
|
+
# @!attribute [rw] order_id
|
206
|
+
# The ID of the Amazon Web Services Outposts order of the host
|
207
|
+
# associated with the capacity task.
|
208
|
+
# @return [String]
|
209
|
+
#
|
210
|
+
# @!attribute [rw] capacity_task_status
|
211
|
+
# The status of the capacity task.
|
212
|
+
# @return [String]
|
213
|
+
#
|
214
|
+
# @!attribute [rw] creation_date
|
215
|
+
# The date that the specified capacity task was created.
|
216
|
+
# @return [Time]
|
217
|
+
#
|
218
|
+
# @!attribute [rw] completion_date
|
219
|
+
# The date that the specified capacity task successfully ran.
|
220
|
+
# @return [Time]
|
221
|
+
#
|
222
|
+
# @!attribute [rw] last_modified_date
|
223
|
+
# The date that the specified capacity was last modified.
|
224
|
+
# @return [Time]
|
225
|
+
#
|
226
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/CapacityTaskSummary AWS API Documentation
|
227
|
+
#
|
228
|
+
class CapacityTaskSummary < Struct.new(
|
229
|
+
:capacity_task_id,
|
230
|
+
:outpost_id,
|
231
|
+
:order_id,
|
232
|
+
:capacity_task_status,
|
233
|
+
:creation_date,
|
234
|
+
:completion_date,
|
235
|
+
:last_modified_date)
|
236
|
+
SENSITIVE = []
|
237
|
+
include Aws::Structure
|
238
|
+
end
|
239
|
+
|
154
240
|
# Information about a catalog item.
|
155
241
|
#
|
156
242
|
# @!attribute [rw] catalog_item_id
|
@@ -455,7 +541,7 @@ module Aws::Outposts
|
|
455
541
|
end
|
456
542
|
|
457
543
|
# @!attribute [rw] outpost_id
|
458
|
-
# The ID or
|
544
|
+
# The ID or ARN of the Outpost.
|
459
545
|
# @return [String]
|
460
546
|
#
|
461
547
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/DeleteOutpostInput AWS API Documentation
|
@@ -510,6 +596,95 @@ module Aws::Outposts
|
|
510
596
|
include Aws::Structure
|
511
597
|
end
|
512
598
|
|
599
|
+
# @!attribute [rw] capacity_task_id
|
600
|
+
# ID of the capacity task.
|
601
|
+
# @return [String]
|
602
|
+
#
|
603
|
+
# @!attribute [rw] outpost_identifier
|
604
|
+
# ID or ARN of the Outpost associated with the specified capacity
|
605
|
+
# task.
|
606
|
+
# @return [String]
|
607
|
+
#
|
608
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetCapacityTaskInput AWS API Documentation
|
609
|
+
#
|
610
|
+
class GetCapacityTaskInput < Struct.new(
|
611
|
+
:capacity_task_id,
|
612
|
+
:outpost_identifier)
|
613
|
+
SENSITIVE = []
|
614
|
+
include Aws::Structure
|
615
|
+
end
|
616
|
+
|
617
|
+
# @!attribute [rw] capacity_task_id
|
618
|
+
# ID of the capacity task.
|
619
|
+
# @return [String]
|
620
|
+
#
|
621
|
+
# @!attribute [rw] outpost_id
|
622
|
+
# ID of the Outpost associated with the specified capacity task.
|
623
|
+
# @return [String]
|
624
|
+
#
|
625
|
+
# @!attribute [rw] order_id
|
626
|
+
# ID of the Amazon Web Services Outposts order associated with the
|
627
|
+
# specified capacity task.
|
628
|
+
# @return [String]
|
629
|
+
#
|
630
|
+
# @!attribute [rw] requested_instance_pools
|
631
|
+
# List of instance pools requested in the capacity task.
|
632
|
+
# @return [Array<Types::InstanceTypeCapacity>]
|
633
|
+
#
|
634
|
+
# @!attribute [rw] dry_run
|
635
|
+
# Performs a dry run to determine if you are above or below instance
|
636
|
+
# capacity.
|
637
|
+
# @return [Boolean]
|
638
|
+
#
|
639
|
+
# @!attribute [rw] capacity_task_status
|
640
|
+
# Status of the capacity task.
|
641
|
+
#
|
642
|
+
# A capacity task can have one of the following statuses:
|
643
|
+
#
|
644
|
+
# * `REQUESTED` - The capacity task was created and is awaiting the
|
645
|
+
# next step by Amazon Web Services Outposts.
|
646
|
+
#
|
647
|
+
# * `IN_PROGRESS` - The capacity task is running and cannot be
|
648
|
+
# cancelled.
|
649
|
+
#
|
650
|
+
# * `WAITING_FOR_EVACUATION` - The capacity task requires capacity to
|
651
|
+
# run. You must stop the recommended EC2 running instances to free
|
652
|
+
# up capacity for the task to run.
|
653
|
+
# @return [String]
|
654
|
+
#
|
655
|
+
# @!attribute [rw] failed
|
656
|
+
# Reason why the capacity task failed.
|
657
|
+
# @return [Types::CapacityTaskFailure]
|
658
|
+
#
|
659
|
+
# @!attribute [rw] creation_date
|
660
|
+
# The date the capacity task was created.
|
661
|
+
# @return [Time]
|
662
|
+
#
|
663
|
+
# @!attribute [rw] completion_date
|
664
|
+
# The date the capacity task ran successfully.
|
665
|
+
# @return [Time]
|
666
|
+
#
|
667
|
+
# @!attribute [rw] last_modified_date
|
668
|
+
# The date the capacity task was last modified.
|
669
|
+
# @return [Time]
|
670
|
+
#
|
671
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetCapacityTaskOutput AWS API Documentation
|
672
|
+
#
|
673
|
+
class GetCapacityTaskOutput < Struct.new(
|
674
|
+
:capacity_task_id,
|
675
|
+
:outpost_id,
|
676
|
+
:order_id,
|
677
|
+
:requested_instance_pools,
|
678
|
+
:dry_run,
|
679
|
+
:capacity_task_status,
|
680
|
+
:failed,
|
681
|
+
:creation_date,
|
682
|
+
:completion_date,
|
683
|
+
:last_modified_date)
|
684
|
+
SENSITIVE = []
|
685
|
+
include Aws::Structure
|
686
|
+
end
|
687
|
+
|
513
688
|
# @!attribute [rw] catalog_item_id
|
514
689
|
# The ID of the catalog item.
|
515
690
|
# @return [String]
|
@@ -588,7 +763,7 @@ module Aws::Outposts
|
|
588
763
|
end
|
589
764
|
|
590
765
|
# @!attribute [rw] outpost_id
|
591
|
-
# The ID or
|
766
|
+
# The ID or ARN of the Outpost.
|
592
767
|
# @return [String]
|
593
768
|
#
|
594
769
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetOutpostInput AWS API Documentation
|
@@ -600,7 +775,7 @@ module Aws::Outposts
|
|
600
775
|
end
|
601
776
|
|
602
777
|
# @!attribute [rw] outpost_id
|
603
|
-
# The ID or
|
778
|
+
# The ID or ARN of the Outpost.
|
604
779
|
# @return [String]
|
605
780
|
#
|
606
781
|
# @!attribute [rw] next_token
|
@@ -660,6 +835,50 @@ module Aws::Outposts
|
|
660
835
|
include Aws::Structure
|
661
836
|
end
|
662
837
|
|
838
|
+
# @!attribute [rw] outpost_identifier
|
839
|
+
# The ID or ARN of the Outpost.
|
840
|
+
# @return [String]
|
841
|
+
#
|
842
|
+
# @!attribute [rw] order_id
|
843
|
+
# The ID for the Amazon Web Services Outposts order.
|
844
|
+
# @return [String]
|
845
|
+
#
|
846
|
+
# @!attribute [rw] max_results
|
847
|
+
# The maximum page size.
|
848
|
+
# @return [Integer]
|
849
|
+
#
|
850
|
+
# @!attribute [rw] next_token
|
851
|
+
# The pagination token.
|
852
|
+
# @return [String]
|
853
|
+
#
|
854
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetOutpostSupportedInstanceTypesInput AWS API Documentation
|
855
|
+
#
|
856
|
+
class GetOutpostSupportedInstanceTypesInput < Struct.new(
|
857
|
+
:outpost_identifier,
|
858
|
+
:order_id,
|
859
|
+
:max_results,
|
860
|
+
:next_token)
|
861
|
+
SENSITIVE = []
|
862
|
+
include Aws::Structure
|
863
|
+
end
|
864
|
+
|
865
|
+
# @!attribute [rw] instance_types
|
866
|
+
# Information about the instance types.
|
867
|
+
# @return [Array<Types::InstanceTypeItem>]
|
868
|
+
#
|
869
|
+
# @!attribute [rw] next_token
|
870
|
+
# The pagination token.
|
871
|
+
# @return [String]
|
872
|
+
#
|
873
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetOutpostSupportedInstanceTypesOutput AWS API Documentation
|
874
|
+
#
|
875
|
+
class GetOutpostSupportedInstanceTypesOutput < Struct.new(
|
876
|
+
:instance_types,
|
877
|
+
:next_token)
|
878
|
+
SENSITIVE = []
|
879
|
+
include Aws::Structure
|
880
|
+
end
|
881
|
+
|
663
882
|
# @!attribute [rw] site_id
|
664
883
|
# The ID or the Amazon Resource Name (ARN) of the site.
|
665
884
|
# @return [String]
|
@@ -723,6 +942,26 @@ module Aws::Outposts
|
|
723
942
|
include Aws::Structure
|
724
943
|
end
|
725
944
|
|
945
|
+
# The instance type that you specify determines the combination of CPU,
|
946
|
+
# memory, storage, and networking capacity.
|
947
|
+
#
|
948
|
+
# @!attribute [rw] instance_type
|
949
|
+
# The instance type of the hosts.
|
950
|
+
# @return [String]
|
951
|
+
#
|
952
|
+
# @!attribute [rw] count
|
953
|
+
# The number of instances for the specified instance type.
|
954
|
+
# @return [Integer]
|
955
|
+
#
|
956
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/InstanceTypeCapacity AWS API Documentation
|
957
|
+
#
|
958
|
+
class InstanceTypeCapacity < Struct.new(
|
959
|
+
:instance_type,
|
960
|
+
:count)
|
961
|
+
SENSITIVE = []
|
962
|
+
include Aws::Structure
|
963
|
+
end
|
964
|
+
|
726
965
|
# Information about an instance type.
|
727
966
|
#
|
728
967
|
# @!attribute [rw] instance_type
|
@@ -886,6 +1125,51 @@ module Aws::Outposts
|
|
886
1125
|
include Aws::Structure
|
887
1126
|
end
|
888
1127
|
|
1128
|
+
# @!attribute [rw] outpost_identifier_filter
|
1129
|
+
# Filters the results by an Outpost ID or an Outpost ARN.
|
1130
|
+
# @return [String]
|
1131
|
+
#
|
1132
|
+
# @!attribute [rw] max_results
|
1133
|
+
# The maximum page size.
|
1134
|
+
# @return [Integer]
|
1135
|
+
#
|
1136
|
+
# @!attribute [rw] next_token
|
1137
|
+
# The pagination token.
|
1138
|
+
# @return [String]
|
1139
|
+
#
|
1140
|
+
# @!attribute [rw] capacity_task_status_filter
|
1141
|
+
# A list of statuses. For example, `REQUESTED` or
|
1142
|
+
# `WAITING_FOR_EVACUATION`.
|
1143
|
+
# @return [Array<String>]
|
1144
|
+
#
|
1145
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListCapacityTasksInput AWS API Documentation
|
1146
|
+
#
|
1147
|
+
class ListCapacityTasksInput < Struct.new(
|
1148
|
+
:outpost_identifier_filter,
|
1149
|
+
:max_results,
|
1150
|
+
:next_token,
|
1151
|
+
:capacity_task_status_filter)
|
1152
|
+
SENSITIVE = []
|
1153
|
+
include Aws::Structure
|
1154
|
+
end
|
1155
|
+
|
1156
|
+
# @!attribute [rw] capacity_tasks
|
1157
|
+
# Lists all the capacity tasks.
|
1158
|
+
# @return [Array<Types::CapacityTaskSummary>]
|
1159
|
+
#
|
1160
|
+
# @!attribute [rw] next_token
|
1161
|
+
# The pagination token.
|
1162
|
+
# @return [String]
|
1163
|
+
#
|
1164
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListCapacityTasksOutput AWS API Documentation
|
1165
|
+
#
|
1166
|
+
class ListCapacityTasksOutput < Struct.new(
|
1167
|
+
:capacity_tasks,
|
1168
|
+
:next_token)
|
1169
|
+
SENSITIVE = []
|
1170
|
+
include Aws::Structure
|
1171
|
+
end
|
1172
|
+
|
889
1173
|
# @!attribute [rw] next_token
|
890
1174
|
# The pagination token.
|
891
1175
|
# @return [String]
|
@@ -1478,6 +1762,96 @@ module Aws::Outposts
|
|
1478
1762
|
include Aws::Structure
|
1479
1763
|
end
|
1480
1764
|
|
1765
|
+
# @!attribute [rw] outpost_identifier
|
1766
|
+
# The ID or ARN of the Outposts associated with the specified capacity
|
1767
|
+
# task.
|
1768
|
+
# @return [String]
|
1769
|
+
#
|
1770
|
+
# @!attribute [rw] order_id
|
1771
|
+
# The ID of the Amazon Web Services Outposts order associated with the
|
1772
|
+
# specified capacity task.
|
1773
|
+
# @return [String]
|
1774
|
+
#
|
1775
|
+
# @!attribute [rw] instance_pools
|
1776
|
+
# The instance pools specified in the capacity task.
|
1777
|
+
# @return [Array<Types::InstanceTypeCapacity>]
|
1778
|
+
#
|
1779
|
+
# @!attribute [rw] dry_run
|
1780
|
+
# You can request a dry run to determine if the instance type and
|
1781
|
+
# instance size changes is above or below available instance capacity.
|
1782
|
+
# Requesting a dry run does not make any changes to your plan.
|
1783
|
+
# @return [Boolean]
|
1784
|
+
#
|
1785
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/StartCapacityTaskInput AWS API Documentation
|
1786
|
+
#
|
1787
|
+
class StartCapacityTaskInput < Struct.new(
|
1788
|
+
:outpost_identifier,
|
1789
|
+
:order_id,
|
1790
|
+
:instance_pools,
|
1791
|
+
:dry_run)
|
1792
|
+
SENSITIVE = []
|
1793
|
+
include Aws::Structure
|
1794
|
+
end
|
1795
|
+
|
1796
|
+
# @!attribute [rw] capacity_task_id
|
1797
|
+
# ID of the capacity task that you want to start.
|
1798
|
+
# @return [String]
|
1799
|
+
#
|
1800
|
+
# @!attribute [rw] outpost_id
|
1801
|
+
# ID of the Outpost associated with the capacity task.
|
1802
|
+
# @return [String]
|
1803
|
+
#
|
1804
|
+
# @!attribute [rw] order_id
|
1805
|
+
# ID of the Amazon Web Services Outposts order of the host associated
|
1806
|
+
# with the capacity task.
|
1807
|
+
# @return [String]
|
1808
|
+
#
|
1809
|
+
# @!attribute [rw] requested_instance_pools
|
1810
|
+
# List of the instance pools requested in the specified capacity task.
|
1811
|
+
# @return [Array<Types::InstanceTypeCapacity>]
|
1812
|
+
#
|
1813
|
+
# @!attribute [rw] dry_run
|
1814
|
+
# Results of the dry run showing if the specified capacity task is
|
1815
|
+
# above or below the available instance capacity.
|
1816
|
+
# @return [Boolean]
|
1817
|
+
#
|
1818
|
+
# @!attribute [rw] capacity_task_status
|
1819
|
+
# Status of the specified capacity task.
|
1820
|
+
# @return [String]
|
1821
|
+
#
|
1822
|
+
# @!attribute [rw] failed
|
1823
|
+
# Reason that the specified capacity task failed.
|
1824
|
+
# @return [Types::CapacityTaskFailure]
|
1825
|
+
#
|
1826
|
+
# @!attribute [rw] creation_date
|
1827
|
+
# Date that the specified capacity task was created.
|
1828
|
+
# @return [Time]
|
1829
|
+
#
|
1830
|
+
# @!attribute [rw] completion_date
|
1831
|
+
# Date that the specified capacity task ran successfully.
|
1832
|
+
# @return [Time]
|
1833
|
+
#
|
1834
|
+
# @!attribute [rw] last_modified_date
|
1835
|
+
# Date that the specified capacity task was last modified.
|
1836
|
+
# @return [Time]
|
1837
|
+
#
|
1838
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/StartCapacityTaskOutput AWS API Documentation
|
1839
|
+
#
|
1840
|
+
class StartCapacityTaskOutput < Struct.new(
|
1841
|
+
:capacity_task_id,
|
1842
|
+
:outpost_id,
|
1843
|
+
:order_id,
|
1844
|
+
:requested_instance_pools,
|
1845
|
+
:dry_run,
|
1846
|
+
:capacity_task_status,
|
1847
|
+
:failed,
|
1848
|
+
:creation_date,
|
1849
|
+
:completion_date,
|
1850
|
+
:last_modified_date)
|
1851
|
+
SENSITIVE = []
|
1852
|
+
include Aws::Structure
|
1853
|
+
end
|
1854
|
+
|
1481
1855
|
# @!attribute [rw] device_serial_number
|
1482
1856
|
# The serial number of the dongle.
|
1483
1857
|
# @return [String]
|
@@ -1565,7 +1939,7 @@ module Aws::Outposts
|
|
1565
1939
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
1566
1940
|
|
1567
1941
|
# @!attribute [rw] outpost_id
|
1568
|
-
# The ID or
|
1942
|
+
# The ID or ARN of the Outpost.
|
1569
1943
|
# @return [String]
|
1570
1944
|
#
|
1571
1945
|
# @!attribute [rw] name
|
data/lib/aws-sdk-outposts.rb
CHANGED
@@ -32,7 +32,7 @@ require_relative 'aws-sdk-outposts/customizations'
|
|
32
32
|
# structure.
|
33
33
|
#
|
34
34
|
# outposts = Aws::Outposts::Client.new
|
35
|
-
# resp = outposts.
|
35
|
+
# resp = outposts.cancel_capacity_task(params)
|
36
36
|
#
|
37
37
|
# See {Client} for more information.
|
38
38
|
#
|
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-outposts/customizations'
|
|
52
52
|
# @!group service
|
53
53
|
module Aws::Outposts
|
54
54
|
|
55
|
-
GEM_VERSION = '1.
|
55
|
+
GEM_VERSION = '1.55.0'
|
56
56
|
|
57
57
|
end
|
data/sig/client.rbs
CHANGED
@@ -72,6 +72,16 @@ module Aws
|
|
72
72
|
| (?Hash[Symbol, untyped]) -> instance
|
73
73
|
|
74
74
|
|
75
|
+
interface _CancelCapacityTaskResponseSuccess
|
76
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CancelCapacityTaskOutput]
|
77
|
+
end
|
78
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Outposts/Client.html#cancel_capacity_task-instance_method
|
79
|
+
def cancel_capacity_task: (
|
80
|
+
capacity_task_id: ::String,
|
81
|
+
outpost_identifier: ::String
|
82
|
+
) -> _CancelCapacityTaskResponseSuccess
|
83
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelCapacityTaskResponseSuccess
|
84
|
+
|
75
85
|
interface _CancelOrderResponseSuccess
|
76
86
|
include ::Seahorse::Client::_ResponseSuccess[Types::CancelOrderOutput]
|
77
87
|
end
|
@@ -183,6 +193,26 @@ module Aws
|
|
183
193
|
) -> _DeleteSiteResponseSuccess
|
184
194
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSiteResponseSuccess
|
185
195
|
|
196
|
+
interface _GetCapacityTaskResponseSuccess
|
197
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetCapacityTaskOutput]
|
198
|
+
def capacity_task_id: () -> ::String
|
199
|
+
def outpost_id: () -> ::String
|
200
|
+
def order_id: () -> ::String
|
201
|
+
def requested_instance_pools: () -> ::Array[Types::InstanceTypeCapacity]
|
202
|
+
def dry_run: () -> bool
|
203
|
+
def capacity_task_status: () -> ("REQUESTED" | "IN_PROGRESS" | "FAILED" | "COMPLETED" | "CANCELLED")
|
204
|
+
def failed: () -> Types::CapacityTaskFailure
|
205
|
+
def creation_date: () -> ::Time
|
206
|
+
def completion_date: () -> ::Time
|
207
|
+
def last_modified_date: () -> ::Time
|
208
|
+
end
|
209
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Outposts/Client.html#get_capacity_task-instance_method
|
210
|
+
def get_capacity_task: (
|
211
|
+
capacity_task_id: ::String,
|
212
|
+
outpost_identifier: ::String
|
213
|
+
) -> _GetCapacityTaskResponseSuccess
|
214
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCapacityTaskResponseSuccess
|
215
|
+
|
186
216
|
interface _GetCatalogItemResponseSuccess
|
187
217
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetCatalogItemOutput]
|
188
218
|
def catalog_item: () -> Types::CatalogItem
|
@@ -239,6 +269,20 @@ module Aws
|
|
239
269
|
) -> _GetOutpostInstanceTypesResponseSuccess
|
240
270
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetOutpostInstanceTypesResponseSuccess
|
241
271
|
|
272
|
+
interface _GetOutpostSupportedInstanceTypesResponseSuccess
|
273
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetOutpostSupportedInstanceTypesOutput]
|
274
|
+
def instance_types: () -> ::Array[Types::InstanceTypeItem]
|
275
|
+
def next_token: () -> ::String
|
276
|
+
end
|
277
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Outposts/Client.html#get_outpost_supported_instance_types-instance_method
|
278
|
+
def get_outpost_supported_instance_types: (
|
279
|
+
outpost_identifier: ::String,
|
280
|
+
order_id: ::String,
|
281
|
+
?max_results: ::Integer,
|
282
|
+
?next_token: ::String
|
283
|
+
) -> _GetOutpostSupportedInstanceTypesResponseSuccess
|
284
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetOutpostSupportedInstanceTypesResponseSuccess
|
285
|
+
|
242
286
|
interface _GetSiteResponseSuccess
|
243
287
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetSiteOutput]
|
244
288
|
def site: () -> Types::Site
|
@@ -277,6 +321,20 @@ module Aws
|
|
277
321
|
) -> _ListAssetsResponseSuccess
|
278
322
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAssetsResponseSuccess
|
279
323
|
|
324
|
+
interface _ListCapacityTasksResponseSuccess
|
325
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListCapacityTasksOutput]
|
326
|
+
def capacity_tasks: () -> ::Array[Types::CapacityTaskSummary]
|
327
|
+
def next_token: () -> ::String
|
328
|
+
end
|
329
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Outposts/Client.html#list_capacity_tasks-instance_method
|
330
|
+
def list_capacity_tasks: (
|
331
|
+
?outpost_identifier_filter: ::String,
|
332
|
+
?max_results: ::Integer,
|
333
|
+
?next_token: ::String,
|
334
|
+
?capacity_task_status_filter: Array[("REQUESTED" | "IN_PROGRESS" | "FAILED" | "COMPLETED" | "CANCELLED")]
|
335
|
+
) -> _ListCapacityTasksResponseSuccess
|
336
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCapacityTasksResponseSuccess
|
337
|
+
|
280
338
|
interface _ListCatalogItemsResponseSuccess
|
281
339
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListCatalogItemsOutput]
|
282
340
|
def catalog_items: () -> ::Array[Types::CatalogItem]
|
@@ -345,6 +403,33 @@ module Aws
|
|
345
403
|
) -> _ListTagsForResourceResponseSuccess
|
346
404
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
347
405
|
|
406
|
+
interface _StartCapacityTaskResponseSuccess
|
407
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartCapacityTaskOutput]
|
408
|
+
def capacity_task_id: () -> ::String
|
409
|
+
def outpost_id: () -> ::String
|
410
|
+
def order_id: () -> ::String
|
411
|
+
def requested_instance_pools: () -> ::Array[Types::InstanceTypeCapacity]
|
412
|
+
def dry_run: () -> bool
|
413
|
+
def capacity_task_status: () -> ("REQUESTED" | "IN_PROGRESS" | "FAILED" | "COMPLETED" | "CANCELLED")
|
414
|
+
def failed: () -> Types::CapacityTaskFailure
|
415
|
+
def creation_date: () -> ::Time
|
416
|
+
def completion_date: () -> ::Time
|
417
|
+
def last_modified_date: () -> ::Time
|
418
|
+
end
|
419
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Outposts/Client.html#start_capacity_task-instance_method
|
420
|
+
def start_capacity_task: (
|
421
|
+
outpost_identifier: ::String,
|
422
|
+
order_id: ::String,
|
423
|
+
instance_pools: Array[
|
424
|
+
{
|
425
|
+
instance_type: ::String,
|
426
|
+
count: ::Integer
|
427
|
+
},
|
428
|
+
],
|
429
|
+
?dry_run: bool
|
430
|
+
) -> _StartCapacityTaskResponseSuccess
|
431
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartCapacityTaskResponseSuccess
|
432
|
+
|
348
433
|
interface _StartConnectionResponseSuccess
|
349
434
|
include ::Seahorse::Client::_ResponseSuccess[Types::StartConnectionResponse]
|
350
435
|
def connection_id: () -> ::String
|