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 |
Retrieves all SourceServers or multiple SourceServers by ID.
This operation returns paginated results.
Synopsis
- data DescribeSourceServers = DescribeSourceServers' {}
- newDescribeSourceServers :: DescribeSourceServersRequestFilters -> DescribeSourceServers
- describeSourceServers_nextToken :: Lens' DescribeSourceServers (Maybe Text)
- describeSourceServers_maxResults :: Lens' DescribeSourceServers (Maybe Natural)
- describeSourceServers_filters :: Lens' DescribeSourceServers DescribeSourceServersRequestFilters
- data DescribeSourceServersResponse = DescribeSourceServersResponse' {
- items :: Maybe [SourceServer]
- nextToken :: Maybe Text
- httpStatus :: Int
- newDescribeSourceServersResponse :: Int -> DescribeSourceServersResponse
- describeSourceServersResponse_items :: Lens' DescribeSourceServersResponse (Maybe [SourceServer])
- describeSourceServersResponse_nextToken :: Lens' DescribeSourceServersResponse (Maybe Text)
- describeSourceServersResponse_httpStatus :: Lens' DescribeSourceServersResponse Int
Creating a Request
data DescribeSourceServers Source #
See: newDescribeSourceServers
smart constructor.
DescribeSourceServers' | |
|
Instances
newDescribeSourceServers Source #
Create a value of DescribeSourceServers
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:DescribeSourceServers'
, describeSourceServers_nextToken
- Request to filter Source Servers list by next token.
$sel:maxResults:DescribeSourceServers'
, describeSourceServers_maxResults
- Request to filter Source Servers list by maximum results.
$sel:filters:DescribeSourceServers'
, describeSourceServers_filters
- Request to filter Source Servers list.
Request Lenses
describeSourceServers_nextToken :: Lens' DescribeSourceServers (Maybe Text) Source #
Request to filter Source Servers list by next token.
describeSourceServers_maxResults :: Lens' DescribeSourceServers (Maybe Natural) Source #
Request to filter Source Servers list by maximum results.
describeSourceServers_filters :: Lens' DescribeSourceServers DescribeSourceServersRequestFilters Source #
Request to filter Source Servers list.
Destructuring the Response
data DescribeSourceServersResponse Source #
See: newDescribeSourceServersResponse
smart constructor.
DescribeSourceServersResponse' | |
|
Instances
newDescribeSourceServersResponse Source #
Create a value of DescribeSourceServersResponse
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:items:DescribeSourceServersResponse'
, describeSourceServersResponse_items
- Request to filter Source Servers list by item.
$sel:nextToken:DescribeSourceServers'
, describeSourceServersResponse_nextToken
- Request to filter Source Servers next token.
$sel:httpStatus:DescribeSourceServersResponse'
, describeSourceServersResponse_httpStatus
- The response's http status code.
Response Lenses
describeSourceServersResponse_items :: Lens' DescribeSourceServersResponse (Maybe [SourceServer]) Source #
Request to filter Source Servers list by item.
describeSourceServersResponse_nextToken :: Lens' DescribeSourceServersResponse (Maybe Text) Source #
Request to filter Source Servers next token.
describeSourceServersResponse_httpStatus :: Lens' DescribeSourceServersResponse Int Source #
The response's http status code.