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.

Container for the parameters to the CreateModelCustomizationJob operation. Creates a fine-tuning job to customize a base model.

You specify the base foundation model and the location of the training data. After the model-customization job completes successfully, your custom model resource will be ready to use. Amazon Bedrock returns validation loss metrics and output generations after the job completes.

For information on the format of training and validation data, see Prepare the datasets.

Model-customization jobs are asynchronous and the completion time depends on the base model and the training/validation data size. To monitor a job, use the GetModelCustomizationJob operation to retrieve the job status.

For more information, see Custom models in the Amazon Bedrock User Guide.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Bedrock.AmazonBedrockRequest
      Amazon.Bedrock.Model.CreateModelCustomizationJobRequest

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

Syntax

C#
public class CreateModelCustomizationJobRequest : AmazonBedrockRequest
         IAmazonWebServiceRequest

The CreateModelCustomizationJobRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property BaseModelIdentifier System.String

Gets and sets the property BaseModelIdentifier.

Name of the base model.

Public Property ClientRequestToken System.String

Gets and sets the property ClientRequestToken.

A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.

Public Property CustomizationConfig Amazon.Bedrock.Model.CustomizationConfig

Gets and sets the property CustomizationConfig.

The customization configuration for the model customization job.

Public Property CustomizationType Amazon.Bedrock.CustomizationType

Gets and sets the property CustomizationType.

The customization type.

Public Property CustomModelKmsKeyId System.String

Gets and sets the property CustomModelKmsKeyId.

The custom model is encrypted at rest using this key.

Public Property CustomModelName System.String

Gets and sets the property CustomModelName.

A name for the resulting custom model.

Public Property CustomModelTags System.Collections.Generic.List<Amazon.Bedrock.Model.Tag>

Gets and sets the property CustomModelTags.

Tags to attach to the resulting custom model.

Public Property HyperParameters System.Collections.Generic.Dictionary<System.String, System.String>

Gets and sets the property HyperParameters.

Parameters related to tuning the model. For details on the format for different models, see Custom model hyperparameters.

Public Property JobName System.String

Gets and sets the property JobName.

A name for the fine-tuning job.

Public Property JobTags System.Collections.Generic.List<Amazon.Bedrock.Model.Tag>

Gets and sets the property JobTags.

Tags to attach to the job.

Public Property OutputDataConfig Amazon.Bedrock.Model.OutputDataConfig

Gets and sets the property OutputDataConfig.

S3 location for the output data.

Public Property RoleArn System.String

Gets and sets the property RoleArn.

The Amazon Resource Name (ARN) of an IAM service role that Amazon Bedrock can assume to perform tasks on your behalf. For example, during model training, Amazon Bedrock needs your permission to read input data from an S3 bucket, write model artifacts to an S3 bucket. To pass this role to Amazon Bedrock, the caller of this API must have the iam:PassRole permission.

Public Property TrainingDataConfig Amazon.Bedrock.Model.TrainingDataConfig

Gets and sets the property TrainingDataConfig.

Information about the training dataset.

Public Property ValidationDataConfig Amazon.Bedrock.Model.ValidationDataConfig

Gets and sets the property ValidationDataConfig.

Information about the validation dataset.

Public Property VpcConfig Amazon.Bedrock.Model.VpcConfig

Gets and sets the property VpcConfig.

The configuration of the Virtual Private Cloud (VPC) that contains the resources that you're using for this job. For more information, see Protect your model customization jobs using a VPC.

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