| 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.Config.DescribeConformancePacks
Description
Returns a list of one or more conformance packs.
This operation returns paginated results.
Synopsis
- data DescribeConformancePacks = DescribeConformancePacks' {}
- newDescribeConformancePacks :: DescribeConformancePacks
- describeConformancePacks_conformancePackNames :: Lens' DescribeConformancePacks (Maybe [Text])
- describeConformancePacks_limit :: Lens' DescribeConformancePacks (Maybe Natural)
- describeConformancePacks_nextToken :: Lens' DescribeConformancePacks (Maybe Text)
- data DescribeConformancePacksResponse = DescribeConformancePacksResponse' {}
- newDescribeConformancePacksResponse :: Int -> DescribeConformancePacksResponse
- describeConformancePacksResponse_conformancePackDetails :: Lens' DescribeConformancePacksResponse (Maybe [ConformancePackDetail])
- describeConformancePacksResponse_nextToken :: Lens' DescribeConformancePacksResponse (Maybe Text)
- describeConformancePacksResponse_httpStatus :: Lens' DescribeConformancePacksResponse Int
Creating a Request
data DescribeConformancePacks Source #
See: newDescribeConformancePacks smart constructor.
Constructors
| DescribeConformancePacks' | |
Fields
| |
Instances
newDescribeConformancePacks :: DescribeConformancePacks Source #
Create a value of DescribeConformancePacks 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:
DescribeConformancePacks, describeConformancePacks_conformancePackNames - Comma-separated list of conformance pack names for which you want
details. If you do not specify any names, Config returns details for all
your conformance packs.
$sel:limit:DescribeConformancePacks', describeConformancePacks_limit - The maximum number of conformance packs returned on each page.
DescribeConformancePacks, describeConformancePacks_nextToken - The nextToken string returned in a previous request that you use to
request the next page of results in a paginated response.
Request Lenses
describeConformancePacks_conformancePackNames :: Lens' DescribeConformancePacks (Maybe [Text]) Source #
Comma-separated list of conformance pack names for which you want details. If you do not specify any names, Config returns details for all your conformance packs.
describeConformancePacks_limit :: Lens' DescribeConformancePacks (Maybe Natural) Source #
The maximum number of conformance packs returned on each page.
describeConformancePacks_nextToken :: Lens' DescribeConformancePacks (Maybe Text) Source #
The nextToken string returned in a previous request that you use to
request the next page of results in a paginated response.
Destructuring the Response
data DescribeConformancePacksResponse Source #
See: newDescribeConformancePacksResponse smart constructor.
Constructors
| DescribeConformancePacksResponse' | |
Fields
| |
Instances
newDescribeConformancePacksResponse Source #
Create a value of DescribeConformancePacksResponse 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:conformancePackDetails:DescribeConformancePacksResponse', describeConformancePacksResponse_conformancePackDetails - Returns a list of ConformancePackDetail objects.
DescribeConformancePacks, describeConformancePacksResponse_nextToken - The nextToken string returned in a previous request that you use to
request the next page of results in a paginated response.
$sel:httpStatus:DescribeConformancePacksResponse', describeConformancePacksResponse_httpStatus - The response's http status code.
Response Lenses
describeConformancePacksResponse_conformancePackDetails :: Lens' DescribeConformancePacksResponse (Maybe [ConformancePackDetail]) Source #
Returns a list of ConformancePackDetail objects.
describeConformancePacksResponse_nextToken :: Lens' DescribeConformancePacksResponse (Maybe Text) Source #
The nextToken string returned in a previous request that you use to
request the next page of results in a paginated response.
describeConformancePacksResponse_httpStatus :: Lens' DescribeConformancePacksResponse Int Source #
The response's http status code.