create_network_insights_path
¶
create_network_insights_path(
*,
config_overrides: Optional[EC2ClientConfig] = 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/ec2.py
11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 | |