Skip to content

Get Network Insights Access Scope Content

ec2_get_network_insights_access_scope_content R Documentation

Gets the content for the specified Network Access Scope

Description

Gets the content for the specified Network Access Scope.

Usage

ec2_get_network_insights_access_scope_content(
  NetworkInsightsAccessScopeId, DryRun)

Arguments

NetworkInsightsAccessScopeId

[required] The ID of the Network Access Scope.

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.

Value

A list with the following syntax:

list(
  NetworkInsightsAccessScopeContent = list(
    NetworkInsightsAccessScopeId = "string",
    MatchPaths = list(
      list(
        Source = list(
          PacketHeaderStatement = list(
            SourceAddresses = list(
              "string"
            ),
            DestinationAddresses = list(
              "string"
            ),
            SourcePorts = list(
              "string"
            ),
            DestinationPorts = list(
              "string"
            ),
            SourcePrefixLists = list(
              "string"
            ),
            DestinationPrefixLists = list(
              "string"
            ),
            Protocols = list(
              "tcp"|"udp"
            )
          ),
          ResourceStatement = list(
            Resources = list(
              "string"
            ),
            ResourceTypes = list(
              "string"
            )
          )
        ),
        Destination = list(
          PacketHeaderStatement = list(
            SourceAddresses = list(
              "string"
            ),
            DestinationAddresses = list(
              "string"
            ),
            SourcePorts = list(
              "string"
            ),
            DestinationPorts = list(
              "string"
            ),
            SourcePrefixLists = list(
              "string"
            ),
            DestinationPrefixLists = list(
              "string"
            ),
            Protocols = list(
              "tcp"|"udp"
            )
          ),
          ResourceStatement = list(
            Resources = list(
              "string"
            ),
            ResourceTypes = list(
              "string"
            )
          )
        ),
        ThroughResources = list(
          list(
            ResourceStatement = list(
              Resources = list(
                "string"
              ),
              ResourceTypes = list(
                "string"
              )
            )
          )
        )
      )
    ),
    ExcludePaths = list(
      list(
        Source = list(
          PacketHeaderStatement = list(
            SourceAddresses = list(
              "string"
            ),
            DestinationAddresses = list(
              "string"
            ),
            SourcePorts = list(
              "string"
            ),
            DestinationPorts = list(
              "string"
            ),
            SourcePrefixLists = list(
              "string"
            ),
            DestinationPrefixLists = list(
              "string"
            ),
            Protocols = list(
              "tcp"|"udp"
            )
          ),
          ResourceStatement = list(
            Resources = list(
              "string"
            ),
            ResourceTypes = list(
              "string"
            )
          )
        ),
        Destination = list(
          PacketHeaderStatement = list(
            SourceAddresses = list(
              "string"
            ),
            DestinationAddresses = list(
              "string"
            ),
            SourcePorts = list(
              "string"
            ),
            DestinationPorts = list(
              "string"
            ),
            SourcePrefixLists = list(
              "string"
            ),
            DestinationPrefixLists = list(
              "string"
            ),
            Protocols = list(
              "tcp"|"udp"
            )
          ),
          ResourceStatement = list(
            Resources = list(
              "string"
            ),
            ResourceTypes = list(
              "string"
            )
          )
        ),
        ThroughResources = list(
          list(
            ResourceStatement = list(
              Resources = list(
                "string"
              ),
              ResourceTypes = list(
                "string"
              )
            )
          )
        )
      )
    )
  )
)

Request syntax

svc$get_network_insights_access_scope_content(
  NetworkInsightsAccessScopeId = "string",
  DryRun = TRUE|FALSE
)