DataAutomationforBedrock / Client / get_blueprint

get_blueprint#

DataAutomationforBedrock.Client.get_blueprint(**kwargs)#

Gets an existing Amazon Bedrock Keystone Blueprint

See also: AWS API Documentation

Request Syntax

response = client.get_blueprint(
    blueprintArn='string',
    blueprintVersion='string',
    blueprintStage='DEVELOPMENT'|'LIVE'
)
Parameters:
  • blueprintArn (string) –

    [REQUIRED]

    ARN generated at the server side when a Blueprint is created

  • blueprintVersion (string) – Optional field to get a specific Blueprint version

  • blueprintStage (string) – Optional field to get a specific Blueprint stage

Return type:

dict

Returns:

Response Syntax

{
    'blueprint': {
        'blueprintArn': 'string',
        'schema': 'string',
        'type': 'DOCUMENT'|'IMAGE',
        'creationTime': datetime(2015, 1, 1),
        'lastModifiedTime': datetime(2015, 1, 1),
        'blueprintName': 'string',
        'blueprintVersion': 'string',
        'blueprintStage': 'DEVELOPMENT'|'LIVE',
        'kmsKeyId': 'string',
        'kmsEncryptionContext': {
            'string': 'string'
        }
    }
}

Response Structure

  • (dict) –

    Get Blueprint Response

    • blueprint (dict) –

      Contains the information of a Blueprint.

      • blueprintArn (string) –

        ARN of a Blueprint

      • schema (string) –

        Schema of the blueprint

      • type (string) –

        Type

      • creationTime (datetime) –

        Time Stamp

      • lastModifiedTime (datetime) –

        Time Stamp

      • blueprintName (string) –

        Name of the Blueprint

      • blueprintVersion (string) –

        Blueprint Version

      • blueprintStage (string) –

        Stage of the Blueprint

      • kmsKeyId (string) –

        KMS Key Identifier

      • kmsEncryptionContext (dict) –

        KMS Encryption Context

        • (string) –

          • (string) –

Exceptions

  • DataAutomationforBedrock.Client.exceptions.ValidationException

  • DataAutomationforBedrock.Client.exceptions.InternalServerException

  • DataAutomationforBedrock.Client.exceptions.ThrottlingException

  • DataAutomationforBedrock.Client.exceptions.AccessDeniedException

  • DataAutomationforBedrock.Client.exceptions.ResourceNotFoundException