#[non_exhaustive]pub struct DisassociateTrunkInterfaceInput { /* private fields */ }
Implementations§
source§impl DisassociateTrunkInterfaceInput
impl DisassociateTrunkInterfaceInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<DisassociateTrunkInterface, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<DisassociateTrunkInterface, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DisassociateTrunkInterface
>
Examples found in repository?
src/client.rs (line 55443)
55429 55430 55431 55432 55433 55434 55435 55436 55437 55438 55439 55440 55441 55442 55443 55444 55445 55446 55447 55448 55449 55450 55451 55452 55453 55454 55455 55456 55457 55458 55459 55460 55461 55462 55463 55464 55465 55466 55467 55468 55469 55470 55471
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DisassociateTrunkInterface,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DisassociateTrunkInterfaceError>,
> {
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::DisassociateTrunkInterfaceOutput,
aws_smithy_http::result::SdkError<crate::error::DisassociateTrunkInterfaceError>,
> {
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 DisassociateTrunkInterfaceInput
.
source§impl DisassociateTrunkInterfaceInput
impl DisassociateTrunkInterfaceInput
sourcepub fn association_id(&self) -> Option<&str>
pub fn association_id(&self) -> Option<&str>
The ID of the association
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
Trait Implementations§
source§impl Clone for DisassociateTrunkInterfaceInput
impl Clone for DisassociateTrunkInterfaceInput
source§fn clone(&self) -> DisassociateTrunkInterfaceInput
fn clone(&self) -> DisassociateTrunkInterfaceInput
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