| 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.Glue.GetClassifier
Description
Retrieve a classifier by name.
Synopsis
- data GetClassifier = GetClassifier' {}
- newGetClassifier :: Text -> GetClassifier
- getClassifier_name :: Lens' GetClassifier Text
- data GetClassifierResponse = GetClassifierResponse' {}
- newGetClassifierResponse :: Int -> GetClassifierResponse
- getClassifierResponse_classifier :: Lens' GetClassifierResponse (Maybe Classifier)
- getClassifierResponse_httpStatus :: Lens' GetClassifierResponse Int
Creating a Request
data GetClassifier Source #
See: newGetClassifier smart constructor.
Constructors
| GetClassifier' | |
Instances
Arguments
| :: Text | |
| -> GetClassifier |
Create a value of GetClassifier 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:
GetClassifier, getClassifier_name - Name of the classifier to retrieve.
Request Lenses
getClassifier_name :: Lens' GetClassifier Text Source #
Name of the classifier to retrieve.
Destructuring the Response
data GetClassifierResponse Source #
See: newGetClassifierResponse smart constructor.
Constructors
| GetClassifierResponse' | |
Fields
| |
Instances
newGetClassifierResponse Source #
Create a value of GetClassifierResponse 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:classifier:GetClassifierResponse', getClassifierResponse_classifier - The requested classifier.
$sel:httpStatus:GetClassifierResponse', getClassifierResponse_httpStatus - The response's http status code.
Response Lenses
getClassifierResponse_classifier :: Lens' GetClassifierResponse (Maybe Classifier) Source #
The requested classifier.
getClassifierResponse_httpStatus :: Lens' GetClassifierResponse Int Source #
The response's http status code.