Skip to content

Commit 9b2132c

Browse files
author
AWS
committed
AWS Lambda Update: Add ProvisionedPollerConfig to Lambda event-source-mapping API.
1 parent 449eca1 commit 9b2132c

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Lambda",
4+
"contributor": "",
5+
"description": "Add ProvisionedPollerConfig to Lambda event-source-mapping API."
6+
}

services/lambda/src/main/resources/codegen-resources/service-2.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1884,6 +1884,10 @@
18841884
"MetricsConfig":{
18851885
"shape":"EventSourceMappingMetricsConfig",
18861886
"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>"
1887+
},
1888+
"ProvisionedPollerConfig":{
1889+
"shape":"ProvisionedPollerConfig",
1890+
"documentation":"<p>(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>"
18871891
}
18881892
}
18891893
},
@@ -2597,6 +2601,10 @@
25972601
"MetricsConfig":{
25982602
"shape":"EventSourceMappingMetricsConfig",
25992603
"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>"
2604+
},
2605+
"ProvisionedPollerConfig":{
2606+
"shape":"ProvisionedPollerConfig",
2607+
"documentation":"<p>(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>"
26002608
}
26012609
},
26022610
"documentation":"<p>A mapping between an Amazon Web Services resource and a Lambda function. For details, see <a>CreateEventSourceMapping</a>.</p>"
@@ -4742,6 +4750,11 @@
47424750
"max":21600,
47434751
"min":60
47444752
},
4753+
"MaximumNumberOfPollers":{
4754+
"type":"integer",
4755+
"max":2000,
4756+
"min":1
4757+
},
47454758
"MaximumRecordAgeInSeconds":{
47464759
"type":"integer",
47474760
"max":604800,
@@ -4767,6 +4780,11 @@
47674780
"max":6,
47684781
"pattern":".*"
47694782
},
4783+
"MinimumNumberOfPollers":{
4784+
"type":"integer",
4785+
"max":200,
4786+
"min":1
4787+
},
47704788
"NameSpacedFunctionArn":{
47714789
"type":"string",
47724790
"pattern":"arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}(-gov)?-[a-z]+-\\d{1}:\\d{12}:function:[a-zA-Z0-9-_\\.]+(:(\\$LATEST|[a-zA-Z0-9-_]+))?"
@@ -4933,6 +4951,20 @@
49334951
"FAILED"
49344952
]
49354953
},
4954+
"ProvisionedPollerConfig":{
4955+
"type":"structure",
4956+
"members":{
4957+
"MinimumPollers":{
4958+
"shape":"MinimumNumberOfPollers",
4959+
"documentation":"<p>The minimum number of event pollers this event source can scale down to.</p>"
4960+
},
4961+
"MaximumPollers":{
4962+
"shape":"MaximumNumberOfPollers",
4963+
"documentation":"<p>The maximum number of event pollers this event source can scale up to.</p>"
4964+
}
4965+
},
4966+
"documentation":"<p>The <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#invocation-eventsourcemapping-provisioned-mode\"> Provisioned Mode</a> configuration for the event source. Use Provisioned Mode to customize the minimum and maximum number of event pollers for your event source. An event poller is a compute unit that provides approximately 5 MBps of throughput.</p>"
4967+
},
49364968
"PublishLayerVersionRequest":{
49374969
"type":"structure",
49384970
"required":[
@@ -6110,6 +6142,10 @@
61106142
"MetricsConfig":{
61116143
"shape":"EventSourceMappingMetricsConfig",
61126144
"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>"
6145+
},
6146+
"ProvisionedPollerConfig":{
6147+
"shape":"ProvisionedPollerConfig",
6148+
"documentation":"<p>(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>"
61136149
}
61146150
}
61156151
},

0 commit comments

Comments
 (0)