Struct aws_sdk_config::input::PutEvaluationsInput
source · [−]#[non_exhaustive]pub struct PutEvaluationsInput {
pub evaluations: Option<Vec<Evaluation>>,
pub result_token: Option<String>,
pub test_mode: bool,
}Expand description
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.evaluations: Option<Vec<Evaluation>>The assessments that the Lambda function performs. Each evaluation identifies an Amazon Web Services resource and indicates whether it complies with the Config rule that invokes the Lambda function.
result_token: Option<String>An encrypted token that associates an evaluation with an Config rule. Identifies the rule and the event that triggered the evaluation.
test_mode: boolUse this parameter to specify a test run for PutEvaluations. You can verify whether your Lambda function will deliver evaluation results to Config. No updates occur to your existing evaluations, and evaluation results are not sent to Config.
When TestMode is true, PutEvaluations doesn't require a valid value for the ResultToken parameter, but the value cannot be null.
Implementations
sourceimpl PutEvaluationsInput
impl PutEvaluationsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutEvaluations, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutEvaluations, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<PutEvaluations>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PutEvaluationsInput
sourceimpl PutEvaluationsInput
impl PutEvaluationsInput
sourcepub fn evaluations(&self) -> Option<&[Evaluation]>
pub fn evaluations(&self) -> Option<&[Evaluation]>
The assessments that the Lambda function performs. Each evaluation identifies an Amazon Web Services resource and indicates whether it complies with the Config rule that invokes the Lambda function.
sourcepub fn result_token(&self) -> Option<&str>
pub fn result_token(&self) -> Option<&str>
An encrypted token that associates an evaluation with an Config rule. Identifies the rule and the event that triggered the evaluation.
sourcepub fn test_mode(&self) -> bool
pub fn test_mode(&self) -> bool
Use this parameter to specify a test run for PutEvaluations. You can verify whether your Lambda function will deliver evaluation results to Config. No updates occur to your existing evaluations, and evaluation results are not sent to Config.
When TestMode is true, PutEvaluations doesn't require a valid value for the ResultToken parameter, but the value cannot be null.
Trait Implementations
sourceimpl Clone for PutEvaluationsInput
impl Clone for PutEvaluationsInput
sourcefn clone(&self) -> PutEvaluationsInput
fn clone(&self) -> PutEvaluationsInput
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 PutEvaluationsInput
impl Debug for PutEvaluationsInput
sourceimpl PartialEq<PutEvaluationsInput> for PutEvaluationsInput
impl PartialEq<PutEvaluationsInput> for PutEvaluationsInput
sourcefn eq(&self, other: &PutEvaluationsInput) -> bool
fn eq(&self, other: &PutEvaluationsInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &PutEvaluationsInput) -> bool
fn ne(&self, other: &PutEvaluationsInput) -> bool
This method tests for !=.
impl StructuralPartialEq for PutEvaluationsInput
Auto Trait Implementations
impl RefUnwindSafe for PutEvaluationsInput
impl Send for PutEvaluationsInput
impl Sync for PutEvaluationsInput
impl Unpin for PutEvaluationsInput
impl UnwindSafe for PutEvaluationsInput
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