Skip to content

Commit 4cbc947

Browse files
author
AWS
committed
AWS Lambda Update: New ResourceConflictException error code for PutFunctionEventInvokeConfig, UpdateFunctionEventInvokeConfig, and DeleteFunctionEventInvokeConfig operations.
1 parent e0ecc56 commit 4cbc947

File tree

2 files changed

+29
-20
lines changed

2 files changed

+29
-20
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": "New ResourceConflictException error code for PutFunctionEventInvokeConfig, UpdateFunctionEventInvokeConfig, and DeleteFunctionEventInvokeConfig operations."
6+
}

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

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,8 @@
238238
{"shape":"ServiceException"},
239239
{"shape":"ResourceNotFoundException"},
240240
{"shape":"InvalidParameterValueException"},
241-
{"shape":"TooManyRequestsException"}
241+
{"shape":"TooManyRequestsException"},
242+
{"shape":"ResourceConflictException"}
242243
],
243244
"documentation":"<p>Deletes the configuration for asynchronous invocation for a function, version, or alias.</p> <p>To configure options for asynchronous invocation, use <a>PutFunctionEventInvokeConfig</a>.</p>"
244245
},
@@ -835,7 +836,8 @@
835836
{"shape":"ServiceException"},
836837
{"shape":"ResourceNotFoundException"},
837838
{"shape":"InvalidParameterValueException"},
838-
{"shape":"TooManyRequestsException"}
839+
{"shape":"TooManyRequestsException"},
840+
{"shape":"ResourceConflictException"}
839841
],
840842
"documentation":"<p>Configures options for <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html\">asynchronous invocation</a> on a function, version, or alias. If a configuration already exists for a function, version, or alias, this operation overwrites it. If you exclude any settings, they are removed. To set one option without affecting existing settings for other options, use <a>UpdateFunctionEventInvokeConfig</a>.</p> <p>By default, Lambda retries an asynchronous invocation twice if the function returns an error. It retains events in a queue for up to six hours. When an event fails all processing attempts or stays in the asynchronous invocation queue for too long, Lambda discards it. To retain discarded events, configure a dead-letter queue with <a>UpdateFunctionConfiguration</a>.</p> <p>To send an invocation record to a queue, topic, function, or event bus, specify a <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations\">destination</a>. You can configure separate destinations for successful invocations (on-success) and events that fail all processing attempts (on-failure). You can configure destinations in addition to or instead of a dead-letter queue.</p>"
841843
},
@@ -1037,7 +1039,8 @@
10371039
{"shape":"ServiceException"},
10381040
{"shape":"ResourceNotFoundException"},
10391041
{"shape":"InvalidParameterValueException"},
1040-
{"shape":"TooManyRequestsException"}
1042+
{"shape":"TooManyRequestsException"},
1043+
{"shape":"ResourceConflictException"}
10411044
],
10421045
"documentation":"<p>Updates the configuration for asynchronous invocation for a function, version, or alias.</p> <p>To configure options for asynchronous invocation, use <a>PutFunctionEventInvokeConfig</a>.</p>"
10431046
}
@@ -1537,7 +1540,7 @@
15371540
},
15381541
"SourceAccessConfigurations":{
15391542
"shape":"SourceAccessConfigurations",
1540-
"documentation":"<p>An array of the authentication protocol, or the VPC components to secure your event source.</p>"
1543+
"documentation":"<p>An array of authentication protocols or VPC components required to secure your event source.</p>"
15411544
},
15421545
"SelfManagedEventSource":{
15431546
"shape":"SelfManagedEventSource",
@@ -1994,7 +1997,7 @@
19941997
},
19951998
"StartingPosition":{
19961999
"shape":"EventSourcePosition",
1997-
"documentation":"<p>The position in a stream from which to start reading. Required for Amazon Kinesis, Amazon DynamoDB, and Amazon MSK Streams sources. <code>AT_TIMESTAMP</code> is only supported for Amazon Kinesis streams.</p>"
2000+
"documentation":"<p>The position in a stream from which to start reading. Required for Amazon Kinesis, Amazon DynamoDB, and Amazon MSK stream sources. <code>AT_TIMESTAMP</code> is supported only for Amazon Kinesis streams.</p>"
19982001
},
19992002
"StartingPositionTimestamp":{
20002003
"shape":"Date",
@@ -2006,11 +2009,11 @@
20062009
},
20072010
"MaximumBatchingWindowInSeconds":{
20082011
"shape":"MaximumBatchingWindowInSeconds",
2009-
"documentation":"<p>(Streams and SQS standard queues) The maximum amount of time to gather records before invoking the function, in seconds. The default value is zero.</p>"
2012+
"documentation":"<p>(Streams and Amazon SQS standard queues) The maximum amount of time to gather records before invoking the function, in seconds. The default value is zero.</p>"
20102013
},
20112014
"ParallelizationFactor":{
20122015
"shape":"ParallelizationFactor",
2013-
"documentation":"<p>(Streams only) The number of batches to process from each shard concurrently. The default value is 1.</p>"
2016+
"documentation":"<p>(Streams only) The number of batches to process concurrently from each shard. The default value is 1.</p>"
20142017
},
20152018
"EventSourceArn":{
20162019
"shape":"Arn",
@@ -2022,19 +2025,19 @@
20222025
},
20232026
"LastModified":{
20242027
"shape":"Date",
2025-
"documentation":"<p>The date that the event source mapping was last updated, or its state changed.</p>"
2028+
"documentation":"<p>The date that the event source mapping was last updated or that its state changed.</p>"
20262029
},
20272030
"LastProcessingResult":{
20282031
"shape":"String",
2029-
"documentation":"<p>The result of the last Lambda invocation of your Lambda function.</p>"
2032+
"documentation":"<p>The result of the last Lambda invocation of your function.</p>"
20302033
},
20312034
"State":{
20322035
"shape":"String",
20332036
"documentation":"<p>The state of the event source mapping. It can be one of the following: <code>Creating</code>, <code>Enabling</code>, <code>Enabled</code>, <code>Disabling</code>, <code>Disabled</code>, <code>Updating</code>, or <code>Deleting</code>.</p>"
20342037
},
20352038
"StateTransitionReason":{
20362039
"shape":"String",
2037-
"documentation":"<p>Indicates whether the last change to the event source mapping was made by a user, or by the Lambda service.</p>"
2040+
"documentation":"<p>Indicates whether a user or Lambda made the last change to the event source mapping.</p>"
20382041
},
20392042
"DestinationConfig":{
20402043
"shape":"DestinationConfig",
@@ -2046,15 +2049,15 @@
20462049
},
20472050
"Queues":{
20482051
"shape":"Queues",
2049-
"documentation":"<p> (MQ) The name of the Amazon MQ broker destination queue to consume. </p>"
2052+
"documentation":"<p> (Amazon MQ) The name of the Amazon MQ broker destination queue to consume.</p>"
20502053
},
20512054
"SourceAccessConfigurations":{
20522055
"shape":"SourceAccessConfigurations",
2053-
"documentation":"<p>An array of the authentication protocol, or the VPC components to secure your event source.</p>"
2056+
"documentation":"<p>An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.</p>"
20542057
},
20552058
"SelfManagedEventSource":{
20562059
"shape":"SelfManagedEventSource",
2057-
"documentation":"<p>The Self-Managed Apache Kafka cluster for your event source.</p>"
2060+
"documentation":"<p>The self-managed Apache Kafka cluster for your event source.</p>"
20582061
},
20592062
"MaximumRecordAgeInSeconds":{
20602063
"shape":"MaximumRecordAgeInSeconds",
@@ -2070,14 +2073,14 @@
20702073
},
20712074
"TumblingWindowInSeconds":{
20722075
"shape":"TumblingWindowInSeconds",
2073-
"documentation":"<p>(Streams only) The duration in seconds of a processing window. The range is between 1 second up to 900 seconds.</p>"
2076+
"documentation":"<p>(Streams only) The duration in seconds of a processing window. The range is 1–900 seconds.</p>"
20742077
},
20752078
"FunctionResponseTypes":{
20762079
"shape":"FunctionResponseTypeList",
20772080
"documentation":"<p>(Streams only) A list of current response type enums applied to the event source mapping.</p>"
20782081
}
20792082
},
2080-
"documentation":"<p>A mapping between an Amazon Web Services resource and an Lambda function. See <a>CreateEventSourceMapping</a> for details.</p>"
2083+
"documentation":"<p>A mapping between an Amazon Web Services resource and a Lambda function. For details, see <a>CreateEventSourceMapping</a>.</p>"
20812084
},
20822085
"EventSourceMappingsList":{
20832086
"type":"list",
@@ -3327,7 +3330,7 @@
33273330
},
33283331
"MaxItems":{
33293332
"shape":"MaxListItems",
3330-
"documentation":"<p>The maximum number of event source mappings to return.</p>",
3333+
"documentation":"<p>The maximum number of event source mappings to return. Note that ListEventSourceMappings returns a maximum of 100 items in each response, even if you set the number higher.</p>",
33313334
"location":"querystring",
33323335
"locationName":"MaxItems"
33333336
}
@@ -4301,7 +4304,7 @@
43014304
"documentation":"<p>The list of bootstrap servers for your Kafka brokers in the following format: <code>\"KAFKA_BOOTSTRAP_SERVERS\": [\"abc.xyz.com:xxxx\",\"abc2.xyz.com:xxxx\"]</code>.</p>"
43024305
}
43034306
},
4304-
"documentation":"<p>The Self-Managed Apache Kafka cluster for your event source.</p>"
4307+
"documentation":"<p>The self-managed Apache Kafka cluster for your event source.</p>"
43054308
},
43064309
"SensitiveString":{
43074310
"type":"string",
@@ -4328,14 +4331,14 @@
43284331
"members":{
43294332
"Type":{
43304333
"shape":"SourceAccessType",
4331-
"documentation":"<p>The type of authentication protocol or the VPC components for your event source. For example: <code>\"Type\":\"SASL_SCRAM_512_AUTH\"</code>.</p> <ul> <li> <p> <code>BASIC_AUTH</code> - (MQ) The Secrets Manager secret that stores your broker credentials.</p> </li> <li> <p> <code>VPC_SUBNET</code> - The subnets associated with your VPC. Lambda connects to these subnets to fetch data from your Self-Managed Apache Kafka cluster.</p> </li> <li> <p> <code>VPC_SECURITY_GROUP</code> - The VPC security group used to manage access to your Self-Managed Apache Kafka brokers.</p> </li> <li> <p> <code>SASL_SCRAM_256_AUTH</code> - The Secrets Manager ARN of your secret key used for SASL SCRAM-256 authentication of your Self-Managed Apache Kafka brokers.</p> </li> <li> <p> <code>SASL_SCRAM_512_AUTH</code> - The Secrets Manager ARN of your secret key used for SASL SCRAM-512 authentication of your Self-Managed Apache Kafka brokers.</p> </li> <li> <p> <code>VIRTUAL_HOST</code> - The name of the virtual host in your RabbitMQ broker. Lambda will use this host as the event source.</p> </li> </ul>"
4334+
"documentation":"<p>The type of authentication protocol, VPC components, or virtual host for your event source. For example: <code>\"Type\":\"SASL_SCRAM_512_AUTH\"</code>.</p> <ul> <li> <p> <code>BASIC_AUTH</code> - (Amazon MQ) The Secrets Manager secret that stores your broker credentials.</p> </li> <li> <p> <code>BASIC_AUTH</code> - (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL/PLAIN authentication of your Apache Kafka brokers.</p> </li> <li> <p> <code>VPC_SUBNET</code> - The subnets associated with your VPC. Lambda connects to these subnets to fetch data from your self-managed Apache Kafka cluster.</p> </li> <li> <p> <code>VPC_SECURITY_GROUP</code> - The VPC security group used to manage access to your self-managed Apache Kafka brokers.</p> </li> <li> <p> <code>SASL_SCRAM_256_AUTH</code> - The Secrets Manager ARN of your secret key used for SASL SCRAM-256 authentication of your self-managed Apache Kafka brokers.</p> </li> <li> <p> <code>SASL_SCRAM_512_AUTH</code> - The Secrets Manager ARN of your secret key used for SASL SCRAM-512 authentication of your self-managed Apache Kafka brokers.</p> </li> <li> <p> <code>VIRTUAL_HOST</code> - (Amazon MQ) The name of the virtual host in your RabbitMQ broker. Lambda uses this RabbitMQ host as the event source.</p> </li> </ul>"
43324335
},
43334336
"URI":{
43344337
"shape":"URI",
43354338
"documentation":"<p>The value for your chosen configuration in <code>Type</code>. For example: <code>\"URI\": \"arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName\"</code>.</p>"
43364339
}
43374340
},
4338-
"documentation":"<p>You can specify the authentication protocol, or the VPC components to secure access to your event source.</p>"
4341+
"documentation":"<p>To secure and define access to your event source, you can specify the authentication protocol, VPC components, or virtual host.</p>"
43394342
},
43404343
"SourceAccessConfigurations":{
43414344
"type":"list",
@@ -4681,7 +4684,7 @@
46814684
},
46824685
"SourceAccessConfigurations":{
46834686
"shape":"SourceAccessConfigurations",
4684-
"documentation":"<p>An array of the authentication protocol, or the VPC components to secure your event source.</p>"
4687+
"documentation":"<p>An array of authentication protocols or VPC components required to secure your event source.</p>"
46854688
},
46864689
"TumblingWindowInSeconds":{
46874690
"shape":"TumblingWindowInSeconds",

0 commit comments

Comments
 (0)