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 |
Retrieves a list of configuration items according to criteria that you specify in a filter. The filter criteria identifies the relationship requirements.
Synopsis
- listConfigurations :: ConfigurationItemType -> ListConfigurations
- data ListConfigurations
- lcOrderBy :: Lens' ListConfigurations [OrderByElement]
- 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:
lcOrderBy
- Certain filter criteria return output that can be sorted in ascending or descending order. For a list of output characteristics for each filter, see Using the ListConfigurations Action .lcFilters
- You can filter the request using various logical operators and a key -value format. For example:{"key": "serverType", "value": "webServer"}
For a complete list of filter options and guidance about using them with this action, see Querying Discovered Configuration Items .lcNextToken
- Token to retrieve the next set of results. For example, if a previous call to ListConfigurations returned 100 items, but you setListConfigurationsRequest$maxResults
to 10, you received a set of 10 results along with a token. Use that token in this query to get the next set of 10.lcMaxResults
- The total number of items to return. The maximum value is 100.lcConfigurationType
- A valid configuration identified by Application Discovery Service.
data ListConfigurations Source #
See: listConfigurations
smart constructor.
Instances
Request Lenses
lcOrderBy :: Lens' ListConfigurations [OrderByElement] Source #
Certain filter criteria return output that can be sorted in ascending or descending order. For a list of output characteristics for each filter, see Using the ListConfigurations Action .
lcFilters :: Lens' ListConfigurations [Filter] Source #
You can filter the request using various logical operators and a key -value format. For example: {"key": "serverType", "value": "webServer"}
For a complete list of filter options and guidance about using them with this action, see Querying Discovered Configuration Items .
lcNextToken :: Lens' ListConfigurations (Maybe Text) Source #
Token to retrieve the next set of results. For example, if a previous call to ListConfigurations returned 100 items, but you set ListConfigurationsRequest$maxResults
to 10, you received a set of 10 results along with a token. Use that token in this query to get the next set of 10.
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 Application 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
- Token to retrieve the next set of results. For example, if your call to ListConfigurations returned 100 items, but you setListConfigurationsRequest$maxResults
to 10, you received a set of 10 results along with this token. Use this token in the next query to retrieve the next set of 10.lcrsResponseStatus
- -- | The response status code.
data ListConfigurationsResponse Source #
See: listConfigurationsResponse
smart constructor.
Instances
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 #
Token to retrieve the next set of results. For example, if your call to ListConfigurations returned 100 items, but you set ListConfigurationsRequest$maxResults
to 10, you received a set of 10 results along with this token. Use this token in the next query to retrieve the next set of 10.
lcrsResponseStatus :: Lens' ListConfigurationsResponse Int Source #
- - | The response status code.