Struct aws_sdk_config::input::PutExternalEvaluationInput
source · #[non_exhaustive]pub struct PutExternalEvaluationInput { /* private fields */ }Implementations§
source§impl PutExternalEvaluationInput
impl PutExternalEvaluationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutExternalEvaluation, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutExternalEvaluation, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<PutExternalEvaluation>
Examples found in repository?
src/client.rs (line 9141)
9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::PutExternalEvaluation,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::PutExternalEvaluationError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// Sends the request and returns the response.
///
/// If an error occurs, an `SdkError` will be returned with additional details that
/// can be matched against.
///
/// By default, any retryable failures will be retried twice. Retry behavior
/// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::PutExternalEvaluationOutput,
aws_smithy_http::result::SdkError<crate::error::PutExternalEvaluationError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PutExternalEvaluationInput.
source§impl PutExternalEvaluationInput
impl PutExternalEvaluationInput
sourcepub fn config_rule_name(&self) -> Option<&str>
pub fn config_rule_name(&self) -> Option<&str>
The name of the Config rule.
sourcepub fn external_evaluation(&self) -> Option<&ExternalEvaluation>
pub fn external_evaluation(&self) -> Option<&ExternalEvaluation>
An ExternalEvaluation object that provides details about compliance.
Trait Implementations§
source§impl Clone for PutExternalEvaluationInput
impl Clone for PutExternalEvaluationInput
source§fn clone(&self) -> PutExternalEvaluationInput
fn clone(&self) -> PutExternalEvaluationInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more