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