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 |
Lists the versions of a Lambda function definition.
This operation returns paginated results.
Synopsis
- data ListFunctionDefinitionVersions = ListFunctionDefinitionVersions' {}
- newListFunctionDefinitionVersions :: Text -> ListFunctionDefinitionVersions
- listFunctionDefinitionVersions_nextToken :: Lens' ListFunctionDefinitionVersions (Maybe Text)
- listFunctionDefinitionVersions_maxResults :: Lens' ListFunctionDefinitionVersions (Maybe Text)
- listFunctionDefinitionVersions_functionDefinitionId :: Lens' ListFunctionDefinitionVersions Text
- data ListFunctionDefinitionVersionsResponse = ListFunctionDefinitionVersionsResponse' {
- versions :: Maybe [VersionInformation]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListFunctionDefinitionVersionsResponse :: Int -> ListFunctionDefinitionVersionsResponse
- listFunctionDefinitionVersionsResponse_versions :: Lens' ListFunctionDefinitionVersionsResponse (Maybe [VersionInformation])
- listFunctionDefinitionVersionsResponse_nextToken :: Lens' ListFunctionDefinitionVersionsResponse (Maybe Text)
- listFunctionDefinitionVersionsResponse_httpStatus :: Lens' ListFunctionDefinitionVersionsResponse Int
Creating a Request
data ListFunctionDefinitionVersions Source #
See: newListFunctionDefinitionVersions
smart constructor.
ListFunctionDefinitionVersions' | |
|
Instances
newListFunctionDefinitionVersions Source #
Create a value of ListFunctionDefinitionVersions
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:nextToken:ListFunctionDefinitionVersions'
, listFunctionDefinitionVersions_nextToken
- The token for the next set of results, or ''null'' if there are no
additional results.
$sel:maxResults:ListFunctionDefinitionVersions'
, listFunctionDefinitionVersions_maxResults
- The maximum number of results to be returned per request.
$sel:functionDefinitionId:ListFunctionDefinitionVersions'
, listFunctionDefinitionVersions_functionDefinitionId
- The ID of the Lambda function definition.
Request Lenses
listFunctionDefinitionVersions_nextToken :: Lens' ListFunctionDefinitionVersions (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
listFunctionDefinitionVersions_maxResults :: Lens' ListFunctionDefinitionVersions (Maybe Text) Source #
The maximum number of results to be returned per request.
listFunctionDefinitionVersions_functionDefinitionId :: Lens' ListFunctionDefinitionVersions Text Source #
The ID of the Lambda function definition.
Destructuring the Response
data ListFunctionDefinitionVersionsResponse Source #
See: newListFunctionDefinitionVersionsResponse
smart constructor.
ListFunctionDefinitionVersionsResponse' | |
|
Instances
newListFunctionDefinitionVersionsResponse Source #
Create a value of ListFunctionDefinitionVersionsResponse
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:versions:ListFunctionDefinitionVersionsResponse'
, listFunctionDefinitionVersionsResponse_versions
- Information about a version.
$sel:nextToken:ListFunctionDefinitionVersions'
, listFunctionDefinitionVersionsResponse_nextToken
- The token for the next set of results, or ''null'' if there are no
additional results.
$sel:httpStatus:ListFunctionDefinitionVersionsResponse'
, listFunctionDefinitionVersionsResponse_httpStatus
- The response's http status code.
Response Lenses
listFunctionDefinitionVersionsResponse_versions :: Lens' ListFunctionDefinitionVersionsResponse (Maybe [VersionInformation]) Source #
Information about a version.
listFunctionDefinitionVersionsResponse_nextToken :: Lens' ListFunctionDefinitionVersionsResponse (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
listFunctionDefinitionVersionsResponse_httpStatus :: Lens' ListFunctionDefinitionVersionsResponse Int Source #
The response's http status code.