#[non_exhaustive]pub struct PutRemediationExceptionsInput { /* private fields */ }Implementations§
source§impl PutRemediationExceptionsInput
impl PutRemediationExceptionsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutRemediationExceptions, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutRemediationExceptions, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<PutRemediationExceptions>
Examples found in repository?
src/client.rs (line 9662)
9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::PutRemediationExceptions,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::PutRemediationExceptionsError>,
> {
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::PutRemediationExceptionsOutput,
aws_smithy_http::result::SdkError<crate::error::PutRemediationExceptionsError>,
> {
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 PutRemediationExceptionsInput.
source§impl PutRemediationExceptionsInput
impl PutRemediationExceptionsInput
sourcepub fn config_rule_name(&self) -> Option<&str>
pub fn config_rule_name(&self) -> Option<&str>
The name of the Config rule for which you want to create remediation exception.
sourcepub fn resource_keys(&self) -> Option<&[RemediationExceptionResourceKey]>
pub fn resource_keys(&self) -> Option<&[RemediationExceptionResourceKey]>
An exception list of resource exception keys to be processed with the current request. Config adds exception for each resource key. For example, Config adds 3 exceptions for 3 resource keys.
sourcepub fn expiration_time(&self) -> Option<&DateTime>
pub fn expiration_time(&self) -> Option<&DateTime>
The exception is automatically deleted after the expiration date.
Trait Implementations§
source§impl Clone for PutRemediationExceptionsInput
impl Clone for PutRemediationExceptionsInput
source§fn clone(&self) -> PutRemediationExceptionsInput
fn clone(&self) -> PutRemediationExceptionsInput
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