#[non_exhaustive]pub struct UpdateFindingsInput {
pub analyzer_arn: Option<String>,
pub status: Option<FindingStatusUpdate>,
pub ids: Option<Vec<String>>,
pub resource_arn: Option<String>,
pub client_token: Option<String>,
}Expand description
Updates findings with the new values provided in the request.
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.analyzer_arn: Option<String>The ARN of the analyzer that generated the findings to update.
status: Option<FindingStatusUpdate>The state represents the action to take to update the finding Status. Use ARCHIVE to change an Active finding to an Archived finding. Use ACTIVE to change an Archived finding to an Active finding.
ids: Option<Vec<String>>The IDs of the findings to update.
resource_arn: Option<String>The ARN of the resource identified in the finding.
client_token: Option<String>A client token.
Implementations§
source§impl UpdateFindingsInput
impl UpdateFindingsInput
sourcepub fn analyzer_arn(&self) -> Option<&str>
pub fn analyzer_arn(&self) -> Option<&str>
The ARN of the analyzer that generated the findings to update.
sourcepub fn status(&self) -> Option<&FindingStatusUpdate>
pub fn status(&self) -> Option<&FindingStatusUpdate>
The state represents the action to take to update the finding Status. Use ARCHIVE to change an Active finding to an Archived finding. Use ACTIVE to change an Archived finding to an Active finding.
sourcepub fn ids(&self) -> &[String]
pub fn ids(&self) -> &[String]
The IDs of the findings to update.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .ids.is_none().
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
The ARN of the resource identified in the finding.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A client token.
source§impl UpdateFindingsInput
impl UpdateFindingsInput
sourcepub fn builder() -> UpdateFindingsInputBuilder
pub fn builder() -> UpdateFindingsInputBuilder
Creates a new builder-style object to manufacture UpdateFindingsInput.
Trait Implementations§
source§impl Clone for UpdateFindingsInput
impl Clone for UpdateFindingsInput
source§fn clone(&self) -> UpdateFindingsInput
fn clone(&self) -> UpdateFindingsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateFindingsInput
impl Debug for UpdateFindingsInput
source§impl PartialEq for UpdateFindingsInput
impl PartialEq for UpdateFindingsInput
source§fn eq(&self, other: &UpdateFindingsInput) -> bool
fn eq(&self, other: &UpdateFindingsInput) -> bool
self and other values to be equal, and is used
by ==.