Copyright | (c) 2013-2021 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 |
Returns a list of organization conformance packs.
When you specify the limit and the next token, you receive a paginated response.
Limit and next token are not applicable if you specify organization conformance packs names. They are only applicable, when you request all the organization conformance packs.
This operation returns paginated results.
Synopsis
- data DescribeOrganizationConformancePacks = DescribeOrganizationConformancePacks' {}
- newDescribeOrganizationConformancePacks :: DescribeOrganizationConformancePacks
- describeOrganizationConformancePacks_nextToken :: Lens' DescribeOrganizationConformancePacks (Maybe Text)
- describeOrganizationConformancePacks_limit :: Lens' DescribeOrganizationConformancePacks (Maybe Natural)
- describeOrganizationConformancePacks_organizationConformancePackNames :: Lens' DescribeOrganizationConformancePacks (Maybe [Text])
- data DescribeOrganizationConformancePacksResponse = DescribeOrganizationConformancePacksResponse' {}
- newDescribeOrganizationConformancePacksResponse :: Int -> DescribeOrganizationConformancePacksResponse
- describeOrganizationConformancePacksResponse_organizationConformancePacks :: Lens' DescribeOrganizationConformancePacksResponse (Maybe [OrganizationConformancePack])
- describeOrganizationConformancePacksResponse_nextToken :: Lens' DescribeOrganizationConformancePacksResponse (Maybe Text)
- describeOrganizationConformancePacksResponse_httpStatus :: Lens' DescribeOrganizationConformancePacksResponse Int
Creating a Request
data DescribeOrganizationConformancePacks Source #
See: newDescribeOrganizationConformancePacks
smart constructor.
DescribeOrganizationConformancePacks' | |
|
Instances
newDescribeOrganizationConformancePacks :: DescribeOrganizationConformancePacks Source #
Create a value of DescribeOrganizationConformancePacks
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:nextToken:DescribeOrganizationConformancePacks'
, describeOrganizationConformancePacks_nextToken
- The nextToken string returned on a previous page that you use to get the
next page of results in a paginated response.
$sel:limit:DescribeOrganizationConformancePacks'
, describeOrganizationConformancePacks_limit
- The maximum number of organization config packs returned on each page.
If you do no specify a number, Config uses the default. The default is
100.
$sel:organizationConformancePackNames:DescribeOrganizationConformancePacks'
, describeOrganizationConformancePacks_organizationConformancePackNames
- The name that you assign to an organization conformance pack.
Request Lenses
describeOrganizationConformancePacks_nextToken :: Lens' DescribeOrganizationConformancePacks (Maybe Text) Source #
The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
describeOrganizationConformancePacks_limit :: Lens' DescribeOrganizationConformancePacks (Maybe Natural) Source #
The maximum number of organization config packs returned on each page. If you do no specify a number, Config uses the default. The default is 100.
describeOrganizationConformancePacks_organizationConformancePackNames :: Lens' DescribeOrganizationConformancePacks (Maybe [Text]) Source #
The name that you assign to an organization conformance pack.
Destructuring the Response
data DescribeOrganizationConformancePacksResponse Source #
See: newDescribeOrganizationConformancePacksResponse
smart constructor.
DescribeOrganizationConformancePacksResponse' | |
|
Instances
newDescribeOrganizationConformancePacksResponse Source #
:: Int |
|
-> DescribeOrganizationConformancePacksResponse |
Create a value of DescribeOrganizationConformancePacksResponse
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:organizationConformancePacks:DescribeOrganizationConformancePacksResponse'
, describeOrganizationConformancePacksResponse_organizationConformancePacks
- Returns a list of OrganizationConformancePacks objects.
$sel:nextToken:DescribeOrganizationConformancePacks'
, describeOrganizationConformancePacksResponse_nextToken
- The nextToken string returned on a previous page that you use to get the
next page of results in a paginated response.
$sel:httpStatus:DescribeOrganizationConformancePacksResponse'
, describeOrganizationConformancePacksResponse_httpStatus
- The response's http status code.
Response Lenses
describeOrganizationConformancePacksResponse_organizationConformancePacks :: Lens' DescribeOrganizationConformancePacksResponse (Maybe [OrganizationConformancePack]) Source #
Returns a list of OrganizationConformancePacks objects.
describeOrganizationConformancePacksResponse_nextToken :: Lens' DescribeOrganizationConformancePacksResponse (Maybe Text) Source #
The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
describeOrganizationConformancePacksResponse_httpStatus :: Lens' DescribeOrganizationConformancePacksResponse Int Source #
The response's http status code.