#[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
impl StructuralPartialEq for UpdateFindingsInput
Auto Trait Implementations§
impl Freeze for UpdateFindingsInput
impl RefUnwindSafe for UpdateFindingsInput
impl Send for UpdateFindingsInput
impl Sync for UpdateFindingsInput
impl Unpin for UpdateFindingsInput
impl UnwindSafe for UpdateFindingsInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more