| 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.IoT.UpdateDynamicThingGroup
Description
Updates a dynamic thing group.
Requires permission to access the UpdateDynamicThingGroup action.
Synopsis
- data UpdateDynamicThingGroup = UpdateDynamicThingGroup' {}
- newUpdateDynamicThingGroup :: Text -> ThingGroupProperties -> UpdateDynamicThingGroup
- updateDynamicThingGroup_expectedVersion :: Lens' UpdateDynamicThingGroup (Maybe Integer)
- updateDynamicThingGroup_indexName :: Lens' UpdateDynamicThingGroup (Maybe Text)
- updateDynamicThingGroup_queryString :: Lens' UpdateDynamicThingGroup (Maybe Text)
- updateDynamicThingGroup_queryVersion :: Lens' UpdateDynamicThingGroup (Maybe Text)
- updateDynamicThingGroup_thingGroupName :: Lens' UpdateDynamicThingGroup Text
- updateDynamicThingGroup_thingGroupProperties :: Lens' UpdateDynamicThingGroup ThingGroupProperties
- data UpdateDynamicThingGroupResponse = UpdateDynamicThingGroupResponse' {
- version :: Maybe Integer
- httpStatus :: Int
- newUpdateDynamicThingGroupResponse :: Int -> UpdateDynamicThingGroupResponse
- updateDynamicThingGroupResponse_version :: Lens' UpdateDynamicThingGroupResponse (Maybe Integer)
- updateDynamicThingGroupResponse_httpStatus :: Lens' UpdateDynamicThingGroupResponse Int
Creating a Request
data UpdateDynamicThingGroup Source #
See: newUpdateDynamicThingGroup smart constructor.
Constructors
| UpdateDynamicThingGroup' | |
Fields
| |
Instances
newUpdateDynamicThingGroup Source #
Arguments
| :: Text | |
| -> ThingGroupProperties | |
| -> UpdateDynamicThingGroup |
Create a value of UpdateDynamicThingGroup 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:expectedVersion:UpdateDynamicThingGroup', updateDynamicThingGroup_expectedVersion - The expected version of the dynamic thing group to update.
$sel:indexName:UpdateDynamicThingGroup', updateDynamicThingGroup_indexName - The dynamic thing group index to update.
Currently one index is supported: AWS_Things.
UpdateDynamicThingGroup, updateDynamicThingGroup_queryString - The dynamic thing group search query string to update.
$sel:queryVersion:UpdateDynamicThingGroup', updateDynamicThingGroup_queryVersion - The dynamic thing group query version to update.
Currently one query version is supported: "2017-09-30". If not specified, the query version defaults to this value.
UpdateDynamicThingGroup, updateDynamicThingGroup_thingGroupName - The name of the dynamic thing group to update.
$sel:thingGroupProperties:UpdateDynamicThingGroup', updateDynamicThingGroup_thingGroupProperties - The dynamic thing group properties to update.
Request Lenses
updateDynamicThingGroup_expectedVersion :: Lens' UpdateDynamicThingGroup (Maybe Integer) Source #
The expected version of the dynamic thing group to update.
updateDynamicThingGroup_indexName :: Lens' UpdateDynamicThingGroup (Maybe Text) Source #
The dynamic thing group index to update.
Currently one index is supported: AWS_Things.
updateDynamicThingGroup_queryString :: Lens' UpdateDynamicThingGroup (Maybe Text) Source #
The dynamic thing group search query string to update.
updateDynamicThingGroup_queryVersion :: Lens' UpdateDynamicThingGroup (Maybe Text) Source #
The dynamic thing group query version to update.
Currently one query version is supported: "2017-09-30". If not specified, the query version defaults to this value.
updateDynamicThingGroup_thingGroupName :: Lens' UpdateDynamicThingGroup Text Source #
The name of the dynamic thing group to update.
updateDynamicThingGroup_thingGroupProperties :: Lens' UpdateDynamicThingGroup ThingGroupProperties Source #
The dynamic thing group properties to update.
Destructuring the Response
data UpdateDynamicThingGroupResponse Source #
See: newUpdateDynamicThingGroupResponse smart constructor.
Constructors
| UpdateDynamicThingGroupResponse' | |
Fields
| |
Instances
newUpdateDynamicThingGroupResponse Source #
Create a value of UpdateDynamicThingGroupResponse 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:
UpdateDynamicThingGroupResponse, updateDynamicThingGroupResponse_version - The dynamic thing group version.
$sel:httpStatus:UpdateDynamicThingGroupResponse', updateDynamicThingGroupResponse_httpStatus - The response's http status code.
Response Lenses
updateDynamicThingGroupResponse_version :: Lens' UpdateDynamicThingGroupResponse (Maybe Integer) Source #
The dynamic thing group version.
updateDynamicThingGroupResponse_httpStatus :: Lens' UpdateDynamicThingGroupResponse Int Source #
The response's http status code.