UNPKG

@vercel/sdk

Version:

<p align="center"> <a href="https://vercel.com"> <img src="https://assets.vercel.com/image/upload/v1588805858/repositories/vercel/logo.png" height="96"> <h3 align="center">Vercel</h3> </a> <p align="center">Develop. Preview. Ship.</p> </p>

55 lines 2.59 kB
import * as z from "zod/v3"; export type CreatePrivateLinkEndpointRequestBody = { /** * The project ID to create the PrivateLink endpoint for. */ projectId: string; /** * The name of the PrivateLink endpoint, used as its label in the Vercel dashboard. */ name: string; /** * The Vercel region to provision the endpoint in. Advanced Networking must be enabled for the project in that region. The endpoint service itself may live in another AWS region. */ vercelRegion: string; /** * The name of the AWS VPC endpoint service to connect to. Its AWS region is read from the name; when that region differs from the one behind `vercelRegion`, the service must allow cross-region access. */ awsServiceName: string; /** * Whether to resolve the endpoint service through its private DNS names, which are then returned in `privateDnsNames`. Defaults to `false`, in which case the endpoint is reachable through the DNS names in `awsDnsEntries`. */ enablePrivateDns?: boolean | undefined; }; export type CreatePrivateLinkEndpointRequest = { /** * The Team identifier to perform the request on behalf of. */ teamId?: string | undefined; /** * The Team slug to perform the request on behalf of. */ slug?: string | undefined; requestBody?: CreatePrivateLinkEndpointRequestBody | undefined; }; /** @internal */ export type CreatePrivateLinkEndpointRequestBody$Outbound = { projectId: string; name: string; vercelRegion: string; awsServiceName: string; enablePrivateDns?: boolean | undefined; }; /** @internal */ export declare const CreatePrivateLinkEndpointRequestBody$outboundSchema: z.ZodType<CreatePrivateLinkEndpointRequestBody$Outbound, z.ZodTypeDef, CreatePrivateLinkEndpointRequestBody>; export declare function createPrivateLinkEndpointRequestBodyToJSON(createPrivateLinkEndpointRequestBody: CreatePrivateLinkEndpointRequestBody): string; /** @internal */ export type CreatePrivateLinkEndpointRequest$Outbound = { teamId?: string | undefined; slug?: string | undefined; RequestBody?: CreatePrivateLinkEndpointRequestBody$Outbound | undefined; }; /** @internal */ export declare const CreatePrivateLinkEndpointRequest$outboundSchema: z.ZodType<CreatePrivateLinkEndpointRequest$Outbound, z.ZodTypeDef, CreatePrivateLinkEndpointRequest>; export declare function createPrivateLinkEndpointRequestToJSON(createPrivateLinkEndpointRequest: CreatePrivateLinkEndpointRequest): string; //# sourceMappingURL=createprivatelinkendpointop.d.ts.map