Best Python code snippet using localstack_python
client.pyi
Source:client.pyi
...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)4271 """4272 def disassociate_vpc_cidr_block(4273 self, AssociationId: str4274 ) -> DisassociateVpcCidrBlockResultTypeDef:4275 """4276 [Client.disassociate_vpc_cidr_block documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.disassociate_vpc_cidr_block)4277 """4278 def enable_ebs_encryption_by_default(4279 self, DryRun: bool = None4280 ) -> EnableEbsEncryptionByDefaultResultTypeDef:4281 """4282 [Client.enable_ebs_encryption_by_default documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.enable_ebs_encryption_by_default)4283 """4284 def enable_fast_snapshot_restores(4285 self, AvailabilityZones: List[str], SourceSnapshotIds: List[str], DryRun: bool = None4286 ) -> EnableFastSnapshotRestoresResultTypeDef:4287 """4288 [Client.enable_fast_snapshot_restores documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.enable_fast_snapshot_restores)4289 """4290 def enable_transit_gateway_route_table_propagation(4291 self, TransitGatewayRouteTableId: str, TransitGatewayAttachmentId: str, DryRun: bool = None4292 ) -> EnableTransitGatewayRouteTablePropagationResultTypeDef:4293 """4294 [Client.enable_transit_gateway_route_table_propagation documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.enable_transit_gateway_route_table_propagation)4295 """4296 def enable_vgw_route_propagation(4297 self, GatewayId: str, RouteTableId: str, DryRun: bool = None4298 ) -> None:4299 """4300 [Client.enable_vgw_route_propagation documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.enable_vgw_route_propagation)4301 """4302 def enable_volume_io(self, VolumeId: str, DryRun: bool = None) -> None:4303 """4304 [Client.enable_volume_io documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.enable_volume_io)4305 """4306 def enable_vpc_classic_link(4307 self, VpcId: str, DryRun: bool = None4308 ) -> EnableVpcClassicLinkResultTypeDef:4309 """4310 [Client.enable_vpc_classic_link documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.enable_vpc_classic_link)4311 """4312 def enable_vpc_classic_link_dns_support(4313 self, VpcId: str = None4314 ) -> EnableVpcClassicLinkDnsSupportResultTypeDef:4315 """4316 [Client.enable_vpc_classic_link_dns_support documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.enable_vpc_classic_link_dns_support)4317 """4318 def export_client_vpn_client_certificate_revocation_list(4319 self, ClientVpnEndpointId: str, DryRun: bool = None4320 ) -> ExportClientVpnClientCertificateRevocationListResultTypeDef:4321 """4322 [Client.export_client_vpn_client_certificate_revocation_list documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.export_client_vpn_client_certificate_revocation_list)4323 """4324 def export_client_vpn_client_configuration(4325 self, ClientVpnEndpointId: str, DryRun: bool = None4326 ) -> ExportClientVpnClientConfigurationResultTypeDef:4327 """4328 [Client.export_client_vpn_client_configuration documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.export_client_vpn_client_configuration)4329 """4330 def export_image(4331 self,4332 DiskImageFormat: Literal["VMDK", "RAW", "VHD"],4333 ImageId: str,4334 S3ExportLocation: ExportTaskS3LocationRequestTypeDef,4335 ClientToken: str = None,4336 Description: str = None,4337 DryRun: bool = None,4338 RoleName: str = None,4339 TagSpecifications: List["TagSpecificationTypeDef"] = None,4340 ) -> ExportImageResultTypeDef:4341 """4342 [Client.export_image documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.export_image)4343 """4344 def export_transit_gateway_routes(4345 self,4346 TransitGatewayRouteTableId: str,4347 S3Bucket: str,4348 Filters: List[FilterTypeDef] = None,4349 DryRun: bool = None,4350 ) -> ExportTransitGatewayRoutesResultTypeDef:4351 """4352 [Client.export_transit_gateway_routes documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.export_transit_gateway_routes)4353 """4354 def generate_presigned_url(4355 self,4356 ClientMethod: str,4357 Params: Dict[str, Any] = None,4358 ExpiresIn: int = 3600,4359 HttpMethod: str = None,4360 ) -> str:4361 """4362 [Client.generate_presigned_url documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.generate_presigned_url)4363 """4364 def get_associated_ipv6_pool_cidrs(4365 self, PoolId: str, NextToken: str = None, MaxResults: int = None, DryRun: bool = None4366 ) -> GetAssociatedIpv6PoolCidrsResultTypeDef:4367 """4368 [Client.get_associated_ipv6_pool_cidrs documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.get_associated_ipv6_pool_cidrs)4369 """4370 def get_capacity_reservation_usage(4371 self,4372 CapacityReservationId: str,4373 NextToken: str = None,4374 MaxResults: int = None,4375 DryRun: bool = None,4376 ) -> GetCapacityReservationUsageResultTypeDef:4377 """4378 [Client.get_capacity_reservation_usage documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.get_capacity_reservation_usage)4379 """4380 def get_coip_pool_usage(4381 self,4382 PoolId: str,4383 Filters: List[FilterTypeDef] = None,4384 MaxResults: int = None,4385 NextToken: str = None,4386 DryRun: bool = None,4387 ) -> GetCoipPoolUsageResultTypeDef:4388 """4389 [Client.get_coip_pool_usage documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.get_coip_pool_usage)4390 """4391 def get_console_output(4392 self, InstanceId: str, DryRun: bool = None, Latest: bool = None4393 ) -> GetConsoleOutputResultTypeDef:4394 """4395 [Client.get_console_output documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.get_console_output)4396 """4397 def get_console_screenshot(4398 self, InstanceId: str, DryRun: bool = None, WakeUp: bool = None4399 ) -> GetConsoleScreenshotResultTypeDef:4400 """4401 [Client.get_console_screenshot documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.get_console_screenshot)4402 """4403 def get_default_credit_specification(4404 self, InstanceFamily: Literal["t2", "t3", "t3a"], DryRun: bool = None4405 ) -> GetDefaultCreditSpecificationResultTypeDef:4406 """4407 [Client.get_default_credit_specification documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.get_default_credit_specification)4408 """4409 def get_ebs_default_kms_key_id(self, DryRun: bool = None) -> GetEbsDefaultKmsKeyIdResultTypeDef:4410 """4411 [Client.get_ebs_default_kms_key_id documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.get_ebs_default_kms_key_id)4412 """4413 def get_ebs_encryption_by_default(4414 self, DryRun: bool = None4415 ) -> GetEbsEncryptionByDefaultResultTypeDef:4416 """4417 [Client.get_ebs_encryption_by_default documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.get_ebs_encryption_by_default)4418 """4419 def get_groups_for_capacity_reservation(4420 self,4421 CapacityReservationId: str,4422 NextToken: str = None,4423 MaxResults: int = None,4424 DryRun: bool = None,4425 ) -> GetGroupsForCapacityReservationResultTypeDef:4426 """4427 [Client.get_groups_for_capacity_reservation documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.get_groups_for_capacity_reservation)4428 """4429 def get_host_reservation_purchase_preview(4430 self, HostIdSet: List[str], OfferingId: str4431 ) -> GetHostReservationPurchasePreviewResultTypeDef:4432 """4433 [Client.get_host_reservation_purchase_preview documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.get_host_reservation_purchase_preview)4434 """4435 def get_launch_template_data(4436 self, InstanceId: str, DryRun: bool = None4437 ) -> GetLaunchTemplateDataResultTypeDef:4438 """4439 [Client.get_launch_template_data documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.get_launch_template_data)4440 """4441 def get_managed_prefix_list_associations(4442 self, PrefixListId: str, DryRun: bool = None, MaxResults: int = None, NextToken: str = None4443 ) -> GetManagedPrefixListAssociationsResultTypeDef:4444 """4445 [Client.get_managed_prefix_list_associations documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.get_managed_prefix_list_associations)4446 """4447 def get_managed_prefix_list_entries(4448 self,4449 PrefixListId: str,4450 DryRun: bool = None,4451 TargetVersion: int = None,4452 MaxResults: int = None,4453 NextToken: str = None,4454 ) -> GetManagedPrefixListEntriesResultTypeDef:4455 """4456 [Client.get_managed_prefix_list_entries documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.get_managed_prefix_list_entries)4457 """4458 def get_password_data(4459 self, InstanceId: str, DryRun: bool = None4460 ) -> GetPasswordDataResultTypeDef:4461 """4462 [Client.get_password_data documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.get_password_data)4463 """4464 def get_reserved_instances_exchange_quote(4465 self,4466 ReservedInstanceIds: List[str],4467 DryRun: bool = None,4468 TargetConfigurations: List[TargetConfigurationRequestTypeDef] = None,4469 ) -> GetReservedInstancesExchangeQuoteResultTypeDef:4470 """4471 [Client.get_reserved_instances_exchange_quote documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.get_reserved_instances_exchange_quote)4472 """4473 def get_transit_gateway_attachment_propagations(4474 self,4475 TransitGatewayAttachmentId: str,4476 Filters: List[FilterTypeDef] = None,4477 MaxResults: int = None,4478 NextToken: str = None,4479 DryRun: bool = None,4480 ) -> GetTransitGatewayAttachmentPropagationsResultTypeDef:4481 """4482 [Client.get_transit_gateway_attachment_propagations documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.get_transit_gateway_attachment_propagations)4483 """4484 def get_transit_gateway_multicast_domain_associations(4485 self,4486 TransitGatewayMulticastDomainId: str = None,4487 Filters: List[FilterTypeDef] = None,4488 MaxResults: int = None,4489 NextToken: str = None,4490 DryRun: bool = None,4491 ) -> GetTransitGatewayMulticastDomainAssociationsResultTypeDef:4492 """4493 [Client.get_transit_gateway_multicast_domain_associations documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.get_transit_gateway_multicast_domain_associations)4494 """4495 def get_transit_gateway_route_table_associations(4496 self,4497 TransitGatewayRouteTableId: str,4498 Filters: List[FilterTypeDef] = None,4499 MaxResults: int = None,4500 NextToken: str = None,4501 DryRun: bool = None,4502 ) -> GetTransitGatewayRouteTableAssociationsResultTypeDef:4503 """4504 [Client.get_transit_gateway_route_table_associations documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.get_transit_gateway_route_table_associations)4505 """4506 def get_transit_gateway_route_table_propagations(4507 self,4508 TransitGatewayRouteTableId: str,4509 Filters: List[FilterTypeDef] = None,4510 MaxResults: int = None,4511 NextToken: str = None,4512 DryRun: bool = None,4513 ) -> GetTransitGatewayRouteTablePropagationsResultTypeDef:4514 """4515 [Client.get_transit_gateway_route_table_propagations documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.get_transit_gateway_route_table_propagations)4516 """4517 def import_client_vpn_client_certificate_revocation_list(4518 self, ClientVpnEndpointId: str, CertificateRevocationList: str, DryRun: bool = None4519 ) -> ImportClientVpnClientCertificateRevocationListResultTypeDef:4520 """4521 [Client.import_client_vpn_client_certificate_revocation_list documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.import_client_vpn_client_certificate_revocation_list)4522 """4523 def import_image(4524 self,4525 Architecture: str = None,4526 ClientData: ClientDataTypeDef = None,4527 ClientToken: str = None,4528 Description: str = None,4529 DiskContainers: List[ImageDiskContainerTypeDef] = None,4530 DryRun: bool = None,4531 Encrypted: bool = None,4532 Hypervisor: str = None,4533 KmsKeyId: str = None,4534 LicenseType: str = None,4535 Platform: str = None,4536 RoleName: str = None,4537 LicenseSpecifications: List[ImportImageLicenseConfigurationRequestTypeDef] = None,4538 TagSpecifications: List["TagSpecificationTypeDef"] = None,4539 ) -> ImportImageResultTypeDef:4540 """4541 [Client.import_image documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.import_image)4542 """4543 def import_instance(4544 self,4545 Platform: Literal["Windows"],4546 Description: str = None,4547 DiskImages: List[DiskImageTypeDef] = None,4548 DryRun: bool = None,4549 LaunchSpecification: ImportInstanceLaunchSpecificationTypeDef = None,4550 ) -> ImportInstanceResultTypeDef:4551 """4552 [Client.import_instance documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.import_instance)4553 """4554 def import_key_pair(4555 self,4556 KeyName: str,4557 PublicKeyMaterial: Union[bytes, IO[bytes]],4558 DryRun: bool = None,4559 TagSpecifications: List["TagSpecificationTypeDef"] = None,4560 ) -> ImportKeyPairResultTypeDef:4561 """4562 [Client.import_key_pair documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.import_key_pair)4563 """4564 def import_snapshot(4565 self,4566 ClientData: ClientDataTypeDef = None,4567 ClientToken: str = None,4568 Description: str = None,4569 DiskContainer: SnapshotDiskContainerTypeDef = None,4570 DryRun: bool = None,4571 Encrypted: bool = None,4572 KmsKeyId: str = None,4573 RoleName: str = None,4574 TagSpecifications: List["TagSpecificationTypeDef"] = None,4575 ) -> ImportSnapshotResultTypeDef:4576 """4577 [Client.import_snapshot documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.import_snapshot)4578 """4579 def import_volume(4580 self,4581 AvailabilityZone: str,4582 Image: "DiskImageDetailTypeDef",4583 Volume: "VolumeDetailTypeDef",4584 Description: str = None,4585 DryRun: bool = None,4586 ) -> ImportVolumeResultTypeDef:4587 """4588 [Client.import_volume documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.import_volume)4589 """4590 def modify_availability_zone_group(4591 self, GroupName: str, OptInStatus: Literal["opted-in", "not-opted-in"], DryRun: bool = None4592 ) -> ModifyAvailabilityZoneGroupResultTypeDef:4593 """4594 [Client.modify_availability_zone_group documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_availability_zone_group)4595 """4596 def modify_capacity_reservation(4597 self,4598 CapacityReservationId: str,4599 InstanceCount: int = None,4600 EndDate: datetime = None,4601 EndDateType: Literal["unlimited", "limited"] = None,4602 DryRun: bool = None,4603 ) -> ModifyCapacityReservationResultTypeDef:4604 """4605 [Client.modify_capacity_reservation documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_capacity_reservation)4606 """4607 def modify_client_vpn_endpoint(4608 self,4609 ClientVpnEndpointId: str,4610 ServerCertificateArn: str = None,4611 ConnectionLogOptions: ConnectionLogOptionsTypeDef = None,4612 DnsServers: DnsServersOptionsModifyStructureTypeDef = None,4613 VpnPort: int = None,4614 Description: str = None,4615 SplitTunnel: bool = None,4616 DryRun: bool = None,4617 SecurityGroupIds: List[str] = None,4618 VpcId: str = None,4619 ) -> ModifyClientVpnEndpointResultTypeDef:4620 """4621 [Client.modify_client_vpn_endpoint documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_client_vpn_endpoint)4622 """4623 def modify_default_credit_specification(4624 self, InstanceFamily: Literal["t2", "t3", "t3a"], CpuCredits: str, DryRun: bool = None4625 ) -> ModifyDefaultCreditSpecificationResultTypeDef:4626 """4627 [Client.modify_default_credit_specification documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_default_credit_specification)4628 """4629 def modify_ebs_default_kms_key_id(4630 self, KmsKeyId: str, DryRun: bool = None4631 ) -> ModifyEbsDefaultKmsKeyIdResultTypeDef:4632 """4633 [Client.modify_ebs_default_kms_key_id documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_ebs_default_kms_key_id)4634 """4635 def modify_fleet(4636 self,4637 FleetId: str,4638 TargetCapacitySpecification: TargetCapacitySpecificationRequestTypeDef,4639 DryRun: bool = None,4640 ExcessCapacityTerminationPolicy: Literal["no-termination", "termination"] = None,4641 ) -> ModifyFleetResultTypeDef:4642 """4643 [Client.modify_fleet documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_fleet)4644 """4645 def modify_fpga_image_attribute(4646 self,4647 FpgaImageId: str,4648 DryRun: bool = None,4649 Attribute: Literal["description", "name", "loadPermission", "productCodes"] = None,4650 OperationType: Literal["add", "remove"] = None,4651 UserIds: List[str] = None,4652 UserGroups: List[str] = None,4653 ProductCodes: List[str] = None,4654 LoadPermission: LoadPermissionModificationsTypeDef = None,4655 Description: str = None,4656 Name: str = None,4657 ) -> ModifyFpgaImageAttributeResultTypeDef:4658 """4659 [Client.modify_fpga_image_attribute documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_fpga_image_attribute)4660 """4661 def modify_hosts(4662 self,4663 HostIds: List[str],4664 AutoPlacement: Literal["on", "off"] = None,4665 HostRecovery: Literal["on", "off"] = None,4666 InstanceType: str = None,4667 InstanceFamily: str = None,4668 ) -> ModifyHostsResultTypeDef:4669 """4670 [Client.modify_hosts documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_hosts)4671 """4672 def modify_id_format(self, Resource: str, UseLongIds: bool) -> None:4673 """4674 [Client.modify_id_format documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_id_format)4675 """4676 def modify_identity_id_format(self, PrincipalArn: str, Resource: str, UseLongIds: bool) -> None:4677 """4678 [Client.modify_identity_id_format documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_identity_id_format)4679 """4680 def modify_image_attribute(4681 self,4682 ImageId: str,4683 Attribute: str = None,4684 Description: "AttributeValueTypeDef" = None,4685 LaunchPermission: LaunchPermissionModificationsTypeDef = None,4686 OperationType: Literal["add", "remove"] = None,4687 ProductCodes: List[str] = None,4688 UserGroups: List[str] = None,4689 UserIds: List[str] = None,4690 Value: str = None,4691 DryRun: bool = None,4692 ) -> None:4693 """4694 [Client.modify_image_attribute documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_image_attribute)4695 """4696 def modify_instance_attribute(4697 self,4698 InstanceId: str,4699 SourceDestCheck: "AttributeBooleanValueTypeDef" = None,4700 Attribute: Literal[4701 "instanceType",4702 "kernel",4703 "ramdisk",4704 "userData",4705 "disableApiTermination",4706 "instanceInitiatedShutdownBehavior",4707 "rootDeviceName",4708 "blockDeviceMapping",4709 "productCodes",4710 "sourceDestCheck",4711 "groupSet",4712 "ebsOptimized",4713 "sriovNetSupport",4714 "enaSupport",4715 ] = None,4716 BlockDeviceMappings: List[InstanceBlockDeviceMappingSpecificationTypeDef] = None,4717 DisableApiTermination: "AttributeBooleanValueTypeDef" = None,4718 DryRun: bool = None,4719 EbsOptimized: "AttributeBooleanValueTypeDef" = None,4720 EnaSupport: "AttributeBooleanValueTypeDef" = None,4721 Groups: List[str] = None,4722 InstanceInitiatedShutdownBehavior: "AttributeValueTypeDef" = None,4723 InstanceType: "AttributeValueTypeDef" = None,4724 Kernel: "AttributeValueTypeDef" = None,4725 Ramdisk: "AttributeValueTypeDef" = None,4726 SriovNetSupport: "AttributeValueTypeDef" = None,4727 UserData: BlobAttributeValueTypeDef = None,4728 Value: str = None,4729 ) -> None:4730 """4731 [Client.modify_instance_attribute documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_instance_attribute)4732 """4733 def modify_instance_capacity_reservation_attributes(4734 self,4735 InstanceId: str,4736 CapacityReservationSpecification: CapacityReservationSpecificationTypeDef,4737 DryRun: bool = None,4738 ) -> ModifyInstanceCapacityReservationAttributesResultTypeDef:4739 """4740 [Client.modify_instance_capacity_reservation_attributes documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_instance_capacity_reservation_attributes)4741 """4742 def modify_instance_credit_specification(4743 self,4744 InstanceCreditSpecifications: List[InstanceCreditSpecificationRequestTypeDef],4745 DryRun: bool = None,4746 ClientToken: str = None,4747 ) -> ModifyInstanceCreditSpecificationResultTypeDef:4748 """4749 [Client.modify_instance_credit_specification documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_instance_credit_specification)4750 """4751 def modify_instance_event_start_time(4752 self, InstanceId: str, InstanceEventId: str, NotBefore: datetime, DryRun: bool = None4753 ) -> ModifyInstanceEventStartTimeResultTypeDef:4754 """4755 [Client.modify_instance_event_start_time documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_instance_event_start_time)4756 """4757 def modify_instance_metadata_options(4758 self,4759 InstanceId: str,4760 HttpTokens: Literal["optional", "required"] = None,4761 HttpPutResponseHopLimit: int = None,4762 HttpEndpoint: Literal["disabled", "enabled"] = None,4763 DryRun: bool = None,4764 ) -> ModifyInstanceMetadataOptionsResultTypeDef:4765 """4766 [Client.modify_instance_metadata_options documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_instance_metadata_options)4767 """4768 def modify_instance_placement(4769 self,4770 InstanceId: str,4771 Affinity: Literal["default", "host"] = None,4772 GroupName: str = None,4773 HostId: str = None,4774 Tenancy: Literal["dedicated", "host"] = None,4775 PartitionNumber: int = None,4776 HostResourceGroupArn: str = None,4777 ) -> ModifyInstancePlacementResultTypeDef:4778 """4779 [Client.modify_instance_placement documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_instance_placement)4780 """4781 def modify_launch_template(4782 self,4783 DryRun: bool = None,4784 ClientToken: str = None,4785 LaunchTemplateId: str = None,4786 LaunchTemplateName: str = None,4787 DefaultVersion: str = None,4788 ) -> ModifyLaunchTemplateResultTypeDef:4789 """4790 [Client.modify_launch_template documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_launch_template)4791 """4792 def modify_managed_prefix_list(4793 self,4794 PrefixListId: str,4795 DryRun: bool = None,4796 CurrentVersion: int = None,4797 PrefixListName: str = None,4798 AddEntries: List[AddPrefixListEntryTypeDef] = None,4799 RemoveEntries: List[RemovePrefixListEntryTypeDef] = None,4800 ) -> ModifyManagedPrefixListResultTypeDef:4801 """4802 [Client.modify_managed_prefix_list documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_managed_prefix_list)4803 """4804 def modify_network_interface_attribute(4805 self,4806 NetworkInterfaceId: str,4807 Attachment: NetworkInterfaceAttachmentChangesTypeDef = None,4808 Description: "AttributeValueTypeDef" = None,4809 DryRun: bool = None,4810 Groups: List[str] = None,4811 SourceDestCheck: "AttributeBooleanValueTypeDef" = None,4812 ) -> None:4813 """4814 [Client.modify_network_interface_attribute documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_network_interface_attribute)4815 """4816 def modify_reserved_instances(4817 self,4818 ReservedInstancesIds: List[str],4819 TargetConfigurations: List["ReservedInstancesConfigurationTypeDef"],4820 ClientToken: str = None,4821 ) -> ModifyReservedInstancesResultTypeDef:4822 """4823 [Client.modify_reserved_instances documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_reserved_instances)4824 """4825 def modify_snapshot_attribute(4826 self,4827 SnapshotId: str,4828 Attribute: Literal["productCodes", "createVolumePermission"] = None,4829 CreateVolumePermission: CreateVolumePermissionModificationsTypeDef = None,4830 GroupNames: List[str] = None,4831 OperationType: Literal["add", "remove"] = None,4832 UserIds: List[str] = None,4833 DryRun: bool = None,4834 ) -> None:4835 """4836 [Client.modify_snapshot_attribute documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_snapshot_attribute)4837 """4838 def modify_spot_fleet_request(4839 self,4840 SpotFleetRequestId: str,4841 ExcessCapacityTerminationPolicy: Literal["noTermination", "default"] = None,4842 TargetCapacity: int = None,4843 OnDemandTargetCapacity: int = None,4844 ) -> ModifySpotFleetRequestResponseTypeDef:4845 """4846 [Client.modify_spot_fleet_request documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_spot_fleet_request)4847 """4848 def modify_subnet_attribute(4849 self,4850 SubnetId: str,4851 AssignIpv6AddressOnCreation: "AttributeBooleanValueTypeDef" = None,4852 MapPublicIpOnLaunch: "AttributeBooleanValueTypeDef" = None,4853 MapCustomerOwnedIpOnLaunch: "AttributeBooleanValueTypeDef" = None,4854 CustomerOwnedIpv4Pool: str = None,4855 ) -> None:4856 """4857 [Client.modify_subnet_attribute documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_subnet_attribute)4858 """4859 def modify_traffic_mirror_filter_network_services(4860 self,4861 TrafficMirrorFilterId: str,4862 AddNetworkServices: List[Literal["amazon-dns"]] = None,4863 RemoveNetworkServices: List[Literal["amazon-dns"]] = None,4864 DryRun: bool = None,4865 ) -> ModifyTrafficMirrorFilterNetworkServicesResultTypeDef:4866 """4867 [Client.modify_traffic_mirror_filter_network_services documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_traffic_mirror_filter_network_services)4868 """4869 def modify_traffic_mirror_filter_rule(4870 self,4871 TrafficMirrorFilterRuleId: str,4872 TrafficDirection: Literal["ingress", "egress"] = None,4873 RuleNumber: int = None,4874 RuleAction: Literal["accept", "reject"] = None,4875 DestinationPortRange: TrafficMirrorPortRangeRequestTypeDef = None,4876 SourcePortRange: TrafficMirrorPortRangeRequestTypeDef = None,4877 Protocol: int = None,4878 DestinationCidrBlock: str = None,4879 SourceCidrBlock: str = None,4880 Description: str = None,4881 RemoveFields: List[4882 Literal["destination-port-range", "source-port-range", "protocol", "description"]4883 ] = None,4884 DryRun: bool = None,4885 ) -> ModifyTrafficMirrorFilterRuleResultTypeDef:4886 """4887 [Client.modify_traffic_mirror_filter_rule documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_traffic_mirror_filter_rule)4888 """4889 def modify_traffic_mirror_session(4890 self,4891 TrafficMirrorSessionId: str,4892 TrafficMirrorTargetId: str = None,4893 TrafficMirrorFilterId: str = None,4894 PacketLength: int = None,4895 SessionNumber: int = None,4896 VirtualNetworkId: int = None,4897 Description: str = None,4898 RemoveFields: List[Literal["packet-length", "description", "virtual-network-id"]] = None,4899 DryRun: bool = None,4900 ) -> ModifyTrafficMirrorSessionResultTypeDef:4901 """4902 [Client.modify_traffic_mirror_session documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_traffic_mirror_session)4903 """4904 def modify_transit_gateway_vpc_attachment(4905 self,4906 TransitGatewayAttachmentId: str,4907 AddSubnetIds: List[str] = None,4908 RemoveSubnetIds: List[str] = None,4909 Options: ModifyTransitGatewayVpcAttachmentRequestOptionsTypeDef = None,4910 DryRun: bool = None,4911 ) -> ModifyTransitGatewayVpcAttachmentResultTypeDef:4912 """4913 [Client.modify_transit_gateway_vpc_attachment documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_transit_gateway_vpc_attachment)4914 """4915 def modify_volume(4916 self,4917 VolumeId: str,4918 DryRun: bool = None,4919 Size: int = None,4920 VolumeType: Literal["standard", "io1", "gp2", "sc1", "st1"] = None,4921 Iops: int = None,4922 ) -> ModifyVolumeResultTypeDef:4923 """4924 [Client.modify_volume documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_volume)4925 """4926 def modify_volume_attribute(4927 self,4928 VolumeId: str,4929 AutoEnableIO: "AttributeBooleanValueTypeDef" = None,4930 DryRun: bool = None,4931 ) -> None:4932 """4933 [Client.modify_volume_attribute documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_volume_attribute)4934 """4935 def modify_vpc_attribute(4936 self,4937 VpcId: str,4938 EnableDnsHostnames: "AttributeBooleanValueTypeDef" = None,4939 EnableDnsSupport: "AttributeBooleanValueTypeDef" = None,4940 ) -> None:4941 """4942 [Client.modify_vpc_attribute documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_vpc_attribute)4943 """4944 def modify_vpc_endpoint(4945 self,4946 VpcEndpointId: str,4947 DryRun: bool = None,4948 ResetPolicy: bool = None,4949 PolicyDocument: str = None,4950 AddRouteTableIds: List[str] = None,4951 RemoveRouteTableIds: List[str] = None,4952 AddSubnetIds: List[str] = None,4953 RemoveSubnetIds: List[str] = None,4954 AddSecurityGroupIds: List[str] = None,4955 RemoveSecurityGroupIds: List[str] = None,4956 PrivateDnsEnabled: bool = None,4957 ) -> ModifyVpcEndpointResultTypeDef:4958 """4959 [Client.modify_vpc_endpoint documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_vpc_endpoint)4960 """4961 def modify_vpc_endpoint_connection_notification(4962 self,4963 ConnectionNotificationId: str,4964 DryRun: bool = None,4965 ConnectionNotificationArn: str = None,4966 ConnectionEvents: List[str] = None,4967 ) -> ModifyVpcEndpointConnectionNotificationResultTypeDef:4968 """4969 [Client.modify_vpc_endpoint_connection_notification documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_vpc_endpoint_connection_notification)4970 """4971 def modify_vpc_endpoint_service_configuration(4972 self,4973 ServiceId: str,4974 DryRun: bool = None,4975 PrivateDnsName: str = None,4976 RemovePrivateDnsName: bool = None,4977 AcceptanceRequired: bool = None,4978 AddNetworkLoadBalancerArns: List[str] = None,4979 RemoveNetworkLoadBalancerArns: List[str] = None,4980 ) -> ModifyVpcEndpointServiceConfigurationResultTypeDef:4981 """4982 [Client.modify_vpc_endpoint_service_configuration documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_vpc_endpoint_service_configuration)4983 """4984 def modify_vpc_endpoint_service_permissions(4985 self,4986 ServiceId: str,4987 DryRun: bool = None,4988 AddAllowedPrincipals: List[str] = None,4989 RemoveAllowedPrincipals: List[str] = None,4990 ) -> ModifyVpcEndpointServicePermissionsResultTypeDef:4991 """4992 [Client.modify_vpc_endpoint_service_permissions documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_vpc_endpoint_service_permissions)4993 """4994 def modify_vpc_peering_connection_options(4995 self,4996 VpcPeeringConnectionId: str,4997 AccepterPeeringConnectionOptions: PeeringConnectionOptionsRequestTypeDef = None,4998 DryRun: bool = None,4999 RequesterPeeringConnectionOptions: PeeringConnectionOptionsRequestTypeDef = None,5000 ) -> ModifyVpcPeeringConnectionOptionsResultTypeDef:5001 """5002 [Client.modify_vpc_peering_connection_options documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_vpc_peering_connection_options)5003 """5004 def modify_vpc_tenancy(5005 self, VpcId: str, InstanceTenancy: Literal["default"], DryRun: bool = None5006 ) -> ModifyVpcTenancyResultTypeDef:5007 """5008 [Client.modify_vpc_tenancy documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_vpc_tenancy)5009 """5010 def modify_vpn_connection(5011 self,5012 VpnConnectionId: str,5013 TransitGatewayId: str = None,5014 CustomerGatewayId: str = None,5015 VpnGatewayId: str = None,5016 DryRun: bool = None,5017 ) -> ModifyVpnConnectionResultTypeDef:5018 """5019 [Client.modify_vpn_connection documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_vpn_connection)5020 """5021 def modify_vpn_tunnel_certificate(5022 self, VpnConnectionId: str, VpnTunnelOutsideIpAddress: str, DryRun: bool = None5023 ) -> ModifyVpnTunnelCertificateResultTypeDef:5024 """5025 [Client.modify_vpn_tunnel_certificate documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_vpn_tunnel_certificate)5026 """5027 def modify_vpn_tunnel_options(5028 self,5029 VpnConnectionId: str,5030 VpnTunnelOutsideIpAddress: str,5031 TunnelOptions: ModifyVpnTunnelOptionsSpecificationTypeDef,5032 DryRun: bool = None,5033 ) -> ModifyVpnTunnelOptionsResultTypeDef:5034 """5035 [Client.modify_vpn_tunnel_options documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.modify_vpn_tunnel_options)5036 """5037 def monitor_instances(5038 self, InstanceIds: List[str], DryRun: bool = None5039 ) -> MonitorInstancesResultTypeDef:5040 """5041 [Client.monitor_instances documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.monitor_instances)5042 """5043 def move_address_to_vpc(5044 self, PublicIp: str, DryRun: bool = None5045 ) -> MoveAddressToVpcResultTypeDef:5046 """5047 [Client.move_address_to_vpc documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.move_address_to_vpc)5048 """5049 def provision_byoip_cidr(5050 self,5051 Cidr: str,5052 CidrAuthorizationContext: CidrAuthorizationContextTypeDef = None,5053 PubliclyAdvertisable: bool = None,5054 Description: str = None,5055 DryRun: bool = None,5056 PoolTagSpecifications: List["TagSpecificationTypeDef"] = None,5057 ) -> ProvisionByoipCidrResultTypeDef:5058 """5059 [Client.provision_byoip_cidr documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.provision_byoip_cidr)5060 """5061 def purchase_host_reservation(5062 self,5063 HostIdSet: List[str],5064 OfferingId: str,5065 ClientToken: str = None,5066 CurrencyCode: Literal["USD"] = None,5067 LimitPrice: str = None,5068 TagSpecifications: List["TagSpecificationTypeDef"] = None,5069 ) -> PurchaseHostReservationResultTypeDef:5070 """5071 [Client.purchase_host_reservation documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.purchase_host_reservation)5072 """5073 def purchase_reserved_instances_offering(5074 self,5075 InstanceCount: int,5076 ReservedInstancesOfferingId: str,5077 DryRun: bool = None,5078 LimitPrice: ReservedInstanceLimitPriceTypeDef = None,5079 PurchaseTime: datetime = None,5080 ) -> PurchaseReservedInstancesOfferingResultTypeDef:5081 """5082 [Client.purchase_reserved_instances_offering documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.purchase_reserved_instances_offering)5083 """5084 def purchase_scheduled_instances(5085 self,5086 PurchaseRequests: List[PurchaseRequestTypeDef],5087 ClientToken: str = None,5088 DryRun: bool = None,5089 ) -> PurchaseScheduledInstancesResultTypeDef:5090 """5091 [Client.purchase_scheduled_instances documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.purchase_scheduled_instances)5092 """5093 def reboot_instances(self, InstanceIds: List[str], DryRun: bool = None) -> None:5094 """5095 [Client.reboot_instances documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.reboot_instances)5096 """5097 def register_image(5098 self,5099 Name: str,5100 ImageLocation: str = None,5101 Architecture: Literal["i386", "x86_64", "arm64"] = None,5102 BlockDeviceMappings: List["BlockDeviceMappingTypeDef"] = None,5103 Description: str = None,5104 DryRun: bool = None,5105 EnaSupport: bool = None,5106 KernelId: str = None,5107 BillingProducts: List[str] = None,5108 RamdiskId: str = None,5109 RootDeviceName: str = None,5110 SriovNetSupport: str = None,5111 VirtualizationType: str = None,5112 ) -> RegisterImageResultTypeDef:5113 """5114 [Client.register_image documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.register_image)5115 """5116 def register_instance_event_notification_attributes(5117 self,5118 DryRun: bool = None,5119 InstanceTagAttribute: RegisterInstanceTagAttributeRequestTypeDef = None,5120 ) -> RegisterInstanceEventNotificationAttributesResultTypeDef:5121 """5122 [Client.register_instance_event_notification_attributes documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.register_instance_event_notification_attributes)5123 """5124 def register_transit_gateway_multicast_group_members(5125 self,5126 TransitGatewayMulticastDomainId: str = None,5127 GroupIpAddress: str = None,5128 NetworkInterfaceIds: List[str] = None,5129 DryRun: bool = None,5130 ) -> RegisterTransitGatewayMulticastGroupMembersResultTypeDef:5131 """5132 [Client.register_transit_gateway_multicast_group_members documentation](https://boto3.amazonaws.com/v1/documentation/api/1.14.47/reference/services/ec2.html#EC2.Client.register_transit_gateway_multicast_group_members)5133 """5134 def register_transit_gateway_multicast_group_sources(5135 self,5136 TransitGatewayMulticastDomainId: str = None,5137 GroupIpAddress: str = None,5138 NetworkInterfaceIds: List[str] = None,...
transit-gateway.py
Source:transit-gateway.py
...171 DryRun=False172 )173 return response174#register transit gateway multi-cast members175def register_transit_gateway_multicast_group_members(tgw_multicast_domain_id, group_address, network_interface3, network_interface4):176 client = boto3.client('ec2', region_name='us-east-1')177 response = client.register_transit_gateway_multicast_group_members(178 TransitGatewayMulticastDomainId = tgw_multicast_domain_id,179 GroupIpAddress = group_address,180 NetworkInterfaceIds = [181 network_interface3, network_interface4,182 ],183 DryRun = False184 )185 return response186#register transit gateway multi cast group sources187def register_transit_gateway_multicast_group_sources(tgw_multicast_domain_id, nic1id, group_address):188 client = boto3.client('ec2', region_name='us-east-1')189 response = client.register_transit_gateway_multicast_group_sources(190 TransitGatewayMulticastDomainId=tgw_multicast_domain_id,191 GroupIpAddress=group_address,192 NetworkInterfaceIds=[193 nic1id,194 ],195 DryRun=False196 )197 return response198#Delete transit gateway route table199def delete_transit_gateway_route_table(rtb_id):200 client = boto3.client('ec2', region_name='us-east-1')201 response = client.delete_transit_gateway_route_table(202 TransitGatewayRouteTableId=rtb_id,203 DryRun=False204 )205 return response206if __name__ == '__main__':207 action = sys.argv[1]208 if action == "apply":209 #Get values from python input when calling python and assign to variables using sys.argv210 vpc_id = sys.argv[2]211 subnet_id = sys.argv[3]212 processor1nic = sys.argv[4]213 processor2nic = sys.argv[5]214 processor3nic = sys.argv[6]215 #Create transit gateway216 tgw_response = create_transit_gateway()217 #Collect transit gateway id from response218 tgw_id = tgw_response['TransitGateway']['TransitGatewayId']219 time.sleep(120)220 #Create transit gateway attachment221 tgw_attachment_response = create_transit_gateway_vpc_attachment(tgw_id, vpc_id, subnet_id)222 #get tgw attachment id response223 tgw_attachment_id = tgw_attachment_response['TransitGatewayVpcAttachment']['TransitGatewayAttachmentId']224 time.sleep(90)225 #Create transit gateway route table and get response226 tgw_rt_response = create_transit_gateway_rt(tgw_id)227 #Get transit gateway route table id from the response228 tgw_rt_id = tgw_rt_response ['TransitGatewayRouteTable']['TransitGatewayRouteTableId']229 time.sleep(90)230 #associate transit gateway route table231 associate_transit_gateway_route_table(tgw_rt_id,tgw_attachment_id)232 time.sleep(60)233 #enable transit gateway route table propogation234 enable_transit_gateway_route_table_propagation(tgw_rt_id, tgw_attachment_id)235 time.sleep(30)236 #Create transit gateway route237 create_transit_gateway_route(tgw_rt_id, "10.123.112.0/24", tgw_attachment_id)238 time.sleep(60)239 #Create transit gateway multi cast domain240 tgw_multicast_domain_response = create_transit_gateway_multicast_domain(tgw_id)241 #Get transit gateway multi cast domain id242 tgw_multicast_domain_id = tgw_multicast_domain_response['TransitGatewayMulticastDomain']['TransitGatewayMulticastDomainId']243 time.sleep(90)244 #Associate transit gateway multi-cast domain245 associate_transit_gateway_multicast_domain(tgw_multicast_domain_id, tgw_attachment_id, subnet_id)246 time.sleep(60)247 #register transit gateway multicast group members 1248 register_transit_gateway_multicast_group_members(tgw_multicast_domain_id, "224.3.2.2", processor2nic, processor3nic)249 time.sleep(60)250 #register transit gateway multicast group members 2251 register_transit_gateway_multicast_group_members(tgw_multicast_domain_id, "224.3.2.3", processor2nic, processor3nic)252 time.sleep(60)253 #register transit gateway multicast group sources 1254 register_transit_gateway_multicast_group_sources(tgw_multicast_domain_id,processor1nic, "224.3.2.3")255 # register transit gateway multicast group sources 2256 register_transit_gateway_multicast_group_sources(tgw_multicast_domain_id, processor1nic, "224.3.2.2")257 if action == "destroy":258 #Get values from python input when calling python and assign to variables using sys.argv259 transit_gateway_multicast_domain_id = sys.argv[2]260 transit_gateway_attachment_id = sys.argv[3]261 transit_gateway_id = sys.argv[4]262 subnet_id = sys.argv[5]263 rtb_id = sys.argv[6]264 #Dissacotiate transit gate way multicast domain with subnet265 disassociate_transit_gateway_multicast_domain(transit_gateway_multicast_domain_id, transit_gateway_attachment_id, subnet_id)...
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.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!