#[non_exhaustive]pub struct GetDetectorOutput {
pub created_at: Option<String>,
pub finding_publishing_frequency: Option<FindingPublishingFrequency>,
pub service_role: Option<String>,
pub status: Option<DetectorStatus>,
pub updated_at: Option<String>,
pub data_sources: Option<DataSourceConfigurationsResult>,
pub tags: Option<HashMap<String, String>>,
pub features: Option<Vec<DetectorFeatureConfigurationResult>>,
/* private fields */
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.created_at: Option<String>The timestamp of when the detector was created.
finding_publishing_frequency: Option<FindingPublishingFrequency>The publishing frequency of the finding.
service_role: Option<String>The GuardDuty service role.
status: Option<DetectorStatus>The detector status.
updated_at: Option<String>The last-updated timestamp for the detector.
data_sources: Option<DataSourceConfigurationsResult>Describes which data sources are enabled for the detector.
The tags of the detector resource.
features: Option<Vec<DetectorFeatureConfigurationResult>>Describes the features that have been enabled for the detector.
Implementations§
source§impl GetDetectorOutput
impl GetDetectorOutput
sourcepub fn created_at(&self) -> Option<&str>
pub fn created_at(&self) -> Option<&str>
The timestamp of when the detector was created.
sourcepub fn finding_publishing_frequency(
&self
) -> Option<&FindingPublishingFrequency>
pub fn finding_publishing_frequency( &self ) -> Option<&FindingPublishingFrequency>
The publishing frequency of the finding.
sourcepub fn service_role(&self) -> Option<&str>
pub fn service_role(&self) -> Option<&str>
The GuardDuty service role.
sourcepub fn status(&self) -> Option<&DetectorStatus>
pub fn status(&self) -> Option<&DetectorStatus>
The detector status.
sourcepub fn updated_at(&self) -> Option<&str>
pub fn updated_at(&self) -> Option<&str>
The last-updated timestamp for the detector.
sourcepub fn data_sources(&self) -> Option<&DataSourceConfigurationsResult>
👎Deprecated: This parameter is deprecated, use Features instead
pub fn data_sources(&self) -> Option<&DataSourceConfigurationsResult>
Describes which data sources are enabled for the detector.
The tags of the detector resource.
sourcepub fn features(&self) -> &[DetectorFeatureConfigurationResult]
pub fn features(&self) -> &[DetectorFeatureConfigurationResult]
Describes the features that have been enabled for the detector.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .features.is_none().
source§impl GetDetectorOutput
impl GetDetectorOutput
sourcepub fn builder() -> GetDetectorOutputBuilder
pub fn builder() -> GetDetectorOutputBuilder
Creates a new builder-style object to manufacture GetDetectorOutput.
Trait Implementations§
source§impl Clone for GetDetectorOutput
impl Clone for GetDetectorOutput
source§fn clone(&self) -> GetDetectorOutput
fn clone(&self) -> GetDetectorOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetDetectorOutput
impl Debug for GetDetectorOutput
source§impl PartialEq for GetDetectorOutput
impl PartialEq for GetDetectorOutput
source§fn eq(&self, other: &GetDetectorOutput) -> bool
fn eq(&self, other: &GetDetectorOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for GetDetectorOutput
impl RequestId for GetDetectorOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.