Module Values.CloseInstancePublicPortsRequestSource

Closes ports for a specific Amazon Lightsail instance. The CloseInstancePublicPorts action supports tag-based access control via resource tags applied to the resource identified by instanceName. For more information, see the Amazon Lightsail Developer Guide.

Sourcetype nonrec t = {
  1. portInfo : PortInfo.t;
    (*

    An object to describe the ports to close for the specified instance.

    *)
  2. instanceName : ResourceName.t;
    (*

    The name of the instance for which to close ports.

    *)
}
Sourceval context_ : string
Sourceval make : portInfo:PortInfo.t -> instanceName:ResourceName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ResourceName.t | `Structure of (string * [> `Enum of string | `Integer of Port.t | `List of [> `String of String_.t ] list ]) list ]) 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