Amazon Elastic Compute Cloud

2022/03/25 - Amazon Elastic Compute Cloud - 3 updated api methods

Changes  This is release adds support for Amazon VPC Reachability Analyzer to analyze path through a Transit Gateway.

DescribeNetworkInsightsAnalyses (updated) Link ΒΆ
Changes (response)
{'NetworkInsightsAnalyses': {'Explanations': {'TransitGateway': {'Arn': 'string',
                                                                 'Id': 'string',
                                                                 'Name': 'string'},
                                              'TransitGatewayAttachment': {'Arn': 'string',
                                                                           'Id': 'string',
                                                                           'Name': 'string'},
                                              'TransitGatewayRouteTable': {'Arn': 'string',
                                                                           'Id': 'string',
                                                                           'Name': 'string'},
                                              'TransitGatewayRouteTableRoute': {'AttachmentId': 'string',
                                                                                'DestinationCidr': 'string',
                                                                                'PrefixListId': 'string',
                                                                                'ResourceId': 'string',
                                                                                'ResourceType': 'string',
                                                                                'RouteOrigin': 'string',
                                                                                'State': 'string'}},
                             'ForwardPathComponents': {'AdditionalDetails': [{'AdditionalDetailType': 'string',
                                                                              'Component': {'Arn': 'string',
                                                                                            'Id': 'string',
                                                                                            'Name': 'string'}}],
                                                       'TransitGateway': {'Arn': 'string',
                                                                          'Id': 'string',
                                                                          'Name': 'string'},
                                                       'TransitGatewayRouteTableRoute': {'AttachmentId': 'string',
                                                                                         'DestinationCidr': 'string',
                                                                                         'PrefixListId': 'string',
                                                                                         'ResourceId': 'string',
                                                                                         'ResourceType': 'string',
                                                                                         'RouteOrigin': 'string',
                                                                                         'State': 'string'}},
                             'ReturnPathComponents': {'AdditionalDetails': [{'AdditionalDetailType': 'string',
                                                                             'Component': {'Arn': 'string',
                                                                                           'Id': 'string',
                                                                                           'Name': 'string'}}],
                                                      'TransitGateway': {'Arn': 'string',
                                                                         'Id': 'string',
                                                                         'Name': 'string'},
                                                      'TransitGatewayRouteTableRoute': {'AttachmentId': 'string',
                                                                                        'DestinationCidr': 'string',
                                                                                        'PrefixListId': 'string',
                                                                                        'ResourceId': 'string',
                                                                                        'ResourceType': 'string',
                                                                                        'RouteOrigin': 'string',
                                                                                        'State': 'string'}}}}

Describes one or more of your network insights analyses.

See also: AWS API Documentation

Request Syntax

client.describe_network_insights_analyses(
    NetworkInsightsAnalysisIds=[
        'string',
    ],
    NetworkInsightsPathId='string',
    AnalysisStartTime=datetime(2015, 1, 1),
    AnalysisEndTime=datetime(2015, 1, 1),
    Filters=[
        {
            'Name': 'string',
            'Values': [
                'string',
            ]
        },
    ],
    MaxResults=123,
    DryRun=True|False,
    NextToken='string'
)
type NetworkInsightsAnalysisIds

list

param NetworkInsightsAnalysisIds

The ID of the network insights analyses. You must specify either analysis IDs or a path ID.

  • (string) --

type NetworkInsightsPathId

string

param NetworkInsightsPathId

The ID of the path. You must specify either a path ID or analysis IDs.

type AnalysisStartTime

datetime

param AnalysisStartTime

The time when the network insights analyses started.

type AnalysisEndTime

datetime

param AnalysisEndTime

The time when the network insights analyses ended.

type Filters

list

param Filters

The filters. The following are the possible values:

  • PathFound - A Boolean value that indicates whether a feasible path is found.

  • Status - The status of the analysis (running | succeeded | failed).

  • (dict) --

    A filter name and value pair that is used to return a more specific list of results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.

    If you specify multiple filters, the filters are joined with an AND , and the request returns only results that match all of the specified filters.

    • Name (string) --

      The name of the filter. Filter names are case-sensitive.

    • Values (list) --

      The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR , and the request returns all results that match any of the specified values.

      • (string) --

type MaxResults

integer

param MaxResults

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

type DryRun

boolean

param DryRun

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 .

type NextToken

string

param NextToken

The token for the next page of results.

rtype

dict

returns

Response Syntax

{
    'NetworkInsightsAnalyses': [
        {
            'NetworkInsightsAnalysisId': 'string',
            'NetworkInsightsAnalysisArn': 'string',
            'NetworkInsightsPathId': 'string',
            'FilterInArns': [
                'string',
            ],
            'StartDate': datetime(2015, 1, 1),
            'Status': 'running'|'succeeded'|'failed',
            'StatusMessage': 'string',
            'WarningMessage': 'string',
            'NetworkPathFound': True|False,
            'ForwardPathComponents': [
                {
                    'SequenceNumber': 123,
                    'AclRule': {
                        'Cidr': 'string',
                        'Egress': True|False,
                        'PortRange': {
                            'From': 123,
                            'To': 123
                        },
                        'Protocol': 'string',
                        'RuleAction': 'string',
                        'RuleNumber': 123
                    },
                    'AttachedTo': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'Component': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'DestinationVpc': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'OutboundHeader': {
                        'DestinationAddresses': [
                            'string',
                        ],
                        'DestinationPortRanges': [
                            {
                                'From': 123,
                                'To': 123
                            },
                        ],
                        'Protocol': 'string',
                        'SourceAddresses': [
                            'string',
                        ],
                        'SourcePortRanges': [
                            {
                                'From': 123,
                                'To': 123
                            },
                        ]
                    },
                    'InboundHeader': {
                        'DestinationAddresses': [
                            'string',
                        ],
                        'DestinationPortRanges': [
                            {
                                'From': 123,
                                'To': 123
                            },
                        ],
                        'Protocol': 'string',
                        'SourceAddresses': [
                            'string',
                        ],
                        'SourcePortRanges': [
                            {
                                'From': 123,
                                'To': 123
                            },
                        ]
                    },
                    'RouteTableRoute': {
                        'DestinationCidr': 'string',
                        'DestinationPrefixListId': 'string',
                        'EgressOnlyInternetGatewayId': 'string',
                        'GatewayId': 'string',
                        'InstanceId': 'string',
                        'NatGatewayId': 'string',
                        'NetworkInterfaceId': 'string',
                        'Origin': 'string',
                        'TransitGatewayId': 'string',
                        'VpcPeeringConnectionId': 'string'
                    },
                    'SecurityGroupRule': {
                        'Cidr': 'string',
                        'Direction': 'string',
                        'SecurityGroupId': 'string',
                        'PortRange': {
                            'From': 123,
                            'To': 123
                        },
                        'PrefixListId': 'string',
                        'Protocol': 'string'
                    },
                    'SourceVpc': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'Subnet': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'Vpc': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'AdditionalDetails': [
                        {
                            'AdditionalDetailType': 'string',
                            'Component': {
                                'Id': 'string',
                                'Arn': 'string',
                                'Name': 'string'
                            }
                        },
                    ],
                    'TransitGateway': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'TransitGatewayRouteTableRoute': {
                        'DestinationCidr': 'string',
                        'State': 'string',
                        'RouteOrigin': 'string',
                        'PrefixListId': 'string',
                        'AttachmentId': 'string',
                        'ResourceId': 'string',
                        'ResourceType': 'string'
                    }
                },
            ],
            'ReturnPathComponents': [
                {
                    'SequenceNumber': 123,
                    'AclRule': {
                        'Cidr': 'string',
                        'Egress': True|False,
                        'PortRange': {
                            'From': 123,
                            'To': 123
                        },
                        'Protocol': 'string',
                        'RuleAction': 'string',
                        'RuleNumber': 123
                    },
                    'AttachedTo': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'Component': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'DestinationVpc': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'OutboundHeader': {
                        'DestinationAddresses': [
                            'string',
                        ],
                        'DestinationPortRanges': [
                            {
                                'From': 123,
                                'To': 123
                            },
                        ],
                        'Protocol': 'string',
                        'SourceAddresses': [
                            'string',
                        ],
                        'SourcePortRanges': [
                            {
                                'From': 123,
                                'To': 123
                            },
                        ]
                    },
                    'InboundHeader': {
                        'DestinationAddresses': [
                            'string',
                        ],
                        'DestinationPortRanges': [
                            {
                                'From': 123,
                                'To': 123
                            },
                        ],
                        'Protocol': 'string',
                        'SourceAddresses': [
                            'string',
                        ],
                        'SourcePortRanges': [
                            {
                                'From': 123,
                                'To': 123
                            },
                        ]
                    },
                    'RouteTableRoute': {
                        'DestinationCidr': 'string',
                        'DestinationPrefixListId': 'string',
                        'EgressOnlyInternetGatewayId': 'string',
                        'GatewayId': 'string',
                        'InstanceId': 'string',
                        'NatGatewayId': 'string',
                        'NetworkInterfaceId': 'string',
                        'Origin': 'string',
                        'TransitGatewayId': 'string',
                        'VpcPeeringConnectionId': 'string'
                    },
                    'SecurityGroupRule': {
                        'Cidr': 'string',
                        'Direction': 'string',
                        'SecurityGroupId': 'string',
                        'PortRange': {
                            'From': 123,
                            'To': 123
                        },
                        'PrefixListId': 'string',
                        'Protocol': 'string'
                    },
                    'SourceVpc': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'Subnet': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'Vpc': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'AdditionalDetails': [
                        {
                            'AdditionalDetailType': 'string',
                            'Component': {
                                'Id': 'string',
                                'Arn': 'string',
                                'Name': 'string'
                            }
                        },
                    ],
                    'TransitGateway': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'TransitGatewayRouteTableRoute': {
                        'DestinationCidr': 'string',
                        'State': 'string',
                        'RouteOrigin': 'string',
                        'PrefixListId': 'string',
                        'AttachmentId': 'string',
                        'ResourceId': 'string',
                        'ResourceType': 'string'
                    }
                },
            ],
            'Explanations': [
                {
                    'Acl': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'AclRule': {
                        'Cidr': 'string',
                        'Egress': True|False,
                        'PortRange': {
                            'From': 123,
                            'To': 123
                        },
                        'Protocol': 'string',
                        'RuleAction': 'string',
                        'RuleNumber': 123
                    },
                    'Address': 'string',
                    'Addresses': [
                        'string',
                    ],
                    'AttachedTo': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'AvailabilityZones': [
                        'string',
                    ],
                    'Cidrs': [
                        'string',
                    ],
                    'Component': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'CustomerGateway': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'Destination': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'DestinationVpc': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'Direction': 'string',
                    'ExplanationCode': 'string',
                    'IngressRouteTable': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'InternetGateway': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'LoadBalancerArn': 'string',
                    'ClassicLoadBalancerListener': {
                        'LoadBalancerPort': 123,
                        'InstancePort': 123
                    },
                    'LoadBalancerListenerPort': 123,
                    'LoadBalancerTarget': {
                        'Address': 'string',
                        'AvailabilityZone': 'string',
                        'Instance': {
                            'Id': 'string',
                            'Arn': 'string',
                            'Name': 'string'
                        },
                        'Port': 123
                    },
                    'LoadBalancerTargetGroup': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'LoadBalancerTargetGroups': [
                        {
                            'Id': 'string',
                            'Arn': 'string',
                            'Name': 'string'
                        },
                    ],
                    'LoadBalancerTargetPort': 123,
                    'ElasticLoadBalancerListener': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'MissingComponent': 'string',
                    'NatGateway': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'NetworkInterface': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'PacketField': 'string',
                    'VpcPeeringConnection': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'Port': 123,
                    'PortRanges': [
                        {
                            'From': 123,
                            'To': 123
                        },
                    ],
                    'PrefixList': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'Protocols': [
                        'string',
                    ],
                    'RouteTableRoute': {
                        'DestinationCidr': 'string',
                        'DestinationPrefixListId': 'string',
                        'EgressOnlyInternetGatewayId': 'string',
                        'GatewayId': 'string',
                        'InstanceId': 'string',
                        'NatGatewayId': 'string',
                        'NetworkInterfaceId': 'string',
                        'Origin': 'string',
                        'TransitGatewayId': 'string',
                        'VpcPeeringConnectionId': 'string'
                    },
                    'RouteTable': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'SecurityGroup': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'SecurityGroupRule': {
                        'Cidr': 'string',
                        'Direction': 'string',
                        'SecurityGroupId': 'string',
                        'PortRange': {
                            'From': 123,
                            'To': 123
                        },
                        'PrefixListId': 'string',
                        'Protocol': 'string'
                    },
                    'SecurityGroups': [
                        {
                            'Id': 'string',
                            'Arn': 'string',
                            'Name': 'string'
                        },
                    ],
                    'SourceVpc': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'State': 'string',
                    'Subnet': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'SubnetRouteTable': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'Vpc': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'VpcEndpoint': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'VpnConnection': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'VpnGateway': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'TransitGateway': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'TransitGatewayRouteTable': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'TransitGatewayRouteTableRoute': {
                        'DestinationCidr': 'string',
                        'State': 'string',
                        'RouteOrigin': 'string',
                        'PrefixListId': 'string',
                        'AttachmentId': 'string',
                        'ResourceId': 'string',
                        'ResourceType': 'string'
                    },
                    'TransitGatewayAttachment': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    }
                },
            ],
            'AlternatePathHints': [
                {
                    'ComponentId': 'string',
                    'ComponentArn': 'string'
                },
            ],
            'Tags': [
                {
                    'Key': 'string',
                    'Value': 'string'
                },
            ]
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • NetworkInsightsAnalyses (list) --

      Information about the network insights analyses.

      • (dict) --

        Describes a network insights analysis.

        • NetworkInsightsAnalysisId (string) --

          The ID of the network insights analysis.

        • NetworkInsightsAnalysisArn (string) --

          The Amazon Resource Name (ARN) of the network insights analysis.

        • NetworkInsightsPathId (string) --

          The ID of the path.

        • FilterInArns (list) --

          The Amazon Resource Names (ARN) of the Amazon Web Services resources that the path must traverse.

          • (string) --

        • StartDate (datetime) --

          The time the analysis started.

        • Status (string) --

          The status of the network insights analysis.

        • StatusMessage (string) --

          The status message, if the status is failed .

        • WarningMessage (string) --

          The warning message.

        • NetworkPathFound (boolean) --

          Indicates whether the destination is reachable from the source.

        • ForwardPathComponents (list) --

          The components in the path from source to destination.

          • (dict) --

            Describes a path component.

            • SequenceNumber (integer) --

              The sequence number.

            • AclRule (dict) --

              The network ACL rule.

              • Cidr (string) --

                The IPv4 address range, in CIDR notation.

              • Egress (boolean) --

                Indicates whether the rule is an outbound rule.

              • PortRange (dict) --

                The range of ports.

                • From (integer) --

                  The first port in the range.

                • To (integer) --

                  The last port in the range.

              • Protocol (string) --

                The protocol.

              • RuleAction (string) --

                Indicates whether to allow or deny traffic that matches the rule.

              • RuleNumber (integer) --

                The rule number.

            • AttachedTo (dict) --

              The resource to which the path component is attached.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • Component (dict) --

              The component.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • DestinationVpc (dict) --

              The destination VPC.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • OutboundHeader (dict) --

              The outbound header.

              • DestinationAddresses (list) --

                The destination addresses.

                • (string) --

              • DestinationPortRanges (list) --

                The destination port ranges.

                • (dict) --

                  Describes a range of ports.

                  • From (integer) --

                    The first port in the range.

                  • To (integer) --

                    The last port in the range.

              • Protocol (string) --

                The protocol.

              • SourceAddresses (list) --

                The source addresses.

                • (string) --

              • SourcePortRanges (list) --

                The source port ranges.

                • (dict) --

                  Describes a range of ports.

                  • From (integer) --

                    The first port in the range.

                  • To (integer) --

                    The last port in the range.

            • InboundHeader (dict) --

              The inbound header.

              • DestinationAddresses (list) --

                The destination addresses.

                • (string) --

              • DestinationPortRanges (list) --

                The destination port ranges.

                • (dict) --

                  Describes a range of ports.

                  • From (integer) --

                    The first port in the range.

                  • To (integer) --

                    The last port in the range.

              • Protocol (string) --

                The protocol.

              • SourceAddresses (list) --

                The source addresses.

                • (string) --

              • SourcePortRanges (list) --

                The source port ranges.

                • (dict) --

                  Describes a range of ports.

                  • From (integer) --

                    The first port in the range.

                  • To (integer) --

                    The last port in the range.

            • RouteTableRoute (dict) --

              The route table route.

              • DestinationCidr (string) --

                The destination IPv4 address, in CIDR notation.

              • DestinationPrefixListId (string) --

                The prefix of the Amazon Web Service.

              • EgressOnlyInternetGatewayId (string) --

                The ID of an egress-only internet gateway.

              • GatewayId (string) --

                The ID of the gateway, such as an internet gateway or virtual private gateway.

              • InstanceId (string) --

                The ID of the instance, such as a NAT instance.

              • NatGatewayId (string) --

                The ID of a NAT gateway.

              • NetworkInterfaceId (string) --

                The ID of a network interface.

              • Origin (string) --

                Describes how the route was created. The following are the possible values:

                • CreateRouteTable - The route was automatically created when the route table was created.

                • CreateRoute - The route was manually added to the route table.

                • EnableVgwRoutePropagation - The route was propagated by route propagation.

              • TransitGatewayId (string) --

                The ID of a transit gateway.

              • VpcPeeringConnectionId (string) --

                The ID of a VPC peering connection.

            • SecurityGroupRule (dict) --

              The security group rule.

              • Cidr (string) --

                The IPv4 address range, in CIDR notation.

              • Direction (string) --

                The direction. The following are the possible values:

                • egress

                • ingress

              • SecurityGroupId (string) --

                The security group ID.

              • PortRange (dict) --

                The port range.

                • From (integer) --

                  The first port in the range.

                • To (integer) --

                  The last port in the range.

              • PrefixListId (string) --

                The prefix list ID.

              • Protocol (string) --

                The protocol name.

            • SourceVpc (dict) --

              The source VPC.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • Subnet (dict) --

              The subnet.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • Vpc (dict) --

              The component VPC.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • AdditionalDetails (list) --

              The additional details.

              • (dict) --

                Describes an additional detail for a path analysis.

                • AdditionalDetailType (string) --

                  The information type.

                • Component (dict) --

                  The path component.

                  • Id (string) --

                    The ID of the component.

                  • Arn (string) --

                    The Amazon Resource Name (ARN) of the component.

                  • Name (string) --

                    The name of the analysis component.

            • TransitGateway (dict) --

              Describes a path component.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • TransitGatewayRouteTableRoute (dict) --

              The route in a transit gateway route table.

              • DestinationCidr (string) --

                The CIDR block used for destination matches.

              • State (string) --

                The state of the route.

              • RouteOrigin (string) --

                The route origin. The following are the possible values:

                • static

                • propagated

              • PrefixListId (string) --

                The ID of the prefix list.

              • AttachmentId (string) --

                The ID of the route attachment.

              • ResourceId (string) --

                The ID of the resource for the route attachment.

              • ResourceType (string) --

                The resource type for the route attachment.

        • ReturnPathComponents (list) --

          The components in the path from destination to source.

          • (dict) --

            Describes a path component.

            • SequenceNumber (integer) --

              The sequence number.

            • AclRule (dict) --

              The network ACL rule.

              • Cidr (string) --

                The IPv4 address range, in CIDR notation.

              • Egress (boolean) --

                Indicates whether the rule is an outbound rule.

              • PortRange (dict) --

                The range of ports.

                • From (integer) --

                  The first port in the range.

                • To (integer) --

                  The last port in the range.

              • Protocol (string) --

                The protocol.

              • RuleAction (string) --

                Indicates whether to allow or deny traffic that matches the rule.

              • RuleNumber (integer) --

                The rule number.

            • AttachedTo (dict) --

              The resource to which the path component is attached.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • Component (dict) --

              The component.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • DestinationVpc (dict) --

              The destination VPC.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • OutboundHeader (dict) --

              The outbound header.

              • DestinationAddresses (list) --

                The destination addresses.

                • (string) --

              • DestinationPortRanges (list) --

                The destination port ranges.

                • (dict) --

                  Describes a range of ports.

                  • From (integer) --

                    The first port in the range.

                  • To (integer) --

                    The last port in the range.

              • Protocol (string) --

                The protocol.

              • SourceAddresses (list) --

                The source addresses.

                • (string) --

              • SourcePortRanges (list) --

                The source port ranges.

                • (dict) --

                  Describes a range of ports.

                  • From (integer) --

                    The first port in the range.

                  • To (integer) --

                    The last port in the range.

            • InboundHeader (dict) --

              The inbound header.

              • DestinationAddresses (list) --

                The destination addresses.

                • (string) --

              • DestinationPortRanges (list) --

                The destination port ranges.

                • (dict) --

                  Describes a range of ports.

                  • From (integer) --

                    The first port in the range.

                  • To (integer) --

                    The last port in the range.

              • Protocol (string) --

                The protocol.

              • SourceAddresses (list) --

                The source addresses.

                • (string) --

              • SourcePortRanges (list) --

                The source port ranges.

                • (dict) --

                  Describes a range of ports.

                  • From (integer) --

                    The first port in the range.

                  • To (integer) --

                    The last port in the range.

            • RouteTableRoute (dict) --

              The route table route.

              • DestinationCidr (string) --

                The destination IPv4 address, in CIDR notation.

              • DestinationPrefixListId (string) --

                The prefix of the Amazon Web Service.

              • EgressOnlyInternetGatewayId (string) --

                The ID of an egress-only internet gateway.

              • GatewayId (string) --

                The ID of the gateway, such as an internet gateway or virtual private gateway.

              • InstanceId (string) --

                The ID of the instance, such as a NAT instance.

              • NatGatewayId (string) --

                The ID of a NAT gateway.

              • NetworkInterfaceId (string) --

                The ID of a network interface.

              • Origin (string) --

                Describes how the route was created. The following are the possible values:

                • CreateRouteTable - The route was automatically created when the route table was created.

                • CreateRoute - The route was manually added to the route table.

                • EnableVgwRoutePropagation - The route was propagated by route propagation.

              • TransitGatewayId (string) --

                The ID of a transit gateway.

              • VpcPeeringConnectionId (string) --

                The ID of a VPC peering connection.

            • SecurityGroupRule (dict) --

              The security group rule.

              • Cidr (string) --

                The IPv4 address range, in CIDR notation.

              • Direction (string) --

                The direction. The following are the possible values:

                • egress

                • ingress

              • SecurityGroupId (string) --

                The security group ID.

              • PortRange (dict) --

                The port range.

                • From (integer) --

                  The first port in the range.

                • To (integer) --

                  The last port in the range.

              • PrefixListId (string) --

                The prefix list ID.

              • Protocol (string) --

                The protocol name.

            • SourceVpc (dict) --

              The source VPC.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • Subnet (dict) --

              The subnet.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • Vpc (dict) --

              The component VPC.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • AdditionalDetails (list) --

              The additional details.

              • (dict) --

                Describes an additional detail for a path analysis.

                • AdditionalDetailType (string) --

                  The information type.

                • Component (dict) --

                  The path component.

                  • Id (string) --

                    The ID of the component.

                  • Arn (string) --

                    The Amazon Resource Name (ARN) of the component.

                  • Name (string) --

                    The name of the analysis component.

            • TransitGateway (dict) --

              Describes a path component.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • TransitGatewayRouteTableRoute (dict) --

              The route in a transit gateway route table.

              • DestinationCidr (string) --

                The CIDR block used for destination matches.

              • State (string) --

                The state of the route.

              • RouteOrigin (string) --

                The route origin. The following are the possible values:

                • static

                • propagated

              • PrefixListId (string) --

                The ID of the prefix list.

              • AttachmentId (string) --

                The ID of the route attachment.

              • ResourceId (string) --

                The ID of the resource for the route attachment.

              • ResourceType (string) --

                The resource type for the route attachment.

        • Explanations (list) --

          The explanations. For more information, see Reachability Analyzer explanation codes.

          • (dict) --

            Describes an explanation code for an unreachable path. For more information, see Reachability Analyzer explanation codes.

            • Acl (dict) --

              The network ACL.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • AclRule (dict) --

              The network ACL rule.

              • Cidr (string) --

                The IPv4 address range, in CIDR notation.

              • Egress (boolean) --

                Indicates whether the rule is an outbound rule.

              • PortRange (dict) --

                The range of ports.

                • From (integer) --

                  The first port in the range.

                • To (integer) --

                  The last port in the range.

              • Protocol (string) --

                The protocol.

              • RuleAction (string) --

                Indicates whether to allow or deny traffic that matches the rule.

              • RuleNumber (integer) --

                The rule number.

            • Address (string) --

              The IPv4 address, in CIDR notation.

            • Addresses (list) --

              The IPv4 addresses, in CIDR notation.

              • (string) --

            • AttachedTo (dict) --

              The resource to which the component is attached.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • AvailabilityZones (list) --

              The Availability Zones.

              • (string) --

            • Cidrs (list) --

              The CIDR ranges.

              • (string) --

            • Component (dict) --

              The component.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • CustomerGateway (dict) --

              The customer gateway.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • Destination (dict) --

              The destination.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • DestinationVpc (dict) --

              The destination VPC.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • Direction (string) --

              The direction. The following are the possible values:

              • egress

              • ingress

            • ExplanationCode (string) --

              The explanation code.

            • IngressRouteTable (dict) --

              The route table.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • InternetGateway (dict) --

              The internet gateway.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • LoadBalancerArn (string) --

              The Amazon Resource Name (ARN) of the load balancer.

            • ClassicLoadBalancerListener (dict) --

              The listener for a Classic Load Balancer.

              • LoadBalancerPort (integer) --

                The port on which the load balancer is listening.

              • InstancePort (integer) --

                [Classic Load Balancers] The back-end port for the listener.

            • LoadBalancerListenerPort (integer) --

              The listener port of the load balancer.

            • LoadBalancerTarget (dict) --

              The target.

              • Address (string) --

                The IP address.

              • AvailabilityZone (string) --

                The Availability Zone.

              • Instance (dict) --

                Information about the instance.

                • Id (string) --

                  The ID of the component.

                • Arn (string) --

                  The Amazon Resource Name (ARN) of the component.

                • Name (string) --

                  The name of the analysis component.

              • Port (integer) --

                The port on which the target is listening.

            • LoadBalancerTargetGroup (dict) --

              The target group.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • LoadBalancerTargetGroups (list) --

              The target groups.

              • (dict) --

                Describes a path component.

                • Id (string) --

                  The ID of the component.

                • Arn (string) --

                  The Amazon Resource Name (ARN) of the component.

                • Name (string) --

                  The name of the analysis component.

            • LoadBalancerTargetPort (integer) --

              The target port.

            • ElasticLoadBalancerListener (dict) --

              The load balancer listener.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • MissingComponent (string) --

              The missing component.

            • NatGateway (dict) --

              The NAT gateway.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • NetworkInterface (dict) --

              The network interface.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • PacketField (string) --

              The packet field.

            • VpcPeeringConnection (dict) --

              The VPC peering connection.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • Port (integer) --

              The port.

            • PortRanges (list) --

              The port ranges.

              • (dict) --

                Describes a range of ports.

                • From (integer) --

                  The first port in the range.

                • To (integer) --

                  The last port in the range.

            • PrefixList (dict) --

              The prefix list.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • Protocols (list) --

              The protocols.

              • (string) --

            • RouteTableRoute (dict) --

              The route table route.

              • DestinationCidr (string) --

                The destination IPv4 address, in CIDR notation.

              • DestinationPrefixListId (string) --

                The prefix of the Amazon Web Service.

              • EgressOnlyInternetGatewayId (string) --

                The ID of an egress-only internet gateway.

              • GatewayId (string) --

                The ID of the gateway, such as an internet gateway or virtual private gateway.

              • InstanceId (string) --

                The ID of the instance, such as a NAT instance.

              • NatGatewayId (string) --

                The ID of a NAT gateway.

              • NetworkInterfaceId (string) --

                The ID of a network interface.

              • Origin (string) --

                Describes how the route was created. The following are the possible values:

                • CreateRouteTable - The route was automatically created when the route table was created.

                • CreateRoute - The route was manually added to the route table.

                • EnableVgwRoutePropagation - The route was propagated by route propagation.

              • TransitGatewayId (string) --

                The ID of a transit gateway.

              • VpcPeeringConnectionId (string) --

                The ID of a VPC peering connection.

            • RouteTable (dict) --

              The route table.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • SecurityGroup (dict) --

              The security group.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • SecurityGroupRule (dict) --

              The security group rule.

              • Cidr (string) --

                The IPv4 address range, in CIDR notation.

              • Direction (string) --

                The direction. The following are the possible values:

                • egress

                • ingress

              • SecurityGroupId (string) --

                The security group ID.

              • PortRange (dict) --

                The port range.

                • From (integer) --

                  The first port in the range.

                • To (integer) --

                  The last port in the range.

              • PrefixListId (string) --

                The prefix list ID.

              • Protocol (string) --

                The protocol name.

            • SecurityGroups (list) --

              The security groups.

              • (dict) --

                Describes a path component.

                • Id (string) --

                  The ID of the component.

                • Arn (string) --

                  The Amazon Resource Name (ARN) of the component.

                • Name (string) --

                  The name of the analysis component.

            • SourceVpc (dict) --

              The source VPC.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • State (string) --

              The state.

            • Subnet (dict) --

              The subnet.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • SubnetRouteTable (dict) --

              The route table for the subnet.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • Vpc (dict) --

              The component VPC.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • VpcEndpoint (dict) --

              The VPC endpoint.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • VpnConnection (dict) --

              The VPN connection.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • VpnGateway (dict) --

              The VPN gateway.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • TransitGateway (dict) --

              The transit gateway.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • TransitGatewayRouteTable (dict) --

              The transit gateway route table.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • TransitGatewayRouteTableRoute (dict) --

              The transit gateway route table route.

              • DestinationCidr (string) --

                The CIDR block used for destination matches.

              • State (string) --

                The state of the route.

              • RouteOrigin (string) --

                The route origin. The following are the possible values:

                • static

                • propagated

              • PrefixListId (string) --

                The ID of the prefix list.

              • AttachmentId (string) --

                The ID of the route attachment.

              • ResourceId (string) --

                The ID of the resource for the route attachment.

              • ResourceType (string) --

                The resource type for the route attachment.

            • TransitGatewayAttachment (dict) --

              The transit gateway attachment.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

        • AlternatePathHints (list) --

          Potential intermediate components.

          • (dict) --

            Describes an potential intermediate component of a feasible path.

            • ComponentId (string) --

              The ID of the component.

            • ComponentArn (string) --

              The Amazon Resource Name (ARN) of the component.

        • Tags (list) --

          The tags.

          • (dict) --

            Describes a tag.

            • Key (string) --

              The key of the tag.

              Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws: .

            • Value (string) --

              The value of the tag.

              Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.

    • NextToken (string) --

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

GetNetworkInsightsAccessScopeAnalysisFindings (updated) Link ΒΆ
Changes (response)
{'AnalysisFindings': {'FindingComponents': {'AdditionalDetails': [{'AdditionalDetailType': 'string',
                                                                   'Component': {'Arn': 'string',
                                                                                 'Id': 'string',
                                                                                 'Name': 'string'}}],
                                            'TransitGateway': {'Arn': 'string',
                                                               'Id': 'string',
                                                               'Name': 'string'},
                                            'TransitGatewayRouteTableRoute': {'AttachmentId': 'string',
                                                                              'DestinationCidr': 'string',
                                                                              'PrefixListId': 'string',
                                                                              'ResourceId': 'string',
                                                                              'ResourceType': 'string',
                                                                              'RouteOrigin': 'string',
                                                                              'State': 'string'}}}}

Gets the findings for the specified Network Access Scope analysis.

See also: AWS API Documentation

Request Syntax

client.get_network_insights_access_scope_analysis_findings(
    NetworkInsightsAccessScopeAnalysisId='string',
    MaxResults=123,
    NextToken='string',
    DryRun=True|False
)
type NetworkInsightsAccessScopeAnalysisId

string

param NetworkInsightsAccessScopeAnalysisId

[REQUIRED]

The ID of the Network Access Scope analysis.

type MaxResults

integer

param MaxResults

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

type NextToken

string

param NextToken

The token for the next page of results.

type DryRun

boolean

param DryRun

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 .

rtype

dict

returns

Response Syntax

{
    'NetworkInsightsAccessScopeAnalysisId': 'string',
    'AnalysisStatus': 'running'|'succeeded'|'failed',
    'AnalysisFindings': [
        {
            'NetworkInsightsAccessScopeAnalysisId': 'string',
            'NetworkInsightsAccessScopeId': 'string',
            'FindingId': 'string',
            'FindingComponents': [
                {
                    'SequenceNumber': 123,
                    'AclRule': {
                        'Cidr': 'string',
                        'Egress': True|False,
                        'PortRange': {
                            'From': 123,
                            'To': 123
                        },
                        'Protocol': 'string',
                        'RuleAction': 'string',
                        'RuleNumber': 123
                    },
                    'AttachedTo': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'Component': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'DestinationVpc': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'OutboundHeader': {
                        'DestinationAddresses': [
                            'string',
                        ],
                        'DestinationPortRanges': [
                            {
                                'From': 123,
                                'To': 123
                            },
                        ],
                        'Protocol': 'string',
                        'SourceAddresses': [
                            'string',
                        ],
                        'SourcePortRanges': [
                            {
                                'From': 123,
                                'To': 123
                            },
                        ]
                    },
                    'InboundHeader': {
                        'DestinationAddresses': [
                            'string',
                        ],
                        'DestinationPortRanges': [
                            {
                                'From': 123,
                                'To': 123
                            },
                        ],
                        'Protocol': 'string',
                        'SourceAddresses': [
                            'string',
                        ],
                        'SourcePortRanges': [
                            {
                                'From': 123,
                                'To': 123
                            },
                        ]
                    },
                    'RouteTableRoute': {
                        'DestinationCidr': 'string',
                        'DestinationPrefixListId': 'string',
                        'EgressOnlyInternetGatewayId': 'string',
                        'GatewayId': 'string',
                        'InstanceId': 'string',
                        'NatGatewayId': 'string',
                        'NetworkInterfaceId': 'string',
                        'Origin': 'string',
                        'TransitGatewayId': 'string',
                        'VpcPeeringConnectionId': 'string'
                    },
                    'SecurityGroupRule': {
                        'Cidr': 'string',
                        'Direction': 'string',
                        'SecurityGroupId': 'string',
                        'PortRange': {
                            'From': 123,
                            'To': 123
                        },
                        'PrefixListId': 'string',
                        'Protocol': 'string'
                    },
                    'SourceVpc': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'Subnet': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'Vpc': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'AdditionalDetails': [
                        {
                            'AdditionalDetailType': 'string',
                            'Component': {
                                'Id': 'string',
                                'Arn': 'string',
                                'Name': 'string'
                            }
                        },
                    ],
                    'TransitGateway': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'TransitGatewayRouteTableRoute': {
                        'DestinationCidr': 'string',
                        'State': 'string',
                        'RouteOrigin': 'string',
                        'PrefixListId': 'string',
                        'AttachmentId': 'string',
                        'ResourceId': 'string',
                        'ResourceType': 'string'
                    }
                },
            ]
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • NetworkInsightsAccessScopeAnalysisId (string) --

      The ID of the Network Access Scope analysis.

    • AnalysisStatus (string) --

      The status of Network Access Scope Analysis.

    • AnalysisFindings (list) --

      The findings associated with Network Access Scope Analysis.

      • (dict) --

        Describes a finding for a Network Access Scope.

        • NetworkInsightsAccessScopeAnalysisId (string) --

          The ID of the Network Access Scope analysis.

        • NetworkInsightsAccessScopeId (string) --

          The ID of the Network Access Scope.

        • FindingId (string) --

          The ID of the finding.

        • FindingComponents (list) --

          The finding components.

          • (dict) --

            Describes a path component.

            • SequenceNumber (integer) --

              The sequence number.

            • AclRule (dict) --

              The network ACL rule.

              • Cidr (string) --

                The IPv4 address range, in CIDR notation.

              • Egress (boolean) --

                Indicates whether the rule is an outbound rule.

              • PortRange (dict) --

                The range of ports.

                • From (integer) --

                  The first port in the range.

                • To (integer) --

                  The last port in the range.

              • Protocol (string) --

                The protocol.

              • RuleAction (string) --

                Indicates whether to allow or deny traffic that matches the rule.

              • RuleNumber (integer) --

                The rule number.

            • AttachedTo (dict) --

              The resource to which the path component is attached.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • Component (dict) --

              The component.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • DestinationVpc (dict) --

              The destination VPC.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • OutboundHeader (dict) --

              The outbound header.

              • DestinationAddresses (list) --

                The destination addresses.

                • (string) --

              • DestinationPortRanges (list) --

                The destination port ranges.

                • (dict) --

                  Describes a range of ports.

                  • From (integer) --

                    The first port in the range.

                  • To (integer) --

                    The last port in the range.

              • Protocol (string) --

                The protocol.

              • SourceAddresses (list) --

                The source addresses.

                • (string) --

              • SourcePortRanges (list) --

                The source port ranges.

                • (dict) --

                  Describes a range of ports.

                  • From (integer) --

                    The first port in the range.

                  • To (integer) --

                    The last port in the range.

            • InboundHeader (dict) --

              The inbound header.

              • DestinationAddresses (list) --

                The destination addresses.

                • (string) --

              • DestinationPortRanges (list) --

                The destination port ranges.

                • (dict) --

                  Describes a range of ports.

                  • From (integer) --

                    The first port in the range.

                  • To (integer) --

                    The last port in the range.

              • Protocol (string) --

                The protocol.

              • SourceAddresses (list) --

                The source addresses.

                • (string) --

              • SourcePortRanges (list) --

                The source port ranges.

                • (dict) --

                  Describes a range of ports.

                  • From (integer) --

                    The first port in the range.

                  • To (integer) --

                    The last port in the range.

            • RouteTableRoute (dict) --

              The route table route.

              • DestinationCidr (string) --

                The destination IPv4 address, in CIDR notation.

              • DestinationPrefixListId (string) --

                The prefix of the Amazon Web Service.

              • EgressOnlyInternetGatewayId (string) --

                The ID of an egress-only internet gateway.

              • GatewayId (string) --

                The ID of the gateway, such as an internet gateway or virtual private gateway.

              • InstanceId (string) --

                The ID of the instance, such as a NAT instance.

              • NatGatewayId (string) --

                The ID of a NAT gateway.

              • NetworkInterfaceId (string) --

                The ID of a network interface.

              • Origin (string) --

                Describes how the route was created. The following are the possible values:

                • CreateRouteTable - The route was automatically created when the route table was created.

                • CreateRoute - The route was manually added to the route table.

                • EnableVgwRoutePropagation - The route was propagated by route propagation.

              • TransitGatewayId (string) --

                The ID of a transit gateway.

              • VpcPeeringConnectionId (string) --

                The ID of a VPC peering connection.

            • SecurityGroupRule (dict) --

              The security group rule.

              • Cidr (string) --

                The IPv4 address range, in CIDR notation.

              • Direction (string) --

                The direction. The following are the possible values:

                • egress

                • ingress

              • SecurityGroupId (string) --

                The security group ID.

              • PortRange (dict) --

                The port range.

                • From (integer) --

                  The first port in the range.

                • To (integer) --

                  The last port in the range.

              • PrefixListId (string) --

                The prefix list ID.

              • Protocol (string) --

                The protocol name.

            • SourceVpc (dict) --

              The source VPC.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • Subnet (dict) --

              The subnet.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • Vpc (dict) --

              The component VPC.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • AdditionalDetails (list) --

              The additional details.

              • (dict) --

                Describes an additional detail for a path analysis.

                • AdditionalDetailType (string) --

                  The information type.

                • Component (dict) --

                  The path component.

                  • Id (string) --

                    The ID of the component.

                  • Arn (string) --

                    The Amazon Resource Name (ARN) of the component.

                  • Name (string) --

                    The name of the analysis component.

            • TransitGateway (dict) --

              Describes a path component.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • TransitGatewayRouteTableRoute (dict) --

              The route in a transit gateway route table.

              • DestinationCidr (string) --

                The CIDR block used for destination matches.

              • State (string) --

                The state of the route.

              • RouteOrigin (string) --

                The route origin. The following are the possible values:

                • static

                • propagated

              • PrefixListId (string) --

                The ID of the prefix list.

              • AttachmentId (string) --

                The ID of the route attachment.

              • ResourceId (string) --

                The ID of the resource for the route attachment.

              • ResourceType (string) --

                The resource type for the route attachment.

    • NextToken (string) --

      The token to use to retrieve the next page of results. This value is null when there are no more results to return.

StartNetworkInsightsAnalysis (updated) Link ΒΆ
Changes (response)
{'NetworkInsightsAnalysis': {'Explanations': {'TransitGateway': {'Arn': 'string',
                                                                 'Id': 'string',
                                                                 'Name': 'string'},
                                              'TransitGatewayAttachment': {'Arn': 'string',
                                                                           'Id': 'string',
                                                                           'Name': 'string'},
                                              'TransitGatewayRouteTable': {'Arn': 'string',
                                                                           'Id': 'string',
                                                                           'Name': 'string'},
                                              'TransitGatewayRouteTableRoute': {'AttachmentId': 'string',
                                                                                'DestinationCidr': 'string',
                                                                                'PrefixListId': 'string',
                                                                                'ResourceId': 'string',
                                                                                'ResourceType': 'string',
                                                                                'RouteOrigin': 'string',
                                                                                'State': 'string'}},
                             'ForwardPathComponents': {'AdditionalDetails': [{'AdditionalDetailType': 'string',
                                                                              'Component': {'Arn': 'string',
                                                                                            'Id': 'string',
                                                                                            'Name': 'string'}}],
                                                       'TransitGateway': {'Arn': 'string',
                                                                          'Id': 'string',
                                                                          'Name': 'string'},
                                                       'TransitGatewayRouteTableRoute': {'AttachmentId': 'string',
                                                                                         'DestinationCidr': 'string',
                                                                                         'PrefixListId': 'string',
                                                                                         'ResourceId': 'string',
                                                                                         'ResourceType': 'string',
                                                                                         'RouteOrigin': 'string',
                                                                                         'State': 'string'}},
                             'ReturnPathComponents': {'AdditionalDetails': [{'AdditionalDetailType': 'string',
                                                                             'Component': {'Arn': 'string',
                                                                                           'Id': 'string',
                                                                                           'Name': 'string'}}],
                                                      'TransitGateway': {'Arn': 'string',
                                                                         'Id': 'string',
                                                                         'Name': 'string'},
                                                      'TransitGatewayRouteTableRoute': {'AttachmentId': 'string',
                                                                                        'DestinationCidr': 'string',
                                                                                        'PrefixListId': 'string',
                                                                                        'ResourceId': 'string',
                                                                                        'ResourceType': 'string',
                                                                                        'RouteOrigin': 'string',
                                                                                        'State': 'string'}}}}

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

See also: AWS API Documentation

Request Syntax

client.start_network_insights_analysis(
    NetworkInsightsPathId='string',
    FilterInArns=[
        'string',
    ],
    DryRun=True|False,
    TagSpecifications=[
        {
            'ResourceType': 'capacity-reservation'|'client-vpn-endpoint'|'customer-gateway'|'carrier-gateway'|'dedicated-host'|'dhcp-options'|'egress-only-internet-gateway'|'elastic-ip'|'elastic-gpu'|'export-image-task'|'export-instance-task'|'fleet'|'fpga-image'|'host-reservation'|'image'|'import-image-task'|'import-snapshot-task'|'instance'|'instance-event-window'|'internet-gateway'|'ipam'|'ipam-pool'|'ipam-scope'|'ipv4pool-ec2'|'ipv6pool-ec2'|'key-pair'|'launch-template'|'local-gateway'|'local-gateway-route-table'|'local-gateway-virtual-interface'|'local-gateway-virtual-interface-group'|'local-gateway-route-table-vpc-association'|'local-gateway-route-table-virtual-interface-group-association'|'natgateway'|'network-acl'|'network-interface'|'network-insights-analysis'|'network-insights-path'|'network-insights-access-scope'|'network-insights-access-scope-analysis'|'placement-group'|'prefix-list'|'replace-root-volume-task'|'reserved-instances'|'route-table'|'security-group'|'security-group-rule'|'snapshot'|'spot-fleet-request'|'spot-instances-request'|'subnet'|'subnet-cidr-reservation'|'traffic-mirror-filter'|'traffic-mirror-session'|'traffic-mirror-target'|'transit-gateway'|'transit-gateway-attachment'|'transit-gateway-connect-peer'|'transit-gateway-multicast-domain'|'transit-gateway-route-table'|'volume'|'vpc'|'vpc-endpoint'|'vpc-endpoint-service'|'vpc-peering-connection'|'vpn-connection'|'vpn-gateway'|'vpc-flow-log',
            'Tags': [
                {
                    'Key': 'string',
                    'Value': 'string'
                },
            ]
        },
    ],
    ClientToken='string'
)
type NetworkInsightsPathId

string

param NetworkInsightsPathId

[REQUIRED]

The ID of the path.

type FilterInArns

list

param FilterInArns

The Amazon Resource Names (ARN) of the resources that the path must traverse.

  • (string) --

type DryRun

boolean

param DryRun

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 .

type TagSpecifications

list

param TagSpecifications

The tags to apply.

  • (dict) --

    The tags to apply to a resource when the resource is being created.

    • ResourceType (string) --

      The type of resource to tag on creation.

    • Tags (list) --

      The tags to apply to the resource.

      • (dict) --

        Describes a tag.

        • Key (string) --

          The key of the tag.

          Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws: .

        • Value (string) --

          The value of the tag.

          Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.

type ClientToken

string

param ClientToken

[REQUIRED]

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.

rtype

dict

returns

Response Syntax

{
    'NetworkInsightsAnalysis': {
        'NetworkInsightsAnalysisId': 'string',
        'NetworkInsightsAnalysisArn': 'string',
        'NetworkInsightsPathId': 'string',
        'FilterInArns': [
            'string',
        ],
        'StartDate': datetime(2015, 1, 1),
        'Status': 'running'|'succeeded'|'failed',
        'StatusMessage': 'string',
        'WarningMessage': 'string',
        'NetworkPathFound': True|False,
        'ForwardPathComponents': [
            {
                'SequenceNumber': 123,
                'AclRule': {
                    'Cidr': 'string',
                    'Egress': True|False,
                    'PortRange': {
                        'From': 123,
                        'To': 123
                    },
                    'Protocol': 'string',
                    'RuleAction': 'string',
                    'RuleNumber': 123
                },
                'AttachedTo': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'Component': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'DestinationVpc': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'OutboundHeader': {
                    'DestinationAddresses': [
                        'string',
                    ],
                    'DestinationPortRanges': [
                        {
                            'From': 123,
                            'To': 123
                        },
                    ],
                    'Protocol': 'string',
                    'SourceAddresses': [
                        'string',
                    ],
                    'SourcePortRanges': [
                        {
                            'From': 123,
                            'To': 123
                        },
                    ]
                },
                'InboundHeader': {
                    'DestinationAddresses': [
                        'string',
                    ],
                    'DestinationPortRanges': [
                        {
                            'From': 123,
                            'To': 123
                        },
                    ],
                    'Protocol': 'string',
                    'SourceAddresses': [
                        'string',
                    ],
                    'SourcePortRanges': [
                        {
                            'From': 123,
                            'To': 123
                        },
                    ]
                },
                'RouteTableRoute': {
                    'DestinationCidr': 'string',
                    'DestinationPrefixListId': 'string',
                    'EgressOnlyInternetGatewayId': 'string',
                    'GatewayId': 'string',
                    'InstanceId': 'string',
                    'NatGatewayId': 'string',
                    'NetworkInterfaceId': 'string',
                    'Origin': 'string',
                    'TransitGatewayId': 'string',
                    'VpcPeeringConnectionId': 'string'
                },
                'SecurityGroupRule': {
                    'Cidr': 'string',
                    'Direction': 'string',
                    'SecurityGroupId': 'string',
                    'PortRange': {
                        'From': 123,
                        'To': 123
                    },
                    'PrefixListId': 'string',
                    'Protocol': 'string'
                },
                'SourceVpc': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'Subnet': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'Vpc': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'AdditionalDetails': [
                    {
                        'AdditionalDetailType': 'string',
                        'Component': {
                            'Id': 'string',
                            'Arn': 'string',
                            'Name': 'string'
                        }
                    },
                ],
                'TransitGateway': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'TransitGatewayRouteTableRoute': {
                    'DestinationCidr': 'string',
                    'State': 'string',
                    'RouteOrigin': 'string',
                    'PrefixListId': 'string',
                    'AttachmentId': 'string',
                    'ResourceId': 'string',
                    'ResourceType': 'string'
                }
            },
        ],
        'ReturnPathComponents': [
            {
                'SequenceNumber': 123,
                'AclRule': {
                    'Cidr': 'string',
                    'Egress': True|False,
                    'PortRange': {
                        'From': 123,
                        'To': 123
                    },
                    'Protocol': 'string',
                    'RuleAction': 'string',
                    'RuleNumber': 123
                },
                'AttachedTo': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'Component': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'DestinationVpc': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'OutboundHeader': {
                    'DestinationAddresses': [
                        'string',
                    ],
                    'DestinationPortRanges': [
                        {
                            'From': 123,
                            'To': 123
                        },
                    ],
                    'Protocol': 'string',
                    'SourceAddresses': [
                        'string',
                    ],
                    'SourcePortRanges': [
                        {
                            'From': 123,
                            'To': 123
                        },
                    ]
                },
                'InboundHeader': {
                    'DestinationAddresses': [
                        'string',
                    ],
                    'DestinationPortRanges': [
                        {
                            'From': 123,
                            'To': 123
                        },
                    ],
                    'Protocol': 'string',
                    'SourceAddresses': [
                        'string',
                    ],
                    'SourcePortRanges': [
                        {
                            'From': 123,
                            'To': 123
                        },
                    ]
                },
                'RouteTableRoute': {
                    'DestinationCidr': 'string',
                    'DestinationPrefixListId': 'string',
                    'EgressOnlyInternetGatewayId': 'string',
                    'GatewayId': 'string',
                    'InstanceId': 'string',
                    'NatGatewayId': 'string',
                    'NetworkInterfaceId': 'string',
                    'Origin': 'string',
                    'TransitGatewayId': 'string',
                    'VpcPeeringConnectionId': 'string'
                },
                'SecurityGroupRule': {
                    'Cidr': 'string',
                    'Direction': 'string',
                    'SecurityGroupId': 'string',
                    'PortRange': {
                        'From': 123,
                        'To': 123
                    },
                    'PrefixListId': 'string',
                    'Protocol': 'string'
                },
                'SourceVpc': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'Subnet': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'Vpc': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'AdditionalDetails': [
                    {
                        'AdditionalDetailType': 'string',
                        'Component': {
                            'Id': 'string',
                            'Arn': 'string',
                            'Name': 'string'
                        }
                    },
                ],
                'TransitGateway': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'TransitGatewayRouteTableRoute': {
                    'DestinationCidr': 'string',
                    'State': 'string',
                    'RouteOrigin': 'string',
                    'PrefixListId': 'string',
                    'AttachmentId': 'string',
                    'ResourceId': 'string',
                    'ResourceType': 'string'
                }
            },
        ],
        'Explanations': [
            {
                'Acl': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'AclRule': {
                    'Cidr': 'string',
                    'Egress': True|False,
                    'PortRange': {
                        'From': 123,
                        'To': 123
                    },
                    'Protocol': 'string',
                    'RuleAction': 'string',
                    'RuleNumber': 123
                },
                'Address': 'string',
                'Addresses': [
                    'string',
                ],
                'AttachedTo': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'AvailabilityZones': [
                    'string',
                ],
                'Cidrs': [
                    'string',
                ],
                'Component': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'CustomerGateway': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'Destination': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'DestinationVpc': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'Direction': 'string',
                'ExplanationCode': 'string',
                'IngressRouteTable': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'InternetGateway': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'LoadBalancerArn': 'string',
                'ClassicLoadBalancerListener': {
                    'LoadBalancerPort': 123,
                    'InstancePort': 123
                },
                'LoadBalancerListenerPort': 123,
                'LoadBalancerTarget': {
                    'Address': 'string',
                    'AvailabilityZone': 'string',
                    'Instance': {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                    'Port': 123
                },
                'LoadBalancerTargetGroup': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'LoadBalancerTargetGroups': [
                    {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                ],
                'LoadBalancerTargetPort': 123,
                'ElasticLoadBalancerListener': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'MissingComponent': 'string',
                'NatGateway': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'NetworkInterface': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'PacketField': 'string',
                'VpcPeeringConnection': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'Port': 123,
                'PortRanges': [
                    {
                        'From': 123,
                        'To': 123
                    },
                ],
                'PrefixList': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'Protocols': [
                    'string',
                ],
                'RouteTableRoute': {
                    'DestinationCidr': 'string',
                    'DestinationPrefixListId': 'string',
                    'EgressOnlyInternetGatewayId': 'string',
                    'GatewayId': 'string',
                    'InstanceId': 'string',
                    'NatGatewayId': 'string',
                    'NetworkInterfaceId': 'string',
                    'Origin': 'string',
                    'TransitGatewayId': 'string',
                    'VpcPeeringConnectionId': 'string'
                },
                'RouteTable': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'SecurityGroup': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'SecurityGroupRule': {
                    'Cidr': 'string',
                    'Direction': 'string',
                    'SecurityGroupId': 'string',
                    'PortRange': {
                        'From': 123,
                        'To': 123
                    },
                    'PrefixListId': 'string',
                    'Protocol': 'string'
                },
                'SecurityGroups': [
                    {
                        'Id': 'string',
                        'Arn': 'string',
                        'Name': 'string'
                    },
                ],
                'SourceVpc': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'State': 'string',
                'Subnet': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'SubnetRouteTable': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'Vpc': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'VpcEndpoint': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'VpnConnection': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'VpnGateway': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'TransitGateway': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'TransitGatewayRouteTable': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                },
                'TransitGatewayRouteTableRoute': {
                    'DestinationCidr': 'string',
                    'State': 'string',
                    'RouteOrigin': 'string',
                    'PrefixListId': 'string',
                    'AttachmentId': 'string',
                    'ResourceId': 'string',
                    'ResourceType': 'string'
                },
                'TransitGatewayAttachment': {
                    'Id': 'string',
                    'Arn': 'string',
                    'Name': 'string'
                }
            },
        ],
        'AlternatePathHints': [
            {
                'ComponentId': 'string',
                'ComponentArn': 'string'
            },
        ],
        'Tags': [
            {
                'Key': 'string',
                'Value': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) --

    • NetworkInsightsAnalysis (dict) --

      Information about the network insights analysis.

      • NetworkInsightsAnalysisId (string) --

        The ID of the network insights analysis.

      • NetworkInsightsAnalysisArn (string) --

        The Amazon Resource Name (ARN) of the network insights analysis.

      • NetworkInsightsPathId (string) --

        The ID of the path.

      • FilterInArns (list) --

        The Amazon Resource Names (ARN) of the Amazon Web Services resources that the path must traverse.

        • (string) --

      • StartDate (datetime) --

        The time the analysis started.

      • Status (string) --

        The status of the network insights analysis.

      • StatusMessage (string) --

        The status message, if the status is failed .

      • WarningMessage (string) --

        The warning message.

      • NetworkPathFound (boolean) --

        Indicates whether the destination is reachable from the source.

      • ForwardPathComponents (list) --

        The components in the path from source to destination.

        • (dict) --

          Describes a path component.

          • SequenceNumber (integer) --

            The sequence number.

          • AclRule (dict) --

            The network ACL rule.

            • Cidr (string) --

              The IPv4 address range, in CIDR notation.

            • Egress (boolean) --

              Indicates whether the rule is an outbound rule.

            • PortRange (dict) --

              The range of ports.

              • From (integer) --

                The first port in the range.

              • To (integer) --

                The last port in the range.

            • Protocol (string) --

              The protocol.

            • RuleAction (string) --

              Indicates whether to allow or deny traffic that matches the rule.

            • RuleNumber (integer) --

              The rule number.

          • AttachedTo (dict) --

            The resource to which the path component is attached.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • Component (dict) --

            The component.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • DestinationVpc (dict) --

            The destination VPC.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • OutboundHeader (dict) --

            The outbound header.

            • DestinationAddresses (list) --

              The destination addresses.

              • (string) --

            • DestinationPortRanges (list) --

              The destination port ranges.

              • (dict) --

                Describes a range of ports.

                • From (integer) --

                  The first port in the range.

                • To (integer) --

                  The last port in the range.

            • Protocol (string) --

              The protocol.

            • SourceAddresses (list) --

              The source addresses.

              • (string) --

            • SourcePortRanges (list) --

              The source port ranges.

              • (dict) --

                Describes a range of ports.

                • From (integer) --

                  The first port in the range.

                • To (integer) --

                  The last port in the range.

          • InboundHeader (dict) --

            The inbound header.

            • DestinationAddresses (list) --

              The destination addresses.

              • (string) --

            • DestinationPortRanges (list) --

              The destination port ranges.

              • (dict) --

                Describes a range of ports.

                • From (integer) --

                  The first port in the range.

                • To (integer) --

                  The last port in the range.

            • Protocol (string) --

              The protocol.

            • SourceAddresses (list) --

              The source addresses.

              • (string) --

            • SourcePortRanges (list) --

              The source port ranges.

              • (dict) --

                Describes a range of ports.

                • From (integer) --

                  The first port in the range.

                • To (integer) --

                  The last port in the range.

          • RouteTableRoute (dict) --

            The route table route.

            • DestinationCidr (string) --

              The destination IPv4 address, in CIDR notation.

            • DestinationPrefixListId (string) --

              The prefix of the Amazon Web Service.

            • EgressOnlyInternetGatewayId (string) --

              The ID of an egress-only internet gateway.

            • GatewayId (string) --

              The ID of the gateway, such as an internet gateway or virtual private gateway.

            • InstanceId (string) --

              The ID of the instance, such as a NAT instance.

            • NatGatewayId (string) --

              The ID of a NAT gateway.

            • NetworkInterfaceId (string) --

              The ID of a network interface.

            • Origin (string) --

              Describes how the route was created. The following are the possible values:

              • CreateRouteTable - The route was automatically created when the route table was created.

              • CreateRoute - The route was manually added to the route table.

              • EnableVgwRoutePropagation - The route was propagated by route propagation.

            • TransitGatewayId (string) --

              The ID of a transit gateway.

            • VpcPeeringConnectionId (string) --

              The ID of a VPC peering connection.

          • SecurityGroupRule (dict) --

            The security group rule.

            • Cidr (string) --

              The IPv4 address range, in CIDR notation.

            • Direction (string) --

              The direction. The following are the possible values:

              • egress

              • ingress

            • SecurityGroupId (string) --

              The security group ID.

            • PortRange (dict) --

              The port range.

              • From (integer) --

                The first port in the range.

              • To (integer) --

                The last port in the range.

            • PrefixListId (string) --

              The prefix list ID.

            • Protocol (string) --

              The protocol name.

          • SourceVpc (dict) --

            The source VPC.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • Subnet (dict) --

            The subnet.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • Vpc (dict) --

            The component VPC.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • AdditionalDetails (list) --

            The additional details.

            • (dict) --

              Describes an additional detail for a path analysis.

              • AdditionalDetailType (string) --

                The information type.

              • Component (dict) --

                The path component.

                • Id (string) --

                  The ID of the component.

                • Arn (string) --

                  The Amazon Resource Name (ARN) of the component.

                • Name (string) --

                  The name of the analysis component.

          • TransitGateway (dict) --

            Describes a path component.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • TransitGatewayRouteTableRoute (dict) --

            The route in a transit gateway route table.

            • DestinationCidr (string) --

              The CIDR block used for destination matches.

            • State (string) --

              The state of the route.

            • RouteOrigin (string) --

              The route origin. The following are the possible values:

              • static

              • propagated

            • PrefixListId (string) --

              The ID of the prefix list.

            • AttachmentId (string) --

              The ID of the route attachment.

            • ResourceId (string) --

              The ID of the resource for the route attachment.

            • ResourceType (string) --

              The resource type for the route attachment.

      • ReturnPathComponents (list) --

        The components in the path from destination to source.

        • (dict) --

          Describes a path component.

          • SequenceNumber (integer) --

            The sequence number.

          • AclRule (dict) --

            The network ACL rule.

            • Cidr (string) --

              The IPv4 address range, in CIDR notation.

            • Egress (boolean) --

              Indicates whether the rule is an outbound rule.

            • PortRange (dict) --

              The range of ports.

              • From (integer) --

                The first port in the range.

              • To (integer) --

                The last port in the range.

            • Protocol (string) --

              The protocol.

            • RuleAction (string) --

              Indicates whether to allow or deny traffic that matches the rule.

            • RuleNumber (integer) --

              The rule number.

          • AttachedTo (dict) --

            The resource to which the path component is attached.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • Component (dict) --

            The component.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • DestinationVpc (dict) --

            The destination VPC.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • OutboundHeader (dict) --

            The outbound header.

            • DestinationAddresses (list) --

              The destination addresses.

              • (string) --

            • DestinationPortRanges (list) --

              The destination port ranges.

              • (dict) --

                Describes a range of ports.

                • From (integer) --

                  The first port in the range.

                • To (integer) --

                  The last port in the range.

            • Protocol (string) --

              The protocol.

            • SourceAddresses (list) --

              The source addresses.

              • (string) --

            • SourcePortRanges (list) --

              The source port ranges.

              • (dict) --

                Describes a range of ports.

                • From (integer) --

                  The first port in the range.

                • To (integer) --

                  The last port in the range.

          • InboundHeader (dict) --

            The inbound header.

            • DestinationAddresses (list) --

              The destination addresses.

              • (string) --

            • DestinationPortRanges (list) --

              The destination port ranges.

              • (dict) --

                Describes a range of ports.

                • From (integer) --

                  The first port in the range.

                • To (integer) --

                  The last port in the range.

            • Protocol (string) --

              The protocol.

            • SourceAddresses (list) --

              The source addresses.

              • (string) --

            • SourcePortRanges (list) --

              The source port ranges.

              • (dict) --

                Describes a range of ports.

                • From (integer) --

                  The first port in the range.

                • To (integer) --

                  The last port in the range.

          • RouteTableRoute (dict) --

            The route table route.

            • DestinationCidr (string) --

              The destination IPv4 address, in CIDR notation.

            • DestinationPrefixListId (string) --

              The prefix of the Amazon Web Service.

            • EgressOnlyInternetGatewayId (string) --

              The ID of an egress-only internet gateway.

            • GatewayId (string) --

              The ID of the gateway, such as an internet gateway or virtual private gateway.

            • InstanceId (string) --

              The ID of the instance, such as a NAT instance.

            • NatGatewayId (string) --

              The ID of a NAT gateway.

            • NetworkInterfaceId (string) --

              The ID of a network interface.

            • Origin (string) --

              Describes how the route was created. The following are the possible values:

              • CreateRouteTable - The route was automatically created when the route table was created.

              • CreateRoute - The route was manually added to the route table.

              • EnableVgwRoutePropagation - The route was propagated by route propagation.

            • TransitGatewayId (string) --

              The ID of a transit gateway.

            • VpcPeeringConnectionId (string) --

              The ID of a VPC peering connection.

          • SecurityGroupRule (dict) --

            The security group rule.

            • Cidr (string) --

              The IPv4 address range, in CIDR notation.

            • Direction (string) --

              The direction. The following are the possible values:

              • egress

              • ingress

            • SecurityGroupId (string) --

              The security group ID.

            • PortRange (dict) --

              The port range.

              • From (integer) --

                The first port in the range.

              • To (integer) --

                The last port in the range.

            • PrefixListId (string) --

              The prefix list ID.

            • Protocol (string) --

              The protocol name.

          • SourceVpc (dict) --

            The source VPC.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • Subnet (dict) --

            The subnet.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • Vpc (dict) --

            The component VPC.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • AdditionalDetails (list) --

            The additional details.

            • (dict) --

              Describes an additional detail for a path analysis.

              • AdditionalDetailType (string) --

                The information type.

              • Component (dict) --

                The path component.

                • Id (string) --

                  The ID of the component.

                • Arn (string) --

                  The Amazon Resource Name (ARN) of the component.

                • Name (string) --

                  The name of the analysis component.

          • TransitGateway (dict) --

            Describes a path component.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • TransitGatewayRouteTableRoute (dict) --

            The route in a transit gateway route table.

            • DestinationCidr (string) --

              The CIDR block used for destination matches.

            • State (string) --

              The state of the route.

            • RouteOrigin (string) --

              The route origin. The following are the possible values:

              • static

              • propagated

            • PrefixListId (string) --

              The ID of the prefix list.

            • AttachmentId (string) --

              The ID of the route attachment.

            • ResourceId (string) --

              The ID of the resource for the route attachment.

            • ResourceType (string) --

              The resource type for the route attachment.

      • Explanations (list) --

        The explanations. For more information, see Reachability Analyzer explanation codes.

        • (dict) --

          Describes an explanation code for an unreachable path. For more information, see Reachability Analyzer explanation codes.

          • Acl (dict) --

            The network ACL.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • AclRule (dict) --

            The network ACL rule.

            • Cidr (string) --

              The IPv4 address range, in CIDR notation.

            • Egress (boolean) --

              Indicates whether the rule is an outbound rule.

            • PortRange (dict) --

              The range of ports.

              • From (integer) --

                The first port in the range.

              • To (integer) --

                The last port in the range.

            • Protocol (string) --

              The protocol.

            • RuleAction (string) --

              Indicates whether to allow or deny traffic that matches the rule.

            • RuleNumber (integer) --

              The rule number.

          • Address (string) --

            The IPv4 address, in CIDR notation.

          • Addresses (list) --

            The IPv4 addresses, in CIDR notation.

            • (string) --

          • AttachedTo (dict) --

            The resource to which the component is attached.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • AvailabilityZones (list) --

            The Availability Zones.

            • (string) --

          • Cidrs (list) --

            The CIDR ranges.

            • (string) --

          • Component (dict) --

            The component.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • CustomerGateway (dict) --

            The customer gateway.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • Destination (dict) --

            The destination.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • DestinationVpc (dict) --

            The destination VPC.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • Direction (string) --

            The direction. The following are the possible values:

            • egress

            • ingress

          • ExplanationCode (string) --

            The explanation code.

          • IngressRouteTable (dict) --

            The route table.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • InternetGateway (dict) --

            The internet gateway.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • LoadBalancerArn (string) --

            The Amazon Resource Name (ARN) of the load balancer.

          • ClassicLoadBalancerListener (dict) --

            The listener for a Classic Load Balancer.

            • LoadBalancerPort (integer) --

              The port on which the load balancer is listening.

            • InstancePort (integer) --

              [Classic Load Balancers] The back-end port for the listener.

          • LoadBalancerListenerPort (integer) --

            The listener port of the load balancer.

          • LoadBalancerTarget (dict) --

            The target.

            • Address (string) --

              The IP address.

            • AvailabilityZone (string) --

              The Availability Zone.

            • Instance (dict) --

              Information about the instance.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

            • Port (integer) --

              The port on which the target is listening.

          • LoadBalancerTargetGroup (dict) --

            The target group.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • LoadBalancerTargetGroups (list) --

            The target groups.

            • (dict) --

              Describes a path component.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

          • LoadBalancerTargetPort (integer) --

            The target port.

          • ElasticLoadBalancerListener (dict) --

            The load balancer listener.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • MissingComponent (string) --

            The missing component.

          • NatGateway (dict) --

            The NAT gateway.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • NetworkInterface (dict) --

            The network interface.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • PacketField (string) --

            The packet field.

          • VpcPeeringConnection (dict) --

            The VPC peering connection.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • Port (integer) --

            The port.

          • PortRanges (list) --

            The port ranges.

            • (dict) --

              Describes a range of ports.

              • From (integer) --

                The first port in the range.

              • To (integer) --

                The last port in the range.

          • PrefixList (dict) --

            The prefix list.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • Protocols (list) --

            The protocols.

            • (string) --

          • RouteTableRoute (dict) --

            The route table route.

            • DestinationCidr (string) --

              The destination IPv4 address, in CIDR notation.

            • DestinationPrefixListId (string) --

              The prefix of the Amazon Web Service.

            • EgressOnlyInternetGatewayId (string) --

              The ID of an egress-only internet gateway.

            • GatewayId (string) --

              The ID of the gateway, such as an internet gateway or virtual private gateway.

            • InstanceId (string) --

              The ID of the instance, such as a NAT instance.

            • NatGatewayId (string) --

              The ID of a NAT gateway.

            • NetworkInterfaceId (string) --

              The ID of a network interface.

            • Origin (string) --

              Describes how the route was created. The following are the possible values:

              • CreateRouteTable - The route was automatically created when the route table was created.

              • CreateRoute - The route was manually added to the route table.

              • EnableVgwRoutePropagation - The route was propagated by route propagation.

            • TransitGatewayId (string) --

              The ID of a transit gateway.

            • VpcPeeringConnectionId (string) --

              The ID of a VPC peering connection.

          • RouteTable (dict) --

            The route table.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • SecurityGroup (dict) --

            The security group.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • SecurityGroupRule (dict) --

            The security group rule.

            • Cidr (string) --

              The IPv4 address range, in CIDR notation.

            • Direction (string) --

              The direction. The following are the possible values:

              • egress

              • ingress

            • SecurityGroupId (string) --

              The security group ID.

            • PortRange (dict) --

              The port range.

              • From (integer) --

                The first port in the range.

              • To (integer) --

                The last port in the range.

            • PrefixListId (string) --

              The prefix list ID.

            • Protocol (string) --

              The protocol name.

          • SecurityGroups (list) --

            The security groups.

            • (dict) --

              Describes a path component.

              • Id (string) --

                The ID of the component.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the component.

              • Name (string) --

                The name of the analysis component.

          • SourceVpc (dict) --

            The source VPC.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • State (string) --

            The state.

          • Subnet (dict) --

            The subnet.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • SubnetRouteTable (dict) --

            The route table for the subnet.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • Vpc (dict) --

            The component VPC.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • VpcEndpoint (dict) --

            The VPC endpoint.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • VpnConnection (dict) --

            The VPN connection.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • VpnGateway (dict) --

            The VPN gateway.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • TransitGateway (dict) --

            The transit gateway.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • TransitGatewayRouteTable (dict) --

            The transit gateway route table.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

          • TransitGatewayRouteTableRoute (dict) --

            The transit gateway route table route.

            • DestinationCidr (string) --

              The CIDR block used for destination matches.

            • State (string) --

              The state of the route.

            • RouteOrigin (string) --

              The route origin. The following are the possible values:

              • static

              • propagated

            • PrefixListId (string) --

              The ID of the prefix list.

            • AttachmentId (string) --

              The ID of the route attachment.

            • ResourceId (string) --

              The ID of the resource for the route attachment.

            • ResourceType (string) --

              The resource type for the route attachment.

          • TransitGatewayAttachment (dict) --

            The transit gateway attachment.

            • Id (string) --

              The ID of the component.

            • Arn (string) --

              The Amazon Resource Name (ARN) of the component.

            • Name (string) --

              The name of the analysis component.

      • AlternatePathHints (list) --

        Potential intermediate components.

        • (dict) --

          Describes an potential intermediate component of a feasible path.

          • ComponentId (string) --

            The ID of the component.

          • ComponentArn (string) --

            The Amazon Resource Name (ARN) of the component.

      • Tags (list) --

        The tags.

        • (dict) --

          Describes a tag.

          • Key (string) --

            The key of the tag.

            Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws: .

          • Value (string) --

            The value of the tag.

            Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.