| 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.DrS.ListStagingAccounts
Description
Returns an array of staging accounts for existing extended source servers.
This operation returns paginated results.
Synopsis
- data ListStagingAccounts = ListStagingAccounts' {}
- newListStagingAccounts :: ListStagingAccounts
- listStagingAccounts_maxResults :: Lens' ListStagingAccounts (Maybe Natural)
- listStagingAccounts_nextToken :: Lens' ListStagingAccounts (Maybe Text)
- data ListStagingAccountsResponse = ListStagingAccountsResponse' {}
- newListStagingAccountsResponse :: Int -> ListStagingAccountsResponse
- listStagingAccountsResponse_accounts :: Lens' ListStagingAccountsResponse (Maybe [Account])
- listStagingAccountsResponse_nextToken :: Lens' ListStagingAccountsResponse (Maybe Text)
- listStagingAccountsResponse_httpStatus :: Lens' ListStagingAccountsResponse Int
Creating a Request
data ListStagingAccounts Source #
See: newListStagingAccounts smart constructor.
Constructors
| ListStagingAccounts' | |
Instances
newListStagingAccounts :: ListStagingAccounts Source #
Create a value of ListStagingAccounts 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:ListStagingAccounts', listStagingAccounts_maxResults - The maximum number of staging Accounts to retrieve.
ListStagingAccounts, listStagingAccounts_nextToken - The token of the next staging Account to retrieve.
Request Lenses
listStagingAccounts_maxResults :: Lens' ListStagingAccounts (Maybe Natural) Source #
The maximum number of staging Accounts to retrieve.
listStagingAccounts_nextToken :: Lens' ListStagingAccounts (Maybe Text) Source #
The token of the next staging Account to retrieve.
Destructuring the Response
data ListStagingAccountsResponse Source #
See: newListStagingAccountsResponse smart constructor.
Constructors
| ListStagingAccountsResponse' | |
Instances
newListStagingAccountsResponse Source #
Create a value of ListStagingAccountsResponse 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:accounts:ListStagingAccountsResponse', listStagingAccountsResponse_accounts - An array of staging AWS Accounts.
ListStagingAccounts, listStagingAccountsResponse_nextToken - The token of the next staging Account to retrieve.
$sel:httpStatus:ListStagingAccountsResponse', listStagingAccountsResponse_httpStatus - The response's http status code.
Response Lenses
listStagingAccountsResponse_accounts :: Lens' ListStagingAccountsResponse (Maybe [Account]) Source #
An array of staging AWS Accounts.
listStagingAccountsResponse_nextToken :: Lens' ListStagingAccountsResponse (Maybe Text) Source #
The token of the next staging Account to retrieve.
listStagingAccountsResponse_httpStatus :: Lens' ListStagingAccountsResponse Int Source #
The response's http status code.