#[non_exhaustive]pub struct PutConfigurationRecorderInput { /* private fields */ }Expand description
The input for the PutConfigurationRecorder action.
Implementations§
source§impl PutConfigurationRecorderInput
impl PutConfigurationRecorderInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutConfigurationRecorder, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutConfigurationRecorder, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<PutConfigurationRecorder>
Examples found in repository?
src/client.rs (line 8695)
8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::PutConfigurationRecorder,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::PutConfigurationRecorderError>,
> {
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::PutConfigurationRecorderOutput,
aws_smithy_http::result::SdkError<crate::error::PutConfigurationRecorderError>,
> {
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 PutConfigurationRecorderInput.
source§impl PutConfigurationRecorderInput
impl PutConfigurationRecorderInput
sourcepub fn configuration_recorder(&self) -> Option<&ConfigurationRecorder>
pub fn configuration_recorder(&self) -> Option<&ConfigurationRecorder>
The configuration recorder object that records each configuration change made to the resources.
Trait Implementations§
source§impl Clone for PutConfigurationRecorderInput
impl Clone for PutConfigurationRecorderInput
source§fn clone(&self) -> PutConfigurationRecorderInput
fn clone(&self) -> PutConfigurationRecorderInput
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