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 the device profiles registered to your AWS account.
Synopsis
- data ListDeviceProfiles = ListDeviceProfiles' {}
- newListDeviceProfiles :: ListDeviceProfiles
- listDeviceProfiles_nextToken :: Lens' ListDeviceProfiles (Maybe Text)
- listDeviceProfiles_maxResults :: Lens' ListDeviceProfiles (Maybe Natural)
- data ListDeviceProfilesResponse = ListDeviceProfilesResponse' {}
- newListDeviceProfilesResponse :: Int -> ListDeviceProfilesResponse
- listDeviceProfilesResponse_deviceProfileList :: Lens' ListDeviceProfilesResponse (Maybe [DeviceProfile])
- listDeviceProfilesResponse_nextToken :: Lens' ListDeviceProfilesResponse (Maybe Text)
- listDeviceProfilesResponse_httpStatus :: Lens' ListDeviceProfilesResponse Int
Creating a Request
data ListDeviceProfiles Source #
See: newListDeviceProfiles
smart constructor.
Instances
newListDeviceProfiles :: ListDeviceProfiles Source #
Create a value of ListDeviceProfiles
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:ListDeviceProfiles'
, listDeviceProfiles_nextToken
- To retrieve the next set of results, the nextToken
value from a
previous response; otherwise null to receive the first set of
results.
$sel:maxResults:ListDeviceProfiles'
, listDeviceProfiles_maxResults
- The maximum number of results to return in this operation.
Request Lenses
listDeviceProfiles_nextToken :: Lens' ListDeviceProfiles (Maybe Text) Source #
To retrieve the next set of results, the nextToken
value from a
previous response; otherwise null to receive the first set of
results.
listDeviceProfiles_maxResults :: Lens' ListDeviceProfiles (Maybe Natural) Source #
The maximum number of results to return in this operation.
Destructuring the Response
data ListDeviceProfilesResponse Source #
See: newListDeviceProfilesResponse
smart constructor.
ListDeviceProfilesResponse' | |
|
Instances
newListDeviceProfilesResponse Source #
Create a value of ListDeviceProfilesResponse
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:deviceProfileList:ListDeviceProfilesResponse'
, listDeviceProfilesResponse_deviceProfileList
- The list of device profiles.
$sel:nextToken:ListDeviceProfiles'
, listDeviceProfilesResponse_nextToken
- The token to use to get the next set of results, or null if there
are no additional results.
$sel:httpStatus:ListDeviceProfilesResponse'
, listDeviceProfilesResponse_httpStatus
- The response's http status code.
Response Lenses
listDeviceProfilesResponse_deviceProfileList :: Lens' ListDeviceProfilesResponse (Maybe [DeviceProfile]) Source #
The list of device profiles.
listDeviceProfilesResponse_nextToken :: Lens' ListDeviceProfilesResponse (Maybe Text) Source #
The token to use to get the next set of results, or null if there are no additional results.
listDeviceProfilesResponse_httpStatus :: Lens' ListDeviceProfilesResponse Int Source #
The response's http status code.