startAsyncInvoke
inline suspend fun BedrockRuntimeClient.startAsyncInvoke(crossinline block: StartAsyncInvokeRequest.Builder.() -> Unit): StartAsyncInvokeResponse
Starts an asynchronous invocation.
This operation requires permission for the bedrock:InvokeModel
action.
To deny all inference access to resources that you specify in the modelId field, you need to deny access to the bedrock:InvokeModel
and bedrock:InvokeModelWithResponseStream
actions. Doing this also denies access to the resource through the Converse API actions (Converse and ConverseStream). For more information see Deny access for inference on specific models.