| 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 |
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:
UpdateOrganizationConfiguration, updateOrganizationConfiguration_dataSources - Describes which data sources will be updated.
UpdateOrganizationConfiguration, updateOrganizationConfiguration_detectorId - The ID of the detector to update the delegated administrator for.
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.