Struct aws_sdk_macie2::types::FindingAction
source · #[non_exhaustive]pub struct FindingAction {
pub action_type: Option<FindingActionType>,
pub api_call_details: Option<ApiCallDetails>,
}
Expand description
Provides information about an action that occurred for a resource and produced a policy finding.
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.action_type: Option<FindingActionType>
The type of action that occurred for the affected resource. This value is typically AWS_API_CALL, which indicates that an entity invoked an API operation for the resource.
api_call_details: Option<ApiCallDetails>
The invocation details of the API operation that an entity invoked for the affected resource, if the value for the actionType property is AWS_API_CALL.
Implementations§
source§impl FindingAction
impl FindingAction
sourcepub fn action_type(&self) -> Option<&FindingActionType>
pub fn action_type(&self) -> Option<&FindingActionType>
The type of action that occurred for the affected resource. This value is typically AWS_API_CALL, which indicates that an entity invoked an API operation for the resource.
sourcepub fn api_call_details(&self) -> Option<&ApiCallDetails>
pub fn api_call_details(&self) -> Option<&ApiCallDetails>
The invocation details of the API operation that an entity invoked for the affected resource, if the value for the actionType property is AWS_API_CALL.
source§impl FindingAction
impl FindingAction
sourcepub fn builder() -> FindingActionBuilder
pub fn builder() -> FindingActionBuilder
Creates a new builder-style object to manufacture FindingAction
.
Trait Implementations§
source§impl Clone for FindingAction
impl Clone for FindingAction
source§fn clone(&self) -> FindingAction
fn clone(&self) -> FindingAction
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FindingAction
impl Debug for FindingAction
source§impl PartialEq<FindingAction> for FindingAction
impl PartialEq<FindingAction> for FindingAction
source§fn eq(&self, other: &FindingAction) -> bool
fn eq(&self, other: &FindingAction) -> bool
self
and other
values to be equal, and is used
by ==
.