| 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.GroundStation.ListConfigs
Description
Returns a list of Config objects.
This operation returns paginated results.
Synopsis
- data ListConfigs = ListConfigs' {}
- newListConfigs :: ListConfigs
- listConfigs_nextToken :: Lens' ListConfigs (Maybe Text)
- listConfigs_maxResults :: Lens' ListConfigs (Maybe Int)
- data ListConfigsResponse = ListConfigsResponse' {
- configList :: Maybe [ConfigListItem]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListConfigsResponse :: Int -> ListConfigsResponse
- listConfigsResponse_configList :: Lens' ListConfigsResponse (Maybe [ConfigListItem])
- listConfigsResponse_nextToken :: Lens' ListConfigsResponse (Maybe Text)
- listConfigsResponse_httpStatus :: Lens' ListConfigsResponse Int
Creating a Request
data ListConfigs Source #
See: newListConfigs smart constructor.
Constructors
| ListConfigs' | |
Instances
newListConfigs :: ListConfigs Source #
Create a value of ListConfigs 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:ListConfigs', listConfigs_nextToken - Next token returned in the request of a previous ListConfigs call.
Used to get the next page of results.
$sel:maxResults:ListConfigs', listConfigs_maxResults - Maximum number of Configs returned.
Request Lenses
listConfigs_nextToken :: Lens' ListConfigs (Maybe Text) Source #
Next token returned in the request of a previous ListConfigs call.
Used to get the next page of results.
listConfigs_maxResults :: Lens' ListConfigs (Maybe Int) Source #
Maximum number of Configs returned.
Destructuring the Response
data ListConfigsResponse Source #
See: newListConfigsResponse smart constructor.
Constructors
| ListConfigsResponse' | |
Fields
| |
Instances
newListConfigsResponse Source #
Arguments
| :: Int | |
| -> ListConfigsResponse |
Create a value of ListConfigsResponse 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:configList:ListConfigsResponse', listConfigsResponse_configList - List of Config items.
$sel:nextToken:ListConfigs', listConfigsResponse_nextToken - Next token returned in the response of a previous ListConfigs call.
Used to get the next page of results.
$sel:httpStatus:ListConfigsResponse', listConfigsResponse_httpStatus - The response's http status code.
Response Lenses
listConfigsResponse_configList :: Lens' ListConfigsResponse (Maybe [ConfigListItem]) Source #
List of Config items.
listConfigsResponse_nextToken :: Lens' ListConfigsResponse (Maybe Text) Source #
Next token returned in the response of a previous ListConfigs call.
Used to get the next page of results.
listConfigsResponse_httpStatus :: Lens' ListConfigsResponse Int Source #
The response's http status code.