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 |
Returns a list of all the operations that have been performed on the specified MSK cluster.
This operation returns paginated results.
Synopsis
- data ListClusterOperations = ListClusterOperations' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- clusterArn :: Text
- newListClusterOperations :: Text -> ListClusterOperations
- listClusterOperations_nextToken :: Lens' ListClusterOperations (Maybe Text)
- listClusterOperations_maxResults :: Lens' ListClusterOperations (Maybe Natural)
- listClusterOperations_clusterArn :: Lens' ListClusterOperations Text
- data ListClusterOperationsResponse = ListClusterOperationsResponse' {}
- newListClusterOperationsResponse :: Int -> ListClusterOperationsResponse
- listClusterOperationsResponse_clusterOperationInfoList :: Lens' ListClusterOperationsResponse (Maybe [ClusterOperationInfo])
- listClusterOperationsResponse_nextToken :: Lens' ListClusterOperationsResponse (Maybe Text)
- listClusterOperationsResponse_httpStatus :: Lens' ListClusterOperationsResponse Int
Creating a Request
data ListClusterOperations Source #
See: newListClusterOperations
smart constructor.
ListClusterOperations' | |
|
Instances
newListClusterOperations Source #
Create a value of ListClusterOperations
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:ListClusterOperations'
, listClusterOperations_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:ListClusterOperations'
, listClusterOperations_maxResults
- The maximum number of results to return in the response. If there are
more results, the response includes a NextToken parameter.
$sel:clusterArn:ListClusterOperations'
, listClusterOperations_clusterArn
- The Amazon Resource Name (ARN) that uniquely identifies the cluster.
Request Lenses
listClusterOperations_nextToken :: Lens' ListClusterOperations (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.
listClusterOperations_maxResults :: Lens' ListClusterOperations (Maybe Natural) Source #
The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter.
listClusterOperations_clusterArn :: Lens' ListClusterOperations Text Source #
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
Destructuring the Response
data ListClusterOperationsResponse Source #
See: newListClusterOperationsResponse
smart constructor.
ListClusterOperationsResponse' | |
|
Instances
newListClusterOperationsResponse Source #
Create a value of ListClusterOperationsResponse
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:clusterOperationInfoList:ListClusterOperationsResponse'
, listClusterOperationsResponse_clusterOperationInfoList
- An array of cluster operation information objects.
$sel:nextToken:ListClusterOperations'
, listClusterOperationsResponse_nextToken
- If the response of ListClusterOperations is truncated, it returns a
NextToken in the response. This Nexttoken should be sent in the
subsequent request to ListClusterOperations.
$sel:httpStatus:ListClusterOperationsResponse'
, listClusterOperationsResponse_httpStatus
- The response's http status code.
Response Lenses
listClusterOperationsResponse_clusterOperationInfoList :: Lens' ListClusterOperationsResponse (Maybe [ClusterOperationInfo]) Source #
An array of cluster operation information objects.
listClusterOperationsResponse_nextToken :: Lens' ListClusterOperationsResponse (Maybe Text) Source #
If the response of ListClusterOperations is truncated, it returns a NextToken in the response. This Nexttoken should be sent in the subsequent request to ListClusterOperations.
listClusterOperationsResponse_httpStatus :: Lens' ListClusterOperationsResponse Int Source #
The response's http status code.