aws-sdk-ec2 1.536.0 → 1.542.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 +4 -4
- data/CHANGELOG.md +30 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +542 -267
- data/lib/aws-sdk-ec2/client_api.rb +123 -2
- data/lib/aws-sdk-ec2/image.rb +12 -0
- data/lib/aws-sdk-ec2/instance.rb +47 -4
- data/lib/aws-sdk-ec2/resource.rb +41 -43
- data/lib/aws-sdk-ec2/security_group.rb +2 -2
- data/lib/aws-sdk-ec2/snapshot.rb +1 -1
- data/lib/aws-sdk-ec2/subnet.rb +22 -28
- data/lib/aws-sdk-ec2/types.rb +554 -55
- data/lib/aws-sdk-ec2/volume.rb +1 -1
- data/lib/aws-sdk-ec2/vpc.rb +5 -5
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +165 -118
- data/sig/image.rbs +3 -0
- data/sig/instance.rbs +9 -2
- data/sig/resource.rbs +19 -18
- data/sig/security_group.rbs +2 -2
- data/sig/snapshot.rbs +1 -1
- data/sig/subnet.rbs +3 -3
- data/sig/tag.rbs +1 -1
- data/sig/types.rbs +127 -44
- data/sig/volume.rbs +1 -1
- data/sig/vpc.rbs +5 -5
- metadata +3 -3
@@ -304,13 +304,21 @@ module Aws::EC2
|
|
304
304
|
CancelledSpotInstanceRequestList = Shapes::ListShape.new(name: 'CancelledSpotInstanceRequestList')
|
305
305
|
CapacityAllocation = Shapes::StructureShape.new(name: 'CapacityAllocation')
|
306
306
|
CapacityAllocations = Shapes::ListShape.new(name: 'CapacityAllocations')
|
307
|
+
CapacityBlock = Shapes::StructureShape.new(name: 'CapacityBlock')
|
307
308
|
CapacityBlockExtension = Shapes::StructureShape.new(name: 'CapacityBlockExtension')
|
308
309
|
CapacityBlockExtensionOffering = Shapes::StructureShape.new(name: 'CapacityBlockExtensionOffering')
|
309
310
|
CapacityBlockExtensionOfferingSet = Shapes::ListShape.new(name: 'CapacityBlockExtensionOfferingSet')
|
310
311
|
CapacityBlockExtensionSet = Shapes::ListShape.new(name: 'CapacityBlockExtensionSet')
|
311
312
|
CapacityBlockExtensionStatus = Shapes::StringShape.new(name: 'CapacityBlockExtensionStatus')
|
313
|
+
CapacityBlockId = Shapes::StringShape.new(name: 'CapacityBlockId')
|
314
|
+
CapacityBlockIds = Shapes::ListShape.new(name: 'CapacityBlockIds')
|
315
|
+
CapacityBlockInterconnectStatus = Shapes::StringShape.new(name: 'CapacityBlockInterconnectStatus')
|
312
316
|
CapacityBlockOffering = Shapes::StructureShape.new(name: 'CapacityBlockOffering')
|
313
317
|
CapacityBlockOfferingSet = Shapes::ListShape.new(name: 'CapacityBlockOfferingSet')
|
318
|
+
CapacityBlockResourceState = Shapes::StringShape.new(name: 'CapacityBlockResourceState')
|
319
|
+
CapacityBlockSet = Shapes::ListShape.new(name: 'CapacityBlockSet')
|
320
|
+
CapacityBlockStatus = Shapes::StructureShape.new(name: 'CapacityBlockStatus')
|
321
|
+
CapacityBlockStatusSet = Shapes::ListShape.new(name: 'CapacityBlockStatusSet')
|
314
322
|
CapacityReservation = Shapes::StructureShape.new(name: 'CapacityReservation')
|
315
323
|
CapacityReservationBillingRequest = Shapes::StructureShape.new(name: 'CapacityReservationBillingRequest')
|
316
324
|
CapacityReservationBillingRequestSet = Shapes::ListShape.new(name: 'CapacityReservationBillingRequestSet')
|
@@ -338,6 +346,8 @@ module Aws::EC2
|
|
338
346
|
CapacityReservationSpecification = Shapes::StructureShape.new(name: 'CapacityReservationSpecification')
|
339
347
|
CapacityReservationSpecificationResponse = Shapes::StructureShape.new(name: 'CapacityReservationSpecificationResponse')
|
340
348
|
CapacityReservationState = Shapes::StringShape.new(name: 'CapacityReservationState')
|
349
|
+
CapacityReservationStatus = Shapes::StructureShape.new(name: 'CapacityReservationStatus')
|
350
|
+
CapacityReservationStatusSet = Shapes::ListShape.new(name: 'CapacityReservationStatusSet')
|
341
351
|
CapacityReservationTarget = Shapes::StructureShape.new(name: 'CapacityReservationTarget')
|
342
352
|
CapacityReservationTargetResponse = Shapes::StructureShape.new(name: 'CapacityReservationTargetResponse')
|
343
353
|
CapacityReservationTenancy = Shapes::StringShape.new(name: 'CapacityReservationTenancy')
|
@@ -883,6 +893,12 @@ module Aws::EC2
|
|
883
893
|
DescribeCapacityBlockOfferingsMaxResults = Shapes::IntegerShape.new(name: 'DescribeCapacityBlockOfferingsMaxResults')
|
884
894
|
DescribeCapacityBlockOfferingsRequest = Shapes::StructureShape.new(name: 'DescribeCapacityBlockOfferingsRequest')
|
885
895
|
DescribeCapacityBlockOfferingsResult = Shapes::StructureShape.new(name: 'DescribeCapacityBlockOfferingsResult')
|
896
|
+
DescribeCapacityBlockStatusMaxResults = Shapes::IntegerShape.new(name: 'DescribeCapacityBlockStatusMaxResults')
|
897
|
+
DescribeCapacityBlockStatusRequest = Shapes::StructureShape.new(name: 'DescribeCapacityBlockStatusRequest')
|
898
|
+
DescribeCapacityBlockStatusResult = Shapes::StructureShape.new(name: 'DescribeCapacityBlockStatusResult')
|
899
|
+
DescribeCapacityBlocksMaxResults = Shapes::IntegerShape.new(name: 'DescribeCapacityBlocksMaxResults')
|
900
|
+
DescribeCapacityBlocksRequest = Shapes::StructureShape.new(name: 'DescribeCapacityBlocksRequest')
|
901
|
+
DescribeCapacityBlocksResult = Shapes::StructureShape.new(name: 'DescribeCapacityBlocksResult')
|
886
902
|
DescribeCapacityReservationBillingRequestsRequest = Shapes::StructureShape.new(name: 'DescribeCapacityReservationBillingRequestsRequest')
|
887
903
|
DescribeCapacityReservationBillingRequestsRequestMaxResults = Shapes::IntegerShape.new(name: 'DescribeCapacityReservationBillingRequestsRequestMaxResults')
|
888
904
|
DescribeCapacityReservationBillingRequestsResult = Shapes::StructureShape.new(name: 'DescribeCapacityReservationBillingRequestsResult')
|
@@ -1840,6 +1856,8 @@ module Aws::EC2
|
|
1840
1856
|
InferenceDeviceMemoryInfo = Shapes::StructureShape.new(name: 'InferenceDeviceMemoryInfo')
|
1841
1857
|
InferenceDeviceMemorySize = Shapes::IntegerShape.new(name: 'InferenceDeviceMemorySize')
|
1842
1858
|
InferenceDeviceName = Shapes::StringShape.new(name: 'InferenceDeviceName')
|
1859
|
+
InitializationStatusDetails = Shapes::StructureShape.new(name: 'InitializationStatusDetails')
|
1860
|
+
InitializationType = Shapes::StringShape.new(name: 'InitializationType')
|
1843
1861
|
InsideCidrBlocksStringList = Shapes::ListShape.new(name: 'InsideCidrBlocksStringList')
|
1844
1862
|
Instance = Shapes::StructureShape.new(name: 'Instance')
|
1845
1863
|
InstanceAttachmentEnaSrdSpecification = Shapes::StructureShape.new(name: 'InstanceAttachmentEnaSrdSpecification')
|
@@ -4548,6 +4566,18 @@ module Aws::EC2
|
|
4548
4566
|
|
4549
4567
|
CapacityAllocations.member = Shapes::ShapeRef.new(shape: CapacityAllocation, location_name: "item")
|
4550
4568
|
|
4569
|
+
CapacityBlock.add_member(:capacity_block_id, Shapes::ShapeRef.new(shape: CapacityBlockId, location_name: "capacityBlockId"))
|
4570
|
+
CapacityBlock.add_member(:ultraserver_type, Shapes::ShapeRef.new(shape: String, location_name: "ultraserverType"))
|
4571
|
+
CapacityBlock.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
|
4572
|
+
CapacityBlock.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZoneId"))
|
4573
|
+
CapacityBlock.add_member(:capacity_reservation_ids, Shapes::ShapeRef.new(shape: CapacityReservationIdSet, location_name: "capacityReservationIdSet"))
|
4574
|
+
CapacityBlock.add_member(:start_date, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "startDate"))
|
4575
|
+
CapacityBlock.add_member(:end_date, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "endDate"))
|
4576
|
+
CapacityBlock.add_member(:create_date, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "createDate"))
|
4577
|
+
CapacityBlock.add_member(:state, Shapes::ShapeRef.new(shape: CapacityBlockResourceState, location_name: "state"))
|
4578
|
+
CapacityBlock.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
4579
|
+
CapacityBlock.struct_class = Types::CapacityBlock
|
4580
|
+
|
4551
4581
|
CapacityBlockExtension.add_member(:capacity_reservation_id, Shapes::ShapeRef.new(shape: CapacityReservationId, location_name: "capacityReservationId"))
|
4552
4582
|
CapacityBlockExtension.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "instanceType"))
|
4553
4583
|
CapacityBlockExtension.add_member(:instance_count, Shapes::ShapeRef.new(shape: Integer, location_name: "instanceCount"))
|
@@ -4581,6 +4611,8 @@ module Aws::EC2
|
|
4581
4611
|
|
4582
4612
|
CapacityBlockExtensionSet.member = Shapes::ShapeRef.new(shape: CapacityBlockExtension, location_name: "item")
|
4583
4613
|
|
4614
|
+
CapacityBlockIds.member = Shapes::ShapeRef.new(shape: CapacityBlockId, location_name: "item")
|
4615
|
+
|
4584
4616
|
CapacityBlockOffering.add_member(:capacity_block_offering_id, Shapes::ShapeRef.new(shape: OfferingId, location_name: "capacityBlockOfferingId"))
|
4585
4617
|
CapacityBlockOffering.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "instanceType"))
|
4586
4618
|
CapacityBlockOffering.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
|
@@ -4591,11 +4623,25 @@ module Aws::EC2
|
|
4591
4623
|
CapacityBlockOffering.add_member(:upfront_fee, Shapes::ShapeRef.new(shape: String, location_name: "upfrontFee"))
|
4592
4624
|
CapacityBlockOffering.add_member(:currency_code, Shapes::ShapeRef.new(shape: String, location_name: "currencyCode"))
|
4593
4625
|
CapacityBlockOffering.add_member(:tenancy, Shapes::ShapeRef.new(shape: CapacityReservationTenancy, location_name: "tenancy"))
|
4626
|
+
CapacityBlockOffering.add_member(:ultraserver_type, Shapes::ShapeRef.new(shape: String, location_name: "ultraserverType"))
|
4627
|
+
CapacityBlockOffering.add_member(:ultraserver_count, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "ultraserverCount"))
|
4594
4628
|
CapacityBlockOffering.add_member(:capacity_block_duration_minutes, Shapes::ShapeRef.new(shape: Integer, location_name: "capacityBlockDurationMinutes"))
|
4595
4629
|
CapacityBlockOffering.struct_class = Types::CapacityBlockOffering
|
4596
4630
|
|
4597
4631
|
CapacityBlockOfferingSet.member = Shapes::ShapeRef.new(shape: CapacityBlockOffering, location_name: "item")
|
4598
4632
|
|
4633
|
+
CapacityBlockSet.member = Shapes::ShapeRef.new(shape: CapacityBlock, location_name: "item")
|
4634
|
+
|
4635
|
+
CapacityBlockStatus.add_member(:capacity_block_id, Shapes::ShapeRef.new(shape: CapacityBlockId, location_name: "capacityBlockId"))
|
4636
|
+
CapacityBlockStatus.add_member(:interconnect_status, Shapes::ShapeRef.new(shape: CapacityBlockInterconnectStatus, location_name: "interconnectStatus"))
|
4637
|
+
CapacityBlockStatus.add_member(:total_capacity, Shapes::ShapeRef.new(shape: Integer, location_name: "totalCapacity"))
|
4638
|
+
CapacityBlockStatus.add_member(:total_available_capacity, Shapes::ShapeRef.new(shape: Integer, location_name: "totalAvailableCapacity"))
|
4639
|
+
CapacityBlockStatus.add_member(:total_unavailable_capacity, Shapes::ShapeRef.new(shape: Integer, location_name: "totalUnavailableCapacity"))
|
4640
|
+
CapacityBlockStatus.add_member(:capacity_reservation_statuses, Shapes::ShapeRef.new(shape: CapacityReservationStatusSet, location_name: "capacityReservationStatusSet"))
|
4641
|
+
CapacityBlockStatus.struct_class = Types::CapacityBlockStatus
|
4642
|
+
|
4643
|
+
CapacityBlockStatusSet.member = Shapes::ShapeRef.new(shape: CapacityBlockStatus, location_name: "item")
|
4644
|
+
|
4599
4645
|
CapacityReservation.add_member(:capacity_reservation_id, Shapes::ShapeRef.new(shape: String, location_name: "capacityReservationId"))
|
4600
4646
|
CapacityReservation.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
|
4601
4647
|
CapacityReservation.add_member(:capacity_reservation_arn, Shapes::ShapeRef.new(shape: String, location_name: "capacityReservationArn"))
|
@@ -4623,6 +4669,7 @@ module Aws::EC2
|
|
4623
4669
|
CapacityReservation.add_member(:unused_reservation_billing_owner_id, Shapes::ShapeRef.new(shape: AccountID, location_name: "unusedReservationBillingOwnerId"))
|
4624
4670
|
CapacityReservation.add_member(:commitment_info, Shapes::ShapeRef.new(shape: CapacityReservationCommitmentInfo, location_name: "commitmentInfo"))
|
4625
4671
|
CapacityReservation.add_member(:delivery_preference, Shapes::ShapeRef.new(shape: CapacityReservationDeliveryPreference, location_name: "deliveryPreference"))
|
4672
|
+
CapacityReservation.add_member(:capacity_block_id, Shapes::ShapeRef.new(shape: CapacityBlockId, location_name: "capacityBlockId"))
|
4626
4673
|
CapacityReservation.struct_class = Types::CapacityReservation
|
4627
4674
|
|
4628
4675
|
CapacityReservationBillingRequest.add_member(:capacity_reservation_id, Shapes::ShapeRef.new(shape: String, location_name: "capacityReservationId"))
|
@@ -4695,6 +4742,14 @@ module Aws::EC2
|
|
4695
4742
|
CapacityReservationSpecificationResponse.add_member(:capacity_reservation_target, Shapes::ShapeRef.new(shape: CapacityReservationTargetResponse, location_name: "capacityReservationTarget"))
|
4696
4743
|
CapacityReservationSpecificationResponse.struct_class = Types::CapacityReservationSpecificationResponse
|
4697
4744
|
|
4745
|
+
CapacityReservationStatus.add_member(:capacity_reservation_id, Shapes::ShapeRef.new(shape: CapacityReservationId, location_name: "capacityReservationId"))
|
4746
|
+
CapacityReservationStatus.add_member(:total_capacity, Shapes::ShapeRef.new(shape: Integer, location_name: "totalCapacity"))
|
4747
|
+
CapacityReservationStatus.add_member(:total_available_capacity, Shapes::ShapeRef.new(shape: Integer, location_name: "totalAvailableCapacity"))
|
4748
|
+
CapacityReservationStatus.add_member(:total_unavailable_capacity, Shapes::ShapeRef.new(shape: Integer, location_name: "totalUnavailableCapacity"))
|
4749
|
+
CapacityReservationStatus.struct_class = Types::CapacityReservationStatus
|
4750
|
+
|
4751
|
+
CapacityReservationStatusSet.member = Shapes::ShapeRef.new(shape: CapacityReservationStatus, location_name: "item")
|
4752
|
+
|
4698
4753
|
CapacityReservationTarget.add_member(:capacity_reservation_id, Shapes::ShapeRef.new(shape: CapacityReservationId, location_name: "CapacityReservationId"))
|
4699
4754
|
CapacityReservationTarget.add_member(:capacity_reservation_resource_group_arn, Shapes::ShapeRef.new(shape: String, location_name: "CapacityReservationResourceGroupArn"))
|
4700
4755
|
CapacityReservationTarget.struct_class = Types::CapacityReservationTarget
|
@@ -5313,6 +5368,7 @@ module Aws::EC2
|
|
5313
5368
|
CreateInstanceConnectEndpointRequest.add_member(:preserve_client_ip, Shapes::ShapeRef.new(shape: Boolean, location_name: "PreserveClientIp"))
|
5314
5369
|
CreateInstanceConnectEndpointRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
|
5315
5370
|
CreateInstanceConnectEndpointRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
5371
|
+
CreateInstanceConnectEndpointRequest.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "IpAddressType"))
|
5316
5372
|
CreateInstanceConnectEndpointRequest.struct_class = Types::CreateInstanceConnectEndpointRequest
|
5317
5373
|
|
5318
5374
|
CreateInstanceConnectEndpointResult.add_member(:instance_connect_endpoint, Shapes::ShapeRef.new(shape: Ec2InstanceConnectEndpoint, location_name: "instanceConnectEndpoint"))
|
@@ -7101,12 +7157,36 @@ module Aws::EC2
|
|
7101
7157
|
DescribeCapacityBlockOfferingsRequest.add_member(:capacity_duration_hours, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "CapacityDurationHours"))
|
7102
7158
|
DescribeCapacityBlockOfferingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
7103
7159
|
DescribeCapacityBlockOfferingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DescribeCapacityBlockOfferingsMaxResults, location_name: "MaxResults"))
|
7160
|
+
DescribeCapacityBlockOfferingsRequest.add_member(:ultraserver_type, Shapes::ShapeRef.new(shape: String, location_name: "UltraserverType"))
|
7161
|
+
DescribeCapacityBlockOfferingsRequest.add_member(:ultraserver_count, Shapes::ShapeRef.new(shape: Integer, location_name: "UltraserverCount"))
|
7104
7162
|
DescribeCapacityBlockOfferingsRequest.struct_class = Types::DescribeCapacityBlockOfferingsRequest
|
7105
7163
|
|
7106
7164
|
DescribeCapacityBlockOfferingsResult.add_member(:capacity_block_offerings, Shapes::ShapeRef.new(shape: CapacityBlockOfferingSet, location_name: "capacityBlockOfferingSet"))
|
7107
7165
|
DescribeCapacityBlockOfferingsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
7108
7166
|
DescribeCapacityBlockOfferingsResult.struct_class = Types::DescribeCapacityBlockOfferingsResult
|
7109
7167
|
|
7168
|
+
DescribeCapacityBlockStatusRequest.add_member(:capacity_block_ids, Shapes::ShapeRef.new(shape: CapacityBlockIds, location_name: "CapacityBlockId"))
|
7169
|
+
DescribeCapacityBlockStatusRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
7170
|
+
DescribeCapacityBlockStatusRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DescribeCapacityBlockStatusMaxResults, location_name: "MaxResults"))
|
7171
|
+
DescribeCapacityBlockStatusRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
|
7172
|
+
DescribeCapacityBlockStatusRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
7173
|
+
DescribeCapacityBlockStatusRequest.struct_class = Types::DescribeCapacityBlockStatusRequest
|
7174
|
+
|
7175
|
+
DescribeCapacityBlockStatusResult.add_member(:capacity_block_statuses, Shapes::ShapeRef.new(shape: CapacityBlockStatusSet, location_name: "capacityBlockStatusSet"))
|
7176
|
+
DescribeCapacityBlockStatusResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
7177
|
+
DescribeCapacityBlockStatusResult.struct_class = Types::DescribeCapacityBlockStatusResult
|
7178
|
+
|
7179
|
+
DescribeCapacityBlocksRequest.add_member(:capacity_block_ids, Shapes::ShapeRef.new(shape: CapacityBlockIds, location_name: "CapacityBlockId"))
|
7180
|
+
DescribeCapacityBlocksRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
7181
|
+
DescribeCapacityBlocksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DescribeCapacityBlocksMaxResults, location_name: "MaxResults"))
|
7182
|
+
DescribeCapacityBlocksRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
|
7183
|
+
DescribeCapacityBlocksRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
7184
|
+
DescribeCapacityBlocksRequest.struct_class = Types::DescribeCapacityBlocksRequest
|
7185
|
+
|
7186
|
+
DescribeCapacityBlocksResult.add_member(:capacity_blocks, Shapes::ShapeRef.new(shape: CapacityBlockSet, location_name: "capacityBlockSet"))
|
7187
|
+
DescribeCapacityBlocksResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
7188
|
+
DescribeCapacityBlocksResult.struct_class = Types::DescribeCapacityBlocksResult
|
7189
|
+
|
7110
7190
|
DescribeCapacityReservationBillingRequestsRequest.add_member(:capacity_reservation_ids, Shapes::ShapeRef.new(shape: CapacityReservationIdSet, location_name: "CapacityReservationId"))
|
7111
7191
|
DescribeCapacityReservationBillingRequestsRequest.add_member(:role, Shapes::ShapeRef.new(shape: CallerRole, required: true, location_name: "Role"))
|
7112
7192
|
DescribeCapacityReservationBillingRequestsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
@@ -9338,6 +9418,7 @@ module Aws::EC2
|
|
9338
9418
|
Ec2InstanceConnectEndpoint.add_member(:preserve_client_ip, Shapes::ShapeRef.new(shape: Boolean, location_name: "preserveClientIp"))
|
9339
9419
|
Ec2InstanceConnectEndpoint.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIdSet, location_name: "securityGroupIdSet"))
|
9340
9420
|
Ec2InstanceConnectEndpoint.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
9421
|
+
Ec2InstanceConnectEndpoint.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "ipAddressType"))
|
9341
9422
|
Ec2InstanceConnectEndpoint.struct_class = Types::Ec2InstanceConnectEndpoint
|
9342
9423
|
|
9343
9424
|
EfaInfo.add_member(:maximum_efa_interfaces, Shapes::ShapeRef.new(shape: MaximumEfaInterfaces, location_name: "maximumEfaInterfaces"))
|
@@ -9926,7 +10007,7 @@ module Aws::EC2
|
|
9926
10007
|
FleetLaunchTemplateOverrides.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, location_name: "instanceType"))
|
9927
10008
|
FleetLaunchTemplateOverrides.add_member(:max_price, Shapes::ShapeRef.new(shape: String, location_name: "maxPrice"))
|
9928
10009
|
FleetLaunchTemplateOverrides.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, location_name: "subnetId"))
|
9929
|
-
FleetLaunchTemplateOverrides.add_member(:availability_zone, Shapes::ShapeRef.new(shape:
|
10010
|
+
FleetLaunchTemplateOverrides.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZoneName, location_name: "availabilityZone"))
|
9930
10011
|
FleetLaunchTemplateOverrides.add_member(:weighted_capacity, Shapes::ShapeRef.new(shape: Double, location_name: "weightedCapacity"))
|
9931
10012
|
FleetLaunchTemplateOverrides.add_member(:priority, Shapes::ShapeRef.new(shape: Double, location_name: "priority"))
|
9932
10013
|
FleetLaunchTemplateOverrides.add_member(:placement, Shapes::ShapeRef.new(shape: PlacementResponse, location_name: "placement"))
|
@@ -9942,7 +10023,7 @@ module Aws::EC2
|
|
9942
10023
|
FleetLaunchTemplateOverridesRequest.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, location_name: "InstanceType"))
|
9943
10024
|
FleetLaunchTemplateOverridesRequest.add_member(:max_price, Shapes::ShapeRef.new(shape: String, location_name: "MaxPrice"))
|
9944
10025
|
FleetLaunchTemplateOverridesRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, location_name: "SubnetId"))
|
9945
|
-
FleetLaunchTemplateOverridesRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape:
|
10026
|
+
FleetLaunchTemplateOverridesRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZoneName, location_name: "AvailabilityZone"))
|
9946
10027
|
FleetLaunchTemplateOverridesRequest.add_member(:weighted_capacity, Shapes::ShapeRef.new(shape: Double, location_name: "WeightedCapacity"))
|
9947
10028
|
FleetLaunchTemplateOverridesRequest.add_member(:priority, Shapes::ShapeRef.new(shape: Double, location_name: "Priority"))
|
9948
10029
|
FleetLaunchTemplateOverridesRequest.add_member(:placement, Shapes::ShapeRef.new(shape: Placement, location_name: "Placement"))
|
@@ -10806,6 +10887,7 @@ module Aws::EC2
|
|
10806
10887
|
Image.add_member(:image_allowed, Shapes::ShapeRef.new(shape: Boolean, location_name: "imageAllowed"))
|
10807
10888
|
Image.add_member(:source_image_id, Shapes::ShapeRef.new(shape: String, location_name: "sourceImageId"))
|
10808
10889
|
Image.add_member(:source_image_region, Shapes::ShapeRef.new(shape: String, location_name: "sourceImageRegion"))
|
10890
|
+
Image.add_member(:free_tier_eligible, Shapes::ShapeRef.new(shape: Boolean, location_name: "freeTierEligible"))
|
10809
10891
|
Image.add_member(:image_id, Shapes::ShapeRef.new(shape: String, location_name: "imageId"))
|
10810
10892
|
Image.add_member(:image_location, Shapes::ShapeRef.new(shape: String, location_name: "imageLocation"))
|
10811
10893
|
Image.add_member(:state, Shapes::ShapeRef.new(shape: ImageState, location_name: "imageState"))
|
@@ -11074,6 +11156,11 @@ module Aws::EC2
|
|
11074
11156
|
InferenceDeviceMemoryInfo.add_member(:size_in_mi_b, Shapes::ShapeRef.new(shape: InferenceDeviceMemorySize, location_name: "sizeInMiB"))
|
11075
11157
|
InferenceDeviceMemoryInfo.struct_class = Types::InferenceDeviceMemoryInfo
|
11076
11158
|
|
11159
|
+
InitializationStatusDetails.add_member(:initialization_type, Shapes::ShapeRef.new(shape: InitializationType, location_name: "initializationType"))
|
11160
|
+
InitializationStatusDetails.add_member(:progress, Shapes::ShapeRef.new(shape: Long, location_name: "progress"))
|
11161
|
+
InitializationStatusDetails.add_member(:estimated_time_to_complete_in_seconds, Shapes::ShapeRef.new(shape: Long, location_name: "estimatedTimeToCompleteInSeconds"))
|
11162
|
+
InitializationStatusDetails.struct_class = Types::InitializationStatusDetails
|
11163
|
+
|
11077
11164
|
InsideCidrBlocksStringList.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
|
11078
11165
|
|
11079
11166
|
Instance.add_member(:architecture, Shapes::ShapeRef.new(shape: ArchitectureValues, location_name: "architecture"))
|
@@ -11098,6 +11185,7 @@ module Aws::EC2
|
|
11098
11185
|
Instance.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
11099
11186
|
Instance.add_member(:virtualization_type, Shapes::ShapeRef.new(shape: VirtualizationType, location_name: "virtualizationType"))
|
11100
11187
|
Instance.add_member(:cpu_options, Shapes::ShapeRef.new(shape: CpuOptions, location_name: "cpuOptions"))
|
11188
|
+
Instance.add_member(:capacity_block_id, Shapes::ShapeRef.new(shape: String, location_name: "capacityBlockId"))
|
11101
11189
|
Instance.add_member(:capacity_reservation_id, Shapes::ShapeRef.new(shape: String, location_name: "capacityReservationId"))
|
11102
11190
|
Instance.add_member(:capacity_reservation_specification, Shapes::ShapeRef.new(shape: CapacityReservationSpecificationResponse, location_name: "capacityReservationSpecification"))
|
11103
11191
|
Instance.add_member(:hibernation_options, Shapes::ShapeRef.new(shape: HibernationOptions, location_name: "hibernationOptions"))
|
@@ -11556,6 +11644,7 @@ module Aws::EC2
|
|
11556
11644
|
InstanceTopology.add_member(:network_nodes, Shapes::ShapeRef.new(shape: NetworkNodesList, location_name: "networkNodeSet"))
|
11557
11645
|
InstanceTopology.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
|
11558
11646
|
InstanceTopology.add_member(:zone_id, Shapes::ShapeRef.new(shape: String, location_name: "zoneId"))
|
11647
|
+
InstanceTopology.add_member(:capacity_block_id, Shapes::ShapeRef.new(shape: String, location_name: "capacityBlockId"))
|
11559
11648
|
InstanceTopology.struct_class = Types::InstanceTopology
|
11560
11649
|
|
11561
11650
|
InstanceTypeInfo.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, location_name: "instanceType"))
|
@@ -14358,6 +14447,7 @@ module Aws::EC2
|
|
14358
14447
|
PurchaseCapacityBlockRequest.struct_class = Types::PurchaseCapacityBlockRequest
|
14359
14448
|
|
14360
14449
|
PurchaseCapacityBlockResult.add_member(:capacity_reservation, Shapes::ShapeRef.new(shape: CapacityReservation, location_name: "capacityReservation"))
|
14450
|
+
PurchaseCapacityBlockResult.add_member(:capacity_blocks, Shapes::ShapeRef.new(shape: CapacityBlockSet, location_name: "capacityBlockSet"))
|
14361
14451
|
PurchaseCapacityBlockResult.struct_class = Types::PurchaseCapacityBlockResult
|
14362
14452
|
|
14363
14453
|
PurchaseHostReservationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken"))
|
@@ -16026,6 +16116,7 @@ module Aws::EC2
|
|
16026
16116
|
|
16027
16117
|
StopInstancesRequest.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIdStringList, required: true, location_name: "InstanceId"))
|
16028
16118
|
StopInstancesRequest.add_member(:hibernate, Shapes::ShapeRef.new(shape: Boolean, location_name: "Hibernate"))
|
16119
|
+
StopInstancesRequest.add_member(:skip_os_shutdown, Shapes::ShapeRef.new(shape: Boolean, location_name: "SkipOsShutdown"))
|
16029
16120
|
StopInstancesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
16030
16121
|
StopInstancesRequest.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location_name: "force"))
|
16031
16122
|
StopInstancesRequest.struct_class = Types::StopInstancesRequest
|
@@ -16243,6 +16334,7 @@ module Aws::EC2
|
|
16243
16334
|
TerminateConnectionStatusSet.member = Shapes::ShapeRef.new(shape: TerminateConnectionStatus, location_name: "item")
|
16244
16335
|
|
16245
16336
|
TerminateInstancesRequest.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIdStringList, required: true, location_name: "InstanceId"))
|
16337
|
+
TerminateInstancesRequest.add_member(:skip_os_shutdown, Shapes::ShapeRef.new(shape: Boolean, location_name: "SkipOsShutdown"))
|
16246
16338
|
TerminateInstancesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
16247
16339
|
TerminateInstancesRequest.struct_class = Types::TerminateInstancesRequest
|
16248
16340
|
|
@@ -17220,6 +17312,7 @@ module Aws::EC2
|
|
17220
17312
|
VolumeStatusItem.add_member(:volume_id, Shapes::ShapeRef.new(shape: String, location_name: "volumeId"))
|
17221
17313
|
VolumeStatusItem.add_member(:volume_status, Shapes::ShapeRef.new(shape: VolumeStatusInfo, location_name: "volumeStatus"))
|
17222
17314
|
VolumeStatusItem.add_member(:attachment_statuses, Shapes::ShapeRef.new(shape: VolumeStatusAttachmentStatusList, location_name: "attachmentStatuses"))
|
17315
|
+
VolumeStatusItem.add_member(:initialization_status_details, Shapes::ShapeRef.new(shape: InitializationStatusDetails, location_name: "initializationStatusDetails"))
|
17223
17316
|
VolumeStatusItem.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZoneId"))
|
17224
17317
|
VolumeStatusItem.struct_class = Types::VolumeStatusItem
|
17225
17318
|
|
@@ -19629,6 +19722,34 @@ module Aws::EC2
|
|
19629
19722
|
)
|
19630
19723
|
end)
|
19631
19724
|
|
19725
|
+
api.add_operation(:describe_capacity_block_status, Seahorse::Model::Operation.new.tap do |o|
|
19726
|
+
o.name = "DescribeCapacityBlockStatus"
|
19727
|
+
o.http_method = "POST"
|
19728
|
+
o.http_request_uri = "/"
|
19729
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeCapacityBlockStatusRequest)
|
19730
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeCapacityBlockStatusResult)
|
19731
|
+
o[:pager] = Aws::Pager.new(
|
19732
|
+
limit_key: "max_results",
|
19733
|
+
tokens: {
|
19734
|
+
"next_token" => "next_token"
|
19735
|
+
}
|
19736
|
+
)
|
19737
|
+
end)
|
19738
|
+
|
19739
|
+
api.add_operation(:describe_capacity_blocks, Seahorse::Model::Operation.new.tap do |o|
|
19740
|
+
o.name = "DescribeCapacityBlocks"
|
19741
|
+
o.http_method = "POST"
|
19742
|
+
o.http_request_uri = "/"
|
19743
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeCapacityBlocksRequest)
|
19744
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeCapacityBlocksResult)
|
19745
|
+
o[:pager] = Aws::Pager.new(
|
19746
|
+
limit_key: "max_results",
|
19747
|
+
tokens: {
|
19748
|
+
"next_token" => "next_token"
|
19749
|
+
}
|
19750
|
+
)
|
19751
|
+
end)
|
19752
|
+
|
19632
19753
|
api.add_operation(:describe_capacity_reservation_billing_requests, Seahorse::Model::Operation.new.tap do |o|
|
19633
19754
|
o.name = "DescribeCapacityReservationBillingRequests"
|
19634
19755
|
o.http_method = "POST"
|
data/lib/aws-sdk-ec2/image.rb
CHANGED
@@ -274,6 +274,18 @@ module Aws::EC2
|
|
274
274
|
data[:source_image_region]
|
275
275
|
end
|
276
276
|
|
277
|
+
# Indicates whether the image is eligible for Amazon Web Services Free
|
278
|
+
# Tier.
|
279
|
+
#
|
280
|
+
# * If `true`, the AMI is eligible for Free Tier and can be used to
|
281
|
+
# launch instances under the Free Tier limits.
|
282
|
+
#
|
283
|
+
# * If `false`, the AMI is not eligible for Free Tier.
|
284
|
+
# @return [Boolean]
|
285
|
+
def free_tier_eligible
|
286
|
+
data[:free_tier_eligible]
|
287
|
+
end
|
288
|
+
|
277
289
|
# The location of the AMI.
|
278
290
|
# @return [String]
|
279
291
|
def image_location
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -177,6 +177,17 @@ module Aws::EC2
|
|
177
177
|
data[:cpu_options]
|
178
178
|
end
|
179
179
|
|
180
|
+
# The ID of the Capacity Block.
|
181
|
+
#
|
182
|
+
# <note markdown="1"> For P5 instances, a Capacity Block ID refers to a group of instances.
|
183
|
+
# For Trn2u instances, a capacity block ID refers to an EC2 UltraServer.
|
184
|
+
#
|
185
|
+
# </note>
|
186
|
+
# @return [String]
|
187
|
+
def capacity_block_id
|
188
|
+
data[:capacity_block_id]
|
189
|
+
end
|
190
|
+
|
180
191
|
# The ID of the Capacity Reservation.
|
181
192
|
# @return [String]
|
182
193
|
def capacity_reservation_id
|
@@ -774,7 +785,7 @@ module Aws::EC2
|
|
774
785
|
# image = instance.create_image({
|
775
786
|
# tag_specifications: [
|
776
787
|
# {
|
777
|
-
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, coip-pool, declarative-policies-report, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, outpost-lag, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, service-link-virtual-interface, snapshot, spot-fleet-request, spot-instances-request, subnet, subnet-cidr-reservation, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-policy-table, transit-gateway-route-table, transit-gateway-route-table-announcement, volume, vpc, vpc-endpoint, vpc-endpoint-connection, vpc-endpoint-service, vpc-endpoint-service-permission, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log, capacity-reservation-fleet, traffic-mirror-filter-rule, vpc-endpoint-connection-device-type, verified-access-instance, verified-access-group, verified-access-endpoint, verified-access-policy, verified-access-trust-provider, vpn-connection-device-type, vpc-block-public-access-exclusion, route-server, route-server-endpoint, route-server-peer, ipam-resource-discovery, ipam-resource-discovery-association, instance-connect-endpoint, verified-access-endpoint-target, ipam-external-resource-verification-token, mac-modification-task
|
788
|
+
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, coip-pool, declarative-policies-report, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, outpost-lag, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, service-link-virtual-interface, snapshot, spot-fleet-request, spot-instances-request, subnet, subnet-cidr-reservation, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-policy-table, transit-gateway-route-table, transit-gateway-route-table-announcement, volume, vpc, vpc-endpoint, vpc-endpoint-connection, vpc-endpoint-service, vpc-endpoint-service-permission, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log, capacity-reservation-fleet, traffic-mirror-filter-rule, vpc-endpoint-connection-device-type, verified-access-instance, verified-access-group, verified-access-endpoint, verified-access-policy, verified-access-trust-provider, vpn-connection-device-type, vpc-block-public-access-exclusion, route-server, route-server-endpoint, route-server-peer, ipam-resource-discovery, ipam-resource-discovery-association, instance-connect-endpoint, verified-access-endpoint-target, ipam-external-resource-verification-token, capacity-block, mac-modification-task
|
778
789
|
# tags: [
|
779
790
|
# {
|
780
791
|
# key: "String",
|
@@ -1163,7 +1174,7 @@ module Aws::EC2
|
|
1163
1174
|
# value is specified for `DeleteOnTermination`, the default is `true`
|
1164
1175
|
# and the volume is deleted when the instance is terminated. You can't
|
1165
1176
|
# modify the `DeleteOnTermination` attribute for volumes that are
|
1166
|
-
# attached to
|
1177
|
+
# attached to Amazon Web Services-managed resources.
|
1167
1178
|
#
|
1168
1179
|
# To add instance store volumes to an Amazon EBS-backed instance, you
|
1169
1180
|
# must add them when you launch the instance. For more information, see
|
@@ -1491,6 +1502,7 @@ module Aws::EC2
|
|
1491
1502
|
#
|
1492
1503
|
# instance.stop({
|
1493
1504
|
# hibernate: false,
|
1505
|
+
# skip_os_shutdown: false,
|
1494
1506
|
# dry_run: false,
|
1495
1507
|
# force: false,
|
1496
1508
|
# })
|
@@ -1498,7 +1510,7 @@ module Aws::EC2
|
|
1498
1510
|
# @option options [Boolean] :hibernate
|
1499
1511
|
# Hibernates the instance if the instance was enabled for hibernation at
|
1500
1512
|
# launch. If the instance cannot hibernate successfully, a normal
|
1501
|
-
# shutdown occurs. For more information, see [Hibernate your
|
1513
|
+
# shutdown occurs. For more information, see [Hibernate your Amazon EC2
|
1502
1514
|
# instance][1] in the *Amazon EC2 User Guide*.
|
1503
1515
|
#
|
1504
1516
|
# Default: `false`
|
@@ -1506,6 +1518,15 @@ module Aws::EC2
|
|
1506
1518
|
#
|
1507
1519
|
#
|
1508
1520
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
|
1521
|
+
# @option options [Boolean] :skip_os_shutdown
|
1522
|
+
# Specifies whether to bypass the graceful OS shutdown process when the
|
1523
|
+
# instance is stopped.
|
1524
|
+
#
|
1525
|
+
# Bypassing the graceful OS shutdown might result in data loss or
|
1526
|
+
# corruption (for example, memory contents not flushed to disk or loss
|
1527
|
+
# of in-flight IOs) or skipped shutdown scripts.
|
1528
|
+
#
|
1529
|
+
# Default: `false`
|
1509
1530
|
# @option options [Boolean] :dry_run
|
1510
1531
|
# Checks whether you have the required permissions for the operation,
|
1511
1532
|
# without actually making the request, and provides an error response.
|
@@ -1540,9 +1561,15 @@ module Aws::EC2
|
|
1540
1561
|
# @example Request syntax with placeholder values
|
1541
1562
|
#
|
1542
1563
|
# instance.terminate({
|
1564
|
+
# skip_os_shutdown: false,
|
1543
1565
|
# dry_run: false,
|
1544
1566
|
# })
|
1545
1567
|
# @param [Hash] options ({})
|
1568
|
+
# @option options [Boolean] :skip_os_shutdown
|
1569
|
+
# Specifies whether to bypass the graceful OS shutdown process when the
|
1570
|
+
# instance is terminated.
|
1571
|
+
#
|
1572
|
+
# Default: `false`
|
1546
1573
|
# @option options [Boolean] :dry_run
|
1547
1574
|
# Checks whether you have the required permissions for the operation,
|
1548
1575
|
# without actually making the request, and provides an error response.
|
@@ -2068,6 +2095,7 @@ module Aws::EC2
|
|
2068
2095
|
#
|
2069
2096
|
# instance.batch_stop({
|
2070
2097
|
# hibernate: false,
|
2098
|
+
# skip_os_shutdown: false,
|
2071
2099
|
# dry_run: false,
|
2072
2100
|
# force: false,
|
2073
2101
|
# })
|
@@ -2075,7 +2103,7 @@ module Aws::EC2
|
|
2075
2103
|
# @option options [Boolean] :hibernate
|
2076
2104
|
# Hibernates the instance if the instance was enabled for hibernation at
|
2077
2105
|
# launch. If the instance cannot hibernate successfully, a normal
|
2078
|
-
# shutdown occurs. For more information, see [Hibernate your
|
2106
|
+
# shutdown occurs. For more information, see [Hibernate your Amazon EC2
|
2079
2107
|
# instance][1] in the *Amazon EC2 User Guide*.
|
2080
2108
|
#
|
2081
2109
|
# Default: `false`
|
@@ -2083,6 +2111,15 @@ module Aws::EC2
|
|
2083
2111
|
#
|
2084
2112
|
#
|
2085
2113
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
|
2114
|
+
# @option options [Boolean] :skip_os_shutdown
|
2115
|
+
# Specifies whether to bypass the graceful OS shutdown process when the
|
2116
|
+
# instance is stopped.
|
2117
|
+
#
|
2118
|
+
# Bypassing the graceful OS shutdown might result in data loss or
|
2119
|
+
# corruption (for example, memory contents not flushed to disk or loss
|
2120
|
+
# of in-flight IOs) or skipped shutdown scripts.
|
2121
|
+
#
|
2122
|
+
# Default: `false`
|
2086
2123
|
# @option options [Boolean] :dry_run
|
2087
2124
|
# Checks whether you have the required permissions for the operation,
|
2088
2125
|
# without actually making the request, and provides an error response.
|
@@ -2123,9 +2160,15 @@ module Aws::EC2
|
|
2123
2160
|
# @example Request syntax with placeholder values
|
2124
2161
|
#
|
2125
2162
|
# instance.batch_terminate!({
|
2163
|
+
# skip_os_shutdown: false,
|
2126
2164
|
# dry_run: false,
|
2127
2165
|
# })
|
2128
2166
|
# @param options ({})
|
2167
|
+
# @option options [Boolean] :skip_os_shutdown
|
2168
|
+
# Specifies whether to bypass the graceful OS shutdown process when the
|
2169
|
+
# instance is terminated.
|
2170
|
+
#
|
2171
|
+
# Default: `false`
|
2129
2172
|
# @option options [Boolean] :dry_run
|
2130
2173
|
# Checks whether you have the required permissions for the operation,
|
2131
2174
|
# without actually making the request, and provides an error response.
|