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 account selected as the delegated administrator for GuardDuty.
Synopsis
- data DescribeOrganizationConfiguration = DescribeOrganizationConfiguration' {
- detectorId :: Text
- newDescribeOrganizationConfiguration :: Text -> DescribeOrganizationConfiguration
- describeOrganizationConfiguration_detectorId :: Lens' DescribeOrganizationConfiguration Text
- data DescribeOrganizationConfigurationResponse = DescribeOrganizationConfigurationResponse' {}
- newDescribeOrganizationConfigurationResponse :: Int -> Bool -> Bool -> DescribeOrganizationConfigurationResponse
- describeOrganizationConfigurationResponse_dataSources :: Lens' DescribeOrganizationConfigurationResponse (Maybe OrganizationDataSourceConfigurationsResult)
- describeOrganizationConfigurationResponse_httpStatus :: Lens' DescribeOrganizationConfigurationResponse Int
- describeOrganizationConfigurationResponse_autoEnable :: Lens' DescribeOrganizationConfigurationResponse Bool
- describeOrganizationConfigurationResponse_memberAccountLimitReached :: Lens' DescribeOrganizationConfigurationResponse Bool
Creating a Request
data DescribeOrganizationConfiguration Source #
See: newDescribeOrganizationConfiguration
smart constructor.
DescribeOrganizationConfiguration' | |
|
Instances
newDescribeOrganizationConfiguration Source #
Create a value of DescribeOrganizationConfiguration
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:detectorId:DescribeOrganizationConfiguration'
, describeOrganizationConfiguration_detectorId
- The ID of the detector to retrieve information about the delegated
administrator from.
Request Lenses
describeOrganizationConfiguration_detectorId :: Lens' DescribeOrganizationConfiguration Text Source #
The ID of the detector to retrieve information about the delegated administrator from.
Destructuring the Response
data DescribeOrganizationConfigurationResponse Source #
See: newDescribeOrganizationConfigurationResponse
smart constructor.
DescribeOrganizationConfigurationResponse' | |
|
Instances
newDescribeOrganizationConfigurationResponse Source #
:: Int | |
-> Bool | |
-> Bool |
|
-> DescribeOrganizationConfigurationResponse |
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:dataSources:DescribeOrganizationConfigurationResponse'
, describeOrganizationConfigurationResponse_dataSources
- Describes which data sources are enabled automatically for member
accounts.
$sel:httpStatus:DescribeOrganizationConfigurationResponse'
, describeOrganizationConfigurationResponse_httpStatus
- The response's http status code.
$sel:autoEnable:DescribeOrganizationConfigurationResponse'
, describeOrganizationConfigurationResponse_autoEnable
- Indicates whether GuardDuty is automatically enabled for accounts added
to the organization.
$sel:memberAccountLimitReached:DescribeOrganizationConfigurationResponse'
, describeOrganizationConfigurationResponse_memberAccountLimitReached
- Indicates whether the maximum number of allowed member accounts are
already associated with the delegated administrator account for your
organization.
Response Lenses
describeOrganizationConfigurationResponse_dataSources :: Lens' DescribeOrganizationConfigurationResponse (Maybe OrganizationDataSourceConfigurationsResult) Source #
Describes which data sources are enabled automatically for member accounts.
describeOrganizationConfigurationResponse_httpStatus :: Lens' DescribeOrganizationConfigurationResponse Int Source #
The response's http status code.
describeOrganizationConfigurationResponse_autoEnable :: Lens' DescribeOrganizationConfigurationResponse Bool Source #
Indicates whether GuardDuty is automatically enabled for accounts added to the organization.
describeOrganizationConfigurationResponse_memberAccountLimitReached :: Lens' DescribeOrganizationConfigurationResponse Bool Source #
Indicates whether the maximum number of allowed member accounts are already associated with the delegated administrator account for your organization.