Skip to content

Commit d99a121

Browse files
author
AWS
committed
AWS Lambda Update: Add TagsError field in Lambda GetFunctionResponse. The TagsError field contains details related to errors retrieving tags.
1 parent b5718cd commit d99a121

File tree

2 files changed

+41
-1
lines changed

2 files changed

+41
-1
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": "Add TagsError field in Lambda GetFunctionResponse. The TagsError field contains details related to errors retrieving tags."
6+
}

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

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3229,7 +3229,11 @@
32293229
},
32303230
"Tags":{
32313231
"shape":"Tags",
3232-
"documentation":"<p>The function's <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/tagging.html\">tags</a>.</p>"
3232+
"documentation":"<p>The function's <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/tagging.html\">tags</a>. Lambda returns tag data only if you have explicit allow permissions for <a href=\"https://docs.aws.amazon.com/https:/docs.aws.amazon.com/lambda/latest/api/API_ListTags.html\">lambda:ListTags</a>.</p>"
3233+
},
3234+
"TagsError":{
3235+
"shape":"TagsError",
3236+
"documentation":"<p>An object that contains details about an error related to retrieving tags.</p>"
32333237
},
32343238
"Concurrency":{
32353239
"shape":"Concurrency",
@@ -5766,6 +5770,36 @@
57665770
"key":{"shape":"TagKey"},
57675771
"value":{"shape":"TagValue"}
57685772
},
5773+
"TagsError":{
5774+
"type":"structure",
5775+
"required":[
5776+
"ErrorCode",
5777+
"Message"
5778+
],
5779+
"members":{
5780+
"ErrorCode":{
5781+
"shape":"TagsErrorCode",
5782+
"documentation":"<p>The error code.</p>"
5783+
},
5784+
"Message":{
5785+
"shape":"TagsErrorMessage",
5786+
"documentation":"<p>The error message.</p>"
5787+
}
5788+
},
5789+
"documentation":"<p>An object that contains details about an error related to retrieving tags.</p>"
5790+
},
5791+
"TagsErrorCode":{
5792+
"type":"string",
5793+
"max":21,
5794+
"min":10,
5795+
"pattern":"[A-Za-z]+Exception"
5796+
},
5797+
"TagsErrorMessage":{
5798+
"type":"string",
5799+
"max":1000,
5800+
"min":84,
5801+
"pattern":"^.*$"
5802+
},
57695803
"ThrottleReason":{
57705804
"type":"string",
57715805
"enum":[

0 commit comments

Comments
 (0)