Skip to content

List Service Network Service Associations

vpclattice_list_service_network_service_associations R Documentation

Lists the associations between a service network and a service

Description

Lists the associations between a service network and a service. You can filter the list either by service or service network. You must provide either the service network identifier or the service identifier.

Every association in Amazon VPC Lattice has a unique Amazon Resource Name (ARN), such as when a service network is associated with a VPC or when a service is associated with a service network. If the association is for a resource is shared with another account, the association includes the local account ID as the prefix in the ARN.

Usage

vpclattice_list_service_network_service_associations(maxResults,
  nextToken, serviceIdentifier, serviceNetworkIdentifier)

Arguments

maxResults

The maximum number of results to return.

nextToken

A pagination token for the next page of results.

serviceIdentifier

The ID or ARN of the service.

serviceNetworkIdentifier

The ID or ARN of the service network.

Value

A list with the following syntax:

list(
  items = list(
    list(
      arn = "string",
      createdAt = as.POSIXct(
        "2015-01-01"
      ),
      createdBy = "string",
      customDomainName = "string",
      dnsEntry = list(
        domainName = "string",
        hostedZoneId = "string"
      ),
      id = "string",
      serviceArn = "string",
      serviceId = "string",
      serviceName = "string",
      serviceNetworkArn = "string",
      serviceNetworkId = "string",
      serviceNetworkName = "string",
      status = "CREATE_IN_PROGRESS"|"ACTIVE"|"DELETE_IN_PROGRESS"|"CREATE_FAILED"|"DELETE_FAILED"
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_service_network_service_associations(
  maxResults = 123,
  nextToken = "string",
  serviceIdentifier = "string",
  serviceNetworkIdentifier = "string"
)