---
title: "POST /model-import-jobs"
method: POST
path: "/model-import-jobs"
---

# POST /model-import-jobs

`POST /model-import-jobs`

Creates a model import job to import model that you have customized in other environments, such as Amazon SageMaker. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html">Import a customized model</a>

## Request body

- object
  - `jobName` string, required — The name of the import job.
  - `importedModelName` string, required — The name of the imported model.
  - `roleArn` string, required — The Amazon Resource Name (ARN) of the model import job.
  - `modelDataSource` object, required — The data source of the model to import.
    - `s3DataSource` object — The Amazon S3 data source of the model to import.
      - `s3Uri` string, required — The URI of the Amazon S3 data source.
  - `jobTags` Tag[] — Tags to attach to this import job.
    - `key` string, required — Key for the tag.
    - `value` string, required — Value for the tag.
  - `importedModelTags` Tag[] — Tags to attach to the imported model.
    - `key` string, required — Key for the tag.
    - `value` string, required — Value for the tag.
  - `clientRequestToken` string — 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 <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.
  - `vpcConfig` object — The configuration of a virtual private cloud (VPC). For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/usingVPC.html">Protect your data using Amazon Virtual Private Cloud and Amazon Web Services PrivateLink</a>.
    - `subnetIds` SubnetId[] — An array of IDs for each subnet in the VPC to use.
    - `securityGroupIds` SecurityGroupId[] — An array of IDs for each security group in the VPC to use.
  - `importedModelKmsKeyId` string — The imported model is encrypted at rest using this key.

## Response `201`

Success

- CreateModelImportJobResponse
  - `jobArn` string, required — The Amazon Resource Name (ARN) of the model import job.

## Other responses

- `480` — ResourceNotFoundException
- `481` — AccessDeniedException
- `482` — ValidationException
- `483` — ConflictException
- `484` — InternalServerException
- `485` — TooManyTagsException
- `486` — ServiceQuotaExceededException
- `487` — ThrottlingException

---

[API](https://skmtc.net/aws/apis/bedrock.md) · [All operations](https://skmtc.net/aws/apis/bedrock/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/bedrock/versions/3bc874e43ecd/schema)
