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 information about the configuration for the organization behavior graph. Currently indicates whether to automatically enable new organization accounts as member accounts.
Can only be called by the Detective administrator account for the organization.
Synopsis
- data DescribeOrganizationConfiguration = DescribeOrganizationConfiguration' {}
- newDescribeOrganizationConfiguration :: Text -> DescribeOrganizationConfiguration
- describeOrganizationConfiguration_graphArn :: Lens' DescribeOrganizationConfiguration Text
- data DescribeOrganizationConfigurationResponse = DescribeOrganizationConfigurationResponse' {
- autoEnable :: Maybe Bool
- httpStatus :: Int
- newDescribeOrganizationConfigurationResponse :: Int -> DescribeOrganizationConfigurationResponse
- describeOrganizationConfigurationResponse_autoEnable :: Lens' DescribeOrganizationConfigurationResponse (Maybe Bool)
- describeOrganizationConfigurationResponse_httpStatus :: Lens' DescribeOrganizationConfigurationResponse Int
Creating a Request
data DescribeOrganizationConfiguration Source #
See: newDescribeOrganizationConfiguration
smart constructor.
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:
DescribeOrganizationConfiguration
, describeOrganizationConfiguration_graphArn
- The ARN of the organization behavior graph.
Request Lenses
describeOrganizationConfiguration_graphArn :: Lens' DescribeOrganizationConfiguration Text Source #
The ARN of the organization behavior graph.
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:autoEnable:DescribeOrganizationConfigurationResponse'
, describeOrganizationConfigurationResponse_autoEnable
- Indicates whether to automatically enable new organization accounts as
member accounts in the organization behavior graph.
$sel:httpStatus:DescribeOrganizationConfigurationResponse'
, describeOrganizationConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
describeOrganizationConfigurationResponse_autoEnable :: Lens' DescribeOrganizationConfigurationResponse (Maybe Bool) Source #
Indicates whether to automatically enable new organization accounts as member accounts in the organization behavior graph.
describeOrganizationConfigurationResponse_httpStatus :: Lens' DescribeOrganizationConfigurationResponse Int Source #
The response's http status code.