| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Greengrass.ListFunctionDefinitionVersions
Description
Lists the versions of a Lambda function definition.
This operation returns paginated results.
Synopsis
- data ListFunctionDefinitionVersions = ListFunctionDefinitionVersions' {}
- newListFunctionDefinitionVersions :: Text -> ListFunctionDefinitionVersions
- listFunctionDefinitionVersions_maxResults :: Lens' ListFunctionDefinitionVersions (Maybe Text)
- listFunctionDefinitionVersions_nextToken :: Lens' ListFunctionDefinitionVersions (Maybe Text)
- listFunctionDefinitionVersions_functionDefinitionId :: Lens' ListFunctionDefinitionVersions Text
- data ListFunctionDefinitionVersionsResponse = ListFunctionDefinitionVersionsResponse' {
- nextToken :: Maybe Text
- versions :: Maybe [VersionInformation]
- httpStatus :: Int
- newListFunctionDefinitionVersionsResponse :: Int -> ListFunctionDefinitionVersionsResponse
- listFunctionDefinitionVersionsResponse_nextToken :: Lens' ListFunctionDefinitionVersionsResponse (Maybe Text)
- listFunctionDefinitionVersionsResponse_versions :: Lens' ListFunctionDefinitionVersionsResponse (Maybe [VersionInformation])
- listFunctionDefinitionVersionsResponse_httpStatus :: Lens' ListFunctionDefinitionVersionsResponse Int
Creating a Request
data ListFunctionDefinitionVersions Source #
See: newListFunctionDefinitionVersions smart constructor.
Constructors
| ListFunctionDefinitionVersions' | |
Fields
| |
Instances
newListFunctionDefinitionVersions Source #
Arguments
| :: Text | |
| -> ListFunctionDefinitionVersions |
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:maxResults:ListFunctionDefinitionVersions', listFunctionDefinitionVersions_maxResults - The maximum number of results to be returned per request.
ListFunctionDefinitionVersions, listFunctionDefinitionVersions_nextToken - The token for the next set of results, or ''null'' if there are no
additional results.
$sel:functionDefinitionId:ListFunctionDefinitionVersions', listFunctionDefinitionVersions_functionDefinitionId - The ID of the Lambda function definition.
Request Lenses
listFunctionDefinitionVersions_maxResults :: Lens' ListFunctionDefinitionVersions (Maybe Text) Source #
The maximum number of results to be returned per request.
listFunctionDefinitionVersions_nextToken :: Lens' ListFunctionDefinitionVersions (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
listFunctionDefinitionVersions_functionDefinitionId :: Lens' ListFunctionDefinitionVersions Text Source #
The ID of the Lambda function definition.
Destructuring the Response
data ListFunctionDefinitionVersionsResponse Source #
See: newListFunctionDefinitionVersionsResponse smart constructor.
Constructors
| ListFunctionDefinitionVersionsResponse' | |
Fields
| |
Instances
newListFunctionDefinitionVersionsResponse Source #
Arguments
| :: Int | |
| -> ListFunctionDefinitionVersionsResponse |
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:
ListFunctionDefinitionVersions, listFunctionDefinitionVersionsResponse_nextToken - The token for the next set of results, or ''null'' if there are no
additional results.
$sel:versions:ListFunctionDefinitionVersionsResponse', listFunctionDefinitionVersionsResponse_versions - Information about a version.
$sel:httpStatus:ListFunctionDefinitionVersionsResponse', listFunctionDefinitionVersionsResponse_httpStatus - The response's http status code.
Response Lenses
listFunctionDefinitionVersionsResponse_nextToken :: Lens' ListFunctionDefinitionVersionsResponse (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
listFunctionDefinitionVersionsResponse_versions :: Lens' ListFunctionDefinitionVersionsResponse (Maybe [VersionInformation]) Source #
Information about a version.
listFunctionDefinitionVersionsResponse_httpStatus :: Lens' ListFunctionDefinitionVersionsResponse Int Source #
The response's http status code.