Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Retrieves a list of configurations items according to the criteria you specify in a filter. The filter criteria identify relationship requirements.
- listConfigurations :: ConfigurationItemType -> ListConfigurations
- data ListConfigurations
- lcFilters :: Lens' ListConfigurations [Filter]
- lcNextToken :: Lens' ListConfigurations (Maybe Text)
- lcMaxResults :: Lens' ListConfigurations (Maybe Int)
- lcConfigurationType :: Lens' ListConfigurations ConfigurationItemType
- listConfigurationsResponse :: Int -> ListConfigurationsResponse
- data ListConfigurationsResponse
- lcrsConfigurations :: Lens' ListConfigurationsResponse [HashMap Text Text]
- lcrsNextToken :: Lens' ListConfigurationsResponse (Maybe Text)
- lcrsResponseStatus :: Lens' ListConfigurationsResponse Int
Creating a Request
Creates a value of ListConfigurations
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lcFilters
- You can filter the list using a key -value format. For example:{"key": "serverType", "value": "webServer"}
You can separate these items by using logical operators.lcNextToken
- A token to start the list. Use this token to get the next set of results.lcMaxResults
- The total number of items to return. The maximum value is 100.lcConfigurationType
- A valid configuration identified by the Discovery Service.
data ListConfigurations Source #
See: listConfigurations
smart constructor.
Request Lenses
lcFilters :: Lens' ListConfigurations [Filter] Source #
You can filter the list using a key -value format. For example: {"key": "serverType", "value": "webServer"}
You can separate these items by using logical operators.
lcNextToken :: Lens' ListConfigurations (Maybe Text) Source #
A token to start the list. Use this token to get the next set of results.
lcMaxResults :: Lens' ListConfigurations (Maybe Int) Source #
The total number of items to return. The maximum value is 100.
lcConfigurationType :: Lens' ListConfigurations ConfigurationItemType Source #
A valid configuration identified by the Discovery Service.
Destructuring the Response
listConfigurationsResponse Source #
Creates a value of ListConfigurationsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lcrsConfigurations
- Returns configuration details, including the configuration ID, attribute names, and attribute values.lcrsNextToken
- The call returns a token. Use this token to get the next set of results.lcrsResponseStatus
- -- | The response status code.
data ListConfigurationsResponse Source #
See: listConfigurationsResponse
smart constructor.
Response Lenses
lcrsConfigurations :: Lens' ListConfigurationsResponse [HashMap Text Text] Source #
Returns configuration details, including the configuration ID, attribute names, and attribute values.
lcrsNextToken :: Lens' ListConfigurationsResponse (Maybe Text) Source #
The call returns a token. Use this token to get the next set of results.
lcrsResponseStatus :: Lens' ListConfigurationsResponse Int Source #
- - | The response status code.