Skip to content

aws.migrationhubstrategy.list_servers

Example SQL Queries

SELECT * FROM
aws.migrationhubstrategy.list_servers;

Description

Returns a list of all the servers.

Table Definition

Column NameColumn Data Type
filter_value Input Column

Specifies the filter value, which is based on the type of server criteria. For example, if serverCriteria is OS_NAME, and the filterValue is equal to WindowsServer, then ListServers returns all of the servers matching the OS name WindowsServer.

VARCHAR
group_id_filter Input Column

Specifies the group ID to filter on.

STRUCT(
"name" VARCHAR,
"value" VARCHAR
)[]
Show child fields
group_id_filter[]
Show child fields
group_id_filter[].name

The key of the specific import group.

group_id_filter[].value

The value of the specific import group.

server_criteria Input Column

Criteria for filtering servers.

VARCHAR
sort Input Column

Specifies whether to sort by ascending (ASC) or descending (DESC) order.

VARCHAR
_aws_profile Input Column

The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role.

STRUCT(
"type" VARCHAR,
"name" VARCHAR,
"account_id" VARCHAR,
"via_profile_name" VARCHAR,
"assumed_role_arn" VARCHAR,
"organization" STRUCT(
"account_name" VARCHAR,
"id" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[],
"master_account" STRUCT(
"id" VARCHAR,
"email" VARCHAR
),
"parents" STRUCT(
"type" VARCHAR,
"id" VARCHAR,
"name" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[]
)[]
)
)
Show child fields
_aws_profile.account_id

The AWS account id

_aws_profile.assumed_role_arn

The ARN of the assumed role

_aws_profile.name

The unique name of the profile.

_aws_profile.organization

Information about this profile's membership in the AWS organization.

Show child fields
_aws_profile.organization.account_name

The name of account speciifed by the organization

_aws_profile.organization.id

The organization id

_aws_profile.organization.master_account
Show child fields
_aws_profile.organization.master_account.email

The organization master account email address

_aws_profile.organization.master_account.id

The organization master account id

_aws_profile.organization.parents[]
Show child fields
_aws_profile.organization.parents[].id

The id of the parent

_aws_profile.organization.parents[].name

The name of the parent

_aws_profile.organization.parents[].tags[]
Show child fields
_aws_profile.organization.parents[].tags[].key
_aws_profile.organization.parents[].tags[].value
_aws_profile.organization.parents[].type

The type of parent can be an organization unit or a root

_aws_profile.organization.tags[]
Show child fields
_aws_profile.organization.tags[].key
_aws_profile.organization.tags[].value
_aws_profile.type

The type of profile, either 'credentials' or 'assumed_role'

_aws_profile.via_profile_name

This IAM role for this profile is assumed by first utilizing another profile with this name to obtain credentials.

antipattern_report_s3_object

The S3 bucket name and Amazon S3 key name for anti-pattern report.

STRUCT(
"s3_bucket" VARCHAR,
"s3key" VARCHAR
)
Show child fields
antipattern_report_s3_object.s3_bucket

The S3 bucket name.

antipattern_report_s3_object.s3key

The Amazon S3 key name.

antipattern_report_status

The status of the anti-pattern report generation.

VARCHAR
antipattern_report_status_message

A message about the status of the anti-pattern report generation.

VARCHAR
application_component_strategy_summary

A list of strategy summaries.

STRUCT(
"count" BIGINT,
"strategy" VARCHAR
)[]
Show child fields
application_component_strategy_summary[]
Show child fields
application_component_strategy_summary[].count

The count of recommendations per strategy.

application_component_strategy_summary[].strategy

The name of recommended strategy.

data_collection_status

The status of assessment for the server.

VARCHAR
id

The server ID.

VARCHAR
last_analyzed_timestamp

The timestamp of when the server was assessed.

TIMESTAMP_S
list_antipattern_severity_summary

A list of anti-pattern severity summaries.

STRUCT(
"count" BIGINT,
"severity" VARCHAR
)[]
Show child fields
list_antipattern_severity_summary[]
Show child fields
list_antipattern_severity_summary[].count

Contains the count of anti-patterns.

list_antipattern_severity_summary[].severity

Contains the severity of anti-patterns.

name

The name of the server.

VARCHAR
recommendation_set

A set of recommendations.

STRUCT(
"strategy" VARCHAR,
"target_destination" VARCHAR,
"transformation_tool" STRUCT(
"description" VARCHAR,
"name" VARCHAR,
"tranformation_tool_installation_link" VARCHAR
)
)
Show child fields
recommendation_set.strategy

The recommended strategy.

recommendation_set.target_destination

The recommended target destination.

recommendation_set.transformation_tool

The target destination for the recommendation set.

Show child fields
recommendation_set.transformation_tool.description

Description of the tool.

recommendation_set.transformation_tool.name

Name of the tool.

recommendation_set.transformation_tool.tranformation_tool_installation_link

URL for installing the tool.

server_error

The error in server analysis.

STRUCT(
"server_error_category" VARCHAR
)
Show child fields
server_error.server_error_category

The error category of server analysis.

server_type

The type of server.

VARCHAR
status_message

A message about the status of data collection, which contains detailed descriptions of any error messages.

VARCHAR
system_info

System information about the server.

STRUCT(
"cpu_architecture" VARCHAR,
"file_system_type" VARCHAR,
"network_info_list" STRUCT(
"interface_name" VARCHAR,
"ip_address" VARCHAR,
"mac_address" VARCHAR,
"net_mask" VARCHAR
)[],
"os_info" STRUCT(
"type" VARCHAR,
"version" VARCHAR
)
)
Show child fields
system_info.cpu_architecture

CPU architecture type for the server.

system_info.file_system_type

File system type for the server.

system_info.network_info_list[]
Show child fields
system_info.network_info_list[].interface_name

Information about the name of the interface of the server for which the assessment was run.

system_info.network_info_list[].ip_address

Information about the IP address of the server for which the assessment was run.

system_info.network_info_list[].mac_address

Information about the MAC address of the server for which the assessment was run.

system_info.network_info_list[].net_mask

Information about the subnet mask of the server for which the assessment was run.

system_info.os_info

Operating system corresponding to a server.

Show child fields
system_info.os_info.type

Information about the type of operating system.

system_info.os_info.version

Information about the version of operating system.