server_details
Creates, updates, deletes, gets or lists a server_details resource.
Overview
| Name | server_details |
| Type | Resource |
| Id | aws.migrationhubstrategy.server_details |
Fields
The following fields are returned by SELECT queries:
- get_server_details
| Name | Datatype | Description |
|---|---|---|
id | string | ID of the application as defined in Application Discovery Service. (pattern: <code>.\S.</code>) |
name | string | Name of the application as defined in Application Discovery Service. (pattern: <code>.\S.</code>) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_server_details | select | server_id, region | maxResults, nextToken | Retrieves detailed information about 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) |
server_id | string | The ID of the server. |
maxResults | integer | The maximum number of items to include in the response. The maximum value is 100. |
nextToken | string | The token from a previous call that you use to retrieve the next set of results. For example, if a previous call to this action returned 100 items, but you set maxResults to 10. You'll receive a set of 10 results along with a token. You then use the returned token to retrieve the next set of 10. |
SELECT examples
- get_server_details
Retrieves detailed information about a specified server.
SELECT
id,
name
FROM aws.migrationhubstrategy.server_details
WHERE server_id = '{{ server_id }}' -- required
AND region = '{{ region }}' -- required
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;