LaunchWizard / Client / get_deployment

get_deployment#

LaunchWizard.Client.get_deployment(**kwargs)#

Returns information about the deployment.

See also: AWS API Documentation

Request Syntax

response = client.get_deployment(
    deploymentId='string'
)
Parameters:

deploymentId (string) –

[REQUIRED]

The ID of the deployment.

Return type:

dict

Returns:

Response Syntax

{
    'deployment': {
        'createdAt': datetime(2015, 1, 1),
        'deletedAt': datetime(2015, 1, 1),
        'id': 'string',
        'name': 'string',
        'patternName': 'string',
        'resourceGroup': 'string',
        'specifications': {
            'string': 'string'
        },
        'status': 'COMPLETED'|'CREATING'|'DELETE_IN_PROGRESS'|'DELETE_INITIATING'|'DELETE_FAILED'|'DELETED'|'FAILED'|'IN_PROGRESS'|'VALIDATING',
        'workloadName': 'string'
    }
}

Response Structure

  • (dict) –

    • deployment (dict) –

      An object that details the deployment.

      • createdAt (datetime) –

        The time the deployment was created.

      • deletedAt (datetime) –

        The time the deployment was deleted.

      • id (string) –

        The ID of the deployment.

      • name (string) –

        The name of the deployment.

      • patternName (string) –

        The pattern name of the deployment.

      • resourceGroup (string) –

        The resource group of the deployment.

      • specifications (dict) –

        The specifications of the deployment. For more information on specifications for each deployment, see Workload specifications.

        • (string) –

          • (string) –

      • status (string) –

        The status of the deployment.

      • workloadName (string) –

        The name of the workload.

Exceptions