Module Values.VpcLinkSource

An API Gateway VPC link for a RestApi to access resources in an Amazon Virtual Private Cloud (VPC).

Sourcetype nonrec t = {
  1. id : String_.t option;
    (*

    The identifier of the VpcLink. It is used in an Integration to reference this VpcLink.

    *)
  2. name : String_.t option;
    (*

    The name used to label and identify the VPC link.

    *)
  3. description : String_.t option;
    (*

    The description of the VPC link.

    *)
  4. targetArns : ListOfString.t option;
    (*

    The ARN of the network load balancer of the VPC targeted by the VPC link. The network load balancer must be owned by the same Amazon Web Services account of the API owner.

    *)
  5. status : VpcLinkStatus.t option;
    (*

    The status of the VPC link. The valid values are AVAILABLE, PENDING, DELETING, or FAILED. Deploying an API will wait if the status is PENDING and will fail if the status is DELETING.

    *)
  6. statusMessage : String_.t option;
    (*

    A description about the VPC link status.

    *)
  7. tags : MapOfStringToString.t option;
    (*

    The collection of tags. Each tag element is associated with a given resource.

    *)
}
Sourcetype nonrec error = [
  1. | `BadRequestException of BadRequestException.t
  2. | `ConflictException of ConflictException.t
  3. | `LimitExceededException of LimitExceededException.t
  4. | `TooManyRequestsException of TooManyRequestsException.t
  5. | `UnauthorizedException of UnauthorizedException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?id:??? -> ?name:??? -> ?description:??? -> ?targetArns:??? -> ?status:??? -> ?statusMessage:??? -> ?tags:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `BadRequestException of BadRequestException.t | `ConflictException of ConflictException.t | `LimitExceededException of LimitExceededException.t | `TooManyRequestsException of TooManyRequestsException.t | `UnauthorizedException of UnauthorizedException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `BadRequestException of BadRequestException.t | `ConflictException of ConflictException.t | `LimitExceededException of LimitExceededException.t | `TooManyRequestsException of TooManyRequestsException.t | `UnauthorizedException of UnauthorizedException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `String of String_.t ] list | `Map of ([> `String of String_.t ] * [> `String of String_.t ]) list | `String of String_.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t