AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
This is the response object from the GetLayerVersionByArn operation.
Namespace: Amazon.Lambda.Model
Assembly: AWSSDK.Lambda.dll
Version: 3.x.y.z
public class GetLayerVersionByArnResponse : AmazonWebServiceResponse
The GetLayerVersionByArnResponse type exposes the following members
Name | Description | |
---|---|---|
![]() |
GetLayerVersionByArnResponse() |
Name | Type | Description | |
---|---|---|---|
![]() |
CompatibleArchitectures | System.Collections.Generic.List<System.String> |
Gets and sets the property CompatibleArchitectures. A list of compatible instruction set architectures. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true. |
![]() |
CompatibleRuntimes | System.Collections.Generic.List<System.String> |
Gets and sets the property CompatibleRuntimes. The layer's compatible runtimes. The following list includes deprecated runtimes. For more information, see Runtime use after deprecation. For a list of all currently supported runtimes, see Supported runtimes. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true. |
![]() |
Content | Amazon.Lambda.Model.LayerVersionContentOutput |
Gets and sets the property Content. Details about the layer version. |
![]() |
ContentLength | System.Int64 | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
![]() |
CreatedDate | System.String |
Gets and sets the property CreatedDate. The date that the layer version was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD). |
![]() |
Description | System.String |
Gets and sets the property Description. The description of the version. |
![]() |
HttpStatusCode | System.Net.HttpStatusCode | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
![]() |
LayerArn | System.String |
Gets and sets the property LayerArn. The ARN of the layer. |
![]() |
LayerVersionArn | System.String |
Gets and sets the property LayerVersionArn. The ARN of the layer version. |
![]() |
LicenseInfo | System.String |
Gets and sets the property LicenseInfo. The layer's software license. |
![]() |
ResponseMetadata | Amazon.Runtime.ResponseMetadata | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
![]() |
Version | System.Nullable<System.Int64> |
Gets and sets the property Version. The version number. |
The following example returns information about the layer version with the specified Amazon Resource Name (ARN).
var client = new AmazonLambdaClient(); var response = client.GetLayerVersion(new GetLayerVersionRequest { LayerName = "my-layer", VersionNumber = 1 }); List<string> compatibleRuntimes = response.CompatibleRuntimes; LayerVersionContentOutput content = response.Content; string createdDate = response.CreatedDate; string description = response.Description; string layerArn = response.LayerArn; string layerVersionArn = response.LayerVersionArn; string licenseInfo = response.LicenseInfo; long version = response.Version;
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer