| 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.Greengrass.UpdateThingRuntimeConfiguration
Description
Updates the runtime configuration of a thing.
Synopsis
- data UpdateThingRuntimeConfiguration = UpdateThingRuntimeConfiguration' {}
- newUpdateThingRuntimeConfiguration :: Text -> UpdateThingRuntimeConfiguration
- updateThingRuntimeConfiguration_telemetryConfiguration :: Lens' UpdateThingRuntimeConfiguration (Maybe TelemetryConfigurationUpdate)
- updateThingRuntimeConfiguration_thingName :: Lens' UpdateThingRuntimeConfiguration Text
- data UpdateThingRuntimeConfigurationResponse = UpdateThingRuntimeConfigurationResponse' {
- httpStatus :: Int
- newUpdateThingRuntimeConfigurationResponse :: Int -> UpdateThingRuntimeConfigurationResponse
- updateThingRuntimeConfigurationResponse_httpStatus :: Lens' UpdateThingRuntimeConfigurationResponse Int
Creating a Request
data UpdateThingRuntimeConfiguration Source #
See: newUpdateThingRuntimeConfiguration smart constructor.
Constructors
| UpdateThingRuntimeConfiguration' | |
Fields
| |
Instances
newUpdateThingRuntimeConfiguration Source #
Create a value of UpdateThingRuntimeConfiguration 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:
UpdateThingRuntimeConfiguration, updateThingRuntimeConfiguration_telemetryConfiguration - Configuration for telemetry service.
$sel:thingName:UpdateThingRuntimeConfiguration', updateThingRuntimeConfiguration_thingName - The thing name.
Request Lenses
updateThingRuntimeConfiguration_telemetryConfiguration :: Lens' UpdateThingRuntimeConfiguration (Maybe TelemetryConfigurationUpdate) Source #
Configuration for telemetry service.
updateThingRuntimeConfiguration_thingName :: Lens' UpdateThingRuntimeConfiguration Text Source #
The thing name.
Destructuring the Response
data UpdateThingRuntimeConfigurationResponse Source #
See: newUpdateThingRuntimeConfigurationResponse smart constructor.
Constructors
| UpdateThingRuntimeConfigurationResponse' | |
Fields
| |
Instances
newUpdateThingRuntimeConfigurationResponse Source #
Arguments
| :: Int | |
| -> UpdateThingRuntimeConfigurationResponse |
Create a value of UpdateThingRuntimeConfigurationResponse 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:UpdateThingRuntimeConfigurationResponse', updateThingRuntimeConfigurationResponse_httpStatus - The response's http status code.
Response Lenses
updateThingRuntimeConfigurationResponse_httpStatus :: Lens' UpdateThingRuntimeConfigurationResponse Int Source #
The response's http status code.