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

Description

Returns the permission policy for a version of an Lambda layer. For more information, see AddLayerVersionPermission.

Synopsis

Creating a Request

data GetLayerVersionPolicy Source #

See: newGetLayerVersionPolicy smart constructor.

Constructors

GetLayerVersionPolicy' 

Fields

Instances

Instances details
Eq GetLayerVersionPolicy Source # 
Instance details

Defined in Amazonka.Lambda.GetLayerVersionPolicy

Read GetLayerVersionPolicy Source # 
Instance details

Defined in Amazonka.Lambda.GetLayerVersionPolicy

Show GetLayerVersionPolicy Source # 
Instance details

Defined in Amazonka.Lambda.GetLayerVersionPolicy

Generic GetLayerVersionPolicy Source # 
Instance details

Defined in Amazonka.Lambda.GetLayerVersionPolicy

Associated Types

type Rep GetLayerVersionPolicy :: Type -> Type #

NFData GetLayerVersionPolicy Source # 
Instance details

Defined in Amazonka.Lambda.GetLayerVersionPolicy

Methods

rnf :: GetLayerVersionPolicy -> () #

Hashable GetLayerVersionPolicy Source # 
Instance details

Defined in Amazonka.Lambda.GetLayerVersionPolicy

AWSRequest GetLayerVersionPolicy Source # 
Instance details

Defined in Amazonka.Lambda.GetLayerVersionPolicy

Associated Types

type AWSResponse GetLayerVersionPolicy #

ToHeaders GetLayerVersionPolicy Source # 
Instance details

Defined in Amazonka.Lambda.GetLayerVersionPolicy

ToPath GetLayerVersionPolicy Source # 
Instance details

Defined in Amazonka.Lambda.GetLayerVersionPolicy

ToQuery GetLayerVersionPolicy Source # 
Instance details

Defined in Amazonka.Lambda.GetLayerVersionPolicy

type Rep GetLayerVersionPolicy Source # 
Instance details

Defined in Amazonka.Lambda.GetLayerVersionPolicy

type Rep GetLayerVersionPolicy = D1 ('MetaData "GetLayerVersionPolicy" "Amazonka.Lambda.GetLayerVersionPolicy" "libZSservicesZSamazonka-lambdaZSamazonka-lambda" 'False) (C1 ('MetaCons "GetLayerVersionPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "layerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "versionNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer)))
type AWSResponse GetLayerVersionPolicy Source # 
Instance details

Defined in Amazonka.Lambda.GetLayerVersionPolicy

newGetLayerVersionPolicy Source #

Create a value of GetLayerVersionPolicy 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:layerName:GetLayerVersionPolicy', getLayerVersionPolicy_layerName - The name or Amazon Resource Name (ARN) of the layer.

$sel:versionNumber:GetLayerVersionPolicy', getLayerVersionPolicy_versionNumber - The version number.

Request Lenses

getLayerVersionPolicy_layerName :: Lens' GetLayerVersionPolicy Text Source #

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

Destructuring the Response

data GetLayerVersionPolicyResponse Source #

See: newGetLayerVersionPolicyResponse smart constructor.

Constructors

GetLayerVersionPolicyResponse' 

Fields

Instances

Instances details
Eq GetLayerVersionPolicyResponse Source # 
Instance details

Defined in Amazonka.Lambda.GetLayerVersionPolicy

Read GetLayerVersionPolicyResponse Source # 
Instance details

Defined in Amazonka.Lambda.GetLayerVersionPolicy

Show GetLayerVersionPolicyResponse Source # 
Instance details

Defined in Amazonka.Lambda.GetLayerVersionPolicy

Generic GetLayerVersionPolicyResponse Source # 
Instance details

Defined in Amazonka.Lambda.GetLayerVersionPolicy

Associated Types

type Rep GetLayerVersionPolicyResponse :: Type -> Type #

NFData GetLayerVersionPolicyResponse Source # 
Instance details

Defined in Amazonka.Lambda.GetLayerVersionPolicy

type Rep GetLayerVersionPolicyResponse Source # 
Instance details

Defined in Amazonka.Lambda.GetLayerVersionPolicy

type Rep GetLayerVersionPolicyResponse = D1 ('MetaData "GetLayerVersionPolicyResponse" "Amazonka.Lambda.GetLayerVersionPolicy" "libZSservicesZSamazonka-lambdaZSamazonka-lambda" 'False) (C1 ('MetaCons "GetLayerVersionPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "policy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "revisionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetLayerVersionPolicyResponse Source #

Create a value of GetLayerVersionPolicyResponse 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:policy:GetLayerVersionPolicyResponse', getLayerVersionPolicyResponse_policy - The policy document.

$sel:revisionId:GetLayerVersionPolicyResponse', getLayerVersionPolicyResponse_revisionId - A unique identifier for the current revision of the policy.

$sel:httpStatus:GetLayerVersionPolicyResponse', getLayerVersionPolicyResponse_httpStatus - The response's http status code.

Response Lenses

getLayerVersionPolicyResponse_revisionId :: Lens' GetLayerVersionPolicyResponse (Maybe Text) Source #

A unique identifier for the current revision of the policy.