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 |
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.
For accounts within an organzation
If you deploy an organizational rule or conformance pack in an
organization administrator account, and then establish a delegated
administrator and deploy an organizational rule or conformance pack in
the delegated administrator account, you won't be able to see the
organizational rule or conformance pack in the organization
administrator account from the delegated administrator account or see
the organizational rule or conformance pack in the delegated
administrator account from organization administrator account. The
DescribeOrganizationConfigRules
and
DescribeOrganizationConformancePacks
APIs can only see and interact
with the organization-related resource that were deployed from within
the account calling those APIs.
This operation returns paginated results.
Synopsis
- data DescribeOrganizationConformancePacks = DescribeOrganizationConformancePacks' {}
- newDescribeOrganizationConformancePacks :: DescribeOrganizationConformancePacks
- describeOrganizationConformancePacks_limit :: Lens' DescribeOrganizationConformancePacks (Maybe Natural)
- describeOrganizationConformancePacks_nextToken :: Lens' DescribeOrganizationConformancePacks (Maybe Text)
- describeOrganizationConformancePacks_organizationConformancePackNames :: Lens' DescribeOrganizationConformancePacks (Maybe [Text])
- data DescribeOrganizationConformancePacksResponse = DescribeOrganizationConformancePacksResponse' {}
- newDescribeOrganizationConformancePacksResponse :: Int -> DescribeOrganizationConformancePacksResponse
- describeOrganizationConformancePacksResponse_nextToken :: Lens' DescribeOrganizationConformancePacksResponse (Maybe Text)
- describeOrganizationConformancePacksResponse_organizationConformancePacks :: Lens' DescribeOrganizationConformancePacksResponse (Maybe [OrganizationConformancePack])
- 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: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.
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:organizationConformancePackNames:DescribeOrganizationConformancePacks'
, describeOrganizationConformancePacks_organizationConformancePackNames
- The name that you assign to an organization conformance pack.
Request Lenses
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_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_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:
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:organizationConformancePacks:DescribeOrganizationConformancePacksResponse'
, describeOrganizationConformancePacksResponse_organizationConformancePacks
- Returns a list of OrganizationConformancePacks objects.
$sel:httpStatus:DescribeOrganizationConformancePacksResponse'
, describeOrganizationConformancePacksResponse_httpStatus
- The response's http status code.
Response Lenses
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_organizationConformancePacks :: Lens' DescribeOrganizationConformancePacksResponse (Maybe [OrganizationConformancePack]) Source #
Returns a list of OrganizationConformancePacks objects.
describeOrganizationConformancePacksResponse_httpStatus :: Lens' DescribeOrganizationConformancePacksResponse Int Source #
The response's http status code.