aws-sdk-ec2 1.30.0 → 1.31.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.
@@ -147,6 +147,8 @@ module Aws::EC2
147
147
  CreateDhcpOptionsResult = Shapes::StructureShape.new(name: 'CreateDhcpOptionsResult')
148
148
  CreateEgressOnlyInternetGatewayRequest = Shapes::StructureShape.new(name: 'CreateEgressOnlyInternetGatewayRequest')
149
149
  CreateEgressOnlyInternetGatewayResult = Shapes::StructureShape.new(name: 'CreateEgressOnlyInternetGatewayResult')
150
+ CreateFleetRequest = Shapes::StructureShape.new(name: 'CreateFleetRequest')
151
+ CreateFleetResult = Shapes::StructureShape.new(name: 'CreateFleetResult')
150
152
  CreateFlowLogsRequest = Shapes::StructureShape.new(name: 'CreateFlowLogsRequest')
151
153
  CreateFlowLogsResult = Shapes::StructureShape.new(name: 'CreateFlowLogsResult')
152
154
  CreateFpgaImageRequest = Shapes::StructureShape.new(name: 'CreateFpgaImageRequest')
@@ -213,10 +215,19 @@ module Aws::EC2
213
215
  CustomerGatewayList = Shapes::ListShape.new(name: 'CustomerGatewayList')
214
216
  DatafeedSubscriptionState = Shapes::StringShape.new(name: 'DatafeedSubscriptionState')
215
217
  DateTime = Shapes::TimestampShape.new(name: 'DateTime')
218
+ DefaultTargetCapacityType = Shapes::StringShape.new(name: 'DefaultTargetCapacityType')
216
219
  DeleteCustomerGatewayRequest = Shapes::StructureShape.new(name: 'DeleteCustomerGatewayRequest')
217
220
  DeleteDhcpOptionsRequest = Shapes::StructureShape.new(name: 'DeleteDhcpOptionsRequest')
218
221
  DeleteEgressOnlyInternetGatewayRequest = Shapes::StructureShape.new(name: 'DeleteEgressOnlyInternetGatewayRequest')
219
222
  DeleteEgressOnlyInternetGatewayResult = Shapes::StructureShape.new(name: 'DeleteEgressOnlyInternetGatewayResult')
223
+ DeleteFleetError = Shapes::StructureShape.new(name: 'DeleteFleetError')
224
+ DeleteFleetErrorCode = Shapes::StringShape.new(name: 'DeleteFleetErrorCode')
225
+ DeleteFleetErrorItem = Shapes::StructureShape.new(name: 'DeleteFleetErrorItem')
226
+ DeleteFleetErrorSet = Shapes::ListShape.new(name: 'DeleteFleetErrorSet')
227
+ DeleteFleetSuccessItem = Shapes::StructureShape.new(name: 'DeleteFleetSuccessItem')
228
+ DeleteFleetSuccessSet = Shapes::ListShape.new(name: 'DeleteFleetSuccessSet')
229
+ DeleteFleetsRequest = Shapes::StructureShape.new(name: 'DeleteFleetsRequest')
230
+ DeleteFleetsResult = Shapes::StructureShape.new(name: 'DeleteFleetsResult')
220
231
  DeleteFlowLogsRequest = Shapes::StructureShape.new(name: 'DeleteFlowLogsRequest')
221
232
  DeleteFlowLogsResult = Shapes::StructureShape.new(name: 'DeleteFlowLogsResult')
222
233
  DeleteFpgaImageRequest = Shapes::StructureShape.new(name: 'DeleteFpgaImageRequest')
@@ -285,6 +296,12 @@ module Aws::EC2
285
296
  DescribeElasticGpusResult = Shapes::StructureShape.new(name: 'DescribeElasticGpusResult')
286
297
  DescribeExportTasksRequest = Shapes::StructureShape.new(name: 'DescribeExportTasksRequest')
287
298
  DescribeExportTasksResult = Shapes::StructureShape.new(name: 'DescribeExportTasksResult')
299
+ DescribeFleetHistoryRequest = Shapes::StructureShape.new(name: 'DescribeFleetHistoryRequest')
300
+ DescribeFleetHistoryResult = Shapes::StructureShape.new(name: 'DescribeFleetHistoryResult')
301
+ DescribeFleetInstancesRequest = Shapes::StructureShape.new(name: 'DescribeFleetInstancesRequest')
302
+ DescribeFleetInstancesResult = Shapes::StructureShape.new(name: 'DescribeFleetInstancesResult')
303
+ DescribeFleetsRequest = Shapes::StructureShape.new(name: 'DescribeFleetsRequest')
304
+ DescribeFleetsResult = Shapes::StructureShape.new(name: 'DescribeFleetsResult')
288
305
  DescribeFlowLogsRequest = Shapes::StructureShape.new(name: 'DescribeFlowLogsRequest')
289
306
  DescribeFlowLogsResult = Shapes::StructureShape.new(name: 'DescribeFlowLogsResult')
290
307
  DescribeFpgaImageAttributeRequest = Shapes::StructureShape.new(name: 'DescribeFpgaImageAttributeRequest')
@@ -495,7 +512,24 @@ module Aws::EC2
495
512
  ExportToS3TaskSpecification = Shapes::StructureShape.new(name: 'ExportToS3TaskSpecification')
496
513
  Filter = Shapes::StructureShape.new(name: 'Filter')
497
514
  FilterList = Shapes::ListShape.new(name: 'FilterList')
515
+ FleetActivityStatus = Shapes::StringShape.new(name: 'FleetActivityStatus')
516
+ FleetData = Shapes::StructureShape.new(name: 'FleetData')
517
+ FleetEventType = Shapes::StringShape.new(name: 'FleetEventType')
518
+ FleetExcessCapacityTerminationPolicy = Shapes::StringShape.new(name: 'FleetExcessCapacityTerminationPolicy')
519
+ FleetIdSet = Shapes::ListShape.new(name: 'FleetIdSet')
520
+ FleetIdentifier = Shapes::StringShape.new(name: 'FleetIdentifier')
521
+ FleetLaunchTemplateConfig = Shapes::StructureShape.new(name: 'FleetLaunchTemplateConfig')
522
+ FleetLaunchTemplateConfigList = Shapes::ListShape.new(name: 'FleetLaunchTemplateConfigList')
523
+ FleetLaunchTemplateConfigListRequest = Shapes::ListShape.new(name: 'FleetLaunchTemplateConfigListRequest')
524
+ FleetLaunchTemplateConfigRequest = Shapes::StructureShape.new(name: 'FleetLaunchTemplateConfigRequest')
525
+ FleetLaunchTemplateOverrides = Shapes::StructureShape.new(name: 'FleetLaunchTemplateOverrides')
526
+ FleetLaunchTemplateOverridesList = Shapes::ListShape.new(name: 'FleetLaunchTemplateOverridesList')
527
+ FleetLaunchTemplateOverridesListRequest = Shapes::ListShape.new(name: 'FleetLaunchTemplateOverridesListRequest')
528
+ FleetLaunchTemplateOverridesRequest = Shapes::StructureShape.new(name: 'FleetLaunchTemplateOverridesRequest')
498
529
  FleetLaunchTemplateSpecification = Shapes::StructureShape.new(name: 'FleetLaunchTemplateSpecification')
530
+ FleetLaunchTemplateSpecificationRequest = Shapes::StructureShape.new(name: 'FleetLaunchTemplateSpecificationRequest')
531
+ FleetSet = Shapes::ListShape.new(name: 'FleetSet')
532
+ FleetStateCode = Shapes::StringShape.new(name: 'FleetStateCode')
499
533
  FleetType = Shapes::StringShape.new(name: 'FleetType')
500
534
  Float = Shapes::FloatShape.new(name: 'Float')
501
535
  FlowLog = Shapes::StructureShape.new(name: 'FlowLog')
@@ -528,6 +562,8 @@ module Aws::EC2
528
562
  GroupIds = Shapes::ListShape.new(name: 'GroupIds')
529
563
  GroupNameStringList = Shapes::ListShape.new(name: 'GroupNameStringList')
530
564
  HistoryRecord = Shapes::StructureShape.new(name: 'HistoryRecord')
565
+ HistoryRecordEntry = Shapes::StructureShape.new(name: 'HistoryRecordEntry')
566
+ HistoryRecordSet = Shapes::ListShape.new(name: 'HistoryRecordSet')
531
567
  HistoryRecords = Shapes::ListShape.new(name: 'HistoryRecords')
532
568
  Host = Shapes::StructureShape.new(name: 'Host')
533
569
  HostInstance = Shapes::StructureShape.new(name: 'HostInstance')
@@ -700,6 +736,8 @@ module Aws::EC2
700
736
  Long = Shapes::IntegerShape.new(name: 'Long')
701
737
  MarketType = Shapes::StringShape.new(name: 'MarketType')
702
738
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
739
+ ModifyFleetRequest = Shapes::StructureShape.new(name: 'ModifyFleetRequest')
740
+ ModifyFleetResult = Shapes::StructureShape.new(name: 'ModifyFleetResult')
703
741
  ModifyFpgaImageAttributeRequest = Shapes::StructureShape.new(name: 'ModifyFpgaImageAttributeRequest')
704
742
  ModifyFpgaImageAttributeResult = Shapes::StructureShape.new(name: 'ModifyFpgaImageAttributeResult')
705
743
  ModifyHostsRequest = Shapes::StructureShape.new(name: 'ModifyHostsRequest')
@@ -979,6 +1017,7 @@ module Aws::EC2
979
1017
  SnapshotList = Shapes::ListShape.new(name: 'SnapshotList')
980
1018
  SnapshotState = Shapes::StringShape.new(name: 'SnapshotState')
981
1019
  SnapshotTaskDetail = Shapes::StructureShape.new(name: 'SnapshotTaskDetail')
1020
+ SpotAllocationStrategy = Shapes::StringShape.new(name: 'SpotAllocationStrategy')
982
1021
  SpotDatafeedSubscription = Shapes::StructureShape.new(name: 'SpotDatafeedSubscription')
983
1022
  SpotFleetLaunchSpecification = Shapes::StructureShape.new(name: 'SpotFleetLaunchSpecification')
984
1023
  SpotFleetMonitoring = Shapes::StructureShape.new(name: 'SpotFleetMonitoring')
@@ -987,6 +1026,7 @@ module Aws::EC2
987
1026
  SpotFleetRequestConfigSet = Shapes::ListShape.new(name: 'SpotFleetRequestConfigSet')
988
1027
  SpotFleetTagSpecification = Shapes::StructureShape.new(name: 'SpotFleetTagSpecification')
989
1028
  SpotFleetTagSpecificationList = Shapes::ListShape.new(name: 'SpotFleetTagSpecificationList')
1029
+ SpotInstanceInterruptionBehavior = Shapes::StringShape.new(name: 'SpotInstanceInterruptionBehavior')
990
1030
  SpotInstanceRequest = Shapes::StructureShape.new(name: 'SpotInstanceRequest')
991
1031
  SpotInstanceRequestIdList = Shapes::ListShape.new(name: 'SpotInstanceRequestIdList')
992
1032
  SpotInstanceRequestList = Shapes::ListShape.new(name: 'SpotInstanceRequestList')
@@ -995,6 +1035,8 @@ module Aws::EC2
995
1035
  SpotInstanceStatus = Shapes::StructureShape.new(name: 'SpotInstanceStatus')
996
1036
  SpotInstanceType = Shapes::StringShape.new(name: 'SpotInstanceType')
997
1037
  SpotMarketOptions = Shapes::StructureShape.new(name: 'SpotMarketOptions')
1038
+ SpotOptions = Shapes::StructureShape.new(name: 'SpotOptions')
1039
+ SpotOptionsRequest = Shapes::StructureShape.new(name: 'SpotOptionsRequest')
998
1040
  SpotPlacement = Shapes::StructureShape.new(name: 'SpotPlacement')
999
1041
  SpotPrice = Shapes::StructureShape.new(name: 'SpotPrice')
1000
1042
  SpotPriceHistoryList = Shapes::ListShape.new(name: 'SpotPriceHistoryList')
@@ -1031,6 +1073,8 @@ module Aws::EC2
1031
1073
  TagList = Shapes::ListShape.new(name: 'TagList')
1032
1074
  TagSpecification = Shapes::StructureShape.new(name: 'TagSpecification')
1033
1075
  TagSpecificationList = Shapes::ListShape.new(name: 'TagSpecificationList')
1076
+ TargetCapacitySpecification = Shapes::StructureShape.new(name: 'TargetCapacitySpecification')
1077
+ TargetCapacitySpecificationRequest = Shapes::StructureShape.new(name: 'TargetCapacitySpecificationRequest')
1034
1078
  TargetConfiguration = Shapes::StructureShape.new(name: 'TargetConfiguration')
1035
1079
  TargetConfigurationRequest = Shapes::StructureShape.new(name: 'TargetConfigurationRequest')
1036
1080
  TargetConfigurationRequestSet = Shapes::ListShape.new(name: 'TargetConfigurationRequestSet')
@@ -1631,6 +1675,23 @@ module Aws::EC2
1631
1675
  CreateEgressOnlyInternetGatewayResult.add_member(:egress_only_internet_gateway, Shapes::ShapeRef.new(shape: EgressOnlyInternetGateway, location_name: "egressOnlyInternetGateway"))
1632
1676
  CreateEgressOnlyInternetGatewayResult.struct_class = Types::CreateEgressOnlyInternetGatewayResult
1633
1677
 
1678
+ CreateFleetRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
1679
+ CreateFleetRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken"))
1680
+ CreateFleetRequest.add_member(:spot_options, Shapes::ShapeRef.new(shape: SpotOptionsRequest, location_name: "SpotOptions"))
1681
+ CreateFleetRequest.add_member(:excess_capacity_termination_policy, Shapes::ShapeRef.new(shape: FleetExcessCapacityTerminationPolicy, location_name: "ExcessCapacityTerminationPolicy"))
1682
+ CreateFleetRequest.add_member(:launch_template_configs, Shapes::ShapeRef.new(shape: FleetLaunchTemplateConfigListRequest, required: true, location_name: "LaunchTemplateConfigs"))
1683
+ CreateFleetRequest.add_member(:target_capacity_specification, Shapes::ShapeRef.new(shape: TargetCapacitySpecificationRequest, required: true, location_name: "TargetCapacitySpecification"))
1684
+ CreateFleetRequest.add_member(:terminate_instances_with_expiration, Shapes::ShapeRef.new(shape: Boolean, location_name: "TerminateInstancesWithExpiration"))
1685
+ CreateFleetRequest.add_member(:type, Shapes::ShapeRef.new(shape: FleetType, location_name: "Type"))
1686
+ CreateFleetRequest.add_member(:valid_from, Shapes::ShapeRef.new(shape: DateTime, location_name: "ValidFrom"))
1687
+ CreateFleetRequest.add_member(:valid_until, Shapes::ShapeRef.new(shape: DateTime, location_name: "ValidUntil"))
1688
+ CreateFleetRequest.add_member(:replace_unhealthy_instances, Shapes::ShapeRef.new(shape: Boolean, location_name: "ReplaceUnhealthyInstances"))
1689
+ CreateFleetRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
1690
+ CreateFleetRequest.struct_class = Types::CreateFleetRequest
1691
+
1692
+ CreateFleetResult.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetIdentifier, location_name: "fleetId"))
1693
+ CreateFleetResult.struct_class = Types::CreateFleetResult
1694
+
1634
1695
  CreateFlowLogsRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken"))
1635
1696
  CreateFlowLogsRequest.add_member(:deliver_logs_permission_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DeliverLogsPermissionArn"))
1636
1697
  CreateFlowLogsRequest.add_member(:log_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "LogGroupName"))
@@ -1968,6 +2029,32 @@ module Aws::EC2
1968
2029
  DeleteEgressOnlyInternetGatewayResult.add_member(:return_code, Shapes::ShapeRef.new(shape: Boolean, location_name: "returnCode"))
1969
2030
  DeleteEgressOnlyInternetGatewayResult.struct_class = Types::DeleteEgressOnlyInternetGatewayResult
1970
2031
 
2032
+ DeleteFleetError.add_member(:code, Shapes::ShapeRef.new(shape: DeleteFleetErrorCode, location_name: "code"))
2033
+ DeleteFleetError.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
2034
+ DeleteFleetError.struct_class = Types::DeleteFleetError
2035
+
2036
+ DeleteFleetErrorItem.add_member(:error, Shapes::ShapeRef.new(shape: DeleteFleetError, location_name: "error"))
2037
+ DeleteFleetErrorItem.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetIdentifier, location_name: "fleetId"))
2038
+ DeleteFleetErrorItem.struct_class = Types::DeleteFleetErrorItem
2039
+
2040
+ DeleteFleetErrorSet.member = Shapes::ShapeRef.new(shape: DeleteFleetErrorItem, location_name: "item")
2041
+
2042
+ DeleteFleetSuccessItem.add_member(:current_fleet_state, Shapes::ShapeRef.new(shape: FleetStateCode, location_name: "currentFleetState"))
2043
+ DeleteFleetSuccessItem.add_member(:previous_fleet_state, Shapes::ShapeRef.new(shape: FleetStateCode, location_name: "previousFleetState"))
2044
+ DeleteFleetSuccessItem.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetIdentifier, location_name: "fleetId"))
2045
+ DeleteFleetSuccessItem.struct_class = Types::DeleteFleetSuccessItem
2046
+
2047
+ DeleteFleetSuccessSet.member = Shapes::ShapeRef.new(shape: DeleteFleetSuccessItem, location_name: "item")
2048
+
2049
+ DeleteFleetsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
2050
+ DeleteFleetsRequest.add_member(:fleet_ids, Shapes::ShapeRef.new(shape: FleetIdSet, required: true, location_name: "FleetId"))
2051
+ DeleteFleetsRequest.add_member(:terminate_instances, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "TerminateInstances"))
2052
+ DeleteFleetsRequest.struct_class = Types::DeleteFleetsRequest
2053
+
2054
+ DeleteFleetsResult.add_member(:successful_fleet_deletions, Shapes::ShapeRef.new(shape: DeleteFleetSuccessSet, location_name: "successfulFleetDeletionSet"))
2055
+ DeleteFleetsResult.add_member(:unsuccessful_fleet_deletions, Shapes::ShapeRef.new(shape: DeleteFleetErrorSet, location_name: "unsuccessfulFleetDeletionSet"))
2056
+ DeleteFleetsResult.struct_class = Types::DeleteFleetsResult
2057
+
1971
2058
  DeleteFlowLogsRequest.add_member(:flow_log_ids, Shapes::ShapeRef.new(shape: ValueStringList, required: true, location_name: "FlowLogId"))
1972
2059
  DeleteFlowLogsRequest.struct_class = Types::DeleteFlowLogsRequest
1973
2060
 
@@ -2240,6 +2327,44 @@ module Aws::EC2
2240
2327
  DescribeExportTasksResult.add_member(:export_tasks, Shapes::ShapeRef.new(shape: ExportTaskList, location_name: "exportTaskSet"))
2241
2328
  DescribeExportTasksResult.struct_class = Types::DescribeExportTasksResult
2242
2329
 
2330
+ DescribeFleetHistoryRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
2331
+ DescribeFleetHistoryRequest.add_member(:event_type, Shapes::ShapeRef.new(shape: FleetEventType, location_name: "EventType"))
2332
+ DescribeFleetHistoryRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxResults"))
2333
+ DescribeFleetHistoryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
2334
+ DescribeFleetHistoryRequest.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetIdentifier, required: true, location_name: "FleetId"))
2335
+ DescribeFleetHistoryRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTime, required: true, location_name: "StartTime"))
2336
+ DescribeFleetHistoryRequest.struct_class = Types::DescribeFleetHistoryRequest
2337
+
2338
+ DescribeFleetHistoryResult.add_member(:history_records, Shapes::ShapeRef.new(shape: HistoryRecordSet, location_name: "historyRecordSet"))
2339
+ DescribeFleetHistoryResult.add_member(:last_evaluated_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "lastEvaluatedTime"))
2340
+ DescribeFleetHistoryResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
2341
+ DescribeFleetHistoryResult.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetIdentifier, location_name: "fleetId"))
2342
+ DescribeFleetHistoryResult.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "startTime"))
2343
+ DescribeFleetHistoryResult.struct_class = Types::DescribeFleetHistoryResult
2344
+
2345
+ DescribeFleetInstancesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
2346
+ DescribeFleetInstancesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxResults"))
2347
+ DescribeFleetInstancesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
2348
+ DescribeFleetInstancesRequest.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetIdentifier, required: true, location_name: "FleetId"))
2349
+ DescribeFleetInstancesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
2350
+ DescribeFleetInstancesRequest.struct_class = Types::DescribeFleetInstancesRequest
2351
+
2352
+ DescribeFleetInstancesResult.add_member(:active_instances, Shapes::ShapeRef.new(shape: ActiveInstanceSet, location_name: "activeInstanceSet"))
2353
+ DescribeFleetInstancesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
2354
+ DescribeFleetInstancesResult.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetIdentifier, location_name: "fleetId"))
2355
+ DescribeFleetInstancesResult.struct_class = Types::DescribeFleetInstancesResult
2356
+
2357
+ DescribeFleetsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
2358
+ DescribeFleetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxResults"))
2359
+ DescribeFleetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
2360
+ DescribeFleetsRequest.add_member(:fleet_ids, Shapes::ShapeRef.new(shape: FleetIdSet, location_name: "FleetId"))
2361
+ DescribeFleetsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
2362
+ DescribeFleetsRequest.struct_class = Types::DescribeFleetsRequest
2363
+
2364
+ DescribeFleetsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
2365
+ DescribeFleetsResult.add_member(:fleets, Shapes::ShapeRef.new(shape: FleetSet, location_name: "fleetSet"))
2366
+ DescribeFleetsResult.struct_class = Types::DescribeFleetsResult
2367
+
2243
2368
  DescribeFlowLogsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
2244
2369
  DescribeFlowLogsRequest.add_member(:flow_log_ids, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "FlowLogId"))
2245
2370
  DescribeFlowLogsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxResults"))
@@ -3167,11 +3292,69 @@ module Aws::EC2
3167
3292
 
3168
3293
  FilterList.member = Shapes::ShapeRef.new(shape: Filter, location_name: "Filter")
3169
3294
 
3295
+ FleetData.add_member(:activity_status, Shapes::ShapeRef.new(shape: FleetActivityStatus, location_name: "activityStatus"))
3296
+ FleetData.add_member(:create_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "createTime"))
3297
+ FleetData.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetIdentifier, location_name: "fleetId"))
3298
+ FleetData.add_member(:fleet_state, Shapes::ShapeRef.new(shape: FleetStateCode, location_name: "fleetState"))
3299
+ FleetData.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
3300
+ FleetData.add_member(:excess_capacity_termination_policy, Shapes::ShapeRef.new(shape: FleetExcessCapacityTerminationPolicy, location_name: "excessCapacityTerminationPolicy"))
3301
+ FleetData.add_member(:fulfilled_capacity, Shapes::ShapeRef.new(shape: Double, location_name: "fulfilledCapacity"))
3302
+ FleetData.add_member(:fulfilled_on_demand_capacity, Shapes::ShapeRef.new(shape: Double, location_name: "fulfilledOnDemandCapacity"))
3303
+ FleetData.add_member(:launch_template_configs, Shapes::ShapeRef.new(shape: FleetLaunchTemplateConfigList, location_name: "launchTemplateConfigs"))
3304
+ FleetData.add_member(:target_capacity_specification, Shapes::ShapeRef.new(shape: TargetCapacitySpecification, location_name: "targetCapacitySpecification"))
3305
+ FleetData.add_member(:terminate_instances_with_expiration, Shapes::ShapeRef.new(shape: Boolean, location_name: "terminateInstancesWithExpiration"))
3306
+ FleetData.add_member(:type, Shapes::ShapeRef.new(shape: FleetType, location_name: "type"))
3307
+ FleetData.add_member(:valid_from, Shapes::ShapeRef.new(shape: DateTime, location_name: "validFrom"))
3308
+ FleetData.add_member(:valid_until, Shapes::ShapeRef.new(shape: DateTime, location_name: "validUntil"))
3309
+ FleetData.add_member(:replace_unhealthy_instances, Shapes::ShapeRef.new(shape: Boolean, location_name: "replaceUnhealthyInstances"))
3310
+ FleetData.add_member(:spot_options, Shapes::ShapeRef.new(shape: SpotOptions, location_name: "spotOptions"))
3311
+ FleetData.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
3312
+ FleetData.struct_class = Types::FleetData
3313
+
3314
+ FleetIdSet.member = Shapes::ShapeRef.new(shape: FleetIdentifier)
3315
+
3316
+ FleetLaunchTemplateConfig.add_member(:launch_template_specification, Shapes::ShapeRef.new(shape: FleetLaunchTemplateSpecification, location_name: "launchTemplateSpecification"))
3317
+ FleetLaunchTemplateConfig.add_member(:overrides, Shapes::ShapeRef.new(shape: FleetLaunchTemplateOverridesList, location_name: "overrides"))
3318
+ FleetLaunchTemplateConfig.struct_class = Types::FleetLaunchTemplateConfig
3319
+
3320
+ FleetLaunchTemplateConfigList.member = Shapes::ShapeRef.new(shape: FleetLaunchTemplateConfig, location_name: "item")
3321
+
3322
+ FleetLaunchTemplateConfigListRequest.member = Shapes::ShapeRef.new(shape: FleetLaunchTemplateConfigRequest, location_name: "item")
3323
+
3324
+ FleetLaunchTemplateConfigRequest.add_member(:launch_template_specification, Shapes::ShapeRef.new(shape: FleetLaunchTemplateSpecificationRequest, location_name: "LaunchTemplateSpecification"))
3325
+ FleetLaunchTemplateConfigRequest.add_member(:overrides, Shapes::ShapeRef.new(shape: FleetLaunchTemplateOverridesListRequest, location_name: "Overrides"))
3326
+ FleetLaunchTemplateConfigRequest.struct_class = Types::FleetLaunchTemplateConfigRequest
3327
+
3328
+ FleetLaunchTemplateOverrides.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, location_name: "instanceType"))
3329
+ FleetLaunchTemplateOverrides.add_member(:max_price, Shapes::ShapeRef.new(shape: String, location_name: "maxPrice"))
3330
+ FleetLaunchTemplateOverrides.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, location_name: "subnetId"))
3331
+ FleetLaunchTemplateOverrides.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
3332
+ FleetLaunchTemplateOverrides.add_member(:weighted_capacity, Shapes::ShapeRef.new(shape: Double, location_name: "weightedCapacity"))
3333
+ FleetLaunchTemplateOverrides.struct_class = Types::FleetLaunchTemplateOverrides
3334
+
3335
+ FleetLaunchTemplateOverridesList.member = Shapes::ShapeRef.new(shape: FleetLaunchTemplateOverrides, location_name: "item")
3336
+
3337
+ FleetLaunchTemplateOverridesListRequest.member = Shapes::ShapeRef.new(shape: FleetLaunchTemplateOverridesRequest, location_name: "item")
3338
+
3339
+ FleetLaunchTemplateOverridesRequest.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, location_name: "InstanceType"))
3340
+ FleetLaunchTemplateOverridesRequest.add_member(:max_price, Shapes::ShapeRef.new(shape: String, location_name: "MaxPrice"))
3341
+ FleetLaunchTemplateOverridesRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, location_name: "SubnetId"))
3342
+ FleetLaunchTemplateOverridesRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZone"))
3343
+ FleetLaunchTemplateOverridesRequest.add_member(:weighted_capacity, Shapes::ShapeRef.new(shape: Double, location_name: "WeightedCapacity"))
3344
+ FleetLaunchTemplateOverridesRequest.struct_class = Types::FleetLaunchTemplateOverridesRequest
3345
+
3170
3346
  FleetLaunchTemplateSpecification.add_member(:launch_template_id, Shapes::ShapeRef.new(shape: String, location_name: "launchTemplateId"))
3171
3347
  FleetLaunchTemplateSpecification.add_member(:launch_template_name, Shapes::ShapeRef.new(shape: LaunchTemplateName, location_name: "launchTemplateName"))
3172
3348
  FleetLaunchTemplateSpecification.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
3173
3349
  FleetLaunchTemplateSpecification.struct_class = Types::FleetLaunchTemplateSpecification
3174
3350
 
3351
+ FleetLaunchTemplateSpecificationRequest.add_member(:launch_template_id, Shapes::ShapeRef.new(shape: String, location_name: "LaunchTemplateId"))
3352
+ FleetLaunchTemplateSpecificationRequest.add_member(:launch_template_name, Shapes::ShapeRef.new(shape: LaunchTemplateName, location_name: "LaunchTemplateName"))
3353
+ FleetLaunchTemplateSpecificationRequest.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "Version"))
3354
+ FleetLaunchTemplateSpecificationRequest.struct_class = Types::FleetLaunchTemplateSpecificationRequest
3355
+
3356
+ FleetSet.member = Shapes::ShapeRef.new(shape: FleetData, location_name: "item")
3357
+
3175
3358
  FlowLog.add_member(:creation_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "creationTime"))
3176
3359
  FlowLog.add_member(:deliver_logs_error_message, Shapes::ShapeRef.new(shape: String, location_name: "deliverLogsErrorMessage"))
3177
3360
  FlowLog.add_member(:deliver_logs_permission_arn, Shapes::ShapeRef.new(shape: String, location_name: "deliverLogsPermissionArn"))
@@ -3295,6 +3478,13 @@ module Aws::EC2
3295
3478
  HistoryRecord.add_member(:timestamp, Shapes::ShapeRef.new(shape: DateTime, required: true, location_name: "timestamp"))
3296
3479
  HistoryRecord.struct_class = Types::HistoryRecord
3297
3480
 
3481
+ HistoryRecordEntry.add_member(:event_information, Shapes::ShapeRef.new(shape: EventInformation, location_name: "eventInformation"))
3482
+ HistoryRecordEntry.add_member(:event_type, Shapes::ShapeRef.new(shape: FleetEventType, location_name: "eventType"))
3483
+ HistoryRecordEntry.add_member(:timestamp, Shapes::ShapeRef.new(shape: DateTime, location_name: "timestamp"))
3484
+ HistoryRecordEntry.struct_class = Types::HistoryRecordEntry
3485
+
3486
+ HistoryRecordSet.member = Shapes::ShapeRef.new(shape: HistoryRecordEntry, location_name: "item")
3487
+
3298
3488
  HistoryRecords.member = Shapes::ShapeRef.new(shape: HistoryRecord, location_name: "item")
3299
3489
 
3300
3490
  Host.add_member(:auto_placement, Shapes::ShapeRef.new(shape: AutoPlacement, location_name: "autoPlacement"))
@@ -4064,6 +4254,15 @@ module Aws::EC2
4064
4254
  LoadPermissionRequest.add_member(:user_id, Shapes::ShapeRef.new(shape: String, location_name: "UserId"))
4065
4255
  LoadPermissionRequest.struct_class = Types::LoadPermissionRequest
4066
4256
 
4257
+ ModifyFleetRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
4258
+ ModifyFleetRequest.add_member(:excess_capacity_termination_policy, Shapes::ShapeRef.new(shape: FleetExcessCapacityTerminationPolicy, location_name: "ExcessCapacityTerminationPolicy"))
4259
+ ModifyFleetRequest.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetIdentifier, required: true, location_name: "FleetId"))
4260
+ ModifyFleetRequest.add_member(:target_capacity_specification, Shapes::ShapeRef.new(shape: TargetCapacitySpecificationRequest, required: true, location_name: "TargetCapacitySpecification"))
4261
+ ModifyFleetRequest.struct_class = Types::ModifyFleetRequest
4262
+
4263
+ ModifyFleetResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
4264
+ ModifyFleetResult.struct_class = Types::ModifyFleetResult
4265
+
4067
4266
  ModifyFpgaImageAttributeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
4068
4267
  ModifyFpgaImageAttributeRequest.add_member(:fpga_image_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "FpgaImageId"))
4069
4268
  ModifyFpgaImageAttributeRequest.add_member(:attribute, Shapes::ShapeRef.new(shape: FpgaImageAttributeName, location_name: "Attribute"))
@@ -5371,11 +5570,13 @@ module Aws::EC2
5371
5570
  SpotFleetRequestConfigData.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
5372
5571
  SpotFleetRequestConfigData.add_member(:excess_capacity_termination_policy, Shapes::ShapeRef.new(shape: ExcessCapacityTerminationPolicy, location_name: "excessCapacityTerminationPolicy"))
5373
5572
  SpotFleetRequestConfigData.add_member(:fulfilled_capacity, Shapes::ShapeRef.new(shape: Double, location_name: "fulfilledCapacity"))
5573
+ SpotFleetRequestConfigData.add_member(:on_demand_fulfilled_capacity, Shapes::ShapeRef.new(shape: Double, location_name: "onDemandFulfilledCapacity"))
5374
5574
  SpotFleetRequestConfigData.add_member(:iam_fleet_role, Shapes::ShapeRef.new(shape: String, required: true, location_name: "iamFleetRole"))
5375
5575
  SpotFleetRequestConfigData.add_member(:launch_specifications, Shapes::ShapeRef.new(shape: LaunchSpecsList, location_name: "launchSpecifications"))
5376
5576
  SpotFleetRequestConfigData.add_member(:launch_template_configs, Shapes::ShapeRef.new(shape: LaunchTemplateConfigList, location_name: "launchTemplateConfigs"))
5377
5577
  SpotFleetRequestConfigData.add_member(:spot_price, Shapes::ShapeRef.new(shape: String, location_name: "spotPrice"))
5378
5578
  SpotFleetRequestConfigData.add_member(:target_capacity, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "targetCapacity"))
5579
+ SpotFleetRequestConfigData.add_member(:on_demand_target_capacity, Shapes::ShapeRef.new(shape: Integer, location_name: "onDemandTargetCapacity"))
5379
5580
  SpotFleetRequestConfigData.add_member(:terminate_instances_with_expiration, Shapes::ShapeRef.new(shape: Boolean, location_name: "terminateInstancesWithExpiration"))
5380
5581
  SpotFleetRequestConfigData.add_member(:type, Shapes::ShapeRef.new(shape: FleetType, location_name: "type"))
5381
5582
  SpotFleetRequestConfigData.add_member(:valid_from, Shapes::ShapeRef.new(shape: DateTime, location_name: "validFrom"))
@@ -5434,6 +5635,14 @@ module Aws::EC2
5434
5635
  SpotMarketOptions.add_member(:instance_interruption_behavior, Shapes::ShapeRef.new(shape: InstanceInterruptionBehavior, location_name: "InstanceInterruptionBehavior"))
5435
5636
  SpotMarketOptions.struct_class = Types::SpotMarketOptions
5436
5637
 
5638
+ SpotOptions.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: SpotAllocationStrategy, location_name: "allocationStrategy"))
5639
+ SpotOptions.add_member(:instance_interruption_behavior, Shapes::ShapeRef.new(shape: SpotInstanceInterruptionBehavior, location_name: "instanceInterruptionBehavior"))
5640
+ SpotOptions.struct_class = Types::SpotOptions
5641
+
5642
+ SpotOptionsRequest.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: SpotAllocationStrategy, location_name: "AllocationStrategy"))
5643
+ SpotOptionsRequest.add_member(:instance_interruption_behavior, Shapes::ShapeRef.new(shape: SpotInstanceInterruptionBehavior, location_name: "InstanceInterruptionBehavior"))
5644
+ SpotOptionsRequest.struct_class = Types::SpotOptionsRequest
5645
+
5437
5646
  SpotPlacement.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
5438
5647
  SpotPlacement.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "groupName"))
5439
5648
  SpotPlacement.add_member(:tenancy, Shapes::ShapeRef.new(shape: Tenancy, location_name: "tenancy"))
@@ -5548,6 +5757,18 @@ module Aws::EC2
5548
5757
 
5549
5758
  TagSpecificationList.member = Shapes::ShapeRef.new(shape: TagSpecification, location_name: "item")
5550
5759
 
5760
+ TargetCapacitySpecification.add_member(:total_target_capacity, Shapes::ShapeRef.new(shape: Integer, location_name: "totalTargetCapacity"))
5761
+ TargetCapacitySpecification.add_member(:on_demand_target_capacity, Shapes::ShapeRef.new(shape: Integer, location_name: "onDemandTargetCapacity"))
5762
+ TargetCapacitySpecification.add_member(:spot_target_capacity, Shapes::ShapeRef.new(shape: Integer, location_name: "spotTargetCapacity"))
5763
+ TargetCapacitySpecification.add_member(:default_target_capacity_type, Shapes::ShapeRef.new(shape: DefaultTargetCapacityType, location_name: "defaultTargetCapacityType"))
5764
+ TargetCapacitySpecification.struct_class = Types::TargetCapacitySpecification
5765
+
5766
+ TargetCapacitySpecificationRequest.add_member(:total_target_capacity, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "TotalTargetCapacity"))
5767
+ TargetCapacitySpecificationRequest.add_member(:on_demand_target_capacity, Shapes::ShapeRef.new(shape: Integer, location_name: "OnDemandTargetCapacity"))
5768
+ TargetCapacitySpecificationRequest.add_member(:spot_target_capacity, Shapes::ShapeRef.new(shape: Integer, location_name: "SpotTargetCapacity"))
5769
+ TargetCapacitySpecificationRequest.add_member(:default_target_capacity_type, Shapes::ShapeRef.new(shape: DefaultTargetCapacityType, location_name: "DefaultTargetCapacityType"))
5770
+ TargetCapacitySpecificationRequest.struct_class = Types::TargetCapacitySpecificationRequest
5771
+
5551
5772
  TargetConfiguration.add_member(:instance_count, Shapes::ShapeRef.new(shape: Integer, location_name: "instanceCount"))
5552
5773
  TargetConfiguration.add_member(:offering_id, Shapes::ShapeRef.new(shape: String, location_name: "offeringId"))
5553
5774
  TargetConfiguration.struct_class = Types::TargetConfiguration
@@ -6226,6 +6447,14 @@ module Aws::EC2
6226
6447
  o.output = Shapes::ShapeRef.new(shape: CreateEgressOnlyInternetGatewayResult)
6227
6448
  end)
6228
6449
 
6450
+ api.add_operation(:create_fleet, Seahorse::Model::Operation.new.tap do |o|
6451
+ o.name = "CreateFleet"
6452
+ o.http_method = "POST"
6453
+ o.http_request_uri = "/"
6454
+ o.input = Shapes::ShapeRef.new(shape: CreateFleetRequest)
6455
+ o.output = Shapes::ShapeRef.new(shape: CreateFleetResult)
6456
+ end)
6457
+
6229
6458
  api.add_operation(:create_flow_logs, Seahorse::Model::Operation.new.tap do |o|
6230
6459
  o.name = "CreateFlowLogs"
6231
6460
  o.http_method = "POST"
@@ -6498,6 +6727,14 @@ module Aws::EC2
6498
6727
  o.output = Shapes::ShapeRef.new(shape: DeleteEgressOnlyInternetGatewayResult)
6499
6728
  end)
6500
6729
 
6730
+ api.add_operation(:delete_fleets, Seahorse::Model::Operation.new.tap do |o|
6731
+ o.name = "DeleteFleets"
6732
+ o.http_method = "POST"
6733
+ o.http_request_uri = "/"
6734
+ o.input = Shapes::ShapeRef.new(shape: DeleteFleetsRequest)
6735
+ o.output = Shapes::ShapeRef.new(shape: DeleteFleetsResult)
6736
+ end)
6737
+
6501
6738
  api.add_operation(:delete_flow_logs, Seahorse::Model::Operation.new.tap do |o|
6502
6739
  o.name = "DeleteFlowLogs"
6503
6740
  o.http_method = "POST"
@@ -6826,6 +7063,30 @@ module Aws::EC2
6826
7063
  o.output = Shapes::ShapeRef.new(shape: DescribeExportTasksResult)
6827
7064
  end)
6828
7065
 
7066
+ api.add_operation(:describe_fleet_history, Seahorse::Model::Operation.new.tap do |o|
7067
+ o.name = "DescribeFleetHistory"
7068
+ o.http_method = "POST"
7069
+ o.http_request_uri = "/"
7070
+ o.input = Shapes::ShapeRef.new(shape: DescribeFleetHistoryRequest)
7071
+ o.output = Shapes::ShapeRef.new(shape: DescribeFleetHistoryResult)
7072
+ end)
7073
+
7074
+ api.add_operation(:describe_fleet_instances, Seahorse::Model::Operation.new.tap do |o|
7075
+ o.name = "DescribeFleetInstances"
7076
+ o.http_method = "POST"
7077
+ o.http_request_uri = "/"
7078
+ o.input = Shapes::ShapeRef.new(shape: DescribeFleetInstancesRequest)
7079
+ o.output = Shapes::ShapeRef.new(shape: DescribeFleetInstancesResult)
7080
+ end)
7081
+
7082
+ api.add_operation(:describe_fleets, Seahorse::Model::Operation.new.tap do |o|
7083
+ o.name = "DescribeFleets"
7084
+ o.http_method = "POST"
7085
+ o.http_request_uri = "/"
7086
+ o.input = Shapes::ShapeRef.new(shape: DescribeFleetsRequest)
7087
+ o.output = Shapes::ShapeRef.new(shape: DescribeFleetsResult)
7088
+ end)
7089
+
6829
7090
  api.add_operation(:describe_flow_logs, Seahorse::Model::Operation.new.tap do |o|
6830
7091
  o.name = "DescribeFlowLogs"
6831
7092
  o.http_method = "POST"
@@ -7659,6 +7920,14 @@ module Aws::EC2
7659
7920
  o.output = Shapes::ShapeRef.new(shape: ImportVolumeResult)
7660
7921
  end)
7661
7922
 
7923
+ api.add_operation(:modify_fleet, Seahorse::Model::Operation.new.tap do |o|
7924
+ o.name = "ModifyFleet"
7925
+ o.http_method = "POST"
7926
+ o.http_request_uri = "/"
7927
+ o.input = Shapes::ShapeRef.new(shape: ModifyFleetRequest)
7928
+ o.output = Shapes::ShapeRef.new(shape: ModifyFleetResult)
7929
+ end)
7930
+
7662
7931
  api.add_operation(:modify_fpga_image_attribute, Seahorse::Model::Operation.new.tap do |o|
7663
7932
  o.name = "ModifyFpgaImageAttribute"
7664
7933
  o.http_method = "POST"
@@ -345,7 +345,8 @@ module Aws::EC2
345
345
  # @option options [Types::LaunchTemplateSpecification] :launch_template
346
346
  # The launch template to use to launch the instances. Any parameters
347
347
  # that you specify in RunInstances override the same parameters in the
348
- # launch template.
348
+ # launch template. You can specify either the name or ID of a launch
349
+ # template, but not both.
349
350
  # @option options [Types::InstanceMarketOptionsRequest] :instance_market_options
350
351
  # The market (purchasing) option for the instances.
351
352
  # @option options [Types::CreditSpecificationRequest] :credit_specification
@@ -521,7 +521,8 @@ module Aws::EC2
521
521
  # @option options [Types::LaunchTemplateSpecification] :launch_template
522
522
  # The launch template to use to launch the instances. Any parameters
523
523
  # that you specify in RunInstances override the same parameters in the
524
- # launch template.
524
+ # launch template. You can specify either the name or ID of a launch
525
+ # template, but not both.
525
526
  # @option options [Types::InstanceMarketOptionsRequest] :instance_market_options
526
527
  # The market (purchasing) option for the instances.
527
528
  # @option options [Types::CreditSpecificationRequest] :credit_specification