repo_name
stringlengths
1
52
repo_creator
stringclasses
6 values
programming_language
stringclasses
4 values
code
stringlengths
0
9.68M
num_lines
int64
1
234k
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for StartFleet operation /// </summary> public class StartFleetResponseUnmarshaller : JsonResponseUnmarshaller { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { StartFleetResponse response = new StartFleetResponse(); return response; } /// <summary> /// Unmarshaller error response to exception. /// </summary> /// <param name="context"></param> /// <param name="innerException"></param> /// <param name="statusCode"></param> /// <returns></returns> public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) { var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context); errorResponse.InnerException = innerException; errorResponse.StatusCode = statusCode; var responseBodyBytes = context.GetResponseBodyBytes(); using (var streamCopy = new MemoryStream(responseBodyBytes)) using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null)) { if (errorResponse.Code != null && errorResponse.Code.Equals("ConcurrentModificationException")) { return ConcurrentModificationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("InvalidAccountStatusException")) { return InvalidAccountStatusExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("InvalidRoleException")) { return InvalidRoleExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("LimitExceededException")) { return LimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("OperationNotPermittedException")) { return OperationNotPermittedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("RequestLimitExceededException")) { return RequestLimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotAvailableException")) { return ResourceNotAvailableExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException")) { return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonAppStreamException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static StartFleetResponseUnmarshaller _instance = new StartFleetResponseUnmarshaller(); internal static StartFleetResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static StartFleetResponseUnmarshaller Instance { get { return _instance; } } } }
127
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// StartImageBuilder Request Marshaller /// </summary> public class StartImageBuilderRequestMarshaller : IMarshaller<IRequest, StartImageBuilderRequest> , IMarshaller<IRequest,AmazonWebServiceRequest> { /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="input"></param> /// <returns></returns> public IRequest Marshall(AmazonWebServiceRequest input) { return this.Marshall((StartImageBuilderRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(StartImageBuilderRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.AppStream"); string target = "PhotonAdminProxyService.StartImageBuilder"; request.Headers["X-Amz-Target"] = target; request.Headers["Content-Type"] = "application/x-amz-json-1.1"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2016-12-01"; request.HttpMethod = "POST"; request.ResourcePath = "/"; using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture)) { JsonWriter writer = new JsonWriter(stringWriter); writer.WriteObjectStart(); var context = new JsonMarshallerContext(request, writer); if(publicRequest.IsSetAppstreamAgentVersion()) { context.Writer.WritePropertyName("AppstreamAgentVersion"); context.Writer.Write(publicRequest.AppstreamAgentVersion); } if(publicRequest.IsSetName()) { context.Writer.WritePropertyName("Name"); context.Writer.Write(publicRequest.Name); } writer.WriteObjectEnd(); string snippet = stringWriter.ToString(); request.Content = System.Text.Encoding.UTF8.GetBytes(snippet); } return request; } private static StartImageBuilderRequestMarshaller _instance = new StartImageBuilderRequestMarshaller(); internal static StartImageBuilderRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static StartImageBuilderRequestMarshaller Instance { get { return _instance; } } } }
109
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for StartImageBuilder operation /// </summary> public class StartImageBuilderResponseUnmarshaller : JsonResponseUnmarshaller { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { StartImageBuilderResponse response = new StartImageBuilderResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("ImageBuilder", targetDepth)) { var unmarshaller = ImageBuilderUnmarshaller.Instance; response.ImageBuilder = unmarshaller.Unmarshall(context); continue; } } return response; } /// <summary> /// Unmarshaller error response to exception. /// </summary> /// <param name="context"></param> /// <param name="innerException"></param> /// <param name="statusCode"></param> /// <returns></returns> public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) { var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context); errorResponse.InnerException = innerException; errorResponse.StatusCode = statusCode; var responseBodyBytes = context.GetResponseBodyBytes(); using (var streamCopy = new MemoryStream(responseBodyBytes)) using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null)) { if (errorResponse.Code != null && errorResponse.Code.Equals("ConcurrentModificationException")) { return ConcurrentModificationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("IncompatibleImageException")) { return IncompatibleImageExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("InvalidAccountStatusException")) { return InvalidAccountStatusExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotAvailableException")) { return ResourceNotAvailableExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException")) { return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonAppStreamException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static StartImageBuilderResponseUnmarshaller _instance = new StartImageBuilderResponseUnmarshaller(); internal static StartImageBuilderResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static StartImageBuilderResponseUnmarshaller Instance { get { return _instance; } } } }
126
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// StopAppBlockBuilder Request Marshaller /// </summary> public class StopAppBlockBuilderRequestMarshaller : IMarshaller<IRequest, StopAppBlockBuilderRequest> , IMarshaller<IRequest,AmazonWebServiceRequest> { /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="input"></param> /// <returns></returns> public IRequest Marshall(AmazonWebServiceRequest input) { return this.Marshall((StopAppBlockBuilderRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(StopAppBlockBuilderRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.AppStream"); string target = "PhotonAdminProxyService.StopAppBlockBuilder"; request.Headers["X-Amz-Target"] = target; request.Headers["Content-Type"] = "application/x-amz-json-1.1"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2016-12-01"; request.HttpMethod = "POST"; request.ResourcePath = "/"; using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture)) { JsonWriter writer = new JsonWriter(stringWriter); writer.WriteObjectStart(); var context = new JsonMarshallerContext(request, writer); if(publicRequest.IsSetName()) { context.Writer.WritePropertyName("Name"); context.Writer.Write(publicRequest.Name); } writer.WriteObjectEnd(); string snippet = stringWriter.ToString(); request.Content = System.Text.Encoding.UTF8.GetBytes(snippet); } return request; } private static StopAppBlockBuilderRequestMarshaller _instance = new StopAppBlockBuilderRequestMarshaller(); internal static StopAppBlockBuilderRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static StopAppBlockBuilderRequestMarshaller Instance { get { return _instance; } } } }
103
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for StopAppBlockBuilder operation /// </summary> public class StopAppBlockBuilderResponseUnmarshaller : JsonResponseUnmarshaller { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { StopAppBlockBuilderResponse response = new StopAppBlockBuilderResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("AppBlockBuilder", targetDepth)) { var unmarshaller = AppBlockBuilderUnmarshaller.Instance; response.AppBlockBuilder = unmarshaller.Unmarshall(context); continue; } } return response; } /// <summary> /// Unmarshaller error response to exception. /// </summary> /// <param name="context"></param> /// <param name="innerException"></param> /// <param name="statusCode"></param> /// <returns></returns> public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) { var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context); errorResponse.InnerException = innerException; errorResponse.StatusCode = statusCode; var responseBodyBytes = context.GetResponseBodyBytes(); using (var streamCopy = new MemoryStream(responseBodyBytes)) using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null)) { if (errorResponse.Code != null && errorResponse.Code.Equals("ConcurrentModificationException")) { return ConcurrentModificationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("OperationNotPermittedException")) { return OperationNotPermittedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException")) { return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonAppStreamException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static StopAppBlockBuilderResponseUnmarshaller _instance = new StopAppBlockBuilderResponseUnmarshaller(); internal static StopAppBlockBuilderResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static StopAppBlockBuilderResponseUnmarshaller Instance { get { return _instance; } } } }
118
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// StopFleet Request Marshaller /// </summary> public class StopFleetRequestMarshaller : IMarshaller<IRequest, StopFleetRequest> , IMarshaller<IRequest,AmazonWebServiceRequest> { /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="input"></param> /// <returns></returns> public IRequest Marshall(AmazonWebServiceRequest input) { return this.Marshall((StopFleetRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(StopFleetRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.AppStream"); string target = "PhotonAdminProxyService.StopFleet"; request.Headers["X-Amz-Target"] = target; request.Headers["Content-Type"] = "application/x-amz-json-1.1"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2016-12-01"; request.HttpMethod = "POST"; request.ResourcePath = "/"; using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture)) { JsonWriter writer = new JsonWriter(stringWriter); writer.WriteObjectStart(); var context = new JsonMarshallerContext(request, writer); if(publicRequest.IsSetName()) { context.Writer.WritePropertyName("Name"); context.Writer.Write(publicRequest.Name); } writer.WriteObjectEnd(); string snippet = stringWriter.ToString(); request.Content = System.Text.Encoding.UTF8.GetBytes(snippet); } return request; } private static StopFleetRequestMarshaller _instance = new StopFleetRequestMarshaller(); internal static StopFleetRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static StopFleetRequestMarshaller Instance { get { return _instance; } } } }
103
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for StopFleet operation /// </summary> public class StopFleetResponseUnmarshaller : JsonResponseUnmarshaller { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { StopFleetResponse response = new StopFleetResponse(); return response; } /// <summary> /// Unmarshaller error response to exception. /// </summary> /// <param name="context"></param> /// <param name="innerException"></param> /// <param name="statusCode"></param> /// <returns></returns> public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) { var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context); errorResponse.InnerException = innerException; errorResponse.StatusCode = statusCode; var responseBodyBytes = context.GetResponseBodyBytes(); using (var streamCopy = new MemoryStream(responseBodyBytes)) using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null)) { if (errorResponse.Code != null && errorResponse.Code.Equals("ConcurrentModificationException")) { return ConcurrentModificationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException")) { return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonAppStreamException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static StopFleetResponseUnmarshaller _instance = new StopFleetResponseUnmarshaller(); internal static StopFleetResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static StopFleetResponseUnmarshaller Instance { get { return _instance; } } } }
103
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// StopImageBuilder Request Marshaller /// </summary> public class StopImageBuilderRequestMarshaller : IMarshaller<IRequest, StopImageBuilderRequest> , IMarshaller<IRequest,AmazonWebServiceRequest> { /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="input"></param> /// <returns></returns> public IRequest Marshall(AmazonWebServiceRequest input) { return this.Marshall((StopImageBuilderRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(StopImageBuilderRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.AppStream"); string target = "PhotonAdminProxyService.StopImageBuilder"; request.Headers["X-Amz-Target"] = target; request.Headers["Content-Type"] = "application/x-amz-json-1.1"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2016-12-01"; request.HttpMethod = "POST"; request.ResourcePath = "/"; using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture)) { JsonWriter writer = new JsonWriter(stringWriter); writer.WriteObjectStart(); var context = new JsonMarshallerContext(request, writer); if(publicRequest.IsSetName()) { context.Writer.WritePropertyName("Name"); context.Writer.Write(publicRequest.Name); } writer.WriteObjectEnd(); string snippet = stringWriter.ToString(); request.Content = System.Text.Encoding.UTF8.GetBytes(snippet); } return request; } private static StopImageBuilderRequestMarshaller _instance = new StopImageBuilderRequestMarshaller(); internal static StopImageBuilderRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static StopImageBuilderRequestMarshaller Instance { get { return _instance; } } } }
103
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for StopImageBuilder operation /// </summary> public class StopImageBuilderResponseUnmarshaller : JsonResponseUnmarshaller { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { StopImageBuilderResponse response = new StopImageBuilderResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("ImageBuilder", targetDepth)) { var unmarshaller = ImageBuilderUnmarshaller.Instance; response.ImageBuilder = unmarshaller.Unmarshall(context); continue; } } return response; } /// <summary> /// Unmarshaller error response to exception. /// </summary> /// <param name="context"></param> /// <param name="innerException"></param> /// <param name="statusCode"></param> /// <returns></returns> public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) { var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context); errorResponse.InnerException = innerException; errorResponse.StatusCode = statusCode; var responseBodyBytes = context.GetResponseBodyBytes(); using (var streamCopy = new MemoryStream(responseBodyBytes)) using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null)) { if (errorResponse.Code != null && errorResponse.Code.Equals("ConcurrentModificationException")) { return ConcurrentModificationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("OperationNotPermittedException")) { return OperationNotPermittedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException")) { return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonAppStreamException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static StopImageBuilderResponseUnmarshaller _instance = new StopImageBuilderResponseUnmarshaller(); internal static StopImageBuilderResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static StopImageBuilderResponseUnmarshaller Instance { get { return _instance; } } } }
118
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// StorageConnector Marshaller /// </summary> public class StorageConnectorMarshaller : IRequestMarshaller<StorageConnector, JsonMarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="requestObject"></param> /// <param name="context"></param> /// <returns></returns> public void Marshall(StorageConnector requestObject, JsonMarshallerContext context) { if(requestObject.IsSetConnectorType()) { context.Writer.WritePropertyName("ConnectorType"); context.Writer.Write(requestObject.ConnectorType); } if(requestObject.IsSetDomains()) { context.Writer.WritePropertyName("Domains"); context.Writer.WriteArrayStart(); foreach(var requestObjectDomainsListValue in requestObject.Domains) { context.Writer.Write(requestObjectDomainsListValue); } context.Writer.WriteArrayEnd(); } if(requestObject.IsSetResourceIdentifier()) { context.Writer.WritePropertyName("ResourceIdentifier"); context.Writer.Write(requestObject.ResourceIdentifier); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static StorageConnectorMarshaller Instance = new StorageConnectorMarshaller(); } }
79
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for StorageConnector Object /// </summary> public class StorageConnectorUnmarshaller : IUnmarshaller<StorageConnector, XmlUnmarshallerContext>, IUnmarshaller<StorageConnector, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> StorageConnector IUnmarshaller<StorageConnector, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public StorageConnector Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; StorageConnector unmarshalledObject = new StorageConnector(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("ConnectorType", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.ConnectorType = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("Domains", targetDepth)) { var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance); unmarshalledObject.Domains = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("ResourceIdentifier", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.ResourceIdentifier = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static StorageConnectorUnmarshaller _instance = new StorageConnectorUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static StorageConnectorUnmarshaller Instance { get { return _instance; } } } }
104
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// StreamingExperienceSettings Marshaller /// </summary> public class StreamingExperienceSettingsMarshaller : IRequestMarshaller<StreamingExperienceSettings, JsonMarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="requestObject"></param> /// <param name="context"></param> /// <returns></returns> public void Marshall(StreamingExperienceSettings requestObject, JsonMarshallerContext context) { if(requestObject.IsSetPreferredProtocol()) { context.Writer.WritePropertyName("PreferredProtocol"); context.Writer.Write(requestObject.PreferredProtocol); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static StreamingExperienceSettingsMarshaller Instance = new StreamingExperienceSettingsMarshaller(); } }
62
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for StreamingExperienceSettings Object /// </summary> public class StreamingExperienceSettingsUnmarshaller : IUnmarshaller<StreamingExperienceSettings, XmlUnmarshallerContext>, IUnmarshaller<StreamingExperienceSettings, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> StreamingExperienceSettings IUnmarshaller<StreamingExperienceSettings, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public StreamingExperienceSettings Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; StreamingExperienceSettings unmarshalledObject = new StreamingExperienceSettings(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("PreferredProtocol", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.PreferredProtocol = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static StreamingExperienceSettingsUnmarshaller _instance = new StreamingExperienceSettingsUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static StreamingExperienceSettingsUnmarshaller Instance { get { return _instance; } } } }
92
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// TagResource Request Marshaller /// </summary> public class TagResourceRequestMarshaller : IMarshaller<IRequest, TagResourceRequest> , IMarshaller<IRequest,AmazonWebServiceRequest> { /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="input"></param> /// <returns></returns> public IRequest Marshall(AmazonWebServiceRequest input) { return this.Marshall((TagResourceRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(TagResourceRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.AppStream"); string target = "PhotonAdminProxyService.TagResource"; request.Headers["X-Amz-Target"] = target; request.Headers["Content-Type"] = "application/x-amz-json-1.1"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2016-12-01"; request.HttpMethod = "POST"; request.ResourcePath = "/"; using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture)) { JsonWriter writer = new JsonWriter(stringWriter); writer.WriteObjectStart(); var context = new JsonMarshallerContext(request, writer); if(publicRequest.IsSetResourceArn()) { context.Writer.WritePropertyName("ResourceArn"); context.Writer.Write(publicRequest.ResourceArn); } if(publicRequest.IsSetTags()) { context.Writer.WritePropertyName("Tags"); context.Writer.WriteObjectStart(); foreach (var publicRequestTagsKvp in publicRequest.Tags) { context.Writer.WritePropertyName(publicRequestTagsKvp.Key); var publicRequestTagsValue = publicRequestTagsKvp.Value; context.Writer.Write(publicRequestTagsValue); } context.Writer.WriteObjectEnd(); } writer.WriteObjectEnd(); string snippet = stringWriter.ToString(); request.Content = System.Text.Encoding.UTF8.GetBytes(snippet); } return request; } private static TagResourceRequestMarshaller _instance = new TagResourceRequestMarshaller(); internal static TagResourceRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static TagResourceRequestMarshaller Instance { get { return _instance; } } } }
117
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for TagResource operation /// </summary> public class TagResourceResponseUnmarshaller : JsonResponseUnmarshaller { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { TagResourceResponse response = new TagResourceResponse(); return response; } /// <summary> /// Unmarshaller error response to exception. /// </summary> /// <param name="context"></param> /// <param name="innerException"></param> /// <param name="statusCode"></param> /// <returns></returns> public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) { var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context); errorResponse.InnerException = innerException; errorResponse.StatusCode = statusCode; var responseBodyBytes = context.GetResponseBodyBytes(); using (var streamCopy = new MemoryStream(responseBodyBytes)) using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null)) { if (errorResponse.Code != null && errorResponse.Code.Equals("InvalidAccountStatusException")) { return InvalidAccountStatusExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("LimitExceededException")) { return LimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException")) { return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonAppStreamException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static TagResourceResponseUnmarshaller _instance = new TagResourceResponseUnmarshaller(); internal static TagResourceResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static TagResourceResponseUnmarshaller Instance { get { return _instance; } } } }
107
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// UntagResource Request Marshaller /// </summary> public class UntagResourceRequestMarshaller : IMarshaller<IRequest, UntagResourceRequest> , IMarshaller<IRequest,AmazonWebServiceRequest> { /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="input"></param> /// <returns></returns> public IRequest Marshall(AmazonWebServiceRequest input) { return this.Marshall((UntagResourceRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(UntagResourceRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.AppStream"); string target = "PhotonAdminProxyService.UntagResource"; request.Headers["X-Amz-Target"] = target; request.Headers["Content-Type"] = "application/x-amz-json-1.1"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2016-12-01"; request.HttpMethod = "POST"; request.ResourcePath = "/"; using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture)) { JsonWriter writer = new JsonWriter(stringWriter); writer.WriteObjectStart(); var context = new JsonMarshallerContext(request, writer); if(publicRequest.IsSetResourceArn()) { context.Writer.WritePropertyName("ResourceArn"); context.Writer.Write(publicRequest.ResourceArn); } if(publicRequest.IsSetTagKeys()) { context.Writer.WritePropertyName("TagKeys"); context.Writer.WriteArrayStart(); foreach(var publicRequestTagKeysListValue in publicRequest.TagKeys) { context.Writer.Write(publicRequestTagKeysListValue); } context.Writer.WriteArrayEnd(); } writer.WriteObjectEnd(); string snippet = stringWriter.ToString(); request.Content = System.Text.Encoding.UTF8.GetBytes(snippet); } return request; } private static UntagResourceRequestMarshaller _instance = new UntagResourceRequestMarshaller(); internal static UntagResourceRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UntagResourceRequestMarshaller Instance { get { return _instance; } } } }
114
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for UntagResource operation /// </summary> public class UntagResourceResponseUnmarshaller : JsonResponseUnmarshaller { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { UntagResourceResponse response = new UntagResourceResponse(); return response; } /// <summary> /// Unmarshaller error response to exception. /// </summary> /// <param name="context"></param> /// <param name="innerException"></param> /// <param name="statusCode"></param> /// <returns></returns> public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) { var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context); errorResponse.InnerException = innerException; errorResponse.StatusCode = statusCode; var responseBodyBytes = context.GetResponseBodyBytes(); using (var streamCopy = new MemoryStream(responseBodyBytes)) using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null)) { if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException")) { return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonAppStreamException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static UntagResourceResponseUnmarshaller _instance = new UntagResourceResponseUnmarshaller(); internal static UntagResourceResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UntagResourceResponseUnmarshaller Instance { get { return _instance; } } } }
99
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// UpdateAppBlockBuilder Request Marshaller /// </summary> public class UpdateAppBlockBuilderRequestMarshaller : IMarshaller<IRequest, UpdateAppBlockBuilderRequest> , IMarshaller<IRequest,AmazonWebServiceRequest> { /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="input"></param> /// <returns></returns> public IRequest Marshall(AmazonWebServiceRequest input) { return this.Marshall((UpdateAppBlockBuilderRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(UpdateAppBlockBuilderRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.AppStream"); string target = "PhotonAdminProxyService.UpdateAppBlockBuilder"; request.Headers["X-Amz-Target"] = target; request.Headers["Content-Type"] = "application/x-amz-json-1.1"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2016-12-01"; request.HttpMethod = "POST"; request.ResourcePath = "/"; using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture)) { JsonWriter writer = new JsonWriter(stringWriter); writer.WriteObjectStart(); var context = new JsonMarshallerContext(request, writer); if(publicRequest.IsSetAccessEndpoints()) { context.Writer.WritePropertyName("AccessEndpoints"); context.Writer.WriteArrayStart(); foreach(var publicRequestAccessEndpointsListValue in publicRequest.AccessEndpoints) { context.Writer.WriteObjectStart(); var marshaller = AccessEndpointMarshaller.Instance; marshaller.Marshall(publicRequestAccessEndpointsListValue, context); context.Writer.WriteObjectEnd(); } context.Writer.WriteArrayEnd(); } if(publicRequest.IsSetAttributesToDelete()) { context.Writer.WritePropertyName("AttributesToDelete"); context.Writer.WriteArrayStart(); foreach(var publicRequestAttributesToDeleteListValue in publicRequest.AttributesToDelete) { context.Writer.Write(publicRequestAttributesToDeleteListValue); } context.Writer.WriteArrayEnd(); } if(publicRequest.IsSetDescription()) { context.Writer.WritePropertyName("Description"); context.Writer.Write(publicRequest.Description); } if(publicRequest.IsSetDisplayName()) { context.Writer.WritePropertyName("DisplayName"); context.Writer.Write(publicRequest.DisplayName); } if(publicRequest.IsSetEnableDefaultInternetAccess()) { context.Writer.WritePropertyName("EnableDefaultInternetAccess"); context.Writer.Write(publicRequest.EnableDefaultInternetAccess); } if(publicRequest.IsSetIamRoleArn()) { context.Writer.WritePropertyName("IamRoleArn"); context.Writer.Write(publicRequest.IamRoleArn); } if(publicRequest.IsSetInstanceType()) { context.Writer.WritePropertyName("InstanceType"); context.Writer.Write(publicRequest.InstanceType); } if(publicRequest.IsSetName()) { context.Writer.WritePropertyName("Name"); context.Writer.Write(publicRequest.Name); } if(publicRequest.IsSetPlatform()) { context.Writer.WritePropertyName("Platform"); context.Writer.Write(publicRequest.Platform); } if(publicRequest.IsSetVpcConfig()) { context.Writer.WritePropertyName("VpcConfig"); context.Writer.WriteObjectStart(); var marshaller = VpcConfigMarshaller.Instance; marshaller.Marshall(publicRequest.VpcConfig, context); context.Writer.WriteObjectEnd(); } writer.WriteObjectEnd(); string snippet = stringWriter.ToString(); request.Content = System.Text.Encoding.UTF8.GetBytes(snippet); } return request; } private static UpdateAppBlockBuilderRequestMarshaller _instance = new UpdateAppBlockBuilderRequestMarshaller(); internal static UpdateAppBlockBuilderRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateAppBlockBuilderRequestMarshaller Instance { get { return _instance; } } } }
177
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for UpdateAppBlockBuilder operation /// </summary> public class UpdateAppBlockBuilderResponseUnmarshaller : JsonResponseUnmarshaller { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { UpdateAppBlockBuilderResponse response = new UpdateAppBlockBuilderResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("AppBlockBuilder", targetDepth)) { var unmarshaller = AppBlockBuilderUnmarshaller.Instance; response.AppBlockBuilder = unmarshaller.Unmarshall(context); continue; } } return response; } /// <summary> /// Unmarshaller error response to exception. /// </summary> /// <param name="context"></param> /// <param name="innerException"></param> /// <param name="statusCode"></param> /// <returns></returns> public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) { var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context); errorResponse.InnerException = innerException; errorResponse.StatusCode = statusCode; var responseBodyBytes = context.GetResponseBodyBytes(); using (var streamCopy = new MemoryStream(responseBodyBytes)) using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null)) { if (errorResponse.Code != null && errorResponse.Code.Equals("ConcurrentModificationException")) { return ConcurrentModificationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("InvalidAccountStatusException")) { return InvalidAccountStatusExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("InvalidParameterCombinationException")) { return InvalidParameterCombinationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("InvalidRoleException")) { return InvalidRoleExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("LimitExceededException")) { return LimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("OperationNotPermittedException")) { return OperationNotPermittedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("RequestLimitExceededException")) { return RequestLimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceInUseException")) { return ResourceInUseExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotAvailableException")) { return ResourceNotAvailableExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException")) { return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonAppStreamException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static UpdateAppBlockBuilderResponseUnmarshaller _instance = new UpdateAppBlockBuilderResponseUnmarshaller(); internal static UpdateAppBlockBuilderResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateAppBlockBuilderResponseUnmarshaller Instance { get { return _instance; } } } }
146
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// UpdateApplication Request Marshaller /// </summary> public class UpdateApplicationRequestMarshaller : IMarshaller<IRequest, UpdateApplicationRequest> , IMarshaller<IRequest,AmazonWebServiceRequest> { /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="input"></param> /// <returns></returns> public IRequest Marshall(AmazonWebServiceRequest input) { return this.Marshall((UpdateApplicationRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(UpdateApplicationRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.AppStream"); string target = "PhotonAdminProxyService.UpdateApplication"; request.Headers["X-Amz-Target"] = target; request.Headers["Content-Type"] = "application/x-amz-json-1.1"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2016-12-01"; request.HttpMethod = "POST"; request.ResourcePath = "/"; using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture)) { JsonWriter writer = new JsonWriter(stringWriter); writer.WriteObjectStart(); var context = new JsonMarshallerContext(request, writer); if(publicRequest.IsSetAppBlockArn()) { context.Writer.WritePropertyName("AppBlockArn"); context.Writer.Write(publicRequest.AppBlockArn); } if(publicRequest.IsSetAttributesToDelete()) { context.Writer.WritePropertyName("AttributesToDelete"); context.Writer.WriteArrayStart(); foreach(var publicRequestAttributesToDeleteListValue in publicRequest.AttributesToDelete) { context.Writer.Write(publicRequestAttributesToDeleteListValue); } context.Writer.WriteArrayEnd(); } if(publicRequest.IsSetDescription()) { context.Writer.WritePropertyName("Description"); context.Writer.Write(publicRequest.Description); } if(publicRequest.IsSetDisplayName()) { context.Writer.WritePropertyName("DisplayName"); context.Writer.Write(publicRequest.DisplayName); } if(publicRequest.IsSetIconS3Location()) { context.Writer.WritePropertyName("IconS3Location"); context.Writer.WriteObjectStart(); var marshaller = S3LocationMarshaller.Instance; marshaller.Marshall(publicRequest.IconS3Location, context); context.Writer.WriteObjectEnd(); } if(publicRequest.IsSetLaunchParameters()) { context.Writer.WritePropertyName("LaunchParameters"); context.Writer.Write(publicRequest.LaunchParameters); } if(publicRequest.IsSetLaunchPath()) { context.Writer.WritePropertyName("LaunchPath"); context.Writer.Write(publicRequest.LaunchPath); } if(publicRequest.IsSetName()) { context.Writer.WritePropertyName("Name"); context.Writer.Write(publicRequest.Name); } if(publicRequest.IsSetWorkingDirectory()) { context.Writer.WritePropertyName("WorkingDirectory"); context.Writer.Write(publicRequest.WorkingDirectory); } writer.WriteObjectEnd(); string snippet = stringWriter.ToString(); request.Content = System.Text.Encoding.UTF8.GetBytes(snippet); } return request; } private static UpdateApplicationRequestMarshaller _instance = new UpdateApplicationRequestMarshaller(); internal static UpdateApplicationRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateApplicationRequestMarshaller Instance { get { return _instance; } } } }
161
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for UpdateApplication operation /// </summary> public class UpdateApplicationResponseUnmarshaller : JsonResponseUnmarshaller { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { UpdateApplicationResponse response = new UpdateApplicationResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("Application", targetDepth)) { var unmarshaller = ApplicationUnmarshaller.Instance; response.Application = unmarshaller.Unmarshall(context); continue; } } return response; } /// <summary> /// Unmarshaller error response to exception. /// </summary> /// <param name="context"></param> /// <param name="innerException"></param> /// <param name="statusCode"></param> /// <returns></returns> public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) { var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context); errorResponse.InnerException = innerException; errorResponse.StatusCode = statusCode; var responseBodyBytes = context.GetResponseBodyBytes(); using (var streamCopy = new MemoryStream(responseBodyBytes)) using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null)) { if (errorResponse.Code != null && errorResponse.Code.Equals("ConcurrentModificationException")) { return ConcurrentModificationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("OperationNotPermittedException")) { return OperationNotPermittedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException")) { return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonAppStreamException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static UpdateApplicationResponseUnmarshaller _instance = new UpdateApplicationResponseUnmarshaller(); internal static UpdateApplicationResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateApplicationResponseUnmarshaller Instance { get { return _instance; } } } }
118
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// UpdateDirectoryConfig Request Marshaller /// </summary> public class UpdateDirectoryConfigRequestMarshaller : IMarshaller<IRequest, UpdateDirectoryConfigRequest> , IMarshaller<IRequest,AmazonWebServiceRequest> { /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="input"></param> /// <returns></returns> public IRequest Marshall(AmazonWebServiceRequest input) { return this.Marshall((UpdateDirectoryConfigRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(UpdateDirectoryConfigRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.AppStream"); string target = "PhotonAdminProxyService.UpdateDirectoryConfig"; request.Headers["X-Amz-Target"] = target; request.Headers["Content-Type"] = "application/x-amz-json-1.1"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2016-12-01"; request.HttpMethod = "POST"; request.ResourcePath = "/"; using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture)) { JsonWriter writer = new JsonWriter(stringWriter); writer.WriteObjectStart(); var context = new JsonMarshallerContext(request, writer); if(publicRequest.IsSetCertificateBasedAuthProperties()) { context.Writer.WritePropertyName("CertificateBasedAuthProperties"); context.Writer.WriteObjectStart(); var marshaller = CertificateBasedAuthPropertiesMarshaller.Instance; marshaller.Marshall(publicRequest.CertificateBasedAuthProperties, context); context.Writer.WriteObjectEnd(); } if(publicRequest.IsSetDirectoryName()) { context.Writer.WritePropertyName("DirectoryName"); context.Writer.Write(publicRequest.DirectoryName); } if(publicRequest.IsSetOrganizationalUnitDistinguishedNames()) { context.Writer.WritePropertyName("OrganizationalUnitDistinguishedNames"); context.Writer.WriteArrayStart(); foreach(var publicRequestOrganizationalUnitDistinguishedNamesListValue in publicRequest.OrganizationalUnitDistinguishedNames) { context.Writer.Write(publicRequestOrganizationalUnitDistinguishedNamesListValue); } context.Writer.WriteArrayEnd(); } if(publicRequest.IsSetServiceAccountCredentials()) { context.Writer.WritePropertyName("ServiceAccountCredentials"); context.Writer.WriteObjectStart(); var marshaller = ServiceAccountCredentialsMarshaller.Instance; marshaller.Marshall(publicRequest.ServiceAccountCredentials, context); context.Writer.WriteObjectEnd(); } writer.WriteObjectEnd(); string snippet = stringWriter.ToString(); request.Content = System.Text.Encoding.UTF8.GetBytes(snippet); } return request; } private static UpdateDirectoryConfigRequestMarshaller _instance = new UpdateDirectoryConfigRequestMarshaller(); internal static UpdateDirectoryConfigRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateDirectoryConfigRequestMarshaller Instance { get { return _instance; } } } }
136
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for UpdateDirectoryConfig operation /// </summary> public class UpdateDirectoryConfigResponseUnmarshaller : JsonResponseUnmarshaller { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { UpdateDirectoryConfigResponse response = new UpdateDirectoryConfigResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("DirectoryConfig", targetDepth)) { var unmarshaller = DirectoryConfigUnmarshaller.Instance; response.DirectoryConfig = unmarshaller.Unmarshall(context); continue; } } return response; } /// <summary> /// Unmarshaller error response to exception. /// </summary> /// <param name="context"></param> /// <param name="innerException"></param> /// <param name="statusCode"></param> /// <returns></returns> public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) { var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context); errorResponse.InnerException = innerException; errorResponse.StatusCode = statusCode; var responseBodyBytes = context.GetResponseBodyBytes(); using (var streamCopy = new MemoryStream(responseBodyBytes)) using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null)) { if (errorResponse.Code != null && errorResponse.Code.Equals("ConcurrentModificationException")) { return ConcurrentModificationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("InvalidRoleException")) { return InvalidRoleExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("OperationNotPermittedException")) { return OperationNotPermittedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceInUseException")) { return ResourceInUseExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException")) { return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonAppStreamException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static UpdateDirectoryConfigResponseUnmarshaller _instance = new UpdateDirectoryConfigResponseUnmarshaller(); internal static UpdateDirectoryConfigResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateDirectoryConfigResponseUnmarshaller Instance { get { return _instance; } } } }
126
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// UpdateEntitlement Request Marshaller /// </summary> public class UpdateEntitlementRequestMarshaller : IMarshaller<IRequest, UpdateEntitlementRequest> , IMarshaller<IRequest,AmazonWebServiceRequest> { /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="input"></param> /// <returns></returns> public IRequest Marshall(AmazonWebServiceRequest input) { return this.Marshall((UpdateEntitlementRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(UpdateEntitlementRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.AppStream"); string target = "PhotonAdminProxyService.UpdateEntitlement"; request.Headers["X-Amz-Target"] = target; request.Headers["Content-Type"] = "application/x-amz-json-1.1"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2016-12-01"; request.HttpMethod = "POST"; request.ResourcePath = "/"; using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture)) { JsonWriter writer = new JsonWriter(stringWriter); writer.WriteObjectStart(); var context = new JsonMarshallerContext(request, writer); if(publicRequest.IsSetAppVisibility()) { context.Writer.WritePropertyName("AppVisibility"); context.Writer.Write(publicRequest.AppVisibility); } if(publicRequest.IsSetAttributes()) { context.Writer.WritePropertyName("Attributes"); context.Writer.WriteArrayStart(); foreach(var publicRequestAttributesListValue in publicRequest.Attributes) { context.Writer.WriteObjectStart(); var marshaller = EntitlementAttributeMarshaller.Instance; marshaller.Marshall(publicRequestAttributesListValue, context); context.Writer.WriteObjectEnd(); } context.Writer.WriteArrayEnd(); } if(publicRequest.IsSetDescription()) { context.Writer.WritePropertyName("Description"); context.Writer.Write(publicRequest.Description); } if(publicRequest.IsSetName()) { context.Writer.WritePropertyName("Name"); context.Writer.Write(publicRequest.Name); } if(publicRequest.IsSetStackName()) { context.Writer.WritePropertyName("StackName"); context.Writer.Write(publicRequest.StackName); } writer.WriteObjectEnd(); string snippet = stringWriter.ToString(); request.Content = System.Text.Encoding.UTF8.GetBytes(snippet); } return request; } private static UpdateEntitlementRequestMarshaller _instance = new UpdateEntitlementRequestMarshaller(); internal static UpdateEntitlementRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateEntitlementRequestMarshaller Instance { get { return _instance; } } } }
137
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for UpdateEntitlement operation /// </summary> public class UpdateEntitlementResponseUnmarshaller : JsonResponseUnmarshaller { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { UpdateEntitlementResponse response = new UpdateEntitlementResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("Entitlement", targetDepth)) { var unmarshaller = EntitlementUnmarshaller.Instance; response.Entitlement = unmarshaller.Unmarshall(context); continue; } } return response; } /// <summary> /// Unmarshaller error response to exception. /// </summary> /// <param name="context"></param> /// <param name="innerException"></param> /// <param name="statusCode"></param> /// <returns></returns> public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) { var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context); errorResponse.InnerException = innerException; errorResponse.StatusCode = statusCode; var responseBodyBytes = context.GetResponseBodyBytes(); using (var streamCopy = new MemoryStream(responseBodyBytes)) using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null)) { if (errorResponse.Code != null && errorResponse.Code.Equals("ConcurrentModificationException")) { return ConcurrentModificationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("EntitlementNotFoundException")) { return EntitlementNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("OperationNotPermittedException")) { return OperationNotPermittedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException")) { return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonAppStreamException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static UpdateEntitlementResponseUnmarshaller _instance = new UpdateEntitlementResponseUnmarshaller(); internal static UpdateEntitlementResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateEntitlementResponseUnmarshaller Instance { get { return _instance; } } } }
122
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// UpdateFleet Request Marshaller /// </summary> public class UpdateFleetRequestMarshaller : IMarshaller<IRequest, UpdateFleetRequest> , IMarshaller<IRequest,AmazonWebServiceRequest> { /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="input"></param> /// <returns></returns> public IRequest Marshall(AmazonWebServiceRequest input) { return this.Marshall((UpdateFleetRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(UpdateFleetRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.AppStream"); string target = "PhotonAdminProxyService.UpdateFleet"; request.Headers["X-Amz-Target"] = target; request.Headers["Content-Type"] = "application/x-amz-json-1.1"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2016-12-01"; request.HttpMethod = "POST"; request.ResourcePath = "/"; using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture)) { JsonWriter writer = new JsonWriter(stringWriter); writer.WriteObjectStart(); var context = new JsonMarshallerContext(request, writer); if(publicRequest.IsSetAttributesToDelete()) { context.Writer.WritePropertyName("AttributesToDelete"); context.Writer.WriteArrayStart(); foreach(var publicRequestAttributesToDeleteListValue in publicRequest.AttributesToDelete) { context.Writer.Write(publicRequestAttributesToDeleteListValue); } context.Writer.WriteArrayEnd(); } if(publicRequest.IsSetComputeCapacity()) { context.Writer.WritePropertyName("ComputeCapacity"); context.Writer.WriteObjectStart(); var marshaller = ComputeCapacityMarshaller.Instance; marshaller.Marshall(publicRequest.ComputeCapacity, context); context.Writer.WriteObjectEnd(); } if(publicRequest.IsSetDeleteVpcConfig()) { context.Writer.WritePropertyName("DeleteVpcConfig"); context.Writer.Write(publicRequest.DeleteVpcConfig); } if(publicRequest.IsSetDescription()) { context.Writer.WritePropertyName("Description"); context.Writer.Write(publicRequest.Description); } if(publicRequest.IsSetDisconnectTimeoutInSeconds()) { context.Writer.WritePropertyName("DisconnectTimeoutInSeconds"); context.Writer.Write(publicRequest.DisconnectTimeoutInSeconds); } if(publicRequest.IsSetDisplayName()) { context.Writer.WritePropertyName("DisplayName"); context.Writer.Write(publicRequest.DisplayName); } if(publicRequest.IsSetDomainJoinInfo()) { context.Writer.WritePropertyName("DomainJoinInfo"); context.Writer.WriteObjectStart(); var marshaller = DomainJoinInfoMarshaller.Instance; marshaller.Marshall(publicRequest.DomainJoinInfo, context); context.Writer.WriteObjectEnd(); } if(publicRequest.IsSetEnableDefaultInternetAccess()) { context.Writer.WritePropertyName("EnableDefaultInternetAccess"); context.Writer.Write(publicRequest.EnableDefaultInternetAccess); } if(publicRequest.IsSetIamRoleArn()) { context.Writer.WritePropertyName("IamRoleArn"); context.Writer.Write(publicRequest.IamRoleArn); } if(publicRequest.IsSetIdleDisconnectTimeoutInSeconds()) { context.Writer.WritePropertyName("IdleDisconnectTimeoutInSeconds"); context.Writer.Write(publicRequest.IdleDisconnectTimeoutInSeconds); } if(publicRequest.IsSetImageArn()) { context.Writer.WritePropertyName("ImageArn"); context.Writer.Write(publicRequest.ImageArn); } if(publicRequest.IsSetImageName()) { context.Writer.WritePropertyName("ImageName"); context.Writer.Write(publicRequest.ImageName); } if(publicRequest.IsSetInstanceType()) { context.Writer.WritePropertyName("InstanceType"); context.Writer.Write(publicRequest.InstanceType); } if(publicRequest.IsSetMaxConcurrentSessions()) { context.Writer.WritePropertyName("MaxConcurrentSessions"); context.Writer.Write(publicRequest.MaxConcurrentSessions); } if(publicRequest.IsSetMaxUserDurationInSeconds()) { context.Writer.WritePropertyName("MaxUserDurationInSeconds"); context.Writer.Write(publicRequest.MaxUserDurationInSeconds); } if(publicRequest.IsSetName()) { context.Writer.WritePropertyName("Name"); context.Writer.Write(publicRequest.Name); } if(publicRequest.IsSetPlatform()) { context.Writer.WritePropertyName("Platform"); context.Writer.Write(publicRequest.Platform); } if(publicRequest.IsSetSessionScriptS3Location()) { context.Writer.WritePropertyName("SessionScriptS3Location"); context.Writer.WriteObjectStart(); var marshaller = S3LocationMarshaller.Instance; marshaller.Marshall(publicRequest.SessionScriptS3Location, context); context.Writer.WriteObjectEnd(); } if(publicRequest.IsSetStreamView()) { context.Writer.WritePropertyName("StreamView"); context.Writer.Write(publicRequest.StreamView); } if(publicRequest.IsSetUsbDeviceFilterStrings()) { context.Writer.WritePropertyName("UsbDeviceFilterStrings"); context.Writer.WriteArrayStart(); foreach(var publicRequestUsbDeviceFilterStringsListValue in publicRequest.UsbDeviceFilterStrings) { context.Writer.Write(publicRequestUsbDeviceFilterStringsListValue); } context.Writer.WriteArrayEnd(); } if(publicRequest.IsSetVpcConfig()) { context.Writer.WritePropertyName("VpcConfig"); context.Writer.WriteObjectStart(); var marshaller = VpcConfigMarshaller.Instance; marshaller.Marshall(publicRequest.VpcConfig, context); context.Writer.WriteObjectEnd(); } writer.WriteObjectEnd(); string snippet = stringWriter.ToString(); request.Content = System.Text.Encoding.UTF8.GetBytes(snippet); } return request; } private static UpdateFleetRequestMarshaller _instance = new UpdateFleetRequestMarshaller(); internal static UpdateFleetRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateFleetRequestMarshaller Instance { get { return _instance; } } } }
253
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for UpdateFleet operation /// </summary> public class UpdateFleetResponseUnmarshaller : JsonResponseUnmarshaller { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { UpdateFleetResponse response = new UpdateFleetResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("Fleet", targetDepth)) { var unmarshaller = FleetUnmarshaller.Instance; response.Fleet = unmarshaller.Unmarshall(context); continue; } } return response; } /// <summary> /// Unmarshaller error response to exception. /// </summary> /// <param name="context"></param> /// <param name="innerException"></param> /// <param name="statusCode"></param> /// <returns></returns> public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) { var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context); errorResponse.InnerException = innerException; errorResponse.StatusCode = statusCode; var responseBodyBytes = context.GetResponseBodyBytes(); using (var streamCopy = new MemoryStream(responseBodyBytes)) using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null)) { if (errorResponse.Code != null && errorResponse.Code.Equals("ConcurrentModificationException")) { return ConcurrentModificationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("IncompatibleImageException")) { return IncompatibleImageExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("InvalidAccountStatusException")) { return InvalidAccountStatusExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("InvalidParameterCombinationException")) { return InvalidParameterCombinationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("InvalidRoleException")) { return InvalidRoleExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("LimitExceededException")) { return LimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("OperationNotPermittedException")) { return OperationNotPermittedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("RequestLimitExceededException")) { return RequestLimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceInUseException")) { return ResourceInUseExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotAvailableException")) { return ResourceNotAvailableExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException")) { return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonAppStreamException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static UpdateFleetResponseUnmarshaller _instance = new UpdateFleetResponseUnmarshaller(); internal static UpdateFleetResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateFleetResponseUnmarshaller Instance { get { return _instance; } } } }
150
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// UpdateImagePermissions Request Marshaller /// </summary> public class UpdateImagePermissionsRequestMarshaller : IMarshaller<IRequest, UpdateImagePermissionsRequest> , IMarshaller<IRequest,AmazonWebServiceRequest> { /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="input"></param> /// <returns></returns> public IRequest Marshall(AmazonWebServiceRequest input) { return this.Marshall((UpdateImagePermissionsRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(UpdateImagePermissionsRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.AppStream"); string target = "PhotonAdminProxyService.UpdateImagePermissions"; request.Headers["X-Amz-Target"] = target; request.Headers["Content-Type"] = "application/x-amz-json-1.1"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2016-12-01"; request.HttpMethod = "POST"; request.ResourcePath = "/"; using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture)) { JsonWriter writer = new JsonWriter(stringWriter); writer.WriteObjectStart(); var context = new JsonMarshallerContext(request, writer); if(publicRequest.IsSetImagePermissions()) { context.Writer.WritePropertyName("ImagePermissions"); context.Writer.WriteObjectStart(); var marshaller = ImagePermissionsMarshaller.Instance; marshaller.Marshall(publicRequest.ImagePermissions, context); context.Writer.WriteObjectEnd(); } if(publicRequest.IsSetName()) { context.Writer.WritePropertyName("Name"); context.Writer.Write(publicRequest.Name); } if(publicRequest.IsSetSharedAccountId()) { context.Writer.WritePropertyName("SharedAccountId"); context.Writer.Write(publicRequest.SharedAccountId); } writer.WriteObjectEnd(); string snippet = stringWriter.ToString(); request.Content = System.Text.Encoding.UTF8.GetBytes(snippet); } return request; } private static UpdateImagePermissionsRequestMarshaller _instance = new UpdateImagePermissionsRequestMarshaller(); internal static UpdateImagePermissionsRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateImagePermissionsRequestMarshaller Instance { get { return _instance; } } } }
120
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for UpdateImagePermissions operation /// </summary> public class UpdateImagePermissionsResponseUnmarshaller : JsonResponseUnmarshaller { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { UpdateImagePermissionsResponse response = new UpdateImagePermissionsResponse(); return response; } /// <summary> /// Unmarshaller error response to exception. /// </summary> /// <param name="context"></param> /// <param name="innerException"></param> /// <param name="statusCode"></param> /// <returns></returns> public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) { var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context); errorResponse.InnerException = innerException; errorResponse.StatusCode = statusCode; var responseBodyBytes = context.GetResponseBodyBytes(); using (var streamCopy = new MemoryStream(responseBodyBytes)) using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null)) { if (errorResponse.Code != null && errorResponse.Code.Equals("LimitExceededException")) { return LimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotAvailableException")) { return ResourceNotAvailableExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException")) { return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonAppStreamException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static UpdateImagePermissionsResponseUnmarshaller _instance = new UpdateImagePermissionsResponseUnmarshaller(); internal static UpdateImagePermissionsResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateImagePermissionsResponseUnmarshaller Instance { get { return _instance; } } } }
107
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// UpdateStack Request Marshaller /// </summary> public class UpdateStackRequestMarshaller : IMarshaller<IRequest, UpdateStackRequest> , IMarshaller<IRequest,AmazonWebServiceRequest> { /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="input"></param> /// <returns></returns> public IRequest Marshall(AmazonWebServiceRequest input) { return this.Marshall((UpdateStackRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(UpdateStackRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.AppStream"); string target = "PhotonAdminProxyService.UpdateStack"; request.Headers["X-Amz-Target"] = target; request.Headers["Content-Type"] = "application/x-amz-json-1.1"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2016-12-01"; request.HttpMethod = "POST"; request.ResourcePath = "/"; using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture)) { JsonWriter writer = new JsonWriter(stringWriter); writer.WriteObjectStart(); var context = new JsonMarshallerContext(request, writer); if(publicRequest.IsSetAccessEndpoints()) { context.Writer.WritePropertyName("AccessEndpoints"); context.Writer.WriteArrayStart(); foreach(var publicRequestAccessEndpointsListValue in publicRequest.AccessEndpoints) { context.Writer.WriteObjectStart(); var marshaller = AccessEndpointMarshaller.Instance; marshaller.Marshall(publicRequestAccessEndpointsListValue, context); context.Writer.WriteObjectEnd(); } context.Writer.WriteArrayEnd(); } if(publicRequest.IsSetApplicationSettings()) { context.Writer.WritePropertyName("ApplicationSettings"); context.Writer.WriteObjectStart(); var marshaller = ApplicationSettingsMarshaller.Instance; marshaller.Marshall(publicRequest.ApplicationSettings, context); context.Writer.WriteObjectEnd(); } if(publicRequest.IsSetAttributesToDelete()) { context.Writer.WritePropertyName("AttributesToDelete"); context.Writer.WriteArrayStart(); foreach(var publicRequestAttributesToDeleteListValue in publicRequest.AttributesToDelete) { context.Writer.Write(publicRequestAttributesToDeleteListValue); } context.Writer.WriteArrayEnd(); } if(publicRequest.IsSetDeleteStorageConnectors()) { context.Writer.WritePropertyName("DeleteStorageConnectors"); context.Writer.Write(publicRequest.DeleteStorageConnectors); } if(publicRequest.IsSetDescription()) { context.Writer.WritePropertyName("Description"); context.Writer.Write(publicRequest.Description); } if(publicRequest.IsSetDisplayName()) { context.Writer.WritePropertyName("DisplayName"); context.Writer.Write(publicRequest.DisplayName); } if(publicRequest.IsSetEmbedHostDomains()) { context.Writer.WritePropertyName("EmbedHostDomains"); context.Writer.WriteArrayStart(); foreach(var publicRequestEmbedHostDomainsListValue in publicRequest.EmbedHostDomains) { context.Writer.Write(publicRequestEmbedHostDomainsListValue); } context.Writer.WriteArrayEnd(); } if(publicRequest.IsSetFeedbackURL()) { context.Writer.WritePropertyName("FeedbackURL"); context.Writer.Write(publicRequest.FeedbackURL); } if(publicRequest.IsSetName()) { context.Writer.WritePropertyName("Name"); context.Writer.Write(publicRequest.Name); } if(publicRequest.IsSetRedirectURL()) { context.Writer.WritePropertyName("RedirectURL"); context.Writer.Write(publicRequest.RedirectURL); } if(publicRequest.IsSetStorageConnectors()) { context.Writer.WritePropertyName("StorageConnectors"); context.Writer.WriteArrayStart(); foreach(var publicRequestStorageConnectorsListValue in publicRequest.StorageConnectors) { context.Writer.WriteObjectStart(); var marshaller = StorageConnectorMarshaller.Instance; marshaller.Marshall(publicRequestStorageConnectorsListValue, context); context.Writer.WriteObjectEnd(); } context.Writer.WriteArrayEnd(); } if(publicRequest.IsSetStreamingExperienceSettings()) { context.Writer.WritePropertyName("StreamingExperienceSettings"); context.Writer.WriteObjectStart(); var marshaller = StreamingExperienceSettingsMarshaller.Instance; marshaller.Marshall(publicRequest.StreamingExperienceSettings, context); context.Writer.WriteObjectEnd(); } if(publicRequest.IsSetUserSettings()) { context.Writer.WritePropertyName("UserSettings"); context.Writer.WriteArrayStart(); foreach(var publicRequestUserSettingsListValue in publicRequest.UserSettings) { context.Writer.WriteObjectStart(); var marshaller = UserSettingMarshaller.Instance; marshaller.Marshall(publicRequestUserSettingsListValue, context); context.Writer.WriteObjectEnd(); } context.Writer.WriteArrayEnd(); } writer.WriteObjectEnd(); string snippet = stringWriter.ToString(); request.Content = System.Text.Encoding.UTF8.GetBytes(snippet); } return request; } private static UpdateStackRequestMarshaller _instance = new UpdateStackRequestMarshaller(); internal static UpdateStackRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateStackRequestMarshaller Instance { get { return _instance; } } } }
225
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for UpdateStack operation /// </summary> public class UpdateStackResponseUnmarshaller : JsonResponseUnmarshaller { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { UpdateStackResponse response = new UpdateStackResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("Stack", targetDepth)) { var unmarshaller = StackUnmarshaller.Instance; response.Stack = unmarshaller.Unmarshall(context); continue; } } return response; } /// <summary> /// Unmarshaller error response to exception. /// </summary> /// <param name="context"></param> /// <param name="innerException"></param> /// <param name="statusCode"></param> /// <returns></returns> public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) { var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context); errorResponse.InnerException = innerException; errorResponse.StatusCode = statusCode; var responseBodyBytes = context.GetResponseBodyBytes(); using (var streamCopy = new MemoryStream(responseBodyBytes)) using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null)) { if (errorResponse.Code != null && errorResponse.Code.Equals("ConcurrentModificationException")) { return ConcurrentModificationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("IncompatibleImageException")) { return IncompatibleImageExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("InvalidAccountStatusException")) { return InvalidAccountStatusExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("InvalidParameterCombinationException")) { return InvalidParameterCombinationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("InvalidRoleException")) { return InvalidRoleExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("LimitExceededException")) { return LimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("OperationNotPermittedException")) { return OperationNotPermittedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceInUseException")) { return ResourceInUseExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException")) { return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonAppStreamException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static UpdateStackResponseUnmarshaller _instance = new UpdateStackResponseUnmarshaller(); internal static UpdateStackResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateStackResponseUnmarshaller Instance { get { return _instance; } } } }
142
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for UsageReportSubscription Object /// </summary> public class UsageReportSubscriptionUnmarshaller : IUnmarshaller<UsageReportSubscription, XmlUnmarshallerContext>, IUnmarshaller<UsageReportSubscription, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> UsageReportSubscription IUnmarshaller<UsageReportSubscription, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public UsageReportSubscription Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; UsageReportSubscription unmarshalledObject = new UsageReportSubscription(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("LastGeneratedReportDate", targetDepth)) { var unmarshaller = DateTimeUnmarshaller.Instance; unmarshalledObject.LastGeneratedReportDate = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("S3BucketName", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.S3BucketName = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("Schedule", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.Schedule = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("SubscriptionErrors", targetDepth)) { var unmarshaller = new ListUnmarshaller<LastReportGenerationExecutionError, LastReportGenerationExecutionErrorUnmarshaller>(LastReportGenerationExecutionErrorUnmarshaller.Instance); unmarshalledObject.SubscriptionErrors = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static UsageReportSubscriptionUnmarshaller _instance = new UsageReportSubscriptionUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static UsageReportSubscriptionUnmarshaller Instance { get { return _instance; } } } }
110
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// UserSetting Marshaller /// </summary> public class UserSettingMarshaller : IRequestMarshaller<UserSetting, JsonMarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="requestObject"></param> /// <param name="context"></param> /// <returns></returns> public void Marshall(UserSetting requestObject, JsonMarshallerContext context) { if(requestObject.IsSetAction()) { context.Writer.WritePropertyName("Action"); context.Writer.Write(requestObject.Action); } if(requestObject.IsSetPermission()) { context.Writer.WritePropertyName("Permission"); context.Writer.Write(requestObject.Permission); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static UserSettingMarshaller Instance = new UserSettingMarshaller(); } }
68
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for UserSetting Object /// </summary> public class UserSettingUnmarshaller : IUnmarshaller<UserSetting, XmlUnmarshallerContext>, IUnmarshaller<UserSetting, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> UserSetting IUnmarshaller<UserSetting, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public UserSetting Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; UserSetting unmarshalledObject = new UserSetting(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("Action", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.Action = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("Permission", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.Permission = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static UserSettingUnmarshaller _instance = new UserSettingUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static UserSettingUnmarshaller Instance { get { return _instance; } } } }
98
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for UserStackAssociationError Object /// </summary> public class UserStackAssociationErrorUnmarshaller : IUnmarshaller<UserStackAssociationError, XmlUnmarshallerContext>, IUnmarshaller<UserStackAssociationError, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> UserStackAssociationError IUnmarshaller<UserStackAssociationError, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public UserStackAssociationError Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; UserStackAssociationError unmarshalledObject = new UserStackAssociationError(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("ErrorCode", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.ErrorCode = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("ErrorMessage", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.ErrorMessage = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("UserStackAssociation", targetDepth)) { var unmarshaller = UserStackAssociationUnmarshaller.Instance; unmarshalledObject.UserStackAssociation = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static UserStackAssociationErrorUnmarshaller _instance = new UserStackAssociationErrorUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static UserStackAssociationErrorUnmarshaller Instance { get { return _instance; } } } }
104
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// UserStackAssociation Marshaller /// </summary> public class UserStackAssociationMarshaller : IRequestMarshaller<UserStackAssociation, JsonMarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="requestObject"></param> /// <param name="context"></param> /// <returns></returns> public void Marshall(UserStackAssociation requestObject, JsonMarshallerContext context) { if(requestObject.IsSetAuthenticationType()) { context.Writer.WritePropertyName("AuthenticationType"); context.Writer.Write(requestObject.AuthenticationType); } if(requestObject.IsSetSendEmailNotification()) { context.Writer.WritePropertyName("SendEmailNotification"); context.Writer.Write(requestObject.SendEmailNotification); } if(requestObject.IsSetStackName()) { context.Writer.WritePropertyName("StackName"); context.Writer.Write(requestObject.StackName); } if(requestObject.IsSetUserName()) { context.Writer.WritePropertyName("UserName"); context.Writer.Write(requestObject.UserName); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static UserStackAssociationMarshaller Instance = new UserStackAssociationMarshaller(); } }
80
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for UserStackAssociation Object /// </summary> public class UserStackAssociationUnmarshaller : IUnmarshaller<UserStackAssociation, XmlUnmarshallerContext>, IUnmarshaller<UserStackAssociation, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> UserStackAssociation IUnmarshaller<UserStackAssociation, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public UserStackAssociation Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; UserStackAssociation unmarshalledObject = new UserStackAssociation(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("AuthenticationType", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.AuthenticationType = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("SendEmailNotification", targetDepth)) { var unmarshaller = BoolUnmarshaller.Instance; unmarshalledObject.SendEmailNotification = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("StackName", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.StackName = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("UserName", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.UserName = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static UserStackAssociationUnmarshaller _instance = new UserStackAssociationUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static UserStackAssociationUnmarshaller Instance { get { return _instance; } } } }
110
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for User Object /// </summary> public class UserUnmarshaller : IUnmarshaller<User, XmlUnmarshallerContext>, IUnmarshaller<User, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> User IUnmarshaller<User, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public User Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; User unmarshalledObject = new User(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("Arn", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.Arn = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("AuthenticationType", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.AuthenticationType = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("CreatedTime", targetDepth)) { var unmarshaller = DateTimeUnmarshaller.Instance; unmarshalledObject.CreatedTime = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("Enabled", targetDepth)) { var unmarshaller = BoolUnmarshaller.Instance; unmarshalledObject.Enabled = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("FirstName", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.FirstName = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("LastName", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.LastName = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("Status", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.Status = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("UserName", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.UserName = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static UserUnmarshaller _instance = new UserUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static UserUnmarshaller Instance { get { return _instance; } } } }
134
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// VpcConfig Marshaller /// </summary> public class VpcConfigMarshaller : IRequestMarshaller<VpcConfig, JsonMarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="requestObject"></param> /// <param name="context"></param> /// <returns></returns> public void Marshall(VpcConfig requestObject, JsonMarshallerContext context) { if(requestObject.IsSetSecurityGroupIds()) { context.Writer.WritePropertyName("SecurityGroupIds"); context.Writer.WriteArrayStart(); foreach(var requestObjectSecurityGroupIdsListValue in requestObject.SecurityGroupIds) { context.Writer.Write(requestObjectSecurityGroupIdsListValue); } context.Writer.WriteArrayEnd(); } if(requestObject.IsSetSubnetIds()) { context.Writer.WritePropertyName("SubnetIds"); context.Writer.WriteArrayStart(); foreach(var requestObjectSubnetIdsListValue in requestObject.SubnetIds) { context.Writer.Write(requestObjectSubnetIdsListValue); } context.Writer.WriteArrayEnd(); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static VpcConfigMarshaller Instance = new VpcConfigMarshaller(); } }
78
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppStream.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppStream.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for VpcConfig Object /// </summary> public class VpcConfigUnmarshaller : IUnmarshaller<VpcConfig, XmlUnmarshallerContext>, IUnmarshaller<VpcConfig, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> VpcConfig IUnmarshaller<VpcConfig, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public VpcConfig Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; VpcConfig unmarshalledObject = new VpcConfig(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("SecurityGroupIds", targetDepth)) { var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance); unmarshalledObject.SecurityGroupIds = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("SubnetIds", targetDepth)) { var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance); unmarshalledObject.SubnetIds = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static VpcConfigUnmarshaller _instance = new VpcConfigUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static VpcConfigUnmarshaller Instance { get { return _instance; } } } }
98
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Text; namespace Amazon.AppStream.Model { /// <summary> /// Paginators for the AppStream service ///</summary> public class AppStreamPaginatorFactory : IAppStreamPaginatorFactory { private readonly IAmazonAppStream client; internal AppStreamPaginatorFactory(IAmazonAppStream client) { this.client = client; } /// <summary> /// Paginator for DescribeAppBlockBuilderAppBlockAssociations operation ///</summary> public IDescribeAppBlockBuilderAppBlockAssociationsPaginator DescribeAppBlockBuilderAppBlockAssociations(DescribeAppBlockBuilderAppBlockAssociationsRequest request) { return new DescribeAppBlockBuilderAppBlockAssociationsPaginator(this.client, request); } /// <summary> /// Paginator for DescribeAppBlockBuilders operation ///</summary> public IDescribeAppBlockBuildersPaginator DescribeAppBlockBuilders(DescribeAppBlockBuildersRequest request) { return new DescribeAppBlockBuildersPaginator(this.client, request); } /// <summary> /// Paginator for DescribeImagePermissions operation ///</summary> public IDescribeImagePermissionsPaginator DescribeImagePermissions(DescribeImagePermissionsRequest request) { return new DescribeImagePermissionsPaginator(this.client, request); } /// <summary> /// Paginator for DescribeImages operation ///</summary> public IDescribeImagesPaginator DescribeImages(DescribeImagesRequest request) { return new DescribeImagesPaginator(this.client, request); } } }
70
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Text; using System.Collections; using System.Threading; using System.Threading.Tasks; using Amazon.Runtime; namespace Amazon.AppStream.Model { /// <summary> /// Base class for DescribeAppBlockBuilderAppBlockAssociations paginators. /// </summary> internal sealed partial class DescribeAppBlockBuilderAppBlockAssociationsPaginator : IPaginator<DescribeAppBlockBuilderAppBlockAssociationsResponse>, IDescribeAppBlockBuilderAppBlockAssociationsPaginator { private readonly IAmazonAppStream _client; private readonly DescribeAppBlockBuilderAppBlockAssociationsRequest _request; private int _isPaginatorInUse = 0; /// <summary> /// Enumerable containing all full responses for the operation /// </summary> public IPaginatedEnumerable<DescribeAppBlockBuilderAppBlockAssociationsResponse> Responses => new PaginatedResponse<DescribeAppBlockBuilderAppBlockAssociationsResponse>(this); internal DescribeAppBlockBuilderAppBlockAssociationsPaginator(IAmazonAppStream client, DescribeAppBlockBuilderAppBlockAssociationsRequest request) { this._client = client; this._request = request; } #if BCL IEnumerable<DescribeAppBlockBuilderAppBlockAssociationsResponse> IPaginator<DescribeAppBlockBuilderAppBlockAssociationsResponse>.Paginate() { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; DescribeAppBlockBuilderAppBlockAssociationsResponse response; do { _request.NextToken = nextToken; response = _client.DescribeAppBlockBuilderAppBlockAssociations(_request); nextToken = response.NextToken; yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif #if AWS_ASYNC_ENUMERABLES_API async IAsyncEnumerable<DescribeAppBlockBuilderAppBlockAssociationsResponse> IPaginator<DescribeAppBlockBuilderAppBlockAssociationsResponse>.PaginateAsync(CancellationToken cancellationToken = default) { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; DescribeAppBlockBuilderAppBlockAssociationsResponse response; do { _request.NextToken = nextToken; response = await _client.DescribeAppBlockBuilderAppBlockAssociationsAsync(_request, cancellationToken).ConfigureAwait(false); nextToken = response.NextToken; cancellationToken.ThrowIfCancellationRequested(); yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif } }
91
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Text; using System.Collections; using System.Threading; using System.Threading.Tasks; using Amazon.Runtime; namespace Amazon.AppStream.Model { /// <summary> /// Base class for DescribeAppBlockBuilders paginators. /// </summary> internal sealed partial class DescribeAppBlockBuildersPaginator : IPaginator<DescribeAppBlockBuildersResponse>, IDescribeAppBlockBuildersPaginator { private readonly IAmazonAppStream _client; private readonly DescribeAppBlockBuildersRequest _request; private int _isPaginatorInUse = 0; /// <summary> /// Enumerable containing all full responses for the operation /// </summary> public IPaginatedEnumerable<DescribeAppBlockBuildersResponse> Responses => new PaginatedResponse<DescribeAppBlockBuildersResponse>(this); internal DescribeAppBlockBuildersPaginator(IAmazonAppStream client, DescribeAppBlockBuildersRequest request) { this._client = client; this._request = request; } #if BCL IEnumerable<DescribeAppBlockBuildersResponse> IPaginator<DescribeAppBlockBuildersResponse>.Paginate() { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; DescribeAppBlockBuildersResponse response; do { _request.NextToken = nextToken; response = _client.DescribeAppBlockBuilders(_request); nextToken = response.NextToken; yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif #if AWS_ASYNC_ENUMERABLES_API async IAsyncEnumerable<DescribeAppBlockBuildersResponse> IPaginator<DescribeAppBlockBuildersResponse>.PaginateAsync(CancellationToken cancellationToken = default) { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; DescribeAppBlockBuildersResponse response; do { _request.NextToken = nextToken; response = await _client.DescribeAppBlockBuildersAsync(_request, cancellationToken).ConfigureAwait(false); nextToken = response.NextToken; cancellationToken.ThrowIfCancellationRequested(); yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif } }
91
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Text; using System.Collections; using System.Threading; using System.Threading.Tasks; using Amazon.Runtime; namespace Amazon.AppStream.Model { /// <summary> /// Base class for DescribeImagePermissions paginators. /// </summary> internal sealed partial class DescribeImagePermissionsPaginator : IPaginator<DescribeImagePermissionsResponse>, IDescribeImagePermissionsPaginator { private readonly IAmazonAppStream _client; private readonly DescribeImagePermissionsRequest _request; private int _isPaginatorInUse = 0; /// <summary> /// Enumerable containing all full responses for the operation /// </summary> public IPaginatedEnumerable<DescribeImagePermissionsResponse> Responses => new PaginatedResponse<DescribeImagePermissionsResponse>(this); internal DescribeImagePermissionsPaginator(IAmazonAppStream client, DescribeImagePermissionsRequest request) { this._client = client; this._request = request; } #if BCL IEnumerable<DescribeImagePermissionsResponse> IPaginator<DescribeImagePermissionsResponse>.Paginate() { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; DescribeImagePermissionsResponse response; do { _request.NextToken = nextToken; response = _client.DescribeImagePermissions(_request); nextToken = response.NextToken; yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif #if AWS_ASYNC_ENUMERABLES_API async IAsyncEnumerable<DescribeImagePermissionsResponse> IPaginator<DescribeImagePermissionsResponse>.PaginateAsync(CancellationToken cancellationToken = default) { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; DescribeImagePermissionsResponse response; do { _request.NextToken = nextToken; response = await _client.DescribeImagePermissionsAsync(_request, cancellationToken).ConfigureAwait(false); nextToken = response.NextToken; cancellationToken.ThrowIfCancellationRequested(); yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif } }
91
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using System.Text; using System.Collections; using System.Threading; using System.Threading.Tasks; using Amazon.Runtime; namespace Amazon.AppStream.Model { /// <summary> /// Base class for DescribeImages paginators. /// </summary> internal sealed partial class DescribeImagesPaginator : IPaginator<DescribeImagesResponse>, IDescribeImagesPaginator { private readonly IAmazonAppStream _client; private readonly DescribeImagesRequest _request; private int _isPaginatorInUse = 0; /// <summary> /// Enumerable containing all full responses for the operation /// </summary> public IPaginatedEnumerable<DescribeImagesResponse> Responses => new PaginatedResponse<DescribeImagesResponse>(this); internal DescribeImagesPaginator(IAmazonAppStream client, DescribeImagesRequest request) { this._client = client; this._request = request; } #if BCL IEnumerable<DescribeImagesResponse> IPaginator<DescribeImagesResponse>.Paginate() { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; DescribeImagesResponse response; do { _request.NextToken = nextToken; response = _client.DescribeImages(_request); nextToken = response.NextToken; yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif #if AWS_ASYNC_ENUMERABLES_API async IAsyncEnumerable<DescribeImagesResponse> IPaginator<DescribeImagesResponse>.PaginateAsync(CancellationToken cancellationToken = default) { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; DescribeImagesResponse response; do { _request.NextToken = nextToken; response = await _client.DescribeImagesAsync(_request, cancellationToken).ConfigureAwait(false); nextToken = response.NextToken; cancellationToken.ThrowIfCancellationRequested(); yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif } }
91
aws-sdk-net
aws
C#
/* * 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. */ namespace Amazon.AppStream.Model { /// <summary> /// Paginators for the AppStream service ///</summary> public interface IAppStreamPaginatorFactory { /// <summary> /// Paginator for DescribeAppBlockBuilderAppBlockAssociations operation ///</summary> IDescribeAppBlockBuilderAppBlockAssociationsPaginator DescribeAppBlockBuilderAppBlockAssociations(DescribeAppBlockBuilderAppBlockAssociationsRequest request); /// <summary> /// Paginator for DescribeAppBlockBuilders operation ///</summary> IDescribeAppBlockBuildersPaginator DescribeAppBlockBuilders(DescribeAppBlockBuildersRequest request); /// <summary> /// Paginator for DescribeImagePermissions operation ///</summary> IDescribeImagePermissionsPaginator DescribeImagePermissions(DescribeImagePermissionsRequest request); /// <summary> /// Paginator for DescribeImages operation ///</summary> IDescribeImagesPaginator DescribeImages(DescribeImagesRequest request); } }
48
aws-sdk-net
aws
C#
/* * 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 Amazon.Runtime; namespace Amazon.AppStream.Model { /// <summary> /// Paginator for the DescribeAppBlockBuilderAppBlockAssociations operation ///</summary> public interface IDescribeAppBlockBuilderAppBlockAssociationsPaginator { /// <summary> /// Enumerable containing all full responses for the operation /// </summary> IPaginatedEnumerable<DescribeAppBlockBuilderAppBlockAssociationsResponse> Responses { get; } } }
33
aws-sdk-net
aws
C#
/* * 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 Amazon.Runtime; namespace Amazon.AppStream.Model { /// <summary> /// Paginator for the DescribeAppBlockBuilders operation ///</summary> public interface IDescribeAppBlockBuildersPaginator { /// <summary> /// Enumerable containing all full responses for the operation /// </summary> IPaginatedEnumerable<DescribeAppBlockBuildersResponse> Responses { get; } } }
33
aws-sdk-net
aws
C#
/* * 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 Amazon.Runtime; namespace Amazon.AppStream.Model { /// <summary> /// Paginator for the DescribeImagePermissions operation ///</summary> public interface IDescribeImagePermissionsPaginator { /// <summary> /// Enumerable containing all full responses for the operation /// </summary> IPaginatedEnumerable<DescribeImagePermissionsResponse> Responses { get; } } }
33
aws-sdk-net
aws
C#
/* * 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 Amazon.Runtime; namespace Amazon.AppStream.Model { /// <summary> /// Paginator for the DescribeImages operation ///</summary> public interface IDescribeImagesPaginator { /// <summary> /// Enumerable containing all full responses for the operation /// </summary> IPaginatedEnumerable<DescribeImagesResponse> Responses { get; } } }
33
aws-sdk-net
aws
C#
/* * 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.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 { /// <summary> /// Implementation for accessing AppStream /// /// Amazon AppStream 2.0 /// <para> /// This is the <i>Amazon AppStream 2.0 API Reference</i>. 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. /// </para> /// <note> /// <para> /// You can call the AppStream 2.0 API operations by using an interface VPC endpoint (interface /// endpoint). For more information, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/access-api-cli-through-interface-vpc-endpoint.html">Access /// AppStream 2.0 API Operations and CLI Commands Through an Interface VPC Endpoint</a> /// in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </note> /// <para> /// To learn more about AppStream 2.0, see the following resources: /// </para> /// <ul> <li> /// <para> /// <a href="http://aws.amazon.com/appstream2">Amazon AppStream 2.0 product page</a> /// /// </para> /// </li> <li> /// <para> /// <a href="http://aws.amazon.com/documentation/appstream2">Amazon AppStream 2.0 documentation</a> /// /// </para> /// </li> </ul> /// </summary> public partial class AmazonAppStreamClient : AmazonServiceClient, IAmazonAppStream { private static IServiceMetadata serviceMetadata = new AmazonAppStreamMetadata(); #if BCL45 || AWS_ASYNC_ENUMERABLES_API private IAppStreamPaginatorFactory _paginators; /// <summary> /// Paginators for the service /// </summary> public IAppStreamPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new AppStreamPaginatorFactory(this); } return this._paginators; } } #endif #region Constructors /// <summary> /// 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. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> public AmazonAppStreamClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppStreamConfig()) { } /// <summary> /// 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. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> /// <param name="region">The region to connect.</param> public AmazonAppStreamClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppStreamConfig{RegionEndpoint = region}) { } /// <summary> /// 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. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> /// <param name="config">The AmazonAppStreamClient Configuration Object</param> public AmazonAppStreamClient(AmazonAppStreamConfig config) : base(FallbackCredentialsFactory.GetCredentials(), config) { } /// <summary> /// Constructs AmazonAppStreamClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> public AmazonAppStreamClient(AWSCredentials credentials) : this(credentials, new AmazonAppStreamConfig()) { } /// <summary> /// Constructs AmazonAppStreamClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="region">The region to connect.</param> public AmazonAppStreamClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonAppStreamConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAppStreamClient with AWS Credentials and an /// AmazonAppStreamClient Configuration object. /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="clientConfig">The AmazonAppStreamClient Configuration Object</param> public AmazonAppStreamClient(AWSCredentials credentials, AmazonAppStreamConfig clientConfig) : base(credentials, clientConfig) { } /// <summary> /// Constructs AmazonAppStreamClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> public AmazonAppStreamClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppStreamConfig()) { } /// <summary> /// Constructs AmazonAppStreamClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="region">The region to connect.</param> public AmazonAppStreamClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppStreamConfig() {RegionEndpoint=region}) { } /// <summary> /// Constructs AmazonAppStreamClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAppStreamClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="clientConfig">The AmazonAppStreamClient Configuration Object</param> public AmazonAppStreamClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAppStreamConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// <summary> /// Constructs AmazonAppStreamClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> public AmazonAppStreamClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppStreamConfig()) { } /// <summary> /// Constructs AmazonAppStreamClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> /// <param name="region">The region to connect.</param> public AmazonAppStreamClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppStreamConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAppStreamClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAppStreamClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> /// <param name="clientConfig">The AmazonAppStreamClient Configuration Object</param> public AmazonAppStreamClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAppStreamConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #region Overrides /// <summary> /// Creates the signer for the service. /// </summary> protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// <summary> /// Customize the pipeline /// </summary> /// <param name="pipeline"></param> protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler<Amazon.Runtime.Internal.EndpointResolver>(); pipeline.AddHandlerAfter<Amazon.Runtime.Internal.Marshaller>(new AmazonAppStreamEndpointResolver()); } /// <summary> /// Capture metadata for the service. /// </summary> protected override IServiceMetadata ServiceMetadata { get { return serviceMetadata; } } #endregion #region Dispose /// <summary> /// Disposes the service client. /// </summary> protected override void Dispose(bool disposing) { base.Dispose(disposing); } #endregion #region AssociateAppBlockBuilderAppBlock /// <summary> /// Associates the specified app block builder with the specified app block. /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateAppBlockBuilderAppBlock service method.</param> /// /// <returns>The response from the AssociateAppBlockBuilderAppBlock service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateAppBlockBuilderAppBlock">REST API Reference for AssociateAppBlockBuilderAppBlock Operation</seealso> public virtual AssociateAppBlockBuilderAppBlockResponse AssociateAppBlockBuilderAppBlock(AssociateAppBlockBuilderAppBlockRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateAppBlockBuilderAppBlockRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateAppBlockBuilderAppBlockResponseUnmarshaller.Instance; return Invoke<AssociateAppBlockBuilderAppBlockResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the AssociateAppBlockBuilderAppBlock operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the AssociateAppBlockBuilderAppBlock operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAssociateAppBlockBuilderAppBlock /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateAppBlockBuilderAppBlock">REST API Reference for AssociateAppBlockBuilderAppBlock Operation</seealso> public virtual IAsyncResult BeginAssociateAppBlockBuilderAppBlock(AssociateAppBlockBuilderAppBlockRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateAppBlockBuilderAppBlockRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateAppBlockBuilderAppBlockResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the AssociateAppBlockBuilderAppBlock operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginAssociateAppBlockBuilderAppBlock.</param> /// /// <returns>Returns a AssociateAppBlockBuilderAppBlockResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateAppBlockBuilderAppBlock">REST API Reference for AssociateAppBlockBuilderAppBlock Operation</seealso> public virtual AssociateAppBlockBuilderAppBlockResponse EndAssociateAppBlockBuilderAppBlock(IAsyncResult asyncResult) { return EndInvoke<AssociateAppBlockBuilderAppBlockResponse>(asyncResult); } #endregion #region AssociateApplicationFleet /// <summary> /// Associates the specified application with the specified fleet. This is only supported /// for Elastic fleets. /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateApplicationFleet service method.</param> /// /// <returns>The response from the AssociateApplicationFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateApplicationFleet">REST API Reference for AssociateApplicationFleet Operation</seealso> public virtual AssociateApplicationFleetResponse AssociateApplicationFleet(AssociateApplicationFleetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateApplicationFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateApplicationFleetResponseUnmarshaller.Instance; return Invoke<AssociateApplicationFleetResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the AssociateApplicationFleet operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the AssociateApplicationFleet operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAssociateApplicationFleet /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateApplicationFleet">REST API Reference for AssociateApplicationFleet Operation</seealso> public virtual IAsyncResult BeginAssociateApplicationFleet(AssociateApplicationFleetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateApplicationFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateApplicationFleetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the AssociateApplicationFleet operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginAssociateApplicationFleet.</param> /// /// <returns>Returns a AssociateApplicationFleetResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateApplicationFleet">REST API Reference for AssociateApplicationFleet Operation</seealso> public virtual AssociateApplicationFleetResponse EndAssociateApplicationFleet(IAsyncResult asyncResult) { return EndInvoke<AssociateApplicationFleetResponse>(asyncResult); } #endregion #region AssociateApplicationToEntitlement /// <summary> /// Associates an application to entitle. /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateApplicationToEntitlement service method.</param> /// /// <returns>The response from the AssociateApplicationToEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateApplicationToEntitlement">REST API Reference for AssociateApplicationToEntitlement Operation</seealso> public virtual AssociateApplicationToEntitlementResponse AssociateApplicationToEntitlement(AssociateApplicationToEntitlementRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateApplicationToEntitlementRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateApplicationToEntitlementResponseUnmarshaller.Instance; return Invoke<AssociateApplicationToEntitlementResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the AssociateApplicationToEntitlement operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the AssociateApplicationToEntitlement operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAssociateApplicationToEntitlement /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateApplicationToEntitlement">REST API Reference for AssociateApplicationToEntitlement Operation</seealso> public virtual IAsyncResult BeginAssociateApplicationToEntitlement(AssociateApplicationToEntitlementRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateApplicationToEntitlementRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateApplicationToEntitlementResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the AssociateApplicationToEntitlement operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginAssociateApplicationToEntitlement.</param> /// /// <returns>Returns a AssociateApplicationToEntitlementResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateApplicationToEntitlement">REST API Reference for AssociateApplicationToEntitlement Operation</seealso> public virtual AssociateApplicationToEntitlementResponse EndAssociateApplicationToEntitlement(IAsyncResult asyncResult) { return EndInvoke<AssociateApplicationToEntitlementResponse>(asyncResult); } #endregion #region AssociateFleet /// <summary> /// Associates the specified fleet with the specified stack. /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateFleet service method.</param> /// /// <returns>The response from the AssociateFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateFleet">REST API Reference for AssociateFleet Operation</seealso> public virtual AssociateFleetResponse AssociateFleet(AssociateFleetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateFleetResponseUnmarshaller.Instance; return Invoke<AssociateFleetResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the AssociateFleet operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the AssociateFleet operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAssociateFleet /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateFleet">REST API Reference for AssociateFleet Operation</seealso> public virtual IAsyncResult BeginAssociateFleet(AssociateFleetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateFleetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the AssociateFleet operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginAssociateFleet.</param> /// /// <returns>Returns a AssociateFleetResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateFleet">REST API Reference for AssociateFleet Operation</seealso> public virtual AssociateFleetResponse EndAssociateFleet(IAsyncResult asyncResult) { return EndInvoke<AssociateFleetResponse>(asyncResult); } #endregion #region BatchAssociateUserStack /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchAssociateUserStack service method.</param> /// /// <returns>The response from the BatchAssociateUserStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/BatchAssociateUserStack">REST API Reference for BatchAssociateUserStack Operation</seealso> public virtual BatchAssociateUserStackResponse BatchAssociateUserStack(BatchAssociateUserStackRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchAssociateUserStackRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchAssociateUserStackResponseUnmarshaller.Instance; return Invoke<BatchAssociateUserStackResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the BatchAssociateUserStack operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the BatchAssociateUserStack operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndBatchAssociateUserStack /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/BatchAssociateUserStack">REST API Reference for BatchAssociateUserStack Operation</seealso> public virtual IAsyncResult BeginBatchAssociateUserStack(BatchAssociateUserStackRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = BatchAssociateUserStackRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchAssociateUserStackResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the BatchAssociateUserStack operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginBatchAssociateUserStack.</param> /// /// <returns>Returns a BatchAssociateUserStackResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/BatchAssociateUserStack">REST API Reference for BatchAssociateUserStack Operation</seealso> public virtual BatchAssociateUserStackResponse EndBatchAssociateUserStack(IAsyncResult asyncResult) { return EndInvoke<BatchAssociateUserStackResponse>(asyncResult); } #endregion #region BatchDisassociateUserStack /// <summary> /// Disassociates the specified users from the specified stacks. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchDisassociateUserStack service method.</param> /// /// <returns>The response from the BatchDisassociateUserStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/BatchDisassociateUserStack">REST API Reference for BatchDisassociateUserStack Operation</seealso> public virtual BatchDisassociateUserStackResponse BatchDisassociateUserStack(BatchDisassociateUserStackRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchDisassociateUserStackRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchDisassociateUserStackResponseUnmarshaller.Instance; return Invoke<BatchDisassociateUserStackResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the BatchDisassociateUserStack operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the BatchDisassociateUserStack operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndBatchDisassociateUserStack /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/BatchDisassociateUserStack">REST API Reference for BatchDisassociateUserStack Operation</seealso> public virtual IAsyncResult BeginBatchDisassociateUserStack(BatchDisassociateUserStackRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = BatchDisassociateUserStackRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchDisassociateUserStackResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the BatchDisassociateUserStack operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginBatchDisassociateUserStack.</param> /// /// <returns>Returns a BatchDisassociateUserStackResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/BatchDisassociateUserStack">REST API Reference for BatchDisassociateUserStack Operation</seealso> public virtual BatchDisassociateUserStackResponse EndBatchDisassociateUserStack(IAsyncResult asyncResult) { return EndInvoke<BatchDisassociateUserStackResponse>(asyncResult); } #endregion #region CopyImage /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CopyImage service method.</param> /// /// <returns>The response from the CopyImage service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CopyImage">REST API Reference for CopyImage Operation</seealso> public virtual CopyImageResponse CopyImage(CopyImageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CopyImageRequestMarshaller.Instance; options.ResponseUnmarshaller = CopyImageResponseUnmarshaller.Instance; return Invoke<CopyImageResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CopyImage operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CopyImage operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCopyImage /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CopyImage">REST API Reference for CopyImage Operation</seealso> public virtual IAsyncResult BeginCopyImage(CopyImageRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CopyImageRequestMarshaller.Instance; options.ResponseUnmarshaller = CopyImageResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CopyImage operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCopyImage.</param> /// /// <returns>Returns a CopyImageResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CopyImage">REST API Reference for CopyImage Operation</seealso> public virtual CopyImageResponse EndCopyImage(IAsyncResult asyncResult) { return EndInvoke<CopyImageResponse>(asyncResult); } #endregion #region CreateAppBlock /// <summary> /// Creates an app block. /// /// /// <para> /// 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. /// </para> /// /// <para> /// This is only supported for Elastic fleets. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppBlock service method.</param> /// /// <returns>The response from the CreateAppBlock service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlock">REST API Reference for CreateAppBlock Operation</seealso> public virtual CreateAppBlockResponse CreateAppBlock(CreateAppBlockRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppBlockRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppBlockResponseUnmarshaller.Instance; return Invoke<CreateAppBlockResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateAppBlock operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateAppBlock operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateAppBlock /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlock">REST API Reference for CreateAppBlock Operation</seealso> public virtual IAsyncResult BeginCreateAppBlock(CreateAppBlockRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppBlockRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppBlockResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateAppBlock operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateAppBlock.</param> /// /// <returns>Returns a CreateAppBlockResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlock">REST API Reference for CreateAppBlock Operation</seealso> public virtual CreateAppBlockResponse EndCreateAppBlock(IAsyncResult asyncResult) { return EndInvoke<CreateAppBlockResponse>(asyncResult); } #endregion #region CreateAppBlockBuilder /// <summary> /// Creates an app block builder. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppBlockBuilder service method.</param> /// /// <returns>The response from the CreateAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlockBuilder">REST API Reference for CreateAppBlockBuilder Operation</seealso> public virtual CreateAppBlockBuilderResponse CreateAppBlockBuilder(CreateAppBlockBuilderRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppBlockBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppBlockBuilderResponseUnmarshaller.Instance; return Invoke<CreateAppBlockBuilderResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateAppBlockBuilder operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateAppBlockBuilder operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateAppBlockBuilder /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlockBuilder">REST API Reference for CreateAppBlockBuilder Operation</seealso> public virtual IAsyncResult BeginCreateAppBlockBuilder(CreateAppBlockBuilderRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppBlockBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppBlockBuilderResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateAppBlockBuilder operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateAppBlockBuilder.</param> /// /// <returns>Returns a CreateAppBlockBuilderResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlockBuilder">REST API Reference for CreateAppBlockBuilder Operation</seealso> public virtual CreateAppBlockBuilderResponse EndCreateAppBlockBuilder(IAsyncResult asyncResult) { return EndInvoke<CreateAppBlockBuilderResponse>(asyncResult); } #endregion #region CreateAppBlockBuilderStreamingURL /// <summary> /// Creates a URL to start a create app block builder streaming session. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppBlockBuilderStreamingURL service method.</param> /// /// <returns>The response from the CreateAppBlockBuilderStreamingURL service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlockBuilderStreamingURL">REST API Reference for CreateAppBlockBuilderStreamingURL Operation</seealso> public virtual CreateAppBlockBuilderStreamingURLResponse CreateAppBlockBuilderStreamingURL(CreateAppBlockBuilderStreamingURLRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppBlockBuilderStreamingURLRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppBlockBuilderStreamingURLResponseUnmarshaller.Instance; return Invoke<CreateAppBlockBuilderStreamingURLResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateAppBlockBuilderStreamingURL operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateAppBlockBuilderStreamingURL operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateAppBlockBuilderStreamingURL /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlockBuilderStreamingURL">REST API Reference for CreateAppBlockBuilderStreamingURL Operation</seealso> public virtual IAsyncResult BeginCreateAppBlockBuilderStreamingURL(CreateAppBlockBuilderStreamingURLRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppBlockBuilderStreamingURLRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppBlockBuilderStreamingURLResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateAppBlockBuilderStreamingURL operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateAppBlockBuilderStreamingURL.</param> /// /// <returns>Returns a CreateAppBlockBuilderStreamingURLResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlockBuilderStreamingURL">REST API Reference for CreateAppBlockBuilderStreamingURL Operation</seealso> public virtual CreateAppBlockBuilderStreamingURLResponse EndCreateAppBlockBuilderStreamingURL(IAsyncResult asyncResult) { return EndInvoke<CreateAppBlockBuilderStreamingURLResponse>(asyncResult); } #endregion #region CreateApplication /// <summary> /// Creates an application. /// /// /// <para> /// 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. /// </para> /// /// <para> /// This is only supported for Elastic fleets. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateApplication service method.</param> /// /// <returns>The response from the CreateApplication service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateApplication">REST API Reference for CreateApplication Operation</seealso> public virtual CreateApplicationResponse CreateApplication(CreateApplicationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateApplicationResponseUnmarshaller.Instance; return Invoke<CreateApplicationResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateApplication operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateApplication operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateApplication /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateApplication">REST API Reference for CreateApplication Operation</seealso> public virtual IAsyncResult BeginCreateApplication(CreateApplicationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateApplicationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateApplication operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateApplication.</param> /// /// <returns>Returns a CreateApplicationResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateApplication">REST API Reference for CreateApplication Operation</seealso> public virtual CreateApplicationResponse EndCreateApplication(IAsyncResult asyncResult) { return EndInvoke<CreateApplicationResponse>(asyncResult); } #endregion #region CreateDirectoryConfig /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateDirectoryConfig service method.</param> /// /// <returns>The response from the CreateDirectoryConfig service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateDirectoryConfig">REST API Reference for CreateDirectoryConfig Operation</seealso> public virtual CreateDirectoryConfigResponse CreateDirectoryConfig(CreateDirectoryConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDirectoryConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDirectoryConfigResponseUnmarshaller.Instance; return Invoke<CreateDirectoryConfigResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateDirectoryConfig operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateDirectoryConfig operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateDirectoryConfig /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateDirectoryConfig">REST API Reference for CreateDirectoryConfig Operation</seealso> public virtual IAsyncResult BeginCreateDirectoryConfig(CreateDirectoryConfigRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDirectoryConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDirectoryConfigResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateDirectoryConfig operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateDirectoryConfig.</param> /// /// <returns>Returns a CreateDirectoryConfigResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateDirectoryConfig">REST API Reference for CreateDirectoryConfig Operation</seealso> public virtual CreateDirectoryConfigResponse EndCreateDirectoryConfig(IAsyncResult asyncResult) { return EndInvoke<CreateDirectoryConfigResponse>(asyncResult); } #endregion #region CreateEntitlement /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateEntitlement service method.</param> /// /// <returns>The response from the CreateEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementAlreadyExistsException"> /// The entitlement already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateEntitlement">REST API Reference for CreateEntitlement Operation</seealso> public virtual CreateEntitlementResponse CreateEntitlement(CreateEntitlementRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateEntitlementRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateEntitlementResponseUnmarshaller.Instance; return Invoke<CreateEntitlementResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateEntitlement operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateEntitlement operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateEntitlement /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateEntitlement">REST API Reference for CreateEntitlement Operation</seealso> public virtual IAsyncResult BeginCreateEntitlement(CreateEntitlementRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateEntitlementRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateEntitlementResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateEntitlement operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateEntitlement.</param> /// /// <returns>Returns a CreateEntitlementResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateEntitlement">REST API Reference for CreateEntitlement Operation</seealso> public virtual CreateEntitlementResponse EndCreateEntitlement(IAsyncResult asyncResult) { return EndInvoke<CreateEntitlementResponse>(asyncResult); } #endregion #region CreateFleet /// <summary> /// Creates a fleet. A fleet consists of streaming instances that your users access for /// their applications and desktops. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateFleet service method.</param> /// /// <returns>The response from the CreateFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateFleet">REST API Reference for CreateFleet Operation</seealso> public virtual CreateFleetResponse CreateFleet(CreateFleetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFleetResponseUnmarshaller.Instance; return Invoke<CreateFleetResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateFleet operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateFleet operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateFleet /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateFleet">REST API Reference for CreateFleet Operation</seealso> public virtual IAsyncResult BeginCreateFleet(CreateFleetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFleetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateFleet operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateFleet.</param> /// /// <returns>Returns a CreateFleetResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateFleet">REST API Reference for CreateFleet Operation</seealso> public virtual CreateFleetResponse EndCreateFleet(IAsyncResult asyncResult) { return EndInvoke<CreateFleetResponse>(asyncResult); } #endregion #region CreateImageBuilder /// <summary> /// Creates an image builder. An image builder is a virtual machine that is used to create /// an image. /// /// /// <para> /// The initial state of the builder is <code>PENDING</code>. When it is ready, the state /// is <code>RUNNING</code>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateImageBuilder service method.</param> /// /// <returns>The response from the CreateImageBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateImageBuilder">REST API Reference for CreateImageBuilder Operation</seealso> public virtual CreateImageBuilderResponse CreateImageBuilder(CreateImageBuilderRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateImageBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateImageBuilderResponseUnmarshaller.Instance; return Invoke<CreateImageBuilderResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateImageBuilder operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateImageBuilder operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateImageBuilder /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateImageBuilder">REST API Reference for CreateImageBuilder Operation</seealso> public virtual IAsyncResult BeginCreateImageBuilder(CreateImageBuilderRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateImageBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateImageBuilderResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateImageBuilder operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateImageBuilder.</param> /// /// <returns>Returns a CreateImageBuilderResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateImageBuilder">REST API Reference for CreateImageBuilder Operation</seealso> public virtual CreateImageBuilderResponse EndCreateImageBuilder(IAsyncResult asyncResult) { return EndInvoke<CreateImageBuilderResponse>(asyncResult); } #endregion #region CreateImageBuilderStreamingURL /// <summary> /// Creates a URL to start an image builder streaming session. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateImageBuilderStreamingURL service method.</param> /// /// <returns>The response from the CreateImageBuilderStreamingURL service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateImageBuilderStreamingURL">REST API Reference for CreateImageBuilderStreamingURL Operation</seealso> public virtual CreateImageBuilderStreamingURLResponse CreateImageBuilderStreamingURL(CreateImageBuilderStreamingURLRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateImageBuilderStreamingURLRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateImageBuilderStreamingURLResponseUnmarshaller.Instance; return Invoke<CreateImageBuilderStreamingURLResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateImageBuilderStreamingURL operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateImageBuilderStreamingURL operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateImageBuilderStreamingURL /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateImageBuilderStreamingURL">REST API Reference for CreateImageBuilderStreamingURL Operation</seealso> public virtual IAsyncResult BeginCreateImageBuilderStreamingURL(CreateImageBuilderStreamingURLRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateImageBuilderStreamingURLRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateImageBuilderStreamingURLResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateImageBuilderStreamingURL operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateImageBuilderStreamingURL.</param> /// /// <returns>Returns a CreateImageBuilderStreamingURLResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateImageBuilderStreamingURL">REST API Reference for CreateImageBuilderStreamingURL Operation</seealso> public virtual CreateImageBuilderStreamingURLResponse EndCreateImageBuilderStreamingURL(IAsyncResult asyncResult) { return EndInvoke<CreateImageBuilderStreamingURLResponse>(asyncResult); } #endregion #region CreateStack /// <summary> /// Creates a stack to start streaming applications to users. A stack consists of an associated /// fleet, user access policies, and storage configurations. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateStack service method.</param> /// /// <returns>The response from the CreateStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStack">REST API Reference for CreateStack Operation</seealso> public virtual CreateStackResponse CreateStack(CreateStackRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateStackRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateStackResponseUnmarshaller.Instance; return Invoke<CreateStackResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateStack operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateStack operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateStack /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStack">REST API Reference for CreateStack Operation</seealso> public virtual IAsyncResult BeginCreateStack(CreateStackRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateStackRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateStackResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateStack operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateStack.</param> /// /// <returns>Returns a CreateStackResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStack">REST API Reference for CreateStack Operation</seealso> public virtual CreateStackResponse EndCreateStack(IAsyncResult asyncResult) { return EndInvoke<CreateStackResponse>(asyncResult); } #endregion #region CreateStreamingURL /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateStreamingURL service method.</param> /// /// <returns>The response from the CreateStreamingURL service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStreamingURL">REST API Reference for CreateStreamingURL Operation</seealso> public virtual CreateStreamingURLResponse CreateStreamingURL(CreateStreamingURLRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateStreamingURLRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateStreamingURLResponseUnmarshaller.Instance; return Invoke<CreateStreamingURLResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateStreamingURL operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateStreamingURL operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateStreamingURL /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStreamingURL">REST API Reference for CreateStreamingURL Operation</seealso> public virtual IAsyncResult BeginCreateStreamingURL(CreateStreamingURLRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateStreamingURLRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateStreamingURLResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateStreamingURL operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateStreamingURL.</param> /// /// <returns>Returns a CreateStreamingURLResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStreamingURL">REST API Reference for CreateStreamingURL Operation</seealso> public virtual CreateStreamingURLResponse EndCreateStreamingURL(IAsyncResult asyncResult) { return EndInvoke<CreateStreamingURLResponse>(asyncResult); } #endregion #region CreateUpdatedImage /// <summary> /// Creates a new image with the latest Windows operating system updates, driver updates, /// and AppStream 2.0 agent software. /// /// /// <para> /// For more information, see the "Update an Image by Using Managed AppStream 2.0 Image /// Updates" section in <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/administer-images.html">Administer /// Your AppStream 2.0 Images</a>, in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateUpdatedImage service method.</param> /// /// <returns>The response from the CreateUpdatedImage service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUpdatedImage">REST API Reference for CreateUpdatedImage Operation</seealso> public virtual CreateUpdatedImageResponse CreateUpdatedImage(CreateUpdatedImageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateUpdatedImageRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateUpdatedImageResponseUnmarshaller.Instance; return Invoke<CreateUpdatedImageResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateUpdatedImage operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateUpdatedImage operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateUpdatedImage /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUpdatedImage">REST API Reference for CreateUpdatedImage Operation</seealso> public virtual IAsyncResult BeginCreateUpdatedImage(CreateUpdatedImageRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateUpdatedImageRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateUpdatedImageResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateUpdatedImage operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateUpdatedImage.</param> /// /// <returns>Returns a CreateUpdatedImageResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUpdatedImage">REST API Reference for CreateUpdatedImage Operation</seealso> public virtual CreateUpdatedImageResponse EndCreateUpdatedImage(IAsyncResult asyncResult) { return EndInvoke<CreateUpdatedImageResponse>(asyncResult); } #endregion #region CreateUsageReportSubscription /// <summary> /// Creates a usage report subscription. Usage reports are generated daily. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateUsageReportSubscription service method.</param> /// /// <returns>The response from the CreateUsageReportSubscription service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUsageReportSubscription">REST API Reference for CreateUsageReportSubscription Operation</seealso> public virtual CreateUsageReportSubscriptionResponse CreateUsageReportSubscription(CreateUsageReportSubscriptionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateUsageReportSubscriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateUsageReportSubscriptionResponseUnmarshaller.Instance; return Invoke<CreateUsageReportSubscriptionResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateUsageReportSubscription operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateUsageReportSubscription operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateUsageReportSubscription /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUsageReportSubscription">REST API Reference for CreateUsageReportSubscription Operation</seealso> public virtual IAsyncResult BeginCreateUsageReportSubscription(CreateUsageReportSubscriptionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateUsageReportSubscriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateUsageReportSubscriptionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateUsageReportSubscription operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateUsageReportSubscription.</param> /// /// <returns>Returns a CreateUsageReportSubscriptionResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUsageReportSubscription">REST API Reference for CreateUsageReportSubscription Operation</seealso> public virtual CreateUsageReportSubscriptionResponse EndCreateUsageReportSubscription(IAsyncResult asyncResult) { return EndInvoke<CreateUsageReportSubscriptionResponse>(asyncResult); } #endregion #region CreateUser /// <summary> /// Creates a new user in the user pool. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateUser service method.</param> /// /// <returns>The response from the CreateUser service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUser">REST API Reference for CreateUser Operation</seealso> public virtual CreateUserResponse CreateUser(CreateUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateUserRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateUserResponseUnmarshaller.Instance; return Invoke<CreateUserResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateUser operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateUser operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateUser /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUser">REST API Reference for CreateUser Operation</seealso> public virtual IAsyncResult BeginCreateUser(CreateUserRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateUserRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateUserResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateUser operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateUser.</param> /// /// <returns>Returns a CreateUserResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUser">REST API Reference for CreateUser Operation</seealso> public virtual CreateUserResponse EndCreateUser(IAsyncResult asyncResult) { return EndInvoke<CreateUserResponse>(asyncResult); } #endregion #region DeleteAppBlock /// <summary> /// Deletes an app block. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppBlock service method.</param> /// /// <returns>The response from the DeleteAppBlock service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteAppBlock">REST API Reference for DeleteAppBlock Operation</seealso> public virtual DeleteAppBlockResponse DeleteAppBlock(DeleteAppBlockRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppBlockRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppBlockResponseUnmarshaller.Instance; return Invoke<DeleteAppBlockResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteAppBlock operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteAppBlock operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteAppBlock /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteAppBlock">REST API Reference for DeleteAppBlock Operation</seealso> public virtual IAsyncResult BeginDeleteAppBlock(DeleteAppBlockRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppBlockRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppBlockResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteAppBlock operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteAppBlock.</param> /// /// <returns>Returns a DeleteAppBlockResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteAppBlock">REST API Reference for DeleteAppBlock Operation</seealso> public virtual DeleteAppBlockResponse EndDeleteAppBlock(IAsyncResult asyncResult) { return EndInvoke<DeleteAppBlockResponse>(asyncResult); } #endregion #region DeleteAppBlockBuilder /// <summary> /// Deletes an app block builder. /// /// /// <para> /// An app block builder can only be deleted when it has no association with an app block. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppBlockBuilder service method.</param> /// /// <returns>The response from the DeleteAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteAppBlockBuilder">REST API Reference for DeleteAppBlockBuilder Operation</seealso> public virtual DeleteAppBlockBuilderResponse DeleteAppBlockBuilder(DeleteAppBlockBuilderRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppBlockBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppBlockBuilderResponseUnmarshaller.Instance; return Invoke<DeleteAppBlockBuilderResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteAppBlockBuilder operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteAppBlockBuilder operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteAppBlockBuilder /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteAppBlockBuilder">REST API Reference for DeleteAppBlockBuilder Operation</seealso> public virtual IAsyncResult BeginDeleteAppBlockBuilder(DeleteAppBlockBuilderRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppBlockBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppBlockBuilderResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteAppBlockBuilder operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteAppBlockBuilder.</param> /// /// <returns>Returns a DeleteAppBlockBuilderResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteAppBlockBuilder">REST API Reference for DeleteAppBlockBuilder Operation</seealso> public virtual DeleteAppBlockBuilderResponse EndDeleteAppBlockBuilder(IAsyncResult asyncResult) { return EndInvoke<DeleteAppBlockBuilderResponse>(asyncResult); } #endregion #region DeleteApplication /// <summary> /// Deletes an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteApplication service method.</param> /// /// <returns>The response from the DeleteApplication service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteApplication">REST API Reference for DeleteApplication Operation</seealso> public virtual DeleteApplicationResponse DeleteApplication(DeleteApplicationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteApplicationResponseUnmarshaller.Instance; return Invoke<DeleteApplicationResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteApplication operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteApplication operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteApplication /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteApplication">REST API Reference for DeleteApplication Operation</seealso> public virtual IAsyncResult BeginDeleteApplication(DeleteApplicationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteApplicationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteApplication operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteApplication.</param> /// /// <returns>Returns a DeleteApplicationResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteApplication">REST API Reference for DeleteApplication Operation</seealso> public virtual DeleteApplicationResponse EndDeleteApplication(IAsyncResult asyncResult) { return EndInvoke<DeleteApplicationResponse>(asyncResult); } #endregion #region DeleteDirectoryConfig /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteDirectoryConfig service method.</param> /// /// <returns>The response from the DeleteDirectoryConfig service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteDirectoryConfig">REST API Reference for DeleteDirectoryConfig Operation</seealso> public virtual DeleteDirectoryConfigResponse DeleteDirectoryConfig(DeleteDirectoryConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDirectoryConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDirectoryConfigResponseUnmarshaller.Instance; return Invoke<DeleteDirectoryConfigResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteDirectoryConfig operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteDirectoryConfig operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteDirectoryConfig /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteDirectoryConfig">REST API Reference for DeleteDirectoryConfig Operation</seealso> public virtual IAsyncResult BeginDeleteDirectoryConfig(DeleteDirectoryConfigRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDirectoryConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDirectoryConfigResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteDirectoryConfig operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteDirectoryConfig.</param> /// /// <returns>Returns a DeleteDirectoryConfigResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteDirectoryConfig">REST API Reference for DeleteDirectoryConfig Operation</seealso> public virtual DeleteDirectoryConfigResponse EndDeleteDirectoryConfig(IAsyncResult asyncResult) { return EndInvoke<DeleteDirectoryConfigResponse>(asyncResult); } #endregion #region DeleteEntitlement /// <summary> /// Deletes the specified entitlement. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteEntitlement service method.</param> /// /// <returns>The response from the DeleteEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteEntitlement">REST API Reference for DeleteEntitlement Operation</seealso> public virtual DeleteEntitlementResponse DeleteEntitlement(DeleteEntitlementRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteEntitlementRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteEntitlementResponseUnmarshaller.Instance; return Invoke<DeleteEntitlementResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteEntitlement operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteEntitlement operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteEntitlement /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteEntitlement">REST API Reference for DeleteEntitlement Operation</seealso> public virtual IAsyncResult BeginDeleteEntitlement(DeleteEntitlementRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteEntitlementRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteEntitlementResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteEntitlement operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteEntitlement.</param> /// /// <returns>Returns a DeleteEntitlementResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteEntitlement">REST API Reference for DeleteEntitlement Operation</seealso> public virtual DeleteEntitlementResponse EndDeleteEntitlement(IAsyncResult asyncResult) { return EndInvoke<DeleteEntitlementResponse>(asyncResult); } #endregion #region DeleteFleet /// <summary> /// Deletes the specified fleet. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteFleet service method.</param> /// /// <returns>The response from the DeleteFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteFleet">REST API Reference for DeleteFleet Operation</seealso> public virtual DeleteFleetResponse DeleteFleet(DeleteFleetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFleetResponseUnmarshaller.Instance; return Invoke<DeleteFleetResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteFleet operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteFleet operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteFleet /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteFleet">REST API Reference for DeleteFleet Operation</seealso> public virtual IAsyncResult BeginDeleteFleet(DeleteFleetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFleetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteFleet operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteFleet.</param> /// /// <returns>Returns a DeleteFleetResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteFleet">REST API Reference for DeleteFleet Operation</seealso> public virtual DeleteFleetResponse EndDeleteFleet(IAsyncResult asyncResult) { return EndInvoke<DeleteFleetResponse>(asyncResult); } #endregion #region DeleteImage /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteImage service method.</param> /// /// <returns>The response from the DeleteImage service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImage">REST API Reference for DeleteImage Operation</seealso> public virtual DeleteImageResponse DeleteImage(DeleteImageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteImageRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteImageResponseUnmarshaller.Instance; return Invoke<DeleteImageResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteImage operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteImage operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteImage /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImage">REST API Reference for DeleteImage Operation</seealso> public virtual IAsyncResult BeginDeleteImage(DeleteImageRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteImageRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteImageResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteImage operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteImage.</param> /// /// <returns>Returns a DeleteImageResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImage">REST API Reference for DeleteImage Operation</seealso> public virtual DeleteImageResponse EndDeleteImage(IAsyncResult asyncResult) { return EndInvoke<DeleteImageResponse>(asyncResult); } #endregion #region DeleteImageBuilder /// <summary> /// Deletes the specified image builder and releases the capacity. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteImageBuilder service method.</param> /// /// <returns>The response from the DeleteImageBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImageBuilder">REST API Reference for DeleteImageBuilder Operation</seealso> public virtual DeleteImageBuilderResponse DeleteImageBuilder(DeleteImageBuilderRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteImageBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteImageBuilderResponseUnmarshaller.Instance; return Invoke<DeleteImageBuilderResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteImageBuilder operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteImageBuilder operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteImageBuilder /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImageBuilder">REST API Reference for DeleteImageBuilder Operation</seealso> public virtual IAsyncResult BeginDeleteImageBuilder(DeleteImageBuilderRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteImageBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteImageBuilderResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteImageBuilder operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteImageBuilder.</param> /// /// <returns>Returns a DeleteImageBuilderResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImageBuilder">REST API Reference for DeleteImageBuilder Operation</seealso> public virtual DeleteImageBuilderResponse EndDeleteImageBuilder(IAsyncResult asyncResult) { return EndInvoke<DeleteImageBuilderResponse>(asyncResult); } #endregion #region DeleteImagePermissions /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteImagePermissions service method.</param> /// /// <returns>The response from the DeleteImagePermissions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImagePermissions">REST API Reference for DeleteImagePermissions Operation</seealso> public virtual DeleteImagePermissionsResponse DeleteImagePermissions(DeleteImagePermissionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteImagePermissionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteImagePermissionsResponseUnmarshaller.Instance; return Invoke<DeleteImagePermissionsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteImagePermissions operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteImagePermissions operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteImagePermissions /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImagePermissions">REST API Reference for DeleteImagePermissions Operation</seealso> public virtual IAsyncResult BeginDeleteImagePermissions(DeleteImagePermissionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteImagePermissionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteImagePermissionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteImagePermissions operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteImagePermissions.</param> /// /// <returns>Returns a DeleteImagePermissionsResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImagePermissions">REST API Reference for DeleteImagePermissions Operation</seealso> public virtual DeleteImagePermissionsResponse EndDeleteImagePermissions(IAsyncResult asyncResult) { return EndInvoke<DeleteImagePermissionsResponse>(asyncResult); } #endregion #region DeleteStack /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteStack service method.</param> /// /// <returns>The response from the DeleteStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteStack">REST API Reference for DeleteStack Operation</seealso> public virtual DeleteStackResponse DeleteStack(DeleteStackRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteStackRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteStackResponseUnmarshaller.Instance; return Invoke<DeleteStackResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteStack operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteStack operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteStack /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteStack">REST API Reference for DeleteStack Operation</seealso> public virtual IAsyncResult BeginDeleteStack(DeleteStackRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteStackRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteStackResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteStack operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteStack.</param> /// /// <returns>Returns a DeleteStackResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteStack">REST API Reference for DeleteStack Operation</seealso> public virtual DeleteStackResponse EndDeleteStack(IAsyncResult asyncResult) { return EndInvoke<DeleteStackResponse>(asyncResult); } #endregion #region DeleteUsageReportSubscription /// <summary> /// Disables usage report generation. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteUsageReportSubscription service method.</param> /// /// <returns>The response from the DeleteUsageReportSubscription service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteUsageReportSubscription">REST API Reference for DeleteUsageReportSubscription Operation</seealso> public virtual DeleteUsageReportSubscriptionResponse DeleteUsageReportSubscription(DeleteUsageReportSubscriptionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteUsageReportSubscriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteUsageReportSubscriptionResponseUnmarshaller.Instance; return Invoke<DeleteUsageReportSubscriptionResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteUsageReportSubscription operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteUsageReportSubscription operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteUsageReportSubscription /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteUsageReportSubscription">REST API Reference for DeleteUsageReportSubscription Operation</seealso> public virtual IAsyncResult BeginDeleteUsageReportSubscription(DeleteUsageReportSubscriptionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteUsageReportSubscriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteUsageReportSubscriptionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteUsageReportSubscription operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteUsageReportSubscription.</param> /// /// <returns>Returns a DeleteUsageReportSubscriptionResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteUsageReportSubscription">REST API Reference for DeleteUsageReportSubscription Operation</seealso> public virtual DeleteUsageReportSubscriptionResponse EndDeleteUsageReportSubscription(IAsyncResult asyncResult) { return EndInvoke<DeleteUsageReportSubscriptionResponse>(asyncResult); } #endregion #region DeleteUser /// <summary> /// Deletes a user from the user pool. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteUser service method.</param> /// /// <returns>The response from the DeleteUser service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteUser">REST API Reference for DeleteUser Operation</seealso> public virtual DeleteUserResponse DeleteUser(DeleteUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteUserResponseUnmarshaller.Instance; return Invoke<DeleteUserResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteUser operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteUser operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteUser /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteUser">REST API Reference for DeleteUser Operation</seealso> public virtual IAsyncResult BeginDeleteUser(DeleteUserRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteUserResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteUser operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteUser.</param> /// /// <returns>Returns a DeleteUserResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteUser">REST API Reference for DeleteUser Operation</seealso> public virtual DeleteUserResponse EndDeleteUser(IAsyncResult asyncResult) { return EndInvoke<DeleteUserResponse>(asyncResult); } #endregion #region DescribeAppBlockBuilderAppBlockAssociations /// <summary> /// Retrieves a list that describes one or more app block builder associations. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppBlockBuilderAppBlockAssociations service method.</param> /// /// <returns>The response from the DescribeAppBlockBuilderAppBlockAssociations service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlockBuilderAppBlockAssociations">REST API Reference for DescribeAppBlockBuilderAppBlockAssociations Operation</seealso> public virtual DescribeAppBlockBuilderAppBlockAssociationsResponse DescribeAppBlockBuilderAppBlockAssociations(DescribeAppBlockBuilderAppBlockAssociationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppBlockBuilderAppBlockAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppBlockBuilderAppBlockAssociationsResponseUnmarshaller.Instance; return Invoke<DescribeAppBlockBuilderAppBlockAssociationsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeAppBlockBuilderAppBlockAssociations operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeAppBlockBuilderAppBlockAssociations operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeAppBlockBuilderAppBlockAssociations /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlockBuilderAppBlockAssociations">REST API Reference for DescribeAppBlockBuilderAppBlockAssociations Operation</seealso> public virtual IAsyncResult BeginDescribeAppBlockBuilderAppBlockAssociations(DescribeAppBlockBuilderAppBlockAssociationsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppBlockBuilderAppBlockAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppBlockBuilderAppBlockAssociationsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeAppBlockBuilderAppBlockAssociations operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeAppBlockBuilderAppBlockAssociations.</param> /// /// <returns>Returns a DescribeAppBlockBuilderAppBlockAssociationsResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlockBuilderAppBlockAssociations">REST API Reference for DescribeAppBlockBuilderAppBlockAssociations Operation</seealso> public virtual DescribeAppBlockBuilderAppBlockAssociationsResponse EndDescribeAppBlockBuilderAppBlockAssociations(IAsyncResult asyncResult) { return EndInvoke<DescribeAppBlockBuilderAppBlockAssociationsResponse>(asyncResult); } #endregion #region DescribeAppBlockBuilders /// <summary> /// Retrieves a list that describes one or more app block builders. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppBlockBuilders service method.</param> /// /// <returns>The response from the DescribeAppBlockBuilders service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlockBuilders">REST API Reference for DescribeAppBlockBuilders Operation</seealso> public virtual DescribeAppBlockBuildersResponse DescribeAppBlockBuilders(DescribeAppBlockBuildersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppBlockBuildersRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppBlockBuildersResponseUnmarshaller.Instance; return Invoke<DescribeAppBlockBuildersResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeAppBlockBuilders operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeAppBlockBuilders operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeAppBlockBuilders /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlockBuilders">REST API Reference for DescribeAppBlockBuilders Operation</seealso> public virtual IAsyncResult BeginDescribeAppBlockBuilders(DescribeAppBlockBuildersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppBlockBuildersRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppBlockBuildersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeAppBlockBuilders operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeAppBlockBuilders.</param> /// /// <returns>Returns a DescribeAppBlockBuildersResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlockBuilders">REST API Reference for DescribeAppBlockBuilders Operation</seealso> public virtual DescribeAppBlockBuildersResponse EndDescribeAppBlockBuilders(IAsyncResult asyncResult) { return EndInvoke<DescribeAppBlockBuildersResponse>(asyncResult); } #endregion #region DescribeAppBlocks /// <summary> /// Retrieves a list that describes one or more app blocks. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppBlocks service method.</param> /// /// <returns>The response from the DescribeAppBlocks service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlocks">REST API Reference for DescribeAppBlocks Operation</seealso> public virtual DescribeAppBlocksResponse DescribeAppBlocks(DescribeAppBlocksRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppBlocksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppBlocksResponseUnmarshaller.Instance; return Invoke<DescribeAppBlocksResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeAppBlocks operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeAppBlocks operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeAppBlocks /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlocks">REST API Reference for DescribeAppBlocks Operation</seealso> public virtual IAsyncResult BeginDescribeAppBlocks(DescribeAppBlocksRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppBlocksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppBlocksResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeAppBlocks operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeAppBlocks.</param> /// /// <returns>Returns a DescribeAppBlocksResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlocks">REST API Reference for DescribeAppBlocks Operation</seealso> public virtual DescribeAppBlocksResponse EndDescribeAppBlocks(IAsyncResult asyncResult) { return EndInvoke<DescribeAppBlocksResponse>(asyncResult); } #endregion #region DescribeApplicationFleetAssociations /// <summary> /// Retrieves a list that describes one or more application fleet associations. Either /// ApplicationArn or FleetName must be specified. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeApplicationFleetAssociations service method.</param> /// /// <returns>The response from the DescribeApplicationFleetAssociations service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeApplicationFleetAssociations">REST API Reference for DescribeApplicationFleetAssociations Operation</seealso> public virtual DescribeApplicationFleetAssociationsResponse DescribeApplicationFleetAssociations(DescribeApplicationFleetAssociationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeApplicationFleetAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeApplicationFleetAssociationsResponseUnmarshaller.Instance; return Invoke<DescribeApplicationFleetAssociationsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeApplicationFleetAssociations operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeApplicationFleetAssociations operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeApplicationFleetAssociations /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeApplicationFleetAssociations">REST API Reference for DescribeApplicationFleetAssociations Operation</seealso> public virtual IAsyncResult BeginDescribeApplicationFleetAssociations(DescribeApplicationFleetAssociationsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeApplicationFleetAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeApplicationFleetAssociationsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeApplicationFleetAssociations operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeApplicationFleetAssociations.</param> /// /// <returns>Returns a DescribeApplicationFleetAssociationsResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeApplicationFleetAssociations">REST API Reference for DescribeApplicationFleetAssociations Operation</seealso> public virtual DescribeApplicationFleetAssociationsResponse EndDescribeApplicationFleetAssociations(IAsyncResult asyncResult) { return EndInvoke<DescribeApplicationFleetAssociationsResponse>(asyncResult); } #endregion #region DescribeApplications /// <summary> /// Retrieves a list that describes one or more applications. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeApplications service method.</param> /// /// <returns>The response from the DescribeApplications service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeApplications">REST API Reference for DescribeApplications Operation</seealso> public virtual DescribeApplicationsResponse DescribeApplications(DescribeApplicationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeApplicationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeApplicationsResponseUnmarshaller.Instance; return Invoke<DescribeApplicationsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeApplications operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeApplications operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeApplications /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeApplications">REST API Reference for DescribeApplications Operation</seealso> public virtual IAsyncResult BeginDescribeApplications(DescribeApplicationsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeApplicationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeApplicationsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeApplications operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeApplications.</param> /// /// <returns>Returns a DescribeApplicationsResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeApplications">REST API Reference for DescribeApplications Operation</seealso> public virtual DescribeApplicationsResponse EndDescribeApplications(IAsyncResult asyncResult) { return EndInvoke<DescribeApplicationsResponse>(asyncResult); } #endregion #region DescribeDirectoryConfigs /// <summary> /// 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. /// /// /// <para> /// Although the response syntax in this topic includes the account password, this password /// is not returned in the actual response. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeDirectoryConfigs service method.</param> /// /// <returns>The response from the DescribeDirectoryConfigs service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeDirectoryConfigs">REST API Reference for DescribeDirectoryConfigs Operation</seealso> public virtual DescribeDirectoryConfigsResponse DescribeDirectoryConfigs(DescribeDirectoryConfigsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDirectoryConfigsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDirectoryConfigsResponseUnmarshaller.Instance; return Invoke<DescribeDirectoryConfigsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeDirectoryConfigs operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeDirectoryConfigs operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeDirectoryConfigs /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeDirectoryConfigs">REST API Reference for DescribeDirectoryConfigs Operation</seealso> public virtual IAsyncResult BeginDescribeDirectoryConfigs(DescribeDirectoryConfigsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDirectoryConfigsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDirectoryConfigsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeDirectoryConfigs operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeDirectoryConfigs.</param> /// /// <returns>Returns a DescribeDirectoryConfigsResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeDirectoryConfigs">REST API Reference for DescribeDirectoryConfigs Operation</seealso> public virtual DescribeDirectoryConfigsResponse EndDescribeDirectoryConfigs(IAsyncResult asyncResult) { return EndInvoke<DescribeDirectoryConfigsResponse>(asyncResult); } #endregion #region DescribeEntitlements /// <summary> /// Retrieves a list that describes one of more entitlements. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeEntitlements service method.</param> /// /// <returns>The response from the DescribeEntitlements service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeEntitlements">REST API Reference for DescribeEntitlements Operation</seealso> public virtual DescribeEntitlementsResponse DescribeEntitlements(DescribeEntitlementsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeEntitlementsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeEntitlementsResponseUnmarshaller.Instance; return Invoke<DescribeEntitlementsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeEntitlements operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeEntitlements operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeEntitlements /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeEntitlements">REST API Reference for DescribeEntitlements Operation</seealso> public virtual IAsyncResult BeginDescribeEntitlements(DescribeEntitlementsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeEntitlementsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeEntitlementsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeEntitlements operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeEntitlements.</param> /// /// <returns>Returns a DescribeEntitlementsResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeEntitlements">REST API Reference for DescribeEntitlements Operation</seealso> public virtual DescribeEntitlementsResponse EndDescribeEntitlements(IAsyncResult asyncResult) { return EndInvoke<DescribeEntitlementsResponse>(asyncResult); } #endregion #region DescribeFleets /// <summary> /// Retrieves a list that describes one or more specified fleets, if the fleet names are /// provided. Otherwise, all fleets in the account are described. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeFleets service method.</param> /// /// <returns>The response from the DescribeFleets service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeFleets">REST API Reference for DescribeFleets Operation</seealso> public virtual DescribeFleetsResponse DescribeFleets(DescribeFleetsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFleetsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFleetsResponseUnmarshaller.Instance; return Invoke<DescribeFleetsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeFleets operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeFleets operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeFleets /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeFleets">REST API Reference for DescribeFleets Operation</seealso> public virtual IAsyncResult BeginDescribeFleets(DescribeFleetsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFleetsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFleetsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeFleets operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeFleets.</param> /// /// <returns>Returns a DescribeFleetsResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeFleets">REST API Reference for DescribeFleets Operation</seealso> public virtual DescribeFleetsResponse EndDescribeFleets(IAsyncResult asyncResult) { return EndInvoke<DescribeFleetsResponse>(asyncResult); } #endregion #region DescribeImageBuilders /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeImageBuilders service method.</param> /// /// <returns>The response from the DescribeImageBuilders service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImageBuilders">REST API Reference for DescribeImageBuilders Operation</seealso> public virtual DescribeImageBuildersResponse DescribeImageBuilders(DescribeImageBuildersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeImageBuildersRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeImageBuildersResponseUnmarshaller.Instance; return Invoke<DescribeImageBuildersResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeImageBuilders operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeImageBuilders operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeImageBuilders /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImageBuilders">REST API Reference for DescribeImageBuilders Operation</seealso> public virtual IAsyncResult BeginDescribeImageBuilders(DescribeImageBuildersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeImageBuildersRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeImageBuildersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeImageBuilders operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeImageBuilders.</param> /// /// <returns>Returns a DescribeImageBuildersResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImageBuilders">REST API Reference for DescribeImageBuilders Operation</seealso> public virtual DescribeImageBuildersResponse EndDescribeImageBuilders(IAsyncResult asyncResult) { return EndInvoke<DescribeImageBuildersResponse>(asyncResult); } #endregion #region DescribeImagePermissions /// <summary> /// Retrieves a list that describes the permissions for shared AWS account IDs on a private /// image that you own. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeImagePermissions service method.</param> /// /// <returns>The response from the DescribeImagePermissions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImagePermissions">REST API Reference for DescribeImagePermissions Operation</seealso> public virtual DescribeImagePermissionsResponse DescribeImagePermissions(DescribeImagePermissionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeImagePermissionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeImagePermissionsResponseUnmarshaller.Instance; return Invoke<DescribeImagePermissionsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeImagePermissions operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeImagePermissions operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeImagePermissions /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImagePermissions">REST API Reference for DescribeImagePermissions Operation</seealso> public virtual IAsyncResult BeginDescribeImagePermissions(DescribeImagePermissionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeImagePermissionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeImagePermissionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeImagePermissions operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeImagePermissions.</param> /// /// <returns>Returns a DescribeImagePermissionsResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImagePermissions">REST API Reference for DescribeImagePermissions Operation</seealso> public virtual DescribeImagePermissionsResponse EndDescribeImagePermissions(IAsyncResult asyncResult) { return EndInvoke<DescribeImagePermissionsResponse>(asyncResult); } #endregion #region DescribeImages /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeImages service method.</param> /// /// <returns>The response from the DescribeImages service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImages">REST API Reference for DescribeImages Operation</seealso> public virtual DescribeImagesResponse DescribeImages(DescribeImagesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeImagesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeImagesResponseUnmarshaller.Instance; return Invoke<DescribeImagesResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeImages operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeImages operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeImages /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImages">REST API Reference for DescribeImages Operation</seealso> public virtual IAsyncResult BeginDescribeImages(DescribeImagesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeImagesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeImagesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeImages operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeImages.</param> /// /// <returns>Returns a DescribeImagesResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImages">REST API Reference for DescribeImages Operation</seealso> public virtual DescribeImagesResponse EndDescribeImages(IAsyncResult asyncResult) { return EndInvoke<DescribeImagesResponse>(asyncResult); } #endregion #region DescribeSessions /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeSessions service method.</param> /// /// <returns>The response from the DescribeSessions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeSessions">REST API Reference for DescribeSessions Operation</seealso> public virtual DescribeSessionsResponse DescribeSessions(DescribeSessionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSessionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSessionsResponseUnmarshaller.Instance; return Invoke<DescribeSessionsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeSessions operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeSessions operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeSessions /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeSessions">REST API Reference for DescribeSessions Operation</seealso> public virtual IAsyncResult BeginDescribeSessions(DescribeSessionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSessionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSessionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeSessions operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeSessions.</param> /// /// <returns>Returns a DescribeSessionsResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeSessions">REST API Reference for DescribeSessions Operation</seealso> public virtual DescribeSessionsResponse EndDescribeSessions(IAsyncResult asyncResult) { return EndInvoke<DescribeSessionsResponse>(asyncResult); } #endregion #region DescribeStacks /// <summary> /// Retrieves a list that describes one or more specified stacks, if the stack names are /// provided. Otherwise, all stacks in the account are described. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeStacks service method.</param> /// /// <returns>The response from the DescribeStacks service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeStacks">REST API Reference for DescribeStacks Operation</seealso> public virtual DescribeStacksResponse DescribeStacks(DescribeStacksRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeStacksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeStacksResponseUnmarshaller.Instance; return Invoke<DescribeStacksResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeStacks operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeStacks operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeStacks /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeStacks">REST API Reference for DescribeStacks Operation</seealso> public virtual IAsyncResult BeginDescribeStacks(DescribeStacksRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeStacksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeStacksResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeStacks operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeStacks.</param> /// /// <returns>Returns a DescribeStacksResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeStacks">REST API Reference for DescribeStacks Operation</seealso> public virtual DescribeStacksResponse EndDescribeStacks(IAsyncResult asyncResult) { return EndInvoke<DescribeStacksResponse>(asyncResult); } #endregion #region DescribeUsageReportSubscriptions /// <summary> /// Retrieves a list that describes one or more usage report subscriptions. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeUsageReportSubscriptions service method.</param> /// /// <returns>The response from the DescribeUsageReportSubscriptions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUsageReportSubscriptions">REST API Reference for DescribeUsageReportSubscriptions Operation</seealso> public virtual DescribeUsageReportSubscriptionsResponse DescribeUsageReportSubscriptions(DescribeUsageReportSubscriptionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeUsageReportSubscriptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeUsageReportSubscriptionsResponseUnmarshaller.Instance; return Invoke<DescribeUsageReportSubscriptionsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeUsageReportSubscriptions operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeUsageReportSubscriptions operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeUsageReportSubscriptions /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUsageReportSubscriptions">REST API Reference for DescribeUsageReportSubscriptions Operation</seealso> public virtual IAsyncResult BeginDescribeUsageReportSubscriptions(DescribeUsageReportSubscriptionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeUsageReportSubscriptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeUsageReportSubscriptionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeUsageReportSubscriptions operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeUsageReportSubscriptions.</param> /// /// <returns>Returns a DescribeUsageReportSubscriptionsResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUsageReportSubscriptions">REST API Reference for DescribeUsageReportSubscriptions Operation</seealso> public virtual DescribeUsageReportSubscriptionsResponse EndDescribeUsageReportSubscriptions(IAsyncResult asyncResult) { return EndInvoke<DescribeUsageReportSubscriptionsResponse>(asyncResult); } #endregion #region DescribeUsers /// <summary> /// Retrieves a list that describes one or more specified users in the user pool. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeUsers service method.</param> /// /// <returns>The response from the DescribeUsers service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUsers">REST API Reference for DescribeUsers Operation</seealso> public virtual DescribeUsersResponse DescribeUsers(DescribeUsersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeUsersRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeUsersResponseUnmarshaller.Instance; return Invoke<DescribeUsersResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeUsers operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeUsers operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeUsers /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUsers">REST API Reference for DescribeUsers Operation</seealso> public virtual IAsyncResult BeginDescribeUsers(DescribeUsersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeUsersRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeUsersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeUsers operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeUsers.</param> /// /// <returns>Returns a DescribeUsersResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUsers">REST API Reference for DescribeUsers Operation</seealso> public virtual DescribeUsersResponse EndDescribeUsers(IAsyncResult asyncResult) { return EndInvoke<DescribeUsersResponse>(asyncResult); } #endregion #region DescribeUserStackAssociations /// <summary> /// Retrieves a list that describes the UserStackAssociation objects. You must specify /// either or both of the following: /// /// <ul> <li> /// <para> /// The stack name /// </para> /// </li> <li> /// <para> /// The user name (email address of the user associated with the stack) and the authentication /// type for the user /// </para> /// </li> </ul> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeUserStackAssociations service method.</param> /// /// <returns>The response from the DescribeUserStackAssociations service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUserStackAssociations">REST API Reference for DescribeUserStackAssociations Operation</seealso> public virtual DescribeUserStackAssociationsResponse DescribeUserStackAssociations(DescribeUserStackAssociationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeUserStackAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeUserStackAssociationsResponseUnmarshaller.Instance; return Invoke<DescribeUserStackAssociationsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeUserStackAssociations operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeUserStackAssociations operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeUserStackAssociations /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUserStackAssociations">REST API Reference for DescribeUserStackAssociations Operation</seealso> public virtual IAsyncResult BeginDescribeUserStackAssociations(DescribeUserStackAssociationsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeUserStackAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeUserStackAssociationsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeUserStackAssociations operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeUserStackAssociations.</param> /// /// <returns>Returns a DescribeUserStackAssociationsResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUserStackAssociations">REST API Reference for DescribeUserStackAssociations Operation</seealso> public virtual DescribeUserStackAssociationsResponse EndDescribeUserStackAssociations(IAsyncResult asyncResult) { return EndInvoke<DescribeUserStackAssociationsResponse>(asyncResult); } #endregion #region DisableUser /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisableUser service method.</param> /// /// <returns>The response from the DisableUser service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisableUser">REST API Reference for DisableUser Operation</seealso> public virtual DisableUserResponse DisableUser(DisableUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisableUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableUserResponseUnmarshaller.Instance; return Invoke<DisableUserResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DisableUser operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DisableUser operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisableUser /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisableUser">REST API Reference for DisableUser Operation</seealso> public virtual IAsyncResult BeginDisableUser(DisableUserRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DisableUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableUserResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DisableUser operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDisableUser.</param> /// /// <returns>Returns a DisableUserResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisableUser">REST API Reference for DisableUser Operation</seealso> public virtual DisableUserResponse EndDisableUser(IAsyncResult asyncResult) { return EndInvoke<DisableUserResponse>(asyncResult); } #endregion #region DisassociateAppBlockBuilderAppBlock /// <summary> /// Disassociates a specified app block builder from a specified app block. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateAppBlockBuilderAppBlock service method.</param> /// /// <returns>The response from the DisassociateAppBlockBuilderAppBlock service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateAppBlockBuilderAppBlock">REST API Reference for DisassociateAppBlockBuilderAppBlock Operation</seealso> public virtual DisassociateAppBlockBuilderAppBlockResponse DisassociateAppBlockBuilderAppBlock(DisassociateAppBlockBuilderAppBlockRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateAppBlockBuilderAppBlockRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateAppBlockBuilderAppBlockResponseUnmarshaller.Instance; return Invoke<DisassociateAppBlockBuilderAppBlockResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DisassociateAppBlockBuilderAppBlock operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DisassociateAppBlockBuilderAppBlock operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisassociateAppBlockBuilderAppBlock /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateAppBlockBuilderAppBlock">REST API Reference for DisassociateAppBlockBuilderAppBlock Operation</seealso> public virtual IAsyncResult BeginDisassociateAppBlockBuilderAppBlock(DisassociateAppBlockBuilderAppBlockRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateAppBlockBuilderAppBlockRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateAppBlockBuilderAppBlockResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DisassociateAppBlockBuilderAppBlock operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDisassociateAppBlockBuilderAppBlock.</param> /// /// <returns>Returns a DisassociateAppBlockBuilderAppBlockResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateAppBlockBuilderAppBlock">REST API Reference for DisassociateAppBlockBuilderAppBlock Operation</seealso> public virtual DisassociateAppBlockBuilderAppBlockResponse EndDisassociateAppBlockBuilderAppBlock(IAsyncResult asyncResult) { return EndInvoke<DisassociateAppBlockBuilderAppBlockResponse>(asyncResult); } #endregion #region DisassociateApplicationFleet /// <summary> /// Disassociates the specified application from the fleet. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateApplicationFleet service method.</param> /// /// <returns>The response from the DisassociateApplicationFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateApplicationFleet">REST API Reference for DisassociateApplicationFleet Operation</seealso> public virtual DisassociateApplicationFleetResponse DisassociateApplicationFleet(DisassociateApplicationFleetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateApplicationFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateApplicationFleetResponseUnmarshaller.Instance; return Invoke<DisassociateApplicationFleetResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DisassociateApplicationFleet operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DisassociateApplicationFleet operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisassociateApplicationFleet /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateApplicationFleet">REST API Reference for DisassociateApplicationFleet Operation</seealso> public virtual IAsyncResult BeginDisassociateApplicationFleet(DisassociateApplicationFleetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateApplicationFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateApplicationFleetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DisassociateApplicationFleet operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDisassociateApplicationFleet.</param> /// /// <returns>Returns a DisassociateApplicationFleetResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateApplicationFleet">REST API Reference for DisassociateApplicationFleet Operation</seealso> public virtual DisassociateApplicationFleetResponse EndDisassociateApplicationFleet(IAsyncResult asyncResult) { return EndInvoke<DisassociateApplicationFleetResponse>(asyncResult); } #endregion #region DisassociateApplicationFromEntitlement /// <summary> /// Deletes the specified application from the specified entitlement. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateApplicationFromEntitlement service method.</param> /// /// <returns>The response from the DisassociateApplicationFromEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateApplicationFromEntitlement">REST API Reference for DisassociateApplicationFromEntitlement Operation</seealso> public virtual DisassociateApplicationFromEntitlementResponse DisassociateApplicationFromEntitlement(DisassociateApplicationFromEntitlementRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateApplicationFromEntitlementRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateApplicationFromEntitlementResponseUnmarshaller.Instance; return Invoke<DisassociateApplicationFromEntitlementResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DisassociateApplicationFromEntitlement operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DisassociateApplicationFromEntitlement operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisassociateApplicationFromEntitlement /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateApplicationFromEntitlement">REST API Reference for DisassociateApplicationFromEntitlement Operation</seealso> public virtual IAsyncResult BeginDisassociateApplicationFromEntitlement(DisassociateApplicationFromEntitlementRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateApplicationFromEntitlementRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateApplicationFromEntitlementResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DisassociateApplicationFromEntitlement operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDisassociateApplicationFromEntitlement.</param> /// /// <returns>Returns a DisassociateApplicationFromEntitlementResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateApplicationFromEntitlement">REST API Reference for DisassociateApplicationFromEntitlement Operation</seealso> public virtual DisassociateApplicationFromEntitlementResponse EndDisassociateApplicationFromEntitlement(IAsyncResult asyncResult) { return EndInvoke<DisassociateApplicationFromEntitlementResponse>(asyncResult); } #endregion #region DisassociateFleet /// <summary> /// Disassociates the specified fleet from the specified stack. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateFleet service method.</param> /// /// <returns>The response from the DisassociateFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateFleet">REST API Reference for DisassociateFleet Operation</seealso> public virtual DisassociateFleetResponse DisassociateFleet(DisassociateFleetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateFleetResponseUnmarshaller.Instance; return Invoke<DisassociateFleetResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DisassociateFleet operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DisassociateFleet operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisassociateFleet /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateFleet">REST API Reference for DisassociateFleet Operation</seealso> public virtual IAsyncResult BeginDisassociateFleet(DisassociateFleetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateFleetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DisassociateFleet operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDisassociateFleet.</param> /// /// <returns>Returns a DisassociateFleetResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateFleet">REST API Reference for DisassociateFleet Operation</seealso> public virtual DisassociateFleetResponse EndDisassociateFleet(IAsyncResult asyncResult) { return EndInvoke<DisassociateFleetResponse>(asyncResult); } #endregion #region EnableUser /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the EnableUser service method.</param> /// /// <returns>The response from the EnableUser service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/EnableUser">REST API Reference for EnableUser Operation</seealso> public virtual EnableUserResponse EnableUser(EnableUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = EnableUserRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableUserResponseUnmarshaller.Instance; return Invoke<EnableUserResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the EnableUser operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the EnableUser operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndEnableUser /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/EnableUser">REST API Reference for EnableUser Operation</seealso> public virtual IAsyncResult BeginEnableUser(EnableUserRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = EnableUserRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableUserResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the EnableUser operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginEnableUser.</param> /// /// <returns>Returns a EnableUserResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/EnableUser">REST API Reference for EnableUser Operation</seealso> public virtual EnableUserResponse EndEnableUser(IAsyncResult asyncResult) { return EndInvoke<EnableUserResponse>(asyncResult); } #endregion #region ExpireSession /// <summary> /// Immediately stops the specified streaming session. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ExpireSession service method.</param> /// /// <returns>The response from the ExpireSession service method, as returned by AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ExpireSession">REST API Reference for ExpireSession Operation</seealso> public virtual ExpireSessionResponse ExpireSession(ExpireSessionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ExpireSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = ExpireSessionResponseUnmarshaller.Instance; return Invoke<ExpireSessionResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ExpireSession operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ExpireSession operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndExpireSession /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ExpireSession">REST API Reference for ExpireSession Operation</seealso> public virtual IAsyncResult BeginExpireSession(ExpireSessionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ExpireSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = ExpireSessionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ExpireSession operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginExpireSession.</param> /// /// <returns>Returns a ExpireSessionResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ExpireSession">REST API Reference for ExpireSession Operation</seealso> public virtual ExpireSessionResponse EndExpireSession(IAsyncResult asyncResult) { return EndInvoke<ExpireSessionResponse>(asyncResult); } #endregion #region ListAssociatedFleets /// <summary> /// Retrieves the name of the fleet that is associated with the specified stack. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAssociatedFleets service method.</param> /// /// <returns>The response from the ListAssociatedFleets service method, as returned by AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListAssociatedFleets">REST API Reference for ListAssociatedFleets Operation</seealso> public virtual ListAssociatedFleetsResponse ListAssociatedFleets(ListAssociatedFleetsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssociatedFleetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssociatedFleetsResponseUnmarshaller.Instance; return Invoke<ListAssociatedFleetsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListAssociatedFleets operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListAssociatedFleets operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListAssociatedFleets /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListAssociatedFleets">REST API Reference for ListAssociatedFleets Operation</seealso> public virtual IAsyncResult BeginListAssociatedFleets(ListAssociatedFleetsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssociatedFleetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssociatedFleetsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListAssociatedFleets operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAssociatedFleets.</param> /// /// <returns>Returns a ListAssociatedFleetsResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListAssociatedFleets">REST API Reference for ListAssociatedFleets Operation</seealso> public virtual ListAssociatedFleetsResponse EndListAssociatedFleets(IAsyncResult asyncResult) { return EndInvoke<ListAssociatedFleetsResponse>(asyncResult); } #endregion #region ListAssociatedStacks /// <summary> /// Retrieves the name of the stack with which the specified fleet is associated. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAssociatedStacks service method.</param> /// /// <returns>The response from the ListAssociatedStacks service method, as returned by AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListAssociatedStacks">REST API Reference for ListAssociatedStacks Operation</seealso> public virtual ListAssociatedStacksResponse ListAssociatedStacks(ListAssociatedStacksRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssociatedStacksRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssociatedStacksResponseUnmarshaller.Instance; return Invoke<ListAssociatedStacksResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListAssociatedStacks operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListAssociatedStacks operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListAssociatedStacks /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListAssociatedStacks">REST API Reference for ListAssociatedStacks Operation</seealso> public virtual IAsyncResult BeginListAssociatedStacks(ListAssociatedStacksRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssociatedStacksRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssociatedStacksResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListAssociatedStacks operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAssociatedStacks.</param> /// /// <returns>Returns a ListAssociatedStacksResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListAssociatedStacks">REST API Reference for ListAssociatedStacks Operation</seealso> public virtual ListAssociatedStacksResponse EndListAssociatedStacks(IAsyncResult asyncResult) { return EndInvoke<ListAssociatedStacksResponse>(asyncResult); } #endregion #region ListEntitledApplications /// <summary> /// Retrieves a list of entitled applications. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListEntitledApplications service method.</param> /// /// <returns>The response from the ListEntitledApplications service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListEntitledApplications">REST API Reference for ListEntitledApplications Operation</seealso> public virtual ListEntitledApplicationsResponse ListEntitledApplications(ListEntitledApplicationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListEntitledApplicationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListEntitledApplicationsResponseUnmarshaller.Instance; return Invoke<ListEntitledApplicationsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListEntitledApplications operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListEntitledApplications operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListEntitledApplications /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListEntitledApplications">REST API Reference for ListEntitledApplications Operation</seealso> public virtual IAsyncResult BeginListEntitledApplications(ListEntitledApplicationsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListEntitledApplicationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListEntitledApplicationsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListEntitledApplications operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListEntitledApplications.</param> /// /// <returns>Returns a ListEntitledApplicationsResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListEntitledApplications">REST API Reference for ListEntitledApplications Operation</seealso> public virtual ListEntitledApplicationsResponse EndListEntitledApplications(IAsyncResult asyncResult) { return EndInvoke<ListEntitledApplicationsResponse>(asyncResult); } #endregion #region ListTagsForResource /// <summary> /// 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. /// /// /// <para> /// For more information about tags, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging /// Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param> /// /// <returns>The response from the ListTagsForResource service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke<ListTagsForResourceResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListTagsForResource operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListTagsForResource operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListTagsForResource.</param> /// /// <returns>Returns a ListTagsForResourceResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult) { return EndInvoke<ListTagsForResourceResponse>(asyncResult); } #endregion #region StartAppBlockBuilder /// <summary> /// Starts an app block builder. /// /// /// <para> /// An app block builder can only be started when it's associated with an app block. /// </para> /// /// <para> /// Starting an app block builder starts a new instance, which is equivalent to an elastic /// fleet instance with application builder assistance functionality. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartAppBlockBuilder service method.</param> /// /// <returns>The response from the StartAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartAppBlockBuilder">REST API Reference for StartAppBlockBuilder Operation</seealso> public virtual StartAppBlockBuilderResponse StartAppBlockBuilder(StartAppBlockBuilderRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartAppBlockBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = StartAppBlockBuilderResponseUnmarshaller.Instance; return Invoke<StartAppBlockBuilderResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the StartAppBlockBuilder operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the StartAppBlockBuilder operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartAppBlockBuilder /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartAppBlockBuilder">REST API Reference for StartAppBlockBuilder Operation</seealso> public virtual IAsyncResult BeginStartAppBlockBuilder(StartAppBlockBuilderRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartAppBlockBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = StartAppBlockBuilderResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the StartAppBlockBuilder operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginStartAppBlockBuilder.</param> /// /// <returns>Returns a StartAppBlockBuilderResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartAppBlockBuilder">REST API Reference for StartAppBlockBuilder Operation</seealso> public virtual StartAppBlockBuilderResponse EndStartAppBlockBuilder(IAsyncResult asyncResult) { return EndInvoke<StartAppBlockBuilderResponse>(asyncResult); } #endregion #region StartFleet /// <summary> /// Starts the specified fleet. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartFleet service method.</param> /// /// <returns>The response from the StartFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartFleet">REST API Reference for StartFleet Operation</seealso> public virtual StartFleetResponse StartFleet(StartFleetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = StartFleetResponseUnmarshaller.Instance; return Invoke<StartFleetResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the StartFleet operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the StartFleet operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartFleet /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartFleet">REST API Reference for StartFleet Operation</seealso> public virtual IAsyncResult BeginStartFleet(StartFleetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = StartFleetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the StartFleet operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginStartFleet.</param> /// /// <returns>Returns a StartFleetResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartFleet">REST API Reference for StartFleet Operation</seealso> public virtual StartFleetResponse EndStartFleet(IAsyncResult asyncResult) { return EndInvoke<StartFleetResponse>(asyncResult); } #endregion #region StartImageBuilder /// <summary> /// Starts the specified image builder. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartImageBuilder service method.</param> /// /// <returns>The response from the StartImageBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartImageBuilder">REST API Reference for StartImageBuilder Operation</seealso> public virtual StartImageBuilderResponse StartImageBuilder(StartImageBuilderRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartImageBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = StartImageBuilderResponseUnmarshaller.Instance; return Invoke<StartImageBuilderResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the StartImageBuilder operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the StartImageBuilder operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartImageBuilder /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartImageBuilder">REST API Reference for StartImageBuilder Operation</seealso> public virtual IAsyncResult BeginStartImageBuilder(StartImageBuilderRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartImageBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = StartImageBuilderResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the StartImageBuilder operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginStartImageBuilder.</param> /// /// <returns>Returns a StartImageBuilderResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartImageBuilder">REST API Reference for StartImageBuilder Operation</seealso> public virtual StartImageBuilderResponse EndStartImageBuilder(IAsyncResult asyncResult) { return EndInvoke<StartImageBuilderResponse>(asyncResult); } #endregion #region StopAppBlockBuilder /// <summary> /// Stops an app block builder. /// /// /// <para> /// Stopping an app block builder terminates the instance, and the instance state is not /// persisted. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the StopAppBlockBuilder service method.</param> /// /// <returns>The response from the StopAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopAppBlockBuilder">REST API Reference for StopAppBlockBuilder Operation</seealso> public virtual StopAppBlockBuilderResponse StopAppBlockBuilder(StopAppBlockBuilderRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StopAppBlockBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = StopAppBlockBuilderResponseUnmarshaller.Instance; return Invoke<StopAppBlockBuilderResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the StopAppBlockBuilder operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the StopAppBlockBuilder operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStopAppBlockBuilder /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopAppBlockBuilder">REST API Reference for StopAppBlockBuilder Operation</seealso> public virtual IAsyncResult BeginStopAppBlockBuilder(StopAppBlockBuilderRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StopAppBlockBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = StopAppBlockBuilderResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the StopAppBlockBuilder operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginStopAppBlockBuilder.</param> /// /// <returns>Returns a StopAppBlockBuilderResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopAppBlockBuilder">REST API Reference for StopAppBlockBuilder Operation</seealso> public virtual StopAppBlockBuilderResponse EndStopAppBlockBuilder(IAsyncResult asyncResult) { return EndInvoke<StopAppBlockBuilderResponse>(asyncResult); } #endregion #region StopFleet /// <summary> /// Stops the specified fleet. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StopFleet service method.</param> /// /// <returns>The response from the StopFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopFleet">REST API Reference for StopFleet Operation</seealso> public virtual StopFleetResponse StopFleet(StopFleetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StopFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = StopFleetResponseUnmarshaller.Instance; return Invoke<StopFleetResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the StopFleet operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the StopFleet operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStopFleet /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopFleet">REST API Reference for StopFleet Operation</seealso> public virtual IAsyncResult BeginStopFleet(StopFleetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StopFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = StopFleetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the StopFleet operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginStopFleet.</param> /// /// <returns>Returns a StopFleetResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopFleet">REST API Reference for StopFleet Operation</seealso> public virtual StopFleetResponse EndStopFleet(IAsyncResult asyncResult) { return EndInvoke<StopFleetResponse>(asyncResult); } #endregion #region StopImageBuilder /// <summary> /// Stops the specified image builder. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StopImageBuilder service method.</param> /// /// <returns>The response from the StopImageBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopImageBuilder">REST API Reference for StopImageBuilder Operation</seealso> public virtual StopImageBuilderResponse StopImageBuilder(StopImageBuilderRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StopImageBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = StopImageBuilderResponseUnmarshaller.Instance; return Invoke<StopImageBuilderResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the StopImageBuilder operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the StopImageBuilder operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStopImageBuilder /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopImageBuilder">REST API Reference for StopImageBuilder Operation</seealso> public virtual IAsyncResult BeginStopImageBuilder(StopImageBuilderRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StopImageBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = StopImageBuilderResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the StopImageBuilder operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginStopImageBuilder.</param> /// /// <returns>Returns a StopImageBuilderResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopImageBuilder">REST API Reference for StopImageBuilder Operation</seealso> public virtual StopImageBuilderResponse EndStopImageBuilder(IAsyncResult asyncResult) { return EndInvoke<StopImageBuilderResponse>(asyncResult); } #endregion #region TagResource /// <summary> /// 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. /// /// /// <para> /// 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. /// </para> /// /// <para> /// To list the current tags for your resources, use <a>ListTagsForResource</a>. To disassociate /// tags from your resources, use <a>UntagResource</a>. /// </para> /// /// <para> /// For more information about tags, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging /// Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param> /// /// <returns>The response from the TagResource service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/TagResource">REST API Reference for TagResource Operation</seealso> public virtual TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke<TagResourceResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the TagResource operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the TagResource operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/TagResource">REST API Reference for TagResource Operation</seealso> public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the TagResource operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginTagResource.</param> /// /// <returns>Returns a TagResourceResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/TagResource">REST API Reference for TagResource Operation</seealso> public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult) { return EndInvoke<TagResourceResponse>(asyncResult); } #endregion #region UntagResource /// <summary> /// Disassociates one or more specified tags from the specified AppStream 2.0 resource. /// /// /// <para> /// To list the current tags for your resources, use <a>ListTagsForResource</a>. /// </para> /// /// <para> /// For more information about tags, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging /// Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param> /// /// <returns>The response from the UntagResource service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UntagResource">REST API Reference for UntagResource Operation</seealso> public virtual UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke<UntagResourceResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UntagResource operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UntagResource operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UntagResource">REST API Reference for UntagResource Operation</seealso> public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UntagResource operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUntagResource.</param> /// /// <returns>Returns a UntagResourceResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UntagResource">REST API Reference for UntagResource Operation</seealso> public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult) { return EndInvoke<UntagResourceResponse>(asyncResult); } #endregion #region UpdateAppBlockBuilder /// <summary> /// Updates an app block builder. /// /// /// <para> /// If the app block builder is in the <code>STARTING</code> or <code>STOPPING</code> /// state, you can't update it. If the app block builder is in the <code>RUNNING</code> /// state, you can only update the DisplayName and Description. If the app block builder /// is in the <code>STOPPED</code> state, you can update any attribute except the Name. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppBlockBuilder service method.</param> /// /// <returns>The response from the UpdateAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateAppBlockBuilder">REST API Reference for UpdateAppBlockBuilder Operation</seealso> public virtual UpdateAppBlockBuilderResponse UpdateAppBlockBuilder(UpdateAppBlockBuilderRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppBlockBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppBlockBuilderResponseUnmarshaller.Instance; return Invoke<UpdateAppBlockBuilderResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateAppBlockBuilder operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateAppBlockBuilder operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateAppBlockBuilder /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateAppBlockBuilder">REST API Reference for UpdateAppBlockBuilder Operation</seealso> public virtual IAsyncResult BeginUpdateAppBlockBuilder(UpdateAppBlockBuilderRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppBlockBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppBlockBuilderResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateAppBlockBuilder operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateAppBlockBuilder.</param> /// /// <returns>Returns a UpdateAppBlockBuilderResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateAppBlockBuilder">REST API Reference for UpdateAppBlockBuilder Operation</seealso> public virtual UpdateAppBlockBuilderResponse EndUpdateAppBlockBuilder(IAsyncResult asyncResult) { return EndInvoke<UpdateAppBlockBuilderResponse>(asyncResult); } #endregion #region UpdateApplication /// <summary> /// Updates the specified application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateApplication service method.</param> /// /// <returns>The response from the UpdateApplication service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateApplication">REST API Reference for UpdateApplication Operation</seealso> public virtual UpdateApplicationResponse UpdateApplication(UpdateApplicationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateApplicationResponseUnmarshaller.Instance; return Invoke<UpdateApplicationResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateApplication operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateApplication operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateApplication /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateApplication">REST API Reference for UpdateApplication Operation</seealso> public virtual IAsyncResult BeginUpdateApplication(UpdateApplicationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateApplicationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateApplication operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateApplication.</param> /// /// <returns>Returns a UpdateApplicationResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateApplication">REST API Reference for UpdateApplication Operation</seealso> public virtual UpdateApplicationResponse EndUpdateApplication(IAsyncResult asyncResult) { return EndInvoke<UpdateApplicationResponse>(asyncResult); } #endregion #region UpdateDirectoryConfig /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateDirectoryConfig service method.</param> /// /// <returns>The response from the UpdateDirectoryConfig service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateDirectoryConfig">REST API Reference for UpdateDirectoryConfig Operation</seealso> public virtual UpdateDirectoryConfigResponse UpdateDirectoryConfig(UpdateDirectoryConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDirectoryConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDirectoryConfigResponseUnmarshaller.Instance; return Invoke<UpdateDirectoryConfigResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateDirectoryConfig operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateDirectoryConfig operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateDirectoryConfig /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateDirectoryConfig">REST API Reference for UpdateDirectoryConfig Operation</seealso> public virtual IAsyncResult BeginUpdateDirectoryConfig(UpdateDirectoryConfigRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDirectoryConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDirectoryConfigResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateDirectoryConfig operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateDirectoryConfig.</param> /// /// <returns>Returns a UpdateDirectoryConfigResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateDirectoryConfig">REST API Reference for UpdateDirectoryConfig Operation</seealso> public virtual UpdateDirectoryConfigResponse EndUpdateDirectoryConfig(IAsyncResult asyncResult) { return EndInvoke<UpdateDirectoryConfigResponse>(asyncResult); } #endregion #region UpdateEntitlement /// <summary> /// Updates the specified entitlement. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateEntitlement service method.</param> /// /// <returns>The response from the UpdateEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateEntitlement">REST API Reference for UpdateEntitlement Operation</seealso> public virtual UpdateEntitlementResponse UpdateEntitlement(UpdateEntitlementRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateEntitlementRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateEntitlementResponseUnmarshaller.Instance; return Invoke<UpdateEntitlementResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateEntitlement operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateEntitlement operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateEntitlement /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateEntitlement">REST API Reference for UpdateEntitlement Operation</seealso> public virtual IAsyncResult BeginUpdateEntitlement(UpdateEntitlementRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateEntitlementRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateEntitlementResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateEntitlement operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateEntitlement.</param> /// /// <returns>Returns a UpdateEntitlementResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateEntitlement">REST API Reference for UpdateEntitlement Operation</seealso> public virtual UpdateEntitlementResponse EndUpdateEntitlement(IAsyncResult asyncResult) { return EndInvoke<UpdateEntitlementResponse>(asyncResult); } #endregion #region UpdateFleet /// <summary> /// Updates the specified fleet. /// /// /// <para> /// If the fleet is in the <code>STOPPED</code> state, you can update any attribute except /// the fleet name. /// </para> /// /// <para> /// If the fleet is in the <code>RUNNING</code> state, you can update the following based /// on the fleet type: /// </para> /// <ul> <li> /// <para> /// Always-On and On-Demand fleet types /// </para> /// /// <para> /// You can update the <code>DisplayName</code>, <code>ComputeCapacity</code>, <code>ImageARN</code>, /// <code>ImageName</code>, <code>IdleDisconnectTimeoutInSeconds</code>, and <code>DisconnectTimeoutInSeconds</code> /// attributes. /// </para> /// </li> <li> /// <para> /// Elastic fleet type /// </para> /// /// <para> /// You can update the <code>DisplayName</code>, <code>IdleDisconnectTimeoutInSeconds</code>, /// <code>DisconnectTimeoutInSeconds</code>, <code>MaxConcurrentSessions</code>, <code>SessionScriptS3Location</code> /// and <code>UsbDeviceFilterStrings</code> attributes. /// </para> /// </li> </ul> /// <para> /// If the fleet is in the <code>STARTING</code> or <code>STOPPED</code> state, you can't /// update it. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateFleet service method.</param> /// /// <returns>The response from the UpdateFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateFleet">REST API Reference for UpdateFleet Operation</seealso> public virtual UpdateFleetResponse UpdateFleet(UpdateFleetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateFleetResponseUnmarshaller.Instance; return Invoke<UpdateFleetResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateFleet operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateFleet operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateFleet /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateFleet">REST API Reference for UpdateFleet Operation</seealso> public virtual IAsyncResult BeginUpdateFleet(UpdateFleetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateFleetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateFleet operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateFleet.</param> /// /// <returns>Returns a UpdateFleetResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateFleet">REST API Reference for UpdateFleet Operation</seealso> public virtual UpdateFleetResponse EndUpdateFleet(IAsyncResult asyncResult) { return EndInvoke<UpdateFleetResponse>(asyncResult); } #endregion #region UpdateImagePermissions /// <summary> /// Adds or updates permissions for the specified private image. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateImagePermissions service method.</param> /// /// <returns>The response from the UpdateImagePermissions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateImagePermissions">REST API Reference for UpdateImagePermissions Operation</seealso> public virtual UpdateImagePermissionsResponse UpdateImagePermissions(UpdateImagePermissionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateImagePermissionsRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateImagePermissionsResponseUnmarshaller.Instance; return Invoke<UpdateImagePermissionsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateImagePermissions operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateImagePermissions operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateImagePermissions /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateImagePermissions">REST API Reference for UpdateImagePermissions Operation</seealso> public virtual IAsyncResult BeginUpdateImagePermissions(UpdateImagePermissionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateImagePermissionsRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateImagePermissionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateImagePermissions operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateImagePermissions.</param> /// /// <returns>Returns a UpdateImagePermissionsResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateImagePermissions">REST API Reference for UpdateImagePermissions Operation</seealso> public virtual UpdateImagePermissionsResponse EndUpdateImagePermissions(IAsyncResult asyncResult) { return EndInvoke<UpdateImagePermissionsResponse>(asyncResult); } #endregion #region UpdateStack /// <summary> /// Updates the specified fields for the specified stack. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateStack service method.</param> /// /// <returns>The response from the UpdateStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateStack">REST API Reference for UpdateStack Operation</seealso> public virtual UpdateStackResponse UpdateStack(UpdateStackRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateStackRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateStackResponseUnmarshaller.Instance; return Invoke<UpdateStackResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateStack operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateStack operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateStack /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateStack">REST API Reference for UpdateStack Operation</seealso> public virtual IAsyncResult BeginUpdateStack(UpdateStackRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateStackRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateStackResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateStack operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateStack.</param> /// /// <returns>Returns a UpdateStackResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateStack">REST API Reference for UpdateStack Operation</seealso> public virtual UpdateStackResponse EndUpdateStack(IAsyncResult asyncResult) { return EndInvoke<UpdateStackResponse>(asyncResult); } #endregion } }
5,387
aws-sdk-net
aws
C#
/* * 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.Collections.Generic; using Amazon.Runtime; using Amazon.AppStream.Model; namespace Amazon.AppStream { /// <summary> /// Interface for accessing AppStream /// /// Amazon AppStream 2.0 /// <para> /// This is the <i>Amazon AppStream 2.0 API Reference</i>. 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. /// </para> /// <note> /// <para> /// You can call the AppStream 2.0 API operations by using an interface VPC endpoint (interface /// endpoint). For more information, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/access-api-cli-through-interface-vpc-endpoint.html">Access /// AppStream 2.0 API Operations and CLI Commands Through an Interface VPC Endpoint</a> /// in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </note> /// <para> /// To learn more about AppStream 2.0, see the following resources: /// </para> /// <ul> <li> /// <para> /// <a href="http://aws.amazon.com/appstream2">Amazon AppStream 2.0 product page</a> /// /// </para> /// </li> <li> /// <para> /// <a href="http://aws.amazon.com/documentation/appstream2">Amazon AppStream 2.0 documentation</a> /// /// </para> /// </li> </ul> /// </summary> public partial interface IAmazonAppStream : IAmazonService, IDisposable { #if BCL45 || AWS_ASYNC_ENUMERABLES_API /// <summary> /// Paginators for the service /// </summary> IAppStreamPaginatorFactory Paginators { get; } #endif #region AssociateAppBlockBuilderAppBlock /// <summary> /// Associates the specified app block builder with the specified app block. /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateAppBlockBuilderAppBlock service method.</param> /// /// <returns>The response from the AssociateAppBlockBuilderAppBlock service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateAppBlockBuilderAppBlock">REST API Reference for AssociateAppBlockBuilderAppBlock Operation</seealso> AssociateAppBlockBuilderAppBlockResponse AssociateAppBlockBuilderAppBlock(AssociateAppBlockBuilderAppBlockRequest request); /// <summary> /// Initiates the asynchronous execution of the AssociateAppBlockBuilderAppBlock operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the AssociateAppBlockBuilderAppBlock operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAssociateAppBlockBuilderAppBlock /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateAppBlockBuilderAppBlock">REST API Reference for AssociateAppBlockBuilderAppBlock Operation</seealso> IAsyncResult BeginAssociateAppBlockBuilderAppBlock(AssociateAppBlockBuilderAppBlockRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the AssociateAppBlockBuilderAppBlock operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginAssociateAppBlockBuilderAppBlock.</param> /// /// <returns>Returns a AssociateAppBlockBuilderAppBlockResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateAppBlockBuilderAppBlock">REST API Reference for AssociateAppBlockBuilderAppBlock Operation</seealso> AssociateAppBlockBuilderAppBlockResponse EndAssociateAppBlockBuilderAppBlock(IAsyncResult asyncResult); #endregion #region AssociateApplicationFleet /// <summary> /// Associates the specified application with the specified fleet. This is only supported /// for Elastic fleets. /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateApplicationFleet service method.</param> /// /// <returns>The response from the AssociateApplicationFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateApplicationFleet">REST API Reference for AssociateApplicationFleet Operation</seealso> AssociateApplicationFleetResponse AssociateApplicationFleet(AssociateApplicationFleetRequest request); /// <summary> /// Initiates the asynchronous execution of the AssociateApplicationFleet operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the AssociateApplicationFleet operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAssociateApplicationFleet /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateApplicationFleet">REST API Reference for AssociateApplicationFleet Operation</seealso> IAsyncResult BeginAssociateApplicationFleet(AssociateApplicationFleetRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the AssociateApplicationFleet operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginAssociateApplicationFleet.</param> /// /// <returns>Returns a AssociateApplicationFleetResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateApplicationFleet">REST API Reference for AssociateApplicationFleet Operation</seealso> AssociateApplicationFleetResponse EndAssociateApplicationFleet(IAsyncResult asyncResult); #endregion #region AssociateApplicationToEntitlement /// <summary> /// Associates an application to entitle. /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateApplicationToEntitlement service method.</param> /// /// <returns>The response from the AssociateApplicationToEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateApplicationToEntitlement">REST API Reference for AssociateApplicationToEntitlement Operation</seealso> AssociateApplicationToEntitlementResponse AssociateApplicationToEntitlement(AssociateApplicationToEntitlementRequest request); /// <summary> /// Initiates the asynchronous execution of the AssociateApplicationToEntitlement operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the AssociateApplicationToEntitlement operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAssociateApplicationToEntitlement /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateApplicationToEntitlement">REST API Reference for AssociateApplicationToEntitlement Operation</seealso> IAsyncResult BeginAssociateApplicationToEntitlement(AssociateApplicationToEntitlementRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the AssociateApplicationToEntitlement operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginAssociateApplicationToEntitlement.</param> /// /// <returns>Returns a AssociateApplicationToEntitlementResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateApplicationToEntitlement">REST API Reference for AssociateApplicationToEntitlement Operation</seealso> AssociateApplicationToEntitlementResponse EndAssociateApplicationToEntitlement(IAsyncResult asyncResult); #endregion #region AssociateFleet /// <summary> /// Associates the specified fleet with the specified stack. /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateFleet service method.</param> /// /// <returns>The response from the AssociateFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateFleet">REST API Reference for AssociateFleet Operation</seealso> AssociateFleetResponse AssociateFleet(AssociateFleetRequest request); /// <summary> /// Initiates the asynchronous execution of the AssociateFleet operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the AssociateFleet operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAssociateFleet /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateFleet">REST API Reference for AssociateFleet Operation</seealso> IAsyncResult BeginAssociateFleet(AssociateFleetRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the AssociateFleet operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginAssociateFleet.</param> /// /// <returns>Returns a AssociateFleetResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateFleet">REST API Reference for AssociateFleet Operation</seealso> AssociateFleetResponse EndAssociateFleet(IAsyncResult asyncResult); #endregion #region BatchAssociateUserStack /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchAssociateUserStack service method.</param> /// /// <returns>The response from the BatchAssociateUserStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/BatchAssociateUserStack">REST API Reference for BatchAssociateUserStack Operation</seealso> BatchAssociateUserStackResponse BatchAssociateUserStack(BatchAssociateUserStackRequest request); /// <summary> /// Initiates the asynchronous execution of the BatchAssociateUserStack operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the BatchAssociateUserStack operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndBatchAssociateUserStack /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/BatchAssociateUserStack">REST API Reference for BatchAssociateUserStack Operation</seealso> IAsyncResult BeginBatchAssociateUserStack(BatchAssociateUserStackRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the BatchAssociateUserStack operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginBatchAssociateUserStack.</param> /// /// <returns>Returns a BatchAssociateUserStackResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/BatchAssociateUserStack">REST API Reference for BatchAssociateUserStack Operation</seealso> BatchAssociateUserStackResponse EndBatchAssociateUserStack(IAsyncResult asyncResult); #endregion #region BatchDisassociateUserStack /// <summary> /// Disassociates the specified users from the specified stacks. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchDisassociateUserStack service method.</param> /// /// <returns>The response from the BatchDisassociateUserStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/BatchDisassociateUserStack">REST API Reference for BatchDisassociateUserStack Operation</seealso> BatchDisassociateUserStackResponse BatchDisassociateUserStack(BatchDisassociateUserStackRequest request); /// <summary> /// Initiates the asynchronous execution of the BatchDisassociateUserStack operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the BatchDisassociateUserStack operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndBatchDisassociateUserStack /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/BatchDisassociateUserStack">REST API Reference for BatchDisassociateUserStack Operation</seealso> IAsyncResult BeginBatchDisassociateUserStack(BatchDisassociateUserStackRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the BatchDisassociateUserStack operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginBatchDisassociateUserStack.</param> /// /// <returns>Returns a BatchDisassociateUserStackResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/BatchDisassociateUserStack">REST API Reference for BatchDisassociateUserStack Operation</seealso> BatchDisassociateUserStackResponse EndBatchDisassociateUserStack(IAsyncResult asyncResult); #endregion #region CopyImage /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CopyImage service method.</param> /// /// <returns>The response from the CopyImage service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CopyImage">REST API Reference for CopyImage Operation</seealso> CopyImageResponse CopyImage(CopyImageRequest request); /// <summary> /// Initiates the asynchronous execution of the CopyImage operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CopyImage operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCopyImage /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CopyImage">REST API Reference for CopyImage Operation</seealso> IAsyncResult BeginCopyImage(CopyImageRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CopyImage operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCopyImage.</param> /// /// <returns>Returns a CopyImageResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CopyImage">REST API Reference for CopyImage Operation</seealso> CopyImageResponse EndCopyImage(IAsyncResult asyncResult); #endregion #region CreateAppBlock /// <summary> /// Creates an app block. /// /// /// <para> /// 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. /// </para> /// /// <para> /// This is only supported for Elastic fleets. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppBlock service method.</param> /// /// <returns>The response from the CreateAppBlock service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlock">REST API Reference for CreateAppBlock Operation</seealso> CreateAppBlockResponse CreateAppBlock(CreateAppBlockRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateAppBlock operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateAppBlock operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateAppBlock /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlock">REST API Reference for CreateAppBlock Operation</seealso> IAsyncResult BeginCreateAppBlock(CreateAppBlockRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateAppBlock operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateAppBlock.</param> /// /// <returns>Returns a CreateAppBlockResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlock">REST API Reference for CreateAppBlock Operation</seealso> CreateAppBlockResponse EndCreateAppBlock(IAsyncResult asyncResult); #endregion #region CreateAppBlockBuilder /// <summary> /// Creates an app block builder. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppBlockBuilder service method.</param> /// /// <returns>The response from the CreateAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlockBuilder">REST API Reference for CreateAppBlockBuilder Operation</seealso> CreateAppBlockBuilderResponse CreateAppBlockBuilder(CreateAppBlockBuilderRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateAppBlockBuilder operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateAppBlockBuilder operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateAppBlockBuilder /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlockBuilder">REST API Reference for CreateAppBlockBuilder Operation</seealso> IAsyncResult BeginCreateAppBlockBuilder(CreateAppBlockBuilderRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateAppBlockBuilder operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateAppBlockBuilder.</param> /// /// <returns>Returns a CreateAppBlockBuilderResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlockBuilder">REST API Reference for CreateAppBlockBuilder Operation</seealso> CreateAppBlockBuilderResponse EndCreateAppBlockBuilder(IAsyncResult asyncResult); #endregion #region CreateAppBlockBuilderStreamingURL /// <summary> /// Creates a URL to start a create app block builder streaming session. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppBlockBuilderStreamingURL service method.</param> /// /// <returns>The response from the CreateAppBlockBuilderStreamingURL service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlockBuilderStreamingURL">REST API Reference for CreateAppBlockBuilderStreamingURL Operation</seealso> CreateAppBlockBuilderStreamingURLResponse CreateAppBlockBuilderStreamingURL(CreateAppBlockBuilderStreamingURLRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateAppBlockBuilderStreamingURL operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateAppBlockBuilderStreamingURL operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateAppBlockBuilderStreamingURL /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlockBuilderStreamingURL">REST API Reference for CreateAppBlockBuilderStreamingURL Operation</seealso> IAsyncResult BeginCreateAppBlockBuilderStreamingURL(CreateAppBlockBuilderStreamingURLRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateAppBlockBuilderStreamingURL operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateAppBlockBuilderStreamingURL.</param> /// /// <returns>Returns a CreateAppBlockBuilderStreamingURLResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlockBuilderStreamingURL">REST API Reference for CreateAppBlockBuilderStreamingURL Operation</seealso> CreateAppBlockBuilderStreamingURLResponse EndCreateAppBlockBuilderStreamingURL(IAsyncResult asyncResult); #endregion #region CreateApplication /// <summary> /// Creates an application. /// /// /// <para> /// 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. /// </para> /// /// <para> /// This is only supported for Elastic fleets. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateApplication service method.</param> /// /// <returns>The response from the CreateApplication service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateApplication">REST API Reference for CreateApplication Operation</seealso> CreateApplicationResponse CreateApplication(CreateApplicationRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateApplication operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateApplication operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateApplication /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateApplication">REST API Reference for CreateApplication Operation</seealso> IAsyncResult BeginCreateApplication(CreateApplicationRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateApplication operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateApplication.</param> /// /// <returns>Returns a CreateApplicationResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateApplication">REST API Reference for CreateApplication Operation</seealso> CreateApplicationResponse EndCreateApplication(IAsyncResult asyncResult); #endregion #region CreateDirectoryConfig /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateDirectoryConfig service method.</param> /// /// <returns>The response from the CreateDirectoryConfig service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateDirectoryConfig">REST API Reference for CreateDirectoryConfig Operation</seealso> CreateDirectoryConfigResponse CreateDirectoryConfig(CreateDirectoryConfigRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateDirectoryConfig operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateDirectoryConfig operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateDirectoryConfig /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateDirectoryConfig">REST API Reference for CreateDirectoryConfig Operation</seealso> IAsyncResult BeginCreateDirectoryConfig(CreateDirectoryConfigRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateDirectoryConfig operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateDirectoryConfig.</param> /// /// <returns>Returns a CreateDirectoryConfigResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateDirectoryConfig">REST API Reference for CreateDirectoryConfig Operation</seealso> CreateDirectoryConfigResponse EndCreateDirectoryConfig(IAsyncResult asyncResult); #endregion #region CreateEntitlement /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateEntitlement service method.</param> /// /// <returns>The response from the CreateEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementAlreadyExistsException"> /// The entitlement already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateEntitlement">REST API Reference for CreateEntitlement Operation</seealso> CreateEntitlementResponse CreateEntitlement(CreateEntitlementRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateEntitlement operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateEntitlement operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateEntitlement /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateEntitlement">REST API Reference for CreateEntitlement Operation</seealso> IAsyncResult BeginCreateEntitlement(CreateEntitlementRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateEntitlement operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateEntitlement.</param> /// /// <returns>Returns a CreateEntitlementResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateEntitlement">REST API Reference for CreateEntitlement Operation</seealso> CreateEntitlementResponse EndCreateEntitlement(IAsyncResult asyncResult); #endregion #region CreateFleet /// <summary> /// Creates a fleet. A fleet consists of streaming instances that your users access for /// their applications and desktops. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateFleet service method.</param> /// /// <returns>The response from the CreateFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateFleet">REST API Reference for CreateFleet Operation</seealso> CreateFleetResponse CreateFleet(CreateFleetRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateFleet operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateFleet operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateFleet /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateFleet">REST API Reference for CreateFleet Operation</seealso> IAsyncResult BeginCreateFleet(CreateFleetRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateFleet operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateFleet.</param> /// /// <returns>Returns a CreateFleetResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateFleet">REST API Reference for CreateFleet Operation</seealso> CreateFleetResponse EndCreateFleet(IAsyncResult asyncResult); #endregion #region CreateImageBuilder /// <summary> /// Creates an image builder. An image builder is a virtual machine that is used to create /// an image. /// /// /// <para> /// The initial state of the builder is <code>PENDING</code>. When it is ready, the state /// is <code>RUNNING</code>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateImageBuilder service method.</param> /// /// <returns>The response from the CreateImageBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateImageBuilder">REST API Reference for CreateImageBuilder Operation</seealso> CreateImageBuilderResponse CreateImageBuilder(CreateImageBuilderRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateImageBuilder operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateImageBuilder operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateImageBuilder /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateImageBuilder">REST API Reference for CreateImageBuilder Operation</seealso> IAsyncResult BeginCreateImageBuilder(CreateImageBuilderRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateImageBuilder operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateImageBuilder.</param> /// /// <returns>Returns a CreateImageBuilderResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateImageBuilder">REST API Reference for CreateImageBuilder Operation</seealso> CreateImageBuilderResponse EndCreateImageBuilder(IAsyncResult asyncResult); #endregion #region CreateImageBuilderStreamingURL /// <summary> /// Creates a URL to start an image builder streaming session. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateImageBuilderStreamingURL service method.</param> /// /// <returns>The response from the CreateImageBuilderStreamingURL service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateImageBuilderStreamingURL">REST API Reference for CreateImageBuilderStreamingURL Operation</seealso> CreateImageBuilderStreamingURLResponse CreateImageBuilderStreamingURL(CreateImageBuilderStreamingURLRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateImageBuilderStreamingURL operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateImageBuilderStreamingURL operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateImageBuilderStreamingURL /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateImageBuilderStreamingURL">REST API Reference for CreateImageBuilderStreamingURL Operation</seealso> IAsyncResult BeginCreateImageBuilderStreamingURL(CreateImageBuilderStreamingURLRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateImageBuilderStreamingURL operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateImageBuilderStreamingURL.</param> /// /// <returns>Returns a CreateImageBuilderStreamingURLResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateImageBuilderStreamingURL">REST API Reference for CreateImageBuilderStreamingURL Operation</seealso> CreateImageBuilderStreamingURLResponse EndCreateImageBuilderStreamingURL(IAsyncResult asyncResult); #endregion #region CreateStack /// <summary> /// Creates a stack to start streaming applications to users. A stack consists of an associated /// fleet, user access policies, and storage configurations. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateStack service method.</param> /// /// <returns>The response from the CreateStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStack">REST API Reference for CreateStack Operation</seealso> CreateStackResponse CreateStack(CreateStackRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateStack operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateStack operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateStack /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStack">REST API Reference for CreateStack Operation</seealso> IAsyncResult BeginCreateStack(CreateStackRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateStack operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateStack.</param> /// /// <returns>Returns a CreateStackResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStack">REST API Reference for CreateStack Operation</seealso> CreateStackResponse EndCreateStack(IAsyncResult asyncResult); #endregion #region CreateStreamingURL /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateStreamingURL service method.</param> /// /// <returns>The response from the CreateStreamingURL service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStreamingURL">REST API Reference for CreateStreamingURL Operation</seealso> CreateStreamingURLResponse CreateStreamingURL(CreateStreamingURLRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateStreamingURL operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateStreamingURL operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateStreamingURL /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStreamingURL">REST API Reference for CreateStreamingURL Operation</seealso> IAsyncResult BeginCreateStreamingURL(CreateStreamingURLRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateStreamingURL operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateStreamingURL.</param> /// /// <returns>Returns a CreateStreamingURLResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStreamingURL">REST API Reference for CreateStreamingURL Operation</seealso> CreateStreamingURLResponse EndCreateStreamingURL(IAsyncResult asyncResult); #endregion #region CreateUpdatedImage /// <summary> /// Creates a new image with the latest Windows operating system updates, driver updates, /// and AppStream 2.0 agent software. /// /// /// <para> /// For more information, see the "Update an Image by Using Managed AppStream 2.0 Image /// Updates" section in <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/administer-images.html">Administer /// Your AppStream 2.0 Images</a>, in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateUpdatedImage service method.</param> /// /// <returns>The response from the CreateUpdatedImage service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUpdatedImage">REST API Reference for CreateUpdatedImage Operation</seealso> CreateUpdatedImageResponse CreateUpdatedImage(CreateUpdatedImageRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateUpdatedImage operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateUpdatedImage operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateUpdatedImage /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUpdatedImage">REST API Reference for CreateUpdatedImage Operation</seealso> IAsyncResult BeginCreateUpdatedImage(CreateUpdatedImageRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateUpdatedImage operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateUpdatedImage.</param> /// /// <returns>Returns a CreateUpdatedImageResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUpdatedImage">REST API Reference for CreateUpdatedImage Operation</seealso> CreateUpdatedImageResponse EndCreateUpdatedImage(IAsyncResult asyncResult); #endregion #region CreateUsageReportSubscription /// <summary> /// Creates a usage report subscription. Usage reports are generated daily. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateUsageReportSubscription service method.</param> /// /// <returns>The response from the CreateUsageReportSubscription service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUsageReportSubscription">REST API Reference for CreateUsageReportSubscription Operation</seealso> CreateUsageReportSubscriptionResponse CreateUsageReportSubscription(CreateUsageReportSubscriptionRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateUsageReportSubscription operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateUsageReportSubscription operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateUsageReportSubscription /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUsageReportSubscription">REST API Reference for CreateUsageReportSubscription Operation</seealso> IAsyncResult BeginCreateUsageReportSubscription(CreateUsageReportSubscriptionRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateUsageReportSubscription operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateUsageReportSubscription.</param> /// /// <returns>Returns a CreateUsageReportSubscriptionResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUsageReportSubscription">REST API Reference for CreateUsageReportSubscription Operation</seealso> CreateUsageReportSubscriptionResponse EndCreateUsageReportSubscription(IAsyncResult asyncResult); #endregion #region CreateUser /// <summary> /// Creates a new user in the user pool. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateUser service method.</param> /// /// <returns>The response from the CreateUser service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUser">REST API Reference for CreateUser Operation</seealso> CreateUserResponse CreateUser(CreateUserRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateUser operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateUser operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateUser /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUser">REST API Reference for CreateUser Operation</seealso> IAsyncResult BeginCreateUser(CreateUserRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateUser operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateUser.</param> /// /// <returns>Returns a CreateUserResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUser">REST API Reference for CreateUser Operation</seealso> CreateUserResponse EndCreateUser(IAsyncResult asyncResult); #endregion #region DeleteAppBlock /// <summary> /// Deletes an app block. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppBlock service method.</param> /// /// <returns>The response from the DeleteAppBlock service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteAppBlock">REST API Reference for DeleteAppBlock Operation</seealso> DeleteAppBlockResponse DeleteAppBlock(DeleteAppBlockRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteAppBlock operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteAppBlock operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteAppBlock /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteAppBlock">REST API Reference for DeleteAppBlock Operation</seealso> IAsyncResult BeginDeleteAppBlock(DeleteAppBlockRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteAppBlock operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteAppBlock.</param> /// /// <returns>Returns a DeleteAppBlockResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteAppBlock">REST API Reference for DeleteAppBlock Operation</seealso> DeleteAppBlockResponse EndDeleteAppBlock(IAsyncResult asyncResult); #endregion #region DeleteAppBlockBuilder /// <summary> /// Deletes an app block builder. /// /// /// <para> /// An app block builder can only be deleted when it has no association with an app block. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppBlockBuilder service method.</param> /// /// <returns>The response from the DeleteAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteAppBlockBuilder">REST API Reference for DeleteAppBlockBuilder Operation</seealso> DeleteAppBlockBuilderResponse DeleteAppBlockBuilder(DeleteAppBlockBuilderRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteAppBlockBuilder operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteAppBlockBuilder operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteAppBlockBuilder /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteAppBlockBuilder">REST API Reference for DeleteAppBlockBuilder Operation</seealso> IAsyncResult BeginDeleteAppBlockBuilder(DeleteAppBlockBuilderRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteAppBlockBuilder operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteAppBlockBuilder.</param> /// /// <returns>Returns a DeleteAppBlockBuilderResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteAppBlockBuilder">REST API Reference for DeleteAppBlockBuilder Operation</seealso> DeleteAppBlockBuilderResponse EndDeleteAppBlockBuilder(IAsyncResult asyncResult); #endregion #region DeleteApplication /// <summary> /// Deletes an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteApplication service method.</param> /// /// <returns>The response from the DeleteApplication service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteApplication">REST API Reference for DeleteApplication Operation</seealso> DeleteApplicationResponse DeleteApplication(DeleteApplicationRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteApplication operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteApplication operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteApplication /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteApplication">REST API Reference for DeleteApplication Operation</seealso> IAsyncResult BeginDeleteApplication(DeleteApplicationRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteApplication operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteApplication.</param> /// /// <returns>Returns a DeleteApplicationResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteApplication">REST API Reference for DeleteApplication Operation</seealso> DeleteApplicationResponse EndDeleteApplication(IAsyncResult asyncResult); #endregion #region DeleteDirectoryConfig /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteDirectoryConfig service method.</param> /// /// <returns>The response from the DeleteDirectoryConfig service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteDirectoryConfig">REST API Reference for DeleteDirectoryConfig Operation</seealso> DeleteDirectoryConfigResponse DeleteDirectoryConfig(DeleteDirectoryConfigRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteDirectoryConfig operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteDirectoryConfig operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteDirectoryConfig /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteDirectoryConfig">REST API Reference for DeleteDirectoryConfig Operation</seealso> IAsyncResult BeginDeleteDirectoryConfig(DeleteDirectoryConfigRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteDirectoryConfig operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteDirectoryConfig.</param> /// /// <returns>Returns a DeleteDirectoryConfigResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteDirectoryConfig">REST API Reference for DeleteDirectoryConfig Operation</seealso> DeleteDirectoryConfigResponse EndDeleteDirectoryConfig(IAsyncResult asyncResult); #endregion #region DeleteEntitlement /// <summary> /// Deletes the specified entitlement. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteEntitlement service method.</param> /// /// <returns>The response from the DeleteEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteEntitlement">REST API Reference for DeleteEntitlement Operation</seealso> DeleteEntitlementResponse DeleteEntitlement(DeleteEntitlementRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteEntitlement operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteEntitlement operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteEntitlement /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteEntitlement">REST API Reference for DeleteEntitlement Operation</seealso> IAsyncResult BeginDeleteEntitlement(DeleteEntitlementRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteEntitlement operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteEntitlement.</param> /// /// <returns>Returns a DeleteEntitlementResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteEntitlement">REST API Reference for DeleteEntitlement Operation</seealso> DeleteEntitlementResponse EndDeleteEntitlement(IAsyncResult asyncResult); #endregion #region DeleteFleet /// <summary> /// Deletes the specified fleet. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteFleet service method.</param> /// /// <returns>The response from the DeleteFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteFleet">REST API Reference for DeleteFleet Operation</seealso> DeleteFleetResponse DeleteFleet(DeleteFleetRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteFleet operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteFleet operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteFleet /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteFleet">REST API Reference for DeleteFleet Operation</seealso> IAsyncResult BeginDeleteFleet(DeleteFleetRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteFleet operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteFleet.</param> /// /// <returns>Returns a DeleteFleetResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteFleet">REST API Reference for DeleteFleet Operation</seealso> DeleteFleetResponse EndDeleteFleet(IAsyncResult asyncResult); #endregion #region DeleteImage /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteImage service method.</param> /// /// <returns>The response from the DeleteImage service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImage">REST API Reference for DeleteImage Operation</seealso> DeleteImageResponse DeleteImage(DeleteImageRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteImage operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteImage operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteImage /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImage">REST API Reference for DeleteImage Operation</seealso> IAsyncResult BeginDeleteImage(DeleteImageRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteImage operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteImage.</param> /// /// <returns>Returns a DeleteImageResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImage">REST API Reference for DeleteImage Operation</seealso> DeleteImageResponse EndDeleteImage(IAsyncResult asyncResult); #endregion #region DeleteImageBuilder /// <summary> /// Deletes the specified image builder and releases the capacity. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteImageBuilder service method.</param> /// /// <returns>The response from the DeleteImageBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImageBuilder">REST API Reference for DeleteImageBuilder Operation</seealso> DeleteImageBuilderResponse DeleteImageBuilder(DeleteImageBuilderRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteImageBuilder operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteImageBuilder operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteImageBuilder /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImageBuilder">REST API Reference for DeleteImageBuilder Operation</seealso> IAsyncResult BeginDeleteImageBuilder(DeleteImageBuilderRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteImageBuilder operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteImageBuilder.</param> /// /// <returns>Returns a DeleteImageBuilderResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImageBuilder">REST API Reference for DeleteImageBuilder Operation</seealso> DeleteImageBuilderResponse EndDeleteImageBuilder(IAsyncResult asyncResult); #endregion #region DeleteImagePermissions /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteImagePermissions service method.</param> /// /// <returns>The response from the DeleteImagePermissions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImagePermissions">REST API Reference for DeleteImagePermissions Operation</seealso> DeleteImagePermissionsResponse DeleteImagePermissions(DeleteImagePermissionsRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteImagePermissions operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteImagePermissions operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteImagePermissions /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImagePermissions">REST API Reference for DeleteImagePermissions Operation</seealso> IAsyncResult BeginDeleteImagePermissions(DeleteImagePermissionsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteImagePermissions operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteImagePermissions.</param> /// /// <returns>Returns a DeleteImagePermissionsResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImagePermissions">REST API Reference for DeleteImagePermissions Operation</seealso> DeleteImagePermissionsResponse EndDeleteImagePermissions(IAsyncResult asyncResult); #endregion #region DeleteStack /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteStack service method.</param> /// /// <returns>The response from the DeleteStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteStack">REST API Reference for DeleteStack Operation</seealso> DeleteStackResponse DeleteStack(DeleteStackRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteStack operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteStack operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteStack /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteStack">REST API Reference for DeleteStack Operation</seealso> IAsyncResult BeginDeleteStack(DeleteStackRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteStack operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteStack.</param> /// /// <returns>Returns a DeleteStackResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteStack">REST API Reference for DeleteStack Operation</seealso> DeleteStackResponse EndDeleteStack(IAsyncResult asyncResult); #endregion #region DeleteUsageReportSubscription /// <summary> /// Disables usage report generation. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteUsageReportSubscription service method.</param> /// /// <returns>The response from the DeleteUsageReportSubscription service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteUsageReportSubscription">REST API Reference for DeleteUsageReportSubscription Operation</seealso> DeleteUsageReportSubscriptionResponse DeleteUsageReportSubscription(DeleteUsageReportSubscriptionRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteUsageReportSubscription operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteUsageReportSubscription operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteUsageReportSubscription /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteUsageReportSubscription">REST API Reference for DeleteUsageReportSubscription Operation</seealso> IAsyncResult BeginDeleteUsageReportSubscription(DeleteUsageReportSubscriptionRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteUsageReportSubscription operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteUsageReportSubscription.</param> /// /// <returns>Returns a DeleteUsageReportSubscriptionResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteUsageReportSubscription">REST API Reference for DeleteUsageReportSubscription Operation</seealso> DeleteUsageReportSubscriptionResponse EndDeleteUsageReportSubscription(IAsyncResult asyncResult); #endregion #region DeleteUser /// <summary> /// Deletes a user from the user pool. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteUser service method.</param> /// /// <returns>The response from the DeleteUser service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteUser">REST API Reference for DeleteUser Operation</seealso> DeleteUserResponse DeleteUser(DeleteUserRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteUser operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteUser operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteUser /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteUser">REST API Reference for DeleteUser Operation</seealso> IAsyncResult BeginDeleteUser(DeleteUserRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteUser operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteUser.</param> /// /// <returns>Returns a DeleteUserResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteUser">REST API Reference for DeleteUser Operation</seealso> DeleteUserResponse EndDeleteUser(IAsyncResult asyncResult); #endregion #region DescribeAppBlockBuilderAppBlockAssociations /// <summary> /// Retrieves a list that describes one or more app block builder associations. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppBlockBuilderAppBlockAssociations service method.</param> /// /// <returns>The response from the DescribeAppBlockBuilderAppBlockAssociations service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlockBuilderAppBlockAssociations">REST API Reference for DescribeAppBlockBuilderAppBlockAssociations Operation</seealso> DescribeAppBlockBuilderAppBlockAssociationsResponse DescribeAppBlockBuilderAppBlockAssociations(DescribeAppBlockBuilderAppBlockAssociationsRequest request); /// <summary> /// Initiates the asynchronous execution of the DescribeAppBlockBuilderAppBlockAssociations operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeAppBlockBuilderAppBlockAssociations operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeAppBlockBuilderAppBlockAssociations /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlockBuilderAppBlockAssociations">REST API Reference for DescribeAppBlockBuilderAppBlockAssociations Operation</seealso> IAsyncResult BeginDescribeAppBlockBuilderAppBlockAssociations(DescribeAppBlockBuilderAppBlockAssociationsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DescribeAppBlockBuilderAppBlockAssociations operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeAppBlockBuilderAppBlockAssociations.</param> /// /// <returns>Returns a DescribeAppBlockBuilderAppBlockAssociationsResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlockBuilderAppBlockAssociations">REST API Reference for DescribeAppBlockBuilderAppBlockAssociations Operation</seealso> DescribeAppBlockBuilderAppBlockAssociationsResponse EndDescribeAppBlockBuilderAppBlockAssociations(IAsyncResult asyncResult); #endregion #region DescribeAppBlockBuilders /// <summary> /// Retrieves a list that describes one or more app block builders. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppBlockBuilders service method.</param> /// /// <returns>The response from the DescribeAppBlockBuilders service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlockBuilders">REST API Reference for DescribeAppBlockBuilders Operation</seealso> DescribeAppBlockBuildersResponse DescribeAppBlockBuilders(DescribeAppBlockBuildersRequest request); /// <summary> /// Initiates the asynchronous execution of the DescribeAppBlockBuilders operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeAppBlockBuilders operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeAppBlockBuilders /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlockBuilders">REST API Reference for DescribeAppBlockBuilders Operation</seealso> IAsyncResult BeginDescribeAppBlockBuilders(DescribeAppBlockBuildersRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DescribeAppBlockBuilders operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeAppBlockBuilders.</param> /// /// <returns>Returns a DescribeAppBlockBuildersResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlockBuilders">REST API Reference for DescribeAppBlockBuilders Operation</seealso> DescribeAppBlockBuildersResponse EndDescribeAppBlockBuilders(IAsyncResult asyncResult); #endregion #region DescribeAppBlocks /// <summary> /// Retrieves a list that describes one or more app blocks. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppBlocks service method.</param> /// /// <returns>The response from the DescribeAppBlocks service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlocks">REST API Reference for DescribeAppBlocks Operation</seealso> DescribeAppBlocksResponse DescribeAppBlocks(DescribeAppBlocksRequest request); /// <summary> /// Initiates the asynchronous execution of the DescribeAppBlocks operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeAppBlocks operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeAppBlocks /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlocks">REST API Reference for DescribeAppBlocks Operation</seealso> IAsyncResult BeginDescribeAppBlocks(DescribeAppBlocksRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DescribeAppBlocks operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeAppBlocks.</param> /// /// <returns>Returns a DescribeAppBlocksResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlocks">REST API Reference for DescribeAppBlocks Operation</seealso> DescribeAppBlocksResponse EndDescribeAppBlocks(IAsyncResult asyncResult); #endregion #region DescribeApplicationFleetAssociations /// <summary> /// Retrieves a list that describes one or more application fleet associations. Either /// ApplicationArn or FleetName must be specified. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeApplicationFleetAssociations service method.</param> /// /// <returns>The response from the DescribeApplicationFleetAssociations service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeApplicationFleetAssociations">REST API Reference for DescribeApplicationFleetAssociations Operation</seealso> DescribeApplicationFleetAssociationsResponse DescribeApplicationFleetAssociations(DescribeApplicationFleetAssociationsRequest request); /// <summary> /// Initiates the asynchronous execution of the DescribeApplicationFleetAssociations operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeApplicationFleetAssociations operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeApplicationFleetAssociations /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeApplicationFleetAssociations">REST API Reference for DescribeApplicationFleetAssociations Operation</seealso> IAsyncResult BeginDescribeApplicationFleetAssociations(DescribeApplicationFleetAssociationsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DescribeApplicationFleetAssociations operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeApplicationFleetAssociations.</param> /// /// <returns>Returns a DescribeApplicationFleetAssociationsResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeApplicationFleetAssociations">REST API Reference for DescribeApplicationFleetAssociations Operation</seealso> DescribeApplicationFleetAssociationsResponse EndDescribeApplicationFleetAssociations(IAsyncResult asyncResult); #endregion #region DescribeApplications /// <summary> /// Retrieves a list that describes one or more applications. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeApplications service method.</param> /// /// <returns>The response from the DescribeApplications service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeApplications">REST API Reference for DescribeApplications Operation</seealso> DescribeApplicationsResponse DescribeApplications(DescribeApplicationsRequest request); /// <summary> /// Initiates the asynchronous execution of the DescribeApplications operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeApplications operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeApplications /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeApplications">REST API Reference for DescribeApplications Operation</seealso> IAsyncResult BeginDescribeApplications(DescribeApplicationsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DescribeApplications operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeApplications.</param> /// /// <returns>Returns a DescribeApplicationsResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeApplications">REST API Reference for DescribeApplications Operation</seealso> DescribeApplicationsResponse EndDescribeApplications(IAsyncResult asyncResult); #endregion #region DescribeDirectoryConfigs /// <summary> /// 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. /// /// /// <para> /// Although the response syntax in this topic includes the account password, this password /// is not returned in the actual response. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeDirectoryConfigs service method.</param> /// /// <returns>The response from the DescribeDirectoryConfigs service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeDirectoryConfigs">REST API Reference for DescribeDirectoryConfigs Operation</seealso> DescribeDirectoryConfigsResponse DescribeDirectoryConfigs(DescribeDirectoryConfigsRequest request); /// <summary> /// Initiates the asynchronous execution of the DescribeDirectoryConfigs operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeDirectoryConfigs operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeDirectoryConfigs /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeDirectoryConfigs">REST API Reference for DescribeDirectoryConfigs Operation</seealso> IAsyncResult BeginDescribeDirectoryConfigs(DescribeDirectoryConfigsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DescribeDirectoryConfigs operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeDirectoryConfigs.</param> /// /// <returns>Returns a DescribeDirectoryConfigsResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeDirectoryConfigs">REST API Reference for DescribeDirectoryConfigs Operation</seealso> DescribeDirectoryConfigsResponse EndDescribeDirectoryConfigs(IAsyncResult asyncResult); #endregion #region DescribeEntitlements /// <summary> /// Retrieves a list that describes one of more entitlements. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeEntitlements service method.</param> /// /// <returns>The response from the DescribeEntitlements service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeEntitlements">REST API Reference for DescribeEntitlements Operation</seealso> DescribeEntitlementsResponse DescribeEntitlements(DescribeEntitlementsRequest request); /// <summary> /// Initiates the asynchronous execution of the DescribeEntitlements operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeEntitlements operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeEntitlements /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeEntitlements">REST API Reference for DescribeEntitlements Operation</seealso> IAsyncResult BeginDescribeEntitlements(DescribeEntitlementsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DescribeEntitlements operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeEntitlements.</param> /// /// <returns>Returns a DescribeEntitlementsResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeEntitlements">REST API Reference for DescribeEntitlements Operation</seealso> DescribeEntitlementsResponse EndDescribeEntitlements(IAsyncResult asyncResult); #endregion #region DescribeFleets /// <summary> /// Retrieves a list that describes one or more specified fleets, if the fleet names are /// provided. Otherwise, all fleets in the account are described. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeFleets service method.</param> /// /// <returns>The response from the DescribeFleets service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeFleets">REST API Reference for DescribeFleets Operation</seealso> DescribeFleetsResponse DescribeFleets(DescribeFleetsRequest request); /// <summary> /// Initiates the asynchronous execution of the DescribeFleets operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeFleets operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeFleets /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeFleets">REST API Reference for DescribeFleets Operation</seealso> IAsyncResult BeginDescribeFleets(DescribeFleetsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DescribeFleets operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeFleets.</param> /// /// <returns>Returns a DescribeFleetsResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeFleets">REST API Reference for DescribeFleets Operation</seealso> DescribeFleetsResponse EndDescribeFleets(IAsyncResult asyncResult); #endregion #region DescribeImageBuilders /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeImageBuilders service method.</param> /// /// <returns>The response from the DescribeImageBuilders service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImageBuilders">REST API Reference for DescribeImageBuilders Operation</seealso> DescribeImageBuildersResponse DescribeImageBuilders(DescribeImageBuildersRequest request); /// <summary> /// Initiates the asynchronous execution of the DescribeImageBuilders operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeImageBuilders operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeImageBuilders /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImageBuilders">REST API Reference for DescribeImageBuilders Operation</seealso> IAsyncResult BeginDescribeImageBuilders(DescribeImageBuildersRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DescribeImageBuilders operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeImageBuilders.</param> /// /// <returns>Returns a DescribeImageBuildersResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImageBuilders">REST API Reference for DescribeImageBuilders Operation</seealso> DescribeImageBuildersResponse EndDescribeImageBuilders(IAsyncResult asyncResult); #endregion #region DescribeImagePermissions /// <summary> /// Retrieves a list that describes the permissions for shared AWS account IDs on a private /// image that you own. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeImagePermissions service method.</param> /// /// <returns>The response from the DescribeImagePermissions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImagePermissions">REST API Reference for DescribeImagePermissions Operation</seealso> DescribeImagePermissionsResponse DescribeImagePermissions(DescribeImagePermissionsRequest request); /// <summary> /// Initiates the asynchronous execution of the DescribeImagePermissions operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeImagePermissions operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeImagePermissions /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImagePermissions">REST API Reference for DescribeImagePermissions Operation</seealso> IAsyncResult BeginDescribeImagePermissions(DescribeImagePermissionsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DescribeImagePermissions operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeImagePermissions.</param> /// /// <returns>Returns a DescribeImagePermissionsResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImagePermissions">REST API Reference for DescribeImagePermissions Operation</seealso> DescribeImagePermissionsResponse EndDescribeImagePermissions(IAsyncResult asyncResult); #endregion #region DescribeImages /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeImages service method.</param> /// /// <returns>The response from the DescribeImages service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImages">REST API Reference for DescribeImages Operation</seealso> DescribeImagesResponse DescribeImages(DescribeImagesRequest request); /// <summary> /// Initiates the asynchronous execution of the DescribeImages operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeImages operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeImages /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImages">REST API Reference for DescribeImages Operation</seealso> IAsyncResult BeginDescribeImages(DescribeImagesRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DescribeImages operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeImages.</param> /// /// <returns>Returns a DescribeImagesResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImages">REST API Reference for DescribeImages Operation</seealso> DescribeImagesResponse EndDescribeImages(IAsyncResult asyncResult); #endregion #region DescribeSessions /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeSessions service method.</param> /// /// <returns>The response from the DescribeSessions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeSessions">REST API Reference for DescribeSessions Operation</seealso> DescribeSessionsResponse DescribeSessions(DescribeSessionsRequest request); /// <summary> /// Initiates the asynchronous execution of the DescribeSessions operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeSessions operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeSessions /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeSessions">REST API Reference for DescribeSessions Operation</seealso> IAsyncResult BeginDescribeSessions(DescribeSessionsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DescribeSessions operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeSessions.</param> /// /// <returns>Returns a DescribeSessionsResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeSessions">REST API Reference for DescribeSessions Operation</seealso> DescribeSessionsResponse EndDescribeSessions(IAsyncResult asyncResult); #endregion #region DescribeStacks /// <summary> /// Retrieves a list that describes one or more specified stacks, if the stack names are /// provided. Otherwise, all stacks in the account are described. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeStacks service method.</param> /// /// <returns>The response from the DescribeStacks service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeStacks">REST API Reference for DescribeStacks Operation</seealso> DescribeStacksResponse DescribeStacks(DescribeStacksRequest request); /// <summary> /// Initiates the asynchronous execution of the DescribeStacks operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeStacks operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeStacks /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeStacks">REST API Reference for DescribeStacks Operation</seealso> IAsyncResult BeginDescribeStacks(DescribeStacksRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DescribeStacks operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeStacks.</param> /// /// <returns>Returns a DescribeStacksResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeStacks">REST API Reference for DescribeStacks Operation</seealso> DescribeStacksResponse EndDescribeStacks(IAsyncResult asyncResult); #endregion #region DescribeUsageReportSubscriptions /// <summary> /// Retrieves a list that describes one or more usage report subscriptions. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeUsageReportSubscriptions service method.</param> /// /// <returns>The response from the DescribeUsageReportSubscriptions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUsageReportSubscriptions">REST API Reference for DescribeUsageReportSubscriptions Operation</seealso> DescribeUsageReportSubscriptionsResponse DescribeUsageReportSubscriptions(DescribeUsageReportSubscriptionsRequest request); /// <summary> /// Initiates the asynchronous execution of the DescribeUsageReportSubscriptions operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeUsageReportSubscriptions operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeUsageReportSubscriptions /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUsageReportSubscriptions">REST API Reference for DescribeUsageReportSubscriptions Operation</seealso> IAsyncResult BeginDescribeUsageReportSubscriptions(DescribeUsageReportSubscriptionsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DescribeUsageReportSubscriptions operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeUsageReportSubscriptions.</param> /// /// <returns>Returns a DescribeUsageReportSubscriptionsResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUsageReportSubscriptions">REST API Reference for DescribeUsageReportSubscriptions Operation</seealso> DescribeUsageReportSubscriptionsResponse EndDescribeUsageReportSubscriptions(IAsyncResult asyncResult); #endregion #region DescribeUsers /// <summary> /// Retrieves a list that describes one or more specified users in the user pool. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeUsers service method.</param> /// /// <returns>The response from the DescribeUsers service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUsers">REST API Reference for DescribeUsers Operation</seealso> DescribeUsersResponse DescribeUsers(DescribeUsersRequest request); /// <summary> /// Initiates the asynchronous execution of the DescribeUsers operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeUsers operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeUsers /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUsers">REST API Reference for DescribeUsers Operation</seealso> IAsyncResult BeginDescribeUsers(DescribeUsersRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DescribeUsers operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeUsers.</param> /// /// <returns>Returns a DescribeUsersResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUsers">REST API Reference for DescribeUsers Operation</seealso> DescribeUsersResponse EndDescribeUsers(IAsyncResult asyncResult); #endregion #region DescribeUserStackAssociations /// <summary> /// Retrieves a list that describes the UserStackAssociation objects. You must specify /// either or both of the following: /// /// <ul> <li> /// <para> /// The stack name /// </para> /// </li> <li> /// <para> /// The user name (email address of the user associated with the stack) and the authentication /// type for the user /// </para> /// </li> </ul> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeUserStackAssociations service method.</param> /// /// <returns>The response from the DescribeUserStackAssociations service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUserStackAssociations">REST API Reference for DescribeUserStackAssociations Operation</seealso> DescribeUserStackAssociationsResponse DescribeUserStackAssociations(DescribeUserStackAssociationsRequest request); /// <summary> /// Initiates the asynchronous execution of the DescribeUserStackAssociations operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeUserStackAssociations operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeUserStackAssociations /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUserStackAssociations">REST API Reference for DescribeUserStackAssociations Operation</seealso> IAsyncResult BeginDescribeUserStackAssociations(DescribeUserStackAssociationsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DescribeUserStackAssociations operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeUserStackAssociations.</param> /// /// <returns>Returns a DescribeUserStackAssociationsResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUserStackAssociations">REST API Reference for DescribeUserStackAssociations Operation</seealso> DescribeUserStackAssociationsResponse EndDescribeUserStackAssociations(IAsyncResult asyncResult); #endregion #region DisableUser /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisableUser service method.</param> /// /// <returns>The response from the DisableUser service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisableUser">REST API Reference for DisableUser Operation</seealso> DisableUserResponse DisableUser(DisableUserRequest request); /// <summary> /// Initiates the asynchronous execution of the DisableUser operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DisableUser operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisableUser /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisableUser">REST API Reference for DisableUser Operation</seealso> IAsyncResult BeginDisableUser(DisableUserRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DisableUser operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDisableUser.</param> /// /// <returns>Returns a DisableUserResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisableUser">REST API Reference for DisableUser Operation</seealso> DisableUserResponse EndDisableUser(IAsyncResult asyncResult); #endregion #region DisassociateAppBlockBuilderAppBlock /// <summary> /// Disassociates a specified app block builder from a specified app block. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateAppBlockBuilderAppBlock service method.</param> /// /// <returns>The response from the DisassociateAppBlockBuilderAppBlock service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateAppBlockBuilderAppBlock">REST API Reference for DisassociateAppBlockBuilderAppBlock Operation</seealso> DisassociateAppBlockBuilderAppBlockResponse DisassociateAppBlockBuilderAppBlock(DisassociateAppBlockBuilderAppBlockRequest request); /// <summary> /// Initiates the asynchronous execution of the DisassociateAppBlockBuilderAppBlock operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DisassociateAppBlockBuilderAppBlock operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisassociateAppBlockBuilderAppBlock /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateAppBlockBuilderAppBlock">REST API Reference for DisassociateAppBlockBuilderAppBlock Operation</seealso> IAsyncResult BeginDisassociateAppBlockBuilderAppBlock(DisassociateAppBlockBuilderAppBlockRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DisassociateAppBlockBuilderAppBlock operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDisassociateAppBlockBuilderAppBlock.</param> /// /// <returns>Returns a DisassociateAppBlockBuilderAppBlockResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateAppBlockBuilderAppBlock">REST API Reference for DisassociateAppBlockBuilderAppBlock Operation</seealso> DisassociateAppBlockBuilderAppBlockResponse EndDisassociateAppBlockBuilderAppBlock(IAsyncResult asyncResult); #endregion #region DisassociateApplicationFleet /// <summary> /// Disassociates the specified application from the fleet. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateApplicationFleet service method.</param> /// /// <returns>The response from the DisassociateApplicationFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateApplicationFleet">REST API Reference for DisassociateApplicationFleet Operation</seealso> DisassociateApplicationFleetResponse DisassociateApplicationFleet(DisassociateApplicationFleetRequest request); /// <summary> /// Initiates the asynchronous execution of the DisassociateApplicationFleet operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DisassociateApplicationFleet operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisassociateApplicationFleet /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateApplicationFleet">REST API Reference for DisassociateApplicationFleet Operation</seealso> IAsyncResult BeginDisassociateApplicationFleet(DisassociateApplicationFleetRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DisassociateApplicationFleet operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDisassociateApplicationFleet.</param> /// /// <returns>Returns a DisassociateApplicationFleetResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateApplicationFleet">REST API Reference for DisassociateApplicationFleet Operation</seealso> DisassociateApplicationFleetResponse EndDisassociateApplicationFleet(IAsyncResult asyncResult); #endregion #region DisassociateApplicationFromEntitlement /// <summary> /// Deletes the specified application from the specified entitlement. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateApplicationFromEntitlement service method.</param> /// /// <returns>The response from the DisassociateApplicationFromEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateApplicationFromEntitlement">REST API Reference for DisassociateApplicationFromEntitlement Operation</seealso> DisassociateApplicationFromEntitlementResponse DisassociateApplicationFromEntitlement(DisassociateApplicationFromEntitlementRequest request); /// <summary> /// Initiates the asynchronous execution of the DisassociateApplicationFromEntitlement operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DisassociateApplicationFromEntitlement operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisassociateApplicationFromEntitlement /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateApplicationFromEntitlement">REST API Reference for DisassociateApplicationFromEntitlement Operation</seealso> IAsyncResult BeginDisassociateApplicationFromEntitlement(DisassociateApplicationFromEntitlementRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DisassociateApplicationFromEntitlement operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDisassociateApplicationFromEntitlement.</param> /// /// <returns>Returns a DisassociateApplicationFromEntitlementResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateApplicationFromEntitlement">REST API Reference for DisassociateApplicationFromEntitlement Operation</seealso> DisassociateApplicationFromEntitlementResponse EndDisassociateApplicationFromEntitlement(IAsyncResult asyncResult); #endregion #region DisassociateFleet /// <summary> /// Disassociates the specified fleet from the specified stack. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateFleet service method.</param> /// /// <returns>The response from the DisassociateFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateFleet">REST API Reference for DisassociateFleet Operation</seealso> DisassociateFleetResponse DisassociateFleet(DisassociateFleetRequest request); /// <summary> /// Initiates the asynchronous execution of the DisassociateFleet operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DisassociateFleet operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisassociateFleet /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateFleet">REST API Reference for DisassociateFleet Operation</seealso> IAsyncResult BeginDisassociateFleet(DisassociateFleetRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DisassociateFleet operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDisassociateFleet.</param> /// /// <returns>Returns a DisassociateFleetResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateFleet">REST API Reference for DisassociateFleet Operation</seealso> DisassociateFleetResponse EndDisassociateFleet(IAsyncResult asyncResult); #endregion #region EnableUser /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the EnableUser service method.</param> /// /// <returns>The response from the EnableUser service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/EnableUser">REST API Reference for EnableUser Operation</seealso> EnableUserResponse EnableUser(EnableUserRequest request); /// <summary> /// Initiates the asynchronous execution of the EnableUser operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the EnableUser operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndEnableUser /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/EnableUser">REST API Reference for EnableUser Operation</seealso> IAsyncResult BeginEnableUser(EnableUserRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the EnableUser operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginEnableUser.</param> /// /// <returns>Returns a EnableUserResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/EnableUser">REST API Reference for EnableUser Operation</seealso> EnableUserResponse EndEnableUser(IAsyncResult asyncResult); #endregion #region ExpireSession /// <summary> /// Immediately stops the specified streaming session. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ExpireSession service method.</param> /// /// <returns>The response from the ExpireSession service method, as returned by AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ExpireSession">REST API Reference for ExpireSession Operation</seealso> ExpireSessionResponse ExpireSession(ExpireSessionRequest request); /// <summary> /// Initiates the asynchronous execution of the ExpireSession operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ExpireSession operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndExpireSession /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ExpireSession">REST API Reference for ExpireSession Operation</seealso> IAsyncResult BeginExpireSession(ExpireSessionRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ExpireSession operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginExpireSession.</param> /// /// <returns>Returns a ExpireSessionResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ExpireSession">REST API Reference for ExpireSession Operation</seealso> ExpireSessionResponse EndExpireSession(IAsyncResult asyncResult); #endregion #region ListAssociatedFleets /// <summary> /// Retrieves the name of the fleet that is associated with the specified stack. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAssociatedFleets service method.</param> /// /// <returns>The response from the ListAssociatedFleets service method, as returned by AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListAssociatedFleets">REST API Reference for ListAssociatedFleets Operation</seealso> ListAssociatedFleetsResponse ListAssociatedFleets(ListAssociatedFleetsRequest request); /// <summary> /// Initiates the asynchronous execution of the ListAssociatedFleets operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListAssociatedFleets operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListAssociatedFleets /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListAssociatedFleets">REST API Reference for ListAssociatedFleets Operation</seealso> IAsyncResult BeginListAssociatedFleets(ListAssociatedFleetsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListAssociatedFleets operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAssociatedFleets.</param> /// /// <returns>Returns a ListAssociatedFleetsResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListAssociatedFleets">REST API Reference for ListAssociatedFleets Operation</seealso> ListAssociatedFleetsResponse EndListAssociatedFleets(IAsyncResult asyncResult); #endregion #region ListAssociatedStacks /// <summary> /// Retrieves the name of the stack with which the specified fleet is associated. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAssociatedStacks service method.</param> /// /// <returns>The response from the ListAssociatedStacks service method, as returned by AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListAssociatedStacks">REST API Reference for ListAssociatedStacks Operation</seealso> ListAssociatedStacksResponse ListAssociatedStacks(ListAssociatedStacksRequest request); /// <summary> /// Initiates the asynchronous execution of the ListAssociatedStacks operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListAssociatedStacks operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListAssociatedStacks /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListAssociatedStacks">REST API Reference for ListAssociatedStacks Operation</seealso> IAsyncResult BeginListAssociatedStacks(ListAssociatedStacksRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListAssociatedStacks operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAssociatedStacks.</param> /// /// <returns>Returns a ListAssociatedStacksResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListAssociatedStacks">REST API Reference for ListAssociatedStacks Operation</seealso> ListAssociatedStacksResponse EndListAssociatedStacks(IAsyncResult asyncResult); #endregion #region ListEntitledApplications /// <summary> /// Retrieves a list of entitled applications. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListEntitledApplications service method.</param> /// /// <returns>The response from the ListEntitledApplications service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListEntitledApplications">REST API Reference for ListEntitledApplications Operation</seealso> ListEntitledApplicationsResponse ListEntitledApplications(ListEntitledApplicationsRequest request); /// <summary> /// Initiates the asynchronous execution of the ListEntitledApplications operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListEntitledApplications operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListEntitledApplications /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListEntitledApplications">REST API Reference for ListEntitledApplications Operation</seealso> IAsyncResult BeginListEntitledApplications(ListEntitledApplicationsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListEntitledApplications operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListEntitledApplications.</param> /// /// <returns>Returns a ListEntitledApplicationsResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListEntitledApplications">REST API Reference for ListEntitledApplications Operation</seealso> ListEntitledApplicationsResponse EndListEntitledApplications(IAsyncResult asyncResult); #endregion #region ListTagsForResource /// <summary> /// 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. /// /// /// <para> /// For more information about tags, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging /// Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param> /// /// <returns>The response from the ListTagsForResource service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request); /// <summary> /// Initiates the asynchronous execution of the ListTagsForResource operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListTagsForResource operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListTagsForResource.</param> /// /// <returns>Returns a ListTagsForResourceResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult); #endregion #region StartAppBlockBuilder /// <summary> /// Starts an app block builder. /// /// /// <para> /// An app block builder can only be started when it's associated with an app block. /// </para> /// /// <para> /// Starting an app block builder starts a new instance, which is equivalent to an elastic /// fleet instance with application builder assistance functionality. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartAppBlockBuilder service method.</param> /// /// <returns>The response from the StartAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartAppBlockBuilder">REST API Reference for StartAppBlockBuilder Operation</seealso> StartAppBlockBuilderResponse StartAppBlockBuilder(StartAppBlockBuilderRequest request); /// <summary> /// Initiates the asynchronous execution of the StartAppBlockBuilder operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the StartAppBlockBuilder operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartAppBlockBuilder /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartAppBlockBuilder">REST API Reference for StartAppBlockBuilder Operation</seealso> IAsyncResult BeginStartAppBlockBuilder(StartAppBlockBuilderRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the StartAppBlockBuilder operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginStartAppBlockBuilder.</param> /// /// <returns>Returns a StartAppBlockBuilderResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartAppBlockBuilder">REST API Reference for StartAppBlockBuilder Operation</seealso> StartAppBlockBuilderResponse EndStartAppBlockBuilder(IAsyncResult asyncResult); #endregion #region StartFleet /// <summary> /// Starts the specified fleet. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartFleet service method.</param> /// /// <returns>The response from the StartFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartFleet">REST API Reference for StartFleet Operation</seealso> StartFleetResponse StartFleet(StartFleetRequest request); /// <summary> /// Initiates the asynchronous execution of the StartFleet operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the StartFleet operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartFleet /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartFleet">REST API Reference for StartFleet Operation</seealso> IAsyncResult BeginStartFleet(StartFleetRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the StartFleet operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginStartFleet.</param> /// /// <returns>Returns a StartFleetResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartFleet">REST API Reference for StartFleet Operation</seealso> StartFleetResponse EndStartFleet(IAsyncResult asyncResult); #endregion #region StartImageBuilder /// <summary> /// Starts the specified image builder. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartImageBuilder service method.</param> /// /// <returns>The response from the StartImageBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartImageBuilder">REST API Reference for StartImageBuilder Operation</seealso> StartImageBuilderResponse StartImageBuilder(StartImageBuilderRequest request); /// <summary> /// Initiates the asynchronous execution of the StartImageBuilder operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the StartImageBuilder operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartImageBuilder /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartImageBuilder">REST API Reference for StartImageBuilder Operation</seealso> IAsyncResult BeginStartImageBuilder(StartImageBuilderRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the StartImageBuilder operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginStartImageBuilder.</param> /// /// <returns>Returns a StartImageBuilderResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartImageBuilder">REST API Reference for StartImageBuilder Operation</seealso> StartImageBuilderResponse EndStartImageBuilder(IAsyncResult asyncResult); #endregion #region StopAppBlockBuilder /// <summary> /// Stops an app block builder. /// /// /// <para> /// Stopping an app block builder terminates the instance, and the instance state is not /// persisted. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the StopAppBlockBuilder service method.</param> /// /// <returns>The response from the StopAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopAppBlockBuilder">REST API Reference for StopAppBlockBuilder Operation</seealso> StopAppBlockBuilderResponse StopAppBlockBuilder(StopAppBlockBuilderRequest request); /// <summary> /// Initiates the asynchronous execution of the StopAppBlockBuilder operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the StopAppBlockBuilder operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStopAppBlockBuilder /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopAppBlockBuilder">REST API Reference for StopAppBlockBuilder Operation</seealso> IAsyncResult BeginStopAppBlockBuilder(StopAppBlockBuilderRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the StopAppBlockBuilder operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginStopAppBlockBuilder.</param> /// /// <returns>Returns a StopAppBlockBuilderResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopAppBlockBuilder">REST API Reference for StopAppBlockBuilder Operation</seealso> StopAppBlockBuilderResponse EndStopAppBlockBuilder(IAsyncResult asyncResult); #endregion #region StopFleet /// <summary> /// Stops the specified fleet. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StopFleet service method.</param> /// /// <returns>The response from the StopFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopFleet">REST API Reference for StopFleet Operation</seealso> StopFleetResponse StopFleet(StopFleetRequest request); /// <summary> /// Initiates the asynchronous execution of the StopFleet operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the StopFleet operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStopFleet /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopFleet">REST API Reference for StopFleet Operation</seealso> IAsyncResult BeginStopFleet(StopFleetRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the StopFleet operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginStopFleet.</param> /// /// <returns>Returns a StopFleetResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopFleet">REST API Reference for StopFleet Operation</seealso> StopFleetResponse EndStopFleet(IAsyncResult asyncResult); #endregion #region StopImageBuilder /// <summary> /// Stops the specified image builder. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StopImageBuilder service method.</param> /// /// <returns>The response from the StopImageBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopImageBuilder">REST API Reference for StopImageBuilder Operation</seealso> StopImageBuilderResponse StopImageBuilder(StopImageBuilderRequest request); /// <summary> /// Initiates the asynchronous execution of the StopImageBuilder operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the StopImageBuilder operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStopImageBuilder /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopImageBuilder">REST API Reference for StopImageBuilder Operation</seealso> IAsyncResult BeginStopImageBuilder(StopImageBuilderRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the StopImageBuilder operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginStopImageBuilder.</param> /// /// <returns>Returns a StopImageBuilderResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopImageBuilder">REST API Reference for StopImageBuilder Operation</seealso> StopImageBuilderResponse EndStopImageBuilder(IAsyncResult asyncResult); #endregion #region TagResource /// <summary> /// 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. /// /// /// <para> /// 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. /// </para> /// /// <para> /// To list the current tags for your resources, use <a>ListTagsForResource</a>. To disassociate /// tags from your resources, use <a>UntagResource</a>. /// </para> /// /// <para> /// For more information about tags, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging /// Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param> /// /// <returns>The response from the TagResource service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/TagResource">REST API Reference for TagResource Operation</seealso> TagResourceResponse TagResource(TagResourceRequest request); /// <summary> /// Initiates the asynchronous execution of the TagResource operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the TagResource operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/TagResource">REST API Reference for TagResource Operation</seealso> IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the TagResource operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginTagResource.</param> /// /// <returns>Returns a TagResourceResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/TagResource">REST API Reference for TagResource Operation</seealso> TagResourceResponse EndTagResource(IAsyncResult asyncResult); #endregion #region UntagResource /// <summary> /// Disassociates one or more specified tags from the specified AppStream 2.0 resource. /// /// /// <para> /// To list the current tags for your resources, use <a>ListTagsForResource</a>. /// </para> /// /// <para> /// For more information about tags, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging /// Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param> /// /// <returns>The response from the UntagResource service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UntagResource">REST API Reference for UntagResource Operation</seealso> UntagResourceResponse UntagResource(UntagResourceRequest request); /// <summary> /// Initiates the asynchronous execution of the UntagResource operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UntagResource operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UntagResource">REST API Reference for UntagResource Operation</seealso> IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the UntagResource operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUntagResource.</param> /// /// <returns>Returns a UntagResourceResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UntagResource">REST API Reference for UntagResource Operation</seealso> UntagResourceResponse EndUntagResource(IAsyncResult asyncResult); #endregion #region UpdateAppBlockBuilder /// <summary> /// Updates an app block builder. /// /// /// <para> /// If the app block builder is in the <code>STARTING</code> or <code>STOPPING</code> /// state, you can't update it. If the app block builder is in the <code>RUNNING</code> /// state, you can only update the DisplayName and Description. If the app block builder /// is in the <code>STOPPED</code> state, you can update any attribute except the Name. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppBlockBuilder service method.</param> /// /// <returns>The response from the UpdateAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateAppBlockBuilder">REST API Reference for UpdateAppBlockBuilder Operation</seealso> UpdateAppBlockBuilderResponse UpdateAppBlockBuilder(UpdateAppBlockBuilderRequest request); /// <summary> /// Initiates the asynchronous execution of the UpdateAppBlockBuilder operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateAppBlockBuilder operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateAppBlockBuilder /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateAppBlockBuilder">REST API Reference for UpdateAppBlockBuilder Operation</seealso> IAsyncResult BeginUpdateAppBlockBuilder(UpdateAppBlockBuilderRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the UpdateAppBlockBuilder operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateAppBlockBuilder.</param> /// /// <returns>Returns a UpdateAppBlockBuilderResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateAppBlockBuilder">REST API Reference for UpdateAppBlockBuilder Operation</seealso> UpdateAppBlockBuilderResponse EndUpdateAppBlockBuilder(IAsyncResult asyncResult); #endregion #region UpdateApplication /// <summary> /// Updates the specified application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateApplication service method.</param> /// /// <returns>The response from the UpdateApplication service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateApplication">REST API Reference for UpdateApplication Operation</seealso> UpdateApplicationResponse UpdateApplication(UpdateApplicationRequest request); /// <summary> /// Initiates the asynchronous execution of the UpdateApplication operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateApplication operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateApplication /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateApplication">REST API Reference for UpdateApplication Operation</seealso> IAsyncResult BeginUpdateApplication(UpdateApplicationRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the UpdateApplication operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateApplication.</param> /// /// <returns>Returns a UpdateApplicationResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateApplication">REST API Reference for UpdateApplication Operation</seealso> UpdateApplicationResponse EndUpdateApplication(IAsyncResult asyncResult); #endregion #region UpdateDirectoryConfig /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateDirectoryConfig service method.</param> /// /// <returns>The response from the UpdateDirectoryConfig service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateDirectoryConfig">REST API Reference for UpdateDirectoryConfig Operation</seealso> UpdateDirectoryConfigResponse UpdateDirectoryConfig(UpdateDirectoryConfigRequest request); /// <summary> /// Initiates the asynchronous execution of the UpdateDirectoryConfig operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateDirectoryConfig operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateDirectoryConfig /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateDirectoryConfig">REST API Reference for UpdateDirectoryConfig Operation</seealso> IAsyncResult BeginUpdateDirectoryConfig(UpdateDirectoryConfigRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the UpdateDirectoryConfig operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateDirectoryConfig.</param> /// /// <returns>Returns a UpdateDirectoryConfigResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateDirectoryConfig">REST API Reference for UpdateDirectoryConfig Operation</seealso> UpdateDirectoryConfigResponse EndUpdateDirectoryConfig(IAsyncResult asyncResult); #endregion #region UpdateEntitlement /// <summary> /// Updates the specified entitlement. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateEntitlement service method.</param> /// /// <returns>The response from the UpdateEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateEntitlement">REST API Reference for UpdateEntitlement Operation</seealso> UpdateEntitlementResponse UpdateEntitlement(UpdateEntitlementRequest request); /// <summary> /// Initiates the asynchronous execution of the UpdateEntitlement operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateEntitlement operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateEntitlement /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateEntitlement">REST API Reference for UpdateEntitlement Operation</seealso> IAsyncResult BeginUpdateEntitlement(UpdateEntitlementRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the UpdateEntitlement operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateEntitlement.</param> /// /// <returns>Returns a UpdateEntitlementResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateEntitlement">REST API Reference for UpdateEntitlement Operation</seealso> UpdateEntitlementResponse EndUpdateEntitlement(IAsyncResult asyncResult); #endregion #region UpdateFleet /// <summary> /// Updates the specified fleet. /// /// /// <para> /// If the fleet is in the <code>STOPPED</code> state, you can update any attribute except /// the fleet name. /// </para> /// /// <para> /// If the fleet is in the <code>RUNNING</code> state, you can update the following based /// on the fleet type: /// </para> /// <ul> <li> /// <para> /// Always-On and On-Demand fleet types /// </para> /// /// <para> /// You can update the <code>DisplayName</code>, <code>ComputeCapacity</code>, <code>ImageARN</code>, /// <code>ImageName</code>, <code>IdleDisconnectTimeoutInSeconds</code>, and <code>DisconnectTimeoutInSeconds</code> /// attributes. /// </para> /// </li> <li> /// <para> /// Elastic fleet type /// </para> /// /// <para> /// You can update the <code>DisplayName</code>, <code>IdleDisconnectTimeoutInSeconds</code>, /// <code>DisconnectTimeoutInSeconds</code>, <code>MaxConcurrentSessions</code>, <code>SessionScriptS3Location</code> /// and <code>UsbDeviceFilterStrings</code> attributes. /// </para> /// </li> </ul> /// <para> /// If the fleet is in the <code>STARTING</code> or <code>STOPPED</code> state, you can't /// update it. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateFleet service method.</param> /// /// <returns>The response from the UpdateFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateFleet">REST API Reference for UpdateFleet Operation</seealso> UpdateFleetResponse UpdateFleet(UpdateFleetRequest request); /// <summary> /// Initiates the asynchronous execution of the UpdateFleet operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateFleet operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateFleet /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateFleet">REST API Reference for UpdateFleet Operation</seealso> IAsyncResult BeginUpdateFleet(UpdateFleetRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the UpdateFleet operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateFleet.</param> /// /// <returns>Returns a UpdateFleetResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateFleet">REST API Reference for UpdateFleet Operation</seealso> UpdateFleetResponse EndUpdateFleet(IAsyncResult asyncResult); #endregion #region UpdateImagePermissions /// <summary> /// Adds or updates permissions for the specified private image. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateImagePermissions service method.</param> /// /// <returns>The response from the UpdateImagePermissions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateImagePermissions">REST API Reference for UpdateImagePermissions Operation</seealso> UpdateImagePermissionsResponse UpdateImagePermissions(UpdateImagePermissionsRequest request); /// <summary> /// Initiates the asynchronous execution of the UpdateImagePermissions operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateImagePermissions operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateImagePermissions /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateImagePermissions">REST API Reference for UpdateImagePermissions Operation</seealso> IAsyncResult BeginUpdateImagePermissions(UpdateImagePermissionsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the UpdateImagePermissions operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateImagePermissions.</param> /// /// <returns>Returns a UpdateImagePermissionsResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateImagePermissions">REST API Reference for UpdateImagePermissions Operation</seealso> UpdateImagePermissionsResponse EndUpdateImagePermissions(IAsyncResult asyncResult); #endregion #region UpdateStack /// <summary> /// Updates the specified fields for the specified stack. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateStack service method.</param> /// /// <returns>The response from the UpdateStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateStack">REST API Reference for UpdateStack Operation</seealso> UpdateStackResponse UpdateStack(UpdateStackRequest request); /// <summary> /// Initiates the asynchronous execution of the UpdateStack operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateStack operation on AmazonAppStreamClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateStack /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateStack">REST API Reference for UpdateStack Operation</seealso> IAsyncResult BeginUpdateStack(UpdateStackRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the UpdateStack operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateStack.</param> /// /// <returns>Returns a UpdateStackResult from AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateStack">REST API Reference for UpdateStack Operation</seealso> UpdateStackResponse EndUpdateStack(IAsyncResult asyncResult); #endregion } }
4,117
aws-sdk-net
aws
C#
/* * 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 { /// <summary> /// Implementation for accessing AppStream /// /// Amazon AppStream 2.0 /// <para> /// This is the <i>Amazon AppStream 2.0 API Reference</i>. 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. /// </para> /// <note> /// <para> /// You can call the AppStream 2.0 API operations by using an interface VPC endpoint (interface /// endpoint). For more information, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/access-api-cli-through-interface-vpc-endpoint.html">Access /// AppStream 2.0 API Operations and CLI Commands Through an Interface VPC Endpoint</a> /// in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </note> /// <para> /// To learn more about AppStream 2.0, see the following resources: /// </para> /// <ul> <li> /// <para> /// <a href="http://aws.amazon.com/appstream2">Amazon AppStream 2.0 product page</a> /// /// </para> /// </li> <li> /// <para> /// <a href="http://aws.amazon.com/documentation/appstream2">Amazon AppStream 2.0 documentation</a> /// /// </para> /// </li> </ul> /// </summary> public partial class AmazonAppStreamClient : AmazonServiceClient, IAmazonAppStream { private static IServiceMetadata serviceMetadata = new AmazonAppStreamMetadata(); private IAppStreamPaginatorFactory _paginators; /// <summary> /// Paginators for the service /// </summary> public IAppStreamPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new AppStreamPaginatorFactory(this); } return this._paginators; } } #region Constructors /// <summary> /// 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. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> public AmazonAppStreamClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppStreamConfig()) { } /// <summary> /// 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. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> /// <param name="region">The region to connect.</param> public AmazonAppStreamClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppStreamConfig{RegionEndpoint = region}) { } /// <summary> /// 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. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> /// <param name="config">The AmazonAppStreamClient Configuration Object</param> public AmazonAppStreamClient(AmazonAppStreamConfig config) : base(FallbackCredentialsFactory.GetCredentials(), config) { } /// <summary> /// Constructs AmazonAppStreamClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> public AmazonAppStreamClient(AWSCredentials credentials) : this(credentials, new AmazonAppStreamConfig()) { } /// <summary> /// Constructs AmazonAppStreamClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="region">The region to connect.</param> public AmazonAppStreamClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonAppStreamConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAppStreamClient with AWS Credentials and an /// AmazonAppStreamClient Configuration object. /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="clientConfig">The AmazonAppStreamClient Configuration Object</param> public AmazonAppStreamClient(AWSCredentials credentials, AmazonAppStreamConfig clientConfig) : base(credentials, clientConfig) { } /// <summary> /// Constructs AmazonAppStreamClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> public AmazonAppStreamClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppStreamConfig()) { } /// <summary> /// Constructs AmazonAppStreamClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="region">The region to connect.</param> public AmazonAppStreamClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppStreamConfig() {RegionEndpoint=region}) { } /// <summary> /// Constructs AmazonAppStreamClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAppStreamClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="clientConfig">The AmazonAppStreamClient Configuration Object</param> public AmazonAppStreamClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAppStreamConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// <summary> /// Constructs AmazonAppStreamClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> public AmazonAppStreamClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppStreamConfig()) { } /// <summary> /// Constructs AmazonAppStreamClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> /// <param name="region">The region to connect.</param> public AmazonAppStreamClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppStreamConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAppStreamClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAppStreamClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> /// <param name="clientConfig">The AmazonAppStreamClient Configuration Object</param> public AmazonAppStreamClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAppStreamConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #region Overrides /// <summary> /// Creates the signer for the service. /// </summary> protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// <summary> /// Customize the pipeline /// </summary> /// <param name="pipeline"></param> protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler<Amazon.Runtime.Internal.EndpointResolver>(); pipeline.AddHandlerAfter<Amazon.Runtime.Internal.Marshaller>(new AmazonAppStreamEndpointResolver()); } /// <summary> /// Capture metadata for the service. /// </summary> protected override IServiceMetadata ServiceMetadata { get { return serviceMetadata; } } #endregion #region Dispose /// <summary> /// Disposes the service client. /// </summary> protected override void Dispose(bool disposing) { base.Dispose(disposing); } #endregion #region AssociateAppBlockBuilderAppBlock /// <summary> /// Associates the specified app block builder with the specified app block. /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateAppBlockBuilderAppBlock service method.</param> /// /// <returns>The response from the AssociateAppBlockBuilderAppBlock service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateAppBlockBuilderAppBlock">REST API Reference for AssociateAppBlockBuilderAppBlock Operation</seealso> public virtual AssociateAppBlockBuilderAppBlockResponse AssociateAppBlockBuilderAppBlock(AssociateAppBlockBuilderAppBlockRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateAppBlockBuilderAppBlockRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateAppBlockBuilderAppBlockResponseUnmarshaller.Instance; return Invoke<AssociateAppBlockBuilderAppBlockResponse>(request, options); } /// <summary> /// Associates the specified app block builder with the specified app block. /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateAppBlockBuilderAppBlock service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the AssociateAppBlockBuilderAppBlock service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateAppBlockBuilderAppBlock">REST API Reference for AssociateAppBlockBuilderAppBlock Operation</seealso> public virtual Task<AssociateAppBlockBuilderAppBlockResponse> AssociateAppBlockBuilderAppBlockAsync(AssociateAppBlockBuilderAppBlockRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateAppBlockBuilderAppBlockRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateAppBlockBuilderAppBlockResponseUnmarshaller.Instance; return InvokeAsync<AssociateAppBlockBuilderAppBlockResponse>(request, options, cancellationToken); } #endregion #region AssociateApplicationFleet /// <summary> /// Associates the specified application with the specified fleet. This is only supported /// for Elastic fleets. /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateApplicationFleet service method.</param> /// /// <returns>The response from the AssociateApplicationFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateApplicationFleet">REST API Reference for AssociateApplicationFleet Operation</seealso> public virtual AssociateApplicationFleetResponse AssociateApplicationFleet(AssociateApplicationFleetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateApplicationFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateApplicationFleetResponseUnmarshaller.Instance; return Invoke<AssociateApplicationFleetResponse>(request, options); } /// <summary> /// Associates the specified application with the specified fleet. This is only supported /// for Elastic fleets. /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateApplicationFleet service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the AssociateApplicationFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateApplicationFleet">REST API Reference for AssociateApplicationFleet Operation</seealso> public virtual Task<AssociateApplicationFleetResponse> AssociateApplicationFleetAsync(AssociateApplicationFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateApplicationFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateApplicationFleetResponseUnmarshaller.Instance; return InvokeAsync<AssociateApplicationFleetResponse>(request, options, cancellationToken); } #endregion #region AssociateApplicationToEntitlement /// <summary> /// Associates an application to entitle. /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateApplicationToEntitlement service method.</param> /// /// <returns>The response from the AssociateApplicationToEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateApplicationToEntitlement">REST API Reference for AssociateApplicationToEntitlement Operation</seealso> public virtual AssociateApplicationToEntitlementResponse AssociateApplicationToEntitlement(AssociateApplicationToEntitlementRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateApplicationToEntitlementRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateApplicationToEntitlementResponseUnmarshaller.Instance; return Invoke<AssociateApplicationToEntitlementResponse>(request, options); } /// <summary> /// Associates an application to entitle. /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateApplicationToEntitlement service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the AssociateApplicationToEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateApplicationToEntitlement">REST API Reference for AssociateApplicationToEntitlement Operation</seealso> public virtual Task<AssociateApplicationToEntitlementResponse> AssociateApplicationToEntitlementAsync(AssociateApplicationToEntitlementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateApplicationToEntitlementRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateApplicationToEntitlementResponseUnmarshaller.Instance; return InvokeAsync<AssociateApplicationToEntitlementResponse>(request, options, cancellationToken); } #endregion #region AssociateFleet /// <summary> /// Associates the specified fleet with the specified stack. /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateFleet service method.</param> /// /// <returns>The response from the AssociateFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateFleet">REST API Reference for AssociateFleet Operation</seealso> public virtual AssociateFleetResponse AssociateFleet(AssociateFleetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateFleetResponseUnmarshaller.Instance; return Invoke<AssociateFleetResponse>(request, options); } /// <summary> /// Associates the specified fleet with the specified stack. /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateFleet service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the AssociateFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateFleet">REST API Reference for AssociateFleet Operation</seealso> public virtual Task<AssociateFleetResponse> AssociateFleetAsync(AssociateFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateFleetResponseUnmarshaller.Instance; return InvokeAsync<AssociateFleetResponse>(request, options, cancellationToken); } #endregion #region BatchAssociateUserStack /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchAssociateUserStack service method.</param> /// /// <returns>The response from the BatchAssociateUserStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/BatchAssociateUserStack">REST API Reference for BatchAssociateUserStack Operation</seealso> public virtual BatchAssociateUserStackResponse BatchAssociateUserStack(BatchAssociateUserStackRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchAssociateUserStackRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchAssociateUserStackResponseUnmarshaller.Instance; return Invoke<BatchAssociateUserStackResponse>(request, options); } /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchAssociateUserStack service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the BatchAssociateUserStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/BatchAssociateUserStack">REST API Reference for BatchAssociateUserStack Operation</seealso> public virtual Task<BatchAssociateUserStackResponse> BatchAssociateUserStackAsync(BatchAssociateUserStackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = BatchAssociateUserStackRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchAssociateUserStackResponseUnmarshaller.Instance; return InvokeAsync<BatchAssociateUserStackResponse>(request, options, cancellationToken); } #endregion #region BatchDisassociateUserStack /// <summary> /// Disassociates the specified users from the specified stacks. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchDisassociateUserStack service method.</param> /// /// <returns>The response from the BatchDisassociateUserStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/BatchDisassociateUserStack">REST API Reference for BatchDisassociateUserStack Operation</seealso> public virtual BatchDisassociateUserStackResponse BatchDisassociateUserStack(BatchDisassociateUserStackRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchDisassociateUserStackRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchDisassociateUserStackResponseUnmarshaller.Instance; return Invoke<BatchDisassociateUserStackResponse>(request, options); } /// <summary> /// Disassociates the specified users from the specified stacks. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchDisassociateUserStack service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the BatchDisassociateUserStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/BatchDisassociateUserStack">REST API Reference for BatchDisassociateUserStack Operation</seealso> public virtual Task<BatchDisassociateUserStackResponse> BatchDisassociateUserStackAsync(BatchDisassociateUserStackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = BatchDisassociateUserStackRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchDisassociateUserStackResponseUnmarshaller.Instance; return InvokeAsync<BatchDisassociateUserStackResponse>(request, options, cancellationToken); } #endregion #region CopyImage /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CopyImage service method.</param> /// /// <returns>The response from the CopyImage service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CopyImage">REST API Reference for CopyImage Operation</seealso> public virtual CopyImageResponse CopyImage(CopyImageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CopyImageRequestMarshaller.Instance; options.ResponseUnmarshaller = CopyImageResponseUnmarshaller.Instance; return Invoke<CopyImageResponse>(request, options); } /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CopyImage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CopyImage service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CopyImage">REST API Reference for CopyImage Operation</seealso> public virtual Task<CopyImageResponse> CopyImageAsync(CopyImageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CopyImageRequestMarshaller.Instance; options.ResponseUnmarshaller = CopyImageResponseUnmarshaller.Instance; return InvokeAsync<CopyImageResponse>(request, options, cancellationToken); } #endregion #region CreateAppBlock /// <summary> /// Creates an app block. /// /// /// <para> /// 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. /// </para> /// /// <para> /// This is only supported for Elastic fleets. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppBlock service method.</param> /// /// <returns>The response from the CreateAppBlock service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlock">REST API Reference for CreateAppBlock Operation</seealso> public virtual CreateAppBlockResponse CreateAppBlock(CreateAppBlockRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppBlockRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppBlockResponseUnmarshaller.Instance; return Invoke<CreateAppBlockResponse>(request, options); } /// <summary> /// Creates an app block. /// /// /// <para> /// 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. /// </para> /// /// <para> /// This is only supported for Elastic fleets. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppBlock service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateAppBlock service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlock">REST API Reference for CreateAppBlock Operation</seealso> public virtual Task<CreateAppBlockResponse> CreateAppBlockAsync(CreateAppBlockRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppBlockRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppBlockResponseUnmarshaller.Instance; return InvokeAsync<CreateAppBlockResponse>(request, options, cancellationToken); } #endregion #region CreateAppBlockBuilder /// <summary> /// Creates an app block builder. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppBlockBuilder service method.</param> /// /// <returns>The response from the CreateAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlockBuilder">REST API Reference for CreateAppBlockBuilder Operation</seealso> public virtual CreateAppBlockBuilderResponse CreateAppBlockBuilder(CreateAppBlockBuilderRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppBlockBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppBlockBuilderResponseUnmarshaller.Instance; return Invoke<CreateAppBlockBuilderResponse>(request, options); } /// <summary> /// Creates an app block builder. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppBlockBuilder service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlockBuilder">REST API Reference for CreateAppBlockBuilder Operation</seealso> public virtual Task<CreateAppBlockBuilderResponse> CreateAppBlockBuilderAsync(CreateAppBlockBuilderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppBlockBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppBlockBuilderResponseUnmarshaller.Instance; return InvokeAsync<CreateAppBlockBuilderResponse>(request, options, cancellationToken); } #endregion #region CreateAppBlockBuilderStreamingURL /// <summary> /// Creates a URL to start a create app block builder streaming session. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppBlockBuilderStreamingURL service method.</param> /// /// <returns>The response from the CreateAppBlockBuilderStreamingURL service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlockBuilderStreamingURL">REST API Reference for CreateAppBlockBuilderStreamingURL Operation</seealso> public virtual CreateAppBlockBuilderStreamingURLResponse CreateAppBlockBuilderStreamingURL(CreateAppBlockBuilderStreamingURLRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppBlockBuilderStreamingURLRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppBlockBuilderStreamingURLResponseUnmarshaller.Instance; return Invoke<CreateAppBlockBuilderStreamingURLResponse>(request, options); } /// <summary> /// Creates a URL to start a create app block builder streaming session. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppBlockBuilderStreamingURL service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateAppBlockBuilderStreamingURL service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlockBuilderStreamingURL">REST API Reference for CreateAppBlockBuilderStreamingURL Operation</seealso> public virtual Task<CreateAppBlockBuilderStreamingURLResponse> CreateAppBlockBuilderStreamingURLAsync(CreateAppBlockBuilderStreamingURLRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppBlockBuilderStreamingURLRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppBlockBuilderStreamingURLResponseUnmarshaller.Instance; return InvokeAsync<CreateAppBlockBuilderStreamingURLResponse>(request, options, cancellationToken); } #endregion #region CreateApplication /// <summary> /// Creates an application. /// /// /// <para> /// 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. /// </para> /// /// <para> /// This is only supported for Elastic fleets. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateApplication service method.</param> /// /// <returns>The response from the CreateApplication service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateApplication">REST API Reference for CreateApplication Operation</seealso> public virtual CreateApplicationResponse CreateApplication(CreateApplicationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateApplicationResponseUnmarshaller.Instance; return Invoke<CreateApplicationResponse>(request, options); } /// <summary> /// Creates an application. /// /// /// <para> /// 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. /// </para> /// /// <para> /// This is only supported for Elastic fleets. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateApplication service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateApplication service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateApplication">REST API Reference for CreateApplication Operation</seealso> public virtual Task<CreateApplicationResponse> CreateApplicationAsync(CreateApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateApplicationResponseUnmarshaller.Instance; return InvokeAsync<CreateApplicationResponse>(request, options, cancellationToken); } #endregion #region CreateDirectoryConfig /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateDirectoryConfig service method.</param> /// /// <returns>The response from the CreateDirectoryConfig service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateDirectoryConfig">REST API Reference for CreateDirectoryConfig Operation</seealso> public virtual CreateDirectoryConfigResponse CreateDirectoryConfig(CreateDirectoryConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDirectoryConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDirectoryConfigResponseUnmarshaller.Instance; return Invoke<CreateDirectoryConfigResponse>(request, options); } /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateDirectoryConfig service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateDirectoryConfig service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateDirectoryConfig">REST API Reference for CreateDirectoryConfig Operation</seealso> public virtual Task<CreateDirectoryConfigResponse> CreateDirectoryConfigAsync(CreateDirectoryConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDirectoryConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDirectoryConfigResponseUnmarshaller.Instance; return InvokeAsync<CreateDirectoryConfigResponse>(request, options, cancellationToken); } #endregion #region CreateEntitlement /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateEntitlement service method.</param> /// /// <returns>The response from the CreateEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementAlreadyExistsException"> /// The entitlement already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateEntitlement">REST API Reference for CreateEntitlement Operation</seealso> public virtual CreateEntitlementResponse CreateEntitlement(CreateEntitlementRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateEntitlementRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateEntitlementResponseUnmarshaller.Instance; return Invoke<CreateEntitlementResponse>(request, options); } /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateEntitlement service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementAlreadyExistsException"> /// The entitlement already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateEntitlement">REST API Reference for CreateEntitlement Operation</seealso> public virtual Task<CreateEntitlementResponse> CreateEntitlementAsync(CreateEntitlementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateEntitlementRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateEntitlementResponseUnmarshaller.Instance; return InvokeAsync<CreateEntitlementResponse>(request, options, cancellationToken); } #endregion #region CreateFleet /// <summary> /// Creates a fleet. A fleet consists of streaming instances that your users access for /// their applications and desktops. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateFleet service method.</param> /// /// <returns>The response from the CreateFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateFleet">REST API Reference for CreateFleet Operation</seealso> public virtual CreateFleetResponse CreateFleet(CreateFleetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFleetResponseUnmarshaller.Instance; return Invoke<CreateFleetResponse>(request, options); } /// <summary> /// Creates a fleet. A fleet consists of streaming instances that your users access for /// their applications and desktops. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateFleet service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateFleet">REST API Reference for CreateFleet Operation</seealso> public virtual Task<CreateFleetResponse> CreateFleetAsync(CreateFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFleetResponseUnmarshaller.Instance; return InvokeAsync<CreateFleetResponse>(request, options, cancellationToken); } #endregion #region CreateImageBuilder /// <summary> /// Creates an image builder. An image builder is a virtual machine that is used to create /// an image. /// /// /// <para> /// The initial state of the builder is <code>PENDING</code>. When it is ready, the state /// is <code>RUNNING</code>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateImageBuilder service method.</param> /// /// <returns>The response from the CreateImageBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateImageBuilder">REST API Reference for CreateImageBuilder Operation</seealso> public virtual CreateImageBuilderResponse CreateImageBuilder(CreateImageBuilderRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateImageBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateImageBuilderResponseUnmarshaller.Instance; return Invoke<CreateImageBuilderResponse>(request, options); } /// <summary> /// Creates an image builder. An image builder is a virtual machine that is used to create /// an image. /// /// /// <para> /// The initial state of the builder is <code>PENDING</code>. When it is ready, the state /// is <code>RUNNING</code>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateImageBuilder service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateImageBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateImageBuilder">REST API Reference for CreateImageBuilder Operation</seealso> public virtual Task<CreateImageBuilderResponse> CreateImageBuilderAsync(CreateImageBuilderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateImageBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateImageBuilderResponseUnmarshaller.Instance; return InvokeAsync<CreateImageBuilderResponse>(request, options, cancellationToken); } #endregion #region CreateImageBuilderStreamingURL /// <summary> /// Creates a URL to start an image builder streaming session. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateImageBuilderStreamingURL service method.</param> /// /// <returns>The response from the CreateImageBuilderStreamingURL service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateImageBuilderStreamingURL">REST API Reference for CreateImageBuilderStreamingURL Operation</seealso> public virtual CreateImageBuilderStreamingURLResponse CreateImageBuilderStreamingURL(CreateImageBuilderStreamingURLRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateImageBuilderStreamingURLRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateImageBuilderStreamingURLResponseUnmarshaller.Instance; return Invoke<CreateImageBuilderStreamingURLResponse>(request, options); } /// <summary> /// Creates a URL to start an image builder streaming session. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateImageBuilderStreamingURL service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateImageBuilderStreamingURL service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateImageBuilderStreamingURL">REST API Reference for CreateImageBuilderStreamingURL Operation</seealso> public virtual Task<CreateImageBuilderStreamingURLResponse> CreateImageBuilderStreamingURLAsync(CreateImageBuilderStreamingURLRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateImageBuilderStreamingURLRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateImageBuilderStreamingURLResponseUnmarshaller.Instance; return InvokeAsync<CreateImageBuilderStreamingURLResponse>(request, options, cancellationToken); } #endregion #region CreateStack /// <summary> /// Creates a stack to start streaming applications to users. A stack consists of an associated /// fleet, user access policies, and storage configurations. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateStack service method.</param> /// /// <returns>The response from the CreateStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStack">REST API Reference for CreateStack Operation</seealso> public virtual CreateStackResponse CreateStack(CreateStackRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateStackRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateStackResponseUnmarshaller.Instance; return Invoke<CreateStackResponse>(request, options); } /// <summary> /// Creates a stack to start streaming applications to users. A stack consists of an associated /// fleet, user access policies, and storage configurations. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateStack service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStack">REST API Reference for CreateStack Operation</seealso> public virtual Task<CreateStackResponse> CreateStackAsync(CreateStackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateStackRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateStackResponseUnmarshaller.Instance; return InvokeAsync<CreateStackResponse>(request, options, cancellationToken); } #endregion #region CreateStreamingURL /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateStreamingURL service method.</param> /// /// <returns>The response from the CreateStreamingURL service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStreamingURL">REST API Reference for CreateStreamingURL Operation</seealso> public virtual CreateStreamingURLResponse CreateStreamingURL(CreateStreamingURLRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateStreamingURLRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateStreamingURLResponseUnmarshaller.Instance; return Invoke<CreateStreamingURLResponse>(request, options); } /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateStreamingURL service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateStreamingURL service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStreamingURL">REST API Reference for CreateStreamingURL Operation</seealso> public virtual Task<CreateStreamingURLResponse> CreateStreamingURLAsync(CreateStreamingURLRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateStreamingURLRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateStreamingURLResponseUnmarshaller.Instance; return InvokeAsync<CreateStreamingURLResponse>(request, options, cancellationToken); } #endregion #region CreateUpdatedImage /// <summary> /// Creates a new image with the latest Windows operating system updates, driver updates, /// and AppStream 2.0 agent software. /// /// /// <para> /// For more information, see the "Update an Image by Using Managed AppStream 2.0 Image /// Updates" section in <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/administer-images.html">Administer /// Your AppStream 2.0 Images</a>, in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateUpdatedImage service method.</param> /// /// <returns>The response from the CreateUpdatedImage service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUpdatedImage">REST API Reference for CreateUpdatedImage Operation</seealso> public virtual CreateUpdatedImageResponse CreateUpdatedImage(CreateUpdatedImageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateUpdatedImageRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateUpdatedImageResponseUnmarshaller.Instance; return Invoke<CreateUpdatedImageResponse>(request, options); } /// <summary> /// Creates a new image with the latest Windows operating system updates, driver updates, /// and AppStream 2.0 agent software. /// /// /// <para> /// For more information, see the "Update an Image by Using Managed AppStream 2.0 Image /// Updates" section in <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/administer-images.html">Administer /// Your AppStream 2.0 Images</a>, in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateUpdatedImage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateUpdatedImage service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUpdatedImage">REST API Reference for CreateUpdatedImage Operation</seealso> public virtual Task<CreateUpdatedImageResponse> CreateUpdatedImageAsync(CreateUpdatedImageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateUpdatedImageRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateUpdatedImageResponseUnmarshaller.Instance; return InvokeAsync<CreateUpdatedImageResponse>(request, options, cancellationToken); } #endregion #region CreateUsageReportSubscription /// <summary> /// Creates a usage report subscription. Usage reports are generated daily. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateUsageReportSubscription service method.</param> /// /// <returns>The response from the CreateUsageReportSubscription service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUsageReportSubscription">REST API Reference for CreateUsageReportSubscription Operation</seealso> public virtual CreateUsageReportSubscriptionResponse CreateUsageReportSubscription(CreateUsageReportSubscriptionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateUsageReportSubscriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateUsageReportSubscriptionResponseUnmarshaller.Instance; return Invoke<CreateUsageReportSubscriptionResponse>(request, options); } /// <summary> /// Creates a usage report subscription. Usage reports are generated daily. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateUsageReportSubscription service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateUsageReportSubscription service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUsageReportSubscription">REST API Reference for CreateUsageReportSubscription Operation</seealso> public virtual Task<CreateUsageReportSubscriptionResponse> CreateUsageReportSubscriptionAsync(CreateUsageReportSubscriptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateUsageReportSubscriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateUsageReportSubscriptionResponseUnmarshaller.Instance; return InvokeAsync<CreateUsageReportSubscriptionResponse>(request, options, cancellationToken); } #endregion #region CreateUser /// <summary> /// Creates a new user in the user pool. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateUser service method.</param> /// /// <returns>The response from the CreateUser service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUser">REST API Reference for CreateUser Operation</seealso> public virtual CreateUserResponse CreateUser(CreateUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateUserRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateUserResponseUnmarshaller.Instance; return Invoke<CreateUserResponse>(request, options); } /// <summary> /// Creates a new user in the user pool. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateUser service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUser">REST API Reference for CreateUser Operation</seealso> public virtual Task<CreateUserResponse> CreateUserAsync(CreateUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateUserRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateUserResponseUnmarshaller.Instance; return InvokeAsync<CreateUserResponse>(request, options, cancellationToken); } #endregion #region DeleteAppBlock /// <summary> /// Deletes an app block. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppBlock service method.</param> /// /// <returns>The response from the DeleteAppBlock service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteAppBlock">REST API Reference for DeleteAppBlock Operation</seealso> public virtual DeleteAppBlockResponse DeleteAppBlock(DeleteAppBlockRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppBlockRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppBlockResponseUnmarshaller.Instance; return Invoke<DeleteAppBlockResponse>(request, options); } /// <summary> /// Deletes an app block. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppBlock service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteAppBlock service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteAppBlock">REST API Reference for DeleteAppBlock Operation</seealso> public virtual Task<DeleteAppBlockResponse> DeleteAppBlockAsync(DeleteAppBlockRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppBlockRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppBlockResponseUnmarshaller.Instance; return InvokeAsync<DeleteAppBlockResponse>(request, options, cancellationToken); } #endregion #region DeleteAppBlockBuilder /// <summary> /// Deletes an app block builder. /// /// /// <para> /// An app block builder can only be deleted when it has no association with an app block. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppBlockBuilder service method.</param> /// /// <returns>The response from the DeleteAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteAppBlockBuilder">REST API Reference for DeleteAppBlockBuilder Operation</seealso> public virtual DeleteAppBlockBuilderResponse DeleteAppBlockBuilder(DeleteAppBlockBuilderRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppBlockBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppBlockBuilderResponseUnmarshaller.Instance; return Invoke<DeleteAppBlockBuilderResponse>(request, options); } /// <summary> /// Deletes an app block builder. /// /// /// <para> /// An app block builder can only be deleted when it has no association with an app block. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppBlockBuilder service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteAppBlockBuilder">REST API Reference for DeleteAppBlockBuilder Operation</seealso> public virtual Task<DeleteAppBlockBuilderResponse> DeleteAppBlockBuilderAsync(DeleteAppBlockBuilderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppBlockBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppBlockBuilderResponseUnmarshaller.Instance; return InvokeAsync<DeleteAppBlockBuilderResponse>(request, options, cancellationToken); } #endregion #region DeleteApplication /// <summary> /// Deletes an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteApplication service method.</param> /// /// <returns>The response from the DeleteApplication service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteApplication">REST API Reference for DeleteApplication Operation</seealso> public virtual DeleteApplicationResponse DeleteApplication(DeleteApplicationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteApplicationResponseUnmarshaller.Instance; return Invoke<DeleteApplicationResponse>(request, options); } /// <summary> /// Deletes an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteApplication service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteApplication service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteApplication">REST API Reference for DeleteApplication Operation</seealso> public virtual Task<DeleteApplicationResponse> DeleteApplicationAsync(DeleteApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteApplicationResponseUnmarshaller.Instance; return InvokeAsync<DeleteApplicationResponse>(request, options, cancellationToken); } #endregion #region DeleteDirectoryConfig /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteDirectoryConfig service method.</param> /// /// <returns>The response from the DeleteDirectoryConfig service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteDirectoryConfig">REST API Reference for DeleteDirectoryConfig Operation</seealso> public virtual DeleteDirectoryConfigResponse DeleteDirectoryConfig(DeleteDirectoryConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDirectoryConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDirectoryConfigResponseUnmarshaller.Instance; return Invoke<DeleteDirectoryConfigResponse>(request, options); } /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteDirectoryConfig service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteDirectoryConfig service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteDirectoryConfig">REST API Reference for DeleteDirectoryConfig Operation</seealso> public virtual Task<DeleteDirectoryConfigResponse> DeleteDirectoryConfigAsync(DeleteDirectoryConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDirectoryConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDirectoryConfigResponseUnmarshaller.Instance; return InvokeAsync<DeleteDirectoryConfigResponse>(request, options, cancellationToken); } #endregion #region DeleteEntitlement /// <summary> /// Deletes the specified entitlement. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteEntitlement service method.</param> /// /// <returns>The response from the DeleteEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteEntitlement">REST API Reference for DeleteEntitlement Operation</seealso> public virtual DeleteEntitlementResponse DeleteEntitlement(DeleteEntitlementRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteEntitlementRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteEntitlementResponseUnmarshaller.Instance; return Invoke<DeleteEntitlementResponse>(request, options); } /// <summary> /// Deletes the specified entitlement. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteEntitlement service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteEntitlement">REST API Reference for DeleteEntitlement Operation</seealso> public virtual Task<DeleteEntitlementResponse> DeleteEntitlementAsync(DeleteEntitlementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteEntitlementRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteEntitlementResponseUnmarshaller.Instance; return InvokeAsync<DeleteEntitlementResponse>(request, options, cancellationToken); } #endregion #region DeleteFleet /// <summary> /// Deletes the specified fleet. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteFleet service method.</param> /// /// <returns>The response from the DeleteFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteFleet">REST API Reference for DeleteFleet Operation</seealso> public virtual DeleteFleetResponse DeleteFleet(DeleteFleetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFleetResponseUnmarshaller.Instance; return Invoke<DeleteFleetResponse>(request, options); } /// <summary> /// Deletes the specified fleet. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteFleet service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteFleet">REST API Reference for DeleteFleet Operation</seealso> public virtual Task<DeleteFleetResponse> DeleteFleetAsync(DeleteFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFleetResponseUnmarshaller.Instance; return InvokeAsync<DeleteFleetResponse>(request, options, cancellationToken); } #endregion #region DeleteImage /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteImage service method.</param> /// /// <returns>The response from the DeleteImage service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImage">REST API Reference for DeleteImage Operation</seealso> public virtual DeleteImageResponse DeleteImage(DeleteImageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteImageRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteImageResponseUnmarshaller.Instance; return Invoke<DeleteImageResponse>(request, options); } /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteImage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteImage service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImage">REST API Reference for DeleteImage Operation</seealso> public virtual Task<DeleteImageResponse> DeleteImageAsync(DeleteImageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteImageRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteImageResponseUnmarshaller.Instance; return InvokeAsync<DeleteImageResponse>(request, options, cancellationToken); } #endregion #region DeleteImageBuilder /// <summary> /// Deletes the specified image builder and releases the capacity. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteImageBuilder service method.</param> /// /// <returns>The response from the DeleteImageBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImageBuilder">REST API Reference for DeleteImageBuilder Operation</seealso> public virtual DeleteImageBuilderResponse DeleteImageBuilder(DeleteImageBuilderRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteImageBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteImageBuilderResponseUnmarshaller.Instance; return Invoke<DeleteImageBuilderResponse>(request, options); } /// <summary> /// Deletes the specified image builder and releases the capacity. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteImageBuilder service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteImageBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImageBuilder">REST API Reference for DeleteImageBuilder Operation</seealso> public virtual Task<DeleteImageBuilderResponse> DeleteImageBuilderAsync(DeleteImageBuilderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteImageBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteImageBuilderResponseUnmarshaller.Instance; return InvokeAsync<DeleteImageBuilderResponse>(request, options, cancellationToken); } #endregion #region DeleteImagePermissions /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteImagePermissions service method.</param> /// /// <returns>The response from the DeleteImagePermissions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImagePermissions">REST API Reference for DeleteImagePermissions Operation</seealso> public virtual DeleteImagePermissionsResponse DeleteImagePermissions(DeleteImagePermissionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteImagePermissionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteImagePermissionsResponseUnmarshaller.Instance; return Invoke<DeleteImagePermissionsResponse>(request, options); } /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteImagePermissions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteImagePermissions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImagePermissions">REST API Reference for DeleteImagePermissions Operation</seealso> public virtual Task<DeleteImagePermissionsResponse> DeleteImagePermissionsAsync(DeleteImagePermissionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteImagePermissionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteImagePermissionsResponseUnmarshaller.Instance; return InvokeAsync<DeleteImagePermissionsResponse>(request, options, cancellationToken); } #endregion #region DeleteStack /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteStack service method.</param> /// /// <returns>The response from the DeleteStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteStack">REST API Reference for DeleteStack Operation</seealso> public virtual DeleteStackResponse DeleteStack(DeleteStackRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteStackRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteStackResponseUnmarshaller.Instance; return Invoke<DeleteStackResponse>(request, options); } /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteStack service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteStack">REST API Reference for DeleteStack Operation</seealso> public virtual Task<DeleteStackResponse> DeleteStackAsync(DeleteStackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteStackRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteStackResponseUnmarshaller.Instance; return InvokeAsync<DeleteStackResponse>(request, options, cancellationToken); } #endregion #region DeleteUsageReportSubscription /// <summary> /// Disables usage report generation. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteUsageReportSubscription service method.</param> /// /// <returns>The response from the DeleteUsageReportSubscription service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteUsageReportSubscription">REST API Reference for DeleteUsageReportSubscription Operation</seealso> public virtual DeleteUsageReportSubscriptionResponse DeleteUsageReportSubscription(DeleteUsageReportSubscriptionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteUsageReportSubscriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteUsageReportSubscriptionResponseUnmarshaller.Instance; return Invoke<DeleteUsageReportSubscriptionResponse>(request, options); } /// <summary> /// Disables usage report generation. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteUsageReportSubscription service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteUsageReportSubscription service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteUsageReportSubscription">REST API Reference for DeleteUsageReportSubscription Operation</seealso> public virtual Task<DeleteUsageReportSubscriptionResponse> DeleteUsageReportSubscriptionAsync(DeleteUsageReportSubscriptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteUsageReportSubscriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteUsageReportSubscriptionResponseUnmarshaller.Instance; return InvokeAsync<DeleteUsageReportSubscriptionResponse>(request, options, cancellationToken); } #endregion #region DeleteUser /// <summary> /// Deletes a user from the user pool. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteUser service method.</param> /// /// <returns>The response from the DeleteUser service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteUser">REST API Reference for DeleteUser Operation</seealso> public virtual DeleteUserResponse DeleteUser(DeleteUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteUserResponseUnmarshaller.Instance; return Invoke<DeleteUserResponse>(request, options); } /// <summary> /// Deletes a user from the user pool. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteUser service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteUser">REST API Reference for DeleteUser Operation</seealso> public virtual Task<DeleteUserResponse> DeleteUserAsync(DeleteUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteUserResponseUnmarshaller.Instance; return InvokeAsync<DeleteUserResponse>(request, options, cancellationToken); } #endregion #region DescribeAppBlockBuilderAppBlockAssociations /// <summary> /// Retrieves a list that describes one or more app block builder associations. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppBlockBuilderAppBlockAssociations service method.</param> /// /// <returns>The response from the DescribeAppBlockBuilderAppBlockAssociations service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlockBuilderAppBlockAssociations">REST API Reference for DescribeAppBlockBuilderAppBlockAssociations Operation</seealso> public virtual DescribeAppBlockBuilderAppBlockAssociationsResponse DescribeAppBlockBuilderAppBlockAssociations(DescribeAppBlockBuilderAppBlockAssociationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppBlockBuilderAppBlockAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppBlockBuilderAppBlockAssociationsResponseUnmarshaller.Instance; return Invoke<DescribeAppBlockBuilderAppBlockAssociationsResponse>(request, options); } /// <summary> /// Retrieves a list that describes one or more app block builder associations. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppBlockBuilderAppBlockAssociations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeAppBlockBuilderAppBlockAssociations service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlockBuilderAppBlockAssociations">REST API Reference for DescribeAppBlockBuilderAppBlockAssociations Operation</seealso> public virtual Task<DescribeAppBlockBuilderAppBlockAssociationsResponse> DescribeAppBlockBuilderAppBlockAssociationsAsync(DescribeAppBlockBuilderAppBlockAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppBlockBuilderAppBlockAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppBlockBuilderAppBlockAssociationsResponseUnmarshaller.Instance; return InvokeAsync<DescribeAppBlockBuilderAppBlockAssociationsResponse>(request, options, cancellationToken); } #endregion #region DescribeAppBlockBuilders /// <summary> /// Retrieves a list that describes one or more app block builders. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppBlockBuilders service method.</param> /// /// <returns>The response from the DescribeAppBlockBuilders service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlockBuilders">REST API Reference for DescribeAppBlockBuilders Operation</seealso> public virtual DescribeAppBlockBuildersResponse DescribeAppBlockBuilders(DescribeAppBlockBuildersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppBlockBuildersRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppBlockBuildersResponseUnmarshaller.Instance; return Invoke<DescribeAppBlockBuildersResponse>(request, options); } /// <summary> /// Retrieves a list that describes one or more app block builders. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppBlockBuilders service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeAppBlockBuilders service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlockBuilders">REST API Reference for DescribeAppBlockBuilders Operation</seealso> public virtual Task<DescribeAppBlockBuildersResponse> DescribeAppBlockBuildersAsync(DescribeAppBlockBuildersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppBlockBuildersRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppBlockBuildersResponseUnmarshaller.Instance; return InvokeAsync<DescribeAppBlockBuildersResponse>(request, options, cancellationToken); } #endregion #region DescribeAppBlocks /// <summary> /// Retrieves a list that describes one or more app blocks. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppBlocks service method.</param> /// /// <returns>The response from the DescribeAppBlocks service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlocks">REST API Reference for DescribeAppBlocks Operation</seealso> public virtual DescribeAppBlocksResponse DescribeAppBlocks(DescribeAppBlocksRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppBlocksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppBlocksResponseUnmarshaller.Instance; return Invoke<DescribeAppBlocksResponse>(request, options); } /// <summary> /// Retrieves a list that describes one or more app blocks. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppBlocks service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeAppBlocks service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlocks">REST API Reference for DescribeAppBlocks Operation</seealso> public virtual Task<DescribeAppBlocksResponse> DescribeAppBlocksAsync(DescribeAppBlocksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppBlocksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppBlocksResponseUnmarshaller.Instance; return InvokeAsync<DescribeAppBlocksResponse>(request, options, cancellationToken); } #endregion #region DescribeApplicationFleetAssociations /// <summary> /// Retrieves a list that describes one or more application fleet associations. Either /// ApplicationArn or FleetName must be specified. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeApplicationFleetAssociations service method.</param> /// /// <returns>The response from the DescribeApplicationFleetAssociations service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeApplicationFleetAssociations">REST API Reference for DescribeApplicationFleetAssociations Operation</seealso> public virtual DescribeApplicationFleetAssociationsResponse DescribeApplicationFleetAssociations(DescribeApplicationFleetAssociationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeApplicationFleetAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeApplicationFleetAssociationsResponseUnmarshaller.Instance; return Invoke<DescribeApplicationFleetAssociationsResponse>(request, options); } /// <summary> /// Retrieves a list that describes one or more application fleet associations. Either /// ApplicationArn or FleetName must be specified. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeApplicationFleetAssociations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeApplicationFleetAssociations service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeApplicationFleetAssociations">REST API Reference for DescribeApplicationFleetAssociations Operation</seealso> public virtual Task<DescribeApplicationFleetAssociationsResponse> DescribeApplicationFleetAssociationsAsync(DescribeApplicationFleetAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeApplicationFleetAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeApplicationFleetAssociationsResponseUnmarshaller.Instance; return InvokeAsync<DescribeApplicationFleetAssociationsResponse>(request, options, cancellationToken); } #endregion #region DescribeApplications /// <summary> /// Retrieves a list that describes one or more applications. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeApplications service method.</param> /// /// <returns>The response from the DescribeApplications service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeApplications">REST API Reference for DescribeApplications Operation</seealso> public virtual DescribeApplicationsResponse DescribeApplications(DescribeApplicationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeApplicationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeApplicationsResponseUnmarshaller.Instance; return Invoke<DescribeApplicationsResponse>(request, options); } /// <summary> /// Retrieves a list that describes one or more applications. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeApplications service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeApplications service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeApplications">REST API Reference for DescribeApplications Operation</seealso> public virtual Task<DescribeApplicationsResponse> DescribeApplicationsAsync(DescribeApplicationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeApplicationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeApplicationsResponseUnmarshaller.Instance; return InvokeAsync<DescribeApplicationsResponse>(request, options, cancellationToken); } #endregion #region DescribeDirectoryConfigs /// <summary> /// 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. /// /// /// <para> /// Although the response syntax in this topic includes the account password, this password /// is not returned in the actual response. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeDirectoryConfigs service method.</param> /// /// <returns>The response from the DescribeDirectoryConfigs service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeDirectoryConfigs">REST API Reference for DescribeDirectoryConfigs Operation</seealso> public virtual DescribeDirectoryConfigsResponse DescribeDirectoryConfigs(DescribeDirectoryConfigsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDirectoryConfigsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDirectoryConfigsResponseUnmarshaller.Instance; return Invoke<DescribeDirectoryConfigsResponse>(request, options); } /// <summary> /// 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. /// /// /// <para> /// Although the response syntax in this topic includes the account password, this password /// is not returned in the actual response. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeDirectoryConfigs service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeDirectoryConfigs service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeDirectoryConfigs">REST API Reference for DescribeDirectoryConfigs Operation</seealso> public virtual Task<DescribeDirectoryConfigsResponse> DescribeDirectoryConfigsAsync(DescribeDirectoryConfigsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDirectoryConfigsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDirectoryConfigsResponseUnmarshaller.Instance; return InvokeAsync<DescribeDirectoryConfigsResponse>(request, options, cancellationToken); } #endregion #region DescribeEntitlements /// <summary> /// Retrieves a list that describes one of more entitlements. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeEntitlements service method.</param> /// /// <returns>The response from the DescribeEntitlements service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeEntitlements">REST API Reference for DescribeEntitlements Operation</seealso> public virtual DescribeEntitlementsResponse DescribeEntitlements(DescribeEntitlementsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeEntitlementsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeEntitlementsResponseUnmarshaller.Instance; return Invoke<DescribeEntitlementsResponse>(request, options); } /// <summary> /// Retrieves a list that describes one of more entitlements. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeEntitlements service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeEntitlements service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeEntitlements">REST API Reference for DescribeEntitlements Operation</seealso> public virtual Task<DescribeEntitlementsResponse> DescribeEntitlementsAsync(DescribeEntitlementsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeEntitlementsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeEntitlementsResponseUnmarshaller.Instance; return InvokeAsync<DescribeEntitlementsResponse>(request, options, cancellationToken); } #endregion #region DescribeFleets /// <summary> /// Retrieves a list that describes one or more specified fleets, if the fleet names are /// provided. Otherwise, all fleets in the account are described. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeFleets service method.</param> /// /// <returns>The response from the DescribeFleets service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeFleets">REST API Reference for DescribeFleets Operation</seealso> public virtual DescribeFleetsResponse DescribeFleets(DescribeFleetsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFleetsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFleetsResponseUnmarshaller.Instance; return Invoke<DescribeFleetsResponse>(request, options); } /// <summary> /// Retrieves a list that describes one or more specified fleets, if the fleet names are /// provided. Otherwise, all fleets in the account are described. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeFleets service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeFleets service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeFleets">REST API Reference for DescribeFleets Operation</seealso> public virtual Task<DescribeFleetsResponse> DescribeFleetsAsync(DescribeFleetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFleetsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFleetsResponseUnmarshaller.Instance; return InvokeAsync<DescribeFleetsResponse>(request, options, cancellationToken); } #endregion #region DescribeImageBuilders /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeImageBuilders service method.</param> /// /// <returns>The response from the DescribeImageBuilders service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImageBuilders">REST API Reference for DescribeImageBuilders Operation</seealso> public virtual DescribeImageBuildersResponse DescribeImageBuilders(DescribeImageBuildersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeImageBuildersRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeImageBuildersResponseUnmarshaller.Instance; return Invoke<DescribeImageBuildersResponse>(request, options); } /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeImageBuilders service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeImageBuilders service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImageBuilders">REST API Reference for DescribeImageBuilders Operation</seealso> public virtual Task<DescribeImageBuildersResponse> DescribeImageBuildersAsync(DescribeImageBuildersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeImageBuildersRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeImageBuildersResponseUnmarshaller.Instance; return InvokeAsync<DescribeImageBuildersResponse>(request, options, cancellationToken); } #endregion #region DescribeImagePermissions /// <summary> /// Retrieves a list that describes the permissions for shared AWS account IDs on a private /// image that you own. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeImagePermissions service method.</param> /// /// <returns>The response from the DescribeImagePermissions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImagePermissions">REST API Reference for DescribeImagePermissions Operation</seealso> public virtual DescribeImagePermissionsResponse DescribeImagePermissions(DescribeImagePermissionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeImagePermissionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeImagePermissionsResponseUnmarshaller.Instance; return Invoke<DescribeImagePermissionsResponse>(request, options); } /// <summary> /// Retrieves a list that describes the permissions for shared AWS account IDs on a private /// image that you own. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeImagePermissions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeImagePermissions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImagePermissions">REST API Reference for DescribeImagePermissions Operation</seealso> public virtual Task<DescribeImagePermissionsResponse> DescribeImagePermissionsAsync(DescribeImagePermissionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeImagePermissionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeImagePermissionsResponseUnmarshaller.Instance; return InvokeAsync<DescribeImagePermissionsResponse>(request, options, cancellationToken); } #endregion #region DescribeImages /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeImages service method.</param> /// /// <returns>The response from the DescribeImages service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImages">REST API Reference for DescribeImages Operation</seealso> public virtual DescribeImagesResponse DescribeImages(DescribeImagesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeImagesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeImagesResponseUnmarshaller.Instance; return Invoke<DescribeImagesResponse>(request, options); } /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeImages service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeImages service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImages">REST API Reference for DescribeImages Operation</seealso> public virtual Task<DescribeImagesResponse> DescribeImagesAsync(DescribeImagesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeImagesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeImagesResponseUnmarshaller.Instance; return InvokeAsync<DescribeImagesResponse>(request, options, cancellationToken); } #endregion #region DescribeSessions /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeSessions service method.</param> /// /// <returns>The response from the DescribeSessions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeSessions">REST API Reference for DescribeSessions Operation</seealso> public virtual DescribeSessionsResponse DescribeSessions(DescribeSessionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSessionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSessionsResponseUnmarshaller.Instance; return Invoke<DescribeSessionsResponse>(request, options); } /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeSessions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeSessions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeSessions">REST API Reference for DescribeSessions Operation</seealso> public virtual Task<DescribeSessionsResponse> DescribeSessionsAsync(DescribeSessionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSessionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSessionsResponseUnmarshaller.Instance; return InvokeAsync<DescribeSessionsResponse>(request, options, cancellationToken); } #endregion #region DescribeStacks /// <summary> /// Retrieves a list that describes one or more specified stacks, if the stack names are /// provided. Otherwise, all stacks in the account are described. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeStacks service method.</param> /// /// <returns>The response from the DescribeStacks service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeStacks">REST API Reference for DescribeStacks Operation</seealso> public virtual DescribeStacksResponse DescribeStacks(DescribeStacksRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeStacksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeStacksResponseUnmarshaller.Instance; return Invoke<DescribeStacksResponse>(request, options); } /// <summary> /// Retrieves a list that describes one or more specified stacks, if the stack names are /// provided. Otherwise, all stacks in the account are described. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeStacks service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeStacks service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeStacks">REST API Reference for DescribeStacks Operation</seealso> public virtual Task<DescribeStacksResponse> DescribeStacksAsync(DescribeStacksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeStacksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeStacksResponseUnmarshaller.Instance; return InvokeAsync<DescribeStacksResponse>(request, options, cancellationToken); } #endregion #region DescribeUsageReportSubscriptions /// <summary> /// Retrieves a list that describes one or more usage report subscriptions. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeUsageReportSubscriptions service method.</param> /// /// <returns>The response from the DescribeUsageReportSubscriptions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUsageReportSubscriptions">REST API Reference for DescribeUsageReportSubscriptions Operation</seealso> public virtual DescribeUsageReportSubscriptionsResponse DescribeUsageReportSubscriptions(DescribeUsageReportSubscriptionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeUsageReportSubscriptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeUsageReportSubscriptionsResponseUnmarshaller.Instance; return Invoke<DescribeUsageReportSubscriptionsResponse>(request, options); } /// <summary> /// Retrieves a list that describes one or more usage report subscriptions. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeUsageReportSubscriptions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeUsageReportSubscriptions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUsageReportSubscriptions">REST API Reference for DescribeUsageReportSubscriptions Operation</seealso> public virtual Task<DescribeUsageReportSubscriptionsResponse> DescribeUsageReportSubscriptionsAsync(DescribeUsageReportSubscriptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeUsageReportSubscriptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeUsageReportSubscriptionsResponseUnmarshaller.Instance; return InvokeAsync<DescribeUsageReportSubscriptionsResponse>(request, options, cancellationToken); } #endregion #region DescribeUsers /// <summary> /// Retrieves a list that describes one or more specified users in the user pool. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeUsers service method.</param> /// /// <returns>The response from the DescribeUsers service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUsers">REST API Reference for DescribeUsers Operation</seealso> public virtual DescribeUsersResponse DescribeUsers(DescribeUsersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeUsersRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeUsersResponseUnmarshaller.Instance; return Invoke<DescribeUsersResponse>(request, options); } /// <summary> /// Retrieves a list that describes one or more specified users in the user pool. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeUsers service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeUsers service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUsers">REST API Reference for DescribeUsers Operation</seealso> public virtual Task<DescribeUsersResponse> DescribeUsersAsync(DescribeUsersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeUsersRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeUsersResponseUnmarshaller.Instance; return InvokeAsync<DescribeUsersResponse>(request, options, cancellationToken); } #endregion #region DescribeUserStackAssociations /// <summary> /// Retrieves a list that describes the UserStackAssociation objects. You must specify /// either or both of the following: /// /// <ul> <li> /// <para> /// The stack name /// </para> /// </li> <li> /// <para> /// The user name (email address of the user associated with the stack) and the authentication /// type for the user /// </para> /// </li> </ul> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeUserStackAssociations service method.</param> /// /// <returns>The response from the DescribeUserStackAssociations service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUserStackAssociations">REST API Reference for DescribeUserStackAssociations Operation</seealso> public virtual DescribeUserStackAssociationsResponse DescribeUserStackAssociations(DescribeUserStackAssociationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeUserStackAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeUserStackAssociationsResponseUnmarshaller.Instance; return Invoke<DescribeUserStackAssociationsResponse>(request, options); } /// <summary> /// Retrieves a list that describes the UserStackAssociation objects. You must specify /// either or both of the following: /// /// <ul> <li> /// <para> /// The stack name /// </para> /// </li> <li> /// <para> /// The user name (email address of the user associated with the stack) and the authentication /// type for the user /// </para> /// </li> </ul> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeUserStackAssociations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeUserStackAssociations service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUserStackAssociations">REST API Reference for DescribeUserStackAssociations Operation</seealso> public virtual Task<DescribeUserStackAssociationsResponse> DescribeUserStackAssociationsAsync(DescribeUserStackAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeUserStackAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeUserStackAssociationsResponseUnmarshaller.Instance; return InvokeAsync<DescribeUserStackAssociationsResponse>(request, options, cancellationToken); } #endregion #region DisableUser /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisableUser service method.</param> /// /// <returns>The response from the DisableUser service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisableUser">REST API Reference for DisableUser Operation</seealso> public virtual DisableUserResponse DisableUser(DisableUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisableUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableUserResponseUnmarshaller.Instance; return Invoke<DisableUserResponse>(request, options); } /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisableUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DisableUser service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisableUser">REST API Reference for DisableUser Operation</seealso> public virtual Task<DisableUserResponse> DisableUserAsync(DisableUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisableUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableUserResponseUnmarshaller.Instance; return InvokeAsync<DisableUserResponse>(request, options, cancellationToken); } #endregion #region DisassociateAppBlockBuilderAppBlock /// <summary> /// Disassociates a specified app block builder from a specified app block. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateAppBlockBuilderAppBlock service method.</param> /// /// <returns>The response from the DisassociateAppBlockBuilderAppBlock service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateAppBlockBuilderAppBlock">REST API Reference for DisassociateAppBlockBuilderAppBlock Operation</seealso> public virtual DisassociateAppBlockBuilderAppBlockResponse DisassociateAppBlockBuilderAppBlock(DisassociateAppBlockBuilderAppBlockRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateAppBlockBuilderAppBlockRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateAppBlockBuilderAppBlockResponseUnmarshaller.Instance; return Invoke<DisassociateAppBlockBuilderAppBlockResponse>(request, options); } /// <summary> /// Disassociates a specified app block builder from a specified app block. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateAppBlockBuilderAppBlock service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DisassociateAppBlockBuilderAppBlock service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateAppBlockBuilderAppBlock">REST API Reference for DisassociateAppBlockBuilderAppBlock Operation</seealso> public virtual Task<DisassociateAppBlockBuilderAppBlockResponse> DisassociateAppBlockBuilderAppBlockAsync(DisassociateAppBlockBuilderAppBlockRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateAppBlockBuilderAppBlockRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateAppBlockBuilderAppBlockResponseUnmarshaller.Instance; return InvokeAsync<DisassociateAppBlockBuilderAppBlockResponse>(request, options, cancellationToken); } #endregion #region DisassociateApplicationFleet /// <summary> /// Disassociates the specified application from the fleet. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateApplicationFleet service method.</param> /// /// <returns>The response from the DisassociateApplicationFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateApplicationFleet">REST API Reference for DisassociateApplicationFleet Operation</seealso> public virtual DisassociateApplicationFleetResponse DisassociateApplicationFleet(DisassociateApplicationFleetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateApplicationFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateApplicationFleetResponseUnmarshaller.Instance; return Invoke<DisassociateApplicationFleetResponse>(request, options); } /// <summary> /// Disassociates the specified application from the fleet. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateApplicationFleet service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DisassociateApplicationFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateApplicationFleet">REST API Reference for DisassociateApplicationFleet Operation</seealso> public virtual Task<DisassociateApplicationFleetResponse> DisassociateApplicationFleetAsync(DisassociateApplicationFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateApplicationFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateApplicationFleetResponseUnmarshaller.Instance; return InvokeAsync<DisassociateApplicationFleetResponse>(request, options, cancellationToken); } #endregion #region DisassociateApplicationFromEntitlement /// <summary> /// Deletes the specified application from the specified entitlement. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateApplicationFromEntitlement service method.</param> /// /// <returns>The response from the DisassociateApplicationFromEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateApplicationFromEntitlement">REST API Reference for DisassociateApplicationFromEntitlement Operation</seealso> public virtual DisassociateApplicationFromEntitlementResponse DisassociateApplicationFromEntitlement(DisassociateApplicationFromEntitlementRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateApplicationFromEntitlementRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateApplicationFromEntitlementResponseUnmarshaller.Instance; return Invoke<DisassociateApplicationFromEntitlementResponse>(request, options); } /// <summary> /// Deletes the specified application from the specified entitlement. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateApplicationFromEntitlement service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DisassociateApplicationFromEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateApplicationFromEntitlement">REST API Reference for DisassociateApplicationFromEntitlement Operation</seealso> public virtual Task<DisassociateApplicationFromEntitlementResponse> DisassociateApplicationFromEntitlementAsync(DisassociateApplicationFromEntitlementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateApplicationFromEntitlementRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateApplicationFromEntitlementResponseUnmarshaller.Instance; return InvokeAsync<DisassociateApplicationFromEntitlementResponse>(request, options, cancellationToken); } #endregion #region DisassociateFleet /// <summary> /// Disassociates the specified fleet from the specified stack. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateFleet service method.</param> /// /// <returns>The response from the DisassociateFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateFleet">REST API Reference for DisassociateFleet Operation</seealso> public virtual DisassociateFleetResponse DisassociateFleet(DisassociateFleetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateFleetResponseUnmarshaller.Instance; return Invoke<DisassociateFleetResponse>(request, options); } /// <summary> /// Disassociates the specified fleet from the specified stack. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateFleet service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DisassociateFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateFleet">REST API Reference for DisassociateFleet Operation</seealso> public virtual Task<DisassociateFleetResponse> DisassociateFleetAsync(DisassociateFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateFleetResponseUnmarshaller.Instance; return InvokeAsync<DisassociateFleetResponse>(request, options, cancellationToken); } #endregion #region EnableUser /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the EnableUser service method.</param> /// /// <returns>The response from the EnableUser service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/EnableUser">REST API Reference for EnableUser Operation</seealso> public virtual EnableUserResponse EnableUser(EnableUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = EnableUserRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableUserResponseUnmarshaller.Instance; return Invoke<EnableUserResponse>(request, options); } /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the EnableUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the EnableUser service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/EnableUser">REST API Reference for EnableUser Operation</seealso> public virtual Task<EnableUserResponse> EnableUserAsync(EnableUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = EnableUserRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableUserResponseUnmarshaller.Instance; return InvokeAsync<EnableUserResponse>(request, options, cancellationToken); } #endregion #region ExpireSession /// <summary> /// Immediately stops the specified streaming session. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ExpireSession service method.</param> /// /// <returns>The response from the ExpireSession service method, as returned by AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ExpireSession">REST API Reference for ExpireSession Operation</seealso> public virtual ExpireSessionResponse ExpireSession(ExpireSessionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ExpireSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = ExpireSessionResponseUnmarshaller.Instance; return Invoke<ExpireSessionResponse>(request, options); } /// <summary> /// Immediately stops the specified streaming session. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ExpireSession service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ExpireSession service method, as returned by AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ExpireSession">REST API Reference for ExpireSession Operation</seealso> public virtual Task<ExpireSessionResponse> ExpireSessionAsync(ExpireSessionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ExpireSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = ExpireSessionResponseUnmarshaller.Instance; return InvokeAsync<ExpireSessionResponse>(request, options, cancellationToken); } #endregion #region ListAssociatedFleets /// <summary> /// Retrieves the name of the fleet that is associated with the specified stack. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAssociatedFleets service method.</param> /// /// <returns>The response from the ListAssociatedFleets service method, as returned by AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListAssociatedFleets">REST API Reference for ListAssociatedFleets Operation</seealso> public virtual ListAssociatedFleetsResponse ListAssociatedFleets(ListAssociatedFleetsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssociatedFleetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssociatedFleetsResponseUnmarshaller.Instance; return Invoke<ListAssociatedFleetsResponse>(request, options); } /// <summary> /// Retrieves the name of the fleet that is associated with the specified stack. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAssociatedFleets service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListAssociatedFleets service method, as returned by AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListAssociatedFleets">REST API Reference for ListAssociatedFleets Operation</seealso> public virtual Task<ListAssociatedFleetsResponse> ListAssociatedFleetsAsync(ListAssociatedFleetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssociatedFleetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssociatedFleetsResponseUnmarshaller.Instance; return InvokeAsync<ListAssociatedFleetsResponse>(request, options, cancellationToken); } #endregion #region ListAssociatedStacks /// <summary> /// Retrieves the name of the stack with which the specified fleet is associated. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAssociatedStacks service method.</param> /// /// <returns>The response from the ListAssociatedStacks service method, as returned by AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListAssociatedStacks">REST API Reference for ListAssociatedStacks Operation</seealso> public virtual ListAssociatedStacksResponse ListAssociatedStacks(ListAssociatedStacksRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssociatedStacksRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssociatedStacksResponseUnmarshaller.Instance; return Invoke<ListAssociatedStacksResponse>(request, options); } /// <summary> /// Retrieves the name of the stack with which the specified fleet is associated. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAssociatedStacks service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListAssociatedStacks service method, as returned by AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListAssociatedStacks">REST API Reference for ListAssociatedStacks Operation</seealso> public virtual Task<ListAssociatedStacksResponse> ListAssociatedStacksAsync(ListAssociatedStacksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssociatedStacksRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssociatedStacksResponseUnmarshaller.Instance; return InvokeAsync<ListAssociatedStacksResponse>(request, options, cancellationToken); } #endregion #region ListEntitledApplications /// <summary> /// Retrieves a list of entitled applications. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListEntitledApplications service method.</param> /// /// <returns>The response from the ListEntitledApplications service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListEntitledApplications">REST API Reference for ListEntitledApplications Operation</seealso> public virtual ListEntitledApplicationsResponse ListEntitledApplications(ListEntitledApplicationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListEntitledApplicationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListEntitledApplicationsResponseUnmarshaller.Instance; return Invoke<ListEntitledApplicationsResponse>(request, options); } /// <summary> /// Retrieves a list of entitled applications. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListEntitledApplications service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListEntitledApplications service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListEntitledApplications">REST API Reference for ListEntitledApplications Operation</seealso> public virtual Task<ListEntitledApplicationsResponse> ListEntitledApplicationsAsync(ListEntitledApplicationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListEntitledApplicationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListEntitledApplicationsResponseUnmarshaller.Instance; return InvokeAsync<ListEntitledApplicationsResponse>(request, options, cancellationToken); } #endregion #region ListTagsForResource /// <summary> /// 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. /// /// /// <para> /// For more information about tags, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging /// Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param> /// /// <returns>The response from the ListTagsForResource service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke<ListTagsForResourceResponse>(request, options); } /// <summary> /// 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. /// /// /// <para> /// For more information about tags, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging /// Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListTagsForResource service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> public virtual Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return InvokeAsync<ListTagsForResourceResponse>(request, options, cancellationToken); } #endregion #region StartAppBlockBuilder /// <summary> /// Starts an app block builder. /// /// /// <para> /// An app block builder can only be started when it's associated with an app block. /// </para> /// /// <para> /// Starting an app block builder starts a new instance, which is equivalent to an elastic /// fleet instance with application builder assistance functionality. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartAppBlockBuilder service method.</param> /// /// <returns>The response from the StartAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartAppBlockBuilder">REST API Reference for StartAppBlockBuilder Operation</seealso> public virtual StartAppBlockBuilderResponse StartAppBlockBuilder(StartAppBlockBuilderRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartAppBlockBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = StartAppBlockBuilderResponseUnmarshaller.Instance; return Invoke<StartAppBlockBuilderResponse>(request, options); } /// <summary> /// Starts an app block builder. /// /// /// <para> /// An app block builder can only be started when it's associated with an app block. /// </para> /// /// <para> /// Starting an app block builder starts a new instance, which is equivalent to an elastic /// fleet instance with application builder assistance functionality. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartAppBlockBuilder service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StartAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartAppBlockBuilder">REST API Reference for StartAppBlockBuilder Operation</seealso> public virtual Task<StartAppBlockBuilderResponse> StartAppBlockBuilderAsync(StartAppBlockBuilderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartAppBlockBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = StartAppBlockBuilderResponseUnmarshaller.Instance; return InvokeAsync<StartAppBlockBuilderResponse>(request, options, cancellationToken); } #endregion #region StartFleet /// <summary> /// Starts the specified fleet. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartFleet service method.</param> /// /// <returns>The response from the StartFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartFleet">REST API Reference for StartFleet Operation</seealso> public virtual StartFleetResponse StartFleet(StartFleetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = StartFleetResponseUnmarshaller.Instance; return Invoke<StartFleetResponse>(request, options); } /// <summary> /// Starts the specified fleet. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartFleet service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StartFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartFleet">REST API Reference for StartFleet Operation</seealso> public virtual Task<StartFleetResponse> StartFleetAsync(StartFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = StartFleetResponseUnmarshaller.Instance; return InvokeAsync<StartFleetResponse>(request, options, cancellationToken); } #endregion #region StartImageBuilder /// <summary> /// Starts the specified image builder. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartImageBuilder service method.</param> /// /// <returns>The response from the StartImageBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartImageBuilder">REST API Reference for StartImageBuilder Operation</seealso> public virtual StartImageBuilderResponse StartImageBuilder(StartImageBuilderRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartImageBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = StartImageBuilderResponseUnmarshaller.Instance; return Invoke<StartImageBuilderResponse>(request, options); } /// <summary> /// Starts the specified image builder. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartImageBuilder service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StartImageBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartImageBuilder">REST API Reference for StartImageBuilder Operation</seealso> public virtual Task<StartImageBuilderResponse> StartImageBuilderAsync(StartImageBuilderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartImageBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = StartImageBuilderResponseUnmarshaller.Instance; return InvokeAsync<StartImageBuilderResponse>(request, options, cancellationToken); } #endregion #region StopAppBlockBuilder /// <summary> /// Stops an app block builder. /// /// /// <para> /// Stopping an app block builder terminates the instance, and the instance state is not /// persisted. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the StopAppBlockBuilder service method.</param> /// /// <returns>The response from the StopAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopAppBlockBuilder">REST API Reference for StopAppBlockBuilder Operation</seealso> public virtual StopAppBlockBuilderResponse StopAppBlockBuilder(StopAppBlockBuilderRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StopAppBlockBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = StopAppBlockBuilderResponseUnmarshaller.Instance; return Invoke<StopAppBlockBuilderResponse>(request, options); } /// <summary> /// Stops an app block builder. /// /// /// <para> /// Stopping an app block builder terminates the instance, and the instance state is not /// persisted. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the StopAppBlockBuilder service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StopAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopAppBlockBuilder">REST API Reference for StopAppBlockBuilder Operation</seealso> public virtual Task<StopAppBlockBuilderResponse> StopAppBlockBuilderAsync(StopAppBlockBuilderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StopAppBlockBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = StopAppBlockBuilderResponseUnmarshaller.Instance; return InvokeAsync<StopAppBlockBuilderResponse>(request, options, cancellationToken); } #endregion #region StopFleet /// <summary> /// Stops the specified fleet. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StopFleet service method.</param> /// /// <returns>The response from the StopFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopFleet">REST API Reference for StopFleet Operation</seealso> public virtual StopFleetResponse StopFleet(StopFleetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StopFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = StopFleetResponseUnmarshaller.Instance; return Invoke<StopFleetResponse>(request, options); } /// <summary> /// Stops the specified fleet. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StopFleet service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StopFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopFleet">REST API Reference for StopFleet Operation</seealso> public virtual Task<StopFleetResponse> StopFleetAsync(StopFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StopFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = StopFleetResponseUnmarshaller.Instance; return InvokeAsync<StopFleetResponse>(request, options, cancellationToken); } #endregion #region StopImageBuilder /// <summary> /// Stops the specified image builder. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StopImageBuilder service method.</param> /// /// <returns>The response from the StopImageBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopImageBuilder">REST API Reference for StopImageBuilder Operation</seealso> public virtual StopImageBuilderResponse StopImageBuilder(StopImageBuilderRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StopImageBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = StopImageBuilderResponseUnmarshaller.Instance; return Invoke<StopImageBuilderResponse>(request, options); } /// <summary> /// Stops the specified image builder. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StopImageBuilder service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StopImageBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopImageBuilder">REST API Reference for StopImageBuilder Operation</seealso> public virtual Task<StopImageBuilderResponse> StopImageBuilderAsync(StopImageBuilderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StopImageBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = StopImageBuilderResponseUnmarshaller.Instance; return InvokeAsync<StopImageBuilderResponse>(request, options, cancellationToken); } #endregion #region TagResource /// <summary> /// 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. /// /// /// <para> /// 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. /// </para> /// /// <para> /// To list the current tags for your resources, use <a>ListTagsForResource</a>. To disassociate /// tags from your resources, use <a>UntagResource</a>. /// </para> /// /// <para> /// For more information about tags, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging /// Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param> /// /// <returns>The response from the TagResource service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/TagResource">REST API Reference for TagResource Operation</seealso> public virtual TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke<TagResourceResponse>(request, options); } /// <summary> /// 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. /// /// /// <para> /// 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. /// </para> /// /// <para> /// To list the current tags for your resources, use <a>ListTagsForResource</a>. To disassociate /// tags from your resources, use <a>UntagResource</a>. /// </para> /// /// <para> /// For more information about tags, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging /// Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the TagResource service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/TagResource">REST API Reference for TagResource Operation</seealso> public virtual Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return InvokeAsync<TagResourceResponse>(request, options, cancellationToken); } #endregion #region UntagResource /// <summary> /// Disassociates one or more specified tags from the specified AppStream 2.0 resource. /// /// /// <para> /// To list the current tags for your resources, use <a>ListTagsForResource</a>. /// </para> /// /// <para> /// For more information about tags, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging /// Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param> /// /// <returns>The response from the UntagResource service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UntagResource">REST API Reference for UntagResource Operation</seealso> public virtual UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke<UntagResourceResponse>(request, options); } /// <summary> /// Disassociates one or more specified tags from the specified AppStream 2.0 resource. /// /// /// <para> /// To list the current tags for your resources, use <a>ListTagsForResource</a>. /// </para> /// /// <para> /// For more information about tags, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging /// Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UntagResource service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UntagResource">REST API Reference for UntagResource Operation</seealso> public virtual Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return InvokeAsync<UntagResourceResponse>(request, options, cancellationToken); } #endregion #region UpdateAppBlockBuilder /// <summary> /// Updates an app block builder. /// /// /// <para> /// If the app block builder is in the <code>STARTING</code> or <code>STOPPING</code> /// state, you can't update it. If the app block builder is in the <code>RUNNING</code> /// state, you can only update the DisplayName and Description. If the app block builder /// is in the <code>STOPPED</code> state, you can update any attribute except the Name. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppBlockBuilder service method.</param> /// /// <returns>The response from the UpdateAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateAppBlockBuilder">REST API Reference for UpdateAppBlockBuilder Operation</seealso> public virtual UpdateAppBlockBuilderResponse UpdateAppBlockBuilder(UpdateAppBlockBuilderRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppBlockBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppBlockBuilderResponseUnmarshaller.Instance; return Invoke<UpdateAppBlockBuilderResponse>(request, options); } /// <summary> /// Updates an app block builder. /// /// /// <para> /// If the app block builder is in the <code>STARTING</code> or <code>STOPPING</code> /// state, you can't update it. If the app block builder is in the <code>RUNNING</code> /// state, you can only update the DisplayName and Description. If the app block builder /// is in the <code>STOPPED</code> state, you can update any attribute except the Name. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppBlockBuilder service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateAppBlockBuilder">REST API Reference for UpdateAppBlockBuilder Operation</seealso> public virtual Task<UpdateAppBlockBuilderResponse> UpdateAppBlockBuilderAsync(UpdateAppBlockBuilderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppBlockBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppBlockBuilderResponseUnmarshaller.Instance; return InvokeAsync<UpdateAppBlockBuilderResponse>(request, options, cancellationToken); } #endregion #region UpdateApplication /// <summary> /// Updates the specified application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateApplication service method.</param> /// /// <returns>The response from the UpdateApplication service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateApplication">REST API Reference for UpdateApplication Operation</seealso> public virtual UpdateApplicationResponse UpdateApplication(UpdateApplicationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateApplicationResponseUnmarshaller.Instance; return Invoke<UpdateApplicationResponse>(request, options); } /// <summary> /// Updates the specified application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateApplication service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateApplication service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateApplication">REST API Reference for UpdateApplication Operation</seealso> public virtual Task<UpdateApplicationResponse> UpdateApplicationAsync(UpdateApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateApplicationResponseUnmarshaller.Instance; return InvokeAsync<UpdateApplicationResponse>(request, options, cancellationToken); } #endregion #region UpdateDirectoryConfig /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateDirectoryConfig service method.</param> /// /// <returns>The response from the UpdateDirectoryConfig service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateDirectoryConfig">REST API Reference for UpdateDirectoryConfig Operation</seealso> public virtual UpdateDirectoryConfigResponse UpdateDirectoryConfig(UpdateDirectoryConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDirectoryConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDirectoryConfigResponseUnmarshaller.Instance; return Invoke<UpdateDirectoryConfigResponse>(request, options); } /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateDirectoryConfig service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateDirectoryConfig service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateDirectoryConfig">REST API Reference for UpdateDirectoryConfig Operation</seealso> public virtual Task<UpdateDirectoryConfigResponse> UpdateDirectoryConfigAsync(UpdateDirectoryConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDirectoryConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDirectoryConfigResponseUnmarshaller.Instance; return InvokeAsync<UpdateDirectoryConfigResponse>(request, options, cancellationToken); } #endregion #region UpdateEntitlement /// <summary> /// Updates the specified entitlement. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateEntitlement service method.</param> /// /// <returns>The response from the UpdateEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateEntitlement">REST API Reference for UpdateEntitlement Operation</seealso> public virtual UpdateEntitlementResponse UpdateEntitlement(UpdateEntitlementRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateEntitlementRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateEntitlementResponseUnmarshaller.Instance; return Invoke<UpdateEntitlementResponse>(request, options); } /// <summary> /// Updates the specified entitlement. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateEntitlement service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateEntitlement">REST API Reference for UpdateEntitlement Operation</seealso> public virtual Task<UpdateEntitlementResponse> UpdateEntitlementAsync(UpdateEntitlementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateEntitlementRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateEntitlementResponseUnmarshaller.Instance; return InvokeAsync<UpdateEntitlementResponse>(request, options, cancellationToken); } #endregion #region UpdateFleet /// <summary> /// Updates the specified fleet. /// /// /// <para> /// If the fleet is in the <code>STOPPED</code> state, you can update any attribute except /// the fleet name. /// </para> /// /// <para> /// If the fleet is in the <code>RUNNING</code> state, you can update the following based /// on the fleet type: /// </para> /// <ul> <li> /// <para> /// Always-On and On-Demand fleet types /// </para> /// /// <para> /// You can update the <code>DisplayName</code>, <code>ComputeCapacity</code>, <code>ImageARN</code>, /// <code>ImageName</code>, <code>IdleDisconnectTimeoutInSeconds</code>, and <code>DisconnectTimeoutInSeconds</code> /// attributes. /// </para> /// </li> <li> /// <para> /// Elastic fleet type /// </para> /// /// <para> /// You can update the <code>DisplayName</code>, <code>IdleDisconnectTimeoutInSeconds</code>, /// <code>DisconnectTimeoutInSeconds</code>, <code>MaxConcurrentSessions</code>, <code>SessionScriptS3Location</code> /// and <code>UsbDeviceFilterStrings</code> attributes. /// </para> /// </li> </ul> /// <para> /// If the fleet is in the <code>STARTING</code> or <code>STOPPED</code> state, you can't /// update it. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateFleet service method.</param> /// /// <returns>The response from the UpdateFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateFleet">REST API Reference for UpdateFleet Operation</seealso> public virtual UpdateFleetResponse UpdateFleet(UpdateFleetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateFleetResponseUnmarshaller.Instance; return Invoke<UpdateFleetResponse>(request, options); } /// <summary> /// Updates the specified fleet. /// /// /// <para> /// If the fleet is in the <code>STOPPED</code> state, you can update any attribute except /// the fleet name. /// </para> /// /// <para> /// If the fleet is in the <code>RUNNING</code> state, you can update the following based /// on the fleet type: /// </para> /// <ul> <li> /// <para> /// Always-On and On-Demand fleet types /// </para> /// /// <para> /// You can update the <code>DisplayName</code>, <code>ComputeCapacity</code>, <code>ImageARN</code>, /// <code>ImageName</code>, <code>IdleDisconnectTimeoutInSeconds</code>, and <code>DisconnectTimeoutInSeconds</code> /// attributes. /// </para> /// </li> <li> /// <para> /// Elastic fleet type /// </para> /// /// <para> /// You can update the <code>DisplayName</code>, <code>IdleDisconnectTimeoutInSeconds</code>, /// <code>DisconnectTimeoutInSeconds</code>, <code>MaxConcurrentSessions</code>, <code>SessionScriptS3Location</code> /// and <code>UsbDeviceFilterStrings</code> attributes. /// </para> /// </li> </ul> /// <para> /// If the fleet is in the <code>STARTING</code> or <code>STOPPED</code> state, you can't /// update it. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateFleet service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateFleet">REST API Reference for UpdateFleet Operation</seealso> public virtual Task<UpdateFleetResponse> UpdateFleetAsync(UpdateFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateFleetResponseUnmarshaller.Instance; return InvokeAsync<UpdateFleetResponse>(request, options, cancellationToken); } #endregion #region UpdateImagePermissions /// <summary> /// Adds or updates permissions for the specified private image. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateImagePermissions service method.</param> /// /// <returns>The response from the UpdateImagePermissions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateImagePermissions">REST API Reference for UpdateImagePermissions Operation</seealso> public virtual UpdateImagePermissionsResponse UpdateImagePermissions(UpdateImagePermissionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateImagePermissionsRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateImagePermissionsResponseUnmarshaller.Instance; return Invoke<UpdateImagePermissionsResponse>(request, options); } /// <summary> /// Adds or updates permissions for the specified private image. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateImagePermissions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateImagePermissions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateImagePermissions">REST API Reference for UpdateImagePermissions Operation</seealso> public virtual Task<UpdateImagePermissionsResponse> UpdateImagePermissionsAsync(UpdateImagePermissionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateImagePermissionsRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateImagePermissionsResponseUnmarshaller.Instance; return InvokeAsync<UpdateImagePermissionsResponse>(request, options, cancellationToken); } #endregion #region UpdateStack /// <summary> /// Updates the specified fields for the specified stack. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateStack service method.</param> /// /// <returns>The response from the UpdateStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateStack">REST API Reference for UpdateStack Operation</seealso> public virtual UpdateStackResponse UpdateStack(UpdateStackRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateStackRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateStackResponseUnmarshaller.Instance; return Invoke<UpdateStackResponse>(request, options); } /// <summary> /// Updates the specified fields for the specified stack. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateStack service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateStack">REST API Reference for UpdateStack Operation</seealso> public virtual Task<UpdateStackResponse> UpdateStackAsync(UpdateStackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateStackRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateStackResponseUnmarshaller.Instance; return InvokeAsync<UpdateStackResponse>(request, options, cancellationToken); } #endregion } }
5,450
aws-sdk-net
aws
C#
/* * 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.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.AppStream.Model; namespace Amazon.AppStream { /// <summary> /// Interface for accessing AppStream /// /// Amazon AppStream 2.0 /// <para> /// This is the <i>Amazon AppStream 2.0 API Reference</i>. 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. /// </para> /// <note> /// <para> /// You can call the AppStream 2.0 API operations by using an interface VPC endpoint (interface /// endpoint). For more information, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/access-api-cli-through-interface-vpc-endpoint.html">Access /// AppStream 2.0 API Operations and CLI Commands Through an Interface VPC Endpoint</a> /// in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </note> /// <para> /// To learn more about AppStream 2.0, see the following resources: /// </para> /// <ul> <li> /// <para> /// <a href="http://aws.amazon.com/appstream2">Amazon AppStream 2.0 product page</a> /// /// </para> /// </li> <li> /// <para> /// <a href="http://aws.amazon.com/documentation/appstream2">Amazon AppStream 2.0 documentation</a> /// /// </para> /// </li> </ul> /// </summary> public partial interface IAmazonAppStream : IAmazonService, IDisposable { /// <summary> /// Paginators for the service /// </summary> IAppStreamPaginatorFactory Paginators { get; } #region AssociateAppBlockBuilderAppBlock /// <summary> /// Associates the specified app block builder with the specified app block. /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateAppBlockBuilderAppBlock service method.</param> /// /// <returns>The response from the AssociateAppBlockBuilderAppBlock service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateAppBlockBuilderAppBlock">REST API Reference for AssociateAppBlockBuilderAppBlock Operation</seealso> AssociateAppBlockBuilderAppBlockResponse AssociateAppBlockBuilderAppBlock(AssociateAppBlockBuilderAppBlockRequest request); /// <summary> /// Associates the specified app block builder with the specified app block. /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateAppBlockBuilderAppBlock service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the AssociateAppBlockBuilderAppBlock service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateAppBlockBuilderAppBlock">REST API Reference for AssociateAppBlockBuilderAppBlock Operation</seealso> Task<AssociateAppBlockBuilderAppBlockResponse> AssociateAppBlockBuilderAppBlockAsync(AssociateAppBlockBuilderAppBlockRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region AssociateApplicationFleet /// <summary> /// Associates the specified application with the specified fleet. This is only supported /// for Elastic fleets. /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateApplicationFleet service method.</param> /// /// <returns>The response from the AssociateApplicationFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateApplicationFleet">REST API Reference for AssociateApplicationFleet Operation</seealso> AssociateApplicationFleetResponse AssociateApplicationFleet(AssociateApplicationFleetRequest request); /// <summary> /// Associates the specified application with the specified fleet. This is only supported /// for Elastic fleets. /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateApplicationFleet service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the AssociateApplicationFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateApplicationFleet">REST API Reference for AssociateApplicationFleet Operation</seealso> Task<AssociateApplicationFleetResponse> AssociateApplicationFleetAsync(AssociateApplicationFleetRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region AssociateApplicationToEntitlement /// <summary> /// Associates an application to entitle. /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateApplicationToEntitlement service method.</param> /// /// <returns>The response from the AssociateApplicationToEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateApplicationToEntitlement">REST API Reference for AssociateApplicationToEntitlement Operation</seealso> AssociateApplicationToEntitlementResponse AssociateApplicationToEntitlement(AssociateApplicationToEntitlementRequest request); /// <summary> /// Associates an application to entitle. /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateApplicationToEntitlement service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the AssociateApplicationToEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateApplicationToEntitlement">REST API Reference for AssociateApplicationToEntitlement Operation</seealso> Task<AssociateApplicationToEntitlementResponse> AssociateApplicationToEntitlementAsync(AssociateApplicationToEntitlementRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region AssociateFleet /// <summary> /// Associates the specified fleet with the specified stack. /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateFleet service method.</param> /// /// <returns>The response from the AssociateFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateFleet">REST API Reference for AssociateFleet Operation</seealso> AssociateFleetResponse AssociateFleet(AssociateFleetRequest request); /// <summary> /// Associates the specified fleet with the specified stack. /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateFleet service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the AssociateFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateFleet">REST API Reference for AssociateFleet Operation</seealso> Task<AssociateFleetResponse> AssociateFleetAsync(AssociateFleetRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchAssociateUserStack /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchAssociateUserStack service method.</param> /// /// <returns>The response from the BatchAssociateUserStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/BatchAssociateUserStack">REST API Reference for BatchAssociateUserStack Operation</seealso> BatchAssociateUserStackResponse BatchAssociateUserStack(BatchAssociateUserStackRequest request); /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchAssociateUserStack service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the BatchAssociateUserStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/BatchAssociateUserStack">REST API Reference for BatchAssociateUserStack Operation</seealso> Task<BatchAssociateUserStackResponse> BatchAssociateUserStackAsync(BatchAssociateUserStackRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchDisassociateUserStack /// <summary> /// Disassociates the specified users from the specified stacks. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchDisassociateUserStack service method.</param> /// /// <returns>The response from the BatchDisassociateUserStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/BatchDisassociateUserStack">REST API Reference for BatchDisassociateUserStack Operation</seealso> BatchDisassociateUserStackResponse BatchDisassociateUserStack(BatchDisassociateUserStackRequest request); /// <summary> /// Disassociates the specified users from the specified stacks. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchDisassociateUserStack service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the BatchDisassociateUserStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/BatchDisassociateUserStack">REST API Reference for BatchDisassociateUserStack Operation</seealso> Task<BatchDisassociateUserStackResponse> BatchDisassociateUserStackAsync(BatchDisassociateUserStackRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CopyImage /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CopyImage service method.</param> /// /// <returns>The response from the CopyImage service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CopyImage">REST API Reference for CopyImage Operation</seealso> CopyImageResponse CopyImage(CopyImageRequest request); /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CopyImage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CopyImage service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CopyImage">REST API Reference for CopyImage Operation</seealso> Task<CopyImageResponse> CopyImageAsync(CopyImageRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateAppBlock /// <summary> /// Creates an app block. /// /// /// <para> /// 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. /// </para> /// /// <para> /// This is only supported for Elastic fleets. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppBlock service method.</param> /// /// <returns>The response from the CreateAppBlock service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlock">REST API Reference for CreateAppBlock Operation</seealso> CreateAppBlockResponse CreateAppBlock(CreateAppBlockRequest request); /// <summary> /// Creates an app block. /// /// /// <para> /// 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. /// </para> /// /// <para> /// This is only supported for Elastic fleets. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppBlock service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateAppBlock service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlock">REST API Reference for CreateAppBlock Operation</seealso> Task<CreateAppBlockResponse> CreateAppBlockAsync(CreateAppBlockRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateAppBlockBuilder /// <summary> /// Creates an app block builder. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppBlockBuilder service method.</param> /// /// <returns>The response from the CreateAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlockBuilder">REST API Reference for CreateAppBlockBuilder Operation</seealso> CreateAppBlockBuilderResponse CreateAppBlockBuilder(CreateAppBlockBuilderRequest request); /// <summary> /// Creates an app block builder. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppBlockBuilder service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlockBuilder">REST API Reference for CreateAppBlockBuilder Operation</seealso> Task<CreateAppBlockBuilderResponse> CreateAppBlockBuilderAsync(CreateAppBlockBuilderRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateAppBlockBuilderStreamingURL /// <summary> /// Creates a URL to start a create app block builder streaming session. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppBlockBuilderStreamingURL service method.</param> /// /// <returns>The response from the CreateAppBlockBuilderStreamingURL service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlockBuilderStreamingURL">REST API Reference for CreateAppBlockBuilderStreamingURL Operation</seealso> CreateAppBlockBuilderStreamingURLResponse CreateAppBlockBuilderStreamingURL(CreateAppBlockBuilderStreamingURLRequest request); /// <summary> /// Creates a URL to start a create app block builder streaming session. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppBlockBuilderStreamingURL service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateAppBlockBuilderStreamingURL service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlockBuilderStreamingURL">REST API Reference for CreateAppBlockBuilderStreamingURL Operation</seealso> Task<CreateAppBlockBuilderStreamingURLResponse> CreateAppBlockBuilderStreamingURLAsync(CreateAppBlockBuilderStreamingURLRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateApplication /// <summary> /// Creates an application. /// /// /// <para> /// 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. /// </para> /// /// <para> /// This is only supported for Elastic fleets. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateApplication service method.</param> /// /// <returns>The response from the CreateApplication service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateApplication">REST API Reference for CreateApplication Operation</seealso> CreateApplicationResponse CreateApplication(CreateApplicationRequest request); /// <summary> /// Creates an application. /// /// /// <para> /// 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. /// </para> /// /// <para> /// This is only supported for Elastic fleets. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateApplication service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateApplication service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateApplication">REST API Reference for CreateApplication Operation</seealso> Task<CreateApplicationResponse> CreateApplicationAsync(CreateApplicationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateDirectoryConfig /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateDirectoryConfig service method.</param> /// /// <returns>The response from the CreateDirectoryConfig service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateDirectoryConfig">REST API Reference for CreateDirectoryConfig Operation</seealso> CreateDirectoryConfigResponse CreateDirectoryConfig(CreateDirectoryConfigRequest request); /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateDirectoryConfig service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateDirectoryConfig service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateDirectoryConfig">REST API Reference for CreateDirectoryConfig Operation</seealso> Task<CreateDirectoryConfigResponse> CreateDirectoryConfigAsync(CreateDirectoryConfigRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateEntitlement /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateEntitlement service method.</param> /// /// <returns>The response from the CreateEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementAlreadyExistsException"> /// The entitlement already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateEntitlement">REST API Reference for CreateEntitlement Operation</seealso> CreateEntitlementResponse CreateEntitlement(CreateEntitlementRequest request); /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateEntitlement service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementAlreadyExistsException"> /// The entitlement already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateEntitlement">REST API Reference for CreateEntitlement Operation</seealso> Task<CreateEntitlementResponse> CreateEntitlementAsync(CreateEntitlementRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateFleet /// <summary> /// Creates a fleet. A fleet consists of streaming instances that your users access for /// their applications and desktops. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateFleet service method.</param> /// /// <returns>The response from the CreateFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateFleet">REST API Reference for CreateFleet Operation</seealso> CreateFleetResponse CreateFleet(CreateFleetRequest request); /// <summary> /// Creates a fleet. A fleet consists of streaming instances that your users access for /// their applications and desktops. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateFleet service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateFleet">REST API Reference for CreateFleet Operation</seealso> Task<CreateFleetResponse> CreateFleetAsync(CreateFleetRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateImageBuilder /// <summary> /// Creates an image builder. An image builder is a virtual machine that is used to create /// an image. /// /// /// <para> /// The initial state of the builder is <code>PENDING</code>. When it is ready, the state /// is <code>RUNNING</code>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateImageBuilder service method.</param> /// /// <returns>The response from the CreateImageBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateImageBuilder">REST API Reference for CreateImageBuilder Operation</seealso> CreateImageBuilderResponse CreateImageBuilder(CreateImageBuilderRequest request); /// <summary> /// Creates an image builder. An image builder is a virtual machine that is used to create /// an image. /// /// /// <para> /// The initial state of the builder is <code>PENDING</code>. When it is ready, the state /// is <code>RUNNING</code>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateImageBuilder service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateImageBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateImageBuilder">REST API Reference for CreateImageBuilder Operation</seealso> Task<CreateImageBuilderResponse> CreateImageBuilderAsync(CreateImageBuilderRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateImageBuilderStreamingURL /// <summary> /// Creates a URL to start an image builder streaming session. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateImageBuilderStreamingURL service method.</param> /// /// <returns>The response from the CreateImageBuilderStreamingURL service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateImageBuilderStreamingURL">REST API Reference for CreateImageBuilderStreamingURL Operation</seealso> CreateImageBuilderStreamingURLResponse CreateImageBuilderStreamingURL(CreateImageBuilderStreamingURLRequest request); /// <summary> /// Creates a URL to start an image builder streaming session. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateImageBuilderStreamingURL service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateImageBuilderStreamingURL service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateImageBuilderStreamingURL">REST API Reference for CreateImageBuilderStreamingURL Operation</seealso> Task<CreateImageBuilderStreamingURLResponse> CreateImageBuilderStreamingURLAsync(CreateImageBuilderStreamingURLRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateStack /// <summary> /// Creates a stack to start streaming applications to users. A stack consists of an associated /// fleet, user access policies, and storage configurations. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateStack service method.</param> /// /// <returns>The response from the CreateStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStack">REST API Reference for CreateStack Operation</seealso> CreateStackResponse CreateStack(CreateStackRequest request); /// <summary> /// Creates a stack to start streaming applications to users. A stack consists of an associated /// fleet, user access policies, and storage configurations. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateStack service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStack">REST API Reference for CreateStack Operation</seealso> Task<CreateStackResponse> CreateStackAsync(CreateStackRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateStreamingURL /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateStreamingURL service method.</param> /// /// <returns>The response from the CreateStreamingURL service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStreamingURL">REST API Reference for CreateStreamingURL Operation</seealso> CreateStreamingURLResponse CreateStreamingURL(CreateStreamingURLRequest request); /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateStreamingURL service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateStreamingURL service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStreamingURL">REST API Reference for CreateStreamingURL Operation</seealso> Task<CreateStreamingURLResponse> CreateStreamingURLAsync(CreateStreamingURLRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateUpdatedImage /// <summary> /// Creates a new image with the latest Windows operating system updates, driver updates, /// and AppStream 2.0 agent software. /// /// /// <para> /// For more information, see the "Update an Image by Using Managed AppStream 2.0 Image /// Updates" section in <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/administer-images.html">Administer /// Your AppStream 2.0 Images</a>, in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateUpdatedImage service method.</param> /// /// <returns>The response from the CreateUpdatedImage service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUpdatedImage">REST API Reference for CreateUpdatedImage Operation</seealso> CreateUpdatedImageResponse CreateUpdatedImage(CreateUpdatedImageRequest request); /// <summary> /// Creates a new image with the latest Windows operating system updates, driver updates, /// and AppStream 2.0 agent software. /// /// /// <para> /// For more information, see the "Update an Image by Using Managed AppStream 2.0 Image /// Updates" section in <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/administer-images.html">Administer /// Your AppStream 2.0 Images</a>, in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateUpdatedImage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateUpdatedImage service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUpdatedImage">REST API Reference for CreateUpdatedImage Operation</seealso> Task<CreateUpdatedImageResponse> CreateUpdatedImageAsync(CreateUpdatedImageRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateUsageReportSubscription /// <summary> /// Creates a usage report subscription. Usage reports are generated daily. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateUsageReportSubscription service method.</param> /// /// <returns>The response from the CreateUsageReportSubscription service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUsageReportSubscription">REST API Reference for CreateUsageReportSubscription Operation</seealso> CreateUsageReportSubscriptionResponse CreateUsageReportSubscription(CreateUsageReportSubscriptionRequest request); /// <summary> /// Creates a usage report subscription. Usage reports are generated daily. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateUsageReportSubscription service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateUsageReportSubscription service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUsageReportSubscription">REST API Reference for CreateUsageReportSubscription Operation</seealso> Task<CreateUsageReportSubscriptionResponse> CreateUsageReportSubscriptionAsync(CreateUsageReportSubscriptionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateUser /// <summary> /// Creates a new user in the user pool. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateUser service method.</param> /// /// <returns>The response from the CreateUser service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUser">REST API Reference for CreateUser Operation</seealso> CreateUserResponse CreateUser(CreateUserRequest request); /// <summary> /// Creates a new user in the user pool. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateUser service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUser">REST API Reference for CreateUser Operation</seealso> Task<CreateUserResponse> CreateUserAsync(CreateUserRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteAppBlock /// <summary> /// Deletes an app block. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppBlock service method.</param> /// /// <returns>The response from the DeleteAppBlock service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteAppBlock">REST API Reference for DeleteAppBlock Operation</seealso> DeleteAppBlockResponse DeleteAppBlock(DeleteAppBlockRequest request); /// <summary> /// Deletes an app block. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppBlock service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteAppBlock service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteAppBlock">REST API Reference for DeleteAppBlock Operation</seealso> Task<DeleteAppBlockResponse> DeleteAppBlockAsync(DeleteAppBlockRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteAppBlockBuilder /// <summary> /// Deletes an app block builder. /// /// /// <para> /// An app block builder can only be deleted when it has no association with an app block. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppBlockBuilder service method.</param> /// /// <returns>The response from the DeleteAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteAppBlockBuilder">REST API Reference for DeleteAppBlockBuilder Operation</seealso> DeleteAppBlockBuilderResponse DeleteAppBlockBuilder(DeleteAppBlockBuilderRequest request); /// <summary> /// Deletes an app block builder. /// /// /// <para> /// An app block builder can only be deleted when it has no association with an app block. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppBlockBuilder service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteAppBlockBuilder">REST API Reference for DeleteAppBlockBuilder Operation</seealso> Task<DeleteAppBlockBuilderResponse> DeleteAppBlockBuilderAsync(DeleteAppBlockBuilderRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteApplication /// <summary> /// Deletes an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteApplication service method.</param> /// /// <returns>The response from the DeleteApplication service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteApplication">REST API Reference for DeleteApplication Operation</seealso> DeleteApplicationResponse DeleteApplication(DeleteApplicationRequest request); /// <summary> /// Deletes an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteApplication service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteApplication service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteApplication">REST API Reference for DeleteApplication Operation</seealso> Task<DeleteApplicationResponse> DeleteApplicationAsync(DeleteApplicationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteDirectoryConfig /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteDirectoryConfig service method.</param> /// /// <returns>The response from the DeleteDirectoryConfig service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteDirectoryConfig">REST API Reference for DeleteDirectoryConfig Operation</seealso> DeleteDirectoryConfigResponse DeleteDirectoryConfig(DeleteDirectoryConfigRequest request); /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteDirectoryConfig service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteDirectoryConfig service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteDirectoryConfig">REST API Reference for DeleteDirectoryConfig Operation</seealso> Task<DeleteDirectoryConfigResponse> DeleteDirectoryConfigAsync(DeleteDirectoryConfigRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteEntitlement /// <summary> /// Deletes the specified entitlement. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteEntitlement service method.</param> /// /// <returns>The response from the DeleteEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteEntitlement">REST API Reference for DeleteEntitlement Operation</seealso> DeleteEntitlementResponse DeleteEntitlement(DeleteEntitlementRequest request); /// <summary> /// Deletes the specified entitlement. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteEntitlement service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteEntitlement">REST API Reference for DeleteEntitlement Operation</seealso> Task<DeleteEntitlementResponse> DeleteEntitlementAsync(DeleteEntitlementRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteFleet /// <summary> /// Deletes the specified fleet. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteFleet service method.</param> /// /// <returns>The response from the DeleteFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteFleet">REST API Reference for DeleteFleet Operation</seealso> DeleteFleetResponse DeleteFleet(DeleteFleetRequest request); /// <summary> /// Deletes the specified fleet. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteFleet service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteFleet">REST API Reference for DeleteFleet Operation</seealso> Task<DeleteFleetResponse> DeleteFleetAsync(DeleteFleetRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteImage /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteImage service method.</param> /// /// <returns>The response from the DeleteImage service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImage">REST API Reference for DeleteImage Operation</seealso> DeleteImageResponse DeleteImage(DeleteImageRequest request); /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteImage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteImage service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImage">REST API Reference for DeleteImage Operation</seealso> Task<DeleteImageResponse> DeleteImageAsync(DeleteImageRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteImageBuilder /// <summary> /// Deletes the specified image builder and releases the capacity. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteImageBuilder service method.</param> /// /// <returns>The response from the DeleteImageBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImageBuilder">REST API Reference for DeleteImageBuilder Operation</seealso> DeleteImageBuilderResponse DeleteImageBuilder(DeleteImageBuilderRequest request); /// <summary> /// Deletes the specified image builder and releases the capacity. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteImageBuilder service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteImageBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImageBuilder">REST API Reference for DeleteImageBuilder Operation</seealso> Task<DeleteImageBuilderResponse> DeleteImageBuilderAsync(DeleteImageBuilderRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteImagePermissions /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteImagePermissions service method.</param> /// /// <returns>The response from the DeleteImagePermissions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImagePermissions">REST API Reference for DeleteImagePermissions Operation</seealso> DeleteImagePermissionsResponse DeleteImagePermissions(DeleteImagePermissionsRequest request); /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteImagePermissions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteImagePermissions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImagePermissions">REST API Reference for DeleteImagePermissions Operation</seealso> Task<DeleteImagePermissionsResponse> DeleteImagePermissionsAsync(DeleteImagePermissionsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteStack /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteStack service method.</param> /// /// <returns>The response from the DeleteStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteStack">REST API Reference for DeleteStack Operation</seealso> DeleteStackResponse DeleteStack(DeleteStackRequest request); /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteStack service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteStack">REST API Reference for DeleteStack Operation</seealso> Task<DeleteStackResponse> DeleteStackAsync(DeleteStackRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteUsageReportSubscription /// <summary> /// Disables usage report generation. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteUsageReportSubscription service method.</param> /// /// <returns>The response from the DeleteUsageReportSubscription service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteUsageReportSubscription">REST API Reference for DeleteUsageReportSubscription Operation</seealso> DeleteUsageReportSubscriptionResponse DeleteUsageReportSubscription(DeleteUsageReportSubscriptionRequest request); /// <summary> /// Disables usage report generation. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteUsageReportSubscription service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteUsageReportSubscription service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteUsageReportSubscription">REST API Reference for DeleteUsageReportSubscription Operation</seealso> Task<DeleteUsageReportSubscriptionResponse> DeleteUsageReportSubscriptionAsync(DeleteUsageReportSubscriptionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteUser /// <summary> /// Deletes a user from the user pool. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteUser service method.</param> /// /// <returns>The response from the DeleteUser service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteUser">REST API Reference for DeleteUser Operation</seealso> DeleteUserResponse DeleteUser(DeleteUserRequest request); /// <summary> /// Deletes a user from the user pool. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteUser service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteUser">REST API Reference for DeleteUser Operation</seealso> Task<DeleteUserResponse> DeleteUserAsync(DeleteUserRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeAppBlockBuilderAppBlockAssociations /// <summary> /// Retrieves a list that describes one or more app block builder associations. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppBlockBuilderAppBlockAssociations service method.</param> /// /// <returns>The response from the DescribeAppBlockBuilderAppBlockAssociations service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlockBuilderAppBlockAssociations">REST API Reference for DescribeAppBlockBuilderAppBlockAssociations Operation</seealso> DescribeAppBlockBuilderAppBlockAssociationsResponse DescribeAppBlockBuilderAppBlockAssociations(DescribeAppBlockBuilderAppBlockAssociationsRequest request); /// <summary> /// Retrieves a list that describes one or more app block builder associations. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppBlockBuilderAppBlockAssociations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeAppBlockBuilderAppBlockAssociations service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlockBuilderAppBlockAssociations">REST API Reference for DescribeAppBlockBuilderAppBlockAssociations Operation</seealso> Task<DescribeAppBlockBuilderAppBlockAssociationsResponse> DescribeAppBlockBuilderAppBlockAssociationsAsync(DescribeAppBlockBuilderAppBlockAssociationsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeAppBlockBuilders /// <summary> /// Retrieves a list that describes one or more app block builders. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppBlockBuilders service method.</param> /// /// <returns>The response from the DescribeAppBlockBuilders service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlockBuilders">REST API Reference for DescribeAppBlockBuilders Operation</seealso> DescribeAppBlockBuildersResponse DescribeAppBlockBuilders(DescribeAppBlockBuildersRequest request); /// <summary> /// Retrieves a list that describes one or more app block builders. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppBlockBuilders service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeAppBlockBuilders service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlockBuilders">REST API Reference for DescribeAppBlockBuilders Operation</seealso> Task<DescribeAppBlockBuildersResponse> DescribeAppBlockBuildersAsync(DescribeAppBlockBuildersRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeAppBlocks /// <summary> /// Retrieves a list that describes one or more app blocks. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppBlocks service method.</param> /// /// <returns>The response from the DescribeAppBlocks service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlocks">REST API Reference for DescribeAppBlocks Operation</seealso> DescribeAppBlocksResponse DescribeAppBlocks(DescribeAppBlocksRequest request); /// <summary> /// Retrieves a list that describes one or more app blocks. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppBlocks service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeAppBlocks service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlocks">REST API Reference for DescribeAppBlocks Operation</seealso> Task<DescribeAppBlocksResponse> DescribeAppBlocksAsync(DescribeAppBlocksRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeApplicationFleetAssociations /// <summary> /// Retrieves a list that describes one or more application fleet associations. Either /// ApplicationArn or FleetName must be specified. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeApplicationFleetAssociations service method.</param> /// /// <returns>The response from the DescribeApplicationFleetAssociations service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeApplicationFleetAssociations">REST API Reference for DescribeApplicationFleetAssociations Operation</seealso> DescribeApplicationFleetAssociationsResponse DescribeApplicationFleetAssociations(DescribeApplicationFleetAssociationsRequest request); /// <summary> /// Retrieves a list that describes one or more application fleet associations. Either /// ApplicationArn or FleetName must be specified. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeApplicationFleetAssociations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeApplicationFleetAssociations service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeApplicationFleetAssociations">REST API Reference for DescribeApplicationFleetAssociations Operation</seealso> Task<DescribeApplicationFleetAssociationsResponse> DescribeApplicationFleetAssociationsAsync(DescribeApplicationFleetAssociationsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeApplications /// <summary> /// Retrieves a list that describes one or more applications. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeApplications service method.</param> /// /// <returns>The response from the DescribeApplications service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeApplications">REST API Reference for DescribeApplications Operation</seealso> DescribeApplicationsResponse DescribeApplications(DescribeApplicationsRequest request); /// <summary> /// Retrieves a list that describes one or more applications. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeApplications service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeApplications service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeApplications">REST API Reference for DescribeApplications Operation</seealso> Task<DescribeApplicationsResponse> DescribeApplicationsAsync(DescribeApplicationsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeDirectoryConfigs /// <summary> /// 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. /// /// /// <para> /// Although the response syntax in this topic includes the account password, this password /// is not returned in the actual response. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeDirectoryConfigs service method.</param> /// /// <returns>The response from the DescribeDirectoryConfigs service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeDirectoryConfigs">REST API Reference for DescribeDirectoryConfigs Operation</seealso> DescribeDirectoryConfigsResponse DescribeDirectoryConfigs(DescribeDirectoryConfigsRequest request); /// <summary> /// 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. /// /// /// <para> /// Although the response syntax in this topic includes the account password, this password /// is not returned in the actual response. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeDirectoryConfigs service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeDirectoryConfigs service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeDirectoryConfigs">REST API Reference for DescribeDirectoryConfigs Operation</seealso> Task<DescribeDirectoryConfigsResponse> DescribeDirectoryConfigsAsync(DescribeDirectoryConfigsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeEntitlements /// <summary> /// Retrieves a list that describes one of more entitlements. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeEntitlements service method.</param> /// /// <returns>The response from the DescribeEntitlements service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeEntitlements">REST API Reference for DescribeEntitlements Operation</seealso> DescribeEntitlementsResponse DescribeEntitlements(DescribeEntitlementsRequest request); /// <summary> /// Retrieves a list that describes one of more entitlements. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeEntitlements service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeEntitlements service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeEntitlements">REST API Reference for DescribeEntitlements Operation</seealso> Task<DescribeEntitlementsResponse> DescribeEntitlementsAsync(DescribeEntitlementsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeFleets /// <summary> /// Retrieves a list that describes one or more specified fleets, if the fleet names are /// provided. Otherwise, all fleets in the account are described. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeFleets service method.</param> /// /// <returns>The response from the DescribeFleets service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeFleets">REST API Reference for DescribeFleets Operation</seealso> DescribeFleetsResponse DescribeFleets(DescribeFleetsRequest request); /// <summary> /// Retrieves a list that describes one or more specified fleets, if the fleet names are /// provided. Otherwise, all fleets in the account are described. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeFleets service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeFleets service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeFleets">REST API Reference for DescribeFleets Operation</seealso> Task<DescribeFleetsResponse> DescribeFleetsAsync(DescribeFleetsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeImageBuilders /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeImageBuilders service method.</param> /// /// <returns>The response from the DescribeImageBuilders service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImageBuilders">REST API Reference for DescribeImageBuilders Operation</seealso> DescribeImageBuildersResponse DescribeImageBuilders(DescribeImageBuildersRequest request); /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeImageBuilders service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeImageBuilders service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImageBuilders">REST API Reference for DescribeImageBuilders Operation</seealso> Task<DescribeImageBuildersResponse> DescribeImageBuildersAsync(DescribeImageBuildersRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeImagePermissions /// <summary> /// Retrieves a list that describes the permissions for shared AWS account IDs on a private /// image that you own. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeImagePermissions service method.</param> /// /// <returns>The response from the DescribeImagePermissions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImagePermissions">REST API Reference for DescribeImagePermissions Operation</seealso> DescribeImagePermissionsResponse DescribeImagePermissions(DescribeImagePermissionsRequest request); /// <summary> /// Retrieves a list that describes the permissions for shared AWS account IDs on a private /// image that you own. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeImagePermissions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeImagePermissions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImagePermissions">REST API Reference for DescribeImagePermissions Operation</seealso> Task<DescribeImagePermissionsResponse> DescribeImagePermissionsAsync(DescribeImagePermissionsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeImages /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeImages service method.</param> /// /// <returns>The response from the DescribeImages service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImages">REST API Reference for DescribeImages Operation</seealso> DescribeImagesResponse DescribeImages(DescribeImagesRequest request); /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeImages service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeImages service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImages">REST API Reference for DescribeImages Operation</seealso> Task<DescribeImagesResponse> DescribeImagesAsync(DescribeImagesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeSessions /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeSessions service method.</param> /// /// <returns>The response from the DescribeSessions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeSessions">REST API Reference for DescribeSessions Operation</seealso> DescribeSessionsResponse DescribeSessions(DescribeSessionsRequest request); /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeSessions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeSessions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeSessions">REST API Reference for DescribeSessions Operation</seealso> Task<DescribeSessionsResponse> DescribeSessionsAsync(DescribeSessionsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeStacks /// <summary> /// Retrieves a list that describes one or more specified stacks, if the stack names are /// provided. Otherwise, all stacks in the account are described. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeStacks service method.</param> /// /// <returns>The response from the DescribeStacks service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeStacks">REST API Reference for DescribeStacks Operation</seealso> DescribeStacksResponse DescribeStacks(DescribeStacksRequest request); /// <summary> /// Retrieves a list that describes one or more specified stacks, if the stack names are /// provided. Otherwise, all stacks in the account are described. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeStacks service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeStacks service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeStacks">REST API Reference for DescribeStacks Operation</seealso> Task<DescribeStacksResponse> DescribeStacksAsync(DescribeStacksRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeUsageReportSubscriptions /// <summary> /// Retrieves a list that describes one or more usage report subscriptions. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeUsageReportSubscriptions service method.</param> /// /// <returns>The response from the DescribeUsageReportSubscriptions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUsageReportSubscriptions">REST API Reference for DescribeUsageReportSubscriptions Operation</seealso> DescribeUsageReportSubscriptionsResponse DescribeUsageReportSubscriptions(DescribeUsageReportSubscriptionsRequest request); /// <summary> /// Retrieves a list that describes one or more usage report subscriptions. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeUsageReportSubscriptions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeUsageReportSubscriptions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUsageReportSubscriptions">REST API Reference for DescribeUsageReportSubscriptions Operation</seealso> Task<DescribeUsageReportSubscriptionsResponse> DescribeUsageReportSubscriptionsAsync(DescribeUsageReportSubscriptionsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeUsers /// <summary> /// Retrieves a list that describes one or more specified users in the user pool. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeUsers service method.</param> /// /// <returns>The response from the DescribeUsers service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUsers">REST API Reference for DescribeUsers Operation</seealso> DescribeUsersResponse DescribeUsers(DescribeUsersRequest request); /// <summary> /// Retrieves a list that describes one or more specified users in the user pool. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeUsers service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeUsers service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUsers">REST API Reference for DescribeUsers Operation</seealso> Task<DescribeUsersResponse> DescribeUsersAsync(DescribeUsersRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeUserStackAssociations /// <summary> /// Retrieves a list that describes the UserStackAssociation objects. You must specify /// either or both of the following: /// /// <ul> <li> /// <para> /// The stack name /// </para> /// </li> <li> /// <para> /// The user name (email address of the user associated with the stack) and the authentication /// type for the user /// </para> /// </li> </ul> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeUserStackAssociations service method.</param> /// /// <returns>The response from the DescribeUserStackAssociations service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUserStackAssociations">REST API Reference for DescribeUserStackAssociations Operation</seealso> DescribeUserStackAssociationsResponse DescribeUserStackAssociations(DescribeUserStackAssociationsRequest request); /// <summary> /// Retrieves a list that describes the UserStackAssociation objects. You must specify /// either or both of the following: /// /// <ul> <li> /// <para> /// The stack name /// </para> /// </li> <li> /// <para> /// The user name (email address of the user associated with the stack) and the authentication /// type for the user /// </para> /// </li> </ul> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeUserStackAssociations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeUserStackAssociations service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUserStackAssociations">REST API Reference for DescribeUserStackAssociations Operation</seealso> Task<DescribeUserStackAssociationsResponse> DescribeUserStackAssociationsAsync(DescribeUserStackAssociationsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DisableUser /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisableUser service method.</param> /// /// <returns>The response from the DisableUser service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisableUser">REST API Reference for DisableUser Operation</seealso> DisableUserResponse DisableUser(DisableUserRequest request); /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisableUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DisableUser service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisableUser">REST API Reference for DisableUser Operation</seealso> Task<DisableUserResponse> DisableUserAsync(DisableUserRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DisassociateAppBlockBuilderAppBlock /// <summary> /// Disassociates a specified app block builder from a specified app block. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateAppBlockBuilderAppBlock service method.</param> /// /// <returns>The response from the DisassociateAppBlockBuilderAppBlock service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateAppBlockBuilderAppBlock">REST API Reference for DisassociateAppBlockBuilderAppBlock Operation</seealso> DisassociateAppBlockBuilderAppBlockResponse DisassociateAppBlockBuilderAppBlock(DisassociateAppBlockBuilderAppBlockRequest request); /// <summary> /// Disassociates a specified app block builder from a specified app block. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateAppBlockBuilderAppBlock service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DisassociateAppBlockBuilderAppBlock service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateAppBlockBuilderAppBlock">REST API Reference for DisassociateAppBlockBuilderAppBlock Operation</seealso> Task<DisassociateAppBlockBuilderAppBlockResponse> DisassociateAppBlockBuilderAppBlockAsync(DisassociateAppBlockBuilderAppBlockRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DisassociateApplicationFleet /// <summary> /// Disassociates the specified application from the fleet. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateApplicationFleet service method.</param> /// /// <returns>The response from the DisassociateApplicationFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateApplicationFleet">REST API Reference for DisassociateApplicationFleet Operation</seealso> DisassociateApplicationFleetResponse DisassociateApplicationFleet(DisassociateApplicationFleetRequest request); /// <summary> /// Disassociates the specified application from the fleet. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateApplicationFleet service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DisassociateApplicationFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateApplicationFleet">REST API Reference for DisassociateApplicationFleet Operation</seealso> Task<DisassociateApplicationFleetResponse> DisassociateApplicationFleetAsync(DisassociateApplicationFleetRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DisassociateApplicationFromEntitlement /// <summary> /// Deletes the specified application from the specified entitlement. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateApplicationFromEntitlement service method.</param> /// /// <returns>The response from the DisassociateApplicationFromEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateApplicationFromEntitlement">REST API Reference for DisassociateApplicationFromEntitlement Operation</seealso> DisassociateApplicationFromEntitlementResponse DisassociateApplicationFromEntitlement(DisassociateApplicationFromEntitlementRequest request); /// <summary> /// Deletes the specified application from the specified entitlement. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateApplicationFromEntitlement service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DisassociateApplicationFromEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateApplicationFromEntitlement">REST API Reference for DisassociateApplicationFromEntitlement Operation</seealso> Task<DisassociateApplicationFromEntitlementResponse> DisassociateApplicationFromEntitlementAsync(DisassociateApplicationFromEntitlementRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DisassociateFleet /// <summary> /// Disassociates the specified fleet from the specified stack. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateFleet service method.</param> /// /// <returns>The response from the DisassociateFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateFleet">REST API Reference for DisassociateFleet Operation</seealso> DisassociateFleetResponse DisassociateFleet(DisassociateFleetRequest request); /// <summary> /// Disassociates the specified fleet from the specified stack. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateFleet service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DisassociateFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateFleet">REST API Reference for DisassociateFleet Operation</seealso> Task<DisassociateFleetResponse> DisassociateFleetAsync(DisassociateFleetRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region EnableUser /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the EnableUser service method.</param> /// /// <returns>The response from the EnableUser service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/EnableUser">REST API Reference for EnableUser Operation</seealso> EnableUserResponse EnableUser(EnableUserRequest request); /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the EnableUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the EnableUser service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/EnableUser">REST API Reference for EnableUser Operation</seealso> Task<EnableUserResponse> EnableUserAsync(EnableUserRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ExpireSession /// <summary> /// Immediately stops the specified streaming session. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ExpireSession service method.</param> /// /// <returns>The response from the ExpireSession service method, as returned by AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ExpireSession">REST API Reference for ExpireSession Operation</seealso> ExpireSessionResponse ExpireSession(ExpireSessionRequest request); /// <summary> /// Immediately stops the specified streaming session. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ExpireSession service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ExpireSession service method, as returned by AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ExpireSession">REST API Reference for ExpireSession Operation</seealso> Task<ExpireSessionResponse> ExpireSessionAsync(ExpireSessionRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListAssociatedFleets /// <summary> /// Retrieves the name of the fleet that is associated with the specified stack. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAssociatedFleets service method.</param> /// /// <returns>The response from the ListAssociatedFleets service method, as returned by AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListAssociatedFleets">REST API Reference for ListAssociatedFleets Operation</seealso> ListAssociatedFleetsResponse ListAssociatedFleets(ListAssociatedFleetsRequest request); /// <summary> /// Retrieves the name of the fleet that is associated with the specified stack. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAssociatedFleets service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListAssociatedFleets service method, as returned by AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListAssociatedFleets">REST API Reference for ListAssociatedFleets Operation</seealso> Task<ListAssociatedFleetsResponse> ListAssociatedFleetsAsync(ListAssociatedFleetsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListAssociatedStacks /// <summary> /// Retrieves the name of the stack with which the specified fleet is associated. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAssociatedStacks service method.</param> /// /// <returns>The response from the ListAssociatedStacks service method, as returned by AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListAssociatedStacks">REST API Reference for ListAssociatedStacks Operation</seealso> ListAssociatedStacksResponse ListAssociatedStacks(ListAssociatedStacksRequest request); /// <summary> /// Retrieves the name of the stack with which the specified fleet is associated. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAssociatedStacks service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListAssociatedStacks service method, as returned by AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListAssociatedStacks">REST API Reference for ListAssociatedStacks Operation</seealso> Task<ListAssociatedStacksResponse> ListAssociatedStacksAsync(ListAssociatedStacksRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListEntitledApplications /// <summary> /// Retrieves a list of entitled applications. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListEntitledApplications service method.</param> /// /// <returns>The response from the ListEntitledApplications service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListEntitledApplications">REST API Reference for ListEntitledApplications Operation</seealso> ListEntitledApplicationsResponse ListEntitledApplications(ListEntitledApplicationsRequest request); /// <summary> /// Retrieves a list of entitled applications. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListEntitledApplications service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListEntitledApplications service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListEntitledApplications">REST API Reference for ListEntitledApplications Operation</seealso> Task<ListEntitledApplicationsResponse> ListEntitledApplicationsAsync(ListEntitledApplicationsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListTagsForResource /// <summary> /// 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. /// /// /// <para> /// For more information about tags, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging /// Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param> /// /// <returns>The response from the ListTagsForResource service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request); /// <summary> /// 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. /// /// /// <para> /// For more information about tags, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging /// Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListTagsForResource service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StartAppBlockBuilder /// <summary> /// Starts an app block builder. /// /// /// <para> /// An app block builder can only be started when it's associated with an app block. /// </para> /// /// <para> /// Starting an app block builder starts a new instance, which is equivalent to an elastic /// fleet instance with application builder assistance functionality. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartAppBlockBuilder service method.</param> /// /// <returns>The response from the StartAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartAppBlockBuilder">REST API Reference for StartAppBlockBuilder Operation</seealso> StartAppBlockBuilderResponse StartAppBlockBuilder(StartAppBlockBuilderRequest request); /// <summary> /// Starts an app block builder. /// /// /// <para> /// An app block builder can only be started when it's associated with an app block. /// </para> /// /// <para> /// Starting an app block builder starts a new instance, which is equivalent to an elastic /// fleet instance with application builder assistance functionality. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartAppBlockBuilder service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StartAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartAppBlockBuilder">REST API Reference for StartAppBlockBuilder Operation</seealso> Task<StartAppBlockBuilderResponse> StartAppBlockBuilderAsync(StartAppBlockBuilderRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StartFleet /// <summary> /// Starts the specified fleet. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartFleet service method.</param> /// /// <returns>The response from the StartFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartFleet">REST API Reference for StartFleet Operation</seealso> StartFleetResponse StartFleet(StartFleetRequest request); /// <summary> /// Starts the specified fleet. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartFleet service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StartFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartFleet">REST API Reference for StartFleet Operation</seealso> Task<StartFleetResponse> StartFleetAsync(StartFleetRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StartImageBuilder /// <summary> /// Starts the specified image builder. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartImageBuilder service method.</param> /// /// <returns>The response from the StartImageBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartImageBuilder">REST API Reference for StartImageBuilder Operation</seealso> StartImageBuilderResponse StartImageBuilder(StartImageBuilderRequest request); /// <summary> /// Starts the specified image builder. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartImageBuilder service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StartImageBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartImageBuilder">REST API Reference for StartImageBuilder Operation</seealso> Task<StartImageBuilderResponse> StartImageBuilderAsync(StartImageBuilderRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StopAppBlockBuilder /// <summary> /// Stops an app block builder. /// /// /// <para> /// Stopping an app block builder terminates the instance, and the instance state is not /// persisted. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the StopAppBlockBuilder service method.</param> /// /// <returns>The response from the StopAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopAppBlockBuilder">REST API Reference for StopAppBlockBuilder Operation</seealso> StopAppBlockBuilderResponse StopAppBlockBuilder(StopAppBlockBuilderRequest request); /// <summary> /// Stops an app block builder. /// /// /// <para> /// Stopping an app block builder terminates the instance, and the instance state is not /// persisted. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the StopAppBlockBuilder service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StopAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopAppBlockBuilder">REST API Reference for StopAppBlockBuilder Operation</seealso> Task<StopAppBlockBuilderResponse> StopAppBlockBuilderAsync(StopAppBlockBuilderRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StopFleet /// <summary> /// Stops the specified fleet. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StopFleet service method.</param> /// /// <returns>The response from the StopFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopFleet">REST API Reference for StopFleet Operation</seealso> StopFleetResponse StopFleet(StopFleetRequest request); /// <summary> /// Stops the specified fleet. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StopFleet service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StopFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopFleet">REST API Reference for StopFleet Operation</seealso> Task<StopFleetResponse> StopFleetAsync(StopFleetRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StopImageBuilder /// <summary> /// Stops the specified image builder. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StopImageBuilder service method.</param> /// /// <returns>The response from the StopImageBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopImageBuilder">REST API Reference for StopImageBuilder Operation</seealso> StopImageBuilderResponse StopImageBuilder(StopImageBuilderRequest request); /// <summary> /// Stops the specified image builder. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StopImageBuilder service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StopImageBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopImageBuilder">REST API Reference for StopImageBuilder Operation</seealso> Task<StopImageBuilderResponse> StopImageBuilderAsync(StopImageBuilderRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region TagResource /// <summary> /// 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. /// /// /// <para> /// 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. /// </para> /// /// <para> /// To list the current tags for your resources, use <a>ListTagsForResource</a>. To disassociate /// tags from your resources, use <a>UntagResource</a>. /// </para> /// /// <para> /// For more information about tags, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging /// Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param> /// /// <returns>The response from the TagResource service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/TagResource">REST API Reference for TagResource Operation</seealso> TagResourceResponse TagResource(TagResourceRequest request); /// <summary> /// 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. /// /// /// <para> /// 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. /// </para> /// /// <para> /// To list the current tags for your resources, use <a>ListTagsForResource</a>. To disassociate /// tags from your resources, use <a>UntagResource</a>. /// </para> /// /// <para> /// For more information about tags, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging /// Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the TagResource service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/TagResource">REST API Reference for TagResource Operation</seealso> Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UntagResource /// <summary> /// Disassociates one or more specified tags from the specified AppStream 2.0 resource. /// /// /// <para> /// To list the current tags for your resources, use <a>ListTagsForResource</a>. /// </para> /// /// <para> /// For more information about tags, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging /// Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param> /// /// <returns>The response from the UntagResource service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UntagResource">REST API Reference for UntagResource Operation</seealso> UntagResourceResponse UntagResource(UntagResourceRequest request); /// <summary> /// Disassociates one or more specified tags from the specified AppStream 2.0 resource. /// /// /// <para> /// To list the current tags for your resources, use <a>ListTagsForResource</a>. /// </para> /// /// <para> /// For more information about tags, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging /// Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UntagResource service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UntagResource">REST API Reference for UntagResource Operation</seealso> Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateAppBlockBuilder /// <summary> /// Updates an app block builder. /// /// /// <para> /// If the app block builder is in the <code>STARTING</code> or <code>STOPPING</code> /// state, you can't update it. If the app block builder is in the <code>RUNNING</code> /// state, you can only update the DisplayName and Description. If the app block builder /// is in the <code>STOPPED</code> state, you can update any attribute except the Name. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppBlockBuilder service method.</param> /// /// <returns>The response from the UpdateAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateAppBlockBuilder">REST API Reference for UpdateAppBlockBuilder Operation</seealso> UpdateAppBlockBuilderResponse UpdateAppBlockBuilder(UpdateAppBlockBuilderRequest request); /// <summary> /// Updates an app block builder. /// /// /// <para> /// If the app block builder is in the <code>STARTING</code> or <code>STOPPING</code> /// state, you can't update it. If the app block builder is in the <code>RUNNING</code> /// state, you can only update the DisplayName and Description. If the app block builder /// is in the <code>STOPPED</code> state, you can update any attribute except the Name. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppBlockBuilder service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateAppBlockBuilder">REST API Reference for UpdateAppBlockBuilder Operation</seealso> Task<UpdateAppBlockBuilderResponse> UpdateAppBlockBuilderAsync(UpdateAppBlockBuilderRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateApplication /// <summary> /// Updates the specified application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateApplication service method.</param> /// /// <returns>The response from the UpdateApplication service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateApplication">REST API Reference for UpdateApplication Operation</seealso> UpdateApplicationResponse UpdateApplication(UpdateApplicationRequest request); /// <summary> /// Updates the specified application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateApplication service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateApplication service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateApplication">REST API Reference for UpdateApplication Operation</seealso> Task<UpdateApplicationResponse> UpdateApplicationAsync(UpdateApplicationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateDirectoryConfig /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateDirectoryConfig service method.</param> /// /// <returns>The response from the UpdateDirectoryConfig service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateDirectoryConfig">REST API Reference for UpdateDirectoryConfig Operation</seealso> UpdateDirectoryConfigResponse UpdateDirectoryConfig(UpdateDirectoryConfigRequest request); /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateDirectoryConfig service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateDirectoryConfig service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateDirectoryConfig">REST API Reference for UpdateDirectoryConfig Operation</seealso> Task<UpdateDirectoryConfigResponse> UpdateDirectoryConfigAsync(UpdateDirectoryConfigRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateEntitlement /// <summary> /// Updates the specified entitlement. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateEntitlement service method.</param> /// /// <returns>The response from the UpdateEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateEntitlement">REST API Reference for UpdateEntitlement Operation</seealso> UpdateEntitlementResponse UpdateEntitlement(UpdateEntitlementRequest request); /// <summary> /// Updates the specified entitlement. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateEntitlement service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateEntitlement">REST API Reference for UpdateEntitlement Operation</seealso> Task<UpdateEntitlementResponse> UpdateEntitlementAsync(UpdateEntitlementRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateFleet /// <summary> /// Updates the specified fleet. /// /// /// <para> /// If the fleet is in the <code>STOPPED</code> state, you can update any attribute except /// the fleet name. /// </para> /// /// <para> /// If the fleet is in the <code>RUNNING</code> state, you can update the following based /// on the fleet type: /// </para> /// <ul> <li> /// <para> /// Always-On and On-Demand fleet types /// </para> /// /// <para> /// You can update the <code>DisplayName</code>, <code>ComputeCapacity</code>, <code>ImageARN</code>, /// <code>ImageName</code>, <code>IdleDisconnectTimeoutInSeconds</code>, and <code>DisconnectTimeoutInSeconds</code> /// attributes. /// </para> /// </li> <li> /// <para> /// Elastic fleet type /// </para> /// /// <para> /// You can update the <code>DisplayName</code>, <code>IdleDisconnectTimeoutInSeconds</code>, /// <code>DisconnectTimeoutInSeconds</code>, <code>MaxConcurrentSessions</code>, <code>SessionScriptS3Location</code> /// and <code>UsbDeviceFilterStrings</code> attributes. /// </para> /// </li> </ul> /// <para> /// If the fleet is in the <code>STARTING</code> or <code>STOPPED</code> state, you can't /// update it. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateFleet service method.</param> /// /// <returns>The response from the UpdateFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateFleet">REST API Reference for UpdateFleet Operation</seealso> UpdateFleetResponse UpdateFleet(UpdateFleetRequest request); /// <summary> /// Updates the specified fleet. /// /// /// <para> /// If the fleet is in the <code>STOPPED</code> state, you can update any attribute except /// the fleet name. /// </para> /// /// <para> /// If the fleet is in the <code>RUNNING</code> state, you can update the following based /// on the fleet type: /// </para> /// <ul> <li> /// <para> /// Always-On and On-Demand fleet types /// </para> /// /// <para> /// You can update the <code>DisplayName</code>, <code>ComputeCapacity</code>, <code>ImageARN</code>, /// <code>ImageName</code>, <code>IdleDisconnectTimeoutInSeconds</code>, and <code>DisconnectTimeoutInSeconds</code> /// attributes. /// </para> /// </li> <li> /// <para> /// Elastic fleet type /// </para> /// /// <para> /// You can update the <code>DisplayName</code>, <code>IdleDisconnectTimeoutInSeconds</code>, /// <code>DisconnectTimeoutInSeconds</code>, <code>MaxConcurrentSessions</code>, <code>SessionScriptS3Location</code> /// and <code>UsbDeviceFilterStrings</code> attributes. /// </para> /// </li> </ul> /// <para> /// If the fleet is in the <code>STARTING</code> or <code>STOPPED</code> state, you can't /// update it. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateFleet service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateFleet">REST API Reference for UpdateFleet Operation</seealso> Task<UpdateFleetResponse> UpdateFleetAsync(UpdateFleetRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateImagePermissions /// <summary> /// Adds or updates permissions for the specified private image. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateImagePermissions service method.</param> /// /// <returns>The response from the UpdateImagePermissions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateImagePermissions">REST API Reference for UpdateImagePermissions Operation</seealso> UpdateImagePermissionsResponse UpdateImagePermissions(UpdateImagePermissionsRequest request); /// <summary> /// Adds or updates permissions for the specified private image. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateImagePermissions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateImagePermissions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateImagePermissions">REST API Reference for UpdateImagePermissions Operation</seealso> Task<UpdateImagePermissionsResponse> UpdateImagePermissionsAsync(UpdateImagePermissionsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateStack /// <summary> /// Updates the specified fields for the specified stack. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateStack service method.</param> /// /// <returns>The response from the UpdateStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateStack">REST API Reference for UpdateStack Operation</seealso> UpdateStackResponse UpdateStack(UpdateStackRequest request); /// <summary> /// Updates the specified fields for the specified stack. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateStack service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateStack">REST API Reference for UpdateStack Operation</seealso> Task<UpdateStackResponse> UpdateStackAsync(UpdateStackRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion } }
4,254
aws-sdk-net
aws
C#
/* * 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 { /// <summary> /// Implementation for accessing AppStream /// /// Amazon AppStream 2.0 /// <para> /// This is the <i>Amazon AppStream 2.0 API Reference</i>. 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. /// </para> /// <note> /// <para> /// You can call the AppStream 2.0 API operations by using an interface VPC endpoint (interface /// endpoint). For more information, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/access-api-cli-through-interface-vpc-endpoint.html">Access /// AppStream 2.0 API Operations and CLI Commands Through an Interface VPC Endpoint</a> /// in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </note> /// <para> /// To learn more about AppStream 2.0, see the following resources: /// </para> /// <ul> <li> /// <para> /// <a href="http://aws.amazon.com/appstream2">Amazon AppStream 2.0 product page</a> /// /// </para> /// </li> <li> /// <para> /// <a href="http://aws.amazon.com/documentation/appstream2">Amazon AppStream 2.0 documentation</a> /// /// </para> /// </li> </ul> /// </summary> public partial class AmazonAppStreamClient : AmazonServiceClient, IAmazonAppStream { private static IServiceMetadata serviceMetadata = new AmazonAppStreamMetadata(); #region Constructors /// <summary> /// 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. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> public AmazonAppStreamClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppStreamConfig()) { } /// <summary> /// 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. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> /// <param name="region">The region to connect.</param> public AmazonAppStreamClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppStreamConfig{RegionEndpoint = region}) { } /// <summary> /// 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. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> /// <param name="config">The AmazonAppStreamClient Configuration Object</param> public AmazonAppStreamClient(AmazonAppStreamConfig config) : base(FallbackCredentialsFactory.GetCredentials(), config) { } /// <summary> /// Constructs AmazonAppStreamClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> public AmazonAppStreamClient(AWSCredentials credentials) : this(credentials, new AmazonAppStreamConfig()) { } /// <summary> /// Constructs AmazonAppStreamClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="region">The region to connect.</param> public AmazonAppStreamClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonAppStreamConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAppStreamClient with AWS Credentials and an /// AmazonAppStreamClient Configuration object. /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="clientConfig">The AmazonAppStreamClient Configuration Object</param> public AmazonAppStreamClient(AWSCredentials credentials, AmazonAppStreamConfig clientConfig) : base(credentials, clientConfig) { } /// <summary> /// Constructs AmazonAppStreamClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> public AmazonAppStreamClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppStreamConfig()) { } /// <summary> /// Constructs AmazonAppStreamClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="region">The region to connect.</param> public AmazonAppStreamClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppStreamConfig() {RegionEndpoint=region}) { } /// <summary> /// Constructs AmazonAppStreamClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAppStreamClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="clientConfig">The AmazonAppStreamClient Configuration Object</param> public AmazonAppStreamClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAppStreamConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// <summary> /// Constructs AmazonAppStreamClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> public AmazonAppStreamClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppStreamConfig()) { } /// <summary> /// Constructs AmazonAppStreamClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> /// <param name="region">The region to connect.</param> public AmazonAppStreamClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppStreamConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAppStreamClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAppStreamClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> /// <param name="clientConfig">The AmazonAppStreamClient Configuration Object</param> public AmazonAppStreamClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAppStreamConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #if AWS_ASYNC_ENUMERABLES_API private IAppStreamPaginatorFactory _paginators; /// <summary> /// Paginators for the service /// </summary> public IAppStreamPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new AppStreamPaginatorFactory(this); } return this._paginators; } } #endif #region Overrides /// <summary> /// Creates the signer for the service. /// </summary> protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// <summary> /// Customizes the runtime pipeline. /// </summary> /// <param name="pipeline">Runtime pipeline for the current client.</param> protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler<Amazon.Runtime.Internal.EndpointResolver>(); pipeline.AddHandlerAfter<Amazon.Runtime.Internal.Marshaller>(new AmazonAppStreamEndpointResolver()); } /// <summary> /// Capture metadata for the service. /// </summary> protected override IServiceMetadata ServiceMetadata { get { return serviceMetadata; } } #endregion #region Dispose /// <summary> /// Disposes the service client. /// </summary> 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<AssociateAppBlockBuilderAppBlockResponse>(request, options); } /// <summary> /// Associates the specified app block builder with the specified app block. /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateAppBlockBuilderAppBlock service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the AssociateAppBlockBuilderAppBlock service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateAppBlockBuilderAppBlock">REST API Reference for AssociateAppBlockBuilderAppBlock Operation</seealso> public virtual Task<AssociateAppBlockBuilderAppBlockResponse> AssociateAppBlockBuilderAppBlockAsync(AssociateAppBlockBuilderAppBlockRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateAppBlockBuilderAppBlockRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateAppBlockBuilderAppBlockResponseUnmarshaller.Instance; return InvokeAsync<AssociateAppBlockBuilderAppBlockResponse>(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<AssociateApplicationFleetResponse>(request, options); } /// <summary> /// Associates the specified application with the specified fleet. This is only supported /// for Elastic fleets. /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateApplicationFleet service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the AssociateApplicationFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateApplicationFleet">REST API Reference for AssociateApplicationFleet Operation</seealso> public virtual Task<AssociateApplicationFleetResponse> AssociateApplicationFleetAsync(AssociateApplicationFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateApplicationFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateApplicationFleetResponseUnmarshaller.Instance; return InvokeAsync<AssociateApplicationFleetResponse>(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<AssociateApplicationToEntitlementResponse>(request, options); } /// <summary> /// Associates an application to entitle. /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateApplicationToEntitlement service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the AssociateApplicationToEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateApplicationToEntitlement">REST API Reference for AssociateApplicationToEntitlement Operation</seealso> public virtual Task<AssociateApplicationToEntitlementResponse> AssociateApplicationToEntitlementAsync(AssociateApplicationToEntitlementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateApplicationToEntitlementRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateApplicationToEntitlementResponseUnmarshaller.Instance; return InvokeAsync<AssociateApplicationToEntitlementResponse>(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<AssociateFleetResponse>(request, options); } /// <summary> /// Associates the specified fleet with the specified stack. /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateFleet service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the AssociateFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateFleet">REST API Reference for AssociateFleet Operation</seealso> public virtual Task<AssociateFleetResponse> AssociateFleetAsync(AssociateFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateFleetResponseUnmarshaller.Instance; return InvokeAsync<AssociateFleetResponse>(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<BatchAssociateUserStackResponse>(request, options); } /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchAssociateUserStack service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the BatchAssociateUserStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/BatchAssociateUserStack">REST API Reference for BatchAssociateUserStack Operation</seealso> public virtual Task<BatchAssociateUserStackResponse> BatchAssociateUserStackAsync(BatchAssociateUserStackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = BatchAssociateUserStackRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchAssociateUserStackResponseUnmarshaller.Instance; return InvokeAsync<BatchAssociateUserStackResponse>(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<BatchDisassociateUserStackResponse>(request, options); } /// <summary> /// Disassociates the specified users from the specified stacks. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchDisassociateUserStack service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the BatchDisassociateUserStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/BatchDisassociateUserStack">REST API Reference for BatchDisassociateUserStack Operation</seealso> public virtual Task<BatchDisassociateUserStackResponse> BatchDisassociateUserStackAsync(BatchDisassociateUserStackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = BatchDisassociateUserStackRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchDisassociateUserStackResponseUnmarshaller.Instance; return InvokeAsync<BatchDisassociateUserStackResponse>(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<CopyImageResponse>(request, options); } /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CopyImage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CopyImage service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CopyImage">REST API Reference for CopyImage Operation</seealso> public virtual Task<CopyImageResponse> CopyImageAsync(CopyImageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CopyImageRequestMarshaller.Instance; options.ResponseUnmarshaller = CopyImageResponseUnmarshaller.Instance; return InvokeAsync<CopyImageResponse>(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<CreateAppBlockResponse>(request, options); } /// <summary> /// Creates an app block. /// /// /// <para> /// 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. /// </para> /// /// <para> /// This is only supported for Elastic fleets. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppBlock service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateAppBlock service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlock">REST API Reference for CreateAppBlock Operation</seealso> public virtual Task<CreateAppBlockResponse> CreateAppBlockAsync(CreateAppBlockRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppBlockRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppBlockResponseUnmarshaller.Instance; return InvokeAsync<CreateAppBlockResponse>(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<CreateAppBlockBuilderResponse>(request, options); } /// <summary> /// Creates an app block builder. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppBlockBuilder service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlockBuilder">REST API Reference for CreateAppBlockBuilder Operation</seealso> public virtual Task<CreateAppBlockBuilderResponse> CreateAppBlockBuilderAsync(CreateAppBlockBuilderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppBlockBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppBlockBuilderResponseUnmarshaller.Instance; return InvokeAsync<CreateAppBlockBuilderResponse>(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<CreateAppBlockBuilderStreamingURLResponse>(request, options); } /// <summary> /// Creates a URL to start a create app block builder streaming session. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppBlockBuilderStreamingURL service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateAppBlockBuilderStreamingURL service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlockBuilderStreamingURL">REST API Reference for CreateAppBlockBuilderStreamingURL Operation</seealso> public virtual Task<CreateAppBlockBuilderStreamingURLResponse> CreateAppBlockBuilderStreamingURLAsync(CreateAppBlockBuilderStreamingURLRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppBlockBuilderStreamingURLRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppBlockBuilderStreamingURLResponseUnmarshaller.Instance; return InvokeAsync<CreateAppBlockBuilderStreamingURLResponse>(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<CreateApplicationResponse>(request, options); } /// <summary> /// Creates an application. /// /// /// <para> /// 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. /// </para> /// /// <para> /// This is only supported for Elastic fleets. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateApplication service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateApplication service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateApplication">REST API Reference for CreateApplication Operation</seealso> public virtual Task<CreateApplicationResponse> CreateApplicationAsync(CreateApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateApplicationResponseUnmarshaller.Instance; return InvokeAsync<CreateApplicationResponse>(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<CreateDirectoryConfigResponse>(request, options); } /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateDirectoryConfig service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateDirectoryConfig service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateDirectoryConfig">REST API Reference for CreateDirectoryConfig Operation</seealso> public virtual Task<CreateDirectoryConfigResponse> CreateDirectoryConfigAsync(CreateDirectoryConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDirectoryConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDirectoryConfigResponseUnmarshaller.Instance; return InvokeAsync<CreateDirectoryConfigResponse>(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<CreateEntitlementResponse>(request, options); } /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateEntitlement service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementAlreadyExistsException"> /// The entitlement already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateEntitlement">REST API Reference for CreateEntitlement Operation</seealso> public virtual Task<CreateEntitlementResponse> CreateEntitlementAsync(CreateEntitlementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateEntitlementRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateEntitlementResponseUnmarshaller.Instance; return InvokeAsync<CreateEntitlementResponse>(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<CreateFleetResponse>(request, options); } /// <summary> /// Creates a fleet. A fleet consists of streaming instances that your users access for /// their applications and desktops. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateFleet service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateFleet">REST API Reference for CreateFleet Operation</seealso> public virtual Task<CreateFleetResponse> CreateFleetAsync(CreateFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFleetResponseUnmarshaller.Instance; return InvokeAsync<CreateFleetResponse>(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<CreateImageBuilderResponse>(request, options); } /// <summary> /// Creates an image builder. An image builder is a virtual machine that is used to create /// an image. /// /// /// <para> /// The initial state of the builder is <code>PENDING</code>. When it is ready, the state /// is <code>RUNNING</code>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateImageBuilder service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateImageBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateImageBuilder">REST API Reference for CreateImageBuilder Operation</seealso> public virtual Task<CreateImageBuilderResponse> CreateImageBuilderAsync(CreateImageBuilderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateImageBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateImageBuilderResponseUnmarshaller.Instance; return InvokeAsync<CreateImageBuilderResponse>(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<CreateImageBuilderStreamingURLResponse>(request, options); } /// <summary> /// Creates a URL to start an image builder streaming session. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateImageBuilderStreamingURL service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateImageBuilderStreamingURL service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateImageBuilderStreamingURL">REST API Reference for CreateImageBuilderStreamingURL Operation</seealso> public virtual Task<CreateImageBuilderStreamingURLResponse> CreateImageBuilderStreamingURLAsync(CreateImageBuilderStreamingURLRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateImageBuilderStreamingURLRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateImageBuilderStreamingURLResponseUnmarshaller.Instance; return InvokeAsync<CreateImageBuilderStreamingURLResponse>(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<CreateStackResponse>(request, options); } /// <summary> /// Creates a stack to start streaming applications to users. A stack consists of an associated /// fleet, user access policies, and storage configurations. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateStack service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStack">REST API Reference for CreateStack Operation</seealso> public virtual Task<CreateStackResponse> CreateStackAsync(CreateStackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateStackRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateStackResponseUnmarshaller.Instance; return InvokeAsync<CreateStackResponse>(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<CreateStreamingURLResponse>(request, options); } /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateStreamingURL service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateStreamingURL service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStreamingURL">REST API Reference for CreateStreamingURL Operation</seealso> public virtual Task<CreateStreamingURLResponse> CreateStreamingURLAsync(CreateStreamingURLRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateStreamingURLRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateStreamingURLResponseUnmarshaller.Instance; return InvokeAsync<CreateStreamingURLResponse>(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<CreateUpdatedImageResponse>(request, options); } /// <summary> /// Creates a new image with the latest Windows operating system updates, driver updates, /// and AppStream 2.0 agent software. /// /// /// <para> /// For more information, see the "Update an Image by Using Managed AppStream 2.0 Image /// Updates" section in <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/administer-images.html">Administer /// Your AppStream 2.0 Images</a>, in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateUpdatedImage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateUpdatedImage service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUpdatedImage">REST API Reference for CreateUpdatedImage Operation</seealso> public virtual Task<CreateUpdatedImageResponse> CreateUpdatedImageAsync(CreateUpdatedImageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateUpdatedImageRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateUpdatedImageResponseUnmarshaller.Instance; return InvokeAsync<CreateUpdatedImageResponse>(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<CreateUsageReportSubscriptionResponse>(request, options); } /// <summary> /// Creates a usage report subscription. Usage reports are generated daily. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateUsageReportSubscription service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateUsageReportSubscription service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUsageReportSubscription">REST API Reference for CreateUsageReportSubscription Operation</seealso> public virtual Task<CreateUsageReportSubscriptionResponse> CreateUsageReportSubscriptionAsync(CreateUsageReportSubscriptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateUsageReportSubscriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateUsageReportSubscriptionResponseUnmarshaller.Instance; return InvokeAsync<CreateUsageReportSubscriptionResponse>(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<CreateUserResponse>(request, options); } /// <summary> /// Creates a new user in the user pool. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateUser service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUser">REST API Reference for CreateUser Operation</seealso> public virtual Task<CreateUserResponse> CreateUserAsync(CreateUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateUserRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateUserResponseUnmarshaller.Instance; return InvokeAsync<CreateUserResponse>(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<DeleteAppBlockResponse>(request, options); } /// <summary> /// Deletes an app block. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppBlock service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteAppBlock service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteAppBlock">REST API Reference for DeleteAppBlock Operation</seealso> public virtual Task<DeleteAppBlockResponse> DeleteAppBlockAsync(DeleteAppBlockRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppBlockRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppBlockResponseUnmarshaller.Instance; return InvokeAsync<DeleteAppBlockResponse>(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<DeleteAppBlockBuilderResponse>(request, options); } /// <summary> /// Deletes an app block builder. /// /// /// <para> /// An app block builder can only be deleted when it has no association with an app block. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppBlockBuilder service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteAppBlockBuilder">REST API Reference for DeleteAppBlockBuilder Operation</seealso> public virtual Task<DeleteAppBlockBuilderResponse> DeleteAppBlockBuilderAsync(DeleteAppBlockBuilderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppBlockBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppBlockBuilderResponseUnmarshaller.Instance; return InvokeAsync<DeleteAppBlockBuilderResponse>(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<DeleteApplicationResponse>(request, options); } /// <summary> /// Deletes an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteApplication service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteApplication service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteApplication">REST API Reference for DeleteApplication Operation</seealso> public virtual Task<DeleteApplicationResponse> DeleteApplicationAsync(DeleteApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteApplicationResponseUnmarshaller.Instance; return InvokeAsync<DeleteApplicationResponse>(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<DeleteDirectoryConfigResponse>(request, options); } /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteDirectoryConfig service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteDirectoryConfig service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteDirectoryConfig">REST API Reference for DeleteDirectoryConfig Operation</seealso> public virtual Task<DeleteDirectoryConfigResponse> DeleteDirectoryConfigAsync(DeleteDirectoryConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDirectoryConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDirectoryConfigResponseUnmarshaller.Instance; return InvokeAsync<DeleteDirectoryConfigResponse>(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<DeleteEntitlementResponse>(request, options); } /// <summary> /// Deletes the specified entitlement. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteEntitlement service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteEntitlement">REST API Reference for DeleteEntitlement Operation</seealso> public virtual Task<DeleteEntitlementResponse> DeleteEntitlementAsync(DeleteEntitlementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteEntitlementRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteEntitlementResponseUnmarshaller.Instance; return InvokeAsync<DeleteEntitlementResponse>(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<DeleteFleetResponse>(request, options); } /// <summary> /// Deletes the specified fleet. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteFleet service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteFleet">REST API Reference for DeleteFleet Operation</seealso> public virtual Task<DeleteFleetResponse> DeleteFleetAsync(DeleteFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFleetResponseUnmarshaller.Instance; return InvokeAsync<DeleteFleetResponse>(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<DeleteImageResponse>(request, options); } /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteImage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteImage service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImage">REST API Reference for DeleteImage Operation</seealso> public virtual Task<DeleteImageResponse> DeleteImageAsync(DeleteImageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteImageRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteImageResponseUnmarshaller.Instance; return InvokeAsync<DeleteImageResponse>(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<DeleteImageBuilderResponse>(request, options); } /// <summary> /// Deletes the specified image builder and releases the capacity. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteImageBuilder service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteImageBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImageBuilder">REST API Reference for DeleteImageBuilder Operation</seealso> public virtual Task<DeleteImageBuilderResponse> DeleteImageBuilderAsync(DeleteImageBuilderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteImageBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteImageBuilderResponseUnmarshaller.Instance; return InvokeAsync<DeleteImageBuilderResponse>(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<DeleteImagePermissionsResponse>(request, options); } /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteImagePermissions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteImagePermissions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImagePermissions">REST API Reference for DeleteImagePermissions Operation</seealso> public virtual Task<DeleteImagePermissionsResponse> DeleteImagePermissionsAsync(DeleteImagePermissionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteImagePermissionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteImagePermissionsResponseUnmarshaller.Instance; return InvokeAsync<DeleteImagePermissionsResponse>(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<DeleteStackResponse>(request, options); } /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteStack service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteStack">REST API Reference for DeleteStack Operation</seealso> public virtual Task<DeleteStackResponse> DeleteStackAsync(DeleteStackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteStackRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteStackResponseUnmarshaller.Instance; return InvokeAsync<DeleteStackResponse>(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<DeleteUsageReportSubscriptionResponse>(request, options); } /// <summary> /// Disables usage report generation. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteUsageReportSubscription service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteUsageReportSubscription service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteUsageReportSubscription">REST API Reference for DeleteUsageReportSubscription Operation</seealso> public virtual Task<DeleteUsageReportSubscriptionResponse> DeleteUsageReportSubscriptionAsync(DeleteUsageReportSubscriptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteUsageReportSubscriptionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteUsageReportSubscriptionResponseUnmarshaller.Instance; return InvokeAsync<DeleteUsageReportSubscriptionResponse>(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<DeleteUserResponse>(request, options); } /// <summary> /// Deletes a user from the user pool. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteUser service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteUser">REST API Reference for DeleteUser Operation</seealso> public virtual Task<DeleteUserResponse> DeleteUserAsync(DeleteUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteUserResponseUnmarshaller.Instance; return InvokeAsync<DeleteUserResponse>(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<DescribeAppBlockBuilderAppBlockAssociationsResponse>(request, options); } /// <summary> /// Retrieves a list that describes one or more app block builder associations. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppBlockBuilderAppBlockAssociations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeAppBlockBuilderAppBlockAssociations service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlockBuilderAppBlockAssociations">REST API Reference for DescribeAppBlockBuilderAppBlockAssociations Operation</seealso> public virtual Task<DescribeAppBlockBuilderAppBlockAssociationsResponse> DescribeAppBlockBuilderAppBlockAssociationsAsync(DescribeAppBlockBuilderAppBlockAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppBlockBuilderAppBlockAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppBlockBuilderAppBlockAssociationsResponseUnmarshaller.Instance; return InvokeAsync<DescribeAppBlockBuilderAppBlockAssociationsResponse>(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<DescribeAppBlockBuildersResponse>(request, options); } /// <summary> /// Retrieves a list that describes one or more app block builders. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppBlockBuilders service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeAppBlockBuilders service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlockBuilders">REST API Reference for DescribeAppBlockBuilders Operation</seealso> public virtual Task<DescribeAppBlockBuildersResponse> DescribeAppBlockBuildersAsync(DescribeAppBlockBuildersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppBlockBuildersRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppBlockBuildersResponseUnmarshaller.Instance; return InvokeAsync<DescribeAppBlockBuildersResponse>(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<DescribeAppBlocksResponse>(request, options); } /// <summary> /// Retrieves a list that describes one or more app blocks. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppBlocks service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeAppBlocks service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlocks">REST API Reference for DescribeAppBlocks Operation</seealso> public virtual Task<DescribeAppBlocksResponse> DescribeAppBlocksAsync(DescribeAppBlocksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppBlocksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppBlocksResponseUnmarshaller.Instance; return InvokeAsync<DescribeAppBlocksResponse>(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<DescribeApplicationFleetAssociationsResponse>(request, options); } /// <summary> /// Retrieves a list that describes one or more application fleet associations. Either /// ApplicationArn or FleetName must be specified. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeApplicationFleetAssociations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeApplicationFleetAssociations service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeApplicationFleetAssociations">REST API Reference for DescribeApplicationFleetAssociations Operation</seealso> public virtual Task<DescribeApplicationFleetAssociationsResponse> DescribeApplicationFleetAssociationsAsync(DescribeApplicationFleetAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeApplicationFleetAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeApplicationFleetAssociationsResponseUnmarshaller.Instance; return InvokeAsync<DescribeApplicationFleetAssociationsResponse>(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<DescribeApplicationsResponse>(request, options); } /// <summary> /// Retrieves a list that describes one or more applications. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeApplications service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeApplications service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeApplications">REST API Reference for DescribeApplications Operation</seealso> public virtual Task<DescribeApplicationsResponse> DescribeApplicationsAsync(DescribeApplicationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeApplicationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeApplicationsResponseUnmarshaller.Instance; return InvokeAsync<DescribeApplicationsResponse>(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<DescribeDirectoryConfigsResponse>(request, options); } /// <summary> /// 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. /// /// /// <para> /// Although the response syntax in this topic includes the account password, this password /// is not returned in the actual response. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeDirectoryConfigs service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeDirectoryConfigs service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeDirectoryConfigs">REST API Reference for DescribeDirectoryConfigs Operation</seealso> public virtual Task<DescribeDirectoryConfigsResponse> DescribeDirectoryConfigsAsync(DescribeDirectoryConfigsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDirectoryConfigsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDirectoryConfigsResponseUnmarshaller.Instance; return InvokeAsync<DescribeDirectoryConfigsResponse>(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<DescribeEntitlementsResponse>(request, options); } /// <summary> /// Retrieves a list that describes one of more entitlements. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeEntitlements service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeEntitlements service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeEntitlements">REST API Reference for DescribeEntitlements Operation</seealso> public virtual Task<DescribeEntitlementsResponse> DescribeEntitlementsAsync(DescribeEntitlementsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeEntitlementsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeEntitlementsResponseUnmarshaller.Instance; return InvokeAsync<DescribeEntitlementsResponse>(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<DescribeFleetsResponse>(request, options); } /// <summary> /// Retrieves a list that describes one or more specified fleets, if the fleet names are /// provided. Otherwise, all fleets in the account are described. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeFleets service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeFleets service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeFleets">REST API Reference for DescribeFleets Operation</seealso> public virtual Task<DescribeFleetsResponse> DescribeFleetsAsync(DescribeFleetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFleetsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFleetsResponseUnmarshaller.Instance; return InvokeAsync<DescribeFleetsResponse>(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<DescribeImageBuildersResponse>(request, options); } /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeImageBuilders service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeImageBuilders service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImageBuilders">REST API Reference for DescribeImageBuilders Operation</seealso> public virtual Task<DescribeImageBuildersResponse> DescribeImageBuildersAsync(DescribeImageBuildersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeImageBuildersRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeImageBuildersResponseUnmarshaller.Instance; return InvokeAsync<DescribeImageBuildersResponse>(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<DescribeImagePermissionsResponse>(request, options); } /// <summary> /// Retrieves a list that describes the permissions for shared AWS account IDs on a private /// image that you own. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeImagePermissions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeImagePermissions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImagePermissions">REST API Reference for DescribeImagePermissions Operation</seealso> public virtual Task<DescribeImagePermissionsResponse> DescribeImagePermissionsAsync(DescribeImagePermissionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeImagePermissionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeImagePermissionsResponseUnmarshaller.Instance; return InvokeAsync<DescribeImagePermissionsResponse>(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<DescribeImagesResponse>(request, options); } /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeImages service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeImages service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImages">REST API Reference for DescribeImages Operation</seealso> public virtual Task<DescribeImagesResponse> DescribeImagesAsync(DescribeImagesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeImagesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeImagesResponseUnmarshaller.Instance; return InvokeAsync<DescribeImagesResponse>(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<DescribeSessionsResponse>(request, options); } /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeSessions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeSessions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeSessions">REST API Reference for DescribeSessions Operation</seealso> public virtual Task<DescribeSessionsResponse> DescribeSessionsAsync(DescribeSessionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSessionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSessionsResponseUnmarshaller.Instance; return InvokeAsync<DescribeSessionsResponse>(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<DescribeStacksResponse>(request, options); } /// <summary> /// Retrieves a list that describes one or more specified stacks, if the stack names are /// provided. Otherwise, all stacks in the account are described. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeStacks service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeStacks service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeStacks">REST API Reference for DescribeStacks Operation</seealso> public virtual Task<DescribeStacksResponse> DescribeStacksAsync(DescribeStacksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeStacksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeStacksResponseUnmarshaller.Instance; return InvokeAsync<DescribeStacksResponse>(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<DescribeUsageReportSubscriptionsResponse>(request, options); } /// <summary> /// Retrieves a list that describes one or more usage report subscriptions. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeUsageReportSubscriptions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeUsageReportSubscriptions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUsageReportSubscriptions">REST API Reference for DescribeUsageReportSubscriptions Operation</seealso> public virtual Task<DescribeUsageReportSubscriptionsResponse> DescribeUsageReportSubscriptionsAsync(DescribeUsageReportSubscriptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeUsageReportSubscriptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeUsageReportSubscriptionsResponseUnmarshaller.Instance; return InvokeAsync<DescribeUsageReportSubscriptionsResponse>(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<DescribeUsersResponse>(request, options); } /// <summary> /// Retrieves a list that describes one or more specified users in the user pool. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeUsers service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeUsers service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUsers">REST API Reference for DescribeUsers Operation</seealso> public virtual Task<DescribeUsersResponse> DescribeUsersAsync(DescribeUsersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeUsersRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeUsersResponseUnmarshaller.Instance; return InvokeAsync<DescribeUsersResponse>(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<DescribeUserStackAssociationsResponse>(request, options); } /// <summary> /// Retrieves a list that describes the UserStackAssociation objects. You must specify /// either or both of the following: /// /// <ul> <li> /// <para> /// The stack name /// </para> /// </li> <li> /// <para> /// The user name (email address of the user associated with the stack) and the authentication /// type for the user /// </para> /// </li> </ul> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeUserStackAssociations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeUserStackAssociations service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUserStackAssociations">REST API Reference for DescribeUserStackAssociations Operation</seealso> public virtual Task<DescribeUserStackAssociationsResponse> DescribeUserStackAssociationsAsync(DescribeUserStackAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeUserStackAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeUserStackAssociationsResponseUnmarshaller.Instance; return InvokeAsync<DescribeUserStackAssociationsResponse>(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<DisableUserResponse>(request, options); } /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisableUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DisableUser service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisableUser">REST API Reference for DisableUser Operation</seealso> public virtual Task<DisableUserResponse> DisableUserAsync(DisableUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisableUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DisableUserResponseUnmarshaller.Instance; return InvokeAsync<DisableUserResponse>(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<DisassociateAppBlockBuilderAppBlockResponse>(request, options); } /// <summary> /// Disassociates a specified app block builder from a specified app block. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateAppBlockBuilderAppBlock service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DisassociateAppBlockBuilderAppBlock service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateAppBlockBuilderAppBlock">REST API Reference for DisassociateAppBlockBuilderAppBlock Operation</seealso> public virtual Task<DisassociateAppBlockBuilderAppBlockResponse> DisassociateAppBlockBuilderAppBlockAsync(DisassociateAppBlockBuilderAppBlockRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateAppBlockBuilderAppBlockRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateAppBlockBuilderAppBlockResponseUnmarshaller.Instance; return InvokeAsync<DisassociateAppBlockBuilderAppBlockResponse>(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<DisassociateApplicationFleetResponse>(request, options); } /// <summary> /// Disassociates the specified application from the fleet. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateApplicationFleet service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DisassociateApplicationFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateApplicationFleet">REST API Reference for DisassociateApplicationFleet Operation</seealso> public virtual Task<DisassociateApplicationFleetResponse> DisassociateApplicationFleetAsync(DisassociateApplicationFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateApplicationFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateApplicationFleetResponseUnmarshaller.Instance; return InvokeAsync<DisassociateApplicationFleetResponse>(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<DisassociateApplicationFromEntitlementResponse>(request, options); } /// <summary> /// Deletes the specified application from the specified entitlement. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateApplicationFromEntitlement service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DisassociateApplicationFromEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateApplicationFromEntitlement">REST API Reference for DisassociateApplicationFromEntitlement Operation</seealso> public virtual Task<DisassociateApplicationFromEntitlementResponse> DisassociateApplicationFromEntitlementAsync(DisassociateApplicationFromEntitlementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateApplicationFromEntitlementRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateApplicationFromEntitlementResponseUnmarshaller.Instance; return InvokeAsync<DisassociateApplicationFromEntitlementResponse>(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<DisassociateFleetResponse>(request, options); } /// <summary> /// Disassociates the specified fleet from the specified stack. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateFleet service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DisassociateFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateFleet">REST API Reference for DisassociateFleet Operation</seealso> public virtual Task<DisassociateFleetResponse> DisassociateFleetAsync(DisassociateFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateFleetResponseUnmarshaller.Instance; return InvokeAsync<DisassociateFleetResponse>(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<EnableUserResponse>(request, options); } /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the EnableUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the EnableUser service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/EnableUser">REST API Reference for EnableUser Operation</seealso> public virtual Task<EnableUserResponse> EnableUserAsync(EnableUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = EnableUserRequestMarshaller.Instance; options.ResponseUnmarshaller = EnableUserResponseUnmarshaller.Instance; return InvokeAsync<EnableUserResponse>(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<ExpireSessionResponse>(request, options); } /// <summary> /// Immediately stops the specified streaming session. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ExpireSession service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ExpireSession service method, as returned by AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ExpireSession">REST API Reference for ExpireSession Operation</seealso> public virtual Task<ExpireSessionResponse> ExpireSessionAsync(ExpireSessionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ExpireSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = ExpireSessionResponseUnmarshaller.Instance; return InvokeAsync<ExpireSessionResponse>(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<ListAssociatedFleetsResponse>(request, options); } /// <summary> /// Retrieves the name of the fleet that is associated with the specified stack. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAssociatedFleets service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListAssociatedFleets service method, as returned by AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListAssociatedFleets">REST API Reference for ListAssociatedFleets Operation</seealso> public virtual Task<ListAssociatedFleetsResponse> ListAssociatedFleetsAsync(ListAssociatedFleetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssociatedFleetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssociatedFleetsResponseUnmarshaller.Instance; return InvokeAsync<ListAssociatedFleetsResponse>(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<ListAssociatedStacksResponse>(request, options); } /// <summary> /// Retrieves the name of the stack with which the specified fleet is associated. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAssociatedStacks service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListAssociatedStacks service method, as returned by AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListAssociatedStacks">REST API Reference for ListAssociatedStacks Operation</seealso> public virtual Task<ListAssociatedStacksResponse> ListAssociatedStacksAsync(ListAssociatedStacksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAssociatedStacksRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAssociatedStacksResponseUnmarshaller.Instance; return InvokeAsync<ListAssociatedStacksResponse>(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<ListEntitledApplicationsResponse>(request, options); } /// <summary> /// Retrieves a list of entitled applications. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListEntitledApplications service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListEntitledApplications service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListEntitledApplications">REST API Reference for ListEntitledApplications Operation</seealso> public virtual Task<ListEntitledApplicationsResponse> ListEntitledApplicationsAsync(ListEntitledApplicationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListEntitledApplicationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListEntitledApplicationsResponseUnmarshaller.Instance; return InvokeAsync<ListEntitledApplicationsResponse>(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<ListTagsForResourceResponse>(request, options); } /// <summary> /// 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. /// /// /// <para> /// For more information about tags, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging /// Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListTagsForResource service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> public virtual Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return InvokeAsync<ListTagsForResourceResponse>(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<StartAppBlockBuilderResponse>(request, options); } /// <summary> /// Starts an app block builder. /// /// /// <para> /// An app block builder can only be started when it's associated with an app block. /// </para> /// /// <para> /// Starting an app block builder starts a new instance, which is equivalent to an elastic /// fleet instance with application builder assistance functionality. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartAppBlockBuilder service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StartAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartAppBlockBuilder">REST API Reference for StartAppBlockBuilder Operation</seealso> public virtual Task<StartAppBlockBuilderResponse> StartAppBlockBuilderAsync(StartAppBlockBuilderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartAppBlockBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = StartAppBlockBuilderResponseUnmarshaller.Instance; return InvokeAsync<StartAppBlockBuilderResponse>(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<StartFleetResponse>(request, options); } /// <summary> /// Starts the specified fleet. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartFleet service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StartFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartFleet">REST API Reference for StartFleet Operation</seealso> public virtual Task<StartFleetResponse> StartFleetAsync(StartFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = StartFleetResponseUnmarshaller.Instance; return InvokeAsync<StartFleetResponse>(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<StartImageBuilderResponse>(request, options); } /// <summary> /// Starts the specified image builder. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartImageBuilder service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StartImageBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartImageBuilder">REST API Reference for StartImageBuilder Operation</seealso> public virtual Task<StartImageBuilderResponse> StartImageBuilderAsync(StartImageBuilderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartImageBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = StartImageBuilderResponseUnmarshaller.Instance; return InvokeAsync<StartImageBuilderResponse>(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<StopAppBlockBuilderResponse>(request, options); } /// <summary> /// Stops an app block builder. /// /// /// <para> /// Stopping an app block builder terminates the instance, and the instance state is not /// persisted. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the StopAppBlockBuilder service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StopAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopAppBlockBuilder">REST API Reference for StopAppBlockBuilder Operation</seealso> public virtual Task<StopAppBlockBuilderResponse> StopAppBlockBuilderAsync(StopAppBlockBuilderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StopAppBlockBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = StopAppBlockBuilderResponseUnmarshaller.Instance; return InvokeAsync<StopAppBlockBuilderResponse>(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<StopFleetResponse>(request, options); } /// <summary> /// Stops the specified fleet. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StopFleet service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StopFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopFleet">REST API Reference for StopFleet Operation</seealso> public virtual Task<StopFleetResponse> StopFleetAsync(StopFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StopFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = StopFleetResponseUnmarshaller.Instance; return InvokeAsync<StopFleetResponse>(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<StopImageBuilderResponse>(request, options); } /// <summary> /// Stops the specified image builder. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StopImageBuilder service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StopImageBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopImageBuilder">REST API Reference for StopImageBuilder Operation</seealso> public virtual Task<StopImageBuilderResponse> StopImageBuilderAsync(StopImageBuilderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StopImageBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = StopImageBuilderResponseUnmarshaller.Instance; return InvokeAsync<StopImageBuilderResponse>(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<TagResourceResponse>(request, options); } /// <summary> /// 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. /// /// /// <para> /// 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. /// </para> /// /// <para> /// To list the current tags for your resources, use <a>ListTagsForResource</a>. To disassociate /// tags from your resources, use <a>UntagResource</a>. /// </para> /// /// <para> /// For more information about tags, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging /// Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the TagResource service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/TagResource">REST API Reference for TagResource Operation</seealso> public virtual Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return InvokeAsync<TagResourceResponse>(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<UntagResourceResponse>(request, options); } /// <summary> /// Disassociates one or more specified tags from the specified AppStream 2.0 resource. /// /// /// <para> /// To list the current tags for your resources, use <a>ListTagsForResource</a>. /// </para> /// /// <para> /// For more information about tags, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging /// Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UntagResource service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UntagResource">REST API Reference for UntagResource Operation</seealso> public virtual Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return InvokeAsync<UntagResourceResponse>(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<UpdateAppBlockBuilderResponse>(request, options); } /// <summary> /// Updates an app block builder. /// /// /// <para> /// If the app block builder is in the <code>STARTING</code> or <code>STOPPING</code> /// state, you can't update it. If the app block builder is in the <code>RUNNING</code> /// state, you can only update the DisplayName and Description. If the app block builder /// is in the <code>STOPPED</code> state, you can update any attribute except the Name. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppBlockBuilder service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateAppBlockBuilder">REST API Reference for UpdateAppBlockBuilder Operation</seealso> public virtual Task<UpdateAppBlockBuilderResponse> UpdateAppBlockBuilderAsync(UpdateAppBlockBuilderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppBlockBuilderRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppBlockBuilderResponseUnmarshaller.Instance; return InvokeAsync<UpdateAppBlockBuilderResponse>(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<UpdateApplicationResponse>(request, options); } /// <summary> /// Updates the specified application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateApplication service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateApplication service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateApplication">REST API Reference for UpdateApplication Operation</seealso> public virtual Task<UpdateApplicationResponse> UpdateApplicationAsync(UpdateApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateApplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateApplicationResponseUnmarshaller.Instance; return InvokeAsync<UpdateApplicationResponse>(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<UpdateDirectoryConfigResponse>(request, options); } /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateDirectoryConfig service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateDirectoryConfig service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateDirectoryConfig">REST API Reference for UpdateDirectoryConfig Operation</seealso> public virtual Task<UpdateDirectoryConfigResponse> UpdateDirectoryConfigAsync(UpdateDirectoryConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDirectoryConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDirectoryConfigResponseUnmarshaller.Instance; return InvokeAsync<UpdateDirectoryConfigResponse>(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<UpdateEntitlementResponse>(request, options); } /// <summary> /// Updates the specified entitlement. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateEntitlement service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateEntitlement">REST API Reference for UpdateEntitlement Operation</seealso> public virtual Task<UpdateEntitlementResponse> UpdateEntitlementAsync(UpdateEntitlementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateEntitlementRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateEntitlementResponseUnmarshaller.Instance; return InvokeAsync<UpdateEntitlementResponse>(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<UpdateFleetResponse>(request, options); } /// <summary> /// Updates the specified fleet. /// /// /// <para> /// If the fleet is in the <code>STOPPED</code> state, you can update any attribute except /// the fleet name. /// </para> /// /// <para> /// If the fleet is in the <code>RUNNING</code> state, you can update the following based /// on the fleet type: /// </para> /// <ul> <li> /// <para> /// Always-On and On-Demand fleet types /// </para> /// /// <para> /// You can update the <code>DisplayName</code>, <code>ComputeCapacity</code>, <code>ImageARN</code>, /// <code>ImageName</code>, <code>IdleDisconnectTimeoutInSeconds</code>, and <code>DisconnectTimeoutInSeconds</code> /// attributes. /// </para> /// </li> <li> /// <para> /// Elastic fleet type /// </para> /// /// <para> /// You can update the <code>DisplayName</code>, <code>IdleDisconnectTimeoutInSeconds</code>, /// <code>DisconnectTimeoutInSeconds</code>, <code>MaxConcurrentSessions</code>, <code>SessionScriptS3Location</code> /// and <code>UsbDeviceFilterStrings</code> attributes. /// </para> /// </li> </ul> /// <para> /// If the fleet is in the <code>STARTING</code> or <code>STOPPED</code> state, you can't /// update it. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateFleet service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateFleet">REST API Reference for UpdateFleet Operation</seealso> public virtual Task<UpdateFleetResponse> UpdateFleetAsync(UpdateFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateFleetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateFleetResponseUnmarshaller.Instance; return InvokeAsync<UpdateFleetResponse>(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<UpdateImagePermissionsResponse>(request, options); } /// <summary> /// Adds or updates permissions for the specified private image. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateImagePermissions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateImagePermissions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateImagePermissions">REST API Reference for UpdateImagePermissions Operation</seealso> public virtual Task<UpdateImagePermissionsResponse> UpdateImagePermissionsAsync(UpdateImagePermissionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateImagePermissionsRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateImagePermissionsResponseUnmarshaller.Instance; return InvokeAsync<UpdateImagePermissionsResponse>(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<UpdateStackResponse>(request, options); } /// <summary> /// Updates the specified fields for the specified stack. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateStack service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateStack">REST API Reference for UpdateStack Operation</seealso> public virtual Task<UpdateStackResponse> UpdateStackAsync(UpdateStackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateStackRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateStackResponseUnmarshaller.Instance; return InvokeAsync<UpdateStackResponse>(request, options, cancellationToken); } #endregion } }
3,890
aws-sdk-net
aws
C#
/* * 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.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.AppStream.Model; namespace Amazon.AppStream { /// <summary> /// Interface for accessing AppStream /// /// Amazon AppStream 2.0 /// <para> /// This is the <i>Amazon AppStream 2.0 API Reference</i>. 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. /// </para> /// <note> /// <para> /// You can call the AppStream 2.0 API operations by using an interface VPC endpoint (interface /// endpoint). For more information, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/access-api-cli-through-interface-vpc-endpoint.html">Access /// AppStream 2.0 API Operations and CLI Commands Through an Interface VPC Endpoint</a> /// in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </note> /// <para> /// To learn more about AppStream 2.0, see the following resources: /// </para> /// <ul> <li> /// <para> /// <a href="http://aws.amazon.com/appstream2">Amazon AppStream 2.0 product page</a> /// /// </para> /// </li> <li> /// <para> /// <a href="http://aws.amazon.com/documentation/appstream2">Amazon AppStream 2.0 documentation</a> /// /// </para> /// </li> </ul> /// </summary> public partial interface IAmazonAppStream : IAmazonService, IDisposable { #if AWS_ASYNC_ENUMERABLES_API /// <summary> /// Paginators for the service /// </summary> IAppStreamPaginatorFactory Paginators { get; } #endif #region AssociateAppBlockBuilderAppBlock /// <summary> /// Associates the specified app block builder with the specified app block. /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateAppBlockBuilderAppBlock service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the AssociateAppBlockBuilderAppBlock service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateAppBlockBuilderAppBlock">REST API Reference for AssociateAppBlockBuilderAppBlock Operation</seealso> Task<AssociateAppBlockBuilderAppBlockResponse> AssociateAppBlockBuilderAppBlockAsync(AssociateAppBlockBuilderAppBlockRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region AssociateApplicationFleet /// <summary> /// Associates the specified application with the specified fleet. This is only supported /// for Elastic fleets. /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateApplicationFleet service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the AssociateApplicationFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateApplicationFleet">REST API Reference for AssociateApplicationFleet Operation</seealso> Task<AssociateApplicationFleetResponse> AssociateApplicationFleetAsync(AssociateApplicationFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region AssociateApplicationToEntitlement /// <summary> /// Associates an application to entitle. /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateApplicationToEntitlement service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the AssociateApplicationToEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateApplicationToEntitlement">REST API Reference for AssociateApplicationToEntitlement Operation</seealso> Task<AssociateApplicationToEntitlementResponse> AssociateApplicationToEntitlementAsync(AssociateApplicationToEntitlementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region AssociateFleet /// <summary> /// Associates the specified fleet with the specified stack. /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateFleet service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the AssociateFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/AssociateFleet">REST API Reference for AssociateFleet Operation</seealso> Task<AssociateFleetResponse> AssociateFleetAsync(AssociateFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchAssociateUserStack /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchAssociateUserStack service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the BatchAssociateUserStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/BatchAssociateUserStack">REST API Reference for BatchAssociateUserStack Operation</seealso> Task<BatchAssociateUserStackResponse> BatchAssociateUserStackAsync(BatchAssociateUserStackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchDisassociateUserStack /// <summary> /// Disassociates the specified users from the specified stacks. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchDisassociateUserStack service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the BatchDisassociateUserStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/BatchDisassociateUserStack">REST API Reference for BatchDisassociateUserStack Operation</seealso> Task<BatchDisassociateUserStackResponse> BatchDisassociateUserStackAsync(BatchDisassociateUserStackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CopyImage /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CopyImage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CopyImage service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CopyImage">REST API Reference for CopyImage Operation</seealso> Task<CopyImageResponse> CopyImageAsync(CopyImageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateAppBlock /// <summary> /// Creates an app block. /// /// /// <para> /// 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. /// </para> /// /// <para> /// This is only supported for Elastic fleets. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppBlock service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateAppBlock service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlock">REST API Reference for CreateAppBlock Operation</seealso> Task<CreateAppBlockResponse> CreateAppBlockAsync(CreateAppBlockRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateAppBlockBuilder /// <summary> /// Creates an app block builder. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppBlockBuilder service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlockBuilder">REST API Reference for CreateAppBlockBuilder Operation</seealso> Task<CreateAppBlockBuilderResponse> CreateAppBlockBuilderAsync(CreateAppBlockBuilderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateAppBlockBuilderStreamingURL /// <summary> /// Creates a URL to start a create app block builder streaming session. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppBlockBuilderStreamingURL service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateAppBlockBuilderStreamingURL service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateAppBlockBuilderStreamingURL">REST API Reference for CreateAppBlockBuilderStreamingURL Operation</seealso> Task<CreateAppBlockBuilderStreamingURLResponse> CreateAppBlockBuilderStreamingURLAsync(CreateAppBlockBuilderStreamingURLRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateApplication /// <summary> /// Creates an application. /// /// /// <para> /// 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. /// </para> /// /// <para> /// This is only supported for Elastic fleets. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateApplication service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateApplication service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateApplication">REST API Reference for CreateApplication Operation</seealso> Task<CreateApplicationResponse> CreateApplicationAsync(CreateApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateDirectoryConfig /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateDirectoryConfig service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateDirectoryConfig service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateDirectoryConfig">REST API Reference for CreateDirectoryConfig Operation</seealso> Task<CreateDirectoryConfigResponse> CreateDirectoryConfigAsync(CreateDirectoryConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateEntitlement /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateEntitlement service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementAlreadyExistsException"> /// The entitlement already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateEntitlement">REST API Reference for CreateEntitlement Operation</seealso> Task<CreateEntitlementResponse> CreateEntitlementAsync(CreateEntitlementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateFleet /// <summary> /// Creates a fleet. A fleet consists of streaming instances that your users access for /// their applications and desktops. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateFleet service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateFleet">REST API Reference for CreateFleet Operation</seealso> Task<CreateFleetResponse> CreateFleetAsync(CreateFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateImageBuilder /// <summary> /// Creates an image builder. An image builder is a virtual machine that is used to create /// an image. /// /// /// <para> /// The initial state of the builder is <code>PENDING</code>. When it is ready, the state /// is <code>RUNNING</code>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateImageBuilder service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateImageBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateImageBuilder">REST API Reference for CreateImageBuilder Operation</seealso> Task<CreateImageBuilderResponse> CreateImageBuilderAsync(CreateImageBuilderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateImageBuilderStreamingURL /// <summary> /// Creates a URL to start an image builder streaming session. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateImageBuilderStreamingURL service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateImageBuilderStreamingURL service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateImageBuilderStreamingURL">REST API Reference for CreateImageBuilderStreamingURL Operation</seealso> Task<CreateImageBuilderStreamingURLResponse> CreateImageBuilderStreamingURLAsync(CreateImageBuilderStreamingURLRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateStack /// <summary> /// Creates a stack to start streaming applications to users. A stack consists of an associated /// fleet, user access policies, and storage configurations. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateStack service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStack">REST API Reference for CreateStack Operation</seealso> Task<CreateStackResponse> CreateStackAsync(CreateStackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateStreamingURL /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateStreamingURL service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateStreamingURL service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateStreamingURL">REST API Reference for CreateStreamingURL Operation</seealso> Task<CreateStreamingURLResponse> CreateStreamingURLAsync(CreateStreamingURLRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateUpdatedImage /// <summary> /// Creates a new image with the latest Windows operating system updates, driver updates, /// and AppStream 2.0 agent software. /// /// /// <para> /// For more information, see the "Update an Image by Using Managed AppStream 2.0 Image /// Updates" section in <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/administer-images.html">Administer /// Your AppStream 2.0 Images</a>, in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateUpdatedImage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateUpdatedImage service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUpdatedImage">REST API Reference for CreateUpdatedImage Operation</seealso> Task<CreateUpdatedImageResponse> CreateUpdatedImageAsync(CreateUpdatedImageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateUsageReportSubscription /// <summary> /// Creates a usage report subscription. Usage reports are generated daily. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateUsageReportSubscription service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateUsageReportSubscription service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUsageReportSubscription">REST API Reference for CreateUsageReportSubscription Operation</seealso> Task<CreateUsageReportSubscriptionResponse> CreateUsageReportSubscriptionAsync(CreateUsageReportSubscriptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateUser /// <summary> /// Creates a new user in the user pool. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateUser service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceAlreadyExistsException"> /// The specified resource already exists. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/CreateUser">REST API Reference for CreateUser Operation</seealso> Task<CreateUserResponse> CreateUserAsync(CreateUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteAppBlock /// <summary> /// Deletes an app block. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppBlock service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteAppBlock service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteAppBlock">REST API Reference for DeleteAppBlock Operation</seealso> Task<DeleteAppBlockResponse> DeleteAppBlockAsync(DeleteAppBlockRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteAppBlockBuilder /// <summary> /// Deletes an app block builder. /// /// /// <para> /// An app block builder can only be deleted when it has no association with an app block. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppBlockBuilder service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteAppBlockBuilder">REST API Reference for DeleteAppBlockBuilder Operation</seealso> Task<DeleteAppBlockBuilderResponse> DeleteAppBlockBuilderAsync(DeleteAppBlockBuilderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteApplication /// <summary> /// Deletes an application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteApplication service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteApplication service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteApplication">REST API Reference for DeleteApplication Operation</seealso> Task<DeleteApplicationResponse> DeleteApplicationAsync(DeleteApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteDirectoryConfig /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteDirectoryConfig service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteDirectoryConfig service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteDirectoryConfig">REST API Reference for DeleteDirectoryConfig Operation</seealso> Task<DeleteDirectoryConfigResponse> DeleteDirectoryConfigAsync(DeleteDirectoryConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteEntitlement /// <summary> /// Deletes the specified entitlement. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteEntitlement service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteEntitlement">REST API Reference for DeleteEntitlement Operation</seealso> Task<DeleteEntitlementResponse> DeleteEntitlementAsync(DeleteEntitlementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteFleet /// <summary> /// Deletes the specified fleet. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteFleet service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteFleet">REST API Reference for DeleteFleet Operation</seealso> Task<DeleteFleetResponse> DeleteFleetAsync(DeleteFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteImage /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteImage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteImage service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImage">REST API Reference for DeleteImage Operation</seealso> Task<DeleteImageResponse> DeleteImageAsync(DeleteImageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteImageBuilder /// <summary> /// Deletes the specified image builder and releases the capacity. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteImageBuilder service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteImageBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImageBuilder">REST API Reference for DeleteImageBuilder Operation</seealso> Task<DeleteImageBuilderResponse> DeleteImageBuilderAsync(DeleteImageBuilderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteImagePermissions /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteImagePermissions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteImagePermissions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteImagePermissions">REST API Reference for DeleteImagePermissions Operation</seealso> Task<DeleteImagePermissionsResponse> DeleteImagePermissionsAsync(DeleteImagePermissionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteStack /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteStack service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteStack">REST API Reference for DeleteStack Operation</seealso> Task<DeleteStackResponse> DeleteStackAsync(DeleteStackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteUsageReportSubscription /// <summary> /// Disables usage report generation. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteUsageReportSubscription service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteUsageReportSubscription service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteUsageReportSubscription">REST API Reference for DeleteUsageReportSubscription Operation</seealso> Task<DeleteUsageReportSubscriptionResponse> DeleteUsageReportSubscriptionAsync(DeleteUsageReportSubscriptionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteUser /// <summary> /// Deletes a user from the user pool. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteUser service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DeleteUser">REST API Reference for DeleteUser Operation</seealso> Task<DeleteUserResponse> DeleteUserAsync(DeleteUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeAppBlockBuilderAppBlockAssociations /// <summary> /// Retrieves a list that describes one or more app block builder associations. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppBlockBuilderAppBlockAssociations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeAppBlockBuilderAppBlockAssociations service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlockBuilderAppBlockAssociations">REST API Reference for DescribeAppBlockBuilderAppBlockAssociations Operation</seealso> Task<DescribeAppBlockBuilderAppBlockAssociationsResponse> DescribeAppBlockBuilderAppBlockAssociationsAsync(DescribeAppBlockBuilderAppBlockAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeAppBlockBuilders /// <summary> /// Retrieves a list that describes one or more app block builders. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppBlockBuilders service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeAppBlockBuilders service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlockBuilders">REST API Reference for DescribeAppBlockBuilders Operation</seealso> Task<DescribeAppBlockBuildersResponse> DescribeAppBlockBuildersAsync(DescribeAppBlockBuildersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeAppBlocks /// <summary> /// Retrieves a list that describes one or more app blocks. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppBlocks service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeAppBlocks service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeAppBlocks">REST API Reference for DescribeAppBlocks Operation</seealso> Task<DescribeAppBlocksResponse> DescribeAppBlocksAsync(DescribeAppBlocksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeApplicationFleetAssociations /// <summary> /// Retrieves a list that describes one or more application fleet associations. Either /// ApplicationArn or FleetName must be specified. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeApplicationFleetAssociations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeApplicationFleetAssociations service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeApplicationFleetAssociations">REST API Reference for DescribeApplicationFleetAssociations Operation</seealso> Task<DescribeApplicationFleetAssociationsResponse> DescribeApplicationFleetAssociationsAsync(DescribeApplicationFleetAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeApplications /// <summary> /// Retrieves a list that describes one or more applications. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeApplications service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeApplications service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeApplications">REST API Reference for DescribeApplications Operation</seealso> Task<DescribeApplicationsResponse> DescribeApplicationsAsync(DescribeApplicationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeDirectoryConfigs /// <summary> /// 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. /// /// /// <para> /// Although the response syntax in this topic includes the account password, this password /// is not returned in the actual response. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeDirectoryConfigs service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeDirectoryConfigs service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeDirectoryConfigs">REST API Reference for DescribeDirectoryConfigs Operation</seealso> Task<DescribeDirectoryConfigsResponse> DescribeDirectoryConfigsAsync(DescribeDirectoryConfigsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeEntitlements /// <summary> /// Retrieves a list that describes one of more entitlements. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeEntitlements service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeEntitlements service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeEntitlements">REST API Reference for DescribeEntitlements Operation</seealso> Task<DescribeEntitlementsResponse> DescribeEntitlementsAsync(DescribeEntitlementsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeFleets /// <summary> /// Retrieves a list that describes one or more specified fleets, if the fleet names are /// provided. Otherwise, all fleets in the account are described. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeFleets service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeFleets service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeFleets">REST API Reference for DescribeFleets Operation</seealso> Task<DescribeFleetsResponse> DescribeFleetsAsync(DescribeFleetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeImageBuilders /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeImageBuilders service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeImageBuilders service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImageBuilders">REST API Reference for DescribeImageBuilders Operation</seealso> Task<DescribeImageBuildersResponse> DescribeImageBuildersAsync(DescribeImageBuildersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeImagePermissions /// <summary> /// Retrieves a list that describes the permissions for shared AWS account IDs on a private /// image that you own. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeImagePermissions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeImagePermissions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImagePermissions">REST API Reference for DescribeImagePermissions Operation</seealso> Task<DescribeImagePermissionsResponse> DescribeImagePermissionsAsync(DescribeImagePermissionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeImages /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeImages service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeImages service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeImages">REST API Reference for DescribeImages Operation</seealso> Task<DescribeImagesResponse> DescribeImagesAsync(DescribeImagesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeSessions /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeSessions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeSessions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeSessions">REST API Reference for DescribeSessions Operation</seealso> Task<DescribeSessionsResponse> DescribeSessionsAsync(DescribeSessionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeStacks /// <summary> /// Retrieves a list that describes one or more specified stacks, if the stack names are /// provided. Otherwise, all stacks in the account are described. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeStacks service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeStacks service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeStacks">REST API Reference for DescribeStacks Operation</seealso> Task<DescribeStacksResponse> DescribeStacksAsync(DescribeStacksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeUsageReportSubscriptions /// <summary> /// Retrieves a list that describes one or more usage report subscriptions. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeUsageReportSubscriptions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeUsageReportSubscriptions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUsageReportSubscriptions">REST API Reference for DescribeUsageReportSubscriptions Operation</seealso> Task<DescribeUsageReportSubscriptionsResponse> DescribeUsageReportSubscriptionsAsync(DescribeUsageReportSubscriptionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeUsers /// <summary> /// Retrieves a list that describes one or more specified users in the user pool. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeUsers service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeUsers service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUsers">REST API Reference for DescribeUsers Operation</seealso> Task<DescribeUsersResponse> DescribeUsersAsync(DescribeUsersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeUserStackAssociations /// <summary> /// Retrieves a list that describes the UserStackAssociation objects. You must specify /// either or both of the following: /// /// <ul> <li> /// <para> /// The stack name /// </para> /// </li> <li> /// <para> /// The user name (email address of the user associated with the stack) and the authentication /// type for the user /// </para> /// </li> </ul> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeUserStackAssociations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeUserStackAssociations service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DescribeUserStackAssociations">REST API Reference for DescribeUserStackAssociations Operation</seealso> Task<DescribeUserStackAssociationsResponse> DescribeUserStackAssociationsAsync(DescribeUserStackAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DisableUser /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisableUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DisableUser service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisableUser">REST API Reference for DisableUser Operation</seealso> Task<DisableUserResponse> DisableUserAsync(DisableUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DisassociateAppBlockBuilderAppBlock /// <summary> /// Disassociates a specified app block builder from a specified app block. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateAppBlockBuilderAppBlock service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DisassociateAppBlockBuilderAppBlock service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateAppBlockBuilderAppBlock">REST API Reference for DisassociateAppBlockBuilderAppBlock Operation</seealso> Task<DisassociateAppBlockBuilderAppBlockResponse> DisassociateAppBlockBuilderAppBlockAsync(DisassociateAppBlockBuilderAppBlockRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DisassociateApplicationFleet /// <summary> /// Disassociates the specified application from the fleet. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateApplicationFleet service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DisassociateApplicationFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateApplicationFleet">REST API Reference for DisassociateApplicationFleet Operation</seealso> Task<DisassociateApplicationFleetResponse> DisassociateApplicationFleetAsync(DisassociateApplicationFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DisassociateApplicationFromEntitlement /// <summary> /// Deletes the specified application from the specified entitlement. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateApplicationFromEntitlement service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DisassociateApplicationFromEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateApplicationFromEntitlement">REST API Reference for DisassociateApplicationFromEntitlement Operation</seealso> Task<DisassociateApplicationFromEntitlementResponse> DisassociateApplicationFromEntitlementAsync(DisassociateApplicationFromEntitlementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DisassociateFleet /// <summary> /// Disassociates the specified fleet from the specified stack. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateFleet service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DisassociateFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/DisassociateFleet">REST API Reference for DisassociateFleet Operation</seealso> Task<DisassociateFleetResponse> DisassociateFleetAsync(DisassociateFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region EnableUser /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the EnableUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the EnableUser service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/EnableUser">REST API Reference for EnableUser Operation</seealso> Task<EnableUserResponse> EnableUserAsync(EnableUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ExpireSession /// <summary> /// Immediately stops the specified streaming session. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ExpireSession service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ExpireSession service method, as returned by AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ExpireSession">REST API Reference for ExpireSession Operation</seealso> Task<ExpireSessionResponse> ExpireSessionAsync(ExpireSessionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListAssociatedFleets /// <summary> /// Retrieves the name of the fleet that is associated with the specified stack. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAssociatedFleets service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListAssociatedFleets service method, as returned by AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListAssociatedFleets">REST API Reference for ListAssociatedFleets Operation</seealso> Task<ListAssociatedFleetsResponse> ListAssociatedFleetsAsync(ListAssociatedFleetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListAssociatedStacks /// <summary> /// Retrieves the name of the stack with which the specified fleet is associated. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAssociatedStacks service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListAssociatedStacks service method, as returned by AppStream.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListAssociatedStacks">REST API Reference for ListAssociatedStacks Operation</seealso> Task<ListAssociatedStacksResponse> ListAssociatedStacksAsync(ListAssociatedStacksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListEntitledApplications /// <summary> /// Retrieves a list of entitled applications. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListEntitledApplications service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListEntitledApplications service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListEntitledApplications">REST API Reference for ListEntitledApplications Operation</seealso> Task<ListEntitledApplicationsResponse> ListEntitledApplicationsAsync(ListEntitledApplicationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListTagsForResource /// <summary> /// 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. /// /// /// <para> /// For more information about tags, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging /// Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListTagsForResource service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StartAppBlockBuilder /// <summary> /// Starts an app block builder. /// /// /// <para> /// An app block builder can only be started when it's associated with an app block. /// </para> /// /// <para> /// Starting an app block builder starts a new instance, which is equivalent to an elastic /// fleet instance with application builder assistance functionality. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartAppBlockBuilder service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StartAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartAppBlockBuilder">REST API Reference for StartAppBlockBuilder Operation</seealso> Task<StartAppBlockBuilderResponse> StartAppBlockBuilderAsync(StartAppBlockBuilderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StartFleet /// <summary> /// Starts the specified fleet. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartFleet service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StartFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartFleet">REST API Reference for StartFleet Operation</seealso> Task<StartFleetResponse> StartFleetAsync(StartFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StartImageBuilder /// <summary> /// Starts the specified image builder. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StartImageBuilder service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StartImageBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StartImageBuilder">REST API Reference for StartImageBuilder Operation</seealso> Task<StartImageBuilderResponse> StartImageBuilderAsync(StartImageBuilderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StopAppBlockBuilder /// <summary> /// Stops an app block builder. /// /// /// <para> /// Stopping an app block builder terminates the instance, and the instance state is not /// persisted. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the StopAppBlockBuilder service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StopAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopAppBlockBuilder">REST API Reference for StopAppBlockBuilder Operation</seealso> Task<StopAppBlockBuilderResponse> StopAppBlockBuilderAsync(StopAppBlockBuilderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StopFleet /// <summary> /// Stops the specified fleet. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StopFleet service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StopFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopFleet">REST API Reference for StopFleet Operation</seealso> Task<StopFleetResponse> StopFleetAsync(StopFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region StopImageBuilder /// <summary> /// Stops the specified image builder. /// </summary> /// <param name="request">Container for the necessary parameters to execute the StopImageBuilder service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the StopImageBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/StopImageBuilder">REST API Reference for StopImageBuilder Operation</seealso> Task<StopImageBuilderResponse> StopImageBuilderAsync(StopImageBuilderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region TagResource /// <summary> /// 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. /// /// /// <para> /// 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. /// </para> /// /// <para> /// To list the current tags for your resources, use <a>ListTagsForResource</a>. To disassociate /// tags from your resources, use <a>UntagResource</a>. /// </para> /// /// <para> /// For more information about tags, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging /// Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the TagResource service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/TagResource">REST API Reference for TagResource Operation</seealso> Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UntagResource /// <summary> /// Disassociates one or more specified tags from the specified AppStream 2.0 resource. /// /// /// <para> /// To list the current tags for your resources, use <a>ListTagsForResource</a>. /// </para> /// /// <para> /// For more information about tags, see <a href="https://docs.aws.amazon.com/appstream2/latest/developerguide/tagging-basic.html">Tagging /// Your Resources</a> in the <i>Amazon AppStream 2.0 Administration Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UntagResource service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UntagResource">REST API Reference for UntagResource Operation</seealso> Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateAppBlockBuilder /// <summary> /// Updates an app block builder. /// /// /// <para> /// If the app block builder is in the <code>STARTING</code> or <code>STOPPING</code> /// state, you can't update it. If the app block builder is in the <code>RUNNING</code> /// state, you can only update the DisplayName and Description. If the app block builder /// is in the <code>STOPPED</code> state, you can update any attribute except the Name. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppBlockBuilder service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateAppBlockBuilder service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateAppBlockBuilder">REST API Reference for UpdateAppBlockBuilder Operation</seealso> Task<UpdateAppBlockBuilderResponse> UpdateAppBlockBuilderAsync(UpdateAppBlockBuilderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateApplication /// <summary> /// Updates the specified application. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateApplication service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateApplication service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateApplication">REST API Reference for UpdateApplication Operation</seealso> Task<UpdateApplicationResponse> UpdateApplicationAsync(UpdateApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateDirectoryConfig /// <summary> /// 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. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateDirectoryConfig service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateDirectoryConfig service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateDirectoryConfig">REST API Reference for UpdateDirectoryConfig Operation</seealso> Task<UpdateDirectoryConfigResponse> UpdateDirectoryConfigAsync(UpdateDirectoryConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateEntitlement /// <summary> /// Updates the specified entitlement. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateEntitlement service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateEntitlement service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.EntitlementNotFoundException"> /// The entitlement can't be found. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateEntitlement">REST API Reference for UpdateEntitlement Operation</seealso> Task<UpdateEntitlementResponse> UpdateEntitlementAsync(UpdateEntitlementRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateFleet /// <summary> /// Updates the specified fleet. /// /// /// <para> /// If the fleet is in the <code>STOPPED</code> state, you can update any attribute except /// the fleet name. /// </para> /// /// <para> /// If the fleet is in the <code>RUNNING</code> state, you can update the following based /// on the fleet type: /// </para> /// <ul> <li> /// <para> /// Always-On and On-Demand fleet types /// </para> /// /// <para> /// You can update the <code>DisplayName</code>, <code>ComputeCapacity</code>, <code>ImageARN</code>, /// <code>ImageName</code>, <code>IdleDisconnectTimeoutInSeconds</code>, and <code>DisconnectTimeoutInSeconds</code> /// attributes. /// </para> /// </li> <li> /// <para> /// Elastic fleet type /// </para> /// /// <para> /// You can update the <code>DisplayName</code>, <code>IdleDisconnectTimeoutInSeconds</code>, /// <code>DisconnectTimeoutInSeconds</code>, <code>MaxConcurrentSessions</code>, <code>SessionScriptS3Location</code> /// and <code>UsbDeviceFilterStrings</code> attributes. /// </para> /// </li> </ul> /// <para> /// If the fleet is in the <code>STARTING</code> or <code>STOPPED</code> state, you can't /// update it. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateFleet service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateFleet service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.RequestLimitExceededException"> /// 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. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateFleet">REST API Reference for UpdateFleet Operation</seealso> Task<UpdateFleetResponse> UpdateFleetAsync(UpdateFleetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateImagePermissions /// <summary> /// Adds or updates permissions for the specified private image. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateImagePermissions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateImagePermissions service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotAvailableException"> /// The specified resource exists and is not in use, but isn't available. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateImagePermissions">REST API Reference for UpdateImagePermissions Operation</seealso> Task<UpdateImagePermissionsResponse> UpdateImagePermissionsAsync(UpdateImagePermissionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateStack /// <summary> /// Updates the specified fields for the specified stack. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateStack service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateStack service method, as returned by AppStream.</returns> /// <exception cref="Amazon.AppStream.Model.ConcurrentModificationException"> /// An API error occurred. Wait a few minutes and try again. /// </exception> /// <exception cref="Amazon.AppStream.Model.IncompatibleImageException"> /// The image can't be updated because it's not compatible for updates. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidAccountStatusException"> /// The resource cannot be created because your AWS account is suspended. For assistance, /// contact AWS Support. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidParameterCombinationException"> /// Indicates an incorrect combination of parameters, or a missing parameter. /// </exception> /// <exception cref="Amazon.AppStream.Model.InvalidRoleException"> /// The specified role is invalid. /// </exception> /// <exception cref="Amazon.AppStream.Model.LimitExceededException"> /// The requested limit exceeds the permitted limit for an account. /// </exception> /// <exception cref="Amazon.AppStream.Model.OperationNotPermittedException"> /// The attempted operation is not permitted. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceInUseException"> /// The specified resource is in use. /// </exception> /// <exception cref="Amazon.AppStream.Model.ResourceNotFoundException"> /// The specified resource was not found. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appstream-2016-12-01/UpdateStack">REST API Reference for UpdateStack Operation</seealso> Task<UpdateStackResponse> UpdateStackAsync(UpdateStackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion } }
2,465
aws-sdk-net
aws
C#
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("AWSSDK.AppStream")] #if BCL35 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - Amazon AppStream. Amazon AppStream is a fully managed, secure application streaming service that allows you to stream desktop applications from AWS to a web browser.")] #elif BCL45 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (4.5) - Amazon AppStream. Amazon AppStream is a fully managed, secure application streaming service that allows you to stream desktop applications from AWS to a web browser.")] #elif NETSTANDARD20 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (NetStandard 2.0) - Amazon AppStream. Amazon AppStream is a fully managed, secure application streaming service that allows you to stream desktop applications from AWS to a web browser.")] #elif NETCOREAPP3_1 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (.NET Core 3.1) - Amazon AppStream. Amazon AppStream is a fully managed, secure application streaming service that allows you to stream desktop applications from AWS to a web browser.")] #else #error Unknown platform constant - unable to set correct AssemblyDescription #endif [assembly: AssemblyConfiguration("")] [assembly: AssemblyProduct("Amazon Web Services SDK for .NET")] [assembly: AssemblyCompany("Amazon.com, Inc")] [assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("3.3")] [assembly: AssemblyFileVersion("3.7.103.0")] [assembly: System.CLSCompliant(true)] #if BCL [assembly: System.Security.AllowPartiallyTrustedCallers] #endif
51
aws-sdk-net
aws
C#
/* * 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. */ using System.Diagnostics.CodeAnalysis; // Identifier should not match keywords [module: SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", Scope="member", Target="Amazon.AppSync.IAmazonAppSync.#GetType(Amazon.AppSync.Model.GetTypeRequest)", MessageId="GetType")]
20
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Util.Internal; using Amazon.AppSync.Internal; namespace Amazon.AppSync { /// <summary> /// Configuration for accessing Amazon AppSync service /// </summary> [AWSSignerType("v4")] public partial class AmazonAppSyncConfig : ClientConfig { private static readonly string UserAgentString = InternalSDKUtils.BuildUserAgentString("3.7.105.13"); private string _userAgent = UserAgentString; /// <summary> /// Default constructor /// </summary> public AmazonAppSyncConfig() : base(new Amazon.Runtime.Internal.DefaultConfigurationProvider(AmazonAppSyncDefaultConfiguration.GetAllConfigurations())) { this.AuthenticationServiceName = "appsync"; this.EndpointProvider = new AmazonAppSyncEndpointProvider(); } /// <summary> /// The constant used to lookup in the region hash the endpoint. /// </summary> public override string RegionEndpointServiceName { get { return "appsync"; } } /// <summary> /// Gets the ServiceVersion property. /// </summary> public override string ServiceVersion { get { return "2017-07-25"; } } /// <summary> /// Gets the value of UserAgent property. /// </summary> public override string UserAgent { get { return _userAgent; } } } }
83
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Collections.ObjectModel; using Amazon.Runtime; namespace Amazon.AppSync { /// <summary> /// Configuration for accessing Amazon AppSync service /// </summary> public static class AmazonAppSyncDefaultConfiguration { /// <summary> /// Collection of all <see cref="DefaultConfiguration"/>s supported by /// AppSync /// </summary> public static ReadOnlyCollection<IDefaultConfiguration> GetAllConfigurations() { return new ReadOnlyCollection<IDefaultConfiguration>(new List<IDefaultConfiguration> { Standard, InRegion, CrossRegion, Mobile, Auto, Legacy }); } /// <summary> /// <p>The STANDARD mode provides the latest recommended default values that should be safe to run in most scenarios</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p> /// </summary> public static IDefaultConfiguration Standard {get;} = new DefaultConfiguration { Name = DefaultConfigurationMode.Standard, RetryMode = RequestRetryMode.Standard, StsRegionalEndpoints = StsRegionalEndpointsValue.Regional, S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional, // 0:00:03.1 ConnectTimeout = TimeSpan.FromMilliseconds(3100L), // 0:00:03.1 TlsNegotiationTimeout = TimeSpan.FromMilliseconds(3100L), TimeToFirstByteTimeout = null, HttpRequestTimeout = null }; /// <summary> /// <p>The IN_REGION mode builds on the standard mode and includes optimization tailored for applications which call AWS services from within the same AWS region</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p> /// </summary> public static IDefaultConfiguration InRegion {get;} = new DefaultConfiguration { Name = DefaultConfigurationMode.InRegion, RetryMode = RequestRetryMode.Standard, StsRegionalEndpoints = StsRegionalEndpointsValue.Regional, S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional, // 0:00:01.1 ConnectTimeout = TimeSpan.FromMilliseconds(1100L), // 0:00:01.1 TlsNegotiationTimeout = TimeSpan.FromMilliseconds(1100L), TimeToFirstByteTimeout = null, HttpRequestTimeout = null }; /// <summary> /// <p>The CROSS_REGION mode builds on the standard mode and includes optimization tailored for applications which call AWS services in a different region</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p> /// </summary> public static IDefaultConfiguration CrossRegion {get;} = new DefaultConfiguration { Name = DefaultConfigurationMode.CrossRegion, RetryMode = RequestRetryMode.Standard, StsRegionalEndpoints = StsRegionalEndpointsValue.Regional, S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional, // 0:00:03.1 ConnectTimeout = TimeSpan.FromMilliseconds(3100L), // 0:00:03.1 TlsNegotiationTimeout = TimeSpan.FromMilliseconds(3100L), TimeToFirstByteTimeout = null, HttpRequestTimeout = null }; /// <summary> /// <p>The MOBILE mode builds on the standard mode and includes optimization tailored for mobile applications</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p> /// </summary> public static IDefaultConfiguration Mobile {get;} = new DefaultConfiguration { Name = DefaultConfigurationMode.Mobile, RetryMode = RequestRetryMode.Standard, StsRegionalEndpoints = StsRegionalEndpointsValue.Regional, S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional, // 0:00:30 ConnectTimeout = TimeSpan.FromMilliseconds(30000L), // 0:00:30 TlsNegotiationTimeout = TimeSpan.FromMilliseconds(30000L), TimeToFirstByteTimeout = null, HttpRequestTimeout = null }; /// <summary> /// <p>The AUTO mode is an experimental mode that builds on the standard mode. The SDK will attempt to discover the execution environment to determine the appropriate settings automatically.</p><p>Note that the auto detection is heuristics-based and does not guarantee 100% accuracy. STANDARD mode will be used if the execution environment cannot be determined. The auto detection might query <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html">EC2 Instance Metadata service</a>, which might introduce latency. Therefore we recommend choosing an explicit defaults_mode instead if startup latency is critical to your application</p> /// </summary> public static IDefaultConfiguration Auto {get;} = new DefaultConfiguration { Name = DefaultConfigurationMode.Auto, RetryMode = RequestRetryMode.Standard, StsRegionalEndpoints = StsRegionalEndpointsValue.Regional, S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional, // 0:00:01.1 ConnectTimeout = TimeSpan.FromMilliseconds(1100L), // 0:00:01.1 TlsNegotiationTimeout = TimeSpan.FromMilliseconds(1100L), TimeToFirstByteTimeout = null, HttpRequestTimeout = null }; /// <summary> /// <p>The LEGACY mode provides default settings that vary per SDK and were used prior to establishment of defaults_mode</p> /// </summary> public static IDefaultConfiguration Legacy {get;} = new DefaultConfiguration { Name = DefaultConfigurationMode.Legacy, RetryMode = RequestRetryMode.Legacy, StsRegionalEndpoints = StsRegionalEndpointsValue.Legacy, S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Legacy, ConnectTimeout = null, TlsNegotiationTimeout = null, TimeToFirstByteTimeout = null, HttpRequestTimeout = null }; } }
146
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using Amazon.Runtime; using Amazon.Runtime.Endpoints; namespace Amazon.AppSync.Endpoints { /// <summary> /// Contains parameters used for resolving AppSync endpoints /// Parameters can be sourced from client config and service operations /// Used by internal AppSyncEndpointProvider and AppSyncEndpointResolver /// Can be used by custom EndpointProvider, see ClientConfig.EndpointProvider /// </summary> public class AppSyncEndpointParameters : EndpointParameters { /// <summary> /// AppSyncEndpointParameters constructor /// </summary> public AppSyncEndpointParameters() { UseDualStack = false; UseFIPS = false; } /// <summary> /// Region parameter /// </summary> public string Region { get { return (string)this["Region"]; } set { this["Region"] = value; } } /// <summary> /// UseDualStack parameter /// </summary> public bool? UseDualStack { get { return (bool?)this["UseDualStack"]; } set { this["UseDualStack"] = value; } } /// <summary> /// UseFIPS parameter /// </summary> public bool? UseFIPS { get { return (bool?)this["UseFIPS"]; } set { this["UseFIPS"] = value; } } /// <summary> /// Endpoint parameter /// </summary> public string Endpoint { get { return (string)this["Endpoint"]; } set { this["Endpoint"] = value; } } } }
78
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using System.Text; using Amazon.Runtime; namespace Amazon.AppSync { ///<summary> /// Common exception for the AppSync service. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class AmazonAppSyncException : AmazonServiceException { /// <summary> /// Construct instance of AmazonAppSyncException /// </summary> /// <param name="message"></param> public AmazonAppSyncException(string message) : base(message) { } /// <summary> /// Construct instance of AmazonAppSyncException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public AmazonAppSyncException(string message, Exception innerException) : base(message, innerException) { } /// <summary> /// Construct instance of AmazonAppSyncException /// </summary> /// <param name="innerException"></param> public AmazonAppSyncException(Exception innerException) : base(innerException.Message, innerException) { } /// <summary> /// Construct instance of AmazonAppSyncException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public AmazonAppSyncException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) { } /// <summary> /// Construct instance of AmazonAppSyncException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public AmazonAppSyncException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) { } #if !NETSTANDARD /// <summary> /// Constructs a new instance of the AmazonAppSyncException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected AmazonAppSyncException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } #endif } }
105
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.AppSync { /// <summary> /// Constants used for properties of type ApiCacheStatus. /// </summary> public class ApiCacheStatus : ConstantClass { /// <summary> /// Constant AVAILABLE for ApiCacheStatus /// </summary> public static readonly ApiCacheStatus AVAILABLE = new ApiCacheStatus("AVAILABLE"); /// <summary> /// Constant CREATING for ApiCacheStatus /// </summary> public static readonly ApiCacheStatus CREATING = new ApiCacheStatus("CREATING"); /// <summary> /// Constant DELETING for ApiCacheStatus /// </summary> public static readonly ApiCacheStatus DELETING = new ApiCacheStatus("DELETING"); /// <summary> /// Constant FAILED for ApiCacheStatus /// </summary> public static readonly ApiCacheStatus FAILED = new ApiCacheStatus("FAILED"); /// <summary> /// Constant MODIFYING for ApiCacheStatus /// </summary> public static readonly ApiCacheStatus MODIFYING = new ApiCacheStatus("MODIFYING"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public ApiCacheStatus(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static ApiCacheStatus FindValue(string value) { return FindValue<ApiCacheStatus>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator ApiCacheStatus(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type ApiCacheType. /// </summary> public class ApiCacheType : ConstantClass { /// <summary> /// Constant LARGE for ApiCacheType /// </summary> public static readonly ApiCacheType LARGE = new ApiCacheType("LARGE"); /// <summary> /// Constant LARGE_12X for ApiCacheType /// </summary> public static readonly ApiCacheType LARGE_12X = new ApiCacheType("LARGE_12X"); /// <summary> /// Constant LARGE_2X for ApiCacheType /// </summary> public static readonly ApiCacheType LARGE_2X = new ApiCacheType("LARGE_2X"); /// <summary> /// Constant LARGE_4X for ApiCacheType /// </summary> public static readonly ApiCacheType LARGE_4X = new ApiCacheType("LARGE_4X"); /// <summary> /// Constant LARGE_8X for ApiCacheType /// </summary> public static readonly ApiCacheType LARGE_8X = new ApiCacheType("LARGE_8X"); /// <summary> /// Constant MEDIUM for ApiCacheType /// </summary> public static readonly ApiCacheType MEDIUM = new ApiCacheType("MEDIUM"); /// <summary> /// Constant R4_2XLARGE for ApiCacheType /// </summary> public static readonly ApiCacheType R4_2XLARGE = new ApiCacheType("R4_2XLARGE"); /// <summary> /// Constant R4_4XLARGE for ApiCacheType /// </summary> public static readonly ApiCacheType R4_4XLARGE = new ApiCacheType("R4_4XLARGE"); /// <summary> /// Constant R4_8XLARGE for ApiCacheType /// </summary> public static readonly ApiCacheType R4_8XLARGE = new ApiCacheType("R4_8XLARGE"); /// <summary> /// Constant R4_LARGE for ApiCacheType /// </summary> public static readonly ApiCacheType R4_LARGE = new ApiCacheType("R4_LARGE"); /// <summary> /// Constant R4_XLARGE for ApiCacheType /// </summary> public static readonly ApiCacheType R4_XLARGE = new ApiCacheType("R4_XLARGE"); /// <summary> /// Constant SMALL for ApiCacheType /// </summary> public static readonly ApiCacheType SMALL = new ApiCacheType("SMALL"); /// <summary> /// Constant T2_MEDIUM for ApiCacheType /// </summary> public static readonly ApiCacheType T2_MEDIUM = new ApiCacheType("T2_MEDIUM"); /// <summary> /// Constant T2_SMALL for ApiCacheType /// </summary> public static readonly ApiCacheType T2_SMALL = new ApiCacheType("T2_SMALL"); /// <summary> /// Constant XLARGE for ApiCacheType /// </summary> public static readonly ApiCacheType XLARGE = new ApiCacheType("XLARGE"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public ApiCacheType(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static ApiCacheType FindValue(string value) { return FindValue<ApiCacheType>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator ApiCacheType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type ApiCachingBehavior. /// </summary> public class ApiCachingBehavior : ConstantClass { /// <summary> /// Constant FULL_REQUEST_CACHING for ApiCachingBehavior /// </summary> public static readonly ApiCachingBehavior FULL_REQUEST_CACHING = new ApiCachingBehavior("FULL_REQUEST_CACHING"); /// <summary> /// Constant PER_RESOLVER_CACHING for ApiCachingBehavior /// </summary> public static readonly ApiCachingBehavior PER_RESOLVER_CACHING = new ApiCachingBehavior("PER_RESOLVER_CACHING"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public ApiCachingBehavior(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static ApiCachingBehavior FindValue(string value) { return FindValue<ApiCachingBehavior>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator ApiCachingBehavior(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type AssociationStatus. /// </summary> public class AssociationStatus : ConstantClass { /// <summary> /// Constant FAILED for AssociationStatus /// </summary> public static readonly AssociationStatus FAILED = new AssociationStatus("FAILED"); /// <summary> /// Constant PROCESSING for AssociationStatus /// </summary> public static readonly AssociationStatus PROCESSING = new AssociationStatus("PROCESSING"); /// <summary> /// Constant SUCCESS for AssociationStatus /// </summary> public static readonly AssociationStatus SUCCESS = new AssociationStatus("SUCCESS"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public AssociationStatus(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static AssociationStatus FindValue(string value) { return FindValue<AssociationStatus>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator AssociationStatus(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type AuthenticationType. /// </summary> public class AuthenticationType : ConstantClass { /// <summary> /// Constant AMAZON_COGNITO_USER_POOLS for AuthenticationType /// </summary> public static readonly AuthenticationType AMAZON_COGNITO_USER_POOLS = new AuthenticationType("AMAZON_COGNITO_USER_POOLS"); /// <summary> /// Constant API_KEY for AuthenticationType /// </summary> public static readonly AuthenticationType API_KEY = new AuthenticationType("API_KEY"); /// <summary> /// Constant AWS_IAM for AuthenticationType /// </summary> public static readonly AuthenticationType AWS_IAM = new AuthenticationType("AWS_IAM"); /// <summary> /// Constant AWS_LAMBDA for AuthenticationType /// </summary> public static readonly AuthenticationType AWS_LAMBDA = new AuthenticationType("AWS_LAMBDA"); /// <summary> /// Constant OPENID_CONNECT for AuthenticationType /// </summary> public static readonly AuthenticationType OPENID_CONNECT = new AuthenticationType("OPENID_CONNECT"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public AuthenticationType(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static AuthenticationType FindValue(string value) { return FindValue<AuthenticationType>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator AuthenticationType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type AuthorizationType. /// </summary> public class AuthorizationType : ConstantClass { /// <summary> /// Constant AWS_IAM for AuthorizationType /// </summary> public static readonly AuthorizationType AWS_IAM = new AuthorizationType("AWS_IAM"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public AuthorizationType(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static AuthorizationType FindValue(string value) { return FindValue<AuthorizationType>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator AuthorizationType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type BadRequestReason. /// </summary> public class BadRequestReason : ConstantClass { /// <summary> /// Constant CODE_ERROR for BadRequestReason /// </summary> public static readonly BadRequestReason CODE_ERROR = new BadRequestReason("CODE_ERROR"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public BadRequestReason(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static BadRequestReason FindValue(string value) { return FindValue<BadRequestReason>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator BadRequestReason(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type ConflictDetectionType. /// </summary> public class ConflictDetectionType : ConstantClass { /// <summary> /// Constant NONE for ConflictDetectionType /// </summary> public static readonly ConflictDetectionType NONE = new ConflictDetectionType("NONE"); /// <summary> /// Constant VERSION for ConflictDetectionType /// </summary> public static readonly ConflictDetectionType VERSION = new ConflictDetectionType("VERSION"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public ConflictDetectionType(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static ConflictDetectionType FindValue(string value) { return FindValue<ConflictDetectionType>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator ConflictDetectionType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type ConflictHandlerType. /// </summary> public class ConflictHandlerType : ConstantClass { /// <summary> /// Constant AUTOMERGE for ConflictHandlerType /// </summary> public static readonly ConflictHandlerType AUTOMERGE = new ConflictHandlerType("AUTOMERGE"); /// <summary> /// Constant LAMBDA for ConflictHandlerType /// </summary> public static readonly ConflictHandlerType LAMBDA = new ConflictHandlerType("LAMBDA"); /// <summary> /// Constant NONE for ConflictHandlerType /// </summary> public static readonly ConflictHandlerType NONE = new ConflictHandlerType("NONE"); /// <summary> /// Constant OPTIMISTIC_CONCURRENCY for ConflictHandlerType /// </summary> public static readonly ConflictHandlerType OPTIMISTIC_CONCURRENCY = new ConflictHandlerType("OPTIMISTIC_CONCURRENCY"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public ConflictHandlerType(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static ConflictHandlerType FindValue(string value) { return FindValue<ConflictHandlerType>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator ConflictHandlerType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type DataSourceType. /// </summary> public class DataSourceType : ConstantClass { /// <summary> /// Constant AMAZON_DYNAMODB for DataSourceType /// </summary> public static readonly DataSourceType AMAZON_DYNAMODB = new DataSourceType("AMAZON_DYNAMODB"); /// <summary> /// Constant AMAZON_ELASTICSEARCH for DataSourceType /// </summary> public static readonly DataSourceType AMAZON_ELASTICSEARCH = new DataSourceType("AMAZON_ELASTICSEARCH"); /// <summary> /// Constant AMAZON_EVENTBRIDGE for DataSourceType /// </summary> public static readonly DataSourceType AMAZON_EVENTBRIDGE = new DataSourceType("AMAZON_EVENTBRIDGE"); /// <summary> /// Constant AMAZON_OPENSEARCH_SERVICE for DataSourceType /// </summary> public static readonly DataSourceType AMAZON_OPENSEARCH_SERVICE = new DataSourceType("AMAZON_OPENSEARCH_SERVICE"); /// <summary> /// Constant AWS_LAMBDA for DataSourceType /// </summary> public static readonly DataSourceType AWS_LAMBDA = new DataSourceType("AWS_LAMBDA"); /// <summary> /// Constant HTTP for DataSourceType /// </summary> public static readonly DataSourceType HTTP = new DataSourceType("HTTP"); /// <summary> /// Constant NONE for DataSourceType /// </summary> public static readonly DataSourceType NONE = new DataSourceType("NONE"); /// <summary> /// Constant RELATIONAL_DATABASE for DataSourceType /// </summary> public static readonly DataSourceType RELATIONAL_DATABASE = new DataSourceType("RELATIONAL_DATABASE"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public DataSourceType(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static DataSourceType FindValue(string value) { return FindValue<DataSourceType>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator DataSourceType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type DefaultAction. /// </summary> public class DefaultAction : ConstantClass { /// <summary> /// Constant ALLOW for DefaultAction /// </summary> public static readonly DefaultAction ALLOW = new DefaultAction("ALLOW"); /// <summary> /// Constant DENY for DefaultAction /// </summary> public static readonly DefaultAction DENY = new DefaultAction("DENY"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public DefaultAction(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static DefaultAction FindValue(string value) { return FindValue<DefaultAction>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator DefaultAction(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type FieldLogLevel. /// </summary> public class FieldLogLevel : ConstantClass { /// <summary> /// Constant ALL for FieldLogLevel /// </summary> public static readonly FieldLogLevel ALL = new FieldLogLevel("ALL"); /// <summary> /// Constant ERROR for FieldLogLevel /// </summary> public static readonly FieldLogLevel ERROR = new FieldLogLevel("ERROR"); /// <summary> /// Constant NONE for FieldLogLevel /// </summary> public static readonly FieldLogLevel NONE = new FieldLogLevel("NONE"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public FieldLogLevel(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static FieldLogLevel FindValue(string value) { return FindValue<FieldLogLevel>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator FieldLogLevel(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type GraphQLApiType. /// </summary> public class GraphQLApiType : ConstantClass { /// <summary> /// Constant GRAPHQL for GraphQLApiType /// </summary> public static readonly GraphQLApiType GRAPHQL = new GraphQLApiType("GRAPHQL"); /// <summary> /// Constant MERGED for GraphQLApiType /// </summary> public static readonly GraphQLApiType MERGED = new GraphQLApiType("MERGED"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public GraphQLApiType(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static GraphQLApiType FindValue(string value) { return FindValue<GraphQLApiType>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator GraphQLApiType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type GraphQLApiVisibility. /// </summary> public class GraphQLApiVisibility : ConstantClass { /// <summary> /// Constant GLOBAL for GraphQLApiVisibility /// </summary> public static readonly GraphQLApiVisibility GLOBAL = new GraphQLApiVisibility("GLOBAL"); /// <summary> /// Constant PRIVATE for GraphQLApiVisibility /// </summary> public static readonly GraphQLApiVisibility PRIVATE = new GraphQLApiVisibility("PRIVATE"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public GraphQLApiVisibility(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static GraphQLApiVisibility FindValue(string value) { return FindValue<GraphQLApiVisibility>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator GraphQLApiVisibility(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type MergeType. /// </summary> public class MergeType : ConstantClass { /// <summary> /// Constant AUTO_MERGE for MergeType /// </summary> public static readonly MergeType AUTO_MERGE = new MergeType("AUTO_MERGE"); /// <summary> /// Constant MANUAL_MERGE for MergeType /// </summary> public static readonly MergeType MANUAL_MERGE = new MergeType("MANUAL_MERGE"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public MergeType(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static MergeType FindValue(string value) { return FindValue<MergeType>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator MergeType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type OutputType. /// </summary> public class OutputType : ConstantClass { /// <summary> /// Constant JSON for OutputType /// </summary> public static readonly OutputType JSON = new OutputType("JSON"); /// <summary> /// Constant SDL for OutputType /// </summary> public static readonly OutputType SDL = new OutputType("SDL"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public OutputType(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static OutputType FindValue(string value) { return FindValue<OutputType>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator OutputType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type Ownership. /// </summary> public class Ownership : ConstantClass { /// <summary> /// Constant CURRENT_ACCOUNT for Ownership /// </summary> public static readonly Ownership CURRENT_ACCOUNT = new Ownership("CURRENT_ACCOUNT"); /// <summary> /// Constant OTHER_ACCOUNTS for Ownership /// </summary> public static readonly Ownership OTHER_ACCOUNTS = new Ownership("OTHER_ACCOUNTS"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public Ownership(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static Ownership FindValue(string value) { return FindValue<Ownership>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator Ownership(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type RelationalDatabaseSourceType. /// </summary> public class RelationalDatabaseSourceType : ConstantClass { /// <summary> /// Constant RDS_HTTP_ENDPOINT for RelationalDatabaseSourceType /// </summary> public static readonly RelationalDatabaseSourceType RDS_HTTP_ENDPOINT = new RelationalDatabaseSourceType("RDS_HTTP_ENDPOINT"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public RelationalDatabaseSourceType(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static RelationalDatabaseSourceType FindValue(string value) { return FindValue<RelationalDatabaseSourceType>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator RelationalDatabaseSourceType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type ResolverKind. /// </summary> public class ResolverKind : ConstantClass { /// <summary> /// Constant PIPELINE for ResolverKind /// </summary> public static readonly ResolverKind PIPELINE = new ResolverKind("PIPELINE"); /// <summary> /// Constant UNIT for ResolverKind /// </summary> public static readonly ResolverKind UNIT = new ResolverKind("UNIT"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public ResolverKind(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static ResolverKind FindValue(string value) { return FindValue<ResolverKind>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator ResolverKind(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type RuntimeName. /// </summary> public class RuntimeName : ConstantClass { /// <summary> /// Constant APPSYNC_JS for RuntimeName /// </summary> public static readonly RuntimeName APPSYNC_JS = new RuntimeName("APPSYNC_JS"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public RuntimeName(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static RuntimeName FindValue(string value) { return FindValue<RuntimeName>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator RuntimeName(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type SchemaStatus. /// </summary> public class SchemaStatus : ConstantClass { /// <summary> /// Constant ACTIVE for SchemaStatus /// </summary> public static readonly SchemaStatus ACTIVE = new SchemaStatus("ACTIVE"); /// <summary> /// Constant DELETING for SchemaStatus /// </summary> public static readonly SchemaStatus DELETING = new SchemaStatus("DELETING"); /// <summary> /// Constant FAILED for SchemaStatus /// </summary> public static readonly SchemaStatus FAILED = new SchemaStatus("FAILED"); /// <summary> /// Constant NOT_APPLICABLE for SchemaStatus /// </summary> public static readonly SchemaStatus NOT_APPLICABLE = new SchemaStatus("NOT_APPLICABLE"); /// <summary> /// Constant PROCESSING for SchemaStatus /// </summary> public static readonly SchemaStatus PROCESSING = new SchemaStatus("PROCESSING"); /// <summary> /// Constant SUCCESS for SchemaStatus /// </summary> public static readonly SchemaStatus SUCCESS = new SchemaStatus("SUCCESS"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public SchemaStatus(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static SchemaStatus FindValue(string value) { return FindValue<SchemaStatus>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator SchemaStatus(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type SourceApiAssociationStatus. /// </summary> public class SourceApiAssociationStatus : ConstantClass { /// <summary> /// Constant AUTO_MERGE_SCHEDULE_FAILED for SourceApiAssociationStatus /// </summary> public static readonly SourceApiAssociationStatus AUTO_MERGE_SCHEDULE_FAILED = new SourceApiAssociationStatus("AUTO_MERGE_SCHEDULE_FAILED"); /// <summary> /// Constant DELETION_FAILED for SourceApiAssociationStatus /// </summary> public static readonly SourceApiAssociationStatus DELETION_FAILED = new SourceApiAssociationStatus("DELETION_FAILED"); /// <summary> /// Constant DELETION_IN_PROGRESS for SourceApiAssociationStatus /// </summary> public static readonly SourceApiAssociationStatus DELETION_IN_PROGRESS = new SourceApiAssociationStatus("DELETION_IN_PROGRESS"); /// <summary> /// Constant DELETION_SCHEDULED for SourceApiAssociationStatus /// </summary> public static readonly SourceApiAssociationStatus DELETION_SCHEDULED = new SourceApiAssociationStatus("DELETION_SCHEDULED"); /// <summary> /// Constant MERGE_FAILED for SourceApiAssociationStatus /// </summary> public static readonly SourceApiAssociationStatus MERGE_FAILED = new SourceApiAssociationStatus("MERGE_FAILED"); /// <summary> /// Constant MERGE_IN_PROGRESS for SourceApiAssociationStatus /// </summary> public static readonly SourceApiAssociationStatus MERGE_IN_PROGRESS = new SourceApiAssociationStatus("MERGE_IN_PROGRESS"); /// <summary> /// Constant MERGE_SCHEDULED for SourceApiAssociationStatus /// </summary> public static readonly SourceApiAssociationStatus MERGE_SCHEDULED = new SourceApiAssociationStatus("MERGE_SCHEDULED"); /// <summary> /// Constant MERGE_SUCCESS for SourceApiAssociationStatus /// </summary> public static readonly SourceApiAssociationStatus MERGE_SUCCESS = new SourceApiAssociationStatus("MERGE_SUCCESS"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public SourceApiAssociationStatus(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static SourceApiAssociationStatus FindValue(string value) { return FindValue<SourceApiAssociationStatus>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator SourceApiAssociationStatus(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type TypeDefinitionFormat. /// </summary> public class TypeDefinitionFormat : ConstantClass { /// <summary> /// Constant JSON for TypeDefinitionFormat /// </summary> public static readonly TypeDefinitionFormat JSON = new TypeDefinitionFormat("JSON"); /// <summary> /// Constant SDL for TypeDefinitionFormat /// </summary> public static readonly TypeDefinitionFormat SDL = new TypeDefinitionFormat("SDL"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public TypeDefinitionFormat(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static TypeDefinitionFormat FindValue(string value) { return FindValue<TypeDefinitionFormat>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator TypeDefinitionFormat(string value) { return FindValue(value); } } }
1,316
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using System.Collections.Generic; using Amazon.Runtime; using Amazon.Runtime.Endpoints; using static Amazon.Runtime.Internal.Endpoints.StandardLibrary.Fn; namespace Amazon.AppSync.Internal { /// <summary> /// Amazon AppSync endpoint provider. /// Resolves endpoint for given set of AppSyncEndpointParameters. /// Can throw AmazonClientException if endpoint resolution is unsuccessful. /// </summary> public class AmazonAppSyncEndpointProvider : IEndpointProvider { /// <summary> /// Resolve endpoint for AppSyncEndpointParameters /// </summary> public Endpoint ResolveEndpoint(EndpointParameters parameters) { if (parameters == null) throw new ArgumentNullException("parameters"); if (parameters["UseDualStack"] == null) throw new AmazonClientException("UseDualStack parameter must be set for endpoint resolution"); if (parameters["UseFIPS"] == null) throw new AmazonClientException("UseFIPS parameter must be set for endpoint resolution"); var refs = new Dictionary<string, object>() { ["Region"] = parameters["Region"], ["UseDualStack"] = parameters["UseDualStack"], ["UseFIPS"] = parameters["UseFIPS"], ["Endpoint"] = parameters["Endpoint"], }; if (IsSet(refs["Endpoint"])) { if (Equals(refs["UseFIPS"], true)) { throw new AmazonClientException("Invalid Configuration: FIPS and custom endpoint are not supported"); } if (Equals(refs["UseDualStack"], true)) { throw new AmazonClientException("Invalid Configuration: Dualstack and custom endpoint are not supported"); } return new Endpoint((string)refs["Endpoint"], InterpolateJson(@"", refs), InterpolateJson(@"", refs)); } if (IsSet(refs["Region"])) { if ((refs["PartitionResult"] = Partition((string)refs["Region"])) != null) { if (Equals(refs["UseFIPS"], true) && Equals(refs["UseDualStack"], true)) { if (Equals(true, GetAttr(refs["PartitionResult"], "supportsFIPS")) && Equals(true, GetAttr(refs["PartitionResult"], "supportsDualStack"))) { return new Endpoint(Interpolate(@"https://appsync-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs)); } throw new AmazonClientException("FIPS and DualStack are enabled, but this partition does not support one or both"); } if (Equals(refs["UseFIPS"], true)) { if (Equals(true, GetAttr(refs["PartitionResult"], "supportsFIPS"))) { return new Endpoint(Interpolate(@"https://appsync-fips.{Region}.{PartitionResult#dnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs)); } throw new AmazonClientException("FIPS is enabled but this partition does not support FIPS"); } if (Equals(refs["UseDualStack"], true)) { if (Equals(true, GetAttr(refs["PartitionResult"], "supportsDualStack"))) { return new Endpoint(Interpolate(@"https://appsync.{Region}.{PartitionResult#dualStackDnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs)); } throw new AmazonClientException("DualStack is enabled but this partition does not support DualStack"); } return new Endpoint(Interpolate(@"https://appsync.{Region}.{PartitionResult#dnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs)); } } throw new AmazonClientException("Invalid Configuration: Missing Region"); throw new AmazonClientException("Cannot resolve endpoint"); } } }
103
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using Amazon.AppSync.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Endpoints; using Amazon.Util; using Amazon.AppSync.Endpoints; #pragma warning disable 1591 namespace Amazon.AppSync.Internal { /// <summary> /// Amazon AppSync endpoint resolver. /// Custom PipelineHandler responsible for resolving endpoint and setting authentication parameters for AppSync service requests. /// Collects values for AppSyncEndpointParameters and then tries to resolve endpoint by calling /// ResolveEndpoint method on GlobalEndpoints.Provider if present, otherwise uses AppSyncEndpointProvider. /// Responsible for setting authentication and http headers provided by resolved endpoint. /// </summary> public class AmazonAppSyncEndpointResolver : BaseEndpointResolver { protected override void ServiceSpecificHandler(IExecutionContext executionContext, EndpointParameters parameters) { InjectHostPrefix(executionContext.RequestContext); } protected override EndpointParameters MapEndpointsParameters(IRequestContext requestContext) { var config = (AmazonAppSyncConfig)requestContext.ClientConfig; var result = new AppSyncEndpointParameters(); result.Region = config.RegionEndpoint?.SystemName; result.UseDualStack = config.UseDualstackEndpoint; result.UseFIPS = config.UseFIPSEndpoint; result.Endpoint = config.ServiceURL; // The region needs to be determined from the ServiceURL if not set. var regionEndpoint = config.RegionEndpoint; if (regionEndpoint == null && !string.IsNullOrEmpty(config.ServiceURL)) { var regionName = AWSSDKUtils.DetermineRegion(config.ServiceURL); result.Region = RegionEndpoint.GetBySystemName(regionName).SystemName; } // To support legacy endpoint overridding rules in the endpoints.json if (result.Region == "us-east-1-regional") { result.Region = "us-east-1"; } // Use AlternateEndpoint region override if set if (requestContext.Request.AlternateEndpoint != null) { result.Region = requestContext.Request.AlternateEndpoint.SystemName; } // Assign staticContextParams and contextParam per operation return result; } } }
83
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using Amazon.Runtime.Internal; namespace Amazon.AppSync.Internal { /// <summary> /// Service metadata for Amazon AppSync service /// </summary> public partial class AmazonAppSyncMetadata : IServiceMetadata { /// <summary> /// Gets the value of the Service Id. /// </summary> public string ServiceId { get { return "AppSync"; } } /// <summary> /// Gets the dictionary that gives mapping of renamed operations /// </summary> public System.Collections.Generic.IDictionary<string, string> OperationNameMapping { get { return new System.Collections.Generic.Dictionary<string, string>(0) { }; } } } }
55
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppSync.Model { /// <summary> /// You don't have access to perform this operation on this resource. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class AccessDeniedException : AmazonAppSyncException { /// <summary> /// Constructs a new AccessDeniedException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public AccessDeniedException(string message) : base(message) {} /// <summary> /// Construct instance of AccessDeniedException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public AccessDeniedException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of AccessDeniedException /// </summary> /// <param name="innerException"></param> public AccessDeniedException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of AccessDeniedException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public AccessDeniedException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of AccessDeniedException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public AccessDeniedException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the AccessDeniedException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected AccessDeniedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); } #endif } }
124
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppSync.Model { /// <summary> /// Describes an additional authentication provider. /// </summary> public partial class AdditionalAuthenticationProvider { private AuthenticationType _authenticationType; private LambdaAuthorizerConfig _lambdaAuthorizerConfig; private OpenIDConnectConfig _openidConnectConfig; private CognitoUserPoolConfig _userPoolConfig; /// <summary> /// Gets and sets the property AuthenticationType. /// <para> /// The authentication type: API key, Identity and Access Management (IAM), OpenID Connect /// (OIDC), Amazon Cognito user pools, or Lambda. /// </para> /// </summary> public AuthenticationType AuthenticationType { get { return this._authenticationType; } set { this._authenticationType = value; } } // Check to see if AuthenticationType property is set internal bool IsSetAuthenticationType() { return this._authenticationType != null; } /// <summary> /// Gets and sets the property LambdaAuthorizerConfig. /// <para> /// Configuration for Lambda function authorization. /// </para> /// </summary> public LambdaAuthorizerConfig LambdaAuthorizerConfig { get { return this._lambdaAuthorizerConfig; } set { this._lambdaAuthorizerConfig = value; } } // Check to see if LambdaAuthorizerConfig property is set internal bool IsSetLambdaAuthorizerConfig() { return this._lambdaAuthorizerConfig != null; } /// <summary> /// Gets and sets the property OpenIDConnectConfig. /// <para> /// The OIDC configuration. /// </para> /// </summary> public OpenIDConnectConfig OpenIDConnectConfig { get { return this._openidConnectConfig; } set { this._openidConnectConfig = value; } } // Check to see if OpenIDConnectConfig property is set internal bool IsSetOpenIDConnectConfig() { return this._openidConnectConfig != null; } /// <summary> /// Gets and sets the property UserPoolConfig. /// <para> /// The Amazon Cognito user pool configuration. /// </para> /// </summary> public CognitoUserPoolConfig UserPoolConfig { get { return this._userPoolConfig; } set { this._userPoolConfig = value; } } // Check to see if UserPoolConfig property is set internal bool IsSetUserPoolConfig() { return this._userPoolConfig != null; } } }
115
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using Amazon.Runtime; namespace Amazon.AppSync { /// <summary> /// Base class for AppSync operation requests. /// </summary> public partial class AmazonAppSyncRequest : AmazonWebServiceRequest { } }
30
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppSync.Model { /// <summary> /// Describes an <code>ApiAssociation</code> object. /// </summary> public partial class ApiAssociation { private string _apiId; private AssociationStatus _associationStatus; private string _deploymentDetail; private string _domainName; /// <summary> /// Gets and sets the property ApiId. /// <para> /// The API ID. /// </para> /// </summary> public string ApiId { get { return this._apiId; } set { this._apiId = value; } } // Check to see if ApiId property is set internal bool IsSetApiId() { return this._apiId != null; } /// <summary> /// Gets and sets the property AssociationStatus. /// <para> /// Identifies the status of an association. /// </para> /// <ul> <li> /// <para> /// <b>PROCESSING</b>: The API association is being created. You cannot modify association /// requests during processing. /// </para> /// </li> <li> /// <para> /// <b>SUCCESS</b>: The API association was successful. You can modify associations after /// success. /// </para> /// </li> <li> /// <para> /// <b>FAILED</b>: The API association has failed. You can modify associations after /// failure. /// </para> /// </li> </ul> /// </summary> public AssociationStatus AssociationStatus { get { return this._associationStatus; } set { this._associationStatus = value; } } // Check to see if AssociationStatus property is set internal bool IsSetAssociationStatus() { return this._associationStatus != null; } /// <summary> /// Gets and sets the property DeploymentDetail. /// <para> /// Details about the last deployment status. /// </para> /// </summary> public string DeploymentDetail { get { return this._deploymentDetail; } set { this._deploymentDetail = value; } } // Check to see if DeploymentDetail property is set internal bool IsSetDeploymentDetail() { return this._deploymentDetail != null; } /// <summary> /// Gets and sets the property DomainName. /// <para> /// The domain name. /// </para> /// </summary> [AWSProperty(Min=1, Max=253)] public string DomainName { get { return this._domainName; } set { this._domainName = value; } } // Check to see if DomainName property is set internal bool IsSetDomainName() { return this._domainName != null; } } }
131
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppSync.Model { /// <summary> /// The <code>ApiCache</code> object. /// </summary> public partial class ApiCache { private ApiCachingBehavior _apiCachingBehavior; private bool? _atRestEncryptionEnabled; private ApiCacheStatus _status; private bool? _transitEncryptionEnabled; private long? _ttl; private ApiCacheType _type; /// <summary> /// Gets and sets the property ApiCachingBehavior. /// <para> /// Caching behavior. /// </para> /// <ul> <li> /// <para> /// <b>FULL_REQUEST_CACHING</b>: All requests are fully cached. /// </para> /// </li> <li> /// <para> /// <b>PER_RESOLVER_CACHING</b>: Individual resolvers that you specify are cached. /// </para> /// </li> </ul> /// </summary> public ApiCachingBehavior ApiCachingBehavior { get { return this._apiCachingBehavior; } set { this._apiCachingBehavior = value; } } // Check to see if ApiCachingBehavior property is set internal bool IsSetApiCachingBehavior() { return this._apiCachingBehavior != null; } /// <summary> /// Gets and sets the property AtRestEncryptionEnabled. /// <para> /// At-rest encryption flag for cache. You cannot update this setting after creation. /// </para> /// </summary> public bool AtRestEncryptionEnabled { get { return this._atRestEncryptionEnabled.GetValueOrDefault(); } set { this._atRestEncryptionEnabled = value; } } // Check to see if AtRestEncryptionEnabled property is set internal bool IsSetAtRestEncryptionEnabled() { return this._atRestEncryptionEnabled.HasValue; } /// <summary> /// Gets and sets the property Status. /// <para> /// The cache instance status. /// </para> /// <ul> <li> /// <para> /// <b>AVAILABLE</b>: The instance is available for use. /// </para> /// </li> <li> /// <para> /// <b>CREATING</b>: The instance is currently creating. /// </para> /// </li> <li> /// <para> /// <b>DELETING</b>: The instance is currently deleting. /// </para> /// </li> <li> /// <para> /// <b>MODIFYING</b>: The instance is currently modifying. /// </para> /// </li> <li> /// <para> /// <b>FAILED</b>: The instance has failed creation. /// </para> /// </li> </ul> /// </summary> public ApiCacheStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } /// <summary> /// Gets and sets the property TransitEncryptionEnabled. /// <para> /// Transit encryption flag when connecting to cache. You cannot update this setting after /// creation. /// </para> /// </summary> public bool TransitEncryptionEnabled { get { return this._transitEncryptionEnabled.GetValueOrDefault(); } set { this._transitEncryptionEnabled = value; } } // Check to see if TransitEncryptionEnabled property is set internal bool IsSetTransitEncryptionEnabled() { return this._transitEncryptionEnabled.HasValue; } /// <summary> /// Gets and sets the property Ttl. /// <para> /// TTL in seconds for cache entries. /// </para> /// /// <para> /// Valid values are 1–3,600 seconds. /// </para> /// </summary> public long Ttl { get { return this._ttl.GetValueOrDefault(); } set { this._ttl = value; } } // Check to see if Ttl property is set internal bool IsSetTtl() { return this._ttl.HasValue; } /// <summary> /// Gets and sets the property Type. /// <para> /// The cache instance type. Valid values are /// </para> /// <ul> <li> /// <para> /// <code>SMALL</code> /// </para> /// </li> <li> /// <para> /// <code>MEDIUM</code> /// </para> /// </li> <li> /// <para> /// <code>LARGE</code> /// </para> /// </li> <li> /// <para> /// <code>XLARGE</code> /// </para> /// </li> <li> /// <para> /// <code>LARGE_2X</code> /// </para> /// </li> <li> /// <para> /// <code>LARGE_4X</code> /// </para> /// </li> <li> /// <para> /// <code>LARGE_8X</code> (not available in all regions) /// </para> /// </li> <li> /// <para> /// <code>LARGE_12X</code> /// </para> /// </li> </ul> /// <para> /// Historically, instance types were identified by an EC2-style value. As of July 2020, /// this is deprecated, and the generic identifiers above should be used. /// </para> /// /// <para> /// The following legacy instance types are available, but their use is discouraged: /// </para> /// <ul> <li> /// <para> /// <b>T2_SMALL</b>: A t2.small instance type. /// </para> /// </li> <li> /// <para> /// <b>T2_MEDIUM</b>: A t2.medium instance type. /// </para> /// </li> <li> /// <para> /// <b>R4_LARGE</b>: A r4.large instance type. /// </para> /// </li> <li> /// <para> /// <b>R4_XLARGE</b>: A r4.xlarge instance type. /// </para> /// </li> <li> /// <para> /// <b>R4_2XLARGE</b>: A r4.2xlarge instance type. /// </para> /// </li> <li> /// <para> /// <b>R4_4XLARGE</b>: A r4.4xlarge instance type. /// </para> /// </li> <li> /// <para> /// <b>R4_8XLARGE</b>: A r4.8xlarge instance type. /// </para> /// </li> </ul> /// </summary> public ApiCacheType Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null; } } }
257
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppSync.Model { /// <summary> /// Describes an API key. /// /// /// <para> /// Customers invoke AppSync GraphQL API operations with API keys as an identity mechanism. /// There are two key versions: /// </para> /// /// <para> /// <b>da1</b>: We introduced this version at launch in November 2017. These keys always /// expire after 7 days. Amazon DynamoDB TTL manages key expiration. These keys ceased /// to be valid after February 21, 2018, and they should no longer be used. /// </para> /// <ul> <li> /// <para> /// <code>ListApiKeys</code> returns the expiration time in milliseconds. /// </para> /// </li> <li> /// <para> /// <code>CreateApiKey</code> returns the expiration time in milliseconds. /// </para> /// </li> <li> /// <para> /// <code>UpdateApiKey</code> is not available for this key version. /// </para> /// </li> <li> /// <para> /// <code>DeleteApiKey</code> deletes the item from the table. /// </para> /// </li> <li> /// <para> /// Expiration is stored in DynamoDB as milliseconds. This results in a bug where keys /// are not automatically deleted because DynamoDB expects the TTL to be stored in seconds. /// As a one-time action, we deleted these keys from the table on February 21, 2018. /// </para> /// </li> </ul> /// <para> /// <b>da2</b>: We introduced this version in February 2018 when AppSync added support /// to extend key expiration. /// </para> /// <ul> <li> /// <para> /// <code>ListApiKeys</code> returns the expiration time and deletion time in seconds. /// </para> /// </li> <li> /// <para> /// <code>CreateApiKey</code> returns the expiration time and deletion time in seconds /// and accepts a user-provided expiration time in seconds. /// </para> /// </li> <li> /// <para> /// <code>UpdateApiKey</code> returns the expiration time and and deletion time in seconds /// and accepts a user-provided expiration time in seconds. Expired API keys are kept /// for 60 days after the expiration time. You can update the key expiration time as long /// as the key isn't deleted. /// </para> /// </li> <li> /// <para> /// <code>DeleteApiKey</code> deletes the item from the table. /// </para> /// </li> <li> /// <para> /// Expiration is stored in DynamoDB as seconds. After the expiration time, using the /// key to authenticate will fail. However, you can reinstate the key before deletion. /// </para> /// </li> <li> /// <para> /// Deletion is stored in DynamoDB as seconds. The key is deleted after deletion time. /// </para> /// </li> </ul> /// </summary> public partial class ApiKey { private long? _deletes; private string _description; private long? _expires; private string _id; /// <summary> /// Gets and sets the property Deletes. /// <para> /// The time after which the API key is deleted. The date is represented as seconds since /// the epoch, rounded down to the nearest hour. /// </para> /// </summary> public long Deletes { get { return this._deletes.GetValueOrDefault(); } set { this._deletes = value; } } // Check to see if Deletes property is set internal bool IsSetDeletes() { return this._deletes.HasValue; } /// <summary> /// Gets and sets the property Description. /// <para> /// A description of the purpose of the API key. /// </para> /// </summary> public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// <summary> /// Gets and sets the property Expires. /// <para> /// The time after which the API key expires. The date is represented as seconds since /// the epoch, rounded down to the nearest hour. /// </para> /// </summary> public long Expires { get { return this._expires.GetValueOrDefault(); } set { this._expires = value; } } // Check to see if Expires property is set internal bool IsSetExpires() { return this._expires.HasValue; } /// <summary> /// Gets and sets the property Id. /// <para> /// The API key ID. /// </para> /// </summary> public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } } }
185
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppSync.Model { /// <summary> /// The API key exceeded a limit. Try your request again. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class ApiKeyLimitExceededException : AmazonAppSyncException { /// <summary> /// Constructs a new ApiKeyLimitExceededException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public ApiKeyLimitExceededException(string message) : base(message) {} /// <summary> /// Construct instance of ApiKeyLimitExceededException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public ApiKeyLimitExceededException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of ApiKeyLimitExceededException /// </summary> /// <param name="innerException"></param> public ApiKeyLimitExceededException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of ApiKeyLimitExceededException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public ApiKeyLimitExceededException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of ApiKeyLimitExceededException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public ApiKeyLimitExceededException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the ApiKeyLimitExceededException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected ApiKeyLimitExceededException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); } #endif } }
124
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppSync.Model { /// <summary> /// The API key expiration must be set to a value between 1 and 365 days from creation /// (for <code>CreateApiKey</code>) or from update (for <code>UpdateApiKey</code>). /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class ApiKeyValidityOutOfBoundsException : AmazonAppSyncException { /// <summary> /// Constructs a new ApiKeyValidityOutOfBoundsException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public ApiKeyValidityOutOfBoundsException(string message) : base(message) {} /// <summary> /// Construct instance of ApiKeyValidityOutOfBoundsException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public ApiKeyValidityOutOfBoundsException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of ApiKeyValidityOutOfBoundsException /// </summary> /// <param name="innerException"></param> public ApiKeyValidityOutOfBoundsException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of ApiKeyValidityOutOfBoundsException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public ApiKeyValidityOutOfBoundsException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of ApiKeyValidityOutOfBoundsException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public ApiKeyValidityOutOfBoundsException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the ApiKeyValidityOutOfBoundsException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected ApiKeyValidityOutOfBoundsException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); } #endif } }
125
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppSync.Model { /// <summary> /// The GraphQL API exceeded a limit. Try your request again. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class ApiLimitExceededException : AmazonAppSyncException { /// <summary> /// Constructs a new ApiLimitExceededException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public ApiLimitExceededException(string message) : base(message) {} /// <summary> /// Construct instance of ApiLimitExceededException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public ApiLimitExceededException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of ApiLimitExceededException /// </summary> /// <param name="innerException"></param> public ApiLimitExceededException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of ApiLimitExceededException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public ApiLimitExceededException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of ApiLimitExceededException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public ApiLimitExceededException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the ApiLimitExceededException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected ApiLimitExceededException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); } #endif } }
124
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppSync.Model { /// <summary> /// Describes a runtime used by an Amazon Web Services AppSync pipeline resolver or Amazon /// Web Services AppSync function. Specifies the name and version of the runtime to use. /// Note that if a runtime is specified, code must also be specified. /// </summary> public partial class AppSyncRuntime { private RuntimeName _name; private string _runtimeVersion; /// <summary> /// Gets and sets the property Name. /// <para> /// The <code>name</code> of the runtime to use. Currently, the only allowed value is /// <code>APPSYNC_JS</code>. /// </para> /// </summary> [AWSProperty(Required=true)] public RuntimeName Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// <summary> /// Gets and sets the property RuntimeVersion. /// <para> /// The <code>version</code> of the runtime to use. Currently, the only allowed version /// is <code>1.0.0</code>. /// </para> /// </summary> [AWSProperty(Required=true)] public string RuntimeVersion { get { return this._runtimeVersion; } set { this._runtimeVersion = value; } } // Check to see if RuntimeVersion property is set internal bool IsSetRuntimeVersion() { return this._runtimeVersion != null; } } }
82
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppSync.Model { /// <summary> /// Container for the parameters to the AssociateApi operation. /// Maps an endpoint to your custom domain. /// </summary> public partial class AssociateApiRequest : AmazonAppSyncRequest { private string _apiId; private string _domainName; /// <summary> /// Gets and sets the property ApiId. /// <para> /// The API ID. Private APIs can not be associated with custom domains. /// </para> /// </summary> [AWSProperty(Required=true)] public string ApiId { get { return this._apiId; } set { this._apiId = value; } } // Check to see if ApiId property is set internal bool IsSetApiId() { return this._apiId != null; } /// <summary> /// Gets and sets the property DomainName. /// <para> /// The domain name. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=253)] public string DomainName { get { return this._domainName; } set { this._domainName = value; } } // Check to see if DomainName property is set internal bool IsSetDomainName() { return this._domainName != null; } } }
79
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppSync.Model { /// <summary> /// This is the response object from the AssociateApi operation. /// </summary> public partial class AssociateApiResponse : AmazonWebServiceResponse { private ApiAssociation _apiAssociation; /// <summary> /// Gets and sets the property ApiAssociation. /// <para> /// The <code>ApiAssociation</code> object. /// </para> /// </summary> public ApiAssociation ApiAssociation { get { return this._apiAssociation; } set { this._apiAssociation = value; } } // Check to see if ApiAssociation property is set internal bool IsSetApiAssociation() { return this._apiAssociation != null; } } }
57
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppSync.Model { /// <summary> /// Container for the parameters to the AssociateMergedGraphqlApi operation. /// Creates an association between a Merged API and source API using the source API's /// identifier. /// </summary> public partial class AssociateMergedGraphqlApiRequest : AmazonAppSyncRequest { private string _description; private string _mergedApiIdentifier; private SourceApiAssociationConfig _sourceApiAssociationConfig; private string _sourceApiIdentifier; /// <summary> /// Gets and sets the property Description. /// <para> /// The description field. /// </para> /// </summary> public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// <summary> /// Gets and sets the property MergedApiIdentifier. /// <para> /// The identifier of the AppSync Merged API. This is generated by the AppSync service. /// In most cases, Merged APIs (especially in your account) only require the API ID value /// or ARN of the merged API. However, Merged APIs in other accounts (cross-account use /// cases) strictly require the full resource ARN of the merged API. /// </para> /// </summary> [AWSProperty(Required=true)] public string MergedApiIdentifier { get { return this._mergedApiIdentifier; } set { this._mergedApiIdentifier = value; } } // Check to see if MergedApiIdentifier property is set internal bool IsSetMergedApiIdentifier() { return this._mergedApiIdentifier != null; } /// <summary> /// Gets and sets the property SourceApiAssociationConfig. /// <para> /// The <code>SourceApiAssociationConfig</code> object data. /// </para> /// </summary> public SourceApiAssociationConfig SourceApiAssociationConfig { get { return this._sourceApiAssociationConfig; } set { this._sourceApiAssociationConfig = value; } } // Check to see if SourceApiAssociationConfig property is set internal bool IsSetSourceApiAssociationConfig() { return this._sourceApiAssociationConfig != null; } /// <summary> /// Gets and sets the property SourceApiIdentifier. /// <para> /// The identifier of the AppSync Source API. This is generated by the AppSync service. /// In most cases, source APIs (especially in your account) only require the API ID value /// or ARN of the source API. However, source APIs from other accounts (cross-account /// use cases) strictly require the full resource ARN of the source API. /// </para> /// </summary> [AWSProperty(Required=true)] public string SourceApiIdentifier { get { return this._sourceApiIdentifier; } set { this._sourceApiIdentifier = value; } } // Check to see if SourceApiIdentifier property is set internal bool IsSetSourceApiIdentifier() { return this._sourceApiIdentifier != null; } } }
124
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppSync.Model { /// <summary> /// This is the response object from the AssociateMergedGraphqlApi operation. /// </summary> public partial class AssociateMergedGraphqlApiResponse : AmazonWebServiceResponse { private SourceApiAssociation _sourceApiAssociation; /// <summary> /// Gets and sets the property SourceApiAssociation. /// <para> /// The <code>SourceApiAssociation</code> object data. /// </para> /// </summary> public SourceApiAssociation SourceApiAssociation { get { return this._sourceApiAssociation; } set { this._sourceApiAssociation = value; } } // Check to see if SourceApiAssociation property is set internal bool IsSetSourceApiAssociation() { return this._sourceApiAssociation != null; } } }
57
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppSync.Model { /// <summary> /// Container for the parameters to the AssociateSourceGraphqlApi operation. /// Creates an association between a Merged API and source API using the Merged API's /// identifier. /// </summary> public partial class AssociateSourceGraphqlApiRequest : AmazonAppSyncRequest { private string _description; private string _mergedApiIdentifier; private SourceApiAssociationConfig _sourceApiAssociationConfig; private string _sourceApiIdentifier; /// <summary> /// Gets and sets the property Description. /// <para> /// The description field. /// </para> /// </summary> public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// <summary> /// Gets and sets the property MergedApiIdentifier. /// <para> /// The identifier of the AppSync Merged API. This is generated by the AppSync service. /// In most cases, Merged APIs (especially in your account) only require the API ID value /// or ARN of the merged API. However, Merged APIs in other accounts (cross-account use /// cases) strictly require the full resource ARN of the merged API. /// </para> /// </summary> [AWSProperty(Required=true)] public string MergedApiIdentifier { get { return this._mergedApiIdentifier; } set { this._mergedApiIdentifier = value; } } // Check to see if MergedApiIdentifier property is set internal bool IsSetMergedApiIdentifier() { return this._mergedApiIdentifier != null; } /// <summary> /// Gets and sets the property SourceApiAssociationConfig. /// <para> /// The <code>SourceApiAssociationConfig</code> object data. /// </para> /// </summary> public SourceApiAssociationConfig SourceApiAssociationConfig { get { return this._sourceApiAssociationConfig; } set { this._sourceApiAssociationConfig = value; } } // Check to see if SourceApiAssociationConfig property is set internal bool IsSetSourceApiAssociationConfig() { return this._sourceApiAssociationConfig != null; } /// <summary> /// Gets and sets the property SourceApiIdentifier. /// <para> /// The identifier of the AppSync Source API. This is generated by the AppSync service. /// In most cases, source APIs (especially in your account) only require the API ID value /// or ARN of the source API. However, source APIs from other accounts (cross-account /// use cases) strictly require the full resource ARN of the source API. /// </para> /// </summary> [AWSProperty(Required=true)] public string SourceApiIdentifier { get { return this._sourceApiIdentifier; } set { this._sourceApiIdentifier = value; } } // Check to see if SourceApiIdentifier property is set internal bool IsSetSourceApiIdentifier() { return this._sourceApiIdentifier != null; } } }
124
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppSync.Model { /// <summary> /// This is the response object from the AssociateSourceGraphqlApi operation. /// </summary> public partial class AssociateSourceGraphqlApiResponse : AmazonWebServiceResponse { private SourceApiAssociation _sourceApiAssociation; /// <summary> /// Gets and sets the property SourceApiAssociation. /// <para> /// The <code>SourceApiAssociation</code> object data. /// </para> /// </summary> public SourceApiAssociation SourceApiAssociation { get { return this._sourceApiAssociation; } set { this._sourceApiAssociation = value; } } // Check to see if SourceApiAssociation property is set internal bool IsSetSourceApiAssociation() { return this._sourceApiAssociation != null; } } }
57
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppSync.Model { /// <summary> /// The authorization configuration in case the HTTP endpoint requires authorization. /// </summary> public partial class AuthorizationConfig { private AuthorizationType _authorizationType; private AwsIamConfig _awsIamConfig; /// <summary> /// Gets and sets the property AuthorizationType. /// <para> /// The authorization type that the HTTP endpoint requires. /// </para> /// <ul> <li> /// <para> /// <b>AWS_IAM</b>: The authorization type is Signature Version 4 (SigV4). /// </para> /// </li> </ul> /// </summary> [AWSProperty(Required=true)] public AuthorizationType AuthorizationType { get { return this._authorizationType; } set { this._authorizationType = value; } } // Check to see if AuthorizationType property is set internal bool IsSetAuthorizationType() { return this._authorizationType != null; } /// <summary> /// Gets and sets the property AwsIamConfig. /// <para> /// The Identity and Access Management (IAM) settings. /// </para> /// </summary> public AwsIamConfig AwsIamConfig { get { return this._awsIamConfig; } set { this._awsIamConfig = value; } } // Check to see if AwsIamConfig property is set internal bool IsSetAwsIamConfig() { return this._awsIamConfig != null; } } }
82
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppSync.Model { /// <summary> /// The Identity and Access Management (IAM) configuration. /// </summary> public partial class AwsIamConfig { private string _signingRegion; private string _signingServiceName; /// <summary> /// Gets and sets the property SigningRegion. /// <para> /// The signing Amazon Web Services Region for IAM authorization. /// </para> /// </summary> public string SigningRegion { get { return this._signingRegion; } set { this._signingRegion = value; } } // Check to see if SigningRegion property is set internal bool IsSetSigningRegion() { return this._signingRegion != null; } /// <summary> /// Gets and sets the property SigningServiceName. /// <para> /// The signing service name for IAM authorization. /// </para> /// </summary> public string SigningServiceName { get { return this._signingServiceName; } set { this._signingServiceName = value; } } // Check to see if SigningServiceName property is set internal bool IsSetSigningServiceName() { return this._signingServiceName != null; } } }
76
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppSync.Model { /// <summary> /// Provides further details for the reason behind the bad request. For reason type <code>CODE_ERROR</code>, /// the detail will contain a list of code errors. /// </summary> public partial class BadRequestDetail { private List<CodeError> _codeErrors = new List<CodeError>(); /// <summary> /// Gets and sets the property CodeErrors. /// <para> /// Contains the list of errors in the request. /// </para> /// </summary> public List<CodeError> CodeErrors { get { return this._codeErrors; } set { this._codeErrors = value; } } // Check to see if CodeErrors property is set internal bool IsSetCodeErrors() { return this._codeErrors != null && this._codeErrors.Count > 0; } } }
58
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppSync.Model { /// <summary> /// The request is not well formed. For example, a value is invalid or a required field /// is missing. Check the field values, and then try again. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class BadRequestException : AmazonAppSyncException { private BadRequestDetail _detail; private BadRequestReason _reason; /// <summary> /// Constructs a new BadRequestException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public BadRequestException(string message) : base(message) {} /// <summary> /// Construct instance of BadRequestException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public BadRequestException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of BadRequestException /// </summary> /// <param name="innerException"></param> public BadRequestException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of BadRequestException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public BadRequestException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of BadRequestException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public BadRequestException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the BadRequestException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected BadRequestException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.Detail = (BadRequestDetail)info.GetValue("Detail", typeof(BadRequestDetail)); this.Reason = (BadRequestReason)info.GetValue("Reason", typeof(BadRequestReason)); } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); info.AddValue("Detail", this.Detail); info.AddValue("Reason", this.Reason); } #endif /// <summary> /// Gets and sets the property Detail. /// </summary> public BadRequestDetail Detail { get { return this._detail; } set { this._detail = value; } } // Check to see if Detail property is set internal bool IsSetDetail() { return this._detail != null; } /// <summary> /// Gets and sets the property Reason. /// </summary> public BadRequestReason Reason { get { return this._reason; } set { this._reason = value; } } // Check to see if Reason property is set internal bool IsSetReason() { return this._reason != null; } } }
161
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppSync.Model { /// <summary> /// The caching configuration for a resolver that has caching activated. /// </summary> public partial class CachingConfig { private List<string> _cachingKeys = new List<string>(); private long? _ttl; /// <summary> /// Gets and sets the property CachingKeys. /// <para> /// The caching keys for a resolver that has caching activated. /// </para> /// /// <para> /// Valid values are entries from the <code>$context.arguments</code>, <code>$context.source</code>, /// and <code>$context.identity</code> maps. /// </para> /// </summary> public List<string> CachingKeys { get { return this._cachingKeys; } set { this._cachingKeys = value; } } // Check to see if CachingKeys property is set internal bool IsSetCachingKeys() { return this._cachingKeys != null && this._cachingKeys.Count > 0; } /// <summary> /// Gets and sets the property Ttl. /// <para> /// The TTL in seconds for a resolver that has caching activated. /// </para> /// /// <para> /// Valid values are 1–3,600 seconds. /// </para> /// </summary> [AWSProperty(Required=true)] public long Ttl { get { return this._ttl.GetValueOrDefault(); } set { this._ttl = value; } } // Check to see if Ttl property is set internal bool IsSetTtl() { return this._ttl.HasValue; } } }
86
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppSync.Model { /// <summary> /// Describes an AppSync error. /// </summary> public partial class CodeError { private string _errorType; private CodeErrorLocation _location; private string _value; /// <summary> /// Gets and sets the property ErrorType. /// <para> /// The type of code error. /// </para> /// /// <para> /// Examples include, but aren't limited to: <code>LINT_ERROR</code>, <code>PARSER_ERROR</code>. /// </para> /// </summary> public string ErrorType { get { return this._errorType; } set { this._errorType = value; } } // Check to see if ErrorType property is set internal bool IsSetErrorType() { return this._errorType != null; } /// <summary> /// Gets and sets the property Location. /// <para> /// The line, column, and span location of the error in the code. /// </para> /// </summary> public CodeErrorLocation Location { get { return this._location; } set { this._location = value; } } // Check to see if Location property is set internal bool IsSetLocation() { return this._location != null; } /// <summary> /// Gets and sets the property Value. /// <para> /// A user presentable error. /// </para> /// /// <para> /// Examples include, but aren't limited to: <code>Parsing error: Unterminated string /// literal</code>. /// </para> /// </summary> public string Value { get { return this._value; } set { this._value = value; } } // Check to see if Value property is set internal bool IsSetValue() { return this._value != null; } } }
104
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppSync.Model { /// <summary> /// Describes the location of the error in a code sample. /// </summary> public partial class CodeErrorLocation { private int? _column; private int? _line; private int? _span; /// <summary> /// Gets and sets the property Column. /// <para> /// The column number in the code. Defaults to <code>0</code> if unknown. /// </para> /// </summary> public int Column { get { return this._column.GetValueOrDefault(); } set { this._column = value; } } // Check to see if Column property is set internal bool IsSetColumn() { return this._column.HasValue; } /// <summary> /// Gets and sets the property Line. /// <para> /// The line number in the code. Defaults to <code>0</code> if unknown. /// </para> /// </summary> public int Line { get { return this._line.GetValueOrDefault(); } set { this._line = value; } } // Check to see if Line property is set internal bool IsSetLine() { return this._line.HasValue; } /// <summary> /// Gets and sets the property Span. /// <para> /// The span/length of the error. Defaults to <code>-1</code> if unknown. /// </para> /// </summary> public int Span { get { return this._span.GetValueOrDefault(); } set { this._span = value; } } // Check to see if Span property is set internal bool IsSetSpan() { return this._span.HasValue; } } }
95
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppSync.Model { /// <summary> /// Describes an Amazon Cognito user pool configuration. /// </summary> public partial class CognitoUserPoolConfig { private string _appIdClientRegex; private string _awsRegion; private string _userPoolId; /// <summary> /// Gets and sets the property AppIdClientRegex. /// <para> /// A regular expression for validating the incoming Amazon Cognito user pool app client /// ID. If this value isn't set, no filtering is applied. /// </para> /// </summary> public string AppIdClientRegex { get { return this._appIdClientRegex; } set { this._appIdClientRegex = value; } } // Check to see if AppIdClientRegex property is set internal bool IsSetAppIdClientRegex() { return this._appIdClientRegex != null; } /// <summary> /// Gets and sets the property AwsRegion. /// <para> /// The Amazon Web Services Region in which the user pool was created. /// </para> /// </summary> [AWSProperty(Required=true)] public string AwsRegion { get { return this._awsRegion; } set { this._awsRegion = value; } } // Check to see if AwsRegion property is set internal bool IsSetAwsRegion() { return this._awsRegion != null; } /// <summary> /// Gets and sets the property UserPoolId. /// <para> /// The user pool ID. /// </para> /// </summary> [AWSProperty(Required=true)] public string UserPoolId { get { return this._userPoolId; } set { this._userPoolId = value; } } // Check to see if UserPoolId property is set internal bool IsSetUserPoolId() { return this._userPoolId != null; } } }
98
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppSync.Model { /// <summary> /// Another modification is in progress at this time and it must complete before you can /// make your change. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class ConcurrentModificationException : AmazonAppSyncException { /// <summary> /// Constructs a new ConcurrentModificationException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public ConcurrentModificationException(string message) : base(message) {} /// <summary> /// Construct instance of ConcurrentModificationException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public ConcurrentModificationException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of ConcurrentModificationException /// </summary> /// <param name="innerException"></param> public ConcurrentModificationException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of ConcurrentModificationException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public ConcurrentModificationException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of ConcurrentModificationException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public ConcurrentModificationException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the ConcurrentModificationException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected ConcurrentModificationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); } #endif } }
125
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppSync.Model { /// <summary> /// Container for the parameters to the CreateApiCache operation. /// Creates a cache for the GraphQL API. /// </summary> public partial class CreateApiCacheRequest : AmazonAppSyncRequest { private ApiCachingBehavior _apiCachingBehavior; private string _apiId; private bool? _atRestEncryptionEnabled; private bool? _transitEncryptionEnabled; private long? _ttl; private ApiCacheType _type; /// <summary> /// Gets and sets the property ApiCachingBehavior. /// <para> /// Caching behavior. /// </para> /// <ul> <li> /// <para> /// <b>FULL_REQUEST_CACHING</b>: All requests are fully cached. /// </para> /// </li> <li> /// <para> /// <b>PER_RESOLVER_CACHING</b>: Individual resolvers that you specify are cached. /// </para> /// </li> </ul> /// </summary> [AWSProperty(Required=true)] public ApiCachingBehavior ApiCachingBehavior { get { return this._apiCachingBehavior; } set { this._apiCachingBehavior = value; } } // Check to see if ApiCachingBehavior property is set internal bool IsSetApiCachingBehavior() { return this._apiCachingBehavior != null; } /// <summary> /// Gets and sets the property ApiId. /// <para> /// The GraphQL API ID. /// </para> /// </summary> [AWSProperty(Required=true)] public string ApiId { get { return this._apiId; } set { this._apiId = value; } } // Check to see if ApiId property is set internal bool IsSetApiId() { return this._apiId != null; } /// <summary> /// Gets and sets the property AtRestEncryptionEnabled. /// <para> /// At-rest encryption flag for cache. You cannot update this setting after creation. /// </para> /// </summary> public bool AtRestEncryptionEnabled { get { return this._atRestEncryptionEnabled.GetValueOrDefault(); } set { this._atRestEncryptionEnabled = value; } } // Check to see if AtRestEncryptionEnabled property is set internal bool IsSetAtRestEncryptionEnabled() { return this._atRestEncryptionEnabled.HasValue; } /// <summary> /// Gets and sets the property TransitEncryptionEnabled. /// <para> /// Transit encryption flag when connecting to cache. You cannot update this setting after /// creation. /// </para> /// </summary> public bool TransitEncryptionEnabled { get { return this._transitEncryptionEnabled.GetValueOrDefault(); } set { this._transitEncryptionEnabled = value; } } // Check to see if TransitEncryptionEnabled property is set internal bool IsSetTransitEncryptionEnabled() { return this._transitEncryptionEnabled.HasValue; } /// <summary> /// Gets and sets the property Ttl. /// <para> /// TTL in seconds for cache entries. /// </para> /// /// <para> /// Valid values are 1–3,600 seconds. /// </para> /// </summary> [AWSProperty(Required=true)] public long Ttl { get { return this._ttl.GetValueOrDefault(); } set { this._ttl = value; } } // Check to see if Ttl property is set internal bool IsSetTtl() { return this._ttl.HasValue; } /// <summary> /// Gets and sets the property Type. /// <para> /// The cache instance type. Valid values are /// </para> /// <ul> <li> /// <para> /// <code>SMALL</code> /// </para> /// </li> <li> /// <para> /// <code>MEDIUM</code> /// </para> /// </li> <li> /// <para> /// <code>LARGE</code> /// </para> /// </li> <li> /// <para> /// <code>XLARGE</code> /// </para> /// </li> <li> /// <para> /// <code>LARGE_2X</code> /// </para> /// </li> <li> /// <para> /// <code>LARGE_4X</code> /// </para> /// </li> <li> /// <para> /// <code>LARGE_8X</code> (not available in all regions) /// </para> /// </li> <li> /// <para> /// <code>LARGE_12X</code> /// </para> /// </li> </ul> /// <para> /// Historically, instance types were identified by an EC2-style value. As of July 2020, /// this is deprecated, and the generic identifiers above should be used. /// </para> /// /// <para> /// The following legacy instance types are available, but their use is discouraged: /// </para> /// <ul> <li> /// <para> /// <b>T2_SMALL</b>: A t2.small instance type. /// </para> /// </li> <li> /// <para> /// <b>T2_MEDIUM</b>: A t2.medium instance type. /// </para> /// </li> <li> /// <para> /// <b>R4_LARGE</b>: A r4.large instance type. /// </para> /// </li> <li> /// <para> /// <b>R4_XLARGE</b>: A r4.xlarge instance type. /// </para> /// </li> <li> /// <para> /// <b>R4_2XLARGE</b>: A r4.2xlarge instance type. /// </para> /// </li> <li> /// <para> /// <b>R4_4XLARGE</b>: A r4.4xlarge instance type. /// </para> /// </li> <li> /// <para> /// <b>R4_8XLARGE</b>: A r4.8xlarge instance type. /// </para> /// </li> </ul> /// </summary> [AWSProperty(Required=true)] public ApiCacheType Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null; } } }
241
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppSync.Model { /// <summary> /// Represents the output of a <code>CreateApiCache</code> operation. /// </summary> public partial class CreateApiCacheResponse : AmazonWebServiceResponse { private ApiCache _apiCache; /// <summary> /// Gets and sets the property ApiCache. /// <para> /// The <code>ApiCache</code> object. /// </para> /// </summary> public ApiCache ApiCache { get { return this._apiCache; } set { this._apiCache = value; } } // Check to see if ApiCache property is set internal bool IsSetApiCache() { return this._apiCache != null; } } }
57
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppSync.Model { /// <summary> /// Container for the parameters to the CreateApiKey operation. /// Creates a unique key that you can distribute to clients who invoke your API. /// </summary> public partial class CreateApiKeyRequest : AmazonAppSyncRequest { private string _apiId; private string _description; private long? _expires; /// <summary> /// Gets and sets the property ApiId. /// <para> /// The ID for your GraphQL API. /// </para> /// </summary> [AWSProperty(Required=true)] public string ApiId { get { return this._apiId; } set { this._apiId = value; } } // Check to see if ApiId property is set internal bool IsSetApiId() { return this._apiId != null; } /// <summary> /// Gets and sets the property Description. /// <para> /// A description of the purpose of the API key. /// </para> /// </summary> public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// <summary> /// Gets and sets the property Expires. /// <para> /// From the creation time, the time after which the API key expires. The date is represented /// as seconds since the epoch, rounded down to the nearest hour. The default value for /// this parameter is 7 days from creation time. For more information, see . /// </para> /// </summary> public long Expires { get { return this._expires.GetValueOrDefault(); } set { this._expires = value; } } // Check to see if Expires property is set internal bool IsSetExpires() { return this._expires.HasValue; } } }
99
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppSync.Model { /// <summary> /// This is the response object from the CreateApiKey operation. /// </summary> public partial class CreateApiKeyResponse : AmazonWebServiceResponse { private ApiKey _apiKey; /// <summary> /// Gets and sets the property ApiKey. /// <para> /// The API key. /// </para> /// </summary> public ApiKey ApiKey { get { return this._apiKey; } set { this._apiKey = value; } } // Check to see if ApiKey property is set internal bool IsSetApiKey() { return this._apiKey != null; } } }
57
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppSync.Model { /// <summary> /// Container for the parameters to the CreateDataSource operation. /// Creates a <code>DataSource</code> object. /// </summary> public partial class CreateDataSourceRequest : AmazonAppSyncRequest { private string _apiId; private string _description; private DynamodbDataSourceConfig _dynamodbConfig; private ElasticsearchDataSourceConfig _elasticsearchConfig; private EventBridgeDataSourceConfig _eventBridgeConfig; private HttpDataSourceConfig _httpConfig; private LambdaDataSourceConfig _lambdaConfig; private string _name; private OpenSearchServiceDataSourceConfig _openSearchServiceConfig; private RelationalDatabaseDataSourceConfig _relationalDatabaseConfig; private string _serviceRoleArn; private DataSourceType _type; /// <summary> /// Gets and sets the property ApiId. /// <para> /// The API ID for the GraphQL API for the <code>DataSource</code>. /// </para> /// </summary> [AWSProperty(Required=true)] public string ApiId { get { return this._apiId; } set { this._apiId = value; } } // Check to see if ApiId property is set internal bool IsSetApiId() { return this._apiId != null; } /// <summary> /// Gets and sets the property Description. /// <para> /// A description of the <code>DataSource</code>. /// </para> /// </summary> public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// <summary> /// Gets and sets the property DynamodbConfig. /// <para> /// Amazon DynamoDB settings. /// </para> /// </summary> public DynamodbDataSourceConfig DynamodbConfig { get { return this._dynamodbConfig; } set { this._dynamodbConfig = value; } } // Check to see if DynamodbConfig property is set internal bool IsSetDynamodbConfig() { return this._dynamodbConfig != null; } /// <summary> /// Gets and sets the property ElasticsearchConfig. /// <para> /// Amazon OpenSearch Service settings. /// </para> /// /// <para> /// As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This /// configuration is deprecated. For new data sources, use <a>CreateDataSourceRequest$openSearchServiceConfig</a> /// to create an OpenSearch data source. /// </para> /// </summary> public ElasticsearchDataSourceConfig ElasticsearchConfig { get { return this._elasticsearchConfig; } set { this._elasticsearchConfig = value; } } // Check to see if ElasticsearchConfig property is set internal bool IsSetElasticsearchConfig() { return this._elasticsearchConfig != null; } /// <summary> /// Gets and sets the property EventBridgeConfig. /// <para> /// Amazon EventBridge settings. /// </para> /// </summary> public EventBridgeDataSourceConfig EventBridgeConfig { get { return this._eventBridgeConfig; } set { this._eventBridgeConfig = value; } } // Check to see if EventBridgeConfig property is set internal bool IsSetEventBridgeConfig() { return this._eventBridgeConfig != null; } /// <summary> /// Gets and sets the property HttpConfig. /// <para> /// HTTP endpoint settings. /// </para> /// </summary> public HttpDataSourceConfig HttpConfig { get { return this._httpConfig; } set { this._httpConfig = value; } } // Check to see if HttpConfig property is set internal bool IsSetHttpConfig() { return this._httpConfig != null; } /// <summary> /// Gets and sets the property LambdaConfig. /// <para> /// Lambda settings. /// </para> /// </summary> public LambdaDataSourceConfig LambdaConfig { get { return this._lambdaConfig; } set { this._lambdaConfig = value; } } // Check to see if LambdaConfig property is set internal bool IsSetLambdaConfig() { return this._lambdaConfig != null; } /// <summary> /// Gets and sets the property Name. /// <para> /// A user-supplied name for the <code>DataSource</code>. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=65536)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// <summary> /// Gets and sets the property OpenSearchServiceConfig. /// <para> /// Amazon OpenSearch Service settings. /// </para> /// </summary> public OpenSearchServiceDataSourceConfig OpenSearchServiceConfig { get { return this._openSearchServiceConfig; } set { this._openSearchServiceConfig = value; } } // Check to see if OpenSearchServiceConfig property is set internal bool IsSetOpenSearchServiceConfig() { return this._openSearchServiceConfig != null; } /// <summary> /// Gets and sets the property RelationalDatabaseConfig. /// <para> /// Relational database settings. /// </para> /// </summary> public RelationalDatabaseDataSourceConfig RelationalDatabaseConfig { get { return this._relationalDatabaseConfig; } set { this._relationalDatabaseConfig = value; } } // Check to see if RelationalDatabaseConfig property is set internal bool IsSetRelationalDatabaseConfig() { return this._relationalDatabaseConfig != null; } /// <summary> /// Gets and sets the property ServiceRoleArn. /// <para> /// The Identity and Access Management (IAM) service role Amazon Resource Name (ARN) for /// the data source. The system assumes this role when accessing the data source. /// </para> /// </summary> public string ServiceRoleArn { get { return this._serviceRoleArn; } set { this._serviceRoleArn = value; } } // Check to see if ServiceRoleArn property is set internal bool IsSetServiceRoleArn() { return this._serviceRoleArn != null; } /// <summary> /// Gets and sets the property Type. /// <para> /// The type of the <code>DataSource</code>. /// </para> /// </summary> [AWSProperty(Required=true)] public DataSourceType Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null; } } }
277
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppSync.Model { /// <summary> /// This is the response object from the CreateDataSource operation. /// </summary> public partial class CreateDataSourceResponse : AmazonWebServiceResponse { private DataSource _dataSource; /// <summary> /// Gets and sets the property DataSource. /// <para> /// The <code>DataSource</code> object. /// </para> /// </summary> public DataSource DataSource { get { return this._dataSource; } set { this._dataSource = value; } } // Check to see if DataSource property is set internal bool IsSetDataSource() { return this._dataSource != null; } } }
57
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppSync.Model { /// <summary> /// Container for the parameters to the CreateDomainName operation. /// Creates a custom <code>DomainName</code> object. /// </summary> public partial class CreateDomainNameRequest : AmazonAppSyncRequest { private string _certificateArn; private string _description; private string _domainName; /// <summary> /// Gets and sets the property CertificateArn. /// <para> /// The Amazon Resource Name (ARN) of the certificate. This can be an Certificate Manager /// (ACM) certificate or an Identity and Access Management (IAM) server certificate. /// </para> /// </summary> [AWSProperty(Required=true, Min=20, Max=2048)] public string CertificateArn { get { return this._certificateArn; } set { this._certificateArn = value; } } // Check to see if CertificateArn property is set internal bool IsSetCertificateArn() { return this._certificateArn != null; } /// <summary> /// Gets and sets the property Description. /// <para> /// A description of the <code>DomainName</code>. /// </para> /// </summary> [AWSProperty(Min=0, Max=255)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// <summary> /// Gets and sets the property DomainName. /// <para> /// The domain name. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=253)] public string DomainName { get { return this._domainName; } set { this._domainName = value; } } // Check to see if DomainName property is set internal bool IsSetDomainName() { return this._domainName != null; } } }
100
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppSync.Model { /// <summary> /// This is the response object from the CreateDomainName operation. /// </summary> public partial class CreateDomainNameResponse : AmazonWebServiceResponse { private DomainNameConfig _domainNameConfig; /// <summary> /// Gets and sets the property DomainNameConfig. /// <para> /// The configuration for the <code>DomainName</code>. /// </para> /// </summary> public DomainNameConfig DomainNameConfig { get { return this._domainNameConfig; } set { this._domainNameConfig = value; } } // Check to see if DomainNameConfig property is set internal bool IsSetDomainNameConfig() { return this._domainNameConfig != null; } } }
57
aws-sdk-net
aws
C#
/* * 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 appsync-2017-07-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppSync.Model { /// <summary> /// Container for the parameters to the CreateFunction operation. /// Creates a <code>Function</code> object. /// /// /// <para> /// A function is a reusable entity. You can use multiple functions to compose the resolver /// logic. /// </para> /// </summary> public partial class CreateFunctionRequest : AmazonAppSyncRequest { private string _apiId; private string _code; private string _dataSourceName; private string _description; private string _functionVersion; private int? _maxBatchSize; private string _name; private string _requestMappingTemplate; private string _responseMappingTemplate; private AppSyncRuntime _runtime; private SyncConfig _syncConfig; /// <summary> /// Gets and sets the property ApiId. /// <para> /// The GraphQL API ID. /// </para> /// </summary> [AWSProperty(Required=true)] public string ApiId { get { return this._apiId; } set { this._apiId = value; } } // Check to see if ApiId property is set internal bool IsSetApiId() { return this._apiId != null; } /// <summary> /// Gets and sets the property Code. /// <para> /// The <code>function</code> code that contains the request and response functions. When /// code is used, the <code>runtime</code> is required. The <code>runtime</code> value /// must be <code>APPSYNC_JS</code>. /// </para> /// </summary> [AWSProperty(Min=1, Max=32768)] public string Code { get { return this._code; } set { this._code = value; } } // Check to see if Code property is set internal bool IsSetCode() { return this._code != null; } /// <summary> /// Gets and sets the property DataSourceName. /// <para> /// The <code>Function</code> <code>DataSource</code> name. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=65536)] public string DataSourceName { get { return this._dataSourceName; } set { this._dataSourceName = value; } } // Check to see if DataSourceName property is set internal bool IsSetDataSourceName() { return this._dataSourceName != null; } /// <summary> /// Gets and sets the property Description. /// <para> /// The <code>Function</code> description. /// </para> /// </summary> public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// <summary> /// Gets and sets the property FunctionVersion. /// <para> /// The <code>version</code> of the request mapping template. Currently, the supported /// value is 2018-05-29. Note that when using VTL and mapping templates, the <code>functionVersion</code> /// is required. /// </para> /// </summary> public string FunctionVersion { get { return this._functionVersion; } set { this._functionVersion = value; } } // Check to see if FunctionVersion property is set internal bool IsSetFunctionVersion() { return this._functionVersion != null; } /// <summary> /// Gets and sets the property MaxBatchSize. /// <para> /// The maximum batching size for a resolver. /// </para> /// </summary> [AWSProperty(Min=0, Max=2000)] public int MaxBatchSize { get { return this._maxBatchSize.GetValueOrDefault(); } set { this._maxBatchSize = value; } } // Check to see if MaxBatchSize property is set internal bool IsSetMaxBatchSize() { return this._maxBatchSize.HasValue; } /// <summary> /// Gets and sets the property Name. /// <para> /// The <code>Function</code> name. The function name does not have to be unique. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=65536)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// <summary> /// Gets and sets the property RequestMappingTemplate. /// <para> /// The <code>Function</code> request mapping template. Functions support only the 2018-05-29 /// version of the request mapping template. /// </para> /// </summary> [AWSProperty(Min=1, Max=65536)] public string RequestMappingTemplate { get { return this._requestMappingTemplate; } set { this._requestMappingTemplate = value; } } // Check to see if RequestMappingTemplate property is set internal bool IsSetRequestMappingTemplate() { return this._requestMappingTemplate != null; } /// <summary> /// Gets and sets the property ResponseMappingTemplate. /// <para> /// The <code>Function</code> response mapping template. /// </para> /// </summary> [AWSProperty(Min=1, Max=65536)] public string ResponseMappingTemplate { get { return this._responseMappingTemplate; } set { this._responseMappingTemplate = value; } } // Check to see if ResponseMappingTemplate property is set internal bool IsSetResponseMappingTemplate() { return this._responseMappingTemplate != null; } /// <summary> /// Gets and sets the property Runtime. /// </summary> public AppSyncRuntime Runtime { get { return this._runtime; } set { this._runtime = value; } } // Check to see if Runtime property is set internal bool IsSetRuntime() { return this._runtime != null; } /// <summary> /// Gets and sets the property SyncConfig. /// </summary> public SyncConfig SyncConfig { get { return this._syncConfig; } set { this._syncConfig = value; } } // Check to see if SyncConfig property is set internal bool IsSetSyncConfig() { return this._syncConfig != null; } } }
260