| 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.IoTWireless.PutResourceLogLevel
Description
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.
Constructors
| PutResourceLogLevel' | |
Fields
| |
Instances
newPutResourceLogLevel Source #
Arguments
| :: 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.
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.
Constructors
| PutResourceLogLevelResponse' | |
Fields
| |
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.