Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
157 commits
Select commit Hold shift + click to select a range
0bb4f8b
Fix to VPC endpoint policy example
eanbyrne Jan 17, 2021
8651450
Update with-sns-example.md
luteamol Jan 27, 2021
60579d1
Merge pull request #238 from luteamol/patch-1
devlinbd2 Jan 28, 2021
381eb29
Merge pull request #236 from eanbyrne/patch-2
devlinbd2 Jan 30, 2021
5e56ef5
Update python-package.md
Jan 31, 2021
6e832e6
Fix configuration-codesigning.md
juanmacoo Feb 2, 2021
4f29b53
Merge pull request #239 from hi2meuk/patch-2
devlinbd2 Feb 3, 2021
33593b7
'RequestId' to 'RequestID' in Golang Example
shahnitav Feb 10, 2021
e7e0573
Merge pull request #240 from juanmacoo/patch-1
devlinbd2 Feb 11, 2021
b6cd7d3
Merge pull request #241 from shahnitav/patch-1
devlinbd2 Feb 11, 2021
6c005f9
Periodic update
alivest Feb 24, 2021
9974312
Fix typo in adding RIE to the image example
antklim Feb 24, 2021
d42b13e
Fix broken link
trixpan Mar 1, 2021
e4a3d04
Merge pull request #250 from trixpan/patch-1
devlinbd2 Mar 1, 2021
17dfddc
Merge pull request #249 from antklim/patch-1
devlinbd2 Mar 1, 2021
995561f
Fixed reference to iotevents.amazonaws.com that should be iot.amazona…
timmattison Mar 2, 2021
05284e1
Merge pull request #251 from timmattison/fix-error-in-rules-engine-co…
devlinbd2 Mar 3, 2021
197a6ba
fix JSON syntax in example resource-based policy
sir-sigurd Mar 4, 2021
94b3498
Periodic update
alivest Mar 4, 2021
85050c2
Merge branch 'main' of github.com:awsdocs/aws-lambda-developer-guide …
alivest Mar 4, 2021
98e81c6
Periodic update
alivest Mar 4, 2021
f239ffb
Merge pull request #253 from sir-sigurd/patch-1
devlinbd2 Mar 5, 2021
3de4c51
update Handler.java in java-basic sample to address issues #247 and #248
devlinbd2 Mar 10, 2021
3778e90
Update python formatting
AlexHedley Mar 11, 2021
0e9f498
Improve Go code example
JamesJJ Mar 13, 2021
f7e2111
Merge pull request #254 from AlexHedley/patch-1
devlinbd2 Mar 19, 2021
2141ea6
Merge pull request #255 from JamesJJ/jj-patch-1
devlinbd2 Mar 19, 2021
9cddb20
Documentation updates
devlinbd2 Mar 19, 2021
202e900
Rephrasing to reflect new Lambda UI
marianoc84 Mar 23, 2021
64e6d4b
Merge pull request #256 from marianoc84/patch-1
devlinbd2 Mar 24, 2021
e6b04bc
Update template.yml
juankb1024 Mar 27, 2021
815331b
Update template-mvn.yml
juankb1024 Mar 27, 2021
4964623
Update template.yml
bryamcastle Mar 28, 2021
32c92f1
Merge pull request #260 from bryamcastle/patch-1
devlinbd2 Mar 29, 2021
36a4ca8
Merge pull request #257 from juankb1024/patch-1
devlinbd2 Mar 29, 2021
36f26ad
Merge pull request #258 from juankb1024/patch-2
devlinbd2 Mar 29, 2021
076a5bd
Update with-sqs-create-package.md
carlmanaster Mar 29, 2021
67dba8a
Merge pull request #261 from carlmanaster/patch-1
devlinbd2 Mar 29, 2021
5077aa1
IAM policy AWSLambdaReadOnlyAccess is now AWSLambda_ReadOnlyAccess
devlinbd2 Mar 29, 2021
973b1bb
clarify that context can be set by the caller
Mar 29, 2021
e5caa65
Merge pull request #262 from gauravphoenix/patch-1
devlinbd2 Mar 29, 2021
ab3d7a8
periodic update
devlinbd2 Apr 5, 2021
2ab2173
Update with-s3-example.md
darrengarvey Apr 7, 2021
b04d948
Merge pull request #265 from darrengarvey/patch-1
devlinbd2 Apr 7, 2021
9467b96
fix arn
StanSilas Apr 8, 2021
9fb2bb8
updating getting started docs to include deploy
talianassi921 Apr 9, 2021
e93b276
update role creation for api-gateway tutorial
talianassi921 Apr 9, 2021
4fa6124
adding missing steps
talianassi921 Apr 9, 2021
771f9a9
Fix typo
appwiz Apr 11, 2021
577e9b7
Merge pull request #270 from appwiz/patch-1
devlinbd2 Apr 12, 2021
8af7700
Merge pull request #267 from StanSilas/patch-1
devlinbd2 Apr 12, 2021
abae000
Merge pull request #268 from talianassi921/getting-started-edits
devlinbd2 Apr 12, 2021
f7557c2
Merge pull request #269 from talianassi921/api-gateway-tutorial
devlinbd2 Apr 12, 2021
27558c5
Remove excess cd command
usmanovbf Apr 20, 2021
3aa52ed
Merge pull request #272 from usmanovbf/patch-1
devlinbd2 Apr 20, 2021
ba29cdd
Documentation updates
devlinbd2 Apr 22, 2021
fdd1f74
Update deprecated `Buffer()`
yorickdowne Apr 23, 2021
4def38a
use ascii quotes and typo fix
andygarfield Apr 27, 2021
250be93
Update images-test.md
andygarfield Apr 28, 2021
45c3e01
Merge pull request #273 from yorickdowne/patch-1
devlinbd2 Apr 29, 2021
0585ea7
Correct function-name argument in invocation call
mgoks Apr 29, 2021
7108513
Merge pull request #274 from andygarfield/patch-1
devlinbd2 Apr 30, 2021
0128411
Merge pull request #275 from mgoks/patch-1
devlinbd2 Apr 30, 2021
a930cb3
Documentation updates
devlinbd2 Apr 30, 2021
f2e0306
#276 - Add error handling for function callLambda call in init.
gytisrepecka May 3, 2021
016de40
#276 - Remove callLambda within init function as it does not return a…
gytisrepecka May 3, 2021
097f8fc
#276 - Fix element name to FunctionCount in error message to avoid mi…
gytisrepecka May 3, 2021
d9c31dc
Update Nodejs example to forward CMD arguments
nickcox May 4, 2021
7ec65dc
Merge pull request #278 from nickcox/patch-1
devlinbd2 May 4, 2021
377fd13
Update README.md to reference correct filename of cleanup script
dandotjs May 7, 2021
3cf6c95
Add VPC endpoints as alternative to NAT gateway
GoodMirek May 24, 2021
3cc2149
Add VPC endpoint for Secrets Manager if authentication is required
mirek-ppup May 25, 2021
84b550b
Merge pull request #283 from GoodMirek/patch-1
devlinbd2 May 25, 2021
853298e
Merge pull request #280 from oxygenplug/patch-1
devlinbd2 May 25, 2021
7462240
periodic update of documentation fixes
devlinbd2 Jun 3, 2021
3c12b6e
Merge branch 'main' of github.com:awsdocs/aws-lambda-developer-guide …
devlinbd2 Jun 3, 2021
ff84f50
Updates
devlinbd2 Jun 3, 2021
595790b
Update images-test.md
fast-reflexes Jun 4, 2021
0b302c5
Update images-test.md
fast-reflexes Jun 4, 2021
a5a7ebb
Merge pull request #284 from fast-reflexes/patch-1
devlinbd2 Jun 4, 2021
730c4f6
Fix typos in getting-started-create-function.md
bl-ue Jun 10, 2021
5772b7a
Merge pull request #277 from gytisrepecka/issue-276-fix
devlinbd2 Jun 10, 2021
cb8f079
Merge pull request #287 from bl-ue/patch-1
devlinbd2 Jun 10, 2021
f4c82b5
Updates. Add file for Secrets manager in Services chapter
devlinbd2 Jun 14, 2021
3b408fe
Remove Unused Variable
jiahao-c Jun 15, 2021
8a6bc41
Remove unused import
jiahao-c Jun 16, 2021
9378f57
Merge pull request #288 from jiahao-c/patch-1
devlinbd2 Jun 16, 2021
2e781c6
fix: use payload file protocol accordingly Aws Cli version
Calkines Jun 26, 2021
a33a6f2
doc updates
devlinbd2 Jun 28, 2021
e0af1ee
MQ event source now supports RabbitMQ. Other updates
devlinbd2 Jul 8, 2021
abc4ca7
fixes. Also, updates to Python SDK versions. Updates for .NET 2.1 pha…
devlinbd2 Jul 23, 2021
a170fde
Move java-events-v1sdk samples to java-events. Add note that v1sdk ex…
yualexan Jul 26, 2021
ea892da
Add handlers & logging config to java-events samples
yualexan Jul 26, 2021
e3e1d09
Merge pull request #293 from awsdocs/deprecate-java-events-v1sdk-pkg
yualexan Jul 27, 2021
dc96abc
fix function name in code sample
dd-ssc Jul 28, 2021
ba45d5e
Merge pull request #290 from Calkines/main
devlinbd2 Jul 28, 2021
cbc91b4
Removed a redundant half sentence in the cold start section
csereno Jul 30, 2021
9f715b4
Merge pull request #295 from csereno/patch-1
devlinbd2 Jul 30, 2021
779926c
updates. Two new function configuration files
devlinbd2 Jul 31, 2021
498f007
Update lambda-runtimes.md
blange Aug 2, 2021
0f502cb
Merge pull request #297 from blange/patch-2
devlinbd2 Aug 2, 2021
7ddec7c
Broken link for the `Interface endpoint properties and limitations`
praveensripati Aug 7, 2021
2eb6fa7
Merge pull request #298 from praveensripati/patch-1
devlinbd2 Aug 9, 2021
85a93c6
Merge pull request #294 from dd-ssc/patch-1
devlinbd2 Aug 9, 2021
9d6f318
created new Lambda foundations chapter. Some additional updates
devlinbd2 Aug 9, 2021
78a1a2e
removed suggestion that CMK means customer managed key
felipe1982 Aug 12, 2021
5d32fdd
Merge pull request #299 from felipe1982/patch-1
devlinbd2 Aug 12, 2021
0f31cd4
Remove period in Docker comment for consistency
jzombie Aug 17, 2021
72e689d
Add note in java-events pointing to java-events-v1sdk examples if nec…
yualexan Aug 20, 2021
2d2df77
fix typos in doc
saintmalik Aug 22, 2021
25e7d58
Merge pull request #301 from saintmalik/fix-typo
devlinbd2 Aug 23, 2021
7e39dca
Merge pull request #300 from jzombie/patch-1
devlinbd2 Aug 23, 2021
acde21c
Remove instructions for Node.js 10.x base image
trivikr Aug 27, 2021
b8d8cb9
Node.js 10.x EOS phase 2 start is now Sept 17th
devlinbd2 Sep 2, 2021
b8305f7
fix typo in configuration-function-commom.md
NiumXp Sep 10, 2021
834c24b
Merge pull request #306 from NiumXp/main
devlinbd2 Sep 14, 2021
db8b739
fix incorrect value for maxBytes + add missing comma + format
maxday Sep 17, 2021
99d79a3
d
Sep 18, 2021
c70b3a8
Documentation updates
devlinbd2 Sep 20, 2021
640845b
Documentation for new feature: Lambda functions on Graviton2
devlinbd2 Sep 30, 2021
9d8ee6d
Merge pull request #307 from maxday/maxday/fix-invalid-value-and-miss…
devlinbd2 Sep 30, 2021
eb7312d
fix: removing duplicate better
paulmowat Oct 1, 2021
92ea64b
Merge pull request #310 from paulmowat/architecture_typos
devlinbd2 Oct 13, 2021
52c5956
Merge pull request #308 from michael-roloff/main
devlinbd2 Oct 13, 2021
57ac642
Restore the create bucket script.
devlinbd2 Oct 19, 2021
29e1410
Change pip to pip3
devlinbd2 Oct 19, 2021
d6ab3f7
Updated the list of supported Python versions.
devlinbd2 Oct 19, 2021
8fbf141
fix: use valid json for the active mq example
michaelbrewer Oct 19, 2021
d3315bf
Merge pull request #313 from michaelbrewer/patch-1
yualexan Oct 19, 2021
bc06498
Typo in the subcommand
alfiedotwtf Oct 19, 2021
48bdeff
Merge pull request #314 from alfiedotwtf/main
devlinbd2 Oct 25, 2021
20e3f1a
Update info about json serialization
mgorski-mg Nov 3, 2021
fed3290
Update typos in configuration-tags.md
callezenwaka Nov 11, 2021
afca609
periodic content update
devlinbd2 Nov 12, 2021
c1e1349
Typo in functions-states.md
oltruong Dec 1, 2021
7c7a00d
Merge pull request #321 from oltruong/patch-1
devlinbd2 Dec 1, 2021
6a3a8a5
Merge pull request #318 from callezenwaka/patch-1
devlinbd2 Dec 1, 2021
e20c3e0
Merge branch 'main' into patch-1
devlinbd2 Dec 1, 2021
a1bb6b6
Merge pull request #304 from trivikr/patch-1
devlinbd2 Dec 1, 2021
ef8b900
Merge pull request #317 from mgorski-mg/patch-1
devlinbd2 Dec 2, 2021
e3582b9
Update to the version of log4j2 which isn't effected by CVE-2021-44228
msailes Dec 10, 2021
e56dea9
Merge pull request #323 from msailes/log4j2-cve
mwunderl Dec 10, 2021
806bcc0
update log4j2
mwunderl Dec 11, 2021
34a84a5
Updating log4 dependencies.
eriboo Dec 20, 2021
e933efe
Merge pull request #329 from awsdocs/log4-updates
eriboo Dec 20, 2021
f3f0e84
Updating to newest version.
eriboo Dec 20, 2021
cdf8530
Merge pull request #330 from awsdocs/log4-updates
eriboo Dec 20, 2021
f54ddb8
Missed some outdated log4 versions.
eriboo Dec 20, 2021
e36676a
Merge pull request #331 from awsdocs/log4-updates
eriboo Dec 20, 2021
5640d93
Updating aws-lambda-java-log4j2 to 1.5.0
eriboo Dec 21, 2021
2226282
Merge pull request #332 from awsdocs/small-log4-update
eriboo Dec 21, 2021
f72c2dd
Updating aws-sdk versions.
eriboo Jan 4, 2022
372f7c8
Merge pull request #339 from awsdocs/aws-sdk-updates
eriboo Jan 4, 2022
0efbd3a
Updating log4j versions.
eriboo Jan 12, 2022
e391fe5
Merge pull request #341 from awsdocs/log4j-updates
eriboo Jan 12, 2022
2be81b8
Syncing with dev guide.
eriboo Feb 23, 2022
174fd25
Merge pull request #349 from awsdocs/dev-guide-sync
eriboo Feb 23, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file modified doc_source/.DS_Store
Binary file not shown.
14 changes: 7 additions & 7 deletions doc_source/API_AccountLimit.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,27 @@ Limits that are related to concurrency and storage\. All file and storage sizes

## Contents<a name="API_AccountLimit_Contents"></a>

**CodeSizeUnzipped** <a name="SSS-Type-AccountLimit-CodeSizeUnzipped"></a>
** CodeSizeUnzipped ** <a name="SSS-Type-AccountLimit-CodeSizeUnzipped"></a>
The maximum size of a function's deployment package and layers when they're extracted\.
Type: Long
Required: No

**CodeSizeZipped** <a name="SSS-Type-AccountLimit-CodeSizeZipped"></a>
The maximum size of a deployment package when it's uploaded directly to AWS Lambda\. Use Amazon S3 for larger files\.
** CodeSizeZipped ** <a name="SSS-Type-AccountLimit-CodeSizeZipped"></a>
The maximum size of a deployment package when it's uploaded directly to Lambda\. Use Amazon S3 for larger files\.
Type: Long
Required: No

**ConcurrentExecutions** <a name="SSS-Type-AccountLimit-ConcurrentExecutions"></a>
** ConcurrentExecutions ** <a name="SSS-Type-AccountLimit-ConcurrentExecutions"></a>
The maximum number of simultaneous function executions\.
Type: Integer
Required: No

**TotalCodeSize** <a name="SSS-Type-AccountLimit-TotalCodeSize"></a>
** TotalCodeSize ** <a name="SSS-Type-AccountLimit-TotalCodeSize"></a>
The amount of storage space that you can use for all deployment packages and layer archives\.
Type: Long
Required: No

**UnreservedConcurrentExecutions** <a name="SSS-Type-AccountLimit-UnreservedConcurrentExecutions"></a>
** UnreservedConcurrentExecutions ** <a name="SSS-Type-AccountLimit-UnreservedConcurrentExecutions"></a>
The maximum number of simultaneous function executions, minus the capacity that's reserved for individual functions with [PutFunctionConcurrency](API_PutFunctionConcurrency.md)\.
Type: Integer
Valid Range: Minimum value of 0\.
Expand All @@ -35,5 +35,5 @@ Required: No
For more information about using this API in one of the language\-specific AWS SDKs, see the following:
+ [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/AccountLimit)
+ [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/AccountLimit)
+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/AccountLimit)
+ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/AccountLimit)
+ [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/AccountLimit)
6 changes: 3 additions & 3 deletions doc_source/API_AccountUsage.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ The number of functions and amount of storage in use\.

## Contents<a name="API_AccountUsage_Contents"></a>

**FunctionCount** <a name="SSS-Type-AccountUsage-FunctionCount"></a>
** FunctionCount ** <a name="SSS-Type-AccountUsage-FunctionCount"></a>
The number of Lambda functions\.
Type: Long
Required: No

**TotalCodeSize** <a name="SSS-Type-AccountUsage-TotalCodeSize"></a>
** TotalCodeSize ** <a name="SSS-Type-AccountUsage-TotalCodeSize"></a>
The amount of storage space, in bytes, that's being used by deployment packages and layer archives\.
Type: Long
Required: No
Expand All @@ -19,5 +19,5 @@ Required: No
For more information about using this API in one of the language\-specific AWS SDKs, see the following:
+ [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/AccountUsage)
+ [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/AccountUsage)
+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/AccountUsage)
+ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/AccountUsage)
+ [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/AccountUsage)
22 changes: 12 additions & 10 deletions doc_source/API_AddLayerVersionPermission.md
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# AddLayerVersionPermission<a name="API_AddLayerVersionPermission"></a>

Adds permissions to the resource\-based policy of a version of an [AWS Lambda layer](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html)\. Use this action to grant layer usage permission to other accounts\. You can grant permission to a single account, all AWS accounts, or all accounts in an organization\.
Adds permissions to the resource\-based policy of a version of an [AWS Lambda layer](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html)\. Use this action to grant layer usage permission to other accounts\. You can grant permission to a single account, all accounts in an organization, or all AWS accounts\.

To revoke permission, call [RemoveLayerVersionPermission](API_RemoveLayerVersionPermission.md) with the statement ID that you specified when you added it\.

Expand Down Expand Up @@ -42,17 +42,19 @@ The request accepts the following data in JSON format\.
** [Action](#API_AddLayerVersionPermission_RequestSyntax) ** <a name="SSS-AddLayerVersionPermission-request-Action"></a>
The API action that grants access to the layer\. For example, `lambda:GetLayerVersion`\.
Type: String
Length Constraints: Maximum length of 22\.
Pattern: `lambda:GetLayerVersion`
Required: Yes

** [OrganizationId](#API_AddLayerVersionPermission_RequestSyntax) ** <a name="SSS-AddLayerVersionPermission-request-OrganizationId"></a>
With the principal set to `*`, grant permission to all accounts in the specified organization\.
Type: String
Length Constraints: Maximum length of 34\.
Pattern: `o-[a-z0-9]{10,32}`
Required: No

** [Principal](#API_AddLayerVersionPermission_RequestSyntax) ** <a name="SSS-AddLayerVersionPermission-request-Principal"></a>
An account ID, or `*` to grant permission to all AWS accounts\.
An account ID, or `*` to grant layer usage permission to all accounts in an organization, or all AWS accounts \(if `organizationId` is not specified\)\. For the last case, make sure that you really do want all AWS accounts to have usage permission to this layer\.
Type: String
Pattern: `\d{12}|\*|arn:(aws[a-zA-Z-]*):iam::\d{12}:root`
Required: Yes
Expand Down Expand Up @@ -92,31 +94,31 @@ Type: String

## Errors<a name="API_AddLayerVersionPermission_Errors"></a>

**InvalidParameterValueException**
** InvalidParameterValueException **
One of the parameters in the request is invalid\.
HTTP Status Code: 400

**PolicyLengthExceededException**
** PolicyLengthExceededException **
The permissions policy for the resource is too large\. [Learn more](https://docs.aws.amazon.com/lambda/latest/dg/limits.html)
HTTP Status Code: 400

**PreconditionFailedException**
** PreconditionFailedException **
The RevisionId provided does not match the latest RevisionId for the Lambda function or alias\. Call the `GetFunction` or the `GetAlias` API to retrieve the latest RevisionId for your resource\.
HTTP Status Code: 412

**ResourceConflictException**
** ResourceConflictException **
The resource already exists, or another operation is in progress\.
HTTP Status Code: 409

**ResourceNotFoundException**
** ResourceNotFoundException **
The resource specified in the request does not exist\.
HTTP Status Code: 404

**ServiceException**
** ServiceException **
The AWS Lambda service encountered an internal error\.
HTTP Status Code: 500

**TooManyRequestsException**
** TooManyRequestsException **
The request throughput limit was exceeded\.
HTTP Status Code: 429

Expand All @@ -127,7 +129,7 @@ For more information about using this API in one of the language\-specific AWS S
+ [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/AddLayerVersionPermission)
+ [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/AddLayerVersionPermission)
+ [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/AddLayerVersionPermission)
+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/AddLayerVersionPermission)
+ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/AddLayerVersionPermission)
+ [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/AddLayerVersionPermission)
+ [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/AddLayerVersionPermission)
+ [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/AddLayerVersionPermission)
Expand Down
22 changes: 12 additions & 10 deletions doc_source/API_AddPermission.md
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# AddPermission<a name="API_AddPermission"></a>

Grants an AWS service or another account permission to use a function\. You can apply the policy at the function level, or specify a qualifier to restrict access to a single version or alias\. If you use a qualifier, the invoker must use the full Amazon Resource Name \(ARN\) of that version or alias to invoke the function\.
Grants an AWS service or another account permission to use a function\. You can apply the policy at the function level, or specify a qualifier to restrict access to a single version or alias\. If you use a qualifier, the invoker must use the full Amazon Resource Name \(ARN\) of that version or alias to invoke the function\. Note: Lambda does not support adding policies to version $LATEST\.

To grant permission to another account, specify the account ID as the `Principal`\. For AWS services, the principal is a domain\-style identifier defined by the service, like `s3.amazonaws.com` or `sns.amazonaws.com`\. For AWS services, you can also specify the ARN of the associated resource as the `SourceArn`\. If you grant permission to a service principal without specifying the source, other accounts could potentially configure resources in their account to invoke your Lambda function\.

Expand Down Expand Up @@ -64,7 +64,7 @@ Required: No
** [Principal](#API_AddPermission_RequestSyntax) ** <a name="SSS-AddPermission-request-Principal"></a>
The AWS service or account that invokes the function\. If you specify a service, use `SourceArn` or `SourceAccount` to limit who can invoke the function through that service\.
Type: String
Pattern: `.*`
Pattern: `[^\s]+`
Required: Yes

** [RevisionId](#API_AddPermission_RequestSyntax) ** <a name="SSS-AddPermission-request-RevisionId"></a>
Expand All @@ -75,11 +75,13 @@ Required: No
** [SourceAccount](#API_AddPermission_RequestSyntax) ** <a name="SSS-AddPermission-request-SourceAccount"></a>
For Amazon S3, the ID of the account that owns the resource\. Use this together with `SourceArn` to ensure that the resource is owned by the specified account\. It is possible for an Amazon S3 bucket to be deleted by its owner and recreated by another account\.
Type: String
Length Constraints: Maximum length of 12\.
Pattern: `\d{12}`
Required: No

** [SourceArn](#API_AddPermission_RequestSyntax) ** <a name="SSS-AddPermission-request-SourceArn"></a>
For AWS services, the ARN of the AWS resource that invokes the function\. For example, an Amazon S3 bucket or Amazon SNS topic\.
Note that Lambda configures the comparison using the `StringLike` operator\.
Type: String
Pattern: `arn:(aws[a-zA-Z0-9-]*):([a-zA-Z0-9\-])+:([a-z]{2}(-gov)?-[a-z]+-\d{1})?:(\d{12})?:(.*)`
Required: No
Expand Down Expand Up @@ -114,31 +116,31 @@ Type: String

## Errors<a name="API_AddPermission_Errors"></a>

**InvalidParameterValueException**
** InvalidParameterValueException **
One of the parameters in the request is invalid\.
HTTP Status Code: 400

**PolicyLengthExceededException**
** PolicyLengthExceededException **
The permissions policy for the resource is too large\. [Learn more](https://docs.aws.amazon.com/lambda/latest/dg/limits.html)
HTTP Status Code: 400

**PreconditionFailedException**
** PreconditionFailedException **
The RevisionId provided does not match the latest RevisionId for the Lambda function or alias\. Call the `GetFunction` or the `GetAlias` API to retrieve the latest RevisionId for your resource\.
HTTP Status Code: 412

**ResourceConflictException**
** ResourceConflictException **
The resource already exists, or another operation is in progress\.
HTTP Status Code: 409

**ResourceNotFoundException**
** ResourceNotFoundException **
The resource specified in the request does not exist\.
HTTP Status Code: 404

**ServiceException**
** ServiceException **
The AWS Lambda service encountered an internal error\.
HTTP Status Code: 500

**TooManyRequestsException**
** TooManyRequestsException **
The request throughput limit was exceeded\.
HTTP Status Code: 429

Expand All @@ -149,7 +151,7 @@ For more information about using this API in one of the language\-specific AWS S
+ [AWS SDK for \.NET](https://docs.aws.amazon.com/goto/DotNetSDKV3/lambda-2015-03-31/AddPermission)
+ [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/AddPermission)
+ [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/AddPermission)
+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/AddPermission)
+ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/AddPermission)
+ [AWS SDK for JavaScript](https://docs.aws.amazon.com/goto/AWSJavaScriptSDK/lambda-2015-03-31/AddPermission)
+ [AWS SDK for PHP V3](https://docs.aws.amazon.com/goto/SdkForPHPV3/lambda-2015-03-31/AddPermission)
+ [AWS SDK for Python](https://docs.aws.amazon.com/goto/boto3/lambda-2015-03-31/AddPermission)
Expand Down
14 changes: 7 additions & 7 deletions doc_source/API_AliasConfiguration.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,38 +4,38 @@ Provides configuration information about a Lambda function [alias](https://docs.

## Contents<a name="API_AliasConfiguration_Contents"></a>

**AliasArn** <a name="SSS-Type-AliasConfiguration-AliasArn"></a>
** AliasArn ** <a name="SSS-Type-AliasConfiguration-AliasArn"></a>
The Amazon Resource Name \(ARN\) of the alias\.
Type: String
Pattern: `arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}(-gov)?-[a-z]+-\d{1}:\d{12}:function:[a-zA-Z0-9-_]+(:(\$LATEST|[a-zA-Z0-9-_]+))?`
Required: No

**Description** <a name="SSS-Type-AliasConfiguration-Description"></a>
** Description ** <a name="SSS-Type-AliasConfiguration-Description"></a>
A description of the alias\.
Type: String
Length Constraints: Minimum length of 0\. Maximum length of 256\.
Required: No

**FunctionVersion** <a name="SSS-Type-AliasConfiguration-FunctionVersion"></a>
** FunctionVersion ** <a name="SSS-Type-AliasConfiguration-FunctionVersion"></a>
The function version that the alias invokes\.
Type: String
Length Constraints: Minimum length of 1\. Maximum length of 1024\.
Pattern: `(\$LATEST|[0-9]+)`
Required: No

**Name** <a name="SSS-Type-AliasConfiguration-Name"></a>
** Name ** <a name="SSS-Type-AliasConfiguration-Name"></a>
The name of the alias\.
Type: String
Length Constraints: Minimum length of 1\. Maximum length of 128\.
Pattern: `(?!^[0-9]+$)([a-zA-Z0-9-_]+)`
Required: No

**RevisionId** <a name="SSS-Type-AliasConfiguration-RevisionId"></a>
** RevisionId ** <a name="SSS-Type-AliasConfiguration-RevisionId"></a>
A unique identifier that changes when you update the alias\.
Type: String
Required: No

**RoutingConfig** <a name="SSS-Type-AliasConfiguration-RoutingConfig"></a>
** RoutingConfig ** <a name="SSS-Type-AliasConfiguration-RoutingConfig"></a>
The [routing configuration](https://docs.aws.amazon.com/lambda/latest/dg/lambda-traffic-shifting-using-aliases.html) of the alias\.
Type: [AliasRoutingConfiguration](API_AliasRoutingConfiguration.md) object
Required: No
Expand All @@ -45,5 +45,5 @@ Required: No
For more information about using this API in one of the language\-specific AWS SDKs, see the following:
+ [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/AliasConfiguration)
+ [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/AliasConfiguration)
+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/AliasConfiguration)
+ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/AliasConfiguration)
+ [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/AliasConfiguration)
4 changes: 2 additions & 2 deletions doc_source/API_AliasRoutingConfiguration.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The [traffic\-shifting](https://docs.aws.amazon.com/lambda/latest/dg/lambda-traf

## Contents<a name="API_AliasRoutingConfiguration_Contents"></a>

**AdditionalVersionWeights** <a name="SSS-Type-AliasRoutingConfiguration-AdditionalVersionWeights"></a>
** AdditionalVersionWeights ** <a name="SSS-Type-AliasRoutingConfiguration-AdditionalVersionWeights"></a>
The second version, and the percentage of traffic that's routed to it\.
Type: String to double map
Key Length Constraints: Minimum length of 1\. Maximum length of 1024\.
Expand All @@ -17,5 +17,5 @@ Required: No
For more information about using this API in one of the language\-specific AWS SDKs, see the following:
+ [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/AliasRoutingConfiguration)
+ [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/AliasRoutingConfiguration)
+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/AliasRoutingConfiguration)
+ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/AliasRoutingConfiguration)
+ [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/AliasRoutingConfiguration)
4 changes: 2 additions & 2 deletions doc_source/API_AllowedPublishers.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ List of signing profiles that can sign a code package\.

## Contents<a name="API_AllowedPublishers_Contents"></a>

**SigningProfileVersionArns** <a name="SSS-Type-AllowedPublishers-SigningProfileVersionArns"></a>
** SigningProfileVersionArns ** <a name="SSS-Type-AllowedPublishers-SigningProfileVersionArns"></a>
The Amazon Resource Name \(ARN\) for each of the signing profiles\. A signing profile defines a trusted user who can sign a code package\.
Type: Array of strings
Array Members: Minimum number of 1 item\. Maximum number of 20 items\.
Expand All @@ -16,5 +16,5 @@ Required: Yes
For more information about using this API in one of the language\-specific AWS SDKs, see the following:
+ [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/lambda-2015-03-31/AllowedPublishers)
+ [AWS SDK for Go](https://docs.aws.amazon.com/goto/SdkForGoV1/lambda-2015-03-31/AllowedPublishers)
+ [AWS SDK for Java](https://docs.aws.amazon.com/goto/SdkForJava/lambda-2015-03-31/AllowedPublishers)
+ [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/lambda-2015-03-31/AllowedPublishers)
+ [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/lambda-2015-03-31/AllowedPublishers)
Loading