| 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.Kafka.ListNodes
Description
Returns a list of the broker nodes in the cluster.
This operation returns paginated results.
Synopsis
- data ListNodes = ListNodes' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- clusterArn :: Text
- newListNodes :: Text -> ListNodes
- listNodes_nextToken :: Lens' ListNodes (Maybe Text)
- listNodes_maxResults :: Lens' ListNodes (Maybe Natural)
- listNodes_clusterArn :: Lens' ListNodes Text
- data ListNodesResponse = ListNodesResponse' {
- nodeInfoList :: Maybe [NodeInfo]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListNodesResponse :: Int -> ListNodesResponse
- listNodesResponse_nodeInfoList :: Lens' ListNodesResponse (Maybe [NodeInfo])
- listNodesResponse_nextToken :: Lens' ListNodesResponse (Maybe Text)
- listNodesResponse_httpStatus :: Lens' ListNodesResponse Int
Creating a Request
See: newListNodes smart constructor.
Constructors
| ListNodes' | |
Fields
| |
Instances
Create a value of ListNodes 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:ListNodes', listNodes_nextToken - The paginated results marker. When the result of the operation is
truncated, the call returns NextToken in the response. To get the next
batch, provide this token in your next request.
$sel:maxResults:ListNodes', listNodes_maxResults - The maximum number of results to return in the response. If there are
more results, the response includes a NextToken parameter.
$sel:clusterArn:ListNodes', listNodes_clusterArn - The Amazon Resource Name (ARN) that uniquely identifies the cluster.
Request Lenses
listNodes_nextToken :: Lens' ListNodes (Maybe Text) Source #
The paginated results marker. When the result of the operation is truncated, the call returns NextToken in the response. To get the next batch, provide this token in your next request.
listNodes_maxResults :: Lens' ListNodes (Maybe Natural) Source #
The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter.
listNodes_clusterArn :: Lens' ListNodes Text Source #
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
Destructuring the Response
data ListNodesResponse Source #
See: newListNodesResponse smart constructor.
Constructors
| ListNodesResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> ListNodesResponse |
Create a value of ListNodesResponse 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:nodeInfoList:ListNodesResponse', listNodesResponse_nodeInfoList - List containing a NodeInfo object.
$sel:nextToken:ListNodes', listNodesResponse_nextToken - The paginated results marker. When the result of a ListNodes operation
is truncated, the call returns NextToken in the response. To get another
batch of nodes, provide this token in your next request.
$sel:httpStatus:ListNodesResponse', listNodesResponse_httpStatus - The response's http status code.
Response Lenses
listNodesResponse_nodeInfoList :: Lens' ListNodesResponse (Maybe [NodeInfo]) Source #
List containing a NodeInfo object.
listNodesResponse_nextToken :: Lens' ListNodesResponse (Maybe Text) Source #
The paginated results marker. When the result of a ListNodes operation is truncated, the call returns NextToken in the response. To get another batch of nodes, provide this token in your next request.
listNodesResponse_httpStatus :: Lens' ListNodesResponse Int Source #
The response's http status code.