list_logging_configurations
¶
list_logging_configurations(
scope: Scope,
*,
config_overrides: Optional[WAFV2ClientConfig] = None,
next_marker: Optional[NextMarker] = None,
limit: Optional[PaginationLimit] = None,
log_scope: Optional[LogScope] = None,
) -> ListLoggingConfigurationsResponse
Retrieves an array of your LoggingConfiguration objects.
Parameters:
-
scope(Scope) –Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use
CLOUDFRONT.To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
-
CLI - Specify the Region when you use the CloudFront scope:
--scope=CLOUDFRONT --region=us-east-1. -
API and SDKs - For all calls, use the Region endpoint us-east-1.
-
-
next_marker(Optional[NextMarker], default:None) –When you request a list of objects with a
Limitsetting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns aNextMarkervalue in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request. -
limit(Optional[PaginationLimit], default:None) –The maximum number of objects that you want WAF to return for this request. If more objects are available, in the response, WAF provides a
NextMarkervalue that you can use in a subsequent call to get the next batch of objects. -
log_scope(Optional[LogScope], default:None) –The owner of the logging configuration, which must be set to
CUSTOMERfor the configurations that you manage.The log scope
SECURITY_LAKEindicates a configuration that is managed through Amazon Security Lake. You can use Security Lake to collect log and event data from various sources for normalization, analysis, and management. For information, see Collecting data from Amazon Web Services services in the Amazon Security Lake user guide.The log scope
CLOUDWATCH_TELEMETRY_RULE_MANAGEDindicates a configuration that is managed through Amazon CloudWatch Logs for telemetry data collection and analysis. For information, see What is Amazon CloudWatch Logs ? in the Amazon CloudWatch Logs user guide.Default:
CUSTOMER
Raises:
-
WAFInternalErrorException–Your request is valid, but WAF couldn’t perform the operation because of a system problem. Retry your request.
-
WAFInvalidOperationException–The operation isn't valid.
-
WAFInvalidParameterException–The operation failed because WAF didn't recognize a parameter in the request. For example:
-
You specified a parameter name or value that isn't valid.
-
Your nested statement isn't valid. You might have tried to nest a statement that can’t be nested.
-
You tried to update a
WebACLwith aDefaultActionthat isn't among the types available at DefaultAction. -
Your request references an ARN that is malformed, or corresponds to a resource with which a web ACL can't be associated.
-
-
UnknownServiceError–The service returned an error code this client does not model.