aws-sdk-ec2 1.222.0 → 1.227.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 +1252 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-ec2.rb +2 -2
- data/lib/aws-sdk-ec2/classic_address.rb +5 -5
- data/lib/aws-sdk-ec2/client.rb +452 -106
- data/lib/aws-sdk-ec2/client_api.rb +96 -5
- data/lib/aws-sdk-ec2/dhcp_options.rb +1 -1
- data/lib/aws-sdk-ec2/errors.rb +1 -1
- data/lib/aws-sdk-ec2/image.rb +5 -5
- data/lib/aws-sdk-ec2/instance.rb +2 -1
- data/lib/aws-sdk-ec2/internet_gateway.rb +1 -1
- data/lib/aws-sdk-ec2/key_pair.rb +1 -1
- data/lib/aws-sdk-ec2/key_pair_info.rb +1 -1
- data/lib/aws-sdk-ec2/nat_gateway.rb +1 -1
- data/lib/aws-sdk-ec2/network_acl.rb +1 -1
- data/lib/aws-sdk-ec2/network_interface.rb +3 -3
- data/lib/aws-sdk-ec2/network_interface_association.rb +1 -1
- data/lib/aws-sdk-ec2/placement_group.rb +1 -1
- data/lib/aws-sdk-ec2/resource.rb +66 -26
- data/lib/aws-sdk-ec2/route.rb +1 -1
- data/lib/aws-sdk-ec2/route_table.rb +1 -1
- data/lib/aws-sdk-ec2/route_table_association.rb +1 -1
- data/lib/aws-sdk-ec2/security_group.rb +1 -1
- data/lib/aws-sdk-ec2/snapshot.rb +27 -1
- data/lib/aws-sdk-ec2/subnet.rb +5 -5
- data/lib/aws-sdk-ec2/tag.rb +1 -1
- data/lib/aws-sdk-ec2/types.rb +558 -151
- data/lib/aws-sdk-ec2/volume.rb +23 -1
- data/lib/aws-sdk-ec2/vpc.rb +16 -15
- data/lib/aws-sdk-ec2/vpc_address.rb +7 -7
- data/lib/aws-sdk-ec2/vpc_peering_connection.rb +1 -1
- data/lib/aws-sdk-ec2/waiters.rb +1 -1
- metadata +6 -3
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -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
|
@@ -2345,6 +2365,8 @@ module Aws::EC2
|
|
2345
2365
|
|
2346
2366
|
AllocationIdList.member = Shapes::ShapeRef.new(shape: AllocationId, location_name: "AllocationId")
|
2347
2367
|
|
2368
|
+
AllocationIds.member = Shapes::ShapeRef.new(shape: AllocationId, location_name: "item")
|
2369
|
+
|
2348
2370
|
AllowedPrincipal.add_member(:principal_type, Shapes::ShapeRef.new(shape: PrincipalType, location_name: "principalType"))
|
2349
2371
|
AllowedPrincipal.add_member(:principal, Shapes::ShapeRef.new(shape: String, location_name: "principal"))
|
2350
2372
|
AllowedPrincipal.struct_class = Types::AllowedPrincipal
|
@@ -2499,8 +2521,8 @@ module Aws::EC2
|
|
2499
2521
|
AssociateRouteTableResult.add_member(:association_state, Shapes::ShapeRef.new(shape: RouteTableAssociationState, location_name: "associationState"))
|
2500
2522
|
AssociateRouteTableResult.struct_class = Types::AssociateRouteTableResult
|
2501
2523
|
|
2502
|
-
AssociateSubnetCidrBlockRequest.add_member(:ipv_6_cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ipv6CidrBlock"))
|
2503
2524
|
AssociateSubnetCidrBlockRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "subnetId"))
|
2525
|
+
AssociateSubnetCidrBlockRequest.add_member(:ipv_6_cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ipv6CidrBlock"))
|
2504
2526
|
AssociateSubnetCidrBlockRequest.struct_class = Types::AssociateSubnetCidrBlockRequest
|
2505
2527
|
|
2506
2528
|
AssociateSubnetCidrBlockResult.add_member(:ipv_6_cidr_block_association, Shapes::ShapeRef.new(shape: SubnetIpv6CidrBlockAssociation, location_name: "ipv6CidrBlockAssociation"))
|
@@ -3093,6 +3115,7 @@ module Aws::EC2
|
|
3093
3115
|
CopyImageRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
|
3094
3116
|
CopyImageRequest.add_member(:source_image_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceImageId"))
|
3095
3117
|
CopyImageRequest.add_member(:source_region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceRegion"))
|
3118
|
+
CopyImageRequest.add_member(:destination_outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "DestinationOutpostArn"))
|
3096
3119
|
CopyImageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
3097
3120
|
CopyImageRequest.struct_class = Types::CopyImageRequest
|
3098
3121
|
|
@@ -3100,6 +3123,7 @@ module Aws::EC2
|
|
3100
3123
|
CopyImageResult.struct_class = Types::CopyImageResult
|
3101
3124
|
|
3102
3125
|
CopySnapshotRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
3126
|
+
CopySnapshotRequest.add_member(:destination_outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "DestinationOutpostArn"))
|
3103
3127
|
CopySnapshotRequest.add_member(:destination_region, Shapes::ShapeRef.new(shape: String, location_name: "destinationRegion"))
|
3104
3128
|
CopySnapshotRequest.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "encrypted"))
|
3105
3129
|
CopySnapshotRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
|
@@ -3387,11 +3411,11 @@ module Aws::EC2
|
|
3387
3411
|
CreateManagedPrefixListResult.add_member(:prefix_list, Shapes::ShapeRef.new(shape: ManagedPrefixList, location_name: "prefixList"))
|
3388
3412
|
CreateManagedPrefixListResult.struct_class = Types::CreateManagedPrefixListResult
|
3389
3413
|
|
3390
|
-
CreateNatGatewayRequest.add_member(:allocation_id, Shapes::ShapeRef.new(shape: AllocationId, required: true, location_name: "AllocationId"))
|
3391
3414
|
CreateNatGatewayRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
3392
3415
|
CreateNatGatewayRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
3393
3416
|
CreateNatGatewayRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "SubnetId"))
|
3394
3417
|
CreateNatGatewayRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
3418
|
+
CreateNatGatewayRequest.add_member(:allocation_id, Shapes::ShapeRef.new(shape: AllocationId, required: true, location_name: "AllocationId"))
|
3395
3419
|
CreateNatGatewayRequest.struct_class = Types::CreateNatGatewayRequest
|
3396
3420
|
|
3397
3421
|
CreateNatGatewayResult.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
@@ -3517,6 +3541,7 @@ module Aws::EC2
|
|
3517
3541
|
CreateSecurityGroupResult.struct_class = Types::CreateSecurityGroupResult
|
3518
3542
|
|
3519
3543
|
CreateSnapshotRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
3544
|
+
CreateSnapshotRequest.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "OutpostArn"))
|
3520
3545
|
CreateSnapshotRequest.add_member(:volume_id, Shapes::ShapeRef.new(shape: VolumeId, required: true, location_name: "VolumeId"))
|
3521
3546
|
CreateSnapshotRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
3522
3547
|
CreateSnapshotRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
@@ -3524,6 +3549,7 @@ module Aws::EC2
|
|
3524
3549
|
|
3525
3550
|
CreateSnapshotsRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
3526
3551
|
CreateSnapshotsRequest.add_member(:instance_specification, Shapes::ShapeRef.new(shape: InstanceSpecification, required: true, location_name: "InstanceSpecification"))
|
3552
|
+
CreateSnapshotsRequest.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "OutpostArn"))
|
3527
3553
|
CreateSnapshotsRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
3528
3554
|
CreateSnapshotsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
3529
3555
|
CreateSnapshotsRequest.add_member(:copy_tags_from_source, Shapes::ShapeRef.new(shape: CopyTagsFromSource, location_name: "CopyTagsFromSource"))
|
@@ -3543,11 +3569,11 @@ module Aws::EC2
|
|
3543
3569
|
CreateSubnetRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
3544
3570
|
CreateSubnetRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZone"))
|
3545
3571
|
CreateSubnetRequest.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZoneId"))
|
3546
|
-
CreateSubnetRequest.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "CidrBlock"))
|
3547
3572
|
CreateSubnetRequest.add_member(:ipv_6_cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "Ipv6CidrBlock"))
|
3548
3573
|
CreateSubnetRequest.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "OutpostArn"))
|
3549
3574
|
CreateSubnetRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "VpcId"))
|
3550
3575
|
CreateSubnetRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
3576
|
+
CreateSubnetRequest.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "CidrBlock"))
|
3551
3577
|
CreateSubnetRequest.struct_class = Types::CreateSubnetRequest
|
3552
3578
|
|
3553
3579
|
CreateSubnetResult.add_member(:subnet, Shapes::ShapeRef.new(shape: Subnet, location_name: "subnet"))
|
@@ -4275,6 +4301,17 @@ module Aws::EC2
|
|
4275
4301
|
DescribeAccountAttributesResult.add_member(:account_attributes, Shapes::ShapeRef.new(shape: AccountAttributeList, location_name: "accountAttributeSet"))
|
4276
4302
|
DescribeAccountAttributesResult.struct_class = Types::DescribeAccountAttributesResult
|
4277
4303
|
|
4304
|
+
DescribeAddressesAttributeRequest.add_member(:allocation_ids, Shapes::ShapeRef.new(shape: AllocationIds, location_name: "AllocationId"))
|
4305
|
+
DescribeAddressesAttributeRequest.add_member(:attribute, Shapes::ShapeRef.new(shape: AddressAttributeName, location_name: "Attribute"))
|
4306
|
+
DescribeAddressesAttributeRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
4307
|
+
DescribeAddressesAttributeRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: AddressMaxResults, location_name: "MaxResults"))
|
4308
|
+
DescribeAddressesAttributeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
4309
|
+
DescribeAddressesAttributeRequest.struct_class = Types::DescribeAddressesAttributeRequest
|
4310
|
+
|
4311
|
+
DescribeAddressesAttributeResult.add_member(:addresses, Shapes::ShapeRef.new(shape: AddressSet, location_name: "addressSet"))
|
4312
|
+
DescribeAddressesAttributeResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
4313
|
+
DescribeAddressesAttributeResult.struct_class = Types::DescribeAddressesAttributeResult
|
4314
|
+
|
4278
4315
|
DescribeAddressesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
|
4279
4316
|
DescribeAddressesRequest.add_member(:public_ips, Shapes::ShapeRef.new(shape: PublicIpStringList, location_name: "PublicIp"))
|
4280
4317
|
DescribeAddressesRequest.add_member(:allocation_ids, Shapes::ShapeRef.new(shape: AllocationIdList, location_name: "AllocationId"))
|
@@ -5789,6 +5826,7 @@ module Aws::EC2
|
|
5789
5826
|
EbsBlockDevice.add_member(:volume_type, Shapes::ShapeRef.new(shape: VolumeType, location_name: "volumeType"))
|
5790
5827
|
EbsBlockDevice.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
|
5791
5828
|
EbsBlockDevice.add_member(:throughput, Shapes::ShapeRef.new(shape: Integer, location_name: "throughput"))
|
5829
|
+
EbsBlockDevice.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "outpostArn"))
|
5792
5830
|
EbsBlockDevice.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "encrypted"))
|
5793
5831
|
EbsBlockDevice.struct_class = Types::EbsBlockDevice
|
5794
5832
|
|
@@ -7698,6 +7736,14 @@ module Aws::EC2
|
|
7698
7736
|
MemoryInfo.add_member(:size_in_mi_b, Shapes::ShapeRef.new(shape: MemorySize, location_name: "sizeInMiB"))
|
7699
7737
|
MemoryInfo.struct_class = Types::MemoryInfo
|
7700
7738
|
|
7739
|
+
ModifyAddressAttributeRequest.add_member(:allocation_id, Shapes::ShapeRef.new(shape: AllocationId, required: true, location_name: "AllocationId"))
|
7740
|
+
ModifyAddressAttributeRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: String, location_name: "DomainName"))
|
7741
|
+
ModifyAddressAttributeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
7742
|
+
ModifyAddressAttributeRequest.struct_class = Types::ModifyAddressAttributeRequest
|
7743
|
+
|
7744
|
+
ModifyAddressAttributeResult.add_member(:address, Shapes::ShapeRef.new(shape: AddressAttribute, location_name: "address"))
|
7745
|
+
ModifyAddressAttributeResult.struct_class = Types::ModifyAddressAttributeResult
|
7746
|
+
|
7701
7747
|
ModifyAvailabilityZoneGroupRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "GroupName"))
|
7702
7748
|
ModifyAvailabilityZoneGroupRequest.add_member(:opt_in_status, Shapes::ShapeRef.new(shape: ModifyAvailabilityZoneOptInStatus, required: true, location_name: "OptInStatus"))
|
7703
7749
|
ModifyAvailabilityZoneGroupRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
@@ -8666,6 +8712,11 @@ module Aws::EC2
|
|
8666
8712
|
ProvisionedBandwidth.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
|
8667
8713
|
ProvisionedBandwidth.struct_class = Types::ProvisionedBandwidth
|
8668
8714
|
|
8715
|
+
PtrUpdateStatus.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
|
8716
|
+
PtrUpdateStatus.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
|
8717
|
+
PtrUpdateStatus.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
|
8718
|
+
PtrUpdateStatus.struct_class = Types::PtrUpdateStatus
|
8719
|
+
|
8669
8720
|
PublicIpStringList.member = Shapes::ShapeRef.new(shape: String, location_name: "PublicIp")
|
8670
8721
|
|
8671
8722
|
PublicIpv4Pool.add_member(:pool_id, Shapes::ShapeRef.new(shape: String, location_name: "poolId"))
|
@@ -9141,6 +9192,14 @@ module Aws::EC2
|
|
9141
9192
|
|
9142
9193
|
ReservedIntancesIds.member = Shapes::ShapeRef.new(shape: ReservedInstancesId, location_name: "item")
|
9143
9194
|
|
9195
|
+
ResetAddressAttributeRequest.add_member(:allocation_id, Shapes::ShapeRef.new(shape: AllocationId, required: true, location_name: "AllocationId"))
|
9196
|
+
ResetAddressAttributeRequest.add_member(:attribute, Shapes::ShapeRef.new(shape: AddressAttributeName, required: true, location_name: "Attribute"))
|
9197
|
+
ResetAddressAttributeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
9198
|
+
ResetAddressAttributeRequest.struct_class = Types::ResetAddressAttributeRequest
|
9199
|
+
|
9200
|
+
ResetAddressAttributeResult.add_member(:address, Shapes::ShapeRef.new(shape: AddressAttribute, location_name: "address"))
|
9201
|
+
ResetAddressAttributeResult.struct_class = Types::ResetAddressAttributeResult
|
9202
|
+
|
9144
9203
|
ResetEbsDefaultKmsKeyIdRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
9145
9204
|
ResetEbsDefaultKmsKeyIdRequest.struct_class = Types::ResetEbsDefaultKmsKeyIdRequest
|
9146
9205
|
|
@@ -9628,6 +9687,7 @@ module Aws::EC2
|
|
9628
9687
|
Snapshot.add_member(:volume_id, Shapes::ShapeRef.new(shape: String, location_name: "volumeId"))
|
9629
9688
|
Snapshot.add_member(:volume_size, Shapes::ShapeRef.new(shape: Integer, location_name: "volumeSize"))
|
9630
9689
|
Snapshot.add_member(:owner_alias, Shapes::ShapeRef.new(shape: String, location_name: "ownerAlias"))
|
9690
|
+
Snapshot.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "outpostArn"))
|
9631
9691
|
Snapshot.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
9632
9692
|
Snapshot.struct_class = Types::Snapshot
|
9633
9693
|
|
@@ -9663,6 +9723,7 @@ module Aws::EC2
|
|
9663
9723
|
SnapshotInfo.add_member(:progress, Shapes::ShapeRef.new(shape: String, location_name: "progress"))
|
9664
9724
|
SnapshotInfo.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
|
9665
9725
|
SnapshotInfo.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: String, location_name: "snapshotId"))
|
9726
|
+
SnapshotInfo.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "outpostArn"))
|
9666
9727
|
SnapshotInfo.struct_class = Types::SnapshotInfo
|
9667
9728
|
|
9668
9729
|
SnapshotList.member = Shapes::ShapeRef.new(shape: Snapshot, location_name: "item")
|
@@ -9935,7 +9996,7 @@ module Aws::EC2
|
|
9935
9996
|
|
9936
9997
|
SubnetIdStringList.member = Shapes::ShapeRef.new(shape: SubnetId, location_name: "SubnetId")
|
9937
9998
|
|
9938
|
-
SubnetIpv6CidrBlockAssociation.add_member(:association_id, Shapes::ShapeRef.new(shape:
|
9999
|
+
SubnetIpv6CidrBlockAssociation.add_member(:association_id, Shapes::ShapeRef.new(shape: SubnetCidrAssociationId, location_name: "associationId"))
|
9939
10000
|
SubnetIpv6CidrBlockAssociation.add_member(:ipv_6_cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "ipv6CidrBlock"))
|
9940
10001
|
SubnetIpv6CidrBlockAssociation.add_member(:ipv_6_cidr_block_state, Shapes::ShapeRef.new(shape: SubnetCidrBlockState, location_name: "ipv6CidrBlockState"))
|
9941
10002
|
SubnetIpv6CidrBlockAssociation.struct_class = Types::SubnetIpv6CidrBlockAssociation
|
@@ -12183,6 +12244,20 @@ module Aws::EC2
|
|
12183
12244
|
o.output = Shapes::ShapeRef.new(shape: DescribeAddressesResult)
|
12184
12245
|
end)
|
12185
12246
|
|
12247
|
+
api.add_operation(:describe_addresses_attribute, Seahorse::Model::Operation.new.tap do |o|
|
12248
|
+
o.name = "DescribeAddressesAttribute"
|
12249
|
+
o.http_method = "POST"
|
12250
|
+
o.http_request_uri = "/"
|
12251
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeAddressesAttributeRequest)
|
12252
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeAddressesAttributeResult)
|
12253
|
+
o[:pager] = Aws::Pager.new(
|
12254
|
+
limit_key: "max_results",
|
12255
|
+
tokens: {
|
12256
|
+
"next_token" => "next_token"
|
12257
|
+
}
|
12258
|
+
)
|
12259
|
+
end)
|
12260
|
+
|
12186
12261
|
api.add_operation(:describe_aggregate_id_format, Seahorse::Model::Operation.new.tap do |o|
|
12187
12262
|
o.name = "DescribeAggregateIdFormat"
|
12188
12263
|
o.http_method = "POST"
|
@@ -14140,6 +14215,14 @@ module Aws::EC2
|
|
14140
14215
|
o.output = Shapes::ShapeRef.new(shape: ImportVolumeResult)
|
14141
14216
|
end)
|
14142
14217
|
|
14218
|
+
api.add_operation(:modify_address_attribute, Seahorse::Model::Operation.new.tap do |o|
|
14219
|
+
o.name = "ModifyAddressAttribute"
|
14220
|
+
o.http_method = "POST"
|
14221
|
+
o.http_request_uri = "/"
|
14222
|
+
o.input = Shapes::ShapeRef.new(shape: ModifyAddressAttributeRequest)
|
14223
|
+
o.output = Shapes::ShapeRef.new(shape: ModifyAddressAttributeResult)
|
14224
|
+
end)
|
14225
|
+
|
14143
14226
|
api.add_operation(:modify_availability_zone_group, Seahorse::Model::Operation.new.tap do |o|
|
14144
14227
|
o.name = "ModifyAvailabilityZoneGroup"
|
14145
14228
|
o.http_method = "POST"
|
@@ -14700,6 +14783,14 @@ module Aws::EC2
|
|
14700
14783
|
o.output = Shapes::ShapeRef.new(shape: RequestSpotInstancesResult)
|
14701
14784
|
end)
|
14702
14785
|
|
14786
|
+
api.add_operation(:reset_address_attribute, Seahorse::Model::Operation.new.tap do |o|
|
14787
|
+
o.name = "ResetAddressAttribute"
|
14788
|
+
o.http_method = "POST"
|
14789
|
+
o.http_request_uri = "/"
|
14790
|
+
o.input = Shapes::ShapeRef.new(shape: ResetAddressAttributeRequest)
|
14791
|
+
o.output = Shapes::ShapeRef.new(shape: ResetAddressAttributeResult)
|
14792
|
+
end)
|
14793
|
+
|
14703
14794
|
api.add_operation(:reset_ebs_default_kms_key_id, Seahorse::Model::Operation.new.tap do |o|
|
14704
14795
|
o.name = "ResetEbsDefaultKmsKeyId"
|
14705
14796
|
o.http_method = "POST"
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
data/lib/aws-sdk-ec2/errors.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
data/lib/aws-sdk-ec2/image.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -485,10 +485,10 @@ module Aws::EC2
|
|
485
485
|
# @option options [required, String] :attribute
|
486
486
|
# The AMI attribute.
|
487
487
|
#
|
488
|
-
# **Note**\:
|
489
|
-
#
|
490
|
-
#
|
491
|
-
#
|
488
|
+
# **Note**\: The `blockDeviceMapping` attribute is deprecated. Using
|
489
|
+
# this attribute returns the `Client.AuthFailure` error. To get
|
490
|
+
# information about the block device mappings for an AMI, use the
|
491
|
+
# DescribeImages action.
|
492
492
|
# @option options [Boolean] :dry_run
|
493
493
|
# Checks whether you have the required permissions for the action,
|
494
494
|
# without actually making the request, and provides an error response.
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -654,6 +654,7 @@ module Aws::EC2
|
|
654
654
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
655
655
|
# kms_key_id: "String",
|
656
656
|
# throughput: 1,
|
657
|
+
# outpost_arn: "String",
|
657
658
|
# encrypted: false,
|
658
659
|
# },
|
659
660
|
# no_device: "String",
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
data/lib/aws-sdk-ec2/key_pair.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -107,8 +107,8 @@ module Aws::EC2
|
|
107
107
|
data[:private_ip_addresses]
|
108
108
|
end
|
109
109
|
|
110
|
-
# The
|
111
|
-
#
|
110
|
+
# The alias or AWS account ID of the principal or service that created
|
111
|
+
# the network interface.
|
112
112
|
# @return [String]
|
113
113
|
def requester_id
|
114
114
|
data[:requester_id]
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -92,6 +92,7 @@ module Aws::EC2
|
|
92
92
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
93
93
|
# kms_key_id: "String",
|
94
94
|
# throughput: 1,
|
95
|
+
# outpost_arn: "String",
|
95
96
|
# encrypted: false,
|
96
97
|
# },
|
97
98
|
# no_device: "String",
|
@@ -412,7 +413,7 @@ module Aws::EC2
|
|
412
413
|
#
|
413
414
|
# Default: `false`
|
414
415
|
# @option options [Types::IamInstanceProfileSpecification] :iam_instance_profile
|
415
|
-
# The IAM instance profile.
|
416
|
+
# The name or Amazon Resource Name (ARN) of an IAM instance profile.
|
416
417
|
# @option options [String] :instance_initiated_shutdown_behavior
|
417
418
|
# Indicates whether an instance stops or terminates when you initiate
|
418
419
|
# shutdown from the instance (using the operating system command for
|
@@ -619,7 +620,6 @@ module Aws::EC2
|
|
619
620
|
# @example Request syntax with placeholder values
|
620
621
|
#
|
621
622
|
# natgateway = ec2.create_nat_gateway({
|
622
|
-
# allocation_id: "AllocationId", # required
|
623
623
|
# client_token: "String",
|
624
624
|
# dry_run: false,
|
625
625
|
# subnet_id: "SubnetId", # required
|
@@ -634,12 +634,9 @@ module Aws::EC2
|
|
634
634
|
# ],
|
635
635
|
# },
|
636
636
|
# ],
|
637
|
+
# allocation_id: "AllocationId", # required
|
637
638
|
# })
|
638
639
|
# @param [Hash] options ({})
|
639
|
-
# @option options [required, String] :allocation_id
|
640
|
-
# The allocation ID of an Elastic IP address to associate with the NAT
|
641
|
-
# gateway. If the Elastic IP address is associated with another
|
642
|
-
# resource, you must first disassociate it.
|
643
640
|
# @option options [String] :client_token
|
644
641
|
# Unique, case-sensitive identifier that you provide to ensure the
|
645
642
|
# idempotency of the request. For more information, see [How to Ensure
|
@@ -659,6 +656,10 @@ module Aws::EC2
|
|
659
656
|
# The subnet in which to create the NAT gateway.
|
660
657
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
661
658
|
# The tags to assign to the NAT gateway.
|
659
|
+
# @option options [required, String] :allocation_id
|
660
|
+
# The allocation ID of an Elastic IP address to associate with the NAT
|
661
|
+
# gateway. If the Elastic IP address is associated with another
|
662
|
+
# resource, you must first disassociate it.
|
662
663
|
# @return [NatGateway]
|
663
664
|
def create_nat_gateway(options = {})
|
664
665
|
resp = @client.create_nat_gateway(options)
|
@@ -948,6 +949,7 @@ module Aws::EC2
|
|
948
949
|
#
|
949
950
|
# snapshot = ec2.create_snapshot({
|
950
951
|
# description: "String",
|
952
|
+
# outpost_arn: "String",
|
951
953
|
# volume_id: "VolumeId", # required
|
952
954
|
# tag_specifications: [
|
953
955
|
# {
|
@@ -965,6 +967,27 @@ module Aws::EC2
|
|
965
967
|
# @param [Hash] options ({})
|
966
968
|
# @option options [String] :description
|
967
969
|
# A description for the snapshot.
|
970
|
+
# @option options [String] :outpost_arn
|
971
|
+
# The Amazon Resource Name (ARN) of the AWS Outpost on which to create a
|
972
|
+
# local snapshot.
|
973
|
+
#
|
974
|
+
# * To create a snapshot of a volume in a Region, omit this parameter.
|
975
|
+
# The snapshot is created in the same Region as the volume.
|
976
|
+
#
|
977
|
+
# * To create a snapshot of a volume on an Outpost and store the
|
978
|
+
# snapshot in the Region, omit this parameter. The snapshot is created
|
979
|
+
# in the Region for the Outpost.
|
980
|
+
#
|
981
|
+
# * To create a snapshot of a volume on an Outpost and store the
|
982
|
+
# snapshot on an Outpost, specify the ARN of the destination Outpost.
|
983
|
+
# The snapshot must be created on the same Outpost as the volume.
|
984
|
+
#
|
985
|
+
# For more information, see [ Creating local snapshots from volumes on
|
986
|
+
# an Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
987
|
+
#
|
988
|
+
#
|
989
|
+
#
|
990
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#create-snapshot
|
968
991
|
# @option options [required, String] :volume_id
|
969
992
|
# The ID of the EBS volume.
|
970
993
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
@@ -1000,11 +1023,11 @@ module Aws::EC2
|
|
1000
1023
|
# ],
|
1001
1024
|
# availability_zone: "String",
|
1002
1025
|
# availability_zone_id: "String",
|
1003
|
-
# cidr_block: "String", # required
|
1004
1026
|
# ipv_6_cidr_block: "String",
|
1005
1027
|
# outpost_arn: "String",
|
1006
1028
|
# vpc_id: "VpcId", # required
|
1007
1029
|
# dry_run: false,
|
1030
|
+
# cidr_block: "String", # required
|
1008
1031
|
# })
|
1009
1032
|
# @param [Hash] options ({})
|
1010
1033
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
@@ -1029,11 +1052,6 @@ module Aws::EC2
|
|
1029
1052
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions
|
1030
1053
|
# @option options [String] :availability_zone_id
|
1031
1054
|
# The AZ ID or the Local Zone ID of the subnet.
|
1032
|
-
# @option options [required, String] :cidr_block
|
1033
|
-
# The IPv4 network range for the subnet, in CIDR notation. For example,
|
1034
|
-
# `10.0.0.0/24`. We modify the specified CIDR block to its canonical
|
1035
|
-
# form; for example, if you specify `100.68.0.18/18`, we modify it to
|
1036
|
-
# `100.68.0.0/18`.
|
1037
1055
|
# @option options [String] :ipv_6_cidr_block
|
1038
1056
|
# The IPv6 network range for the subnet, in CIDR notation. The subnet
|
1039
1057
|
# size must use a /64 prefix length.
|
@@ -1048,6 +1066,11 @@ module Aws::EC2
|
|
1048
1066
|
# without actually making the request, and provides an error response.
|
1049
1067
|
# If you have the required permissions, the error response is
|
1050
1068
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
1069
|
+
# @option options [required, String] :cidr_block
|
1070
|
+
# The IPv4 network range for the subnet, in CIDR notation. For example,
|
1071
|
+
# `10.0.0.0/24`. We modify the specified CIDR block to its canonical
|
1072
|
+
# form; for example, if you specify `100.68.0.18/18`, we modify it to
|
1073
|
+
# `100.68.0.0/18`.
|
1051
1074
|
# @return [Subnet]
|
1052
1075
|
def create_subnet(options = {})
|
1053
1076
|
resp = @client.create_subnet(options)
|
@@ -1505,6 +1528,7 @@ module Aws::EC2
|
|
1505
1528
|
# volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
|
1506
1529
|
# kms_key_id: "String",
|
1507
1530
|
# throughput: 1,
|
1531
|
+
# outpost_arn: "String",
|
1508
1532
|
# encrypted: false,
|
1509
1533
|
# },
|
1510
1534
|
# no_device: "String",
|
@@ -1538,6 +1562,20 @@ module Aws::EC2
|
|
1538
1562
|
# AMIs, the architecture specified in the manifest file.
|
1539
1563
|
# @option options [Array<Types::BlockDeviceMapping>] :block_device_mappings
|
1540
1564
|
# The block device mapping entries.
|
1565
|
+
#
|
1566
|
+
# If you specify an EBS volume using the ID of an EBS snapshot, you
|
1567
|
+
# can't specify the encryption state of the volume.
|
1568
|
+
#
|
1569
|
+
# If you create an AMI on an Outpost, then all backing snapshots must be
|
1570
|
+
# on the same Outpost or in the Region of that Outpost. AMIs on an
|
1571
|
+
# Outpost that include local snapshots can be used to launch instances
|
1572
|
+
# on the same Outpost only. For more information, [ Amazon EBS local
|
1573
|
+
# snapshots on Outposts][1] in the *Amazon Elastic Compute Cloud User
|
1574
|
+
# Guide*.
|
1575
|
+
#
|
1576
|
+
#
|
1577
|
+
#
|
1578
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#ami
|
1541
1579
|
# @option options [String] :description
|
1542
1580
|
# A description for your AMI.
|
1543
1581
|
# @option options [Boolean] :dry_run
|
@@ -1816,13 +1854,14 @@ module Aws::EC2
|
|
1816
1854
|
#
|
1817
1855
|
# * `name` - The name of the AMI (provided during image creation).
|
1818
1856
|
#
|
1819
|
-
# * `owner-alias` - The owner alias
|
1820
|
-
#
|
1821
|
-
# account alias set using the IAM console. We
|
1822
|
-
# the
|
1857
|
+
# * `owner-alias` - The owner alias (`amazon` \| `aws-marketplace`). The
|
1858
|
+
# valid aliases are defined in an Amazon-maintained list. This is not
|
1859
|
+
# the AWS account alias that can be set using the IAM console. We
|
1860
|
+
# recommend that you use the **Owner** request parameter instead of
|
1861
|
+
# this filter.
|
1823
1862
|
#
|
1824
1863
|
# * `owner-id` - The AWS account ID of the owner. We recommend that you
|
1825
|
-
# use the
|
1864
|
+
# use the **Owner** request parameter instead of this filter.
|
1826
1865
|
#
|
1827
1866
|
# * `platform` - The platform. To only list Windows-based AMIs, use
|
1828
1867
|
# `windows`.
|
@@ -2632,9 +2671,8 @@ module Aws::EC2
|
|
2632
2671
|
# * `private-dns-name` - The private DNS name of the network interface
|
2633
2672
|
# (IPv4).
|
2634
2673
|
#
|
2635
|
-
# * `requester-id` - The
|
2636
|
-
#
|
2637
|
-
# so on).
|
2674
|
+
# * `requester-id` - The alias or AWS account ID of the principal or
|
2675
|
+
# service that created the network interface.
|
2638
2676
|
#
|
2639
2677
|
# * `requester-managed` - Indicates whether the network interface is
|
2640
2678
|
# being managed by an AWS service (for example, AWS Management
|
@@ -2932,7 +2970,7 @@ module Aws::EC2
|
|
2932
2970
|
# has been referenced in an outbound security group rule.
|
2933
2971
|
#
|
2934
2972
|
# * `egress.ip-permission.group-name` - The name of a security group
|
2935
|
-
# that
|
2973
|
+
# that is referenced in an outbound security group rule.
|
2936
2974
|
#
|
2937
2975
|
# * `egress.ip-permission.ipv6-cidr` - An IPv6 CIDR block for an
|
2938
2976
|
# outbound security group rule.
|
@@ -2941,7 +2979,8 @@ module Aws::EC2
|
|
2941
2979
|
# which a security group rule allows outbound access.
|
2942
2980
|
#
|
2943
2981
|
# * `egress.ip-permission.protocol` - The IP protocol for an outbound
|
2944
|
-
# security group rule (`tcp` \| `udp` \| `icmp
|
2982
|
+
# security group rule (`tcp` \| `udp` \| `icmp`, a protocol number, or
|
2983
|
+
# -1 for all protocols).
|
2945
2984
|
#
|
2946
2985
|
# * `egress.ip-permission.to-port` - For an outbound rule, the end of
|
2947
2986
|
# port range for the TCP and UDP protocols, or an ICMP code.
|
@@ -2962,8 +3001,8 @@ module Aws::EC2
|
|
2962
3001
|
# * `ip-permission.group-id` - The ID of a security group that has been
|
2963
3002
|
# referenced in an inbound security group rule.
|
2964
3003
|
#
|
2965
|
-
# * `ip-permission.group-name` - The name of a security group that
|
2966
|
-
#
|
3004
|
+
# * `ip-permission.group-name` - The name of a security group that is
|
3005
|
+
# referenced in an inbound security group rule.
|
2967
3006
|
#
|
2968
3007
|
# * `ip-permission.ipv6-cidr` - An IPv6 CIDR block for an inbound
|
2969
3008
|
# security group rule.
|
@@ -2972,7 +3011,8 @@ module Aws::EC2
|
|
2972
3011
|
# a security group rule allows inbound access.
|
2973
3012
|
#
|
2974
3013
|
# * `ip-permission.protocol` - The IP protocol for an inbound security
|
2975
|
-
# group rule (`tcp` \| `udp` \| `icmp
|
3014
|
+
# group rule (`tcp` \| `udp` \| `icmp`, a protocol number, or -1 for
|
3015
|
+
# all protocols).
|
2976
3016
|
#
|
2977
3017
|
# * `ip-permission.to-port` - For an inbound rule, the end of port range
|
2978
3018
|
# for the TCP and UDP protocols, or an ICMP code.
|