Lambda.Paginator.
ListLayerVersions
¶paginator = client.get_paginator('list_layer_versions')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from Lambda.Client.list_layer_versions()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
CompatibleRuntime='nodejs'|'nodejs4.3'|'nodejs6.10'|'nodejs8.10'|'nodejs10.x'|'nodejs12.x'|'nodejs14.x'|'nodejs16.x'|'java8'|'java8.al2'|'java11'|'python2.7'|'python3.6'|'python3.7'|'python3.8'|'python3.9'|'dotnetcore1.0'|'dotnetcore2.0'|'dotnetcore2.1'|'dotnetcore3.1'|'dotnet6'|'nodejs4.3-edge'|'go1.x'|'ruby2.5'|'ruby2.7'|'provided'|'provided.al2'|'nodejs18.x',
LayerName='string',
CompatibleArchitecture='x86_64'|'arm64',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
go1.x
.[REQUIRED]
The name or Amazon Resource Name (ARN) of the layer.
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken
will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
dict
Response Syntax
{
'LayerVersions': [
{
'LayerVersionArn': 'string',
'Version': 123,
'Description': 'string',
'CreatedDate': 'string',
'CompatibleRuntimes': [
'nodejs'|'nodejs4.3'|'nodejs6.10'|'nodejs8.10'|'nodejs10.x'|'nodejs12.x'|'nodejs14.x'|'nodejs16.x'|'java8'|'java8.al2'|'java11'|'python2.7'|'python3.6'|'python3.7'|'python3.8'|'python3.9'|'dotnetcore1.0'|'dotnetcore2.0'|'dotnetcore2.1'|'dotnetcore3.1'|'dotnet6'|'nodejs4.3-edge'|'go1.x'|'ruby2.5'|'ruby2.7'|'provided'|'provided.al2'|'nodejs18.x',
],
'LicenseInfo': 'string',
'CompatibleArchitectures': [
'x86_64'|'arm64',
]
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
LayerVersions (list) --
A list of versions.
(dict) --
Details about a version of an Lambda layer.
LayerVersionArn (string) --
The ARN of the layer version.
Version (integer) --
The version number.
Description (string) --
The description of the version.
CreatedDate (string) --
The date that the version was created, in ISO 8601 format. For example, 2018-11-27T15:10:45.123+0000
.
CompatibleRuntimes (list) --
The layer's compatible runtimes.
LicenseInfo (string) --
The layer's open-source license.
CompatibleArchitectures (list) --
A list of compatible instruction set architectures.
NextToken (string) --
A token to resume pagination.