---
title: "Update an AWS Privatelink Endpoint Service"
method: PUT
path: "/project/{project}/service/{service_name}/privatelink/aws"
tags: ["Service"]
---

# Update an AWS Privatelink Endpoint Service

`PUT /project/{project}/service/{service_name}/privatelink/aws`

## Path parameters

- `project` string, required
- `service_name` string, required

## Request body

- ServicePrivatelinkAWSUpdateRequestBody — ServicePrivatelinkAWSUpdateRequestBody
  - `principals` string[], required — ARNs of principals allowed connecting to the service

## Response `200`

Response

- ServicePrivatelinkAWSUpdateResponse — ServicePrivatelinkAWSUpdateResponse
  - `aws_service_id` string — AWS VPC endpoint service ID
  - `aws_service_name` string — AWS VPC endpoint service name
  - `errors` object[] — List of errors occurred during request processing
    - `message` string, required — Printable error message
    - `more_info` string — URL to the documentation of the error
    - `status` integer, required — HTTP error status code
  - `message` string — Printable result of the request
  - `principals` string[], required — ARNs of principals allowed connecting to the service
  - `state` 'creating' | 'active' | 'deleting', required — Privatelink resource state

---

[API](https://skmtc.net/aiven/apis/aiven-api-documentation.md) · [All operations](https://skmtc.net/aiven/apis/aiven-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aiven/aiven-api-documentation/versions/ecaeabf1da31/schema)
