[][src]Struct rusoto_appstream::AppStreamClient

pub struct AppStreamClient { /* fields omitted */ }

A client for the Amazon AppStream API.

Implementations

impl AppStreamClient[src]

pub fn new(region: Region) -> AppStreamClient[src]

Creates a client backed by the default tokio event loop.

The client will use the default credentials provider and tls client.

pub fn new_with<P, D>(
    request_dispatcher: D,
    credentials_provider: P,
    region: Region
) -> AppStreamClient where
    P: ProvideAwsCredentials + Send + Sync + 'static,
    D: DispatchSignedRequest + Send + Sync + 'static, 
[src]

pub fn new_with_client(client: Client, region: Region) -> AppStreamClient[src]

Trait Implementations

impl AppStream for AppStreamClient[src]

pub fn associate_fleet<'life0, 'async_trait>(
    &'life0 self,
    input: AssociateFleetRequest
) -> Pin<Box<dyn Future<Output = Result<AssociateFleetResult, RusotoError<AssociateFleetError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Associates the specified fleet with the specified stack.

pub fn batch_associate_user_stack<'life0, 'async_trait>(
    &'life0 self,
    input: BatchAssociateUserStackRequest
) -> Pin<Box<dyn Future<Output = Result<BatchAssociateUserStackResult, RusotoError<BatchAssociateUserStackError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Associates the specified users with the specified stacks. Users in a user pool cannot be assigned to stacks with fleets that are joined to an Active Directory domain.

pub fn batch_disassociate_user_stack<'life0, 'async_trait>(
    &'life0 self,
    input: BatchDisassociateUserStackRequest
) -> Pin<Box<dyn Future<Output = Result<BatchDisassociateUserStackResult, RusotoError<BatchDisassociateUserStackError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Disassociates the specified users from the specified stacks.

pub fn copy_image<'life0, 'async_trait>(
    &'life0 self,
    input: CopyImageRequest
) -> Pin<Box<dyn Future<Output = Result<CopyImageResponse, RusotoError<CopyImageError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Copies the image within the same region or to a new region within the same AWS account. Note that any tags you added to the image will not be copied.

pub fn create_directory_config<'life0, 'async_trait>(
    &'life0 self,
    input: CreateDirectoryConfigRequest
) -> Pin<Box<dyn Future<Output = Result<CreateDirectoryConfigResult, RusotoError<CreateDirectoryConfigError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a Directory Config object in AppStream 2.0. This object includes the configuration information required to join fleets and image builders to Microsoft Active Directory domains.

pub fn create_fleet<'life0, 'async_trait>(
    &'life0 self,
    input: CreateFleetRequest
) -> Pin<Box<dyn Future<Output = Result<CreateFleetResult, RusotoError<CreateFleetError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a fleet. A fleet consists of streaming instances that run a specified image.

pub fn create_image_builder<'life0, 'async_trait>(
    &'life0 self,
    input: CreateImageBuilderRequest
) -> Pin<Box<dyn Future<Output = Result<CreateImageBuilderResult, RusotoError<CreateImageBuilderError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates an image builder. An image builder is a virtual machine that is used to create an image.

The initial state of the builder is PENDING. When it is ready, the state is RUNNING.

pub fn create_image_builder_streaming_url<'life0, 'async_trait>(
    &'life0 self,
    input: CreateImageBuilderStreamingURLRequest
) -> Pin<Box<dyn Future<Output = Result<CreateImageBuilderStreamingURLResult, RusotoError<CreateImageBuilderStreamingURLError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a URL to start an image builder streaming session.

pub fn create_stack<'life0, 'async_trait>(
    &'life0 self,
    input: CreateStackRequest
) -> Pin<Box<dyn Future<Output = Result<CreateStackResult, RusotoError<CreateStackError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a stack to start streaming applications to users. A stack consists of an associated fleet, user access policies, and storage configurations.

pub fn create_streaming_url<'life0, 'async_trait>(
    &'life0 self,
    input: CreateStreamingURLRequest
) -> Pin<Box<dyn Future<Output = Result<CreateStreamingURLResult, RusotoError<CreateStreamingURLError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a temporary URL to start an AppStream 2.0 streaming session for the specified user. A streaming URL enables application streaming to be tested without user setup.

pub fn create_usage_report_subscription<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = Result<CreateUsageReportSubscriptionResult, RusotoError<CreateUsageReportSubscriptionError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a usage report subscription. Usage reports are generated daily.

pub fn create_user<'life0, 'async_trait>(
    &'life0 self,
    input: CreateUserRequest
) -> Pin<Box<dyn Future<Output = Result<CreateUserResult, RusotoError<CreateUserError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a new user in the user pool.

pub fn delete_directory_config<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteDirectoryConfigRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteDirectoryConfigResult, RusotoError<DeleteDirectoryConfigError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes the specified Directory Config object from AppStream 2.0. This object includes the information required to join streaming instances to an Active Directory domain.

pub fn delete_fleet<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteFleetRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteFleetResult, RusotoError<DeleteFleetError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes the specified fleet.

pub fn delete_image<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteImageRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteImageResult, RusotoError<DeleteImageError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes the specified image. You cannot delete an image when it is in use. After you delete an image, you cannot provision new capacity using the image.

pub fn delete_image_builder<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteImageBuilderRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteImageBuilderResult, RusotoError<DeleteImageBuilderError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes the specified image builder and releases the capacity.

pub fn delete_image_permissions<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteImagePermissionsRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteImagePermissionsResult, RusotoError<DeleteImagePermissionsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes permissions for the specified private image. After you delete permissions for an image, AWS accounts to which you previously granted these permissions can no longer use the image.

pub fn delete_stack<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteStackRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteStackResult, RusotoError<DeleteStackError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes the specified stack. After the stack is deleted, the application streaming environment provided by the stack is no longer available to users. Also, any reservations made for application streaming sessions for the stack are released.

pub fn delete_usage_report_subscription<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = Result<DeleteUsageReportSubscriptionResult, RusotoError<DeleteUsageReportSubscriptionError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Disables usage report generation.

pub fn delete_user<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteUserRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteUserResult, RusotoError<DeleteUserError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes a user from the user pool.

pub fn describe_directory_configs<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeDirectoryConfigsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeDirectoryConfigsResult, RusotoError<DescribeDirectoryConfigsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves a list that describes one or more specified Directory Config objects for AppStream 2.0, if the names for these objects are provided. Otherwise, all Directory Config objects in the account are described. These objects include the configuration information required to join fleets and image builders to Microsoft Active Directory domains.

Although the response syntax in this topic includes the account password, this password is not returned in the actual response.

pub fn describe_fleets<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeFleetsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeFleetsResult, RusotoError<DescribeFleetsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves a list that describes one or more specified fleets, if the fleet names are provided. Otherwise, all fleets in the account are described.

pub fn describe_image_builders<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeImageBuildersRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeImageBuildersResult, RusotoError<DescribeImageBuildersError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves a list that describes one or more specified image builders, if the image builder names are provided. Otherwise, all image builders in the account are described.

pub fn describe_image_permissions<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeImagePermissionsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeImagePermissionsResult, RusotoError<DescribeImagePermissionsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves a list that describes the permissions for shared AWS account IDs on a private image that you own.

pub fn describe_images<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeImagesRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeImagesResult, RusotoError<DescribeImagesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves a list that describes one or more specified images, if the image names or image ARNs are provided. Otherwise, all images in the account are described.

pub fn describe_sessions<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeSessionsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeSessionsResult, RusotoError<DescribeSessionsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves a list that describes the streaming sessions for a specified stack and fleet. If a UserId is provided for the stack and fleet, only streaming sessions for that user are described. If an authentication type is not provided, the default is to authenticate users using a streaming URL.

pub fn describe_stacks<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeStacksRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeStacksResult, RusotoError<DescribeStacksError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves a list that describes one or more specified stacks, if the stack names are provided. Otherwise, all stacks in the account are described.

pub fn describe_usage_report_subscriptions<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeUsageReportSubscriptionsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeUsageReportSubscriptionsResult, RusotoError<DescribeUsageReportSubscriptionsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves a list that describes one or more usage report subscriptions.

pub fn describe_user_stack_associations<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeUserStackAssociationsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeUserStackAssociationsResult, RusotoError<DescribeUserStackAssociationsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves a list that describes the UserStackAssociation objects. You must specify either or both of the following:

  • The stack name

  • The user name (email address of the user associated with the stack) and the authentication type for the user

pub fn describe_users<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeUsersRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeUsersResult, RusotoError<DescribeUsersError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves a list that describes one or more specified users in the user pool.

pub fn disable_user<'life0, 'async_trait>(
    &'life0 self,
    input: DisableUserRequest
) -> Pin<Box<dyn Future<Output = Result<DisableUserResult, RusotoError<DisableUserError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Disables the specified user in the user pool. Users can't sign in to AppStream 2.0 until they are re-enabled. This action does not delete the user.

pub fn disassociate_fleet<'life0, 'async_trait>(
    &'life0 self,
    input: DisassociateFleetRequest
) -> Pin<Box<dyn Future<Output = Result<DisassociateFleetResult, RusotoError<DisassociateFleetError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Disassociates the specified fleet from the specified stack.

pub fn enable_user<'life0, 'async_trait>(
    &'life0 self,
    input: EnableUserRequest
) -> Pin<Box<dyn Future<Output = Result<EnableUserResult, RusotoError<EnableUserError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Enables a user in the user pool. After being enabled, users can sign in to AppStream 2.0 and open applications from the stacks to which they are assigned.

pub fn expire_session<'life0, 'async_trait>(
    &'life0 self,
    input: ExpireSessionRequest
) -> Pin<Box<dyn Future<Output = Result<ExpireSessionResult, RusotoError<ExpireSessionError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Immediately stops the specified streaming session.

pub fn list_associated_fleets<'life0, 'async_trait>(
    &'life0 self,
    input: ListAssociatedFleetsRequest
) -> Pin<Box<dyn Future<Output = Result<ListAssociatedFleetsResult, RusotoError<ListAssociatedFleetsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves the name of the fleet that is associated with the specified stack.

pub fn list_associated_stacks<'life0, 'async_trait>(
    &'life0 self,
    input: ListAssociatedStacksRequest
) -> Pin<Box<dyn Future<Output = Result<ListAssociatedStacksResult, RusotoError<ListAssociatedStacksError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves the name of the stack with which the specified fleet is associated.

pub fn list_tags_for_resource<'life0, 'async_trait>(
    &'life0 self,
    input: ListTagsForResourceRequest
) -> Pin<Box<dyn Future<Output = Result<ListTagsForResourceResponse, RusotoError<ListTagsForResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves a list of all tags for the specified AppStream 2.0 resource. You can tag AppStream 2.0 image builders, images, fleets, and stacks.

For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Administration Guide.

pub fn start_fleet<'life0, 'async_trait>(
    &'life0 self,
    input: StartFleetRequest
) -> Pin<Box<dyn Future<Output = Result<StartFleetResult, RusotoError<StartFleetError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Starts the specified fleet.

pub fn start_image_builder<'life0, 'async_trait>(
    &'life0 self,
    input: StartImageBuilderRequest
) -> Pin<Box<dyn Future<Output = Result<StartImageBuilderResult, RusotoError<StartImageBuilderError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Starts the specified image builder.

pub fn stop_fleet<'life0, 'async_trait>(
    &'life0 self,
    input: StopFleetRequest
) -> Pin<Box<dyn Future<Output = Result<StopFleetResult, RusotoError<StopFleetError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Stops the specified fleet.

pub fn stop_image_builder<'life0, 'async_trait>(
    &'life0 self,
    input: StopImageBuilderRequest
) -> Pin<Box<dyn Future<Output = Result<StopImageBuilderResult, RusotoError<StopImageBuilderError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Stops the specified image builder.

pub fn tag_resource<'life0, 'async_trait>(
    &'life0 self,
    input: TagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<TagResourceResponse, RusotoError<TagResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Adds or overwrites one or more tags for the specified AppStream 2.0 resource. You can tag AppStream 2.0 image builders, images, fleets, and stacks.

Each tag consists of a key and an optional value. If a resource already has a tag with the same key, this operation updates its value.

To list the current tags for your resources, use ListTagsForResource. To disassociate tags from your resources, use UntagResource.

For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Administration Guide.

pub fn untag_resource<'life0, 'async_trait>(
    &'life0 self,
    input: UntagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<UntagResourceResponse, RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Disassociates one or more specified tags from the specified AppStream 2.0 resource.

To list the current tags for your resources, use ListTagsForResource.

For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Administration Guide.

pub fn update_directory_config<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateDirectoryConfigRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateDirectoryConfigResult, RusotoError<UpdateDirectoryConfigError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates the specified Directory Config object in AppStream 2.0. This object includes the configuration information required to join fleets and image builders to Microsoft Active Directory domains.

pub fn update_fleet<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateFleetRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateFleetResult, RusotoError<UpdateFleetError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates the specified fleet.

If the fleet is in the STOPPED state, you can update any attribute except the fleet name. If the fleet is in the RUNNING state, you can update the DisplayName, ComputeCapacity, ImageARN, ImageName, IdleDisconnectTimeoutInSeconds, and DisconnectTimeoutInSeconds attributes. If the fleet is in the STARTING or STOPPING state, you can't update it.

pub fn update_image_permissions<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateImagePermissionsRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateImagePermissionsResult, RusotoError<UpdateImagePermissionsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Adds or updates permissions for the specified private image.

pub fn update_stack<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateStackRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateStackResult, RusotoError<UpdateStackError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates the specified fields for the specified stack.

impl Clone for AppStreamClient[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.