Skip to content

Commit cd6037f

Browse files
author
AWS
committed
AWS Lambda Update: Documentation-only updates for Lambda to clarify a number of existing actions and properties.
1 parent 09f73c1 commit cd6037f

File tree

2 files changed

+21
-15
lines changed

2 files changed

+21
-15
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": "Documentation-only updates for Lambda to clarify a number of existing actions and properties."
6+
}

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

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@
637637
{"shape":"InvalidRuntimeException"},
638638
{"shape":"ResourceConflictException"}
639639
],
640-
"documentation":"<important> <p>For asynchronous function invocation, use <a>Invoke</a>.</p> </important> <p>Invokes a function asynchronously.</p>",
640+
"documentation":"<important> <p>For asynchronous function invocation, use <a>Invoke</a>.</p> </important> <p>Invokes a function asynchronously.</p> <note> <p>If you do use the InvokeAsync action, note that it doesn't support the use of X-Ray active tracing. Trace ID is not propagated to the function, even if X-Ray active tracing is turned on.</p> </note>",
641641
"deprecated":true
642642
},
643643
"InvokeWithResponseStream":{
@@ -1742,7 +1742,7 @@
17421742
"members":{
17431743
"EventSourceArn":{
17441744
"shape":"Arn",
1745-
"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> <li> <p> <b>Amazon MQ</b> – The ARN of the broker.</p> </li> <li> <p> <b>Amazon DocumentDB</b> – The ARN of the DocumentDB change stream.</p> </li> </ul>"
1745+
"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 or the ARN of the VPC connection (for <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#msk-multi-vpc\">cross-account event source mappings</a>).</p> </li> <li> <p> <b>Amazon MQ</b> – The ARN of the broker.</p> </li> <li> <p> <b>Amazon DocumentDB</b> – The ARN of the DocumentDB change stream.</p> </li> </ul>"
17461746
},
17471747
"FunctionName":{
17481748
"shape":"FunctionName",
@@ -1778,7 +1778,7 @@
17781778
},
17791779
"DestinationConfig":{
17801780
"shape":"DestinationConfig",
1781-
"documentation":"<p>(Kinesis and DynamoDB Streams only) A standard Amazon SQS queue or standard Amazon SNS topic destination for discarded records.</p>"
1781+
"documentation":"<p>(Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Kafka only) A configuration object that specifies the destination of an event after Lambda processes it.</p>"
17821782
},
17831783
"MaximumRecordAgeInSeconds":{
17841784
"shape":"MaximumRecordAgeInSeconds",
@@ -1928,7 +1928,7 @@
19281928
},
19291929
"EphemeralStorage":{
19301930
"shape":"EphemeralStorage",
1931-
"documentation":"<p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but can be any whole number between 512 and 10,240 MB.</p>"
1931+
"documentation":"<p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but can be any whole number between 512 and 10,240 MB. For more information, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage\">Configuring ephemeral storage (console)</a>.</p>"
19321932
},
19331933
"SnapStart":{
19341934
"shape":"SnapStart",
@@ -2405,7 +2405,7 @@
24052405
"documentation":"<p>The size of the function's <code>/tmp</code> directory.</p>"
24062406
}
24072407
},
2408-
"documentation":"<p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB.</p>"
2408+
"documentation":"<p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but can be any whole number between 512 and 10,240 MB. For more information, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage\">Configuring ephemeral storage (console)</a>.</p>"
24092409
},
24102410
"EphemeralStorageSize":{
24112411
"type":"integer",
@@ -2792,7 +2792,7 @@
27922792
},
27932793
"EphemeralStorage":{
27942794
"shape":"EphemeralStorage",
2795-
"documentation":"<p>The size of the functions <code>/tmp</code> directory in MB. The default value is 512, but it can be any whole number between 512 and 10,240 MB.</p>"
2795+
"documentation":"<p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but can be any whole number between 512 and 10,240 MB. For more information, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage\">Configuring ephemeral storage (console)</a>.</p>"
27962796
},
27972797
"SnapStart":{
27982798
"shape":"SnapStartResponse",
@@ -3574,7 +3574,7 @@
35743574
},
35753575
"ClientContext":{
35763576
"shape":"String",
3577-
"documentation":"<p>Up to 3,583 bytes of base64-encoded data about the invoking client to pass to the function in the context object.</p>",
3577+
"documentation":"<p>Up to 3,583 bytes of base64-encoded data about the invoking client to pass to the function in the context object. Lambda passes the <code>ClientContext</code> object to your function for synchronous invocations only.</p>",
35783578
"location":"header",
35793579
"locationName":"X-Amz-Client-Context"
35803580
},
@@ -4113,7 +4113,7 @@
41134113
"members":{
41144114
"EventSourceArn":{
41154115
"shape":"Arn",
4116-
"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> <li> <p> <b>Amazon MQ</b> – The ARN of the broker.</p> </li> <li> <p> <b>Amazon DocumentDB</b> – The ARN of the DocumentDB change stream.</p> </li> </ul>",
4116+
"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 or the ARN of the VPC connection (for <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#msk-multi-vpc\">cross-account event source mappings</a>).</p> </li> <li> <p> <b>Amazon MQ</b> – The ARN of the broker.</p> </li> <li> <p> <b>Amazon DocumentDB</b> – The ARN of the DocumentDB change stream.</p> </li> </ul>",
41174117
"location":"querystring",
41184118
"locationName":"EventSourceArn"
41194119
},
@@ -4311,7 +4311,7 @@
43114311
"members":{
43124312
"CompatibleRuntime":{
43134313
"shape":"Runtime",
4314-
"documentation":"<p>A runtime identifier. For example, <code>go1.x</code>.</p> <p>The following list includes deprecated runtimes. For more information, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy\">Runtime deprecation policy</a>.</p>",
4314+
"documentation":"<p>A runtime identifier. For example, <code>java21</code>.</p> <p>The following list includes deprecated runtimes. For more information, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy\">Runtime deprecation policy</a>.</p>",
43154315
"location":"querystring",
43164316
"locationName":"CompatibleRuntime"
43174317
},
@@ -4359,7 +4359,7 @@
43594359
"members":{
43604360
"CompatibleRuntime":{
43614361
"shape":"Runtime",
4362-
"documentation":"<p>A runtime identifier. For example, <code>go1.x</code>.</p> <p>The following list includes deprecated runtimes. For more information, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy\">Runtime deprecation policy</a>.</p>",
4362+
"documentation":"<p>A runtime identifier. For example, <code>java21</code>.</p> <p>The following list includes deprecated runtimes. For more information, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtime-support-policy\">Runtime deprecation policy</a>.</p>",
43634363
"location":"querystring",
43644364
"locationName":"CompatibleRuntime"
43654365
},
@@ -4525,11 +4525,11 @@
45254525
},
45264526
"ApplicationLogLevel":{
45274527
"shape":"ApplicationLogLevel",
4528-
"documentation":"<p>Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level and lower.</p>"
4528+
"documentation":"<p>Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the selected level of detail and lower, where <code>TRACE</code> is the highest level and <code>FATAL</code> is the lowest.</p>"
45294529
},
45304530
"SystemLogLevel":{
45314531
"shape":"SystemLogLevel",
4532-
"documentation":"<p>Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level and lower.</p>"
4532+
"documentation":"<p>Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the selected level of detail and lower, where <code>DEBUG</code> is the highest level and <code>WARN</code> is the lowest.</p>"
45334533
},
45344534
"LogGroup":{
45354535
"shape":"LogGroup",
@@ -4639,7 +4639,7 @@
46394639
"members":{
46404640
"Destination":{
46414641
"shape":"DestinationArn",
4642-
"documentation":"<p>The Amazon Resource Name (ARN) of the destination resource.</p>"
4642+
"documentation":"<p>The Amazon Resource Name (ARN) of the destination resource.</p> <p>To retain records of <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations\">asynchronous invocations</a>, you can configure an Amazon SNS topic, Amazon SQS queue, Lambda function, or Amazon EventBridge event bus as the destination.</p> <p>To retain records of failed invocations from <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html#event-source-mapping-destinations\">Kinesis and DynamoDB event sources</a>, you can configure an Amazon SNS topic or Amazon SQS queue as the destination.</p> <p>To retain records of failed invocations from <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-smaa-onfailure-destination\">self-managed Kafka</a> or <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-onfailure-destination\">Amazon MSK</a>, you can configure an Amazon SNS topic or Amazon SQS queue as the destination.</p>"
46434643
}
46444644
},
46454645
"documentation":"<p>A destination for events that failed processing.</p>"
@@ -5830,7 +5830,7 @@
58305830
},
58315831
"DestinationConfig":{
58325832
"shape":"DestinationConfig",
5833-
"documentation":"<p>(Kinesis and DynamoDB Streams only) A standard Amazon SQS queue or standard Amazon SNS topic destination for discarded records.</p>"
5833+
"documentation":"<p>(Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Kafka only) A configuration object that specifies the destination of an event after Lambda processes it.</p>"
58345834
},
58355835
"MaximumRecordAgeInSeconds":{
58365836
"shape":"MaximumRecordAgeInSeconds",
@@ -5990,7 +5990,7 @@
59905990
},
59915991
"EphemeralStorage":{
59925992
"shape":"EphemeralStorage",
5993-
"documentation":"<p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but can be any whole number between 512 and 10,240 MB.</p>"
5993+
"documentation":"<p>The size of the function's <code>/tmp</code> directory in MB. The default value is 512, but can be any whole number between 512 and 10,240 MB. For more information, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/configuration-function-common.html#configuration-ephemeral-storage\">Configuring ephemeral storage (console)</a>.</p>"
59945994
},
59955995
"SnapStart":{
59965996
"shape":"SnapStart",

0 commit comments

Comments
 (0)