Skip to content

Commit 603d31c

Browse files
authored
chore: Update docs (#3322) (#3323)
1 parent 81de549 commit 603d31c

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

samtranslator/internal/schema_source/aws_serverless_function.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ class SQSEventProperties(BaseModel):
236236
BatchSize: Optional[PassThroughProp] = sqseventproperties("BatchSize")
237237
Enabled: Optional[PassThroughProp] = sqseventproperties("Enabled")
238238
FilterCriteria: Optional[PassThroughProp] = sqseventproperties("FilterCriteria")
239+
FunctionResponseTypes: Optional[PassThroughProp] = sqseventproperties("FunctionResponseTypes")
239240
MaximumBatchingWindowInSeconds: Optional[PassThroughProp] = sqseventproperties("MaximumBatchingWindowInSeconds")
240241
Queue: PassThroughProp = sqseventproperties("Queue")
241242
ScalingConfig: Optional[PassThroughProp] # Update docs when live

samtranslator/schema/schema.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246975,6 +246975,15 @@
246975246975
"markdownDescription": "A object that defines the criteria to determine whether Lambda should process an event\\. For more information, see [AWS Lambda event filtering](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html) in the *AWS Lambda Developer Guide*\\. \n*Type*: [FilterCriteria](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-filtercriteria.html) \n*Required*: No \n*AWS CloudFormation compatibility*: This property is passed directly to the [`FilterCriteria`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-filtercriteria.html) property of an `AWS::Lambda::EventSourceMapping` resource\\.",
246976246976
"title": "FilterCriteria"
246977246977
},
246978+
"FunctionResponseTypes": {
246979+
"allOf": [
246980+
{
246981+
"$ref": "#/definitions/PassThroughProp"
246982+
}
246983+
],
246984+
"markdownDescription": "A list of the response types currently applied to the event source mapping\\. For more information, see [ Reporting batch item failures](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#services-sqs-batchfailurereporting) in the *AWS Lambda Developer Guide*\\. \n *Valid values*: `ReportBatchItemFailures` \n *Type*: List \n *Required*: No \n *AWS CloudFormation compatibility*: This property is passed directly to the [`FunctionResponseTypes`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-functionresponsetypes) property of an `AWS::Lambda::EventSourceMapping` resource\\.",
246985+
"title": "FunctionResponseTypes"
246986+
},
246978246987
"MaximumBatchingWindowInSeconds": {
246979246988
"allOf": [
246980246989
{

schema_source/sam.schema.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2919,6 +2919,15 @@
29192919
"markdownDescription": "A object that defines the criteria to determine whether Lambda should process an event\\. For more information, see [AWS Lambda event filtering](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html) in the *AWS Lambda Developer Guide*\\. \n*Type*: [FilterCriteria](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-filtercriteria.html) \n*Required*: No \n*AWS CloudFormation compatibility*: This property is passed directly to the [`FilterCriteria`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-filtercriteria.html) property of an `AWS::Lambda::EventSourceMapping` resource\\.",
29202920
"title": "FilterCriteria"
29212921
},
2922+
"FunctionResponseTypes": {
2923+
"allOf": [
2924+
{
2925+
"$ref": "#/definitions/PassThroughProp"
2926+
}
2927+
],
2928+
"markdownDescription": "A list of the response types currently applied to the event source mapping\\. For more information, see [ Reporting batch item failures](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#services-sqs-batchfailurereporting) in the *AWS Lambda Developer Guide*\\. \n *Valid values*: `ReportBatchItemFailures` \n *Type*: List \n *Required*: No \n *AWS CloudFormation compatibility*: This property is passed directly to the [`FunctionResponseTypes`](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html#cfn-lambda-eventsourcemapping-functionresponsetypes) property of an `AWS::Lambda::EventSourceMapping` resource\\.",
2929+
"title": "FunctionResponseTypes"
2930+
},
29222931
"MaximumBatchingWindowInSeconds": {
29232932
"allOf": [
29242933
{

0 commit comments

Comments
 (0)