Class: Aws::Bedrock::Types::CreateModelCustomizationJobRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#base_model_identifierString

Name of the base model.

Returns:

  • (String)


908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 908

class CreateModelCustomizationJobRequest < Struct.new(
  :job_name,
  :custom_model_name,
  :role_arn,
  :client_request_token,
  :base_model_identifier,
  :customization_type,
  :custom_model_kms_key_id,
  :job_tags,
  :custom_model_tags,
  :training_data_config,
  :validation_data_config,
  :output_data_config,
  :hyper_parameters,
  :vpc_config,
  :customization_config)
  SENSITIVE = []
  include Aws::Structure
end

#client_request_tokenString

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.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 908

class CreateModelCustomizationJobRequest < Struct.new(
  :job_name,
  :custom_model_name,
  :role_arn,
  :client_request_token,
  :base_model_identifier,
  :customization_type,
  :custom_model_kms_key_id,
  :job_tags,
  :custom_model_tags,
  :training_data_config,
  :validation_data_config,
  :output_data_config,
  :hyper_parameters,
  :vpc_config,
  :customization_config)
  SENSITIVE = []
  include Aws::Structure
end

#custom_model_kms_key_idString

The custom model is encrypted at rest using this key.

Returns:

  • (String)


908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 908

class CreateModelCustomizationJobRequest < Struct.new(
  :job_name,
  :custom_model_name,
  :role_arn,
  :client_request_token,
  :base_model_identifier,
  :customization_type,
  :custom_model_kms_key_id,
  :job_tags,
  :custom_model_tags,
  :training_data_config,
  :validation_data_config,
  :output_data_config,
  :hyper_parameters,
  :vpc_config,
  :customization_config)
  SENSITIVE = []
  include Aws::Structure
end

#custom_model_nameString

A name for the resulting custom model.

Returns:

  • (String)


908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 908

class CreateModelCustomizationJobRequest < Struct.new(
  :job_name,
  :custom_model_name,
  :role_arn,
  :client_request_token,
  :base_model_identifier,
  :customization_type,
  :custom_model_kms_key_id,
  :job_tags,
  :custom_model_tags,
  :training_data_config,
  :validation_data_config,
  :output_data_config,
  :hyper_parameters,
  :vpc_config,
  :customization_config)
  SENSITIVE = []
  include Aws::Structure
end

#custom_model_tagsArray<Types::Tag>

Tags to attach to the resulting custom model.

Returns:



908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 908

class CreateModelCustomizationJobRequest < Struct.new(
  :job_name,
  :custom_model_name,
  :role_arn,
  :client_request_token,
  :base_model_identifier,
  :customization_type,
  :custom_model_kms_key_id,
  :job_tags,
  :custom_model_tags,
  :training_data_config,
  :validation_data_config,
  :output_data_config,
  :hyper_parameters,
  :vpc_config,
  :customization_config)
  SENSITIVE = []
  include Aws::Structure
end

#customization_configTypes::CustomizationConfig

The customization configuration for the model customization job.



908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 908

class CreateModelCustomizationJobRequest < Struct.new(
  :job_name,
  :custom_model_name,
  :role_arn,
  :client_request_token,
  :base_model_identifier,
  :customization_type,
  :custom_model_kms_key_id,
  :job_tags,
  :custom_model_tags,
  :training_data_config,
  :validation_data_config,
  :output_data_config,
  :hyper_parameters,
  :vpc_config,
  :customization_config)
  SENSITIVE = []
  include Aws::Structure
end

#customization_typeString

The customization type.

Returns:

  • (String)


908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 908

class CreateModelCustomizationJobRequest < Struct.new(
  :job_name,
  :custom_model_name,
  :role_arn,
  :client_request_token,
  :base_model_identifier,
  :customization_type,
  :custom_model_kms_key_id,
  :job_tags,
  :custom_model_tags,
  :training_data_config,
  :validation_data_config,
  :output_data_config,
  :hyper_parameters,
  :vpc_config,
  :customization_config)
  SENSITIVE = []
  include Aws::Structure
end

#hyper_parametersHash<String,String>

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

Returns:

  • (Hash<String,String>)


908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 908

class CreateModelCustomizationJobRequest < Struct.new(
  :job_name,
  :custom_model_name,
  :role_arn,
  :client_request_token,
  :base_model_identifier,
  :customization_type,
  :custom_model_kms_key_id,
  :job_tags,
  :custom_model_tags,
  :training_data_config,
  :validation_data_config,
  :output_data_config,
  :hyper_parameters,
  :vpc_config,
  :customization_config)
  SENSITIVE = []
  include Aws::Structure
end

#job_nameString

A name for the fine-tuning job.

Returns:

  • (String)


908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 908

class CreateModelCustomizationJobRequest < Struct.new(
  :job_name,
  :custom_model_name,
  :role_arn,
  :client_request_token,
  :base_model_identifier,
  :customization_type,
  :custom_model_kms_key_id,
  :job_tags,
  :custom_model_tags,
  :training_data_config,
  :validation_data_config,
  :output_data_config,
  :hyper_parameters,
  :vpc_config,
  :customization_config)
  SENSITIVE = []
  include Aws::Structure
end

#job_tagsArray<Types::Tag>

Tags to attach to the job.

Returns:



908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 908

class CreateModelCustomizationJobRequest < Struct.new(
  :job_name,
  :custom_model_name,
  :role_arn,
  :client_request_token,
  :base_model_identifier,
  :customization_type,
  :custom_model_kms_key_id,
  :job_tags,
  :custom_model_tags,
  :training_data_config,
  :validation_data_config,
  :output_data_config,
  :hyper_parameters,
  :vpc_config,
  :customization_config)
  SENSITIVE = []
  include Aws::Structure
end

#output_data_configTypes::OutputDataConfig

S3 location for the output data.



908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 908

class CreateModelCustomizationJobRequest < Struct.new(
  :job_name,
  :custom_model_name,
  :role_arn,
  :client_request_token,
  :base_model_identifier,
  :customization_type,
  :custom_model_kms_key_id,
  :job_tags,
  :custom_model_tags,
  :training_data_config,
  :validation_data_config,
  :output_data_config,
  :hyper_parameters,
  :vpc_config,
  :customization_config)
  SENSITIVE = []
  include Aws::Structure
end

#role_arnString

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.

Returns:

  • (String)


908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 908

class CreateModelCustomizationJobRequest < Struct.new(
  :job_name,
  :custom_model_name,
  :role_arn,
  :client_request_token,
  :base_model_identifier,
  :customization_type,
  :custom_model_kms_key_id,
  :job_tags,
  :custom_model_tags,
  :training_data_config,
  :validation_data_config,
  :output_data_config,
  :hyper_parameters,
  :vpc_config,
  :customization_config)
  SENSITIVE = []
  include Aws::Structure
end

#training_data_configTypes::TrainingDataConfig

Information about the training dataset.



908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 908

class CreateModelCustomizationJobRequest < Struct.new(
  :job_name,
  :custom_model_name,
  :role_arn,
  :client_request_token,
  :base_model_identifier,
  :customization_type,
  :custom_model_kms_key_id,
  :job_tags,
  :custom_model_tags,
  :training_data_config,
  :validation_data_config,
  :output_data_config,
  :hyper_parameters,
  :vpc_config,
  :customization_config)
  SENSITIVE = []
  include Aws::Structure
end

#validation_data_configTypes::ValidationDataConfig

Information about the validation dataset.



908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 908

class CreateModelCustomizationJobRequest < Struct.new(
  :job_name,
  :custom_model_name,
  :role_arn,
  :client_request_token,
  :base_model_identifier,
  :customization_type,
  :custom_model_kms_key_id,
  :job_tags,
  :custom_model_tags,
  :training_data_config,
  :validation_data_config,
  :output_data_config,
  :hyper_parameters,
  :vpc_config,
  :customization_config)
  SENSITIVE = []
  include Aws::Structure
end

#vpc_configTypes::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.

Returns:



908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
# File 'gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb', line 908

class CreateModelCustomizationJobRequest < Struct.new(
  :job_name,
  :custom_model_name,
  :role_arn,
  :client_request_token,
  :base_model_identifier,
  :customization_type,
  :custom_model_kms_key_id,
  :job_tags,
  :custom_model_tags,
  :training_data_config,
  :validation_data_config,
  :output_data_config,
  :hyper_parameters,
  :vpc_config,
  :customization_config)
  SENSITIVE = []
  include Aws::Structure
end