aws-sdk-outposts 1.71.0 → 1.73.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 +171 -15
- data/lib/aws-sdk-outposts/client_api.rb +126 -2
- data/lib/aws-sdk-outposts/types.rb +283 -4
- data/lib/aws-sdk-outposts.rb +1 -1
- data/sig/client.rbs +48 -7
- data/sig/types.rbs +75 -7
- metadata +2 -2
@@ -121,6 +121,59 @@ module Aws::Outposts
|
|
121
121
|
include Aws::Structure
|
122
122
|
end
|
123
123
|
|
124
|
+
# An Amazon EC2 instance.
|
125
|
+
#
|
126
|
+
# @!attribute [rw] instance_id
|
127
|
+
# The ID of the instance.
|
128
|
+
# @return [String]
|
129
|
+
#
|
130
|
+
# @!attribute [rw] instance_type
|
131
|
+
# The type of instance.
|
132
|
+
# @return [String]
|
133
|
+
#
|
134
|
+
# @!attribute [rw] asset_id
|
135
|
+
# The ID of the asset.
|
136
|
+
# @return [String]
|
137
|
+
#
|
138
|
+
# @!attribute [rw] account_id
|
139
|
+
# The ID of the Amazon Web Services account.
|
140
|
+
# @return [String]
|
141
|
+
#
|
142
|
+
# @!attribute [rw] aws_service_name
|
143
|
+
# The Amazon Web Services service name of the instance.
|
144
|
+
# @return [String]
|
145
|
+
#
|
146
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/AssetInstance AWS API Documentation
|
147
|
+
#
|
148
|
+
class AssetInstance < Struct.new(
|
149
|
+
:instance_id,
|
150
|
+
:instance_type,
|
151
|
+
:asset_id,
|
152
|
+
:account_id,
|
153
|
+
:aws_service_name)
|
154
|
+
SENSITIVE = []
|
155
|
+
include Aws::Structure
|
156
|
+
end
|
157
|
+
|
158
|
+
# The capacity for each instance type.
|
159
|
+
#
|
160
|
+
# @!attribute [rw] instance_type
|
161
|
+
# The type of instance.
|
162
|
+
# @return [String]
|
163
|
+
#
|
164
|
+
# @!attribute [rw] count
|
165
|
+
# The number of each instance type.
|
166
|
+
# @return [Integer]
|
167
|
+
#
|
168
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/AssetInstanceTypeCapacity AWS API Documentation
|
169
|
+
#
|
170
|
+
class AssetInstanceTypeCapacity < Struct.new(
|
171
|
+
:instance_type,
|
172
|
+
:count)
|
173
|
+
SENSITIVE = []
|
174
|
+
include Aws::Structure
|
175
|
+
end
|
176
|
+
|
124
177
|
# Information about the position of the asset in a rack.
|
125
178
|
#
|
126
179
|
# @!attribute [rw] rack_elevation
|
@@ -135,6 +188,32 @@ module Aws::Outposts
|
|
135
188
|
include Aws::Structure
|
136
189
|
end
|
137
190
|
|
191
|
+
# A running Amazon EC2 instance that can be stopped to free up capacity
|
192
|
+
# needed to run the capacity task.
|
193
|
+
#
|
194
|
+
# @!attribute [rw] instance_id
|
195
|
+
# The ID of the blocking instance.
|
196
|
+
# @return [String]
|
197
|
+
#
|
198
|
+
# @!attribute [rw] account_id
|
199
|
+
# The ID of the Amazon Web Services account.
|
200
|
+
# @return [String]
|
201
|
+
#
|
202
|
+
# @!attribute [rw] aws_service_name
|
203
|
+
# The Amazon Web Services service name that owns the specified
|
204
|
+
# blocking instance.
|
205
|
+
# @return [String]
|
206
|
+
#
|
207
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/BlockingInstance AWS API Documentation
|
208
|
+
#
|
209
|
+
class BlockingInstance < Struct.new(
|
210
|
+
:instance_id,
|
211
|
+
:account_id,
|
212
|
+
:aws_service_name)
|
213
|
+
SENSITIVE = []
|
214
|
+
include Aws::Structure
|
215
|
+
end
|
216
|
+
|
138
217
|
# @!attribute [rw] capacity_task_id
|
139
218
|
# ID of the capacity task that you want to cancel.
|
140
219
|
# @return [String]
|
@@ -309,12 +388,23 @@ module Aws::Outposts
|
|
309
388
|
# associated with a given asset.
|
310
389
|
# @return [Array<String>]
|
311
390
|
#
|
391
|
+
# @!attribute [rw] instance_type_capacities
|
392
|
+
# The instance type capacities configured for this asset. This can be
|
393
|
+
# changed through a capacity task.
|
394
|
+
# @return [Array<Types::AssetInstanceTypeCapacity>]
|
395
|
+
#
|
396
|
+
# @!attribute [rw] max_vcpus
|
397
|
+
# The maximum number of vCPUs possible for the specified asset.
|
398
|
+
# @return [Integer]
|
399
|
+
#
|
312
400
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ComputeAttributes AWS API Documentation
|
313
401
|
#
|
314
402
|
class ComputeAttributes < Struct.new(
|
315
403
|
:host_id,
|
316
404
|
:state,
|
317
|
-
:instance_families
|
405
|
+
:instance_families,
|
406
|
+
:instance_type_capacities,
|
407
|
+
:max_vcpus)
|
318
408
|
SENSITIVE = []
|
319
409
|
include Aws::Structure
|
320
410
|
end
|
@@ -631,6 +721,11 @@ module Aws::Outposts
|
|
631
721
|
# List of instance pools requested in the capacity task.
|
632
722
|
# @return [Array<Types::InstanceTypeCapacity>]
|
633
723
|
#
|
724
|
+
# @!attribute [rw] instances_to_exclude
|
725
|
+
# Instances that the user specified they cannot stop in order to free
|
726
|
+
# up the capacity needed to run the capacity task.
|
727
|
+
# @return [Types::InstancesToExclude]
|
728
|
+
#
|
634
729
|
# @!attribute [rw] dry_run
|
635
730
|
# Performs a dry run to determine if you are above or below instance
|
636
731
|
# capacity.
|
@@ -668,6 +763,17 @@ module Aws::Outposts
|
|
668
763
|
# The date the capacity task was last modified.
|
669
764
|
# @return [Time]
|
670
765
|
#
|
766
|
+
# @!attribute [rw] task_action_on_blocking_instances
|
767
|
+
# User-specified option in case an instance is blocking the capacity
|
768
|
+
# task from running. Shows one of the following options:
|
769
|
+
#
|
770
|
+
# * `WAIT_FOR_EVACUATION` - Checks every 10 minutes over 48 hours to
|
771
|
+
# determine if instances have stopped and capacity is available to
|
772
|
+
# complete the task.
|
773
|
+
#
|
774
|
+
# * `FAIL_TASK` - The capacity task fails.
|
775
|
+
# @return [String]
|
776
|
+
#
|
671
777
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetCapacityTaskOutput AWS API Documentation
|
672
778
|
#
|
673
779
|
class GetCapacityTaskOutput < Struct.new(
|
@@ -675,12 +781,14 @@ module Aws::Outposts
|
|
675
781
|
:outpost_id,
|
676
782
|
:order_id,
|
677
783
|
:requested_instance_pools,
|
784
|
+
:instances_to_exclude,
|
678
785
|
:dry_run,
|
679
786
|
:capacity_task_status,
|
680
787
|
:failed,
|
681
788
|
:creation_date,
|
682
789
|
:completion_date,
|
683
|
-
:last_modified_date
|
790
|
+
:last_modified_date,
|
791
|
+
:task_action_on_blocking_instances)
|
684
792
|
SENSITIVE = []
|
685
793
|
include Aws::Structure
|
686
794
|
end
|
@@ -981,6 +1089,34 @@ module Aws::Outposts
|
|
981
1089
|
include Aws::Structure
|
982
1090
|
end
|
983
1091
|
|
1092
|
+
# User-specified instances that must not be stopped. These instances
|
1093
|
+
# will not appear in the list of instances that Amazon Web Services
|
1094
|
+
# recommends to stop in order to free up capacity.
|
1095
|
+
#
|
1096
|
+
# @!attribute [rw] instances
|
1097
|
+
# List of user-specified instances that must not be stopped.
|
1098
|
+
# @return [Array<String>]
|
1099
|
+
#
|
1100
|
+
# @!attribute [rw] account_ids
|
1101
|
+
# IDs of the accounts that own each instance that must not be stopped.
|
1102
|
+
# @return [Array<String>]
|
1103
|
+
#
|
1104
|
+
# @!attribute [rw] services
|
1105
|
+
# Names of the services that own each instance that must not be
|
1106
|
+
# stopped in order to free up the capacity needed to run the capacity
|
1107
|
+
# task.
|
1108
|
+
# @return [Array<String>]
|
1109
|
+
#
|
1110
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/InstancesToExclude AWS API Documentation
|
1111
|
+
#
|
1112
|
+
class InstancesToExclude < Struct.new(
|
1113
|
+
:instances,
|
1114
|
+
:account_ids,
|
1115
|
+
:services)
|
1116
|
+
SENSITIVE = []
|
1117
|
+
include Aws::Structure
|
1118
|
+
end
|
1119
|
+
|
984
1120
|
# An internal error has occurred.
|
985
1121
|
#
|
986
1122
|
# @!attribute [rw] message
|
@@ -1081,6 +1217,66 @@ module Aws::Outposts
|
|
1081
1217
|
include Aws::Structure
|
1082
1218
|
end
|
1083
1219
|
|
1220
|
+
# @!attribute [rw] outpost_identifier
|
1221
|
+
# The ID of the Outpost.
|
1222
|
+
# @return [String]
|
1223
|
+
#
|
1224
|
+
# @!attribute [rw] asset_id_filter
|
1225
|
+
# Filters the results by asset ID.
|
1226
|
+
# @return [Array<String>]
|
1227
|
+
#
|
1228
|
+
# @!attribute [rw] instance_type_filter
|
1229
|
+
# Filters the results by instance ID.
|
1230
|
+
# @return [Array<String>]
|
1231
|
+
#
|
1232
|
+
# @!attribute [rw] account_id_filter
|
1233
|
+
# Filters the results by account ID.
|
1234
|
+
# @return [Array<String>]
|
1235
|
+
#
|
1236
|
+
# @!attribute [rw] aws_service_filter
|
1237
|
+
# Filters the results by Amazon Web Services service.
|
1238
|
+
# @return [Array<String>]
|
1239
|
+
#
|
1240
|
+
# @!attribute [rw] max_results
|
1241
|
+
# The maximum page size.
|
1242
|
+
# @return [Integer]
|
1243
|
+
#
|
1244
|
+
# @!attribute [rw] next_token
|
1245
|
+
# The pagination token.
|
1246
|
+
# @return [String]
|
1247
|
+
#
|
1248
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListAssetInstancesInput AWS API Documentation
|
1249
|
+
#
|
1250
|
+
class ListAssetInstancesInput < Struct.new(
|
1251
|
+
:outpost_identifier,
|
1252
|
+
:asset_id_filter,
|
1253
|
+
:instance_type_filter,
|
1254
|
+
:account_id_filter,
|
1255
|
+
:aws_service_filter,
|
1256
|
+
:max_results,
|
1257
|
+
:next_token)
|
1258
|
+
SENSITIVE = []
|
1259
|
+
include Aws::Structure
|
1260
|
+
end
|
1261
|
+
|
1262
|
+
# @!attribute [rw] asset_instances
|
1263
|
+
# List of instances owned by all accounts on the Outpost. Does not
|
1264
|
+
# include Amazon EBS or Amazon S3 instances.
|
1265
|
+
# @return [Array<Types::AssetInstance>]
|
1266
|
+
#
|
1267
|
+
# @!attribute [rw] next_token
|
1268
|
+
# The pagination token.
|
1269
|
+
# @return [String]
|
1270
|
+
#
|
1271
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListAssetInstancesOutput AWS API Documentation
|
1272
|
+
#
|
1273
|
+
class ListAssetInstancesOutput < Struct.new(
|
1274
|
+
:asset_instances,
|
1275
|
+
:next_token)
|
1276
|
+
SENSITIVE = []
|
1277
|
+
include Aws::Structure
|
1278
|
+
end
|
1279
|
+
|
1084
1280
|
# @!attribute [rw] outpost_identifier
|
1085
1281
|
# The ID or the Amazon Resource Name (ARN) of the Outpost.
|
1086
1282
|
# @return [String]
|
@@ -1130,6 +1326,53 @@ module Aws::Outposts
|
|
1130
1326
|
include Aws::Structure
|
1131
1327
|
end
|
1132
1328
|
|
1329
|
+
# @!attribute [rw] outpost_identifier
|
1330
|
+
# The ID or ARN of the Outpost associated with the specified capacity
|
1331
|
+
# task.
|
1332
|
+
# @return [String]
|
1333
|
+
#
|
1334
|
+
# @!attribute [rw] capacity_task_id
|
1335
|
+
# The ID of the capacity task.
|
1336
|
+
# @return [String]
|
1337
|
+
#
|
1338
|
+
# @!attribute [rw] max_results
|
1339
|
+
# The maximum page size.
|
1340
|
+
# @return [Integer]
|
1341
|
+
#
|
1342
|
+
# @!attribute [rw] next_token
|
1343
|
+
# The pagination token.
|
1344
|
+
# @return [String]
|
1345
|
+
#
|
1346
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListBlockingInstancesForCapacityTaskInput AWS API Documentation
|
1347
|
+
#
|
1348
|
+
class ListBlockingInstancesForCapacityTaskInput < Struct.new(
|
1349
|
+
:outpost_identifier,
|
1350
|
+
:capacity_task_id,
|
1351
|
+
:max_results,
|
1352
|
+
:next_token)
|
1353
|
+
SENSITIVE = []
|
1354
|
+
include Aws::Structure
|
1355
|
+
end
|
1356
|
+
|
1357
|
+
# @!attribute [rw] blocking_instances
|
1358
|
+
# A list of all running Amazon EC2 instances on the Outpost. Stopping
|
1359
|
+
# one or more of these instances can free up the capacity needed to
|
1360
|
+
# run the capacity task.
|
1361
|
+
# @return [Array<Types::BlockingInstance>]
|
1362
|
+
#
|
1363
|
+
# @!attribute [rw] next_token
|
1364
|
+
# The pagination token.
|
1365
|
+
# @return [String]
|
1366
|
+
#
|
1367
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListBlockingInstancesForCapacityTaskOutput AWS API Documentation
|
1368
|
+
#
|
1369
|
+
class ListBlockingInstancesForCapacityTaskOutput < Struct.new(
|
1370
|
+
:blocking_instances,
|
1371
|
+
:next_token)
|
1372
|
+
SENSITIVE = []
|
1373
|
+
include Aws::Structure
|
1374
|
+
end
|
1375
|
+
|
1133
1376
|
# @!attribute [rw] outpost_identifier_filter
|
1134
1377
|
# Filters the results by an Outpost ID or an Outpost ARN.
|
1135
1378
|
# @return [String]
|
@@ -1783,19 +2026,37 @@ module Aws::Outposts
|
|
1783
2026
|
# The instance pools specified in the capacity task.
|
1784
2027
|
# @return [Array<Types::InstanceTypeCapacity>]
|
1785
2028
|
#
|
2029
|
+
# @!attribute [rw] instances_to_exclude
|
2030
|
+
# List of user-specified running instances that must not be stopped in
|
2031
|
+
# order to free up the capacity needed to run the capacity task.
|
2032
|
+
# @return [Types::InstancesToExclude]
|
2033
|
+
#
|
1786
2034
|
# @!attribute [rw] dry_run
|
1787
2035
|
# You can request a dry run to determine if the instance type and
|
1788
2036
|
# instance size changes is above or below available instance capacity.
|
1789
2037
|
# Requesting a dry run does not make any changes to your plan.
|
1790
2038
|
# @return [Boolean]
|
1791
2039
|
#
|
2040
|
+
# @!attribute [rw] task_action_on_blocking_instances
|
2041
|
+
# Specify one of the following options in case an instance is blocking
|
2042
|
+
# the capacity task from running.
|
2043
|
+
#
|
2044
|
+
# * `WAIT_FOR_EVACUATION` - Checks every 10 minutes over 48 hours to
|
2045
|
+
# determine if instances have stopped and capacity is available to
|
2046
|
+
# complete the task.
|
2047
|
+
#
|
2048
|
+
# * `FAIL_TASK` - The capacity task fails.
|
2049
|
+
# @return [String]
|
2050
|
+
#
|
1792
2051
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/StartCapacityTaskInput AWS API Documentation
|
1793
2052
|
#
|
1794
2053
|
class StartCapacityTaskInput < Struct.new(
|
1795
2054
|
:outpost_identifier,
|
1796
2055
|
:order_id,
|
1797
2056
|
:instance_pools,
|
1798
|
-
:
|
2057
|
+
:instances_to_exclude,
|
2058
|
+
:dry_run,
|
2059
|
+
:task_action_on_blocking_instances)
|
1799
2060
|
SENSITIVE = []
|
1800
2061
|
include Aws::Structure
|
1801
2062
|
end
|
@@ -1817,6 +2078,11 @@ module Aws::Outposts
|
|
1817
2078
|
# List of the instance pools requested in the specified capacity task.
|
1818
2079
|
# @return [Array<Types::InstanceTypeCapacity>]
|
1819
2080
|
#
|
2081
|
+
# @!attribute [rw] instances_to_exclude
|
2082
|
+
# User-specified instances that must not be stopped in order to free
|
2083
|
+
# up the capacity needed to run the capacity task.
|
2084
|
+
# @return [Types::InstancesToExclude]
|
2085
|
+
#
|
1820
2086
|
# @!attribute [rw] dry_run
|
1821
2087
|
# Results of the dry run showing if the specified capacity task is
|
1822
2088
|
# above or below the available instance capacity.
|
@@ -1842,6 +2108,17 @@ module Aws::Outposts
|
|
1842
2108
|
# Date that the specified capacity task was last modified.
|
1843
2109
|
# @return [Time]
|
1844
2110
|
#
|
2111
|
+
# @!attribute [rw] task_action_on_blocking_instances
|
2112
|
+
# User-specified option in case an instance is blocking the capacity
|
2113
|
+
# task from running.
|
2114
|
+
#
|
2115
|
+
# * `WAIT_FOR_EVACUATION` - Checks every 10 minutes over 48 hours to
|
2116
|
+
# determine if instances have stopped and capacity is available to
|
2117
|
+
# complete the task.
|
2118
|
+
#
|
2119
|
+
# * `FAIL_TASK` - The capacity task fails.
|
2120
|
+
# @return [String]
|
2121
|
+
#
|
1845
2122
|
# @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/StartCapacityTaskOutput AWS API Documentation
|
1846
2123
|
#
|
1847
2124
|
class StartCapacityTaskOutput < Struct.new(
|
@@ -1849,12 +2126,14 @@ module Aws::Outposts
|
|
1849
2126
|
:outpost_id,
|
1850
2127
|
:order_id,
|
1851
2128
|
:requested_instance_pools,
|
2129
|
+
:instances_to_exclude,
|
1852
2130
|
:dry_run,
|
1853
2131
|
:capacity_task_status,
|
1854
2132
|
:failed,
|
1855
2133
|
:creation_date,
|
1856
2134
|
:completion_date,
|
1857
|
-
:last_modified_date
|
2135
|
+
:last_modified_date,
|
2136
|
+
:task_action_on_blocking_instances)
|
1858
2137
|
SENSITIVE = []
|
1859
2138
|
include Aws::Structure
|
1860
2139
|
end
|
data/lib/aws-sdk-outposts.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -108,7 +108,7 @@ module Aws
|
|
108
108
|
},
|
109
109
|
],
|
110
110
|
payment_option: ("ALL_UPFRONT" | "NO_UPFRONT" | "PARTIAL_UPFRONT"),
|
111
|
-
?payment_term: ("THREE_YEARS" | "ONE_YEAR")
|
111
|
+
?payment_term: ("THREE_YEARS" | "ONE_YEAR" | "FIVE_YEARS")
|
112
112
|
) -> _CreateOrderResponseSuccess
|
113
113
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateOrderResponseSuccess
|
114
114
|
|
@@ -202,12 +202,14 @@ module Aws
|
|
202
202
|
def outpost_id: () -> ::String
|
203
203
|
def order_id: () -> ::String
|
204
204
|
def requested_instance_pools: () -> ::Array[Types::InstanceTypeCapacity]
|
205
|
+
def instances_to_exclude: () -> Types::InstancesToExclude
|
205
206
|
def dry_run: () -> bool
|
206
|
-
def capacity_task_status: () -> ("REQUESTED" | "IN_PROGRESS" | "FAILED" | "COMPLETED" | "CANCELLED")
|
207
|
+
def capacity_task_status: () -> ("REQUESTED" | "IN_PROGRESS" | "FAILED" | "COMPLETED" | "WAITING_FOR_EVACUATION" | "CANCELLATION_IN_PROGRESS" | "CANCELLED")
|
207
208
|
def failed: () -> Types::CapacityTaskFailure
|
208
209
|
def creation_date: () -> ::Time
|
209
210
|
def completion_date: () -> ::Time
|
210
211
|
def last_modified_date: () -> ::Time
|
212
|
+
def task_action_on_blocking_instances: () -> ("WAIT_FOR_EVACUATION" | "FAIL_TASK")
|
211
213
|
end
|
212
214
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Outposts/Client.html#get_capacity_task-instance_method
|
213
215
|
def get_capacity_task: (
|
@@ -280,7 +282,7 @@ module Aws
|
|
280
282
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Outposts/Client.html#get_outpost_supported_instance_types-instance_method
|
281
283
|
def get_outpost_supported_instance_types: (
|
282
284
|
outpost_identifier: ::String,
|
283
|
-
order_id: ::String,
|
285
|
+
?order_id: ::String,
|
284
286
|
?max_results: ::Integer,
|
285
287
|
?next_token: ::String
|
286
288
|
) -> _GetOutpostSupportedInstanceTypesResponseSuccess
|
@@ -309,6 +311,23 @@ module Aws
|
|
309
311
|
) -> _GetSiteAddressResponseSuccess
|
310
312
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSiteAddressResponseSuccess
|
311
313
|
|
314
|
+
interface _ListAssetInstancesResponseSuccess
|
315
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListAssetInstancesOutput]
|
316
|
+
def asset_instances: () -> ::Array[Types::AssetInstance]
|
317
|
+
def next_token: () -> ::String
|
318
|
+
end
|
319
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Outposts/Client.html#list_asset_instances-instance_method
|
320
|
+
def list_asset_instances: (
|
321
|
+
outpost_identifier: ::String,
|
322
|
+
?asset_id_filter: Array[::String],
|
323
|
+
?instance_type_filter: Array[::String],
|
324
|
+
?account_id_filter: Array[::String],
|
325
|
+
?aws_service_filter: Array[("AWS" | "EC2" | "ELASTICACHE" | "ELB" | "RDS" | "ROUTE53")],
|
326
|
+
?max_results: ::Integer,
|
327
|
+
?next_token: ::String
|
328
|
+
) -> _ListAssetInstancesResponseSuccess
|
329
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAssetInstancesResponseSuccess
|
330
|
+
|
312
331
|
interface _ListAssetsResponseSuccess
|
313
332
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListAssetsOutput]
|
314
333
|
def assets: () -> ::Array[Types::AssetInfo]
|
@@ -324,6 +343,20 @@ module Aws
|
|
324
343
|
) -> _ListAssetsResponseSuccess
|
325
344
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAssetsResponseSuccess
|
326
345
|
|
346
|
+
interface _ListBlockingInstancesForCapacityTaskResponseSuccess
|
347
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListBlockingInstancesForCapacityTaskOutput]
|
348
|
+
def blocking_instances: () -> ::Array[Types::BlockingInstance]
|
349
|
+
def next_token: () -> ::String
|
350
|
+
end
|
351
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Outposts/Client.html#list_blocking_instances_for_capacity_task-instance_method
|
352
|
+
def list_blocking_instances_for_capacity_task: (
|
353
|
+
outpost_identifier: ::String,
|
354
|
+
capacity_task_id: ::String,
|
355
|
+
?max_results: ::Integer,
|
356
|
+
?next_token: ::String
|
357
|
+
) -> _ListBlockingInstancesForCapacityTaskResponseSuccess
|
358
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBlockingInstancesForCapacityTaskResponseSuccess
|
359
|
+
|
327
360
|
interface _ListCapacityTasksResponseSuccess
|
328
361
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListCapacityTasksOutput]
|
329
362
|
def capacity_tasks: () -> ::Array[Types::CapacityTaskSummary]
|
@@ -334,7 +367,7 @@ module Aws
|
|
334
367
|
?outpost_identifier_filter: ::String,
|
335
368
|
?max_results: ::Integer,
|
336
369
|
?next_token: ::String,
|
337
|
-
?capacity_task_status_filter: Array[("REQUESTED" | "IN_PROGRESS" | "FAILED" | "COMPLETED" | "CANCELLED")]
|
370
|
+
?capacity_task_status_filter: Array[("REQUESTED" | "IN_PROGRESS" | "FAILED" | "COMPLETED" | "WAITING_FOR_EVACUATION" | "CANCELLATION_IN_PROGRESS" | "CANCELLED")]
|
338
371
|
) -> _ListCapacityTasksResponseSuccess
|
339
372
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCapacityTasksResponseSuccess
|
340
373
|
|
@@ -412,24 +445,32 @@ module Aws
|
|
412
445
|
def outpost_id: () -> ::String
|
413
446
|
def order_id: () -> ::String
|
414
447
|
def requested_instance_pools: () -> ::Array[Types::InstanceTypeCapacity]
|
448
|
+
def instances_to_exclude: () -> Types::InstancesToExclude
|
415
449
|
def dry_run: () -> bool
|
416
|
-
def capacity_task_status: () -> ("REQUESTED" | "IN_PROGRESS" | "FAILED" | "COMPLETED" | "CANCELLED")
|
450
|
+
def capacity_task_status: () -> ("REQUESTED" | "IN_PROGRESS" | "FAILED" | "COMPLETED" | "WAITING_FOR_EVACUATION" | "CANCELLATION_IN_PROGRESS" | "CANCELLED")
|
417
451
|
def failed: () -> Types::CapacityTaskFailure
|
418
452
|
def creation_date: () -> ::Time
|
419
453
|
def completion_date: () -> ::Time
|
420
454
|
def last_modified_date: () -> ::Time
|
455
|
+
def task_action_on_blocking_instances: () -> ("WAIT_FOR_EVACUATION" | "FAIL_TASK")
|
421
456
|
end
|
422
457
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Outposts/Client.html#start_capacity_task-instance_method
|
423
458
|
def start_capacity_task: (
|
424
459
|
outpost_identifier: ::String,
|
425
|
-
order_id: ::String,
|
460
|
+
?order_id: ::String,
|
426
461
|
instance_pools: Array[
|
427
462
|
{
|
428
463
|
instance_type: ::String,
|
429
464
|
count: ::Integer
|
430
465
|
},
|
431
466
|
],
|
432
|
-
?
|
467
|
+
?instances_to_exclude: {
|
468
|
+
instances: Array[::String]?,
|
469
|
+
account_ids: Array[::String]?,
|
470
|
+
services: Array[("AWS" | "EC2" | "ELASTICACHE" | "ELB" | "RDS" | "ROUTE53")]?
|
471
|
+
},
|
472
|
+
?dry_run: bool,
|
473
|
+
?task_action_on_blocking_instances: ("WAIT_FOR_EVACUATION" | "FAIL_TASK")
|
433
474
|
) -> _StartCapacityTaskResponseSuccess
|
434
475
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartCapacityTaskResponseSuccess
|
435
476
|
|