list_syslog_configurations
¶
list_syslog_configurations(
*,
config_overrides: Optional[CloudWatchLogsClientConfig] = None,
log_group_identifier: Optional[LogGroupIdentifier] = None,
vpc_endpoint_id: Optional[VpcEndpointId] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[ListSyslogConfigurationsMaxResults] = None,
) -> ListSyslogConfigurationsResponse
Returns a list of syslog configurations. You can optionally filter the results by log group or VPC endpoint.
Parameters:
-
log_group_identifier(Optional[LogGroupIdentifier], default:None) –The name or ARN of the log group to filter syslog configurations for.
-
vpc_endpoint_id(Optional[VpcEndpointId], default:None) –The ID of the VPC endpoint to filter syslog configurations for.
-
next_token(Optional[NextToken], default:None) –The token for the next set of items to return. You received this token from a previous call.
-
max_results(Optional[ListSyslogConfigurationsMaxResults], default:None) –The maximum number of syslog configurations to return in the response.
Raises:
-
AccessDeniedException–You don't have sufficient permissions to perform this action.
-
InvalidOperationException–The operation is not valid on the specified resource.
-
InvalidParameterException–A parameter is specified incorrectly.
-
ResourceNotFoundException–The specified resource does not exist.
-
ServiceUnavailableException–The service cannot complete the request.
-
ThrottlingException–The request was throttled because of quota limits.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_cloudwatch_logs/_services/cloud_watch_logs.py
5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 | |