---
title: "PATCH /marketplace-model/endpoints/{endpointArn}"
method: PATCH
path: "/marketplace-model/endpoints/{endpointArn}"
---

# PATCH /marketplace-model/endpoints/{endpointArn}

`PATCH /marketplace-model/endpoints/{endpointArn}`

Updates the configuration of an existing endpoint for a model from Amazon Bedrock Marketplace.

## Path parameters

- `endpointArn` string, required

## Request body

- object
  - `endpointConfig` object, required — Specifies the configuration for the endpoint.
    - `sageMaker` object — The configuration specific to Amazon SageMaker for the endpoint.
      - `initialInstanceCount` integer, required — The number of Amazon EC2 compute instances to deploy for initial endpoint creation.
      - `instanceType` string, required — The Amazon EC2 compute instance type to deploy for hosting the model.
      - `executionRole` string, required — The ARN of the IAM role that Amazon SageMaker can assume to access model artifacts and docker image for deployment on Amazon EC2 compute instances or for batch transform jobs.
      - `kmsEncryptionKey` string — The Amazon Web Services KMS key that Amazon SageMaker uses to encrypt data on the storage volume attached to the Amazon EC2 compute instance that hosts the endpoint.
      - `vpc` object — The VPC configuration for the endpoint.
        - `subnetIds` SubnetId[], required — An array of IDs for each subnet in the VPC to use.
        - `securityGroupIds` SecurityGroupId[], required — An array of IDs for each security group in the VPC to use.
  - `clientRequestToken` string — A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This token is listed as not required because Amazon Web Services SDKs automatically generate it for you and set this parameter. If you're not using the Amazon Web Services SDK or the CLI, you must provide this token or the action will fail.

## Response `200`

Success

- UpdateMarketplaceModelEndpointResponse
  - `marketplaceModelEndpoint` object, required — Details about the updated endpoint.
    - `endpointArn` string, required — The Amazon Resource Name (ARN) of the endpoint.
    - `modelSourceIdentifier` string, required — The ARN of the model from Amazon Bedrock Marketplace that is deployed on this endpoint.
    - `status` 'REGISTERED' | 'INCOMPATIBLE_ENDPOINT' — The overall status of the endpoint in Amazon Bedrock Marketplace (e.g., ACTIVE, INACTIVE).
    - `statusMessage` string — Additional information about the overall status, if available.
    - `createdAt` string, date-time, required — The timestamp when the endpoint was registered.
    - `updatedAt` string, date-time, required — The timestamp when the endpoint was last updated.
    - `endpointConfig` object, required — The configuration of the endpoint, including the number and type of instances used.
      - `sageMaker` object — The configuration specific to Amazon SageMaker for the endpoint.
        - `initialInstanceCount` integer, required — The number of Amazon EC2 compute instances to deploy for initial endpoint creation.
        - `instanceType` string, required — The Amazon EC2 compute instance type to deploy for hosting the model.
        - `executionRole` string, required — The ARN of the IAM role that Amazon SageMaker can assume to access model artifacts and docker image for deployment on Amazon EC2 compute instances or for batch transform jobs.
        - `kmsEncryptionKey` string — The Amazon Web Services KMS key that Amazon SageMaker uses to encrypt data on the storage volume attached to the Amazon EC2 compute instance that hosts the endpoint.
        - `vpc` object — The VPC configuration for the endpoint.
          - `subnetIds` SubnetId[], required — An array of IDs for each subnet in the VPC to use.
          - `securityGroupIds` SecurityGroupId[], required — An array of IDs for each security group in the VPC to use.
    - `endpointStatus` string, required — The current status of the endpoint (e.g., Creating, InService, Updating, Failed).
    - `endpointStatusMessage` string — Additional information about the endpoint status, if available.

## Other responses

- `480` — ResourceNotFoundException
- `481` — AccessDeniedException
- `482` — ValidationException
- `483` — ConflictException
- `484` — InternalServerException
- `485` — ServiceQuotaExceededException
- `486` — 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)
