Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Deletes a version of an Lambda layer. Deleted versions can no longer be viewed or added to functions. To avoid breaking functions, a copy of the version remains in Lambda until no functions refer to it.
Synopsis
- data DeleteLayerVersion = DeleteLayerVersion' {}
- newDeleteLayerVersion :: Text -> Integer -> DeleteLayerVersion
- deleteLayerVersion_layerName :: Lens' DeleteLayerVersion Text
- deleteLayerVersion_versionNumber :: Lens' DeleteLayerVersion Integer
- data DeleteLayerVersionResponse = DeleteLayerVersionResponse' {
- newDeleteLayerVersionResponse :: DeleteLayerVersionResponse
Creating a Request
data DeleteLayerVersion Source #
See: newDeleteLayerVersion
smart constructor.
DeleteLayerVersion' | |
|
Instances
newDeleteLayerVersion Source #
:: Text | |
-> Integer | |
-> DeleteLayerVersion |
Create a value of DeleteLayerVersion
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:DeleteLayerVersion'
, deleteLayerVersion_layerName
- The name or Amazon Resource Name (ARN) of the layer.
$sel:versionNumber:DeleteLayerVersion'
, deleteLayerVersion_versionNumber
- The version number.
Request Lenses
deleteLayerVersion_layerName :: Lens' DeleteLayerVersion Text Source #
The name or Amazon Resource Name (ARN) of the layer.
deleteLayerVersion_versionNumber :: Lens' DeleteLayerVersion Integer Source #
The version number.
Destructuring the Response
data DeleteLayerVersionResponse Source #
See: newDeleteLayerVersionResponse
smart constructor.
Instances
Eq DeleteLayerVersionResponse Source # | |
Read DeleteLayerVersionResponse Source # | |
Show DeleteLayerVersionResponse Source # | |
Defined in Amazonka.Lambda.DeleteLayerVersion showsPrec :: Int -> DeleteLayerVersionResponse -> ShowS # show :: DeleteLayerVersionResponse -> String # showList :: [DeleteLayerVersionResponse] -> ShowS # | |
Generic DeleteLayerVersionResponse Source # | |
Defined in Amazonka.Lambda.DeleteLayerVersion type Rep DeleteLayerVersionResponse :: Type -> Type # | |
NFData DeleteLayerVersionResponse Source # | |
Defined in Amazonka.Lambda.DeleteLayerVersion rnf :: DeleteLayerVersionResponse -> () # | |
type Rep DeleteLayerVersionResponse Source # | |
Defined in Amazonka.Lambda.DeleteLayerVersion |
newDeleteLayerVersionResponse :: DeleteLayerVersionResponse Source #
Create a value of DeleteLayerVersionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.