Skip to content

aws.sms.get_app

Example SQL Queries

SELECT * FROM
aws.sms.get_app;

Description

Retrieve information about the specified application.

Table Definition

Column NameColumn Data Type
app_id Input Column

The ID of the application.

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.

_aws_region Input Column

The AWS region to use.

VARCHAR
app_summary

Information about the application.

STRUCT(
"app_id" VARCHAR,
"imported_app_id" VARCHAR,
"name" VARCHAR,
"description" VARCHAR,
"status" VARCHAR,
"status_message" VARCHAR,
"replication_configuration_status" VARCHAR,
"replication_status" VARCHAR,
"replication_status_message" VARCHAR,
"latest_replication_time" TIMESTAMP_S,
"launch_configuration_status" VARCHAR,
"launch_status" VARCHAR,
"launch_status_message" VARCHAR,
"launch_details" STRUCT(
"latest_launch_time" TIMESTAMP_S,
"stack_name" VARCHAR,
"stack_id" VARCHAR
),
"creation_time" TIMESTAMP_S,
"last_modified" TIMESTAMP_S,
"role_name" VARCHAR,
"total_server_groups" BIGINT,
"total_servers" BIGINT
)
Show child fields
app_summary.app_id

The unique ID of the application.

app_summary.creation_time

The creation time of the application.

app_summary.description

The description of the application.

app_summary.imported_app_id

The ID of the application.

app_summary.last_modified

The last modified time of the application.

app_summary.latest_replication_time

The timestamp of the application's most recent successful replication.

app_summary.launch_configuration_status

Status of the launch configuration.

app_summary.launch_details

Details about the latest launch of the application.

Show child fields
app_summary.launch_details.latest_launch_time

The latest time that this application was launched successfully.

app_summary.launch_details.stack_id

The ID of the latest stack launched for this application.

app_summary.launch_details.stack_name

The name of the latest stack launched for this application.

app_summary.launch_status

The launch status of the application.

app_summary.launch_status_message

A message related to the launch status of the application.

app_summary.name

The name of the application.

app_summary.replication_configuration_status

Status of the replication configuration.

app_summary.replication_status

The replication status of the application.

app_summary.replication_status_message

A message related to the replication status of the application.

app_summary.role_name

The name of the service role in the customer's account used by Server Migration Service.

app_summary.status

Status of the application.

app_summary.status_message

A message related to the status of the application

app_summary.total_server_groups

The number of server groups present in the application.

app_summary.total_servers

The number of servers present in the application.

server_groups

The server groups that belong to the application.

STRUCT(
"server_group_id" VARCHAR,
"name" VARCHAR,
"server_list" STRUCT(
"server_id" VARCHAR,
"server_type" VARCHAR,
"vm_server" STRUCT(
"vm_server_address" STRUCT(
"vm_manager_id" VARCHAR,
"vm_id" VARCHAR
),
"vm_name" VARCHAR,
"vm_manager_name" VARCHAR,
"vm_manager_type" VARCHAR,
"vm_path" VARCHAR
),
"replication_job_id" VARCHAR,
"replication_job_terminated" BOOLEAN
)[]
)[]
Show child fields
server_groups[]
Show child fields
server_groups[].name

The name of a server group.

server_groups[].server_group_id

The ID of a server group.

server_groups[].server_list[]
Show child fields
server_groups[].server_list[].replication_job_id

The ID of the replication job.

server_groups[].server_list[].replication_job_terminated

Indicates whether the replication job is deleted or failed.

server_groups[].server_list[].server_id

The ID of the server.

server_groups[].server_list[].server_type

The type of server.

server_groups[].server_list[].vm_server

Information about the VM server.

Show child fields
server_groups[].server_list[].vm_server.vm_manager_name

The name of the VM manager.

server_groups[].server_list[].vm_server.vm_manager_type

The type of VM management product.

server_groups[].server_list[].vm_server.vm_name

The name of the VM.

server_groups[].server_list[].vm_server.vm_path

The VM folder path in the vCenter Server virtual machine inventory tree.

server_groups[].server_list[].vm_server.vm_server_address

The VM server location.

Show child fields
server_groups[].server_list[].vm_server.vm_server_address.vm_id

The ID of the VM.

server_groups[].server_list[].vm_server.vm_server_address.vm_manager_id

The ID of the VM manager.

tags

The tags associated with the application.

STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[]
Show child fields
tags[]
Show child fields
tags[].key

The tag key.

tags[].value

The tag value.