Skip to content

EC2  >  Operations  >  create_network_insights_path

create_network_insights_path

Operation

create_network_insights_path async

create_network_insights_path(input: CreateNetworkInsightsPathInput, plugins: list[Plugin] | None = None) -> CreateNetworkInsightsPathOutput

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:

Name Type Description Default
input CreateNetworkInsightsPathInput

An instance of CreateNetworkInsightsPathInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
CreateNetworkInsightsPathOutput

An instance of CreateNetworkInsightsPathOutput.

Input

CreateNetworkInsightsPathInput dataclass

Bases: _SerdeShape

Dataclass for CreateNetworkInsightsPathInput structure.

Attributes

client_token class-attribute instance-attribute
client_token: str | None = ...

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

This field is autopopulated if not provided.

destination class-attribute instance-attribute
destination: str | None = ...

The ID or ARN of the destination. If the resource is in another account, you must specify an ARN.

destination_ip class-attribute instance-attribute
destination_ip: str | None = ...

The IP address of the destination.

destination_port class-attribute instance-attribute
destination_port: int | None = ...

The destination port.

dry_run class-attribute instance-attribute
dry_run: bool | 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 is UnauthorizedOperation.

filter_at_destination class-attribute instance-attribute
filter_at_destination: PathRequestFilter | 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.

filter_at_source class-attribute instance-attribute
filter_at_source: PathRequestFilter | 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.

protocol class-attribute instance-attribute
protocol: str | None = ...

The protocol.

source class-attribute instance-attribute
source: str | None = ...

The ID or ARN of the source. If the resource is in another account, you must specify an ARN.

source_ip class-attribute instance-attribute
source_ip: str | None = ...

The IP address of the source.

tag_specifications class-attribute instance-attribute
tag_specifications: list[TagSpecification] | None = ...

The tags to add to the path.

Output

CreateNetworkInsightsPathOutput dataclass

Bases: _SerdeShape

Dataclass for CreateNetworkInsightsPathOutput structure.

Attributes

network_insights_path class-attribute instance-attribute
network_insights_path: NetworkInsightsPath | None = ...

Information about the path.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.