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 information about the Organizations configuration for Security Hub. Can only be called from a Security Hub administrator account.
Synopsis
- data DescribeOrganizationConfiguration = DescribeOrganizationConfiguration' {
- newDescribeOrganizationConfiguration :: DescribeOrganizationConfiguration
- data DescribeOrganizationConfigurationResponse = DescribeOrganizationConfigurationResponse' {}
- newDescribeOrganizationConfigurationResponse :: Int -> DescribeOrganizationConfigurationResponse
- describeOrganizationConfigurationResponse_memberAccountLimitReached :: Lens' DescribeOrganizationConfigurationResponse (Maybe Bool)
- describeOrganizationConfigurationResponse_autoEnable :: Lens' DescribeOrganizationConfigurationResponse (Maybe Bool)
- describeOrganizationConfigurationResponse_httpStatus :: Lens' DescribeOrganizationConfigurationResponse Int
Creating a Request
data DescribeOrganizationConfiguration Source #
See: newDescribeOrganizationConfiguration
smart constructor.
Instances
newDescribeOrganizationConfiguration :: DescribeOrganizationConfiguration Source #
Create a value of DescribeOrganizationConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data DescribeOrganizationConfigurationResponse Source #
See: newDescribeOrganizationConfigurationResponse
smart constructor.
DescribeOrganizationConfigurationResponse' | |
|
Instances
newDescribeOrganizationConfigurationResponse Source #
Create a value of DescribeOrganizationConfigurationResponse
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:memberAccountLimitReached:DescribeOrganizationConfigurationResponse'
, describeOrganizationConfigurationResponse_memberAccountLimitReached
- Whether the maximum number of allowed member accounts are already
associated with the Security Hub administrator account.
$sel:autoEnable:DescribeOrganizationConfigurationResponse'
, describeOrganizationConfigurationResponse_autoEnable
- Whether to automatically enable Security Hub for new accounts in the
organization.
If set to true
, then Security Hub is enabled for new accounts. If set
to false, then new accounts are not added automatically.
$sel:httpStatus:DescribeOrganizationConfigurationResponse'
, describeOrganizationConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
describeOrganizationConfigurationResponse_memberAccountLimitReached :: Lens' DescribeOrganizationConfigurationResponse (Maybe Bool) Source #
Whether the maximum number of allowed member accounts are already associated with the Security Hub administrator account.
describeOrganizationConfigurationResponse_autoEnable :: Lens' DescribeOrganizationConfigurationResponse (Maybe Bool) Source #
Whether to automatically enable Security Hub for new accounts in the organization.
If set to true
, then Security Hub is enabled for new accounts. If set
to false, then new accounts are not added automatically.
describeOrganizationConfigurationResponse_httpStatus :: Lens' DescribeOrganizationConfigurationResponse Int Source #
The response's http status code.