DataAutomationforBedrock / Client / create_blueprint_version

create_blueprint_version

DataAutomationforBedrock.Client.create_blueprint_version(**kwargs)

Creates a new version of an existing Amazon Bedrock Data Automation 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'|'AUDIO'|'VIDEO',
        'creationTime': datetime(2015, 1, 1),
        'lastModifiedTime': datetime(2015, 1, 1),
        'blueprintName': 'string',
        'blueprintVersion': 'string',
        'blueprintStage': 'DEVELOPMENT'|'LIVE',
        'kmsKeyId': 'string',
        'kmsEncryptionContext': {
            'string': 'string'
        },
        'optimizationSamples': [
            {
                'assetS3Object': {
                    's3Uri': 'string',
                    'version': 'string'
                },
                'groundTruthS3Object': {
                    's3Uri': 'string',
                    'version': 'string'
                }
            },
        ],
        'optimizationTime': datetime(2015, 1, 1)
    }
}

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

          Encryption context key.

          • (string) –

            Encryption context value.

      • optimizationSamples (list) –

        List of Blueprint Optimization Samples

        • (dict) –

          Blueprint Recommendation Sample

          • assetS3Object (dict) –

            S3 Object of the asset

            • s3Uri (string) –

              S3 uri.

            • version (string) –

              S3 object version.

          • groundTruthS3Object (dict) –

            Ground truth for the Blueprint and Asset combination

            • s3Uri (string) –

              S3 uri.

            • version (string) –

              S3 object version.

      • optimizationTime (datetime) –

        Time Stamp

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