| 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.IoTWireless.ListServiceProfiles
Description
Lists the service profiles registered to your AWS account.
Synopsis
- data ListServiceProfiles = ListServiceProfiles' {}
- newListServiceProfiles :: ListServiceProfiles
- listServiceProfiles_maxResults :: Lens' ListServiceProfiles (Maybe Natural)
- listServiceProfiles_nextToken :: Lens' ListServiceProfiles (Maybe Text)
- data ListServiceProfilesResponse = ListServiceProfilesResponse' {}
- newListServiceProfilesResponse :: Int -> ListServiceProfilesResponse
- listServiceProfilesResponse_nextToken :: Lens' ListServiceProfilesResponse (Maybe Text)
- listServiceProfilesResponse_serviceProfileList :: Lens' ListServiceProfilesResponse (Maybe [ServiceProfile])
- listServiceProfilesResponse_httpStatus :: Lens' ListServiceProfilesResponse Int
Creating a Request
data ListServiceProfiles Source #
See: newListServiceProfiles smart constructor.
Constructors
| ListServiceProfiles' | |
Instances
newListServiceProfiles :: ListServiceProfiles Source #
Create a value of ListServiceProfiles 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:ListServiceProfiles', listServiceProfiles_maxResults - The maximum number of results to return in this operation.
ListServiceProfiles, listServiceProfiles_nextToken - To retrieve the next set of results, the nextToken value from a
previous response; otherwise null to receive the first set of
results.
Request Lenses
listServiceProfiles_maxResults :: Lens' ListServiceProfiles (Maybe Natural) Source #
The maximum number of results to return in this operation.
listServiceProfiles_nextToken :: Lens' ListServiceProfiles (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.
Destructuring the Response
data ListServiceProfilesResponse Source #
See: newListServiceProfilesResponse smart constructor.
Constructors
| ListServiceProfilesResponse' | |
Fields
| |
Instances
newListServiceProfilesResponse Source #
Create a value of ListServiceProfilesResponse 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:
ListServiceProfiles, listServiceProfilesResponse_nextToken - The token to use to get the next set of results, or null if there
are no additional results.
$sel:serviceProfileList:ListServiceProfilesResponse', listServiceProfilesResponse_serviceProfileList - The list of service profiles.
$sel:httpStatus:ListServiceProfilesResponse', listServiceProfilesResponse_httpStatus - The response's http status code.
Response Lenses
listServiceProfilesResponse_nextToken :: Lens' ListServiceProfilesResponse (Maybe Text) Source #
The token to use to get the next set of results, or null if there are no additional results.
listServiceProfilesResponse_serviceProfileList :: Lens' ListServiceProfilesResponse (Maybe [ServiceProfile]) Source #
The list of service profiles.
listServiceProfilesResponse_httpStatus :: Lens' ListServiceProfilesResponse Int Source #
The response's http status code.