Runtime for Amazon Bedrock Data Automation

2025/05/16 - Runtime for Amazon Bedrock Data Automation - 1 updated api methods

Changes  Add AssetProcessingConfiguration for video segment to InputConfiguration

InvokeDataAutomationAsync (updated) Link ΒΆ
Changes (request)
{'inputConfiguration': {'assetProcessingConfiguration': {'video': {'segmentConfiguration': {'timestampSegment': {'endTimeMillis': 'long',
                                                                                                                 'startTimeMillis': 'long'}}}}}}

Async API: Invoke data automation.

See also: AWS API Documentation

Request Syntax

client.invoke_data_automation_async(
    clientToken='string',
    inputConfiguration={
        's3Uri': 'string',
        'assetProcessingConfiguration': {
            'video': {
                'segmentConfiguration': {
                    'timestampSegment': {
                        'startTimeMillis': 123,
                        'endTimeMillis': 123
                    }
                }
            }
        }
    },
    outputConfiguration={
        's3Uri': 'string'
    },
    dataAutomationConfiguration={
        'dataAutomationProjectArn': 'string',
        'stage': 'LIVE'|'DEVELOPMENT'
    },
    encryptionConfiguration={
        'kmsKeyId': 'string',
        'kmsEncryptionContext': {
            'string': 'string'
        }
    },
    notificationConfiguration={
        'eventBridgeConfiguration': {
            'eventBridgeEnabled': True|False
        }
    },
    blueprints=[
        {
            'blueprintArn': 'string',
            'version': 'string',
            'stage': 'DEVELOPMENT'|'LIVE'
        },
    ],
    dataAutomationProfileArn='string',
    tags=[
        {
            'key': 'string',
            'value': 'string'
        },
    ]
)
type clientToken:

string

param clientToken:

Idempotency token.

This field is autopopulated if not provided.

type inputConfiguration:

dict

param inputConfiguration:

[REQUIRED]

Input configuration.

  • s3Uri (string) -- [REQUIRED]

    S3 uri.

  • assetProcessingConfiguration (dict) --

    Asset processing configuration

    • video (dict) --

      Video asset processing configuration

      • segmentConfiguration (dict) --

        Delimits the segment of the input that will be processed

        • timestampSegment (dict) --

          Timestamp segment

          • startTimeMillis (integer) -- [REQUIRED]

            Start timestamp in milliseconds

          • endTimeMillis (integer) -- [REQUIRED]

            End timestamp in milliseconds

type outputConfiguration:

dict

param outputConfiguration:

[REQUIRED]

Output configuration.

  • s3Uri (string) -- [REQUIRED]

    S3 uri.

type dataAutomationConfiguration:

dict

param dataAutomationConfiguration:

Data automation configuration.

  • dataAutomationProjectArn (string) -- [REQUIRED]

    Data automation project arn.

  • stage (string) --

    Data automation stage.

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.

type notificationConfiguration:

dict

param notificationConfiguration:

Notification configuration.

  • eventBridgeConfiguration (dict) -- [REQUIRED]

    Event bridge configuration.

    • eventBridgeEnabled (boolean) -- [REQUIRED]

      Event bridge flag.

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 tags:

list

param tags:

List of tags.

  • (dict) --

    Key value pair of a tag

    • key (string) -- [REQUIRED]

      Defines the context of the tag.

    • value (string) -- [REQUIRED]

      Defines the value within the context. e.g. <key=reason, value=training>.

rtype:

dict

returns:

Response Syntax

{
    'invocationArn': 'string'
}

Response Structure

  • (dict) --

    Invoke Data Automation Async Response

    • invocationArn (string) --

      ARN of the automation job