DataAutomationforBedrock / Client / invoke_blueprint_optimization_async
invoke_blueprint_optimization_async¶
- DataAutomationforBedrock.Client.invoke_blueprint_optimization_async(**kwargs)¶
Invoke an async job to perform Blueprint Optimization
See also: AWS API Documentation
Request Syntax
response = client.invoke_blueprint_optimization_async( blueprint={ 'blueprintArn': 'string', 'stage': 'DEVELOPMENT'|'LIVE' }, samples=[ { 'assetS3Object': { 's3Uri': 'string', 'version': 'string' }, 'groundTruthS3Object': { 's3Uri': 'string', 'version': 'string' } }, ], outputConfiguration={ 's3Object': { 's3Uri': 'string', 'version': 'string' } }, dataAutomationProfileArn='string', encryptionConfiguration={ 'kmsKeyId': 'string', 'kmsEncryptionContext': { 'string': 'string' } }, tags=[ { 'key': 'string', 'value': 'string' }, ] )
- Parameters:
blueprint (dict) –
[REQUIRED]
Blueprint to be optimized
blueprintArn (string) – [REQUIRED]
Arn of blueprint.
stage (string) –
Stage of blueprint.
samples (list) –
[REQUIRED]
List of Blueprint Optimization Samples
(dict) –
Blueprint Recommendation Sample
assetS3Object (dict) – [REQUIRED]
S3 Object of the asset
s3Uri (string) – [REQUIRED]
S3 uri.
version (string) –
S3 object version.
groundTruthS3Object (dict) – [REQUIRED]
Ground truth for the Blueprint and Asset combination
s3Uri (string) – [REQUIRED]
S3 uri.
version (string) –
S3 object version.
outputConfiguration (dict) –
[REQUIRED]
Output configuration where the results should be placed
s3Object (dict) – [REQUIRED]
S3 object.
s3Uri (string) – [REQUIRED]
S3 uri.
version (string) –
S3 object version.
dataAutomationProfileArn (string) –
[REQUIRED]
Data automation profile ARN
encryptionConfiguration (dict) –
Encryption configuration.
kmsKeyId (string) – [REQUIRED]
KMS Key Identifier
kmsEncryptionContext (dict) –
KMS Encryption Context
(string) –
Encryption context key.
(string) –
Encryption context value.
tags (list) –
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>.
- Return type:
dict
- Returns:
Response Syntax
{ 'invocationArn': 'string' }
Response Structure
(dict) –
Invoke Blueprint Optimization Async Response
invocationArn (string) –
ARN of the blueprint optimization job
Exceptions
DataAutomationforBedrock.Client.exceptions.ServiceQuotaExceededExceptionDataAutomationforBedrock.Client.exceptions.ValidationExceptionDataAutomationforBedrock.Client.exceptions.InternalServerExceptionDataAutomationforBedrock.Client.exceptions.ThrottlingExceptionDataAutomationforBedrock.Client.exceptions.AccessDeniedExceptionDataAutomationforBedrock.Client.exceptions.ResourceNotFoundException