NAME
Paws::SecurityHub::AwsApiGatewayMethodSettings
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::SecurityHub::AwsApiGatewayMethodSettings object:
$service_obj->Method(Att1 => { CacheDataEncrypted => $value, ..., UnauthorizedCacheControlHeaderStrategy => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::SecurityHub::AwsApiGatewayMethodSettings object:
$result = $service_obj->Method(...);
$result->Att1->CacheDataEncrypted
DESCRIPTION
Defines settings for a method for the stage.
ATTRIBUTES
CacheDataEncrypted => Bool
Indicates whether the cached responses are encrypted.
CacheTtlInSeconds => Int
Specifies the time to live (TTL), in seconds, for cached responses. The higher the TTL, the longer the response is cached.
CachingEnabled => Bool
Indicates whether responses are cached and returned for requests. For responses to be cached, a cache cluster must be enabled on the stage.
DataTraceEnabled => Bool
Indicates whether data trace logging is enabled for the method. Data trace logging affects the log entries that are pushed to CloudWatch Logs.
HttpMethod => Str
The HTTP method. You can use an asterisk (*) as a wildcard to apply method settings to multiple methods.
LoggingLevel => Str
The logging level for this method. The logging level affects the log entries that are pushed to CloudWatch Logs.
If the logging level is ERROR
, then the logs only include error-level entries.
If the logging level is INFO
, then the logs include both ERROR
events and extra informational events.
Valid values: OFF
| ERROR
| INFO
MetricsEnabled => Bool
Indicates whether CloudWatch metrics are enabled for the method.
RequireAuthorizationForCacheControl => Bool
Indicates whether authorization is required for a cache invalidation request.
ResourcePath => Str
The resource path for this method. Forward slashes (/) are encoded as ~1 . The initial slash must include a forward slash.
For example, the path value /resource/subresource
must be encoded as /~1resource~1subresource
.
To specify the root path, use only a slash (/). You can use an asterisk (*) as a wildcard to apply method settings to multiple methods.
ThrottlingBurstLimit => Int
The throttling burst limit for the method.
ThrottlingRateLimit => Num
The throttling rate limit for the method.
UnauthorizedCacheControlHeaderStrategy => Str
Indicates how to handle unauthorized requests for cache invalidation.
Valid values: FAIL_WITH_403
| SUCCEED_WITH_RESPONSE_HEADER
| SUCCEED_WITHOUT_RESPONSE_HEADER
SEE ALSO
This class forms part of Paws, describing an object used in Paws::SecurityHub
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues