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 |
Sets the log-level override for a resource-ID and resource-type. This option can be specified for a wireless gateway or a wireless device. A limit of 200 log level override can be set per account.
Synopsis
- data PutResourceLogLevel = PutResourceLogLevel' {}
- newPutResourceLogLevel :: Text -> Text -> LogLevel -> PutResourceLogLevel
- putResourceLogLevel_resourceIdentifier :: Lens' PutResourceLogLevel Text
- putResourceLogLevel_resourceType :: Lens' PutResourceLogLevel Text
- putResourceLogLevel_logLevel :: Lens' PutResourceLogLevel LogLevel
- data PutResourceLogLevelResponse = PutResourceLogLevelResponse' {
- httpStatus :: Int
- newPutResourceLogLevelResponse :: Int -> PutResourceLogLevelResponse
- putResourceLogLevelResponse_httpStatus :: Lens' PutResourceLogLevelResponse Int
Creating a Request
data PutResourceLogLevel Source #
See: newPutResourceLogLevel
smart constructor.
PutResourceLogLevel' | |
|
Instances
newPutResourceLogLevel Source #
:: Text | |
-> Text | |
-> LogLevel | |
-> PutResourceLogLevel |
Create a value of PutResourceLogLevel
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:PutResourceLogLevel'
, putResourceLogLevel_resourceIdentifier
- Undocumented member.
$sel:resourceType:PutResourceLogLevel'
, putResourceLogLevel_resourceType
- The type of the resource, which can be WirelessDevice
or
WirelessGateway
.
$sel:logLevel:PutResourceLogLevel'
, putResourceLogLevel_logLevel
- Undocumented member.
Request Lenses
putResourceLogLevel_resourceIdentifier :: Lens' PutResourceLogLevel Text Source #
Undocumented member.
putResourceLogLevel_resourceType :: Lens' PutResourceLogLevel Text Source #
The type of the resource, which can be WirelessDevice
or
WirelessGateway
.
putResourceLogLevel_logLevel :: Lens' PutResourceLogLevel LogLevel Source #
Undocumented member.
Destructuring the Response
data PutResourceLogLevelResponse Source #
See: newPutResourceLogLevelResponse
smart constructor.
PutResourceLogLevelResponse' | |
|
Instances
newPutResourceLogLevelResponse Source #
Create a value of PutResourceLogLevelResponse
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:httpStatus:PutResourceLogLevelResponse'
, putResourceLogLevelResponse_httpStatus
- The response's http status code.
Response Lenses
putResourceLogLevelResponse_httpStatus :: Lens' PutResourceLogLevelResponse Int Source #
The response's http status code.