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 |
Describes the specified configuration sets or all in your account.
If you specify configuration set names, the output includes information for only the specified configuration sets. If you specify filters, the output includes information for only those configuration sets that meet the filter criteria. If you don't specify configuration set names or filters, the output includes information for all configuration sets.
If you specify a configuration set name that isn't valid, an error is returned.
This operation returns paginated results.
Synopsis
- data DescribeConfigurationSets = DescribeConfigurationSets' {}
- newDescribeConfigurationSets :: DescribeConfigurationSets
- describeConfigurationSets_configurationSetNames :: Lens' DescribeConfigurationSets (Maybe [Text])
- describeConfigurationSets_filters :: Lens' DescribeConfigurationSets (Maybe [ConfigurationSetFilter])
- describeConfigurationSets_maxResults :: Lens' DescribeConfigurationSets (Maybe Natural)
- describeConfigurationSets_nextToken :: Lens' DescribeConfigurationSets (Maybe Text)
- data DescribeConfigurationSetsResponse = DescribeConfigurationSetsResponse' {}
- newDescribeConfigurationSetsResponse :: Int -> DescribeConfigurationSetsResponse
- describeConfigurationSetsResponse_configurationSets :: Lens' DescribeConfigurationSetsResponse (Maybe [ConfigurationSetInformation])
- describeConfigurationSetsResponse_nextToken :: Lens' DescribeConfigurationSetsResponse (Maybe Text)
- describeConfigurationSetsResponse_httpStatus :: Lens' DescribeConfigurationSetsResponse Int
Creating a Request
data DescribeConfigurationSets Source #
See: newDescribeConfigurationSets
smart constructor.
DescribeConfigurationSets' | |
|
Instances
newDescribeConfigurationSets :: DescribeConfigurationSets Source #
Create a value of DescribeConfigurationSets
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:configurationSetNames:DescribeConfigurationSets'
, describeConfigurationSets_configurationSetNames
- An array of strings. Each element can be either a ConfigurationSetName
or ConfigurationSetArn.
$sel:filters:DescribeConfigurationSets'
, describeConfigurationSets_filters
- An array of filters to apply to the results that are returned.
$sel:maxResults:DescribeConfigurationSets'
, describeConfigurationSets_maxResults
- The maximum number of results to return per each request.
DescribeConfigurationSets
, describeConfigurationSets_nextToken
- The token to be used for the next set of paginated results. You don't
need to supply a value for this field in the initial request.
Request Lenses
describeConfigurationSets_configurationSetNames :: Lens' DescribeConfigurationSets (Maybe [Text]) Source #
An array of strings. Each element can be either a ConfigurationSetName or ConfigurationSetArn.
describeConfigurationSets_filters :: Lens' DescribeConfigurationSets (Maybe [ConfigurationSetFilter]) Source #
An array of filters to apply to the results that are returned.
describeConfigurationSets_maxResults :: Lens' DescribeConfigurationSets (Maybe Natural) Source #
The maximum number of results to return per each request.
describeConfigurationSets_nextToken :: Lens' DescribeConfigurationSets (Maybe Text) Source #
The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.
Destructuring the Response
data DescribeConfigurationSetsResponse Source #
See: newDescribeConfigurationSetsResponse
smart constructor.
DescribeConfigurationSetsResponse' | |
|
Instances
newDescribeConfigurationSetsResponse Source #
Create a value of DescribeConfigurationSetsResponse
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:configurationSets:DescribeConfigurationSetsResponse'
, describeConfigurationSetsResponse_configurationSets
- An array of ConfigurationSets objects.
DescribeConfigurationSets
, describeConfigurationSetsResponse_nextToken
- The token to be used for the next set of paginated results. If this
field is empty then there are no more results.
$sel:httpStatus:DescribeConfigurationSetsResponse'
, describeConfigurationSetsResponse_httpStatus
- The response's http status code.
Response Lenses
describeConfigurationSetsResponse_configurationSets :: Lens' DescribeConfigurationSetsResponse (Maybe [ConfigurationSetInformation]) Source #
An array of ConfigurationSets objects.
describeConfigurationSetsResponse_nextToken :: Lens' DescribeConfigurationSetsResponse (Maybe Text) Source #
The token to be used for the next set of paginated results. If this field is empty then there are no more results.
describeConfigurationSetsResponse_httpStatus :: Lens' DescribeConfigurationSetsResponse Int Source #
The response's http status code.