Skip to main content

network_insights_analysis

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

Overview

Namenetwork_insights_analysis
TypeResource
Idaws.ec2.network_insights_analysis

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
delete_network_insights_analysisdeleteNetworkInsightsAnalysisId, regionDryRunDeletes the specified network insights analysis.
start_network_insights_analysisexecNetworkInsightsPathId, ClientToken, regionAdditionalAccount, FilterInArn, FilterOutArn, DryRun, TagSpecificationStarts analyzing the specified path. If the path is reachable, the operation returns the shortest feasible path.

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
ClientTokenstringUnique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
NetworkInsightsAnalysisIdstringThe ID of the network insights analysis.
NetworkInsightsPathIdstringThe ID of the path.
regionstringAWS region (default: us-east-1)
AdditionalAccountarrayThe member accounts that contain resources that the path can traverse.
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.
FilterInArnarrayThe Amazon Resource Names (ARN) of the resources that the path must traverse.
FilterOutArnarrayThe Amazon Resource Names (ARN) of the resources that the path will ignore.
TagSpecificationarrayThe tags to apply.

DELETE examples

Deletes the specified network insights analysis.

DELETE FROM aws.ec2.network_insights_analysis
WHERE NetworkInsightsAnalysisId = '{{ NetworkInsightsAnalysisId }}' --required
AND region = '{{ region }}' --required
AND DryRun = '{{ DryRun }}'
;

Lifecycle Methods

Starts analyzing the specified path. If the path is reachable, the operation returns the shortest feasible path.

EXEC aws.ec2.network_insights_analysis.start_network_insights_analysis
@NetworkInsightsPathId='{{ NetworkInsightsPathId }}' --required,
@ClientToken='{{ ClientToken }}' --required,
@region='{{ region }}' --required,
@AdditionalAccount='{{ AdditionalAccount }}',
@FilterInArn='{{ FilterInArn }}',
@FilterOutArn='{{ FilterOutArn }}',
@DryRun={{ DryRun }},
@TagSpecification='{{ TagSpecification }}'
;