Module Values.PauseServiceResponseSource

Pause an active App Runner service. App Runner reduces compute capacity for the service to zero and loses state (for example, ephemeral storage is removed). This is an asynchronous operation. On a successful call, you can use the returned OperationId and the ListOperations call to track the operation's progress.

Sourcetype nonrec t = {
  1. service : Service.t option;
    (*

    A description of the App Runner service that this request just paused.

    *)
  2. operationId : UUID.t option;
    (*

    The unique ID of the asynchronous operation that this request started. You can use it combined with the ListOperations call to track the operation's progress.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalServiceErrorException of InternalServiceErrorException.t
  2. | `InvalidRequestException of InvalidRequestException.t
  3. | `InvalidStateException of InvalidStateException.t
  4. | `ResourceNotFoundException of ResourceNotFoundException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?service:??? -> ?operationId:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InternalServiceErrorException of InternalServiceErrorException.t | `InvalidRequestException of InvalidRequestException.t | `InvalidStateException of InvalidStateException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InternalServiceErrorException of InternalServiceErrorException.t | `InvalidRequestException of InvalidRequestException.t | `InvalidStateException of InvalidStateException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of UUID.t | `Structure of (string * [> `Enum of string | `String of ServiceName.t | `Structure of (string * [> `Boolean of NullableBoolean.t | `Enum of string | `Integer of HealthCheckInterval.t | `String of Cpu.t | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `String of String_.t | `Structure of (string * [> `Enum of string | `Map of ([> `String of RuntimeEnvironmentVariablesKey.t ] * [> `String of RuntimeEnvironmentVariablesValue.t ]) list | `String of String_.t | `Structure of (string * [> `Enum of string | `Map of ([> `String of RuntimeEnvironmentVariablesKey.t ] * [> `String of RuntimeEnvironmentVariablesValue.t ]) list | `String of BuildCommand.t ]) list ]) list ]) list | `Timestamp of Timestamp.t ]) list | `Timestamp of Timestamp.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