Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns list of aliases created for a Lambda function. For each alias, the response includes information such as the alias ARN, description, alias name, and the function version to which it points. For more information, see Introduction to AWS Lambda Aliases
This requires permission for the lambda:ListAliases action.
See: AWS API Reference for ListAliases.
- listAliases :: Text -> ListAliases
- data ListAliases
- laMarker :: Lens' ListAliases (Maybe Text)
- laMaxItems :: Lens' ListAliases (Maybe Natural)
- laFunctionVersion :: Lens' ListAliases (Maybe Text)
- laFunctionName :: Lens' ListAliases Text
- listAliasesResponse :: Int -> ListAliasesResponse
- data ListAliasesResponse
- larsAliases :: Lens' ListAliasesResponse [AliasConfiguration]
- larsNextMarker :: Lens' ListAliasesResponse (Maybe Text)
- larsResponseStatus :: Lens' ListAliasesResponse Int
Creating a Request
Creates a value of ListAliases
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListAliases Source
See: listAliases
smart constructor.
Request Lenses
laMarker :: Lens' ListAliases (Maybe Text) Source
Optional string. An opaque pagination token returned from a previous ListAliases operation. If present, indicates where to continue the listing.
laMaxItems :: Lens' ListAliases (Maybe Natural) Source
Optional integer. Specifies the maximum number of aliases to return in response. This parameter value must be greater than 0.
laFunctionVersion :: Lens' ListAliases (Maybe Text) Source
If you specify this optional parameter, the API returns only the aliases pointing to the specific Lambda function version, otherwise returns all aliases created for the Lambda function.
laFunctionName :: Lens' ListAliases Text Source
Lambda function name for which the alias is created.
Destructuring the Response
Creates a value of ListAliasesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListAliasesResponse Source
See: listAliasesResponse
smart constructor.
Response Lenses
larsAliases :: Lens' ListAliasesResponse [AliasConfiguration] Source
An list of alises.
larsNextMarker :: Lens' ListAliasesResponse (Maybe Text) Source
A string, present if there are more aliases.
larsResponseStatus :: Lens' ListAliasesResponse Int Source
The response status code.