Runtime for Amazon Bedrock Data Automation

2025/02/28 - Runtime for Amazon Bedrock Data Automation - 3 new1 updated api methods

Changes  Added a mandatory parameter DataAutomationProfileArn to support for cross region inference for InvokeDataAutomationAsync API. Renamed DataAutomationArn to DataAutomationProjectArn. Added APIs to support tagging.

ListTagsForResource (new) Link ¶

List tags for an Amazon Bedrock Data Automation resource

See also: AWS API Documentation

Request Syntax

client.list_tags_for_resource(
    resourceARN='string'
)
type resourceARN:

string

param resourceARN:

[REQUIRED]

ARN of a taggable resource

rtype:

dict

returns:

Response Syntax

{
    'tags': [
        {
            'key': 'string',
            'value': 'string'
        },
    ]
}

Response Structure

  • (dict) --

    • tags (list) --

      List of tags

      • (dict) --

        Key value pair of a tag

        • key (string) --

          Defines the context of the tag.

        • value (string) --

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

TagResource (new) Link ¶

Tag an Amazon Bedrock Data Automation resource

See also: AWS API Documentation

Request Syntax

client.tag_resource(
    resourceARN='string',
    tags=[
        {
            'key': 'string',
            'value': 'string'
        },
    ]
)
type resourceARN:

string

param resourceARN:

[REQUIRED]

ARN of a taggable resource

type tags:

list

param tags:

[REQUIRED]

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

{}

Response Structure

  • (dict) --

UntagResource (new) Link ¶

Untag an Amazon Bedrock Data Automation resource

See also: AWS API Documentation

Request Syntax

client.untag_resource(
    resourceARN='string',
    tagKeys=[
        'string',
    ]
)
type resourceARN:

string

param resourceARN:

[REQUIRED]

ARN of a taggable resource

type tagKeys:

list

param tagKeys:

[REQUIRED]

List of tag keys

  • (string) --

    Defines the context of the tag.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

InvokeDataAutomationAsync (updated) Link ¶
Changes (request)
{'dataAutomationConfiguration': {'dataAutomationProjectArn': 'string'},
 'dataAutomationProfileArn': 'string',
 'tags': [{'key': 'string', 'value': 'string'}]}

Async API: Invoke data automation.

See also: AWS API Documentation

Request Syntax

client.invoke_data_automation_async(
    clientToken='string',
    inputConfiguration={
        's3Uri': 'string'
    },
    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.

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