Class: Aws::ApiGatewayV2::Types::RouteSettings
- Inherits:
-
Struct
- Object
- Struct
- Aws::ApiGatewayV2::Types::RouteSettings
- Defined in:
- gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb
Overview
When making an API call, you may pass RouteSettings data as a hash:
{
data_trace_enabled: false,
detailed_metrics_enabled: false,
logging_level: "ERROR", # accepts ERROR, INFO, OFF
throttling_burst_limit: 1,
throttling_rate_limit: 1.0,
}
Represents a collection of route settings.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#data_trace_enabled ⇒ Boolean
Specifies whether (true) or not (false) data trace logging is enabled for this route.
-
#detailed_metrics_enabled ⇒ Boolean
Specifies whether detailed metrics are enabled.
-
#logging_level ⇒ String
Specifies the logging level for this route: INFO, ERROR, or OFF.
-
#throttling_burst_limit ⇒ Integer
Specifies the throttling burst limit.
-
#throttling_rate_limit ⇒ Float
Specifies the throttling rate limit.
Instance Attribute Details
#data_trace_enabled ⇒ Boolean
Specifies whether (true) or not (false) data trace logging is enabled for this route. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.
6208 6209 6210 6211 6212 6213 6214 6215 6216 |
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 6208 class RouteSettings < Struct.new( :data_trace_enabled, :detailed_metrics_enabled, :logging_level, :throttling_burst_limit, :throttling_rate_limit) SENSITIVE = [] include Aws::Structure end |
#detailed_metrics_enabled ⇒ Boolean
Specifies whether detailed metrics are enabled.
6208 6209 6210 6211 6212 6213 6214 6215 6216 |
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 6208 class RouteSettings < Struct.new( :data_trace_enabled, :detailed_metrics_enabled, :logging_level, :throttling_burst_limit, :throttling_rate_limit) SENSITIVE = [] include Aws::Structure end |
#logging_level ⇒ String
Specifies the logging level for this route: INFO, ERROR, or OFF. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs.
6208 6209 6210 6211 6212 6213 6214 6215 6216 |
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 6208 class RouteSettings < Struct.new( :data_trace_enabled, :detailed_metrics_enabled, :logging_level, :throttling_burst_limit, :throttling_rate_limit) SENSITIVE = [] include Aws::Structure end |
#throttling_burst_limit ⇒ Integer
Specifies the throttling burst limit.
6208 6209 6210 6211 6212 6213 6214 6215 6216 |
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 6208 class RouteSettings < Struct.new( :data_trace_enabled, :detailed_metrics_enabled, :logging_level, :throttling_burst_limit, :throttling_rate_limit) SENSITIVE = [] include Aws::Structure end |
#throttling_rate_limit ⇒ Float
Specifies the throttling rate limit.
6208 6209 6210 6211 6212 6213 6214 6215 6216 |
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 6208 class RouteSettings < Struct.new( :data_trace_enabled, :detailed_metrics_enabled, :logging_level, :throttling_burst_limit, :throttling_rate_limit) SENSITIVE = [] include Aws::Structure end |