#[non_exhaustive]pub struct StopConfigurationRecorderInput { /* private fields */ }Expand description
The input for the StopConfigurationRecorder action.
Implementations§
source§impl StopConfigurationRecorderInput
impl StopConfigurationRecorderInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StopConfigurationRecorder, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StopConfigurationRecorder, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<StopConfigurationRecorder>
Examples found in repository?
src/client.rs (line 10618)
10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::StopConfigurationRecorder,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::StopConfigurationRecorderError>,
> {
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::StopConfigurationRecorderOutput,
aws_smithy_http::result::SdkError<crate::error::StopConfigurationRecorderError>,
> {
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 StopConfigurationRecorderInput.
source§impl StopConfigurationRecorderInput
impl StopConfigurationRecorderInput
sourcepub fn configuration_recorder_name(&self) -> Option<&str>
pub fn configuration_recorder_name(&self) -> Option<&str>
The name of the recorder object that records each configuration change made to the resources.
Trait Implementations§
source§impl Clone for StopConfigurationRecorderInput
impl Clone for StopConfigurationRecorderInput
source§fn clone(&self) -> StopConfigurationRecorderInput
fn clone(&self) -> StopConfigurationRecorderInput
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