| 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.ListPartnerAccounts
Description
Lists the partner accounts associated with your AWS account.
Synopsis
- data ListPartnerAccounts = ListPartnerAccounts' {}
- newListPartnerAccounts :: ListPartnerAccounts
- listPartnerAccounts_maxResults :: Lens' ListPartnerAccounts (Maybe Natural)
- listPartnerAccounts_nextToken :: Lens' ListPartnerAccounts (Maybe Text)
- data ListPartnerAccountsResponse = ListPartnerAccountsResponse' {}
- newListPartnerAccountsResponse :: Int -> ListPartnerAccountsResponse
- listPartnerAccountsResponse_nextToken :: Lens' ListPartnerAccountsResponse (Maybe Text)
- listPartnerAccountsResponse_sidewalk :: Lens' ListPartnerAccountsResponse (Maybe [SidewalkAccountInfoWithFingerprint])
- listPartnerAccountsResponse_httpStatus :: Lens' ListPartnerAccountsResponse Int
Creating a Request
data ListPartnerAccounts Source #
See: newListPartnerAccounts smart constructor.
Constructors
| ListPartnerAccounts' | |
Instances
newListPartnerAccounts :: ListPartnerAccounts Source #
Create a value of ListPartnerAccounts 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:ListPartnerAccounts', listPartnerAccounts_maxResults - The maximum number of results to return in this operation.
ListPartnerAccounts, listPartnerAccounts_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
listPartnerAccounts_maxResults :: Lens' ListPartnerAccounts (Maybe Natural) Source #
The maximum number of results to return in this operation.
listPartnerAccounts_nextToken :: Lens' ListPartnerAccounts (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 ListPartnerAccountsResponse Source #
See: newListPartnerAccountsResponse smart constructor.
Constructors
| ListPartnerAccountsResponse' | |
Fields
| |
Instances
newListPartnerAccountsResponse Source #
Create a value of ListPartnerAccountsResponse 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:
ListPartnerAccounts, listPartnerAccountsResponse_nextToken - The token to use to get the next set of results, or null if there
are no additional results.
ListPartnerAccountsResponse, listPartnerAccountsResponse_sidewalk - The Sidewalk account credentials.
$sel:httpStatus:ListPartnerAccountsResponse', listPartnerAccountsResponse_httpStatus - The response's http status code.
Response Lenses
listPartnerAccountsResponse_nextToken :: Lens' ListPartnerAccountsResponse (Maybe Text) Source #
The token to use to get the next set of results, or null if there are no additional results.
listPartnerAccountsResponse_sidewalk :: Lens' ListPartnerAccountsResponse (Maybe [SidewalkAccountInfoWithFingerprint]) Source #
The Sidewalk account credentials.
listPartnerAccountsResponse_httpStatus :: Lens' ListPartnerAccountsResponse Int Source #
The response's http status code.