#[non_exhaustive]pub struct DisassociateIamInstanceProfileInput { /* private fields */ }
Implementations§
source§impl DisassociateIamInstanceProfileInput
impl DisassociateIamInstanceProfileInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DisassociateIamInstanceProfile, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DisassociateIamInstanceProfile, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DisassociateIamInstanceProfile
>
Examples found in repository?
src/client.rs (line 54754)
54740 54741 54742 54743 54744 54745 54746 54747 54748 54749 54750 54751 54752 54753 54754 54755 54756 54757 54758 54759 54760 54761 54762 54763 54764 54765 54766 54767 54768 54769 54770 54771 54772 54773 54774 54775 54776 54777 54778 54779 54780 54781 54782
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DisassociateIamInstanceProfile,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DisassociateIamInstanceProfileError>,
> {
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::DisassociateIamInstanceProfileOutput,
aws_smithy_http::result::SdkError<crate::error::DisassociateIamInstanceProfileError>,
> {
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 DisassociateIamInstanceProfileInput
.
source§impl DisassociateIamInstanceProfileInput
impl DisassociateIamInstanceProfileInput
sourcepub fn association_id(&self) -> Option<&str>
pub fn association_id(&self) -> Option<&str>
The ID of the IAM instance profile association.
Trait Implementations§
source§impl Clone for DisassociateIamInstanceProfileInput
impl Clone for DisassociateIamInstanceProfileInput
source§fn clone(&self) -> DisassociateIamInstanceProfileInput
fn clone(&self) -> DisassociateIamInstanceProfileInput
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