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 |
Amazonka.GuardDuty.UpdateOrganizationConfiguration
Description
Updates the delegated administrator account with the values provided.
Synopsis
- data UpdateOrganizationConfiguration = UpdateOrganizationConfiguration' {}
- newUpdateOrganizationConfiguration :: Text -> Bool -> UpdateOrganizationConfiguration
- updateOrganizationConfiguration_dataSources :: Lens' UpdateOrganizationConfiguration (Maybe OrganizationDataSourceConfigurations)
- updateOrganizationConfiguration_detectorId :: Lens' UpdateOrganizationConfiguration Text
- updateOrganizationConfiguration_autoEnable :: Lens' UpdateOrganizationConfiguration Bool
- data UpdateOrganizationConfigurationResponse = UpdateOrganizationConfigurationResponse' {
- httpStatus :: Int
- newUpdateOrganizationConfigurationResponse :: Int -> UpdateOrganizationConfigurationResponse
- updateOrganizationConfigurationResponse_httpStatus :: Lens' UpdateOrganizationConfigurationResponse Int
Creating a Request
data UpdateOrganizationConfiguration Source #
See: newUpdateOrganizationConfiguration
smart constructor.
Constructors
UpdateOrganizationConfiguration' | |
Fields
|
Instances
newUpdateOrganizationConfiguration Source #
Arguments
:: Text | |
-> Bool | |
-> UpdateOrganizationConfiguration |
Create a value of UpdateOrganizationConfiguration
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:UpdateOrganizationConfiguration'
, updateOrganizationConfiguration_dataSources
- Describes which data sources will be updated.
$sel:detectorId:UpdateOrganizationConfiguration'
, updateOrganizationConfiguration_detectorId
- The ID of the detector to update the delegated administrator for.
$sel:autoEnable:UpdateOrganizationConfiguration'
, updateOrganizationConfiguration_autoEnable
- Indicates whether to automatically enable member accounts in the
organization.
Request Lenses
updateOrganizationConfiguration_dataSources :: Lens' UpdateOrganizationConfiguration (Maybe OrganizationDataSourceConfigurations) Source #
Describes which data sources will be updated.
updateOrganizationConfiguration_detectorId :: Lens' UpdateOrganizationConfiguration Text Source #
The ID of the detector to update the delegated administrator for.
updateOrganizationConfiguration_autoEnable :: Lens' UpdateOrganizationConfiguration Bool Source #
Indicates whether to automatically enable member accounts in the organization.
Destructuring the Response
data UpdateOrganizationConfigurationResponse Source #
See: newUpdateOrganizationConfigurationResponse
smart constructor.
Constructors
UpdateOrganizationConfigurationResponse' | |
Fields
|
Instances
newUpdateOrganizationConfigurationResponse Source #
Arguments
:: Int | |
-> UpdateOrganizationConfigurationResponse |
Create a value of UpdateOrganizationConfigurationResponse
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:httpStatus:UpdateOrganizationConfigurationResponse'
, updateOrganizationConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
updateOrganizationConfigurationResponse_httpStatus :: Lens' UpdateOrganizationConfigurationResponse Int Source #
The response's http status code.