Deployment API - View ARNs for AWS Lambda layers

  • Reference
  • Published Jul 29, 2022

This API is intended for use with the latest AWS Lambda implementation. For details, see AWS Lambda.

Get the Amazon Resource Names (ARNs) of the latest version of OneAgent for AWS Lambda layers for supported AWS Lambda runtimes.

Note that passing architecture, technology type, or region as a parameter returns only the relevant layers.

The request produces an application/json payload.

GETSaaShttps://{your-environment-id}.live.dynatrace.com/api/v1/deployment/lambda/layer
Environment ActiveGatehttps://{your-activegate-domain}:9999/e/{your-environment-id}/api/v1/deployment/lambda/layer

Authentication

To execute this request, you need an access token with InstallerDownload scope.

To learn how to obtain and use it, see Tokens and authentication.

Parameters

ParameterTypeDescriptionInRequired
archstring

The architecture of your OS:

  • If omitted, shows available layers for all architectures.
  • x86: x86 architecture.
  • arm: ARM architecture.
  • x86
  • arm
queryoptional
techtypestring

Technology type of the lambda runtime.

  • java
  • nodejs
queryoptional
withCollectorstring

Specify if you want the log collector contained or log collector only. ONLY cannot be combined with techtype

  • included
  • excluded
  • only
queryoptional
regionstring

The region of the layer. It must match the region of the AWS Lambda function

queryoptional

Response

Response codes

CodeTypeDescription
200LatestLambdaLayersMetainfo

Success. The payload contains the ARNs of the latest available layers.

404-

Not found. See the response body for details.

4XXErrorEnvelope

Client side error.

5XXErrorEnvelope

Server side error.

Response body objects

The LatestLambdaLayersMetainfo object

Latest information about available AWS lambda layers

ElementTypeDescription
arnsLambdaDto[]-

The LambdaDto object

ElementTypeDescription
archstring-
arnstring-
regionstring-
techTypestring-
withCollectorstring-

Response body JSON model

{
"arns": [
{
"arch": "string",
"arn": "string",
"region": "string",
"techType": "string",
"withCollector": "string"
}
]
}