list_syslog_configurations
async
¶
list_syslog_configurations(
*,
config_overrides: Optional[AsyncCloudWatchLogsClientConfig] = 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/async_cloud_watch_logs.py
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 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 | |