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 configuration details about all the features in the specified project.
This operation returns paginated results.
Synopsis
- data ListFeatures = ListFeatures' {}
- newListFeatures :: Text -> ListFeatures
- listFeatures_maxResults :: Lens' ListFeatures (Maybe Natural)
- listFeatures_nextToken :: Lens' ListFeatures (Maybe Text)
- listFeatures_project :: Lens' ListFeatures Text
- data ListFeaturesResponse = ListFeaturesResponse' {
- features :: Maybe [FeatureSummary]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListFeaturesResponse :: Int -> ListFeaturesResponse
- listFeaturesResponse_features :: Lens' ListFeaturesResponse (Maybe [FeatureSummary])
- listFeaturesResponse_nextToken :: Lens' ListFeaturesResponse (Maybe Text)
- listFeaturesResponse_httpStatus :: Lens' ListFeaturesResponse Int
Creating a Request
data ListFeatures Source #
See: newListFeatures
smart constructor.
ListFeatures' | |
|
Instances
Create a value of ListFeatures
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:ListFeatures'
, listFeatures_maxResults
- The maximum number of results to include in the response.
ListFeatures
, listFeatures_nextToken
- The token to use when requesting the next set of results. You received
this token from a previous ListFeatures
operation.
ListFeatures
, listFeatures_project
- The name or ARN of the project to return the feature list from.
Request Lenses
listFeatures_maxResults :: Lens' ListFeatures (Maybe Natural) Source #
The maximum number of results to include in the response.
listFeatures_nextToken :: Lens' ListFeatures (Maybe Text) Source #
The token to use when requesting the next set of results. You received
this token from a previous ListFeatures
operation.
listFeatures_project :: Lens' ListFeatures Text Source #
The name or ARN of the project to return the feature list from.
Destructuring the Response
data ListFeaturesResponse Source #
See: newListFeaturesResponse
smart constructor.
ListFeaturesResponse' | |
|
Instances
newListFeaturesResponse Source #
Create a value of ListFeaturesResponse
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:features:ListFeaturesResponse'
, listFeaturesResponse_features
- An array of structures that contain the configuration details of the
features in the specified project.
ListFeatures
, listFeaturesResponse_nextToken
- The token to use in a subsequent ListFeatures
operation to return the
next set of results.
$sel:httpStatus:ListFeaturesResponse'
, listFeaturesResponse_httpStatus
- The response's http status code.
Response Lenses
listFeaturesResponse_features :: Lens' ListFeaturesResponse (Maybe [FeatureSummary]) Source #
An array of structures that contain the configuration details of the features in the specified project.
listFeaturesResponse_nextToken :: Lens' ListFeaturesResponse (Maybe Text) Source #
The token to use in a subsequent ListFeatures
operation to return the
next set of results.
listFeaturesResponse_httpStatus :: Lens' ListFeaturesResponse Int Source #
The response's http status code.