Struct aws_sdk_appstream::input::UpdateEntitlementInput
source · #[non_exhaustive]pub struct UpdateEntitlementInput { /* private fields */ }
Implementations§
source§impl UpdateEntitlementInput
impl UpdateEntitlementInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateEntitlement, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateEntitlement, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateEntitlement
>
Examples found in repository?
src/client.rs (line 7697)
7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateEntitlement,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateEntitlementError>,
> {
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::UpdateEntitlementOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateEntitlementError>,
> {
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 UpdateEntitlementInput
.
source§impl UpdateEntitlementInput
impl UpdateEntitlementInput
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 description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the entitlement.
sourcepub fn app_visibility(&self) -> Option<&AppVisibility>
pub fn app_visibility(&self) -> Option<&AppVisibility>
Specifies whether all or only selected apps are entitled.
sourcepub fn attributes(&self) -> Option<&[EntitlementAttribute]>
pub fn attributes(&self) -> Option<&[EntitlementAttribute]>
The attributes of the entitlement.
Trait Implementations§
source§impl Clone for UpdateEntitlementInput
impl Clone for UpdateEntitlementInput
source§fn clone(&self) -> UpdateEntitlementInput
fn clone(&self) -> UpdateEntitlementInput
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