SMS / Client / get_app_validation_output

get_app_validation_output#

SMS.Client.get_app_validation_output(**kwargs)#

Retrieves output from validating an application.

See also: AWS API Documentation

Request Syntax

response = client.get_app_validation_output(
    appId='string'
)
Parameters:

appId (string) –

[REQUIRED]

The ID of the application.

Return type:

dict

Returns:

Response Syntax

{
    'validationOutputList': [
        {
            'validationId': 'string',
            'name': 'string',
            'status': 'READY_FOR_VALIDATION'|'PENDING'|'IN_PROGRESS'|'SUCCEEDED'|'FAILED',
            'statusMessage': 'string',
            'latestValidationTime': datetime(2015, 1, 1),
            'appValidationOutput': {
                'ssmOutput': {
                    's3Location': {
                        'bucket': 'string',
                        'key': 'string'
                    }
                }
            },
            'serverValidationOutput': {
                'server': {
                    '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
                }
            }
        },
    ]
}

Response Structure

  • (dict) –

    • validationOutputList (list) –

      The validation output.

      • (dict) –

        Contains validation output.

        • validationId (string) –

          The ID of the validation.

        • name (string) –

          The name of the validation.

        • status (string) –

          The status of the validation.

        • statusMessage (string) –

          The status message.

        • latestValidationTime (datetime) –

          The latest time that the validation was performed.

        • appValidationOutput (dict) –

          The output from validating an application.

          • ssmOutput (dict) –

            Output from using SSM to validate the application.

            • s3Location (dict) –

              Location of an Amazon S3 object.

              • bucket (string) –

                The Amazon S3 bucket name.

              • key (string) –

                The Amazon S3 bucket key.

        • serverValidationOutput (dict) –

          The output from validation an instance.

          • server (dict) –

            Represents a server.

            • serverId (string) –

              The ID of the server.

            • serverType (string) –

              The type of server.

            • vmServer (dict) –

              Information about the VM server.

              • vmServerAddress (dict) –

                The VM server location.

                • vmManagerId (string) –

                  The ID of the VM manager.

                • vmId (string) –

                  The ID of the VM.

              • vmName (string) –

                The name of the VM.

              • vmManagerName (string) –

                The name of the VM manager.

              • vmManagerType (string) –

                The type of VM management product.

              • vmPath (string) –

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

            • replicationJobId (string) –

              The ID of the replication job.

            • replicationJobTerminated (boolean) –

              Indicates whether the replication job is deleted or failed.

Exceptions

  • SMS.Client.exceptions.UnauthorizedOperationException

  • SMS.Client.exceptions.InvalidParameterException

  • SMS.Client.exceptions.MissingRequiredParameterException

  • SMS.Client.exceptions.InternalError

  • SMS.Client.exceptions.OperationNotPermittedException