Interface AppStreamClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.
This is the Amazon AppStream 2.0 API Reference. This documentation provides descriptions and syntax for each of the actions and data types in AppStream 2.0. AppStream 2.0 is a fully managed, secure application streaming service that lets you stream desktop applications to users without rewriting applications. AppStream 2.0 manages the AWS resources that are required to host and run your applications, scales automatically, and provides access to your users on demand.
You can call the AppStream 2.0 API operations by using an interface VPC endpoint (interface endpoint). For more information, see Access AppStream 2.0 API Operations and CLI Commands Through an Interface VPC Endpoint in the Amazon AppStream 2.0 Administration Guide.
To learn more about AppStream 2.0, see the following resources:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionassociateAppBlockBuilderAppBlock
(Consumer<AssociateAppBlockBuilderAppBlockRequest.Builder> associateAppBlockBuilderAppBlockRequest) Associates the specified app block builder with the specified app block.associateAppBlockBuilderAppBlock
(AssociateAppBlockBuilderAppBlockRequest associateAppBlockBuilderAppBlockRequest) Associates the specified app block builder with the specified app block.associateApplicationFleet
(Consumer<AssociateApplicationFleetRequest.Builder> associateApplicationFleetRequest) Associates the specified application with the specified fleet.associateApplicationFleet
(AssociateApplicationFleetRequest associateApplicationFleetRequest) Associates the specified application with the specified fleet.associateApplicationToEntitlement
(Consumer<AssociateApplicationToEntitlementRequest.Builder> associateApplicationToEntitlementRequest) Associates an application to entitle.associateApplicationToEntitlement
(AssociateApplicationToEntitlementRequest associateApplicationToEntitlementRequest) Associates an application to entitle.default AssociateFleetResponse
associateFleet
(Consumer<AssociateFleetRequest.Builder> associateFleetRequest) Associates the specified fleet with the specified stack.default AssociateFleetResponse
associateFleet
(AssociateFleetRequest associateFleetRequest) Associates the specified fleet with the specified stack.default BatchAssociateUserStackResponse
batchAssociateUserStack
(Consumer<BatchAssociateUserStackRequest.Builder> batchAssociateUserStackRequest) Associates the specified users with the specified stacks.default BatchAssociateUserStackResponse
batchAssociateUserStack
(BatchAssociateUserStackRequest batchAssociateUserStackRequest) Associates the specified users with the specified stacks.batchDisassociateUserStack
(Consumer<BatchDisassociateUserStackRequest.Builder> batchDisassociateUserStackRequest) Disassociates the specified users from the specified stacks.batchDisassociateUserStack
(BatchDisassociateUserStackRequest batchDisassociateUserStackRequest) Disassociates the specified users from the specified stacks.static AppStreamClientBuilder
builder()
Create a builder that can be used to configure and create aAppStreamClient
.default CopyImageResponse
copyImage
(Consumer<CopyImageRequest.Builder> copyImageRequest) Copies the image within the same region or to a new region within the same AWS account.default CopyImageResponse
copyImage
(CopyImageRequest copyImageRequest) Copies the image within the same region or to a new region within the same AWS account.static AppStreamClient
create()
Create aAppStreamClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CreateAppBlockResponse
createAppBlock
(Consumer<CreateAppBlockRequest.Builder> createAppBlockRequest) Creates an app block.default CreateAppBlockResponse
createAppBlock
(CreateAppBlockRequest createAppBlockRequest) Creates an app block.default CreateAppBlockBuilderResponse
createAppBlockBuilder
(Consumer<CreateAppBlockBuilderRequest.Builder> createAppBlockBuilderRequest) Creates an app block builder.default CreateAppBlockBuilderResponse
createAppBlockBuilder
(CreateAppBlockBuilderRequest createAppBlockBuilderRequest) Creates an app block builder.createAppBlockBuilderStreamingURL
(Consumer<CreateAppBlockBuilderStreamingUrlRequest.Builder> createAppBlockBuilderStreamingUrlRequest) Creates a URL to start a create app block builder streaming session.createAppBlockBuilderStreamingURL
(CreateAppBlockBuilderStreamingUrlRequest createAppBlockBuilderStreamingUrlRequest) Creates a URL to start a create app block builder streaming session.default CreateApplicationResponse
createApplication
(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) Creates an application.default CreateApplicationResponse
createApplication
(CreateApplicationRequest createApplicationRequest) Creates an application.default CreateDirectoryConfigResponse
createDirectoryConfig
(Consumer<CreateDirectoryConfigRequest.Builder> createDirectoryConfigRequest) Creates a Directory Config object in AppStream 2.0.default CreateDirectoryConfigResponse
createDirectoryConfig
(CreateDirectoryConfigRequest createDirectoryConfigRequest) Creates a Directory Config object in AppStream 2.0.default CreateEntitlementResponse
createEntitlement
(Consumer<CreateEntitlementRequest.Builder> createEntitlementRequest) Creates a new entitlement.default CreateEntitlementResponse
createEntitlement
(CreateEntitlementRequest createEntitlementRequest) Creates a new entitlement.default CreateFleetResponse
createFleet
(Consumer<CreateFleetRequest.Builder> createFleetRequest) Creates a fleet.default CreateFleetResponse
createFleet
(CreateFleetRequest createFleetRequest) Creates a fleet.default CreateImageBuilderResponse
createImageBuilder
(Consumer<CreateImageBuilderRequest.Builder> createImageBuilderRequest) Creates an image builder.default CreateImageBuilderResponse
createImageBuilder
(CreateImageBuilderRequest createImageBuilderRequest) Creates an image builder.createImageBuilderStreamingURL
(Consumer<CreateImageBuilderStreamingUrlRequest.Builder> createImageBuilderStreamingUrlRequest) Creates a URL to start an image builder streaming session.createImageBuilderStreamingURL
(CreateImageBuilderStreamingUrlRequest createImageBuilderStreamingUrlRequest) Creates a URL to start an image builder streaming session.default CreateStackResponse
createStack
(Consumer<CreateStackRequest.Builder> createStackRequest) Creates a stack to start streaming applications to users.default CreateStackResponse
createStack
(CreateStackRequest createStackRequest) Creates a stack to start streaming applications to users.default CreateStreamingUrlResponse
createStreamingURL
(Consumer<CreateStreamingUrlRequest.Builder> createStreamingUrlRequest) Creates a temporary URL to start an AppStream 2.0 streaming session for the specified user.default CreateStreamingUrlResponse
createStreamingURL
(CreateStreamingUrlRequest createStreamingUrlRequest) Creates a temporary URL to start an AppStream 2.0 streaming session for the specified user.default CreateUpdatedImageResponse
createUpdatedImage
(Consumer<CreateUpdatedImageRequest.Builder> createUpdatedImageRequest) Creates a new image with the latest Windows operating system updates, driver updates, and AppStream 2.0 agent software.default CreateUpdatedImageResponse
createUpdatedImage
(CreateUpdatedImageRequest createUpdatedImageRequest) Creates a new image with the latest Windows operating system updates, driver updates, and AppStream 2.0 agent software.createUsageReportSubscription
(Consumer<CreateUsageReportSubscriptionRequest.Builder> createUsageReportSubscriptionRequest) Creates a usage report subscription.createUsageReportSubscription
(CreateUsageReportSubscriptionRequest createUsageReportSubscriptionRequest) Creates a usage report subscription.default CreateUserResponse
createUser
(Consumer<CreateUserRequest.Builder> createUserRequest) Creates a new user in the user pool.default CreateUserResponse
createUser
(CreateUserRequest createUserRequest) Creates a new user in the user pool.default DeleteAppBlockResponse
deleteAppBlock
(Consumer<DeleteAppBlockRequest.Builder> deleteAppBlockRequest) Deletes an app block.default DeleteAppBlockResponse
deleteAppBlock
(DeleteAppBlockRequest deleteAppBlockRequest) Deletes an app block.default DeleteAppBlockBuilderResponse
deleteAppBlockBuilder
(Consumer<DeleteAppBlockBuilderRequest.Builder> deleteAppBlockBuilderRequest) Deletes an app block builder.default DeleteAppBlockBuilderResponse
deleteAppBlockBuilder
(DeleteAppBlockBuilderRequest deleteAppBlockBuilderRequest) Deletes an app block builder.default DeleteApplicationResponse
deleteApplication
(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest) Deletes an application.default DeleteApplicationResponse
deleteApplication
(DeleteApplicationRequest deleteApplicationRequest) Deletes an application.default DeleteDirectoryConfigResponse
deleteDirectoryConfig
(Consumer<DeleteDirectoryConfigRequest.Builder> deleteDirectoryConfigRequest) Deletes the specified Directory Config object from AppStream 2.0.default DeleteDirectoryConfigResponse
deleteDirectoryConfig
(DeleteDirectoryConfigRequest deleteDirectoryConfigRequest) Deletes the specified Directory Config object from AppStream 2.0.default DeleteEntitlementResponse
deleteEntitlement
(Consumer<DeleteEntitlementRequest.Builder> deleteEntitlementRequest) Deletes the specified entitlement.default DeleteEntitlementResponse
deleteEntitlement
(DeleteEntitlementRequest deleteEntitlementRequest) Deletes the specified entitlement.default DeleteFleetResponse
deleteFleet
(Consumer<DeleteFleetRequest.Builder> deleteFleetRequest) Deletes the specified fleet.default DeleteFleetResponse
deleteFleet
(DeleteFleetRequest deleteFleetRequest) Deletes the specified fleet.default DeleteImageResponse
deleteImage
(Consumer<DeleteImageRequest.Builder> deleteImageRequest) Deletes the specified image.default DeleteImageResponse
deleteImage
(DeleteImageRequest deleteImageRequest) Deletes the specified image.default DeleteImageBuilderResponse
deleteImageBuilder
(Consumer<DeleteImageBuilderRequest.Builder> deleteImageBuilderRequest) Deletes the specified image builder and releases the capacity.default DeleteImageBuilderResponse
deleteImageBuilder
(DeleteImageBuilderRequest deleteImageBuilderRequest) Deletes the specified image builder and releases the capacity.default DeleteImagePermissionsResponse
deleteImagePermissions
(Consumer<DeleteImagePermissionsRequest.Builder> deleteImagePermissionsRequest) Deletes permissions for the specified private image.default DeleteImagePermissionsResponse
deleteImagePermissions
(DeleteImagePermissionsRequest deleteImagePermissionsRequest) Deletes permissions for the specified private image.default DeleteStackResponse
deleteStack
(Consumer<DeleteStackRequest.Builder> deleteStackRequest) Deletes the specified stack.default DeleteStackResponse
deleteStack
(DeleteStackRequest deleteStackRequest) Deletes the specified stack.deleteUsageReportSubscription
(Consumer<DeleteUsageReportSubscriptionRequest.Builder> deleteUsageReportSubscriptionRequest) Disables usage report generation.deleteUsageReportSubscription
(DeleteUsageReportSubscriptionRequest deleteUsageReportSubscriptionRequest) Disables usage report generation.default DeleteUserResponse
deleteUser
(Consumer<DeleteUserRequest.Builder> deleteUserRequest) Deletes a user from the user pool.default DeleteUserResponse
deleteUser
(DeleteUserRequest deleteUserRequest) Deletes a user from the user pool.describeAppBlockBuilderAppBlockAssociations
(Consumer<DescribeAppBlockBuilderAppBlockAssociationsRequest.Builder> describeAppBlockBuilderAppBlockAssociationsRequest) Retrieves a list that describes one or more app block builder associations.describeAppBlockBuilderAppBlockAssociations
(DescribeAppBlockBuilderAppBlockAssociationsRequest describeAppBlockBuilderAppBlockAssociationsRequest) Retrieves a list that describes one or more app block builder associations.describeAppBlockBuilderAppBlockAssociationsPaginator
(Consumer<DescribeAppBlockBuilderAppBlockAssociationsRequest.Builder> describeAppBlockBuilderAppBlockAssociationsRequest) describeAppBlockBuilderAppBlockAssociationsPaginator
(DescribeAppBlockBuilderAppBlockAssociationsRequest describeAppBlockBuilderAppBlockAssociationsRequest) default DescribeAppBlockBuildersResponse
describeAppBlockBuilders
(Consumer<DescribeAppBlockBuildersRequest.Builder> describeAppBlockBuildersRequest) Retrieves a list that describes one or more app block builders.default DescribeAppBlockBuildersResponse
describeAppBlockBuilders
(DescribeAppBlockBuildersRequest describeAppBlockBuildersRequest) Retrieves a list that describes one or more app block builders.default DescribeAppBlockBuildersIterable
describeAppBlockBuildersPaginator
(Consumer<DescribeAppBlockBuildersRequest.Builder> describeAppBlockBuildersRequest) This is a variant ofdescribeAppBlockBuilders(software.amazon.awssdk.services.appstream.model.DescribeAppBlockBuildersRequest)
operation.default DescribeAppBlockBuildersIterable
describeAppBlockBuildersPaginator
(DescribeAppBlockBuildersRequest describeAppBlockBuildersRequest) This is a variant ofdescribeAppBlockBuilders(software.amazon.awssdk.services.appstream.model.DescribeAppBlockBuildersRequest)
operation.default DescribeAppBlocksResponse
describeAppBlocks
(Consumer<DescribeAppBlocksRequest.Builder> describeAppBlocksRequest) Retrieves a list that describes one or more app blocks.default DescribeAppBlocksResponse
describeAppBlocks
(DescribeAppBlocksRequest describeAppBlocksRequest) Retrieves a list that describes one or more app blocks.describeApplicationFleetAssociations
(Consumer<DescribeApplicationFleetAssociationsRequest.Builder> describeApplicationFleetAssociationsRequest) Retrieves a list that describes one or more application fleet associations.describeApplicationFleetAssociations
(DescribeApplicationFleetAssociationsRequest describeApplicationFleetAssociationsRequest) Retrieves a list that describes one or more application fleet associations.default DescribeApplicationsResponse
describeApplications
(Consumer<DescribeApplicationsRequest.Builder> describeApplicationsRequest) Retrieves a list that describes one or more applications.default DescribeApplicationsResponse
describeApplications
(DescribeApplicationsRequest describeApplicationsRequest) Retrieves a list that describes one or more applications.default DescribeDirectoryConfigsResponse
Retrieves a list that describes one or more specified Directory Config objects for AppStream 2.0, if the names for these objects are provided.default DescribeDirectoryConfigsResponse
describeDirectoryConfigs
(Consumer<DescribeDirectoryConfigsRequest.Builder> describeDirectoryConfigsRequest) Retrieves a list that describes one or more specified Directory Config objects for AppStream 2.0, if the names for these objects are provided.default DescribeDirectoryConfigsResponse
describeDirectoryConfigs
(DescribeDirectoryConfigsRequest describeDirectoryConfigsRequest) Retrieves a list that describes one or more specified Directory Config objects for AppStream 2.0, if the names for these objects are provided.default DescribeEntitlementsResponse
describeEntitlements
(Consumer<DescribeEntitlementsRequest.Builder> describeEntitlementsRequest) Retrieves a list that describes one of more entitlements.default DescribeEntitlementsResponse
describeEntitlements
(DescribeEntitlementsRequest describeEntitlementsRequest) Retrieves a list that describes one of more entitlements.default DescribeFleetsResponse
Retrieves a list that describes one or more specified fleets, if the fleet names are provided.default DescribeFleetsResponse
describeFleets
(Consumer<DescribeFleetsRequest.Builder> describeFleetsRequest) Retrieves a list that describes one or more specified fleets, if the fleet names are provided.default DescribeFleetsResponse
describeFleets
(DescribeFleetsRequest describeFleetsRequest) Retrieves a list that describes one or more specified fleets, if the fleet names are provided.default DescribeImageBuildersResponse
Retrieves a list that describes one or more specified image builders, if the image builder names are provided.default DescribeImageBuildersResponse
describeImageBuilders
(Consumer<DescribeImageBuildersRequest.Builder> describeImageBuildersRequest) Retrieves a list that describes one or more specified image builders, if the image builder names are provided.default DescribeImageBuildersResponse
describeImageBuilders
(DescribeImageBuildersRequest describeImageBuildersRequest) Retrieves a list that describes one or more specified image builders, if the image builder names are provided.default DescribeImagePermissionsResponse
describeImagePermissions
(Consumer<DescribeImagePermissionsRequest.Builder> describeImagePermissionsRequest) Retrieves a list that describes the permissions for shared AWS account IDs on a private image that you own.default DescribeImagePermissionsResponse
describeImagePermissions
(DescribeImagePermissionsRequest describeImagePermissionsRequest) Retrieves a list that describes the permissions for shared AWS account IDs on a private image that you own.default DescribeImagePermissionsIterable
describeImagePermissionsPaginator
(Consumer<DescribeImagePermissionsRequest.Builder> describeImagePermissionsRequest) This is a variant ofdescribeImagePermissions(software.amazon.awssdk.services.appstream.model.DescribeImagePermissionsRequest)
operation.default DescribeImagePermissionsIterable
describeImagePermissionsPaginator
(DescribeImagePermissionsRequest describeImagePermissionsRequest) This is a variant ofdescribeImagePermissions(software.amazon.awssdk.services.appstream.model.DescribeImagePermissionsRequest)
operation.default DescribeImagesResponse
Retrieves a list that describes one or more specified images, if the image names or image ARNs are provided.default DescribeImagesResponse
describeImages
(Consumer<DescribeImagesRequest.Builder> describeImagesRequest) Retrieves a list that describes one or more specified images, if the image names or image ARNs are provided.default DescribeImagesResponse
describeImages
(DescribeImagesRequest describeImagesRequest) Retrieves a list that describes one or more specified images, if the image names or image ARNs are provided.default DescribeImagesIterable
This is a variant ofdescribeImages(software.amazon.awssdk.services.appstream.model.DescribeImagesRequest)
operation.default DescribeImagesIterable
describeImagesPaginator
(Consumer<DescribeImagesRequest.Builder> describeImagesRequest) This is a variant ofdescribeImages(software.amazon.awssdk.services.appstream.model.DescribeImagesRequest)
operation.default DescribeImagesIterable
describeImagesPaginator
(DescribeImagesRequest describeImagesRequest) This is a variant ofdescribeImages(software.amazon.awssdk.services.appstream.model.DescribeImagesRequest)
operation.default DescribeSessionsResponse
describeSessions
(Consumer<DescribeSessionsRequest.Builder> describeSessionsRequest) Retrieves a list that describes the streaming sessions for a specified stack and fleet.default DescribeSessionsResponse
describeSessions
(DescribeSessionsRequest describeSessionsRequest) Retrieves a list that describes the streaming sessions for a specified stack and fleet.default DescribeStacksResponse
Retrieves a list that describes one or more specified stacks, if the stack names are provided.default DescribeStacksResponse
describeStacks
(Consumer<DescribeStacksRequest.Builder> describeStacksRequest) Retrieves a list that describes one or more specified stacks, if the stack names are provided.default DescribeStacksResponse
describeStacks
(DescribeStacksRequest describeStacksRequest) Retrieves a list that describes one or more specified stacks, if the stack names are provided.describeUsageReportSubscriptions
(Consumer<DescribeUsageReportSubscriptionsRequest.Builder> describeUsageReportSubscriptionsRequest) Retrieves a list that describes one or more usage report subscriptions.describeUsageReportSubscriptions
(DescribeUsageReportSubscriptionsRequest describeUsageReportSubscriptionsRequest) Retrieves a list that describes one or more usage report subscriptions.default DescribeUsersResponse
describeUsers
(Consumer<DescribeUsersRequest.Builder> describeUsersRequest) Retrieves a list that describes one or more specified users in the user pool.default DescribeUsersResponse
describeUsers
(DescribeUsersRequest describeUsersRequest) Retrieves a list that describes one or more specified users in the user pool.describeUserStackAssociations
(Consumer<DescribeUserStackAssociationsRequest.Builder> describeUserStackAssociationsRequest) Retrieves a list that describes the UserStackAssociation objects.describeUserStackAssociations
(DescribeUserStackAssociationsRequest describeUserStackAssociationsRequest) Retrieves a list that describes the UserStackAssociation objects.default DisableUserResponse
disableUser
(Consumer<DisableUserRequest.Builder> disableUserRequest) Disables the specified user in the user pool.default DisableUserResponse
disableUser
(DisableUserRequest disableUserRequest) Disables the specified user in the user pool.disassociateAppBlockBuilderAppBlock
(Consumer<DisassociateAppBlockBuilderAppBlockRequest.Builder> disassociateAppBlockBuilderAppBlockRequest) Disassociates a specified app block builder from a specified app block.disassociateAppBlockBuilderAppBlock
(DisassociateAppBlockBuilderAppBlockRequest disassociateAppBlockBuilderAppBlockRequest) Disassociates a specified app block builder from a specified app block.disassociateApplicationFleet
(Consumer<DisassociateApplicationFleetRequest.Builder> disassociateApplicationFleetRequest) Disassociates the specified application from the fleet.disassociateApplicationFleet
(DisassociateApplicationFleetRequest disassociateApplicationFleetRequest) Disassociates the specified application from the fleet.disassociateApplicationFromEntitlement
(Consumer<DisassociateApplicationFromEntitlementRequest.Builder> disassociateApplicationFromEntitlementRequest) Deletes the specified application from the specified entitlement.disassociateApplicationFromEntitlement
(DisassociateApplicationFromEntitlementRequest disassociateApplicationFromEntitlementRequest) Deletes the specified application from the specified entitlement.default DisassociateFleetResponse
disassociateFleet
(Consumer<DisassociateFleetRequest.Builder> disassociateFleetRequest) Disassociates the specified fleet from the specified stack.default DisassociateFleetResponse
disassociateFleet
(DisassociateFleetRequest disassociateFleetRequest) Disassociates the specified fleet from the specified stack.default EnableUserResponse
enableUser
(Consumer<EnableUserRequest.Builder> enableUserRequest) Enables a user in the user pool.default EnableUserResponse
enableUser
(EnableUserRequest enableUserRequest) Enables a user in the user pool.default ExpireSessionResponse
expireSession
(Consumer<ExpireSessionRequest.Builder> expireSessionRequest) Immediately stops the specified streaming session.default ExpireSessionResponse
expireSession
(ExpireSessionRequest expireSessionRequest) Immediately stops the specified streaming session.default ListAssociatedFleetsResponse
listAssociatedFleets
(Consumer<ListAssociatedFleetsRequest.Builder> listAssociatedFleetsRequest) Retrieves the name of the fleet that is associated with the specified stack.default ListAssociatedFleetsResponse
listAssociatedFleets
(ListAssociatedFleetsRequest listAssociatedFleetsRequest) Retrieves the name of the fleet that is associated with the specified stack.default ListAssociatedStacksResponse
listAssociatedStacks
(Consumer<ListAssociatedStacksRequest.Builder> listAssociatedStacksRequest) Retrieves the name of the stack with which the specified fleet is associated.default ListAssociatedStacksResponse
listAssociatedStacks
(ListAssociatedStacksRequest listAssociatedStacksRequest) Retrieves the name of the stack with which the specified fleet is associated.default ListEntitledApplicationsResponse
listEntitledApplications
(Consumer<ListEntitledApplicationsRequest.Builder> listEntitledApplicationsRequest) Retrieves a list of entitled applications.default ListEntitledApplicationsResponse
listEntitledApplications
(ListEntitledApplicationsRequest listEntitledApplicationsRequest) Retrieves a list of entitled applications.default ListTagsForResourceResponse
listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Retrieves a list of all tags for the specified AppStream 2.0 resource.default ListTagsForResourceResponse
listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Retrieves a list of all tags for the specified AppStream 2.0 resource.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadata
default StartAppBlockBuilderResponse
startAppBlockBuilder
(Consumer<StartAppBlockBuilderRequest.Builder> startAppBlockBuilderRequest) Starts an app block builder.default StartAppBlockBuilderResponse
startAppBlockBuilder
(StartAppBlockBuilderRequest startAppBlockBuilderRequest) Starts an app block builder.default StartFleetResponse
startFleet
(Consumer<StartFleetRequest.Builder> startFleetRequest) Starts the specified fleet.default StartFleetResponse
startFleet
(StartFleetRequest startFleetRequest) Starts the specified fleet.default StartImageBuilderResponse
startImageBuilder
(Consumer<StartImageBuilderRequest.Builder> startImageBuilderRequest) Starts the specified image builder.default StartImageBuilderResponse
startImageBuilder
(StartImageBuilderRequest startImageBuilderRequest) Starts the specified image builder.default StopAppBlockBuilderResponse
stopAppBlockBuilder
(Consumer<StopAppBlockBuilderRequest.Builder> stopAppBlockBuilderRequest) Stops an app block builder.default StopAppBlockBuilderResponse
stopAppBlockBuilder
(StopAppBlockBuilderRequest stopAppBlockBuilderRequest) Stops an app block builder.default StopFleetResponse
stopFleet
(Consumer<StopFleetRequest.Builder> stopFleetRequest) Stops the specified fleet.default StopFleetResponse
stopFleet
(StopFleetRequest stopFleetRequest) Stops the specified fleet.default StopImageBuilderResponse
stopImageBuilder
(Consumer<StopImageBuilderRequest.Builder> stopImageBuilderRequest) Stops the specified image builder.default StopImageBuilderResponse
stopImageBuilder
(StopImageBuilderRequest stopImageBuilderRequest) Stops the specified image builder.default TagResourceResponse
tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds or overwrites one or more tags for the specified AppStream 2.0 resource.default TagResourceResponse
tagResource
(TagResourceRequest tagResourceRequest) Adds or overwrites one or more tags for the specified AppStream 2.0 resource.default UntagResourceResponse
untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Disassociates one or more specified tags from the specified AppStream 2.0 resource.default UntagResourceResponse
untagResource
(UntagResourceRequest untagResourceRequest) Disassociates one or more specified tags from the specified AppStream 2.0 resource.default UpdateAppBlockBuilderResponse
updateAppBlockBuilder
(Consumer<UpdateAppBlockBuilderRequest.Builder> updateAppBlockBuilderRequest) Updates an app block builder.default UpdateAppBlockBuilderResponse
updateAppBlockBuilder
(UpdateAppBlockBuilderRequest updateAppBlockBuilderRequest) Updates an app block builder.default UpdateApplicationResponse
updateApplication
(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest) Updates the specified application.default UpdateApplicationResponse
updateApplication
(UpdateApplicationRequest updateApplicationRequest) Updates the specified application.default UpdateDirectoryConfigResponse
updateDirectoryConfig
(Consumer<UpdateDirectoryConfigRequest.Builder> updateDirectoryConfigRequest) Updates the specified Directory Config object in AppStream 2.0.default UpdateDirectoryConfigResponse
updateDirectoryConfig
(UpdateDirectoryConfigRequest updateDirectoryConfigRequest) Updates the specified Directory Config object in AppStream 2.0.default UpdateEntitlementResponse
updateEntitlement
(Consumer<UpdateEntitlementRequest.Builder> updateEntitlementRequest) Updates the specified entitlement.default UpdateEntitlementResponse
updateEntitlement
(UpdateEntitlementRequest updateEntitlementRequest) Updates the specified entitlement.default UpdateFleetResponse
updateFleet
(Consumer<UpdateFleetRequest.Builder> updateFleetRequest) Updates the specified fleet.default UpdateFleetResponse
updateFleet
(UpdateFleetRequest updateFleetRequest) Updates the specified fleet.default UpdateImagePermissionsResponse
updateImagePermissions
(Consumer<UpdateImagePermissionsRequest.Builder> updateImagePermissionsRequest) Adds or updates permissions for the specified private image.default UpdateImagePermissionsResponse
updateImagePermissions
(UpdateImagePermissionsRequest updateImagePermissionsRequest) Adds or updates permissions for the specified private image.default UpdateStackResponse
updateStack
(Consumer<UpdateStackRequest.Builder> updateStackRequest) Updates the specified fields for the specified stack.default UpdateStackResponse
updateStack
(UpdateStackRequest updateStackRequest) Updates the specified fields for the specified stack.default AppStreamWaiter
waiter()
Create an instance ofAppStreamWaiter
using this client.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
associateAppBlockBuilderAppBlock
default AssociateAppBlockBuilderAppBlockResponse associateAppBlockBuilderAppBlock(AssociateAppBlockBuilderAppBlockRequest associateAppBlockBuilderAppBlockRequest) throws ConcurrentModificationException, LimitExceededException, ResourceNotFoundException, InvalidParameterCombinationException, OperationNotPermittedException, AwsServiceException, SdkClientException, AppStreamException Associates the specified app block builder with the specified app block.
- Parameters:
associateAppBlockBuilderAppBlockRequest
-- Returns:
- Result of the AssociateAppBlockBuilderAppBlock operation returned by the service.
- See Also:
-
associateAppBlockBuilderAppBlock
default AssociateAppBlockBuilderAppBlockResponse associateAppBlockBuilderAppBlock(Consumer<AssociateAppBlockBuilderAppBlockRequest.Builder> associateAppBlockBuilderAppBlockRequest) throws ConcurrentModificationException, LimitExceededException, ResourceNotFoundException, InvalidParameterCombinationException, OperationNotPermittedException, AwsServiceException, SdkClientException, AppStreamException Associates the specified app block builder with the specified app block.
This is a convenience which creates an instance of the
AssociateAppBlockBuilderAppBlockRequest.Builder
avoiding the need to create one manually viaAssociateAppBlockBuilderAppBlockRequest.builder()
- Parameters:
associateAppBlockBuilderAppBlockRequest
- AConsumer
that will call methods onAssociateAppBlockBuilderAppBlockRequest.Builder
to create a request.- Returns:
- Result of the AssociateAppBlockBuilderAppBlock operation returned by the service.
- See Also:
-
associateApplicationFleet
default AssociateApplicationFleetResponse associateApplicationFleet(AssociateApplicationFleetRequest associateApplicationFleetRequest) throws ConcurrentModificationException, LimitExceededException, ResourceNotFoundException, InvalidParameterCombinationException, OperationNotPermittedException, AwsServiceException, SdkClientException, AppStreamException Associates the specified application with the specified fleet. This is only supported for Elastic fleets.
- Parameters:
associateApplicationFleetRequest
-- Returns:
- Result of the AssociateApplicationFleet operation returned by the service.
- See Also:
-
associateApplicationFleet
default AssociateApplicationFleetResponse associateApplicationFleet(Consumer<AssociateApplicationFleetRequest.Builder> associateApplicationFleetRequest) throws ConcurrentModificationException, LimitExceededException, ResourceNotFoundException, InvalidParameterCombinationException, OperationNotPermittedException, AwsServiceException, SdkClientException, AppStreamException Associates the specified application with the specified fleet. This is only supported for Elastic fleets.
This is a convenience which creates an instance of the
AssociateApplicationFleetRequest.Builder
avoiding the need to create one manually viaAssociateApplicationFleetRequest.builder()
- Parameters:
associateApplicationFleetRequest
- AConsumer
that will call methods onAssociateApplicationFleetRequest.Builder
to create a request.- Returns:
- Result of the AssociateApplicationFleet operation returned by the service.
- See Also:
-
associateApplicationToEntitlement
default AssociateApplicationToEntitlementResponse associateApplicationToEntitlement(AssociateApplicationToEntitlementRequest associateApplicationToEntitlementRequest) throws OperationNotPermittedException, ResourceNotFoundException, EntitlementNotFoundException, LimitExceededException, AwsServiceException, SdkClientException, AppStreamException Associates an application to entitle.
- Parameters:
associateApplicationToEntitlementRequest
-- Returns:
- Result of the AssociateApplicationToEntitlement operation returned by the service.
- See Also:
-
associateApplicationToEntitlement
default AssociateApplicationToEntitlementResponse associateApplicationToEntitlement(Consumer<AssociateApplicationToEntitlementRequest.Builder> associateApplicationToEntitlementRequest) throws OperationNotPermittedException, ResourceNotFoundException, EntitlementNotFoundException, LimitExceededException, AwsServiceException, SdkClientException, AppStreamException Associates an application to entitle.
This is a convenience which creates an instance of the
AssociateApplicationToEntitlementRequest.Builder
avoiding the need to create one manually viaAssociateApplicationToEntitlementRequest.builder()
- Parameters:
associateApplicationToEntitlementRequest
- AConsumer
that will call methods onAssociateApplicationToEntitlementRequest.Builder
to create a request.- Returns:
- Result of the AssociateApplicationToEntitlement operation returned by the service.
- See Also:
-
associateFleet
default AssociateFleetResponse associateFleet(AssociateFleetRequest associateFleetRequest) throws LimitExceededException, InvalidAccountStatusException, ResourceNotFoundException, ConcurrentModificationException, IncompatibleImageException, OperationNotPermittedException, AwsServiceException, SdkClientException, AppStreamException Associates the specified fleet with the specified stack.
- Parameters:
associateFleetRequest
-- Returns:
- Result of the AssociateFleet operation returned by the service.
- See Also:
-
associateFleet
default AssociateFleetResponse associateFleet(Consumer<AssociateFleetRequest.Builder> associateFleetRequest) throws LimitExceededException, InvalidAccountStatusException, ResourceNotFoundException, ConcurrentModificationException, IncompatibleImageException, OperationNotPermittedException, AwsServiceException, SdkClientException, AppStreamException Associates the specified fleet with the specified stack.
This is a convenience which creates an instance of the
AssociateFleetRequest.Builder
avoiding the need to create one manually viaAssociateFleetRequest.builder()
- Parameters:
associateFleetRequest
- AConsumer
that will call methods onAssociateFleetRequest.Builder
to create a request.- Returns:
- Result of the AssociateFleet operation returned by the service.
- See Also:
-
batchAssociateUserStack
default BatchAssociateUserStackResponse batchAssociateUserStack(BatchAssociateUserStackRequest batchAssociateUserStackRequest) throws OperationNotPermittedException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, AppStreamException 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.
- Parameters:
batchAssociateUserStackRequest
-- Returns:
- Result of the BatchAssociateUserStack operation returned by the service.
- See Also:
-
batchAssociateUserStack
default BatchAssociateUserStackResponse batchAssociateUserStack(Consumer<BatchAssociateUserStackRequest.Builder> batchAssociateUserStackRequest) throws OperationNotPermittedException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, AppStreamException 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.
This is a convenience which creates an instance of the
BatchAssociateUserStackRequest.Builder
avoiding the need to create one manually viaBatchAssociateUserStackRequest.builder()
- Parameters:
batchAssociateUserStackRequest
- AConsumer
that will call methods onBatchAssociateUserStackRequest.Builder
to create a request.- Returns:
- Result of the BatchAssociateUserStack operation returned by the service.
- See Also:
-
batchDisassociateUserStack
default BatchDisassociateUserStackResponse batchDisassociateUserStack(BatchDisassociateUserStackRequest batchDisassociateUserStackRequest) throws OperationNotPermittedException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, AppStreamException Disassociates the specified users from the specified stacks.
- Parameters:
batchDisassociateUserStackRequest
-- Returns:
- Result of the BatchDisassociateUserStack operation returned by the service.
- See Also:
-
batchDisassociateUserStack
default BatchDisassociateUserStackResponse batchDisassociateUserStack(Consumer<BatchDisassociateUserStackRequest.Builder> batchDisassociateUserStackRequest) throws OperationNotPermittedException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, AppStreamException Disassociates the specified users from the specified stacks.
This is a convenience which creates an instance of the
BatchDisassociateUserStackRequest.Builder
avoiding the need to create one manually viaBatchDisassociateUserStackRequest.builder()
- Parameters:
batchDisassociateUserStackRequest
- AConsumer
that will call methods onBatchDisassociateUserStackRequest.Builder
to create a request.- Returns:
- Result of the BatchDisassociateUserStack operation returned by the service.
- See Also:
-
copyImage
default CopyImageResponse copyImage(CopyImageRequest copyImageRequest) throws ResourceAlreadyExistsException, ResourceNotFoundException, ResourceNotAvailableException, LimitExceededException, InvalidAccountStatusException, IncompatibleImageException, AwsServiceException, SdkClientException, AppStreamException 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.
- Parameters:
copyImageRequest
-- Returns:
- Result of the CopyImage operation returned by the service.
- See Also:
-
copyImage
default CopyImageResponse copyImage(Consumer<CopyImageRequest.Builder> copyImageRequest) throws ResourceAlreadyExistsException, ResourceNotFoundException, ResourceNotAvailableException, LimitExceededException, InvalidAccountStatusException, IncompatibleImageException, AwsServiceException, SdkClientException, AppStreamException 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.
This is a convenience which creates an instance of the
CopyImageRequest.Builder
avoiding the need to create one manually viaCopyImageRequest.builder()
- Parameters:
copyImageRequest
- AConsumer
that will call methods onCopyImageRequest.Builder
to create a request.- Returns:
- Result of the CopyImage operation returned by the service.
- See Also:
-
createAppBlock
default CreateAppBlockResponse createAppBlock(CreateAppBlockRequest createAppBlockRequest) throws ConcurrentModificationException, LimitExceededException, OperationNotPermittedException, ResourceAlreadyExistsException, AwsServiceException, SdkClientException, AppStreamException Creates an app block.
App blocks are an Amazon AppStream 2.0 resource that stores the details about the virtual hard disk in an S3 bucket. It also stores the setup script with details about how to mount the virtual hard disk. The virtual hard disk includes the application binaries and other files necessary to launch your applications. Multiple applications can be assigned to a single app block.
This is only supported for Elastic fleets.
- Parameters:
createAppBlockRequest
-- Returns:
- Result of the CreateAppBlock operation returned by the service.
- See Also:
-
createAppBlock
default CreateAppBlockResponse createAppBlock(Consumer<CreateAppBlockRequest.Builder> createAppBlockRequest) throws ConcurrentModificationException, LimitExceededException, OperationNotPermittedException, ResourceAlreadyExistsException, AwsServiceException, SdkClientException, AppStreamException Creates an app block.
App blocks are an Amazon AppStream 2.0 resource that stores the details about the virtual hard disk in an S3 bucket. It also stores the setup script with details about how to mount the virtual hard disk. The virtual hard disk includes the application binaries and other files necessary to launch your applications. Multiple applications can be assigned to a single app block.
This is only supported for Elastic fleets.
This is a convenience which creates an instance of the
CreateAppBlockRequest.Builder
avoiding the need to create one manually viaCreateAppBlockRequest.builder()
- Parameters:
createAppBlockRequest
- AConsumer
that will call methods onCreateAppBlockRequest.Builder
to create a request.- Returns:
- Result of the CreateAppBlock operation returned by the service.
- See Also:
-
createAppBlockBuilder
default CreateAppBlockBuilderResponse createAppBlockBuilder(CreateAppBlockBuilderRequest createAppBlockBuilderRequest) throws LimitExceededException, RequestLimitExceededException, InvalidAccountStatusException, InvalidRoleException, ConcurrentModificationException, OperationNotPermittedException, ResourceAlreadyExistsException, ResourceNotAvailableException, ResourceNotFoundException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, AppStreamException Creates an app block builder.
- Parameters:
createAppBlockBuilderRequest
-- Returns:
- Result of the CreateAppBlockBuilder operation returned by the service.
- See Also:
-
createAppBlockBuilder
default CreateAppBlockBuilderResponse createAppBlockBuilder(Consumer<CreateAppBlockBuilderRequest.Builder> createAppBlockBuilderRequest) throws LimitExceededException, RequestLimitExceededException, InvalidAccountStatusException, InvalidRoleException, ConcurrentModificationException, OperationNotPermittedException, ResourceAlreadyExistsException, ResourceNotAvailableException, ResourceNotFoundException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, AppStreamException Creates an app block builder.
This is a convenience which creates an instance of the
CreateAppBlockBuilderRequest.Builder
avoiding the need to create one manually viaCreateAppBlockBuilderRequest.builder()
- Parameters:
createAppBlockBuilderRequest
- AConsumer
that will call methods onCreateAppBlockBuilderRequest.Builder
to create a request.- Returns:
- Result of the CreateAppBlockBuilder operation returned by the service.
- See Also:
-
createAppBlockBuilderStreamingURL
default CreateAppBlockBuilderStreamingUrlResponse createAppBlockBuilderStreamingURL(CreateAppBlockBuilderStreamingUrlRequest createAppBlockBuilderStreamingUrlRequest) throws ResourceNotFoundException, OperationNotPermittedException, AwsServiceException, SdkClientException, AppStreamException Creates a URL to start a create app block builder streaming session.
- Parameters:
createAppBlockBuilderStreamingUrlRequest
-- Returns:
- Result of the CreateAppBlockBuilderStreamingURL operation returned by the service.
- See Also:
-
createAppBlockBuilderStreamingURL
default CreateAppBlockBuilderStreamingUrlResponse createAppBlockBuilderStreamingURL(Consumer<CreateAppBlockBuilderStreamingUrlRequest.Builder> createAppBlockBuilderStreamingUrlRequest) throws ResourceNotFoundException, OperationNotPermittedException, AwsServiceException, SdkClientException, AppStreamException Creates a URL to start a create app block builder streaming session.
This is a convenience which creates an instance of the
CreateAppBlockBuilderStreamingUrlRequest.Builder
avoiding the need to create one manually viaCreateAppBlockBuilderStreamingUrlRequest.builder()
- Parameters:
createAppBlockBuilderStreamingUrlRequest
- AConsumer
that will call methods onCreateAppBlockBuilderStreamingUrlRequest.Builder
to create a request.- Returns:
- Result of the CreateAppBlockBuilderStreamingURL operation returned by the service.
- See Also:
-
createApplication
default CreateApplicationResponse createApplication(CreateApplicationRequest createApplicationRequest) throws OperationNotPermittedException, ResourceAlreadyExistsException, LimitExceededException, ConcurrentModificationException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException Creates an application.
Applications are an Amazon AppStream 2.0 resource that stores the details about how to launch applications on Elastic fleet streaming instances. An application consists of the launch details, icon, and display name. Applications are associated with an app block that contains the application binaries and other files. The applications assigned to an Elastic fleet are the applications users can launch.
This is only supported for Elastic fleets.
- Parameters:
createApplicationRequest
-- Returns:
- Result of the CreateApplication operation returned by the service.
- See Also:
-
createApplication
default CreateApplicationResponse createApplication(Consumer<CreateApplicationRequest.Builder> createApplicationRequest) throws OperationNotPermittedException, ResourceAlreadyExistsException, LimitExceededException, ConcurrentModificationException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException Creates an application.
Applications are an Amazon AppStream 2.0 resource that stores the details about how to launch applications on Elastic fleet streaming instances. An application consists of the launch details, icon, and display name. Applications are associated with an app block that contains the application binaries and other files. The applications assigned to an Elastic fleet are the applications users can launch.
This is only supported for Elastic fleets.
This is a convenience which creates an instance of the
CreateApplicationRequest.Builder
avoiding the need to create one manually viaCreateApplicationRequest.builder()
- Parameters:
createApplicationRequest
- AConsumer
that will call methods onCreateApplicationRequest.Builder
to create a request.- Returns:
- Result of the CreateApplication operation returned by the service.
- See Also:
-
createDirectoryConfig
default CreateDirectoryConfigResponse createDirectoryConfig(CreateDirectoryConfigRequest createDirectoryConfigRequest) throws ResourceNotFoundException, ResourceAlreadyExistsException, LimitExceededException, InvalidAccountStatusException, OperationNotPermittedException, InvalidRoleException, AwsServiceException, SdkClientException, AppStreamException 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.
- Parameters:
createDirectoryConfigRequest
-- Returns:
- Result of the CreateDirectoryConfig operation returned by the service.
- See Also:
-
createDirectoryConfig
default CreateDirectoryConfigResponse createDirectoryConfig(Consumer<CreateDirectoryConfigRequest.Builder> createDirectoryConfigRequest) throws ResourceNotFoundException, ResourceAlreadyExistsException, LimitExceededException, InvalidAccountStatusException, OperationNotPermittedException, InvalidRoleException, AwsServiceException, SdkClientException, AppStreamException 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.
This is a convenience which creates an instance of the
CreateDirectoryConfigRequest.Builder
avoiding the need to create one manually viaCreateDirectoryConfigRequest.builder()
- Parameters:
createDirectoryConfigRequest
- AConsumer
that will call methods onCreateDirectoryConfigRequest.Builder
to create a request.- Returns:
- Result of the CreateDirectoryConfig operation returned by the service.
- See Also:
-
createEntitlement
default CreateEntitlementResponse createEntitlement(CreateEntitlementRequest createEntitlementRequest) throws OperationNotPermittedException, ResourceNotFoundException, LimitExceededException, EntitlementAlreadyExistsException, AwsServiceException, SdkClientException, AppStreamException 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.
- Parameters:
createEntitlementRequest
-- Returns:
- Result of the CreateEntitlement operation returned by the service.
- See Also:
-
createEntitlement
default CreateEntitlementResponse createEntitlement(Consumer<CreateEntitlementRequest.Builder> createEntitlementRequest) throws OperationNotPermittedException, ResourceNotFoundException, LimitExceededException, EntitlementAlreadyExistsException, AwsServiceException, SdkClientException, AppStreamException 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.
This is a convenience which creates an instance of the
CreateEntitlementRequest.Builder
avoiding the need to create one manually viaCreateEntitlementRequest.builder()
- Parameters:
createEntitlementRequest
- AConsumer
that will call methods onCreateEntitlementRequest.Builder
to create a request.- Returns:
- Result of the CreateEntitlement operation returned by the service.
- See Also:
-
createFleet
default CreateFleetResponse createFleet(CreateFleetRequest createFleetRequest) throws ResourceAlreadyExistsException, ResourceNotAvailableException, ResourceNotFoundException, LimitExceededException, RequestLimitExceededException, InvalidAccountStatusException, InvalidRoleException, ConcurrentModificationException, InvalidParameterCombinationException, IncompatibleImageException, OperationNotPermittedException, AwsServiceException, SdkClientException, AppStreamException Creates a fleet. A fleet consists of streaming instances that your users access for their applications and desktops.
- Parameters:
createFleetRequest
-- Returns:
- Result of the CreateFleet operation returned by the service.
- See Also:
-
createFleet
default CreateFleetResponse createFleet(Consumer<CreateFleetRequest.Builder> createFleetRequest) throws ResourceAlreadyExistsException, ResourceNotAvailableException, ResourceNotFoundException, LimitExceededException, RequestLimitExceededException, InvalidAccountStatusException, InvalidRoleException, ConcurrentModificationException, InvalidParameterCombinationException, IncompatibleImageException, OperationNotPermittedException, AwsServiceException, SdkClientException, AppStreamException Creates a fleet. A fleet consists of streaming instances that your users access for their applications and desktops.
This is a convenience which creates an instance of the
CreateFleetRequest.Builder
avoiding the need to create one manually viaCreateFleetRequest.builder()
- Parameters:
createFleetRequest
- AConsumer
that will call methods onCreateFleetRequest.Builder
to create a request.- Returns:
- Result of the CreateFleet operation returned by the service.
- See Also:
-
createImageBuilder
default CreateImageBuilderResponse createImageBuilder(CreateImageBuilderRequest createImageBuilderRequest) throws LimitExceededException, RequestLimitExceededException, InvalidAccountStatusException, ResourceAlreadyExistsException, ResourceNotAvailableException, ResourceNotFoundException, InvalidRoleException, ConcurrentModificationException, InvalidParameterCombinationException, IncompatibleImageException, OperationNotPermittedException, AwsServiceException, SdkClientException, AppStreamException 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 isRUNNING
.- Parameters:
createImageBuilderRequest
-- Returns:
- Result of the CreateImageBuilder operation returned by the service.
- See Also:
-
createImageBuilder
default CreateImageBuilderResponse createImageBuilder(Consumer<CreateImageBuilderRequest.Builder> createImageBuilderRequest) throws LimitExceededException, RequestLimitExceededException, InvalidAccountStatusException, ResourceAlreadyExistsException, ResourceNotAvailableException, ResourceNotFoundException, InvalidRoleException, ConcurrentModificationException, InvalidParameterCombinationException, IncompatibleImageException, OperationNotPermittedException, AwsServiceException, SdkClientException, AppStreamException 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 isRUNNING
.
This is a convenience which creates an instance of the
CreateImageBuilderRequest.Builder
avoiding the need to create one manually viaCreateImageBuilderRequest.builder()
- Parameters:
createImageBuilderRequest
- AConsumer
that will call methods onCreateImageBuilderRequest.Builder
to create a request.- Returns:
- Result of the CreateImageBuilder operation returned by the service.
- See Also:
-
createImageBuilderStreamingURL
default CreateImageBuilderStreamingUrlResponse createImageBuilderStreamingURL(CreateImageBuilderStreamingUrlRequest createImageBuilderStreamingUrlRequest) throws OperationNotPermittedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException Creates a URL to start an image builder streaming session.
- Parameters:
createImageBuilderStreamingUrlRequest
-- Returns:
- Result of the CreateImageBuilderStreamingURL operation returned by the service.
- See Also:
-
createImageBuilderStreamingURL
default CreateImageBuilderStreamingUrlResponse createImageBuilderStreamingURL(Consumer<CreateImageBuilderStreamingUrlRequest.Builder> createImageBuilderStreamingUrlRequest) throws OperationNotPermittedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException Creates a URL to start an image builder streaming session.
This is a convenience which creates an instance of the
CreateImageBuilderStreamingUrlRequest.Builder
avoiding the need to create one manually viaCreateImageBuilderStreamingUrlRequest.builder()
- Parameters:
createImageBuilderStreamingUrlRequest
- AConsumer
that will call methods onCreateImageBuilderStreamingUrlRequest.Builder
to create a request.- Returns:
- Result of the CreateImageBuilderStreamingURL operation returned by the service.
- See Also:
-
createStack
default CreateStackResponse createStack(CreateStackRequest createStackRequest) throws LimitExceededException, InvalidAccountStatusException, ResourceAlreadyExistsException, ConcurrentModificationException, InvalidRoleException, ResourceNotFoundException, InvalidParameterCombinationException, OperationNotPermittedException, AwsServiceException, SdkClientException, AppStreamException Creates a stack to start streaming applications to users. A stack consists of an associated fleet, user access policies, and storage configurations.
- Parameters:
createStackRequest
-- Returns:
- Result of the CreateStack operation returned by the service.
- See Also:
-
createStack
default CreateStackResponse createStack(Consumer<CreateStackRequest.Builder> createStackRequest) throws LimitExceededException, InvalidAccountStatusException, ResourceAlreadyExistsException, ConcurrentModificationException, InvalidRoleException, ResourceNotFoundException, InvalidParameterCombinationException, OperationNotPermittedException, AwsServiceException, SdkClientException, AppStreamException Creates a stack to start streaming applications to users. A stack consists of an associated fleet, user access policies, and storage configurations.
This is a convenience which creates an instance of the
CreateStackRequest.Builder
avoiding the need to create one manually viaCreateStackRequest.builder()
- Parameters:
createStackRequest
- AConsumer
that will call methods onCreateStackRequest.Builder
to create a request.- Returns:
- Result of the CreateStack operation returned by the service.
- See Also:
-
createStreamingURL
default CreateStreamingUrlResponse createStreamingURL(CreateStreamingUrlRequest createStreamingUrlRequest) throws ResourceNotFoundException, ResourceNotAvailableException, OperationNotPermittedException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, AppStreamException 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.
- Parameters:
createStreamingUrlRequest
-- Returns:
- Result of the CreateStreamingURL operation returned by the service.
- See Also:
-
createStreamingURL
default CreateStreamingUrlResponse createStreamingURL(Consumer<CreateStreamingUrlRequest.Builder> createStreamingUrlRequest) throws ResourceNotFoundException, ResourceNotAvailableException, OperationNotPermittedException, InvalidParameterCombinationException, AwsServiceException, SdkClientException, AppStreamException 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.
This is a convenience which creates an instance of the
CreateStreamingUrlRequest.Builder
avoiding the need to create one manually viaCreateStreamingUrlRequest.builder()
- Parameters:
createStreamingUrlRequest
- AConsumer
that will call methods onCreateStreamingUrlRequest.Builder
to create a request.- Returns:
- Result of the CreateStreamingURL operation returned by the service.
- See Also:
-
createUpdatedImage
default CreateUpdatedImageResponse createUpdatedImage(CreateUpdatedImageRequest createUpdatedImageRequest) throws LimitExceededException, InvalidAccountStatusException, OperationNotPermittedException, ResourceAlreadyExistsException, ResourceNotFoundException, ConcurrentModificationException, IncompatibleImageException, AwsServiceException, SdkClientException, AppStreamException Creates a new image with the latest Windows operating system updates, driver updates, and AppStream 2.0 agent software.
For more information, see the "Update an Image by Using Managed AppStream 2.0 Image Updates" section in Administer Your AppStream 2.0 Images, in the Amazon AppStream 2.0 Administration Guide.
- Parameters:
createUpdatedImageRequest
-- Returns:
- Result of the CreateUpdatedImage operation returned by the service.
- See Also:
-
createUpdatedImage
default CreateUpdatedImageResponse createUpdatedImage(Consumer<CreateUpdatedImageRequest.Builder> createUpdatedImageRequest) throws LimitExceededException, InvalidAccountStatusException, OperationNotPermittedException, ResourceAlreadyExistsException, ResourceNotFoundException, ConcurrentModificationException, IncompatibleImageException, AwsServiceException, SdkClientException, AppStreamException Creates a new image with the latest Windows operating system updates, driver updates, and AppStream 2.0 agent software.
For more information, see the "Update an Image by Using Managed AppStream 2.0 Image Updates" section in Administer Your AppStream 2.0 Images, in the Amazon AppStream 2.0 Administration Guide.
This is a convenience which creates an instance of the
CreateUpdatedImageRequest.Builder
avoiding the need to create one manually viaCreateUpdatedImageRequest.builder()
- Parameters:
createUpdatedImageRequest
- AConsumer
that will call methods onCreateUpdatedImageRequest.Builder
to create a request.- Returns:
- Result of the CreateUpdatedImage operation returned by the service.
- See Also:
-
createUsageReportSubscription
default CreateUsageReportSubscriptionResponse createUsageReportSubscription(CreateUsageReportSubscriptionRequest createUsageReportSubscriptionRequest) throws InvalidRoleException, InvalidAccountStatusException, LimitExceededException, AwsServiceException, SdkClientException, AppStreamException Creates a usage report subscription. Usage reports are generated daily.
- Parameters:
createUsageReportSubscriptionRequest
-- Returns:
- Result of the CreateUsageReportSubscription operation returned by the service.
- See Also:
-
createUsageReportSubscription
default CreateUsageReportSubscriptionResponse createUsageReportSubscription(Consumer<CreateUsageReportSubscriptionRequest.Builder> createUsageReportSubscriptionRequest) throws InvalidRoleException, InvalidAccountStatusException, LimitExceededException, AwsServiceException, SdkClientException, AppStreamException Creates a usage report subscription. Usage reports are generated daily.
This is a convenience which creates an instance of the
CreateUsageReportSubscriptionRequest.Builder
avoiding the need to create one manually viaCreateUsageReportSubscriptionRequest.builder()
- Parameters:
createUsageReportSubscriptionRequest
- AConsumer
that will call methods onCreateUsageReportSubscriptionRequest.Builder
to create a request.- Returns:
- Result of the CreateUsageReportSubscription operation returned by the service.
- See Also:
-
createUser
default CreateUserResponse createUser(CreateUserRequest createUserRequest) throws ResourceAlreadyExistsException, InvalidAccountStatusException, InvalidParameterCombinationException, LimitExceededException, OperationNotPermittedException, AwsServiceException, SdkClientException, AppStreamException Creates a new user in the user pool.
- Parameters:
createUserRequest
-- Returns:
- Result of the CreateUser operation returned by the service.
- See Also:
-
createUser
default CreateUserResponse createUser(Consumer<CreateUserRequest.Builder> createUserRequest) throws ResourceAlreadyExistsException, InvalidAccountStatusException, InvalidParameterCombinationException, LimitExceededException, OperationNotPermittedException, AwsServiceException, SdkClientException, AppStreamException Creates a new user in the user pool.
This is a convenience which creates an instance of the
CreateUserRequest.Builder
avoiding the need to create one manually viaCreateUserRequest.builder()
- Parameters:
createUserRequest
- AConsumer
that will call methods onCreateUserRequest.Builder
to create a request.- Returns:
- Result of the CreateUser operation returned by the service.
- See Also:
-
deleteAppBlock
default DeleteAppBlockResponse deleteAppBlock(DeleteAppBlockRequest deleteAppBlockRequest) throws ConcurrentModificationException, ResourceInUseException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException Deletes an app block.
- Parameters:
deleteAppBlockRequest
-- Returns:
- Result of the DeleteAppBlock operation returned by the service.
- See Also:
-
deleteAppBlock
default DeleteAppBlockResponse deleteAppBlock(Consumer<DeleteAppBlockRequest.Builder> deleteAppBlockRequest) throws ConcurrentModificationException, ResourceInUseException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException Deletes an app block.
This is a convenience which creates an instance of the
DeleteAppBlockRequest.Builder
avoiding the need to create one manually viaDeleteAppBlockRequest.builder()
- Parameters:
deleteAppBlockRequest
- AConsumer
that will call methods onDeleteAppBlockRequest.Builder
to create a request.- Returns:
- Result of the DeleteAppBlock operation returned by the service.
- See Also:
-
deleteAppBlockBuilder
default DeleteAppBlockBuilderResponse deleteAppBlockBuilder(DeleteAppBlockBuilderRequest deleteAppBlockBuilderRequest) throws OperationNotPermittedException, ConcurrentModificationException, ResourceInUseException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException Deletes an app block builder.
An app block builder can only be deleted when it has no association with an app block.
- Parameters:
deleteAppBlockBuilderRequest
-- Returns:
- Result of the DeleteAppBlockBuilder operation returned by the service.
- See Also:
-
deleteAppBlockBuilder
default DeleteAppBlockBuilderResponse deleteAppBlockBuilder(Consumer<DeleteAppBlockBuilderRequest.Builder> deleteAppBlockBuilderRequest) throws OperationNotPermittedException, ConcurrentModificationException, ResourceInUseException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException Deletes an app block builder.
An app block builder can only be deleted when it has no association with an app block.
This is a convenience which creates an instance of the
DeleteAppBlockBuilderRequest.Builder
avoiding the need to create one manually viaDeleteAppBlockBuilderRequest.builder()
- Parameters:
deleteAppBlockBuilderRequest
- AConsumer
that will call methods onDeleteAppBlockBuilderRequest.Builder
to create a request.- Returns:
- Result of the DeleteAppBlockBuilder operation returned by the service.
- See Also:
-
deleteApplication
default DeleteApplicationResponse deleteApplication(DeleteApplicationRequest deleteApplicationRequest) throws OperationNotPermittedException, ResourceInUseException, ResourceNotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException Deletes an application.
- Parameters:
deleteApplicationRequest
-- Returns:
- Result of the DeleteApplication operation returned by the service.
- See Also:
-
deleteApplication
default DeleteApplicationResponse deleteApplication(Consumer<DeleteApplicationRequest.Builder> deleteApplicationRequest) throws OperationNotPermittedException, ResourceInUseException, ResourceNotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException Deletes an application.
This is a convenience which creates an instance of the
DeleteApplicationRequest.Builder
avoiding the need to create one manually viaDeleteApplicationRequest.builder()
- Parameters:
deleteApplicationRequest
- AConsumer
that will call methods onDeleteApplicationRequest.Builder
to create a request.- Returns:
- Result of the DeleteApplication operation returned by the service.
- See Also:
-
deleteDirectoryConfig
default DeleteDirectoryConfigResponse deleteDirectoryConfig(DeleteDirectoryConfigRequest deleteDirectoryConfigRequest) throws ResourceInUseException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException 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.
- Parameters:
deleteDirectoryConfigRequest
-- Returns:
- Result of the DeleteDirectoryConfig operation returned by the service.
- See Also:
-
deleteDirectoryConfig
default DeleteDirectoryConfigResponse deleteDirectoryConfig(Consumer<DeleteDirectoryConfigRequest.Builder> deleteDirectoryConfigRequest) throws ResourceInUseException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException 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.
This is a convenience which creates an instance of the
DeleteDirectoryConfigRequest.Builder
avoiding the need to create one manually viaDeleteDirectoryConfigRequest.builder()
- Parameters:
deleteDirectoryConfigRequest
- AConsumer
that will call methods onDeleteDirectoryConfigRequest.Builder
to create a request.- Returns:
- Result of the DeleteDirectoryConfig operation returned by the service.
- See Also:
-
deleteEntitlement
default DeleteEntitlementResponse deleteEntitlement(DeleteEntitlementRequest deleteEntitlementRequest) throws OperationNotPermittedException, ResourceNotFoundException, EntitlementNotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException Deletes the specified entitlement.
- Parameters:
deleteEntitlementRequest
-- Returns:
- Result of the DeleteEntitlement operation returned by the service.
- See Also:
-
deleteEntitlement
default DeleteEntitlementResponse deleteEntitlement(Consumer<DeleteEntitlementRequest.Builder> deleteEntitlementRequest) throws OperationNotPermittedException, ResourceNotFoundException, EntitlementNotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException Deletes the specified entitlement.
This is a convenience which creates an instance of the
DeleteEntitlementRequest.Builder
avoiding the need to create one manually viaDeleteEntitlementRequest.builder()
- Parameters:
deleteEntitlementRequest
- AConsumer
that will call methods onDeleteEntitlementRequest.Builder
to create a request.- Returns:
- Result of the DeleteEntitlement operation returned by the service.
- See Also:
-
deleteFleet
default DeleteFleetResponse deleteFleet(DeleteFleetRequest deleteFleetRequest) throws ResourceInUseException, ResourceNotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException Deletes the specified fleet.
- Parameters:
deleteFleetRequest
-- Returns:
- Result of the DeleteFleet operation returned by the service.
- See Also:
-
deleteFleet
default DeleteFleetResponse deleteFleet(Consumer<DeleteFleetRequest.Builder> deleteFleetRequest) throws ResourceInUseException, ResourceNotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException Deletes the specified fleet.
This is a convenience which creates an instance of the
DeleteFleetRequest.Builder
avoiding the need to create one manually viaDeleteFleetRequest.builder()
- Parameters:
deleteFleetRequest
- AConsumer
that will call methods onDeleteFleetRequest.Builder
to create a request.- Returns:
- Result of the DeleteFleet operation returned by the service.
- See Also:
-
deleteImage
default DeleteImageResponse deleteImage(DeleteImageRequest deleteImageRequest) throws ResourceInUseException, ResourceNotFoundException, OperationNotPermittedException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException 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.
- Parameters:
deleteImageRequest
-- Returns:
- Result of the DeleteImage operation returned by the service.
- See Also:
-
deleteImage
default DeleteImageResponse deleteImage(Consumer<DeleteImageRequest.Builder> deleteImageRequest) throws ResourceInUseException, ResourceNotFoundException, OperationNotPermittedException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException 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.
This is a convenience which creates an instance of the
DeleteImageRequest.Builder
avoiding the need to create one manually viaDeleteImageRequest.builder()
- Parameters:
deleteImageRequest
- AConsumer
that will call methods onDeleteImageRequest.Builder
to create a request.- Returns:
- Result of the DeleteImage operation returned by the service.
- See Also:
-
deleteImageBuilder
default DeleteImageBuilderResponse deleteImageBuilder(DeleteImageBuilderRequest deleteImageBuilderRequest) throws ResourceNotFoundException, OperationNotPermittedException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException Deletes the specified image builder and releases the capacity.
- Parameters:
deleteImageBuilderRequest
-- Returns:
- Result of the DeleteImageBuilder operation returned by the service.
- See Also:
-
deleteImageBuilder
default DeleteImageBuilderResponse deleteImageBuilder(Consumer<DeleteImageBuilderRequest.Builder> deleteImageBuilderRequest) throws ResourceNotFoundException, OperationNotPermittedException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException Deletes the specified image builder and releases the capacity.
This is a convenience which creates an instance of the
DeleteImageBuilderRequest.Builder
avoiding the need to create one manually viaDeleteImageBuilderRequest.builder()
- Parameters:
deleteImageBuilderRequest
- AConsumer
that will call methods onDeleteImageBuilderRequest.Builder
to create a request.- Returns:
- Result of the DeleteImageBuilder operation returned by the service.
- See Also:
-
deleteImagePermissions
default DeleteImagePermissionsResponse deleteImagePermissions(DeleteImagePermissionsRequest deleteImagePermissionsRequest) throws ResourceNotAvailableException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException 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.
- Parameters:
deleteImagePermissionsRequest
-- Returns:
- Result of the DeleteImagePermissions operation returned by the service.
- See Also:
-
deleteImagePermissions
default DeleteImagePermissionsResponse deleteImagePermissions(Consumer<DeleteImagePermissionsRequest.Builder> deleteImagePermissionsRequest) throws ResourceNotAvailableException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException 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.
This is a convenience which creates an instance of the
DeleteImagePermissionsRequest.Builder
avoiding the need to create one manually viaDeleteImagePermissionsRequest.builder()
- Parameters:
deleteImagePermissionsRequest
- AConsumer
that will call methods onDeleteImagePermissionsRequest.Builder
to create a request.- Returns:
- Result of the DeleteImagePermissions operation returned by the service.
- See Also:
-
deleteStack
default DeleteStackResponse deleteStack(DeleteStackRequest deleteStackRequest) throws ResourceInUseException, ResourceNotFoundException, OperationNotPermittedException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException 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.
- Parameters:
deleteStackRequest
-- Returns:
- Result of the DeleteStack operation returned by the service.
- See Also:
-
deleteStack
default DeleteStackResponse deleteStack(Consumer<DeleteStackRequest.Builder> deleteStackRequest) throws ResourceInUseException, ResourceNotFoundException, OperationNotPermittedException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException 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.
This is a convenience which creates an instance of the
DeleteStackRequest.Builder
avoiding the need to create one manually viaDeleteStackRequest.builder()
- Parameters:
deleteStackRequest
- AConsumer
that will call methods onDeleteStackRequest.Builder
to create a request.- Returns:
- Result of the DeleteStack operation returned by the service.
- See Also:
-
deleteUsageReportSubscription
default DeleteUsageReportSubscriptionResponse deleteUsageReportSubscription(DeleteUsageReportSubscriptionRequest deleteUsageReportSubscriptionRequest) throws InvalidAccountStatusException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException Disables usage report generation.
- Parameters:
deleteUsageReportSubscriptionRequest
-- Returns:
- Result of the DeleteUsageReportSubscription operation returned by the service.
- See Also:
-
deleteUsageReportSubscription
default DeleteUsageReportSubscriptionResponse deleteUsageReportSubscription(Consumer<DeleteUsageReportSubscriptionRequest.Builder> deleteUsageReportSubscriptionRequest) throws InvalidAccountStatusException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException Disables usage report generation.
This is a convenience which creates an instance of the
DeleteUsageReportSubscriptionRequest.Builder
avoiding the need to create one manually viaDeleteUsageReportSubscriptionRequest.builder()
- Parameters:
deleteUsageReportSubscriptionRequest
- AConsumer
that will call methods onDeleteUsageReportSubscriptionRequest.Builder
to create a request.- Returns:
- Result of the DeleteUsageReportSubscription operation returned by the service.
- See Also:
-
deleteUser
default DeleteUserResponse deleteUser(DeleteUserRequest deleteUserRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException Deletes a user from the user pool.
- Parameters:
deleteUserRequest
-- Returns:
- Result of the DeleteUser operation returned by the service.
- See Also:
-
deleteUser
default DeleteUserResponse deleteUser(Consumer<DeleteUserRequest.Builder> deleteUserRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException Deletes a user from the user pool.
This is a convenience which creates an instance of the
DeleteUserRequest.Builder
avoiding the need to create one manually viaDeleteUserRequest.builder()
- Parameters:
deleteUserRequest
- AConsumer
that will call methods onDeleteUserRequest.Builder
to create a request.- Returns:
- Result of the DeleteUser operation returned by the service.
- See Also:
-
describeAppBlockBuilderAppBlockAssociations
default DescribeAppBlockBuilderAppBlockAssociationsResponse describeAppBlockBuilderAppBlockAssociations(DescribeAppBlockBuilderAppBlockAssociationsRequest describeAppBlockBuilderAppBlockAssociationsRequest) throws InvalidParameterCombinationException, OperationNotPermittedException, AwsServiceException, SdkClientException, AppStreamException Retrieves a list that describes one or more app block builder associations.
- Parameters:
describeAppBlockBuilderAppBlockAssociationsRequest
-- Returns:
- Result of the DescribeAppBlockBuilderAppBlockAssociations operation returned by the service.
- See Also:
-
describeAppBlockBuilderAppBlockAssociations
default DescribeAppBlockBuilderAppBlockAssociationsResponse describeAppBlockBuilderAppBlockAssociations(Consumer<DescribeAppBlockBuilderAppBlockAssociationsRequest.Builder> describeAppBlockBuilderAppBlockAssociationsRequest) throws InvalidParameterCombinationException, OperationNotPermittedException, AwsServiceException, SdkClientException, AppStreamException Retrieves a list that describes one or more app block builder associations.
This is a convenience which creates an instance of the
DescribeAppBlockBuilderAppBlockAssociationsRequest.Builder
avoiding the need to create one manually viaDescribeAppBlockBuilderAppBlockAssociationsRequest.builder()
- Parameters:
describeAppBlockBuilderAppBlockAssociationsRequest
- AConsumer
that will call methods onDescribeAppBlockBuilderAppBlockAssociationsRequest.Builder
to create a request.- Returns:
- Result of the DescribeAppBlockBuilderAppBlockAssociations operation returned by the service.
- See Also:
-
describeAppBlockBuilderAppBlockAssociationsPaginator
default DescribeAppBlockBuilderAppBlockAssociationsIterable describeAppBlockBuilderAppBlockAssociationsPaginator(DescribeAppBlockBuilderAppBlockAssociationsRequest describeAppBlockBuilderAppBlockAssociationsRequest) throws InvalidParameterCombinationException, OperationNotPermittedException, AwsServiceException, SdkClientException, AppStreamException This is a variant of
describeAppBlockBuilderAppBlockAssociations(software.amazon.awssdk.services.appstream.model.DescribeAppBlockBuilderAppBlockAssociationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.appstream.paginators.DescribeAppBlockBuilderAppBlockAssociationsIterable responses = client.describeAppBlockBuilderAppBlockAssociationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.appstream.paginators.DescribeAppBlockBuilderAppBlockAssociationsIterable responses = client .describeAppBlockBuilderAppBlockAssociationsPaginator(request); for (software.amazon.awssdk.services.appstream.model.DescribeAppBlockBuilderAppBlockAssociationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.appstream.paginators.DescribeAppBlockBuilderAppBlockAssociationsIterable responses = client.describeAppBlockBuilderAppBlockAssociationsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeAppBlockBuilderAppBlockAssociations(software.amazon.awssdk.services.appstream.model.DescribeAppBlockBuilderAppBlockAssociationsRequest)
operation.- Parameters:
describeAppBlockBuilderAppBlockAssociationsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeAppBlockBuilderAppBlockAssociationsPaginator
default DescribeAppBlockBuilderAppBlockAssociationsIterable describeAppBlockBuilderAppBlockAssociationsPaginator(Consumer<DescribeAppBlockBuilderAppBlockAssociationsRequest.Builder> describeAppBlockBuilderAppBlockAssociationsRequest) throws InvalidParameterCombinationException, OperationNotPermittedException, AwsServiceException, SdkClientException, AppStreamException This is a variant of
describeAppBlockBuilderAppBlockAssociations(software.amazon.awssdk.services.appstream.model.DescribeAppBlockBuilderAppBlockAssociationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.appstream.paginators.DescribeAppBlockBuilderAppBlockAssociationsIterable responses = client.describeAppBlockBuilderAppBlockAssociationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.appstream.paginators.DescribeAppBlockBuilderAppBlockAssociationsIterable responses = client .describeAppBlockBuilderAppBlockAssociationsPaginator(request); for (software.amazon.awssdk.services.appstream.model.DescribeAppBlockBuilderAppBlockAssociationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.appstream.paginators.DescribeAppBlockBuilderAppBlockAssociationsIterable responses = client.describeAppBlockBuilderAppBlockAssociationsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeAppBlockBuilderAppBlockAssociations(software.amazon.awssdk.services.appstream.model.DescribeAppBlockBuilderAppBlockAssociationsRequest)
operation.
This is a convenience which creates an instance of the
DescribeAppBlockBuilderAppBlockAssociationsRequest.Builder
avoiding the need to create one manually viaDescribeAppBlockBuilderAppBlockAssociationsRequest.builder()
- Parameters:
describeAppBlockBuilderAppBlockAssociationsRequest
- AConsumer
that will call methods onDescribeAppBlockBuilderAppBlockAssociationsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeAppBlockBuilders
default DescribeAppBlockBuildersResponse describeAppBlockBuilders(DescribeAppBlockBuildersRequest describeAppBlockBuildersRequest) throws OperationNotPermittedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException Retrieves a list that describes one or more app block builders.
- Parameters:
describeAppBlockBuildersRequest
-- Returns:
- Result of the DescribeAppBlockBuilders operation returned by the service.
- See Also:
-
describeAppBlockBuilders
default DescribeAppBlockBuildersResponse describeAppBlockBuilders(Consumer<DescribeAppBlockBuildersRequest.Builder> describeAppBlockBuildersRequest) throws OperationNotPermittedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException Retrieves a list that describes one or more app block builders.
This is a convenience which creates an instance of the
DescribeAppBlockBuildersRequest.Builder
avoiding the need to create one manually viaDescribeAppBlockBuildersRequest.builder()
- Parameters:
describeAppBlockBuildersRequest
- AConsumer
that will call methods onDescribeAppBlockBuildersRequest.Builder
to create a request.- Returns:
- Result of the DescribeAppBlockBuilders operation returned by the service.
- See Also:
-
describeAppBlockBuildersPaginator
default DescribeAppBlockBuildersIterable describeAppBlockBuildersPaginator(DescribeAppBlockBuildersRequest describeAppBlockBuildersRequest) throws OperationNotPermittedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException This is a variant of
describeAppBlockBuilders(software.amazon.awssdk.services.appstream.model.DescribeAppBlockBuildersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.appstream.paginators.DescribeAppBlockBuildersIterable responses = client.describeAppBlockBuildersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.appstream.paginators.DescribeAppBlockBuildersIterable responses = client .describeAppBlockBuildersPaginator(request); for (software.amazon.awssdk.services.appstream.model.DescribeAppBlockBuildersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.appstream.paginators.DescribeAppBlockBuildersIterable responses = client.describeAppBlockBuildersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeAppBlockBuilders(software.amazon.awssdk.services.appstream.model.DescribeAppBlockBuildersRequest)
operation.- Parameters:
describeAppBlockBuildersRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeAppBlockBuildersPaginator
default DescribeAppBlockBuildersIterable describeAppBlockBuildersPaginator(Consumer<DescribeAppBlockBuildersRequest.Builder> describeAppBlockBuildersRequest) throws OperationNotPermittedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException This is a variant of
describeAppBlockBuilders(software.amazon.awssdk.services.appstream.model.DescribeAppBlockBuildersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.appstream.paginators.DescribeAppBlockBuildersIterable responses = client.describeAppBlockBuildersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.appstream.paginators.DescribeAppBlockBuildersIterable responses = client .describeAppBlockBuildersPaginator(request); for (software.amazon.awssdk.services.appstream.model.DescribeAppBlockBuildersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.appstream.paginators.DescribeAppBlockBuildersIterable responses = client.describeAppBlockBuildersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeAppBlockBuilders(software.amazon.awssdk.services.appstream.model.DescribeAppBlockBuildersRequest)
operation.
This is a convenience which creates an instance of the
DescribeAppBlockBuildersRequest.Builder
avoiding the need to create one manually viaDescribeAppBlockBuildersRequest.builder()
- Parameters:
describeAppBlockBuildersRequest
- AConsumer
that will call methods onDescribeAppBlockBuildersRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeAppBlocks
default DescribeAppBlocksResponse describeAppBlocks(DescribeAppBlocksRequest describeAppBlocksRequest) throws OperationNotPermittedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException Retrieves a list that describes one or more app blocks.
- Parameters:
describeAppBlocksRequest
-- Returns:
- Result of the DescribeAppBlocks operation returned by the service.
- See Also:
-
describeAppBlocks
default DescribeAppBlocksResponse describeAppBlocks(Consumer<DescribeAppBlocksRequest.Builder> describeAppBlocksRequest) throws OperationNotPermittedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException Retrieves a list that describes one or more app blocks.
This is a convenience which creates an instance of the
DescribeAppBlocksRequest.Builder
avoiding the need to create one manually viaDescribeAppBlocksRequest.builder()
- Parameters:
describeAppBlocksRequest
- AConsumer
that will call methods onDescribeAppBlocksRequest.Builder
to create a request.- Returns:
- Result of the DescribeAppBlocks operation returned by the service.
- See Also:
-
describeApplicationFleetAssociations
default DescribeApplicationFleetAssociationsResponse describeApplicationFleetAssociations(DescribeApplicationFleetAssociationsRequest describeApplicationFleetAssociationsRequest) throws InvalidParameterCombinationException, OperationNotPermittedException, AwsServiceException, SdkClientException, AppStreamException Retrieves a list that describes one or more application fleet associations. Either ApplicationArn or FleetName must be specified.
- Parameters:
describeApplicationFleetAssociationsRequest
-- Returns:
- Result of the DescribeApplicationFleetAssociations operation returned by the service.
- See Also:
-
describeApplicationFleetAssociations
default DescribeApplicationFleetAssociationsResponse describeApplicationFleetAssociations(Consumer<DescribeApplicationFleetAssociationsRequest.Builder> describeApplicationFleetAssociationsRequest) throws InvalidParameterCombinationException, OperationNotPermittedException, AwsServiceException, SdkClientException, AppStreamException Retrieves a list that describes one or more application fleet associations. Either ApplicationArn or FleetName must be specified.
This is a convenience which creates an instance of the
DescribeApplicationFleetAssociationsRequest.Builder
avoiding the need to create one manually viaDescribeApplicationFleetAssociationsRequest.builder()
- Parameters:
describeApplicationFleetAssociationsRequest
- AConsumer
that will call methods onDescribeApplicationFleetAssociationsRequest.Builder
to create a request.- Returns:
- Result of the DescribeApplicationFleetAssociations operation returned by the service.
- See Also:
-
describeApplications
default DescribeApplicationsResponse describeApplications(DescribeApplicationsRequest describeApplicationsRequest) throws OperationNotPermittedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException Retrieves a list that describes one or more applications.
- Parameters:
describeApplicationsRequest
-- Returns:
- Result of the DescribeApplications operation returned by the service.
- See Also:
-
describeApplications
default DescribeApplicationsResponse describeApplications(Consumer<DescribeApplicationsRequest.Builder> describeApplicationsRequest) throws OperationNotPermittedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException Retrieves a list that describes one or more applications.
This is a convenience which creates an instance of the
DescribeApplicationsRequest.Builder
avoiding the need to create one manually viaDescribeApplicationsRequest.builder()
- Parameters:
describeApplicationsRequest
- AConsumer
that will call methods onDescribeApplicationsRequest.Builder
to create a request.- Returns:
- Result of the DescribeApplications operation returned by the service.
- See Also:
-
describeDirectoryConfigs
default DescribeDirectoryConfigsResponse describeDirectoryConfigs(DescribeDirectoryConfigsRequest describeDirectoryConfigsRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException 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.
- Parameters:
describeDirectoryConfigsRequest
-- Returns:
- Result of the DescribeDirectoryConfigs operation returned by the service.
- See Also:
-
describeDirectoryConfigs
default DescribeDirectoryConfigsResponse describeDirectoryConfigs(Consumer<DescribeDirectoryConfigsRequest.Builder> describeDirectoryConfigsRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException 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.
This is a convenience which creates an instance of the
DescribeDirectoryConfigsRequest.Builder
avoiding the need to create one manually viaDescribeDirectoryConfigsRequest.builder()
- Parameters:
describeDirectoryConfigsRequest
- AConsumer
that will call methods onDescribeDirectoryConfigsRequest.Builder
to create a request.- Returns:
- Result of the DescribeDirectoryConfigs operation returned by the service.
- See Also:
-
describeDirectoryConfigs
default DescribeDirectoryConfigsResponse describeDirectoryConfigs() throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamExceptionRetrieves 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.
- Returns:
- Result of the DescribeDirectoryConfigs operation returned by the service.
- See Also:
-
describeEntitlements
default DescribeEntitlementsResponse describeEntitlements(DescribeEntitlementsRequest describeEntitlementsRequest) throws OperationNotPermittedException, ResourceNotFoundException, EntitlementNotFoundException, AwsServiceException, SdkClientException, AppStreamException Retrieves a list that describes one of more entitlements.
- Parameters:
describeEntitlementsRequest
-- Returns:
- Result of the DescribeEntitlements operation returned by the service.
- See Also:
-
describeEntitlements
default DescribeEntitlementsResponse describeEntitlements(Consumer<DescribeEntitlementsRequest.Builder> describeEntitlementsRequest) throws OperationNotPermittedException, ResourceNotFoundException, EntitlementNotFoundException, AwsServiceException, SdkClientException, AppStreamException Retrieves a list that describes one of more entitlements.
This is a convenience which creates an instance of the
DescribeEntitlementsRequest.Builder
avoiding the need to create one manually viaDescribeEntitlementsRequest.builder()
- Parameters:
describeEntitlementsRequest
- AConsumer
that will call methods onDescribeEntitlementsRequest.Builder
to create a request.- Returns:
- Result of the DescribeEntitlements operation returned by the service.
- See Also:
-
describeFleets
default DescribeFleetsResponse describeFleets(DescribeFleetsRequest describeFleetsRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException Retrieves a list that describes one or more specified fleets, if the fleet names are provided. Otherwise, all fleets in the account are described.
- Parameters:
describeFleetsRequest
-- Returns:
- Result of the DescribeFleets operation returned by the service.
- See Also:
-
describeFleets
default DescribeFleetsResponse describeFleets(Consumer<DescribeFleetsRequest.Builder> describeFleetsRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException Retrieves a list that describes one or more specified fleets, if the fleet names are provided. Otherwise, all fleets in the account are described.
This is a convenience which creates an instance of the
DescribeFleetsRequest.Builder
avoiding the need to create one manually viaDescribeFleetsRequest.builder()
- Parameters:
describeFleetsRequest
- AConsumer
that will call methods onDescribeFleetsRequest.Builder
to create a request.- Returns:
- Result of the DescribeFleets operation returned by the service.
- See Also:
-
describeFleets
default DescribeFleetsResponse describeFleets() throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamExceptionRetrieves a list that describes one or more specified fleets, if the fleet names are provided. Otherwise, all fleets in the account are described.
- Returns:
- Result of the DescribeFleets operation returned by the service.
- See Also:
-
describeImageBuilders
default DescribeImageBuildersResponse describeImageBuilders(DescribeImageBuildersRequest describeImageBuildersRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException 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.
- Parameters:
describeImageBuildersRequest
-- Returns:
- Result of the DescribeImageBuilders operation returned by the service.
- See Also:
-
describeImageBuilders
default DescribeImageBuildersResponse describeImageBuilders(Consumer<DescribeImageBuildersRequest.Builder> describeImageBuildersRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException 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.
This is a convenience which creates an instance of the
DescribeImageBuildersRequest.Builder
avoiding the need to create one manually viaDescribeImageBuildersRequest.builder()
- Parameters:
describeImageBuildersRequest
- AConsumer
that will call methods onDescribeImageBuildersRequest.Builder
to create a request.- Returns:
- Result of the DescribeImageBuilders operation returned by the service.
- See Also:
-
describeImageBuilders
default DescribeImageBuildersResponse describeImageBuilders() throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamExceptionRetrieves 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.
- Returns:
- Result of the DescribeImageBuilders operation returned by the service.
- See Also:
-
describeImagePermissions
default DescribeImagePermissionsResponse describeImagePermissions(DescribeImagePermissionsRequest describeImagePermissionsRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException Retrieves a list that describes the permissions for shared AWS account IDs on a private image that you own.
- Parameters:
describeImagePermissionsRequest
-- Returns:
- Result of the DescribeImagePermissions operation returned by the service.
- See Also:
-
describeImagePermissions
default DescribeImagePermissionsResponse describeImagePermissions(Consumer<DescribeImagePermissionsRequest.Builder> describeImagePermissionsRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException Retrieves a list that describes the permissions for shared AWS account IDs on a private image that you own.
This is a convenience which creates an instance of the
DescribeImagePermissionsRequest.Builder
avoiding the need to create one manually viaDescribeImagePermissionsRequest.builder()
- Parameters:
describeImagePermissionsRequest
- AConsumer
that will call methods onDescribeImagePermissionsRequest.Builder
to create a request.- Returns:
- Result of the DescribeImagePermissions operation returned by the service.
- See Also:
-
describeImagePermissionsPaginator
default DescribeImagePermissionsIterable describeImagePermissionsPaginator(DescribeImagePermissionsRequest describeImagePermissionsRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException This is a variant of
describeImagePermissions(software.amazon.awssdk.services.appstream.model.DescribeImagePermissionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.appstream.paginators.DescribeImagePermissionsIterable responses = client.describeImagePermissionsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.appstream.paginators.DescribeImagePermissionsIterable responses = client .describeImagePermissionsPaginator(request); for (software.amazon.awssdk.services.appstream.model.DescribeImagePermissionsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.appstream.paginators.DescribeImagePermissionsIterable responses = client.describeImagePermissionsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeImagePermissions(software.amazon.awssdk.services.appstream.model.DescribeImagePermissionsRequest)
operation.- Parameters:
describeImagePermissionsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeImagePermissionsPaginator
default DescribeImagePermissionsIterable describeImagePermissionsPaginator(Consumer<DescribeImagePermissionsRequest.Builder> describeImagePermissionsRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException This is a variant of
describeImagePermissions(software.amazon.awssdk.services.appstream.model.DescribeImagePermissionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.appstream.paginators.DescribeImagePermissionsIterable responses = client.describeImagePermissionsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.appstream.paginators.DescribeImagePermissionsIterable responses = client .describeImagePermissionsPaginator(request); for (software.amazon.awssdk.services.appstream.model.DescribeImagePermissionsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.appstream.paginators.DescribeImagePermissionsIterable responses = client.describeImagePermissionsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeImagePermissions(software.amazon.awssdk.services.appstream.model.DescribeImagePermissionsRequest)
operation.
This is a convenience which creates an instance of the
DescribeImagePermissionsRequest.Builder
avoiding the need to create one manually viaDescribeImagePermissionsRequest.builder()
- Parameters:
describeImagePermissionsRequest
- AConsumer
that will call methods onDescribeImagePermissionsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeImages
default DescribeImagesResponse describeImages(DescribeImagesRequest describeImagesRequest) throws InvalidParameterCombinationException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException 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.
- Parameters:
describeImagesRequest
-- Returns:
- Result of the DescribeImages operation returned by the service.
- See Also:
-
describeImages
default DescribeImagesResponse describeImages(Consumer<DescribeImagesRequest.Builder> describeImagesRequest) throws InvalidParameterCombinationException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException 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.
This is a convenience which creates an instance of the
DescribeImagesRequest.Builder
avoiding the need to create one manually viaDescribeImagesRequest.builder()
- Parameters:
describeImagesRequest
- AConsumer
that will call methods onDescribeImagesRequest.Builder
to create a request.- Returns:
- Result of the DescribeImages operation returned by the service.
- See Also:
-
describeImages
default DescribeImagesResponse describeImages() throws InvalidParameterCombinationException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamExceptionRetrieves 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.
- Returns:
- Result of the DescribeImages operation returned by the service.
- See Also:
-
describeImagesPaginator
default DescribeImagesIterable describeImagesPaginator() throws InvalidParameterCombinationException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamExceptionThis is a variant of
describeImages(software.amazon.awssdk.services.appstream.model.DescribeImagesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.appstream.paginators.DescribeImagesIterable responses = client.describeImagesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.appstream.paginators.DescribeImagesIterable responses = client .describeImagesPaginator(request); for (software.amazon.awssdk.services.appstream.model.DescribeImagesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.appstream.paginators.DescribeImagesIterable responses = client.describeImagesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeImages(software.amazon.awssdk.services.appstream.model.DescribeImagesRequest)
operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeImagesPaginator
default DescribeImagesIterable describeImagesPaginator(DescribeImagesRequest describeImagesRequest) throws InvalidParameterCombinationException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException This is a variant of
describeImages(software.amazon.awssdk.services.appstream.model.DescribeImagesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.appstream.paginators.DescribeImagesIterable responses = client.describeImagesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.appstream.paginators.DescribeImagesIterable responses = client .describeImagesPaginator(request); for (software.amazon.awssdk.services.appstream.model.DescribeImagesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.appstream.paginators.DescribeImagesIterable responses = client.describeImagesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeImages(software.amazon.awssdk.services.appstream.model.DescribeImagesRequest)
operation.- Parameters:
describeImagesRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeImagesPaginator
default DescribeImagesIterable describeImagesPaginator(Consumer<DescribeImagesRequest.Builder> describeImagesRequest) throws InvalidParameterCombinationException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException This is a variant of
describeImages(software.amazon.awssdk.services.appstream.model.DescribeImagesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.appstream.paginators.DescribeImagesIterable responses = client.describeImagesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.appstream.paginators.DescribeImagesIterable responses = client .describeImagesPaginator(request); for (software.amazon.awssdk.services.appstream.model.DescribeImagesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.appstream.paginators.DescribeImagesIterable responses = client.describeImagesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeImages(software.amazon.awssdk.services.appstream.model.DescribeImagesRequest)
operation.
This is a convenience which creates an instance of the
DescribeImagesRequest.Builder
avoiding the need to create one manually viaDescribeImagesRequest.builder()
- Parameters:
describeImagesRequest
- AConsumer
that will call methods onDescribeImagesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeSessions
default DescribeSessionsResponse describeSessions(DescribeSessionsRequest describeSessionsRequest) throws InvalidParameterCombinationException, AwsServiceException, SdkClientException, AppStreamException 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.
- Parameters:
describeSessionsRequest
-- Returns:
- Result of the DescribeSessions operation returned by the service.
- See Also:
-
describeSessions
default DescribeSessionsResponse describeSessions(Consumer<DescribeSessionsRequest.Builder> describeSessionsRequest) throws InvalidParameterCombinationException, AwsServiceException, SdkClientException, AppStreamException 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.
This is a convenience which creates an instance of the
DescribeSessionsRequest.Builder
avoiding the need to create one manually viaDescribeSessionsRequest.builder()
- Parameters:
describeSessionsRequest
- AConsumer
that will call methods onDescribeSessionsRequest.Builder
to create a request.- Returns:
- Result of the DescribeSessions operation returned by the service.
- See Also:
-
describeStacks
default DescribeStacksResponse describeStacks(DescribeStacksRequest describeStacksRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException Retrieves a list that describes one or more specified stacks, if the stack names are provided. Otherwise, all stacks in the account are described.
- Parameters:
describeStacksRequest
-- Returns:
- Result of the DescribeStacks operation returned by the service.
- See Also:
-
describeStacks
default DescribeStacksResponse describeStacks(Consumer<DescribeStacksRequest.Builder> describeStacksRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException Retrieves a list that describes one or more specified stacks, if the stack names are provided. Otherwise, all stacks in the account are described.
This is a convenience which creates an instance of the
DescribeStacksRequest.Builder
avoiding the need to create one manually viaDescribeStacksRequest.builder()
- Parameters:
describeStacksRequest
- AConsumer
that will call methods onDescribeStacksRequest.Builder
to create a request.- Returns:
- Result of the DescribeStacks operation returned by the service.
- See Also:
-
describeStacks
default DescribeStacksResponse describeStacks() throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamExceptionRetrieves a list that describes one or more specified stacks, if the stack names are provided. Otherwise, all stacks in the account are described.
- Returns:
- Result of the DescribeStacks operation returned by the service.
- See Also:
-
describeUsageReportSubscriptions
default DescribeUsageReportSubscriptionsResponse describeUsageReportSubscriptions(DescribeUsageReportSubscriptionsRequest describeUsageReportSubscriptionsRequest) throws ResourceNotFoundException, InvalidAccountStatusException, AwsServiceException, SdkClientException, AppStreamException Retrieves a list that describes one or more usage report subscriptions.
- Parameters:
describeUsageReportSubscriptionsRequest
-- Returns:
- Result of the DescribeUsageReportSubscriptions operation returned by the service.
- See Also:
-
describeUsageReportSubscriptions
default DescribeUsageReportSubscriptionsResponse describeUsageReportSubscriptions(Consumer<DescribeUsageReportSubscriptionsRequest.Builder> describeUsageReportSubscriptionsRequest) throws ResourceNotFoundException, InvalidAccountStatusException, AwsServiceException, SdkClientException, AppStreamException Retrieves a list that describes one or more usage report subscriptions.
This is a convenience which creates an instance of the
DescribeUsageReportSubscriptionsRequest.Builder
avoiding the need to create one manually viaDescribeUsageReportSubscriptionsRequest.builder()
- Parameters:
describeUsageReportSubscriptionsRequest
- AConsumer
that will call methods onDescribeUsageReportSubscriptionsRequest.Builder
to create a request.- Returns:
- Result of the DescribeUsageReportSubscriptions operation returned by the service.
- See Also:
-
describeUserStackAssociations
default DescribeUserStackAssociationsResponse describeUserStackAssociations(DescribeUserStackAssociationsRequest describeUserStackAssociationsRequest) throws InvalidParameterCombinationException, OperationNotPermittedException, AwsServiceException, SdkClientException, AppStreamException 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
- Parameters:
describeUserStackAssociationsRequest
-- Returns:
- Result of the DescribeUserStackAssociations operation returned by the service.
- See Also:
-
-
describeUserStackAssociations
default DescribeUserStackAssociationsResponse describeUserStackAssociations(Consumer<DescribeUserStackAssociationsRequest.Builder> describeUserStackAssociationsRequest) throws InvalidParameterCombinationException, OperationNotPermittedException, AwsServiceException, SdkClientException, AppStreamException 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
This is a convenience which creates an instance of the
DescribeUserStackAssociationsRequest.Builder
avoiding the need to create one manually viaDescribeUserStackAssociationsRequest.builder()
- Parameters:
describeUserStackAssociationsRequest
- AConsumer
that will call methods onDescribeUserStackAssociationsRequest.Builder
to create a request.- Returns:
- Result of the DescribeUserStackAssociations operation returned by the service.
- See Also:
-
-
describeUsers
default DescribeUsersResponse describeUsers(DescribeUsersRequest describeUsersRequest) throws ResourceNotFoundException, InvalidParameterCombinationException, OperationNotPermittedException, AwsServiceException, SdkClientException, AppStreamException Retrieves a list that describes one or more specified users in the user pool.
- Parameters:
describeUsersRequest
-- Returns:
- Result of the DescribeUsers operation returned by the service.
- See Also:
-
describeUsers
default DescribeUsersResponse describeUsers(Consumer<DescribeUsersRequest.Builder> describeUsersRequest) throws ResourceNotFoundException, InvalidParameterCombinationException, OperationNotPermittedException, AwsServiceException, SdkClientException, AppStreamException Retrieves a list that describes one or more specified users in the user pool.
This is a convenience which creates an instance of the
DescribeUsersRequest.Builder
avoiding the need to create one manually viaDescribeUsersRequest.builder()
- Parameters:
describeUsersRequest
- AConsumer
that will call methods onDescribeUsersRequest.Builder
to create a request.- Returns:
- Result of the DescribeUsers operation returned by the service.
- See Also:
-
disableUser
default DisableUserResponse disableUser(DisableUserRequest disableUserRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException 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.
- Parameters:
disableUserRequest
-- Returns:
- Result of the DisableUser operation returned by the service.
- See Also:
-
disableUser
default DisableUserResponse disableUser(Consumer<DisableUserRequest.Builder> disableUserRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException 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.
This is a convenience which creates an instance of the
DisableUserRequest.Builder
avoiding the need to create one manually viaDisableUserRequest.builder()
- Parameters:
disableUserRequest
- AConsumer
that will call methods onDisableUserRequest.Builder
to create a request.- Returns:
- Result of the DisableUser operation returned by the service.
- See Also:
-
disassociateAppBlockBuilderAppBlock
default DisassociateAppBlockBuilderAppBlockResponse disassociateAppBlockBuilderAppBlock(DisassociateAppBlockBuilderAppBlockRequest disassociateAppBlockBuilderAppBlockRequest) throws ConcurrentModificationException, InvalidParameterCombinationException, OperationNotPermittedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException Disassociates a specified app block builder from a specified app block.
- Parameters:
disassociateAppBlockBuilderAppBlockRequest
-- Returns:
- Result of the DisassociateAppBlockBuilderAppBlock operation returned by the service.
- See Also:
-
disassociateAppBlockBuilderAppBlock
default DisassociateAppBlockBuilderAppBlockResponse disassociateAppBlockBuilderAppBlock(Consumer<DisassociateAppBlockBuilderAppBlockRequest.Builder> disassociateAppBlockBuilderAppBlockRequest) throws ConcurrentModificationException, InvalidParameterCombinationException, OperationNotPermittedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException Disassociates a specified app block builder from a specified app block.
This is a convenience which creates an instance of the
DisassociateAppBlockBuilderAppBlockRequest.Builder
avoiding the need to create one manually viaDisassociateAppBlockBuilderAppBlockRequest.builder()
- Parameters:
disassociateAppBlockBuilderAppBlockRequest
- AConsumer
that will call methods onDisassociateAppBlockBuilderAppBlockRequest.Builder
to create a request.- Returns:
- Result of the DisassociateAppBlockBuilderAppBlock operation returned by the service.
- See Also:
-
disassociateApplicationFleet
default DisassociateApplicationFleetResponse disassociateApplicationFleet(DisassociateApplicationFleetRequest disassociateApplicationFleetRequest) throws ConcurrentModificationException, InvalidParameterCombinationException, OperationNotPermittedException, AwsServiceException, SdkClientException, AppStreamException Disassociates the specified application from the fleet.
- Parameters:
disassociateApplicationFleetRequest
-- Returns:
- Result of the DisassociateApplicationFleet operation returned by the service.
- See Also:
-
disassociateApplicationFleet
default DisassociateApplicationFleetResponse disassociateApplicationFleet(Consumer<DisassociateApplicationFleetRequest.Builder> disassociateApplicationFleetRequest) throws ConcurrentModificationException, InvalidParameterCombinationException, OperationNotPermittedException, AwsServiceException, SdkClientException, AppStreamException Disassociates the specified application from the fleet.
This is a convenience which creates an instance of the
DisassociateApplicationFleetRequest.Builder
avoiding the need to create one manually viaDisassociateApplicationFleetRequest.builder()
- Parameters:
disassociateApplicationFleetRequest
- AConsumer
that will call methods onDisassociateApplicationFleetRequest.Builder
to create a request.- Returns:
- Result of the DisassociateApplicationFleet operation returned by the service.
- See Also:
-
disassociateApplicationFromEntitlement
default DisassociateApplicationFromEntitlementResponse disassociateApplicationFromEntitlement(DisassociateApplicationFromEntitlementRequest disassociateApplicationFromEntitlementRequest) throws OperationNotPermittedException, ResourceNotFoundException, EntitlementNotFoundException, AwsServiceException, SdkClientException, AppStreamException Deletes the specified application from the specified entitlement.
- Parameters:
disassociateApplicationFromEntitlementRequest
-- Returns:
- Result of the DisassociateApplicationFromEntitlement operation returned by the service.
- See Also:
-
disassociateApplicationFromEntitlement
default DisassociateApplicationFromEntitlementResponse disassociateApplicationFromEntitlement(Consumer<DisassociateApplicationFromEntitlementRequest.Builder> disassociateApplicationFromEntitlementRequest) throws OperationNotPermittedException, ResourceNotFoundException, EntitlementNotFoundException, AwsServiceException, SdkClientException, AppStreamException Deletes the specified application from the specified entitlement.
This is a convenience which creates an instance of the
DisassociateApplicationFromEntitlementRequest.Builder
avoiding the need to create one manually viaDisassociateApplicationFromEntitlementRequest.builder()
- Parameters:
disassociateApplicationFromEntitlementRequest
- AConsumer
that will call methods onDisassociateApplicationFromEntitlementRequest.Builder
to create a request.- Returns:
- Result of the DisassociateApplicationFromEntitlement operation returned by the service.
- See Also:
-
disassociateFleet
default DisassociateFleetResponse disassociateFleet(DisassociateFleetRequest disassociateFleetRequest) throws ResourceInUseException, ResourceNotFoundException, ConcurrentModificationException, OperationNotPermittedException, AwsServiceException, SdkClientException, AppStreamException Disassociates the specified fleet from the specified stack.
- Parameters:
disassociateFleetRequest
-- Returns:
- Result of the DisassociateFleet operation returned by the service.
- See Also:
-
disassociateFleet
default DisassociateFleetResponse disassociateFleet(Consumer<DisassociateFleetRequest.Builder> disassociateFleetRequest) throws ResourceInUseException, ResourceNotFoundException, ConcurrentModificationException, OperationNotPermittedException, AwsServiceException, SdkClientException, AppStreamException Disassociates the specified fleet from the specified stack.
This is a convenience which creates an instance of the
DisassociateFleetRequest.Builder
avoiding the need to create one manually viaDisassociateFleetRequest.builder()
- Parameters:
disassociateFleetRequest
- AConsumer
that will call methods onDisassociateFleetRequest.Builder
to create a request.- Returns:
- Result of the DisassociateFleet operation returned by the service.
- See Also:
-
enableUser
default EnableUserResponse enableUser(EnableUserRequest enableUserRequest) throws ResourceNotFoundException, InvalidAccountStatusException, AwsServiceException, SdkClientException, AppStreamException 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.
- Parameters:
enableUserRequest
-- Returns:
- Result of the EnableUser operation returned by the service.
- See Also:
-
enableUser
default EnableUserResponse enableUser(Consumer<EnableUserRequest.Builder> enableUserRequest) throws ResourceNotFoundException, InvalidAccountStatusException, AwsServiceException, SdkClientException, AppStreamException 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.
This is a convenience which creates an instance of the
EnableUserRequest.Builder
avoiding the need to create one manually viaEnableUserRequest.builder()
- Parameters:
enableUserRequest
- AConsumer
that will call methods onEnableUserRequest.Builder
to create a request.- Returns:
- Result of the EnableUser operation returned by the service.
- See Also:
-
expireSession
default ExpireSessionResponse expireSession(ExpireSessionRequest expireSessionRequest) throws AwsServiceException, SdkClientException, AppStreamException Immediately stops the specified streaming session.
- Parameters:
expireSessionRequest
-- Returns:
- Result of the ExpireSession operation returned by the service.
- See Also:
-
expireSession
default ExpireSessionResponse expireSession(Consumer<ExpireSessionRequest.Builder> expireSessionRequest) throws AwsServiceException, SdkClientException, AppStreamException Immediately stops the specified streaming session.
This is a convenience which creates an instance of the
ExpireSessionRequest.Builder
avoiding the need to create one manually viaExpireSessionRequest.builder()
- Parameters:
expireSessionRequest
- AConsumer
that will call methods onExpireSessionRequest.Builder
to create a request.- Returns:
- Result of the ExpireSession operation returned by the service.
- See Also:
-
listAssociatedFleets
default ListAssociatedFleetsResponse listAssociatedFleets(ListAssociatedFleetsRequest listAssociatedFleetsRequest) throws AwsServiceException, SdkClientException, AppStreamException Retrieves the name of the fleet that is associated with the specified stack.
- Parameters:
listAssociatedFleetsRequest
-- Returns:
- Result of the ListAssociatedFleets operation returned by the service.
- See Also:
-
listAssociatedFleets
default ListAssociatedFleetsResponse listAssociatedFleets(Consumer<ListAssociatedFleetsRequest.Builder> listAssociatedFleetsRequest) throws AwsServiceException, SdkClientException, AppStreamException Retrieves the name of the fleet that is associated with the specified stack.
This is a convenience which creates an instance of the
ListAssociatedFleetsRequest.Builder
avoiding the need to create one manually viaListAssociatedFleetsRequest.builder()
- Parameters:
listAssociatedFleetsRequest
- AConsumer
that will call methods onListAssociatedFleetsRequest.Builder
to create a request.- Returns:
- Result of the ListAssociatedFleets operation returned by the service.
- See Also:
-
listAssociatedStacks
default ListAssociatedStacksResponse listAssociatedStacks(ListAssociatedStacksRequest listAssociatedStacksRequest) throws AwsServiceException, SdkClientException, AppStreamException Retrieves the name of the stack with which the specified fleet is associated.
- Parameters:
listAssociatedStacksRequest
-- Returns:
- Result of the ListAssociatedStacks operation returned by the service.
- See Also:
-
listAssociatedStacks
default ListAssociatedStacksResponse listAssociatedStacks(Consumer<ListAssociatedStacksRequest.Builder> listAssociatedStacksRequest) throws AwsServiceException, SdkClientException, AppStreamException Retrieves the name of the stack with which the specified fleet is associated.
This is a convenience which creates an instance of the
ListAssociatedStacksRequest.Builder
avoiding the need to create one manually viaListAssociatedStacksRequest.builder()
- Parameters:
listAssociatedStacksRequest
- AConsumer
that will call methods onListAssociatedStacksRequest.Builder
to create a request.- Returns:
- Result of the ListAssociatedStacks operation returned by the service.
- See Also:
-
listEntitledApplications
default ListEntitledApplicationsResponse listEntitledApplications(ListEntitledApplicationsRequest listEntitledApplicationsRequest) throws OperationNotPermittedException, ResourceNotFoundException, EntitlementNotFoundException, AwsServiceException, SdkClientException, AppStreamException Retrieves a list of entitled applications.
- Parameters:
listEntitledApplicationsRequest
-- Returns:
- Result of the ListEntitledApplications operation returned by the service.
- See Also:
-
listEntitledApplications
default ListEntitledApplicationsResponse listEntitledApplications(Consumer<ListEntitledApplicationsRequest.Builder> listEntitledApplicationsRequest) throws OperationNotPermittedException, ResourceNotFoundException, EntitlementNotFoundException, AwsServiceException, SdkClientException, AppStreamException Retrieves a list of entitled applications.
This is a convenience which creates an instance of the
ListEntitledApplicationsRequest.Builder
avoiding the need to create one manually viaListEntitledApplicationsRequest.builder()
- Parameters:
listEntitledApplicationsRequest
- AConsumer
that will call methods onListEntitledApplicationsRequest.Builder
to create a request.- Returns:
- Result of the ListEntitledApplications operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException 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.
- Parameters:
listTagsForResourceRequest
-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException 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.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
startAppBlockBuilder
default StartAppBlockBuilderResponse startAppBlockBuilder(StartAppBlockBuilderRequest startAppBlockBuilderRequest) throws ConcurrentModificationException, InvalidAccountStatusException, LimitExceededException, OperationNotPermittedException, RequestLimitExceededException, ResourceNotAvailableException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException Starts an app block builder.
An app block builder can only be started when it's associated with an app block.
Starting an app block builder starts a new instance, which is equivalent to an elastic fleet instance with application builder assistance functionality.
- Parameters:
startAppBlockBuilderRequest
-- Returns:
- Result of the StartAppBlockBuilder operation returned by the service.
- See Also:
-
startAppBlockBuilder
default StartAppBlockBuilderResponse startAppBlockBuilder(Consumer<StartAppBlockBuilderRequest.Builder> startAppBlockBuilderRequest) throws ConcurrentModificationException, InvalidAccountStatusException, LimitExceededException, OperationNotPermittedException, RequestLimitExceededException, ResourceNotAvailableException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException Starts an app block builder.
An app block builder can only be started when it's associated with an app block.
Starting an app block builder starts a new instance, which is equivalent to an elastic fleet instance with application builder assistance functionality.
This is a convenience which creates an instance of the
StartAppBlockBuilderRequest.Builder
avoiding the need to create one manually viaStartAppBlockBuilderRequest.builder()
- Parameters:
startAppBlockBuilderRequest
- AConsumer
that will call methods onStartAppBlockBuilderRequest.Builder
to create a request.- Returns:
- Result of the StartAppBlockBuilder operation returned by the service.
- See Also:
-
startFleet
default StartFleetResponse startFleet(StartFleetRequest startFleetRequest) throws ResourceNotFoundException, OperationNotPermittedException, LimitExceededException, RequestLimitExceededException, InvalidAccountStatusException, ConcurrentModificationException, ResourceNotAvailableException, InvalidRoleException, AwsServiceException, SdkClientException, AppStreamException Starts the specified fleet.
- Parameters:
startFleetRequest
-- Returns:
- Result of the StartFleet operation returned by the service.
- See Also:
-
startFleet
default StartFleetResponse startFleet(Consumer<StartFleetRequest.Builder> startFleetRequest) throws ResourceNotFoundException, OperationNotPermittedException, LimitExceededException, RequestLimitExceededException, InvalidAccountStatusException, ConcurrentModificationException, ResourceNotAvailableException, InvalidRoleException, AwsServiceException, SdkClientException, AppStreamException Starts the specified fleet.
This is a convenience which creates an instance of the
StartFleetRequest.Builder
avoiding the need to create one manually viaStartFleetRequest.builder()
- Parameters:
startFleetRequest
- AConsumer
that will call methods onStartFleetRequest.Builder
to create a request.- Returns:
- Result of the StartFleet operation returned by the service.
- See Also:
-
startImageBuilder
default StartImageBuilderResponse startImageBuilder(StartImageBuilderRequest startImageBuilderRequest) throws ResourceNotAvailableException, ResourceNotFoundException, ConcurrentModificationException, InvalidAccountStatusException, IncompatibleImageException, AwsServiceException, SdkClientException, AppStreamException Starts the specified image builder.
- Parameters:
startImageBuilderRequest
-- Returns:
- Result of the StartImageBuilder operation returned by the service.
- See Also:
-
startImageBuilder
default StartImageBuilderResponse startImageBuilder(Consumer<StartImageBuilderRequest.Builder> startImageBuilderRequest) throws ResourceNotAvailableException, ResourceNotFoundException, ConcurrentModificationException, InvalidAccountStatusException, IncompatibleImageException, AwsServiceException, SdkClientException, AppStreamException Starts the specified image builder.
This is a convenience which creates an instance of the
StartImageBuilderRequest.Builder
avoiding the need to create one manually viaStartImageBuilderRequest.builder()
- Parameters:
startImageBuilderRequest
- AConsumer
that will call methods onStartImageBuilderRequest.Builder
to create a request.- Returns:
- Result of the StartImageBuilder operation returned by the service.
- See Also:
-
stopAppBlockBuilder
default StopAppBlockBuilderResponse stopAppBlockBuilder(StopAppBlockBuilderRequest stopAppBlockBuilderRequest) throws ConcurrentModificationException, OperationNotPermittedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException Stops an app block builder.
Stopping an app block builder terminates the instance, and the instance state is not persisted.
- Parameters:
stopAppBlockBuilderRequest
-- Returns:
- Result of the StopAppBlockBuilder operation returned by the service.
- See Also:
-
stopAppBlockBuilder
default StopAppBlockBuilderResponse stopAppBlockBuilder(Consumer<StopAppBlockBuilderRequest.Builder> stopAppBlockBuilderRequest) throws ConcurrentModificationException, OperationNotPermittedException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException Stops an app block builder.
Stopping an app block builder terminates the instance, and the instance state is not persisted.
This is a convenience which creates an instance of the
StopAppBlockBuilderRequest.Builder
avoiding the need to create one manually viaStopAppBlockBuilderRequest.builder()
- Parameters:
stopAppBlockBuilderRequest
- AConsumer
that will call methods onStopAppBlockBuilderRequest.Builder
to create a request.- Returns:
- Result of the StopAppBlockBuilder operation returned by the service.
- See Also:
-
stopFleet
default StopFleetResponse stopFleet(StopFleetRequest stopFleetRequest) throws ResourceNotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException Stops the specified fleet.
- Parameters:
stopFleetRequest
-- Returns:
- Result of the StopFleet operation returned by the service.
- See Also:
-
stopFleet
default StopFleetResponse stopFleet(Consumer<StopFleetRequest.Builder> stopFleetRequest) throws ResourceNotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException Stops the specified fleet.
This is a convenience which creates an instance of the
StopFleetRequest.Builder
avoiding the need to create one manually viaStopFleetRequest.builder()
- Parameters:
stopFleetRequest
- AConsumer
that will call methods onStopFleetRequest.Builder
to create a request.- Returns:
- Result of the StopFleet operation returned by the service.
- See Also:
-
stopImageBuilder
default StopImageBuilderResponse stopImageBuilder(StopImageBuilderRequest stopImageBuilderRequest) throws ResourceNotFoundException, OperationNotPermittedException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException Stops the specified image builder.
- Parameters:
stopImageBuilderRequest
-- Returns:
- Result of the StopImageBuilder operation returned by the service.
- See Also:
-
stopImageBuilder
default StopImageBuilderResponse stopImageBuilder(Consumer<StopImageBuilderRequest.Builder> stopImageBuilderRequest) throws ResourceNotFoundException, OperationNotPermittedException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException Stops the specified image builder.
This is a convenience which creates an instance of the
StopImageBuilderRequest.Builder
avoiding the need to create one manually viaStopImageBuilderRequest.builder()
- Parameters:
stopImageBuilderRequest
- AConsumer
that will call methods onStopImageBuilderRequest.Builder
to create a request.- Returns:
- Result of the StopImageBuilder operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws LimitExceededException, InvalidAccountStatusException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException 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.
- Parameters:
tagResourceRequest
-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws LimitExceededException, InvalidAccountStatusException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException 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.
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException 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.
- Parameters:
untagResourceRequest
-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException 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.
This is a convenience which creates an instance of the
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateAppBlockBuilder
default UpdateAppBlockBuilderResponse updateAppBlockBuilder(UpdateAppBlockBuilderRequest updateAppBlockBuilderRequest) throws ConcurrentModificationException, InvalidAccountStatusException, InvalidParameterCombinationException, InvalidRoleException, LimitExceededException, OperationNotPermittedException, RequestLimitExceededException, ResourceInUseException, ResourceNotAvailableException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException Updates an app block builder.
If the app block builder is in the
STARTING
orSTOPPING
state, you can't update it. If the app block builder is in theRUNNING
state, you can only update the DisplayName and Description. If the app block builder is in theSTOPPED
state, you can update any attribute except the Name.- Parameters:
updateAppBlockBuilderRequest
-- Returns:
- Result of the UpdateAppBlockBuilder operation returned by the service.
- See Also:
-
updateAppBlockBuilder
default UpdateAppBlockBuilderResponse updateAppBlockBuilder(Consumer<UpdateAppBlockBuilderRequest.Builder> updateAppBlockBuilderRequest) throws ConcurrentModificationException, InvalidAccountStatusException, InvalidParameterCombinationException, InvalidRoleException, LimitExceededException, OperationNotPermittedException, RequestLimitExceededException, ResourceInUseException, ResourceNotAvailableException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException Updates an app block builder.
If the app block builder is in the
STARTING
orSTOPPING
state, you can't update it. If the app block builder is in theRUNNING
state, you can only update the DisplayName and Description. If the app block builder is in theSTOPPED
state, you can update any attribute except the Name.
This is a convenience which creates an instance of the
UpdateAppBlockBuilderRequest.Builder
avoiding the need to create one manually viaUpdateAppBlockBuilderRequest.builder()
- Parameters:
updateAppBlockBuilderRequest
- AConsumer
that will call methods onUpdateAppBlockBuilderRequest.Builder
to create a request.- Returns:
- Result of the UpdateAppBlockBuilder operation returned by the service.
- See Also:
-
updateApplication
default UpdateApplicationResponse updateApplication(UpdateApplicationRequest updateApplicationRequest) throws OperationNotPermittedException, ConcurrentModificationException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException Updates the specified application.
- Parameters:
updateApplicationRequest
-- Returns:
- Result of the UpdateApplication operation returned by the service.
- See Also:
-
updateApplication
default UpdateApplicationResponse updateApplication(Consumer<UpdateApplicationRequest.Builder> updateApplicationRequest) throws OperationNotPermittedException, ConcurrentModificationException, ResourceNotFoundException, AwsServiceException, SdkClientException, AppStreamException Updates the specified application.
This is a convenience which creates an instance of the
UpdateApplicationRequest.Builder
avoiding the need to create one manually viaUpdateApplicationRequest.builder()
- Parameters:
updateApplicationRequest
- AConsumer
that will call methods onUpdateApplicationRequest.Builder
to create a request.- Returns:
- Result of the UpdateApplication operation returned by the service.
- See Also:
-
updateDirectoryConfig
default UpdateDirectoryConfigResponse updateDirectoryConfig(UpdateDirectoryConfigRequest updateDirectoryConfigRequest) throws ResourceInUseException, ResourceNotFoundException, ConcurrentModificationException, OperationNotPermittedException, InvalidRoleException, AwsServiceException, SdkClientException, AppStreamException 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.
- Parameters:
updateDirectoryConfigRequest
-- Returns:
- Result of the UpdateDirectoryConfig operation returned by the service.
- See Also:
-
updateDirectoryConfig
default UpdateDirectoryConfigResponse updateDirectoryConfig(Consumer<UpdateDirectoryConfigRequest.Builder> updateDirectoryConfigRequest) throws ResourceInUseException, ResourceNotFoundException, ConcurrentModificationException, OperationNotPermittedException, InvalidRoleException, AwsServiceException, SdkClientException, AppStreamException 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.
This is a convenience which creates an instance of the
UpdateDirectoryConfigRequest.Builder
avoiding the need to create one manually viaUpdateDirectoryConfigRequest.builder()
- Parameters:
updateDirectoryConfigRequest
- AConsumer
that will call methods onUpdateDirectoryConfigRequest.Builder
to create a request.- Returns:
- Result of the UpdateDirectoryConfig operation returned by the service.
- See Also:
-
updateEntitlement
default UpdateEntitlementResponse updateEntitlement(UpdateEntitlementRequest updateEntitlementRequest) throws OperationNotPermittedException, ResourceNotFoundException, EntitlementNotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException Updates the specified entitlement.
- Parameters:
updateEntitlementRequest
-- Returns:
- Result of the UpdateEntitlement operation returned by the service.
- See Also:
-
updateEntitlement
default UpdateEntitlementResponse updateEntitlement(Consumer<UpdateEntitlementRequest.Builder> updateEntitlementRequest) throws OperationNotPermittedException, ResourceNotFoundException, EntitlementNotFoundException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException Updates the specified entitlement.
This is a convenience which creates an instance of the
UpdateEntitlementRequest.Builder
avoiding the need to create one manually viaUpdateEntitlementRequest.builder()
- Parameters:
updateEntitlementRequest
- AConsumer
that will call methods onUpdateEntitlementRequest.Builder
to create a request.- Returns:
- Result of the UpdateEntitlement operation returned by the service.
- See Also:
-
updateFleet
default UpdateFleetResponse updateFleet(UpdateFleetRequest updateFleetRequest) throws ResourceInUseException, LimitExceededException, RequestLimitExceededException, InvalidAccountStatusException, InvalidRoleException, ResourceNotFoundException, ResourceNotAvailableException, InvalidParameterCombinationException, ConcurrentModificationException, IncompatibleImageException, OperationNotPermittedException, AwsServiceException, SdkClientException, AppStreamException 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 following based on the fleet type:-
Always-On and On-Demand fleet types
You can update the
DisplayName
,ComputeCapacity
,ImageARN
,ImageName
,IdleDisconnectTimeoutInSeconds
, andDisconnectTimeoutInSeconds
attributes. -
Elastic fleet type
You can update the
DisplayName
,IdleDisconnectTimeoutInSeconds
,DisconnectTimeoutInSeconds
,MaxConcurrentSessions
,SessionScriptS3Location
andUsbDeviceFilterStrings
attributes.
If the fleet is in the
STARTING
orSTOPPED
state, you can't update it.- Parameters:
updateFleetRequest
-- Returns:
- Result of the UpdateFleet operation returned by the service.
- See Also:
-
-
updateFleet
default UpdateFleetResponse updateFleet(Consumer<UpdateFleetRequest.Builder> updateFleetRequest) throws ResourceInUseException, LimitExceededException, RequestLimitExceededException, InvalidAccountStatusException, InvalidRoleException, ResourceNotFoundException, ResourceNotAvailableException, InvalidParameterCombinationException, ConcurrentModificationException, IncompatibleImageException, OperationNotPermittedException, AwsServiceException, SdkClientException, AppStreamException 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 following based on the fleet type:-
Always-On and On-Demand fleet types
You can update the
DisplayName
,ComputeCapacity
,ImageARN
,ImageName
,IdleDisconnectTimeoutInSeconds
, andDisconnectTimeoutInSeconds
attributes. -
Elastic fleet type
You can update the
DisplayName
,IdleDisconnectTimeoutInSeconds
,DisconnectTimeoutInSeconds
,MaxConcurrentSessions
,SessionScriptS3Location
andUsbDeviceFilterStrings
attributes.
If the fleet is in the
STARTING
orSTOPPED
state, you can't update it.
This is a convenience which creates an instance of the
UpdateFleetRequest.Builder
avoiding the need to create one manually viaUpdateFleetRequest.builder()
- Parameters:
updateFleetRequest
- AConsumer
that will call methods onUpdateFleetRequest.Builder
to create a request.- Returns:
- Result of the UpdateFleet operation returned by the service.
- See Also:
-
-
updateImagePermissions
default UpdateImagePermissionsResponse updateImagePermissions(UpdateImagePermissionsRequest updateImagePermissionsRequest) throws ResourceNotFoundException, ResourceNotAvailableException, LimitExceededException, AwsServiceException, SdkClientException, AppStreamException Adds or updates permissions for the specified private image.
- Parameters:
updateImagePermissionsRequest
-- Returns:
- Result of the UpdateImagePermissions operation returned by the service.
- See Also:
-
updateImagePermissions
default UpdateImagePermissionsResponse updateImagePermissions(Consumer<UpdateImagePermissionsRequest.Builder> updateImagePermissionsRequest) throws ResourceNotFoundException, ResourceNotAvailableException, LimitExceededException, AwsServiceException, SdkClientException, AppStreamException Adds or updates permissions for the specified private image.
This is a convenience which creates an instance of the
UpdateImagePermissionsRequest.Builder
avoiding the need to create one manually viaUpdateImagePermissionsRequest.builder()
- Parameters:
updateImagePermissionsRequest
- AConsumer
that will call methods onUpdateImagePermissionsRequest.Builder
to create a request.- Returns:
- Result of the UpdateImagePermissions operation returned by the service.
- See Also:
-
updateStack
default UpdateStackResponse updateStack(UpdateStackRequest updateStackRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidRoleException, InvalidParameterCombinationException, LimitExceededException, InvalidAccountStatusException, IncompatibleImageException, OperationNotPermittedException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException Updates the specified fields for the specified stack.
- Parameters:
updateStackRequest
-- Returns:
- Result of the UpdateStack operation returned by the service.
- See Also:
-
updateStack
default UpdateStackResponse updateStack(Consumer<UpdateStackRequest.Builder> updateStackRequest) throws ResourceNotFoundException, ResourceInUseException, InvalidRoleException, InvalidParameterCombinationException, LimitExceededException, InvalidAccountStatusException, IncompatibleImageException, OperationNotPermittedException, ConcurrentModificationException, AwsServiceException, SdkClientException, AppStreamException Updates the specified fields for the specified stack.
This is a convenience which creates an instance of the
UpdateStackRequest.Builder
avoiding the need to create one manually viaUpdateStackRequest.builder()
- Parameters:
updateStackRequest
- AConsumer
that will call methods onUpdateStackRequest.Builder
to create a request.- Returns:
- Result of the UpdateStack operation returned by the service.
- See Also:
-
waiter
Create an instance ofAppStreamWaiter
using this client.Waiters created via this method are managed by the SDK and resources will be released when the service client is closed.
- Returns:
- an instance of
AppStreamWaiter
-
create
Create aAppStreamClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aAppStreamClient
. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-