Skip to content

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.

  • jobTags

    Tags to attach to this import job.

  • importedModelTags

    Tags to attach to the imported model.

  • 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.

  • vpcConfig

    VPC configuration parameters for the private Virtual Private Cloud (VPC) that contains the resources you are using for the import job.

  • importedModelKmsKeyId

    The imported model is encrypted at rest using this key.

Value

A list with the following syntax:

list(
  jobArn = "string"
)

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"
)