MethodSetting

Specifies the method setting properties.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Specifies whether the cached responses are encrypted.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

Specifies whether Amazon CloudWatch metrics are enabled for this method.

Link copied to clipboard

Specifies whether authorization is required for a cache invalidation request.

Link copied to clipboard

Specifies the throttling burst limit.

Link copied to clipboard

Specifies the throttling rate limit.

Link copied to clipboard

Specifies how to handle unauthorized requests for cache invalidation.

Functions

Link copied to clipboard
inline fun copy(block: MethodSetting.Builder.() -> Unit = {}): MethodSetting
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String