LambdaWeb / Client / get_web_account_settings

get_web_account_settings

LambdaWeb.Client.get_web_account_settings()

Retrieves details about your AWS Lambda Web Functions account settings for the current AWS Region, including the quotas that apply to web functions and your current usage.

See also: AWS API Documentation

Request Syntax

response = client.get_web_account_settings()
Return type:

dict

Returns:

Response Syntax

{
    'accountQuotas': {
        'maxTotalArmVCpus': 123,
        'maxTotalRateLimit': 123,
        'maxRevisionsPerFunction': 123,
        'maxEndpointsPerFunction': 123
    },
    'accountUsage': {
        'functionCount': 123
    }
}

Response Structure

  • (dict) –

    Contains your AWS Lambda Web Functions account quotas and usage for the current AWS Region.

    • accountQuotas (dict) –

      The quotas that apply to web functions in your account in the current AWS Region.

      • maxTotalArmVCpus (integer) –

        The maximum total number of Arm vCPUs that you can allocate across all of your web functions in the current AWS Region.

      • maxTotalRateLimit (integer) –

        The maximum number of requests per second allowed across all of your web function endpoints in your account in the current AWS Region.

      • maxRevisionsPerFunction (integer) –

        The maximum number of revisions that a single web function can have.

      • maxEndpointsPerFunction (integer) –

        The maximum number of endpoints that a single web function can have.

    • accountUsage (dict) –

      The current web function usage for your account in the current AWS Region.

      • functionCount (integer) –

        The number of web functions in your account in the current AWS Region. This count includes web functions in all states, not only functions in the Active state.

Exceptions

  • LambdaWeb.Client.exceptions.AccessDeniedException

  • LambdaWeb.Client.exceptions.InternalServerException

  • LambdaWeb.Client.exceptions.ThrottlingException