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 |
Lists all of the smart home appliances associated with a room.
This operation returns paginated results.
Synopsis
- data ListSmartHomeAppliances = ListSmartHomeAppliances' {}
- newListSmartHomeAppliances :: Text -> ListSmartHomeAppliances
- listSmartHomeAppliances_nextToken :: Lens' ListSmartHomeAppliances (Maybe Text)
- listSmartHomeAppliances_maxResults :: Lens' ListSmartHomeAppliances (Maybe Natural)
- listSmartHomeAppliances_roomArn :: Lens' ListSmartHomeAppliances Text
- data ListSmartHomeAppliancesResponse = ListSmartHomeAppliancesResponse' {}
- newListSmartHomeAppliancesResponse :: Int -> ListSmartHomeAppliancesResponse
- listSmartHomeAppliancesResponse_smartHomeAppliances :: Lens' ListSmartHomeAppliancesResponse (Maybe [SmartHomeAppliance])
- listSmartHomeAppliancesResponse_nextToken :: Lens' ListSmartHomeAppliancesResponse (Maybe Text)
- listSmartHomeAppliancesResponse_httpStatus :: Lens' ListSmartHomeAppliancesResponse Int
Creating a Request
data ListSmartHomeAppliances Source #
See: newListSmartHomeAppliances
smart constructor.
Instances
newListSmartHomeAppliances Source #
Create a value of ListSmartHomeAppliances
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:nextToken:ListSmartHomeAppliances'
, listSmartHomeAppliances_nextToken
- The tokens used for pagination.
$sel:maxResults:ListSmartHomeAppliances'
, listSmartHomeAppliances_maxResults
- The maximum number of appliances to be returned, per paginated calls.
$sel:roomArn:ListSmartHomeAppliances'
, listSmartHomeAppliances_roomArn
- The room that the appliances are associated with.
Request Lenses
listSmartHomeAppliances_nextToken :: Lens' ListSmartHomeAppliances (Maybe Text) Source #
The tokens used for pagination.
listSmartHomeAppliances_maxResults :: Lens' ListSmartHomeAppliances (Maybe Natural) Source #
The maximum number of appliances to be returned, per paginated calls.
listSmartHomeAppliances_roomArn :: Lens' ListSmartHomeAppliances Text Source #
The room that the appliances are associated with.
Destructuring the Response
data ListSmartHomeAppliancesResponse Source #
See: newListSmartHomeAppliancesResponse
smart constructor.
ListSmartHomeAppliancesResponse' | |
|
Instances
newListSmartHomeAppliancesResponse Source #
Create a value of ListSmartHomeAppliancesResponse
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:smartHomeAppliances:ListSmartHomeAppliancesResponse'
, listSmartHomeAppliancesResponse_smartHomeAppliances
- The smart home appliances.
$sel:nextToken:ListSmartHomeAppliances'
, listSmartHomeAppliancesResponse_nextToken
- The tokens used for pagination.
$sel:httpStatus:ListSmartHomeAppliancesResponse'
, listSmartHomeAppliancesResponse_httpStatus
- The response's http status code.
Response Lenses
listSmartHomeAppliancesResponse_smartHomeAppliances :: Lens' ListSmartHomeAppliancesResponse (Maybe [SmartHomeAppliance]) Source #
The smart home appliances.
listSmartHomeAppliancesResponse_nextToken :: Lens' ListSmartHomeAppliancesResponse (Maybe Text) Source #
The tokens used for pagination.
listSmartHomeAppliancesResponse_httpStatus :: Lens' ListSmartHomeAppliancesResponse Int Source #
The response's http status code.