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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bbfd6ab3436966c4c1ab461eb445b11bc4ac7725177d9eec7549b3a7a0a2187f
4
- data.tar.gz: 480d3e802132da7d97f866e66fc53a6ec42c5666dfb788d00ac312c7671d656b
3
+ metadata.gz: 18bad98746442fb4c1ecc6914260c48b6587c2850846fd2929afd35094ddd6b0
4
+ data.tar.gz: 9f44c89047a5feff833b48b32ab91f48938b55420cf67f0efb233e62d3b88b62
5
5
  SHA512:
6
- metadata.gz: 262ab26fef238702f949e32c5b8f3f30f9cc74a676964d3403076437a04351bae66ea83bbed6920979df71fda9321b954471313567f78e5206ca865e83fdd9c7
7
- data.tar.gz: 97b90079c50218cc008e9f86b8a8a7594ec0623d1d81594e4d411032fac0a235b5f87b87f2e7ac37236e0ccad274d77f5708502fa6abad8d05b2e869a5630091
6
+ metadata.gz: 30f1ab15433a96b0df1b767486127cca96ce293ade0a10d1182d49ecdcbadb5332e3a09c37c38589bc0cd122eae46023233c8d18569deeddab5df1b309d55e90
7
+ data.tar.gz: 1252516211b671fa883375ac5273918ef30e5fe452bd1c719627f0f3bfffd446490c2d013693f22049903dd08c2a4beb56b8b752cfcd9b998a84cc68989412dd
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.72.0 (2024-11-11)
5
+ ------------------
6
+
7
+ * Feature - This release updates StartCapacityTask to allow an active Outpost to be modified. It also adds a new API to list all running EC2 instances on the Outpost.
8
+
9
+ 1.71.0 (2024-10-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.70.0 (2024-10-10)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.70.0
1
+ 1.72.0
@@ -806,12 +806,14 @@ module Aws::Outposts
806
806
  # * {Types::GetCapacityTaskOutput#outpost_id #outpost_id} => String
807
807
  # * {Types::GetCapacityTaskOutput#order_id #order_id} => String
808
808
  # * {Types::GetCapacityTaskOutput#requested_instance_pools #requested_instance_pools} => Array<Types::InstanceTypeCapacity>
809
+ # * {Types::GetCapacityTaskOutput#instances_to_exclude #instances_to_exclude} => Types::InstancesToExclude
809
810
  # * {Types::GetCapacityTaskOutput#dry_run #dry_run} => Boolean
810
811
  # * {Types::GetCapacityTaskOutput#capacity_task_status #capacity_task_status} => String
811
812
  # * {Types::GetCapacityTaskOutput#failed #failed} => Types::CapacityTaskFailure
812
813
  # * {Types::GetCapacityTaskOutput#creation_date #creation_date} => Time
813
814
  # * {Types::GetCapacityTaskOutput#completion_date #completion_date} => Time
814
815
  # * {Types::GetCapacityTaskOutput#last_modified_date #last_modified_date} => Time
816
+ # * {Types::GetCapacityTaskOutput#task_action_on_blocking_instances #task_action_on_blocking_instances} => String
815
817
  #
816
818
  # @example Request syntax with placeholder values
817
819
  #
@@ -828,13 +830,20 @@ module Aws::Outposts
828
830
  # resp.requested_instance_pools #=> Array
829
831
  # resp.requested_instance_pools[0].instance_type #=> String
830
832
  # resp.requested_instance_pools[0].count #=> Integer
833
+ # resp.instances_to_exclude.instances #=> Array
834
+ # resp.instances_to_exclude.instances[0] #=> String
835
+ # resp.instances_to_exclude.account_ids #=> Array
836
+ # resp.instances_to_exclude.account_ids[0] #=> String
837
+ # resp.instances_to_exclude.services #=> Array
838
+ # resp.instances_to_exclude.services[0] #=> String, one of "AWS", "EC2", "ELASTICACHE", "ELB", "RDS", "ROUTE53"
831
839
  # resp.dry_run #=> Boolean
832
- # resp.capacity_task_status #=> String, one of "REQUESTED", "IN_PROGRESS", "FAILED", "COMPLETED", "CANCELLED"
840
+ # resp.capacity_task_status #=> String, one of "REQUESTED", "IN_PROGRESS", "FAILED", "COMPLETED", "WAITING_FOR_EVACUATION", "CANCELLATION_IN_PROGRESS", "CANCELLED"
833
841
  # resp.failed.reason #=> String
834
- # resp.failed.type #=> String, one of "UNSUPPORTED_CAPACITY_CONFIGURATION"
842
+ # resp.failed.type #=> String, one of "UNSUPPORTED_CAPACITY_CONFIGURATION", "UNEXPECTED_ASSET_STATE", "BLOCKING_INSTANCES_NOT_EVACUATED", "INTERNAL_SERVER_ERROR", "RESOURCE_NOT_FOUND"
835
843
  # resp.creation_date #=> Time
836
844
  # resp.completion_date #=> Time
837
845
  # resp.last_modified_date #=> Time
846
+ # resp.task_action_on_blocking_instances #=> String, one of "WAIT_FOR_EVACUATION", "FAIL_TASK"
838
847
  #
839
848
  # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetCapacityTask AWS API Documentation
840
849
  #
@@ -1078,7 +1087,7 @@ module Aws::Outposts
1078
1087
  # @option params [required, String] :outpost_identifier
1079
1088
  # The ID or ARN of the Outpost.
1080
1089
  #
1081
- # @option params [required, String] :order_id
1090
+ # @option params [String] :order_id
1082
1091
  # The ID for the Amazon Web Services Outposts order.
1083
1092
  #
1084
1093
  # @option params [Integer] :max_results
@@ -1098,7 +1107,7 @@ module Aws::Outposts
1098
1107
  #
1099
1108
  # resp = client.get_outpost_supported_instance_types({
1100
1109
  # outpost_identifier: "OutpostIdentifier", # required
1101
- # order_id: "OrderId", # required
1110
+ # order_id: "OrderId",
1102
1111
  # max_results: 1,
1103
1112
  # next_token: "Token",
1104
1113
  # })
@@ -1212,6 +1221,69 @@ module Aws::Outposts
1212
1221
  req.send_request(options)
1213
1222
  end
1214
1223
 
1224
+ # A list of Amazon EC2 instances, belonging to all accounts, running on
1225
+ # the specified Outpost. Does not include Amazon EBS or Amazon S3
1226
+ # instances.
1227
+ #
1228
+ # @option params [required, String] :outpost_identifier
1229
+ # The ID of the Outpost.
1230
+ #
1231
+ # @option params [Array<String>] :asset_id_filter
1232
+ # Filters the results by asset ID.
1233
+ #
1234
+ # @option params [Array<String>] :instance_type_filter
1235
+ # Filters the results by instance ID.
1236
+ #
1237
+ # @option params [Array<String>] :account_id_filter
1238
+ # Filters the results by account ID.
1239
+ #
1240
+ # @option params [Array<String>] :aws_service_filter
1241
+ # Filters the results by Amazon Web Services service.
1242
+ #
1243
+ # @option params [Integer] :max_results
1244
+ # The maximum page size.
1245
+ #
1246
+ # @option params [String] :next_token
1247
+ # The pagination token.
1248
+ #
1249
+ # @return [Types::ListAssetInstancesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1250
+ #
1251
+ # * {Types::ListAssetInstancesOutput#asset_instances #asset_instances} => Array&lt;Types::AssetInstance&gt;
1252
+ # * {Types::ListAssetInstancesOutput#next_token #next_token} => String
1253
+ #
1254
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1255
+ #
1256
+ # @example Request syntax with placeholder values
1257
+ #
1258
+ # resp = client.list_asset_instances({
1259
+ # outpost_identifier: "OutpostIdentifier", # required
1260
+ # asset_id_filter: ["AssetId"],
1261
+ # instance_type_filter: ["OutpostInstanceType"],
1262
+ # account_id_filter: ["AccountId"],
1263
+ # aws_service_filter: ["AWS"], # accepts AWS, EC2, ELASTICACHE, ELB, RDS, ROUTE53
1264
+ # max_results: 1,
1265
+ # next_token: "Token",
1266
+ # })
1267
+ #
1268
+ # @example Response structure
1269
+ #
1270
+ # resp.asset_instances #=> Array
1271
+ # resp.asset_instances[0].instance_id #=> String
1272
+ # resp.asset_instances[0].instance_type #=> String
1273
+ # resp.asset_instances[0].asset_id #=> String
1274
+ # resp.asset_instances[0].account_id #=> String
1275
+ # resp.asset_instances[0].aws_service_name #=> String, one of "AWS", "EC2", "ELASTICACHE", "ELB", "RDS", "ROUTE53"
1276
+ # resp.next_token #=> String
1277
+ #
1278
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListAssetInstances AWS API Documentation
1279
+ #
1280
+ # @overload list_asset_instances(params = {})
1281
+ # @param [Hash] params ({})
1282
+ def list_asset_instances(params = {}, options = {})
1283
+ req = build_request(:list_asset_instances, params)
1284
+ req.send_request(options)
1285
+ end
1286
+
1215
1287
  # Lists the hardware assets for the specified Outpost.
1216
1288
  #
1217
1289
  # Use filters to return specific results. If you specify multiple
@@ -1262,6 +1334,10 @@ module Aws::Outposts
1262
1334
  # resp.assets[0].compute_attributes.state #=> String, one of "ACTIVE", "ISOLATED", "RETIRING"
1263
1335
  # resp.assets[0].compute_attributes.instance_families #=> Array
1264
1336
  # resp.assets[0].compute_attributes.instance_families[0] #=> String
1337
+ # resp.assets[0].compute_attributes.instance_type_capacities #=> Array
1338
+ # resp.assets[0].compute_attributes.instance_type_capacities[0].instance_type #=> String
1339
+ # resp.assets[0].compute_attributes.instance_type_capacities[0].count #=> Integer
1340
+ # resp.assets[0].compute_attributes.max_vcpus #=> Integer
1265
1341
  # resp.assets[0].asset_location.rack_elevation #=> Float
1266
1342
  # resp.next_token #=> String
1267
1343
  #
@@ -1274,6 +1350,57 @@ module Aws::Outposts
1274
1350
  req.send_request(options)
1275
1351
  end
1276
1352
 
1353
+ # A list of Amazon EC2 instances running on the Outpost and belonging to
1354
+ # the account that initiated the capacity task. Use this list to specify
1355
+ # the instances you cannot stop to free up capacity to run the capacity
1356
+ # task.
1357
+ #
1358
+ # @option params [required, String] :outpost_identifier
1359
+ # The ID or ARN of the Outpost associated with the specified capacity
1360
+ # task.
1361
+ #
1362
+ # @option params [required, String] :capacity_task_id
1363
+ # The ID of the capacity task.
1364
+ #
1365
+ # @option params [Integer] :max_results
1366
+ # The maximum page size.
1367
+ #
1368
+ # @option params [String] :next_token
1369
+ # The pagination token.
1370
+ #
1371
+ # @return [Types::ListBlockingInstancesForCapacityTaskOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1372
+ #
1373
+ # * {Types::ListBlockingInstancesForCapacityTaskOutput#blocking_instances #blocking_instances} => Array&lt;Types::BlockingInstance&gt;
1374
+ # * {Types::ListBlockingInstancesForCapacityTaskOutput#next_token #next_token} => String
1375
+ #
1376
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1377
+ #
1378
+ # @example Request syntax with placeholder values
1379
+ #
1380
+ # resp = client.list_blocking_instances_for_capacity_task({
1381
+ # outpost_identifier: "OutpostIdentifier", # required
1382
+ # capacity_task_id: "CapacityTaskId", # required
1383
+ # max_results: 1,
1384
+ # next_token: "Token",
1385
+ # })
1386
+ #
1387
+ # @example Response structure
1388
+ #
1389
+ # resp.blocking_instances #=> Array
1390
+ # resp.blocking_instances[0].instance_id #=> String
1391
+ # resp.blocking_instances[0].account_id #=> String
1392
+ # resp.blocking_instances[0].aws_service_name #=> String, one of "AWS", "EC2", "ELASTICACHE", "ELB", "RDS", "ROUTE53"
1393
+ # resp.next_token #=> String
1394
+ #
1395
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/ListBlockingInstancesForCapacityTask AWS API Documentation
1396
+ #
1397
+ # @overload list_blocking_instances_for_capacity_task(params = {})
1398
+ # @param [Hash] params ({})
1399
+ def list_blocking_instances_for_capacity_task(params = {}, options = {})
1400
+ req = build_request(:list_blocking_instances_for_capacity_task, params)
1401
+ req.send_request(options)
1402
+ end
1403
+
1277
1404
  # Lists the capacity tasks for your Amazon Web Services account.
1278
1405
  #
1279
1406
  # Use filters to return specific results. If you specify multiple
@@ -1308,7 +1435,7 @@ module Aws::Outposts
1308
1435
  # outpost_identifier_filter: "OutpostIdentifier",
1309
1436
  # max_results: 1,
1310
1437
  # next_token: "Token",
1311
- # capacity_task_status_filter: ["REQUESTED"], # accepts REQUESTED, IN_PROGRESS, FAILED, COMPLETED, CANCELLED
1438
+ # capacity_task_status_filter: ["REQUESTED"], # accepts REQUESTED, IN_PROGRESS, FAILED, COMPLETED, WAITING_FOR_EVACUATION, CANCELLATION_IN_PROGRESS, CANCELLED
1312
1439
  # })
1313
1440
  #
1314
1441
  # @example Response structure
@@ -1317,7 +1444,7 @@ module Aws::Outposts
1317
1444
  # resp.capacity_tasks[0].capacity_task_id #=> String
1318
1445
  # resp.capacity_tasks[0].outpost_id #=> String
1319
1446
  # resp.capacity_tasks[0].order_id #=> String
1320
- # resp.capacity_tasks[0].capacity_task_status #=> String, one of "REQUESTED", "IN_PROGRESS", "FAILED", "COMPLETED", "CANCELLED"
1447
+ # resp.capacity_tasks[0].capacity_task_status #=> String, one of "REQUESTED", "IN_PROGRESS", "FAILED", "COMPLETED", "WAITING_FOR_EVACUATION", "CANCELLATION_IN_PROGRESS", "CANCELLED"
1321
1448
  # resp.capacity_tasks[0].creation_date #=> Time
1322
1449
  # resp.capacity_tasks[0].completion_date #=> Time
1323
1450
  # resp.capacity_tasks[0].last_modified_date #=> Time
@@ -1618,49 +1745,71 @@ module Aws::Outposts
1618
1745
  end
1619
1746
 
1620
1747
  # Starts the specified capacity task. You can have one active capacity
1621
- # task for an order.
1748
+ # task per order or Outpost.
1622
1749
  #
1623
1750
  # @option params [required, String] :outpost_identifier
1624
1751
  # The ID or ARN of the Outposts associated with the specified capacity
1625
1752
  # task.
1626
1753
  #
1627
- # @option params [required, String] :order_id
1754
+ # @option params [String] :order_id
1628
1755
  # The ID of the Amazon Web Services Outposts order associated with the
1629
1756
  # specified capacity task.
1630
1757
  #
1631
1758
  # @option params [required, Array<Types::InstanceTypeCapacity>] :instance_pools
1632
1759
  # The instance pools specified in the capacity task.
1633
1760
  #
1761
+ # @option params [Types::InstancesToExclude] :instances_to_exclude
1762
+ # List of user-specified running instances that must not be stopped in
1763
+ # order to free up the capacity needed to run the capacity task.
1764
+ #
1634
1765
  # @option params [Boolean] :dry_run
1635
1766
  # You can request a dry run to determine if the instance type and
1636
1767
  # instance size changes is above or below available instance capacity.
1637
1768
  # Requesting a dry run does not make any changes to your plan.
1638
1769
  #
1770
+ # @option params [String] :task_action_on_blocking_instances
1771
+ # Specify one of the following options in case an instance is blocking
1772
+ # the capacity task from running.
1773
+ #
1774
+ # * `WAIT_FOR_EVACUATION` - Checks every 10 minutes over 48 hours to
1775
+ # determine if instances have stopped and capacity is available to
1776
+ # complete the task.
1777
+ #
1778
+ # * `FAIL_TASK` - The capacity task fails.
1779
+ #
1639
1780
  # @return [Types::StartCapacityTaskOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1640
1781
  #
1641
1782
  # * {Types::StartCapacityTaskOutput#capacity_task_id #capacity_task_id} => String
1642
1783
  # * {Types::StartCapacityTaskOutput#outpost_id #outpost_id} => String
1643
1784
  # * {Types::StartCapacityTaskOutput#order_id #order_id} => String
1644
1785
  # * {Types::StartCapacityTaskOutput#requested_instance_pools #requested_instance_pools} => Array&lt;Types::InstanceTypeCapacity&gt;
1786
+ # * {Types::StartCapacityTaskOutput#instances_to_exclude #instances_to_exclude} => Types::InstancesToExclude
1645
1787
  # * {Types::StartCapacityTaskOutput#dry_run #dry_run} => Boolean
1646
1788
  # * {Types::StartCapacityTaskOutput#capacity_task_status #capacity_task_status} => String
1647
1789
  # * {Types::StartCapacityTaskOutput#failed #failed} => Types::CapacityTaskFailure
1648
1790
  # * {Types::StartCapacityTaskOutput#creation_date #creation_date} => Time
1649
1791
  # * {Types::StartCapacityTaskOutput#completion_date #completion_date} => Time
1650
1792
  # * {Types::StartCapacityTaskOutput#last_modified_date #last_modified_date} => Time
1793
+ # * {Types::StartCapacityTaskOutput#task_action_on_blocking_instances #task_action_on_blocking_instances} => String
1651
1794
  #
1652
1795
  # @example Request syntax with placeholder values
1653
1796
  #
1654
1797
  # resp = client.start_capacity_task({
1655
1798
  # outpost_identifier: "OutpostIdentifier", # required
1656
- # order_id: "OrderId", # required
1799
+ # order_id: "OrderId",
1657
1800
  # instance_pools: [ # required
1658
1801
  # {
1659
1802
  # instance_type: "InstanceTypeName", # required
1660
1803
  # count: 1, # required
1661
1804
  # },
1662
1805
  # ],
1806
+ # instances_to_exclude: {
1807
+ # instances: ["InstanceId"],
1808
+ # account_ids: ["AccountId"],
1809
+ # services: ["AWS"], # accepts AWS, EC2, ELASTICACHE, ELB, RDS, ROUTE53
1810
+ # },
1663
1811
  # dry_run: false,
1812
+ # task_action_on_blocking_instances: "WAIT_FOR_EVACUATION", # accepts WAIT_FOR_EVACUATION, FAIL_TASK
1664
1813
  # })
1665
1814
  #
1666
1815
  # @example Response structure
@@ -1671,13 +1820,20 @@ module Aws::Outposts
1671
1820
  # resp.requested_instance_pools #=> Array
1672
1821
  # resp.requested_instance_pools[0].instance_type #=> String
1673
1822
  # resp.requested_instance_pools[0].count #=> Integer
1823
+ # resp.instances_to_exclude.instances #=> Array
1824
+ # resp.instances_to_exclude.instances[0] #=> String
1825
+ # resp.instances_to_exclude.account_ids #=> Array
1826
+ # resp.instances_to_exclude.account_ids[0] #=> String
1827
+ # resp.instances_to_exclude.services #=> Array
1828
+ # resp.instances_to_exclude.services[0] #=> String, one of "AWS", "EC2", "ELASTICACHE", "ELB", "RDS", "ROUTE53"
1674
1829
  # resp.dry_run #=> Boolean
1675
- # resp.capacity_task_status #=> String, one of "REQUESTED", "IN_PROGRESS", "FAILED", "COMPLETED", "CANCELLED"
1830
+ # resp.capacity_task_status #=> String, one of "REQUESTED", "IN_PROGRESS", "FAILED", "COMPLETED", "WAITING_FOR_EVACUATION", "CANCELLATION_IN_PROGRESS", "CANCELLED"
1676
1831
  # resp.failed.reason #=> String
1677
- # resp.failed.type #=> String, one of "UNSUPPORTED_CAPACITY_CONFIGURATION"
1832
+ # resp.failed.type #=> String, one of "UNSUPPORTED_CAPACITY_CONFIGURATION", "UNEXPECTED_ASSET_STATE", "BLOCKING_INSTANCES_NOT_EVACUATED", "INTERNAL_SERVER_ERROR", "RESOURCE_NOT_FOUND"
1678
1833
  # resp.creation_date #=> Time
1679
1834
  # resp.completion_date #=> Time
1680
1835
  # resp.last_modified_date #=> Time
1836
+ # resp.task_action_on_blocking_instances #=> String, one of "WAIT_FOR_EVACUATION", "FAIL_TASK"
1681
1837
  #
1682
1838
  # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/StartCapacityTask AWS API Documentation
1683
1839
  #
@@ -2156,7 +2312,7 @@ module Aws::Outposts
2156
2312
  tracer: tracer
2157
2313
  )
2158
2314
  context[:gem_name] = 'aws-sdk-outposts'
2159
- context[:gem_version] = '1.70.0'
2315
+ context[:gem_version] = '1.72.0'
2160
2316
  Seahorse::Client::Request.new(handlers, context)
2161
2317
  end
2162
2318