Struct aws_sdk_securityhub::operation::batch_get_automation_rules::BatchGetAutomationRulesOutput
source · #[non_exhaustive]pub struct BatchGetAutomationRulesOutput {
pub rules: Option<Vec<AutomationRulesConfig>>,
pub unprocessed_automation_rules: Option<Vec<UnprocessedAutomationRule>>,
/* 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.rules: Option<Vec<AutomationRulesConfig>>A list of rule details for the provided rule ARNs.
unprocessed_automation_rules: Option<Vec<UnprocessedAutomationRule>> A list of objects containing RuleArn, ErrorCode, and ErrorMessage. This parameter tells you which automation rules the request didn't retrieve and why.
Implementations§
source§impl BatchGetAutomationRulesOutput
impl BatchGetAutomationRulesOutput
sourcepub fn rules(&self) -> &[AutomationRulesConfig]
pub fn rules(&self) -> &[AutomationRulesConfig]
A list of rule details for the provided rule ARNs.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .rules.is_none().
sourcepub fn unprocessed_automation_rules(&self) -> &[UnprocessedAutomationRule]
pub fn unprocessed_automation_rules(&self) -> &[UnprocessedAutomationRule]
A list of objects containing RuleArn, ErrorCode, and ErrorMessage. This parameter tells you which automation rules the request didn't retrieve and why.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .unprocessed_automation_rules.is_none().
source§impl BatchGetAutomationRulesOutput
impl BatchGetAutomationRulesOutput
sourcepub fn builder() -> BatchGetAutomationRulesOutputBuilder
pub fn builder() -> BatchGetAutomationRulesOutputBuilder
Creates a new builder-style object to manufacture BatchGetAutomationRulesOutput.
Trait Implementations§
source§impl Clone for BatchGetAutomationRulesOutput
impl Clone for BatchGetAutomationRulesOutput
source§fn clone(&self) -> BatchGetAutomationRulesOutput
fn clone(&self) -> BatchGetAutomationRulesOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for BatchGetAutomationRulesOutput
impl PartialEq for BatchGetAutomationRulesOutput
source§fn eq(&self, other: &BatchGetAutomationRulesOutput) -> bool
fn eq(&self, other: &BatchGetAutomationRulesOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for BatchGetAutomationRulesOutput
impl RequestId for BatchGetAutomationRulesOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.