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