aws-sdk-ec2 1.218.0 → 1.223.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/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +337 -104
- data/lib/aws-sdk-ec2/client_api.rb +90 -0
- data/lib/aws-sdk-ec2/instance.rb +7 -6
- data/lib/aws-sdk-ec2/resource.rb +13 -15
- data/lib/aws-sdk-ec2/subnet.rb +10 -12
- data/lib/aws-sdk-ec2/types.rb +365 -103
- metadata +4 -4
@@ -37,7 +37,11 @@ module Aws::EC2
|
|
37
37
|
AddPrefixListEntries = Shapes::ListShape.new(name: 'AddPrefixListEntries')
|
38
38
|
AddPrefixListEntry = Shapes::StructureShape.new(name: 'AddPrefixListEntry')
|
39
39
|
Address = Shapes::StructureShape.new(name: 'Address')
|
40
|
+
AddressAttribute = Shapes::StructureShape.new(name: 'AddressAttribute')
|
41
|
+
AddressAttributeName = Shapes::StringShape.new(name: 'AddressAttributeName')
|
40
42
|
AddressList = Shapes::ListShape.new(name: 'AddressList')
|
43
|
+
AddressMaxResults = Shapes::IntegerShape.new(name: 'AddressMaxResults')
|
44
|
+
AddressSet = Shapes::ListShape.new(name: 'AddressSet')
|
41
45
|
AdvertiseByoipCidrRequest = Shapes::StructureShape.new(name: 'AdvertiseByoipCidrRequest')
|
42
46
|
AdvertiseByoipCidrResult = Shapes::StructureShape.new(name: 'AdvertiseByoipCidrResult')
|
43
47
|
Affinity = Shapes::StringShape.new(name: 'Affinity')
|
@@ -47,6 +51,7 @@ module Aws::EC2
|
|
47
51
|
AllocateHostsResult = Shapes::StructureShape.new(name: 'AllocateHostsResult')
|
48
52
|
AllocationId = Shapes::StringShape.new(name: 'AllocationId')
|
49
53
|
AllocationIdList = Shapes::ListShape.new(name: 'AllocationIdList')
|
54
|
+
AllocationIds = Shapes::ListShape.new(name: 'AllocationIds')
|
50
55
|
AllocationState = Shapes::StringShape.new(name: 'AllocationState')
|
51
56
|
AllocationStrategy = Shapes::StringShape.new(name: 'AllocationStrategy')
|
52
57
|
AllowedPrincipal = Shapes::StructureShape.new(name: 'AllowedPrincipal')
|
@@ -531,6 +536,8 @@ module Aws::EC2
|
|
531
536
|
DeregisterTransitGatewayMulticastGroupSourcesResult = Shapes::StructureShape.new(name: 'DeregisterTransitGatewayMulticastGroupSourcesResult')
|
532
537
|
DescribeAccountAttributesRequest = Shapes::StructureShape.new(name: 'DescribeAccountAttributesRequest')
|
533
538
|
DescribeAccountAttributesResult = Shapes::StructureShape.new(name: 'DescribeAccountAttributesResult')
|
539
|
+
DescribeAddressesAttributeRequest = Shapes::StructureShape.new(name: 'DescribeAddressesAttributeRequest')
|
540
|
+
DescribeAddressesAttributeResult = Shapes::StructureShape.new(name: 'DescribeAddressesAttributeResult')
|
534
541
|
DescribeAddressesRequest = Shapes::StructureShape.new(name: 'DescribeAddressesRequest')
|
535
542
|
DescribeAddressesResult = Shapes::StructureShape.new(name: 'DescribeAddressesResult')
|
536
543
|
DescribeAggregateIdFormatRequest = Shapes::StructureShape.new(name: 'DescribeAggregateIdFormatRequest')
|
@@ -1404,6 +1411,8 @@ module Aws::EC2
|
|
1404
1411
|
MemoryInfo = Shapes::StructureShape.new(name: 'MemoryInfo')
|
1405
1412
|
MemorySize = Shapes::IntegerShape.new(name: 'MemorySize')
|
1406
1413
|
MillisecondDateTime = Shapes::TimestampShape.new(name: 'MillisecondDateTime')
|
1414
|
+
ModifyAddressAttributeRequest = Shapes::StructureShape.new(name: 'ModifyAddressAttributeRequest')
|
1415
|
+
ModifyAddressAttributeResult = Shapes::StructureShape.new(name: 'ModifyAddressAttributeResult')
|
1407
1416
|
ModifyAvailabilityZoneGroupRequest = Shapes::StructureShape.new(name: 'ModifyAvailabilityZoneGroupRequest')
|
1408
1417
|
ModifyAvailabilityZoneGroupResult = Shapes::StructureShape.new(name: 'ModifyAvailabilityZoneGroupResult')
|
1409
1418
|
ModifyAvailabilityZoneOptInStatus = Shapes::StringShape.new(name: 'ModifyAvailabilityZoneOptInStatus')
|
@@ -1656,6 +1665,7 @@ module Aws::EC2
|
|
1656
1665
|
ProvisionByoipCidrRequest = Shapes::StructureShape.new(name: 'ProvisionByoipCidrRequest')
|
1657
1666
|
ProvisionByoipCidrResult = Shapes::StructureShape.new(name: 'ProvisionByoipCidrResult')
|
1658
1667
|
ProvisionedBandwidth = Shapes::StructureShape.new(name: 'ProvisionedBandwidth')
|
1668
|
+
PtrUpdateStatus = Shapes::StructureShape.new(name: 'PtrUpdateStatus')
|
1659
1669
|
PublicIpAddress = Shapes::StringShape.new(name: 'PublicIpAddress')
|
1660
1670
|
PublicIpStringList = Shapes::ListShape.new(name: 'PublicIpStringList')
|
1661
1671
|
PublicIpv4Pool = Shapes::StructureShape.new(name: 'PublicIpv4Pool')
|
@@ -1763,6 +1773,8 @@ module Aws::EC2
|
|
1763
1773
|
ReservedInstancesOfferingIdStringList = Shapes::ListShape.new(name: 'ReservedInstancesOfferingIdStringList')
|
1764
1774
|
ReservedInstancesOfferingList = Shapes::ListShape.new(name: 'ReservedInstancesOfferingList')
|
1765
1775
|
ReservedIntancesIds = Shapes::ListShape.new(name: 'ReservedIntancesIds')
|
1776
|
+
ResetAddressAttributeRequest = Shapes::StructureShape.new(name: 'ResetAddressAttributeRequest')
|
1777
|
+
ResetAddressAttributeResult = Shapes::StructureShape.new(name: 'ResetAddressAttributeResult')
|
1766
1778
|
ResetEbsDefaultKmsKeyIdRequest = Shapes::StructureShape.new(name: 'ResetEbsDefaultKmsKeyIdRequest')
|
1767
1779
|
ResetEbsDefaultKmsKeyIdResult = Shapes::StructureShape.new(name: 'ResetEbsDefaultKmsKeyIdResult')
|
1768
1780
|
ResetFpgaImageAttributeName = Shapes::StringShape.new(name: 'ResetFpgaImageAttributeName')
|
@@ -2302,8 +2314,16 @@ module Aws::EC2
|
|
2302
2314
|
Address.add_member(:carrier_ip, Shapes::ShapeRef.new(shape: String, location_name: "carrierIp"))
|
2303
2315
|
Address.struct_class = Types::Address
|
2304
2316
|
|
2317
|
+
AddressAttribute.add_member(:public_ip, Shapes::ShapeRef.new(shape: PublicIpAddress, location_name: "publicIp"))
|
2318
|
+
AddressAttribute.add_member(:allocation_id, Shapes::ShapeRef.new(shape: AllocationId, location_name: "allocationId"))
|
2319
|
+
AddressAttribute.add_member(:ptr_record, Shapes::ShapeRef.new(shape: String, location_name: "ptrRecord"))
|
2320
|
+
AddressAttribute.add_member(:ptr_record_update, Shapes::ShapeRef.new(shape: PtrUpdateStatus, location_name: "ptrRecordUpdate"))
|
2321
|
+
AddressAttribute.struct_class = Types::AddressAttribute
|
2322
|
+
|
2305
2323
|
AddressList.member = Shapes::ShapeRef.new(shape: Address, location_name: "item")
|
2306
2324
|
|
2325
|
+
AddressSet.member = Shapes::ShapeRef.new(shape: AddressAttribute, location_name: "item")
|
2326
|
+
|
2307
2327
|
AdvertiseByoipCidrRequest.add_member(:cidr, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Cidr"))
|
2308
2328
|
AdvertiseByoipCidrRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
2309
2329
|
AdvertiseByoipCidrRequest.struct_class = Types::AdvertiseByoipCidrRequest
|
@@ -2317,6 +2337,7 @@ module Aws::EC2
|
|
2317
2337
|
AllocateAddressRequest.add_member(:network_border_group, Shapes::ShapeRef.new(shape: String, location_name: "NetworkBorderGroup"))
|
2318
2338
|
AllocateAddressRequest.add_member(:customer_owned_ipv_4_pool, Shapes::ShapeRef.new(shape: String, location_name: "CustomerOwnedIpv4Pool"))
|
2319
2339
|
AllocateAddressRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
2340
|
+
AllocateAddressRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
2320
2341
|
AllocateAddressRequest.struct_class = Types::AllocateAddressRequest
|
2321
2342
|
|
2322
2343
|
AllocateAddressResult.add_member(:public_ip, Shapes::ShapeRef.new(shape: String, location_name: "publicIp"))
|
@@ -2344,6 +2365,8 @@ module Aws::EC2
|
|
2344
2365
|
|
2345
2366
|
AllocationIdList.member = Shapes::ShapeRef.new(shape: AllocationId, location_name: "AllocationId")
|
2346
2367
|
|
2368
|
+
AllocationIds.member = Shapes::ShapeRef.new(shape: AllocationId, location_name: "item")
|
2369
|
+
|
2347
2370
|
AllowedPrincipal.add_member(:principal_type, Shapes::ShapeRef.new(shape: PrincipalType, location_name: "principalType"))
|
2348
2371
|
AllowedPrincipal.add_member(:principal, Shapes::ShapeRef.new(shape: String, location_name: "principal"))
|
2349
2372
|
AllowedPrincipal.struct_class = Types::AllowedPrincipal
|
@@ -2813,6 +2836,7 @@ module Aws::EC2
|
|
2813
2836
|
CapacityReservation.add_member(:ebs_optimized, Shapes::ShapeRef.new(shape: Boolean, location_name: "ebsOptimized"))
|
2814
2837
|
CapacityReservation.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: Boolean, location_name: "ephemeralStorage"))
|
2815
2838
|
CapacityReservation.add_member(:state, Shapes::ShapeRef.new(shape: CapacityReservationState, location_name: "state"))
|
2839
|
+
CapacityReservation.add_member(:start_date, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "startDate"))
|
2816
2840
|
CapacityReservation.add_member(:end_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "endDate"))
|
2817
2841
|
CapacityReservation.add_member(:end_date_type, Shapes::ShapeRef.new(shape: EndDateType, location_name: "endDateType"))
|
2818
2842
|
CapacityReservation.add_member(:instance_match_criteria, Shapes::ShapeRef.new(shape: InstanceMatchCriteria, location_name: "instanceMatchCriteria"))
|
@@ -4273,6 +4297,17 @@ module Aws::EC2
|
|
4273
4297
|
DescribeAccountAttributesResult.add_member(:account_attributes, Shapes::ShapeRef.new(shape: AccountAttributeList, location_name: "accountAttributeSet"))
|
4274
4298
|
DescribeAccountAttributesResult.struct_class = Types::DescribeAccountAttributesResult
|
4275
4299
|
|
4300
|
+
DescribeAddressesAttributeRequest.add_member(:allocation_ids, Shapes::ShapeRef.new(shape: AllocationIds, location_name: "AllocationId"))
|
4301
|
+
DescribeAddressesAttributeRequest.add_member(:attribute, Shapes::ShapeRef.new(shape: AddressAttributeName, location_name: "Attribute"))
|
4302
|
+
DescribeAddressesAttributeRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
4303
|
+
DescribeAddressesAttributeRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: AddressMaxResults, location_name: "MaxResults"))
|
4304
|
+
DescribeAddressesAttributeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
4305
|
+
DescribeAddressesAttributeRequest.struct_class = Types::DescribeAddressesAttributeRequest
|
4306
|
+
|
4307
|
+
DescribeAddressesAttributeResult.add_member(:addresses, Shapes::ShapeRef.new(shape: AddressSet, location_name: "addressSet"))
|
4308
|
+
DescribeAddressesAttributeResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
4309
|
+
DescribeAddressesAttributeResult.struct_class = Types::DescribeAddressesAttributeResult
|
4310
|
+
|
4276
4311
|
DescribeAddressesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
|
4277
4312
|
DescribeAddressesRequest.add_member(:public_ips, Shapes::ShapeRef.new(shape: PublicIpStringList, location_name: "PublicIp"))
|
4278
4313
|
DescribeAddressesRequest.add_member(:allocation_ids, Shapes::ShapeRef.new(shape: AllocationIdList, location_name: "AllocationId"))
|
@@ -7696,6 +7731,14 @@ module Aws::EC2
|
|
7696
7731
|
MemoryInfo.add_member(:size_in_mi_b, Shapes::ShapeRef.new(shape: MemorySize, location_name: "sizeInMiB"))
|
7697
7732
|
MemoryInfo.struct_class = Types::MemoryInfo
|
7698
7733
|
|
7734
|
+
ModifyAddressAttributeRequest.add_member(:allocation_id, Shapes::ShapeRef.new(shape: AllocationId, required: true, location_name: "AllocationId"))
|
7735
|
+
ModifyAddressAttributeRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, location_name: "DomainName"))
|
7736
|
+
ModifyAddressAttributeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
7737
|
+
ModifyAddressAttributeRequest.struct_class = Types::ModifyAddressAttributeRequest
|
7738
|
+
|
7739
|
+
ModifyAddressAttributeResult.add_member(:address, Shapes::ShapeRef.new(shape: AddressAttribute, location_name: "address"))
|
7740
|
+
ModifyAddressAttributeResult.struct_class = Types::ModifyAddressAttributeResult
|
7741
|
+
|
7699
7742
|
ModifyAvailabilityZoneGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "GroupName"))
|
7700
7743
|
ModifyAvailabilityZoneGroupRequest.add_member(:opt_in_status, Shapes::ShapeRef.new(shape: ModifyAvailabilityZoneOptInStatus, required: true, location_name: "OptInStatus"))
|
7701
7744
|
ModifyAvailabilityZoneGroupRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
@@ -7708,6 +7751,7 @@ module Aws::EC2
|
|
7708
7751
|
ModifyCapacityReservationRequest.add_member(:instance_count, Shapes::ShapeRef.new(shape: Integer, location_name: "InstanceCount"))
|
7709
7752
|
ModifyCapacityReservationRequest.add_member(:end_date, Shapes::ShapeRef.new(shape: DateTime, location_name: "EndDate"))
|
7710
7753
|
ModifyCapacityReservationRequest.add_member(:end_date_type, Shapes::ShapeRef.new(shape: EndDateType, location_name: "EndDateType"))
|
7754
|
+
ModifyCapacityReservationRequest.add_member(:accept, Shapes::ShapeRef.new(shape: Boolean, location_name: "Accept"))
|
7711
7755
|
ModifyCapacityReservationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
7712
7756
|
ModifyCapacityReservationRequest.struct_class = Types::ModifyCapacityReservationRequest
|
7713
7757
|
|
@@ -8029,6 +8073,7 @@ module Aws::EC2
|
|
8029
8073
|
ModifyVolumeRequest.add_member(:volume_type, Shapes::ShapeRef.new(shape: VolumeType, location_name: "VolumeType"))
|
8030
8074
|
ModifyVolumeRequest.add_member(:iops, Shapes::ShapeRef.new(shape: Integer, location_name: "Iops"))
|
8031
8075
|
ModifyVolumeRequest.add_member(:throughput, Shapes::ShapeRef.new(shape: Integer, location_name: "Throughput"))
|
8076
|
+
ModifyVolumeRequest.add_member(:multi_attach_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "MultiAttachEnabled"))
|
8032
8077
|
ModifyVolumeRequest.struct_class = Types::ModifyVolumeRequest
|
8033
8078
|
|
8034
8079
|
ModifyVolumeResult.add_member(:volume_modification, Shapes::ShapeRef.new(shape: VolumeModification, location_name: "volumeModification"))
|
@@ -8662,6 +8707,11 @@ module Aws::EC2
|
|
8662
8707
|
ProvisionedBandwidth.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
|
8663
8708
|
ProvisionedBandwidth.struct_class = Types::ProvisionedBandwidth
|
8664
8709
|
|
8710
|
+
PtrUpdateStatus.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
|
8711
|
+
PtrUpdateStatus.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
|
8712
|
+
PtrUpdateStatus.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
|
8713
|
+
PtrUpdateStatus.struct_class = Types::PtrUpdateStatus
|
8714
|
+
|
8665
8715
|
PublicIpStringList.member = Shapes::ShapeRef.new(shape: String, location_name: "PublicIp")
|
8666
8716
|
|
8667
8717
|
PublicIpv4Pool.add_member(:pool_id, Shapes::ShapeRef.new(shape: String, location_name: "poolId"))
|
@@ -9137,6 +9187,14 @@ module Aws::EC2
|
|
9137
9187
|
|
9138
9188
|
ReservedIntancesIds.member = Shapes::ShapeRef.new(shape: ReservedInstancesId, location_name: "item")
|
9139
9189
|
|
9190
|
+
ResetAddressAttributeRequest.add_member(:allocation_id, Shapes::ShapeRef.new(shape: AllocationId, required: true, location_name: "AllocationId"))
|
9191
|
+
ResetAddressAttributeRequest.add_member(:attribute, Shapes::ShapeRef.new(shape: AddressAttributeName, required: true, location_name: "Attribute"))
|
9192
|
+
ResetAddressAttributeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
9193
|
+
ResetAddressAttributeRequest.struct_class = Types::ResetAddressAttributeRequest
|
9194
|
+
|
9195
|
+
ResetAddressAttributeResult.add_member(:address, Shapes::ShapeRef.new(shape: AddressAttribute, location_name: "address"))
|
9196
|
+
ResetAddressAttributeResult.struct_class = Types::ResetAddressAttributeResult
|
9197
|
+
|
9140
9198
|
ResetEbsDefaultKmsKeyIdRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
9141
9199
|
ResetEbsDefaultKmsKeyIdRequest.struct_class = Types::ResetEbsDefaultKmsKeyIdRequest
|
9142
9200
|
|
@@ -10584,10 +10642,12 @@ module Aws::EC2
|
|
10584
10642
|
VolumeModification.add_member(:target_iops, Shapes::ShapeRef.new(shape: Integer, location_name: "targetIops"))
|
10585
10643
|
VolumeModification.add_member(:target_volume_type, Shapes::ShapeRef.new(shape: VolumeType, location_name: "targetVolumeType"))
|
10586
10644
|
VolumeModification.add_member(:target_throughput, Shapes::ShapeRef.new(shape: Integer, location_name: "targetThroughput"))
|
10645
|
+
VolumeModification.add_member(:target_multi_attach_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "targetMultiAttachEnabled"))
|
10587
10646
|
VolumeModification.add_member(:original_size, Shapes::ShapeRef.new(shape: Integer, location_name: "originalSize"))
|
10588
10647
|
VolumeModification.add_member(:original_iops, Shapes::ShapeRef.new(shape: Integer, location_name: "originalIops"))
|
10589
10648
|
VolumeModification.add_member(:original_volume_type, Shapes::ShapeRef.new(shape: VolumeType, location_name: "originalVolumeType"))
|
10590
10649
|
VolumeModification.add_member(:original_throughput, Shapes::ShapeRef.new(shape: Integer, location_name: "originalThroughput"))
|
10650
|
+
VolumeModification.add_member(:original_multi_attach_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "originalMultiAttachEnabled"))
|
10591
10651
|
VolumeModification.add_member(:progress, Shapes::ShapeRef.new(shape: Long, location_name: "progress"))
|
10592
10652
|
VolumeModification.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "startTime"))
|
10593
10653
|
VolumeModification.add_member(:end_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "endTime"))
|
@@ -12177,6 +12237,20 @@ module Aws::EC2
|
|
12177
12237
|
o.output = Shapes::ShapeRef.new(shape: DescribeAddressesResult)
|
12178
12238
|
end)
|
12179
12239
|
|
12240
|
+
api.add_operation(:describe_addresses_attribute, Seahorse::Model::Operation.new.tap do |o|
|
12241
|
+
o.name = "DescribeAddressesAttribute"
|
12242
|
+
o.http_method = "POST"
|
12243
|
+
o.http_request_uri = "/"
|
12244
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeAddressesAttributeRequest)
|
12245
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeAddressesAttributeResult)
|
12246
|
+
o[:pager] = Aws::Pager.new(
|
12247
|
+
limit_key: "max_results",
|
12248
|
+
tokens: {
|
12249
|
+
"next_token" => "next_token"
|
12250
|
+
}
|
12251
|
+
)
|
12252
|
+
end)
|
12253
|
+
|
12180
12254
|
api.add_operation(:describe_aggregate_id_format, Seahorse::Model::Operation.new.tap do |o|
|
12181
12255
|
o.name = "DescribeAggregateIdFormat"
|
12182
12256
|
o.http_method = "POST"
|
@@ -14134,6 +14208,14 @@ module Aws::EC2
|
|
14134
14208
|
o.output = Shapes::ShapeRef.new(shape: ImportVolumeResult)
|
14135
14209
|
end)
|
14136
14210
|
|
14211
|
+
api.add_operation(:modify_address_attribute, Seahorse::Model::Operation.new.tap do |o|
|
14212
|
+
o.name = "ModifyAddressAttribute"
|
14213
|
+
o.http_method = "POST"
|
14214
|
+
o.http_request_uri = "/"
|
14215
|
+
o.input = Shapes::ShapeRef.new(shape: ModifyAddressAttributeRequest)
|
14216
|
+
o.output = Shapes::ShapeRef.new(shape: ModifyAddressAttributeResult)
|
14217
|
+
end)
|
14218
|
+
|
14137
14219
|
api.add_operation(:modify_availability_zone_group, Seahorse::Model::Operation.new.tap do |o|
|
14138
14220
|
o.name = "ModifyAvailabilityZoneGroup"
|
14139
14221
|
o.http_method = "POST"
|
@@ -14694,6 +14776,14 @@ module Aws::EC2
|
|
14694
14776
|
o.output = Shapes::ShapeRef.new(shape: RequestSpotInstancesResult)
|
14695
14777
|
end)
|
14696
14778
|
|
14779
|
+
api.add_operation(:reset_address_attribute, Seahorse::Model::Operation.new.tap do |o|
|
14780
|
+
o.name = "ResetAddressAttribute"
|
14781
|
+
o.http_method = "POST"
|
14782
|
+
o.http_request_uri = "/"
|
14783
|
+
o.input = Shapes::ShapeRef.new(shape: ResetAddressAttributeRequest)
|
14784
|
+
o.output = Shapes::ShapeRef.new(shape: ResetAddressAttributeResult)
|
14785
|
+
end)
|
14786
|
+
|
14697
14787
|
api.add_operation(:reset_ebs_default_kms_key_id, Seahorse::Model::Operation.new.tap do |o|
|
14698
14788
|
o.name = "ResetEbsDefaultKmsKeyId"
|
14699
14789
|
o.http_method = "POST"
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -263,7 +263,7 @@ module Aws::EC2
|
|
263
263
|
# the instance. A value of `true` means that checking is enabled, and
|
264
264
|
# `false` means that checking is disabled. The value must be `false` for
|
265
265
|
# the instance to perform NAT. For more information, see [NAT
|
266
|
-
#
|
266
|
+
# instances][1] in the *Amazon VPC User Guide*.
|
267
267
|
#
|
268
268
|
#
|
269
269
|
#
|
@@ -942,7 +942,7 @@ module Aws::EC2
|
|
942
942
|
# To add instance store volumes to an Amazon EBS-backed instance, you
|
943
943
|
# must add them when you launch the instance. For more information, see
|
944
944
|
# [Updating the block device mapping when launching an instance][1] in
|
945
|
-
# the *Amazon
|
945
|
+
# the *Amazon EC2 User Guide*.
|
946
946
|
#
|
947
947
|
#
|
948
948
|
#
|
@@ -978,8 +978,9 @@ module Aws::EC2
|
|
978
978
|
# system shutdown).
|
979
979
|
# @option options [Types::AttributeValue] :instance_type
|
980
980
|
# Changes the instance type to the specified value. For more
|
981
|
-
# information, see [Instance types][1]
|
982
|
-
# valid, the error returned is
|
981
|
+
# information, see [Instance types][1] in the *Amazon EC2 User Guide*.
|
982
|
+
# If the instance type is not valid, the error returned is
|
983
|
+
# `InvalidInstanceAttributeValue`.
|
983
984
|
#
|
984
985
|
#
|
985
986
|
#
|
@@ -1258,7 +1259,7 @@ module Aws::EC2
|
|
1258
1259
|
# Hibernates the instance if the instance was enabled for hibernation at
|
1259
1260
|
# launch. If the instance cannot hibernate successfully, a normal
|
1260
1261
|
# shutdown occurs. For more information, see [Hibernate your
|
1261
|
-
# instance][1] in the *Amazon
|
1262
|
+
# instance][1] in the *Amazon EC2 User Guide*.
|
1262
1263
|
#
|
1263
1264
|
# Default: `false`
|
1264
1265
|
#
|
@@ -1797,7 +1798,7 @@ module Aws::EC2
|
|
1797
1798
|
# Hibernates the instance if the instance was enabled for hibernation at
|
1798
1799
|
# launch. If the instance cannot hibernate successfully, a normal
|
1799
1800
|
# shutdown occurs. For more information, see [Hibernate your
|
1800
|
-
# instance][1] in the *Amazon
|
1801
|
+
# instance][1] in the *Amazon EC2 User Guide*.
|
1801
1802
|
#
|
1802
1803
|
# Default: `false`
|
1803
1804
|
#
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -242,7 +242,7 @@ module Aws::EC2
|
|
242
242
|
# must be specified here or in a launch template.
|
243
243
|
# @option options [String] :instance_type
|
244
244
|
# The instance type. For more information, see [Instance types][1] in
|
245
|
-
# the *Amazon
|
245
|
+
# the *Amazon EC2 User Guide*.
|
246
246
|
#
|
247
247
|
# Default: `m1.small`
|
248
248
|
#
|
@@ -272,8 +272,8 @@ module Aws::EC2
|
|
272
272
|
# The ID of the kernel.
|
273
273
|
#
|
274
274
|
# We recommend that you use PV-GRUB instead of kernels and RAM disks.
|
275
|
-
# For more information, see [ PV-GRUB][1] in the *Amazon
|
276
|
-
#
|
275
|
+
# For more information, see [ PV-GRUB][1] in the *Amazon EC2 User
|
276
|
+
# Guide*.
|
277
277
|
#
|
278
278
|
#
|
279
279
|
#
|
@@ -328,8 +328,8 @@ module Aws::EC2
|
|
328
328
|
# go to the AWS Resource Center and search for the kernel ID.
|
329
329
|
#
|
330
330
|
# We recommend that you use PV-GRUB instead of kernels and RAM disks.
|
331
|
-
# For more information, see [ PV-GRUB][1] in the *Amazon
|
332
|
-
#
|
331
|
+
# For more information, see [ PV-GRUB][1] in the *Amazon EC2 User
|
332
|
+
# Guide*.
|
333
333
|
#
|
334
334
|
#
|
335
335
|
#
|
@@ -439,8 +439,7 @@ module Aws::EC2
|
|
439
439
|
# An elastic GPU to associate with the instance. An Elastic GPU is a GPU
|
440
440
|
# resource that you can attach to your Windows instance to accelerate
|
441
441
|
# the graphics performance of your applications. For more information,
|
442
|
-
# see [
|
443
|
-
# User Guide*.
|
442
|
+
# see [Amazon EC2 Elastic GPUs][1] in the *Amazon EC2 User Guide*.
|
444
443
|
#
|
445
444
|
#
|
446
445
|
#
|
@@ -478,7 +477,7 @@ module Aws::EC2
|
|
478
477
|
# Valid values are `standard` and `unlimited`. To change this attribute
|
479
478
|
# after launch, use [ ModifyInstanceCreditSpecification][1]. For more
|
480
479
|
# information, see [Burstable performance instances][2] in the *Amazon
|
481
|
-
#
|
480
|
+
# EC2 User Guide*.
|
482
481
|
#
|
483
482
|
# Default: `standard` (T2 instances) or `unlimited` (T3/T3a instances)
|
484
483
|
#
|
@@ -488,8 +487,7 @@ module Aws::EC2
|
|
488
487
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html
|
489
488
|
# @option options [Types::CpuOptionsRequest] :cpu_options
|
490
489
|
# The CPU options for the instance. For more information, see
|
491
|
-
# [Optimizing CPU options][1] in the *Amazon
|
492
|
-
# Guide*.
|
490
|
+
# [Optimizing CPU options][1] in the *Amazon EC2 User Guide*.
|
493
491
|
#
|
494
492
|
#
|
495
493
|
#
|
@@ -502,8 +500,8 @@ module Aws::EC2
|
|
502
500
|
# platform, Availability Zone).
|
503
501
|
# @option options [Types::HibernationOptionsRequest] :hibernation_options
|
504
502
|
# Indicates whether an instance is enabled for hibernation. For more
|
505
|
-
# information, see [Hibernate your instance][1] in the *Amazon
|
506
|
-
#
|
503
|
+
# information, see [Hibernate your instance][1] in the *Amazon EC2 User
|
504
|
+
# Guide*.
|
507
505
|
#
|
508
506
|
# You can't enable hibernation and AWS Nitro Enclaves on the same
|
509
507
|
# instance.
|
@@ -1276,9 +1274,9 @@ module Aws::EC2
|
|
1276
1274
|
# Indicates whether to enable Amazon EBS Multi-Attach. If you enable
|
1277
1275
|
# Multi-Attach, you can attach the volume to up to 16 [Instances built
|
1278
1276
|
# on the Nitro System][1] in the same Availability Zone. This parameter
|
1279
|
-
# is supported with `io1` volumes only. For more information,
|
1280
|
-
# Amazon EBS Multi-Attach][2] in the *Amazon Elastic Compute Cloud
|
1281
|
-
# Guide*.
|
1277
|
+
# is supported with `io1` and `io2` volumes only. For more information,
|
1278
|
+
# see [ Amazon EBS Multi-Attach][2] in the *Amazon Elastic Compute Cloud
|
1279
|
+
# User Guide*.
|
1282
1280
|
#
|
1283
1281
|
#
|
1284
1282
|
#
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -436,7 +436,7 @@ module Aws::EC2
|
|
436
436
|
# must be specified here or in a launch template.
|
437
437
|
# @option options [String] :instance_type
|
438
438
|
# The instance type. For more information, see [Instance types][1] in
|
439
|
-
# the *Amazon
|
439
|
+
# the *Amazon EC2 User Guide*.
|
440
440
|
#
|
441
441
|
# Default: `m1.small`
|
442
442
|
#
|
@@ -466,8 +466,8 @@ module Aws::EC2
|
|
466
466
|
# The ID of the kernel.
|
467
467
|
#
|
468
468
|
# We recommend that you use PV-GRUB instead of kernels and RAM disks.
|
469
|
-
# For more information, see [ PV-GRUB][1] in the *Amazon
|
470
|
-
#
|
469
|
+
# For more information, see [ PV-GRUB][1] in the *Amazon EC2 User
|
470
|
+
# Guide*.
|
471
471
|
#
|
472
472
|
#
|
473
473
|
#
|
@@ -522,8 +522,8 @@ module Aws::EC2
|
|
522
522
|
# go to the AWS Resource Center and search for the kernel ID.
|
523
523
|
#
|
524
524
|
# We recommend that you use PV-GRUB instead of kernels and RAM disks.
|
525
|
-
# For more information, see [ PV-GRUB][1] in the *Amazon
|
526
|
-
#
|
525
|
+
# For more information, see [ PV-GRUB][1] in the *Amazon EC2 User
|
526
|
+
# Guide*.
|
527
527
|
#
|
528
528
|
#
|
529
529
|
#
|
@@ -628,8 +628,7 @@ module Aws::EC2
|
|
628
628
|
# An elastic GPU to associate with the instance. An Elastic GPU is a GPU
|
629
629
|
# resource that you can attach to your Windows instance to accelerate
|
630
630
|
# the graphics performance of your applications. For more information,
|
631
|
-
# see [
|
632
|
-
# User Guide*.
|
631
|
+
# see [Amazon EC2 Elastic GPUs][1] in the *Amazon EC2 User Guide*.
|
633
632
|
#
|
634
633
|
#
|
635
634
|
#
|
@@ -667,7 +666,7 @@ module Aws::EC2
|
|
667
666
|
# Valid values are `standard` and `unlimited`. To change this attribute
|
668
667
|
# after launch, use [ ModifyInstanceCreditSpecification][1]. For more
|
669
668
|
# information, see [Burstable performance instances][2] in the *Amazon
|
670
|
-
#
|
669
|
+
# EC2 User Guide*.
|
671
670
|
#
|
672
671
|
# Default: `standard` (T2 instances) or `unlimited` (T3/T3a instances)
|
673
672
|
#
|
@@ -677,8 +676,7 @@ module Aws::EC2
|
|
677
676
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html
|
678
677
|
# @option options [Types::CpuOptionsRequest] :cpu_options
|
679
678
|
# The CPU options for the instance. For more information, see
|
680
|
-
# [Optimizing CPU options][1] in the *Amazon
|
681
|
-
# Guide*.
|
679
|
+
# [Optimizing CPU options][1] in the *Amazon EC2 User Guide*.
|
682
680
|
#
|
683
681
|
#
|
684
682
|
#
|
@@ -691,8 +689,8 @@ module Aws::EC2
|
|
691
689
|
# platform, Availability Zone).
|
692
690
|
# @option options [Types::HibernationOptionsRequest] :hibernation_options
|
693
691
|
# Indicates whether an instance is enabled for hibernation. For more
|
694
|
-
# information, see [Hibernate your instance][1] in the *Amazon
|
695
|
-
#
|
692
|
+
# information, see [Hibernate your instance][1] in the *Amazon EC2 User
|
693
|
+
# Guide*.
|
696
694
|
#
|
697
695
|
# You can't enable hibernation and AWS Nitro Enclaves on the same
|
698
696
|
# instance.
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -467,6 +467,35 @@ module Aws::EC2
|
|
467
467
|
include Aws::Structure
|
468
468
|
end
|
469
469
|
|
470
|
+
# The attributes associated with an Elastic IP address.
|
471
|
+
#
|
472
|
+
# @!attribute [rw] public_ip
|
473
|
+
# The public IP address.
|
474
|
+
# @return [String]
|
475
|
+
#
|
476
|
+
# @!attribute [rw] allocation_id
|
477
|
+
# \[EC2-VPC\] The allocation ID.
|
478
|
+
# @return [String]
|
479
|
+
#
|
480
|
+
# @!attribute [rw] ptr_record
|
481
|
+
# The pointer (PTR) record for the IP address.
|
482
|
+
# @return [String]
|
483
|
+
#
|
484
|
+
# @!attribute [rw] ptr_record_update
|
485
|
+
# The updated PTR record for the IP address.
|
486
|
+
# @return [Types::PtrUpdateStatus]
|
487
|
+
#
|
488
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AddressAttribute AWS API Documentation
|
489
|
+
#
|
490
|
+
class AddressAttribute < Struct.new(
|
491
|
+
:public_ip,
|
492
|
+
:allocation_id,
|
493
|
+
:ptr_record,
|
494
|
+
:ptr_record_update)
|
495
|
+
SENSITIVE = []
|
496
|
+
include Aws::Structure
|
497
|
+
end
|
498
|
+
|
470
499
|
# @note When making an API call, you may pass AdvertiseByoipCidrRequest
|
471
500
|
# data as a hash:
|
472
501
|
#
|
@@ -519,6 +548,17 @@ module Aws::EC2
|
|
519
548
|
# network_border_group: "String",
|
520
549
|
# customer_owned_ipv_4_pool: "String",
|
521
550
|
# dry_run: false,
|
551
|
+
# tag_specifications: [
|
552
|
+
# {
|
553
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, 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, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
554
|
+
# tags: [
|
555
|
+
# {
|
556
|
+
# key: "String",
|
557
|
+
# value: "String",
|
558
|
+
# },
|
559
|
+
# ],
|
560
|
+
# },
|
561
|
+
# ],
|
522
562
|
# }
|
523
563
|
#
|
524
564
|
# @!attribute [rw] domain
|
@@ -576,6 +616,10 @@ module Aws::EC2
|
|
576
616
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
577
617
|
# @return [Boolean]
|
578
618
|
#
|
619
|
+
# @!attribute [rw] tag_specifications
|
620
|
+
# The tags to assign to the Elastic IP address.
|
621
|
+
# @return [Array<Types::TagSpecification>]
|
622
|
+
#
|
579
623
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AllocateAddressRequest AWS API Documentation
|
580
624
|
#
|
581
625
|
class AllocateAddressRequest < Struct.new(
|
@@ -584,7 +628,8 @@ module Aws::EC2
|
|
584
628
|
:public_ipv_4_pool,
|
585
629
|
:network_border_group,
|
586
630
|
:customer_owned_ipv_4_pool,
|
587
|
-
:dry_run
|
631
|
+
:dry_run,
|
632
|
+
:tag_specifications)
|
588
633
|
SENSITIVE = []
|
589
634
|
include Aws::Structure
|
590
635
|
end
|
@@ -669,8 +714,8 @@ module Aws::EC2
|
|
669
714
|
# Indicates whether the host accepts any untargeted instance launches
|
670
715
|
# that match its instance type configuration, or if it only accepts
|
671
716
|
# Host tenancy instance launches that specify its unique host ID. For
|
672
|
-
# more information, see [ Understanding
|
673
|
-
#
|
717
|
+
# more information, see [ Understanding auto-placement and
|
718
|
+
# affinity][1] in the *Amazon EC2 User Guide*.
|
674
719
|
#
|
675
720
|
# Default: `on`
|
676
721
|
#
|
@@ -685,7 +730,7 @@ module Aws::EC2
|
|
685
730
|
#
|
686
731
|
# @!attribute [rw] client_token
|
687
732
|
# Unique, case-sensitive identifier that you provide to ensure the
|
688
|
-
# idempotency of the request. For more information, see [
|
733
|
+
# idempotency of the request. For more information, see [Ensuring
|
689
734
|
# Idempotency][1].
|
690
735
|
#
|
691
736
|
#
|
@@ -727,8 +772,7 @@ module Aws::EC2
|
|
727
772
|
# @!attribute [rw] host_recovery
|
728
773
|
# Indicates whether to enable or disable host recovery for the
|
729
774
|
# Dedicated Host. Host recovery is disabled by default. For more
|
730
|
-
# information, see [ Host
|
731
|
-
# Cloud User Guide*.
|
775
|
+
# information, see [ Host recovery][1] in the *Amazon EC2 User Guide*.
|
732
776
|
#
|
733
777
|
# Default: `off`
|
734
778
|
#
|
@@ -2766,8 +2810,8 @@ module Aws::EC2
|
|
2766
2810
|
# @return [Types::EbsBlockDevice]
|
2767
2811
|
#
|
2768
2812
|
# @!attribute [rw] no_device
|
2769
|
-
#
|
2770
|
-
#
|
2813
|
+
# To omit the device from the block device mapping, specify an empty
|
2814
|
+
# string.
|
2771
2815
|
# @return [String]
|
2772
2816
|
#
|
2773
2817
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/BlockDeviceMapping AWS API Documentation
|
@@ -3438,8 +3482,8 @@ module Aws::EC2
|
|
3438
3482
|
# date and time specified in your request. The reserved capacity is
|
3439
3483
|
# no longer available for your use.
|
3440
3484
|
#
|
3441
|
-
# * `cancelled` - The Capacity Reservation was
|
3442
|
-
#
|
3485
|
+
# * `cancelled` - The Capacity Reservation was cancelled. The reserved
|
3486
|
+
# capacity is no longer available for your use.
|
3443
3487
|
#
|
3444
3488
|
# * `pending` - The Capacity Reservation request was successful but
|
3445
3489
|
# the capacity provisioning is still pending.
|
@@ -3450,6 +3494,10 @@ module Aws::EC2
|
|
3450
3494
|
# retained for 60 minutes.
|
3451
3495
|
# @return [String]
|
3452
3496
|
#
|
3497
|
+
# @!attribute [rw] start_date
|
3498
|
+
# The date and time at which the Capacity Reservation was started.
|
3499
|
+
# @return [Time]
|
3500
|
+
#
|
3453
3501
|
# @!attribute [rw] end_date
|
3454
3502
|
# The date and time at which the Capacity Reservation expires. When a
|
3455
3503
|
# Capacity Reservation expires, the reserved capacity is released and
|
@@ -3510,6 +3558,7 @@ module Aws::EC2
|
|
3510
3558
|
:ebs_optimized,
|
3511
3559
|
:ephemeral_storage,
|
3512
3560
|
:state,
|
3561
|
+
:start_date,
|
3513
3562
|
:end_date,
|
3514
3563
|
:end_date_type,
|
3515
3564
|
:instance_match_criteria,
|
@@ -3547,10 +3596,9 @@ module Aws::EC2
|
|
3547
3596
|
# </note>
|
3548
3597
|
#
|
3549
3598
|
# For more information about Capacity Reservations, see [On-Demand
|
3550
|
-
# Capacity Reservations][1] in the *Amazon
|
3551
|
-
#
|
3552
|
-
#
|
3553
|
-
# Compute Cloud User Guide*.
|
3599
|
+
# Capacity Reservations][1] in the *Amazon EC2 User Guide*. For examples
|
3600
|
+
# of using Capacity Reservations in an EC2 Fleet, see [EC2 Fleet example
|
3601
|
+
# configurations][2] in the *Amazon EC2 User Guide*.
|
3554
3602
|
#
|
3555
3603
|
#
|
3556
3604
|
#
|
@@ -3591,10 +3639,9 @@ module Aws::EC2
|
|
3591
3639
|
# </note>
|
3592
3640
|
#
|
3593
3641
|
# For more information about Capacity Reservations, see [On-Demand
|
3594
|
-
# Capacity Reservations][1] in the *Amazon
|
3595
|
-
#
|
3596
|
-
#
|
3597
|
-
# Compute Cloud User Guide*.
|
3642
|
+
# Capacity Reservations][1] in the *Amazon EC2 User Guide*. For examples
|
3643
|
+
# of using Capacity Reservations in an EC2 Fleet, see [EC2 Fleet example
|
3644
|
+
# configurations][2] in the *Amazon EC2 User Guide*.
|
3598
3645
|
#
|
3599
3646
|
#
|
3600
3647
|
#
|
@@ -5261,7 +5308,7 @@ module Aws::EC2
|
|
5261
5308
|
#
|
5262
5309
|
# @!attribute [rw] client_token
|
5263
5310
|
# Unique, case-sensitive identifier that you provide to ensure the
|
5264
|
-
# idempotency of the request. For more information, see [
|
5311
|
+
# idempotency of the request. For more information, see [Ensure
|
5265
5312
|
# Idempotency][1].
|
5266
5313
|
#
|
5267
5314
|
#
|
@@ -5271,8 +5318,7 @@ module Aws::EC2
|
|
5271
5318
|
#
|
5272
5319
|
# @!attribute [rw] instance_type
|
5273
5320
|
# The instance type for which to reserve capacity. For more
|
5274
|
-
# information, see [Instance
|
5275
|
-
# Cloud User Guide*.
|
5321
|
+
# information, see [Instance types][1] in the *Amazon EC2 User Guide*.
|
5276
5322
|
#
|
5277
5323
|
#
|
5278
5324
|
#
|
@@ -6313,7 +6359,7 @@ module Aws::EC2
|
|
6313
6359
|
# @!attribute [rw] type
|
6314
6360
|
# The type of request. The default value is `maintain`.
|
6315
6361
|
#
|
6316
|
-
# * `maintain` - The EC2 Fleet
|
6362
|
+
# * `maintain` - The EC2 Fleet places an asynchronous request for your
|
6317
6363
|
# desired capacity, and continues to maintain your desired Spot
|
6318
6364
|
# capacity by replenishing interrupted Spot Instances.
|
6319
6365
|
#
|
@@ -6327,7 +6373,7 @@ module Aws::EC2
|
|
6327
6373
|
# that could not be launched.
|
6328
6374
|
#
|
6329
6375
|
# For more information, see [EC2 Fleet request types][1] in the
|
6330
|
-
# *Amazon
|
6376
|
+
# *Amazon EC2 User Guide*.
|
6331
6377
|
#
|
6332
6378
|
#
|
6333
6379
|
#
|
@@ -10355,7 +10401,7 @@ module Aws::EC2
|
|
10355
10401
|
# Indicates whether to enable Amazon EBS Multi-Attach. If you enable
|
10356
10402
|
# Multi-Attach, you can attach the volume to up to 16 [Instances built
|
10357
10403
|
# on the Nitro System][1] in the same Availability Zone. This
|
10358
|
-
# parameter is supported with `io1` volumes only. For more
|
10404
|
+
# parameter is supported with `io1` and `io2` volumes only. For more
|
10359
10405
|
# information, see [ Amazon EBS Multi-Attach][2] in the *Amazon
|
10360
10406
|
# Elastic Compute Cloud User Guide*.
|
10361
10407
|
#
|
@@ -10568,7 +10614,9 @@ module Aws::EC2
|
|
10568
10614
|
# attributes to `true`\: `enableDnsHostnames` and `enableDnsSupport`.
|
10569
10615
|
# Use ModifyVpcAttribute to set the VPC attributes.
|
10570
10616
|
#
|
10571
|
-
#
|
10617
|
+
# Private DNS is not supported for Amazon S3 interface endpoints.
|
10618
|
+
#
|
10619
|
+
# Default: `true` for supported endpoints
|
10572
10620
|
# @return [Boolean]
|
10573
10621
|
#
|
10574
10622
|
# @!attribute [rw] tag_specifications
|
@@ -13768,6 +13816,72 @@ module Aws::EC2
|
|
13768
13816
|
include Aws::Structure
|
13769
13817
|
end
|
13770
13818
|
|
13819
|
+
# @note When making an API call, you may pass DescribeAddressesAttributeRequest
|
13820
|
+
# data as a hash:
|
13821
|
+
#
|
13822
|
+
# {
|
13823
|
+
# allocation_ids: ["AllocationId"],
|
13824
|
+
# attribute: "domain-name", # accepts domain-name
|
13825
|
+
# next_token: "NextToken",
|
13826
|
+
# max_results: 1,
|
13827
|
+
# dry_run: false,
|
13828
|
+
# }
|
13829
|
+
#
|
13830
|
+
# @!attribute [rw] allocation_ids
|
13831
|
+
# \[EC2-VPC\] The allocation IDs.
|
13832
|
+
# @return [Array<String>]
|
13833
|
+
#
|
13834
|
+
# @!attribute [rw] attribute
|
13835
|
+
# The attribute of the IP address.
|
13836
|
+
# @return [String]
|
13837
|
+
#
|
13838
|
+
# @!attribute [rw] next_token
|
13839
|
+
# The token for the next page of results.
|
13840
|
+
# @return [String]
|
13841
|
+
#
|
13842
|
+
# @!attribute [rw] max_results
|
13843
|
+
# The maximum number of results to return with a single call. To
|
13844
|
+
# retrieve the remaining results, make another call with the returned
|
13845
|
+
# `nextToken` value.
|
13846
|
+
# @return [Integer]
|
13847
|
+
#
|
13848
|
+
# @!attribute [rw] dry_run
|
13849
|
+
# Checks whether you have the required permissions for the action,
|
13850
|
+
# without actually making the request, and provides an error response.
|
13851
|
+
# If you have the required permissions, the error response is
|
13852
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
13853
|
+
# @return [Boolean]
|
13854
|
+
#
|
13855
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAddressesAttributeRequest AWS API Documentation
|
13856
|
+
#
|
13857
|
+
class DescribeAddressesAttributeRequest < Struct.new(
|
13858
|
+
:allocation_ids,
|
13859
|
+
:attribute,
|
13860
|
+
:next_token,
|
13861
|
+
:max_results,
|
13862
|
+
:dry_run)
|
13863
|
+
SENSITIVE = []
|
13864
|
+
include Aws::Structure
|
13865
|
+
end
|
13866
|
+
|
13867
|
+
# @!attribute [rw] addresses
|
13868
|
+
# Information about the IP addresses.
|
13869
|
+
# @return [Array<Types::AddressAttribute>]
|
13870
|
+
#
|
13871
|
+
# @!attribute [rw] next_token
|
13872
|
+
# The token to use to retrieve the next page of results. This value is
|
13873
|
+
# `null` when there are no more results to return.
|
13874
|
+
# @return [String]
|
13875
|
+
#
|
13876
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeAddressesAttributeResult AWS API Documentation
|
13877
|
+
#
|
13878
|
+
class DescribeAddressesAttributeResult < Struct.new(
|
13879
|
+
:addresses,
|
13880
|
+
:next_token)
|
13881
|
+
SENSITIVE = []
|
13882
|
+
include Aws::Structure
|
13883
|
+
end
|
13884
|
+
|
13771
13885
|
# @note When making an API call, you may pass DescribeAddressesRequest
|
13772
13886
|
# data as a hash:
|
13773
13887
|
#
|
@@ -14211,8 +14325,8 @@ module Aws::EC2
|
|
14211
14325
|
# the date and time specified in your request. The reserved
|
14212
14326
|
# capacity is no longer available for your use.
|
14213
14327
|
#
|
14214
|
-
# * `cancelled` - The Capacity Reservation was
|
14215
|
-
#
|
14328
|
+
# * `cancelled` - The Capacity Reservation was cancelled. The
|
14329
|
+
# reserved capacity is no longer available for your use.
|
14216
14330
|
#
|
14217
14331
|
# * `pending` - The Capacity Reservation request was successful but
|
14218
14332
|
# the capacity provisioning is still pending.
|
@@ -17354,8 +17468,8 @@ module Aws::EC2
|
|
17354
17468
|
# @return [Boolean]
|
17355
17469
|
#
|
17356
17470
|
# @!attribute [rw] instance_types
|
17357
|
-
# The instance types. For more information, see [Instance
|
17358
|
-
# the *Amazon
|
17471
|
+
# The instance types. For more information, see [Instance types][1] in
|
17472
|
+
# the *Amazon EC2 User Guide*.
|
17359
17473
|
#
|
17360
17474
|
#
|
17361
17475
|
#
|
@@ -17519,8 +17633,8 @@ module Aws::EC2
|
|
17519
17633
|
end
|
17520
17634
|
|
17521
17635
|
# @!attribute [rw] instance_types
|
17522
|
-
# The instance type. For more information, see [Instance
|
17523
|
-
# the *Amazon
|
17636
|
+
# The instance type. For more information, see [Instance types][1] in
|
17637
|
+
# the *Amazon EC2 User Guide*.
|
17524
17638
|
#
|
17525
17639
|
#
|
17526
17640
|
#
|
@@ -20339,8 +20453,8 @@ module Aws::EC2
|
|
20339
20453
|
#
|
20340
20454
|
# @!attribute [rw] instance_type
|
20341
20455
|
# The instance type that the reservation will cover (for example,
|
20342
|
-
# `m1.small`). For more information, see [Instance
|
20343
|
-
# *Amazon
|
20456
|
+
# `m1.small`). For more information, see [Instance types][1] in the
|
20457
|
+
# *Amazon EC2 User Guide*.
|
20344
20458
|
#
|
20345
20459
|
#
|
20346
20460
|
#
|
@@ -25996,7 +26110,7 @@ module Aws::EC2
|
|
25996
26110
|
# @!attribute [rw] delete_on_termination
|
25997
26111
|
# Indicates whether the EBS volume is deleted on instance termination.
|
25998
26112
|
# For more information, see [Preserving Amazon EBS volumes on instance
|
25999
|
-
# termination][1] in the Amazon
|
26113
|
+
# termination][1] in the *Amazon EC2 User Guide*.
|
26000
26114
|
#
|
26001
26115
|
#
|
26002
26116
|
#
|
@@ -26047,18 +26161,15 @@ module Aws::EC2
|
|
26047
26161
|
#
|
26048
26162
|
# * `io1` and `io2`\: 4-16,384
|
26049
26163
|
#
|
26050
|
-
# * `st1`\:
|
26051
|
-
#
|
26052
|
-
# * `sc1`\: 500-16,384
|
26164
|
+
# * `st1` and `sc1`\: 125-16,384
|
26053
26165
|
#
|
26054
26166
|
# * `standard`\: 1-1,024
|
26055
26167
|
# @return [Integer]
|
26056
26168
|
#
|
26057
26169
|
# @!attribute [rw] volume_type
|
26058
26170
|
# The volume type. For more information, see [Amazon EBS volume
|
26059
|
-
# types][1] in the *Amazon
|
26060
|
-
#
|
26061
|
-
# volume supports.
|
26171
|
+
# types][1] in the *Amazon EC2 User Guide*. If the volume type is
|
26172
|
+
# `io1` or `io2`, you must specify the IOPS that the volume supports.
|
26062
26173
|
#
|
26063
26174
|
#
|
26064
26175
|
#
|
@@ -26094,7 +26205,7 @@ module Aws::EC2
|
|
26094
26205
|
# the encryption state to `true` depends on the volume origin (new or
|
26095
26206
|
# from a snapshot), starting encryption state, ownership, and whether
|
26096
26207
|
# encryption by default is enabled. For more information, see [Amazon
|
26097
|
-
# EBS
|
26208
|
+
# EBS encryption][1] in the *Amazon EC2 User Guide*.
|
26098
26209
|
#
|
26099
26210
|
# In no case can you remove encryption from an encrypted volume.
|
26100
26211
|
#
|
@@ -26129,8 +26240,8 @@ module Aws::EC2
|
|
26129
26240
|
#
|
26130
26241
|
# @!attribute [rw] ebs_optimized_support
|
26131
26242
|
# Indicates whether the instance type is Amazon EBS-optimized. For
|
26132
|
-
# more information, see [Amazon EBS-
|
26133
|
-
# EC2 User Guide
|
26243
|
+
# more information, see [Amazon EBS-optimized instances][1] in *Amazon
|
26244
|
+
# EC2 User Guide*.
|
26134
26245
|
#
|
26135
26246
|
#
|
26136
26247
|
#
|
@@ -28324,8 +28435,7 @@ module Aws::EC2
|
|
28324
28435
|
# Describes the Amazon EC2 launch template and the launch template
|
28325
28436
|
# version that can be used by an EC2 Fleet to configure Amazon EC2
|
28326
28437
|
# instances. For information about launch templates, see [Launching an
|
28327
|
-
# instance from a launch template][1] in the *Amazon
|
28328
|
-
# Cloud User Guide*.
|
28438
|
+
# instance from a launch template][1] in the *Amazon EC2 User Guide*.
|
28329
28439
|
#
|
28330
28440
|
#
|
28331
28441
|
#
|
@@ -28399,7 +28509,7 @@ module Aws::EC2
|
|
28399
28509
|
# The Spot Instance replacement strategy to use when Amazon EC2 emits a
|
28400
28510
|
# signal that your Spot Instance is at an elevated risk of being
|
28401
28511
|
# interrupted. For more information, see [Capacity rebalancing][1] in
|
28402
|
-
# the *Amazon
|
28512
|
+
# the *Amazon EC2 User Guide*.
|
28403
28513
|
#
|
28404
28514
|
#
|
28405
28515
|
#
|
@@ -28973,8 +29083,8 @@ module Aws::EC2
|
|
28973
29083
|
# date and time specified in your request. The reserved capacity is
|
28974
29084
|
# no longer available for your use.
|
28975
29085
|
#
|
28976
|
-
# * `cancelled` - The Capacity Reservation was
|
28977
|
-
#
|
29086
|
+
# * `cancelled` - The Capacity Reservation was cancelled. The reserved
|
29087
|
+
# capacity is no longer available for your use.
|
28978
29088
|
#
|
28979
29089
|
# * `pending` - The Capacity Reservation request was successful but
|
28980
29090
|
# the capacity provisioning is still pending.
|
@@ -30251,7 +30361,7 @@ module Aws::EC2
|
|
30251
30361
|
# Indicates whether your instance is configured for hibernation. This
|
30252
30362
|
# parameter is valid only if the instance meets the [hibernation
|
30253
30363
|
# prerequisites][1]. For more information, see [Hibernate your
|
30254
|
-
# instance][2] in the *Amazon
|
30364
|
+
# instance][2] in the *Amazon EC2 User Guide*.
|
30255
30365
|
#
|
30256
30366
|
#
|
30257
30367
|
#
|
@@ -30274,7 +30384,7 @@ module Aws::EC2
|
|
30274
30384
|
# Indicates whether your instance is configured for hibernation. This
|
30275
30385
|
# parameter is valid only if the instance meets the [hibernation
|
30276
30386
|
# prerequisites][1]. For more information, see [Hibernate your
|
30277
|
-
# instance][2] in the *Amazon
|
30387
|
+
# instance][2] in the *Amazon EC2 User Guide*.
|
30278
30388
|
#
|
30279
30389
|
#
|
30280
30390
|
#
|
@@ -30378,7 +30488,7 @@ module Aws::EC2
|
|
30378
30488
|
#
|
30379
30489
|
# @!attribute [rw] client_token
|
30380
30490
|
# Unique, case-sensitive identifier that you provide to ensure the
|
30381
|
-
# idempotency of the request. For more information, see [
|
30491
|
+
# idempotency of the request. For more information, see [Ensuring
|
30382
30492
|
# Idempotency][1].
|
30383
30493
|
#
|
30384
30494
|
#
|
@@ -30428,10 +30538,10 @@ module Aws::EC2
|
|
30428
30538
|
#
|
30429
30539
|
# @!attribute [rw] allows_multiple_instance_types
|
30430
30540
|
# Indicates whether the Dedicated Host supports multiple instance
|
30431
|
-
# types of the same instance family
|
30432
|
-
#
|
30433
|
-
#
|
30434
|
-
#
|
30541
|
+
# types of the same instance family. If the value is `on`, the
|
30542
|
+
# Dedicated Host supports multiple instance types in the instance
|
30543
|
+
# family. If the value is `off`, the Dedicated Host supports a single
|
30544
|
+
# instance type only.
|
30435
30545
|
# @return [String]
|
30436
30546
|
#
|
30437
30547
|
# @!attribute [rw] owner_id
|
@@ -32419,7 +32529,7 @@ module Aws::EC2
|
|
32419
32529
|
# the instance. A value of `true` means that checking is enabled, and
|
32420
32530
|
# `false` means that checking is disabled. The value must be `false`
|
32421
32531
|
# for the instance to perform NAT. For more information, see [NAT
|
32422
|
-
#
|
32532
|
+
# instances][1] in the *Amazon VPC User Guide*.
|
32423
32533
|
#
|
32424
32534
|
#
|
32425
32535
|
#
|
@@ -33701,8 +33811,8 @@ module Aws::EC2
|
|
33701
33811
|
# Describes the instance type.
|
33702
33812
|
#
|
33703
33813
|
# @!attribute [rw] instance_type
|
33704
|
-
# The instance type. For more information, see [Instance
|
33705
|
-
# the *Amazon
|
33814
|
+
# The instance type. For more information, see [Instance types][1] in
|
33815
|
+
# the *Amazon EC2 User Guide*.
|
33706
33816
|
#
|
33707
33817
|
#
|
33708
33818
|
#
|
@@ -33833,8 +33943,8 @@ module Aws::EC2
|
|
33833
33943
|
# The instance types offered.
|
33834
33944
|
#
|
33835
33945
|
# @!attribute [rw] instance_type
|
33836
|
-
# The instance type. For more information, see [Instance
|
33837
|
-
# the *Amazon
|
33946
|
+
# The instance type. For more information, see [Instance types][1] in
|
33947
|
+
# the *Amazon EC2 User Guide*.
|
33838
33948
|
#
|
33839
33949
|
#
|
33840
33950
|
#
|
@@ -36534,6 +36644,52 @@ module Aws::EC2
|
|
36534
36644
|
include Aws::Structure
|
36535
36645
|
end
|
36536
36646
|
|
36647
|
+
# @note When making an API call, you may pass ModifyAddressAttributeRequest
|
36648
|
+
# data as a hash:
|
36649
|
+
#
|
36650
|
+
# {
|
36651
|
+
# allocation_id: "AllocationId", # required
|
36652
|
+
# domain_name: "String",
|
36653
|
+
# dry_run: false,
|
36654
|
+
# }
|
36655
|
+
#
|
36656
|
+
# @!attribute [rw] allocation_id
|
36657
|
+
# \[EC2-VPC\] The allocation ID.
|
36658
|
+
# @return [String]
|
36659
|
+
#
|
36660
|
+
# @!attribute [rw] domain_name
|
36661
|
+
# The domain name to modify for the IP address.
|
36662
|
+
# @return [String]
|
36663
|
+
#
|
36664
|
+
# @!attribute [rw] dry_run
|
36665
|
+
# Checks whether you have the required permissions for the action,
|
36666
|
+
# without actually making the request, and provides an error response.
|
36667
|
+
# If you have the required permissions, the error response is
|
36668
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
36669
|
+
# @return [Boolean]
|
36670
|
+
#
|
36671
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyAddressAttributeRequest AWS API Documentation
|
36672
|
+
#
|
36673
|
+
class ModifyAddressAttributeRequest < Struct.new(
|
36674
|
+
:allocation_id,
|
36675
|
+
:domain_name,
|
36676
|
+
:dry_run)
|
36677
|
+
SENSITIVE = []
|
36678
|
+
include Aws::Structure
|
36679
|
+
end
|
36680
|
+
|
36681
|
+
# @!attribute [rw] address
|
36682
|
+
# Information about the Elastic IP address.
|
36683
|
+
# @return [Types::AddressAttribute]
|
36684
|
+
#
|
36685
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyAddressAttributeResult AWS API Documentation
|
36686
|
+
#
|
36687
|
+
class ModifyAddressAttributeResult < Struct.new(
|
36688
|
+
:address)
|
36689
|
+
SENSITIVE = []
|
36690
|
+
include Aws::Structure
|
36691
|
+
end
|
36692
|
+
|
36537
36693
|
# @note When making an API call, you may pass ModifyAvailabilityZoneGroupRequest
|
36538
36694
|
# data as a hash:
|
36539
36695
|
#
|
@@ -36596,6 +36752,7 @@ module Aws::EC2
|
|
36596
36752
|
# instance_count: 1,
|
36597
36753
|
# end_date: Time.now,
|
36598
36754
|
# end_date_type: "unlimited", # accepts unlimited, limited
|
36755
|
+
# accept: false,
|
36599
36756
|
# dry_run: false,
|
36600
36757
|
# }
|
36601
36758
|
#
|
@@ -36636,6 +36793,11 @@ module Aws::EC2
|
|
36636
36793
|
# `EndDateType` is `limited`.
|
36637
36794
|
# @return [String]
|
36638
36795
|
#
|
36796
|
+
# @!attribute [rw] accept
|
36797
|
+
# Reserved. Capacity Reservations you have created are accepted by
|
36798
|
+
# default.
|
36799
|
+
# @return [Boolean]
|
36800
|
+
#
|
36639
36801
|
# @!attribute [rw] dry_run
|
36640
36802
|
# Checks whether you have the required permissions for the action,
|
36641
36803
|
# without actually making the request, and provides an error response.
|
@@ -36650,6 +36812,7 @@ module Aws::EC2
|
|
36650
36812
|
:instance_count,
|
36651
36813
|
:end_date,
|
36652
36814
|
:end_date_type,
|
36815
|
+
:accept,
|
36653
36816
|
:dry_run)
|
36654
36817
|
SENSITIVE = []
|
36655
36818
|
include Aws::Structure
|
@@ -37138,8 +37301,8 @@ module Aws::EC2
|
|
37138
37301
|
#
|
37139
37302
|
# @!attribute [rw] host_recovery
|
37140
37303
|
# Indicates whether to enable or disable host recovery for the
|
37141
|
-
# Dedicated Host. For more information, see [ Host
|
37142
|
-
# *Amazon
|
37304
|
+
# Dedicated Host. For more information, see [ Host recovery][1] in the
|
37305
|
+
# *Amazon EC2 User Guide*.
|
37143
37306
|
#
|
37144
37307
|
#
|
37145
37308
|
#
|
@@ -37442,7 +37605,7 @@ module Aws::EC2
|
|
37442
37605
|
# To add instance store volumes to an Amazon EBS-backed instance, you
|
37443
37606
|
# must add them when you launch the instance. For more information,
|
37444
37607
|
# see [Updating the block device mapping when launching an
|
37445
|
-
# instance][1] in the *Amazon
|
37608
|
+
# instance][1] in the *Amazon EC2 User Guide*.
|
37446
37609
|
#
|
37447
37610
|
#
|
37448
37611
|
#
|
@@ -37498,8 +37661,9 @@ module Aws::EC2
|
|
37498
37661
|
#
|
37499
37662
|
# @!attribute [rw] instance_type
|
37500
37663
|
# Changes the instance type to the specified value. For more
|
37501
|
-
# information, see [Instance types][1]
|
37502
|
-
# valid, the error returned is
|
37664
|
+
# information, see [Instance types][1] in the *Amazon EC2 User Guide*.
|
37665
|
+
# If the instance type is not valid, the error returned is
|
37666
|
+
# `InvalidInstanceAttributeValue`.
|
37503
37667
|
#
|
37504
37668
|
#
|
37505
37669
|
#
|
@@ -39007,6 +39171,7 @@ module Aws::EC2
|
|
39007
39171
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
39008
39172
|
# iops: 1,
|
39009
39173
|
# throughput: 1,
|
39174
|
+
# multi_attach_enabled: false,
|
39010
39175
|
# }
|
39011
39176
|
#
|
39012
39177
|
# @!attribute [rw] dry_run
|
@@ -39075,6 +39240,20 @@ module Aws::EC2
|
|
39075
39240
|
# Valid Range: Minimum value of 125. Maximum value of 1000.
|
39076
39241
|
# @return [Integer]
|
39077
39242
|
#
|
39243
|
+
# @!attribute [rw] multi_attach_enabled
|
39244
|
+
# Specifies whether to enable Amazon EBS Multi-Attach. If you enable
|
39245
|
+
# Multi-Attach, you can attach the volume to up to 16 [ Nitro-based
|
39246
|
+
# instances][1] in the same Availability Zone. This parameter is
|
39247
|
+
# supported with `io1` and `io2` volumes only. For more information,
|
39248
|
+
# see [ Amazon EBS Multi-Attach][2] in the *Amazon Elastic Compute
|
39249
|
+
# Cloud User Guide*.
|
39250
|
+
#
|
39251
|
+
#
|
39252
|
+
#
|
39253
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
|
39254
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-volumes-multi.html
|
39255
|
+
# @return [Boolean]
|
39256
|
+
#
|
39078
39257
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVolumeRequest AWS API Documentation
|
39079
39258
|
#
|
39080
39259
|
class ModifyVolumeRequest < Struct.new(
|
@@ -39083,7 +39262,8 @@ module Aws::EC2
|
|
39083
39262
|
:size,
|
39084
39263
|
:volume_type,
|
39085
39264
|
:iops,
|
39086
|
-
:throughput
|
39265
|
+
:throughput,
|
39266
|
+
:multi_attach_enabled)
|
39087
39267
|
SENSITIVE = []
|
39088
39268
|
include Aws::Structure
|
39089
39269
|
end
|
@@ -39279,6 +39459,8 @@ module Aws::EC2
|
|
39279
39459
|
# @!attribute [rw] private_dns_enabled
|
39280
39460
|
# (Interface endpoint) Indicates whether a private hosted zone is
|
39281
39461
|
# associated with the VPC.
|
39462
|
+
#
|
39463
|
+
# Private DNS is not supported for Amazon S3 interface endpoints.
|
39282
39464
|
# @return [Boolean]
|
39283
39465
|
#
|
39284
39466
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVpcEndpointRequest AWS API Documentation
|
@@ -42339,6 +42521,31 @@ module Aws::EC2
|
|
42339
42521
|
include Aws::Structure
|
42340
42522
|
end
|
42341
42523
|
|
42524
|
+
# The status of an updated pointer (PTR) record for an Elastic IP
|
42525
|
+
# address.
|
42526
|
+
#
|
42527
|
+
# @!attribute [rw] value
|
42528
|
+
# The value for the PTR record update.
|
42529
|
+
# @return [String]
|
42530
|
+
#
|
42531
|
+
# @!attribute [rw] status
|
42532
|
+
# The status of the PTR record update.
|
42533
|
+
# @return [String]
|
42534
|
+
#
|
42535
|
+
# @!attribute [rw] reason
|
42536
|
+
# The reason for the PTR record update.
|
42537
|
+
# @return [String]
|
42538
|
+
#
|
42539
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PtrUpdateStatus AWS API Documentation
|
42540
|
+
#
|
42541
|
+
class PtrUpdateStatus < Struct.new(
|
42542
|
+
:value,
|
42543
|
+
:status,
|
42544
|
+
:reason)
|
42545
|
+
SENSITIVE = []
|
42546
|
+
include Aws::Structure
|
42547
|
+
end
|
42548
|
+
|
42342
42549
|
# Describes an IPv4 address pool.
|
42343
42550
|
#
|
42344
42551
|
# @!attribute [rw] pool_id
|
@@ -42489,7 +42696,7 @@ module Aws::EC2
|
|
42489
42696
|
#
|
42490
42697
|
# @!attribute [rw] client_token
|
42491
42698
|
# Unique, case-sensitive identifier that you provide to ensure the
|
42492
|
-
# idempotency of the request. For more information, see [
|
42699
|
+
# idempotency of the request. For more information, see [Ensuring
|
42493
42700
|
# Idempotency][1].
|
42494
42701
|
#
|
42495
42702
|
#
|
@@ -42541,7 +42748,7 @@ module Aws::EC2
|
|
42541
42748
|
|
42542
42749
|
# @!attribute [rw] client_token
|
42543
42750
|
# Unique, case-sensitive identifier that you provide to ensure the
|
42544
|
-
# idempotency of the request. For more information, see [
|
42751
|
+
# idempotency of the request. For more information, see [Ensuring
|
42545
42752
|
# Idempotency][1].
|
42546
42753
|
#
|
42547
42754
|
#
|
@@ -45548,6 +45755,52 @@ module Aws::EC2
|
|
45548
45755
|
include Aws::Structure
|
45549
45756
|
end
|
45550
45757
|
|
45758
|
+
# @note When making an API call, you may pass ResetAddressAttributeRequest
|
45759
|
+
# data as a hash:
|
45760
|
+
#
|
45761
|
+
# {
|
45762
|
+
# allocation_id: "AllocationId", # required
|
45763
|
+
# attribute: "domain-name", # required, accepts domain-name
|
45764
|
+
# dry_run: false,
|
45765
|
+
# }
|
45766
|
+
#
|
45767
|
+
# @!attribute [rw] allocation_id
|
45768
|
+
# \[EC2-VPC\] The allocation ID.
|
45769
|
+
# @return [String]
|
45770
|
+
#
|
45771
|
+
# @!attribute [rw] attribute
|
45772
|
+
# The attribute of the IP address.
|
45773
|
+
# @return [String]
|
45774
|
+
#
|
45775
|
+
# @!attribute [rw] dry_run
|
45776
|
+
# Checks whether you have the required permissions for the action,
|
45777
|
+
# without actually making the request, and provides an error response.
|
45778
|
+
# If you have the required permissions, the error response is
|
45779
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
45780
|
+
# @return [Boolean]
|
45781
|
+
#
|
45782
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetAddressAttributeRequest AWS API Documentation
|
45783
|
+
#
|
45784
|
+
class ResetAddressAttributeRequest < Struct.new(
|
45785
|
+
:allocation_id,
|
45786
|
+
:attribute,
|
45787
|
+
:dry_run)
|
45788
|
+
SENSITIVE = []
|
45789
|
+
include Aws::Structure
|
45790
|
+
end
|
45791
|
+
|
45792
|
+
# @!attribute [rw] address
|
45793
|
+
# Information about the IP address.
|
45794
|
+
# @return [Types::AddressAttribute]
|
45795
|
+
#
|
45796
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ResetAddressAttributeResult AWS API Documentation
|
45797
|
+
#
|
45798
|
+
class ResetAddressAttributeResult < Struct.new(
|
45799
|
+
:address)
|
45800
|
+
SENSITIVE = []
|
45801
|
+
include Aws::Structure
|
45802
|
+
end
|
45803
|
+
|
45551
45804
|
# @note When making an API call, you may pass ResetEbsDefaultKmsKeyIdRequest
|
45552
45805
|
# data as a hash:
|
45553
45806
|
#
|
@@ -46796,7 +47049,7 @@ module Aws::EC2
|
|
46796
47049
|
#
|
46797
47050
|
# @!attribute [rw] instance_type
|
46798
47051
|
# The instance type. For more information, see [Instance types][1] in
|
46799
|
-
# the *Amazon
|
47052
|
+
# the *Amazon EC2 User Guide*.
|
46800
47053
|
#
|
46801
47054
|
# Default: `m1.small`
|
46802
47055
|
#
|
@@ -46832,8 +47085,8 @@ module Aws::EC2
|
|
46832
47085
|
# The ID of the kernel.
|
46833
47086
|
#
|
46834
47087
|
# We recommend that you use PV-GRUB instead of kernels and RAM disks.
|
46835
|
-
# For more information, see [ PV-GRUB][1] in the *Amazon
|
46836
|
-
#
|
47088
|
+
# For more information, see [ PV-GRUB][1] in the *Amazon EC2 User
|
47089
|
+
# Guide*.
|
46837
47090
|
#
|
46838
47091
|
#
|
46839
47092
|
#
|
@@ -46901,8 +47154,8 @@ module Aws::EC2
|
|
46901
47154
|
# kernel ID.
|
46902
47155
|
#
|
46903
47156
|
# We recommend that you use PV-GRUB instead of kernels and RAM disks.
|
46904
|
-
# For more information, see [ PV-GRUB][1] in the *Amazon
|
46905
|
-
#
|
47157
|
+
# For more information, see [ PV-GRUB][1] in the *Amazon EC2 User
|
47158
|
+
# Guide*.
|
46906
47159
|
#
|
46907
47160
|
#
|
46908
47161
|
#
|
@@ -47044,8 +47297,8 @@ module Aws::EC2
|
|
47044
47297
|
# An elastic GPU to associate with the instance. An Elastic GPU is a
|
47045
47298
|
# GPU resource that you can attach to your Windows instance to
|
47046
47299
|
# accelerate the graphics performance of your applications. For more
|
47047
|
-
# information, see [
|
47048
|
-
#
|
47300
|
+
# information, see [Amazon EC2 Elastic GPUs][1] in the *Amazon EC2
|
47301
|
+
# User Guide*.
|
47049
47302
|
#
|
47050
47303
|
#
|
47051
47304
|
#
|
@@ -47093,8 +47346,7 @@ module Aws::EC2
|
|
47093
47346
|
# instance. Valid values are `standard` and `unlimited`. To change
|
47094
47347
|
# this attribute after launch, use [
|
47095
47348
|
# ModifyInstanceCreditSpecification][1]. For more information, see
|
47096
|
-
# [Burstable performance instances][2] in the *Amazon
|
47097
|
-
# Cloud User Guide*.
|
47349
|
+
# [Burstable performance instances][2] in the *Amazon EC2 User Guide*.
|
47098
47350
|
#
|
47099
47351
|
# Default: `standard` (T2 instances) or `unlimited` (T3/T3a instances)
|
47100
47352
|
#
|
@@ -47106,8 +47358,7 @@ module Aws::EC2
|
|
47106
47358
|
#
|
47107
47359
|
# @!attribute [rw] cpu_options
|
47108
47360
|
# The CPU options for the instance. For more information, see
|
47109
|
-
# [Optimizing CPU options][1] in the *Amazon
|
47110
|
-
# User Guide*.
|
47361
|
+
# [Optimizing CPU options][1] in the *Amazon EC2 User Guide*.
|
47111
47362
|
#
|
47112
47363
|
#
|
47113
47364
|
#
|
@@ -47124,8 +47375,8 @@ module Aws::EC2
|
|
47124
47375
|
#
|
47125
47376
|
# @!attribute [rw] hibernation_options
|
47126
47377
|
# Indicates whether an instance is enabled for hibernation. For more
|
47127
|
-
# information, see [Hibernate your instance][1] in the *Amazon
|
47128
|
-
#
|
47378
|
+
# information, see [Hibernate your instance][1] in the *Amazon EC2
|
47379
|
+
# User Guide*.
|
47129
47380
|
#
|
47130
47381
|
# You can't enable hibernation and AWS Nitro Enclaves on the same
|
47131
47382
|
# instance.
|
@@ -47677,8 +47928,8 @@ module Aws::EC2
|
|
47677
47928
|
# @return [Types::ScheduledInstancesEbs]
|
47678
47929
|
#
|
47679
47930
|
# @!attribute [rw] no_device
|
47680
|
-
#
|
47681
|
-
#
|
47931
|
+
# To omit the device from the block device mapping, specify an empty
|
47932
|
+
# string.
|
47682
47933
|
# @return [String]
|
47683
47934
|
#
|
47684
47935
|
# @!attribute [rw] virtual_name
|
@@ -47734,9 +47985,9 @@ module Aws::EC2
|
|
47734
47985
|
# `io1` or `io2` volume, with a maximum ratio of 50 IOPS/GiB for
|
47735
47986
|
# `io1`, and 500 IOPS/GiB for `io2`. Range is 100 to 64,000 IOPS for
|
47736
47987
|
# volumes in most Regions. Maximum IOPS of 64,000 is guaranteed only
|
47737
|
-
# on [Nitro
|
47738
|
-
# performance up to 32,000 IOPS. For more information, see
|
47739
|
-
#
|
47988
|
+
# on [instances built on the Nitro System][1]. Other instance families
|
47989
|
+
# guarantee performance up to 32,000 IOPS. For more information, see
|
47990
|
+
# [Amazon EBS volume types][2] in the *Amazon EC2 User Guide*.
|
47740
47991
|
#
|
47741
47992
|
# This parameter is valid only for Provisioned IOPS SSD (`io1` and
|
47742
47993
|
# `io2`) volumes.
|
@@ -50161,9 +50412,8 @@ module Aws::EC2
|
|
50161
50412
|
#
|
50162
50413
|
# @!attribute [rw] spot_instance_type
|
50163
50414
|
# The Spot Instance request type. For [RunInstances][1], persistent
|
50164
|
-
# Spot Instance requests are only supported when
|
50165
|
-
#
|
50166
|
-
# `stop`.
|
50415
|
+
# Spot Instance requests are only supported when the instance
|
50416
|
+
# interruption behavior is either `hibernate` or `stop`.
|
50167
50417
|
#
|
50168
50418
|
#
|
50169
50419
|
#
|
@@ -50790,7 +51040,7 @@ module Aws::EC2
|
|
50790
51040
|
# Hibernates the instance if the instance was enabled for hibernation
|
50791
51041
|
# at launch. If the instance cannot hibernate successfully, a normal
|
50792
51042
|
# shutdown occurs. For more information, see [Hibernate your
|
50793
|
-
# instance][1] in the *Amazon
|
51043
|
+
# instance][1] in the *Amazon EC2 User Guide*.
|
50794
51044
|
#
|
50795
51045
|
# Default: `false`
|
50796
51046
|
#
|
@@ -51167,22 +51417,24 @@ module Aws::EC2
|
|
51167
51417
|
# The type of resource to tag. Currently, the resource types that
|
51168
51418
|
# support tagging on creation are: `capacity-reservation` \|
|
51169
51419
|
# `carrier-gateway` \| `client-vpn-endpoint` \| `customer-gateway` \|
|
51170
|
-
# `dedicated-host` \| `dhcp-options` \| `
|
51420
|
+
# `dedicated-host` \| `dhcp-options` \| `egress-only-internet-gateway`
|
51421
|
+
# \| `elastic-ip` \| `elastic-gpu` \| `export-image-task` \|
|
51171
51422
|
# `export-instance-task` \| `fleet` \| `fpga-image` \|
|
51172
|
-
# `host-reservation` \| `import-image-task` \|
|
51173
|
-
# \| `instance` \| `internet-gateway` \|
|
51174
|
-
# `ipv6pool-ec2` \| `key-pair` \| `launch-template`
|
51175
|
-
#
|
51176
|
-
# \| `
|
51423
|
+
# `host-reservation` \| `image`\| `import-image-task` \|
|
51424
|
+
# `import-snapshot-task` \| `instance` \| `internet-gateway` \|
|
51425
|
+
# `ipv4pool-ec2` \| `ipv6pool-ec2` \| `key-pair` \| `launch-template`
|
51426
|
+
# \| `local-gateway-route-table-vpc-association` \| `placement-group`
|
51427
|
+
# \| `prefix-list` \| `natgateway` \| `network-acl` \|
|
51428
|
+
# `network-interface` \| `reserved-instances` \|`route-table` \|
|
51429
|
+
# `security-group`\| `snapshot` \| `spot-fleet-request` \|
|
51177
51430
|
# `spot-instances-request` \| `snapshot` \| `subnet` \|
|
51178
51431
|
# `traffic-mirror-filter` \| `traffic-mirror-session` \|
|
51179
51432
|
# `traffic-mirror-target` \| `transit-gateway` \|
|
51180
|
-
# `transit-gateway-attachment` \| `transit-gateway-
|
51181
|
-
# `transit-gateway-
|
51182
|
-
#
|
51183
|
-
#
|
51184
|
-
#
|
51185
|
-
# `vpn-gateway`.
|
51433
|
+
# `transit-gateway-attachment` \| `transit-gateway-multicast-domain`
|
51434
|
+
# \| `transit-gateway-route-table` \| `volume` \|`vpc` \| `
|
51435
|
+
# vpc-peering-connection` \| `vpc-endpoint` (for interface and gateway
|
51436
|
+
# endpoints) \| `vpc-endpoint-service` (for AWS PrivateLink) \|
|
51437
|
+
# `vpc-flow-log` \| `vpn-connection` \| `vpn-gateway`.
|
51186
51438
|
#
|
51187
51439
|
# To tag a resource after it has been created, see [CreateTags][1].
|
51188
51440
|
#
|
@@ -51218,7 +51470,7 @@ module Aws::EC2
|
|
51218
51470
|
# willing to pay. When the maximum amount you're willing to pay is
|
51219
51471
|
# reached, the fleet stops launching instances even if it hasn’t met the
|
51220
51472
|
# target capacity. The `MaxTotalPrice` parameters are located in
|
51221
|
-
# [OnDemandOptions][1] and [SpotOptions][2]
|
51473
|
+
# [OnDemandOptions][1] and [SpotOptions][2].
|
51222
51474
|
#
|
51223
51475
|
#
|
51224
51476
|
#
|
@@ -54046,6 +54298,10 @@ module Aws::EC2
|
|
54046
54298
|
# The target throughput of the volume, in MiB/s.
|
54047
54299
|
# @return [Integer]
|
54048
54300
|
#
|
54301
|
+
# @!attribute [rw] target_multi_attach_enabled
|
54302
|
+
# The target setting for Amazon EBS Multi-Attach.
|
54303
|
+
# @return [Boolean]
|
54304
|
+
#
|
54049
54305
|
# @!attribute [rw] original_size
|
54050
54306
|
# The original size of the volume, in GiB.
|
54051
54307
|
# @return [Integer]
|
@@ -54062,6 +54318,10 @@ module Aws::EC2
|
|
54062
54318
|
# The original throughput of the volume, in MiB/s.
|
54063
54319
|
# @return [Integer]
|
54064
54320
|
#
|
54321
|
+
# @!attribute [rw] original_multi_attach_enabled
|
54322
|
+
# The original setting for Amazon EBS Multi-Attach.
|
54323
|
+
# @return [Boolean]
|
54324
|
+
#
|
54065
54325
|
# @!attribute [rw] progress
|
54066
54326
|
# The modification progress, from 0 to 100 percent complete.
|
54067
54327
|
# @return [Integer]
|
@@ -54084,10 +54344,12 @@ module Aws::EC2
|
|
54084
54344
|
:target_iops,
|
54085
54345
|
:target_volume_type,
|
54086
54346
|
:target_throughput,
|
54347
|
+
:target_multi_attach_enabled,
|
54087
54348
|
:original_size,
|
54088
54349
|
:original_iops,
|
54089
54350
|
:original_volume_type,
|
54090
54351
|
:original_throughput,
|
54352
|
+
:original_multi_attach_enabled,
|
54091
54353
|
:progress,
|
54092
54354
|
:start_time,
|
54093
54355
|
:end_time)
|