AWS lambda: TagResource: document AccessDenied, Throttling, Validation errors
Summary
Adds documentation for AccessDeniedException (403), InternalServerException with retryAfterSeconds, ThrottlingException (429) with quotaCode/serviceCode, and ValidationException (400), and clarifies the internal error message to retry.
Security assessment
The added AccessDeniedException text documents the standard authorization failure response for the tagging API, but it describes existing behavior rather than fixing a weakness or introducing a permission boundary. The remaining additions are throttling/validation error documentation, so security impact is tangential.
Evidence
+You do not have sufficient access to perform this action.
Diff
diff --git a/lambda/latest/microvm-api/API_TagResource.md b/lambda/latest/microvm-api/API_TagResource.md index 60a38fb..506f2bb 100644 --- a//lambda/latest/microvm-api/API_TagResource.md +++ b//lambda/latest/microvm-api/API_TagResource.md @@ -74,0 +75,19 @@ For information about the errors that are common to all actions, see [Common Err +**AccessDeniedException** + + +You do not have sufficient access to perform this action. + +HTTP Status Code: 403 + +**InternalServerException** + + +An internal server error occurred. Retry the request later. + +**retryAfterSeconds** + + +The number of seconds to wait before retrying the request. + +HTTP Status Code: 500 + @@ -119 +138 @@ HTTP Status Code: 404 -The AWS Lambda MicroVMs service encountered an internal error. +The AWS Lambda MicroVMs service encountered an internal error. Retry your request. @@ -127,0 +147,22 @@ HTTP Status Code: 500 +**ThrottlingException** + + +The request was denied due to request throttling. Retry the request later. + +**quotaCode** + + +The quota code of the throttled service quota. + +**retryAfterSeconds** + + +The number of seconds to wait before retrying the request. + +**serviceCode** + + +The service code of the throttled service quota. + +HTTP Status Code: 429 + @@ -139,0 +181,7 @@ HTTP Status Code: 429 +**ValidationException** + + +The input does not satisfy the constraints specified by the service. + +HTTP Status Code: 400 +