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
6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 | |