

# GetNetworkConnector
<a name="API_GetNetworkConnector"></a>

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.

## Request Syntax
<a name="API_GetNetworkConnector_RequestSyntax"></a>

```
GET /2026-04-04/network-connectors/{{Identifier}} HTTP/1.1
```

## URI Request Parameters
<a name="API_GetNetworkConnector_RequestParameters"></a>

The request uses the following URI parameters.

 ** [Identifier](#API_GetNetworkConnector_RequestSyntax) **   <a name="lambdacore-GetNetworkConnector-request-uri-Identifier"></a>
The identifier of the network connector to retrieve. You can specify the connector ID, name, or ARN. Provide an unqualified ARN (or an ID or name) to retrieve the connector's latest version, or a version-qualified ARN — one that includes the immutable version suffix — to retrieve a specific historical version.  
Length Constraints: Minimum length of 1. Maximum length of 140.  
Required: Yes

## Request Body
<a name="API_GetNetworkConnector_RequestBody"></a>

The request does not have a request body.

## Response Syntax
<a name="API_GetNetworkConnector_ResponseSyntax"></a>

```
HTTP/1.1 200
Content-type: application/json

{
   "Arn": "string",
   "Configuration": { ... },
   "Id": "string",
   "LastModified": "string",
   "LastUpdateStatus": "string",
   "LastUpdateStatusReason": "string",
   "LastUpdateStatusReasonCode": "string",
   "LatestVersion": number,
   "LatestVersionArn": "string",
   "Name": "string",
   "OperatorRole": "string",
   "State": "string",
   "StateReason": "string",
   "StateReasonCode": "string",
   "Version": number,
   "VersionArn": "string"
}
```

## Response Elements
<a name="API_GetNetworkConnector_ResponseElements"></a>

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

 ** [Arn](#API_GetNetworkConnector_ResponseSyntax) **   <a name="lambdacore-GetNetworkConnector-response-Arn"></a>
The Amazon Resource Name (ARN) of the network connector.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 140.  
Pattern: `(arn:aws[a-zA-Z-]*:lambda:(eusc-)?[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1}:\d{12}:network-connector:[a-zA-Z0-9-_]+(:[1-9][0-9]*)?)` 

 ** [Configuration](#API_GetNetworkConnector_ResponseSyntax) **   <a name="lambdacore-GetNetworkConnector-response-Configuration"></a>
The network configuration of the connector, including VPC subnets and security groups.  
Type: [NetworkConnectorConfiguration](API_NetworkConnectorConfiguration.md) object  
 **Note: **This object is a Union. Only one member of this object can be specified or returned.

 ** [Id](#API_GetNetworkConnector_ResponseSyntax) **   <a name="lambdacore-GetNetworkConnector-response-Id"></a>
The unique identifier of the network connector.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 140.

 ** [LastModified](#API_GetNetworkConnector_ResponseSyntax) **   <a name="lambdacore-GetNetworkConnector-response-LastModified"></a>
The date and time when the connector configuration was last modified.  
Type: Timestamp

 ** [LastUpdateStatus](#API_GetNetworkConnector_ResponseSyntax) **   <a name="lambdacore-GetNetworkConnector-response-LastUpdateStatus"></a>
The status of the most recent update operation (`Successful`, `Failed`, or `InProgress`).  
Type: String  
Valid Values: `Successful | Failed | InProgress` 

 ** [LastUpdateStatusReason](#API_GetNetworkConnector_ResponseSyntax) **   <a name="lambdacore-GetNetworkConnector-response-LastUpdateStatusReason"></a>
A human-readable explanation of the last update status.  
Type: String

 ** [LastUpdateStatusReasonCode](#API_GetNetworkConnector_ResponseSyntax) **   <a name="lambdacore-GetNetworkConnector-response-LastUpdateStatusReasonCode"></a>
A machine-readable code indicating the reason for the last update status. Use this for programmatic error handling.  
Type: String  
Valid Values: `DisallowedByVpcEncryptionControl | Ec2RequestLimitExceeded | InsufficientRolePermissions | InternalError | InvalidSecurityGroup | InvalidSubnet | SecurityGroupsPerInterfaceLimitExceeded | SubnetOutOfIPAddresses` 

 ** [LatestVersion](#API_GetNetworkConnector_ResponseSyntax) **   <a name="lambdacore-GetNetworkConnector-response-LatestVersion"></a>
The version number of the connector's latest active version. Each configuration update creates a new immutable version; this attribute exposes the most recent one. This field is returned only on a standard (unqualified) request.  
Type: Long  
Valid Range: Minimum value of 1.

 ** [LatestVersionArn](#API_GetNetworkConnector_ResponseSyntax) **   <a name="lambdacore-GetNetworkConnector-response-LatestVersionArn"></a>
The qualified ARN of the connector's latest active version, including the immutable version suffix. This field is returned only on a standard (unqualified) request; when you supply a version-qualified identifier it is not returned, and `VersionArn` is returned instead.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 140.  
Pattern: `(arn:aws[a-zA-Z-]*:lambda:(eusc-)?[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1}:\d{12}:network-connector:[a-zA-Z0-9-_]+(:[1-9][0-9]*)?)` 

 ** [Name](#API_GetNetworkConnector_ResponseSyntax) **   <a name="lambdacore-GetNetworkConnector-response-Name"></a>
The name of the network connector.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 140.  
Pattern: `(arn:aws[a-zA-Z-]*:lambda:(eusc-)?[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1}:\d{12}:network-connector:[a-zA-Z0-9-_]+(:[1-9][0-9]*)?)|[a-zA-Z0-9_-]{1,64}` 

 ** [OperatorRole](#API_GetNetworkConnector_ResponseSyntax) **   <a name="lambdacore-GetNetworkConnector-response-OperatorRole"></a>
The ARN of the IAM role that Lambda uses to manage the underlying ENI resources for this connector.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 10000.  
Pattern: `arn:(aws[a-zA-Z-]*)?:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+` 

 ** [State](#API_GetNetworkConnector_ResponseSyntax) **   <a name="lambdacore-GetNetworkConnector-response-State"></a>
The current state of the network connector.  
Type: String  
Valid Values: `PENDING | ACTIVE | INACTIVE | FAILED | DELETING | DELETE_FAILED` 

 ** [StateReason](#API_GetNetworkConnector_ResponseSyntax) **   <a name="lambdacore-GetNetworkConnector-response-StateReason"></a>
A human-readable explanation of the current state, populated when the state is `FAILED` or `DELETE_FAILED`.  
Type: String

 ** [StateReasonCode](#API_GetNetworkConnector_ResponseSyntax) **   <a name="lambdacore-GetNetworkConnector-response-StateReasonCode"></a>
A machine-readable code indicating the reason for the current state. Use this for programmatic error handling.  
Type: String  
Valid Values: `DisallowedByVpcEncryptionControl | Ec2RequestLimitExceeded | InsufficientRolePermissions | InternalError | InvalidSecurityGroup | InvalidSubnet | SecurityGroupsPerInterfaceLimitExceeded | SubnetOutOfIPAddresses` 

 ** [Version](#API_GetNetworkConnector_ResponseSyntax) **   <a name="lambdacore-GetNetworkConnector-response-Version"></a>
The version number of the network connector. On a standard (unqualified) request, this is the connector's current version; each configuration update increments it. When you supply a version-qualified identifier, this is the specific version you requested.  
Type: Long  
Valid Range: Minimum value of 1.

 ** [VersionArn](#API_GetNetworkConnector_ResponseSyntax) **   <a name="lambdacore-GetNetworkConnector-response-VersionArn"></a>
The qualified ARN of the specific connector version returned by this request, including the immutable version suffix. This is populated only when you supply a version-qualified identifier. On a standard (unqualified) request, this field is not populated; the connector's latest active version is returned instead through the `LatestVersionArn` and `LatestVersion` fields described below.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 140.  
Pattern: `(arn:aws[a-zA-Z-]*:lambda:(eusc-)?[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\d{1}:\d{12}:network-connector:[a-zA-Z0-9-_]+(:[1-9][0-9]*)?)` 

## Errors
<a name="API_GetNetworkConnector_Errors"></a>

For information about the errors that are common to all actions, see [Common Error Types](CommonErrors.md).

 ** InvalidParameterValueException **   
One of the parameters in the request is not valid. Check the error message for details about which parameter failed validation.    
 ** Type **   
The exception type.
HTTP Status Code: 400

 ** ResourceNotFoundException **   
The specified network connector does not exist. Verify the identifier (ID, name, or ARN) and Region.    
 ** Type **   
The exception type.
HTTP Status Code: 404

 ** ServiceException **   
An internal service error occurred. Retry the request with exponential backoff.    
 ** Type **   
The exception type.
HTTP Status Code: 500

 ** TooManyRequestsException **   
The request was throttled due to exceeding the allowed request rate. Retry the request after a brief wait using exponential backoff.    
 ** Reason **   
The reason for the throttling.  
 ** retryAfterSeconds **   
The number of seconds to wait before retrying the request.  
 ** Type **   
The exception type.
HTTP Status Code: 429

## See Also
<a name="API_GetNetworkConnector_SeeAlso"></a>

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon Command Line Interface V2](https://docs.amazonaws.cn/goto/cli2/lambda-core-2026-04-30/GetNetworkConnector) 
+  [Amazon SDK for .NET V4](https://docs.amazonaws.cn/goto/DotNetSDKV4/lambda-core-2026-04-30/GetNetworkConnector) 
+  [Amazon SDK for C\+\+](https://docs.amazonaws.cn/goto/SdkForCpp/lambda-core-2026-04-30/GetNetworkConnector) 
+  [Amazon SDK for Go v2](https://docs.amazonaws.cn/goto/SdkForGoV2/lambda-core-2026-04-30/GetNetworkConnector) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/lambda-core-2026-04-30/GetNetworkConnector) 
+  [Amazon SDK for JavaScript V3](https://docs.amazonaws.cn/goto/SdkForJavaScriptV3/lambda-core-2026-04-30/GetNetworkConnector) 
+  [Amazon SDK for Kotlin](https://docs.amazonaws.cn/goto/SdkForKotlin/lambda-core-2026-04-30/GetNetworkConnector) 
+  [Amazon SDK for PHP V3](https://docs.amazonaws.cn/goto/SdkForPHPV3/lambda-core-2026-04-30/GetNetworkConnector) 
+  [Amazon SDK for Python (Boto3)](https://docs.amazonaws.cn/goto/boto3/lambda-core-2026-04-30/GetNetworkConnector) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/lambda-core-2026-04-30/GetNetworkConnector) 