DataAutomationforBedrock / Client / create_blueprint

create_blueprint#

DataAutomationforBedrock.Client.create_blueprint(**kwargs)#

Creates an Amazon Bedrock Keystone Blueprint

See also: AWS API Documentation

Request Syntax

response = client.create_blueprint(
    blueprintName='string',
    type='DOCUMENT'|'IMAGE',
    blueprintStage='DEVELOPMENT'|'LIVE',
    schema='string',
    clientToken='string',
    encryptionConfiguration={
        'kmsKeyId': 'string',
        'kmsEncryptionContext': {
            'string': 'string'
        }
    }
)
Parameters:
  • blueprintName (string) –

    [REQUIRED]

    Name of the Blueprint

  • type (string) –

    [REQUIRED]

    Type

  • blueprintStage (string) – Stage of the Blueprint

  • schema (string) –

    [REQUIRED]

    Schema of the blueprint

  • clientToken (string) –

    Client specified token used for idempotency checks

    This field is autopopulated if not provided.

  • encryptionConfiguration (dict) –

    KMS Encryption Configuration

    • kmsKeyId (string) – [REQUIRED]

      KMS Key Identifier

    • kmsEncryptionContext (dict) –

      KMS Encryption Context

      • (string) –

        • (string) –

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) –

    Create 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.ServiceQuotaExceededException

  • DataAutomationforBedrock.Client.exceptions.ValidationException

  • DataAutomationforBedrock.Client.exceptions.ConflictException

  • DataAutomationforBedrock.Client.exceptions.InternalServerException

  • DataAutomationforBedrock.Client.exceptions.ThrottlingException

  • DataAutomationforBedrock.Client.exceptions.AccessDeniedException