| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Kafka.ListScramSecrets
Description
Returns a list of the Scram Secrets associated with an Amazon MSK cluster.
This operation returns paginated results.
Synopsis
- data ListScramSecrets = ListScramSecrets' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- clusterArn :: Text
- newListScramSecrets :: Text -> ListScramSecrets
- listScramSecrets_maxResults :: Lens' ListScramSecrets (Maybe Natural)
- listScramSecrets_nextToken :: Lens' ListScramSecrets (Maybe Text)
- 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.
Constructors
| ListScramSecrets' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ListScramSecrets |
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:maxResults:ListScramSecrets', listScramSecrets_maxResults - The maxResults of the query.
ListScramSecrets, listScramSecrets_nextToken - The nextToken of the query.
ListScramSecrets, listScramSecrets_clusterArn - The arn of the cluster.
Request Lenses
listScramSecrets_maxResults :: Lens' ListScramSecrets (Maybe Natural) Source #
The maxResults of the query.
listScramSecrets_nextToken :: Lens' ListScramSecrets (Maybe Text) Source #
The nextToken of the query.
listScramSecrets_clusterArn :: Lens' ListScramSecrets Text Source #
The arn of the cluster.
Destructuring the Response
data ListScramSecretsResponse Source #
See: newListScramSecretsResponse smart constructor.
Constructors
| ListScramSecretsResponse' | |
Fields
| |
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:
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.