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 |
Returns the details about one feature. You must already know the feature name. To retrieve a list of features in your account, use ListFeatures.
Synopsis
- data GetFeature = GetFeature' {}
- newGetFeature :: Text -> Text -> GetFeature
- getFeature_feature :: Lens' GetFeature Text
- getFeature_project :: Lens' GetFeature Text
- data GetFeatureResponse = GetFeatureResponse' {
- httpStatus :: Int
- feature :: Feature
- newGetFeatureResponse :: Int -> Feature -> GetFeatureResponse
- getFeatureResponse_httpStatus :: Lens' GetFeatureResponse Int
- getFeatureResponse_feature :: Lens' GetFeatureResponse Feature
Creating a Request
data GetFeature Source #
See: newGetFeature
smart constructor.
Instances
Create a value of GetFeature
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:
GetFeature
, getFeature_feature
- The name of the feature that you want to retrieve information for.
GetFeature
, getFeature_project
- The name or ARN of the project that contains the feature.
Request Lenses
getFeature_feature :: Lens' GetFeature Text Source #
The name of the feature that you want to retrieve information for.
getFeature_project :: Lens' GetFeature Text Source #
The name or ARN of the project that contains the feature.
Destructuring the Response
data GetFeatureResponse Source #
See: newGetFeatureResponse
smart constructor.
GetFeatureResponse' | |
|
Instances
newGetFeatureResponse Source #
Create a value of GetFeatureResponse
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:httpStatus:GetFeatureResponse'
, getFeatureResponse_httpStatus
- The response's http status code.
GetFeature
, getFeatureResponse_feature
- A structure containing the configuration details of the feature.
Response Lenses
getFeatureResponse_httpStatus :: Lens' GetFeatureResponse Int Source #
The response's http status code.
getFeatureResponse_feature :: Lens' GetFeatureResponse Feature Source #
A structure containing the configuration details of the feature.