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 |
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.
UpdateOrganizationConfiguration' | |
|
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: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.
UpdateOrganizationConfigurationResponse' | |
|
Instances
Eq UpdateOrganizationConfigurationResponse Source # | |
Read UpdateOrganizationConfigurationResponse Source # | |
Show UpdateOrganizationConfigurationResponse Source # | |
Generic UpdateOrganizationConfigurationResponse Source # | |
Defined in Amazonka.GuardDuty.UpdateOrganizationConfiguration type Rep UpdateOrganizationConfigurationResponse :: Type -> Type # | |
NFData UpdateOrganizationConfigurationResponse Source # | |
type Rep UpdateOrganizationConfigurationResponse Source # | |
Defined in Amazonka.GuardDuty.UpdateOrganizationConfiguration type Rep UpdateOrganizationConfigurationResponse = D1 ('MetaData "UpdateOrganizationConfigurationResponse" "Amazonka.GuardDuty.UpdateOrganizationConfiguration" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "UpdateOrganizationConfigurationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateOrganizationConfigurationResponse Source #
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.