Amazon Web Services Functions API
The Functions API from Amazon Web Services — 3 operation(s) for functions.
The Functions API from Amazon Web Services — 3 operation(s) for functions.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/amazon-web-services:amazon-web-services-functions-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Amazon Web Services Functions API
version: '1.0'
description: 'Operations tagged Functions across 2 of this provider''s published API definitions: appsync-openapi-original.yml, lambda-openapi-original.yml. Each path carries the servers of the definition it was published in.'
tags:
- name: Functions
paths:
/v1/apis/{apiId}/functions:
GET:
summary: Amazon Web Services Listfunctions
description: List multiple functions.
operationId: amazonWebServicesListFunctions
tags:
- Functions
/v1/apis/{apiId}/functions/{functionId}:
POST:
summary: Amazon Web Services Updatefunction
description: Updates a Function object.
operationId: amazonWebServicesUpdateFunction
tags:
- Functions
/v1/apis/{apiId}/functions/{functionId}/resolvers:
GET:
summary: Amazon Web Services Listresolversbyfunction
description: List the resolvers that are associated with a specific function.
operationId: amazonWebServicesListResolversByFunction
tags:
- Functions
/2015-03-31/functions/{FunctionName}/policy:
GET:
summary: Amazon Web Services Getpolicy
description: Returns the resource-based IAM policy for a function, version, or alias.
operationId: amazonWebServicesGetPolicy
tags:
- Functions
/2015-03-31/functions/{FunctionName}/aliases:
GET:
summary: Amazon Web Services Listaliases
description: Returns a list of aliases for a Lambda function.
operationId: amazonWebServicesListAliases
tags:
- Functions
/2015-03-31/functions:
POST:
summary: Amazon Web Services Createfunction
description: Creates a Lambda function. To create a function, you need a deployment package and an execution role. The deployment package is a .zip file archive or container image that contains your function code. The execution role grants the function permission to use Amazon Web Services, such as Amazon CloudWatch Logs for log streaming and X-Ray for request tracing. If the deployment package is a container image, then you set the package type to Image. For a container image, the code property must include the URI of a container image in the Amazon ECR registry. You do not need to specify the handler and runtime properties. If the deployment package is a .zip file archive, then you set the package type to Zip. For a .zip file archive, the code property specifies the location of the .zip file. You must also specify the handler and runtime properties. The code in the deployment package must be compatible with the target instruction set architecture of the function (x86-64 or arm64). If you do not specify the architecture, then the default value is x86-64. When you create a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute or so. During this time, you can't invoke or modify the function. The State, StateReason, and StateReasonCode fields in the response from GetFunctionConfiguration indicate when the function is ready to invoke. For more information, see Lambda function states. A function has an unpublished version, and can have published versions and aliases. The unpublished version changes when you update your function's code and configuration. A published version is a snapshot of your function code and configuration that can't be changed. An alias is a named resource that maps to a version, and can be changed to map to a different version. Use the Publish parameter to create version 1 of your function from its initial configuration. The other parameters let you configure version-specific and function-level settings. You can modify version-specific settings later with UpdateFunctionConfiguration. Function-level settings apply to both the unpublished and published versions of the function, and include tags (TagResource) and per-function concurrency limits (PutFunctionConcurrency). You can use code signing if your deployment package is a .zip file archive. To enable code signing for this function, specify the ARN of a code-signing configuration. When a user attempts to deploy a code package with UpdateFunctionCode, Lambda checks that the code package has a valid signature from a trusted publisher. The code-signing configuration includes set of signing profiles, which define the trusted publishers for this function. If another Amazon Web Services account or an Amazon Web Service invokes your function, use AddPermission to grant permission by creating a resource-based Identity and Access Management (IAM) policy. You can grant permissions at the function level, on a version, or on an alias. To invoke your function directly, use Invoke. To invoke your function in response to events in other Amazon Web Services, create an event source mapping (CreateEventSourceMapping), or configure a function trigger in the other service. For more information, see Invoking Lambda functions.
operationId: amazonWebServicesCreateFunction
tags:
- Functions
/2021-10-31/functions/{FunctionName}/url:
PUT:
summary: Amazon Web Services Updatefunctionurlconfig
description: Updates the configuration for a Lambda function URL.
operationId: amazonWebServicesUpdateFunctionUrlConfig
tags:
- Functions
/2015-03-31/functions/{FunctionName}/aliases/{Name}:
PUT:
summary: Amazon Web Services Updatealias
description: Updates the configuration of a Lambda function alias.
operationId: amazonWebServicesUpdateAlias
tags:
- Functions
/2015-03-31/functions/{FunctionName}:
GET:
summary: Amazon Web Services Getfunction
description: Returns information about the function or function version, with a link to download the deployment package that's valid for 10 minutes. If you specify a function version, only details that are specific to that version are returned.
operationId: amazonWebServicesGetFunction
tags:
- Functions
/2020-06-30/functions/{FunctionName}/code-signing-config:
PUT:
summary: Amazon Web Services Putfunctioncodesigningconfig
description: Update the code signing configuration for the function. Changes to the code signing configuration take effect the next time a user tries to deploy a code package to the function.
operationId: amazonWebServicesPutFunctionCodeSigningConfig
tags:
- Functions
/2017-10-31/functions/{FunctionName}/concurrency:
PUT:
summary: Amazon Web Services Putfunctionconcurrency
description: Sets the maximum number of simultaneous executions for a 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.
operationId: amazonWebServicesPutFunctionConcurrency
tags:
- Functions
/2019-09-25/functions/{FunctionName}/event-invoke-config:
POST:
summary: Amazon Web Services Updatefunctioneventinvokeconfig
description: Updates the configuration for asynchronous invocation for a function, version, or alias. To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.
operationId: amazonWebServicesUpdateFunctionEventInvokeConfig
tags:
- Functions
/2019-09-30/functions/{FunctionName}/provisioned-concurrency:
PUT:
summary: Amazon Web Services Putprovisionedconcurrencyconfig
description: Adds a provisioned concurrency configuration to a function's alias or version.
operationId: amazonWebServicesPutProvisionedConcurrencyConfig
tags:
- Functions
/2019-09-30/functions/{FunctionName}/concurrency:
GET:
summary: Amazon Web Services Getfunctionconcurrency
description: Returns details about the reserved concurrency configuration for a function. To set a concurrency limit for a function, use PutFunctionConcurrency.
operationId: amazonWebServicesGetFunctionConcurrency
tags:
- Functions
/2015-03-31/functions/{FunctionName}/configuration:
PUT:
summary: Amazon Web Services Updatefunctionconfiguration
description: Modify the version-specific settings of a Lambda function. When you update a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute. During this time, you can't modify the function, but you can still invoke it. The LastUpdateStatus, LastUpdateStatusReason, and LastUpdateStatusReasonCode fields in the response from GetFunctionConfiguration indicate when the update is complete and the function is processing events with the new configuration. For more information, see Lambda function states. These settings can vary between versions of a function and are locked when you publish a version. You can't modify the configuration of a published version, only the unpublished version. To configure function concurrency, use PutFunctionConcurrency. To grant invoke permissions to an Amazon Web Services account or Amazon Web Service, use AddPermission.
operationId: amazonWebServicesUpdateFunctionConfiguration
tags:
- Functions
/2021-07-20/functions/{FunctionName}/runtime-management-config:
PUT:
summary: Amazon Web Services Putruntimemanagementconfig
description: Sets the runtime management configuration for a function's version. For more information, see Runtime updates.
operationId: amazonWebServicesPutRuntimeManagementConfig
tags:
- Functions
/2015-03-31/functions/{FunctionName}/invocations:
POST:
summary: Amazon Web Services Invoke
description: Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or asynchronously. By default, Lambda invokes your function synchronously (i.e. theInvocationType is RequestResponse). To invoke a function asynchronously, set InvocationType to Event. Lambda passes the ClientContext object to your function for synchronous invocations only. For synchronous invocation, details about the function response, including errors, are included in the response body and headers. For either invocation type, you can find more information in the execution log and trace. When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type, client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an error, Lambda executes the function up to two more times. For more information, see Error handling and automatic retries in Lambda. For asynchronous invocation, Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple times, even if no error occurs. To retain events that were not processed, configure your function with a dead-letter queue. The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that prevent your function from executing, such as permissions errors, quota errors, or issues with your function's code and configuration. For example, Lambda returns TooManyRequestsException if running the function would cause you to exceed a concurrency limit at either the account level (ConcurrentInvocationLimitExceeded) or function level (ReservedFunctionConcurrentInvocationLimitExceeded). For functions with a long timeout, your client might disconnect during synchronous invocation while it waits for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long connections with timeout or keep-alive settings. This operation requires permission for the lambda:InvokeFunction action. For details on how to set up permissions for cross-account invocations, see Granting function access to other accounts.
operationId: amazonWebServicesInvoke
tags:
- Functions
/2014-11-13/functions/{FunctionName}/invoke-async/:
POST:
summary: Amazon Web Services Invokeasync
description: For asynchronous function invocation, use Invoke. Invokes a function asynchronously.
operationId: amazonWebServicesInvokeAsync
tags:
- Functions
/2021-11-15/functions/{FunctionName}/response-streaming-invocations:
POST:
summary: Amazon Web Services Invokewithresponsestream
description: Configure your Lambda functions to stream response payloads back to clients. For more information, see Configuring a Lambda function to stream responses. This operation requires permission for the lambda:InvokeFunction action. For details on how to set up permissions for cross-account invocations, see Granting function access to other accounts.
operationId: amazonWebServicesInvokeWithResponseStream
tags:
- Functions
/2019-09-25/functions/{FunctionName}/event-invoke-config/list:
GET:
summary: Amazon Web Services Listfunctioneventinvokeconfigs
description: Retrieves a list of configurations for asynchronous invocation for a function. To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.
operationId: amazonWebServicesListFunctionEventInvokeConfigs
tags:
- Functions
/2021-10-31/functions/{FunctionName}/urls:
GET:
summary: Amazon Web Services Listfunctionurlconfigs
description: Returns a list of Lambda function URLs for the specified function.
operationId: amazonWebServicesListFunctionUrlConfigs
tags:
- Functions
/2015-03-31/functions/:
GET:
summary: Amazon Web Services Listfunctions
description: Returns a list of Lambda functions, with the version-specific configuration of each. Lambda returns up to 50 functions per call. Set FunctionVersion to ALL to include all published versions of each function in addition to the unpublished version. The ListFunctions operation returns a subset of the FunctionConfiguration fields. To get the additional fields (State, StateReasonCode, StateReason, LastUpdateStatus, LastUpdateStatusReason, LastUpdateStatusReasonCode, RuntimeVersionConfig) for a function or version, use GetFunction.
operationId: get20150331Functions
tags:
- Functions
x-operation-id-source: normalized
x-operation-id-original: amazonWebServicesListFunctions
/2019-09-30/functions/{FunctionName}/provisioned-concurrency?List=ALL:
GET:
summary: Amazon Web Services Listprovisionedconcurrencyconfigs
description: Retrieves a list of provisioned concurrency configurations for a function.
operationId: amazonWebServicesListProvisionedConcurrencyConfigs
tags:
- Functions
/2015-03-31/functions/{FunctionName}/versions:
POST:
summary: Amazon Web Services Publishversion
description: Creates a version from the current code and configuration of a function. Use versions to create a snapshot of your function code and configuration that doesn't change. Lambda doesn't publish a version if the function's configuration and code haven't changed since the last version. Use UpdateFunctionCode or UpdateFunctionConfiguration to update the function before publishing a version. Clients can invoke versions directly or with an alias. To create an alias, use CreateAlias.
operationId: amazonWebServicesPublishVersion
tags:
- Functions
/2015-03-31/functions/{FunctionName}/policy/{StatementId}:
DELETE:
summary: Amazon Web Services Removepermission
description: Revokes function-use permission from an Amazon Web Service or another Amazon Web Services account. You can get the ID of the statement from the output of GetPolicy.
operationId: amazonWebServicesRemovePermission
tags:
- Functions
/2015-03-31/functions/{FunctionName}/code:
PUT:
summary: Amazon Web Services Updatefunctioncode
description: Updates a Lambda function's code. If code signing is enabled for the function, the code package must be signed by a trusted publisher. For more information, see Configuring code signing for Lambda. If the function's package type is Image, then you must specify the code package in ImageUri as the URI of a container image in the Amazon ECR registry. If the function's package type is Zip, then you must specify the deployment package as a .zip file archive. Enter the Amazon S3 bucket and key of the code .zip file location. You can also provide the function code inline using the ZipFile field. The code in the deployment package must be compatible with the target instruction set architecture of the function (x86-64 or arm64). The function's code is locked when you publish a version. You can't modify the code of a published version, only the unpublished version. For a function defined as a container image, Lambda resolves the image tag to an image digest. In Amazon ECR, if you update the image tag to a new image, Lambda does not automatically update the function.
operationId: amazonWebServicesUpdateFunctionCode
tags:
- Functions
x-refined-from:
- appsync-openapi-original.yml
- lambda-openapi-original.yml