|
2833 | 2833 | "shape":"EventSourceMappingMetricsConfig", |
2834 | 2834 | "documentation":"<p>The metrics configuration for your event source. For more information, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics\">Event source mapping metrics</a>.</p>" |
2835 | 2835 | }, |
| 2836 | + "LoggingConfig":{ |
| 2837 | + "shape":"EventSourceMappingLoggingConfig", |
| 2838 | + "documentation":"<p>(Amazon MSK, and self-managed Apache Kafka only) The logging configuration for your event source. For more information, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/esm-logging.html\">Event source mapping logging</a>.</p>" |
| 2839 | + }, |
2836 | 2840 | "ProvisionedPollerConfig":{ |
2837 | 2841 | "shape":"ProvisionedPollerConfig", |
2838 | 2842 | "documentation":"<p>(Amazon SQS, Amazon MSK, and self-managed Apache Kafka only) The provisioned mode configuration for the event source. For more information, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode\">provisioned mode</a>.</p>" |
|
3861 | 3865 | "shape":"EventSourceMappingMetricsConfig", |
3862 | 3866 | "documentation":"<p>The metrics configuration for your event source. For more information, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics\">Event source mapping metrics</a>.</p>" |
3863 | 3867 | }, |
| 3868 | + "LoggingConfig":{ |
| 3869 | + "shape":"EventSourceMappingLoggingConfig", |
| 3870 | + "documentation":"<p>(Amazon MSK, and self-managed Apache Kafka only) The logging configuration for your event source. For more information, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/esm-logging.html\">Event source mapping logging</a>.</p>" |
| 3871 | + }, |
3864 | 3872 | "ProvisionedPollerConfig":{ |
3865 | 3873 | "shape":"ProvisionedPollerConfig", |
3866 | 3874 | "documentation":"<p>(Amazon SQS, Amazon MSK, and self-managed Apache Kafka only) The provisioned mode configuration for the event source. For more information, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode\">provisioned mode</a>.</p>" |
3867 | 3875 | } |
3868 | 3876 | }, |
3869 | 3877 | "documentation":"<p>A mapping between an Amazon Web Services resource and a Lambda function. For details, see <a>CreateEventSourceMapping</a>.</p>" |
3870 | 3878 | }, |
| 3879 | + "EventSourceMappingLoggingConfig":{ |
| 3880 | + "type":"structure", |
| 3881 | + "members":{ |
| 3882 | + "SystemLogLevel":{ |
| 3883 | + "shape":"EventSourceMappingSystemLogLevel", |
| 3884 | + "documentation":"<p> The log level you want your event source mapping to use. Lambda event poller only sends system logs at the selected level of detail and lower, where <code>DEBUG</code> is the highest level and <code>WARN</code> is the lowest. For more information about these metrics, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/esm-logging.html\"> Event source mapping logging</a>. </p>" |
| 3885 | + } |
| 3886 | + }, |
| 3887 | + "documentation":"<p>(Amazon MSK, and self-managed Apache Kafka only) The logging configuration for your event source. Use this configuration object to define the level of logs for your event source mapping. </p>" |
| 3888 | + }, |
3871 | 3889 | "EventSourceMappingMetric":{ |
3872 | 3890 | "type":"string", |
3873 | | - "enum":["EventCount"] |
| 3891 | + "enum":[ |
| 3892 | + "EventCount", |
| 3893 | + "ErrorCount", |
| 3894 | + "KafkaMetrics" |
| 3895 | + ] |
3874 | 3896 | }, |
3875 | 3897 | "EventSourceMappingMetricList":{ |
3876 | 3898 | "type":"list", |
3877 | 3899 | "member":{"shape":"EventSourceMappingMetric"}, |
3878 | | - "max":1, |
| 3900 | + "max":3, |
3879 | 3901 | "min":0 |
3880 | 3902 | }, |
3881 | 3903 | "EventSourceMappingMetricsConfig":{ |
3882 | 3904 | "type":"structure", |
3883 | 3905 | "members":{ |
3884 | 3906 | "Metrics":{ |
3885 | 3907 | "shape":"EventSourceMappingMetricList", |
3886 | | - "documentation":"<p> The metrics you want your event source mapping to produce. Include <code>EventCount</code> to receive event source mapping metrics related to the number of events processed by your event source mapping. For more information about these metrics, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics\"> Event source mapping metrics</a>. </p>" |
| 3908 | + "documentation":"<p> The metrics you want your event source mapping to produce, including <code>EventCount</code>, <code>ErrorCount</code>, <code>KafkaMetrics</code>. </p> <ul> <li> <p> <code>EventCount</code> to receive metrics related to the number of events processed by your event source mapping.</p> </li> <li> <p> <code>ErrorCount</code> (Amazon MSK and self-managed Apache Kafka) to receive metrics related to the number of errors in your event source mapping processing.</p> </li> <li> <p> <code>KafkaMetrics</code> (Amazon MSK and self-managed Apache Kafka) to receive metrics related to the Kafka consumers from your event source mapping.</p> </li> </ul> <p> For more information about these metrics, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics\"> Event source mapping metrics</a>. </p>" |
3887 | 3909 | } |
3888 | 3910 | }, |
3889 | 3911 | "documentation":"<p>The metrics configuration for your event source. Use this configuration object to define which metrics you want your event source mapping to produce.</p>" |
3890 | 3912 | }, |
| 3913 | + "EventSourceMappingSystemLogLevel":{ |
| 3914 | + "type":"string", |
| 3915 | + "enum":[ |
| 3916 | + "DEBUG", |
| 3917 | + "INFO", |
| 3918 | + "WARN" |
| 3919 | + ] |
| 3920 | + }, |
3891 | 3921 | "EventSourceMappingsList":{ |
3892 | 3922 | "type":"list", |
3893 | 3923 | "member":{"shape":"EventSourceMappingConfiguration"} |
|
8966 | 8996 | "shape":"EventSourceMappingMetricsConfig", |
8967 | 8997 | "documentation":"<p>The metrics configuration for your event source. For more information, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics\">Event source mapping metrics</a>.</p>" |
8968 | 8998 | }, |
| 8999 | + "LoggingConfig":{"shape":"EventSourceMappingLoggingConfig"}, |
8969 | 9000 | "ProvisionedPollerConfig":{ |
8970 | 9001 | "shape":"ProvisionedPollerConfig", |
8971 | 9002 | "documentation":"<p>(Amazon SQS, Amazon MSK, and self-managed Apache Kafka only) The provisioned mode configuration for the event source. For more information, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode\">provisioned mode</a>.</p>" |
|
0 commit comments