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 logger definition.
This operation returns paginated results.
Synopsis
- data ListLoggerDefinitionVersions = ListLoggerDefinitionVersions' {}
- newListLoggerDefinitionVersions :: Text -> ListLoggerDefinitionVersions
- listLoggerDefinitionVersions_nextToken :: Lens' ListLoggerDefinitionVersions (Maybe Text)
- listLoggerDefinitionVersions_maxResults :: Lens' ListLoggerDefinitionVersions (Maybe Text)
- listLoggerDefinitionVersions_loggerDefinitionId :: Lens' ListLoggerDefinitionVersions Text
- data ListLoggerDefinitionVersionsResponse = ListLoggerDefinitionVersionsResponse' {
- versions :: Maybe [VersionInformation]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListLoggerDefinitionVersionsResponse :: Int -> ListLoggerDefinitionVersionsResponse
- listLoggerDefinitionVersionsResponse_versions :: Lens' ListLoggerDefinitionVersionsResponse (Maybe [VersionInformation])
- listLoggerDefinitionVersionsResponse_nextToken :: Lens' ListLoggerDefinitionVersionsResponse (Maybe Text)
- listLoggerDefinitionVersionsResponse_httpStatus :: Lens' ListLoggerDefinitionVersionsResponse Int
Creating a Request
data ListLoggerDefinitionVersions Source #
See: newListLoggerDefinitionVersions
smart constructor.
ListLoggerDefinitionVersions' | |
|
Instances
newListLoggerDefinitionVersions Source #
Create a value of ListLoggerDefinitionVersions
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:ListLoggerDefinitionVersions'
, listLoggerDefinitionVersions_nextToken
- The token for the next set of results, or ''null'' if there are no
additional results.
$sel:maxResults:ListLoggerDefinitionVersions'
, listLoggerDefinitionVersions_maxResults
- The maximum number of results to be returned per request.
$sel:loggerDefinitionId:ListLoggerDefinitionVersions'
, listLoggerDefinitionVersions_loggerDefinitionId
- The ID of the logger definition.
Request Lenses
listLoggerDefinitionVersions_nextToken :: Lens' ListLoggerDefinitionVersions (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
listLoggerDefinitionVersions_maxResults :: Lens' ListLoggerDefinitionVersions (Maybe Text) Source #
The maximum number of results to be returned per request.
listLoggerDefinitionVersions_loggerDefinitionId :: Lens' ListLoggerDefinitionVersions Text Source #
The ID of the logger definition.
Destructuring the Response
data ListLoggerDefinitionVersionsResponse Source #
See: newListLoggerDefinitionVersionsResponse
smart constructor.
ListLoggerDefinitionVersionsResponse' | |
|
Instances
newListLoggerDefinitionVersionsResponse Source #
Create a value of ListLoggerDefinitionVersionsResponse
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:ListLoggerDefinitionVersionsResponse'
, listLoggerDefinitionVersionsResponse_versions
- Information about a version.
$sel:nextToken:ListLoggerDefinitionVersions'
, listLoggerDefinitionVersionsResponse_nextToken
- The token for the next set of results, or ''null'' if there are no
additional results.
$sel:httpStatus:ListLoggerDefinitionVersionsResponse'
, listLoggerDefinitionVersionsResponse_httpStatus
- The response's http status code.
Response Lenses
listLoggerDefinitionVersionsResponse_versions :: Lens' ListLoggerDefinitionVersionsResponse (Maybe [VersionInformation]) Source #
Information about a version.
listLoggerDefinitionVersionsResponse_nextToken :: Lens' ListLoggerDefinitionVersionsResponse (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
listLoggerDefinitionVersionsResponse_httpStatus :: Lens' ListLoggerDefinitionVersionsResponse Int Source #
The response's http status code.