|
84 | 84 | {"shape":"TooManyRequestsException"},
|
85 | 85 | {"shape":"ResourceNotFoundException"}
|
86 | 86 | ],
|
87 |
| - "documentation":"<p>Creates a mapping between an event source and an AWS Lambda function. Lambda reads items from the event source and triggers the function.</p> <p>For details about each event source type, see the following topics.</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html\">Using AWS Lambda with Amazon DynamoDB</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html\">Using AWS Lambda with Amazon Kinesis</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html\">Using AWS Lambda with Amazon SQS</a> </p> </li> </ul> <p>The following error handling options are only available for stream sources (DynamoDB and Kinesis):</p> <ul> <li> <p> <code>BisectBatchOnFunctionError</code> - If the function returns an error, split the batch in two and retry.</p> </li> <li> <p> <code>DestinationConfig</code> - Send discarded records to an Amazon SQS queue or Amazon SNS topic.</p> </li> <li> <p> <code>MaximumRecordAgeInSeconds</code> - Discard records older than the specified age.</p> </li> <li> <p> <code>MaximumRetryAttempts</code> - Discard records after the specified number of retries.</p> </li> <li> <p> <code>ParallelizationFactor</code> - Process multiple batches from each shard concurrently.</p> </li> </ul>" |
| 87 | + "documentation":"<p>Creates a mapping between an event source and an AWS Lambda function. Lambda reads items from the event source and triggers the function.</p> <p>For details about each event source type, see the following topics.</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html\">Using AWS Lambda with Amazon DynamoDB</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html\">Using AWS Lambda with Amazon Kinesis</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html\">Using AWS Lambda with Amazon SQS</a> </p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html\">Using AWS Lambda with Amazon MSK</a> </p> </li> </ul> <p>The following error handling options are only available for stream sources (DynamoDB and Kinesis):</p> <ul> <li> <p> <code>BisectBatchOnFunctionError</code> - If the function returns an error, split the batch in two and retry.</p> </li> <li> <p> <code>DestinationConfig</code> - Send discarded records to an Amazon SQS queue or Amazon SNS topic.</p> </li> <li> <p> <code>MaximumRecordAgeInSeconds</code> - Discard records older than the specified age. Default -1 (infinite). Minimum 60. Maximum 604800.</p> </li> <li> <p> <code>MaximumRetryAttempts</code> - Discard records after the specified number of retries. Default -1 (infinite). Minimum 0. Maximum 10000. When infinite, failed records will be retried until the record expires.</p> </li> <li> <p> <code>ParallelizationFactor</code> - Process multiple batches from each shard concurrently.</p> </li> </ul>" |
88 | 88 | },
|
89 | 89 | "CreateFunction":{
|
90 | 90 | "name":"CreateFunction",
|
|
825 | 825 | {"shape":"ResourceConflictException"},
|
826 | 826 | {"shape":"ResourceInUseException"}
|
827 | 827 | ],
|
828 |
| - "documentation":"<p>Updates an event source mapping. You can change the function that AWS Lambda invokes, or pause invocation and resume later from the same location.</p> <p>The following error handling options are only available for stream sources (DynamoDB and Kinesis):</p> <ul> <li> <p> <code>BisectBatchOnFunctionError</code> - If the function returns an error, split the batch in two and retry.</p> </li> <li> <p> <code>DestinationConfig</code> - Send discarded records to an Amazon SQS queue or Amazon SNS topic.</p> </li> <li> <p> <code>MaximumRecordAgeInSeconds</code> - Discard records older than the specified age.</p> </li> <li> <p> <code>MaximumRetryAttempts</code> - Discard records after the specified number of retries.</p> </li> <li> <p> <code>ParallelizationFactor</code> - Process multiple batches from each shard concurrently.</p> </li> </ul>" |
| 828 | + "documentation":"<p>Updates an event source mapping. You can change the function that AWS Lambda invokes, or pause invocation and resume later from the same location.</p> <p>The following error handling options are only available for stream sources (DynamoDB and Kinesis):</p> <ul> <li> <p> <code>BisectBatchOnFunctionError</code> - If the function returns an error, split the batch in two and retry.</p> </li> <li> <p> <code>DestinationConfig</code> - Send discarded records to an Amazon SQS queue or Amazon SNS topic.</p> </li> <li> <p> <code>MaximumRecordAgeInSeconds</code> - Discard records older than the specified age. Default -1 (infinite). Minimum 60. Maximum 604800.</p> </li> <li> <p> <code>MaximumRetryAttempts</code> - Discard records after the specified number of retries. Default -1 (infinite). Minimum 0. Maximum 10000. When infinite, failed records will be retried until the record expires.</p> </li> <li> <p> <code>ParallelizationFactor</code> - Process multiple batches from each shard concurrently.</p> </li> </ul>" |
829 | 829 | },
|
830 | 830 | "UpdateFunctionCode":{
|
831 | 831 | "name":"UpdateFunctionCode",
|
|
1196 | 1196 | "members":{
|
1197 | 1197 | "EventSourceArn":{
|
1198 | 1198 | "shape":"Arn",
|
1199 |
| - "documentation":"<p>The Amazon Resource Name (ARN) of the event source.</p> <ul> <li> <p> <b>Amazon Kinesis</b> - The ARN of the data stream or a stream consumer.</p> </li> <li> <p> <b>Amazon DynamoDB Streams</b> - The ARN of the stream.</p> </li> <li> <p> <b>Amazon Simple Queue Service</b> - The ARN of the queue.</p> </li> </ul>" |
| 1199 | + "documentation":"<p>The Amazon Resource Name (ARN) of the event source.</p> <ul> <li> <p> <b>Amazon Kinesis</b> - The ARN of the data stream or a stream consumer.</p> </li> <li> <p> <b>Amazon DynamoDB Streams</b> - The ARN of the stream.</p> </li> <li> <p> <b>Amazon Simple Queue Service</b> - The ARN of the queue.</p> </li> <li> <p> <b>Amazon Managed Streaming for Apache Kafka</b> - The ARN of the cluster.</p> </li> </ul>" |
1200 | 1200 | },
|
1201 | 1201 | "FunctionName":{
|
1202 | 1202 | "shape":"FunctionName",
|
1203 | 1203 | "documentation":"<p>The name of the Lambda function.</p> <p class=\"title\"> <b>Name formats</b> </p> <ul> <li> <p> <b>Function name</b> - <code>MyFunction</code>.</p> </li> <li> <p> <b>Function ARN</b> - <code>arn:aws:lambda:us-west-2:123456789012:function:MyFunction</code>.</p> </li> <li> <p> <b>Version or Alias ARN</b> - <code>arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD</code>.</p> </li> <li> <p> <b>Partial ARN</b> - <code>123456789012:function:MyFunction</code>.</p> </li> </ul> <p>The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 characters in length.</p>"
|
1204 | 1204 | },
|
1205 | 1205 | "Enabled":{
|
1206 | 1206 | "shape":"Enabled",
|
1207 |
| - "documentation":"<p>Disables the event source mapping to pause polling and invocation.</p>" |
| 1207 | + "documentation":"<p>If true, the event source mapping is active. Set to false to pause polling and invocation.</p>" |
1208 | 1208 | },
|
1209 | 1209 | "BatchSize":{
|
1210 | 1210 | "shape":"BatchSize",
|
1211 |
| - "documentation":"<p>The maximum number of items to retrieve in a single batch.</p> <ul> <li> <p> <b>Amazon Kinesis</b> - Default 100. Max 10,000.</p> </li> <li> <p> <b>Amazon DynamoDB Streams</b> - Default 100. Max 1,000.</p> </li> <li> <p> <b>Amazon Simple Queue Service</b> - Default 10. Max 10.</p> </li> </ul>" |
| 1211 | + "documentation":"<p>The maximum number of items to retrieve in a single batch.</p> <ul> <li> <p> <b>Amazon Kinesis</b> - Default 100. Max 10,000.</p> </li> <li> <p> <b>Amazon DynamoDB Streams</b> - Default 100. Max 1,000.</p> </li> <li> <p> <b>Amazon Simple Queue Service</b> - Default 10. Max 10.</p> </li> <li> <p> <b>Amazon Managed Streaming for Apache Kafka</b> - Default 100. Max 10,000.</p> </li> </ul>" |
1212 | 1212 | },
|
1213 | 1213 | "MaximumBatchingWindowInSeconds":{
|
1214 | 1214 | "shape":"MaximumBatchingWindowInSeconds",
|
|
1220 | 1220 | },
|
1221 | 1221 | "StartingPosition":{
|
1222 | 1222 | "shape":"EventSourcePosition",
|
1223 |
| - "documentation":"<p>The position in a stream from which to start reading. Required for Amazon Kinesis and Amazon DynamoDB Streams sources. <code>AT_TIMESTAMP</code> is only supported for Amazon Kinesis streams.</p>" |
| 1223 | + "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>" |
1224 | 1224 | },
|
1225 | 1225 | "StartingPositionTimestamp":{
|
1226 | 1226 | "shape":"Date",
|
|
1232 | 1232 | },
|
1233 | 1233 | "MaximumRecordAgeInSeconds":{
|
1234 | 1234 | "shape":"MaximumRecordAgeInSeconds",
|
1235 |
| - "documentation":"<p>(Streams) The maximum age of a record that Lambda sends to a function for processing.</p>" |
| 1235 | + "documentation":"<p>(Streams) Discard records older than the specified age. The default value is infinite (-1).</p>" |
1236 | 1236 | },
|
1237 | 1237 | "BisectBatchOnFunctionError":{
|
1238 | 1238 | "shape":"BisectBatchOnFunctionError",
|
1239 | 1239 | "documentation":"<p>(Streams) If the function returns an error, split the batch in two and retry.</p>"
|
1240 | 1240 | },
|
1241 | 1241 | "MaximumRetryAttempts":{
|
1242 | 1242 | "shape":"MaximumRetryAttemptsEventSourceMapping",
|
1243 |
| - "documentation":"<p>(Streams) The maximum number of times to retry when the function returns an error.</p>" |
| 1243 | + "documentation":"<p>(Streams) Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records will be retried until the record expires.</p>" |
| 1244 | + }, |
| 1245 | + "Topics":{ |
| 1246 | + "shape":"Topics", |
| 1247 | + "documentation":"<p> (MSK) The name of the Kafka topic. </p>" |
1244 | 1248 | }
|
1245 | 1249 | }
|
1246 | 1250 | },
|
|
1665 | 1669 | "shape":"DestinationConfig",
|
1666 | 1670 | "documentation":"<p>(Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.</p>"
|
1667 | 1671 | },
|
| 1672 | + "Topics":{ |
| 1673 | + "shape":"Topics", |
| 1674 | + "documentation":"<p> (MSK) The name of the Kafka topic. </p>" |
| 1675 | + }, |
1668 | 1676 | "MaximumRecordAgeInSeconds":{
|
1669 | 1677 | "shape":"MaximumRecordAgeInSeconds",
|
1670 | 1678 | "documentation":"<p>(Streams) The maximum age of a record that Lambda sends to a function for processing.</p>"
|
|
2711 | 2719 | "members":{
|
2712 | 2720 | "EventSourceArn":{
|
2713 | 2721 | "shape":"Arn",
|
2714 |
| - "documentation":"<p>The Amazon Resource Name (ARN) of the event source.</p> <ul> <li> <p> <b>Amazon Kinesis</b> - The ARN of the data stream or a stream consumer.</p> </li> <li> <p> <b>Amazon DynamoDB Streams</b> - The ARN of the stream.</p> </li> <li> <p> <b>Amazon Simple Queue Service</b> - The ARN of the queue.</p> </li> </ul>", |
| 2722 | + "documentation":"<p>The Amazon Resource Name (ARN) of the event source.</p> <ul> <li> <p> <b>Amazon Kinesis</b> - The ARN of the data stream or a stream consumer.</p> </li> <li> <p> <b>Amazon DynamoDB Streams</b> - The ARN of the stream.</p> </li> <li> <p> <b>Amazon Simple Queue Service</b> - The ARN of the queue.</p> </li> <li> <p> <b>Amazon Managed Streaming for Apache Kafka</b> - The ARN of the cluster.</p> </li> </ul>", |
2715 | 2723 | "location":"querystring",
|
2716 | 2724 | "locationName":"EventSourceArn"
|
2717 | 2725 | },
|
|
3052 | 3060 | "MaximumRecordAgeInSeconds":{
|
3053 | 3061 | "type":"integer",
|
3054 | 3062 | "max":604800,
|
3055 |
| - "min":60 |
| 3063 | + "min":-1 |
3056 | 3064 | },
|
3057 | 3065 | "MaximumRetryAttempts":{
|
3058 | 3066 | "type":"integer",
|
|
3062 | 3070 | "MaximumRetryAttemptsEventSourceMapping":{
|
3063 | 3071 | "type":"integer",
|
3064 | 3072 | "max":10000,
|
3065 |
| - "min":0 |
| 3073 | + "min":-1 |
3066 | 3074 | },
|
3067 | 3075 | "MemorySize":{
|
3068 | 3076 | "type":"integer",
|
|
3727 | 3735 | "error":{"httpStatusCode":429},
|
3728 | 3736 | "exception":true
|
3729 | 3737 | },
|
| 3738 | + "Topic":{ |
| 3739 | + "type":"string", |
| 3740 | + "max":249, |
| 3741 | + "min":1, |
| 3742 | + "pattern":"^[^.]([a-zA-Z0-9\\-_.]+)" |
| 3743 | + }, |
| 3744 | + "Topics":{ |
| 3745 | + "type":"list", |
| 3746 | + "member":{"shape":"Topic"}, |
| 3747 | + "max":1, |
| 3748 | + "min":1 |
| 3749 | + }, |
3730 | 3750 | "TracingConfig":{
|
3731 | 3751 | "type":"structure",
|
3732 | 3752 | "members":{
|
|
3842 | 3862 | },
|
3843 | 3863 | "Enabled":{
|
3844 | 3864 | "shape":"Enabled",
|
3845 |
| - "documentation":"<p>Disables the event source mapping to pause polling and invocation.</p>" |
| 3865 | + "documentation":"<p>If true, the event source mapping is active. Set to false to pause polling and invocation.</p>" |
3846 | 3866 | },
|
3847 | 3867 | "BatchSize":{
|
3848 | 3868 | "shape":"BatchSize",
|
3849 |
| - "documentation":"<p>The maximum number of items to retrieve in a single batch.</p> <ul> <li> <p> <b>Amazon Kinesis</b> - Default 100. Max 10,000.</p> </li> <li> <p> <b>Amazon DynamoDB Streams</b> - Default 100. Max 1,000.</p> </li> <li> <p> <b>Amazon Simple Queue Service</b> - Default 10. Max 10.</p> </li> </ul>" |
| 3869 | + "documentation":"<p>The maximum number of items to retrieve in a single batch.</p> <ul> <li> <p> <b>Amazon Kinesis</b> - Default 100. Max 10,000.</p> </li> <li> <p> <b>Amazon DynamoDB Streams</b> - Default 100. Max 1,000.</p> </li> <li> <p> <b>Amazon Simple Queue Service</b> - Default 10. Max 10.</p> </li> <li> <p> <b>Amazon Managed Streaming for Apache Kafka</b> - Default 100. Max 10,000.</p> </li> </ul>" |
3850 | 3870 | },
|
3851 | 3871 | "MaximumBatchingWindowInSeconds":{
|
3852 | 3872 | "shape":"MaximumBatchingWindowInSeconds",
|
|
3858 | 3878 | },
|
3859 | 3879 | "MaximumRecordAgeInSeconds":{
|
3860 | 3880 | "shape":"MaximumRecordAgeInSeconds",
|
3861 |
| - "documentation":"<p>(Streams) The maximum age of a record that Lambda sends to a function for processing.</p>" |
| 3881 | + "documentation":"<p>(Streams) Discard records older than the specified age. The default value is infinite (-1).</p>" |
3862 | 3882 | },
|
3863 | 3883 | "BisectBatchOnFunctionError":{
|
3864 | 3884 | "shape":"BisectBatchOnFunctionError",
|
3865 | 3885 | "documentation":"<p>(Streams) If the function returns an error, split the batch in two and retry.</p>"
|
3866 | 3886 | },
|
3867 | 3887 | "MaximumRetryAttempts":{
|
3868 | 3888 | "shape":"MaximumRetryAttemptsEventSourceMapping",
|
3869 |
| - "documentation":"<p>(Streams) The maximum number of times to retry when the function returns an error.</p>" |
| 3889 | + "documentation":"<p>(Streams) Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records will be retried until the record expires.</p>" |
3870 | 3890 | },
|
3871 | 3891 | "ParallelizationFactor":{
|
3872 | 3892 | "shape":"ParallelizationFactor",
|
|
0 commit comments