CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/maven-com-amazonaws--aws-java-sdk-lambda

AWS Java SDK client for communicating with AWS Lambda Service for function management, invocation, and resource control

Pending
Overview
Eval results
Files

account-settings.mddocs/

Account Settings and Limits

Account settings provide access to Lambda service configuration, regional limits, and usage statistics for your AWS account.

Capabilities

Get Account Settings

Retrieves account-level Lambda service limits, usage statistics, and regional configuration information.

/**
 * Retrieves details about your account's limits and usage in an Amazon Web Services Region
 * @param getAccountSettingsRequest - Optional request parameters
 * @return GetAccountSettingsResult containing account limits and usage data
 */
GetAccountSettingsResult getAccountSettings(GetAccountSettingsRequest getAccountSettingsRequest);

Usage Example:

import com.amazonaws.services.lambda.*;
import com.amazonaws.services.lambda.model.*;

AWSLambda lambdaClient = AWSLambdaClientBuilder.standard()
    .withRegion("us-east-1")
    .build();

// Get account settings for the current region
GetAccountSettingsRequest request = new GetAccountSettingsRequest();
GetAccountSettingsResult result = lambdaClient.getAccountSettings(request);

AccountLimit limits = result.getAccountLimit();
AccountUsage usage = result.getAccountUsage();

System.out.println("Concurrent executions limit: " + limits.getConcurrentExecutions());
System.out.println("Total code size limit: " + limits.getTotalCodeSize());
System.out.println("Function count limit: " + limits.getFunctionCount());

System.out.println("Total code size used: " + usage.getTotalCodeSize());
System.out.println("Function count used: " + usage.getFunctionCount());

Types

// Account limits for Lambda service
public class AccountLimit {
    private Long totalCodeSize;
    private Long codeSizeUnzipped;
    private Long codeSizeZipped;
    private Integer concurrentExecutions;
    private Integer unreservedConcurrentExecutions;
    private Integer functionCount;
    // ... getters and setters
}

// Current account usage statistics
public class AccountUsage {
    private Long totalCodeSize;
    private Integer functionCount;
    // ... getters and setters
}

// Account settings request
public class GetAccountSettingsRequest {
    // No required parameters - retrieves settings for current region
}

// Account settings result
public class GetAccountSettingsResult {
    private AccountLimit accountLimit;
    private AccountUsage accountUsage;
    // ... getters and setters
}

Account Limits

Lambda enforces several account-level limits that vary by region:

  • Concurrent Executions: Maximum number of functions that can run simultaneously
  • Total Code Size: Maximum total size of all function deployment packages
  • Function Count: Maximum number of functions per region
  • Code Size (Unzipped): Maximum size of unzipped deployment package
  • Code Size (Zipped): Maximum size of zipped deployment package

These limits can be increased by contacting AWS support for most parameters.

Install with Tessl CLI

npx tessl i tessl/maven-com-amazonaws--aws-java-sdk-lambda

docs

account-settings.md

alias-version-management.md

client-management.md

concurrency-performance.md

event-source-mapping.md

function-invocation.md

function-management.md

function-url-management.md

high-level-invocation.md

index.md

layer-management.md

permissions-policies.md

runtime-management.md

security-code-signing.md

tagging.md

waiters-polling.md

tile.json