aws-sdk-ec2 1.239.0 → 1.244.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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(:allocation_id, Shapes::ShapeRef.new(shape: AllocationId, required: true, location_name: "AllocationId"))
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"))
@@ -3529,9 +3559,11 @@ module Aws::EC2
3529
3559
  CreateNetworkInterfaceRequest.add_member(:interface_type, Shapes::ShapeRef.new(shape: NetworkInterfaceCreationType, location_name: "InterfaceType"))
3530
3560
  CreateNetworkInterfaceRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "subnetId"))
3531
3561
  CreateNetworkInterfaceRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
3562
+ CreateNetworkInterfaceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
3532
3563
  CreateNetworkInterfaceRequest.struct_class = Types::CreateNetworkInterfaceRequest
3533
3564
 
3534
3565
  CreateNetworkInterfaceResult.add_member(:network_interface, Shapes::ShapeRef.new(shape: NetworkInterface, location_name: "networkInterface"))
3566
+ CreateNetworkInterfaceResult.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
3535
3567
  CreateNetworkInterfaceResult.struct_class = Types::CreateNetworkInterfaceResult
3536
3568
 
3537
3569
  CreatePlacementGroupRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
@@ -4780,6 +4812,7 @@ module Aws::EC2
4780
4812
  DescribeImagesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
4781
4813
  DescribeImagesRequest.add_member(:image_ids, Shapes::ShapeRef.new(shape: ImageIdStringList, location_name: "ImageId"))
4782
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"))
4783
4816
  DescribeImagesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
4784
4817
  DescribeImagesRequest.struct_class = Types::DescribeImagesRequest
4785
4818
 
@@ -5519,6 +5552,17 @@ module Aws::EC2
5519
5552
  DescribeTransitGatewaysResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
5520
5553
  DescribeTransitGatewaysResult.struct_class = Types::DescribeTransitGatewaysResult
5521
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
+
5522
5566
  DescribeVolumeAttributeRequest.add_member(:attribute, Shapes::ShapeRef.new(shape: VolumeAttributeName, required: true, location_name: "Attribute"))
5523
5567
  DescribeVolumeAttributeRequest.add_member(:volume_id, Shapes::ShapeRef.new(shape: VolumeId, required: true, location_name: "VolumeId"))
5524
5568
  DescribeVolumeAttributeRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
@@ -5793,6 +5837,13 @@ module Aws::EC2
5793
5837
  DisableFastSnapshotRestoresResult.add_member(:unsuccessful, Shapes::ShapeRef.new(shape: DisableFastSnapshotRestoreErrorSet, location_name: "unsuccessful"))
5794
5838
  DisableFastSnapshotRestoresResult.struct_class = Types::DisableFastSnapshotRestoresResult
5795
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
+
5796
5847
  DisableSerialConsoleAccessRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
5797
5848
  DisableSerialConsoleAccessRequest.struct_class = Types::DisableSerialConsoleAccessRequest
5798
5849
 
@@ -5881,6 +5932,15 @@ module Aws::EC2
5881
5932
  DisassociateTransitGatewayRouteTableResult.add_member(:association, Shapes::ShapeRef.new(shape: TransitGatewayAssociation, location_name: "association"))
5882
5933
  DisassociateTransitGatewayRouteTableResult.struct_class = Types::DisassociateTransitGatewayRouteTableResult
5883
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
+
5884
5944
  DisassociateVpcCidrBlockRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: VpcCidrAssociationId, required: true, location_name: "associationId"))
5885
5945
  DisassociateVpcCidrBlockRequest.struct_class = Types::DisassociateVpcCidrBlockRequest
5886
5946
 
@@ -6071,6 +6131,14 @@ module Aws::EC2
6071
6131
  EnableFastSnapshotRestoresResult.add_member(:unsuccessful, Shapes::ShapeRef.new(shape: EnableFastSnapshotRestoreErrorSet, location_name: "unsuccessful"))
6072
6132
  EnableFastSnapshotRestoresResult.struct_class = Types::EnableFastSnapshotRestoresResult
6073
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
+
6074
6142
  EnableSerialConsoleAccessRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
6075
6143
  EnableSerialConsoleAccessRequest.struct_class = Types::EnableSerialConsoleAccessRequest
6076
6144
 
@@ -6842,6 +6910,7 @@ module Aws::EC2
6842
6910
  Image.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
6843
6911
  Image.add_member(:virtualization_type, Shapes::ShapeRef.new(shape: VirtualizationType, location_name: "virtualizationType"))
6844
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"))
6845
6914
  Image.struct_class = Types::Image
6846
6915
 
6847
6916
  ImageAttribute.add_member(:block_device_mappings, Shapes::ShapeRef.new(shape: BlockDeviceMappingList, location_name: "blockDeviceMapping"))
@@ -8390,6 +8459,7 @@ module Aws::EC2
8390
8459
  NatGateway.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, location_name: "subnetId"))
8391
8460
  NatGateway.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
8392
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"))
8393
8463
  NatGateway.struct_class = Types::NatGateway
8394
8464
 
8395
8465
  NatGatewayAddress.add_member(:allocation_id, Shapes::ShapeRef.new(shape: String, location_name: "allocationId"))
@@ -10638,6 +10708,19 @@ module Aws::EC2
10638
10708
  TransitGatewayVpcAttachmentOptions.add_member(:appliance_mode_support, Shapes::ShapeRef.new(shape: ApplianceModeSupportValue, location_name: "applianceModeSupport"))
10639
10709
  TransitGatewayVpcAttachmentOptions.struct_class = Types::TransitGatewayVpcAttachmentOptions
10640
10710
 
10711
+ TrunkInterfaceAssociation.add_member(:association_id, Shapes::ShapeRef.new(shape: TrunkInterfaceAssociationId, location_name: "associationId"))
10712
+ TrunkInterfaceAssociation.add_member(:branch_interface_id, Shapes::ShapeRef.new(shape: String, location_name: "branchInterfaceId"))
10713
+ TrunkInterfaceAssociation.add_member(:trunk_interface_id, Shapes::ShapeRef.new(shape: String, location_name: "trunkInterfaceId"))
10714
+ TrunkInterfaceAssociation.add_member(:interface_protocol, Shapes::ShapeRef.new(shape: InterfaceProtocolType, location_name: "interfaceProtocol"))
10715
+ TrunkInterfaceAssociation.add_member(:vlan_id, Shapes::ShapeRef.new(shape: Integer, location_name: "vlanId"))
10716
+ TrunkInterfaceAssociation.add_member(:gre_key, Shapes::ShapeRef.new(shape: Integer, location_name: "greKey"))
10717
+ TrunkInterfaceAssociation.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
10718
+ TrunkInterfaceAssociation.struct_class = Types::TrunkInterfaceAssociation
10719
+
10720
+ TrunkInterfaceAssociationIdList.member = Shapes::ShapeRef.new(shape: TrunkInterfaceAssociationId, location_name: "item")
10721
+
10722
+ TrunkInterfaceAssociationList.member = Shapes::ShapeRef.new(shape: TrunkInterfaceAssociation, location_name: "item")
10723
+
10641
10724
  TunnelOption.add_member(:outside_ip_address, Shapes::ShapeRef.new(shape: String, location_name: "outsideIpAddress"))
10642
10725
  TunnelOption.add_member(:tunnel_inside_cidr, Shapes::ShapeRef.new(shape: String, location_name: "tunnelInsideCidr"))
10643
10726
  TunnelOption.add_member(:tunnel_inside_ipv_6_cidr, Shapes::ShapeRef.new(shape: String, location_name: "tunnelInsideIpv6Cidr"))
@@ -11281,6 +11364,14 @@ module Aws::EC2
11281
11364
  o.output = Shapes::ShapeRef.new(shape: AssociateTransitGatewayRouteTableResult)
11282
11365
  end)
11283
11366
 
11367
+ api.add_operation(:associate_trunk_interface, Seahorse::Model::Operation.new.tap do |o|
11368
+ o.name = "AssociateTrunkInterface"
11369
+ o.http_method = "POST"
11370
+ o.http_request_uri = "/"
11371
+ o.input = Shapes::ShapeRef.new(shape: AssociateTrunkInterfaceRequest)
11372
+ o.output = Shapes::ShapeRef.new(shape: AssociateTrunkInterfaceResult)
11373
+ end)
11374
+
11284
11375
  api.add_operation(:associate_vpc_cidr_block, Seahorse::Model::Operation.new.tap do |o|
11285
11376
  o.name = "AssociateVpcCidrBlock"
11286
11377
  o.http_method = "POST"
@@ -13720,6 +13811,14 @@ module Aws::EC2
13720
13811
  )
13721
13812
  end)
13722
13813
 
13814
+ api.add_operation(:describe_trunk_interface_associations, Seahorse::Model::Operation.new.tap do |o|
13815
+ o.name = "DescribeTrunkInterfaceAssociations"
13816
+ o.http_method = "POST"
13817
+ o.http_request_uri = "/"
13818
+ o.input = Shapes::ShapeRef.new(shape: DescribeTrunkInterfaceAssociationsRequest)
13819
+ o.output = Shapes::ShapeRef.new(shape: DescribeTrunkInterfaceAssociationsResult)
13820
+ end)
13821
+
13723
13822
  api.add_operation(:describe_volume_attribute, Seahorse::Model::Operation.new.tap do |o|
13724
13823
  o.name = "DescribeVolumeAttribute"
13725
13824
  o.http_method = "POST"
@@ -13978,6 +14077,14 @@ module Aws::EC2
13978
14077
  o.output = Shapes::ShapeRef.new(shape: DisableFastSnapshotRestoresResult)
13979
14078
  end)
13980
14079
 
14080
+ api.add_operation(:disable_image_deprecation, Seahorse::Model::Operation.new.tap do |o|
14081
+ o.name = "DisableImageDeprecation"
14082
+ o.http_method = "POST"
14083
+ o.http_request_uri = "/"
14084
+ o.input = Shapes::ShapeRef.new(shape: DisableImageDeprecationRequest)
14085
+ o.output = Shapes::ShapeRef.new(shape: DisableImageDeprecationResult)
14086
+ end)
14087
+
13981
14088
  api.add_operation(:disable_serial_console_access, Seahorse::Model::Operation.new.tap do |o|
13982
14089
  o.name = "DisableSerialConsoleAccess"
13983
14090
  o.http_method = "POST"
@@ -14082,6 +14189,14 @@ module Aws::EC2
14082
14189
  o.output = Shapes::ShapeRef.new(shape: DisassociateTransitGatewayRouteTableResult)
14083
14190
  end)
14084
14191
 
14192
+ api.add_operation(:disassociate_trunk_interface, Seahorse::Model::Operation.new.tap do |o|
14193
+ o.name = "DisassociateTrunkInterface"
14194
+ o.http_method = "POST"
14195
+ o.http_request_uri = "/"
14196
+ o.input = Shapes::ShapeRef.new(shape: DisassociateTrunkInterfaceRequest)
14197
+ o.output = Shapes::ShapeRef.new(shape: DisassociateTrunkInterfaceResult)
14198
+ end)
14199
+
14085
14200
  api.add_operation(:disassociate_vpc_cidr_block, Seahorse::Model::Operation.new.tap do |o|
14086
14201
  o.name = "DisassociateVpcCidrBlock"
14087
14202
  o.http_method = "POST"
@@ -14106,6 +14221,14 @@ module Aws::EC2
14106
14221
  o.output = Shapes::ShapeRef.new(shape: EnableFastSnapshotRestoresResult)
14107
14222
  end)
14108
14223
 
14224
+ api.add_operation(:enable_image_deprecation, Seahorse::Model::Operation.new.tap do |o|
14225
+ o.name = "EnableImageDeprecation"
14226
+ o.http_method = "POST"
14227
+ o.http_request_uri = "/"
14228
+ o.input = Shapes::ShapeRef.new(shape: EnableImageDeprecationRequest)
14229
+ o.output = Shapes::ShapeRef.new(shape: EnableImageDeprecationResult)
14230
+ end)
14231
+
14109
14232
  api.add_operation(:enable_serial_console_access, Seahorse::Model::Operation.new.tap do |o|
14110
14233
  o.name = "EnableSerialConsoleAccess"
14111
14234
  o.http_method = "POST"
@@ -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]
@@ -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 AWS advertises IP addresses.
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 AWS account ID of the owner.
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 AWS account ID of the owner of the network interface.
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 AWS account ID of the principal or service that created
111
- # the network interface.
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 AWS.
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]
@@ -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
- # allocation_id: "AllocationId", # required
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 [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.
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
  # {
@@ -740,6 +746,7 @@ module Aws::EC2
740
746
  # ],
741
747
  # },
742
748
  # ],
749
+ # client_token: "String",
743
750
  # })
744
751
  # @param [Hash] options ({})
745
752
  # @option options [String] :description
@@ -788,14 +795,26 @@ module Aws::EC2
788
795
  # Indicates the type of network interface. To create an Elastic Fabric
789
796
  # Adapter (EFA), specify `efa`. For more information, see [ Elastic
790
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*.
791
801
  #
792
802
  #
793
803
  #
794
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
795
806
  # @option options [required, String] :subnet_id
796
807
  # The ID of the subnet to associate with the network interface.
797
808
  # @option options [Array<Types::TagSpecification>] :tag_specifications
798
809
  # The tags to apply to the new network interface.
810
+ # @option options [String] :client_token
811
+ # Unique, case-sensitive identifier that you provide to ensure the
812
+ # idempotency of the request. For more information, see [Ensuring
813
+ # Idempotency][1].
814
+ #
815
+ #
816
+ #
817
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
799
818
  # @return [NetworkInterface]
800
819
  def create_network_interface(options = {})
801
820
  resp = @client.create_network_interface(options)
@@ -1665,12 +1684,13 @@ module Aws::EC2
1665
1684
  # with, if any.
1666
1685
  #
1667
1686
  # * `network-border-group` - A unique set of Availability Zones, Local
1668
- # Zones, or Wavelength Zones from where AWS advertises IP addresses.
1687
+ # Zones, or Wavelength Zones from where Amazon Web Services advertises
1688
+ # IP addresses.
1669
1689
  #
1670
1690
  # * `network-interface-id` - \[EC2-VPC\] The ID of the network interface
1671
1691
  # that the address is associated with, if any.
1672
1692
  #
1673
- # * `network-interface-owner-id` - The AWS account ID of the owner.
1693
+ # * `network-interface-owner-id` - The account ID of the owner.
1674
1694
  #
1675
1695
  # * `private-ip-address` - \[EC2-VPC\] The private IP address associated
1676
1696
  # with the Elastic IP address.
@@ -1810,6 +1830,7 @@ module Aws::EC2
1810
1830
  # ],
1811
1831
  # image_ids: ["ImageId"],
1812
1832
  # owners: ["String"],
1833
+ # include_deprecated: false,
1813
1834
  # dry_run: false,
1814
1835
  # })
1815
1836
  # @param [Hash] options ({})
@@ -1918,6 +1939,16 @@ module Aws::EC2
1918
1939
  # specify a combination of AWS account IDs, `self`, `amazon`, and
1919
1940
  # `aws-marketplace`. If you omit this parameter, the results include all
1920
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>
1921
1952
  # @option options [Boolean] :dry_run
1922
1953
  # Checks whether you have the required permissions for the action,
1923
1954
  # without actually making the request, and provides an error response.
@@ -2673,7 +2704,7 @@ module Aws::EC2
2673
2704
  #
2674
2705
  # * `network-interface-id` - The ID of the network interface.
2675
2706
  #
2676
- # * `owner-id` - The AWS account ID of the network interface owner.
2707
+ # * `owner-id` - The account ID of the network interface owner.
2677
2708
  #
2678
2709
  # * `private-ip-address` - The private IPv4 address or addresses of the
2679
2710
  # network interface.
@@ -2681,11 +2712,11 @@ module Aws::EC2
2681
2712
  # * `private-dns-name` - The private DNS name of the network interface
2682
2713
  # (IPv4).
2683
2714
  #
2684
- # * `requester-id` - The alias or AWS account ID of the principal or
2685
- # service that created the network interface.
2715
+ # * `requester-id` - The alias or account ID of the principal or service
2716
+ # that created the network interface.
2686
2717
  #
2687
2718
  # * `requester-managed` - Indicates whether the network interface is
2688
- # being managed by an AWS service (for example, AWS Management
2719
+ # being managed by an Amazon Web Service (for example, Management
2689
2720
  # Console, Auto Scaling, and so on).
2690
2721
  #
2691
2722
  # * `source-dest-check` - Indicates whether the network interface
@@ -3417,12 +3448,13 @@ module Aws::EC2
3417
3448
  # with, if any.
3418
3449
  #
3419
3450
  # * `network-border-group` - A unique set of Availability Zones, Local
3420
- # Zones, or Wavelength Zones from where AWS advertises IP addresses.
3451
+ # Zones, or Wavelength Zones from where Amazon Web Services advertises
3452
+ # IP addresses.
3421
3453
  #
3422
3454
  # * `network-interface-id` - \[EC2-VPC\] The ID of the network interface
3423
3455
  # that the address is associated with, if any.
3424
3456
  #
3425
- # * `network-interface-owner-id` - The AWS account ID of the owner.
3457
+ # * `network-interface-owner-id` - The account ID of the owner.
3426
3458
  #
3427
3459
  # * `private-ip-address` - \[EC2-VPC\] The private IP address associated
3428
3460
  # with the Elastic IP address.