Runtime for Amazon Bedrock Data Automation

2025/11/20 - Runtime for Amazon Bedrock Data Automation - 1 new api methods

Changes  Bedrock Data Automation Runtime Sync API

InvokeDataAutomation (new) Link ΒΆ

Sync API: Invoke data automation.

See also: AWS API Documentation

Request Syntax

client.invoke_data_automation(
    inputConfiguration={
        'bytes': b'bytes',
        's3Uri': 'string'
    },
    dataAutomationConfiguration={
        'dataAutomationProjectArn': 'string',
        'stage': 'LIVE'|'DEVELOPMENT'
    },
    blueprints=[
        {
            'blueprintArn': 'string',
            'version': 'string',
            'stage': 'DEVELOPMENT'|'LIVE'
        },
    ],
    dataAutomationProfileArn='string',
    encryptionConfiguration={
        'kmsKeyId': 'string',
        'kmsEncryptionContext': {
            'string': 'string'
        }
    }
)
type inputConfiguration:

dict

param inputConfiguration:

[REQUIRED]

Input configuration.

  • bytes (bytes) --

    Input data as bytes

  • s3Uri (string) --

    S3 URI of the input data

type dataAutomationConfiguration:

dict

param dataAutomationConfiguration:

Data automation configuration.

  • dataAutomationProjectArn (string) -- [REQUIRED]

    Data automation project arn.

  • stage (string) --

    Data automation stage.

type blueprints:

list

param blueprints:

Blueprint list.

  • (dict) --

    Blueprint.

    • blueprintArn (string) -- [REQUIRED]

      Arn of blueprint.

    • version (string) --

      Version of blueprint.

    • stage (string) --

      Stage of blueprint.

type dataAutomationProfileArn:

string

param dataAutomationProfileArn:

[REQUIRED]

Data automation profile ARN

type encryptionConfiguration:

dict

param encryptionConfiguration:

Encryption configuration.

  • kmsKeyId (string) -- [REQUIRED]

    Customer KMS key used for encryption

  • kmsEncryptionContext (dict) --

    KMS encryption context.

    • (string) --

      Excryption context key.

      • (string) --

        Encryption context value.

rtype:

dict

returns:

Response Syntax

{
    'semanticModality': 'DOCUMENT'|'IMAGE'|'AUDIO'|'VIDEO',
    'outputSegments': [
        {
            'customOutputStatus': 'MATCH'|'NO_MATCH',
            'customOutput': 'string',
            'standardOutput': 'string'
        },
    ]
}

Response Structure

  • (dict) --

    Invoke Data Automation Response

    • semanticModality (string) --

      Detected semantic modality

    • outputSegments (list) --

      List of outputs for each logical sub-doc

      • (dict) --

        Output segment

        • customOutputStatus (string) --

          Status of blueprint match

        • customOutput (string) --

          Custom output response

        • standardOutput (string) --

          Standard output response