AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the StartAsyncInvoke operation. 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.
Namespace: Amazon.BedrockRuntime.Model
Assembly: AWSSDK.BedrockRuntime.dll
Version: 3.x.y.z
public class StartAsyncInvokeRequest : AmazonBedrockRuntimeRequest IAmazonWebServiceRequest
The StartAsyncInvokeRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
StartAsyncInvokeRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
ClientRequestToken | System.String |
Gets and sets the property ClientRequestToken. Specify idempotency token to ensure that requests are not duplicated. |
![]() |
ModelId | System.String |
Gets and sets the property ModelId. The model to invoke. |
![]() |
ModelInput | Amazon.Runtime.Documents.Document |
Gets and sets the property ModelInput. Input to send to the model. |
![]() |
OutputDataConfig | Amazon.BedrockRuntime.Model.AsyncInvokeOutputDataConfig |
Gets and sets the property OutputDataConfig. Where to store the output. |
![]() |
Tags | System.Collections.Generic.List<Amazon.BedrockRuntime.Model.Tag> |
Gets and sets the property Tags. Tags to apply to the invocation. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer