Glue / Client / get_blueprint

get_blueprint#

Glue.Client.get_blueprint(**kwargs)#

Retrieves the details of a blueprint.

See also: AWS API Documentation

Request Syntax

response = client.get_blueprint(
    Name='string',
    IncludeBlueprint=True|False,
    IncludeParameterSpec=True|False
)
Parameters:
  • Name (string) –

    [REQUIRED]

    The name of the blueprint.

  • IncludeBlueprint (boolean) – Specifies whether or not to include the blueprint in the response.

  • IncludeParameterSpec (boolean) – Specifies whether or not to include the parameter specification.

Return type:

dict

Returns:

Response Syntax

{
    'Blueprint': {
        'Name': 'string',
        'Description': 'string',
        'CreatedOn': datetime(2015, 1, 1),
        'LastModifiedOn': datetime(2015, 1, 1),
        'ParameterSpec': 'string',
        'BlueprintLocation': 'string',
        'BlueprintServiceLocation': 'string',
        'Status': 'CREATING'|'ACTIVE'|'UPDATING'|'FAILED',
        'ErrorMessage': 'string',
        'LastActiveDefinition': {
            'Description': 'string',
            'LastModifiedOn': datetime(2015, 1, 1),
            'ParameterSpec': 'string',
            'BlueprintLocation': 'string',
            'BlueprintServiceLocation': 'string'
        }
    }
}

Response Structure

  • (dict) –

    • Blueprint (dict) –

      Returns a Blueprint object.

      • Name (string) –

        The name of the blueprint.

      • Description (string) –

        The description of the blueprint.

      • CreatedOn (datetime) –

        The date and time the blueprint was registered.

      • LastModifiedOn (datetime) –

        The date and time the blueprint was last modified.

      • ParameterSpec (string) –

        A JSON string that indicates the list of parameter specifications for the blueprint.

      • BlueprintLocation (string) –

        Specifies the path in Amazon S3 where the blueprint is published.

      • BlueprintServiceLocation (string) –

        Specifies a path in Amazon S3 where the blueprint is copied when you call CreateBlueprint/UpdateBlueprint to register the blueprint in Glue.

      • Status (string) –

        The status of the blueprint registration.

        • Creating — The blueprint registration is in progress.

        • Active — The blueprint has been successfully registered.

        • Updating — An update to the blueprint registration is in progress.

        • Failed — The blueprint registration failed.

      • ErrorMessage (string) –

        An error message.

      • LastActiveDefinition (dict) –

        When there are multiple versions of a blueprint and the latest version has some errors, this attribute indicates the last successful blueprint definition that is available with the service.

        • Description (string) –

          The description of the blueprint.

        • LastModifiedOn (datetime) –

          The date and time the blueprint was last modified.

        • ParameterSpec (string) –

          A JSON string specifying the parameters for the blueprint.

        • BlueprintLocation (string) –

          Specifies a path in Amazon S3 where the blueprint is published by the Glue developer.

        • BlueprintServiceLocation (string) –

          Specifies a path in Amazon S3 where the blueprint is copied when you create or update the blueprint.

Exceptions

  • Glue.Client.exceptions.EntityNotFoundException

  • Glue.Client.exceptions.InvalidInputException

  • Glue.Client.exceptions.OperationTimeoutException

  • Glue.Client.exceptions.InternalServiceException