libZSservicesZSamazonka-lambdaZSamazonka-lambda
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Lambda.ListLayerVersions

Description

Lists the versions of an Lambda layer. Versions that have been deleted aren't listed. Specify a runtime identifier to list only versions that indicate that they're compatible with that runtime. Specify a compatible architecture to include only layer versions that are compatible with that architecture.

This operation returns paginated results.

Synopsis

Creating a Request

data ListLayerVersions Source #

See: newListLayerVersions smart constructor.

Constructors

ListLayerVersions' 

Fields

Instances

Instances details
Eq ListLayerVersions Source # 
Instance details

Defined in Amazonka.Lambda.ListLayerVersions

Read ListLayerVersions Source # 
Instance details

Defined in Amazonka.Lambda.ListLayerVersions

Show ListLayerVersions Source # 
Instance details

Defined in Amazonka.Lambda.ListLayerVersions

Generic ListLayerVersions Source # 
Instance details

Defined in Amazonka.Lambda.ListLayerVersions

Associated Types

type Rep ListLayerVersions :: Type -> Type #

NFData ListLayerVersions Source # 
Instance details

Defined in Amazonka.Lambda.ListLayerVersions

Methods

rnf :: ListLayerVersions -> () #

Hashable ListLayerVersions Source # 
Instance details

Defined in Amazonka.Lambda.ListLayerVersions

AWSPager ListLayerVersions Source # 
Instance details

Defined in Amazonka.Lambda.ListLayerVersions

AWSRequest ListLayerVersions Source # 
Instance details

Defined in Amazonka.Lambda.ListLayerVersions

Associated Types

type AWSResponse ListLayerVersions #

ToHeaders ListLayerVersions Source # 
Instance details

Defined in Amazonka.Lambda.ListLayerVersions

ToPath ListLayerVersions Source # 
Instance details

Defined in Amazonka.Lambda.ListLayerVersions

ToQuery ListLayerVersions Source # 
Instance details

Defined in Amazonka.Lambda.ListLayerVersions

type Rep ListLayerVersions Source # 
Instance details

Defined in Amazonka.Lambda.ListLayerVersions

type Rep ListLayerVersions = D1 ('MetaData "ListLayerVersions" "Amazonka.Lambda.ListLayerVersions" "libZSservicesZSamazonka-lambdaZSamazonka-lambda" 'False) (C1 ('MetaCons "ListLayerVersions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "compatibleRuntime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Runtime)) :*: S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "compatibleArchitecture") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Architecture)) :*: S1 ('MetaSel ('Just "layerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse ListLayerVersions Source # 
Instance details

Defined in Amazonka.Lambda.ListLayerVersions

newListLayerVersions Source #

Create a value of ListLayerVersions with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:compatibleRuntime:ListLayerVersions', listLayerVersions_compatibleRuntime - A runtime identifier. For example, go1.x.

$sel:marker:ListLayerVersions', listLayerVersions_marker - A pagination token returned by a previous call.

$sel:maxItems:ListLayerVersions', listLayerVersions_maxItems - The maximum number of versions to return.

$sel:compatibleArchitecture:ListLayerVersions', listLayerVersions_compatibleArchitecture - The compatible instruction set architecture.

$sel:layerName:ListLayerVersions', listLayerVersions_layerName - The name or Amazon Resource Name (ARN) of the layer.

Request Lenses

listLayerVersions_compatibleRuntime :: Lens' ListLayerVersions (Maybe Runtime) Source #

A runtime identifier. For example, go1.x.

listLayerVersions_marker :: Lens' ListLayerVersions (Maybe Text) Source #

A pagination token returned by a previous call.

listLayerVersions_maxItems :: Lens' ListLayerVersions (Maybe Natural) Source #

The maximum number of versions to return.

listLayerVersions_layerName :: Lens' ListLayerVersions Text Source #

The name or Amazon Resource Name (ARN) of the layer.

Destructuring the Response

data ListLayerVersionsResponse Source #

See: newListLayerVersionsResponse smart constructor.

Constructors

ListLayerVersionsResponse' 

Fields

Instances

Instances details
Eq ListLayerVersionsResponse Source # 
Instance details

Defined in Amazonka.Lambda.ListLayerVersions

Read ListLayerVersionsResponse Source # 
Instance details

Defined in Amazonka.Lambda.ListLayerVersions

Show ListLayerVersionsResponse Source # 
Instance details

Defined in Amazonka.Lambda.ListLayerVersions

Generic ListLayerVersionsResponse Source # 
Instance details

Defined in Amazonka.Lambda.ListLayerVersions

Associated Types

type Rep ListLayerVersionsResponse :: Type -> Type #

NFData ListLayerVersionsResponse Source # 
Instance details

Defined in Amazonka.Lambda.ListLayerVersions

type Rep ListLayerVersionsResponse Source # 
Instance details

Defined in Amazonka.Lambda.ListLayerVersions

type Rep ListLayerVersionsResponse = D1 ('MetaData "ListLayerVersionsResponse" "Amazonka.Lambda.ListLayerVersions" "libZSservicesZSamazonka-lambdaZSamazonka-lambda" 'False) (C1 ('MetaCons "ListLayerVersionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "layerVersions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LayerVersionsListItem])) :*: (S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListLayerVersionsResponse Source #

Create a value of ListLayerVersionsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:layerVersions:ListLayerVersionsResponse', listLayerVersionsResponse_layerVersions - A list of versions.

$sel:nextMarker:ListLayerVersionsResponse', listLayerVersionsResponse_nextMarker - A pagination token returned when the response doesn't contain all versions.

$sel:httpStatus:ListLayerVersionsResponse', listLayerVersionsResponse_httpStatus - The response's http status code.

Response Lenses

listLayerVersionsResponse_nextMarker :: Lens' ListLayerVersionsResponse (Maybe Text) Source #

A pagination token returned when the response doesn't contain all versions.