aws-sdk-outposts 1.70.0 → 1.72.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.
@@ -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
- :dry_run)
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
@@ -54,7 +54,7 @@ module Aws::Outposts
54
54
  autoload :EndpointProvider, 'aws-sdk-outposts/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-outposts/endpoints'
56
56
 
57
- GEM_VERSION = '1.70.0'
57
+ GEM_VERSION = '1.72.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -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
- ?dry_run: bool
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
 
data/sig/types.rbs CHANGED
@@ -37,11 +37,33 @@ module Aws::Outposts
37
37
  SENSITIVE: []
38
38
  end
39
39
 
40
+ class AssetInstance
41
+ attr_accessor instance_id: ::String
42
+ attr_accessor instance_type: ::String
43
+ attr_accessor asset_id: ::String
44
+ attr_accessor account_id: ::String
45
+ attr_accessor aws_service_name: ("AWS" | "EC2" | "ELASTICACHE" | "ELB" | "RDS" | "ROUTE53")
46
+ SENSITIVE: []
47
+ end
48
+
49
+ class AssetInstanceTypeCapacity
50
+ attr_accessor instance_type: ::String
51
+ attr_accessor count: ::Integer
52
+ SENSITIVE: []
53
+ end
54
+
40
55
  class AssetLocation
41
56
  attr_accessor rack_elevation: ::Float
42
57
  SENSITIVE: []
43
58
  end
44
59
 
60
+ class BlockingInstance
61
+ attr_accessor instance_id: ::String
62
+ attr_accessor account_id: ::String
63
+ attr_accessor aws_service_name: ("AWS" | "EC2" | "ELASTICACHE" | "ELB" | "RDS" | "ROUTE53")
64
+ SENSITIVE: []
65
+ end
66
+
45
67
  class CancelCapacityTaskInput
46
68
  attr_accessor capacity_task_id: ::String
47
69
  attr_accessor outpost_identifier: ::String
@@ -61,7 +83,7 @@ module Aws::Outposts
61
83
 
62
84
  class CapacityTaskFailure
63
85
  attr_accessor reason: ::String
64
- attr_accessor type: ("UNSUPPORTED_CAPACITY_CONFIGURATION")
86
+ attr_accessor type: ("UNSUPPORTED_CAPACITY_CONFIGURATION" | "UNEXPECTED_ASSET_STATE" | "BLOCKING_INSTANCES_NOT_EVACUATED" | "INTERNAL_SERVER_ERROR" | "RESOURCE_NOT_FOUND")
65
87
  SENSITIVE: []
66
88
  end
67
89
 
@@ -69,7 +91,7 @@ module Aws::Outposts
69
91
  attr_accessor capacity_task_id: ::String
70
92
  attr_accessor outpost_id: ::String
71
93
  attr_accessor order_id: ::String
72
- attr_accessor capacity_task_status: ("REQUESTED" | "IN_PROGRESS" | "FAILED" | "COMPLETED" | "CANCELLED")
94
+ attr_accessor capacity_task_status: ("REQUESTED" | "IN_PROGRESS" | "FAILED" | "COMPLETED" | "WAITING_FOR_EVACUATION" | "CANCELLATION_IN_PROGRESS" | "CANCELLED")
73
95
  attr_accessor creation_date: ::Time
74
96
  attr_accessor completion_date: ::Time
75
97
  attr_accessor last_modified_date: ::Time
@@ -91,6 +113,8 @@ module Aws::Outposts
91
113
  attr_accessor host_id: ::String
92
114
  attr_accessor state: ("ACTIVE" | "ISOLATED" | "RETIRING")
93
115
  attr_accessor instance_families: ::Array[::String]
116
+ attr_accessor instance_type_capacities: ::Array[Types::AssetInstanceTypeCapacity]
117
+ attr_accessor max_vcpus: ::Integer
94
118
  SENSITIVE: []
95
119
  end
96
120
 
@@ -190,12 +214,14 @@ module Aws::Outposts
190
214
  attr_accessor outpost_id: ::String
191
215
  attr_accessor order_id: ::String
192
216
  attr_accessor requested_instance_pools: ::Array[Types::InstanceTypeCapacity]
217
+ attr_accessor instances_to_exclude: Types::InstancesToExclude
193
218
  attr_accessor dry_run: bool
194
- attr_accessor capacity_task_status: ("REQUESTED" | "IN_PROGRESS" | "FAILED" | "COMPLETED" | "CANCELLED")
219
+ attr_accessor capacity_task_status: ("REQUESTED" | "IN_PROGRESS" | "FAILED" | "COMPLETED" | "WAITING_FOR_EVACUATION" | "CANCELLATION_IN_PROGRESS" | "CANCELLED")
195
220
  attr_accessor failed: Types::CapacityTaskFailure
196
221
  attr_accessor creation_date: ::Time
197
222
  attr_accessor completion_date: ::Time
198
223
  attr_accessor last_modified_date: ::Time
224
+ attr_accessor task_action_on_blocking_instances: ("WAIT_FOR_EVACUATION" | "FAIL_TASK")
199
225
  SENSITIVE: []
200
226
  end
201
227
 
@@ -304,6 +330,13 @@ module Aws::Outposts
304
330
  SENSITIVE: []
305
331
  end
306
332
 
333
+ class InstancesToExclude
334
+ attr_accessor instances: ::Array[::String]
335
+ attr_accessor account_ids: ::Array[::String]
336
+ attr_accessor services: ::Array[("AWS" | "EC2" | "ELASTICACHE" | "ELB" | "RDS" | "ROUTE53")]
337
+ SENSITIVE: []
338
+ end
339
+
307
340
  class InternalServerException
308
341
  attr_accessor message: ::String
309
342
  SENSITIVE: []
@@ -333,6 +366,23 @@ module Aws::Outposts
333
366
  SENSITIVE: []
334
367
  end
335
368
 
369
+ class ListAssetInstancesInput
370
+ attr_accessor outpost_identifier: ::String
371
+ attr_accessor asset_id_filter: ::Array[::String]
372
+ attr_accessor instance_type_filter: ::Array[::String]
373
+ attr_accessor account_id_filter: ::Array[::String]
374
+ attr_accessor aws_service_filter: ::Array[("AWS" | "EC2" | "ELASTICACHE" | "ELB" | "RDS" | "ROUTE53")]
375
+ attr_accessor max_results: ::Integer
376
+ attr_accessor next_token: ::String
377
+ SENSITIVE: []
378
+ end
379
+
380
+ class ListAssetInstancesOutput
381
+ attr_accessor asset_instances: ::Array[Types::AssetInstance]
382
+ attr_accessor next_token: ::String
383
+ SENSITIVE: []
384
+ end
385
+
336
386
  class ListAssetsInput
337
387
  attr_accessor outpost_identifier: ::String
338
388
  attr_accessor host_id_filter: ::Array[::String]
@@ -348,11 +398,25 @@ module Aws::Outposts
348
398
  SENSITIVE: []
349
399
  end
350
400
 
401
+ class ListBlockingInstancesForCapacityTaskInput
402
+ attr_accessor outpost_identifier: ::String
403
+ attr_accessor capacity_task_id: ::String
404
+ attr_accessor max_results: ::Integer
405
+ attr_accessor next_token: ::String
406
+ SENSITIVE: []
407
+ end
408
+
409
+ class ListBlockingInstancesForCapacityTaskOutput
410
+ attr_accessor blocking_instances: ::Array[Types::BlockingInstance]
411
+ attr_accessor next_token: ::String
412
+ SENSITIVE: []
413
+ end
414
+
351
415
  class ListCapacityTasksInput
352
416
  attr_accessor outpost_identifier_filter: ::String
353
417
  attr_accessor max_results: ::Integer
354
418
  attr_accessor next_token: ::String
355
- attr_accessor capacity_task_status_filter: ::Array[("REQUESTED" | "IN_PROGRESS" | "FAILED" | "COMPLETED" | "CANCELLED")]
419
+ attr_accessor capacity_task_status_filter: ::Array[("REQUESTED" | "IN_PROGRESS" | "FAILED" | "COMPLETED" | "WAITING_FOR_EVACUATION" | "CANCELLATION_IN_PROGRESS" | "CANCELLED")]
356
420
  SENSITIVE: []
357
421
  end
358
422
 
@@ -518,7 +582,9 @@ module Aws::Outposts
518
582
  attr_accessor outpost_identifier: ::String
519
583
  attr_accessor order_id: ::String
520
584
  attr_accessor instance_pools: ::Array[Types::InstanceTypeCapacity]
585
+ attr_accessor instances_to_exclude: Types::InstancesToExclude
521
586
  attr_accessor dry_run: bool
587
+ attr_accessor task_action_on_blocking_instances: ("WAIT_FOR_EVACUATION" | "FAIL_TASK")
522
588
  SENSITIVE: []
523
589
  end
524
590
 
@@ -527,12 +593,14 @@ module Aws::Outposts
527
593
  attr_accessor outpost_id: ::String
528
594
  attr_accessor order_id: ::String
529
595
  attr_accessor requested_instance_pools: ::Array[Types::InstanceTypeCapacity]
596
+ attr_accessor instances_to_exclude: Types::InstancesToExclude
530
597
  attr_accessor dry_run: bool
531
- attr_accessor capacity_task_status: ("REQUESTED" | "IN_PROGRESS" | "FAILED" | "COMPLETED" | "CANCELLED")
598
+ attr_accessor capacity_task_status: ("REQUESTED" | "IN_PROGRESS" | "FAILED" | "COMPLETED" | "WAITING_FOR_EVACUATION" | "CANCELLATION_IN_PROGRESS" | "CANCELLED")
532
599
  attr_accessor failed: Types::CapacityTaskFailure
533
600
  attr_accessor creation_date: ::Time
534
601
  attr_accessor completion_date: ::Time
535
602
  attr_accessor last_modified_date: ::Time
603
+ attr_accessor task_action_on_blocking_instances: ("WAIT_FOR_EVACUATION" | "FAIL_TASK")
536
604
  SENSITIVE: []
537
605
  end
538
606