Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Updates a dynamic thing group.
Requires permission to access the UpdateDynamicThingGroup action.
Synopsis
- data UpdateDynamicThingGroup = UpdateDynamicThingGroup' {}
- newUpdateDynamicThingGroup :: Text -> ThingGroupProperties -> UpdateDynamicThingGroup
- updateDynamicThingGroup_queryVersion :: Lens' UpdateDynamicThingGroup (Maybe Text)
- updateDynamicThingGroup_expectedVersion :: Lens' UpdateDynamicThingGroup (Maybe Integer)
- updateDynamicThingGroup_queryString :: Lens' UpdateDynamicThingGroup (Maybe Text)
- updateDynamicThingGroup_indexName :: 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.
UpdateDynamicThingGroup' | |
|
Instances
newUpdateDynamicThingGroup Source #
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: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.
$sel:expectedVersion:UpdateDynamicThingGroup'
, updateDynamicThingGroup_expectedVersion
- The expected version of the dynamic thing group to update.
$sel:queryString:UpdateDynamicThingGroup'
, updateDynamicThingGroup_queryString
- The dynamic thing group search query string to update.
$sel:indexName:UpdateDynamicThingGroup'
, updateDynamicThingGroup_indexName
- The dynamic thing group index to update.
Currently one index is supported: AWS_Things
.
$sel:thingGroupName: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_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_expectedVersion :: Lens' UpdateDynamicThingGroup (Maybe Integer) Source #
The expected version of the dynamic thing group to update.
updateDynamicThingGroup_queryString :: Lens' UpdateDynamicThingGroup (Maybe Text) Source #
The dynamic thing group search query string to update.
updateDynamicThingGroup_indexName :: Lens' UpdateDynamicThingGroup (Maybe Text) Source #
The dynamic thing group index to update.
Currently one index is supported: AWS_Things
.
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.
UpdateDynamicThingGroupResponse' | |
|
Instances
Eq UpdateDynamicThingGroupResponse Source # | |
Read UpdateDynamicThingGroupResponse Source # | |
Show UpdateDynamicThingGroupResponse Source # | |
Defined in Amazonka.IoT.UpdateDynamicThingGroup | |
Generic UpdateDynamicThingGroupResponse Source # | |
NFData UpdateDynamicThingGroupResponse Source # | |
Defined in Amazonka.IoT.UpdateDynamicThingGroup rnf :: UpdateDynamicThingGroupResponse -> () # | |
type Rep UpdateDynamicThingGroupResponse Source # | |
Defined in Amazonka.IoT.UpdateDynamicThingGroup type Rep UpdateDynamicThingGroupResponse = D1 ('MetaData "UpdateDynamicThingGroupResponse" "Amazonka.IoT.UpdateDynamicThingGroup" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "UpdateDynamicThingGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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:
$sel:version: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.