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 |
Retrieves a paginated list of the components that a Greengrass core device runs.
This operation returns paginated results.
Synopsis
- data ListInstalledComponents = ListInstalledComponents' {}
- newListInstalledComponents :: Text -> ListInstalledComponents
- listInstalledComponents_nextToken :: Lens' ListInstalledComponents (Maybe Text)
- listInstalledComponents_maxResults :: Lens' ListInstalledComponents (Maybe Natural)
- listInstalledComponents_coreDeviceThingName :: Lens' ListInstalledComponents Text
- data ListInstalledComponentsResponse = ListInstalledComponentsResponse' {}
- newListInstalledComponentsResponse :: Int -> ListInstalledComponentsResponse
- listInstalledComponentsResponse_installedComponents :: Lens' ListInstalledComponentsResponse (Maybe [InstalledComponent])
- listInstalledComponentsResponse_nextToken :: Lens' ListInstalledComponentsResponse (Maybe Text)
- listInstalledComponentsResponse_httpStatus :: Lens' ListInstalledComponentsResponse Int
Creating a Request
data ListInstalledComponents Source #
See: newListInstalledComponents
smart constructor.
ListInstalledComponents' | |
|
Instances
newListInstalledComponents Source #
Create a value of ListInstalledComponents
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:ListInstalledComponents'
, listInstalledComponents_nextToken
- The token to be used for the next set of paginated results.
$sel:maxResults:ListInstalledComponents'
, listInstalledComponents_maxResults
- The maximum number of results to be returned per paginated request.
$sel:coreDeviceThingName:ListInstalledComponents'
, listInstalledComponents_coreDeviceThingName
- The name of the core device. This is also the name of the IoT thing.
Request Lenses
listInstalledComponents_nextToken :: Lens' ListInstalledComponents (Maybe Text) Source #
The token to be used for the next set of paginated results.
listInstalledComponents_maxResults :: Lens' ListInstalledComponents (Maybe Natural) Source #
The maximum number of results to be returned per paginated request.
listInstalledComponents_coreDeviceThingName :: Lens' ListInstalledComponents Text Source #
The name of the core device. This is also the name of the IoT thing.
Destructuring the Response
data ListInstalledComponentsResponse Source #
See: newListInstalledComponentsResponse
smart constructor.
ListInstalledComponentsResponse' | |
|
Instances
newListInstalledComponentsResponse Source #
Create a value of ListInstalledComponentsResponse
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:installedComponents:ListInstalledComponentsResponse'
, listInstalledComponentsResponse_installedComponents
- A list that summarizes each component on the core device.
$sel:nextToken:ListInstalledComponents'
, listInstalledComponentsResponse_nextToken
- The token for the next set of results, or null if there are no
additional results.
$sel:httpStatus:ListInstalledComponentsResponse'
, listInstalledComponentsResponse_httpStatus
- The response's http status code.
Response Lenses
listInstalledComponentsResponse_installedComponents :: Lens' ListInstalledComponentsResponse (Maybe [InstalledComponent]) Source #
A list that summarizes each component on the core device.
listInstalledComponentsResponse_nextToken :: Lens' ListInstalledComponentsResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no additional results.
listInstalledComponentsResponse_httpStatus :: Lens' ListInstalledComponentsResponse Int Source #
The response's http status code.