/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appstream-2016-12-01.normal.json service model.
*/
using System;
using System.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Net;
using Amazon.AppStream.Model;
using Amazon.AppStream.Model.Internal.MarshallTransformations;
using Amazon.AppStream.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.AppStream
{
///
/// Implementation for accessing AppStream
///
/// Amazon AppStream 2.0
///
/// 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:
///
///
///
public partial class AmazonAppStreamClient : AmazonServiceClient, IAmazonAppStream
{
private static IServiceMetadata serviceMetadata = new AmazonAppStreamMetadata();
#region Constructors
///
/// Constructs AmazonAppStreamClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
public AmazonAppStreamClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppStreamConfig()) { }
///
/// Constructs AmazonAppStreamClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The region to connect.
public AmazonAppStreamClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppStreamConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonAppStreamClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The AmazonAppStreamClient Configuration Object
public AmazonAppStreamClient(AmazonAppStreamConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonAppStreamClient with AWS Credentials
///
/// AWS Credentials
public AmazonAppStreamClient(AWSCredentials credentials)
: this(credentials, new AmazonAppStreamConfig())
{
}
///
/// Constructs AmazonAppStreamClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonAppStreamClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonAppStreamConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonAppStreamClient with AWS Credentials and an
/// AmazonAppStreamClient Configuration object.
///
/// AWS Credentials
/// The AmazonAppStreamClient Configuration Object
public AmazonAppStreamClient(AWSCredentials credentials, AmazonAppStreamConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonAppStreamClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonAppStreamClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppStreamConfig())
{
}
///
/// Constructs AmazonAppStreamClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonAppStreamClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppStreamConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonAppStreamClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAppStreamClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonAppStreamClient Configuration Object
public AmazonAppStreamClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAppStreamConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonAppStreamClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonAppStreamClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppStreamConfig())
{
}
///
/// Constructs AmazonAppStreamClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The region to connect.
public AmazonAppStreamClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppStreamConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonAppStreamClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAppStreamClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonAppStreamClient Configuration Object
public AmazonAppStreamClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAppStreamConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#if AWS_ASYNC_ENUMERABLES_API
private IAppStreamPaginatorFactory _paginators;
///
/// Paginators for the service
///
public IAppStreamPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new AppStreamPaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#region Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customizes the runtime pipeline.
///
/// Runtime pipeline for the current client.
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler();
pipeline.AddHandlerAfter(new AmazonAppStreamEndpointResolver());
}
///
/// Capture metadata for the service.
///
protected override IServiceMetadata ServiceMetadata
{
get
{
return serviceMetadata;
}
}
#endregion
#region Dispose
///
/// Disposes the service client.
///
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
#endregion
#region AssociateAppBlockBuilderAppBlock
internal virtual AssociateAppBlockBuilderAppBlockResponse AssociateAppBlockBuilderAppBlock(AssociateAppBlockBuilderAppBlockRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateAppBlockBuilderAppBlockRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateAppBlockBuilderAppBlockResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Associates the specified app block builder with the specified app block.
///
/// Container for the necessary parameters to execute the AssociateAppBlockBuilderAppBlock service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AssociateAppBlockBuilderAppBlock service method, as returned by AppStream.
///
/// An API error occurred. Wait a few minutes and try again.
///
///
/// Indicates an incorrect combination of parameters, or a missing parameter.
///
///
/// The requested limit exceeds the permitted limit for an account.
///
///
/// The attempted operation is not permitted.
///
///
/// The specified resource was not found.
///
/// REST API Reference for AssociateAppBlockBuilderAppBlock Operation
public virtual Task AssociateAppBlockBuilderAppBlockAsync(AssociateAppBlockBuilderAppBlockRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateAppBlockBuilderAppBlockRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateAppBlockBuilderAppBlockResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region AssociateApplicationFleet
internal virtual AssociateApplicationFleetResponse AssociateApplicationFleet(AssociateApplicationFleetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateApplicationFleetRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateApplicationFleetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Associates the specified application with the specified fleet. This is only supported
/// for Elastic fleets.
///
/// Container for the necessary parameters to execute the AssociateApplicationFleet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AssociateApplicationFleet service method, as returned by AppStream.
///
/// An API error occurred. Wait a few minutes and try again.
///
///
/// Indicates an incorrect combination of parameters, or a missing parameter.
///
///
/// The requested limit exceeds the permitted limit for an account.
///
///
/// The attempted operation is not permitted.
///
///
/// The specified resource was not found.
///
/// REST API Reference for AssociateApplicationFleet Operation
public virtual Task AssociateApplicationFleetAsync(AssociateApplicationFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateApplicationFleetRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateApplicationFleetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region AssociateApplicationToEntitlement
internal virtual AssociateApplicationToEntitlementResponse AssociateApplicationToEntitlement(AssociateApplicationToEntitlementRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateApplicationToEntitlementRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateApplicationToEntitlementResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Associates an application to entitle.
///
/// Container for the necessary parameters to execute the AssociateApplicationToEntitlement service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AssociateApplicationToEntitlement service method, as returned by AppStream.
///
/// The entitlement can't be found.
///
///
/// The requested limit exceeds the permitted limit for an account.
///
///
/// The attempted operation is not permitted.
///
///
/// The specified resource was not found.
///
/// REST API Reference for AssociateApplicationToEntitlement Operation
public virtual Task AssociateApplicationToEntitlementAsync(AssociateApplicationToEntitlementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateApplicationToEntitlementRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateApplicationToEntitlementResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region AssociateFleet
internal virtual AssociateFleetResponse AssociateFleet(AssociateFleetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateFleetRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateFleetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Associates the specified fleet with the specified stack.
///
/// Container for the necessary parameters to execute the AssociateFleet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AssociateFleet service method, as returned by AppStream.
///
/// An API error occurred. Wait a few minutes and try again.
///
///
/// The image can't be updated because it's not compatible for updates.
///
///
/// The resource cannot be created because your AWS account is suspended. For assistance,
/// contact AWS Support.
///
///
/// The requested limit exceeds the permitted limit for an account.
///
///
/// The attempted operation is not permitted.
///
///
/// The specified resource was not found.
///
/// REST API Reference for AssociateFleet Operation
public virtual Task AssociateFleetAsync(AssociateFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateFleetRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateFleetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region BatchAssociateUserStack
internal virtual BatchAssociateUserStackResponse BatchAssociateUserStack(BatchAssociateUserStackRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchAssociateUserStackRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchAssociateUserStackResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the BatchAssociateUserStack service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the BatchAssociateUserStack service method, as returned by AppStream.
///
/// Indicates an incorrect combination of parameters, or a missing parameter.
///
///
/// The attempted operation is not permitted.
///
/// REST API Reference for BatchAssociateUserStack Operation
public virtual Task BatchAssociateUserStackAsync(BatchAssociateUserStackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchAssociateUserStackRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchAssociateUserStackResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region BatchDisassociateUserStack
internal virtual BatchDisassociateUserStackResponse BatchDisassociateUserStack(BatchDisassociateUserStackRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchDisassociateUserStackRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchDisassociateUserStackResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Disassociates the specified users from the specified stacks.
///
/// Container for the necessary parameters to execute the BatchDisassociateUserStack service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the BatchDisassociateUserStack service method, as returned by AppStream.
///
/// Indicates an incorrect combination of parameters, or a missing parameter.
///
///
/// The attempted operation is not permitted.
///
/// REST API Reference for BatchDisassociateUserStack Operation
public virtual Task BatchDisassociateUserStackAsync(BatchDisassociateUserStackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchDisassociateUserStackRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchDisassociateUserStackResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CopyImage
internal virtual CopyImageResponse CopyImage(CopyImageRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CopyImageRequestMarshaller.Instance;
options.ResponseUnmarshaller = CopyImageResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the CopyImage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CopyImage service method, as returned by AppStream.
///
/// The image can't be updated because it's not compatible for updates.
///
///
/// The resource cannot be created because your AWS account is suspended. For assistance,
/// contact AWS Support.
///
///
/// The requested limit exceeds the permitted limit for an account.
///
///
/// The specified resource already exists.
///
///
/// The specified resource exists and is not in use, but isn't available.
///
///
/// The specified resource was not found.
///
/// REST API Reference for CopyImage Operation
public virtual Task CopyImageAsync(CopyImageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CopyImageRequestMarshaller.Instance;
options.ResponseUnmarshaller = CopyImageResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateAppBlock
internal virtual CreateAppBlockResponse CreateAppBlock(CreateAppBlockRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAppBlockRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAppBlockResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
/// Container for the necessary parameters to execute the CreateAppBlock service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateAppBlock service method, as returned by AppStream.
///
/// An API error occurred. Wait a few minutes and try again.
///
///
/// The requested limit exceeds the permitted limit for an account.
///
///
/// The attempted operation is not permitted.
///
///
/// The specified resource already exists.
///
/// REST API Reference for CreateAppBlock Operation
public virtual Task CreateAppBlockAsync(CreateAppBlockRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAppBlockRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAppBlockResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateAppBlockBuilder
internal virtual CreateAppBlockBuilderResponse CreateAppBlockBuilder(CreateAppBlockBuilderRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAppBlockBuilderRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAppBlockBuilderResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates an app block builder.
///
/// Container for the necessary parameters to execute the CreateAppBlockBuilder service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateAppBlockBuilder service method, as returned by AppStream.
///
/// An API error occurred. Wait a few minutes and try again.
///
///
/// The resource cannot be created because your AWS account is suspended. For assistance,
/// contact AWS Support.
///
///
/// Indicates an incorrect combination of parameters, or a missing parameter.
///
///
/// The specified role is invalid.
///
///
/// The requested limit exceeds the permitted limit for an account.
///
///
/// The attempted operation is not permitted.
///
///
/// AppStream 2.0 can’t process the request right now because the Describe calls from
/// your AWS account are being throttled by Amazon EC2. Try again later.
///
///
/// The specified resource already exists.
///
///
/// The specified resource exists and is not in use, but isn't available.
///
///
/// The specified resource was not found.
///
/// REST API Reference for CreateAppBlockBuilder Operation
public virtual Task CreateAppBlockBuilderAsync(CreateAppBlockBuilderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAppBlockBuilderRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAppBlockBuilderResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateAppBlockBuilderStreamingURL
internal virtual CreateAppBlockBuilderStreamingURLResponse CreateAppBlockBuilderStreamingURL(CreateAppBlockBuilderStreamingURLRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAppBlockBuilderStreamingURLRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAppBlockBuilderStreamingURLResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a URL to start a create app block builder streaming session.
///
/// Container for the necessary parameters to execute the CreateAppBlockBuilderStreamingURL service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateAppBlockBuilderStreamingURL service method, as returned by AppStream.
///
/// The attempted operation is not permitted.
///
///
/// The specified resource was not found.
///
/// REST API Reference for CreateAppBlockBuilderStreamingURL Operation
public virtual Task CreateAppBlockBuilderStreamingURLAsync(CreateAppBlockBuilderStreamingURLRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAppBlockBuilderStreamingURLRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAppBlockBuilderStreamingURLResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateApplication
internal virtual CreateApplicationResponse CreateApplication(CreateApplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateApplicationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
/// Container for the necessary parameters to execute the CreateApplication service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateApplication service method, as returned by AppStream.
///
/// An API error occurred. Wait a few minutes and try again.
///
///
/// The requested limit exceeds the permitted limit for an account.
///
///
/// The attempted operation is not permitted.
///
///
/// The specified resource already exists.
///
///
/// The specified resource was not found.
///
/// REST API Reference for CreateApplication Operation
public virtual Task CreateApplicationAsync(CreateApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateApplicationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateDirectoryConfig
internal virtual CreateDirectoryConfigResponse CreateDirectoryConfig(CreateDirectoryConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDirectoryConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDirectoryConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the CreateDirectoryConfig service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateDirectoryConfig service method, as returned by AppStream.
///
/// The resource cannot be created because your AWS account is suspended. For assistance,
/// contact AWS Support.
///
///
/// The specified role is invalid.
///
///
/// The requested limit exceeds the permitted limit for an account.
///
///
/// The attempted operation is not permitted.
///
///
/// The specified resource already exists.
///
///
/// The specified resource was not found.
///
/// REST API Reference for CreateDirectoryConfig Operation
public virtual Task CreateDirectoryConfigAsync(CreateDirectoryConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDirectoryConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDirectoryConfigResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateEntitlement
internal virtual CreateEntitlementResponse CreateEntitlement(CreateEntitlementRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateEntitlementRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateEntitlementResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the CreateEntitlement service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateEntitlement service method, as returned by AppStream.
///
/// The entitlement already exists.
///
///
/// The requested limit exceeds the permitted limit for an account.
///
///
/// The attempted operation is not permitted.
///
///
/// The specified resource was not found.
///
/// REST API Reference for CreateEntitlement Operation
public virtual Task CreateEntitlementAsync(CreateEntitlementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateEntitlementRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateEntitlementResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateFleet
internal virtual CreateFleetResponse CreateFleet(CreateFleetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFleetRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFleetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a fleet. A fleet consists of streaming instances that your users access for
/// their applications and desktops.
///
/// Container for the necessary parameters to execute the CreateFleet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateFleet service method, as returned by AppStream.
///
/// An API error occurred. Wait a few minutes and try again.
///
///
/// The image can't be updated because it's not compatible for updates.
///
///
/// The resource cannot be created because your AWS account is suspended. For assistance,
/// contact AWS Support.
///
///
/// Indicates an incorrect combination of parameters, or a missing parameter.
///
///
/// The specified role is invalid.
///
///
/// The requested limit exceeds the permitted limit for an account.
///
///
/// The attempted operation is not permitted.
///
///
/// AppStream 2.0 can’t process the request right now because the Describe calls from
/// your AWS account are being throttled by Amazon EC2. Try again later.
///
///
/// The specified resource already exists.
///
///
/// The specified resource exists and is not in use, but isn't available.
///
///
/// The specified resource was not found.
///
/// REST API Reference for CreateFleet Operation
public virtual Task CreateFleetAsync(CreateFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFleetRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFleetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateImageBuilder
internal virtual CreateImageBuilderResponse CreateImageBuilder(CreateImageBuilderRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateImageBuilderRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateImageBuilderResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates an image builder. An image builder is a virtual machine that is used to create
/// an image.
///
///
///
/// The initial state of the builder is PENDING
. When it is ready, the state
/// is RUNNING
.
///
///
/// Container for the necessary parameters to execute the CreateImageBuilder service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateImageBuilder service method, as returned by AppStream.
///
/// An API error occurred. Wait a few minutes and try again.
///
///
/// The image can't be updated because it's not compatible for updates.
///
///
/// The resource cannot be created because your AWS account is suspended. For assistance,
/// contact AWS Support.
///
///
/// Indicates an incorrect combination of parameters, or a missing parameter.
///
///
/// The specified role is invalid.
///
///
/// The requested limit exceeds the permitted limit for an account.
///
///
/// The attempted operation is not permitted.
///
///
/// AppStream 2.0 can’t process the request right now because the Describe calls from
/// your AWS account are being throttled by Amazon EC2. Try again later.
///
///
/// The specified resource already exists.
///
///
/// The specified resource exists and is not in use, but isn't available.
///
///
/// The specified resource was not found.
///
/// REST API Reference for CreateImageBuilder Operation
public virtual Task CreateImageBuilderAsync(CreateImageBuilderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateImageBuilderRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateImageBuilderResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateImageBuilderStreamingURL
internal virtual CreateImageBuilderStreamingURLResponse CreateImageBuilderStreamingURL(CreateImageBuilderStreamingURLRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateImageBuilderStreamingURLRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateImageBuilderStreamingURLResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a URL to start an image builder streaming session.
///
/// Container for the necessary parameters to execute the CreateImageBuilderStreamingURL service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateImageBuilderStreamingURL service method, as returned by AppStream.
///
/// The attempted operation is not permitted.
///
///
/// The specified resource was not found.
///
/// REST API Reference for CreateImageBuilderStreamingURL Operation
public virtual Task CreateImageBuilderStreamingURLAsync(CreateImageBuilderStreamingURLRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateImageBuilderStreamingURLRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateImageBuilderStreamingURLResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateStack
internal virtual CreateStackResponse CreateStack(CreateStackRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateStackRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateStackResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a stack to start streaming applications to users. A stack consists of an associated
/// fleet, user access policies, and storage configurations.
///
/// Container for the necessary parameters to execute the CreateStack service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateStack service method, as returned by AppStream.
///
/// An API error occurred. Wait a few minutes and try again.
///
///
/// The resource cannot be created because your AWS account is suspended. For assistance,
/// contact AWS Support.
///
///
/// Indicates an incorrect combination of parameters, or a missing parameter.
///
///
/// The specified role is invalid.
///
///
/// The requested limit exceeds the permitted limit for an account.
///
///
/// The specified resource already exists.
///
///
/// The specified resource was not found.
///
/// REST API Reference for CreateStack Operation
public virtual Task CreateStackAsync(CreateStackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateStackRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateStackResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateStreamingURL
internal virtual CreateStreamingURLResponse CreateStreamingURL(CreateStreamingURLRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateStreamingURLRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateStreamingURLResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the CreateStreamingURL service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateStreamingURL service method, as returned by AppStream.
///
/// Indicates an incorrect combination of parameters, or a missing parameter.
///
///
/// The attempted operation is not permitted.
///
///
/// The specified resource exists and is not in use, but isn't available.
///
///
/// The specified resource was not found.
///
/// REST API Reference for CreateStreamingURL Operation
public virtual Task CreateStreamingURLAsync(CreateStreamingURLRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateStreamingURLRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateStreamingURLResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateUpdatedImage
internal virtual CreateUpdatedImageResponse CreateUpdatedImage(CreateUpdatedImageRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateUpdatedImageRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateUpdatedImageResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
/// Container for the necessary parameters to execute the CreateUpdatedImage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateUpdatedImage service method, as returned by AppStream.
///
/// An API error occurred. Wait a few minutes and try again.
///
///
/// The image can't be updated because it's not compatible for updates.
///
///
/// The resource cannot be created because your AWS account is suspended. For assistance,
/// contact AWS Support.
///
///
/// The requested limit exceeds the permitted limit for an account.
///
///
/// The attempted operation is not permitted.
///
///
/// The specified resource already exists.
///
///
/// The specified resource was not found.
///
/// REST API Reference for CreateUpdatedImage Operation
public virtual Task CreateUpdatedImageAsync(CreateUpdatedImageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateUpdatedImageRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateUpdatedImageResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateUsageReportSubscription
internal virtual CreateUsageReportSubscriptionResponse CreateUsageReportSubscription(CreateUsageReportSubscriptionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateUsageReportSubscriptionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateUsageReportSubscriptionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a usage report subscription. Usage reports are generated daily.
///
/// Container for the necessary parameters to execute the CreateUsageReportSubscription service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateUsageReportSubscription service method, as returned by AppStream.
///
/// The resource cannot be created because your AWS account is suspended. For assistance,
/// contact AWS Support.
///
///
/// The specified role is invalid.
///
///
/// The requested limit exceeds the permitted limit for an account.
///
/// REST API Reference for CreateUsageReportSubscription Operation
public virtual Task CreateUsageReportSubscriptionAsync(CreateUsageReportSubscriptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateUsageReportSubscriptionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateUsageReportSubscriptionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateUser
internal virtual CreateUserResponse CreateUser(CreateUserRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateUserRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateUserResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a new user in the user pool.
///
/// Container for the necessary parameters to execute the CreateUser service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateUser service method, as returned by AppStream.
///
/// The resource cannot be created because your AWS account is suspended. For assistance,
/// contact AWS Support.
///
///
/// Indicates an incorrect combination of parameters, or a missing parameter.
///
///
/// The requested limit exceeds the permitted limit for an account.
///
///
/// The attempted operation is not permitted.
///
///
/// The specified resource already exists.
///
/// REST API Reference for CreateUser Operation
public virtual Task CreateUserAsync(CreateUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateUserRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateUserResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteAppBlock
internal virtual DeleteAppBlockResponse DeleteAppBlock(DeleteAppBlockRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAppBlockRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAppBlockResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes an app block.
///
/// Container for the necessary parameters to execute the DeleteAppBlock service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteAppBlock service method, as returned by AppStream.
///
/// An API error occurred. Wait a few minutes and try again.
///
///
/// The specified resource is in use.
///
///
/// The specified resource was not found.
///
/// REST API Reference for DeleteAppBlock Operation
public virtual Task DeleteAppBlockAsync(DeleteAppBlockRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAppBlockRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAppBlockResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteAppBlockBuilder
internal virtual DeleteAppBlockBuilderResponse DeleteAppBlockBuilder(DeleteAppBlockBuilderRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAppBlockBuilderRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAppBlockBuilderResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes an app block builder.
///
///
///
/// An app block builder can only be deleted when it has no association with an app block.
///
///
/// Container for the necessary parameters to execute the DeleteAppBlockBuilder service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteAppBlockBuilder service method, as returned by AppStream.
///
/// An API error occurred. Wait a few minutes and try again.
///
///
/// The attempted operation is not permitted.
///
///
/// The specified resource is in use.
///
///
/// The specified resource was not found.
///
/// REST API Reference for DeleteAppBlockBuilder Operation
public virtual Task DeleteAppBlockBuilderAsync(DeleteAppBlockBuilderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAppBlockBuilderRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAppBlockBuilderResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteApplication
internal virtual DeleteApplicationResponse DeleteApplication(DeleteApplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteApplicationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes an application.
///
/// Container for the necessary parameters to execute the DeleteApplication service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteApplication service method, as returned by AppStream.
///
/// An API error occurred. Wait a few minutes and try again.
///
///
/// The attempted operation is not permitted.
///
///
/// The specified resource is in use.
///
///
/// The specified resource was not found.
///
/// REST API Reference for DeleteApplication Operation
public virtual Task DeleteApplicationAsync(DeleteApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteApplicationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteDirectoryConfig
internal virtual DeleteDirectoryConfigResponse DeleteDirectoryConfig(DeleteDirectoryConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDirectoryConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDirectoryConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the DeleteDirectoryConfig service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteDirectoryConfig service method, as returned by AppStream.
///
/// The specified resource is in use.
///
///
/// The specified resource was not found.
///
/// REST API Reference for DeleteDirectoryConfig Operation
public virtual Task DeleteDirectoryConfigAsync(DeleteDirectoryConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDirectoryConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDirectoryConfigResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteEntitlement
internal virtual DeleteEntitlementResponse DeleteEntitlement(DeleteEntitlementRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteEntitlementRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteEntitlementResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes the specified entitlement.
///
/// Container for the necessary parameters to execute the DeleteEntitlement service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteEntitlement service method, as returned by AppStream.
///
/// An API error occurred. Wait a few minutes and try again.
///
///
/// The entitlement can't be found.
///
///
/// The attempted operation is not permitted.
///
///
/// The specified resource was not found.
///
/// REST API Reference for DeleteEntitlement Operation
public virtual Task DeleteEntitlementAsync(DeleteEntitlementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteEntitlementRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteEntitlementResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteFleet
internal virtual DeleteFleetResponse DeleteFleet(DeleteFleetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFleetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFleetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes the specified fleet.
///
/// Container for the necessary parameters to execute the DeleteFleet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteFleet service method, as returned by AppStream.
///
/// An API error occurred. Wait a few minutes and try again.
///
///
/// The specified resource is in use.
///
///
/// The specified resource was not found.
///
/// REST API Reference for DeleteFleet Operation
public virtual Task DeleteFleetAsync(DeleteFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFleetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFleetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteImage
internal virtual DeleteImageResponse DeleteImage(DeleteImageRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteImageRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteImageResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the DeleteImage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteImage service method, as returned by AppStream.
///
/// An API error occurred. Wait a few minutes and try again.
///
///
/// The attempted operation is not permitted.
///
///
/// The specified resource is in use.
///
///
/// The specified resource was not found.
///
/// REST API Reference for DeleteImage Operation
public virtual Task DeleteImageAsync(DeleteImageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteImageRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteImageResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteImageBuilder
internal virtual DeleteImageBuilderResponse DeleteImageBuilder(DeleteImageBuilderRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteImageBuilderRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteImageBuilderResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes the specified image builder and releases the capacity.
///
/// Container for the necessary parameters to execute the DeleteImageBuilder service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteImageBuilder service method, as returned by AppStream.
///
/// An API error occurred. Wait a few minutes and try again.
///
///
/// The attempted operation is not permitted.
///
///
/// The specified resource was not found.
///
/// REST API Reference for DeleteImageBuilder Operation
public virtual Task DeleteImageBuilderAsync(DeleteImageBuilderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteImageBuilderRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteImageBuilderResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteImagePermissions
internal virtual DeleteImagePermissionsResponse DeleteImagePermissions(DeleteImagePermissionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteImagePermissionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteImagePermissionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the DeleteImagePermissions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteImagePermissions service method, as returned by AppStream.
///
/// The specified resource exists and is not in use, but isn't available.
///
///
/// The specified resource was not found.
///
/// REST API Reference for DeleteImagePermissions Operation
public virtual Task DeleteImagePermissionsAsync(DeleteImagePermissionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteImagePermissionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteImagePermissionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteStack
internal virtual DeleteStackResponse DeleteStack(DeleteStackRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteStackRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteStackResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the DeleteStack service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteStack service method, as returned by AppStream.
///
/// An API error occurred. Wait a few minutes and try again.
///
///
/// The attempted operation is not permitted.
///
///
/// The specified resource is in use.
///
///
/// The specified resource was not found.
///
/// REST API Reference for DeleteStack Operation
public virtual Task DeleteStackAsync(DeleteStackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteStackRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteStackResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteUsageReportSubscription
internal virtual DeleteUsageReportSubscriptionResponse DeleteUsageReportSubscription(DeleteUsageReportSubscriptionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteUsageReportSubscriptionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteUsageReportSubscriptionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Disables usage report generation.
///
/// Container for the necessary parameters to execute the DeleteUsageReportSubscription service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteUsageReportSubscription service method, as returned by AppStream.
///
/// The resource cannot be created because your AWS account is suspended. For assistance,
/// contact AWS Support.
///
///
/// The specified resource was not found.
///
/// REST API Reference for DeleteUsageReportSubscription Operation
public virtual Task DeleteUsageReportSubscriptionAsync(DeleteUsageReportSubscriptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteUsageReportSubscriptionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteUsageReportSubscriptionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteUser
internal virtual DeleteUserResponse DeleteUser(DeleteUserRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteUserRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteUserResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a user from the user pool.
///
/// Container for the necessary parameters to execute the DeleteUser service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteUser service method, as returned by AppStream.
///
/// The specified resource was not found.
///
/// REST API Reference for DeleteUser Operation
public virtual Task DeleteUserAsync(DeleteUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteUserRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteUserResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeAppBlockBuilderAppBlockAssociations
internal virtual DescribeAppBlockBuilderAppBlockAssociationsResponse DescribeAppBlockBuilderAppBlockAssociations(DescribeAppBlockBuilderAppBlockAssociationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAppBlockBuilderAppBlockAssociationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAppBlockBuilderAppBlockAssociationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves a list that describes one or more app block builder associations.
///
/// Container for the necessary parameters to execute the DescribeAppBlockBuilderAppBlockAssociations service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeAppBlockBuilderAppBlockAssociations service method, as returned by AppStream.
///
/// Indicates an incorrect combination of parameters, or a missing parameter.
///
///
/// The attempted operation is not permitted.
///
/// REST API Reference for DescribeAppBlockBuilderAppBlockAssociations Operation
public virtual Task DescribeAppBlockBuilderAppBlockAssociationsAsync(DescribeAppBlockBuilderAppBlockAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAppBlockBuilderAppBlockAssociationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAppBlockBuilderAppBlockAssociationsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeAppBlockBuilders
internal virtual DescribeAppBlockBuildersResponse DescribeAppBlockBuilders(DescribeAppBlockBuildersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAppBlockBuildersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAppBlockBuildersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves a list that describes one or more app block builders.
///
/// Container for the necessary parameters to execute the DescribeAppBlockBuilders service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeAppBlockBuilders service method, as returned by AppStream.
///
/// The attempted operation is not permitted.
///
///
/// The specified resource was not found.
///
/// REST API Reference for DescribeAppBlockBuilders Operation
public virtual Task DescribeAppBlockBuildersAsync(DescribeAppBlockBuildersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAppBlockBuildersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAppBlockBuildersResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeAppBlocks
internal virtual DescribeAppBlocksResponse DescribeAppBlocks(DescribeAppBlocksRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAppBlocksRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAppBlocksResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves a list that describes one or more app blocks.
///
/// Container for the necessary parameters to execute the DescribeAppBlocks service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeAppBlocks service method, as returned by AppStream.
///
/// The attempted operation is not permitted.
///
///
/// The specified resource was not found.
///
/// REST API Reference for DescribeAppBlocks Operation
public virtual Task DescribeAppBlocksAsync(DescribeAppBlocksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeAppBlocksRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeAppBlocksResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeApplicationFleetAssociations
internal virtual DescribeApplicationFleetAssociationsResponse DescribeApplicationFleetAssociations(DescribeApplicationFleetAssociationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeApplicationFleetAssociationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeApplicationFleetAssociationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves a list that describes one or more application fleet associations. Either
/// ApplicationArn or FleetName must be specified.
///
/// Container for the necessary parameters to execute the DescribeApplicationFleetAssociations service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeApplicationFleetAssociations service method, as returned by AppStream.
///
/// Indicates an incorrect combination of parameters, or a missing parameter.
///
///
/// The attempted operation is not permitted.
///
/// REST API Reference for DescribeApplicationFleetAssociations Operation
public virtual Task DescribeApplicationFleetAssociationsAsync(DescribeApplicationFleetAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeApplicationFleetAssociationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeApplicationFleetAssociationsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeApplications
internal virtual DescribeApplicationsResponse DescribeApplications(DescribeApplicationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeApplicationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeApplicationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves a list that describes one or more applications.
///
/// Container for the necessary parameters to execute the DescribeApplications service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeApplications service method, as returned by AppStream.
///
/// The attempted operation is not permitted.
///
///
/// The specified resource was not found.
///
/// REST API Reference for DescribeApplications Operation
public virtual Task DescribeApplicationsAsync(DescribeApplicationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeApplicationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeApplicationsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeDirectoryConfigs
internal virtual DescribeDirectoryConfigsResponse DescribeDirectoryConfigs(DescribeDirectoryConfigsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDirectoryConfigsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDirectoryConfigsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
/// Container for the necessary parameters to execute the DescribeDirectoryConfigs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeDirectoryConfigs service method, as returned by AppStream.
///
/// The specified resource was not found.
///
/// REST API Reference for DescribeDirectoryConfigs Operation
public virtual Task DescribeDirectoryConfigsAsync(DescribeDirectoryConfigsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDirectoryConfigsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDirectoryConfigsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeEntitlements
internal virtual DescribeEntitlementsResponse DescribeEntitlements(DescribeEntitlementsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeEntitlementsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeEntitlementsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves a list that describes one of more entitlements.
///
/// Container for the necessary parameters to execute the DescribeEntitlements service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeEntitlements service method, as returned by AppStream.
///
/// The entitlement can't be found.
///
///
/// The attempted operation is not permitted.
///
///
/// The specified resource was not found.
///
/// REST API Reference for DescribeEntitlements Operation
public virtual Task DescribeEntitlementsAsync(DescribeEntitlementsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeEntitlementsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeEntitlementsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeFleets
internal virtual DescribeFleetsResponse DescribeFleets(DescribeFleetsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeFleetsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeFleetsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves a list that describes one or more specified fleets, if the fleet names are
/// provided. Otherwise, all fleets in the account are described.
///
/// Container for the necessary parameters to execute the DescribeFleets service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeFleets service method, as returned by AppStream.
///
/// The specified resource was not found.
///
/// REST API Reference for DescribeFleets Operation
public virtual Task DescribeFleetsAsync(DescribeFleetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeFleetsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeFleetsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeImageBuilders
internal virtual DescribeImageBuildersResponse DescribeImageBuilders(DescribeImageBuildersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeImageBuildersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeImageBuildersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the DescribeImageBuilders service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeImageBuilders service method, as returned by AppStream.
///
/// The specified resource was not found.
///
/// REST API Reference for DescribeImageBuilders Operation
public virtual Task DescribeImageBuildersAsync(DescribeImageBuildersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeImageBuildersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeImageBuildersResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeImagePermissions
internal virtual DescribeImagePermissionsResponse DescribeImagePermissions(DescribeImagePermissionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeImagePermissionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeImagePermissionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves a list that describes the permissions for shared AWS account IDs on a private
/// image that you own.
///
/// Container for the necessary parameters to execute the DescribeImagePermissions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeImagePermissions service method, as returned by AppStream.
///
/// The specified resource was not found.
///
/// REST API Reference for DescribeImagePermissions Operation
public virtual Task DescribeImagePermissionsAsync(DescribeImagePermissionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeImagePermissionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeImagePermissionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeImages
internal virtual DescribeImagesResponse DescribeImages(DescribeImagesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeImagesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeImagesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the DescribeImages service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeImages service method, as returned by AppStream.
///
/// Indicates an incorrect combination of parameters, or a missing parameter.
///
///
/// The specified resource was not found.
///
/// REST API Reference for DescribeImages Operation
public virtual Task DescribeImagesAsync(DescribeImagesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeImagesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeImagesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeSessions
internal virtual DescribeSessionsResponse DescribeSessions(DescribeSessionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeSessionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeSessionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the DescribeSessions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeSessions service method, as returned by AppStream.
///
/// Indicates an incorrect combination of parameters, or a missing parameter.
///
/// REST API Reference for DescribeSessions Operation
public virtual Task DescribeSessionsAsync(DescribeSessionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeSessionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeSessionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeStacks
internal virtual DescribeStacksResponse DescribeStacks(DescribeStacksRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeStacksRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeStacksResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves a list that describes one or more specified stacks, if the stack names are
/// provided. Otherwise, all stacks in the account are described.
///
/// Container for the necessary parameters to execute the DescribeStacks service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeStacks service method, as returned by AppStream.
///
/// The specified resource was not found.
///
/// REST API Reference for DescribeStacks Operation
public virtual Task DescribeStacksAsync(DescribeStacksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeStacksRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeStacksResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeUsageReportSubscriptions
internal virtual DescribeUsageReportSubscriptionsResponse DescribeUsageReportSubscriptions(DescribeUsageReportSubscriptionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeUsageReportSubscriptionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeUsageReportSubscriptionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves a list that describes one or more usage report subscriptions.
///
/// Container for the necessary parameters to execute the DescribeUsageReportSubscriptions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeUsageReportSubscriptions service method, as returned by AppStream.
///
/// The resource cannot be created because your AWS account is suspended. For assistance,
/// contact AWS Support.
///
///
/// The specified resource was not found.
///
/// REST API Reference for DescribeUsageReportSubscriptions Operation
public virtual Task DescribeUsageReportSubscriptionsAsync(DescribeUsageReportSubscriptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeUsageReportSubscriptionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeUsageReportSubscriptionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeUsers
internal virtual DescribeUsersResponse DescribeUsers(DescribeUsersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeUsersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeUsersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves a list that describes one or more specified users in the user pool.
///
/// Container for the necessary parameters to execute the DescribeUsers service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeUsers service method, as returned by AppStream.
///
/// Indicates an incorrect combination of parameters, or a missing parameter.
///
///
/// The attempted operation is not permitted.
///
///
/// The specified resource was not found.
///
/// REST API Reference for DescribeUsers Operation
public virtual Task DescribeUsersAsync(DescribeUsersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeUsersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeUsersResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeUserStackAssociations
internal virtual DescribeUserStackAssociationsResponse DescribeUserStackAssociations(DescribeUserStackAssociationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeUserStackAssociationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeUserStackAssociationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
///
///
///
/// Container for the necessary parameters to execute the DescribeUserStackAssociations service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeUserStackAssociations service method, as returned by AppStream.
///
/// Indicates an incorrect combination of parameters, or a missing parameter.
///
///
/// The attempted operation is not permitted.
///
/// REST API Reference for DescribeUserStackAssociations Operation
public virtual Task DescribeUserStackAssociationsAsync(DescribeUserStackAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeUserStackAssociationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeUserStackAssociationsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DisableUser
internal virtual DisableUserResponse DisableUser(DisableUserRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisableUserRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisableUserResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the DisableUser service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DisableUser service method, as returned by AppStream.
///
/// The specified resource was not found.
///
/// REST API Reference for DisableUser Operation
public virtual Task DisableUserAsync(DisableUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DisableUserRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisableUserResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DisassociateAppBlockBuilderAppBlock
internal virtual DisassociateAppBlockBuilderAppBlockResponse DisassociateAppBlockBuilderAppBlock(DisassociateAppBlockBuilderAppBlockRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateAppBlockBuilderAppBlockRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateAppBlockBuilderAppBlockResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Disassociates a specified app block builder from a specified app block.
///
/// Container for the necessary parameters to execute the DisassociateAppBlockBuilderAppBlock service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DisassociateAppBlockBuilderAppBlock service method, as returned by AppStream.
///
/// An API error occurred. Wait a few minutes and try again.
///
///
/// Indicates an incorrect combination of parameters, or a missing parameter.
///
///
/// The attempted operation is not permitted.
///
///
/// The specified resource was not found.
///
/// REST API Reference for DisassociateAppBlockBuilderAppBlock Operation
public virtual Task DisassociateAppBlockBuilderAppBlockAsync(DisassociateAppBlockBuilderAppBlockRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateAppBlockBuilderAppBlockRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateAppBlockBuilderAppBlockResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DisassociateApplicationFleet
internal virtual DisassociateApplicationFleetResponse DisassociateApplicationFleet(DisassociateApplicationFleetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateApplicationFleetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateApplicationFleetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Disassociates the specified application from the fleet.
///
/// Container for the necessary parameters to execute the DisassociateApplicationFleet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DisassociateApplicationFleet service method, as returned by AppStream.
///
/// An API error occurred. Wait a few minutes and try again.
///
///
/// Indicates an incorrect combination of parameters, or a missing parameter.
///
///
/// The attempted operation is not permitted.
///
/// REST API Reference for DisassociateApplicationFleet Operation
public virtual Task DisassociateApplicationFleetAsync(DisassociateApplicationFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateApplicationFleetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateApplicationFleetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DisassociateApplicationFromEntitlement
internal virtual DisassociateApplicationFromEntitlementResponse DisassociateApplicationFromEntitlement(DisassociateApplicationFromEntitlementRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateApplicationFromEntitlementRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateApplicationFromEntitlementResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes the specified application from the specified entitlement.
///
/// Container for the necessary parameters to execute the DisassociateApplicationFromEntitlement service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DisassociateApplicationFromEntitlement service method, as returned by AppStream.
///
/// The entitlement can't be found.
///
///
/// The attempted operation is not permitted.
///
///
/// The specified resource was not found.
///
/// REST API Reference for DisassociateApplicationFromEntitlement Operation
public virtual Task DisassociateApplicationFromEntitlementAsync(DisassociateApplicationFromEntitlementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateApplicationFromEntitlementRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateApplicationFromEntitlementResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DisassociateFleet
internal virtual DisassociateFleetResponse DisassociateFleet(DisassociateFleetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateFleetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateFleetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Disassociates the specified fleet from the specified stack.
///
/// Container for the necessary parameters to execute the DisassociateFleet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DisassociateFleet service method, as returned by AppStream.
///
/// An API error occurred. Wait a few minutes and try again.
///
///
/// The attempted operation is not permitted.
///
///
/// The specified resource is in use.
///
///
/// The specified resource was not found.
///
/// REST API Reference for DisassociateFleet Operation
public virtual Task DisassociateFleetAsync(DisassociateFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateFleetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateFleetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region EnableUser
internal virtual EnableUserResponse EnableUser(EnableUserRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = EnableUserRequestMarshaller.Instance;
options.ResponseUnmarshaller = EnableUserResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the EnableUser service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the EnableUser service method, as returned by AppStream.
///
/// The resource cannot be created because your AWS account is suspended. For assistance,
/// contact AWS Support.
///
///
/// The specified resource was not found.
///
/// REST API Reference for EnableUser Operation
public virtual Task EnableUserAsync(EnableUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = EnableUserRequestMarshaller.Instance;
options.ResponseUnmarshaller = EnableUserResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ExpireSession
internal virtual ExpireSessionResponse ExpireSession(ExpireSessionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ExpireSessionRequestMarshaller.Instance;
options.ResponseUnmarshaller = ExpireSessionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Immediately stops the specified streaming session.
///
/// Container for the necessary parameters to execute the ExpireSession service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ExpireSession service method, as returned by AppStream.
/// REST API Reference for ExpireSession Operation
public virtual Task ExpireSessionAsync(ExpireSessionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ExpireSessionRequestMarshaller.Instance;
options.ResponseUnmarshaller = ExpireSessionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListAssociatedFleets
internal virtual ListAssociatedFleetsResponse ListAssociatedFleets(ListAssociatedFleetsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssociatedFleetsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssociatedFleetsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves the name of the fleet that is associated with the specified stack.
///
/// Container for the necessary parameters to execute the ListAssociatedFleets service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListAssociatedFleets service method, as returned by AppStream.
/// REST API Reference for ListAssociatedFleets Operation
public virtual Task ListAssociatedFleetsAsync(ListAssociatedFleetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssociatedFleetsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssociatedFleetsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListAssociatedStacks
internal virtual ListAssociatedStacksResponse ListAssociatedStacks(ListAssociatedStacksRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssociatedStacksRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssociatedStacksResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves the name of the stack with which the specified fleet is associated.
///
/// Container for the necessary parameters to execute the ListAssociatedStacks service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListAssociatedStacks service method, as returned by AppStream.
/// REST API Reference for ListAssociatedStacks Operation
public virtual Task ListAssociatedStacksAsync(ListAssociatedStacksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssociatedStacksRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssociatedStacksResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListEntitledApplications
internal virtual ListEntitledApplicationsResponse ListEntitledApplications(ListEntitledApplicationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListEntitledApplicationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListEntitledApplicationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves a list of entitled applications.
///
/// Container for the necessary parameters to execute the ListEntitledApplications service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListEntitledApplications service method, as returned by AppStream.
///
/// The entitlement can't be found.
///
///
/// The attempted operation is not permitted.
///
///
/// The specified resource was not found.
///
/// REST API Reference for ListEntitledApplications Operation
public virtual Task ListEntitledApplicationsAsync(ListEntitledApplicationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListEntitledApplicationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListEntitledApplicationsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTagsForResource
internal virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTagsForResource service method, as returned by AppStream.
///
/// The specified resource was not found.
///
/// REST API Reference for ListTagsForResource Operation
public virtual Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StartAppBlockBuilder
internal virtual StartAppBlockBuilderResponse StartAppBlockBuilder(StartAppBlockBuilderRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartAppBlockBuilderRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartAppBlockBuilderResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
/// Container for the necessary parameters to execute the StartAppBlockBuilder service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartAppBlockBuilder service method, as returned by AppStream.
///
/// An API error occurred. Wait a few minutes and try again.
///
///
/// The resource cannot be created because your AWS account is suspended. For assistance,
/// contact AWS Support.
///
///
/// The requested limit exceeds the permitted limit for an account.
///
///
/// The attempted operation is not permitted.
///
///
/// AppStream 2.0 can’t process the request right now because the Describe calls from
/// your AWS account are being throttled by Amazon EC2. Try again later.
///
///
/// The specified resource exists and is not in use, but isn't available.
///
///
/// The specified resource was not found.
///
/// REST API Reference for StartAppBlockBuilder Operation
public virtual Task StartAppBlockBuilderAsync(StartAppBlockBuilderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartAppBlockBuilderRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartAppBlockBuilderResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StartFleet
internal virtual StartFleetResponse StartFleet(StartFleetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartFleetRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartFleetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Starts the specified fleet.
///
/// Container for the necessary parameters to execute the StartFleet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartFleet service method, as returned by AppStream.
///
/// An API error occurred. Wait a few minutes and try again.
///
///
/// The resource cannot be created because your AWS account is suspended. For assistance,
/// contact AWS Support.
///
///
/// The specified role is invalid.
///
///
/// The requested limit exceeds the permitted limit for an account.
///
///
/// The attempted operation is not permitted.
///
///
/// AppStream 2.0 can’t process the request right now because the Describe calls from
/// your AWS account are being throttled by Amazon EC2. Try again later.
///
///
/// The specified resource exists and is not in use, but isn't available.
///
///
/// The specified resource was not found.
///
/// REST API Reference for StartFleet Operation
public virtual Task StartFleetAsync(StartFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartFleetRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartFleetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StartImageBuilder
internal virtual StartImageBuilderResponse StartImageBuilder(StartImageBuilderRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartImageBuilderRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartImageBuilderResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Starts the specified image builder.
///
/// Container for the necessary parameters to execute the StartImageBuilder service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartImageBuilder service method, as returned by AppStream.
///
/// An API error occurred. Wait a few minutes and try again.
///
///
/// The image can't be updated because it's not compatible for updates.
///
///
/// The resource cannot be created because your AWS account is suspended. For assistance,
/// contact AWS Support.
///
///
/// The specified resource exists and is not in use, but isn't available.
///
///
/// The specified resource was not found.
///
/// REST API Reference for StartImageBuilder Operation
public virtual Task StartImageBuilderAsync(StartImageBuilderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartImageBuilderRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartImageBuilderResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StopAppBlockBuilder
internal virtual StopAppBlockBuilderResponse StopAppBlockBuilder(StopAppBlockBuilderRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopAppBlockBuilderRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopAppBlockBuilderResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Stops an app block builder.
///
///
///
/// Stopping an app block builder terminates the instance, and the instance state is not
/// persisted.
///
///
/// Container for the necessary parameters to execute the StopAppBlockBuilder service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StopAppBlockBuilder service method, as returned by AppStream.
///
/// An API error occurred. Wait a few minutes and try again.
///
///
/// The attempted operation is not permitted.
///
///
/// The specified resource was not found.
///
/// REST API Reference for StopAppBlockBuilder Operation
public virtual Task StopAppBlockBuilderAsync(StopAppBlockBuilderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StopAppBlockBuilderRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopAppBlockBuilderResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StopFleet
internal virtual StopFleetResponse StopFleet(StopFleetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopFleetRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopFleetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Stops the specified fleet.
///
/// Container for the necessary parameters to execute the StopFleet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StopFleet service method, as returned by AppStream.
///
/// An API error occurred. Wait a few minutes and try again.
///
///
/// The specified resource was not found.
///
/// REST API Reference for StopFleet Operation
public virtual Task StopFleetAsync(StopFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StopFleetRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopFleetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StopImageBuilder
internal virtual StopImageBuilderResponse StopImageBuilder(StopImageBuilderRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopImageBuilderRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopImageBuilderResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Stops the specified image builder.
///
/// Container for the necessary parameters to execute the StopImageBuilder service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StopImageBuilder service method, as returned by AppStream.
///
/// An API error occurred. Wait a few minutes and try again.
///
///
/// The attempted operation is not permitted.
///
///
/// The specified resource was not found.
///
/// REST API Reference for StopImageBuilder Operation
public virtual Task StopImageBuilderAsync(StopImageBuilderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StopImageBuilderRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopImageBuilderResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region TagResource
internal virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TagResource service method, as returned by AppStream.
///
/// The resource cannot be created because your AWS account is suspended. For assistance,
/// contact AWS Support.
///
///
/// The requested limit exceeds the permitted limit for an account.
///
///
/// The specified resource was not found.
///
/// REST API Reference for TagResource Operation
public virtual Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UntagResource
internal virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UntagResource service method, as returned by AppStream.
///
/// The specified resource was not found.
///
/// REST API Reference for UntagResource Operation
public virtual Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateAppBlockBuilder
internal virtual UpdateAppBlockBuilderResponse UpdateAppBlockBuilder(UpdateAppBlockBuilderRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAppBlockBuilderRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAppBlockBuilderResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates an app block builder.
///
///
///
/// If the app block builder is in the STARTING
or STOPPING
/// state, you can't update it. If the app block builder is in the RUNNING
/// state, you can only update the DisplayName and Description. If the app block builder
/// is in the STOPPED
state, you can update any attribute except the Name.
///
///
/// Container for the necessary parameters to execute the UpdateAppBlockBuilder service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateAppBlockBuilder service method, as returned by AppStream.
///
/// An API error occurred. Wait a few minutes and try again.
///
///
/// The resource cannot be created because your AWS account is suspended. For assistance,
/// contact AWS Support.
///
///
/// Indicates an incorrect combination of parameters, or a missing parameter.
///
///
/// The specified role is invalid.
///
///
/// The requested limit exceeds the permitted limit for an account.
///
///
/// The attempted operation is not permitted.
///
///
/// AppStream 2.0 can’t process the request right now because the Describe calls from
/// your AWS account are being throttled by Amazon EC2. Try again later.
///
///
/// The specified resource is in use.
///
///
/// The specified resource exists and is not in use, but isn't available.
///
///
/// The specified resource was not found.
///
/// REST API Reference for UpdateAppBlockBuilder Operation
public virtual Task UpdateAppBlockBuilderAsync(UpdateAppBlockBuilderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAppBlockBuilderRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAppBlockBuilderResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateApplication
internal virtual UpdateApplicationResponse UpdateApplication(UpdateApplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateApplicationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates the specified application.
///
/// Container for the necessary parameters to execute the UpdateApplication service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateApplication service method, as returned by AppStream.
///
/// An API error occurred. Wait a few minutes and try again.
///
///
/// The attempted operation is not permitted.
///
///
/// The specified resource was not found.
///
/// REST API Reference for UpdateApplication Operation
public virtual Task UpdateApplicationAsync(UpdateApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateApplicationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateDirectoryConfig
internal virtual UpdateDirectoryConfigResponse UpdateDirectoryConfig(UpdateDirectoryConfigRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDirectoryConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDirectoryConfigResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// Container for the necessary parameters to execute the UpdateDirectoryConfig service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateDirectoryConfig service method, as returned by AppStream.
///
/// An API error occurred. Wait a few minutes and try again.
///
///
/// The specified role is invalid.
///
///
/// The attempted operation is not permitted.
///
///
/// The specified resource is in use.
///
///
/// The specified resource was not found.
///
/// REST API Reference for UpdateDirectoryConfig Operation
public virtual Task UpdateDirectoryConfigAsync(UpdateDirectoryConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDirectoryConfigRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDirectoryConfigResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateEntitlement
internal virtual UpdateEntitlementResponse UpdateEntitlement(UpdateEntitlementRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateEntitlementRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateEntitlementResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates the specified entitlement.
///
/// Container for the necessary parameters to execute the UpdateEntitlement service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateEntitlement service method, as returned by AppStream.
///
/// An API error occurred. Wait a few minutes and try again.
///
///
/// The entitlement can't be found.
///
///
/// The attempted operation is not permitted.
///
///
/// The specified resource was not found.
///
/// REST API Reference for UpdateEntitlement Operation
public virtual Task UpdateEntitlementAsync(UpdateEntitlementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateEntitlementRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateEntitlementResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateFleet
internal virtual UpdateFleetResponse UpdateFleet(UpdateFleetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFleetRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFleetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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
, and DisconnectTimeoutInSeconds
/// attributes.
///
/// -
///
/// Elastic fleet type
///
///
///
/// You can update the
DisplayName
, IdleDisconnectTimeoutInSeconds
,
/// DisconnectTimeoutInSeconds
, MaxConcurrentSessions
, SessionScriptS3Location
/// and UsbDeviceFilterStrings
attributes.
///
///
///
/// If the fleet is in the STARTING
or STOPPED
state, you can't
/// update it.
///
///
/// Container for the necessary parameters to execute the UpdateFleet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateFleet service method, as returned by AppStream.
///
/// An API error occurred. Wait a few minutes and try again.
///
///
/// The image can't be updated because it's not compatible for updates.
///
///
/// The resource cannot be created because your AWS account is suspended. For assistance,
/// contact AWS Support.
///
///
/// Indicates an incorrect combination of parameters, or a missing parameter.
///
///
/// The specified role is invalid.
///
///
/// The requested limit exceeds the permitted limit for an account.
///
///
/// The attempted operation is not permitted.
///
///
/// AppStream 2.0 can’t process the request right now because the Describe calls from
/// your AWS account are being throttled by Amazon EC2. Try again later.
///
///
/// The specified resource is in use.
///
///
/// The specified resource exists and is not in use, but isn't available.
///
///
/// The specified resource was not found.
///
/// REST API Reference for UpdateFleet Operation
public virtual Task UpdateFleetAsync(UpdateFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFleetRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFleetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateImagePermissions
internal virtual UpdateImagePermissionsResponse UpdateImagePermissions(UpdateImagePermissionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateImagePermissionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateImagePermissionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Adds or updates permissions for the specified private image.
///
/// Container for the necessary parameters to execute the UpdateImagePermissions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateImagePermissions service method, as returned by AppStream.
///
/// The requested limit exceeds the permitted limit for an account.
///
///
/// The specified resource exists and is not in use, but isn't available.
///
///
/// The specified resource was not found.
///
/// REST API Reference for UpdateImagePermissions Operation
public virtual Task UpdateImagePermissionsAsync(UpdateImagePermissionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateImagePermissionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateImagePermissionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateStack
internal virtual UpdateStackResponse UpdateStack(UpdateStackRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateStackRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateStackResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates the specified fields for the specified stack.
///
/// Container for the necessary parameters to execute the UpdateStack service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateStack service method, as returned by AppStream.
///
/// An API error occurred. Wait a few minutes and try again.
///
///
/// The image can't be updated because it's not compatible for updates.
///
///
/// The resource cannot be created because your AWS account is suspended. For assistance,
/// contact AWS Support.
///
///
/// Indicates an incorrect combination of parameters, or a missing parameter.
///
///
/// The specified role is invalid.
///
///
/// The requested limit exceeds the permitted limit for an account.
///
///
/// The attempted operation is not permitted.
///
///
/// The specified resource is in use.
///
///
/// The specified resource was not found.
///
/// REST API Reference for UpdateStack Operation
public virtual Task UpdateStackAsync(UpdateStackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateStackRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateStackResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
}
}