AWS Lambda Core 2026-04-30
- Client: Aws\LambdaCore\LambdaCoreClient
- Service ID: lambda-core
- Version: 2026-04-30
This page describes the parameters and results for the operations of the AWS Lambda Core (2026-04-30), and shows how to use the Aws\LambdaCore\LambdaCoreClient object to call the described operations. This documentation is specific to the 2026-04-30 API version of the service.
Operation Summary
Each of the following operations can be created from a client using
$client->getCommand('CommandName'), where "CommandName" is the
name of one of the following operations. Note: a command is a value that
encapsulates an operation and the parameters used to create an HTTP request.
You can also create and send a command immediately using the magic methods
available on a client object: $client->commandName(/* parameters */).
You can send the command asynchronously (returning a promise) by appending the
word "Async" to the operation name: $client->commandNameAsync(/* parameters */).
- CreateNetworkConnector ( array $params = [] )
- Creates a network connector that enables Lambda compute resources to route outbound traffic through your Amazon VPC.
- DeleteNetworkConnector ( array $params = [] )
- Initiates deletion of a network connector.
- GetNetworkConnector ( array $params = [] )
- Retrieves the current configuration, state, and metadata of a network connector.
- ListNetworkConnectors ( array $params = [] )
- Returns a paginated list of network connectors in your account for the current Region.
- UpdateNetworkConnector ( array $params = [] )
- Updates the VPC configuration or operator role of an existing network connector.
Paginators
Paginators handle automatically iterating over paginated API results. Paginators are associated with specific API operations, and they accept the parameters that the corresponding API operation accepts. You can get a paginator from a client class using getPaginator($paginatorName, $operationParameters). This client supports the following paginators:
Operations
CreateNetworkConnector
$result = $client->createNetworkConnector([/* ... */]); $promise = $client->createNetworkConnectorAsync([/* ... */]);
Creates a network connector that enables Lambda compute resources to route outbound traffic through your Amazon VPC. The network connector provisions elastic network interfaces (ENIs) in the subnets you specify, providing a managed network path to private resources such as databases, caches, and internal APIs.
This operation is asynchronous. The network connector starts in PENDING state while ENIs are provisioned in your VPC (provisioning typically takes up to 10 minutes). Use GetNetworkConnector to poll the connector state until it reaches ACTIVE. Once active, you can attach the connector to Lambda MicroVMs at run time using the egressNetworkConnectors parameter on RunMicroVm.
This operation is idempotent when you provide a ClientToken — if you retry a request that completed successfully using the same client token, the operation returns the existing connector without creating a duplicate.
Parameter Syntax
$result = $client->createNetworkConnector([
'ClientToken' => '<string>',
'Configuration' => [ // REQUIRED
'VpcEgressConfiguration' => [
'AssociatedComputeResourceTypes' => ['<string>', ...],
'NetworkProtocol' => 'IPv4|DualStack',
'SecurityGroupIds' => ['<string>', ...],
'SubnetIds' => ['<string>', ...],
],
],
'Name' => '<string>', // REQUIRED
'OperatorRole' => '<string>',
'Tags' => ['<string>', ...],
]);
Parameter Details
Members
- ClientToken
-
- Type: string
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request with the same client token, the API returns the existing connector without creating a duplicate.
- Configuration
-
- Required: Yes
- Type: NetworkConnectorConfiguration structure
The network configuration for the connector. Specify a
VpcEgressConfigurationto enable outbound traffic routing through your VPC. - Name
-
- Required: Yes
- Type: string
A unique name for the network connector within your account and Region. You can use the name to identify the connector in subsequent API calls.
- OperatorRole
-
- Type: string
The ARN of the IAM role that Lambda assumes to manage elastic network interfaces in your VPC. This role must have permissions for
ec2:CreateNetworkInterface,ec2:DeleteNetworkInterface, and related describe operations. - Tags
-
- Type: Associative array of custom strings keys (NetworkConnectorTagKey) to strings
A map of key-value pairs to associate with the network connector for organization, cost allocation, or access control.
Result Syntax
[
'Arn' => '<string>',
'Configuration' => [
'VpcEgressConfiguration' => [
'AssociatedComputeResourceTypes' => ['<string>', ...],
'NetworkProtocol' => 'IPv4|DualStack',
'SecurityGroupIds' => ['<string>', ...],
'SubnetIds' => ['<string>', ...],
],
],
'Id' => '<string>',
'Name' => '<string>',
'OperatorRole' => '<string>',
'State' => 'PENDING|ACTIVE|INACTIVE|FAILED|DELETING|DELETE_FAILED',
]
Result Details
Members
- Arn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the network connector.
- Configuration
-
- Type: NetworkConnectorConfiguration structure
The network configuration of the connector, including VPC subnets and security groups.
- Id
-
- Required: Yes
- Type: string
The unique identifier for a network connector, assigned by the service at creation time
- Name
-
- Required: Yes
- Type: string
The name of the network connector.
- OperatorRole
-
- Type: string
The ARN of the IAM role that Lambda uses to manage the underlying ENI resources for this connector.
- State
-
- Type: string
The current state of the network connector.
Errors
- InvalidParameterValueException:
One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
- ResourceConflictException:
The request could not be completed due to a conflict with the current state of the resource. For example, attempting to update a connector that is not in
ACTIVEstate.- NetworkConnectorLimitExceededException:
The account has reached the maximum number of network connectors allowed. Delete unused connectors or request a limit increase through Service Quotas.
- ServiceException:
An internal service error occurred. Retry the request with exponential backoff.
- TooManyRequestsException:
The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
DeleteNetworkConnector
$result = $client->deleteNetworkConnector([/* ... */]); $promise = $client->deleteNetworkConnectorAsync([/* ... */]);
Initiates deletion of a network connector. The connector transitions to DELETING state while elastic network interfaces are cleaned up asynchronously. After deletion completes, subsequent calls to GetNetworkConnector return ResourceNotFoundException.
This operation is idempotent — calling delete on a connector that is already deleting or has been deleted succeeds without error. You can delete connectors in ACTIVE or FAILED states. Before deleting a connector, ensure that no Lambda MicroVMs are using it, as they will lose VPC egress connectivity immediately.
Parameter Syntax
$result = $client->deleteNetworkConnector([
'Identifier' => '<string>', // REQUIRED
]);
Parameter Details
Members
- Identifier
-
- Required: Yes
- Type: string
A flexible identifier that accepts a network connector ID, name, or ARN
Result Syntax
[
'Arn' => '<string>',
'Configuration' => [
'VpcEgressConfiguration' => [
'AssociatedComputeResourceTypes' => ['<string>', ...],
'NetworkProtocol' => 'IPv4|DualStack',
'SecurityGroupIds' => ['<string>', ...],
'SubnetIds' => ['<string>', ...],
],
],
'Id' => '<string>',
'Name' => '<string>',
'OperatorRole' => '<string>',
'State' => 'PENDING|ACTIVE|INACTIVE|FAILED|DELETING|DELETE_FAILED',
]
Result Details
Members
- Arn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the network connector.
- Configuration
-
- Type: NetworkConnectorConfiguration structure
The network configuration of the connector, including VPC subnets and security groups.
- Id
-
- Required: Yes
- Type: string
The unique identifier for a network connector, assigned by the service at creation time
- Name
-
- Required: Yes
- Type: string
The name of the network connector.
- OperatorRole
-
- Type: string
The ARN of the IAM role that Lambda uses to manage the underlying ENI resources for this connector.
- State
-
- Type: string
The current state of the network connector. The State field is typically
DELETINGafter this call.
Errors
- InvalidParameterValueException:
One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
- ResourceConflictException:
The request could not be completed due to a conflict with the current state of the resource. For example, attempting to update a connector that is not in
ACTIVEstate.- ServiceException:
An internal service error occurred. Retry the request with exponential backoff.
- TooManyRequestsException:
The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
- ResourceNotFoundException:
The specified network connector does not exist. Verify the identifier (ID, name, or ARN) and Region.
GetNetworkConnector
$result = $client->getNetworkConnector([/* ... */]); $promise = $client->getNetworkConnectorAsync([/* ... */]);
Retrieves the current configuration, state, and metadata of a network connector. The Identifier parameter accepts the connector ID, name, or full ARN. Use this operation to poll connector state after creation or update, or to inspect the current VPC configuration and any failure reasons.
The response includes the full connector configuration, current state, and — if the connector has been updated — the LastUpdateStatus and LastUpdateStatusReasonCode fields that indicate whether the most recent update succeeded or failed.
Parameter Syntax
$result = $client->getNetworkConnector([
'Identifier' => '<string>', // REQUIRED
]);
Parameter Details
Members
- Identifier
-
- Required: Yes
- Type: string
A flexible identifier that accepts a network connector ID, name, or ARN
Result Syntax
[
'Arn' => '<string>',
'Configuration' => [
'VpcEgressConfiguration' => [
'AssociatedComputeResourceTypes' => ['<string>', ...],
'NetworkProtocol' => 'IPv4|DualStack',
'SecurityGroupIds' => ['<string>', ...],
'SubnetIds' => ['<string>', ...],
],
],
'Id' => '<string>',
'LastModified' => <DateTime>,
'LastUpdateStatus' => 'Successful|Failed|InProgress',
'LastUpdateStatusReason' => '<string>',
'LastUpdateStatusReasonCode' => 'DisallowedByVpcEncryptionControl|Ec2RequestLimitExceeded|InsufficientRolePermissions|InternalError|InvalidSecurityGroup|InvalidSubnet|SubnetOutOfIPAddresses',
'Name' => '<string>',
'OperatorRole' => '<string>',
'State' => 'PENDING|ACTIVE|INACTIVE|FAILED|DELETING|DELETE_FAILED',
'StateReason' => '<string>',
'StateReasonCode' => 'DisallowedByVpcEncryptionControl|Ec2RequestLimitExceeded|InsufficientRolePermissions|InternalError|InvalidSecurityGroup|InvalidSubnet|SubnetOutOfIPAddresses',
'Version' => <integer>,
]
Result Details
Members
- Arn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the network connector.
- Configuration
-
- Type: NetworkConnectorConfiguration structure
The network configuration of the connector, including VPC subnets and security groups.
- Id
-
- Required: Yes
- Type: string
The unique identifier for a network connector, assigned by the service at creation time
- LastModified
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time when the connector configuration was last modified.
- LastUpdateStatus
-
- Type: string
The status of the most recent update operation (
Successful,Failed, orInProgress). - LastUpdateStatusReason
-
- Type: string
A human-readable explanation of the last update status.
- LastUpdateStatusReasonCode
-
- Type: string
A machine-readable code indicating the reason for the last update status. Use this for programmatic error handling.
- Name
-
- Required: Yes
- Type: string
The name of the network connector.
- OperatorRole
-
- Type: string
The ARN of the IAM role that Lambda uses to manage the underlying ENI resources for this connector.
- State
-
- Type: string
The current state of the network connector.
- StateReason
-
- Type: string
A human-readable explanation of the current state, populated when the state is
FAILEDorDELETE_FAILED. - StateReasonCode
-
- Type: string
A machine-readable code indicating the reason for the current state. Use this for programmatic error handling.
- Version
-
- Type: long (int|float)
The version number of the connector configuration, incremented on each update.
Errors
- InvalidParameterValueException:
One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
- ServiceException:
An internal service error occurred. Retry the request with exponential backoff.
- TooManyRequestsException:
The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
- ResourceNotFoundException:
The specified network connector does not exist. Verify the identifier (ID, name, or ARN) and Region.
ListNetworkConnectors
$result = $client->listNetworkConnectors([/* ... */]); $promise = $client->listNetworkConnectorsAsync([/* ... */]);
Returns a paginated list of network connectors in your account for the current Region. You can optionally filter results by connector state. Use the Marker parameter from a previous response to retrieve the next page of results.
Each item in the response includes the connector ARN, name, ID, type, current state, and last modified timestamp. To retrieve full configuration details for a specific connector, use GetNetworkConnector.
Parameter Syntax
$result = $client->listNetworkConnectors([
'Marker' => '<string>',
'MaxItems' => <integer>,
'State' => 'PENDING|ACTIVE|INACTIVE|FAILED|DELETING|DELETE_FAILED',
]);
Parameter Details
Members
- Marker
-
- Type: string
The pagination token from a previous
ListNetworkConnectorsresponse. Use this value to retrieve the next page of results. - MaxItems
-
- Type: int
The maximum number of connectors to return per page. Valid range: 1 to 100.
- State
-
- Type: string
Optional filter to return only connectors in the specified state (for example,
ACTIVEorFAILED).
Result Syntax
[
'NetworkConnectors' => [
[
'Arn' => '<string>',
'Id' => '<string>',
'LastModified' => <DateTime>,
'Name' => '<string>',
'State' => 'PENDING|ACTIVE|INACTIVE|FAILED|DELETING|DELETE_FAILED',
'Type' => 'VPC_EGRESS',
],
// ...
],
'NextMarker' => '<string>',
]
Result Details
Members
- NetworkConnectors
-
- Required: Yes
- Type: Array of NetworkConnectorSummary structures
A list of network connector summaries for the current page of results.
- NextMarker
-
- Type: string
The pagination token to include in a subsequent request to retrieve the next page. This value is null when there are no more results.
Errors
- InvalidParameterValueException:
One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
- ServiceException:
An internal service error occurred. Retry the request with exponential backoff.
- TooManyRequestsException:
The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
UpdateNetworkConnector
$result = $client->updateNetworkConnector([/* ... */]); $promise = $client->updateNetworkConnectorAsync([/* ... */]);
Updates the VPC configuration or operator role of an existing network connector. You can modify the subnet IDs, security group IDs, network protocol, or operator role. The connector must be in ACTIVE state to accept updates.
This operation is asynchronous. The connector remains in ACTIVE state during the update — existing workloads that reference this connector are not disrupted. Use GetNetworkConnector to monitor the LastUpdateStatus field, which transitions through InProgress to Successful or Failed. If the update fails, the LastUpdateStatusReasonCode field provides a specific error code for troubleshooting. This operation is idempotent when you provide a ClientToken.
Parameter Syntax
$result = $client->updateNetworkConnector([
'ClientToken' => '<string>',
'Configuration' => [
'VpcEgressConfiguration' => [
'AssociatedComputeResourceTypes' => ['<string>', ...],
'NetworkProtocol' => 'IPv4|DualStack',
'SecurityGroupIds' => ['<string>', ...],
'SubnetIds' => ['<string>', ...],
],
],
'Identifier' => '<string>', // REQUIRED
'OperatorRole' => '<string>',
]);
Parameter Details
Members
- ClientToken
-
- Type: string
A unique, case-sensitive identifier to ensure idempotency of the update request.
- Configuration
-
- Type: NetworkConnectorConfiguration structure
The updated network configuration for the connector. Provide the full
VpcEgressConfigurationincluding all subnet IDs and security group IDs — this replaces the existing configuration. - Identifier
-
- Required: Yes
- Type: string
A flexible identifier that accepts a network connector ID, name, or ARN
- OperatorRole
-
- Type: string
The updated ARN of the IAM role that Lambda assumes to manage ENIs. Use this to change the operator role without recreating the connector.
Result Syntax
[
'Arn' => '<string>',
'Configuration' => [
'VpcEgressConfiguration' => [
'AssociatedComputeResourceTypes' => ['<string>', ...],
'NetworkProtocol' => 'IPv4|DualStack',
'SecurityGroupIds' => ['<string>', ...],
'SubnetIds' => ['<string>', ...],
],
],
'Id' => '<string>',
'LastModified' => <DateTime>,
'LastUpdateStatus' => 'Successful|Failed|InProgress',
'LastUpdateStatusReason' => '<string>',
'Name' => '<string>',
'OperatorRole' => '<string>',
'State' => 'PENDING|ACTIVE|INACTIVE|FAILED|DELETING|DELETE_FAILED',
]
Result Details
Members
- Arn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the network connector.
- Configuration
-
- Type: NetworkConnectorConfiguration structure
The network configuration of the connector, including VPC subnets and security groups.
- Id
-
- Required: Yes
- Type: string
The unique identifier for a network connector, assigned by the service at creation time
- LastModified
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp of this update.
- LastUpdateStatus
-
- Type: string
The status of this update operation (typically
InProgressimmediately after the call). - LastUpdateStatusReason
-
- Type: string
A human-readable explanation of the update status.
- Name
-
- Required: Yes
- Type: string
The name of the network connector.
- OperatorRole
-
- Type: string
The ARN of the IAM role that Lambda uses to manage the underlying ENI resources for this connector.
- State
-
- Type: string
The current state of the network connector.
Errors
- InvalidParameterValueException:
One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
- ResourceConflictException:
The request could not be completed due to a conflict with the current state of the resource. For example, attempting to update a connector that is not in
ACTIVEstate.- ServiceException:
An internal service error occurred. Retry the request with exponential backoff.
- TooManyRequestsException:
The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
- ResourceNotFoundException:
The specified network connector does not exist. Verify the identifier (ID, name, or ARN) and Region.
Shapes
InvalidParameterValueException
Description
One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.
Members
- Type
-
- Type: string
The exception type.
- message
-
- Type: string
NetworkConnectorConfiguration
Description
The network configuration for a network connector. Different connector types use different configuration shapes; specify the configuration that matches your connector type.
Members
- VpcEgressConfiguration
-
- Type: NetworkConnectorVpcEgressConfiguration structure
Configuration for a VPC egress network connector. Specifies the subnets, security groups, and network protocol for routing outbound traffic through your VPC.
NetworkConnectorLimitExceededException
Description
The account has reached the maximum number of network connectors allowed. Delete unused connectors or request a limit increase through Service Quotas.
Members
- Type
-
- Type: string
The exception type.
- message
-
- Type: string
A human-readable description of the error.
NetworkConnectorSummary
Description
Summary information about a network connector returned by ListNetworkConnectors. Contains identifying fields and current state. To retrieve full configuration details, use GetNetworkConnector.
Members
- Arn
-
- Required: Yes
- Type: string
The ARN of the network connector.
- Id
-
- Required: Yes
- Type: string
The unique identifier for a network connector, assigned by the service at creation time
- LastModified
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The date and time when the connector was last modified.
- Name
-
- Required: Yes
- Type: string
The name of the network connector.
- State
-
- Type: string
The current state of the network connector.
- Type
-
- Required: Yes
- Type: string
The type of the network connector (
VPC_EGRESS).
NetworkConnectorVpcEgressConfiguration
Description
Configuration for a VPC egress network connector. Specifies the VPC subnets, security groups, network protocol, and associated Lambda compute resource types.
Members
- AssociatedComputeResourceTypes
-
- Type: Array of strings
The types of Lambda compute resources that can use this connector. Currently, only
MicroVmis supported. - NetworkProtocol
-
- Type: string
The network protocol for the connector. Specify
IPv4for IPv4-only networking, orDualStackfor both IPv4 and IPv6. - SecurityGroupIds
-
- Type: Array of strings
The IDs of the VPC security groups to attach to the ENIs. Specify 0 to 5 security groups. All security groups must be in the same VPC as the subnets.
- SubnetIds
-
- Type: Array of strings
The IDs of the VPC subnets where Lambda provisions elastic network interfaces (ENIs). Specify 1 to 16 subnets. All subnets must be in the same VPC.
ResourceConflictException
Description
The request could not be completed due to a conflict with the current state of the resource. For example, attempting to update a connector that is not in ACTIVE state.
Members
- Type
-
- Type: string
The exception type.
- message
-
- Type: string
ResourceNotFoundException
Description
The specified network connector does not exist. Verify the identifier (ID, name, or ARN) and Region.
Members
- Message
-
- Type: string
- Type
-
- Type: string
The exception type.
ServiceException
Description
An internal service error occurred. Retry the request with exponential backoff.
Members
- Message
-
- Type: string
- Type
-
- Type: string
The exception type.
TooManyRequestsException
Description
The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.
Members
- Reason
-
- Type: string
The reason for the throttling.
- Type
-
- Type: string
The exception type.
- message
-
- Type: string
- retryAfterSeconds
-
- Type: string
The number of seconds to wait before retrying the request.