create_network_insights_path
async
¶
create_network_insights_path(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
source_ip: Optional[IpAddress] = None,
destination_ip: Optional[IpAddress] = None,
source: Optional[NetworkInsightsResourceId] = None,
destination: Optional[NetworkInsightsResourceId] = None,
protocol: Optional[Protocol] = None,
destination_port: Optional[Port] = None,
tag_specifications: Optional[TagSpecificationList] = None,
dry_run: Optional[Boolean] = None,
client_token: Optional[String] = None,
filter_at_source: Optional[PathRequestFilter] = None,
filter_at_destination: Optional[PathRequestFilter] = None,
) -> CreateNetworkInsightsPathResult
Creates a path to analyze for reachability.
Reachability Analyzer enables you to analyze and debug network reachability between two resources in your virtual private cloud (VPC). For more information, see the Reachability Analyzer Guide.
Parameters:
-
source_ip(Optional[IpAddress], default:None) –The IP address of the source.
-
destination_ip(Optional[IpAddress], default:None) –The IP address of the destination.
-
source(Optional[NetworkInsightsResourceId], default:None) –The ID or ARN of the source. If the resource is in another account, you must specify an ARN.
-
destination(Optional[NetworkInsightsResourceId], default:None) –The ID or ARN of the destination. If the resource is in another account, you must specify an ARN.
-
protocol(Optional[Protocol], default:None) –The protocol.
-
destination_port(Optional[Port], default:None) –The destination port.
-
tag_specifications(Optional[TagSpecificationList], default:None) –The tags to add to the path.
-
dry_run(Optional[Boolean], default:None) –Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation. -
client_token(Optional[String], default:None) –Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
-
filter_at_source(Optional[PathRequestFilter], default:None) –Scopes the analysis to network paths that match specific filters at the source. If you specify this parameter, you can't specify the parameters for the source IP address or the destination port.
-
filter_at_destination(Optional[PathRequestFilter], default:None) –Scopes the analysis to network paths that match specific filters at the destination. If you specify this parameter, you can't specify the parameter for the destination IP address.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 | |