| 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.IoT.ListV2LoggingLevels
Description
Lists logging levels.
Requires permission to access the ListV2LoggingLevels action.
This operation returns paginated results.
Synopsis
- data ListV2LoggingLevels = ListV2LoggingLevels' {}
- newListV2LoggingLevels :: ListV2LoggingLevels
- listV2LoggingLevels_maxResults :: Lens' ListV2LoggingLevels (Maybe Natural)
- listV2LoggingLevels_nextToken :: Lens' ListV2LoggingLevels (Maybe Text)
- listV2LoggingLevels_targetType :: Lens' ListV2LoggingLevels (Maybe LogTargetType)
- 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.
Constructors
| ListV2LoggingLevels' | |
Fields
| |
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:maxResults:ListV2LoggingLevels', listV2LoggingLevels_maxResults - The maximum number of results to return at one time.
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.
ListV2LoggingLevels, listV2LoggingLevels_targetType - The type of resource for which you are configuring logging. Must be
THING_Group.
Request Lenses
listV2LoggingLevels_maxResults :: Lens' ListV2LoggingLevels (Maybe Natural) Source #
The maximum number of results to return at one time.
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_targetType :: Lens' ListV2LoggingLevels (Maybe LogTargetType) Source #
The type of resource for which you are configuring logging. Must be
THING_Group.
Destructuring the Response
data ListV2LoggingLevelsResponse Source #
See: newListV2LoggingLevelsResponse smart constructor.
Constructors
| ListV2LoggingLevelsResponse' | |
Fields
| |
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.
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.