Struct aws_sdk_appstream::client::fluent_builders::CreateEntitlement
source · [−]pub struct CreateEntitlement<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to CreateEntitlement.
Creates a new entitlement. Entitlements control access to specific applications within a stack, based on user attributes. Entitlements apply to SAML 2.0 federated user identities. Amazon AppStream 2.0 user pool and streaming URL users are entitled to all applications in a stack. Entitlements don't apply to the desktop stream view application, or to applications managed by a dynamic app provider using the Dynamic Application Framework.
Implementations
impl<C, M, R> CreateEntitlement<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateEntitlement<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateEntitlementOutput, SdkError<CreateEntitlementError>> where
R::Policy: SmithyRetryPolicy<CreateEntitlementInputOperationOutputAlias, CreateEntitlementOutput, CreateEntitlementError, CreateEntitlementInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateEntitlementOutput, SdkError<CreateEntitlementError>> where
R::Policy: SmithyRetryPolicy<CreateEntitlementInputOperationOutputAlias, CreateEntitlementOutput, CreateEntitlementError, CreateEntitlementInputOperationRetryAlias>,
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, which can be set when configuring the client.
The name of the stack with which the entitlement is associated.
The name of the stack with which the entitlement is associated.
The description of the entitlement.
The description of the entitlement.
Specifies whether all or selected apps are entitled.
Specifies whether all or selected apps are entitled.
Appends an item to Attributes.
To override the contents of this collection use set_attributes.
The attributes of the entitlement.
The attributes of the entitlement.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateEntitlement<C, M, R>
impl<C, M, R> Send for CreateEntitlement<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateEntitlement<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateEntitlement<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateEntitlement<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more