GetAccountSettings - Amazon Lambda
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).


Retrieves details about your account's limits and usage in an Amazon Region.

Request Syntax

GET /2016-08-19/account-settings/ HTTP/1.1

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200 Content-type: application/json { "AccountLimit": { "CodeSizeUnzipped": number, "CodeSizeZipped": number, "ConcurrentExecutions": number, "TotalCodeSize": number, "UnreservedConcurrentExecutions": number }, "AccountUsage": { "FunctionCount": number, "TotalCodeSize": number } }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.


Limits that are related to concurrency and code storage.

Type: AccountLimit object


The number of functions and amount of storage in use.

Type: AccountUsage object


For information about the errors that are common to all actions, see Common Errors.


The Amazon Lambda service encountered an internal error.

HTTP Status Code: 500


The request throughput limit was exceeded. For more information, see Lambda quotas.

HTTP Status Code: 429

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: