Skip to main content

server_neighbors

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

Overview

Nameserver_neighbors
TypeResource
Idaws.discovery.server_neighbors

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
known_dependency_countinteger (int64)Count of distinct servers that are one hop away from the given server.
neighborsarrayList of distinct servers that are one hop away from the given server.
next_tokenstringToken to retrieve the next set of results. For example, if you specified 100 IDs for ListServerNeighborsRequest$neighborConfigurationIds but set ListServerNeighborsRequest$maxResults to 10, you received a set of 10 results along with this token. Use this token in the next query to retrieve the next set of 10. (pattern: <code>[\s\S]*</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_server_neighborsselectregionRetrieves a list of servers that are one network hop away from a specified server.

Parameters

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

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Retrieves a list of servers that are one network hop away from a specified server.

SELECT
known_dependency_count,
neighbors,
next_token
FROM aws.discovery.server_neighbors
WHERE region = '{{ region }}' -- required
;