#[non_exhaustive]pub struct PutRemediationConfigurationsInput { /* private fields */ }Implementations§
source§impl PutRemediationConfigurationsInput
impl PutRemediationConfigurationsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutRemediationConfigurations, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutRemediationConfigurations, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<PutRemediationConfigurations>
Examples found in repository?
src/client.rs (line 9577)
9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::PutRemediationConfigurations,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::PutRemediationConfigurationsError>,
> {
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::PutRemediationConfigurationsOutput,
aws_smithy_http::result::SdkError<crate::error::PutRemediationConfigurationsError>,
> {
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 PutRemediationConfigurationsInput.
source§impl PutRemediationConfigurationsInput
impl PutRemediationConfigurationsInput
sourcepub fn remediation_configurations(&self) -> Option<&[RemediationConfiguration]>
pub fn remediation_configurations(&self) -> Option<&[RemediationConfiguration]>
A list of remediation configuration objects.
Trait Implementations§
source§impl Clone for PutRemediationConfigurationsInput
impl Clone for PutRemediationConfigurationsInput
source§fn clone(&self) -> PutRemediationConfigurationsInput
fn clone(&self) -> PutRemediationConfigurationsInput
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