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