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 |
Creates a dynamic thing group.
Requires permission to access the CreateDynamicThingGroup action.
Synopsis
- data CreateDynamicThingGroup = CreateDynamicThingGroup' {}
- newCreateDynamicThingGroup :: Text -> Text -> CreateDynamicThingGroup
- createDynamicThingGroup_queryVersion :: Lens' CreateDynamicThingGroup (Maybe Text)
- createDynamicThingGroup_thingGroupProperties :: Lens' CreateDynamicThingGroup (Maybe ThingGroupProperties)
- createDynamicThingGroup_indexName :: Lens' CreateDynamicThingGroup (Maybe Text)
- createDynamicThingGroup_tags :: Lens' CreateDynamicThingGroup (Maybe [Tag])
- createDynamicThingGroup_thingGroupName :: Lens' CreateDynamicThingGroup Text
- createDynamicThingGroup_queryString :: Lens' CreateDynamicThingGroup Text
- data CreateDynamicThingGroupResponse = CreateDynamicThingGroupResponse' {}
- newCreateDynamicThingGroupResponse :: Int -> CreateDynamicThingGroupResponse
- createDynamicThingGroupResponse_queryVersion :: Lens' CreateDynamicThingGroupResponse (Maybe Text)
- createDynamicThingGroupResponse_thingGroupArn :: Lens' CreateDynamicThingGroupResponse (Maybe Text)
- createDynamicThingGroupResponse_thingGroupId :: Lens' CreateDynamicThingGroupResponse (Maybe Text)
- createDynamicThingGroupResponse_thingGroupName :: Lens' CreateDynamicThingGroupResponse (Maybe Text)
- createDynamicThingGroupResponse_queryString :: Lens' CreateDynamicThingGroupResponse (Maybe Text)
- createDynamicThingGroupResponse_indexName :: Lens' CreateDynamicThingGroupResponse (Maybe Text)
- createDynamicThingGroupResponse_httpStatus :: Lens' CreateDynamicThingGroupResponse Int
Creating a Request
data CreateDynamicThingGroup Source #
See: newCreateDynamicThingGroup
smart constructor.
CreateDynamicThingGroup' | |
|
Instances
newCreateDynamicThingGroup Source #
:: Text | |
-> Text | |
-> CreateDynamicThingGroup |
Create a value of CreateDynamicThingGroup
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:CreateDynamicThingGroup'
, createDynamicThingGroup_queryVersion
- The dynamic thing group query version.
Currently one query version is supported: "2017-09-30". If not specified, the query version defaults to this value.
$sel:thingGroupProperties:CreateDynamicThingGroup'
, createDynamicThingGroup_thingGroupProperties
- The dynamic thing group properties.
$sel:indexName:CreateDynamicThingGroup'
, createDynamicThingGroup_indexName
- The dynamic thing group index name.
Currently one index is supported: AWS_Things
.
$sel:tags:CreateDynamicThingGroup'
, createDynamicThingGroup_tags
- Metadata which can be used to manage the dynamic thing group.
$sel:thingGroupName:CreateDynamicThingGroup'
, createDynamicThingGroup_thingGroupName
- The dynamic thing group name to create.
$sel:queryString:CreateDynamicThingGroup'
, createDynamicThingGroup_queryString
- The dynamic thing group search query string.
See Query Syntax for information about query string syntax.
Request Lenses
createDynamicThingGroup_queryVersion :: Lens' CreateDynamicThingGroup (Maybe Text) Source #
The dynamic thing group query version.
Currently one query version is supported: "2017-09-30". If not specified, the query version defaults to this value.
createDynamicThingGroup_thingGroupProperties :: Lens' CreateDynamicThingGroup (Maybe ThingGroupProperties) Source #
The dynamic thing group properties.
createDynamicThingGroup_indexName :: Lens' CreateDynamicThingGroup (Maybe Text) Source #
The dynamic thing group index name.
Currently one index is supported: AWS_Things
.
createDynamicThingGroup_tags :: Lens' CreateDynamicThingGroup (Maybe [Tag]) Source #
Metadata which can be used to manage the dynamic thing group.
createDynamicThingGroup_thingGroupName :: Lens' CreateDynamicThingGroup Text Source #
The dynamic thing group name to create.
createDynamicThingGroup_queryString :: Lens' CreateDynamicThingGroup Text Source #
The dynamic thing group search query string.
See Query Syntax for information about query string syntax.
Destructuring the Response
data CreateDynamicThingGroupResponse Source #
See: newCreateDynamicThingGroupResponse
smart constructor.
CreateDynamicThingGroupResponse' | |
|
Instances
newCreateDynamicThingGroupResponse Source #
Create a value of CreateDynamicThingGroupResponse
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:CreateDynamicThingGroup'
, createDynamicThingGroupResponse_queryVersion
- The dynamic thing group query version.
$sel:thingGroupArn:CreateDynamicThingGroupResponse'
, createDynamicThingGroupResponse_thingGroupArn
- The dynamic thing group ARN.
$sel:thingGroupId:CreateDynamicThingGroupResponse'
, createDynamicThingGroupResponse_thingGroupId
- The dynamic thing group ID.
$sel:thingGroupName:CreateDynamicThingGroup'
, createDynamicThingGroupResponse_thingGroupName
- The dynamic thing group name.
$sel:queryString:CreateDynamicThingGroup'
, createDynamicThingGroupResponse_queryString
- The dynamic thing group search query string.
$sel:indexName:CreateDynamicThingGroup'
, createDynamicThingGroupResponse_indexName
- The dynamic thing group index name.
$sel:httpStatus:CreateDynamicThingGroupResponse'
, createDynamicThingGroupResponse_httpStatus
- The response's http status code.
Response Lenses
createDynamicThingGroupResponse_queryVersion :: Lens' CreateDynamicThingGroupResponse (Maybe Text) Source #
The dynamic thing group query version.
createDynamicThingGroupResponse_thingGroupArn :: Lens' CreateDynamicThingGroupResponse (Maybe Text) Source #
The dynamic thing group ARN.
createDynamicThingGroupResponse_thingGroupId :: Lens' CreateDynamicThingGroupResponse (Maybe Text) Source #
The dynamic thing group ID.
createDynamicThingGroupResponse_thingGroupName :: Lens' CreateDynamicThingGroupResponse (Maybe Text) Source #
The dynamic thing group name.
createDynamicThingGroupResponse_queryString :: Lens' CreateDynamicThingGroupResponse (Maybe Text) Source #
The dynamic thing group search query string.
createDynamicThingGroupResponse_indexName :: Lens' CreateDynamicThingGroupResponse (Maybe Text) Source #
The dynamic thing group index name.
createDynamicThingGroupResponse_httpStatus :: Lens' CreateDynamicThingGroupResponse Int Source #
The response's http status code.