Creates a model import job to import model that you have customized in other environments, such as Amazon SageMaker¶
Description¶
Creates a model import job to import model that you have customized in other environments, such as Amazon SageMaker. For more information, see Import a customized model
Usage¶
bedrock_create_model_import_job(jobName, importedModelName, roleArn,
modelDataSource, jobTags, importedModelTags, clientRequestToken,
vpcConfig, importedModelKmsKeyId)
Arguments¶
-
jobName[required] The name of the import job.
-
importedModelName[required] The name of the imported model.
-
roleArn[required] The Amazon Resource Name (ARN) of the model import job.
-
modelDataSource[required] The data source for the imported model.
-
jobTagsTags to attach to this import job.
-
importedModelTagsTags to attach to the imported model.
-
clientRequestTokenA 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.
-
vpcConfigVPC configuration parameters for the private Virtual Private Cloud (VPC) that contains the resources you are using for the import job.
-
importedModelKmsKeyIdThe imported model is encrypted at rest using this key.
Value¶
A list with the following syntax:
Request syntax¶
svc$create_model_import_job(
jobName = "string",
importedModelName = "string",
roleArn = "string",
modelDataSource = list(
s3DataSource = list(
s3Uri = "string"
)
),
jobTags = list(
list(
key = "string",
value = "string"
)
),
importedModelTags = list(
list(
key = "string",
value = "string"
)
),
clientRequestToken = "string",
vpcConfig = list(
subnetIds = list(
"string"
),
securityGroupIds = list(
"string"
)
),
importedModelKmsKeyId = "string"
)