#[non_exhaustive]pub struct RemoveAutoTerminationPolicyInput { /* private fields */ }Implementations§
source§impl RemoveAutoTerminationPolicyInput
impl RemoveAutoTerminationPolicyInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RemoveAutoTerminationPolicy, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RemoveAutoTerminationPolicy, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<RemoveAutoTerminationPolicy>
Examples found in repository?
src/client.rs (line 4800)
4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::RemoveAutoTerminationPolicy,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::RemoveAutoTerminationPolicyError>,
> {
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::RemoveAutoTerminationPolicyOutput,
aws_smithy_http::result::SdkError<crate::error::RemoveAutoTerminationPolicyError>,
> {
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 RemoveAutoTerminationPolicyInput.
source§impl RemoveAutoTerminationPolicyInput
impl RemoveAutoTerminationPolicyInput
sourcepub fn cluster_id(&self) -> Option<&str>
pub fn cluster_id(&self) -> Option<&str>
Specifies the ID of the Amazon EMR cluster from which the auto-termination policy will be removed.
Trait Implementations§
source§impl Clone for RemoveAutoTerminationPolicyInput
impl Clone for RemoveAutoTerminationPolicyInput
source§fn clone(&self) -> RemoveAutoTerminationPolicyInput
fn clone(&self) -> RemoveAutoTerminationPolicyInput
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