Module Values.UpdateInstanceMetadataOptionsResultSource

Modifies the Amazon Lightsail instance metadata parameters on a running or stopped instance. When you modify the parameters on a running instance, the GetInstance or GetInstances API operation initially responds with a state of pending. After the parameter modifications are successfully applied, the state changes to applied in subsequent GetInstance or GetInstances API calls. For more information, see Use IMDSv2 with an Amazon Lightsail instance in 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