#[non_exhaustive]pub struct DisassociateApplicationFromEntitlementInput { /* private fields */ }
Implementations§
source§impl DisassociateApplicationFromEntitlementInput
impl DisassociateApplicationFromEntitlementInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DisassociateApplicationFromEntitlement, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DisassociateApplicationFromEntitlement, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DisassociateApplicationFromEntitlement
>
Examples found in repository?
src/client.rs (line 6214)
6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DisassociateApplicationFromEntitlement,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::DisassociateApplicationFromEntitlementError,
>,
> {
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::DisassociateApplicationFromEntitlementOutput,
aws_smithy_http::result::SdkError<
crate::error::DisassociateApplicationFromEntitlementError,
>,
> {
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 DisassociateApplicationFromEntitlementInput
.
source§impl DisassociateApplicationFromEntitlementInput
impl DisassociateApplicationFromEntitlementInput
sourcepub fn stack_name(&self) -> Option<&str>
pub fn stack_name(&self) -> Option<&str>
The name of the stack with which the entitlement is associated.
sourcepub fn entitlement_name(&self) -> Option<&str>
pub fn entitlement_name(&self) -> Option<&str>
The name of the entitlement.
sourcepub fn application_identifier(&self) -> Option<&str>
pub fn application_identifier(&self) -> Option<&str>
The identifier of the application to remove from the entitlement.
Trait Implementations§
source§impl Clone for DisassociateApplicationFromEntitlementInput
impl Clone for DisassociateApplicationFromEntitlementInput
source§fn clone(&self) -> DisassociateApplicationFromEntitlementInput
fn clone(&self) -> DisassociateApplicationFromEntitlementInput
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