AWS SDK Version 3 for .NET
API Reference

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.

This is the response object from the BatchDeleteEvaluationJob operation.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.Bedrock.Model.BatchDeleteEvaluationJobResponse

Namespace: Amazon.Bedrock.Model
Assembly: AWSSDK.Bedrock.dll
Version: 3.x.y.z

Syntax

C#
public class BatchDeleteEvaluationJobResponse : AmazonWebServiceResponse

The BatchDeleteEvaluationJobResponse type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property Errors System.Collections.Generic.List<Amazon.Bedrock.Model.BatchDeleteEvaluationJobError>

Gets and sets the property Errors.

A JSON object containing the HTTP status codes and the ARNs of evaluation jobs that failed to be deleted.

Public Property EvaluationJobs System.Collections.Generic.List<Amazon.Bedrock.Model.BatchDeleteEvaluationJobItem>

Gets and sets the property EvaluationJobs.

The list of evaluation jobs for deletion.

Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.

Examples

The following example shows a request to delete two model evaluation jobs, where one of the jobs is not found.

Delete evaluation jobs


var client = new AmazonBedrockClient();
var response = client.BatchDeleteEvaluationJob(new BatchDeleteEvaluationJobRequest 
{
    JobIdentifiers = new List<string> {
        "arn:aws:bedrock:us-east-2:123456789012:evaluation-job/12rnxmplqv0v",
        "arn:aws:bedrock:us-east-2:123456789012:evaluation-job/rispxmpl12rn"
    }
});

List<BatchDeleteEvaluationJobError> errors = response.Errors;
List<BatchDeleteEvaluationJobItem> evaluationJobs = response.EvaluationJobs;

            

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5