Struct aws_sdk_accessanalyzer::input::UpdateFindingsInput
source · [−]#[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
sourceimpl UpdateFindingsInput
impl UpdateFindingsInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<UpdateFindings, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<UpdateFindings, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateFindings
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateFindingsInput
.
sourceimpl 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 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.
Trait Implementations
sourceimpl Clone for UpdateFindingsInput
impl Clone for UpdateFindingsInput
sourcefn clone(&self) -> UpdateFindingsInput
fn clone(&self) -> UpdateFindingsInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for UpdateFindingsInput
impl Debug for UpdateFindingsInput
sourceimpl PartialEq<UpdateFindingsInput> for UpdateFindingsInput
impl PartialEq<UpdateFindingsInput> for UpdateFindingsInput
sourcefn eq(&self, other: &UpdateFindingsInput) -> bool
fn eq(&self, other: &UpdateFindingsInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateFindingsInput) -> bool
fn ne(&self, other: &UpdateFindingsInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpdateFindingsInput
Auto Trait Implementations
impl RefUnwindSafe for UpdateFindingsInput
impl Send for UpdateFindingsInput
impl Sync for UpdateFindingsInput
impl Unpin for UpdateFindingsInput
impl UnwindSafe for UpdateFindingsInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more