Module Values.MethodSettingSource

Specifies the method setting properties.

Sourcetype nonrec t = {
  1. metricsEnabled : Boolean.t option;
    (*

    Specifies whether Amazon CloudWatch metrics are enabled for this method.

    *)
  2. loggingLevel : String_.t option;
    (*

    Specifies the logging level for this method, which affects the log entries pushed to Amazon CloudWatch Logs. Valid values are OFF, ERROR, and INFO. Choose ERROR to write only error-level entries to CloudWatch Logs, or choose INFO to include all ERROR events as well as extra informational events.

    *)
  3. dataTraceEnabled : Boolean.t option;
    (*

    Specifies whether data trace logging is enabled for this method, which affects the log entries pushed to Amazon CloudWatch Logs. This can be useful to troubleshoot APIs, but can result in logging sensitive data. We recommend that you don't enable this option for production APIs.

    *)
  4. throttlingBurstLimit : Integer.t option;
    (*

    Specifies the throttling burst limit.

    *)
  5. throttlingRateLimit : Double.t option;
    (*

    Specifies the throttling rate limit.

    *)
  6. cachingEnabled : Boolean.t option;
    (*

    Specifies whether responses should be cached and returned for requests. A cache cluster must be enabled on the stage for responses to be cached.

    *)
  7. cacheTtlInSeconds : Integer.t option;
    (*

    Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response will be cached.

    *)
  8. cacheDataEncrypted : Boolean.t option;
    (*

    Specifies whether the cached responses are encrypted.

    *)
  9. requireAuthorizationForCacheControl : Boolean.t option;
    (*

    Specifies whether authorization is required for a cache invalidation request.

    *)
  10. unauthorizedCacheControlHeaderStrategy : UnauthorizedCacheControlHeaderStrategy.t option;
    (*

    Specifies how to handle unauthorized requests for cache invalidation.

    *)
}
Sourceval make : ?metricsEnabled:??? -> ?loggingLevel:??? -> ?dataTraceEnabled:??? -> ?throttlingBurstLimit:??? -> ?throttlingRateLimit:??? -> ?cachingEnabled:??? -> ?cacheTtlInSeconds:??? -> ?cacheDataEncrypted:??? -> ?requireAuthorizationForCacheControl:??? -> ?unauthorizedCacheControlHeaderStrategy:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Double of Double.t | `Enum of string | `Integer of Integer.t | `String of String_.t ]) 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