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.ListLayers

Description

Lists Lambda layers and shows information about the latest version of each. Specify a runtime identifier to list only layers that indicate that they're compatible with that runtime. Specify a compatible architecture to include only layers that are compatible with that instruction set architecture.

This operation returns paginated results.

Synopsis

Creating a Request

data ListLayers Source #

See: newListLayers smart constructor.

Constructors

ListLayers' 

Fields

Instances

Instances details
Eq ListLayers Source # 
Instance details

Defined in Amazonka.Lambda.ListLayers

Read ListLayers Source # 
Instance details

Defined in Amazonka.Lambda.ListLayers

Show ListLayers Source # 
Instance details

Defined in Amazonka.Lambda.ListLayers

Generic ListLayers Source # 
Instance details

Defined in Amazonka.Lambda.ListLayers

Associated Types

type Rep ListLayers :: Type -> Type #

NFData ListLayers Source # 
Instance details

Defined in Amazonka.Lambda.ListLayers

Methods

rnf :: ListLayers -> () #

Hashable ListLayers Source # 
Instance details

Defined in Amazonka.Lambda.ListLayers

AWSPager ListLayers Source # 
Instance details

Defined in Amazonka.Lambda.ListLayers

AWSRequest ListLayers Source # 
Instance details

Defined in Amazonka.Lambda.ListLayers

Associated Types

type AWSResponse ListLayers #

ToHeaders ListLayers Source # 
Instance details

Defined in Amazonka.Lambda.ListLayers

Methods

toHeaders :: ListLayers -> [Header] #

ToPath ListLayers Source # 
Instance details

Defined in Amazonka.Lambda.ListLayers

ToQuery ListLayers Source # 
Instance details

Defined in Amazonka.Lambda.ListLayers

type Rep ListLayers Source # 
Instance details

Defined in Amazonka.Lambda.ListLayers

type Rep ListLayers = D1 ('MetaData "ListLayers" "Amazonka.Lambda.ListLayers" "libZSservicesZSamazonka-lambdaZSamazonka-lambda" 'False) (C1 ('MetaCons "ListLayers'" '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)))))
type AWSResponse ListLayers Source # 
Instance details

Defined in Amazonka.Lambda.ListLayers

newListLayers :: ListLayers Source #

Create a value of ListLayers 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:ListLayers', listLayers_compatibleRuntime - A runtime identifier. For example, go1.x.

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

$sel:maxItems:ListLayers', listLayers_maxItems - The maximum number of layers to return.

$sel:compatibleArchitecture:ListLayers', listLayers_compatibleArchitecture - The compatible instruction set architecture.

Request Lenses

listLayers_compatibleRuntime :: Lens' ListLayers (Maybe Runtime) Source #

A runtime identifier. For example, go1.x.

listLayers_marker :: Lens' ListLayers (Maybe Text) Source #

A pagination token returned by a previous call.

listLayers_maxItems :: Lens' ListLayers (Maybe Natural) Source #

The maximum number of layers to return.

Destructuring the Response

data ListLayersResponse Source #

See: newListLayersResponse smart constructor.

Constructors

ListLayersResponse' 

Fields

Instances

Instances details
Eq ListLayersResponse Source # 
Instance details

Defined in Amazonka.Lambda.ListLayers

Read ListLayersResponse Source # 
Instance details

Defined in Amazonka.Lambda.ListLayers

Show ListLayersResponse Source # 
Instance details

Defined in Amazonka.Lambda.ListLayers

Generic ListLayersResponse Source # 
Instance details

Defined in Amazonka.Lambda.ListLayers

Associated Types

type Rep ListLayersResponse :: Type -> Type #

NFData ListLayersResponse Source # 
Instance details

Defined in Amazonka.Lambda.ListLayers

Methods

rnf :: ListLayersResponse -> () #

type Rep ListLayersResponse Source # 
Instance details

Defined in Amazonka.Lambda.ListLayers

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

newListLayersResponse Source #

Create a value of ListLayersResponse 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:nextMarker:ListLayersResponse', listLayersResponse_nextMarker - A pagination token returned when the response doesn't contain all layers.

$sel:layers:ListLayersResponse', listLayersResponse_layers - A list of function layers.

$sel:httpStatus:ListLayersResponse', listLayersResponse_httpStatus - The response's http status code.

Response Lenses

listLayersResponse_nextMarker :: Lens' ListLayersResponse (Maybe Text) Source #

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