DataAutomationforBedrock / Client / create_blueprint_version

create_blueprint_version#

DataAutomationforBedrock.Client.create_blueprint_version(**kwargs)#

Creates a new version of an existing Amazon Bedrock Keystone Blueprint

See also: AWS API Documentation

Request Syntax

response = client.create_blueprint_version(
    blueprintArn='string',
    clientToken='string'
)
Parameters:
  • blueprintArn (string) –

    [REQUIRED]

    ARN generated at the server side when a Blueprint is created

  • clientToken (string) –

    Client specified token used for idempotency checks

    This field is autopopulated if not provided.

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 Version 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.InternalServerException

  • DataAutomationforBedrock.Client.exceptions.ThrottlingException

  • DataAutomationforBedrock.Client.exceptions.AccessDeniedException

  • DataAutomationforBedrock.Client.exceptions.ResourceNotFoundException