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 config rules.
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 config rule names. It is only applicable, when you request all the organization config rules.
This operation returns paginated results.
Synopsis
- data DescribeOrganizationConfigRules = DescribeOrganizationConfigRules' {}
- newDescribeOrganizationConfigRules :: DescribeOrganizationConfigRules
- describeOrganizationConfigRules_organizationConfigRuleNames :: Lens' DescribeOrganizationConfigRules (Maybe [Text])
- describeOrganizationConfigRules_nextToken :: Lens' DescribeOrganizationConfigRules (Maybe Text)
- describeOrganizationConfigRules_limit :: Lens' DescribeOrganizationConfigRules (Maybe Natural)
- data DescribeOrganizationConfigRulesResponse = DescribeOrganizationConfigRulesResponse' {}
- newDescribeOrganizationConfigRulesResponse :: Int -> DescribeOrganizationConfigRulesResponse
- describeOrganizationConfigRulesResponse_organizationConfigRules :: Lens' DescribeOrganizationConfigRulesResponse (Maybe [OrganizationConfigRule])
- describeOrganizationConfigRulesResponse_nextToken :: Lens' DescribeOrganizationConfigRulesResponse (Maybe Text)
- describeOrganizationConfigRulesResponse_httpStatus :: Lens' DescribeOrganizationConfigRulesResponse Int
Creating a Request
data DescribeOrganizationConfigRules Source #
See: newDescribeOrganizationConfigRules
smart constructor.
DescribeOrganizationConfigRules' | |
|
Instances
newDescribeOrganizationConfigRules :: DescribeOrganizationConfigRules Source #
Create a value of DescribeOrganizationConfigRules
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:organizationConfigRuleNames:DescribeOrganizationConfigRules'
, describeOrganizationConfigRules_organizationConfigRuleNames
- The names of organization config rules for which you want details. If
you do not specify any names, Config returns details for all your
organization config rules.
$sel:nextToken:DescribeOrganizationConfigRules'
, describeOrganizationConfigRules_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:DescribeOrganizationConfigRules'
, describeOrganizationConfigRules_limit
- The maximum number of organization config rules returned on each page.
If you do no specify a number, Config uses the default. The default is
100.
Request Lenses
describeOrganizationConfigRules_organizationConfigRuleNames :: Lens' DescribeOrganizationConfigRules (Maybe [Text]) Source #
The names of organization config rules for which you want details. If you do not specify any names, Config returns details for all your organization config rules.
describeOrganizationConfigRules_nextToken :: Lens' DescribeOrganizationConfigRules (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.
describeOrganizationConfigRules_limit :: Lens' DescribeOrganizationConfigRules (Maybe Natural) Source #
The maximum number of organization config rules returned on each page. If you do no specify a number, Config uses the default. The default is 100.
Destructuring the Response
data DescribeOrganizationConfigRulesResponse Source #
See: newDescribeOrganizationConfigRulesResponse
smart constructor.
DescribeOrganizationConfigRulesResponse' | |
|
Instances
newDescribeOrganizationConfigRulesResponse Source #
Create a value of DescribeOrganizationConfigRulesResponse
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:organizationConfigRules:DescribeOrganizationConfigRulesResponse'
, describeOrganizationConfigRulesResponse_organizationConfigRules
- Returns a list of OrganizationConfigRule
objects.
$sel:nextToken:DescribeOrganizationConfigRules'
, describeOrganizationConfigRulesResponse_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:DescribeOrganizationConfigRulesResponse'
, describeOrganizationConfigRulesResponse_httpStatus
- The response's http status code.
Response Lenses
describeOrganizationConfigRulesResponse_organizationConfigRules :: Lens' DescribeOrganizationConfigRulesResponse (Maybe [OrganizationConfigRule]) Source #
Returns a list of OrganizationConfigRule
objects.
describeOrganizationConfigRulesResponse_nextToken :: Lens' DescribeOrganizationConfigRulesResponse (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.
describeOrganizationConfigRulesResponse_httpStatus :: Lens' DescribeOrganizationConfigRulesResponse Int Source #
The response's http status code.