Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Retrieve a classifier by name.
Creating a Request
:: Text | |
-> GetClassifier |
Creates a value of GetClassifier
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
getName
- Name of the classifier to retrieve.
data GetClassifier Source #
See: getClassifier
smart constructor.
Instances
Request Lenses
Destructuring the Response
getClassifierResponse Source #
Creates a value of GetClassifierResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcrsClassifier
- The requested classifier.gcrsResponseStatus
- -- | The response status code.
data GetClassifierResponse Source #
See: getClassifierResponse
smart constructor.
Instances
Response Lenses
gcrsClassifier :: Lens' GetClassifierResponse (Maybe Classifier) Source #
The requested classifier.
gcrsResponseStatus :: Lens' GetClassifierResponse Int Source #
- - | The response status code.