Skip to main content

server_details

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

Overview

Nameserver_details
TypeResource
Idaws.migrationhubstrategy.server_details

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringID of the application as defined in Application Discovery Service. (pattern: <code>.\S.</code>)
namestringName of the application as defined in Application Discovery Service. (pattern: <code>.\S.</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_server_detailsselectserver_id, regionmaxResults, nextTokenRetrieves 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
server_idstringThe ID of the server.
maxResultsintegerThe maximum number of items to include in the response. The maximum value is 100.
nextTokenstringThe 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

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 }}'
;