| 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.MacieV2.UpdateOrganizationConfiguration
Description
Updates the Amazon Macie configuration settings for an organization in Organizations.
Synopsis
- data UpdateOrganizationConfiguration = UpdateOrganizationConfiguration' {
- autoEnable :: Bool
- newUpdateOrganizationConfiguration :: Bool -> UpdateOrganizationConfiguration
- 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 #
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:autoEnable:UpdateOrganizationConfiguration', updateOrganizationConfiguration_autoEnable - Specifies whether to enable Amazon Macie automatically for an account
when the account is added to the organization in Organizations.
Request Lenses
updateOrganizationConfiguration_autoEnable :: Lens' UpdateOrganizationConfiguration Bool Source #
Specifies whether to enable Amazon Macie automatically for an account when the account is added to the organization in Organizations.
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.