| 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.Discovery.ListConfigurations
Description
Retrieves a list of configuration items as specified by the value passed
to the required parameter configurationType. Optional filtering may be
applied to refine search results.
This operation returns paginated results.
Synopsis
- data ListConfigurations = ListConfigurations' {}
- newListConfigurations :: ConfigurationItemType -> ListConfigurations
- listConfigurations_filters :: Lens' ListConfigurations (Maybe [Filter])
- listConfigurations_maxResults :: Lens' ListConfigurations (Maybe Int)
- listConfigurations_nextToken :: Lens' ListConfigurations (Maybe Text)
- listConfigurations_orderBy :: Lens' ListConfigurations (Maybe [OrderByElement])
- listConfigurations_configurationType :: Lens' ListConfigurations ConfigurationItemType
- data ListConfigurationsResponse = ListConfigurationsResponse' {
- configurations :: Maybe [HashMap Text Text]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListConfigurationsResponse :: Int -> ListConfigurationsResponse
- listConfigurationsResponse_configurations :: Lens' ListConfigurationsResponse (Maybe [HashMap Text Text])
- listConfigurationsResponse_nextToken :: Lens' ListConfigurationsResponse (Maybe Text)
- listConfigurationsResponse_httpStatus :: Lens' ListConfigurationsResponse Int
Creating a Request
data ListConfigurations Source #
See: newListConfigurations smart constructor.
Constructors
| ListConfigurations' | |
Fields
| |
Instances
newListConfigurations Source #
Arguments
| :: ConfigurationItemType | |
| -> ListConfigurations |
Create a value of ListConfigurations 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:filters:ListConfigurations', listConfigurations_filters - 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 Using the ListConfigurations Action in the Amazon Web Services Application Discovery Service User Guide.
$sel:maxResults:ListConfigurations', listConfigurations_maxResults - The total number of items to return. The maximum value is 100.
ListConfigurations, listConfigurations_nextToken - 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.
$sel:orderBy:ListConfigurations', listConfigurations_orderBy - 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
in the Amazon Web Services Application Discovery Service User Guide.
ListConfigurations, listConfigurations_configurationType - A valid configuration identified by Application Discovery Service.
Request Lenses
listConfigurations_filters :: Lens' ListConfigurations (Maybe [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 Using the ListConfigurations Action in the Amazon Web Services Application Discovery Service User Guide.
listConfigurations_maxResults :: Lens' ListConfigurations (Maybe Int) Source #
The total number of items to return. The maximum value is 100.
listConfigurations_nextToken :: 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.
listConfigurations_orderBy :: Lens' ListConfigurations (Maybe [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 in the Amazon Web Services Application Discovery Service User Guide.
listConfigurations_configurationType :: Lens' ListConfigurations ConfigurationItemType Source #
A valid configuration identified by Application Discovery Service.
Destructuring the Response
data ListConfigurationsResponse Source #
See: newListConfigurationsResponse smart constructor.
Constructors
| ListConfigurationsResponse' | |
Fields
| |
Instances
newListConfigurationsResponse Source #
Create a value of ListConfigurationsResponse 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:configurations:ListConfigurationsResponse', listConfigurationsResponse_configurations - Returns configuration details, including the configuration ID, attribute
names, and attribute values.
ListConfigurations, listConfigurationsResponse_nextToken - 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.
$sel:httpStatus:ListConfigurationsResponse', listConfigurationsResponse_httpStatus - The response's http status code.
Response Lenses
listConfigurationsResponse_configurations :: Lens' ListConfigurationsResponse (Maybe [HashMap Text Text]) Source #
Returns configuration details, including the configuration ID, attribute names, and attribute values.
listConfigurationsResponse_nextToken :: 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.
listConfigurationsResponse_httpStatus :: Lens' ListConfigurationsResponse Int Source #
The response's http status code.