server_neighbors
Creates, updates, deletes, gets or lists a server_neighbors resource.
Overview
| Name | server_neighbors |
| Type | Resource |
| Id | aws.discovery.server_neighbors |
Fields
The following fields are returned by SELECT queries:
- list_server_neighbors
| Name | Datatype | Description |
|---|---|---|
known_dependency_count | integer (int64) | Count of distinct servers that are one hop away from the given server. |
neighbors | array | List of distinct servers that are one hop away from the given server. |
next_token | string | Token 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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_server_neighbors | select | region | Retrieves 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_server_neighbors
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
;