Skip to main content

network_insights_analyses

Creates, updates, deletes, gets or lists a network_insights_analyses resource.

Overview

Namenetwork_insights_analyses
TypeResource
Idaws.ec2.network_insights_analyses

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
additional_accountsstringThe member accounts that contain resources that the path can traverse.
alternate_path_hintsstringPotential intermediate components.
explanationsstringThe explanations. For more information, see Reachability Analyzer explanation codes.
filter_in_arnsstringThe Amazon Resource Names (ARN) of the resources that the path must traverse.
filter_out_arnsstringThe Amazon Resource Names (ARN) of the resources that the path must ignore.
forward_path_componentsstringThe components in the path from source to destination.
network_insights_analysis_arnstringThe Amazon Resource Name (ARN) of the network insights analysis.
network_insights_analysis_idstringThe ID of the network insights analysis.
network_insights_path_idstringThe ID of the path.
network_path_foundbooleanIndicates whether the destination is reachable from the source.
return_path_componentsstringThe components in the path from destination to source.
start_datestringThe time the analysis started.
statusstringThe status of the network insights analysis.
status_messagestringThe status message, if the status is failed.
suggested_accountsstringPotential intermediate accounts.
tagsstringThe tags.
warning_messagestringThe warning message.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_network_insights_analysesselectregionNetworkInsightsAnalysisId, NetworkInsightsPathId, AnalysisStartTime, AnalysisEndTime, Filter, MaxResults, DryRun, NextTokenDescribes one or more of your network insights analyses.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
AnalysisEndTimestring (date-time)The time when the network insights analyses ended.
AnalysisStartTimestring (date-time)The time when the network insights analyses started.
DryRunbooleanChecks 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.
FilterarrayThe filters. The following are the possible values: path-found - A Boolean value that indicates whether a feasible path is found. status - The status of the analysis (running | succeeded | failed).
MaxResultsintegerThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
NetworkInsightsAnalysisIdarrayThe ID of the network insights analyses. You must specify either analysis IDs or a path ID.
NetworkInsightsPathIdstringThe ID of the path. You must specify either a path ID or analysis IDs.
NextTokenstringThe token for the next page of results.

SELECT examples

Describes one or more of your network insights analyses.

SELECT
additional_accounts,
alternate_path_hints,
explanations,
filter_in_arns,
filter_out_arns,
forward_path_components,
network_insights_analysis_arn,
network_insights_analysis_id,
network_insights_path_id,
network_path_found,
return_path_components,
start_date,
status,
status_message,
suggested_accounts,
tags,
warning_message
FROM aws.ec2.network_insights_analyses
WHERE region = '{{ region }}' -- required
AND NetworkInsightsAnalysisId = '{{ NetworkInsightsAnalysisId }}'
AND NetworkInsightsPathId = '{{ NetworkInsightsPathId }}'
AND AnalysisStartTime = '{{ AnalysisStartTime }}'
AND AnalysisEndTime = '{{ AnalysisEndTime }}'
AND Filter = '{{ Filter }}'
AND MaxResults = '{{ MaxResults }}'
AND DryRun = '{{ DryRun }}'
AND NextToken = '{{ NextToken }}'
;