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 the Scram Secrets associated with an Amazon MSK cluster.
This operation returns paginated results.
Synopsis
- data ListScramSecrets = ListScramSecrets' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- clusterArn :: Text
- newListScramSecrets :: Text -> ListScramSecrets
- listScramSecrets_nextToken :: Lens' ListScramSecrets (Maybe Text)
- listScramSecrets_maxResults :: Lens' ListScramSecrets (Maybe Natural)
- listScramSecrets_clusterArn :: Lens' ListScramSecrets Text
- data ListScramSecretsResponse = ListScramSecretsResponse' {
- nextToken :: Maybe Text
- secretArnList :: Maybe [Text]
- httpStatus :: Int
- newListScramSecretsResponse :: Int -> ListScramSecretsResponse
- listScramSecretsResponse_nextToken :: Lens' ListScramSecretsResponse (Maybe Text)
- listScramSecretsResponse_secretArnList :: Lens' ListScramSecretsResponse (Maybe [Text])
- listScramSecretsResponse_httpStatus :: Lens' ListScramSecretsResponse Int
Creating a Request
data ListScramSecrets Source #
See: newListScramSecrets
smart constructor.
ListScramSecrets' | |
|
Instances
Create a value of ListScramSecrets
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:ListScramSecrets'
, listScramSecrets_nextToken
- The nextToken of the query.
$sel:maxResults:ListScramSecrets'
, listScramSecrets_maxResults
- The maxResults of the query.
$sel:clusterArn:ListScramSecrets'
, listScramSecrets_clusterArn
- The arn of the cluster.
Request Lenses
listScramSecrets_nextToken :: Lens' ListScramSecrets (Maybe Text) Source #
The nextToken of the query.
listScramSecrets_maxResults :: Lens' ListScramSecrets (Maybe Natural) Source #
The maxResults of the query.
listScramSecrets_clusterArn :: Lens' ListScramSecrets Text Source #
The arn of the cluster.
Destructuring the Response
data ListScramSecretsResponse Source #
See: newListScramSecretsResponse
smart constructor.
ListScramSecretsResponse' | |
|
Instances
newListScramSecretsResponse Source #
Create a value of ListScramSecretsResponse
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:ListScramSecrets'
, listScramSecretsResponse_nextToken
- Paginated results marker.
$sel:secretArnList:ListScramSecretsResponse'
, listScramSecretsResponse_secretArnList
- The list of scram secrets associated with the cluster.
$sel:httpStatus:ListScramSecretsResponse'
, listScramSecretsResponse_httpStatus
- The response's http status code.
Response Lenses
listScramSecretsResponse_nextToken :: Lens' ListScramSecretsResponse (Maybe Text) Source #
Paginated results marker.
listScramSecretsResponse_secretArnList :: Lens' ListScramSecretsResponse (Maybe [Text]) Source #
The list of scram secrets associated with the cluster.
listScramSecretsResponse_httpStatus :: Lens' ListScramSecretsResponse Int Source #
The response's http status code.