| 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.GetThingRuntimeConfiguration
Description
Get the runtime configuration of a thing.
Synopsis
- data GetThingRuntimeConfiguration = GetThingRuntimeConfiguration' {}
- newGetThingRuntimeConfiguration :: Text -> GetThingRuntimeConfiguration
- getThingRuntimeConfiguration_thingName :: Lens' GetThingRuntimeConfiguration Text
- data GetThingRuntimeConfigurationResponse = GetThingRuntimeConfigurationResponse' {}
- newGetThingRuntimeConfigurationResponse :: Int -> GetThingRuntimeConfigurationResponse
- getThingRuntimeConfigurationResponse_runtimeConfiguration :: Lens' GetThingRuntimeConfigurationResponse (Maybe RuntimeConfiguration)
- getThingRuntimeConfigurationResponse_httpStatus :: Lens' GetThingRuntimeConfigurationResponse Int
Creating a Request
data GetThingRuntimeConfiguration Source #
See: newGetThingRuntimeConfiguration smart constructor.
Constructors
| GetThingRuntimeConfiguration' | |
Instances
newGetThingRuntimeConfiguration Source #
Create a value of GetThingRuntimeConfiguration 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:thingName:GetThingRuntimeConfiguration', getThingRuntimeConfiguration_thingName - The thing name.
Request Lenses
getThingRuntimeConfiguration_thingName :: Lens' GetThingRuntimeConfiguration Text Source #
The thing name.
Destructuring the Response
data GetThingRuntimeConfigurationResponse Source #
See: newGetThingRuntimeConfigurationResponse smart constructor.
Constructors
| GetThingRuntimeConfigurationResponse' | |
Fields
| |
Instances
newGetThingRuntimeConfigurationResponse Source #
Arguments
| :: Int | |
| -> GetThingRuntimeConfigurationResponse |
Create a value of GetThingRuntimeConfigurationResponse 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:runtimeConfiguration:GetThingRuntimeConfigurationResponse', getThingRuntimeConfigurationResponse_runtimeConfiguration - Runtime configuration for a thing.
$sel:httpStatus:GetThingRuntimeConfigurationResponse', getThingRuntimeConfigurationResponse_httpStatus - The response's http status code.
Response Lenses
getThingRuntimeConfigurationResponse_runtimeConfiguration :: Lens' GetThingRuntimeConfigurationResponse (Maybe RuntimeConfiguration) Source #
Runtime configuration for a thing.
getThingRuntimeConfigurationResponse_httpStatus :: Lens' GetThingRuntimeConfigurationResponse Int Source #
The response's http status code.