Struct aws_sdk_connect::input::DeleteUseCaseInput
source · #[non_exhaustive]pub struct DeleteUseCaseInput { /* private fields */ }
Implementations§
source§impl DeleteUseCaseInput
impl DeleteUseCaseInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteUseCase, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteUseCase, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteUseCase
>
Examples found in repository?
src/client.rs (line 6193)
6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DeleteUseCase,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DeleteUseCaseError>,
> {
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::DeleteUseCaseOutput,
aws_smithy_http::result::SdkError<crate::error::DeleteUseCaseError>,
> {
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 DeleteUseCaseInput
.
source§impl DeleteUseCaseInput
impl DeleteUseCaseInput
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
sourcepub fn integration_association_id(&self) -> Option<&str>
pub fn integration_association_id(&self) -> Option<&str>
The identifier for the integration association.
sourcepub fn use_case_id(&self) -> Option<&str>
pub fn use_case_id(&self) -> Option<&str>
The identifier for the use case.
Trait Implementations§
source§impl Clone for DeleteUseCaseInput
impl Clone for DeleteUseCaseInput
source§fn clone(&self) -> DeleteUseCaseInput
fn clone(&self) -> DeleteUseCaseInput
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