2024/12/04 - Runtime for Amazon Bedrock Data Automation - 2 new api methods
Changes Introduced two APIs ListPromptRouters and GetPromptRouter for Intelligent Prompt Router feature. Add support for Bedrock Guardrails image content filter. New Bedrock Marketplace feature enabling a wider range of bedrock compatible models with self-hosted capability.
API used to get data automation status.
See also: AWS API Documentation
Request Syntax
client.get_data_automation_status( invocationArn='string' )
string
[REQUIRED]
Invocation arn.
dict
Response Syntax
{ 'status': 'Created'|'InProgress'|'Success'|'ServiceError'|'ClientError', 'errorType': 'string', 'errorMessage': 'string', 'outputConfiguration': { 's3Uri': 'string' } }
Response Structure
(dict) --
Response of GetDataAutomationStatus API.
status (string) --
Job Status.
errorType (string) --
Error Type.
errorMessage (string) --
Error Message.
outputConfiguration (dict) --
Output configuration.
s3Uri (string) --
S3 uri.
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={ 'dataAutomationArn': 'string', 'stage': 'LIVE'|'DEVELOPMENT' }, encryptionConfiguration={ 'kmsKeyId': 'string', 'kmsEncryptionContext': { 'string': 'string' } }, notificationConfiguration={ 'eventBridgeConfiguration': { 'eventBridgeEnabled': True|False } }, blueprints=[ { 'blueprintArn': 'string', 'version': 'string', 'stage': 'DEVELOPMENT'|'LIVE' }, ] )
string
Idempotency token.
This field is autopopulated if not provided.
dict
[REQUIRED]
Input configuration.
s3Uri (string) -- [REQUIRED]
S3 uri.
dict
[REQUIRED]
Output configuration.
s3Uri (string) -- [REQUIRED]
S3 uri.
dict
Data automation configuration.
dataAutomationArn (string) -- [REQUIRED]
Data automation arn.
stage (string) --
Data automation stage.
dict
Encryption configuration.
kmsKeyId (string) -- [REQUIRED]
KMS key id.
kmsEncryptionContext (dict) --
KMS encryption context.
(string) --
Excryption context key.
(string) --
Encryption context value.
dict
Notification configuration.
eventBridgeConfiguration (dict) -- [REQUIRED]
Event bridge configuration.
eventBridgeEnabled (boolean) -- [REQUIRED]
Event bridge flag.
list
Blueprint list.
(dict) --
Blueprint.
blueprintArn (string) -- [REQUIRED]
Arn of blueprint.
version (string) --
Version of blueprint.
stage (string) --
Stage of blueprint.
dict
Response Syntax
{ 'invocationArn': 'string' }
Response Structure
(dict) --
Invoke Data Automation Async Response
invocationArn (string) --
ARN of the automation job