aws-arn-0.3.1.0: Types and optics for manipulating Amazon Resource Names (ARNs)
Copyright(C) 2020-2022 Bellroy Pty Ltd
LicenseBSD-3-Clause
MaintainerBellroy Tech Team <haskell@bellroy.com>
Stabilityexperimental
Safe HaskellSafe-Inferred
LanguageHaskell2010
Extensions
  • OverloadedStrings
  • DeriveGeneric
  • DeriveAnyClass

Network.AWS.ARN.Lambda

Description

 
Synopsis

Functions

data Function Source #

An AWS Lambda function name, and optional alias/version qualifier.

>>> "function:helloworld" ^? _Function
Just (Function {name = "helloworld", qualifier = Nothing})
>>> "function:helloworld:$LATEST" ^? _Function
Just (Function {name = "helloworld", qualifier = Just "$LATEST"})
>>> "function:helloworld:42" ^? _Function
Just (Function {name = "helloworld", qualifier = Just "42"})

Since: 0.2.0.0

Constructors

Function 

Fields

Instances

Instances details
Generic Function Source # 
Instance details

Defined in Network.AWS.ARN.Lambda

Associated Types

type Rep Function :: Type -> Type #

Methods

from :: Function -> Rep Function x #

to :: Rep Function x -> Function #

Show Function Source # 
Instance details

Defined in Network.AWS.ARN.Lambda

Eq Function Source # 
Instance details

Defined in Network.AWS.ARN.Lambda

Ord Function Source # 
Instance details

Defined in Network.AWS.ARN.Lambda

Hashable Function Source # 
Instance details

Defined in Network.AWS.ARN.Lambda

Methods

hashWithSalt :: Int -> Function -> Int #

hash :: Function -> Int #

type Rep Function Source # 
Instance details

Defined in Network.AWS.ARN.Lambda

type Rep Function = D1 ('MetaData "Function" "Network.AWS.ARN.Lambda" "aws-arn-0.3.1.0-7elo9Xf6HT0CSKr6icS218" 'False) (C1 ('MetaCons "Function" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "qualifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))

parseFunction :: Text -> Maybe Function Source #

Since: 0.2.0.0

renderFunction :: Function -> Text Source #

Since: 0.2.0.0

Prisms