GuardDutyClient.update_organization_configuration
rboto-guardduty==0.4.0 · Service index · Types
Model summary (excerpt): Configures the delegated administrator account with the provided values. You must provide a value for either autoEnableOrganizationMembers or autoEnable , but not both. Specifying both EKS Runtime Monitoring ( EKS_RUNTIME_MONITORING ) and Runtime Monitoring ( RUNTIME_MONITORING ) will cause an error. You can add only one of these two features because Runtime Monitoring already includes the...
Install and imports
from rboto import GuardDutyClient
from collections.abc import Sequence as _Sequence
from rboto_guardduty.types import (
AutoEnableMembers,
OrganizationDataSourceConfigurations,
OrganizationFeatureConfiguration,
UpdateOrganizationConfigurationOutput,
)
Signature
async def update_organization_configuration(
*,
detector_id: str,
auto_enable: bool | None = None,
data_sources: OrganizationDataSourceConfigurations | None = None,
features: _Sequence[OrganizationFeatureConfiguration] | None = None,
auto_enable_organization_members: AutoEnableMembers | None = None,
) -> UpdateOrganizationConfigurationOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
detector_id |
Yes | The ID of the detector that configures the delegated administrator. To find the detectorId in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API. |
auto_enable |
No | Represents whether to automatically enable member accounts in the organization. This applies to only new member accounts, not the existing member accounts. When a new account joins the organization, the chosen features will be enabled for them by default. Even though this is still supported, we recommend using AutoEnableOrganizationMembers to achieve the similar results. You must provide a... |
data_sources |
No | Describes which data sources will be updated. |
features |
No | A list of features that will be configured for the organization. |
auto_enable_organization_members |
No | Indicates the auto-enablement configuration of GuardDuty for the member accounts in the organization. You must provide a value for either autoEnableOrganizationMembers or autoEnable . Use one of the following configuration values for autoEnableOrganizationMembers : NEW : Indicates that when a new account joins the organization, they will have GuardDuty enabled automatically. ALL : Indicates... |
Output
UpdateOrganizationConfigurationOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
No fields.
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
AutoEnableMembers, OrganizationDataSourceConfigurations, OrganizationFeatureConfiguration, UpdateOrganizationConfigurationOutput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_guardduty.exceptions:
BadRequestError, InternalServerError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.