AWS Lambda Concurrency API

Manage reserved and provisioned concurrency settings for functions

GitHub OpenAPI

Operations 6

DELETE /2017-10-31/functions/{FunctionName}/concurrency Delete Function Concurrency #
PUT /2017-10-31/functions/{FunctionName}/concurrency Put Function Concurrency #
GET /2019-09-30/functions/{FunctionName}/concurrency Get Function Concurrency #
PUT /2019-09-30/functions/{FunctionName}/provisioned-concurrency Put Provisioned Concurrency Config #
GET /2019-09-30/functions/{FunctionName}/provisioned-concurrency Get Provisioned Concurrency Config #
DELETE /2019-09-30/functions/{FunctionName}/provisioned-concurrency Delete Provisioned Concurrency Config #

Documentation

Specifications

Code Examples

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/aws-lambda:aws-lambda-concurrency-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

aws-lambda-concurrency-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Lambda Concurrency API
  version: '2015-03-31'
  description: Generated from AWS's published Smithy model for AWS Lambda. 6 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://lambda.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /2017-10-31/functions/{FunctionName}/concurrency:
    delete:
      operationId: DeleteFunctionConcurrency
      summary: Delete Function Concurrency
      description: Removes a concurrent execution limit from a Lambda Event Function.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: string
        '400':
          description: InvalidParameterValueException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidParameterValueException'
        '409':
          description: ResourceConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceConflictException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '500':
          description: ServiceException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceException'
        '429':
          description: TooManyRequestsException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TooManyRequestsException'
      parameters:
      - name: FunctionName
        in: path
        required: true
        schema:
          type: string
        description: The name or ARN of the Lambda function. Name formats Function name – my-function. Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function.
          Partial ARN – 123456789012:function:my-function. The length constraint applies only to the full ARN. If you specify
          only the function name, it is limited to 64 characters in length.
      tags:
      - Concurrency
    put:
      operationId: PutFunctionConcurrency
      summary: Put Function Concurrency
      description: Sets the maximum number of simultaneous executions for a Lambda Event Function, and reserves capacity for
        that concurrency level. Concurrency settings apply to the function as a whole, including all published versions and
        the unpublished version. Reserving concurrency both ensures that your function has capacity to process the specified
        number of events simultaneously, and prevents it from scaling beyond that level. Use GetFunction to see the current
        setting for a function. Use GetAccountSettings to see your Regional concurrency limit. You can reserve concurrency
        for as many functions as you like, as long as you leave at least 100 simultaneous executions unreserved for functions
        that aren't configured with a per-function limit. For more information, see Lambda function scaling.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Concurrency'
              example:
                ReservedConcurrentExecutions: 100
        '400':
          description: InvalidParameterValueException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidParameterValueException'
        '409':
          description: ResourceConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceConflictException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '500':
          description: ServiceException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceException'
        '429':
          description: TooManyRequestsException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TooManyRequestsException'
      parameters:
      - name: FunctionName
        in: path
        required: true
        schema:
          type: string
        description: The name or ARN of the Lambda function. Name formats Function name – my-function. Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function.
          Partial ARN – 123456789012:function:my-function. The length constraint applies only to the full ARN. If you specify
          only the function name, it is limited to 64 characters in length.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                ReservedConcurrentExecutions:
                  type: integer
                  description: The number of simultaneous executions to reserve for the function.
              required:
              - ReservedConcurrentExecutions
            example:
              FunctionName: my-function
              ReservedConcurrentExecutions: 100
      tags:
      - Concurrency
  /2019-09-30/functions/{FunctionName}/concurrency:
    get:
      operationId: GetFunctionConcurrency
      summary: Get Function Concurrency
      description: Returns details about the reserved concurrency configuration for a function. To set a concurrency limit
        for a function, use PutFunctionConcurrency.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetFunctionConcurrencyResponse'
              example:
                ReservedConcurrentExecutions: 250
        '400':
          description: InvalidParameterValueException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidParameterValueException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '500':
          description: ServiceException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceException'
        '429':
          description: TooManyRequestsException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TooManyRequestsException'
      parameters:
      - name: FunctionName
        in: path
        required: true
        schema:
          type: string
        description: The name or ARN of the Lambda function. Name formats Function name – my-function. Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function.
          Partial ARN – 123456789012:function:my-function. The length constraint applies only to the full ARN. If you specify
          only the function name, it is limited to 64 characters in length.
      tags:
      - Concurrency
  /2019-09-30/functions/{FunctionName}/provisioned-concurrency:
    put:
      operationId: PutProvisionedConcurrencyConfig
      summary: Put Provisioned Concurrency Config
      description: Adds a provisioned concurrency configuration to a function's alias or version.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PutProvisionedConcurrencyConfigResponse'
              example:
                AllocatedProvisionedConcurrentExecutions: 0
                LastModified: 2019-11-21T19:32:12+0000
                RequestedProvisionedConcurrentExecutions: 100
                Status: IN_PROGRESS
        '400':
          description: InvalidParameterValueException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidParameterValueException'
        '409':
          description: ResourceConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceConflictException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '500':
          description: ServiceException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceException'
        '429':
          description: TooManyRequestsException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TooManyRequestsException'
      parameters:
      - name: FunctionName
        in: path
        required: true
        schema:
          type: string
        description: The name or ARN of the Lambda function. Name formats Function name – my-function. Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function.
          Partial ARN – 123456789012:function:my-function. The length constraint applies only to the full ARN. If you specify
          only the function name, it is limited to 64 characters in length.
      - name: Qualifier
        in: query
        required: true
        schema:
          type: string
        description: The version number or alias name.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                ProvisionedConcurrentExecutions:
                  type: integer
                  description: The amount of provisioned concurrency to allocate for the version or alias.
              required:
              - ProvisionedConcurrentExecutions
            example:
              FunctionName: my-function
              ProvisionedConcurrentExecutions: 100
              Qualifier: BLUE
      tags:
      - Concurrency
    get:
      operationId: GetProvisionedConcurrencyConfig
      summary: Get Provisioned Concurrency Config
      description: Retrieves the provisioned concurrency configuration for a function's alias or version.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetProvisionedConcurrencyConfigResponse'
              example:
                AllocatedProvisionedConcurrentExecutions: 100
                AvailableProvisionedConcurrentExecutions: 100
                LastModified: 2019-12-31T20:28:49+0000
                RequestedProvisionedConcurrentExecutions: 100
                Status: READY
        '400':
          description: InvalidParameterValueException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidParameterValueException'
        '404':
          description: ProvisionedConcurrencyConfigNotFoundException; ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProvisionedConcurrencyConfigNotFoundException'
        '500':
          description: ServiceException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceException'
        '429':
          description: TooManyRequestsException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TooManyRequestsException'
      parameters:
      - name: FunctionName
        in: path
        required: true
        schema:
          type: string
        description: The name or ARN of the Lambda function. Name formats Function name – my-function. Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function.
          Partial ARN – 123456789012:function:my-function. The length constraint applies only to the full ARN. If you specify
          only the function name, it is limited to 64 characters in length.
      - name: Qualifier
        in: query
        required: true
        schema:
          type: string
        description: The version number or alias name.
      tags:
      - Concurrency
    delete:
      operationId: DeleteProvisionedConcurrencyConfig
      summary: Delete Provisioned Concurrency Config
      description: Deletes the provisioned concurrency configuration for a function.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: string
        '400':
          description: InvalidParameterValueException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidParameterValueException'
        '409':
          description: ResourceConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceConflictException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '500':
          description: ServiceException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceException'
        '429':
          description: TooManyRequestsException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TooManyRequestsException'
      parameters:
      - name: FunctionName
        in: path
        required: true
        schema:
          type: string
        description: The name or ARN of the Lambda function. Name formats Function name – my-function. Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function.
          Partial ARN – 123456789012:function:my-function. The length constraint applies only to the full ARN. If you specify
          only the function name, it is limited to 64 characters in length.
      - name: Qualifier
        in: query
        required: true
        schema:
          type: string
        description: The version number or alias name.
      tags:
      - Concurrency
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: lambda
  schemas:
    Concurrency:
      type: object
      properties:
        ReservedConcurrentExecutions:
          type: integer
          description: The number of concurrent executions that are reserved for this function. For more information, see
            Managing Lambda reserved concurrency.
    GetFunctionConcurrencyResponse:
      type: object
      properties:
        ReservedConcurrentExecutions:
          type: integer
          description: The number of simultaneous executions that are reserved for the function.
    GetProvisionedConcurrencyConfigResponse:
      type: object
      properties:
        RequestedProvisionedConcurrentExecutions:
          type: integer
          description: The amount of provisioned concurrency requested.
        AvailableProvisionedConcurrentExecutions:
          type: integer
          description: The amount of provisioned concurrency available.
        AllocatedProvisionedConcurrentExecutions:
          type: integer
          description: The amount of provisioned concurrency allocated. When a weighted alias is used during linear and canary
            deployments, this value fluctuates depending on the amount of concurrency that is provisioned for the function
            versions.
        Status:
          type: string
          enum:
          - IN_PROGRESS
          - READY
          - FAILED
          description: The status of the allocation process.
        StatusReason:
          type: string
          description: For failed allocations, the reason that provisioned concurrency could not be allocated.
        LastModified:
          type: string
          description: The date and time that a user last updated the configuration, in ISO 8601 format.
    InvalidParameterValueException:
      type: object
      properties:
        Type:
          type: string
          description: The exception type.
        message:
          type: string
          description: The exception message.
    ProvisionedConcurrencyConfigNotFoundException:
      type: object
      properties:
        Type:
          type: string
        message:
          type: string
    PutProvisionedConcurrencyConfigResponse:
      type: object
      properties:
        RequestedProvisionedConcurrentExecutions:
          type: integer
          description: The amount of provisioned concurrency requested.
        AllocatedProvisionedConcurrentExecutions:
          type: integer
          description: The amount of provisioned concurrency allocated. When a weighted alias is used during linear and canary
            deployments, this value fluctuates depending on the amount of concurrency that is provisioned for the function
            versions.
        AvailableProvisionedConcurrentExecutions:
          type: integer
          description: The amount of provisioned concurrency available.
        Status:
          type: string
          enum:
          - IN_PROGRESS
          - READY
          - FAILED
          description: The status of the allocation process.
        StatusReason:
          type: string
          description: For failed allocations, the reason that provisioned concurrency could not be allocated.
        LastModified:
          type: string
          description: The date and time that a user last updated the configuration, in ISO 8601 format.
    ResourceConflictException:
      type: object
      properties:
        Type:
          type: string
          description: The exception type.
        message:
          type: string
          description: The exception message.
    ResourceNotFoundException:
      type: object
      properties:
        Type:
          type: string
        Message:
          type: string
    ServiceException:
      type: object
      properties:
        Type:
          type: string
        Message:
          type: string
    TooManyRequestsException:
      type: object
      properties:
        retryAfterSeconds:
          type: string
          description: The number of seconds the caller should wait before retrying.
        Type:
          type: string
        message:
          type: string
        Reason:
          type: string
          enum:
          - ConcurrentInvocationLimitExceeded
          - FunctionInvocationRateLimitExceeded
          - ReservedFunctionConcurrentInvocationLimitExceeded
          - ReservedFunctionInvocationRateLimitExceeded
          - CallerRateLimitExceeded
          - ConcurrentSnapshotCreateLimitExceeded
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/lambda/service/2015-03-31/lambda-2015-03-31.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)