aws-sdk-lambda 1.174.0 → 1.175.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lambda/client.rb +41 -12
- data/lib/aws-sdk-lambda/client_api.rb +8 -0
- data/lib/aws-sdk-lambda/types.rb +68 -4
- data/lib/aws-sdk-lambda.rb +1 -1
- data/sig/client.rbs +12 -2
- data/sig/types.rbs +9 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bfd5593ec7bbe12d14f8bede2c3991b9caaa73613f21d2eba312b6af930dc93c
|
|
4
|
+
data.tar.gz: 1a6e4996ce1b7bdeca0327a119d999c2b3440fc51afd53520cee96e2e53ecd8f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 65f8063a60d4dd5ef58bfda8ab7e95e4bbefef7dfb326b94810d2d6a183754a326fbeb567c6dec77e6019cb3d0097203e4f944de229f43331bbfd961f1ab9f17
|
|
7
|
+
data.tar.gz: '09f445c1327246dfe4e80590ae501d6e6f1c31f7d75226d8ea4b3b7b7d31bfb6aca9d08b446b62146f2a27b97e84d2a086747e5e3e0e34750008ac368ba87670'
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.175.0 (2026-01-28)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - We are launching ESM Metrics and logging for Kafka ESM to allow customers to monitor Kafka event processing using CloudWatch Metrics and Logs.
|
|
8
|
+
|
|
4
9
|
1.174.0 (2026-01-16)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.175.0
|
|
@@ -1432,6 +1432,15 @@ module Aws::Lambda
|
|
|
1432
1432
|
#
|
|
1433
1433
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics
|
|
1434
1434
|
#
|
|
1435
|
+
# @option params [Types::EventSourceMappingLoggingConfig] :logging_config
|
|
1436
|
+
# (Amazon MSK, and self-managed Apache Kafka only) The logging
|
|
1437
|
+
# configuration for your event source. For more information, see [Event
|
|
1438
|
+
# source mapping logging][1].
|
|
1439
|
+
#
|
|
1440
|
+
#
|
|
1441
|
+
#
|
|
1442
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/esm-logging.html
|
|
1443
|
+
#
|
|
1435
1444
|
# @option params [Types::ProvisionedPollerConfig] :provisioned_poller_config
|
|
1436
1445
|
# (Amazon SQS, Amazon MSK, and self-managed Apache Kafka only) The
|
|
1437
1446
|
# provisioned mode configuration for the event source. For more
|
|
@@ -1474,6 +1483,7 @@ module Aws::Lambda
|
|
|
1474
1483
|
# * {Types::EventSourceMappingConfiguration#filter_criteria_error #filter_criteria_error} => Types::FilterCriteriaError
|
|
1475
1484
|
# * {Types::EventSourceMappingConfiguration#event_source_mapping_arn #event_source_mapping_arn} => String
|
|
1476
1485
|
# * {Types::EventSourceMappingConfiguration#metrics_config #metrics_config} => Types::EventSourceMappingMetricsConfig
|
|
1486
|
+
# * {Types::EventSourceMappingConfiguration#logging_config #logging_config} => Types::EventSourceMappingLoggingConfig
|
|
1477
1487
|
# * {Types::EventSourceMappingConfiguration#provisioned_poller_config #provisioned_poller_config} => Types::ProvisionedPollerConfig
|
|
1478
1488
|
#
|
|
1479
1489
|
#
|
|
@@ -1591,7 +1601,10 @@ module Aws::Lambda
|
|
|
1591
1601
|
# },
|
|
1592
1602
|
# kms_key_arn: "KMSKeyArn",
|
|
1593
1603
|
# metrics_config: {
|
|
1594
|
-
# metrics: ["EventCount"], # accepts EventCount
|
|
1604
|
+
# metrics: ["EventCount"], # accepts EventCount, ErrorCount, KafkaMetrics
|
|
1605
|
+
# },
|
|
1606
|
+
# logging_config: {
|
|
1607
|
+
# system_log_level: "DEBUG", # accepts DEBUG, INFO, WARN
|
|
1595
1608
|
# },
|
|
1596
1609
|
# provisioned_poller_config: {
|
|
1597
1610
|
# minimum_pollers: 1,
|
|
@@ -1659,7 +1672,8 @@ module Aws::Lambda
|
|
|
1659
1672
|
# resp.filter_criteria_error.message #=> String
|
|
1660
1673
|
# resp.event_source_mapping_arn #=> String
|
|
1661
1674
|
# resp.metrics_config.metrics #=> Array
|
|
1662
|
-
# resp.metrics_config.metrics[0] #=> String, one of "EventCount"
|
|
1675
|
+
# resp.metrics_config.metrics[0] #=> String, one of "EventCount", "ErrorCount", "KafkaMetrics"
|
|
1676
|
+
# resp.logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
|
|
1663
1677
|
# resp.provisioned_poller_config.minimum_pollers #=> Integer
|
|
1664
1678
|
# resp.provisioned_poller_config.maximum_pollers #=> Integer
|
|
1665
1679
|
# resp.provisioned_poller_config.poller_group_name #=> String
|
|
@@ -2517,6 +2531,7 @@ module Aws::Lambda
|
|
|
2517
2531
|
# * {Types::EventSourceMappingConfiguration#filter_criteria_error #filter_criteria_error} => Types::FilterCriteriaError
|
|
2518
2532
|
# * {Types::EventSourceMappingConfiguration#event_source_mapping_arn #event_source_mapping_arn} => String
|
|
2519
2533
|
# * {Types::EventSourceMappingConfiguration#metrics_config #metrics_config} => Types::EventSourceMappingMetricsConfig
|
|
2534
|
+
# * {Types::EventSourceMappingConfiguration#logging_config #logging_config} => Types::EventSourceMappingLoggingConfig
|
|
2520
2535
|
# * {Types::EventSourceMappingConfiguration#provisioned_poller_config #provisioned_poller_config} => Types::ProvisionedPollerConfig
|
|
2521
2536
|
#
|
|
2522
2537
|
#
|
|
@@ -2604,7 +2619,8 @@ module Aws::Lambda
|
|
|
2604
2619
|
# resp.filter_criteria_error.message #=> String
|
|
2605
2620
|
# resp.event_source_mapping_arn #=> String
|
|
2606
2621
|
# resp.metrics_config.metrics #=> Array
|
|
2607
|
-
# resp.metrics_config.metrics[0] #=> String, one of "EventCount"
|
|
2622
|
+
# resp.metrics_config.metrics[0] #=> String, one of "EventCount", "ErrorCount", "KafkaMetrics"
|
|
2623
|
+
# resp.logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
|
|
2608
2624
|
# resp.provisioned_poller_config.minimum_pollers #=> Integer
|
|
2609
2625
|
# resp.provisioned_poller_config.maximum_pollers #=> Integer
|
|
2610
2626
|
# resp.provisioned_poller_config.poller_group_name #=> String
|
|
@@ -3543,6 +3559,7 @@ module Aws::Lambda
|
|
|
3543
3559
|
# * {Types::EventSourceMappingConfiguration#filter_criteria_error #filter_criteria_error} => Types::FilterCriteriaError
|
|
3544
3560
|
# * {Types::EventSourceMappingConfiguration#event_source_mapping_arn #event_source_mapping_arn} => String
|
|
3545
3561
|
# * {Types::EventSourceMappingConfiguration#metrics_config #metrics_config} => Types::EventSourceMappingMetricsConfig
|
|
3562
|
+
# * {Types::EventSourceMappingConfiguration#logging_config #logging_config} => Types::EventSourceMappingLoggingConfig
|
|
3546
3563
|
# * {Types::EventSourceMappingConfiguration#provisioned_poller_config #provisioned_poller_config} => Types::ProvisionedPollerConfig
|
|
3547
3564
|
#
|
|
3548
3565
|
#
|
|
@@ -3637,7 +3654,8 @@ module Aws::Lambda
|
|
|
3637
3654
|
# resp.filter_criteria_error.message #=> String
|
|
3638
3655
|
# resp.event_source_mapping_arn #=> String
|
|
3639
3656
|
# resp.metrics_config.metrics #=> Array
|
|
3640
|
-
# resp.metrics_config.metrics[0] #=> String, one of "EventCount"
|
|
3657
|
+
# resp.metrics_config.metrics[0] #=> String, one of "EventCount", "ErrorCount", "KafkaMetrics"
|
|
3658
|
+
# resp.logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
|
|
3641
3659
|
# resp.provisioned_poller_config.minimum_pollers #=> Integer
|
|
3642
3660
|
# resp.provisioned_poller_config.maximum_pollers #=> Integer
|
|
3643
3661
|
# resp.provisioned_poller_config.poller_group_name #=> String
|
|
@@ -4681,9 +4699,9 @@ module Aws::Lambda
|
|
|
4681
4699
|
# * {Types::GetProvisionedConcurrencyConfigResponse#last_modified #last_modified} => Time
|
|
4682
4700
|
#
|
|
4683
4701
|
#
|
|
4684
|
-
# @example Example: To
|
|
4702
|
+
# @example Example: To view a provisioned concurrency configuration
|
|
4685
4703
|
#
|
|
4686
|
-
# # The following example
|
|
4704
|
+
# # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
|
|
4687
4705
|
# # function.
|
|
4688
4706
|
#
|
|
4689
4707
|
# resp = client.get_provisioned_concurrency_config({
|
|
@@ -4700,9 +4718,9 @@ module Aws::Lambda
|
|
|
4700
4718
|
# status: "READY",
|
|
4701
4719
|
# }
|
|
4702
4720
|
#
|
|
4703
|
-
# @example Example: To
|
|
4721
|
+
# @example Example: To get a provisioned concurrency configuration
|
|
4704
4722
|
#
|
|
4705
|
-
# # The following example
|
|
4723
|
+
# # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
|
|
4706
4724
|
# # function.
|
|
4707
4725
|
#
|
|
4708
4726
|
# resp = client.get_provisioned_concurrency_config({
|
|
@@ -5749,7 +5767,8 @@ module Aws::Lambda
|
|
|
5749
5767
|
# resp.event_source_mappings[0].filter_criteria_error.message #=> String
|
|
5750
5768
|
# resp.event_source_mappings[0].event_source_mapping_arn #=> String
|
|
5751
5769
|
# resp.event_source_mappings[0].metrics_config.metrics #=> Array
|
|
5752
|
-
# resp.event_source_mappings[0].metrics_config.metrics[0] #=> String, one of "EventCount"
|
|
5770
|
+
# resp.event_source_mappings[0].metrics_config.metrics[0] #=> String, one of "EventCount", "ErrorCount", "KafkaMetrics"
|
|
5771
|
+
# resp.event_source_mappings[0].logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
|
|
5753
5772
|
# resp.event_source_mappings[0].provisioned_poller_config.minimum_pollers #=> Integer
|
|
5754
5773
|
# resp.event_source_mappings[0].provisioned_poller_config.maximum_pollers #=> Integer
|
|
5755
5774
|
# resp.event_source_mappings[0].provisioned_poller_config.poller_group_name #=> String
|
|
@@ -8524,6 +8543,11 @@ module Aws::Lambda
|
|
|
8524
8543
|
#
|
|
8525
8544
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics
|
|
8526
8545
|
#
|
|
8546
|
+
# @option params [Types::EventSourceMappingLoggingConfig] :logging_config
|
|
8547
|
+
# (Amazon MSK, and self-managed Apache Kafka only) The logging
|
|
8548
|
+
# configuration for your event source. Use this configuration object to
|
|
8549
|
+
# define the level of logs for your event source mapping.
|
|
8550
|
+
#
|
|
8527
8551
|
# @option params [Types::ProvisionedPollerConfig] :provisioned_poller_config
|
|
8528
8552
|
# (Amazon SQS, Amazon MSK, and self-managed Apache Kafka only) The
|
|
8529
8553
|
# provisioned mode configuration for the event source. For more
|
|
@@ -8566,6 +8590,7 @@ module Aws::Lambda
|
|
|
8566
8590
|
# * {Types::EventSourceMappingConfiguration#filter_criteria_error #filter_criteria_error} => Types::FilterCriteriaError
|
|
8567
8591
|
# * {Types::EventSourceMappingConfiguration#event_source_mapping_arn #event_source_mapping_arn} => String
|
|
8568
8592
|
# * {Types::EventSourceMappingConfiguration#metrics_config #metrics_config} => Types::EventSourceMappingMetricsConfig
|
|
8593
|
+
# * {Types::EventSourceMappingConfiguration#logging_config #logging_config} => Types::EventSourceMappingLoggingConfig
|
|
8569
8594
|
# * {Types::EventSourceMappingConfiguration#provisioned_poller_config #provisioned_poller_config} => Types::ProvisionedPollerConfig
|
|
8570
8595
|
#
|
|
8571
8596
|
#
|
|
@@ -8673,7 +8698,10 @@ module Aws::Lambda
|
|
|
8673
8698
|
# },
|
|
8674
8699
|
# kms_key_arn: "KMSKeyArn",
|
|
8675
8700
|
# metrics_config: {
|
|
8676
|
-
# metrics: ["EventCount"], # accepts EventCount
|
|
8701
|
+
# metrics: ["EventCount"], # accepts EventCount, ErrorCount, KafkaMetrics
|
|
8702
|
+
# },
|
|
8703
|
+
# logging_config: {
|
|
8704
|
+
# system_log_level: "DEBUG", # accepts DEBUG, INFO, WARN
|
|
8677
8705
|
# },
|
|
8678
8706
|
# provisioned_poller_config: {
|
|
8679
8707
|
# minimum_pollers: 1,
|
|
@@ -8741,7 +8769,8 @@ module Aws::Lambda
|
|
|
8741
8769
|
# resp.filter_criteria_error.message #=> String
|
|
8742
8770
|
# resp.event_source_mapping_arn #=> String
|
|
8743
8771
|
# resp.metrics_config.metrics #=> Array
|
|
8744
|
-
# resp.metrics_config.metrics[0] #=> String, one of "EventCount"
|
|
8772
|
+
# resp.metrics_config.metrics[0] #=> String, one of "EventCount", "ErrorCount", "KafkaMetrics"
|
|
8773
|
+
# resp.logging_config.system_log_level #=> String, one of "DEBUG", "INFO", "WARN"
|
|
8745
8774
|
# resp.provisioned_poller_config.minimum_pollers #=> Integer
|
|
8746
8775
|
# resp.provisioned_poller_config.maximum_pollers #=> Integer
|
|
8747
8776
|
# resp.provisioned_poller_config.poller_group_name #=> String
|
|
@@ -9717,7 +9746,7 @@ module Aws::Lambda
|
|
|
9717
9746
|
tracer: tracer
|
|
9718
9747
|
)
|
|
9719
9748
|
context[:gem_name] = 'aws-sdk-lambda'
|
|
9720
|
-
context[:gem_version] = '1.
|
|
9749
|
+
context[:gem_version] = '1.175.0'
|
|
9721
9750
|
Seahorse::Client::Request.new(handlers, context)
|
|
9722
9751
|
end
|
|
9723
9752
|
|
|
@@ -166,9 +166,11 @@ module Aws::Lambda
|
|
|
166
166
|
EventResult = Shapes::StructureShape.new(name: 'EventResult')
|
|
167
167
|
EventSourceMappingArn = Shapes::StringShape.new(name: 'EventSourceMappingArn')
|
|
168
168
|
EventSourceMappingConfiguration = Shapes::StructureShape.new(name: 'EventSourceMappingConfiguration')
|
|
169
|
+
EventSourceMappingLoggingConfig = Shapes::StructureShape.new(name: 'EventSourceMappingLoggingConfig')
|
|
169
170
|
EventSourceMappingMetric = Shapes::StringShape.new(name: 'EventSourceMappingMetric')
|
|
170
171
|
EventSourceMappingMetricList = Shapes::ListShape.new(name: 'EventSourceMappingMetricList')
|
|
171
172
|
EventSourceMappingMetricsConfig = Shapes::StructureShape.new(name: 'EventSourceMappingMetricsConfig')
|
|
173
|
+
EventSourceMappingSystemLogLevel = Shapes::StringShape.new(name: 'EventSourceMappingSystemLogLevel')
|
|
172
174
|
EventSourceMappingsList = Shapes::ListShape.new(name: 'EventSourceMappingsList')
|
|
173
175
|
EventSourcePosition = Shapes::StringShape.new(name: 'EventSourcePosition')
|
|
174
176
|
EventSourceToken = Shapes::StringShape.new(name: 'EventSourceToken')
|
|
@@ -851,6 +853,7 @@ module Aws::Lambda
|
|
|
851
853
|
CreateEventSourceMappingRequest.add_member(:document_db_event_source_config, Shapes::ShapeRef.new(shape: DocumentDBEventSourceConfig, location_name: "DocumentDBEventSourceConfig"))
|
|
852
854
|
CreateEventSourceMappingRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "KMSKeyArn"))
|
|
853
855
|
CreateEventSourceMappingRequest.add_member(:metrics_config, Shapes::ShapeRef.new(shape: EventSourceMappingMetricsConfig, location_name: "MetricsConfig"))
|
|
856
|
+
CreateEventSourceMappingRequest.add_member(:logging_config, Shapes::ShapeRef.new(shape: EventSourceMappingLoggingConfig, location_name: "LoggingConfig"))
|
|
854
857
|
CreateEventSourceMappingRequest.add_member(:provisioned_poller_config, Shapes::ShapeRef.new(shape: ProvisionedPollerConfig, location_name: "ProvisionedPollerConfig"))
|
|
855
858
|
CreateEventSourceMappingRequest.struct_class = Types::CreateEventSourceMappingRequest
|
|
856
859
|
|
|
@@ -1105,9 +1108,13 @@ module Aws::Lambda
|
|
|
1105
1108
|
EventSourceMappingConfiguration.add_member(:filter_criteria_error, Shapes::ShapeRef.new(shape: FilterCriteriaError, location_name: "FilterCriteriaError"))
|
|
1106
1109
|
EventSourceMappingConfiguration.add_member(:event_source_mapping_arn, Shapes::ShapeRef.new(shape: EventSourceMappingArn, location_name: "EventSourceMappingArn"))
|
|
1107
1110
|
EventSourceMappingConfiguration.add_member(:metrics_config, Shapes::ShapeRef.new(shape: EventSourceMappingMetricsConfig, location_name: "MetricsConfig"))
|
|
1111
|
+
EventSourceMappingConfiguration.add_member(:logging_config, Shapes::ShapeRef.new(shape: EventSourceMappingLoggingConfig, location_name: "LoggingConfig"))
|
|
1108
1112
|
EventSourceMappingConfiguration.add_member(:provisioned_poller_config, Shapes::ShapeRef.new(shape: ProvisionedPollerConfig, location_name: "ProvisionedPollerConfig"))
|
|
1109
1113
|
EventSourceMappingConfiguration.struct_class = Types::EventSourceMappingConfiguration
|
|
1110
1114
|
|
|
1115
|
+
EventSourceMappingLoggingConfig.add_member(:system_log_level, Shapes::ShapeRef.new(shape: EventSourceMappingSystemLogLevel, location_name: "SystemLogLevel"))
|
|
1116
|
+
EventSourceMappingLoggingConfig.struct_class = Types::EventSourceMappingLoggingConfig
|
|
1117
|
+
|
|
1111
1118
|
EventSourceMappingMetricList.member = Shapes::ShapeRef.new(shape: EventSourceMappingMetric)
|
|
1112
1119
|
|
|
1113
1120
|
EventSourceMappingMetricsConfig.add_member(:metrics, Shapes::ShapeRef.new(shape: EventSourceMappingMetricList, location_name: "Metrics"))
|
|
@@ -2187,6 +2194,7 @@ module Aws::Lambda
|
|
|
2187
2194
|
UpdateEventSourceMappingRequest.add_member(:document_db_event_source_config, Shapes::ShapeRef.new(shape: DocumentDBEventSourceConfig, location_name: "DocumentDBEventSourceConfig"))
|
|
2188
2195
|
UpdateEventSourceMappingRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "KMSKeyArn"))
|
|
2189
2196
|
UpdateEventSourceMappingRequest.add_member(:metrics_config, Shapes::ShapeRef.new(shape: EventSourceMappingMetricsConfig, location_name: "MetricsConfig"))
|
|
2197
|
+
UpdateEventSourceMappingRequest.add_member(:logging_config, Shapes::ShapeRef.new(shape: EventSourceMappingLoggingConfig, location_name: "LoggingConfig"))
|
|
2190
2198
|
UpdateEventSourceMappingRequest.add_member(:provisioned_poller_config, Shapes::ShapeRef.new(shape: ProvisionedPollerConfig, location_name: "ProvisionedPollerConfig"))
|
|
2191
2199
|
UpdateEventSourceMappingRequest.struct_class = Types::UpdateEventSourceMappingRequest
|
|
2192
2200
|
|
data/lib/aws-sdk-lambda/types.rb
CHANGED
|
@@ -1535,6 +1535,16 @@ module Aws::Lambda
|
|
|
1535
1535
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics
|
|
1536
1536
|
# @return [Types::EventSourceMappingMetricsConfig]
|
|
1537
1537
|
#
|
|
1538
|
+
# @!attribute [rw] logging_config
|
|
1539
|
+
# (Amazon MSK, and self-managed Apache Kafka only) The logging
|
|
1540
|
+
# configuration for your event source. For more information, see
|
|
1541
|
+
# [Event source mapping logging][1].
|
|
1542
|
+
#
|
|
1543
|
+
#
|
|
1544
|
+
#
|
|
1545
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/esm-logging.html
|
|
1546
|
+
# @return [Types::EventSourceMappingLoggingConfig]
|
|
1547
|
+
#
|
|
1538
1548
|
# @!attribute [rw] provisioned_poller_config
|
|
1539
1549
|
# (Amazon SQS, Amazon MSK, and self-managed Apache Kafka only) The
|
|
1540
1550
|
# provisioned mode configuration for the event source. For more
|
|
@@ -1574,6 +1584,7 @@ module Aws::Lambda
|
|
|
1574
1584
|
:document_db_event_source_config,
|
|
1575
1585
|
:kms_key_arn,
|
|
1576
1586
|
:metrics_config,
|
|
1587
|
+
:logging_config,
|
|
1577
1588
|
:provisioned_poller_config)
|
|
1578
1589
|
SENSITIVE = []
|
|
1579
1590
|
include Aws::Structure
|
|
@@ -3112,6 +3123,16 @@ module Aws::Lambda
|
|
|
3112
3123
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics
|
|
3113
3124
|
# @return [Types::EventSourceMappingMetricsConfig]
|
|
3114
3125
|
#
|
|
3126
|
+
# @!attribute [rw] logging_config
|
|
3127
|
+
# (Amazon MSK, and self-managed Apache Kafka only) The logging
|
|
3128
|
+
# configuration for your event source. For more information, see
|
|
3129
|
+
# [Event source mapping logging][1].
|
|
3130
|
+
#
|
|
3131
|
+
#
|
|
3132
|
+
#
|
|
3133
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/esm-logging.html
|
|
3134
|
+
# @return [Types::EventSourceMappingLoggingConfig]
|
|
3135
|
+
#
|
|
3115
3136
|
# @!attribute [rw] provisioned_poller_config
|
|
3116
3137
|
# (Amazon SQS, Amazon MSK, and self-managed Apache Kafka only) The
|
|
3117
3138
|
# provisioned mode configuration for the event source. For more
|
|
@@ -3156,20 +3177,56 @@ module Aws::Lambda
|
|
|
3156
3177
|
:filter_criteria_error,
|
|
3157
3178
|
:event_source_mapping_arn,
|
|
3158
3179
|
:metrics_config,
|
|
3180
|
+
:logging_config,
|
|
3159
3181
|
:provisioned_poller_config)
|
|
3160
3182
|
SENSITIVE = []
|
|
3161
3183
|
include Aws::Structure
|
|
3162
3184
|
end
|
|
3163
3185
|
|
|
3186
|
+
# (Amazon MSK, and self-managed Apache Kafka only) The logging
|
|
3187
|
+
# configuration for your event source. Use this configuration object to
|
|
3188
|
+
# define the level of logs for your event source mapping.
|
|
3189
|
+
#
|
|
3190
|
+
# @!attribute [rw] system_log_level
|
|
3191
|
+
# The log level you want your event source mapping to use. Lambda
|
|
3192
|
+
# event poller only sends system logs at the selected level of detail
|
|
3193
|
+
# and lower, where `DEBUG` is the highest level and `WARN` is the
|
|
3194
|
+
# lowest. For more information about these metrics, see [ Event source
|
|
3195
|
+
# mapping logging][1].
|
|
3196
|
+
#
|
|
3197
|
+
#
|
|
3198
|
+
#
|
|
3199
|
+
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/esm-logging.html
|
|
3200
|
+
# @return [String]
|
|
3201
|
+
#
|
|
3202
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventSourceMappingLoggingConfig AWS API Documentation
|
|
3203
|
+
#
|
|
3204
|
+
class EventSourceMappingLoggingConfig < Struct.new(
|
|
3205
|
+
:system_log_level)
|
|
3206
|
+
SENSITIVE = []
|
|
3207
|
+
include Aws::Structure
|
|
3208
|
+
end
|
|
3209
|
+
|
|
3164
3210
|
# The metrics configuration for your event source. Use this
|
|
3165
3211
|
# configuration object to define which metrics you want your event
|
|
3166
3212
|
# source mapping to produce.
|
|
3167
3213
|
#
|
|
3168
3214
|
# @!attribute [rw] metrics
|
|
3169
|
-
# The metrics you want your event source mapping to produce
|
|
3170
|
-
# `EventCount`
|
|
3171
|
-
#
|
|
3172
|
-
#
|
|
3215
|
+
# The metrics you want your event source mapping to produce, including
|
|
3216
|
+
# `EventCount`, `ErrorCount`, `KafkaMetrics`.
|
|
3217
|
+
#
|
|
3218
|
+
# * `EventCount` to receive metrics related to the number of events
|
|
3219
|
+
# processed by your event source mapping.
|
|
3220
|
+
#
|
|
3221
|
+
# * `ErrorCount` (Amazon MSK and self-managed Apache Kafka) to receive
|
|
3222
|
+
# metrics related to the number of errors in your event source
|
|
3223
|
+
# mapping processing.
|
|
3224
|
+
#
|
|
3225
|
+
# * `KafkaMetrics` (Amazon MSK and self-managed Apache Kafka) to
|
|
3226
|
+
# receive metrics related to the Kafka consumers from your event
|
|
3227
|
+
# source mapping.
|
|
3228
|
+
#
|
|
3229
|
+
# For more information about these metrics, see [ Event source mapping
|
|
3173
3230
|
# metrics][1].
|
|
3174
3231
|
#
|
|
3175
3232
|
#
|
|
@@ -9166,6 +9223,12 @@ module Aws::Lambda
|
|
|
9166
9223
|
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/monitoring-metrics-types.html#event-source-mapping-metrics
|
|
9167
9224
|
# @return [Types::EventSourceMappingMetricsConfig]
|
|
9168
9225
|
#
|
|
9226
|
+
# @!attribute [rw] logging_config
|
|
9227
|
+
# (Amazon MSK, and self-managed Apache Kafka only) The logging
|
|
9228
|
+
# configuration for your event source. Use this configuration object
|
|
9229
|
+
# to define the level of logs for your event source mapping.
|
|
9230
|
+
# @return [Types::EventSourceMappingLoggingConfig]
|
|
9231
|
+
#
|
|
9169
9232
|
# @!attribute [rw] provisioned_poller_config
|
|
9170
9233
|
# (Amazon SQS, Amazon MSK, and self-managed Apache Kafka only) The
|
|
9171
9234
|
# provisioned mode configuration for the event source. For more
|
|
@@ -9199,6 +9262,7 @@ module Aws::Lambda
|
|
|
9199
9262
|
:document_db_event_source_config,
|
|
9200
9263
|
:kms_key_arn,
|
|
9201
9264
|
:metrics_config,
|
|
9265
|
+
:logging_config,
|
|
9202
9266
|
:provisioned_poller_config)
|
|
9203
9267
|
SENSITIVE = []
|
|
9204
9268
|
include Aws::Structure
|
data/lib/aws-sdk-lambda.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -271,6 +271,7 @@ module Aws
|
|
|
271
271
|
def filter_criteria_error: () -> Types::FilterCriteriaError
|
|
272
272
|
def event_source_mapping_arn: () -> ::String
|
|
273
273
|
def metrics_config: () -> Types::EventSourceMappingMetricsConfig
|
|
274
|
+
def logging_config: () -> Types::EventSourceMappingLoggingConfig
|
|
274
275
|
def provisioned_poller_config: () -> Types::ProvisionedPollerConfig
|
|
275
276
|
end
|
|
276
277
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#create_event_source_mapping-instance_method
|
|
@@ -361,7 +362,10 @@ module Aws
|
|
|
361
362
|
},
|
|
362
363
|
?kms_key_arn: ::String,
|
|
363
364
|
?metrics_config: {
|
|
364
|
-
metrics: Array[("EventCount")]?
|
|
365
|
+
metrics: Array[("EventCount" | "ErrorCount" | "KafkaMetrics")]?
|
|
366
|
+
},
|
|
367
|
+
?logging_config: {
|
|
368
|
+
system_log_level: ("DEBUG" | "INFO" | "WARN")?
|
|
365
369
|
},
|
|
366
370
|
?provisioned_poller_config: {
|
|
367
371
|
minimum_pollers: ::Integer?,
|
|
@@ -578,6 +582,7 @@ module Aws
|
|
|
578
582
|
def filter_criteria_error: () -> Types::FilterCriteriaError
|
|
579
583
|
def event_source_mapping_arn: () -> ::String
|
|
580
584
|
def metrics_config: () -> Types::EventSourceMappingMetricsConfig
|
|
585
|
+
def logging_config: () -> Types::EventSourceMappingLoggingConfig
|
|
581
586
|
def provisioned_poller_config: () -> Types::ProvisionedPollerConfig
|
|
582
587
|
end
|
|
583
588
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#delete_event_source_mapping-instance_method
|
|
@@ -764,6 +769,7 @@ module Aws
|
|
|
764
769
|
def filter_criteria_error: () -> Types::FilterCriteriaError
|
|
765
770
|
def event_source_mapping_arn: () -> ::String
|
|
766
771
|
def metrics_config: () -> Types::EventSourceMappingMetricsConfig
|
|
772
|
+
def logging_config: () -> Types::EventSourceMappingLoggingConfig
|
|
767
773
|
def provisioned_poller_config: () -> Types::ProvisionedPollerConfig
|
|
768
774
|
end
|
|
769
775
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#get_event_source_mapping-instance_method
|
|
@@ -1620,6 +1626,7 @@ module Aws
|
|
|
1620
1626
|
def filter_criteria_error: () -> Types::FilterCriteriaError
|
|
1621
1627
|
def event_source_mapping_arn: () -> ::String
|
|
1622
1628
|
def metrics_config: () -> Types::EventSourceMappingMetricsConfig
|
|
1629
|
+
def logging_config: () -> Types::EventSourceMappingLoggingConfig
|
|
1623
1630
|
def provisioned_poller_config: () -> Types::ProvisionedPollerConfig
|
|
1624
1631
|
end
|
|
1625
1632
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#update_event_source_mapping-instance_method
|
|
@@ -1702,7 +1709,10 @@ module Aws
|
|
|
1702
1709
|
},
|
|
1703
1710
|
?kms_key_arn: ::String,
|
|
1704
1711
|
?metrics_config: {
|
|
1705
|
-
metrics: Array[("EventCount")]?
|
|
1712
|
+
metrics: Array[("EventCount" | "ErrorCount" | "KafkaMetrics")]?
|
|
1713
|
+
},
|
|
1714
|
+
?logging_config: {
|
|
1715
|
+
system_log_level: ("DEBUG" | "INFO" | "WARN")?
|
|
1706
1716
|
},
|
|
1707
1717
|
?provisioned_poller_config: {
|
|
1708
1718
|
minimum_pollers: ::Integer?,
|
data/sig/types.rbs
CHANGED
|
@@ -368,6 +368,7 @@ module Aws::Lambda
|
|
|
368
368
|
attr_accessor document_db_event_source_config: Types::DocumentDBEventSourceConfig
|
|
369
369
|
attr_accessor kms_key_arn: ::String
|
|
370
370
|
attr_accessor metrics_config: Types::EventSourceMappingMetricsConfig
|
|
371
|
+
attr_accessor logging_config: Types::EventSourceMappingLoggingConfig
|
|
371
372
|
attr_accessor provisioned_poller_config: Types::ProvisionedPollerConfig
|
|
372
373
|
SENSITIVE: []
|
|
373
374
|
end
|
|
@@ -691,12 +692,18 @@ module Aws::Lambda
|
|
|
691
692
|
attr_accessor filter_criteria_error: Types::FilterCriteriaError
|
|
692
693
|
attr_accessor event_source_mapping_arn: ::String
|
|
693
694
|
attr_accessor metrics_config: Types::EventSourceMappingMetricsConfig
|
|
695
|
+
attr_accessor logging_config: Types::EventSourceMappingLoggingConfig
|
|
694
696
|
attr_accessor provisioned_poller_config: Types::ProvisionedPollerConfig
|
|
695
697
|
SENSITIVE: []
|
|
696
698
|
end
|
|
697
699
|
|
|
700
|
+
class EventSourceMappingLoggingConfig
|
|
701
|
+
attr_accessor system_log_level: ("DEBUG" | "INFO" | "WARN")
|
|
702
|
+
SENSITIVE: []
|
|
703
|
+
end
|
|
704
|
+
|
|
698
705
|
class EventSourceMappingMetricsConfig
|
|
699
|
-
attr_accessor metrics: ::Array[("EventCount")]
|
|
706
|
+
attr_accessor metrics: ::Array[("EventCount" | "ErrorCount" | "KafkaMetrics")]
|
|
700
707
|
SENSITIVE: []
|
|
701
708
|
end
|
|
702
709
|
|
|
@@ -2083,6 +2090,7 @@ module Aws::Lambda
|
|
|
2083
2090
|
attr_accessor document_db_event_source_config: Types::DocumentDBEventSourceConfig
|
|
2084
2091
|
attr_accessor kms_key_arn: ::String
|
|
2085
2092
|
attr_accessor metrics_config: Types::EventSourceMappingMetricsConfig
|
|
2093
|
+
attr_accessor logging_config: Types::EventSourceMappingLoggingConfig
|
|
2086
2094
|
attr_accessor provisioned_poller_config: Types::ProvisionedPollerConfig
|
|
2087
2095
|
SENSITIVE: []
|
|
2088
2096
|
end
|