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

Description

Removes a statement from the permissions policy for a version of an Lambda layer. For more information, see AddLayerVersionPermission.

Synopsis

Creating a Request

data RemoveLayerVersionPermission Source #

See: newRemoveLayerVersionPermission smart constructor.

Constructors

RemoveLayerVersionPermission' 

Fields

  • revisionId :: Maybe Text

    Only update the policy if the revision ID matches the ID specified. Use this option to avoid modifying a policy that has changed since you last read it.

  • layerName :: Text

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

  • versionNumber :: Integer

    The version number.

  • statementId :: Text

    The identifier that was specified when the statement was added.

Instances

Instances details
Eq RemoveLayerVersionPermission Source # 
Instance details

Defined in Amazonka.Lambda.RemoveLayerVersionPermission

Read RemoveLayerVersionPermission Source # 
Instance details

Defined in Amazonka.Lambda.RemoveLayerVersionPermission

Show RemoveLayerVersionPermission Source # 
Instance details

Defined in Amazonka.Lambda.RemoveLayerVersionPermission

Generic RemoveLayerVersionPermission Source # 
Instance details

Defined in Amazonka.Lambda.RemoveLayerVersionPermission

Associated Types

type Rep RemoveLayerVersionPermission :: Type -> Type #

NFData RemoveLayerVersionPermission Source # 
Instance details

Defined in Amazonka.Lambda.RemoveLayerVersionPermission

Hashable RemoveLayerVersionPermission Source # 
Instance details

Defined in Amazonka.Lambda.RemoveLayerVersionPermission

AWSRequest RemoveLayerVersionPermission Source # 
Instance details

Defined in Amazonka.Lambda.RemoveLayerVersionPermission

ToHeaders RemoveLayerVersionPermission Source # 
Instance details

Defined in Amazonka.Lambda.RemoveLayerVersionPermission

ToPath RemoveLayerVersionPermission Source # 
Instance details

Defined in Amazonka.Lambda.RemoveLayerVersionPermission

ToQuery RemoveLayerVersionPermission Source # 
Instance details

Defined in Amazonka.Lambda.RemoveLayerVersionPermission

type Rep RemoveLayerVersionPermission Source # 
Instance details

Defined in Amazonka.Lambda.RemoveLayerVersionPermission

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

Defined in Amazonka.Lambda.RemoveLayerVersionPermission

newRemoveLayerVersionPermission Source #

Create a value of RemoveLayerVersionPermission 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:revisionId:RemoveLayerVersionPermission', removeLayerVersionPermission_revisionId - Only update the policy if the revision ID matches the ID specified. Use this option to avoid modifying a policy that has changed since you last read it.

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

$sel:versionNumber:RemoveLayerVersionPermission', removeLayerVersionPermission_versionNumber - The version number.

$sel:statementId:RemoveLayerVersionPermission', removeLayerVersionPermission_statementId - The identifier that was specified when the statement was added.

Request Lenses

removeLayerVersionPermission_revisionId :: Lens' RemoveLayerVersionPermission (Maybe Text) Source #

Only update the policy if the revision ID matches the ID specified. Use this option to avoid modifying a policy that has changed since you last read it.

removeLayerVersionPermission_layerName :: Lens' RemoveLayerVersionPermission Text Source #

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

removeLayerVersionPermission_statementId :: Lens' RemoveLayerVersionPermission Text Source #

The identifier that was specified when the statement was added.

Destructuring the Response

data RemoveLayerVersionPermissionResponse Source #

Instances

Instances details
Eq RemoveLayerVersionPermissionResponse Source # 
Instance details

Defined in Amazonka.Lambda.RemoveLayerVersionPermission

Read RemoveLayerVersionPermissionResponse Source # 
Instance details

Defined in Amazonka.Lambda.RemoveLayerVersionPermission

Show RemoveLayerVersionPermissionResponse Source # 
Instance details

Defined in Amazonka.Lambda.RemoveLayerVersionPermission

Generic RemoveLayerVersionPermissionResponse Source # 
Instance details

Defined in Amazonka.Lambda.RemoveLayerVersionPermission

NFData RemoveLayerVersionPermissionResponse Source # 
Instance details

Defined in Amazonka.Lambda.RemoveLayerVersionPermission

type Rep RemoveLayerVersionPermissionResponse Source # 
Instance details

Defined in Amazonka.Lambda.RemoveLayerVersionPermission

type Rep RemoveLayerVersionPermissionResponse = D1 ('MetaData "RemoveLayerVersionPermissionResponse" "Amazonka.Lambda.RemoveLayerVersionPermission" "libZSservicesZSamazonka-lambdaZSamazonka-lambda" 'False) (C1 ('MetaCons "RemoveLayerVersionPermissionResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newRemoveLayerVersionPermissionResponse :: RemoveLayerVersionPermissionResponse Source #

Create a value of RemoveLayerVersionPermissionResponse with all optional fields omitted.

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