Copyright | (C) 2020-2021 Bellroy Pty Ltd |
---|---|
License | BSD-3-Clause |
Maintainer | Bellroy Tech Team <haskell@bellroy.com> |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Extensions |
|
Functions
An AWS Lambda function name, and optional alias/version qualifier.
>>>
"function:helloworld" ^? _Function
Just (Function {_fName = "helloworld", _fQualifier = Nothing})
>>>
"function:helloworld:$LATEST" ^? _Function
Just (Function {_fName = "helloworld", _fQualifier = Just "$LATEST"})
>>>
"function:helloworld:42" ^? _Function
Just (Function {_fName = "helloworld", _fQualifier = Just "42"})
Instances
Eq Function Source # | |
Ord Function Source # | |
Defined in Network.AWS.ARN.Lambda | |
Show Function Source # | |
Generic Function Source # | |
Hashable Function Source # | |
Defined in Network.AWS.ARN.Lambda | |
type Rep Function Source # | |
Defined in Network.AWS.ARN.Lambda type Rep Function = D1 ('MetaData "Function" "Network.AWS.ARN.Lambda" "aws-arn-0.1.0.1-inplace" 'False) (C1 ('MetaCons "Function" 'PrefixI 'True) (S1 ('MetaSel ('Just "_fName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "_fQualifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)))) |
fromFunction :: Function -> Text Source #