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 |
Fetches the log-level override, if any, for a given resource-ID and resource-type. It can be used for a wireless device or a wireless gateway.
Synopsis
- data GetResourceLogLevel = GetResourceLogLevel' {}
- newGetResourceLogLevel :: Text -> Text -> GetResourceLogLevel
- getResourceLogLevel_resourceIdentifier :: Lens' GetResourceLogLevel Text
- getResourceLogLevel_resourceType :: Lens' GetResourceLogLevel Text
- data GetResourceLogLevelResponse = GetResourceLogLevelResponse' {
- logLevel :: Maybe LogLevel
- httpStatus :: Int
- newGetResourceLogLevelResponse :: Int -> GetResourceLogLevelResponse
- getResourceLogLevelResponse_logLevel :: Lens' GetResourceLogLevelResponse (Maybe LogLevel)
- getResourceLogLevelResponse_httpStatus :: Lens' GetResourceLogLevelResponse Int
Creating a Request
data GetResourceLogLevel Source #
See: newGetResourceLogLevel
smart constructor.
GetResourceLogLevel' | |
|
Instances
newGetResourceLogLevel Source #
:: Text | |
-> Text | |
-> GetResourceLogLevel |
Create a value of GetResourceLogLevel
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:resourceIdentifier:GetResourceLogLevel'
, getResourceLogLevel_resourceIdentifier
- Undocumented member.
$sel:resourceType:GetResourceLogLevel'
, getResourceLogLevel_resourceType
- The type of the resource, which can be WirelessDevice
or
WirelessGateway
.
Request Lenses
getResourceLogLevel_resourceIdentifier :: Lens' GetResourceLogLevel Text Source #
Undocumented member.
getResourceLogLevel_resourceType :: Lens' GetResourceLogLevel Text Source #
The type of the resource, which can be WirelessDevice
or
WirelessGateway
.
Destructuring the Response
data GetResourceLogLevelResponse Source #
See: newGetResourceLogLevelResponse
smart constructor.
GetResourceLogLevelResponse' | |
|
Instances
newGetResourceLogLevelResponse Source #
Create a value of GetResourceLogLevelResponse
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:logLevel:GetResourceLogLevelResponse'
, getResourceLogLevelResponse_logLevel
- Undocumented member.
$sel:httpStatus:GetResourceLogLevelResponse'
, getResourceLogLevelResponse_httpStatus
- The response's http status code.
Response Lenses
getResourceLogLevelResponse_logLevel :: Lens' GetResourceLogLevelResponse (Maybe LogLevel) Source #
Undocumented member.
getResourceLogLevelResponse_httpStatus :: Lens' GetResourceLogLevelResponse Int Source #
The response's http status code.