| 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.IotTwinMaker.Types.ComponentResponse
Description
Synopsis
- data ComponentResponse = ComponentResponse' {}
- newComponentResponse :: ComponentResponse
- componentResponse_componentName :: Lens' ComponentResponse (Maybe Text)
- componentResponse_componentTypeId :: Lens' ComponentResponse (Maybe Text)
- componentResponse_definedIn :: Lens' ComponentResponse (Maybe Text)
- componentResponse_description :: Lens' ComponentResponse (Maybe Text)
- componentResponse_properties :: Lens' ComponentResponse (Maybe (HashMap Text PropertyResponse))
- componentResponse_propertyGroups :: Lens' ComponentResponse (Maybe (HashMap Text ComponentPropertyGroupResponse))
- componentResponse_status :: Lens' ComponentResponse (Maybe Status)
- componentResponse_syncSource :: Lens' ComponentResponse (Maybe Text)
Documentation
data ComponentResponse Source #
An object that returns information about a component type create or update request.
See: newComponentResponse smart constructor.
Constructors
| ComponentResponse' | |
Fields
| |
Instances
newComponentResponse :: ComponentResponse Source #
Create a value of ComponentResponse 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:componentName:ComponentResponse', componentResponse_componentName - The name of the component.
$sel:componentTypeId:ComponentResponse', componentResponse_componentTypeId - The ID of the component type.
$sel:definedIn:ComponentResponse', componentResponse_definedIn - The name of the property definition set in the request.
$sel:description:ComponentResponse', componentResponse_description - The description of the component type.
$sel:properties:ComponentResponse', componentResponse_properties - An object that maps strings to the properties to set in the component
type. Each string in the mapping must be unique to this object.
$sel:propertyGroups:ComponentResponse', componentResponse_propertyGroups - The property groups.
$sel:status:ComponentResponse', componentResponse_status - The status of the component type.
$sel:syncSource:ComponentResponse', componentResponse_syncSource - The syncSource of the sync job, if this entity was created by a sync
job.
componentResponse_componentName :: Lens' ComponentResponse (Maybe Text) Source #
The name of the component.
componentResponse_componentTypeId :: Lens' ComponentResponse (Maybe Text) Source #
The ID of the component type.
componentResponse_definedIn :: Lens' ComponentResponse (Maybe Text) Source #
The name of the property definition set in the request.
componentResponse_description :: Lens' ComponentResponse (Maybe Text) Source #
The description of the component type.
componentResponse_properties :: Lens' ComponentResponse (Maybe (HashMap Text PropertyResponse)) Source #
An object that maps strings to the properties to set in the component type. Each string in the mapping must be unique to this object.
componentResponse_propertyGroups :: Lens' ComponentResponse (Maybe (HashMap Text ComponentPropertyGroupResponse)) Source #
The property groups.
componentResponse_status :: Lens' ComponentResponse (Maybe Status) Source #
The status of the component type.
componentResponse_syncSource :: Lens' ComponentResponse (Maybe Text) Source #
The syncSource of the sync job, if this entity was created by a sync job.