You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(client-lambda): This release adds SnapStart related exceptions to InvokeWithResponseStream API. IAM access related documentation is also added for this API.
Copy file name to clipboardExpand all lines: clients/client-lambda/src/Lambda.ts
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1699,6 +1699,9 @@ export class Lambda extends LambdaClient {
1699
1699
/**
1700
1700
* @public
1701
1701
* <p>Configure your Lambda functions to stream response payloads back to clients. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-response-streaming.html">Configuring a Lambda function to stream responses</a>.</p>
1702
+
* <p>This operation requires permission for the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awslambda.html">lambda:InvokeFunction</a> action. For details on how to set up
1703
+
* permissions for cross-account invocations, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html#permissions-resource-xaccountinvoke">Granting function
* <p>Configure your Lambda functions to stream response payloads back to clients. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-response-streaming.html">Configuring a Lambda function to stream responses</a>.</p>
42
+
* <p>This operation requires permission for the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awslambda.html">lambda:InvokeFunction</a> action. For details on how to set up
43
+
* permissions for cross-account invocations, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html#permissions-resource-xaccountinvoke">Granting function
44
+
* access to other accounts</a>.</p>
42
45
* @example
43
46
* Use a bare-bones client and the command you need to make an API call.
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/snapstart-runtime-hooks.html">runtime hook</a> encountered an error. For more information, check the Amazon CloudWatch logs.</p>
* <p>Lambda is initializing your function. You can invoke the function when the <a href="https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html">function state</a> becomes <code>Active</code>.</p>
* <p>The runtime environment for the Lambda function.</p>
2066
+
* <p>The identifier of the function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html">runtime</a>. Runtime is required if the deployment package is a .zip file archive.</p>
2067
+
* <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>
* <code>BUFFERED</code> – This is the default option. Lambda invokes your function
4965
-
* using the <code>Invoke</code> API operation. Invocation results are available when the
4966
-
* payload is complete. The maximum payload size is 6 MB.</p>
4969
+
* using the <code>Invoke</code> API operation. Invocation results are available when the
4970
+
* payload is complete. The maximum payload size is 6 MB.</p>
4967
4971
* </li>
4968
4972
* <li>
4969
4973
* <p>
4970
4974
* <code>RESPONSE_STREAM</code> – Your function streams payload results as they become available.
4971
-
* Lambda invokes your function using the <code>InvokeWithResponseStream</code>
4972
-
* API operation. The maximum response payload size is 20 MB, however, you can <a href="https://docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.html">request a quota increase</a>.</p>
4975
+
* Lambda invokes your function using the <code>InvokeWithResponseStream</code>
4976
+
* API operation. The maximum response payload size is 20 MB, however, you can <a href="https://docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.html">request a quota increase</a>.</p>
0 commit comments