get_app
(**kwargs)¶Retrieve information about the specified application.
See also: AWS API Documentation
Request Syntax
response = client.get_app(
appId='string'
)
{
'appSummary': {
'appId': 'string',
'importedAppId': 'string',
'name': 'string',
'description': 'string',
'status': 'CREATING'|'ACTIVE'|'UPDATING'|'DELETING'|'DELETED'|'DELETE_FAILED',
'statusMessage': 'string',
'replicationConfigurationStatus': 'NOT_CONFIGURED'|'CONFIGURED',
'replicationStatus': 'READY_FOR_CONFIGURATION'|'CONFIGURATION_IN_PROGRESS'|'CONFIGURATION_INVALID'|'READY_FOR_REPLICATION'|'VALIDATION_IN_PROGRESS'|'REPLICATION_PENDING'|'REPLICATION_IN_PROGRESS'|'REPLICATED'|'PARTIALLY_REPLICATED'|'DELTA_REPLICATION_IN_PROGRESS'|'DELTA_REPLICATED'|'DELTA_REPLICATION_FAILED'|'REPLICATION_FAILED'|'REPLICATION_STOPPING'|'REPLICATION_STOP_FAILED'|'REPLICATION_STOPPED',
'replicationStatusMessage': 'string',
'latestReplicationTime': datetime(2015, 1, 1),
'launchConfigurationStatus': 'NOT_CONFIGURED'|'CONFIGURED',
'launchStatus': 'READY_FOR_CONFIGURATION'|'CONFIGURATION_IN_PROGRESS'|'CONFIGURATION_INVALID'|'READY_FOR_LAUNCH'|'VALIDATION_IN_PROGRESS'|'LAUNCH_PENDING'|'LAUNCH_IN_PROGRESS'|'LAUNCHED'|'PARTIALLY_LAUNCHED'|'DELTA_LAUNCH_IN_PROGRESS'|'DELTA_LAUNCH_FAILED'|'LAUNCH_FAILED'|'TERMINATE_IN_PROGRESS'|'TERMINATE_FAILED'|'TERMINATED',
'launchStatusMessage': 'string',
'launchDetails': {
'latestLaunchTime': datetime(2015, 1, 1),
'stackName': 'string',
'stackId': 'string'
},
'creationTime': datetime(2015, 1, 1),
'lastModified': datetime(2015, 1, 1),
'roleName': 'string',
'totalServerGroups': 123,
'totalServers': 123
},
'serverGroups': [
{
'serverGroupId': 'string',
'name': 'string',
'serverList': [
{
'serverId': 'string',
'serverType': 'VIRTUAL_MACHINE',
'vmServer': {
'vmServerAddress': {
'vmManagerId': 'string',
'vmId': 'string'
},
'vmName': 'string',
'vmManagerName': 'string',
'vmManagerType': 'VSPHERE'|'SCVMM'|'HYPERV-MANAGER',
'vmPath': 'string'
},
'replicationJobId': 'string',
'replicationJobTerminated': True|False
},
]
},
],
'tags': [
{
'key': 'string',
'value': 'string'
},
]
}
Response Structure
Information about the application.
The unique ID of the application.
The ID of the application.
The name of the application.
The description of the application.
Status of the application.
A message related to the status of the application
Status of the replication configuration.
The replication status of the application.
A message related to the replication status of the application.
The timestamp of the application's most recent successful replication.
Status of the launch configuration.
The launch status of the application.
A message related to the launch status of the application.
Details about the latest launch of the application.
The latest time that this application was launched successfully.
The name of the latest stack launched for this application.
The ID of the latest stack launched for this application.
The creation time of the application.
The last modified time of the application.
The name of the service role in the customer's account used by Server Migration Service.
The number of server groups present in the application.
The number of servers present in the application.
The server groups that belong to the application.
Logical grouping of servers.
The ID of a server group.
The name of a server group.
The servers that belong to a server group.
Represents a server.
The ID of the server.
The type of server.
Information about the VM server.
The VM server location.
The ID of the VM manager.
The ID of the VM.
The name of the VM.
The name of the VM manager.
The type of VM management product.
The VM folder path in the vCenter Server virtual machine inventory tree.
The ID of the replication job.
Indicates whether the replication job is deleted or failed.
The tags associated with the application.
Key/value pair that can be assigned to an application.
The tag key.
The tag value.
Exceptions
SMS.Client.exceptions.UnauthorizedOperationException
SMS.Client.exceptions.InvalidParameterException
SMS.Client.exceptions.MissingRequiredParameterException
SMS.Client.exceptions.InternalError
SMS.Client.exceptions.OperationNotPermittedException