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 logging levels.
Requires permission to access the ListV2LoggingLevels action.
This operation returns paginated results.
Synopsis
- data ListV2LoggingLevels = ListV2LoggingLevels' {}
- newListV2LoggingLevels :: ListV2LoggingLevels
- listV2LoggingLevels_targetType :: Lens' ListV2LoggingLevels (Maybe LogTargetType)
- listV2LoggingLevels_nextToken :: Lens' ListV2LoggingLevels (Maybe Text)
- listV2LoggingLevels_maxResults :: Lens' ListV2LoggingLevels (Maybe Natural)
- data ListV2LoggingLevelsResponse = ListV2LoggingLevelsResponse' {}
- newListV2LoggingLevelsResponse :: Int -> ListV2LoggingLevelsResponse
- listV2LoggingLevelsResponse_logTargetConfigurations :: Lens' ListV2LoggingLevelsResponse (Maybe [LogTargetConfiguration])
- listV2LoggingLevelsResponse_nextToken :: Lens' ListV2LoggingLevelsResponse (Maybe Text)
- listV2LoggingLevelsResponse_httpStatus :: Lens' ListV2LoggingLevelsResponse Int
Creating a Request
data ListV2LoggingLevels Source #
See: newListV2LoggingLevels
smart constructor.
ListV2LoggingLevels' | |
|
Instances
newListV2LoggingLevels :: ListV2LoggingLevels Source #
Create a value of ListV2LoggingLevels
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:targetType:ListV2LoggingLevels'
, listV2LoggingLevels_targetType
- The type of resource for which you are configuring logging. Must be
THING_Group
.
$sel:nextToken:ListV2LoggingLevels'
, listV2LoggingLevels_nextToken
- To retrieve the next set of results, the nextToken
value from a
previous response; otherwise null to receive the first set of
results.
$sel:maxResults:ListV2LoggingLevels'
, listV2LoggingLevels_maxResults
- The maximum number of results to return at one time.
Request Lenses
listV2LoggingLevels_targetType :: Lens' ListV2LoggingLevels (Maybe LogTargetType) Source #
The type of resource for which you are configuring logging. Must be
THING_Group
.
listV2LoggingLevels_nextToken :: Lens' ListV2LoggingLevels (Maybe Text) Source #
To retrieve the next set of results, the nextToken
value from a
previous response; otherwise null to receive the first set of
results.
listV2LoggingLevels_maxResults :: Lens' ListV2LoggingLevels (Maybe Natural) Source #
The maximum number of results to return at one time.
Destructuring the Response
data ListV2LoggingLevelsResponse Source #
See: newListV2LoggingLevelsResponse
smart constructor.
ListV2LoggingLevelsResponse' | |
|
Instances
newListV2LoggingLevelsResponse Source #
Create a value of ListV2LoggingLevelsResponse
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:logTargetConfigurations:ListV2LoggingLevelsResponse'
, listV2LoggingLevelsResponse_logTargetConfigurations
- The logging configuration for a target.
$sel:nextToken:ListV2LoggingLevels'
, listV2LoggingLevelsResponse_nextToken
- The token to use to get the next set of results, or null if there
are no additional results.
$sel:httpStatus:ListV2LoggingLevelsResponse'
, listV2LoggingLevelsResponse_httpStatus
- The response's http status code.
Response Lenses
listV2LoggingLevelsResponse_logTargetConfigurations :: Lens' ListV2LoggingLevelsResponse (Maybe [LogTargetConfiguration]) Source #
The logging configuration for a target.
listV2LoggingLevelsResponse_nextToken :: Lens' ListV2LoggingLevelsResponse (Maybe Text) Source #
The token to use to get the next set of results, or null if there are no additional results.
listV2LoggingLevelsResponse_httpStatus :: Lens' ListV2LoggingLevelsResponse Int Source #
The response's http status code.