Create the PostgreSQL private endpoint
Changed onThis endpoint is in beta. API contract is stable, and no breaking changes are expected in the future. <br /><br /> Creates the AWS private endpoint service of a Postgres service. Creation takes about 5 to 10 minutes: state is creating until the service is available. A VPC endpoint can connect only after its ID is approved with the update endpoint. Returns 409 if the service already has a private endpoint. Private endpoints are available only for AWS Postgres services, and only for organizations with the feature enabled. Available on the Scale and Enterprise plans; Basic organizations get a 403.
Request
- Base URLhttps://api.clickhouse.cloud
- AuthHTTP basic
Path parameters
ID of the organization that owns the Postgres service.
ID of the Postgres service.
Request body
AWS region IDs, other than the service region, from which VPC endpoints can connect, such as us-west-2. The service region is always supported and must not be listed. Requires cross-region private endpoints to be enabled for the organization.
Example request
{
"supportedRegions": [
"us-west-2"
]
}Response
Successful response
HTTP status code.
Unique id assigned to every request. UUIDv4
Example response
{
"status": 200,
"result": {
"state": "available",
"endpointServiceName": "com.amazonaws.vpce.us-east-1.vpce-svc-0123456789abcdef0",
"endpointServiceId": "vpce-svc-0123456789abcdef0",
"ipAddressType": "dual",
"ports": [
{
"port": 5432,
"targetPort": 5432
}
],
"supportedRegions": [
"us-west-2"
],
"allowedVpcEndpoints": [
{
"vpcEndpointId": "vpce-0123456789abcdef0",
"description": "Production VPC"
}
]
}
}Changes
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info