How to use associate_transit_gateway_multicast_domain method in localstack

Best Python code snippet using localstack_python

client.pyi

Source:client.pyi Github

copy

Full Screen

...713 ) -> AssociateSubnetCidrBlockResultTypeDef:714 """715 [Client.associate_subnet_cidr_block documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.associate_subnet_cidr_block)716 """717 def associate_transit_gateway_multicast_domain(718 self,719 TransitGatewayMulticastDomainId: str = None,720 TransitGatewayAttachmentId: str = None,721 SubnetIds: List[str] = None,722 DryRun: bool = None,723 ) -> AssociateTransitGatewayMulticastDomainResultTypeDef:724 """725 [Client.associate_transit_gateway_multicast_domain documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.associate_transit_gateway_multicast_domain)726 """727 def associate_transit_gateway_route_table(728 self, TransitGatewayRouteTableId: str, TransitGatewayAttachmentId: str, DryRun: bool = None729 ) -> AssociateTransitGatewayRouteTableResultTypeDef:730 """731 [Client.associate_transit_gateway_route_table documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.associate_transit_gateway_route_table)732 """733 def associate_vpc_cidr_block(734 self,735 VpcId: str,736 AmazonProvidedIpv6CidrBlock: bool = None,737 CidrBlock: str = None,738 Ipv6CidrBlockNetworkBorderGroup: str = None,739 Ipv6Pool: str = None,740 Ipv6CidrBlock: str = None,741 ) -> AssociateVpcCidrBlockResultTypeDef:742 """743 [Client.associate_vpc_cidr_block documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.associate_vpc_cidr_block)744 """745 def attach_classic_link_vpc(746 self, Groups: List[str], InstanceId: str, VpcId: str, DryRun: bool = None747 ) -> AttachClassicLinkVpcResultTypeDef:748 """749 [Client.attach_classic_link_vpc documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.attach_classic_link_vpc)750 """751 def attach_internet_gateway(752 self, InternetGatewayId: str, VpcId: str, DryRun: bool = None753 ) -> None:754 """755 [Client.attach_internet_gateway documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.attach_internet_gateway)756 """757 def attach_network_interface(758 self, DeviceIndex: int, InstanceId: str, NetworkInterfaceId: str, DryRun: bool = None759 ) -> AttachNetworkInterfaceResultTypeDef:760 """761 [Client.attach_network_interface documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.attach_network_interface)762 """763 def attach_volume(764 self, Device: str, InstanceId: str, VolumeId: str, DryRun: bool = None765 ) -> "VolumeAttachmentTypeDef":766 """767 [Client.attach_volume documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.attach_volume)768 """769 def attach_vpn_gateway(770 self, VpcId: str, VpnGatewayId: str, DryRun: bool = None771 ) -> AttachVpnGatewayResultTypeDef:772 """773 [Client.attach_vpn_gateway documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.attach_vpn_gateway)774 """775 def authorize_client_vpn_ingress(776 self,777 ClientVpnEndpointId: str,778 TargetNetworkCidr: str,779 AccessGroupId: str = None,780 AuthorizeAllGroups: bool = None,781 Description: str = None,782 ClientToken: str = None,783 DryRun: bool = None,784 ) -> AuthorizeClientVpnIngressResultTypeDef:785 """786 [Client.authorize_client_vpn_ingress documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.authorize_client_vpn_ingress)787 """788 def authorize_security_group_egress(789 self,790 GroupId: str,791 DryRun: bool = None,792 IpPermissions: List["IpPermissionTypeDef"] = None,793 CidrIp: str = None,794 FromPort: int = None,795 IpProtocol: str = None,796 ToPort: int = None,797 SourceSecurityGroupName: str = None,798 SourceSecurityGroupOwnerId: str = None,799 ) -> None:800 """801 [Client.authorize_security_group_egress documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.authorize_security_group_egress)802 """803 def authorize_security_group_ingress(804 self,805 CidrIp: str = None,806 FromPort: int = None,807 GroupId: str = None,808 GroupName: str = None,809 IpPermissions: List["IpPermissionTypeDef"] = None,810 IpProtocol: str = None,811 SourceSecurityGroupName: str = None,812 SourceSecurityGroupOwnerId: str = None,813 ToPort: int = None,814 DryRun: bool = None,815 ) -> None:816 """817 [Client.authorize_security_group_ingress documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.authorize_security_group_ingress)818 """819 def bundle_instance(820 self, InstanceId: str, Storage: "StorageTypeDef", DryRun: bool = None821 ) -> BundleInstanceResultTypeDef:822 """823 [Client.bundle_instance documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.bundle_instance)824 """825 def can_paginate(self, operation_name: str) -> bool:826 """827 [Client.can_paginate documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.can_paginate)828 """829 def cancel_bundle_task(830 self, BundleId: str, DryRun: bool = None831 ) -> CancelBundleTaskResultTypeDef:832 """833 [Client.cancel_bundle_task documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.cancel_bundle_task)834 """835 def cancel_capacity_reservation(836 self, CapacityReservationId: str, DryRun: bool = None837 ) -> CancelCapacityReservationResultTypeDef:838 """839 [Client.cancel_capacity_reservation documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.cancel_capacity_reservation)840 """841 def cancel_conversion_task(842 self, ConversionTaskId: str, DryRun: bool = None, ReasonMessage: str = None843 ) -> None:844 """845 [Client.cancel_conversion_task documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.cancel_conversion_task)846 """847 def cancel_export_task(self, ExportTaskId: str) -> None:848 """849 [Client.cancel_export_task documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.cancel_export_task)850 """851 def cancel_import_task(852 self, CancelReason: str = None, DryRun: bool = None, ImportTaskId: str = None853 ) -> CancelImportTaskResultTypeDef:854 """855 [Client.cancel_import_task documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.cancel_import_task)856 """857 def cancel_reserved_instances_listing(858 self, ReservedInstancesListingId: str859 ) -> CancelReservedInstancesListingResultTypeDef:860 """861 [Client.cancel_reserved_instances_listing documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.cancel_reserved_instances_listing)862 """863 def cancel_spot_fleet_requests(864 self, SpotFleetRequestIds: List[str], TerminateInstances: bool, DryRun: bool = None865 ) -> CancelSpotFleetRequestsResponseTypeDef:866 """867 [Client.cancel_spot_fleet_requests documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.cancel_spot_fleet_requests)868 """869 def cancel_spot_instance_requests(870 self, SpotInstanceRequestIds: List[str], DryRun: bool = None871 ) -> CancelSpotInstanceRequestsResultTypeDef:872 """873 [Client.cancel_spot_instance_requests documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.cancel_spot_instance_requests)874 """875 def confirm_product_instance(876 self, InstanceId: str, ProductCode: str, DryRun: bool = None877 ) -> ConfirmProductInstanceResultTypeDef:878 """879 [Client.confirm_product_instance documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.confirm_product_instance)880 """881 def copy_fpga_image(882 self,883 SourceFpgaImageId: str,884 SourceRegion: str,885 DryRun: bool = None,886 Description: str = None,887 Name: str = None,888 ClientToken: str = None,889 ) -> CopyFpgaImageResultTypeDef:890 """891 [Client.copy_fpga_image documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.copy_fpga_image)892 """893 def copy_image(894 self,895 Name: str,896 SourceImageId: str,897 SourceRegion: str,898 ClientToken: str = None,899 Description: str = None,900 Encrypted: bool = None,901 KmsKeyId: str = None,902 DryRun: bool = None,903 ) -> CopyImageResultTypeDef:904 """905 [Client.copy_image documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.copy_image)906 """907 def copy_snapshot(908 self,909 SourceRegion: str,910 SourceSnapshotId: str,911 Description: str = None,912 DestinationRegion: str = None,913 Encrypted: bool = None,914 KmsKeyId: str = None,915 PresignedUrl: str = None,916 TagSpecifications: List["TagSpecificationTypeDef"] = None,917 DryRun: bool = None,918 ) -> CopySnapshotResultTypeDef:919 """920 [Client.copy_snapshot documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.copy_snapshot)921 """922 def create_capacity_reservation(923 self,924 InstanceType: str,925 InstancePlatform: Literal[926 "Linux/UNIX",927 "Red Hat Enterprise Linux",928 "SUSE Linux",929 "Windows",930 "Windows with SQL Server",931 "Windows with SQL Server Enterprise",932 "Windows with SQL Server Standard",933 "Windows with SQL Server Web",934 "Linux with SQL Server Standard",935 "Linux with SQL Server Web",936 "Linux with SQL Server Enterprise",937 ],938 InstanceCount: int,939 ClientToken: str = None,940 AvailabilityZone: str = None,941 AvailabilityZoneId: str = None,942 Tenancy: Literal["default", "dedicated"] = None,943 EbsOptimized: bool = None,944 EphemeralStorage: bool = None,945 EndDate: datetime = None,946 EndDateType: Literal["unlimited", "limited"] = None,947 InstanceMatchCriteria: Literal["open", "targeted"] = None,948 TagSpecifications: List["TagSpecificationTypeDef"] = None,949 DryRun: bool = None,950 ) -> CreateCapacityReservationResultTypeDef:951 """952 [Client.create_capacity_reservation documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_capacity_reservation)953 """954 def create_carrier_gateway(955 self,956 VpcId: str,957 TagSpecifications: List["TagSpecificationTypeDef"] = None,958 DryRun: bool = None,959 ClientToken: str = None,960 ) -> CreateCarrierGatewayResultTypeDef:961 """962 [Client.create_carrier_gateway documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_carrier_gateway)963 """964 def create_client_vpn_endpoint(965 self,966 ClientCidrBlock: str,967 ServerCertificateArn: str,968 AuthenticationOptions: List[ClientVpnAuthenticationRequestTypeDef],969 ConnectionLogOptions: ConnectionLogOptionsTypeDef,970 DnsServers: List[str] = None,971 TransportProtocol: Literal["tcp", "udp"] = None,972 VpnPort: int = None,973 Description: str = None,974 SplitTunnel: bool = None,975 DryRun: bool = None,976 ClientToken: str = None,977 TagSpecifications: List["TagSpecificationTypeDef"] = None,978 SecurityGroupIds: List[str] = None,979 VpcId: str = None,980 ) -> CreateClientVpnEndpointResultTypeDef:981 """982 [Client.create_client_vpn_endpoint documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_client_vpn_endpoint)983 """984 def create_client_vpn_route(985 self,986 ClientVpnEndpointId: str,987 DestinationCidrBlock: str,988 TargetVpcSubnetId: str,989 Description: str = None,990 ClientToken: str = None,991 DryRun: bool = None,992 ) -> CreateClientVpnRouteResultTypeDef:993 """994 [Client.create_client_vpn_route documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_client_vpn_route)995 """996 def create_customer_gateway(997 self,998 BgpAsn: int,999 Type: Literal["ipsec.1"],1000 PublicIp: str = None,1001 CertificateArn: str = None,1002 TagSpecifications: List["TagSpecificationTypeDef"] = None,1003 DeviceName: str = None,1004 DryRun: bool = None,1005 ) -> CreateCustomerGatewayResultTypeDef:1006 """1007 [Client.create_customer_gateway documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_customer_gateway)1008 """1009 def create_default_subnet(1010 self, AvailabilityZone: str, DryRun: bool = None1011 ) -> CreateDefaultSubnetResultTypeDef:1012 """1013 [Client.create_default_subnet documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_default_subnet)1014 """1015 def create_default_vpc(self, DryRun: bool = None) -> CreateDefaultVpcResultTypeDef:1016 """1017 [Client.create_default_vpc documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_default_vpc)1018 """1019 def create_dhcp_options(1020 self,1021 DhcpConfigurations: List[NewDhcpConfigurationTypeDef],1022 TagSpecifications: List["TagSpecificationTypeDef"] = None,1023 DryRun: bool = None,1024 ) -> CreateDhcpOptionsResultTypeDef:1025 """1026 [Client.create_dhcp_options documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_dhcp_options)1027 """1028 def create_egress_only_internet_gateway(1029 self,1030 VpcId: str,1031 ClientToken: str = None,1032 DryRun: bool = None,1033 TagSpecifications: List["TagSpecificationTypeDef"] = None,1034 ) -> CreateEgressOnlyInternetGatewayResultTypeDef:1035 """1036 [Client.create_egress_only_internet_gateway documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_egress_only_internet_gateway)1037 """1038 def create_fleet(1039 self,1040 LaunchTemplateConfigs: List[FleetLaunchTemplateConfigRequestTypeDef],1041 TargetCapacitySpecification: TargetCapacitySpecificationRequestTypeDef,1042 DryRun: bool = None,1043 ClientToken: str = None,1044 SpotOptions: SpotOptionsRequestTypeDef = None,1045 OnDemandOptions: OnDemandOptionsRequestTypeDef = None,1046 ExcessCapacityTerminationPolicy: Literal["no-termination", "termination"] = None,1047 TerminateInstancesWithExpiration: bool = None,1048 Type: Literal["request", "maintain", "instant"] = None,1049 ValidFrom: datetime = None,1050 ValidUntil: datetime = None,1051 ReplaceUnhealthyInstances: bool = None,1052 TagSpecifications: List["TagSpecificationTypeDef"] = None,1053 ) -> CreateFleetResultTypeDef:1054 """1055 [Client.create_fleet documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_fleet)1056 """1057 def create_flow_logs(1058 self,1059 ResourceIds: List[str],1060 ResourceType: Literal["VPC", "Subnet", "NetworkInterface"],1061 TrafficType: Literal["ACCEPT", "REJECT", "ALL"],1062 DryRun: bool = None,1063 ClientToken: str = None,1064 DeliverLogsPermissionArn: str = None,1065 LogGroupName: str = None,1066 LogDestinationType: Literal["cloud-watch-logs", "s3"] = None,1067 LogDestination: str = None,1068 LogFormat: str = None,1069 TagSpecifications: List["TagSpecificationTypeDef"] = None,1070 MaxAggregationInterval: int = None,1071 ) -> CreateFlowLogsResultTypeDef:1072 """1073 [Client.create_flow_logs documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_flow_logs)1074 """1075 def create_fpga_image(1076 self,1077 InputStorageLocation: StorageLocationTypeDef,1078 DryRun: bool = None,1079 LogsStorageLocation: StorageLocationTypeDef = None,1080 Description: str = None,1081 Name: str = None,1082 ClientToken: str = None,1083 TagSpecifications: List["TagSpecificationTypeDef"] = None,1084 ) -> CreateFpgaImageResultTypeDef:1085 """1086 [Client.create_fpga_image documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_fpga_image)1087 """1088 def create_image(1089 self,1090 InstanceId: str,1091 Name: str,1092 BlockDeviceMappings: List["BlockDeviceMappingTypeDef"] = None,1093 Description: str = None,1094 DryRun: bool = None,1095 NoReboot: bool = None,1096 ) -> CreateImageResultTypeDef:1097 """1098 [Client.create_image documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_image)1099 """1100 def create_instance_export_task(1101 self,1102 InstanceId: str,1103 Description: str = None,1104 ExportToS3Task: ExportToS3TaskSpecificationTypeDef = None,1105 TargetEnvironment: Literal["citrix", "vmware", "microsoft"] = None,1106 TagSpecifications: List["TagSpecificationTypeDef"] = None,1107 ) -> CreateInstanceExportTaskResultTypeDef:1108 """1109 [Client.create_instance_export_task documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_instance_export_task)1110 """1111 def create_internet_gateway(1112 self, TagSpecifications: List["TagSpecificationTypeDef"] = None, DryRun: bool = None1113 ) -> CreateInternetGatewayResultTypeDef:1114 """1115 [Client.create_internet_gateway documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_internet_gateway)1116 """1117 def create_key_pair(1118 self,1119 KeyName: str,1120 DryRun: bool = None,1121 TagSpecifications: List["TagSpecificationTypeDef"] = None,1122 ) -> KeyPairTypeDef:1123 """1124 [Client.create_key_pair documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_key_pair)1125 """1126 def create_launch_template(1127 self,1128 LaunchTemplateName: str,1129 LaunchTemplateData: RequestLaunchTemplateDataTypeDef,1130 DryRun: bool = None,1131 ClientToken: str = None,1132 VersionDescription: str = None,1133 TagSpecifications: List["TagSpecificationTypeDef"] = None,1134 ) -> CreateLaunchTemplateResultTypeDef:1135 """1136 [Client.create_launch_template documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_launch_template)1137 """1138 def create_launch_template_version(1139 self,1140 LaunchTemplateData: RequestLaunchTemplateDataTypeDef,1141 DryRun: bool = None,1142 ClientToken: str = None,1143 LaunchTemplateId: str = None,1144 LaunchTemplateName: str = None,1145 SourceVersion: str = None,1146 VersionDescription: str = None,1147 ) -> CreateLaunchTemplateVersionResultTypeDef:1148 """1149 [Client.create_launch_template_version documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_launch_template_version)1150 """1151 def create_local_gateway_route(1152 self,1153 DestinationCidrBlock: str,1154 LocalGatewayRouteTableId: str,1155 LocalGatewayVirtualInterfaceGroupId: str,1156 DryRun: bool = None,1157 ) -> CreateLocalGatewayRouteResultTypeDef:1158 """1159 [Client.create_local_gateway_route documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_local_gateway_route)1160 """1161 def create_local_gateway_route_table_vpc_association(1162 self,1163 LocalGatewayRouteTableId: str,1164 VpcId: str,1165 TagSpecifications: List["TagSpecificationTypeDef"] = None,1166 DryRun: bool = None,1167 ) -> CreateLocalGatewayRouteTableVpcAssociationResultTypeDef:1168 """1169 [Client.create_local_gateway_route_table_vpc_association documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_local_gateway_route_table_vpc_association)1170 """1171 def create_managed_prefix_list(1172 self,1173 PrefixListName: str,1174 MaxEntries: int,1175 AddressFamily: str,1176 DryRun: bool = None,1177 Entries: List[AddPrefixListEntryTypeDef] = None,1178 TagSpecifications: List["TagSpecificationTypeDef"] = None,1179 ClientToken: str = None,1180 ) -> CreateManagedPrefixListResultTypeDef:1181 """1182 [Client.create_managed_prefix_list documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_managed_prefix_list)1183 """1184 def create_nat_gateway(1185 self,1186 AllocationId: str,1187 SubnetId: str,1188 ClientToken: str = None,1189 DryRun: bool = None,1190 TagSpecifications: List["TagSpecificationTypeDef"] = None,1191 ) -> CreateNatGatewayResultTypeDef:1192 """1193 [Client.create_nat_gateway documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_nat_gateway)1194 """1195 def create_network_acl(1196 self,1197 VpcId: str,1198 DryRun: bool = None,1199 TagSpecifications: List["TagSpecificationTypeDef"] = None,1200 ) -> CreateNetworkAclResultTypeDef:1201 """1202 [Client.create_network_acl documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_network_acl)1203 """1204 def create_network_acl_entry(1205 self,1206 Egress: bool,1207 NetworkAclId: str,1208 Protocol: str,1209 RuleAction: Literal["allow", "deny"],1210 RuleNumber: int,1211 CidrBlock: str = None,1212 DryRun: bool = None,1213 IcmpTypeCode: "IcmpTypeCodeTypeDef" = None,1214 Ipv6CidrBlock: str = None,1215 PortRange: "PortRangeTypeDef" = None,1216 ) -> None:1217 """1218 [Client.create_network_acl_entry documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_network_acl_entry)1219 """1220 def create_network_interface(1221 self,1222 SubnetId: str,1223 Description: str = None,1224 DryRun: bool = None,1225 Groups: List[str] = None,1226 Ipv6AddressCount: int = None,1227 Ipv6Addresses: List["InstanceIpv6AddressTypeDef"] = None,1228 PrivateIpAddress: str = None,1229 PrivateIpAddresses: List["PrivateIpAddressSpecificationTypeDef"] = None,1230 SecondaryPrivateIpAddressCount: int = None,1231 InterfaceType: Literal["efa"] = None,1232 TagSpecifications: List["TagSpecificationTypeDef"] = None,1233 ) -> CreateNetworkInterfaceResultTypeDef:1234 """1235 [Client.create_network_interface documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_network_interface)1236 """1237 def create_network_interface_permission(1238 self,1239 NetworkInterfaceId: str,1240 Permission: Literal["INSTANCE-ATTACH", "EIP-ASSOCIATE"],1241 AwsAccountId: str = None,1242 AwsService: str = None,1243 DryRun: bool = None,1244 ) -> CreateNetworkInterfacePermissionResultTypeDef:1245 """1246 [Client.create_network_interface_permission documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_network_interface_permission)1247 """1248 def create_placement_group(1249 self,1250 DryRun: bool = None,1251 GroupName: str = None,1252 Strategy: Literal["cluster", "spread", "partition"] = None,1253 PartitionCount: int = None,1254 TagSpecifications: List["TagSpecificationTypeDef"] = None,1255 ) -> CreatePlacementGroupResultTypeDef:1256 """1257 [Client.create_placement_group documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_placement_group)1258 """1259 def create_reserved_instances_listing(1260 self,1261 ClientToken: str,1262 InstanceCount: int,1263 PriceSchedules: List[PriceScheduleSpecificationTypeDef],1264 ReservedInstancesId: str,1265 ) -> CreateReservedInstancesListingResultTypeDef:1266 """1267 [Client.create_reserved_instances_listing documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_reserved_instances_listing)1268 """1269 def create_route(1270 self,1271 RouteTableId: str,1272 DestinationCidrBlock: str = None,1273 DestinationIpv6CidrBlock: str = None,1274 DestinationPrefixListId: str = None,1275 DryRun: bool = None,1276 EgressOnlyInternetGatewayId: str = None,1277 GatewayId: str = None,1278 InstanceId: str = None,1279 NatGatewayId: str = None,1280 TransitGatewayId: str = None,1281 LocalGatewayId: str = None,1282 CarrierGatewayId: str = None,1283 NetworkInterfaceId: str = None,1284 VpcPeeringConnectionId: str = None,1285 ) -> CreateRouteResultTypeDef:1286 """1287 [Client.create_route documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_route)1288 """1289 def create_route_table(1290 self,1291 VpcId: str,1292 DryRun: bool = None,1293 TagSpecifications: List["TagSpecificationTypeDef"] = None,1294 ) -> CreateRouteTableResultTypeDef:1295 """1296 [Client.create_route_table documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_route_table)1297 """1298 def create_security_group(1299 self,1300 Description: str,1301 GroupName: str,1302 VpcId: str = None,1303 TagSpecifications: List["TagSpecificationTypeDef"] = None,1304 DryRun: bool = None,1305 ) -> CreateSecurityGroupResultTypeDef:1306 """1307 [Client.create_security_group documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_security_group)1308 """1309 def create_snapshot(1310 self,1311 VolumeId: str,1312 Description: str = None,1313 TagSpecifications: List["TagSpecificationTypeDef"] = None,1314 DryRun: bool = None,1315 ) -> "SnapshotTypeDef":1316 """1317 [Client.create_snapshot documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_snapshot)1318 """1319 def create_snapshots(1320 self,1321 InstanceSpecification: InstanceSpecificationTypeDef,1322 Description: str = None,1323 TagSpecifications: List["TagSpecificationTypeDef"] = None,1324 DryRun: bool = None,1325 CopyTagsFromSource: Literal["volume"] = None,1326 ) -> CreateSnapshotsResultTypeDef:1327 """1328 [Client.create_snapshots documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_snapshots)1329 """1330 def create_spot_datafeed_subscription(1331 self, Bucket: str, DryRun: bool = None, Prefix: str = None1332 ) -> CreateSpotDatafeedSubscriptionResultTypeDef:1333 """1334 [Client.create_spot_datafeed_subscription documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_spot_datafeed_subscription)1335 """1336 def create_subnet(1337 self,1338 CidrBlock: str,1339 VpcId: str,1340 TagSpecifications: List["TagSpecificationTypeDef"] = None,1341 AvailabilityZone: str = None,1342 AvailabilityZoneId: str = None,1343 Ipv6CidrBlock: str = None,1344 OutpostArn: str = None,1345 DryRun: bool = None,1346 ) -> CreateSubnetResultTypeDef:1347 """1348 [Client.create_subnet documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_subnet)1349 """1350 def create_tags(1351 self, Resources: List[Any], Tags: List[TagTypeDef], DryRun: bool = None1352 ) -> None:1353 """1354 [Client.create_tags documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_tags)1355 """1356 def create_traffic_mirror_filter(1357 self,1358 Description: str = None,1359 TagSpecifications: List["TagSpecificationTypeDef"] = None,1360 DryRun: bool = None,1361 ClientToken: str = None,1362 ) -> CreateTrafficMirrorFilterResultTypeDef:1363 """1364 [Client.create_traffic_mirror_filter documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_traffic_mirror_filter)1365 """1366 def create_traffic_mirror_filter_rule(1367 self,1368 TrafficMirrorFilterId: str,1369 TrafficDirection: Literal["ingress", "egress"],1370 RuleNumber: int,1371 RuleAction: Literal["accept", "reject"],1372 DestinationCidrBlock: str,1373 SourceCidrBlock: str,1374 DestinationPortRange: TrafficMirrorPortRangeRequestTypeDef = None,1375 SourcePortRange: TrafficMirrorPortRangeRequestTypeDef = None,1376 Protocol: int = None,1377 Description: str = None,1378 DryRun: bool = None,1379 ClientToken: str = None,1380 ) -> CreateTrafficMirrorFilterRuleResultTypeDef:1381 """1382 [Client.create_traffic_mirror_filter_rule documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_traffic_mirror_filter_rule)1383 """1384 def create_traffic_mirror_session(1385 self,1386 NetworkInterfaceId: str,1387 TrafficMirrorTargetId: str,1388 TrafficMirrorFilterId: str,1389 SessionNumber: int,1390 PacketLength: int = None,1391 VirtualNetworkId: int = None,1392 Description: str = None,1393 TagSpecifications: List["TagSpecificationTypeDef"] = None,1394 DryRun: bool = None,1395 ClientToken: str = None,1396 ) -> CreateTrafficMirrorSessionResultTypeDef:1397 """1398 [Client.create_traffic_mirror_session documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_traffic_mirror_session)1399 """1400 def create_traffic_mirror_target(1401 self,1402 NetworkInterfaceId: str = None,1403 NetworkLoadBalancerArn: str = None,1404 Description: str = None,1405 TagSpecifications: List["TagSpecificationTypeDef"] = None,1406 DryRun: bool = None,1407 ClientToken: str = None,1408 ) -> CreateTrafficMirrorTargetResultTypeDef:1409 """1410 [Client.create_traffic_mirror_target documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_traffic_mirror_target)1411 """1412 def create_transit_gateway(1413 self,1414 Description: str = None,1415 Options: TransitGatewayRequestOptionsTypeDef = None,1416 TagSpecifications: List["TagSpecificationTypeDef"] = None,1417 DryRun: bool = None,1418 ) -> CreateTransitGatewayResultTypeDef:1419 """1420 [Client.create_transit_gateway documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_transit_gateway)1421 """1422 def create_transit_gateway_multicast_domain(1423 self,1424 TransitGatewayId: str,1425 TagSpecifications: List["TagSpecificationTypeDef"] = None,1426 DryRun: bool = None,1427 ) -> CreateTransitGatewayMulticastDomainResultTypeDef:1428 """1429 [Client.create_transit_gateway_multicast_domain documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_transit_gateway_multicast_domain)1430 """1431 def create_transit_gateway_peering_attachment(1432 self,1433 TransitGatewayId: str,1434 PeerTransitGatewayId: str,1435 PeerAccountId: str,1436 PeerRegion: str,1437 TagSpecifications: List["TagSpecificationTypeDef"] = None,1438 DryRun: bool = None,1439 ) -> CreateTransitGatewayPeeringAttachmentResultTypeDef:1440 """1441 [Client.create_transit_gateway_peering_attachment documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_transit_gateway_peering_attachment)1442 """1443 def create_transit_gateway_route(1444 self,1445 DestinationCidrBlock: str,1446 TransitGatewayRouteTableId: str,1447 TransitGatewayAttachmentId: str = None,1448 Blackhole: bool = None,1449 DryRun: bool = None,1450 ) -> CreateTransitGatewayRouteResultTypeDef:1451 """1452 [Client.create_transit_gateway_route documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_transit_gateway_route)1453 """1454 def create_transit_gateway_route_table(1455 self,1456 TransitGatewayId: str,1457 TagSpecifications: List["TagSpecificationTypeDef"] = None,1458 DryRun: bool = None,1459 ) -> CreateTransitGatewayRouteTableResultTypeDef:1460 """1461 [Client.create_transit_gateway_route_table documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_transit_gateway_route_table)1462 """1463 def create_transit_gateway_vpc_attachment(1464 self,1465 TransitGatewayId: str,1466 VpcId: str,1467 SubnetIds: List[str],1468 Options: CreateTransitGatewayVpcAttachmentRequestOptionsTypeDef = None,1469 TagSpecifications: List["TagSpecificationTypeDef"] = None,1470 DryRun: bool = None,1471 ) -> CreateTransitGatewayVpcAttachmentResultTypeDef:1472 """1473 [Client.create_transit_gateway_vpc_attachment documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_transit_gateway_vpc_attachment)1474 """1475 def create_volume(1476 self,1477 AvailabilityZone: str,1478 Encrypted: bool = None,1479 Iops: int = None,1480 KmsKeyId: str = None,1481 OutpostArn: str = None,1482 Size: int = None,1483 SnapshotId: str = None,1484 VolumeType: Literal["standard", "io1", "gp2", "sc1", "st1"] = None,1485 DryRun: bool = None,1486 TagSpecifications: List["TagSpecificationTypeDef"] = None,1487 MultiAttachEnabled: bool = None,1488 ) -> "VolumeTypeDef":1489 """1490 [Client.create_volume documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_volume)1491 """1492 def create_vpc(1493 self,1494 CidrBlock: str,1495 AmazonProvidedIpv6CidrBlock: bool = None,1496 Ipv6Pool: str = None,1497 Ipv6CidrBlock: str = None,1498 DryRun: bool = None,1499 InstanceTenancy: Literal["default", "dedicated", "host"] = None,1500 Ipv6CidrBlockNetworkBorderGroup: str = None,1501 TagSpecifications: List["TagSpecificationTypeDef"] = None,1502 ) -> CreateVpcResultTypeDef:1503 """1504 [Client.create_vpc documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_vpc)1505 """1506 def create_vpc_endpoint(1507 self,1508 VpcId: str,1509 ServiceName: str,1510 DryRun: bool = None,1511 VpcEndpointType: Literal["Interface", "Gateway"] = None,1512 PolicyDocument: str = None,1513 RouteTableIds: List[str] = None,1514 SubnetIds: List[str] = None,1515 SecurityGroupIds: List[str] = None,1516 ClientToken: str = None,1517 PrivateDnsEnabled: bool = None,1518 TagSpecifications: List["TagSpecificationTypeDef"] = None,1519 ) -> CreateVpcEndpointResultTypeDef:1520 """1521 [Client.create_vpc_endpoint documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_vpc_endpoint)1522 """1523 def create_vpc_endpoint_connection_notification(1524 self,1525 ConnectionNotificationArn: str,1526 ConnectionEvents: List[str],1527 DryRun: bool = None,1528 ServiceId: str = None,1529 VpcEndpointId: str = None,1530 ClientToken: str = None,1531 ) -> CreateVpcEndpointConnectionNotificationResultTypeDef:1532 """1533 [Client.create_vpc_endpoint_connection_notification documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_vpc_endpoint_connection_notification)1534 """1535 def create_vpc_endpoint_service_configuration(1536 self,1537 NetworkLoadBalancerArns: List[str],1538 DryRun: bool = None,1539 AcceptanceRequired: bool = None,1540 PrivateDnsName: str = None,1541 ClientToken: str = None,1542 TagSpecifications: List["TagSpecificationTypeDef"] = None,1543 ) -> CreateVpcEndpointServiceConfigurationResultTypeDef:1544 """1545 [Client.create_vpc_endpoint_service_configuration documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_vpc_endpoint_service_configuration)1546 """1547 def create_vpc_peering_connection(1548 self,1549 DryRun: bool = None,1550 PeerOwnerId: str = None,1551 PeerVpcId: str = None,1552 VpcId: str = None,1553 PeerRegion: str = None,1554 TagSpecifications: List["TagSpecificationTypeDef"] = None,1555 ) -> CreateVpcPeeringConnectionResultTypeDef:1556 """1557 [Client.create_vpc_peering_connection documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_vpc_peering_connection)1558 """1559 def create_vpn_connection(1560 self,1561 CustomerGatewayId: str,1562 Type: str,1563 VpnGatewayId: str = None,1564 TransitGatewayId: str = None,1565 DryRun: bool = None,1566 Options: VpnConnectionOptionsSpecificationTypeDef = None,1567 TagSpecifications: List["TagSpecificationTypeDef"] = None,1568 ) -> CreateVpnConnectionResultTypeDef:1569 """1570 [Client.create_vpn_connection documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_vpn_connection)1571 """1572 def create_vpn_connection_route(self, DestinationCidrBlock: str, VpnConnectionId: str) -> None:1573 """1574 [Client.create_vpn_connection_route documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_vpn_connection_route)1575 """1576 def create_vpn_gateway(1577 self,1578 Type: Literal["ipsec.1"],1579 AvailabilityZone: str = None,1580 TagSpecifications: List["TagSpecificationTypeDef"] = None,1581 AmazonSideAsn: int = None,1582 DryRun: bool = None,1583 ) -> CreateVpnGatewayResultTypeDef:1584 """1585 [Client.create_vpn_gateway documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.create_vpn_gateway)1586 """1587 def delete_carrier_gateway(1588 self, CarrierGatewayId: str, DryRun: bool = None1589 ) -> DeleteCarrierGatewayResultTypeDef:1590 """1591 [Client.delete_carrier_gateway documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_carrier_gateway)1592 """1593 def delete_client_vpn_endpoint(1594 self, ClientVpnEndpointId: str, DryRun: bool = None1595 ) -> DeleteClientVpnEndpointResultTypeDef:1596 """1597 [Client.delete_client_vpn_endpoint documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_client_vpn_endpoint)1598 """1599 def delete_client_vpn_route(1600 self,1601 ClientVpnEndpointId: str,1602 DestinationCidrBlock: str,1603 TargetVpcSubnetId: str = None,1604 DryRun: bool = None,1605 ) -> DeleteClientVpnRouteResultTypeDef:1606 """1607 [Client.delete_client_vpn_route documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_client_vpn_route)1608 """1609 def delete_customer_gateway(self, CustomerGatewayId: str, DryRun: bool = None) -> None:1610 """1611 [Client.delete_customer_gateway documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_customer_gateway)1612 """1613 def delete_dhcp_options(self, DhcpOptionsId: str, DryRun: bool = None) -> None:1614 """1615 [Client.delete_dhcp_options documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_dhcp_options)1616 """1617 def delete_egress_only_internet_gateway(1618 self, EgressOnlyInternetGatewayId: str, DryRun: bool = None1619 ) -> DeleteEgressOnlyInternetGatewayResultTypeDef:1620 """1621 [Client.delete_egress_only_internet_gateway documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_egress_only_internet_gateway)1622 """1623 def delete_fleets(1624 self, FleetIds: List[str], TerminateInstances: bool, DryRun: bool = None1625 ) -> DeleteFleetsResultTypeDef:1626 """1627 [Client.delete_fleets documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_fleets)1628 """1629 def delete_flow_logs(1630 self, FlowLogIds: List[str], DryRun: bool = None1631 ) -> DeleteFlowLogsResultTypeDef:1632 """1633 [Client.delete_flow_logs documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_flow_logs)1634 """1635 def delete_fpga_image(1636 self, FpgaImageId: str, DryRun: bool = None1637 ) -> DeleteFpgaImageResultTypeDef:1638 """1639 [Client.delete_fpga_image documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_fpga_image)1640 """1641 def delete_internet_gateway(self, InternetGatewayId: str, DryRun: bool = None) -> None:1642 """1643 [Client.delete_internet_gateway documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_internet_gateway)1644 """1645 def delete_key_pair(1646 self, KeyName: str = None, KeyPairId: str = None, DryRun: bool = None1647 ) -> None:1648 """1649 [Client.delete_key_pair documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_key_pair)1650 """1651 def delete_launch_template(1652 self, DryRun: bool = None, LaunchTemplateId: str = None, LaunchTemplateName: str = None1653 ) -> DeleteLaunchTemplateResultTypeDef:1654 """1655 [Client.delete_launch_template documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_launch_template)1656 """1657 def delete_launch_template_versions(1658 self,1659 Versions: List[str],1660 DryRun: bool = None,1661 LaunchTemplateId: str = None,1662 LaunchTemplateName: str = None,1663 ) -> DeleteLaunchTemplateVersionsResultTypeDef:1664 """1665 [Client.delete_launch_template_versions documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_launch_template_versions)1666 """1667 def delete_local_gateway_route(1668 self, DestinationCidrBlock: str, LocalGatewayRouteTableId: str, DryRun: bool = None1669 ) -> DeleteLocalGatewayRouteResultTypeDef:1670 """1671 [Client.delete_local_gateway_route documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_local_gateway_route)1672 """1673 def delete_local_gateway_route_table_vpc_association(1674 self, LocalGatewayRouteTableVpcAssociationId: str, DryRun: bool = None1675 ) -> DeleteLocalGatewayRouteTableVpcAssociationResultTypeDef:1676 """1677 [Client.delete_local_gateway_route_table_vpc_association documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_local_gateway_route_table_vpc_association)1678 """1679 def delete_managed_prefix_list(1680 self, PrefixListId: str, DryRun: bool = None1681 ) -> DeleteManagedPrefixListResultTypeDef:1682 """1683 [Client.delete_managed_prefix_list documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_managed_prefix_list)1684 """1685 def delete_nat_gateway(1686 self, NatGatewayId: str, DryRun: bool = None1687 ) -> DeleteNatGatewayResultTypeDef:1688 """1689 [Client.delete_nat_gateway documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_nat_gateway)1690 """1691 def delete_network_acl(self, NetworkAclId: str, DryRun: bool = None) -> None:1692 """1693 [Client.delete_network_acl documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_network_acl)1694 """1695 def delete_network_acl_entry(1696 self, Egress: bool, NetworkAclId: str, RuleNumber: int, DryRun: bool = None1697 ) -> None:1698 """1699 [Client.delete_network_acl_entry documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_network_acl_entry)1700 """1701 def delete_network_interface(self, NetworkInterfaceId: str, DryRun: bool = None) -> None:1702 """1703 [Client.delete_network_interface documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_network_interface)1704 """1705 def delete_network_interface_permission(1706 self, NetworkInterfacePermissionId: str, Force: bool = None, DryRun: bool = None1707 ) -> DeleteNetworkInterfacePermissionResultTypeDef:1708 """1709 [Client.delete_network_interface_permission documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_network_interface_permission)1710 """1711 def delete_placement_group(self, GroupName: str, DryRun: bool = None) -> None:1712 """1713 [Client.delete_placement_group documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_placement_group)1714 """1715 def delete_queued_reserved_instances(1716 self, ReservedInstancesIds: List[str], DryRun: bool = None1717 ) -> DeleteQueuedReservedInstancesResultTypeDef:1718 """1719 [Client.delete_queued_reserved_instances documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_queued_reserved_instances)1720 """1721 def delete_route(1722 self,1723 RouteTableId: str,1724 DestinationCidrBlock: str = None,1725 DestinationIpv6CidrBlock: str = None,1726 DestinationPrefixListId: str = None,1727 DryRun: bool = None,1728 ) -> None:1729 """1730 [Client.delete_route documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_route)1731 """1732 def delete_route_table(self, RouteTableId: str, DryRun: bool = None) -> None:1733 """1734 [Client.delete_route_table documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_route_table)1735 """1736 def delete_security_group(1737 self, GroupId: str = None, GroupName: str = None, DryRun: bool = None1738 ) -> None:1739 """1740 [Client.delete_security_group documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_security_group)1741 """1742 def delete_snapshot(self, SnapshotId: str, DryRun: bool = None) -> None:1743 """1744 [Client.delete_snapshot documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_snapshot)1745 """1746 def delete_spot_datafeed_subscription(self, DryRun: bool = None) -> None:1747 """1748 [Client.delete_spot_datafeed_subscription documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_spot_datafeed_subscription)1749 """1750 def delete_subnet(self, SubnetId: str, DryRun: bool = None) -> None:1751 """1752 [Client.delete_subnet documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_subnet)1753 """1754 def delete_tags(1755 self, Resources: List[Any], DryRun: bool = None, Tags: List[TagTypeDef] = None1756 ) -> None:1757 """1758 [Client.delete_tags documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_tags)1759 """1760 def delete_traffic_mirror_filter(1761 self, TrafficMirrorFilterId: str, DryRun: bool = None1762 ) -> DeleteTrafficMirrorFilterResultTypeDef:1763 """1764 [Client.delete_traffic_mirror_filter documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_traffic_mirror_filter)1765 """1766 def delete_traffic_mirror_filter_rule(1767 self, TrafficMirrorFilterRuleId: str, DryRun: bool = None1768 ) -> DeleteTrafficMirrorFilterRuleResultTypeDef:1769 """1770 [Client.delete_traffic_mirror_filter_rule documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_traffic_mirror_filter_rule)1771 """1772 def delete_traffic_mirror_session(1773 self, TrafficMirrorSessionId: str, DryRun: bool = None1774 ) -> DeleteTrafficMirrorSessionResultTypeDef:1775 """1776 [Client.delete_traffic_mirror_session documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_traffic_mirror_session)1777 """1778 def delete_traffic_mirror_target(1779 self, TrafficMirrorTargetId: str, DryRun: bool = None1780 ) -> DeleteTrafficMirrorTargetResultTypeDef:1781 """1782 [Client.delete_traffic_mirror_target documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_traffic_mirror_target)1783 """1784 def delete_transit_gateway(1785 self, TransitGatewayId: str, DryRun: bool = None1786 ) -> DeleteTransitGatewayResultTypeDef:1787 """1788 [Client.delete_transit_gateway documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_transit_gateway)1789 """1790 def delete_transit_gateway_multicast_domain(1791 self, TransitGatewayMulticastDomainId: str, DryRun: bool = None1792 ) -> DeleteTransitGatewayMulticastDomainResultTypeDef:1793 """1794 [Client.delete_transit_gateway_multicast_domain documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_transit_gateway_multicast_domain)1795 """1796 def delete_transit_gateway_peering_attachment(1797 self, TransitGatewayAttachmentId: str, DryRun: bool = None1798 ) -> DeleteTransitGatewayPeeringAttachmentResultTypeDef:1799 """1800 [Client.delete_transit_gateway_peering_attachment documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_transit_gateway_peering_attachment)1801 """1802 def delete_transit_gateway_route(1803 self, TransitGatewayRouteTableId: str, DestinationCidrBlock: str, DryRun: bool = None1804 ) -> DeleteTransitGatewayRouteResultTypeDef:1805 """1806 [Client.delete_transit_gateway_route documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_transit_gateway_route)1807 """1808 def delete_transit_gateway_route_table(1809 self, TransitGatewayRouteTableId: str, DryRun: bool = None1810 ) -> DeleteTransitGatewayRouteTableResultTypeDef:1811 """1812 [Client.delete_transit_gateway_route_table documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_transit_gateway_route_table)1813 """1814 def delete_transit_gateway_vpc_attachment(1815 self, TransitGatewayAttachmentId: str, DryRun: bool = None1816 ) -> DeleteTransitGatewayVpcAttachmentResultTypeDef:1817 """1818 [Client.delete_transit_gateway_vpc_attachment documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_transit_gateway_vpc_attachment)1819 """1820 def delete_volume(self, VolumeId: str, DryRun: bool = None) -> None:1821 """1822 [Client.delete_volume documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_volume)1823 """1824 def delete_vpc(self, VpcId: str, DryRun: bool = None) -> None:1825 """1826 [Client.delete_vpc documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_vpc)1827 """1828 def delete_vpc_endpoint_connection_notifications(1829 self, ConnectionNotificationIds: List[str], DryRun: bool = None1830 ) -> DeleteVpcEndpointConnectionNotificationsResultTypeDef:1831 """1832 [Client.delete_vpc_endpoint_connection_notifications documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_vpc_endpoint_connection_notifications)1833 """1834 def delete_vpc_endpoint_service_configurations(1835 self, ServiceIds: List[str], DryRun: bool = None1836 ) -> DeleteVpcEndpointServiceConfigurationsResultTypeDef:1837 """1838 [Client.delete_vpc_endpoint_service_configurations documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_vpc_endpoint_service_configurations)1839 """1840 def delete_vpc_endpoints(1841 self, VpcEndpointIds: List[str], DryRun: bool = None1842 ) -> DeleteVpcEndpointsResultTypeDef:1843 """1844 [Client.delete_vpc_endpoints documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_vpc_endpoints)1845 """1846 def delete_vpc_peering_connection(1847 self, VpcPeeringConnectionId: str, DryRun: bool = None1848 ) -> DeleteVpcPeeringConnectionResultTypeDef:1849 """1850 [Client.delete_vpc_peering_connection documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_vpc_peering_connection)1851 """1852 def delete_vpn_connection(self, VpnConnectionId: str, DryRun: bool = None) -> None:1853 """1854 [Client.delete_vpn_connection documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_vpn_connection)1855 """1856 def delete_vpn_connection_route(self, DestinationCidrBlock: str, VpnConnectionId: str) -> None:1857 """1858 [Client.delete_vpn_connection_route documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_vpn_connection_route)1859 """1860 def delete_vpn_gateway(self, VpnGatewayId: str, DryRun: bool = None) -> None:1861 """1862 [Client.delete_vpn_gateway documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.delete_vpn_gateway)1863 """1864 def deprovision_byoip_cidr(1865 self, Cidr: str, DryRun: bool = None1866 ) -> DeprovisionByoipCidrResultTypeDef:1867 """1868 [Client.deprovision_byoip_cidr documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.deprovision_byoip_cidr)1869 """1870 def deregister_image(self, ImageId: str, DryRun: bool = None) -> None:1871 """1872 [Client.deregister_image documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.deregister_image)1873 """1874 def deregister_instance_event_notification_attributes(1875 self,1876 DryRun: bool = None,1877 InstanceTagAttribute: DeregisterInstanceTagAttributeRequestTypeDef = None,1878 ) -> DeregisterInstanceEventNotificationAttributesResultTypeDef:1879 """1880 [Client.deregister_instance_event_notification_attributes documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.deregister_instance_event_notification_attributes)1881 """1882 def deregister_transit_gateway_multicast_group_members(1883 self,1884 TransitGatewayMulticastDomainId: str = None,1885 GroupIpAddress: str = None,1886 NetworkInterfaceIds: List[str] = None,1887 DryRun: bool = None,1888 ) -> DeregisterTransitGatewayMulticastGroupMembersResultTypeDef:1889 """1890 [Client.deregister_transit_gateway_multicast_group_members documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.deregister_transit_gateway_multicast_group_members)1891 """1892 def deregister_transit_gateway_multicast_group_sources(1893 self,1894 TransitGatewayMulticastDomainId: str = None,1895 GroupIpAddress: str = None,1896 NetworkInterfaceIds: List[str] = None,1897 DryRun: bool = None,1898 ) -> DeregisterTransitGatewayMulticastGroupSourcesResultTypeDef:1899 """1900 [Client.deregister_transit_gateway_multicast_group_sources documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.deregister_transit_gateway_multicast_group_sources)1901 """1902 def describe_account_attributes(1903 self,1904 AttributeNames: List[Literal["supported-platforms", "default-vpc"]] = None,1905 DryRun: bool = None,1906 ) -> DescribeAccountAttributesResultTypeDef:1907 """1908 [Client.describe_account_attributes documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_account_attributes)1909 """1910 def describe_addresses(1911 self,1912 Filters: List[FilterTypeDef] = None,1913 PublicIps: List[str] = None,1914 AllocationIds: List[str] = None,1915 DryRun: bool = None,1916 ) -> DescribeAddressesResultTypeDef:1917 """1918 [Client.describe_addresses documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_addresses)1919 """1920 def describe_aggregate_id_format(1921 self, DryRun: bool = None1922 ) -> DescribeAggregateIdFormatResultTypeDef:1923 """1924 [Client.describe_aggregate_id_format documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_aggregate_id_format)1925 """1926 def describe_availability_zones(1927 self,1928 Filters: List[FilterTypeDef] = None,1929 ZoneNames: List[str] = None,1930 ZoneIds: List[str] = None,1931 AllAvailabilityZones: bool = None,1932 DryRun: bool = None,1933 ) -> DescribeAvailabilityZonesResultTypeDef:1934 """1935 [Client.describe_availability_zones documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_availability_zones)1936 """1937 def describe_bundle_tasks(1938 self, BundleIds: List[str] = None, Filters: List[FilterTypeDef] = None, DryRun: bool = None1939 ) -> DescribeBundleTasksResultTypeDef:1940 """1941 [Client.describe_bundle_tasks documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_bundle_tasks)1942 """1943 def describe_byoip_cidrs(1944 self, MaxResults: int, DryRun: bool = None, NextToken: str = None1945 ) -> DescribeByoipCidrsResultTypeDef:1946 """1947 [Client.describe_byoip_cidrs documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_byoip_cidrs)1948 """1949 def describe_capacity_reservations(1950 self,1951 CapacityReservationIds: List[str] = None,1952 NextToken: str = None,1953 MaxResults: int = None,1954 Filters: List[FilterTypeDef] = None,1955 DryRun: bool = None,1956 ) -> DescribeCapacityReservationsResultTypeDef:1957 """1958 [Client.describe_capacity_reservations documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_capacity_reservations)1959 """1960 def describe_carrier_gateways(1961 self,1962 CarrierGatewayIds: List[str] = None,1963 Filters: List[FilterTypeDef] = None,1964 MaxResults: int = None,1965 NextToken: str = None,1966 DryRun: bool = None,1967 ) -> DescribeCarrierGatewaysResultTypeDef:1968 """1969 [Client.describe_carrier_gateways documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_carrier_gateways)1970 """1971 def describe_classic_link_instances(1972 self,1973 Filters: List[FilterTypeDef] = None,1974 DryRun: bool = None,1975 InstanceIds: List[str] = None,1976 MaxResults: int = None,1977 NextToken: str = None,1978 ) -> DescribeClassicLinkInstancesResultTypeDef:1979 """1980 [Client.describe_classic_link_instances documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_classic_link_instances)1981 """1982 def describe_client_vpn_authorization_rules(1983 self,1984 ClientVpnEndpointId: str,1985 DryRun: bool = None,1986 NextToken: str = None,1987 Filters: List[FilterTypeDef] = None,1988 MaxResults: int = None,1989 ) -> DescribeClientVpnAuthorizationRulesResultTypeDef:1990 """1991 [Client.describe_client_vpn_authorization_rules documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_client_vpn_authorization_rules)1992 """1993 def describe_client_vpn_connections(1994 self,1995 ClientVpnEndpointId: str,1996 Filters: List[FilterTypeDef] = None,1997 NextToken: str = None,1998 MaxResults: int = None,1999 DryRun: bool = None,2000 ) -> DescribeClientVpnConnectionsResultTypeDef:2001 """2002 [Client.describe_client_vpn_connections documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_client_vpn_connections)2003 """2004 def describe_client_vpn_endpoints(2005 self,2006 ClientVpnEndpointIds: List[str] = None,2007 MaxResults: int = None,2008 NextToken: str = None,2009 Filters: List[FilterTypeDef] = None,2010 DryRun: bool = None,2011 ) -> DescribeClientVpnEndpointsResultTypeDef:2012 """2013 [Client.describe_client_vpn_endpoints documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_client_vpn_endpoints)2014 """2015 def describe_client_vpn_routes(2016 self,2017 ClientVpnEndpointId: str,2018 Filters: List[FilterTypeDef] = None,2019 MaxResults: int = None,2020 NextToken: str = None,2021 DryRun: bool = None,2022 ) -> DescribeClientVpnRoutesResultTypeDef:2023 """2024 [Client.describe_client_vpn_routes documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_client_vpn_routes)2025 """2026 def describe_client_vpn_target_networks(2027 self,2028 ClientVpnEndpointId: str,2029 AssociationIds: List[str] = None,2030 MaxResults: int = None,2031 NextToken: str = None,2032 Filters: List[FilterTypeDef] = None,2033 DryRun: bool = None,2034 ) -> DescribeClientVpnTargetNetworksResultTypeDef:2035 """2036 [Client.describe_client_vpn_target_networks documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_client_vpn_target_networks)2037 """2038 def describe_coip_pools(2039 self,2040 PoolIds: List[str] = None,2041 Filters: List[FilterTypeDef] = None,2042 MaxResults: int = None,2043 NextToken: str = None,2044 DryRun: bool = None,2045 ) -> DescribeCoipPoolsResultTypeDef:2046 """2047 [Client.describe_coip_pools documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_coip_pools)2048 """2049 def describe_conversion_tasks(2050 self, ConversionTaskIds: List[str] = None, DryRun: bool = None2051 ) -> DescribeConversionTasksResultTypeDef:2052 """2053 [Client.describe_conversion_tasks documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_conversion_tasks)2054 """2055 def describe_customer_gateways(2056 self,2057 CustomerGatewayIds: List[str] = None,2058 Filters: List[FilterTypeDef] = None,2059 DryRun: bool = None,2060 ) -> DescribeCustomerGatewaysResultTypeDef:2061 """2062 [Client.describe_customer_gateways documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_customer_gateways)2063 """2064 def describe_dhcp_options(2065 self,2066 DhcpOptionsIds: List[str] = None,2067 Filters: List[FilterTypeDef] = None,2068 DryRun: bool = None,2069 NextToken: str = None,2070 MaxResults: int = None,2071 ) -> DescribeDhcpOptionsResultTypeDef:2072 """2073 [Client.describe_dhcp_options documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_dhcp_options)2074 """2075 def describe_egress_only_internet_gateways(2076 self,2077 DryRun: bool = None,2078 EgressOnlyInternetGatewayIds: List[str] = None,2079 MaxResults: int = None,2080 NextToken: str = None,2081 Filters: List[FilterTypeDef] = None,2082 ) -> DescribeEgressOnlyInternetGatewaysResultTypeDef:2083 """2084 [Client.describe_egress_only_internet_gateways documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_egress_only_internet_gateways)2085 """2086 def describe_elastic_gpus(2087 self,2088 ElasticGpuIds: List[str] = None,2089 DryRun: bool = None,2090 Filters: List[FilterTypeDef] = None,2091 MaxResults: int = None,2092 NextToken: str = None,2093 ) -> DescribeElasticGpusResultTypeDef:2094 """2095 [Client.describe_elastic_gpus documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_elastic_gpus)2096 """2097 def describe_export_image_tasks(2098 self,2099 DryRun: bool = None,2100 Filters: List[FilterTypeDef] = None,2101 ExportImageTaskIds: List[str] = None,2102 MaxResults: int = None,2103 NextToken: str = None,2104 ) -> DescribeExportImageTasksResultTypeDef:2105 """2106 [Client.describe_export_image_tasks documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_export_image_tasks)2107 """2108 def describe_export_tasks(2109 self, ExportTaskIds: List[str] = None, Filters: List[FilterTypeDef] = None2110 ) -> DescribeExportTasksResultTypeDef:2111 """2112 [Client.describe_export_tasks documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_export_tasks)2113 """2114 def describe_fast_snapshot_restores(2115 self,2116 Filters: List[FilterTypeDef] = None,2117 MaxResults: int = None,2118 NextToken: str = None,2119 DryRun: bool = None,2120 ) -> DescribeFastSnapshotRestoresResultTypeDef:2121 """2122 [Client.describe_fast_snapshot_restores documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_fast_snapshot_restores)2123 """2124 def describe_fleet_history(2125 self,2126 FleetId: str,2127 StartTime: datetime,2128 DryRun: bool = None,2129 EventType: Literal["instance-change", "fleet-change", "service-error"] = None,2130 MaxResults: int = None,2131 NextToken: str = None,2132 ) -> DescribeFleetHistoryResultTypeDef:2133 """2134 [Client.describe_fleet_history documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_fleet_history)2135 """2136 def describe_fleet_instances(2137 self,2138 FleetId: str,2139 DryRun: bool = None,2140 MaxResults: int = None,2141 NextToken: str = None,2142 Filters: List[FilterTypeDef] = None,2143 ) -> DescribeFleetInstancesResultTypeDef:2144 """2145 [Client.describe_fleet_instances documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_fleet_instances)2146 """2147 def describe_fleets(2148 self,2149 DryRun: bool = None,2150 MaxResults: int = None,2151 NextToken: str = None,2152 FleetIds: List[str] = None,2153 Filters: List[FilterTypeDef] = None,2154 ) -> DescribeFleetsResultTypeDef:2155 """2156 [Client.describe_fleets documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_fleets)2157 """2158 def describe_flow_logs(2159 self,2160 DryRun: bool = None,2161 Filters: List[FilterTypeDef] = None,2162 FlowLogIds: List[str] = None,2163 MaxResults: int = None,2164 NextToken: str = None,2165 ) -> DescribeFlowLogsResultTypeDef:2166 """2167 [Client.describe_flow_logs documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_flow_logs)2168 """2169 def describe_fpga_image_attribute(2170 self,2171 FpgaImageId: str,2172 Attribute: Literal["description", "name", "loadPermission", "productCodes"],2173 DryRun: bool = None,2174 ) -> DescribeFpgaImageAttributeResultTypeDef:2175 """2176 [Client.describe_fpga_image_attribute documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_fpga_image_attribute)2177 """2178 def describe_fpga_images(2179 self,2180 DryRun: bool = None,2181 FpgaImageIds: List[str] = None,2182 Owners: List[str] = None,2183 Filters: List[FilterTypeDef] = None,2184 NextToken: str = None,2185 MaxResults: int = None,2186 ) -> DescribeFpgaImagesResultTypeDef:2187 """2188 [Client.describe_fpga_images documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_fpga_images)2189 """2190 def describe_host_reservation_offerings(2191 self,2192 Filters: List[FilterTypeDef] = None,2193 MaxDuration: int = None,2194 MaxResults: int = None,2195 MinDuration: int = None,2196 NextToken: str = None,2197 OfferingId: str = None,2198 ) -> DescribeHostReservationOfferingsResultTypeDef:2199 """2200 [Client.describe_host_reservation_offerings documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_host_reservation_offerings)2201 """2202 def describe_host_reservations(2203 self,2204 Filters: List[FilterTypeDef] = None,2205 HostReservationIdSet: List[str] = None,2206 MaxResults: int = None,2207 NextToken: str = None,2208 ) -> DescribeHostReservationsResultTypeDef:2209 """2210 [Client.describe_host_reservations documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_host_reservations)2211 """2212 def describe_hosts(2213 self,2214 Filters: List[FilterTypeDef] = None,2215 HostIds: List[str] = None,2216 MaxResults: int = None,2217 NextToken: str = None,2218 ) -> DescribeHostsResultTypeDef:2219 """2220 [Client.describe_hosts documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_hosts)2221 """2222 def describe_iam_instance_profile_associations(2223 self,2224 AssociationIds: List[str] = None,2225 Filters: List[FilterTypeDef] = None,2226 MaxResults: int = None,2227 NextToken: str = None,2228 ) -> DescribeIamInstanceProfileAssociationsResultTypeDef:2229 """2230 [Client.describe_iam_instance_profile_associations documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_iam_instance_profile_associations)2231 """2232 def describe_id_format(self, Resource: str = None) -> DescribeIdFormatResultTypeDef:2233 """2234 [Client.describe_id_format documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_id_format)2235 """2236 def describe_identity_id_format(2237 self, PrincipalArn: str, Resource: str = None2238 ) -> DescribeIdentityIdFormatResultTypeDef:2239 """2240 [Client.describe_identity_id_format documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_identity_id_format)2241 """2242 def describe_image_attribute(2243 self,2244 Attribute: Literal[2245 "description",2246 "kernel",2247 "ramdisk",2248 "launchPermission",2249 "productCodes",2250 "blockDeviceMapping",2251 "sriovNetSupport",2252 ],2253 ImageId: str,2254 DryRun: bool = None,2255 ) -> ImageAttributeTypeDef:2256 """2257 [Client.describe_image_attribute documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_image_attribute)2258 """2259 def describe_images(2260 self,2261 ExecutableUsers: List[str] = None,2262 Filters: List[FilterTypeDef] = None,2263 ImageIds: List[str] = None,2264 Owners: List[str] = None,2265 DryRun: bool = None,2266 ) -> DescribeImagesResultTypeDef:2267 """2268 [Client.describe_images documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_images)2269 """2270 def describe_import_image_tasks(2271 self,2272 DryRun: bool = None,2273 Filters: List[FilterTypeDef] = None,2274 ImportTaskIds: List[str] = None,2275 MaxResults: int = None,2276 NextToken: str = None,2277 ) -> DescribeImportImageTasksResultTypeDef:2278 """2279 [Client.describe_import_image_tasks documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_import_image_tasks)2280 """2281 def describe_import_snapshot_tasks(2282 self,2283 DryRun: bool = None,2284 Filters: List[FilterTypeDef] = None,2285 ImportTaskIds: List[str] = None,2286 MaxResults: int = None,2287 NextToken: str = None,2288 ) -> DescribeImportSnapshotTasksResultTypeDef:2289 """2290 [Client.describe_import_snapshot_tasks documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_import_snapshot_tasks)2291 """2292 def describe_instance_attribute(2293 self,2294 Attribute: Literal[2295 "instanceType",2296 "kernel",2297 "ramdisk",2298 "userData",2299 "disableApiTermination",2300 "instanceInitiatedShutdownBehavior",2301 "rootDeviceName",2302 "blockDeviceMapping",2303 "productCodes",2304 "sourceDestCheck",2305 "groupSet",2306 "ebsOptimized",2307 "sriovNetSupport",2308 "enaSupport",2309 ],2310 InstanceId: str,2311 DryRun: bool = None,2312 ) -> InstanceAttributeTypeDef:2313 """2314 [Client.describe_instance_attribute documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_instance_attribute)2315 """2316 def describe_instance_credit_specifications(2317 self,2318 DryRun: bool = None,2319 Filters: List[FilterTypeDef] = None,2320 InstanceIds: List[str] = None,2321 MaxResults: int = None,2322 NextToken: str = None,2323 ) -> DescribeInstanceCreditSpecificationsResultTypeDef:2324 """2325 [Client.describe_instance_credit_specifications documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_instance_credit_specifications)2326 """2327 def describe_instance_event_notification_attributes(2328 self, DryRun: bool = None2329 ) -> DescribeInstanceEventNotificationAttributesResultTypeDef:2330 """2331 [Client.describe_instance_event_notification_attributes documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_instance_event_notification_attributes)2332 """2333 def describe_instance_status(2334 self,2335 Filters: List[FilterTypeDef] = None,2336 InstanceIds: List[str] = None,2337 MaxResults: int = None,2338 NextToken: str = None,2339 DryRun: bool = None,2340 IncludeAllInstances: bool = None,2341 ) -> DescribeInstanceStatusResultTypeDef:2342 """2343 [Client.describe_instance_status documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_instance_status)2344 """2345 def describe_instance_type_offerings(2346 self,2347 DryRun: bool = None,2348 LocationType: Literal["region", "availability-zone", "availability-zone-id"] = None,2349 Filters: List[FilterTypeDef] = None,2350 MaxResults: int = None,2351 NextToken: str = None,2352 ) -> DescribeInstanceTypeOfferingsResultTypeDef:2353 """2354 [Client.describe_instance_type_offerings documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_instance_type_offerings)2355 """2356 def describe_instance_types(2357 self,2358 DryRun: bool = None,2359 InstanceTypes: List[2360 Literal[2361 "t1.micro",2362 "t2.nano",2363 "t2.micro",2364 "t2.small",2365 "t2.medium",2366 "t2.large",2367 "t2.xlarge",2368 "t2.2xlarge",2369 "t3.nano",2370 "t3.micro",2371 "t3.small",2372 "t3.medium",2373 "t3.large",2374 "t3.xlarge",2375 "t3.2xlarge",2376 "t3a.nano",2377 "t3a.micro",2378 "t3a.small",2379 "t3a.medium",2380 "t3a.large",2381 "t3a.xlarge",2382 "t3a.2xlarge",2383 "m1.small",2384 "m1.medium",2385 "m1.large",2386 "m1.xlarge",2387 "m3.medium",2388 "m3.large",2389 "m3.xlarge",2390 "m3.2xlarge",2391 "m4.large",2392 "m4.xlarge",2393 "m4.2xlarge",2394 "m4.4xlarge",2395 "m4.10xlarge",2396 "m4.16xlarge",2397 "m2.xlarge",2398 "m2.2xlarge",2399 "m2.4xlarge",2400 "cr1.8xlarge",2401 "r3.large",2402 "r3.xlarge",2403 "r3.2xlarge",2404 "r3.4xlarge",2405 "r3.8xlarge",2406 "r4.large",2407 "r4.xlarge",2408 "r4.2xlarge",2409 "r4.4xlarge",2410 "r4.8xlarge",2411 "r4.16xlarge",2412 "r5.large",2413 "r5.xlarge",2414 "r5.2xlarge",2415 "r5.4xlarge",2416 "r5.8xlarge",2417 "r5.12xlarge",2418 "r5.16xlarge",2419 "r5.24xlarge",2420 "r5.metal",2421 "r5a.large",2422 "r5a.xlarge",2423 "r5a.2xlarge",2424 "r5a.4xlarge",2425 "r5a.8xlarge",2426 "r5a.12xlarge",2427 "r5a.16xlarge",2428 "r5a.24xlarge",2429 "r5d.large",2430 "r5d.xlarge",2431 "r5d.2xlarge",2432 "r5d.4xlarge",2433 "r5d.8xlarge",2434 "r5d.12xlarge",2435 "r5d.16xlarge",2436 "r5d.24xlarge",2437 "r5d.metal",2438 "r5ad.large",2439 "r5ad.xlarge",2440 "r5ad.2xlarge",2441 "r5ad.4xlarge",2442 "r5ad.8xlarge",2443 "r5ad.12xlarge",2444 "r5ad.16xlarge",2445 "r5ad.24xlarge",2446 "r6g.metal",2447 "r6g.medium",2448 "r6g.large",2449 "r6g.xlarge",2450 "r6g.2xlarge",2451 "r6g.4xlarge",2452 "r6g.8xlarge",2453 "r6g.12xlarge",2454 "r6g.16xlarge",2455 "r6gd.metal",2456 "r6gd.medium",2457 "r6gd.large",2458 "r6gd.xlarge",2459 "r6gd.2xlarge",2460 "r6gd.4xlarge",2461 "r6gd.8xlarge",2462 "r6gd.12xlarge",2463 "r6gd.16xlarge",2464 "x1.16xlarge",2465 "x1.32xlarge",2466 "x1e.xlarge",2467 "x1e.2xlarge",2468 "x1e.4xlarge",2469 "x1e.8xlarge",2470 "x1e.16xlarge",2471 "x1e.32xlarge",2472 "i2.xlarge",2473 "i2.2xlarge",2474 "i2.4xlarge",2475 "i2.8xlarge",2476 "i3.large",2477 "i3.xlarge",2478 "i3.2xlarge",2479 "i3.4xlarge",2480 "i3.8xlarge",2481 "i3.16xlarge",2482 "i3.metal",2483 "i3en.large",2484 "i3en.xlarge",2485 "i3en.2xlarge",2486 "i3en.3xlarge",2487 "i3en.6xlarge",2488 "i3en.12xlarge",2489 "i3en.24xlarge",2490 "i3en.metal",2491 "hi1.4xlarge",2492 "hs1.8xlarge",2493 "c1.medium",2494 "c1.xlarge",2495 "c3.large",2496 "c3.xlarge",2497 "c3.2xlarge",2498 "c3.4xlarge",2499 "c3.8xlarge",2500 "c4.large",2501 "c4.xlarge",2502 "c4.2xlarge",2503 "c4.4xlarge",2504 "c4.8xlarge",2505 "c5.large",2506 "c5.xlarge",2507 "c5.2xlarge",2508 "c5.4xlarge",2509 "c5.9xlarge",2510 "c5.12xlarge",2511 "c5.18xlarge",2512 "c5.24xlarge",2513 "c5.metal",2514 "c5a.large",2515 "c5a.xlarge",2516 "c5a.2xlarge",2517 "c5a.4xlarge",2518 "c5a.8xlarge",2519 "c5a.12xlarge",2520 "c5a.16xlarge",2521 "c5a.24xlarge",2522 "c5ad.large",2523 "c5ad.xlarge",2524 "c5ad.2xlarge",2525 "c5ad.4xlarge",2526 "c5ad.8xlarge",2527 "c5ad.12xlarge",2528 "c5ad.16xlarge",2529 "c5ad.24xlarge",2530 "c5d.large",2531 "c5d.xlarge",2532 "c5d.2xlarge",2533 "c5d.4xlarge",2534 "c5d.9xlarge",2535 "c5d.12xlarge",2536 "c5d.18xlarge",2537 "c5d.24xlarge",2538 "c5d.metal",2539 "c5n.large",2540 "c5n.xlarge",2541 "c5n.2xlarge",2542 "c5n.4xlarge",2543 "c5n.9xlarge",2544 "c5n.18xlarge",2545 "c6g.metal",2546 "c6g.medium",2547 "c6g.large",2548 "c6g.xlarge",2549 "c6g.2xlarge",2550 "c6g.4xlarge",2551 "c6g.8xlarge",2552 "c6g.12xlarge",2553 "c6g.16xlarge",2554 "c6gd.metal",2555 "c6gd.medium",2556 "c6gd.large",2557 "c6gd.xlarge",2558 "c6gd.2xlarge",2559 "c6gd.4xlarge",2560 "c6gd.8xlarge",2561 "c6gd.12xlarge",2562 "c6gd.16xlarge",2563 "cc1.4xlarge",2564 "cc2.8xlarge",2565 "g2.2xlarge",2566 "g2.8xlarge",2567 "g3.4xlarge",2568 "g3.8xlarge",2569 "g3.16xlarge",2570 "g3s.xlarge",2571 "g4dn.xlarge",2572 "g4dn.2xlarge",2573 "g4dn.4xlarge",2574 "g4dn.8xlarge",2575 "g4dn.12xlarge",2576 "g4dn.16xlarge",2577 "g4dn.metal",2578 "cg1.4xlarge",2579 "p2.xlarge",2580 "p2.8xlarge",2581 "p2.16xlarge",2582 "p3.2xlarge",2583 "p3.8xlarge",2584 "p3.16xlarge",2585 "p3dn.24xlarge",2586 "d2.xlarge",2587 "d2.2xlarge",2588 "d2.4xlarge",2589 "d2.8xlarge",2590 "f1.2xlarge",2591 "f1.4xlarge",2592 "f1.16xlarge",2593 "m5.large",2594 "m5.xlarge",2595 "m5.2xlarge",2596 "m5.4xlarge",2597 "m5.8xlarge",2598 "m5.12xlarge",2599 "m5.16xlarge",2600 "m5.24xlarge",2601 "m5.metal",2602 "m5a.large",2603 "m5a.xlarge",2604 "m5a.2xlarge",2605 "m5a.4xlarge",2606 "m5a.8xlarge",2607 "m5a.12xlarge",2608 "m5a.16xlarge",2609 "m5a.24xlarge",2610 "m5d.large",2611 "m5d.xlarge",2612 "m5d.2xlarge",2613 "m5d.4xlarge",2614 "m5d.8xlarge",2615 "m5d.12xlarge",2616 "m5d.16xlarge",2617 "m5d.24xlarge",2618 "m5d.metal",2619 "m5ad.large",2620 "m5ad.xlarge",2621 "m5ad.2xlarge",2622 "m5ad.4xlarge",2623 "m5ad.8xlarge",2624 "m5ad.12xlarge",2625 "m5ad.16xlarge",2626 "m5ad.24xlarge",2627 "h1.2xlarge",2628 "h1.4xlarge",2629 "h1.8xlarge",2630 "h1.16xlarge",2631 "z1d.large",2632 "z1d.xlarge",2633 "z1d.2xlarge",2634 "z1d.3xlarge",2635 "z1d.6xlarge",2636 "z1d.12xlarge",2637 "z1d.metal",2638 "u-6tb1.metal",2639 "u-9tb1.metal",2640 "u-12tb1.metal",2641 "u-18tb1.metal",2642 "u-24tb1.metal",2643 "a1.medium",2644 "a1.large",2645 "a1.xlarge",2646 "a1.2xlarge",2647 "a1.4xlarge",2648 "a1.metal",2649 "m5dn.large",2650 "m5dn.xlarge",2651 "m5dn.2xlarge",2652 "m5dn.4xlarge",2653 "m5dn.8xlarge",2654 "m5dn.12xlarge",2655 "m5dn.16xlarge",2656 "m5dn.24xlarge",2657 "m5n.large",2658 "m5n.xlarge",2659 "m5n.2xlarge",2660 "m5n.4xlarge",2661 "m5n.8xlarge",2662 "m5n.12xlarge",2663 "m5n.16xlarge",2664 "m5n.24xlarge",2665 "r5dn.large",2666 "r5dn.xlarge",2667 "r5dn.2xlarge",2668 "r5dn.4xlarge",2669 "r5dn.8xlarge",2670 "r5dn.12xlarge",2671 "r5dn.16xlarge",2672 "r5dn.24xlarge",2673 "r5n.large",2674 "r5n.xlarge",2675 "r5n.2xlarge",2676 "r5n.4xlarge",2677 "r5n.8xlarge",2678 "r5n.12xlarge",2679 "r5n.16xlarge",2680 "r5n.24xlarge",2681 "inf1.xlarge",2682 "inf1.2xlarge",2683 "inf1.6xlarge",2684 "inf1.24xlarge",2685 "m6g.metal",2686 "m6g.medium",2687 "m6g.large",2688 "m6g.xlarge",2689 "m6g.2xlarge",2690 "m6g.4xlarge",2691 "m6g.8xlarge",2692 "m6g.12xlarge",2693 "m6g.16xlarge",2694 "m6gd.metal",2695 "m6gd.medium",2696 "m6gd.large",2697 "m6gd.xlarge",2698 "m6gd.2xlarge",2699 "m6gd.4xlarge",2700 "m6gd.8xlarge",2701 "m6gd.12xlarge",2702 "m6gd.16xlarge",2703 ]2704 ] = None,2705 Filters: List[FilterTypeDef] = None,2706 MaxResults: int = None,2707 NextToken: str = None,2708 ) -> DescribeInstanceTypesResultTypeDef:2709 """2710 [Client.describe_instance_types documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_instance_types)2711 """2712 def describe_instances(2713 self,2714 Filters: List[FilterTypeDef] = None,2715 InstanceIds: List[str] = None,2716 DryRun: bool = None,2717 MaxResults: int = None,2718 NextToken: str = None,2719 ) -> DescribeInstancesResultTypeDef:2720 """2721 [Client.describe_instances documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_instances)2722 """2723 def describe_internet_gateways(2724 self,2725 Filters: List[FilterTypeDef] = None,2726 DryRun: bool = None,2727 InternetGatewayIds: List[str] = None,2728 NextToken: str = None,2729 MaxResults: int = None,2730 ) -> DescribeInternetGatewaysResultTypeDef:2731 """2732 [Client.describe_internet_gateways documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_internet_gateways)2733 """2734 def describe_ipv6_pools(2735 self,2736 PoolIds: List[str] = None,2737 NextToken: str = None,2738 MaxResults: int = None,2739 DryRun: bool = None,2740 Filters: List[FilterTypeDef] = None,2741 ) -> DescribeIpv6PoolsResultTypeDef:2742 """2743 [Client.describe_ipv6_pools documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_ipv6_pools)2744 """2745 def describe_key_pairs(2746 self,2747 Filters: List[FilterTypeDef] = None,2748 KeyNames: List[str] = None,2749 KeyPairIds: List[str] = None,2750 DryRun: bool = None,2751 ) -> DescribeKeyPairsResultTypeDef:2752 """2753 [Client.describe_key_pairs documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_key_pairs)2754 """2755 def describe_launch_template_versions(2756 self,2757 DryRun: bool = None,2758 LaunchTemplateId: str = None,2759 LaunchTemplateName: str = None,2760 Versions: List[str] = None,2761 MinVersion: str = None,2762 MaxVersion: str = None,2763 NextToken: str = None,2764 MaxResults: int = None,2765 Filters: List[FilterTypeDef] = None,2766 ) -> DescribeLaunchTemplateVersionsResultTypeDef:2767 """2768 [Client.describe_launch_template_versions documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_launch_template_versions)2769 """2770 def describe_launch_templates(2771 self,2772 DryRun: bool = None,2773 LaunchTemplateIds: List[str] = None,2774 LaunchTemplateNames: List[str] = None,2775 Filters: List[FilterTypeDef] = None,2776 NextToken: str = None,2777 MaxResults: int = None,2778 ) -> DescribeLaunchTemplatesResultTypeDef:2779 """2780 [Client.describe_launch_templates documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_launch_templates)2781 """2782 def describe_local_gateway_route_table_virtual_interface_group_associations(2783 self,2784 LocalGatewayRouteTableVirtualInterfaceGroupAssociationIds: List[str] = None,2785 Filters: List[FilterTypeDef] = None,2786 MaxResults: int = None,2787 NextToken: str = None,2788 DryRun: bool = None,2789 ) -> DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResultTypeDef:2790 """2791 [Client.describe_local_gateway_route_table_virtual_interface_group_associations documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_local_gateway_route_table_virtual_interface_group_associations)2792 """2793 def describe_local_gateway_route_table_vpc_associations(2794 self,2795 LocalGatewayRouteTableVpcAssociationIds: List[str] = None,2796 Filters: List[FilterTypeDef] = None,2797 MaxResults: int = None,2798 NextToken: str = None,2799 DryRun: bool = None,2800 ) -> DescribeLocalGatewayRouteTableVpcAssociationsResultTypeDef:2801 """2802 [Client.describe_local_gateway_route_table_vpc_associations documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_local_gateway_route_table_vpc_associations)2803 """2804 def describe_local_gateway_route_tables(2805 self,2806 LocalGatewayRouteTableIds: List[str] = None,2807 Filters: List[FilterTypeDef] = None,2808 MaxResults: int = None,2809 NextToken: str = None,2810 DryRun: bool = None,2811 ) -> DescribeLocalGatewayRouteTablesResultTypeDef:2812 """2813 [Client.describe_local_gateway_route_tables documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_local_gateway_route_tables)2814 """2815 def describe_local_gateway_virtual_interface_groups(2816 self,2817 LocalGatewayVirtualInterfaceGroupIds: List[str] = None,2818 Filters: List[FilterTypeDef] = None,2819 MaxResults: int = None,2820 NextToken: str = None,2821 DryRun: bool = None,2822 ) -> DescribeLocalGatewayVirtualInterfaceGroupsResultTypeDef:2823 """2824 [Client.describe_local_gateway_virtual_interface_groups documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_local_gateway_virtual_interface_groups)2825 """2826 def describe_local_gateway_virtual_interfaces(2827 self,2828 LocalGatewayVirtualInterfaceIds: List[str] = None,2829 Filters: List[FilterTypeDef] = None,2830 MaxResults: int = None,2831 NextToken: str = None,2832 DryRun: bool = None,2833 ) -> DescribeLocalGatewayVirtualInterfacesResultTypeDef:2834 """2835 [Client.describe_local_gateway_virtual_interfaces documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_local_gateway_virtual_interfaces)2836 """2837 def describe_local_gateways(2838 self,2839 LocalGatewayIds: List[str] = None,2840 Filters: List[FilterTypeDef] = None,2841 MaxResults: int = None,2842 NextToken: str = None,2843 DryRun: bool = None,2844 ) -> DescribeLocalGatewaysResultTypeDef:2845 """2846 [Client.describe_local_gateways documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_local_gateways)2847 """2848 def describe_managed_prefix_lists(2849 self,2850 DryRun: bool = None,2851 Filters: List[FilterTypeDef] = None,2852 MaxResults: int = None,2853 NextToken: str = None,2854 PrefixListIds: List[str] = None,2855 ) -> DescribeManagedPrefixListsResultTypeDef:2856 """2857 [Client.describe_managed_prefix_lists documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_managed_prefix_lists)2858 """2859 def describe_moving_addresses(2860 self,2861 Filters: List[FilterTypeDef] = None,2862 DryRun: bool = None,2863 MaxResults: int = None,2864 NextToken: str = None,2865 PublicIps: List[str] = None,2866 ) -> DescribeMovingAddressesResultTypeDef:2867 """2868 [Client.describe_moving_addresses documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_moving_addresses)2869 """2870 def describe_nat_gateways(2871 self,2872 DryRun: bool = None,2873 Filters: List[FilterTypeDef] = None,2874 MaxResults: int = None,2875 NatGatewayIds: List[str] = None,2876 NextToken: str = None,2877 ) -> DescribeNatGatewaysResultTypeDef:2878 """2879 [Client.describe_nat_gateways documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_nat_gateways)2880 """2881 def describe_network_acls(2882 self,2883 Filters: List[FilterTypeDef] = None,2884 DryRun: bool = None,2885 NetworkAclIds: List[str] = None,2886 NextToken: str = None,2887 MaxResults: int = None,2888 ) -> DescribeNetworkAclsResultTypeDef:2889 """2890 [Client.describe_network_acls documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_network_acls)2891 """2892 def describe_network_interface_attribute(2893 self,2894 NetworkInterfaceId: str,2895 Attribute: Literal["description", "groupSet", "sourceDestCheck", "attachment"] = None,2896 DryRun: bool = None,2897 ) -> DescribeNetworkInterfaceAttributeResultTypeDef:2898 """2899 [Client.describe_network_interface_attribute documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_network_interface_attribute)2900 """2901 def describe_network_interface_permissions(2902 self,2903 NetworkInterfacePermissionIds: List[str] = None,2904 Filters: List[FilterTypeDef] = None,2905 NextToken: str = None,2906 MaxResults: int = None,2907 ) -> DescribeNetworkInterfacePermissionsResultTypeDef:2908 """2909 [Client.describe_network_interface_permissions documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_network_interface_permissions)2910 """2911 def describe_network_interfaces(2912 self,2913 Filters: List[FilterTypeDef] = None,2914 DryRun: bool = None,2915 NetworkInterfaceIds: List[str] = None,2916 NextToken: str = None,2917 MaxResults: int = None,2918 ) -> DescribeNetworkInterfacesResultTypeDef:2919 """2920 [Client.describe_network_interfaces documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_network_interfaces)2921 """2922 def describe_placement_groups(2923 self,2924 Filters: List[FilterTypeDef] = None,2925 DryRun: bool = None,2926 GroupNames: List[str] = None,2927 GroupIds: List[str] = None,2928 ) -> DescribePlacementGroupsResultTypeDef:2929 """2930 [Client.describe_placement_groups documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_placement_groups)2931 """2932 def describe_prefix_lists(2933 self,2934 DryRun: bool = None,2935 Filters: List[FilterTypeDef] = None,2936 MaxResults: int = None,2937 NextToken: str = None,2938 PrefixListIds: List[str] = None,2939 ) -> DescribePrefixListsResultTypeDef:2940 """2941 [Client.describe_prefix_lists documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_prefix_lists)2942 """2943 def describe_principal_id_format(2944 self,2945 DryRun: bool = None,2946 Resources: List[str] = None,2947 MaxResults: int = None,2948 NextToken: str = None,2949 ) -> DescribePrincipalIdFormatResultTypeDef:2950 """2951 [Client.describe_principal_id_format documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_principal_id_format)2952 """2953 def describe_public_ipv4_pools(2954 self,2955 PoolIds: List[str] = None,2956 NextToken: str = None,2957 MaxResults: int = None,2958 Filters: List[FilterTypeDef] = None,2959 ) -> DescribePublicIpv4PoolsResultTypeDef:2960 """2961 [Client.describe_public_ipv4_pools documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_public_ipv4_pools)2962 """2963 def describe_regions(2964 self,2965 Filters: List[FilterTypeDef] = None,2966 RegionNames: List[str] = None,2967 DryRun: bool = None,2968 AllRegions: bool = None,2969 ) -> DescribeRegionsResultTypeDef:2970 """2971 [Client.describe_regions documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_regions)2972 """2973 def describe_reserved_instances(2974 self,2975 Filters: List[FilterTypeDef] = None,2976 OfferingClass: Literal["standard", "convertible"] = None,2977 ReservedInstancesIds: List[str] = None,2978 DryRun: bool = None,2979 OfferingType: Literal[2980 "Heavy Utilization",2981 "Medium Utilization",2982 "Light Utilization",2983 "No Upfront",2984 "Partial Upfront",2985 "All Upfront",2986 ] = None,2987 ) -> DescribeReservedInstancesResultTypeDef:2988 """2989 [Client.describe_reserved_instances documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_reserved_instances)2990 """2991 def describe_reserved_instances_listings(2992 self,2993 Filters: List[FilterTypeDef] = None,2994 ReservedInstancesId: str = None,2995 ReservedInstancesListingId: str = None,2996 ) -> DescribeReservedInstancesListingsResultTypeDef:2997 """2998 [Client.describe_reserved_instances_listings documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_reserved_instances_listings)2999 """3000 def describe_reserved_instances_modifications(3001 self,3002 Filters: List[FilterTypeDef] = None,3003 ReservedInstancesModificationIds: List[str] = None,3004 NextToken: str = None,3005 ) -> DescribeReservedInstancesModificationsResultTypeDef:3006 """3007 [Client.describe_reserved_instances_modifications documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_reserved_instances_modifications)3008 """3009 def describe_reserved_instances_offerings(3010 self,3011 AvailabilityZone: str = None,3012 Filters: List[FilterTypeDef] = None,3013 IncludeMarketplace: bool = None,3014 InstanceType: Literal[3015 "t1.micro",3016 "t2.nano",3017 "t2.micro",3018 "t2.small",3019 "t2.medium",3020 "t2.large",3021 "t2.xlarge",3022 "t2.2xlarge",3023 "t3.nano",3024 "t3.micro",3025 "t3.small",3026 "t3.medium",3027 "t3.large",3028 "t3.xlarge",3029 "t3.2xlarge",3030 "t3a.nano",3031 "t3a.micro",3032 "t3a.small",3033 "t3a.medium",3034 "t3a.large",3035 "t3a.xlarge",3036 "t3a.2xlarge",3037 "m1.small",3038 "m1.medium",3039 "m1.large",3040 "m1.xlarge",3041 "m3.medium",3042 "m3.large",3043 "m3.xlarge",3044 "m3.2xlarge",3045 "m4.large",3046 "m4.xlarge",3047 "m4.2xlarge",3048 "m4.4xlarge",3049 "m4.10xlarge",3050 "m4.16xlarge",3051 "m2.xlarge",3052 "m2.2xlarge",3053 "m2.4xlarge",3054 "cr1.8xlarge",3055 "r3.large",3056 "r3.xlarge",3057 "r3.2xlarge",3058 "r3.4xlarge",3059 "r3.8xlarge",3060 "r4.large",3061 "r4.xlarge",3062 "r4.2xlarge",3063 "r4.4xlarge",3064 "r4.8xlarge",3065 "r4.16xlarge",3066 "r5.large",3067 "r5.xlarge",3068 "r5.2xlarge",3069 "r5.4xlarge",3070 "r5.8xlarge",3071 "r5.12xlarge",3072 "r5.16xlarge",3073 "r5.24xlarge",3074 "r5.metal",3075 "r5a.large",3076 "r5a.xlarge",3077 "r5a.2xlarge",3078 "r5a.4xlarge",3079 "r5a.8xlarge",3080 "r5a.12xlarge",3081 "r5a.16xlarge",3082 "r5a.24xlarge",3083 "r5d.large",3084 "r5d.xlarge",3085 "r5d.2xlarge",3086 "r5d.4xlarge",3087 "r5d.8xlarge",3088 "r5d.12xlarge",3089 "r5d.16xlarge",3090 "r5d.24xlarge",3091 "r5d.metal",3092 "r5ad.large",3093 "r5ad.xlarge",3094 "r5ad.2xlarge",3095 "r5ad.4xlarge",3096 "r5ad.8xlarge",3097 "r5ad.12xlarge",3098 "r5ad.16xlarge",3099 "r5ad.24xlarge",3100 "r6g.metal",3101 "r6g.medium",3102 "r6g.large",3103 "r6g.xlarge",3104 "r6g.2xlarge",3105 "r6g.4xlarge",3106 "r6g.8xlarge",3107 "r6g.12xlarge",3108 "r6g.16xlarge",3109 "r6gd.metal",3110 "r6gd.medium",3111 "r6gd.large",3112 "r6gd.xlarge",3113 "r6gd.2xlarge",3114 "r6gd.4xlarge",3115 "r6gd.8xlarge",3116 "r6gd.12xlarge",3117 "r6gd.16xlarge",3118 "x1.16xlarge",3119 "x1.32xlarge",3120 "x1e.xlarge",3121 "x1e.2xlarge",3122 "x1e.4xlarge",3123 "x1e.8xlarge",3124 "x1e.16xlarge",3125 "x1e.32xlarge",3126 "i2.xlarge",3127 "i2.2xlarge",3128 "i2.4xlarge",3129 "i2.8xlarge",3130 "i3.large",3131 "i3.xlarge",3132 "i3.2xlarge",3133 "i3.4xlarge",3134 "i3.8xlarge",3135 "i3.16xlarge",3136 "i3.metal",3137 "i3en.large",3138 "i3en.xlarge",3139 "i3en.2xlarge",3140 "i3en.3xlarge",3141 "i3en.6xlarge",3142 "i3en.12xlarge",3143 "i3en.24xlarge",3144 "i3en.metal",3145 "hi1.4xlarge",3146 "hs1.8xlarge",3147 "c1.medium",3148 "c1.xlarge",3149 "c3.large",3150 "c3.xlarge",3151 "c3.2xlarge",3152 "c3.4xlarge",3153 "c3.8xlarge",3154 "c4.large",3155 "c4.xlarge",3156 "c4.2xlarge",3157 "c4.4xlarge",3158 "c4.8xlarge",3159 "c5.large",3160 "c5.xlarge",3161 "c5.2xlarge",3162 "c5.4xlarge",3163 "c5.9xlarge",3164 "c5.12xlarge",3165 "c5.18xlarge",3166 "c5.24xlarge",3167 "c5.metal",3168 "c5a.large",3169 "c5a.xlarge",3170 "c5a.2xlarge",3171 "c5a.4xlarge",3172 "c5a.8xlarge",3173 "c5a.12xlarge",3174 "c5a.16xlarge",3175 "c5a.24xlarge",3176 "c5ad.large",3177 "c5ad.xlarge",3178 "c5ad.2xlarge",3179 "c5ad.4xlarge",3180 "c5ad.8xlarge",3181 "c5ad.12xlarge",3182 "c5ad.16xlarge",3183 "c5ad.24xlarge",3184 "c5d.large",3185 "c5d.xlarge",3186 "c5d.2xlarge",3187 "c5d.4xlarge",3188 "c5d.9xlarge",3189 "c5d.12xlarge",3190 "c5d.18xlarge",3191 "c5d.24xlarge",3192 "c5d.metal",3193 "c5n.large",3194 "c5n.xlarge",3195 "c5n.2xlarge",3196 "c5n.4xlarge",3197 "c5n.9xlarge",3198 "c5n.18xlarge",3199 "c6g.metal",3200 "c6g.medium",3201 "c6g.large",3202 "c6g.xlarge",3203 "c6g.2xlarge",3204 "c6g.4xlarge",3205 "c6g.8xlarge",3206 "c6g.12xlarge",3207 "c6g.16xlarge",3208 "c6gd.metal",3209 "c6gd.medium",3210 "c6gd.large",3211 "c6gd.xlarge",3212 "c6gd.2xlarge",3213 "c6gd.4xlarge",3214 "c6gd.8xlarge",3215 "c6gd.12xlarge",3216 "c6gd.16xlarge",3217 "cc1.4xlarge",3218 "cc2.8xlarge",3219 "g2.2xlarge",3220 "g2.8xlarge",3221 "g3.4xlarge",3222 "g3.8xlarge",3223 "g3.16xlarge",3224 "g3s.xlarge",3225 "g4dn.xlarge",3226 "g4dn.2xlarge",3227 "g4dn.4xlarge",3228 "g4dn.8xlarge",3229 "g4dn.12xlarge",3230 "g4dn.16xlarge",3231 "g4dn.metal",3232 "cg1.4xlarge",3233 "p2.xlarge",3234 "p2.8xlarge",3235 "p2.16xlarge",3236 "p3.2xlarge",3237 "p3.8xlarge",3238 "p3.16xlarge",3239 "p3dn.24xlarge",3240 "d2.xlarge",3241 "d2.2xlarge",3242 "d2.4xlarge",3243 "d2.8xlarge",3244 "f1.2xlarge",3245 "f1.4xlarge",3246 "f1.16xlarge",3247 "m5.large",3248 "m5.xlarge",3249 "m5.2xlarge",3250 "m5.4xlarge",3251 "m5.8xlarge",3252 "m5.12xlarge",3253 "m5.16xlarge",3254 "m5.24xlarge",3255 "m5.metal",3256 "m5a.large",3257 "m5a.xlarge",3258 "m5a.2xlarge",3259 "m5a.4xlarge",3260 "m5a.8xlarge",3261 "m5a.12xlarge",3262 "m5a.16xlarge",3263 "m5a.24xlarge",3264 "m5d.large",3265 "m5d.xlarge",3266 "m5d.2xlarge",3267 "m5d.4xlarge",3268 "m5d.8xlarge",3269 "m5d.12xlarge",3270 "m5d.16xlarge",3271 "m5d.24xlarge",3272 "m5d.metal",3273 "m5ad.large",3274 "m5ad.xlarge",3275 "m5ad.2xlarge",3276 "m5ad.4xlarge",3277 "m5ad.8xlarge",3278 "m5ad.12xlarge",3279 "m5ad.16xlarge",3280 "m5ad.24xlarge",3281 "h1.2xlarge",3282 "h1.4xlarge",3283 "h1.8xlarge",3284 "h1.16xlarge",3285 "z1d.large",3286 "z1d.xlarge",3287 "z1d.2xlarge",3288 "z1d.3xlarge",3289 "z1d.6xlarge",3290 "z1d.12xlarge",3291 "z1d.metal",3292 "u-6tb1.metal",3293 "u-9tb1.metal",3294 "u-12tb1.metal",3295 "u-18tb1.metal",3296 "u-24tb1.metal",3297 "a1.medium",3298 "a1.large",3299 "a1.xlarge",3300 "a1.2xlarge",3301 "a1.4xlarge",3302 "a1.metal",3303 "m5dn.large",3304 "m5dn.xlarge",3305 "m5dn.2xlarge",3306 "m5dn.4xlarge",3307 "m5dn.8xlarge",3308 "m5dn.12xlarge",3309 "m5dn.16xlarge",3310 "m5dn.24xlarge",3311 "m5n.large",3312 "m5n.xlarge",3313 "m5n.2xlarge",3314 "m5n.4xlarge",3315 "m5n.8xlarge",3316 "m5n.12xlarge",3317 "m5n.16xlarge",3318 "m5n.24xlarge",3319 "r5dn.large",3320 "r5dn.xlarge",3321 "r5dn.2xlarge",3322 "r5dn.4xlarge",3323 "r5dn.8xlarge",3324 "r5dn.12xlarge",3325 "r5dn.16xlarge",3326 "r5dn.24xlarge",3327 "r5n.large",3328 "r5n.xlarge",3329 "r5n.2xlarge",3330 "r5n.4xlarge",3331 "r5n.8xlarge",3332 "r5n.12xlarge",3333 "r5n.16xlarge",3334 "r5n.24xlarge",3335 "inf1.xlarge",3336 "inf1.2xlarge",3337 "inf1.6xlarge",3338 "inf1.24xlarge",3339 "m6g.metal",3340 "m6g.medium",3341 "m6g.large",3342 "m6g.xlarge",3343 "m6g.2xlarge",3344 "m6g.4xlarge",3345 "m6g.8xlarge",3346 "m6g.12xlarge",3347 "m6g.16xlarge",3348 "m6gd.metal",3349 "m6gd.medium",3350 "m6gd.large",3351 "m6gd.xlarge",3352 "m6gd.2xlarge",3353 "m6gd.4xlarge",3354 "m6gd.8xlarge",3355 "m6gd.12xlarge",3356 "m6gd.16xlarge",3357 ] = None,3358 MaxDuration: int = None,3359 MaxInstanceCount: int = None,3360 MinDuration: int = None,3361 OfferingClass: Literal["standard", "convertible"] = None,3362 ProductDescription: Literal[3363 "Linux/UNIX", "Linux/UNIX (Amazon VPC)", "Windows", "Windows (Amazon VPC)"3364 ] = None,3365 ReservedInstancesOfferingIds: List[str] = None,3366 DryRun: bool = None,3367 InstanceTenancy: Literal["default", "dedicated", "host"] = None,3368 MaxResults: int = None,3369 NextToken: str = None,3370 OfferingType: Literal[3371 "Heavy Utilization",3372 "Medium Utilization",3373 "Light Utilization",3374 "No Upfront",3375 "Partial Upfront",3376 "All Upfront",3377 ] = None,3378 ) -> DescribeReservedInstancesOfferingsResultTypeDef:3379 """3380 [Client.describe_reserved_instances_offerings documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_reserved_instances_offerings)3381 """3382 def describe_route_tables(3383 self,3384 Filters: List[FilterTypeDef] = None,3385 DryRun: bool = None,3386 RouteTableIds: List[str] = None,3387 NextToken: str = None,3388 MaxResults: int = None,3389 ) -> DescribeRouteTablesResultTypeDef:3390 """3391 [Client.describe_route_tables documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_route_tables)3392 """3393 def describe_scheduled_instance_availability(3394 self,3395 FirstSlotStartTimeRange: SlotDateTimeRangeRequestTypeDef,3396 Recurrence: ScheduledInstanceRecurrenceRequestTypeDef,3397 DryRun: bool = None,3398 Filters: List[FilterTypeDef] = None,3399 MaxResults: int = None,3400 MaxSlotDurationInHours: int = None,3401 MinSlotDurationInHours: int = None,3402 NextToken: str = None,3403 ) -> DescribeScheduledInstanceAvailabilityResultTypeDef:3404 """3405 [Client.describe_scheduled_instance_availability documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_scheduled_instance_availability)3406 """3407 def describe_scheduled_instances(3408 self,3409 DryRun: bool = None,3410 Filters: List[FilterTypeDef] = None,3411 MaxResults: int = None,3412 NextToken: str = None,3413 ScheduledInstanceIds: List[str] = None,3414 SlotStartTimeRange: SlotStartTimeRangeRequestTypeDef = None,3415 ) -> DescribeScheduledInstancesResultTypeDef:3416 """3417 [Client.describe_scheduled_instances documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_scheduled_instances)3418 """3419 def describe_security_group_references(3420 self, GroupId: List[str], DryRun: bool = None3421 ) -> DescribeSecurityGroupReferencesResultTypeDef:3422 """3423 [Client.describe_security_group_references documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_security_group_references)3424 """3425 def describe_security_groups(3426 self,3427 Filters: List[FilterTypeDef] = None,3428 GroupIds: List[str] = None,3429 GroupNames: List[str] = None,3430 DryRun: bool = None,3431 NextToken: str = None,3432 MaxResults: int = None,3433 ) -> DescribeSecurityGroupsResultTypeDef:3434 """3435 [Client.describe_security_groups documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_security_groups)3436 """3437 def describe_snapshot_attribute(3438 self,3439 Attribute: Literal["productCodes", "createVolumePermission"],3440 SnapshotId: str,3441 DryRun: bool = None,3442 ) -> DescribeSnapshotAttributeResultTypeDef:3443 """3444 [Client.describe_snapshot_attribute documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_snapshot_attribute)3445 """3446 def describe_snapshots(3447 self,3448 Filters: List[FilterTypeDef] = None,3449 MaxResults: int = None,3450 NextToken: str = None,3451 OwnerIds: List[str] = None,3452 RestorableByUserIds: List[str] = None,3453 SnapshotIds: List[str] = None,3454 DryRun: bool = None,3455 ) -> DescribeSnapshotsResultTypeDef:3456 """3457 [Client.describe_snapshots documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_snapshots)3458 """3459 def describe_spot_datafeed_subscription(3460 self, DryRun: bool = None3461 ) -> DescribeSpotDatafeedSubscriptionResultTypeDef:3462 """3463 [Client.describe_spot_datafeed_subscription documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_spot_datafeed_subscription)3464 """3465 def describe_spot_fleet_instances(3466 self,3467 SpotFleetRequestId: str,3468 DryRun: bool = None,3469 MaxResults: int = None,3470 NextToken: str = None,3471 ) -> DescribeSpotFleetInstancesResponseTypeDef:3472 """3473 [Client.describe_spot_fleet_instances documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_spot_fleet_instances)3474 """3475 def describe_spot_fleet_request_history(3476 self,3477 SpotFleetRequestId: str,3478 StartTime: datetime,3479 DryRun: bool = None,3480 EventType: Literal["instanceChange", "fleetRequestChange", "error", "information"] = None,3481 MaxResults: int = None,3482 NextToken: str = None,3483 ) -> DescribeSpotFleetRequestHistoryResponseTypeDef:3484 """3485 [Client.describe_spot_fleet_request_history documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_spot_fleet_request_history)3486 """3487 def describe_spot_fleet_requests(3488 self,3489 DryRun: bool = None,3490 MaxResults: int = None,3491 NextToken: str = None,3492 SpotFleetRequestIds: List[str] = None,3493 ) -> DescribeSpotFleetRequestsResponseTypeDef:3494 """3495 [Client.describe_spot_fleet_requests documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_spot_fleet_requests)3496 """3497 def describe_spot_instance_requests(3498 self,3499 Filters: List[FilterTypeDef] = None,3500 DryRun: bool = None,3501 SpotInstanceRequestIds: List[str] = None,3502 NextToken: str = None,3503 MaxResults: int = None,3504 ) -> DescribeSpotInstanceRequestsResultTypeDef:3505 """3506 [Client.describe_spot_instance_requests documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_spot_instance_requests)3507 """3508 def describe_spot_price_history(3509 self,3510 Filters: List[FilterTypeDef] = None,3511 AvailabilityZone: str = None,3512 DryRun: bool = None,3513 EndTime: datetime = None,3514 InstanceTypes: List[3515 Literal[3516 "t1.micro",3517 "t2.nano",3518 "t2.micro",3519 "t2.small",3520 "t2.medium",3521 "t2.large",3522 "t2.xlarge",3523 "t2.2xlarge",3524 "t3.nano",3525 "t3.micro",3526 "t3.small",3527 "t3.medium",3528 "t3.large",3529 "t3.xlarge",3530 "t3.2xlarge",3531 "t3a.nano",3532 "t3a.micro",3533 "t3a.small",3534 "t3a.medium",3535 "t3a.large",3536 "t3a.xlarge",3537 "t3a.2xlarge",3538 "m1.small",3539 "m1.medium",3540 "m1.large",3541 "m1.xlarge",3542 "m3.medium",3543 "m3.large",3544 "m3.xlarge",3545 "m3.2xlarge",3546 "m4.large",3547 "m4.xlarge",3548 "m4.2xlarge",3549 "m4.4xlarge",3550 "m4.10xlarge",3551 "m4.16xlarge",3552 "m2.xlarge",3553 "m2.2xlarge",3554 "m2.4xlarge",3555 "cr1.8xlarge",3556 "r3.large",3557 "r3.xlarge",3558 "r3.2xlarge",3559 "r3.4xlarge",3560 "r3.8xlarge",3561 "r4.large",3562 "r4.xlarge",3563 "r4.2xlarge",3564 "r4.4xlarge",3565 "r4.8xlarge",3566 "r4.16xlarge",3567 "r5.large",3568 "r5.xlarge",3569 "r5.2xlarge",3570 "r5.4xlarge",3571 "r5.8xlarge",3572 "r5.12xlarge",3573 "r5.16xlarge",3574 "r5.24xlarge",3575 "r5.metal",3576 "r5a.large",3577 "r5a.xlarge",3578 "r5a.2xlarge",3579 "r5a.4xlarge",3580 "r5a.8xlarge",3581 "r5a.12xlarge",3582 "r5a.16xlarge",3583 "r5a.24xlarge",3584 "r5d.large",3585 "r5d.xlarge",3586 "r5d.2xlarge",3587 "r5d.4xlarge",3588 "r5d.8xlarge",3589 "r5d.12xlarge",3590 "r5d.16xlarge",3591 "r5d.24xlarge",3592 "r5d.metal",3593 "r5ad.large",3594 "r5ad.xlarge",3595 "r5ad.2xlarge",3596 "r5ad.4xlarge",3597 "r5ad.8xlarge",3598 "r5ad.12xlarge",3599 "r5ad.16xlarge",3600 "r5ad.24xlarge",3601 "r6g.metal",3602 "r6g.medium",3603 "r6g.large",3604 "r6g.xlarge",3605 "r6g.2xlarge",3606 "r6g.4xlarge",3607 "r6g.8xlarge",3608 "r6g.12xlarge",3609 "r6g.16xlarge",3610 "r6gd.metal",3611 "r6gd.medium",3612 "r6gd.large",3613 "r6gd.xlarge",3614 "r6gd.2xlarge",3615 "r6gd.4xlarge",3616 "r6gd.8xlarge",3617 "r6gd.12xlarge",3618 "r6gd.16xlarge",3619 "x1.16xlarge",3620 "x1.32xlarge",3621 "x1e.xlarge",3622 "x1e.2xlarge",3623 "x1e.4xlarge",3624 "x1e.8xlarge",3625 "x1e.16xlarge",3626 "x1e.32xlarge",3627 "i2.xlarge",3628 "i2.2xlarge",3629 "i2.4xlarge",3630 "i2.8xlarge",3631 "i3.large",3632 "i3.xlarge",3633 "i3.2xlarge",3634 "i3.4xlarge",3635 "i3.8xlarge",3636 "i3.16xlarge",3637 "i3.metal",3638 "i3en.large",3639 "i3en.xlarge",3640 "i3en.2xlarge",3641 "i3en.3xlarge",3642 "i3en.6xlarge",3643 "i3en.12xlarge",3644 "i3en.24xlarge",3645 "i3en.metal",3646 "hi1.4xlarge",3647 "hs1.8xlarge",3648 "c1.medium",3649 "c1.xlarge",3650 "c3.large",3651 "c3.xlarge",3652 "c3.2xlarge",3653 "c3.4xlarge",3654 "c3.8xlarge",3655 "c4.large",3656 "c4.xlarge",3657 "c4.2xlarge",3658 "c4.4xlarge",3659 "c4.8xlarge",3660 "c5.large",3661 "c5.xlarge",3662 "c5.2xlarge",3663 "c5.4xlarge",3664 "c5.9xlarge",3665 "c5.12xlarge",3666 "c5.18xlarge",3667 "c5.24xlarge",3668 "c5.metal",3669 "c5a.large",3670 "c5a.xlarge",3671 "c5a.2xlarge",3672 "c5a.4xlarge",3673 "c5a.8xlarge",3674 "c5a.12xlarge",3675 "c5a.16xlarge",3676 "c5a.24xlarge",3677 "c5ad.large",3678 "c5ad.xlarge",3679 "c5ad.2xlarge",3680 "c5ad.4xlarge",3681 "c5ad.8xlarge",3682 "c5ad.12xlarge",3683 "c5ad.16xlarge",3684 "c5ad.24xlarge",3685 "c5d.large",3686 "c5d.xlarge",3687 "c5d.2xlarge",3688 "c5d.4xlarge",3689 "c5d.9xlarge",3690 "c5d.12xlarge",3691 "c5d.18xlarge",3692 "c5d.24xlarge",3693 "c5d.metal",3694 "c5n.large",3695 "c5n.xlarge",3696 "c5n.2xlarge",3697 "c5n.4xlarge",3698 "c5n.9xlarge",3699 "c5n.18xlarge",3700 "c6g.metal",3701 "c6g.medium",3702 "c6g.large",3703 "c6g.xlarge",3704 "c6g.2xlarge",3705 "c6g.4xlarge",3706 "c6g.8xlarge",3707 "c6g.12xlarge",3708 "c6g.16xlarge",3709 "c6gd.metal",3710 "c6gd.medium",3711 "c6gd.large",3712 "c6gd.xlarge",3713 "c6gd.2xlarge",3714 "c6gd.4xlarge",3715 "c6gd.8xlarge",3716 "c6gd.12xlarge",3717 "c6gd.16xlarge",3718 "cc1.4xlarge",3719 "cc2.8xlarge",3720 "g2.2xlarge",3721 "g2.8xlarge",3722 "g3.4xlarge",3723 "g3.8xlarge",3724 "g3.16xlarge",3725 "g3s.xlarge",3726 "g4dn.xlarge",3727 "g4dn.2xlarge",3728 "g4dn.4xlarge",3729 "g4dn.8xlarge",3730 "g4dn.12xlarge",3731 "g4dn.16xlarge",3732 "g4dn.metal",3733 "cg1.4xlarge",3734 "p2.xlarge",3735 "p2.8xlarge",3736 "p2.16xlarge",3737 "p3.2xlarge",3738 "p3.8xlarge",3739 "p3.16xlarge",3740 "p3dn.24xlarge",3741 "d2.xlarge",3742 "d2.2xlarge",3743 "d2.4xlarge",3744 "d2.8xlarge",3745 "f1.2xlarge",3746 "f1.4xlarge",3747 "f1.16xlarge",3748 "m5.large",3749 "m5.xlarge",3750 "m5.2xlarge",3751 "m5.4xlarge",3752 "m5.8xlarge",3753 "m5.12xlarge",3754 "m5.16xlarge",3755 "m5.24xlarge",3756 "m5.metal",3757 "m5a.large",3758 "m5a.xlarge",3759 "m5a.2xlarge",3760 "m5a.4xlarge",3761 "m5a.8xlarge",3762 "m5a.12xlarge",3763 "m5a.16xlarge",3764 "m5a.24xlarge",3765 "m5d.large",3766 "m5d.xlarge",3767 "m5d.2xlarge",3768 "m5d.4xlarge",3769 "m5d.8xlarge",3770 "m5d.12xlarge",3771 "m5d.16xlarge",3772 "m5d.24xlarge",3773 "m5d.metal",3774 "m5ad.large",3775 "m5ad.xlarge",3776 "m5ad.2xlarge",3777 "m5ad.4xlarge",3778 "m5ad.8xlarge",3779 "m5ad.12xlarge",3780 "m5ad.16xlarge",3781 "m5ad.24xlarge",3782 "h1.2xlarge",3783 "h1.4xlarge",3784 "h1.8xlarge",3785 "h1.16xlarge",3786 "z1d.large",3787 "z1d.xlarge",3788 "z1d.2xlarge",3789 "z1d.3xlarge",3790 "z1d.6xlarge",3791 "z1d.12xlarge",3792 "z1d.metal",3793 "u-6tb1.metal",3794 "u-9tb1.metal",3795 "u-12tb1.metal",3796 "u-18tb1.metal",3797 "u-24tb1.metal",3798 "a1.medium",3799 "a1.large",3800 "a1.xlarge",3801 "a1.2xlarge",3802 "a1.4xlarge",3803 "a1.metal",3804 "m5dn.large",3805 "m5dn.xlarge",3806 "m5dn.2xlarge",3807 "m5dn.4xlarge",3808 "m5dn.8xlarge",3809 "m5dn.12xlarge",3810 "m5dn.16xlarge",3811 "m5dn.24xlarge",3812 "m5n.large",3813 "m5n.xlarge",3814 "m5n.2xlarge",3815 "m5n.4xlarge",3816 "m5n.8xlarge",3817 "m5n.12xlarge",3818 "m5n.16xlarge",3819 "m5n.24xlarge",3820 "r5dn.large",3821 "r5dn.xlarge",3822 "r5dn.2xlarge",3823 "r5dn.4xlarge",3824 "r5dn.8xlarge",3825 "r5dn.12xlarge",3826 "r5dn.16xlarge",3827 "r5dn.24xlarge",3828 "r5n.large",3829 "r5n.xlarge",3830 "r5n.2xlarge",3831 "r5n.4xlarge",3832 "r5n.8xlarge",3833 "r5n.12xlarge",3834 "r5n.16xlarge",3835 "r5n.24xlarge",3836 "inf1.xlarge",3837 "inf1.2xlarge",3838 "inf1.6xlarge",3839 "inf1.24xlarge",3840 "m6g.metal",3841 "m6g.medium",3842 "m6g.large",3843 "m6g.xlarge",3844 "m6g.2xlarge",3845 "m6g.4xlarge",3846 "m6g.8xlarge",3847 "m6g.12xlarge",3848 "m6g.16xlarge",3849 "m6gd.metal",3850 "m6gd.medium",3851 "m6gd.large",3852 "m6gd.xlarge",3853 "m6gd.2xlarge",3854 "m6gd.4xlarge",3855 "m6gd.8xlarge",3856 "m6gd.12xlarge",3857 "m6gd.16xlarge",3858 ]3859 ] = None,3860 MaxResults: int = None,3861 NextToken: str = None,3862 ProductDescriptions: List[str] = None,3863 StartTime: datetime = None,3864 ) -> DescribeSpotPriceHistoryResultTypeDef:3865 """3866 [Client.describe_spot_price_history documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_spot_price_history)3867 """3868 def describe_stale_security_groups(3869 self, VpcId: str, DryRun: bool = None, MaxResults: int = None, NextToken: str = None3870 ) -> DescribeStaleSecurityGroupsResultTypeDef:3871 """3872 [Client.describe_stale_security_groups documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_stale_security_groups)3873 """3874 def describe_subnets(3875 self,3876 Filters: List[FilterTypeDef] = None,3877 SubnetIds: List[str] = None,3878 DryRun: bool = None,3879 NextToken: str = None,3880 MaxResults: int = None,3881 ) -> DescribeSubnetsResultTypeDef:3882 """3883 [Client.describe_subnets documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_subnets)3884 """3885 def describe_tags(3886 self,3887 DryRun: bool = None,3888 Filters: List[FilterTypeDef] = None,3889 MaxResults: int = None,3890 NextToken: str = None,3891 ) -> DescribeTagsResultTypeDef:3892 """3893 [Client.describe_tags documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_tags)3894 """3895 def describe_traffic_mirror_filters(3896 self,3897 TrafficMirrorFilterIds: List[str] = None,3898 DryRun: bool = None,3899 Filters: List[FilterTypeDef] = None,3900 MaxResults: int = None,3901 NextToken: str = None,3902 ) -> DescribeTrafficMirrorFiltersResultTypeDef:3903 """3904 [Client.describe_traffic_mirror_filters documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_traffic_mirror_filters)3905 """3906 def describe_traffic_mirror_sessions(3907 self,3908 TrafficMirrorSessionIds: List[str] = None,3909 DryRun: bool = None,3910 Filters: List[FilterTypeDef] = None,3911 MaxResults: int = None,3912 NextToken: str = None,3913 ) -> DescribeTrafficMirrorSessionsResultTypeDef:3914 """3915 [Client.describe_traffic_mirror_sessions documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_traffic_mirror_sessions)3916 """3917 def describe_traffic_mirror_targets(3918 self,3919 TrafficMirrorTargetIds: List[str] = None,3920 DryRun: bool = None,3921 Filters: List[FilterTypeDef] = None,3922 MaxResults: int = None,3923 NextToken: str = None,3924 ) -> DescribeTrafficMirrorTargetsResultTypeDef:3925 """3926 [Client.describe_traffic_mirror_targets documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_traffic_mirror_targets)3927 """3928 def describe_transit_gateway_attachments(3929 self,3930 TransitGatewayAttachmentIds: List[str] = None,3931 Filters: List[FilterTypeDef] = None,3932 MaxResults: int = None,3933 NextToken: str = None,3934 DryRun: bool = None,3935 ) -> DescribeTransitGatewayAttachmentsResultTypeDef:3936 """3937 [Client.describe_transit_gateway_attachments documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_transit_gateway_attachments)3938 """3939 def describe_transit_gateway_multicast_domains(3940 self,3941 TransitGatewayMulticastDomainIds: List[str] = None,3942 Filters: List[FilterTypeDef] = None,3943 MaxResults: int = None,3944 NextToken: str = None,3945 DryRun: bool = None,3946 ) -> DescribeTransitGatewayMulticastDomainsResultTypeDef:3947 """3948 [Client.describe_transit_gateway_multicast_domains documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_transit_gateway_multicast_domains)3949 """3950 def describe_transit_gateway_peering_attachments(3951 self,3952 TransitGatewayAttachmentIds: List[str] = None,3953 Filters: List[FilterTypeDef] = None,3954 MaxResults: int = None,3955 NextToken: str = None,3956 DryRun: bool = None,3957 ) -> DescribeTransitGatewayPeeringAttachmentsResultTypeDef:3958 """3959 [Client.describe_transit_gateway_peering_attachments documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_transit_gateway_peering_attachments)3960 """3961 def describe_transit_gateway_route_tables(3962 self,3963 TransitGatewayRouteTableIds: List[str] = None,3964 Filters: List[FilterTypeDef] = None,3965 MaxResults: int = None,3966 NextToken: str = None,3967 DryRun: bool = None,3968 ) -> DescribeTransitGatewayRouteTablesResultTypeDef:3969 """3970 [Client.describe_transit_gateway_route_tables documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_transit_gateway_route_tables)3971 """3972 def describe_transit_gateway_vpc_attachments(3973 self,3974 TransitGatewayAttachmentIds: List[str] = None,3975 Filters: List[FilterTypeDef] = None,3976 MaxResults: int = None,3977 NextToken: str = None,3978 DryRun: bool = None,3979 ) -> DescribeTransitGatewayVpcAttachmentsResultTypeDef:3980 """3981 [Client.describe_transit_gateway_vpc_attachments documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_transit_gateway_vpc_attachments)3982 """3983 def describe_transit_gateways(3984 self,3985 TransitGatewayIds: List[str] = None,3986 Filters: List[FilterTypeDef] = None,3987 MaxResults: int = None,3988 NextToken: str = None,3989 DryRun: bool = None,3990 ) -> DescribeTransitGatewaysResultTypeDef:3991 """3992 [Client.describe_transit_gateways documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_transit_gateways)3993 """3994 def describe_volume_attribute(3995 self, Attribute: Literal["autoEnableIO", "productCodes"], VolumeId: str, DryRun: bool = None3996 ) -> DescribeVolumeAttributeResultTypeDef:3997 """3998 [Client.describe_volume_attribute documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_volume_attribute)3999 """4000 def describe_volume_status(4001 self,4002 Filters: List[FilterTypeDef] = None,4003 MaxResults: int = None,4004 NextToken: str = None,4005 VolumeIds: List[str] = None,4006 DryRun: bool = None,4007 ) -> DescribeVolumeStatusResultTypeDef:4008 """4009 [Client.describe_volume_status documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_volume_status)4010 """4011 def describe_volumes(4012 self,4013 Filters: List[FilterTypeDef] = None,4014 VolumeIds: List[str] = None,4015 DryRun: bool = None,4016 MaxResults: int = None,4017 NextToken: str = None,4018 ) -> DescribeVolumesResultTypeDef:4019 """4020 [Client.describe_volumes documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_volumes)4021 """4022 def describe_volumes_modifications(4023 self,4024 DryRun: bool = None,4025 VolumeIds: List[str] = None,4026 Filters: List[FilterTypeDef] = None,4027 NextToken: str = None,4028 MaxResults: int = None,4029 ) -> DescribeVolumesModificationsResultTypeDef:4030 """4031 [Client.describe_volumes_modifications documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_volumes_modifications)4032 """4033 def describe_vpc_attribute(4034 self,4035 Attribute: Literal["enableDnsSupport", "enableDnsHostnames"],4036 VpcId: str,4037 DryRun: bool = None,4038 ) -> DescribeVpcAttributeResultTypeDef:4039 """4040 [Client.describe_vpc_attribute documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_vpc_attribute)4041 """4042 def describe_vpc_classic_link(4043 self, Filters: List[FilterTypeDef] = None, DryRun: bool = None, VpcIds: List[str] = None4044 ) -> DescribeVpcClassicLinkResultTypeDef:4045 """4046 [Client.describe_vpc_classic_link documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_vpc_classic_link)4047 """4048 def describe_vpc_classic_link_dns_support(4049 self, MaxResults: int = None, NextToken: str = None, VpcIds: List[str] = None4050 ) -> DescribeVpcClassicLinkDnsSupportResultTypeDef:4051 """4052 [Client.describe_vpc_classic_link_dns_support documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_vpc_classic_link_dns_support)4053 """4054 def describe_vpc_endpoint_connection_notifications(4055 self,4056 DryRun: bool = None,4057 ConnectionNotificationId: str = None,4058 Filters: List[FilterTypeDef] = None,4059 MaxResults: int = None,4060 NextToken: str = None,4061 ) -> DescribeVpcEndpointConnectionNotificationsResultTypeDef:4062 """4063 [Client.describe_vpc_endpoint_connection_notifications documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_vpc_endpoint_connection_notifications)4064 """4065 def describe_vpc_endpoint_connections(4066 self,4067 DryRun: bool = None,4068 Filters: List[FilterTypeDef] = None,4069 MaxResults: int = None,4070 NextToken: str = None,4071 ) -> DescribeVpcEndpointConnectionsResultTypeDef:4072 """4073 [Client.describe_vpc_endpoint_connections documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_vpc_endpoint_connections)4074 """4075 def describe_vpc_endpoint_service_configurations(4076 self,4077 DryRun: bool = None,4078 ServiceIds: List[str] = None,4079 Filters: List[FilterTypeDef] = None,4080 MaxResults: int = None,4081 NextToken: str = None,4082 ) -> DescribeVpcEndpointServiceConfigurationsResultTypeDef:4083 """4084 [Client.describe_vpc_endpoint_service_configurations documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_vpc_endpoint_service_configurations)4085 """4086 def describe_vpc_endpoint_service_permissions(4087 self,4088 ServiceId: str,4089 DryRun: bool = None,4090 Filters: List[FilterTypeDef] = None,4091 MaxResults: int = None,4092 NextToken: str = None,4093 ) -> DescribeVpcEndpointServicePermissionsResultTypeDef:4094 """4095 [Client.describe_vpc_endpoint_service_permissions documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_vpc_endpoint_service_permissions)4096 """4097 def describe_vpc_endpoint_services(4098 self,4099 DryRun: bool = None,4100 ServiceNames: List[str] = None,4101 Filters: List[FilterTypeDef] = None,4102 MaxResults: int = None,4103 NextToken: str = None,4104 ) -> DescribeVpcEndpointServicesResultTypeDef:4105 """4106 [Client.describe_vpc_endpoint_services documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_vpc_endpoint_services)4107 """4108 def describe_vpc_endpoints(4109 self,4110 DryRun: bool = None,4111 VpcEndpointIds: List[str] = None,4112 Filters: List[FilterTypeDef] = None,4113 MaxResults: int = None,4114 NextToken: str = None,4115 ) -> DescribeVpcEndpointsResultTypeDef:4116 """4117 [Client.describe_vpc_endpoints documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_vpc_endpoints)4118 """4119 def describe_vpc_peering_connections(4120 self,4121 Filters: List[FilterTypeDef] = None,4122 DryRun: bool = None,4123 VpcPeeringConnectionIds: List[str] = None,4124 NextToken: str = None,4125 MaxResults: int = None,4126 ) -> DescribeVpcPeeringConnectionsResultTypeDef:4127 """4128 [Client.describe_vpc_peering_connections documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_vpc_peering_connections)4129 """4130 def describe_vpcs(4131 self,4132 Filters: List[FilterTypeDef] = None,4133 VpcIds: List[str] = None,4134 DryRun: bool = None,4135 NextToken: str = None,4136 MaxResults: int = None,4137 ) -> DescribeVpcsResultTypeDef:4138 """4139 [Client.describe_vpcs documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_vpcs)4140 """4141 def describe_vpn_connections(4142 self,4143 Filters: List[FilterTypeDef] = None,4144 VpnConnectionIds: List[str] = None,4145 DryRun: bool = None,4146 ) -> DescribeVpnConnectionsResultTypeDef:4147 """4148 [Client.describe_vpn_connections documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_vpn_connections)4149 """4150 def describe_vpn_gateways(4151 self,4152 Filters: List[FilterTypeDef] = None,4153 VpnGatewayIds: List[str] = None,4154 DryRun: bool = None,4155 ) -> DescribeVpnGatewaysResultTypeDef:4156 """4157 [Client.describe_vpn_gateways documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.describe_vpn_gateways)4158 """4159 def detach_classic_link_vpc(4160 self, InstanceId: str, VpcId: str, DryRun: bool = None4161 ) -> DetachClassicLinkVpcResultTypeDef:4162 """4163 [Client.detach_classic_link_vpc documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.detach_classic_link_vpc)4164 """4165 def detach_internet_gateway(4166 self, InternetGatewayId: str, VpcId: str, DryRun: bool = None4167 ) -> None:4168 """4169 [Client.detach_internet_gateway documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.detach_internet_gateway)4170 """4171 def detach_network_interface(4172 self, AttachmentId: str, DryRun: bool = None, Force: bool = None4173 ) -> None:4174 """4175 [Client.detach_network_interface documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.detach_network_interface)4176 """4177 def detach_volume(4178 self,4179 VolumeId: str,4180 Device: str = None,4181 Force: bool = None,4182 InstanceId: str = None,4183 DryRun: bool = None,4184 ) -> "VolumeAttachmentTypeDef":4185 """4186 [Client.detach_volume documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.detach_volume)4187 """4188 def detach_vpn_gateway(self, VpcId: str, VpnGatewayId: str, DryRun: bool = None) -> None:4189 """4190 [Client.detach_vpn_gateway documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.detach_vpn_gateway)4191 """4192 def disable_ebs_encryption_by_default(4193 self, DryRun: bool = None4194 ) -> DisableEbsEncryptionByDefaultResultTypeDef:4195 """4196 [Client.disable_ebs_encryption_by_default documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.disable_ebs_encryption_by_default)4197 """4198 def disable_fast_snapshot_restores(4199 self, AvailabilityZones: List[str], SourceSnapshotIds: List[str], DryRun: bool = None4200 ) -> DisableFastSnapshotRestoresResultTypeDef:4201 """4202 [Client.disable_fast_snapshot_restores documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.disable_fast_snapshot_restores)4203 """4204 def disable_transit_gateway_route_table_propagation(4205 self, TransitGatewayRouteTableId: str, TransitGatewayAttachmentId: str, DryRun: bool = None4206 ) -> DisableTransitGatewayRouteTablePropagationResultTypeDef:4207 """4208 [Client.disable_transit_gateway_route_table_propagation documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.disable_transit_gateway_route_table_propagation)4209 """4210 def disable_vgw_route_propagation(4211 self, GatewayId: str, RouteTableId: str, DryRun: bool = None4212 ) -> None:4213 """4214 [Client.disable_vgw_route_propagation documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.disable_vgw_route_propagation)4215 """4216 def disable_vpc_classic_link(4217 self, VpcId: str, DryRun: bool = None4218 ) -> DisableVpcClassicLinkResultTypeDef:4219 """4220 [Client.disable_vpc_classic_link documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.disable_vpc_classic_link)4221 """4222 def disable_vpc_classic_link_dns_support(4223 self, VpcId: str = None4224 ) -> DisableVpcClassicLinkDnsSupportResultTypeDef:4225 """4226 [Client.disable_vpc_classic_link_dns_support documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.disable_vpc_classic_link_dns_support)4227 """4228 def disassociate_address(4229 self, AssociationId: str = None, PublicIp: str = None, DryRun: bool = None4230 ) -> None:4231 """4232 [Client.disassociate_address documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.disassociate_address)4233 """4234 def disassociate_client_vpn_target_network(4235 self, ClientVpnEndpointId: str, AssociationId: str, DryRun: bool = None4236 ) -> DisassociateClientVpnTargetNetworkResultTypeDef:4237 """4238 [Client.disassociate_client_vpn_target_network documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.disassociate_client_vpn_target_network)4239 """4240 def disassociate_iam_instance_profile(4241 self, AssociationId: str4242 ) -> DisassociateIamInstanceProfileResultTypeDef:4243 """4244 [Client.disassociate_iam_instance_profile documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.disassociate_iam_instance_profile)4245 """4246 def disassociate_route_table(self, AssociationId: str, DryRun: bool = None) -> None:4247 """4248 [Client.disassociate_route_table documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.disassociate_route_table)4249 """4250 def disassociate_subnet_cidr_block(4251 self, AssociationId: str4252 ) -> DisassociateSubnetCidrBlockResultTypeDef:4253 """4254 [Client.disassociate_subnet_cidr_block documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.disassociate_subnet_cidr_block)4255 """4256 def disassociate_transit_gateway_multicast_domain(4257 self,4258 TransitGatewayMulticastDomainId: str = None,4259 TransitGatewayAttachmentId: str = None,4260 SubnetIds: List[str] = None,4261 DryRun: bool = None,4262 ) -> DisassociateTransitGatewayMulticastDomainResultTypeDef:4263 """4264 [Client.disassociate_transit_gateway_multicast_domain documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.disassociate_transit_gateway_multicast_domain)4265 """4266 def disassociate_transit_gateway_route_table(4267 self, TransitGatewayRouteTableId: str, TransitGatewayAttachmentId: str, DryRun: bool = None4268 ) -> DisassociateTransitGatewayRouteTableResultTypeDef:4269 """4270 [Client.disassociate_transit_gateway_route_table documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.disassociate_transit_gateway_route_table)...

Full Screen

Full Screen

transit-gateway.py

Source:transit-gateway.py Github

copy

Full Screen

...61 DryRun=False62 )63 return response64#Associate transit gateway multi cast domain65def associate_transit_gateway_multicast_domain(tgw_multicast_domain_id, tgw_attachment_id, subnetID):66 client = boto3.client('ec2', region_name='us-east-1')67 response = client.associate_transit_gateway_multicast_domain(68 TransitGatewayMulticastDomainId=tgw_multicast_domain_id,69 TransitGatewayAttachmentId=tgw_attachment_id,70 SubnetIds=[71 subnetID,72 ],73 DryRun=False74 )75 return response76#Delete transit gateway multi-cast domain77def delete_transit_gateway_multicast_domain(tgwy_multicast_domain_id):78 client = boto3.client('ec2', region_name='us-east-1')79 response = client.delete_transit_gateway_multicast_domain(80 TransitGatewayMulticastDomainId=tgwy_multicast_domain_id,81 DryRun=False82 )83 return response84#Delete transit gateway vpc attachment85def delete_transit_gateway_vpc_attachment(transit_gateway_attachment_id):86 client = boto3.client('ec2', region_name='us-east-1')87 response = client.delete_transit_gateway_vpc_attachment(88 TransitGatewayAttachmentId=transit_gateway_attachment_id,89 DryRun=False90 )91 return response92#Delete transit gateway93def delete_transit_gateway(transit_gateway_id):94 client = boto3.client('ec2', region_name='us-east-1')95 response = client.delete_transit_gateway(96 TransitGatewayId=transit_gateway_id,97 DryRun=False98 )99# dissacotiate transit gateway multicast domain100def disassociate_transit_gateway_multicast_domain(tgw_multicast_domain_id, tgw_attachment_id, subnet_id):101 client = boto3.client('ec2', region_name='us-east-1')102 response = client.disassociate_transit_gateway_multicast_domain(103 TransitGatewayMulticastDomainId=tgw_multicast_domain_id,104 TransitGatewayAttachmentId=tgw_attachment_id,105 SubnetIds=[106 subnet_id,107 ],108 DryRun=False109 )110#register transit gateway multi-cast members111def register_transit_gateway_multicast_group_members(tgw_multicast_domain_id, group_address, network_interface2, network_interface3, network_interface4):112 client = boto3.client('ec2', region_name='us-east-1')113 response = client.register_transit_gateway_multicast_group_members(114 TransitGatewayMulticastDomainId = tgw_multicast_domain_id,115 GroupIpAddress = group_address,116 NetworkInterfaceIds = [117 network_interface2, network_interface3, network_interface4118 ],119 DryRun = False120 )121 return response122def register_transit_gateway_multicast_group_sources(tgw_multicast_domain_id, nic1id):123 client = boto3.client('ec2', region_name='us-east-1')124 response = client.register_transit_gateway_multicast_group_sources(125 TransitGatewayMulticastDomainId=tgw_multicast_domain_id,126 GroupIpAddress='224.0.0.0',127 NetworkInterfaceIds=[128 nic1id,129 ],130 DryRun=False131 )132 return response133if __name__ == '__main__':134 action = sys.argv[1]135 if action == "apply":136 #Get variables from cmd line137 vpc_id = sys.argv[2]138 subnet_id = sys.argv[3]139 i1nic = sys.argv[4]140 i2nic = sys.argv[5]141 i3nic = sys.argv[6]142 i4nic = sys.argv[7]143 #Create transit gateway144 tgw_response = create_transit_gateway()145 #Collect transit gateway id from response146 tgw_id = tgw_response['TransitGateway']['TransitGatewayId']147 time.sleep(180)148 #Create transit gateway attachment149 tgw_attachment_response = create_transit_gateway_vpc_attachment(tgw_id, vpc_id, subnet_id)150 #get tgw attachment id response151 tgw_attachment_id = tgw_attachment_response['TransitGatewayVpcAttachment']['TransitGatewayAttachmentId']152 time.sleep(60)153 #Create transit gateway route table and get response154 tgw_rt_response = create_transit_gateway_rt(tgw_id)155 #Get transit gateway route table id from the response156 tgw_rt_id = tgw_rt_response ['TransitGatewayRouteTable']['TransitGatewayRouteTableId']157 time.sleep(90)158 #Create transit gateway route159 create_transit_gateway_route(tgw_rt_id, "10.123.111.0/24", tgw_attachment_id)160 #Create transit gateway multi cast domain161 tgw_multicast_domain_response = create_transit_gateway_multicast_domain(tgw_id)162 #Get transit gateway multi cast domain id163 tgw_multicast_domain_id = tgw_multicast_domain_response['TransitGatewayMulticastDomain']['TransitGatewayMulticastDomainId']164 time.sleep(90)165 #Associate transit gateway multi-cast domain166 associate_transit_gateway_multicast_domain(tgw_multicast_domain_id, tgw_attachment_id, subnet_id)167 time.sleep(30)168 #register transit gateway multicast group members169 register_transit_gateway_multicast_group_members(tgw_multicast_domain_id, "224.0.0.0", i2nic, i3nic, i4nic)170 time.sleep(30)171 #register transit gateway multicast group sources172 register_transit_gateway_multicast_group_sources(tgw_multicast_domain_id,i1nic)173 if action == "destroy":174 #Get values from input175 transit_gateway_multicast_domain_id = sys.argv[2]176 transit_gateway_attachment_id = sys.argv[3]177 transit_gateway_id = sys.argv[4]178 subnet_id = sys.argv[5]179 #Dissacotiate transit gate way multicast domain with subnet180 disassociate_transit_gateway_multicast_domain(transit_gateway_multicast_domain_id, transit_gateway_attachment_id, subnet_id)181 time.sleep(120)182 #Delete transit gateway multicast domain183 delete_transit_gateway_multicast_domain(transit_gateway_multicast_domain_id)184 time.sleep(120)185 #Delete transit gateway VPC attachment186 delete_transit_gateway_vpc_attachment(transit_gateway_attachment_id)187 time.sleep(120)188 #Delete transit gateway...

Full Screen

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run localstack automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful