Struct aws_sdk_bedrock::operation::create_model_customization_job::CreateModelCustomizationJobInput
source · #[non_exhaustive]pub struct CreateModelCustomizationJobInput {Show 13 fields
pub job_name: Option<String>,
pub custom_model_name: Option<String>,
pub role_arn: Option<String>,
pub client_request_token: Option<String>,
pub base_model_identifier: Option<String>,
pub custom_model_kms_key_id: Option<String>,
pub job_tags: Option<Vec<Tag>>,
pub custom_model_tags: Option<Vec<Tag>>,
pub training_data_config: Option<TrainingDataConfig>,
pub validation_data_config: Option<ValidationDataConfig>,
pub output_data_config: Option<OutputDataConfig>,
pub hyper_parameters: Option<HashMap<String, String>>,
pub vpc_config: Option<VpcConfig>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.job_name: Option<String>Enter a unique name for the fine-tuning job.
custom_model_name: Option<String>Enter a name for the custom model.
role_arn: Option<String>The Amazon Resource Name (ARN) of an IAM role that Bedrock can assume to perform tasks on your behalf. For example, during model training, Bedrock needs your permission to read input data from an S3 bucket, write model artifacts to an S3 bucket. To pass this role to Bedrock, the caller of this API must have the iam:PassRole permission.
client_request_token: Option<String>Unique token value that you can provide. The GetModelCustomizationJob response includes the same token value.
base_model_identifier: Option<String>Name of the base model.
custom_model_kms_key_id: Option<String>The custom model is encrypted at rest using this key.
Assign tags to the job.
Assign tags to the custom model.
training_data_config: Option<TrainingDataConfig>Information about the training dataset.
validation_data_config: Option<ValidationDataConfig>Information about the validation dataset.
output_data_config: Option<OutputDataConfig>S3 location for the output data.
hyper_parameters: Option<HashMap<String, String>>Parameters related to tuning the model.
vpc_config: Option<VpcConfig>VPC configuration (optional). Configuration parameters for the private Virtual Private Cloud (VPC) that contains the resources you are using for this job.
Implementations§
source§impl CreateModelCustomizationJobInput
impl CreateModelCustomizationJobInput
sourcepub fn custom_model_name(&self) -> Option<&str>
pub fn custom_model_name(&self) -> Option<&str>
Enter a name for the custom model.
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of an IAM role that Bedrock can assume to perform tasks on your behalf. For example, during model training, Bedrock needs your permission to read input data from an S3 bucket, write model artifacts to an S3 bucket. To pass this role to Bedrock, the caller of this API must have the iam:PassRole permission.
sourcepub fn client_request_token(&self) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
Unique token value that you can provide. The GetModelCustomizationJob response includes the same token value.
sourcepub fn base_model_identifier(&self) -> Option<&str>
pub fn base_model_identifier(&self) -> Option<&str>
Name of the base model.
sourcepub fn custom_model_kms_key_id(&self) -> Option<&str>
pub fn custom_model_kms_key_id(&self) -> Option<&str>
The custom model is encrypted at rest using this key.
Assign tags to the job.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .job_tags.is_none().
Assign tags to the custom model.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .custom_model_tags.is_none().
sourcepub fn training_data_config(&self) -> Option<&TrainingDataConfig>
pub fn training_data_config(&self) -> Option<&TrainingDataConfig>
Information about the training dataset.
sourcepub fn validation_data_config(&self) -> Option<&ValidationDataConfig>
pub fn validation_data_config(&self) -> Option<&ValidationDataConfig>
Information about the validation dataset.
sourcepub fn output_data_config(&self) -> Option<&OutputDataConfig>
pub fn output_data_config(&self) -> Option<&OutputDataConfig>
S3 location for the output data.
sourcepub fn hyper_parameters(&self) -> Option<&HashMap<String, String>>
pub fn hyper_parameters(&self) -> Option<&HashMap<String, String>>
Parameters related to tuning the model.
sourcepub fn vpc_config(&self) -> Option<&VpcConfig>
pub fn vpc_config(&self) -> Option<&VpcConfig>
VPC configuration (optional). Configuration parameters for the private Virtual Private Cloud (VPC) that contains the resources you are using for this job.
source§impl CreateModelCustomizationJobInput
impl CreateModelCustomizationJobInput
sourcepub fn builder() -> CreateModelCustomizationJobInputBuilder
pub fn builder() -> CreateModelCustomizationJobInputBuilder
Creates a new builder-style object to manufacture CreateModelCustomizationJobInput.
Trait Implementations§
source§impl Clone for CreateModelCustomizationJobInput
impl Clone for CreateModelCustomizationJobInput
source§fn clone(&self) -> CreateModelCustomizationJobInput
fn clone(&self) -> CreateModelCustomizationJobInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for CreateModelCustomizationJobInput
impl PartialEq for CreateModelCustomizationJobInput
source§fn eq(&self, other: &CreateModelCustomizationJobInput) -> bool
fn eq(&self, other: &CreateModelCustomizationJobInput) -> bool
self and other values to be equal, and is used
by ==.