Module Values.PutInstancePublicPortsResultSource

Opens ports for a specific Amazon Lightsail instance, and specifies the IP addresses allowed to connect to the instance through the ports, and the protocol. This action also closes all currently open ports that are not included in the request. Include all of the ports and the protocols you want to open in your PutInstancePublicPortsrequest. Or use the OpenInstancePublicPorts action to open ports without closing currently open ports. The PutInstancePublicPorts 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. operation : Operation.t option;
    (*

    An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `AccountSetupInProgressException of AccountSetupInProgressException.t
  3. | `InvalidInputException of InvalidInputException.t
  4. | `NotFoundException of NotFoundException.t
  5. | `OperationFailureException of OperationFailureException.t
  6. | `RegionSetupInProgressException of RegionSetupInProgressException.t
  7. | `ServiceException of ServiceException.t
  8. | `UnauthenticatedException of UnauthenticatedException.t
  9. | `Unknown_operation_error of string * string option
]
Sourceval make : ?operation:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `AccountSetupInProgressException of AccountSetupInProgressException.t | `InvalidInputException of InvalidInputException.t | `NotFoundException of NotFoundException.t | `OperationFailureException of OperationFailureException.t | `RegionSetupInProgressException of RegionSetupInProgressException.t | `ServiceException of ServiceException.t | `UnauthenticatedException of UnauthenticatedException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `AccountSetupInProgressException of AccountSetupInProgressException.t | `InvalidInputException of InvalidInputException.t | `NotFoundException of NotFoundException.t | `OperationFailureException of OperationFailureException.t | `RegionSetupInProgressException of RegionSetupInProgressException.t | `ServiceException of ServiceException.t | `UnauthenticatedException of UnauthenticatedException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `String of NonEmptyString.t | `Structure of (string * [> `Enum of string | `String of String_.t ]) list | `Timestamp of IsoDate.t ]) 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