aws-sdk-ec2 1.240.0 → 1.245.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/classic_address.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +452 -105
- data/lib/aws-sdk-ec2/client_api.rb +123 -1
- data/lib/aws-sdk-ec2/image.rb +8 -0
- data/lib/aws-sdk-ec2/instance.rb +3 -2
- data/lib/aws-sdk-ec2/nat_gateway.rb +7 -0
- data/lib/aws-sdk-ec2/network_interface.rb +5 -4
- data/lib/aws-sdk-ec2/resource.rb +38 -15
- data/lib/aws-sdk-ec2/subnet.rb +10 -6
- data/lib/aws-sdk-ec2/types.rb +488 -73
- data/lib/aws-sdk-ec2/vpc.rb +4 -4
- data/lib/aws-sdk-ec2/vpc_address.rb +1 -1
- metadata +2 -2
@@ -98,6 +98,8 @@ module Aws::EC2
|
|
98
98
|
AssociateTransitGatewayMulticastDomainResult = Shapes::StructureShape.new(name: 'AssociateTransitGatewayMulticastDomainResult')
|
99
99
|
AssociateTransitGatewayRouteTableRequest = Shapes::StructureShape.new(name: 'AssociateTransitGatewayRouteTableRequest')
|
100
100
|
AssociateTransitGatewayRouteTableResult = Shapes::StructureShape.new(name: 'AssociateTransitGatewayRouteTableResult')
|
101
|
+
AssociateTrunkInterfaceRequest = Shapes::StructureShape.new(name: 'AssociateTrunkInterfaceRequest')
|
102
|
+
AssociateTrunkInterfaceResult = Shapes::StructureShape.new(name: 'AssociateTrunkInterfaceResult')
|
101
103
|
AssociateVpcCidrBlockRequest = Shapes::StructureShape.new(name: 'AssociateVpcCidrBlockRequest')
|
102
104
|
AssociateVpcCidrBlockResult = Shapes::StructureShape.new(name: 'AssociateVpcCidrBlockResult')
|
103
105
|
AssociatedNetworkType = Shapes::StringShape.new(name: 'AssociatedNetworkType')
|
@@ -271,6 +273,7 @@ module Aws::EC2
|
|
271
273
|
ConnectionNotificationSet = Shapes::ListShape.new(name: 'ConnectionNotificationSet')
|
272
274
|
ConnectionNotificationState = Shapes::StringShape.new(name: 'ConnectionNotificationState')
|
273
275
|
ConnectionNotificationType = Shapes::StringShape.new(name: 'ConnectionNotificationType')
|
276
|
+
ConnectivityType = Shapes::StringShape.new(name: 'ConnectivityType')
|
274
277
|
ContainerFormat = Shapes::StringShape.new(name: 'ContainerFormat')
|
275
278
|
ConversionIdStringList = Shapes::ListShape.new(name: 'ConversionIdStringList')
|
276
279
|
ConversionTask = Shapes::StructureShape.new(name: 'ConversionTask')
|
@@ -795,6 +798,9 @@ module Aws::EC2
|
|
795
798
|
DescribeTransitGatewayVpcAttachmentsResult = Shapes::StructureShape.new(name: 'DescribeTransitGatewayVpcAttachmentsResult')
|
796
799
|
DescribeTransitGatewaysRequest = Shapes::StructureShape.new(name: 'DescribeTransitGatewaysRequest')
|
797
800
|
DescribeTransitGatewaysResult = Shapes::StructureShape.new(name: 'DescribeTransitGatewaysResult')
|
801
|
+
DescribeTrunkInterfaceAssociationsMaxResults = Shapes::IntegerShape.new(name: 'DescribeTrunkInterfaceAssociationsMaxResults')
|
802
|
+
DescribeTrunkInterfaceAssociationsRequest = Shapes::StructureShape.new(name: 'DescribeTrunkInterfaceAssociationsRequest')
|
803
|
+
DescribeTrunkInterfaceAssociationsResult = Shapes::StructureShape.new(name: 'DescribeTrunkInterfaceAssociationsResult')
|
798
804
|
DescribeVolumeAttributeRequest = Shapes::StructureShape.new(name: 'DescribeVolumeAttributeRequest')
|
799
805
|
DescribeVolumeAttributeResult = Shapes::StructureShape.new(name: 'DescribeVolumeAttributeResult')
|
800
806
|
DescribeVolumeStatusRequest = Shapes::StructureShape.new(name: 'DescribeVolumeStatusRequest')
|
@@ -860,6 +866,8 @@ module Aws::EC2
|
|
860
866
|
DisableFastSnapshotRestoreSuccessSet = Shapes::ListShape.new(name: 'DisableFastSnapshotRestoreSuccessSet')
|
861
867
|
DisableFastSnapshotRestoresRequest = Shapes::StructureShape.new(name: 'DisableFastSnapshotRestoresRequest')
|
862
868
|
DisableFastSnapshotRestoresResult = Shapes::StructureShape.new(name: 'DisableFastSnapshotRestoresResult')
|
869
|
+
DisableImageDeprecationRequest = Shapes::StructureShape.new(name: 'DisableImageDeprecationRequest')
|
870
|
+
DisableImageDeprecationResult = Shapes::StructureShape.new(name: 'DisableImageDeprecationResult')
|
863
871
|
DisableSerialConsoleAccessRequest = Shapes::StructureShape.new(name: 'DisableSerialConsoleAccessRequest')
|
864
872
|
DisableSerialConsoleAccessResult = Shapes::StructureShape.new(name: 'DisableSerialConsoleAccessResult')
|
865
873
|
DisableTransitGatewayRouteTablePropagationRequest = Shapes::StructureShape.new(name: 'DisableTransitGatewayRouteTablePropagationRequest')
|
@@ -883,6 +891,8 @@ module Aws::EC2
|
|
883
891
|
DisassociateTransitGatewayMulticastDomainResult = Shapes::StructureShape.new(name: 'DisassociateTransitGatewayMulticastDomainResult')
|
884
892
|
DisassociateTransitGatewayRouteTableRequest = Shapes::StructureShape.new(name: 'DisassociateTransitGatewayRouteTableRequest')
|
885
893
|
DisassociateTransitGatewayRouteTableResult = Shapes::StructureShape.new(name: 'DisassociateTransitGatewayRouteTableResult')
|
894
|
+
DisassociateTrunkInterfaceRequest = Shapes::StructureShape.new(name: 'DisassociateTrunkInterfaceRequest')
|
895
|
+
DisassociateTrunkInterfaceResult = Shapes::StructureShape.new(name: 'DisassociateTrunkInterfaceResult')
|
886
896
|
DisassociateVpcCidrBlockRequest = Shapes::StructureShape.new(name: 'DisassociateVpcCidrBlockRequest')
|
887
897
|
DisassociateVpcCidrBlockResult = Shapes::StructureShape.new(name: 'DisassociateVpcCidrBlockResult')
|
888
898
|
DiskCount = Shapes::IntegerShape.new(name: 'DiskCount')
|
@@ -949,6 +959,8 @@ module Aws::EC2
|
|
949
959
|
EnableFastSnapshotRestoreSuccessSet = Shapes::ListShape.new(name: 'EnableFastSnapshotRestoreSuccessSet')
|
950
960
|
EnableFastSnapshotRestoresRequest = Shapes::StructureShape.new(name: 'EnableFastSnapshotRestoresRequest')
|
951
961
|
EnableFastSnapshotRestoresResult = Shapes::StructureShape.new(name: 'EnableFastSnapshotRestoresResult')
|
962
|
+
EnableImageDeprecationRequest = Shapes::StructureShape.new(name: 'EnableImageDeprecationRequest')
|
963
|
+
EnableImageDeprecationResult = Shapes::StructureShape.new(name: 'EnableImageDeprecationResult')
|
952
964
|
EnableSerialConsoleAccessRequest = Shapes::StructureShape.new(name: 'EnableSerialConsoleAccessRequest')
|
953
965
|
EnableSerialConsoleAccessResult = Shapes::StructureShape.new(name: 'EnableSerialConsoleAccessResult')
|
954
966
|
EnableTransitGatewayRouteTablePropagationRequest = Shapes::StructureShape.new(name: 'EnableTransitGatewayRouteTablePropagationRequest')
|
@@ -1274,6 +1286,7 @@ module Aws::EC2
|
|
1274
1286
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
1275
1287
|
IntegrateServices = Shapes::StructureShape.new(name: 'IntegrateServices')
|
1276
1288
|
InterfacePermissionType = Shapes::StringShape.new(name: 'InterfacePermissionType')
|
1289
|
+
InterfaceProtocolType = Shapes::StringShape.new(name: 'InterfaceProtocolType')
|
1277
1290
|
InternetGateway = Shapes::StructureShape.new(name: 'InternetGateway')
|
1278
1291
|
InternetGatewayAttachment = Shapes::StructureShape.new(name: 'InternetGatewayAttachment')
|
1279
1292
|
InternetGatewayAttachmentList = Shapes::ListShape.new(name: 'InternetGatewayAttachmentList')
|
@@ -2130,6 +2143,10 @@ module Aws::EC2
|
|
2130
2143
|
TransitGatewayVpcAttachmentList = Shapes::ListShape.new(name: 'TransitGatewayVpcAttachmentList')
|
2131
2144
|
TransitGatewayVpcAttachmentOptions = Shapes::StructureShape.new(name: 'TransitGatewayVpcAttachmentOptions')
|
2132
2145
|
TransportProtocol = Shapes::StringShape.new(name: 'TransportProtocol')
|
2146
|
+
TrunkInterfaceAssociation = Shapes::StructureShape.new(name: 'TrunkInterfaceAssociation')
|
2147
|
+
TrunkInterfaceAssociationId = Shapes::StringShape.new(name: 'TrunkInterfaceAssociationId')
|
2148
|
+
TrunkInterfaceAssociationIdList = Shapes::ListShape.new(name: 'TrunkInterfaceAssociationIdList')
|
2149
|
+
TrunkInterfaceAssociationList = Shapes::ListShape.new(name: 'TrunkInterfaceAssociationList')
|
2133
2150
|
TunnelInsideIpVersion = Shapes::StringShape.new(name: 'TunnelInsideIpVersion')
|
2134
2151
|
TunnelOption = Shapes::StructureShape.new(name: 'TunnelOption')
|
2135
2152
|
TunnelOptionsList = Shapes::ListShape.new(name: 'TunnelOptionsList')
|
@@ -2586,6 +2603,18 @@ module Aws::EC2
|
|
2586
2603
|
AssociateTransitGatewayRouteTableResult.add_member(:association, Shapes::ShapeRef.new(shape: TransitGatewayAssociation, location_name: "association"))
|
2587
2604
|
AssociateTransitGatewayRouteTableResult.struct_class = Types::AssociateTransitGatewayRouteTableResult
|
2588
2605
|
|
2606
|
+
AssociateTrunkInterfaceRequest.add_member(:branch_interface_id, Shapes::ShapeRef.new(shape: NetworkInterfaceId, required: true, location_name: "BranchInterfaceId"))
|
2607
|
+
AssociateTrunkInterfaceRequest.add_member(:trunk_interface_id, Shapes::ShapeRef.new(shape: NetworkInterfaceId, required: true, location_name: "TrunkInterfaceId"))
|
2608
|
+
AssociateTrunkInterfaceRequest.add_member(:vlan_id, Shapes::ShapeRef.new(shape: Integer, location_name: "VlanId"))
|
2609
|
+
AssociateTrunkInterfaceRequest.add_member(:gre_key, Shapes::ShapeRef.new(shape: Integer, location_name: "GreKey"))
|
2610
|
+
AssociateTrunkInterfaceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
2611
|
+
AssociateTrunkInterfaceRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
2612
|
+
AssociateTrunkInterfaceRequest.struct_class = Types::AssociateTrunkInterfaceRequest
|
2613
|
+
|
2614
|
+
AssociateTrunkInterfaceResult.add_member(:interface_association, Shapes::ShapeRef.new(shape: TrunkInterfaceAssociation, location_name: "interfaceAssociation"))
|
2615
|
+
AssociateTrunkInterfaceResult.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
2616
|
+
AssociateTrunkInterfaceResult.struct_class = Types::AssociateTrunkInterfaceResult
|
2617
|
+
|
2589
2618
|
AssociateVpcCidrBlockRequest.add_member(:amazon_provided_ipv_6_cidr_block, Shapes::ShapeRef.new(shape: Boolean, location_name: "amazonProvidedIpv6CidrBlock"))
|
2590
2619
|
AssociateVpcCidrBlockRequest.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "CidrBlock"))
|
2591
2620
|
AssociateVpcCidrBlockRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "vpcId"))
|
@@ -3463,11 +3492,12 @@ module Aws::EC2
|
|
3463
3492
|
CreateManagedPrefixListResult.add_member(:prefix_list, Shapes::ShapeRef.new(shape: ManagedPrefixList, location_name: "prefixList"))
|
3464
3493
|
CreateManagedPrefixListResult.struct_class = Types::CreateManagedPrefixListResult
|
3465
3494
|
|
3495
|
+
CreateNatGatewayRequest.add_member(:allocation_id, Shapes::ShapeRef.new(shape: AllocationId, location_name: "AllocationId"))
|
3466
3496
|
CreateNatGatewayRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
3467
3497
|
CreateNatGatewayRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
3468
3498
|
CreateNatGatewayRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "SubnetId"))
|
3469
3499
|
CreateNatGatewayRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
3470
|
-
CreateNatGatewayRequest.add_member(:
|
3500
|
+
CreateNatGatewayRequest.add_member(:connectivity_type, Shapes::ShapeRef.new(shape: ConnectivityType, location_name: "ConnectivityType"))
|
3471
3501
|
CreateNatGatewayRequest.struct_class = Types::CreateNatGatewayRequest
|
3472
3502
|
|
3473
3503
|
CreateNatGatewayResult.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
@@ -4782,6 +4812,7 @@ module Aws::EC2
|
|
4782
4812
|
DescribeImagesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
|
4783
4813
|
DescribeImagesRequest.add_member(:image_ids, Shapes::ShapeRef.new(shape: ImageIdStringList, location_name: "ImageId"))
|
4784
4814
|
DescribeImagesRequest.add_member(:owners, Shapes::ShapeRef.new(shape: OwnerStringList, location_name: "Owner"))
|
4815
|
+
DescribeImagesRequest.add_member(:include_deprecated, Shapes::ShapeRef.new(shape: Boolean, location_name: "IncludeDeprecated"))
|
4785
4816
|
DescribeImagesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
4786
4817
|
DescribeImagesRequest.struct_class = Types::DescribeImagesRequest
|
4787
4818
|
|
@@ -5521,6 +5552,17 @@ module Aws::EC2
|
|
5521
5552
|
DescribeTransitGatewaysResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
5522
5553
|
DescribeTransitGatewaysResult.struct_class = Types::DescribeTransitGatewaysResult
|
5523
5554
|
|
5555
|
+
DescribeTrunkInterfaceAssociationsRequest.add_member(:association_ids, Shapes::ShapeRef.new(shape: TrunkInterfaceAssociationIdList, location_name: "AssociationId"))
|
5556
|
+
DescribeTrunkInterfaceAssociationsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
5557
|
+
DescribeTrunkInterfaceAssociationsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
|
5558
|
+
DescribeTrunkInterfaceAssociationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
5559
|
+
DescribeTrunkInterfaceAssociationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DescribeTrunkInterfaceAssociationsMaxResults, location_name: "MaxResults"))
|
5560
|
+
DescribeTrunkInterfaceAssociationsRequest.struct_class = Types::DescribeTrunkInterfaceAssociationsRequest
|
5561
|
+
|
5562
|
+
DescribeTrunkInterfaceAssociationsResult.add_member(:interface_associations, Shapes::ShapeRef.new(shape: TrunkInterfaceAssociationList, location_name: "interfaceAssociationSet"))
|
5563
|
+
DescribeTrunkInterfaceAssociationsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
5564
|
+
DescribeTrunkInterfaceAssociationsResult.struct_class = Types::DescribeTrunkInterfaceAssociationsResult
|
5565
|
+
|
5524
5566
|
DescribeVolumeAttributeRequest.add_member(:attribute, Shapes::ShapeRef.new(shape: VolumeAttributeName, required: true, location_name: "Attribute"))
|
5525
5567
|
DescribeVolumeAttributeRequest.add_member(:volume_id, Shapes::ShapeRef.new(shape: VolumeId, required: true, location_name: "VolumeId"))
|
5526
5568
|
DescribeVolumeAttributeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
@@ -5795,6 +5837,13 @@ module Aws::EC2
|
|
5795
5837
|
DisableFastSnapshotRestoresResult.add_member(:unsuccessful, Shapes::ShapeRef.new(shape: DisableFastSnapshotRestoreErrorSet, location_name: "unsuccessful"))
|
5796
5838
|
DisableFastSnapshotRestoresResult.struct_class = Types::DisableFastSnapshotRestoresResult
|
5797
5839
|
|
5840
|
+
DisableImageDeprecationRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, required: true, location_name: "ImageId"))
|
5841
|
+
DisableImageDeprecationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
5842
|
+
DisableImageDeprecationRequest.struct_class = Types::DisableImageDeprecationRequest
|
5843
|
+
|
5844
|
+
DisableImageDeprecationResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
5845
|
+
DisableImageDeprecationResult.struct_class = Types::DisableImageDeprecationResult
|
5846
|
+
|
5798
5847
|
DisableSerialConsoleAccessRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
5799
5848
|
DisableSerialConsoleAccessRequest.struct_class = Types::DisableSerialConsoleAccessRequest
|
5800
5849
|
|
@@ -5883,6 +5932,15 @@ module Aws::EC2
|
|
5883
5932
|
DisassociateTransitGatewayRouteTableResult.add_member(:association, Shapes::ShapeRef.new(shape: TransitGatewayAssociation, location_name: "association"))
|
5884
5933
|
DisassociateTransitGatewayRouteTableResult.struct_class = Types::DisassociateTransitGatewayRouteTableResult
|
5885
5934
|
|
5935
|
+
DisassociateTrunkInterfaceRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: TrunkInterfaceAssociationId, required: true, location_name: "AssociationId"))
|
5936
|
+
DisassociateTrunkInterfaceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
5937
|
+
DisassociateTrunkInterfaceRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
5938
|
+
DisassociateTrunkInterfaceRequest.struct_class = Types::DisassociateTrunkInterfaceRequest
|
5939
|
+
|
5940
|
+
DisassociateTrunkInterfaceResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
5941
|
+
DisassociateTrunkInterfaceResult.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
5942
|
+
DisassociateTrunkInterfaceResult.struct_class = Types::DisassociateTrunkInterfaceResult
|
5943
|
+
|
5886
5944
|
DisassociateVpcCidrBlockRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: VpcCidrAssociationId, required: true, location_name: "associationId"))
|
5887
5945
|
DisassociateVpcCidrBlockRequest.struct_class = Types::DisassociateVpcCidrBlockRequest
|
5888
5946
|
|
@@ -6073,6 +6131,14 @@ module Aws::EC2
|
|
6073
6131
|
EnableFastSnapshotRestoresResult.add_member(:unsuccessful, Shapes::ShapeRef.new(shape: EnableFastSnapshotRestoreErrorSet, location_name: "unsuccessful"))
|
6074
6132
|
EnableFastSnapshotRestoresResult.struct_class = Types::EnableFastSnapshotRestoresResult
|
6075
6133
|
|
6134
|
+
EnableImageDeprecationRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, required: true, location_name: "ImageId"))
|
6135
|
+
EnableImageDeprecationRequest.add_member(:deprecate_at, Shapes::ShapeRef.new(shape: MillisecondDateTime, required: true, location_name: "DeprecateAt"))
|
6136
|
+
EnableImageDeprecationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
6137
|
+
EnableImageDeprecationRequest.struct_class = Types::EnableImageDeprecationRequest
|
6138
|
+
|
6139
|
+
EnableImageDeprecationResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
|
6140
|
+
EnableImageDeprecationResult.struct_class = Types::EnableImageDeprecationResult
|
6141
|
+
|
6076
6142
|
EnableSerialConsoleAccessRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
6077
6143
|
EnableSerialConsoleAccessRequest.struct_class = Types::EnableSerialConsoleAccessRequest
|
6078
6144
|
|
@@ -6844,6 +6910,7 @@ module Aws::EC2
|
|
6844
6910
|
Image.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
6845
6911
|
Image.add_member(:virtualization_type, Shapes::ShapeRef.new(shape: VirtualizationType, location_name: "virtualizationType"))
|
6846
6912
|
Image.add_member(:boot_mode, Shapes::ShapeRef.new(shape: BootModeValues, location_name: "bootMode"))
|
6913
|
+
Image.add_member(:deprecation_time, Shapes::ShapeRef.new(shape: String, location_name: "deprecationTime"))
|
6847
6914
|
Image.struct_class = Types::Image
|
6848
6915
|
|
6849
6916
|
ImageAttribute.add_member(:block_device_mappings, Shapes::ShapeRef.new(shape: BlockDeviceMappingList, location_name: "blockDeviceMapping"))
|
@@ -8392,6 +8459,7 @@ module Aws::EC2
|
|
8392
8459
|
NatGateway.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, location_name: "subnetId"))
|
8393
8460
|
NatGateway.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
|
8394
8461
|
NatGateway.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
8462
|
+
NatGateway.add_member(:connectivity_type, Shapes::ShapeRef.new(shape: ConnectivityType, location_name: "connectivityType"))
|
8395
8463
|
NatGateway.struct_class = Types::NatGateway
|
8396
8464
|
|
8397
8465
|
NatGatewayAddress.add_member(:allocation_id, Shapes::ShapeRef.new(shape: String, location_name: "allocationId"))
|
@@ -8845,6 +8913,7 @@ module Aws::EC2
|
|
8845
8913
|
ProvisionByoipCidrRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
8846
8914
|
ProvisionByoipCidrRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
8847
8915
|
ProvisionByoipCidrRequest.add_member(:pool_tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "PoolTagSpecification"))
|
8916
|
+
ProvisionByoipCidrRequest.add_member(:multi_region, Shapes::ShapeRef.new(shape: Boolean, location_name: "MultiRegion"))
|
8848
8917
|
ProvisionByoipCidrRequest.struct_class = Types::ProvisionByoipCidrRequest
|
8849
8918
|
|
8850
8919
|
ProvisionByoipCidrResult.add_member(:byoip_cidr, Shapes::ShapeRef.new(shape: ByoipCidr, location_name: "byoipCidr"))
|
@@ -10640,6 +10709,19 @@ module Aws::EC2
|
|
10640
10709
|
TransitGatewayVpcAttachmentOptions.add_member(:appliance_mode_support, Shapes::ShapeRef.new(shape: ApplianceModeSupportValue, location_name: "applianceModeSupport"))
|
10641
10710
|
TransitGatewayVpcAttachmentOptions.struct_class = Types::TransitGatewayVpcAttachmentOptions
|
10642
10711
|
|
10712
|
+
TrunkInterfaceAssociation.add_member(:association_id, Shapes::ShapeRef.new(shape: TrunkInterfaceAssociationId, location_name: "associationId"))
|
10713
|
+
TrunkInterfaceAssociation.add_member(:branch_interface_id, Shapes::ShapeRef.new(shape: String, location_name: "branchInterfaceId"))
|
10714
|
+
TrunkInterfaceAssociation.add_member(:trunk_interface_id, Shapes::ShapeRef.new(shape: String, location_name: "trunkInterfaceId"))
|
10715
|
+
TrunkInterfaceAssociation.add_member(:interface_protocol, Shapes::ShapeRef.new(shape: InterfaceProtocolType, location_name: "interfaceProtocol"))
|
10716
|
+
TrunkInterfaceAssociation.add_member(:vlan_id, Shapes::ShapeRef.new(shape: Integer, location_name: "vlanId"))
|
10717
|
+
TrunkInterfaceAssociation.add_member(:gre_key, Shapes::ShapeRef.new(shape: Integer, location_name: "greKey"))
|
10718
|
+
TrunkInterfaceAssociation.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
10719
|
+
TrunkInterfaceAssociation.struct_class = Types::TrunkInterfaceAssociation
|
10720
|
+
|
10721
|
+
TrunkInterfaceAssociationIdList.member = Shapes::ShapeRef.new(shape: TrunkInterfaceAssociationId, location_name: "item")
|
10722
|
+
|
10723
|
+
TrunkInterfaceAssociationList.member = Shapes::ShapeRef.new(shape: TrunkInterfaceAssociation, location_name: "item")
|
10724
|
+
|
10643
10725
|
TunnelOption.add_member(:outside_ip_address, Shapes::ShapeRef.new(shape: String, location_name: "outsideIpAddress"))
|
10644
10726
|
TunnelOption.add_member(:tunnel_inside_cidr, Shapes::ShapeRef.new(shape: String, location_name: "tunnelInsideCidr"))
|
10645
10727
|
TunnelOption.add_member(:tunnel_inside_ipv_6_cidr, Shapes::ShapeRef.new(shape: String, location_name: "tunnelInsideIpv6Cidr"))
|
@@ -11283,6 +11365,14 @@ module Aws::EC2
|
|
11283
11365
|
o.output = Shapes::ShapeRef.new(shape: AssociateTransitGatewayRouteTableResult)
|
11284
11366
|
end)
|
11285
11367
|
|
11368
|
+
api.add_operation(:associate_trunk_interface, Seahorse::Model::Operation.new.tap do |o|
|
11369
|
+
o.name = "AssociateTrunkInterface"
|
11370
|
+
o.http_method = "POST"
|
11371
|
+
o.http_request_uri = "/"
|
11372
|
+
o.input = Shapes::ShapeRef.new(shape: AssociateTrunkInterfaceRequest)
|
11373
|
+
o.output = Shapes::ShapeRef.new(shape: AssociateTrunkInterfaceResult)
|
11374
|
+
end)
|
11375
|
+
|
11286
11376
|
api.add_operation(:associate_vpc_cidr_block, Seahorse::Model::Operation.new.tap do |o|
|
11287
11377
|
o.name = "AssociateVpcCidrBlock"
|
11288
11378
|
o.http_method = "POST"
|
@@ -13722,6 +13812,14 @@ module Aws::EC2
|
|
13722
13812
|
)
|
13723
13813
|
end)
|
13724
13814
|
|
13815
|
+
api.add_operation(:describe_trunk_interface_associations, Seahorse::Model::Operation.new.tap do |o|
|
13816
|
+
o.name = "DescribeTrunkInterfaceAssociations"
|
13817
|
+
o.http_method = "POST"
|
13818
|
+
o.http_request_uri = "/"
|
13819
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeTrunkInterfaceAssociationsRequest)
|
13820
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeTrunkInterfaceAssociationsResult)
|
13821
|
+
end)
|
13822
|
+
|
13725
13823
|
api.add_operation(:describe_volume_attribute, Seahorse::Model::Operation.new.tap do |o|
|
13726
13824
|
o.name = "DescribeVolumeAttribute"
|
13727
13825
|
o.http_method = "POST"
|
@@ -13980,6 +14078,14 @@ module Aws::EC2
|
|
13980
14078
|
o.output = Shapes::ShapeRef.new(shape: DisableFastSnapshotRestoresResult)
|
13981
14079
|
end)
|
13982
14080
|
|
14081
|
+
api.add_operation(:disable_image_deprecation, Seahorse::Model::Operation.new.tap do |o|
|
14082
|
+
o.name = "DisableImageDeprecation"
|
14083
|
+
o.http_method = "POST"
|
14084
|
+
o.http_request_uri = "/"
|
14085
|
+
o.input = Shapes::ShapeRef.new(shape: DisableImageDeprecationRequest)
|
14086
|
+
o.output = Shapes::ShapeRef.new(shape: DisableImageDeprecationResult)
|
14087
|
+
end)
|
14088
|
+
|
13983
14089
|
api.add_operation(:disable_serial_console_access, Seahorse::Model::Operation.new.tap do |o|
|
13984
14090
|
o.name = "DisableSerialConsoleAccess"
|
13985
14091
|
o.http_method = "POST"
|
@@ -14084,6 +14190,14 @@ module Aws::EC2
|
|
14084
14190
|
o.output = Shapes::ShapeRef.new(shape: DisassociateTransitGatewayRouteTableResult)
|
14085
14191
|
end)
|
14086
14192
|
|
14193
|
+
api.add_operation(:disassociate_trunk_interface, Seahorse::Model::Operation.new.tap do |o|
|
14194
|
+
o.name = "DisassociateTrunkInterface"
|
14195
|
+
o.http_method = "POST"
|
14196
|
+
o.http_request_uri = "/"
|
14197
|
+
o.input = Shapes::ShapeRef.new(shape: DisassociateTrunkInterfaceRequest)
|
14198
|
+
o.output = Shapes::ShapeRef.new(shape: DisassociateTrunkInterfaceResult)
|
14199
|
+
end)
|
14200
|
+
|
14087
14201
|
api.add_operation(:disassociate_vpc_cidr_block, Seahorse::Model::Operation.new.tap do |o|
|
14088
14202
|
o.name = "DisassociateVpcCidrBlock"
|
14089
14203
|
o.http_method = "POST"
|
@@ -14108,6 +14222,14 @@ module Aws::EC2
|
|
14108
14222
|
o.output = Shapes::ShapeRef.new(shape: EnableFastSnapshotRestoresResult)
|
14109
14223
|
end)
|
14110
14224
|
|
14225
|
+
api.add_operation(:enable_image_deprecation, Seahorse::Model::Operation.new.tap do |o|
|
14226
|
+
o.name = "EnableImageDeprecation"
|
14227
|
+
o.http_method = "POST"
|
14228
|
+
o.http_request_uri = "/"
|
14229
|
+
o.input = Shapes::ShapeRef.new(shape: EnableImageDeprecationRequest)
|
14230
|
+
o.output = Shapes::ShapeRef.new(shape: EnableImageDeprecationResult)
|
14231
|
+
end)
|
14232
|
+
|
14111
14233
|
api.add_operation(:enable_serial_console_access, Seahorse::Model::Operation.new.tap do |o|
|
14112
14234
|
o.name = "EnableSerialConsoleAccess"
|
14113
14235
|
o.http_method = "POST"
|
data/lib/aws-sdk-ec2/image.rb
CHANGED
@@ -222,6 +222,14 @@ module Aws::EC2
|
|
222
222
|
data[:boot_mode]
|
223
223
|
end
|
224
224
|
|
225
|
+
# The date and time to deprecate the AMI, in UTC, in the following
|
226
|
+
# format: *YYYY*-*MM*-*DD*T*HH*\:*MM*\:*SS*Z. If you specified a value
|
227
|
+
# for seconds, Amazon EC2 rounds the seconds to the nearest minute.
|
228
|
+
# @return [String]
|
229
|
+
def deprecation_time
|
230
|
+
data[:deprecation_time]
|
231
|
+
end
|
232
|
+
|
225
233
|
# @!endgroup
|
226
234
|
|
227
235
|
# @return [Client]
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -1538,12 +1538,13 @@ module Aws::EC2
|
|
1538
1538
|
# with, if any.
|
1539
1539
|
#
|
1540
1540
|
# * `network-border-group` - A unique set of Availability Zones, Local
|
1541
|
-
# Zones, or Wavelength Zones from where
|
1541
|
+
# Zones, or Wavelength Zones from where Amazon Web Services advertises
|
1542
|
+
# IP addresses.
|
1542
1543
|
#
|
1543
1544
|
# * `network-interface-id` - \[EC2-VPC\] The ID of the network interface
|
1544
1545
|
# that the address is associated with, if any.
|
1545
1546
|
#
|
1546
|
-
# * `network-interface-owner-id` - The
|
1547
|
+
# * `network-interface-owner-id` - The account ID of the owner.
|
1547
1548
|
#
|
1548
1549
|
# * `private-ip-address` - \[EC2-VPC\] The private IP address associated
|
1549
1550
|
# with the Elastic IP address.
|
@@ -142,6 +142,13 @@ module Aws::EC2
|
|
142
142
|
data[:tags]
|
143
143
|
end
|
144
144
|
|
145
|
+
# Indicates whether the NAT gateway supports public or private
|
146
|
+
# connectivity.
|
147
|
+
# @return [String]
|
148
|
+
def connectivity_type
|
149
|
+
data[:connectivity_type]
|
150
|
+
end
|
151
|
+
|
145
152
|
# @!endgroup
|
146
153
|
|
147
154
|
# @return [Client]
|
@@ -83,7 +83,7 @@ module Aws::EC2
|
|
83
83
|
data[:outpost_arn]
|
84
84
|
end
|
85
85
|
|
86
|
-
# The
|
86
|
+
# The account ID of the owner of the network interface.
|
87
87
|
# @return [String]
|
88
88
|
def owner_id
|
89
89
|
data[:owner_id]
|
@@ -107,14 +107,15 @@ module Aws::EC2
|
|
107
107
|
data[:private_ip_addresses]
|
108
108
|
end
|
109
109
|
|
110
|
-
# The alias or
|
111
|
-
#
|
110
|
+
# The alias or account ID of the principal or service that created the
|
111
|
+
# network interface.
|
112
112
|
# @return [String]
|
113
113
|
def requester_id
|
114
114
|
data[:requester_id]
|
115
115
|
end
|
116
116
|
|
117
|
-
# Indicates whether the network interface is being managed by
|
117
|
+
# Indicates whether the network interface is being managed by Amazon Web
|
118
|
+
# Services.
|
118
119
|
# @return [Boolean]
|
119
120
|
def requester_managed
|
120
121
|
data[:requester_managed]
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -99,7 +99,7 @@ module Aws::EC2
|
|
99
99
|
# },
|
100
100
|
# ],
|
101
101
|
# image_id: "ImageId",
|
102
|
-
# instance_type: "t1.micro", # accepts t1.micro, t2.nano, t2.micro, t2.small, t2.medium, t2.large, t2.xlarge, t2.2xlarge, t3.nano, t3.micro, t3.small, t3.medium, t3.large, t3.xlarge, t3.2xlarge, t3a.nano, t3a.micro, t3a.small, t3a.medium, t3a.large, t3a.xlarge, t3a.2xlarge, t4g.nano, t4g.micro, t4g.small, t4g.medium, t4g.large, t4g.xlarge, t4g.2xlarge, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m4.large, m4.xlarge, m4.2xlarge, m4.4xlarge, m4.10xlarge, m4.16xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge, r4.large, r4.xlarge, r4.2xlarge, r4.4xlarge, r4.8xlarge, r4.16xlarge, r5.large, r5.xlarge, r5.2xlarge, r5.4xlarge, r5.8xlarge, r5.12xlarge, r5.16xlarge, r5.24xlarge, r5.metal, r5a.large, r5a.xlarge, r5a.2xlarge, r5a.4xlarge, r5a.8xlarge, r5a.12xlarge, r5a.16xlarge, r5a.24xlarge, r5b.large, r5b.xlarge, r5b.2xlarge, r5b.4xlarge, r5b.8xlarge, r5b.12xlarge, r5b.16xlarge, r5b.24xlarge, r5b.metal, r5d.large, r5d.xlarge, r5d.2xlarge, r5d.4xlarge, r5d.8xlarge, r5d.12xlarge, r5d.16xlarge, r5d.24xlarge, r5d.metal, r5ad.large, r5ad.xlarge, r5ad.2xlarge, r5ad.4xlarge, r5ad.8xlarge, r5ad.12xlarge, r5ad.16xlarge, r5ad.24xlarge, r6g.metal, r6g.medium, r6g.large, r6g.xlarge, r6g.2xlarge, r6g.4xlarge, r6g.8xlarge, r6g.12xlarge, r6g.16xlarge, r6gd.metal, r6gd.medium, r6gd.large, r6gd.xlarge, r6gd.2xlarge, r6gd.4xlarge, r6gd.8xlarge, r6gd.12xlarge, r6gd.16xlarge, x1.16xlarge, x1.32xlarge, x1e.xlarge, x1e.2xlarge, x1e.4xlarge, x1e.8xlarge, x1e.16xlarge, x1e.32xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, i3.large, i3.xlarge, i3.2xlarge, i3.4xlarge, i3.8xlarge, i3.16xlarge, i3.metal, i3en.large, i3en.xlarge, i3en.2xlarge, i3en.3xlarge, i3en.6xlarge, i3en.12xlarge, i3en.24xlarge, i3en.metal, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, c4.large, c4.xlarge, c4.2xlarge, c4.4xlarge, c4.8xlarge, c5.large, c5.xlarge, c5.2xlarge, c5.4xlarge, c5.9xlarge, c5.12xlarge, c5.18xlarge, c5.24xlarge, c5.metal, c5a.large, c5a.xlarge, c5a.2xlarge, c5a.4xlarge, c5a.8xlarge, c5a.12xlarge, c5a.16xlarge, c5a.24xlarge, c5ad.large, c5ad.xlarge, c5ad.2xlarge, c5ad.4xlarge, c5ad.8xlarge, c5ad.12xlarge, c5ad.16xlarge, c5ad.24xlarge, c5d.large, c5d.xlarge, c5d.2xlarge, c5d.4xlarge, c5d.9xlarge, c5d.12xlarge, c5d.18xlarge, c5d.24xlarge, c5d.metal, c5n.large, c5n.xlarge, c5n.2xlarge, c5n.4xlarge, c5n.9xlarge, c5n.18xlarge, c5n.metal, c6g.metal, c6g.medium, c6g.large, c6g.xlarge, c6g.2xlarge, c6g.4xlarge, c6g.8xlarge, c6g.12xlarge, c6g.16xlarge, c6gd.metal, c6gd.medium, c6gd.large, c6gd.xlarge, c6gd.2xlarge, c6gd.4xlarge, c6gd.8xlarge, c6gd.12xlarge, c6gd.16xlarge, c6gn.medium, c6gn.large, c6gn.xlarge, c6gn.2xlarge, c6gn.4xlarge, c6gn.8xlarge, c6gn.12xlarge, c6gn.16xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, g2.8xlarge, g3.4xlarge, g3.8xlarge, g3.16xlarge, g3s.xlarge, g4ad.4xlarge, g4ad.8xlarge, g4ad.16xlarge, g4dn.xlarge, g4dn.2xlarge, g4dn.4xlarge, g4dn.8xlarge, g4dn.12xlarge, g4dn.16xlarge, g4dn.metal, cg1.4xlarge, p2.xlarge, p2.8xlarge, p2.16xlarge, p3.2xlarge, p3.8xlarge, p3.16xlarge, p3dn.24xlarge, p4d.24xlarge, d2.xlarge, d2.2xlarge, d2.4xlarge, d2.8xlarge, d3.xlarge, d3.2xlarge, d3.4xlarge, d3.8xlarge, d3en.xlarge, d3en.2xlarge, d3en.4xlarge, d3en.6xlarge, d3en.8xlarge, d3en.12xlarge, f1.2xlarge, f1.4xlarge, f1.16xlarge, m5.large, m5.xlarge, m5.2xlarge, m5.4xlarge, m5.8xlarge, m5.12xlarge, m5.16xlarge, m5.24xlarge, m5.metal, m5a.large, m5a.xlarge, m5a.2xlarge, m5a.4xlarge, m5a.8xlarge, m5a.12xlarge, m5a.16xlarge, m5a.24xlarge, m5d.large, m5d.xlarge, m5d.2xlarge, m5d.4xlarge, m5d.8xlarge, m5d.12xlarge, m5d.16xlarge, m5d.24xlarge, m5d.metal, m5ad.large, m5ad.xlarge, m5ad.2xlarge, m5ad.4xlarge, m5ad.8xlarge, m5ad.12xlarge, m5ad.16xlarge, m5ad.24xlarge, m5zn.large, m5zn.xlarge, m5zn.2xlarge, m5zn.3xlarge, m5zn.6xlarge, m5zn.12xlarge, m5zn.metal, h1.2xlarge, h1.4xlarge, h1.8xlarge, h1.16xlarge, z1d.large, z1d.xlarge, z1d.2xlarge, z1d.3xlarge, z1d.6xlarge, z1d.12xlarge, z1d.metal, u-6tb1.56xlarge, u-6tb1.112xlarge, u-9tb1.112xlarge, u-12tb1.112xlarge, u-6tb1.metal, u-9tb1.metal, u-12tb1.metal, u-18tb1.metal, u-24tb1.metal, a1.medium, a1.large, a1.xlarge, a1.2xlarge, a1.4xlarge, a1.metal, m5dn.large, m5dn.xlarge, m5dn.2xlarge, m5dn.4xlarge, m5dn.8xlarge, m5dn.12xlarge, m5dn.16xlarge, m5dn.24xlarge, m5n.large, m5n.xlarge, m5n.2xlarge, m5n.4xlarge, m5n.8xlarge, m5n.12xlarge, m5n.16xlarge, m5n.24xlarge, r5dn.large, r5dn.xlarge, r5dn.2xlarge, r5dn.4xlarge, r5dn.8xlarge, r5dn.12xlarge, r5dn.16xlarge, r5dn.24xlarge, r5n.large, r5n.xlarge, r5n.2xlarge, r5n.4xlarge, r5n.8xlarge, r5n.12xlarge, r5n.16xlarge, r5n.24xlarge, inf1.xlarge, inf1.2xlarge, inf1.6xlarge, inf1.24xlarge, m6g.metal, m6g.medium, m6g.large, m6g.xlarge, m6g.2xlarge, m6g.4xlarge, m6g.8xlarge, m6g.12xlarge, m6g.16xlarge, m6gd.metal, m6gd.medium, m6gd.large, m6gd.xlarge, m6gd.2xlarge, m6gd.4xlarge, m6gd.8xlarge, m6gd.12xlarge, m6gd.16xlarge, mac1.metal, x2gd.medium, x2gd.large, x2gd.xlarge, x2gd.2xlarge, x2gd.4xlarge, x2gd.8xlarge, x2gd.12xlarge, x2gd.16xlarge, x2gd.metal
|
102
|
+
# instance_type: "t1.micro", # accepts t1.micro, t2.nano, t2.micro, t2.small, t2.medium, t2.large, t2.xlarge, t2.2xlarge, t3.nano, t3.micro, t3.small, t3.medium, t3.large, t3.xlarge, t3.2xlarge, t3a.nano, t3a.micro, t3a.small, t3a.medium, t3a.large, t3a.xlarge, t3a.2xlarge, t4g.nano, t4g.micro, t4g.small, t4g.medium, t4g.large, t4g.xlarge, t4g.2xlarge, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m4.large, m4.xlarge, m4.2xlarge, m4.4xlarge, m4.10xlarge, m4.16xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge, r4.large, r4.xlarge, r4.2xlarge, r4.4xlarge, r4.8xlarge, r4.16xlarge, r5.large, r5.xlarge, r5.2xlarge, r5.4xlarge, r5.8xlarge, r5.12xlarge, r5.16xlarge, r5.24xlarge, r5.metal, r5a.large, r5a.xlarge, r5a.2xlarge, r5a.4xlarge, r5a.8xlarge, r5a.12xlarge, r5a.16xlarge, r5a.24xlarge, r5b.large, r5b.xlarge, r5b.2xlarge, r5b.4xlarge, r5b.8xlarge, r5b.12xlarge, r5b.16xlarge, r5b.24xlarge, r5b.metal, r5d.large, r5d.xlarge, r5d.2xlarge, r5d.4xlarge, r5d.8xlarge, r5d.12xlarge, r5d.16xlarge, r5d.24xlarge, r5d.metal, r5ad.large, r5ad.xlarge, r5ad.2xlarge, r5ad.4xlarge, r5ad.8xlarge, r5ad.12xlarge, r5ad.16xlarge, r5ad.24xlarge, r6g.metal, r6g.medium, r6g.large, r6g.xlarge, r6g.2xlarge, r6g.4xlarge, r6g.8xlarge, r6g.12xlarge, r6g.16xlarge, r6gd.metal, r6gd.medium, r6gd.large, r6gd.xlarge, r6gd.2xlarge, r6gd.4xlarge, r6gd.8xlarge, r6gd.12xlarge, r6gd.16xlarge, x1.16xlarge, x1.32xlarge, x1e.xlarge, x1e.2xlarge, x1e.4xlarge, x1e.8xlarge, x1e.16xlarge, x1e.32xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, i3.large, i3.xlarge, i3.2xlarge, i3.4xlarge, i3.8xlarge, i3.16xlarge, i3.metal, i3en.large, i3en.xlarge, i3en.2xlarge, i3en.3xlarge, i3en.6xlarge, i3en.12xlarge, i3en.24xlarge, i3en.metal, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, c4.large, c4.xlarge, c4.2xlarge, c4.4xlarge, c4.8xlarge, c5.large, c5.xlarge, c5.2xlarge, c5.4xlarge, c5.9xlarge, c5.12xlarge, c5.18xlarge, c5.24xlarge, c5.metal, c5a.large, c5a.xlarge, c5a.2xlarge, c5a.4xlarge, c5a.8xlarge, c5a.12xlarge, c5a.16xlarge, c5a.24xlarge, c5ad.large, c5ad.xlarge, c5ad.2xlarge, c5ad.4xlarge, c5ad.8xlarge, c5ad.12xlarge, c5ad.16xlarge, c5ad.24xlarge, c5d.large, c5d.xlarge, c5d.2xlarge, c5d.4xlarge, c5d.9xlarge, c5d.12xlarge, c5d.18xlarge, c5d.24xlarge, c5d.metal, c5n.large, c5n.xlarge, c5n.2xlarge, c5n.4xlarge, c5n.9xlarge, c5n.18xlarge, c5n.metal, c6g.metal, c6g.medium, c6g.large, c6g.xlarge, c6g.2xlarge, c6g.4xlarge, c6g.8xlarge, c6g.12xlarge, c6g.16xlarge, c6gd.metal, c6gd.medium, c6gd.large, c6gd.xlarge, c6gd.2xlarge, c6gd.4xlarge, c6gd.8xlarge, c6gd.12xlarge, c6gd.16xlarge, c6gn.medium, c6gn.large, c6gn.xlarge, c6gn.2xlarge, c6gn.4xlarge, c6gn.8xlarge, c6gn.12xlarge, c6gn.16xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, g2.8xlarge, g3.4xlarge, g3.8xlarge, g3.16xlarge, g3s.xlarge, g4ad.4xlarge, g4ad.8xlarge, g4ad.16xlarge, g4dn.xlarge, g4dn.2xlarge, g4dn.4xlarge, g4dn.8xlarge, g4dn.12xlarge, g4dn.16xlarge, g4dn.metal, cg1.4xlarge, p2.xlarge, p2.8xlarge, p2.16xlarge, p3.2xlarge, p3.8xlarge, p3.16xlarge, p3dn.24xlarge, p4d.24xlarge, d2.xlarge, d2.2xlarge, d2.4xlarge, d2.8xlarge, d3.xlarge, d3.2xlarge, d3.4xlarge, d3.8xlarge, d3en.xlarge, d3en.2xlarge, d3en.4xlarge, d3en.6xlarge, d3en.8xlarge, d3en.12xlarge, f1.2xlarge, f1.4xlarge, f1.16xlarge, m5.large, m5.xlarge, m5.2xlarge, m5.4xlarge, m5.8xlarge, m5.12xlarge, m5.16xlarge, m5.24xlarge, m5.metal, m5a.large, m5a.xlarge, m5a.2xlarge, m5a.4xlarge, m5a.8xlarge, m5a.12xlarge, m5a.16xlarge, m5a.24xlarge, m5d.large, m5d.xlarge, m5d.2xlarge, m5d.4xlarge, m5d.8xlarge, m5d.12xlarge, m5d.16xlarge, m5d.24xlarge, m5d.metal, m5ad.large, m5ad.xlarge, m5ad.2xlarge, m5ad.4xlarge, m5ad.8xlarge, m5ad.12xlarge, m5ad.16xlarge, m5ad.24xlarge, m5zn.large, m5zn.xlarge, m5zn.2xlarge, m5zn.3xlarge, m5zn.6xlarge, m5zn.12xlarge, m5zn.metal, h1.2xlarge, h1.4xlarge, h1.8xlarge, h1.16xlarge, z1d.large, z1d.xlarge, z1d.2xlarge, z1d.3xlarge, z1d.6xlarge, z1d.12xlarge, z1d.metal, u-6tb1.56xlarge, u-6tb1.112xlarge, u-9tb1.112xlarge, u-12tb1.112xlarge, u-6tb1.metal, u-9tb1.metal, u-12tb1.metal, u-18tb1.metal, u-24tb1.metal, a1.medium, a1.large, a1.xlarge, a1.2xlarge, a1.4xlarge, a1.metal, m5dn.large, m5dn.xlarge, m5dn.2xlarge, m5dn.4xlarge, m5dn.8xlarge, m5dn.12xlarge, m5dn.16xlarge, m5dn.24xlarge, m5dn.metal, m5n.large, m5n.xlarge, m5n.2xlarge, m5n.4xlarge, m5n.8xlarge, m5n.12xlarge, m5n.16xlarge, m5n.24xlarge, m5n.metal, r5dn.large, r5dn.xlarge, r5dn.2xlarge, r5dn.4xlarge, r5dn.8xlarge, r5dn.12xlarge, r5dn.16xlarge, r5dn.24xlarge, r5dn.metal, r5n.large, r5n.xlarge, r5n.2xlarge, r5n.4xlarge, r5n.8xlarge, r5n.12xlarge, r5n.16xlarge, r5n.24xlarge, r5n.metal, inf1.xlarge, inf1.2xlarge, inf1.6xlarge, inf1.24xlarge, m6g.metal, m6g.medium, m6g.large, m6g.xlarge, m6g.2xlarge, m6g.4xlarge, m6g.8xlarge, m6g.12xlarge, m6g.16xlarge, m6gd.metal, m6gd.medium, m6gd.large, m6gd.xlarge, m6gd.2xlarge, m6gd.4xlarge, m6gd.8xlarge, m6gd.12xlarge, m6gd.16xlarge, mac1.metal, x2gd.medium, x2gd.large, x2gd.xlarge, x2gd.2xlarge, x2gd.4xlarge, x2gd.8xlarge, x2gd.12xlarge, x2gd.16xlarge, x2gd.metal
|
103
103
|
# ipv_6_address_count: 1,
|
104
104
|
# ipv_6_addresses: [
|
105
105
|
# {
|
@@ -620,6 +620,7 @@ module Aws::EC2
|
|
620
620
|
# @example Request syntax with placeholder values
|
621
621
|
#
|
622
622
|
# natgateway = ec2.create_nat_gateway({
|
623
|
+
# allocation_id: "AllocationId",
|
623
624
|
# client_token: "String",
|
624
625
|
# dry_run: false,
|
625
626
|
# subnet_id: "SubnetId", # required
|
@@ -634,9 +635,15 @@ module Aws::EC2
|
|
634
635
|
# ],
|
635
636
|
# },
|
636
637
|
# ],
|
637
|
-
#
|
638
|
+
# connectivity_type: "private", # accepts private, public
|
638
639
|
# })
|
639
640
|
# @param [Hash] options ({})
|
641
|
+
# @option options [String] :allocation_id
|
642
|
+
# \[Public NAT gateways only\] The allocation ID of an Elastic IP
|
643
|
+
# address to associate with the NAT gateway. You cannot specify an
|
644
|
+
# Elastic IP address with a private NAT gateway. If the Elastic IP
|
645
|
+
# address is associated with another resource, you must first
|
646
|
+
# disassociate it.
|
640
647
|
# @option options [String] :client_token
|
641
648
|
# Unique, case-sensitive identifier that you provide to ensure the
|
642
649
|
# idempotency of the request. For more information, see [How to Ensure
|
@@ -656,10 +663,9 @@ module Aws::EC2
|
|
656
663
|
# The subnet in which to create the NAT gateway.
|
657
664
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
658
665
|
# The tags to assign to the NAT gateway.
|
659
|
-
# @option options [
|
660
|
-
#
|
661
|
-
#
|
662
|
-
# resource, you must first disassociate it.
|
666
|
+
# @option options [String] :connectivity_type
|
667
|
+
# Indicates whether the NAT gateway supports public or private
|
668
|
+
# connectivity. The default is public connectivity.
|
663
669
|
# @return [NatGateway]
|
664
670
|
def create_nat_gateway(options = {})
|
665
671
|
resp = @client.create_nat_gateway(options)
|
@@ -727,7 +733,7 @@ module Aws::EC2
|
|
727
733
|
# },
|
728
734
|
# ],
|
729
735
|
# secondary_private_ip_address_count: 1,
|
730
|
-
# interface_type: "efa", # accepts efa
|
736
|
+
# interface_type: "efa", # accepts efa, branch, trunk
|
731
737
|
# subnet_id: "SubnetId", # required
|
732
738
|
# tag_specifications: [
|
733
739
|
# {
|
@@ -789,10 +795,14 @@ module Aws::EC2
|
|
789
795
|
# Indicates the type of network interface. To create an Elastic Fabric
|
790
796
|
# Adapter (EFA), specify `efa`. For more information, see [ Elastic
|
791
797
|
# Fabric Adapter][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
798
|
+
# To create a trunk network interface, specify `efa`. For more
|
799
|
+
# information, see [ Network interface trunking][2] in the *Amazon
|
800
|
+
# Elastic Compute Cloud User Guide*.
|
792
801
|
#
|
793
802
|
#
|
794
803
|
#
|
795
804
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html
|
805
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/eni-trunking.html
|
796
806
|
# @option options [required, String] :subnet_id
|
797
807
|
# The ID of the subnet to associate with the network interface.
|
798
808
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
@@ -1674,12 +1684,13 @@ module Aws::EC2
|
|
1674
1684
|
# with, if any.
|
1675
1685
|
#
|
1676
1686
|
# * `network-border-group` - A unique set of Availability Zones, Local
|
1677
|
-
# Zones, or Wavelength Zones from where
|
1687
|
+
# Zones, or Wavelength Zones from where Amazon Web Services advertises
|
1688
|
+
# IP addresses.
|
1678
1689
|
#
|
1679
1690
|
# * `network-interface-id` - \[EC2-VPC\] The ID of the network interface
|
1680
1691
|
# that the address is associated with, if any.
|
1681
1692
|
#
|
1682
|
-
# * `network-interface-owner-id` - The
|
1693
|
+
# * `network-interface-owner-id` - The account ID of the owner.
|
1683
1694
|
#
|
1684
1695
|
# * `private-ip-address` - \[EC2-VPC\] The private IP address associated
|
1685
1696
|
# with the Elastic IP address.
|
@@ -1819,6 +1830,7 @@ module Aws::EC2
|
|
1819
1830
|
# ],
|
1820
1831
|
# image_ids: ["ImageId"],
|
1821
1832
|
# owners: ["String"],
|
1833
|
+
# include_deprecated: false,
|
1822
1834
|
# dry_run: false,
|
1823
1835
|
# })
|
1824
1836
|
# @param [Hash] options ({})
|
@@ -1927,6 +1939,16 @@ module Aws::EC2
|
|
1927
1939
|
# specify a combination of AWS account IDs, `self`, `amazon`, and
|
1928
1940
|
# `aws-marketplace`. If you omit this parameter, the results include all
|
1929
1941
|
# images for which you have launch permissions, regardless of ownership.
|
1942
|
+
# @option options [Boolean] :include_deprecated
|
1943
|
+
# If `true`, all deprecated AMIs are included in the response. If
|
1944
|
+
# `false`, no deprecated AMIs are included in the response. If no value
|
1945
|
+
# is specified, the default value is `false`.
|
1946
|
+
#
|
1947
|
+
# <note markdown="1"> If you are the AMI owner, all deprecated AMIs appear in the response
|
1948
|
+
# regardless of the value (`true` or `false`) that you set for this
|
1949
|
+
# parameter.
|
1950
|
+
#
|
1951
|
+
# </note>
|
1930
1952
|
# @option options [Boolean] :dry_run
|
1931
1953
|
# Checks whether you have the required permissions for the action,
|
1932
1954
|
# without actually making the request, and provides an error response.
|
@@ -2682,7 +2704,7 @@ module Aws::EC2
|
|
2682
2704
|
#
|
2683
2705
|
# * `network-interface-id` - The ID of the network interface.
|
2684
2706
|
#
|
2685
|
-
# * `owner-id` - The
|
2707
|
+
# * `owner-id` - The account ID of the network interface owner.
|
2686
2708
|
#
|
2687
2709
|
# * `private-ip-address` - The private IPv4 address or addresses of the
|
2688
2710
|
# network interface.
|
@@ -2690,11 +2712,11 @@ module Aws::EC2
|
|
2690
2712
|
# * `private-dns-name` - The private DNS name of the network interface
|
2691
2713
|
# (IPv4).
|
2692
2714
|
#
|
2693
|
-
# * `requester-id` - The alias or
|
2694
|
-
#
|
2715
|
+
# * `requester-id` - The alias or account ID of the principal or service
|
2716
|
+
# that created the network interface.
|
2695
2717
|
#
|
2696
2718
|
# * `requester-managed` - Indicates whether the network interface is
|
2697
|
-
# being managed by an
|
2719
|
+
# being managed by an Amazon Web Service (for example, Management
|
2698
2720
|
# Console, Auto Scaling, and so on).
|
2699
2721
|
#
|
2700
2722
|
# * `source-dest-check` - Indicates whether the network interface
|
@@ -3426,12 +3448,13 @@ module Aws::EC2
|
|
3426
3448
|
# with, if any.
|
3427
3449
|
#
|
3428
3450
|
# * `network-border-group` - A unique set of Availability Zones, Local
|
3429
|
-
# Zones, or Wavelength Zones from where
|
3451
|
+
# Zones, or Wavelength Zones from where Amazon Web Services advertises
|
3452
|
+
# IP addresses.
|
3430
3453
|
#
|
3431
3454
|
# * `network-interface-id` - \[EC2-VPC\] The ID of the network interface
|
3432
3455
|
# that the address is associated with, if any.
|
3433
3456
|
#
|
3434
|
-
# * `network-interface-owner-id` - The
|
3457
|
+
# * `network-interface-owner-id` - The account ID of the owner.
|
3435
3458
|
#
|
3436
3459
|
# * `private-ip-address` - \[EC2-VPC\] The private IP address associated
|
3437
3460
|
# with the Elastic IP address.
|