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
5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 | |