Copyright | (c) 2013-2016 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 |
List all versions of a function. For information about the versioning feature, see AWS Lambda Function Versioning and Aliases .
- listVersionsByFunction :: Text -> ListVersionsByFunction
- data ListVersionsByFunction
- lvbfMarker :: Lens' ListVersionsByFunction (Maybe Text)
- lvbfMaxItems :: Lens' ListVersionsByFunction (Maybe Natural)
- lvbfFunctionName :: Lens' ListVersionsByFunction Text
- listVersionsByFunctionResponse :: Int -> ListVersionsByFunctionResponse
- data ListVersionsByFunctionResponse
- lvbfrsVersions :: Lens' ListVersionsByFunctionResponse [FunctionConfiguration]
- lvbfrsNextMarker :: Lens' ListVersionsByFunctionResponse (Maybe Text)
- lvbfrsResponseStatus :: Lens' ListVersionsByFunctionResponse Int
Creating a Request
listVersionsByFunction Source #
Creates a value of ListVersionsByFunction
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lvbfMarker
- Optional string. An opaque pagination token returned from a previousListVersionsByFunction
operation. If present, indicates where to continue the listing.lvbfMaxItems
- Optional integer. Specifies the maximum number of AWS Lambda function versions to return in response. This parameter value must be greater than 0.lvbfFunctionName
- Function name whose versions to list. You can specify a function name (for example,Thumbnail
) or you can specify Amazon Resource Name (ARN) of the function (for example,arn:aws:lambda:us-west-2:account-id:function:ThumbNail
). AWS Lambda also allows you to specify a partial ARN (for example,account-id:Thumbnail
). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.
data ListVersionsByFunction Source #
See: listVersionsByFunction
smart constructor.
Request Lenses
lvbfMarker :: Lens' ListVersionsByFunction (Maybe Text) Source #
Optional string. An opaque pagination token returned from a previous ListVersionsByFunction
operation. If present, indicates where to continue the listing.
lvbfMaxItems :: Lens' ListVersionsByFunction (Maybe Natural) Source #
Optional integer. Specifies the maximum number of AWS Lambda function versions to return in response. This parameter value must be greater than 0.
lvbfFunctionName :: Lens' ListVersionsByFunction Text Source #
Function name whose versions to list. You can specify a function name (for example, Thumbnail
) or you can specify Amazon Resource Name (ARN) of the function (for example, arn:aws:lambda:us-west-2:account-id:function:ThumbNail
). AWS Lambda also allows you to specify a partial ARN (for example, account-id:Thumbnail
). Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.
Destructuring the Response
listVersionsByFunctionResponse Source #
Creates a value of ListVersionsByFunctionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lvbfrsVersions
- A list of Lambda function versions.lvbfrsNextMarker
- A string, present if there are more function versions.lvbfrsResponseStatus
- -- | The response status code.
data ListVersionsByFunctionResponse Source #
See: listVersionsByFunctionResponse
smart constructor.
Response Lenses
lvbfrsVersions :: Lens' ListVersionsByFunctionResponse [FunctionConfiguration] Source #
A list of Lambda function versions.
lvbfrsNextMarker :: Lens' ListVersionsByFunctionResponse (Maybe Text) Source #
A string, present if there are more function versions.
lvbfrsResponseStatus :: Lens' ListVersionsByFunctionResponse Int Source #
- - | The response status code.