Values.PutInstancePublicPortsResultSourceOpens 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.
type nonrec t = {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.
*)}type nonrec error = [ | `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 ]val 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 ]val 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 ]