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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// DeleteAppInstanceBot Request Marshaller /// </summary> public class DeleteAppInstanceBotRequestMarshaller : IMarshaller<IRequest, DeleteAppInstanceBotRequest> , 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((DeleteAppInstanceBotRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(DeleteAppInstanceBotRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.ChimeSDKIdentity"); request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2021-04-20"; request.HttpMethod = "DELETE"; if (!publicRequest.IsSetAppInstanceBotArn()) throw new AmazonChimeSDKIdentityException("Request object does not have required field AppInstanceBotArn set"); request.AddPathResource("{appInstanceBotArn}", StringUtils.FromString(publicRequest.AppInstanceBotArn)); request.ResourcePath = "/app-instance-bots/{appInstanceBotArn}"; return request; } private static DeleteAppInstanceBotRequestMarshaller _instance = new DeleteAppInstanceBotRequestMarshaller(); internal static DeleteAppInstanceBotRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static DeleteAppInstanceBotRequestMarshaller Instance { get { return _instance; } } } }
87
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for DeleteAppInstanceBot operation /// </summary> public class DeleteAppInstanceBotResponseUnmarshaller : 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) { DeleteAppInstanceBotResponse response = new DeleteAppInstanceBotResponse(); 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("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException")) { return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ForbiddenException")) { return ForbiddenExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceLimitExceededException")) { return ResourceLimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceFailureException")) { return ServiceFailureExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceUnavailableException")) { return ServiceUnavailableExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottledClientException")) { return ThrottledClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedClientException")) { return UnauthorizedClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonChimeSDKIdentityException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static DeleteAppInstanceBotResponseUnmarshaller _instance = new DeleteAppInstanceBotResponseUnmarshaller(); internal static DeleteAppInstanceBotResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static DeleteAppInstanceBotResponseUnmarshaller 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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// DeleteAppInstance Request Marshaller /// </summary> public class DeleteAppInstanceRequestMarshaller : IMarshaller<IRequest, DeleteAppInstanceRequest> , 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((DeleteAppInstanceRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(DeleteAppInstanceRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.ChimeSDKIdentity"); request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2021-04-20"; request.HttpMethod = "DELETE"; if (!publicRequest.IsSetAppInstanceArn()) throw new AmazonChimeSDKIdentityException("Request object does not have required field AppInstanceArn set"); request.AddPathResource("{appInstanceArn}", StringUtils.FromString(publicRequest.AppInstanceArn)); request.ResourcePath = "/app-instances/{appInstanceArn}"; return request; } private static DeleteAppInstanceRequestMarshaller _instance = new DeleteAppInstanceRequestMarshaller(); internal static DeleteAppInstanceRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static DeleteAppInstanceRequestMarshaller Instance { get { return _instance; } } } }
87
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for DeleteAppInstance operation /// </summary> public class DeleteAppInstanceResponseUnmarshaller : 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) { DeleteAppInstanceResponse response = new DeleteAppInstanceResponse(); 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("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ForbiddenException")) { return ForbiddenExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceLimitExceededException")) { return ResourceLimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceFailureException")) { return ServiceFailureExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceUnavailableException")) { return ServiceUnavailableExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottledClientException")) { return ThrottledClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedClientException")) { return UnauthorizedClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonChimeSDKIdentityException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static DeleteAppInstanceResponseUnmarshaller _instance = new DeleteAppInstanceResponseUnmarshaller(); internal static DeleteAppInstanceResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static DeleteAppInstanceResponseUnmarshaller Instance { get { return _instance; } } } }
123
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// DeleteAppInstanceUser Request Marshaller /// </summary> public class DeleteAppInstanceUserRequestMarshaller : IMarshaller<IRequest, DeleteAppInstanceUserRequest> , 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((DeleteAppInstanceUserRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(DeleteAppInstanceUserRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.ChimeSDKIdentity"); request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2021-04-20"; request.HttpMethod = "DELETE"; if (!publicRequest.IsSetAppInstanceUserArn()) throw new AmazonChimeSDKIdentityException("Request object does not have required field AppInstanceUserArn set"); request.AddPathResource("{appInstanceUserArn}", StringUtils.FromString(publicRequest.AppInstanceUserArn)); request.ResourcePath = "/app-instance-users/{appInstanceUserArn}"; return request; } private static DeleteAppInstanceUserRequestMarshaller _instance = new DeleteAppInstanceUserRequestMarshaller(); internal static DeleteAppInstanceUserRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static DeleteAppInstanceUserRequestMarshaller Instance { get { return _instance; } } } }
87
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for DeleteAppInstanceUser operation /// </summary> public class DeleteAppInstanceUserResponseUnmarshaller : 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) { DeleteAppInstanceUserResponse response = new DeleteAppInstanceUserResponse(); 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("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException")) { return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ForbiddenException")) { return ForbiddenExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceLimitExceededException")) { return ResourceLimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceFailureException")) { return ServiceFailureExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceUnavailableException")) { return ServiceUnavailableExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottledClientException")) { return ThrottledClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedClientException")) { return UnauthorizedClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonChimeSDKIdentityException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static DeleteAppInstanceUserResponseUnmarshaller _instance = new DeleteAppInstanceUserResponseUnmarshaller(); internal static DeleteAppInstanceUserResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static DeleteAppInstanceUserResponseUnmarshaller 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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// DeregisterAppInstanceUserEndpoint Request Marshaller /// </summary> public class DeregisterAppInstanceUserEndpointRequestMarshaller : IMarshaller<IRequest, DeregisterAppInstanceUserEndpointRequest> , 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((DeregisterAppInstanceUserEndpointRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(DeregisterAppInstanceUserEndpointRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.ChimeSDKIdentity"); request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2021-04-20"; request.HttpMethod = "DELETE"; if (!publicRequest.IsSetAppInstanceUserArn()) throw new AmazonChimeSDKIdentityException("Request object does not have required field AppInstanceUserArn set"); request.AddPathResource("{appInstanceUserArn}", StringUtils.FromString(publicRequest.AppInstanceUserArn)); if (!publicRequest.IsSetEndpointId()) throw new AmazonChimeSDKIdentityException("Request object does not have required field EndpointId set"); request.AddPathResource("{endpointId}", StringUtils.FromString(publicRequest.EndpointId)); request.ResourcePath = "/app-instance-users/{appInstanceUserArn}/endpoints/{endpointId}"; return request; } private static DeregisterAppInstanceUserEndpointRequestMarshaller _instance = new DeregisterAppInstanceUserEndpointRequestMarshaller(); internal static DeregisterAppInstanceUserEndpointRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static DeregisterAppInstanceUserEndpointRequestMarshaller Instance { get { return _instance; } } } }
90
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for DeregisterAppInstanceUserEndpoint operation /// </summary> public class DeregisterAppInstanceUserEndpointResponseUnmarshaller : 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) { DeregisterAppInstanceUserEndpointResponse response = new DeregisterAppInstanceUserEndpointResponse(); 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("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ForbiddenException")) { return ForbiddenExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceFailureException")) { return ServiceFailureExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceUnavailableException")) { return ServiceUnavailableExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottledClientException")) { return ThrottledClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedClientException")) { return UnauthorizedClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonChimeSDKIdentityException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static DeregisterAppInstanceUserEndpointResponseUnmarshaller _instance = new DeregisterAppInstanceUserEndpointResponseUnmarshaller(); internal static DeregisterAppInstanceUserEndpointResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static DeregisterAppInstanceUserEndpointResponseUnmarshaller Instance { get { return _instance; } } } }
119
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// DescribeAppInstanceAdmin Request Marshaller /// </summary> public class DescribeAppInstanceAdminRequestMarshaller : IMarshaller<IRequest, DescribeAppInstanceAdminRequest> , 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((DescribeAppInstanceAdminRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(DescribeAppInstanceAdminRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.ChimeSDKIdentity"); request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2021-04-20"; request.HttpMethod = "GET"; if (!publicRequest.IsSetAppInstanceAdminArn()) throw new AmazonChimeSDKIdentityException("Request object does not have required field AppInstanceAdminArn set"); request.AddPathResource("{appInstanceAdminArn}", StringUtils.FromString(publicRequest.AppInstanceAdminArn)); if (!publicRequest.IsSetAppInstanceArn()) throw new AmazonChimeSDKIdentityException("Request object does not have required field AppInstanceArn set"); request.AddPathResource("{appInstanceArn}", StringUtils.FromString(publicRequest.AppInstanceArn)); request.ResourcePath = "/app-instances/{appInstanceArn}/admins/{appInstanceAdminArn}"; return request; } private static DescribeAppInstanceAdminRequestMarshaller _instance = new DescribeAppInstanceAdminRequestMarshaller(); internal static DescribeAppInstanceAdminRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static DescribeAppInstanceAdminRequestMarshaller Instance { get { return _instance; } } } }
90
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for DescribeAppInstanceAdmin operation /// </summary> public class DescribeAppInstanceAdminResponseUnmarshaller : 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) { DescribeAppInstanceAdminResponse response = new DescribeAppInstanceAdminResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("AppInstanceAdmin", targetDepth)) { var unmarshaller = AppInstanceAdminUnmarshaller.Instance; response.AppInstanceAdmin = 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("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ForbiddenException")) { return ForbiddenExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceFailureException")) { return ServiceFailureExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceUnavailableException")) { return ServiceUnavailableExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottledClientException")) { return ThrottledClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedClientException")) { return UnauthorizedClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonChimeSDKIdentityException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static DescribeAppInstanceAdminResponseUnmarshaller _instance = new DescribeAppInstanceAdminResponseUnmarshaller(); internal static DescribeAppInstanceAdminResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static DescribeAppInstanceAdminResponseUnmarshaller Instance { get { return _instance; } } } }
130
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// DescribeAppInstanceBot Request Marshaller /// </summary> public class DescribeAppInstanceBotRequestMarshaller : IMarshaller<IRequest, DescribeAppInstanceBotRequest> , 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((DescribeAppInstanceBotRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(DescribeAppInstanceBotRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.ChimeSDKIdentity"); request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2021-04-20"; request.HttpMethod = "GET"; if (!publicRequest.IsSetAppInstanceBotArn()) throw new AmazonChimeSDKIdentityException("Request object does not have required field AppInstanceBotArn set"); request.AddPathResource("{appInstanceBotArn}", StringUtils.FromString(publicRequest.AppInstanceBotArn)); request.ResourcePath = "/app-instance-bots/{appInstanceBotArn}"; return request; } private static DescribeAppInstanceBotRequestMarshaller _instance = new DescribeAppInstanceBotRequestMarshaller(); internal static DescribeAppInstanceBotRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static DescribeAppInstanceBotRequestMarshaller Instance { get { return _instance; } } } }
87
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for DescribeAppInstanceBot operation /// </summary> public class DescribeAppInstanceBotResponseUnmarshaller : 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) { DescribeAppInstanceBotResponse response = new DescribeAppInstanceBotResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("AppInstanceBot", targetDepth)) { var unmarshaller = AppInstanceBotUnmarshaller.Instance; response.AppInstanceBot = 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("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ForbiddenException")) { return ForbiddenExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("NotFoundException")) { return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceFailureException")) { return ServiceFailureExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceUnavailableException")) { return ServiceUnavailableExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottledClientException")) { return ThrottledClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedClientException")) { return UnauthorizedClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonChimeSDKIdentityException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static DescribeAppInstanceBotResponseUnmarshaller _instance = new DescribeAppInstanceBotResponseUnmarshaller(); internal static DescribeAppInstanceBotResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static DescribeAppInstanceBotResponseUnmarshaller 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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// DescribeAppInstance Request Marshaller /// </summary> public class DescribeAppInstanceRequestMarshaller : IMarshaller<IRequest, DescribeAppInstanceRequest> , 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((DescribeAppInstanceRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(DescribeAppInstanceRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.ChimeSDKIdentity"); request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2021-04-20"; request.HttpMethod = "GET"; if (!publicRequest.IsSetAppInstanceArn()) throw new AmazonChimeSDKIdentityException("Request object does not have required field AppInstanceArn set"); request.AddPathResource("{appInstanceArn}", StringUtils.FromString(publicRequest.AppInstanceArn)); request.ResourcePath = "/app-instances/{appInstanceArn}"; return request; } private static DescribeAppInstanceRequestMarshaller _instance = new DescribeAppInstanceRequestMarshaller(); internal static DescribeAppInstanceRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static DescribeAppInstanceRequestMarshaller Instance { get { return _instance; } } } }
87
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for DescribeAppInstance operation /// </summary> public class DescribeAppInstanceResponseUnmarshaller : 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) { DescribeAppInstanceResponse response = new DescribeAppInstanceResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("AppInstance", targetDepth)) { var unmarshaller = AppInstanceUnmarshaller.Instance; response.AppInstance = 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("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ForbiddenException")) { return ForbiddenExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceFailureException")) { return ServiceFailureExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceUnavailableException")) { return ServiceUnavailableExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottledClientException")) { return ThrottledClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedClientException")) { return UnauthorizedClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonChimeSDKIdentityException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static DescribeAppInstanceResponseUnmarshaller _instance = new DescribeAppInstanceResponseUnmarshaller(); internal static DescribeAppInstanceResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static DescribeAppInstanceResponseUnmarshaller Instance { get { return _instance; } } } }
130
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// DescribeAppInstanceUserEndpoint Request Marshaller /// </summary> public class DescribeAppInstanceUserEndpointRequestMarshaller : IMarshaller<IRequest, DescribeAppInstanceUserEndpointRequest> , 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((DescribeAppInstanceUserEndpointRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(DescribeAppInstanceUserEndpointRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.ChimeSDKIdentity"); request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2021-04-20"; request.HttpMethod = "GET"; if (!publicRequest.IsSetAppInstanceUserArn()) throw new AmazonChimeSDKIdentityException("Request object does not have required field AppInstanceUserArn set"); request.AddPathResource("{appInstanceUserArn}", StringUtils.FromString(publicRequest.AppInstanceUserArn)); if (!publicRequest.IsSetEndpointId()) throw new AmazonChimeSDKIdentityException("Request object does not have required field EndpointId set"); request.AddPathResource("{endpointId}", StringUtils.FromString(publicRequest.EndpointId)); request.ResourcePath = "/app-instance-users/{appInstanceUserArn}/endpoints/{endpointId}"; return request; } private static DescribeAppInstanceUserEndpointRequestMarshaller _instance = new DescribeAppInstanceUserEndpointRequestMarshaller(); internal static DescribeAppInstanceUserEndpointRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static DescribeAppInstanceUserEndpointRequestMarshaller Instance { get { return _instance; } } } }
90
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for DescribeAppInstanceUserEndpoint operation /// </summary> public class DescribeAppInstanceUserEndpointResponseUnmarshaller : 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) { DescribeAppInstanceUserEndpointResponse response = new DescribeAppInstanceUserEndpointResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("AppInstanceUserEndpoint", targetDepth)) { var unmarshaller = AppInstanceUserEndpointUnmarshaller.Instance; response.AppInstanceUserEndpoint = 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("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ForbiddenException")) { return ForbiddenExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceFailureException")) { return ServiceFailureExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceUnavailableException")) { return ServiceUnavailableExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottledClientException")) { return ThrottledClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedClientException")) { return UnauthorizedClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonChimeSDKIdentityException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static DescribeAppInstanceUserEndpointResponseUnmarshaller _instance = new DescribeAppInstanceUserEndpointResponseUnmarshaller(); internal static DescribeAppInstanceUserEndpointResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static DescribeAppInstanceUserEndpointResponseUnmarshaller Instance { get { return _instance; } } } }
130
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// DescribeAppInstanceUser Request Marshaller /// </summary> public class DescribeAppInstanceUserRequestMarshaller : IMarshaller<IRequest, DescribeAppInstanceUserRequest> , 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((DescribeAppInstanceUserRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(DescribeAppInstanceUserRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.ChimeSDKIdentity"); request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2021-04-20"; request.HttpMethod = "GET"; if (!publicRequest.IsSetAppInstanceUserArn()) throw new AmazonChimeSDKIdentityException("Request object does not have required field AppInstanceUserArn set"); request.AddPathResource("{appInstanceUserArn}", StringUtils.FromString(publicRequest.AppInstanceUserArn)); request.ResourcePath = "/app-instance-users/{appInstanceUserArn}"; return request; } private static DescribeAppInstanceUserRequestMarshaller _instance = new DescribeAppInstanceUserRequestMarshaller(); internal static DescribeAppInstanceUserRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static DescribeAppInstanceUserRequestMarshaller Instance { get { return _instance; } } } }
87
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for DescribeAppInstanceUser operation /// </summary> public class DescribeAppInstanceUserResponseUnmarshaller : 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) { DescribeAppInstanceUserResponse response = new DescribeAppInstanceUserResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("AppInstanceUser", targetDepth)) { var unmarshaller = AppInstanceUserUnmarshaller.Instance; response.AppInstanceUser = 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("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ForbiddenException")) { return ForbiddenExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceFailureException")) { return ServiceFailureExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceUnavailableException")) { return ServiceUnavailableExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottledClientException")) { return ThrottledClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedClientException")) { return UnauthorizedClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonChimeSDKIdentityException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static DescribeAppInstanceUserResponseUnmarshaller _instance = new DescribeAppInstanceUserResponseUnmarshaller(); internal static DescribeAppInstanceUserResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static DescribeAppInstanceUserResponseUnmarshaller Instance { get { return _instance; } } } }
130
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// EndpointAttributes Marshaller /// </summary> public class EndpointAttributesMarshaller : IRequestMarshaller<EndpointAttributes, 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(EndpointAttributes requestObject, JsonMarshallerContext context) { if(requestObject.IsSetDeviceToken()) { context.Writer.WritePropertyName("DeviceToken"); context.Writer.Write(requestObject.DeviceToken); } if(requestObject.IsSetVoipDeviceToken()) { context.Writer.WritePropertyName("VoipDeviceToken"); context.Writer.Write(requestObject.VoipDeviceToken); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static EndpointAttributesMarshaller Instance = new EndpointAttributesMarshaller(); } }
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for EndpointAttributes Object /// </summary> public class EndpointAttributesUnmarshaller : IUnmarshaller<EndpointAttributes, XmlUnmarshallerContext>, IUnmarshaller<EndpointAttributes, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> EndpointAttributes IUnmarshaller<EndpointAttributes, 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 EndpointAttributes Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; EndpointAttributes unmarshalledObject = new EndpointAttributes(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("DeviceToken", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.DeviceToken = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("VoipDeviceToken", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.VoipDeviceToken = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static EndpointAttributesUnmarshaller _instance = new EndpointAttributesUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static EndpointAttributesUnmarshaller 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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for EndpointState Object /// </summary> public class EndpointStateUnmarshaller : IUnmarshaller<EndpointState, XmlUnmarshallerContext>, IUnmarshaller<EndpointState, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> EndpointState IUnmarshaller<EndpointState, 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 EndpointState Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; EndpointState unmarshalledObject = new EndpointState(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("Status", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.Status = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("StatusReason", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.StatusReason = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static EndpointStateUnmarshaller _instance = new EndpointStateUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static EndpointStateUnmarshaller 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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// ExpirationSettings Marshaller /// </summary> public class ExpirationSettingsMarshaller : IRequestMarshaller<ExpirationSettings, 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(ExpirationSettings requestObject, JsonMarshallerContext context) { if(requestObject.IsSetExpirationCriterion()) { context.Writer.WritePropertyName("ExpirationCriterion"); context.Writer.Write(requestObject.ExpirationCriterion); } if(requestObject.IsSetExpirationDays()) { context.Writer.WritePropertyName("ExpirationDays"); context.Writer.Write(requestObject.ExpirationDays); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static ExpirationSettingsMarshaller Instance = new ExpirationSettingsMarshaller(); } }
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for ExpirationSettings Object /// </summary> public class ExpirationSettingsUnmarshaller : IUnmarshaller<ExpirationSettings, XmlUnmarshallerContext>, IUnmarshaller<ExpirationSettings, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> ExpirationSettings IUnmarshaller<ExpirationSettings, 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 ExpirationSettings Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; ExpirationSettings unmarshalledObject = new ExpirationSettings(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("ExpirationCriterion", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.ExpirationCriterion = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("ExpirationDays", targetDepth)) { var unmarshaller = IntUnmarshaller.Instance; unmarshalledObject.ExpirationDays = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static ExpirationSettingsUnmarshaller _instance = new ExpirationSettingsUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static ExpirationSettingsUnmarshaller 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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for ForbiddenException Object /// </summary> public class ForbiddenExceptionUnmarshaller : IErrorResponseUnmarshaller<ForbiddenException, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public ForbiddenException Unmarshall(JsonUnmarshallerContext context) { return this.Unmarshall(context, new Amazon.Runtime.Internal.ErrorResponse()); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <param name="errorResponse"></param> /// <returns></returns> public ForbiddenException Unmarshall(JsonUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse) { context.Read(); ForbiddenException unmarshalledObject = new ForbiddenException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("Code", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.Code = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static ForbiddenExceptionUnmarshaller _instance = new ForbiddenExceptionUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static ForbiddenExceptionUnmarshaller Instance { get { return _instance; } } } }
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// GetAppInstanceRetentionSettings Request Marshaller /// </summary> public class GetAppInstanceRetentionSettingsRequestMarshaller : IMarshaller<IRequest, GetAppInstanceRetentionSettingsRequest> , 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((GetAppInstanceRetentionSettingsRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(GetAppInstanceRetentionSettingsRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.ChimeSDKIdentity"); request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2021-04-20"; request.HttpMethod = "GET"; if (!publicRequest.IsSetAppInstanceArn()) throw new AmazonChimeSDKIdentityException("Request object does not have required field AppInstanceArn set"); request.AddPathResource("{appInstanceArn}", StringUtils.FromString(publicRequest.AppInstanceArn)); request.ResourcePath = "/app-instances/{appInstanceArn}/retention-settings"; return request; } private static GetAppInstanceRetentionSettingsRequestMarshaller _instance = new GetAppInstanceRetentionSettingsRequestMarshaller(); internal static GetAppInstanceRetentionSettingsRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static GetAppInstanceRetentionSettingsRequestMarshaller Instance { get { return _instance; } } } }
87
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for GetAppInstanceRetentionSettings operation /// </summary> public class GetAppInstanceRetentionSettingsResponseUnmarshaller : 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) { GetAppInstanceRetentionSettingsResponse response = new GetAppInstanceRetentionSettingsResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("AppInstanceRetentionSettings", targetDepth)) { var unmarshaller = AppInstanceRetentionSettingsUnmarshaller.Instance; response.AppInstanceRetentionSettings = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("InitiateDeletionTimestamp", targetDepth)) { var unmarshaller = DateTimeUnmarshaller.Instance; response.InitiateDeletionTimestamp = 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("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ForbiddenException")) { return ForbiddenExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceFailureException")) { return ServiceFailureExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceUnavailableException")) { return ServiceUnavailableExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottledClientException")) { return ThrottledClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedClientException")) { return UnauthorizedClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonChimeSDKIdentityException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static GetAppInstanceRetentionSettingsResponseUnmarshaller _instance = new GetAppInstanceRetentionSettingsResponseUnmarshaller(); internal static GetAppInstanceRetentionSettingsResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static GetAppInstanceRetentionSettingsResponseUnmarshaller 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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for Identity Object /// </summary> public class IdentityUnmarshaller : IUnmarshaller<Identity, XmlUnmarshallerContext>, IUnmarshaller<Identity, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> Identity IUnmarshaller<Identity, 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 Identity Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; Identity unmarshalledObject = new Identity(); 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("Name", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.Name = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static IdentityUnmarshaller _instance = new IdentityUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static IdentityUnmarshaller 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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// InvokedBy Marshaller /// </summary> public class InvokedByMarshaller : IRequestMarshaller<InvokedBy, 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(InvokedBy requestObject, JsonMarshallerContext context) { if(requestObject.IsSetStandardMessages()) { context.Writer.WritePropertyName("StandardMessages"); context.Writer.Write(requestObject.StandardMessages); } if(requestObject.IsSetTargetedMessages()) { context.Writer.WritePropertyName("TargetedMessages"); context.Writer.Write(requestObject.TargetedMessages); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static InvokedByMarshaller Instance = new InvokedByMarshaller(); } }
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for InvokedBy Object /// </summary> public class InvokedByUnmarshaller : IUnmarshaller<InvokedBy, XmlUnmarshallerContext>, IUnmarshaller<InvokedBy, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> InvokedBy IUnmarshaller<InvokedBy, 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 InvokedBy Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; InvokedBy unmarshalledObject = new InvokedBy(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("StandardMessages", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.StandardMessages = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("TargetedMessages", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.TargetedMessages = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static InvokedByUnmarshaller _instance = new InvokedByUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static InvokedByUnmarshaller 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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// LexConfiguration Marshaller /// </summary> public class LexConfigurationMarshaller : IRequestMarshaller<LexConfiguration, 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(LexConfiguration requestObject, JsonMarshallerContext context) { if(requestObject.IsSetInvokedBy()) { context.Writer.WritePropertyName("InvokedBy"); context.Writer.WriteObjectStart(); var marshaller = InvokedByMarshaller.Instance; marshaller.Marshall(requestObject.InvokedBy, context); context.Writer.WriteObjectEnd(); } if(requestObject.IsSetLexBotAliasArn()) { context.Writer.WritePropertyName("LexBotAliasArn"); context.Writer.Write(requestObject.LexBotAliasArn); } if(requestObject.IsSetLocaleId()) { context.Writer.WritePropertyName("LocaleId"); context.Writer.Write(requestObject.LocaleId); } if(requestObject.IsSetRespondsTo()) { context.Writer.WritePropertyName("RespondsTo"); context.Writer.Write(requestObject.RespondsTo); } if(requestObject.IsSetWelcomeIntent()) { context.Writer.WritePropertyName("WelcomeIntent"); context.Writer.Write(requestObject.WelcomeIntent); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static LexConfigurationMarshaller Instance = new LexConfigurationMarshaller(); } }
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for LexConfiguration Object /// </summary> public class LexConfigurationUnmarshaller : IUnmarshaller<LexConfiguration, XmlUnmarshallerContext>, IUnmarshaller<LexConfiguration, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> LexConfiguration IUnmarshaller<LexConfiguration, 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 LexConfiguration Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; LexConfiguration unmarshalledObject = new LexConfiguration(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("InvokedBy", targetDepth)) { var unmarshaller = InvokedByUnmarshaller.Instance; unmarshalledObject.InvokedBy = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("LexBotAliasArn", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.LexBotAliasArn = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("LocaleId", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.LocaleId = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("RespondsTo", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.RespondsTo = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("WelcomeIntent", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.WelcomeIntent = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static LexConfigurationUnmarshaller _instance = new LexConfigurationUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static LexConfigurationUnmarshaller Instance { get { return _instance; } } } }
116
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// ListAppInstanceAdmins Request Marshaller /// </summary> public class ListAppInstanceAdminsRequestMarshaller : IMarshaller<IRequest, ListAppInstanceAdminsRequest> , 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((ListAppInstanceAdminsRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(ListAppInstanceAdminsRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.ChimeSDKIdentity"); request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2021-04-20"; request.HttpMethod = "GET"; if (!publicRequest.IsSetAppInstanceArn()) throw new AmazonChimeSDKIdentityException("Request object does not have required field AppInstanceArn set"); request.AddPathResource("{appInstanceArn}", StringUtils.FromString(publicRequest.AppInstanceArn)); if (publicRequest.IsSetMaxResults()) request.Parameters.Add("max-results", StringUtils.FromInt(publicRequest.MaxResults)); if (publicRequest.IsSetNextToken()) request.Parameters.Add("next-token", StringUtils.FromString(publicRequest.NextToken)); request.ResourcePath = "/app-instances/{appInstanceArn}/admins"; request.UseQueryString = true; return request; } private static ListAppInstanceAdminsRequestMarshaller _instance = new ListAppInstanceAdminsRequestMarshaller(); internal static ListAppInstanceAdminsRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static ListAppInstanceAdminsRequestMarshaller Instance { get { return _instance; } } } }
94
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for ListAppInstanceAdmins operation /// </summary> public class ListAppInstanceAdminsResponseUnmarshaller : 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) { ListAppInstanceAdminsResponse response = new ListAppInstanceAdminsResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("AppInstanceAdmins", targetDepth)) { var unmarshaller = new ListUnmarshaller<AppInstanceAdminSummary, AppInstanceAdminSummaryUnmarshaller>(AppInstanceAdminSummaryUnmarshaller.Instance); response.AppInstanceAdmins = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("AppInstanceArn", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.AppInstanceArn = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("NextToken", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.NextToken = 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("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ForbiddenException")) { return ForbiddenExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceLimitExceededException")) { return ResourceLimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceFailureException")) { return ServiceFailureExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceUnavailableException")) { return ServiceUnavailableExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottledClientException")) { return ThrottledClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedClientException")) { return UnauthorizedClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonChimeSDKIdentityException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static ListAppInstanceAdminsResponseUnmarshaller _instance = new ListAppInstanceAdminsResponseUnmarshaller(); internal static ListAppInstanceAdminsResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static ListAppInstanceAdminsResponseUnmarshaller 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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// ListAppInstanceBots Request Marshaller /// </summary> public class ListAppInstanceBotsRequestMarshaller : IMarshaller<IRequest, ListAppInstanceBotsRequest> , 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((ListAppInstanceBotsRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(ListAppInstanceBotsRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.ChimeSDKIdentity"); request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2021-04-20"; request.HttpMethod = "GET"; if (publicRequest.IsSetAppInstanceArn()) request.Parameters.Add("app-instance-arn", StringUtils.FromString(publicRequest.AppInstanceArn)); if (publicRequest.IsSetMaxResults()) request.Parameters.Add("max-results", StringUtils.FromInt(publicRequest.MaxResults)); if (publicRequest.IsSetNextToken()) request.Parameters.Add("next-token", StringUtils.FromString(publicRequest.NextToken)); request.ResourcePath = "/app-instance-bots"; request.UseQueryString = true; return request; } private static ListAppInstanceBotsRequestMarshaller _instance = new ListAppInstanceBotsRequestMarshaller(); internal static ListAppInstanceBotsRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static ListAppInstanceBotsRequestMarshaller Instance { get { return _instance; } } } }
94
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for ListAppInstanceBots operation /// </summary> public class ListAppInstanceBotsResponseUnmarshaller : 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) { ListAppInstanceBotsResponse response = new ListAppInstanceBotsResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("AppInstanceArn", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.AppInstanceArn = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("AppInstanceBots", targetDepth)) { var unmarshaller = new ListUnmarshaller<AppInstanceBotSummary, AppInstanceBotSummaryUnmarshaller>(AppInstanceBotSummaryUnmarshaller.Instance); response.AppInstanceBots = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("NextToken", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.NextToken = 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("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ForbiddenException")) { return ForbiddenExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceLimitExceededException")) { return ResourceLimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceFailureException")) { return ServiceFailureExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceUnavailableException")) { return ServiceUnavailableExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottledClientException")) { return ThrottledClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedClientException")) { return UnauthorizedClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonChimeSDKIdentityException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static ListAppInstanceBotsResponseUnmarshaller _instance = new ListAppInstanceBotsResponseUnmarshaller(); internal static ListAppInstanceBotsResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static ListAppInstanceBotsResponseUnmarshaller 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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// ListAppInstances Request Marshaller /// </summary> public class ListAppInstancesRequestMarshaller : IMarshaller<IRequest, ListAppInstancesRequest> , 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((ListAppInstancesRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(ListAppInstancesRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.ChimeSDKIdentity"); request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2021-04-20"; request.HttpMethod = "GET"; if (publicRequest.IsSetMaxResults()) request.Parameters.Add("max-results", StringUtils.FromInt(publicRequest.MaxResults)); if (publicRequest.IsSetNextToken()) request.Parameters.Add("next-token", StringUtils.FromString(publicRequest.NextToken)); request.ResourcePath = "/app-instances"; request.UseQueryString = true; return request; } private static ListAppInstancesRequestMarshaller _instance = new ListAppInstancesRequestMarshaller(); internal static ListAppInstancesRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static ListAppInstancesRequestMarshaller Instance { get { return _instance; } } } }
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for ListAppInstances operation /// </summary> public class ListAppInstancesResponseUnmarshaller : 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) { ListAppInstancesResponse response = new ListAppInstancesResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("AppInstances", targetDepth)) { var unmarshaller = new ListUnmarshaller<AppInstanceSummary, AppInstanceSummaryUnmarshaller>(AppInstanceSummaryUnmarshaller.Instance); response.AppInstances = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("NextToken", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.NextToken = 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("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ForbiddenException")) { return ForbiddenExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceFailureException")) { return ServiceFailureExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceUnavailableException")) { return ServiceUnavailableExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottledClientException")) { return ThrottledClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedClientException")) { return UnauthorizedClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonChimeSDKIdentityException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static ListAppInstancesResponseUnmarshaller _instance = new ListAppInstancesResponseUnmarshaller(); internal static ListAppInstancesResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static ListAppInstancesResponseUnmarshaller 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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// ListAppInstanceUserEndpoints Request Marshaller /// </summary> public class ListAppInstanceUserEndpointsRequestMarshaller : IMarshaller<IRequest, ListAppInstanceUserEndpointsRequest> , 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((ListAppInstanceUserEndpointsRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(ListAppInstanceUserEndpointsRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.ChimeSDKIdentity"); request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2021-04-20"; request.HttpMethod = "GET"; if (!publicRequest.IsSetAppInstanceUserArn()) throw new AmazonChimeSDKIdentityException("Request object does not have required field AppInstanceUserArn set"); request.AddPathResource("{appInstanceUserArn}", StringUtils.FromString(publicRequest.AppInstanceUserArn)); if (publicRequest.IsSetMaxResults()) request.Parameters.Add("max-results", StringUtils.FromInt(publicRequest.MaxResults)); if (publicRequest.IsSetNextToken()) request.Parameters.Add("next-token", StringUtils.FromString(publicRequest.NextToken)); request.ResourcePath = "/app-instance-users/{appInstanceUserArn}/endpoints"; request.UseQueryString = true; return request; } private static ListAppInstanceUserEndpointsRequestMarshaller _instance = new ListAppInstanceUserEndpointsRequestMarshaller(); internal static ListAppInstanceUserEndpointsRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static ListAppInstanceUserEndpointsRequestMarshaller Instance { get { return _instance; } } } }
94
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for ListAppInstanceUserEndpoints operation /// </summary> public class ListAppInstanceUserEndpointsResponseUnmarshaller : 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) { ListAppInstanceUserEndpointsResponse response = new ListAppInstanceUserEndpointsResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("AppInstanceUserEndpoints", targetDepth)) { var unmarshaller = new ListUnmarshaller<AppInstanceUserEndpointSummary, AppInstanceUserEndpointSummaryUnmarshaller>(AppInstanceUserEndpointSummaryUnmarshaller.Instance); response.AppInstanceUserEndpoints = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("NextToken", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.NextToken = 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("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ForbiddenException")) { return ForbiddenExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceFailureException")) { return ServiceFailureExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceUnavailableException")) { return ServiceUnavailableExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottledClientException")) { return ThrottledClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedClientException")) { return UnauthorizedClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonChimeSDKIdentityException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static ListAppInstanceUserEndpointsResponseUnmarshaller _instance = new ListAppInstanceUserEndpointsResponseUnmarshaller(); internal static ListAppInstanceUserEndpointsResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static ListAppInstanceUserEndpointsResponseUnmarshaller 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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// ListAppInstanceUsers Request Marshaller /// </summary> public class ListAppInstanceUsersRequestMarshaller : IMarshaller<IRequest, ListAppInstanceUsersRequest> , 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((ListAppInstanceUsersRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(ListAppInstanceUsersRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.ChimeSDKIdentity"); request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2021-04-20"; request.HttpMethod = "GET"; if (publicRequest.IsSetAppInstanceArn()) request.Parameters.Add("app-instance-arn", StringUtils.FromString(publicRequest.AppInstanceArn)); if (publicRequest.IsSetMaxResults()) request.Parameters.Add("max-results", StringUtils.FromInt(publicRequest.MaxResults)); if (publicRequest.IsSetNextToken()) request.Parameters.Add("next-token", StringUtils.FromString(publicRequest.NextToken)); request.ResourcePath = "/app-instance-users"; request.UseQueryString = true; return request; } private static ListAppInstanceUsersRequestMarshaller _instance = new ListAppInstanceUsersRequestMarshaller(); internal static ListAppInstanceUsersRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static ListAppInstanceUsersRequestMarshaller Instance { get { return _instance; } } } }
94
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for ListAppInstanceUsers operation /// </summary> public class ListAppInstanceUsersResponseUnmarshaller : 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) { ListAppInstanceUsersResponse response = new ListAppInstanceUsersResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("AppInstanceArn", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.AppInstanceArn = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("AppInstanceUsers", targetDepth)) { var unmarshaller = new ListUnmarshaller<AppInstanceUserSummary, AppInstanceUserSummaryUnmarshaller>(AppInstanceUserSummaryUnmarshaller.Instance); response.AppInstanceUsers = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("NextToken", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.NextToken = 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("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ForbiddenException")) { return ForbiddenExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceFailureException")) { return ServiceFailureExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceUnavailableException")) { return ServiceUnavailableExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottledClientException")) { return ThrottledClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedClientException")) { return UnauthorizedClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonChimeSDKIdentityException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static ListAppInstanceUsersResponseUnmarshaller _instance = new ListAppInstanceUsersResponseUnmarshaller(); internal static ListAppInstanceUsersResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static ListAppInstanceUsersResponseUnmarshaller 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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// ListTagsForResource Request Marshaller /// </summary> public class ListTagsForResourceRequestMarshaller : IMarshaller<IRequest, ListTagsForResourceRequest> , 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((ListTagsForResourceRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(ListTagsForResourceRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.ChimeSDKIdentity"); request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2021-04-20"; request.HttpMethod = "GET"; if (publicRequest.IsSetResourceARN()) request.Parameters.Add("arn", StringUtils.FromString(publicRequest.ResourceARN)); request.ResourcePath = "/tags"; request.UseQueryString = true; return request; } private static ListTagsForResourceRequestMarshaller _instance = new ListTagsForResourceRequestMarshaller(); internal static ListTagsForResourceRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static ListTagsForResourceRequestMarshaller Instance { get { return _instance; } } } }
88
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for ListTagsForResource operation /// </summary> public class ListTagsForResourceResponseUnmarshaller : 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) { ListTagsForResourceResponse response = new ListTagsForResourceResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("Tags", targetDepth)) { var unmarshaller = new ListUnmarshaller<Tag, TagUnmarshaller>(TagUnmarshaller.Instance); response.Tags = 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("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ForbiddenException")) { return ForbiddenExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceFailureException")) { return ServiceFailureExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceUnavailableException")) { return ServiceUnavailableExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottledClientException")) { return ThrottledClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedClientException")) { return UnauthorizedClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonChimeSDKIdentityException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static ListTagsForResourceResponseUnmarshaller _instance = new ListTagsForResourceResponseUnmarshaller(); internal static ListTagsForResourceResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static ListTagsForResourceResponseUnmarshaller Instance { get { return _instance; } } } }
130
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for NotFoundException Object /// </summary> public class NotFoundExceptionUnmarshaller : IErrorResponseUnmarshaller<NotFoundException, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public NotFoundException Unmarshall(JsonUnmarshallerContext context) { return this.Unmarshall(context, new Amazon.Runtime.Internal.ErrorResponse()); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <param name="errorResponse"></param> /// <returns></returns> public NotFoundException Unmarshall(JsonUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse) { context.Read(); NotFoundException unmarshalledObject = new NotFoundException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("Code", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.Code = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static NotFoundExceptionUnmarshaller _instance = new NotFoundExceptionUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static NotFoundExceptionUnmarshaller Instance { get { return _instance; } } } }
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// PutAppInstanceRetentionSettings Request Marshaller /// </summary> public class PutAppInstanceRetentionSettingsRequestMarshaller : IMarshaller<IRequest, PutAppInstanceRetentionSettingsRequest> , 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((PutAppInstanceRetentionSettingsRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(PutAppInstanceRetentionSettingsRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.ChimeSDKIdentity"); request.Headers["Content-Type"] = "application/json"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2021-04-20"; request.HttpMethod = "PUT"; if (!publicRequest.IsSetAppInstanceArn()) throw new AmazonChimeSDKIdentityException("Request object does not have required field AppInstanceArn set"); request.AddPathResource("{appInstanceArn}", StringUtils.FromString(publicRequest.AppInstanceArn)); request.ResourcePath = "/app-instances/{appInstanceArn}/retention-settings"; using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture)) { JsonWriter writer = new JsonWriter(stringWriter); writer.WriteObjectStart(); var context = new JsonMarshallerContext(request, writer); if(publicRequest.IsSetAppInstanceRetentionSettings()) { context.Writer.WritePropertyName("AppInstanceRetentionSettings"); context.Writer.WriteObjectStart(); var marshaller = AppInstanceRetentionSettingsMarshaller.Instance; marshaller.Marshall(publicRequest.AppInstanceRetentionSettings, context); context.Writer.WriteObjectEnd(); } writer.WriteObjectEnd(); string snippet = stringWriter.ToString(); request.Content = System.Text.Encoding.UTF8.GetBytes(snippet); } return request; } private static PutAppInstanceRetentionSettingsRequestMarshaller _instance = new PutAppInstanceRetentionSettingsRequestMarshaller(); internal static PutAppInstanceRetentionSettingsRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static PutAppInstanceRetentionSettingsRequestMarshaller 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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for PutAppInstanceRetentionSettings operation /// </summary> public class PutAppInstanceRetentionSettingsResponseUnmarshaller : 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) { PutAppInstanceRetentionSettingsResponse response = new PutAppInstanceRetentionSettingsResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("AppInstanceRetentionSettings", targetDepth)) { var unmarshaller = AppInstanceRetentionSettingsUnmarshaller.Instance; response.AppInstanceRetentionSettings = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("InitiateDeletionTimestamp", targetDepth)) { var unmarshaller = DateTimeUnmarshaller.Instance; response.InitiateDeletionTimestamp = 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("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ForbiddenException")) { return ForbiddenExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceFailureException")) { return ServiceFailureExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceUnavailableException")) { return ServiceUnavailableExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottledClientException")) { return ThrottledClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedClientException")) { return UnauthorizedClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonChimeSDKIdentityException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static PutAppInstanceRetentionSettingsResponseUnmarshaller _instance = new PutAppInstanceRetentionSettingsResponseUnmarshaller(); internal static PutAppInstanceRetentionSettingsResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static PutAppInstanceRetentionSettingsResponseUnmarshaller 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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// PutAppInstanceUserExpirationSettings Request Marshaller /// </summary> public class PutAppInstanceUserExpirationSettingsRequestMarshaller : IMarshaller<IRequest, PutAppInstanceUserExpirationSettingsRequest> , 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((PutAppInstanceUserExpirationSettingsRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(PutAppInstanceUserExpirationSettingsRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.ChimeSDKIdentity"); request.Headers["Content-Type"] = "application/json"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2021-04-20"; request.HttpMethod = "PUT"; if (!publicRequest.IsSetAppInstanceUserArn()) throw new AmazonChimeSDKIdentityException("Request object does not have required field AppInstanceUserArn set"); request.AddPathResource("{appInstanceUserArn}", StringUtils.FromString(publicRequest.AppInstanceUserArn)); request.ResourcePath = "/app-instance-users/{appInstanceUserArn}/expiration-settings"; using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture)) { JsonWriter writer = new JsonWriter(stringWriter); writer.WriteObjectStart(); var context = new JsonMarshallerContext(request, writer); if(publicRequest.IsSetExpirationSettings()) { context.Writer.WritePropertyName("ExpirationSettings"); context.Writer.WriteObjectStart(); var marshaller = ExpirationSettingsMarshaller.Instance; marshaller.Marshall(publicRequest.ExpirationSettings, context); context.Writer.WriteObjectEnd(); } writer.WriteObjectEnd(); string snippet = stringWriter.ToString(); request.Content = System.Text.Encoding.UTF8.GetBytes(snippet); } return request; } private static PutAppInstanceUserExpirationSettingsRequestMarshaller _instance = new PutAppInstanceUserExpirationSettingsRequestMarshaller(); internal static PutAppInstanceUserExpirationSettingsRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static PutAppInstanceUserExpirationSettingsRequestMarshaller 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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for PutAppInstanceUserExpirationSettings operation /// </summary> public class PutAppInstanceUserExpirationSettingsResponseUnmarshaller : 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) { PutAppInstanceUserExpirationSettingsResponse response = new PutAppInstanceUserExpirationSettingsResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("AppInstanceUserArn", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.AppInstanceUserArn = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("ExpirationSettings", targetDepth)) { var unmarshaller = ExpirationSettingsUnmarshaller.Instance; response.ExpirationSettings = 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("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException")) { return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ForbiddenException")) { return ForbiddenExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceFailureException")) { return ServiceFailureExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceUnavailableException")) { return ServiceUnavailableExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottledClientException")) { return ThrottledClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedClientException")) { return UnauthorizedClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonChimeSDKIdentityException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static PutAppInstanceUserExpirationSettingsResponseUnmarshaller _instance = new PutAppInstanceUserExpirationSettingsResponseUnmarshaller(); internal static PutAppInstanceUserExpirationSettingsResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static PutAppInstanceUserExpirationSettingsResponseUnmarshaller Instance { get { return _instance; } } } }
140
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// RegisterAppInstanceUserEndpoint Request Marshaller /// </summary> public class RegisterAppInstanceUserEndpointRequestMarshaller : IMarshaller<IRequest, RegisterAppInstanceUserEndpointRequest> , 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((RegisterAppInstanceUserEndpointRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(RegisterAppInstanceUserEndpointRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.ChimeSDKIdentity"); request.Headers["Content-Type"] = "application/json"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2021-04-20"; request.HttpMethod = "POST"; if (!publicRequest.IsSetAppInstanceUserArn()) throw new AmazonChimeSDKIdentityException("Request object does not have required field AppInstanceUserArn set"); request.AddPathResource("{appInstanceUserArn}", StringUtils.FromString(publicRequest.AppInstanceUserArn)); request.ResourcePath = "/app-instance-users/{appInstanceUserArn}/endpoints"; using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture)) { JsonWriter writer = new JsonWriter(stringWriter); writer.WriteObjectStart(); var context = new JsonMarshallerContext(request, writer); if(publicRequest.IsSetAllowMessages()) { context.Writer.WritePropertyName("AllowMessages"); context.Writer.Write(publicRequest.AllowMessages); } if(publicRequest.IsSetClientRequestToken()) { context.Writer.WritePropertyName("ClientRequestToken"); context.Writer.Write(publicRequest.ClientRequestToken); } else if(!(publicRequest.IsSetClientRequestToken())) { context.Writer.WritePropertyName("ClientRequestToken"); context.Writer.Write(Guid.NewGuid().ToString()); } if(publicRequest.IsSetEndpointAttributes()) { context.Writer.WritePropertyName("EndpointAttributes"); context.Writer.WriteObjectStart(); var marshaller = EndpointAttributesMarshaller.Instance; marshaller.Marshall(publicRequest.EndpointAttributes, context); context.Writer.WriteObjectEnd(); } if(publicRequest.IsSetName()) { context.Writer.WritePropertyName("Name"); context.Writer.Write(publicRequest.Name); } if(publicRequest.IsSetResourceArn()) { context.Writer.WritePropertyName("ResourceArn"); context.Writer.Write(publicRequest.ResourceArn); } if(publicRequest.IsSetType()) { context.Writer.WritePropertyName("Type"); context.Writer.Write(publicRequest.Type); } writer.WriteObjectEnd(); string snippet = stringWriter.ToString(); request.Content = System.Text.Encoding.UTF8.GetBytes(snippet); } return request; } private static RegisterAppInstanceUserEndpointRequestMarshaller _instance = new RegisterAppInstanceUserEndpointRequestMarshaller(); internal static RegisterAppInstanceUserEndpointRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static RegisterAppInstanceUserEndpointRequestMarshaller Instance { get { return _instance; } } } }
144
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for RegisterAppInstanceUserEndpoint operation /// </summary> public class RegisterAppInstanceUserEndpointResponseUnmarshaller : 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) { RegisterAppInstanceUserEndpointResponse response = new RegisterAppInstanceUserEndpointResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("AppInstanceUserArn", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.AppInstanceUserArn = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("EndpointId", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.EndpointId = 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("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException")) { return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ForbiddenException")) { return ForbiddenExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceLimitExceededException")) { return ResourceLimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceFailureException")) { return ServiceFailureExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceUnavailableException")) { return ServiceUnavailableExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottledClientException")) { return ThrottledClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedClientException")) { return UnauthorizedClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonChimeSDKIdentityException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static RegisterAppInstanceUserEndpointResponseUnmarshaller _instance = new RegisterAppInstanceUserEndpointResponseUnmarshaller(); internal static RegisterAppInstanceUserEndpointResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static RegisterAppInstanceUserEndpointResponseUnmarshaller Instance { get { return _instance; } } } }
144
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for ResourceLimitExceededException Object /// </summary> public class ResourceLimitExceededExceptionUnmarshaller : IErrorResponseUnmarshaller<ResourceLimitExceededException, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public ResourceLimitExceededException Unmarshall(JsonUnmarshallerContext context) { return this.Unmarshall(context, new Amazon.Runtime.Internal.ErrorResponse()); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <param name="errorResponse"></param> /// <returns></returns> public ResourceLimitExceededException Unmarshall(JsonUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse) { context.Read(); ResourceLimitExceededException unmarshalledObject = new ResourceLimitExceededException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("Code", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.Code = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static ResourceLimitExceededExceptionUnmarshaller _instance = new ResourceLimitExceededExceptionUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static ResourceLimitExceededExceptionUnmarshaller Instance { get { return _instance; } } } }
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for ServiceFailureException Object /// </summary> public class ServiceFailureExceptionUnmarshaller : IErrorResponseUnmarshaller<ServiceFailureException, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public ServiceFailureException Unmarshall(JsonUnmarshallerContext context) { return this.Unmarshall(context, new Amazon.Runtime.Internal.ErrorResponse()); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <param name="errorResponse"></param> /// <returns></returns> public ServiceFailureException Unmarshall(JsonUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse) { context.Read(); ServiceFailureException unmarshalledObject = new ServiceFailureException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("Code", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.Code = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static ServiceFailureExceptionUnmarshaller _instance = new ServiceFailureExceptionUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static ServiceFailureExceptionUnmarshaller Instance { get { return _instance; } } } }
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for ServiceUnavailableException Object /// </summary> public class ServiceUnavailableExceptionUnmarshaller : IErrorResponseUnmarshaller<ServiceUnavailableException, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public ServiceUnavailableException Unmarshall(JsonUnmarshallerContext context) { return this.Unmarshall(context, new Amazon.Runtime.Internal.ErrorResponse()); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <param name="errorResponse"></param> /// <returns></returns> public ServiceUnavailableException Unmarshall(JsonUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse) { context.Read(); ServiceUnavailableException unmarshalledObject = new ServiceUnavailableException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("Code", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.Code = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static ServiceUnavailableExceptionUnmarshaller _instance = new ServiceUnavailableExceptionUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static ServiceUnavailableExceptionUnmarshaller Instance { get { return _instance; } } } }
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Tag Marshaller /// </summary> public class TagMarshaller : IRequestMarshaller<Tag, 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(Tag requestObject, JsonMarshallerContext context) { if(requestObject.IsSetKey()) { context.Writer.WritePropertyName("Key"); context.Writer.Write(requestObject.Key); } if(requestObject.IsSetValue()) { context.Writer.WritePropertyName("Value"); context.Writer.Write(requestObject.Value); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static TagMarshaller Instance = new TagMarshaller(); } }
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.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.ChimeSDKIdentity"); request.Headers["Content-Type"] = "application/json"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2021-04-20"; request.HttpMethod = "POST"; request.AddSubResource("operation", "tag-resource"); request.ResourcePath = "/tags"; 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.WriteArrayStart(); foreach(var publicRequestTagsListValue in publicRequest.Tags) { context.Writer.WriteObjectStart(); var marshaller = TagMarshaller.Instance; marshaller.Marshall(publicRequestTagsListValue, 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 TagResourceRequestMarshaller _instance = new TagResourceRequestMarshaller(); internal static TagResourceRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static TagResourceRequestMarshaller 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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.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("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ForbiddenException")) { return ForbiddenExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceLimitExceededException")) { return ResourceLimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceFailureException")) { return ServiceFailureExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceUnavailableException")) { return ServiceUnavailableExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottledClientException")) { return ThrottledClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedClientException")) { return UnauthorizedClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonChimeSDKIdentityException(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; } } } }
123
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for Tag Object /// </summary> public class TagUnmarshaller : IUnmarshaller<Tag, XmlUnmarshallerContext>, IUnmarshaller<Tag, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> Tag IUnmarshaller<Tag, 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 Tag Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; Tag unmarshalledObject = new Tag(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("Key", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.Key = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("Value", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.Value = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static TagUnmarshaller _instance = new TagUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static TagUnmarshaller 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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for ThrottledClientException Object /// </summary> public class ThrottledClientExceptionUnmarshaller : IErrorResponseUnmarshaller<ThrottledClientException, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public ThrottledClientException Unmarshall(JsonUnmarshallerContext context) { return this.Unmarshall(context, new Amazon.Runtime.Internal.ErrorResponse()); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <param name="errorResponse"></param> /// <returns></returns> public ThrottledClientException Unmarshall(JsonUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse) { context.Read(); ThrottledClientException unmarshalledObject = new ThrottledClientException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("Code", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.Code = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static ThrottledClientExceptionUnmarshaller _instance = new ThrottledClientExceptionUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static ThrottledClientExceptionUnmarshaller Instance { get { return _instance; } } } }
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for UnauthorizedClientException Object /// </summary> public class UnauthorizedClientExceptionUnmarshaller : IErrorResponseUnmarshaller<UnauthorizedClientException, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public UnauthorizedClientException Unmarshall(JsonUnmarshallerContext context) { return this.Unmarshall(context, new Amazon.Runtime.Internal.ErrorResponse()); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <param name="errorResponse"></param> /// <returns></returns> public UnauthorizedClientException Unmarshall(JsonUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse) { context.Read(); UnauthorizedClientException unmarshalledObject = new UnauthorizedClientException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("Code", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.Code = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static UnauthorizedClientExceptionUnmarshaller _instance = new UnauthorizedClientExceptionUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static UnauthorizedClientExceptionUnmarshaller Instance { get { return _instance; } } } }
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.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.ChimeSDKIdentity"); request.Headers["Content-Type"] = "application/json"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2021-04-20"; request.HttpMethod = "POST"; request.AddSubResource("operation", "untag-resource"); request.ResourcePath = "/tags"; 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; } } } }
113
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.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("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ForbiddenException")) { return ForbiddenExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceFailureException")) { return ServiceFailureExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceUnavailableException")) { return ServiceUnavailableExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottledClientException")) { return ThrottledClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedClientException")) { return UnauthorizedClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonChimeSDKIdentityException(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; } } } }
119
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// UpdateAppInstanceBot Request Marshaller /// </summary> public class UpdateAppInstanceBotRequestMarshaller : IMarshaller<IRequest, UpdateAppInstanceBotRequest> , 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((UpdateAppInstanceBotRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(UpdateAppInstanceBotRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.ChimeSDKIdentity"); request.Headers["Content-Type"] = "application/json"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2021-04-20"; request.HttpMethod = "PUT"; if (!publicRequest.IsSetAppInstanceBotArn()) throw new AmazonChimeSDKIdentityException("Request object does not have required field AppInstanceBotArn set"); request.AddPathResource("{appInstanceBotArn}", StringUtils.FromString(publicRequest.AppInstanceBotArn)); request.ResourcePath = "/app-instance-bots/{appInstanceBotArn}"; using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture)) { JsonWriter writer = new JsonWriter(stringWriter); writer.WriteObjectStart(); var context = new JsonMarshallerContext(request, writer); if(publicRequest.IsSetConfiguration()) { context.Writer.WritePropertyName("Configuration"); context.Writer.WriteObjectStart(); var marshaller = ConfigurationMarshaller.Instance; marshaller.Marshall(publicRequest.Configuration, context); context.Writer.WriteObjectEnd(); } if(publicRequest.IsSetMetadata()) { context.Writer.WritePropertyName("Metadata"); context.Writer.Write(publicRequest.Metadata); } 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 UpdateAppInstanceBotRequestMarshaller _instance = new UpdateAppInstanceBotRequestMarshaller(); internal static UpdateAppInstanceBotRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateAppInstanceBotRequestMarshaller Instance { get { return _instance; } } } }
121
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for UpdateAppInstanceBot operation /// </summary> public class UpdateAppInstanceBotResponseUnmarshaller : 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) { UpdateAppInstanceBotResponse response = new UpdateAppInstanceBotResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("AppInstanceBotArn", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.AppInstanceBotArn = 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("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException")) { return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ForbiddenException")) { return ForbiddenExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceLimitExceededException")) { return ResourceLimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceFailureException")) { return ServiceFailureExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceUnavailableException")) { return ServiceUnavailableExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottledClientException")) { return ThrottledClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedClientException")) { return UnauthorizedClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonChimeSDKIdentityException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static UpdateAppInstanceBotResponseUnmarshaller _instance = new UpdateAppInstanceBotResponseUnmarshaller(); internal static UpdateAppInstanceBotResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateAppInstanceBotResponseUnmarshaller Instance { get { return _instance; } } } }
138
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// UpdateAppInstance Request Marshaller /// </summary> public class UpdateAppInstanceRequestMarshaller : IMarshaller<IRequest, UpdateAppInstanceRequest> , 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((UpdateAppInstanceRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(UpdateAppInstanceRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.ChimeSDKIdentity"); request.Headers["Content-Type"] = "application/json"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2021-04-20"; request.HttpMethod = "PUT"; if (!publicRequest.IsSetAppInstanceArn()) throw new AmazonChimeSDKIdentityException("Request object does not have required field AppInstanceArn set"); request.AddPathResource("{appInstanceArn}", StringUtils.FromString(publicRequest.AppInstanceArn)); request.ResourcePath = "/app-instances/{appInstanceArn}"; using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture)) { JsonWriter writer = new JsonWriter(stringWriter); writer.WriteObjectStart(); var context = new JsonMarshallerContext(request, writer); if(publicRequest.IsSetMetadata()) { context.Writer.WritePropertyName("Metadata"); context.Writer.Write(publicRequest.Metadata); } 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 UpdateAppInstanceRequestMarshaller _instance = new UpdateAppInstanceRequestMarshaller(); internal static UpdateAppInstanceRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateAppInstanceRequestMarshaller 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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for UpdateAppInstance operation /// </summary> public class UpdateAppInstanceResponseUnmarshaller : 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) { UpdateAppInstanceResponse response = new UpdateAppInstanceResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("AppInstanceArn", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.AppInstanceArn = 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("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException")) { return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ForbiddenException")) { return ForbiddenExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceFailureException")) { return ServiceFailureExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceUnavailableException")) { return ServiceUnavailableExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottledClientException")) { return ThrottledClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedClientException")) { return UnauthorizedClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonChimeSDKIdentityException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static UpdateAppInstanceResponseUnmarshaller _instance = new UpdateAppInstanceResponseUnmarshaller(); internal static UpdateAppInstanceResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateAppInstanceResponseUnmarshaller 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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// UpdateAppInstanceUserEndpoint Request Marshaller /// </summary> public class UpdateAppInstanceUserEndpointRequestMarshaller : IMarshaller<IRequest, UpdateAppInstanceUserEndpointRequest> , 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((UpdateAppInstanceUserEndpointRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(UpdateAppInstanceUserEndpointRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.ChimeSDKIdentity"); request.Headers["Content-Type"] = "application/json"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2021-04-20"; request.HttpMethod = "PUT"; if (!publicRequest.IsSetAppInstanceUserArn()) throw new AmazonChimeSDKIdentityException("Request object does not have required field AppInstanceUserArn set"); request.AddPathResource("{appInstanceUserArn}", StringUtils.FromString(publicRequest.AppInstanceUserArn)); if (!publicRequest.IsSetEndpointId()) throw new AmazonChimeSDKIdentityException("Request object does not have required field EndpointId set"); request.AddPathResource("{endpointId}", StringUtils.FromString(publicRequest.EndpointId)); request.ResourcePath = "/app-instance-users/{appInstanceUserArn}/endpoints/{endpointId}"; using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture)) { JsonWriter writer = new JsonWriter(stringWriter); writer.WriteObjectStart(); var context = new JsonMarshallerContext(request, writer); if(publicRequest.IsSetAllowMessages()) { context.Writer.WritePropertyName("AllowMessages"); context.Writer.Write(publicRequest.AllowMessages); } 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 UpdateAppInstanceUserEndpointRequestMarshaller _instance = new UpdateAppInstanceUserEndpointRequestMarshaller(); internal static UpdateAppInstanceUserEndpointRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateAppInstanceUserEndpointRequestMarshaller Instance { get { return _instance; } } } }
113
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for UpdateAppInstanceUserEndpoint operation /// </summary> public class UpdateAppInstanceUserEndpointResponseUnmarshaller : 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) { UpdateAppInstanceUserEndpointResponse response = new UpdateAppInstanceUserEndpointResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("AppInstanceUserArn", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.AppInstanceUserArn = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("EndpointId", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.EndpointId = 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("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException")) { return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ForbiddenException")) { return ForbiddenExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceFailureException")) { return ServiceFailureExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceUnavailableException")) { return ServiceUnavailableExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottledClientException")) { return ThrottledClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedClientException")) { return UnauthorizedClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonChimeSDKIdentityException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static UpdateAppInstanceUserEndpointResponseUnmarshaller _instance = new UpdateAppInstanceUserEndpointResponseUnmarshaller(); internal static UpdateAppInstanceUserEndpointResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateAppInstanceUserEndpointResponseUnmarshaller Instance { get { return _instance; } } } }
140
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// UpdateAppInstanceUser Request Marshaller /// </summary> public class UpdateAppInstanceUserRequestMarshaller : IMarshaller<IRequest, UpdateAppInstanceUserRequest> , 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((UpdateAppInstanceUserRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(UpdateAppInstanceUserRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.ChimeSDKIdentity"); request.Headers["Content-Type"] = "application/json"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2021-04-20"; request.HttpMethod = "PUT"; if (!publicRequest.IsSetAppInstanceUserArn()) throw new AmazonChimeSDKIdentityException("Request object does not have required field AppInstanceUserArn set"); request.AddPathResource("{appInstanceUserArn}", StringUtils.FromString(publicRequest.AppInstanceUserArn)); request.ResourcePath = "/app-instance-users/{appInstanceUserArn}"; using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture)) { JsonWriter writer = new JsonWriter(stringWriter); writer.WriteObjectStart(); var context = new JsonMarshallerContext(request, writer); if(publicRequest.IsSetMetadata()) { context.Writer.WritePropertyName("Metadata"); context.Writer.Write(publicRequest.Metadata); } 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 UpdateAppInstanceUserRequestMarshaller _instance = new UpdateAppInstanceUserRequestMarshaller(); internal static UpdateAppInstanceUserRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateAppInstanceUserRequestMarshaller 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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for UpdateAppInstanceUser operation /// </summary> public class UpdateAppInstanceUserResponseUnmarshaller : 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) { UpdateAppInstanceUserResponse response = new UpdateAppInstanceUserResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("AppInstanceUserArn", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.AppInstanceUserArn = 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("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException")) { return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ForbiddenException")) { return ForbiddenExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceLimitExceededException")) { return ResourceLimitExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceFailureException")) { return ServiceFailureExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceUnavailableException")) { return ServiceUnavailableExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottledClientException")) { return ThrottledClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("UnauthorizedClientException")) { return UnauthorizedClientExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonChimeSDKIdentityException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static UpdateAppInstanceUserResponseUnmarshaller _instance = new UpdateAppInstanceUserResponseUnmarshaller(); internal static UpdateAppInstanceUserResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateAppInstanceUserResponseUnmarshaller Instance { get { return _instance; } } } }
138
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 chime-sdk-identity-2021-04-20.normal.json service model. */ using System; using System.Collections.Generic; using System.Text; namespace Amazon.ChimeSDKIdentity.Model { /// <summary> /// Paginators for the ChimeSDKIdentity service ///</summary> public class ChimeSDKIdentityPaginatorFactory : IChimeSDKIdentityPaginatorFactory { private readonly IAmazonChimeSDKIdentity client; internal ChimeSDKIdentityPaginatorFactory(IAmazonChimeSDKIdentity client) { this.client = client; } /// <summary> /// Paginator for ListAppInstanceAdmins operation ///</summary> public IListAppInstanceAdminsPaginator ListAppInstanceAdmins(ListAppInstanceAdminsRequest request) { return new ListAppInstanceAdminsPaginator(this.client, request); } /// <summary> /// Paginator for ListAppInstanceBots operation ///</summary> public IListAppInstanceBotsPaginator ListAppInstanceBots(ListAppInstanceBotsRequest request) { return new ListAppInstanceBotsPaginator(this.client, request); } /// <summary> /// Paginator for ListAppInstances operation ///</summary> public IListAppInstancesPaginator ListAppInstances(ListAppInstancesRequest request) { return new ListAppInstancesPaginator(this.client, request); } /// <summary> /// Paginator for ListAppInstanceUserEndpoints operation ///</summary> public IListAppInstanceUserEndpointsPaginator ListAppInstanceUserEndpoints(ListAppInstanceUserEndpointsRequest request) { return new ListAppInstanceUserEndpointsPaginator(this.client, request); } /// <summary> /// Paginator for ListAppInstanceUsers operation ///</summary> public IListAppInstanceUsersPaginator ListAppInstanceUsers(ListAppInstanceUsersRequest request) { return new ListAppInstanceUsersPaginator(this.client, request); } } }
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 chime-sdk-identity-2021-04-20.normal.json service model. */ namespace Amazon.ChimeSDKIdentity.Model { /// <summary> /// Paginators for the ChimeSDKIdentity service ///</summary> public interface IChimeSDKIdentityPaginatorFactory { /// <summary> /// Paginator for ListAppInstanceAdmins operation ///</summary> IListAppInstanceAdminsPaginator ListAppInstanceAdmins(ListAppInstanceAdminsRequest request); /// <summary> /// Paginator for ListAppInstanceBots operation ///</summary> IListAppInstanceBotsPaginator ListAppInstanceBots(ListAppInstanceBotsRequest request); /// <summary> /// Paginator for ListAppInstances operation ///</summary> IListAppInstancesPaginator ListAppInstances(ListAppInstancesRequest request); /// <summary> /// Paginator for ListAppInstanceUserEndpoints operation ///</summary> IListAppInstanceUserEndpointsPaginator ListAppInstanceUserEndpoints(ListAppInstanceUserEndpointsRequest request); /// <summary> /// Paginator for ListAppInstanceUsers operation ///</summary> IListAppInstanceUsersPaginator ListAppInstanceUsers(ListAppInstanceUsersRequest request); } }
53
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 chime-sdk-identity-2021-04-20.normal.json service model. */ using Amazon.Runtime; namespace Amazon.ChimeSDKIdentity.Model { /// <summary> /// Paginator for the ListAppInstanceAdmins operation ///</summary> public interface IListAppInstanceAdminsPaginator { /// <summary> /// Enumerable containing all full responses for the operation /// </summary> IPaginatedEnumerable<ListAppInstanceAdminsResponse> 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 chime-sdk-identity-2021-04-20.normal.json service model. */ using Amazon.Runtime; namespace Amazon.ChimeSDKIdentity.Model { /// <summary> /// Paginator for the ListAppInstanceBots operation ///</summary> public interface IListAppInstanceBotsPaginator { /// <summary> /// Enumerable containing all full responses for the operation /// </summary> IPaginatedEnumerable<ListAppInstanceBotsResponse> 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 chime-sdk-identity-2021-04-20.normal.json service model. */ using Amazon.Runtime; namespace Amazon.ChimeSDKIdentity.Model { /// <summary> /// Paginator for the ListAppInstances operation ///</summary> public interface IListAppInstancesPaginator { /// <summary> /// Enumerable containing all full responses for the operation /// </summary> IPaginatedEnumerable<ListAppInstancesResponse> 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 chime-sdk-identity-2021-04-20.normal.json service model. */ using Amazon.Runtime; namespace Amazon.ChimeSDKIdentity.Model { /// <summary> /// Paginator for the ListAppInstanceUserEndpoints operation ///</summary> public interface IListAppInstanceUserEndpointsPaginator { /// <summary> /// Enumerable containing all full responses for the operation /// </summary> IPaginatedEnumerable<ListAppInstanceUserEndpointsResponse> 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 chime-sdk-identity-2021-04-20.normal.json service model. */ using Amazon.Runtime; namespace Amazon.ChimeSDKIdentity.Model { /// <summary> /// Paginator for the ListAppInstanceUsers operation ///</summary> public interface IListAppInstanceUsersPaginator { /// <summary> /// Enumerable containing all full responses for the operation /// </summary> IPaginatedEnumerable<ListAppInstanceUsersResponse> 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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model { /// <summary> /// Base class for ListAppInstanceAdmins paginators. /// </summary> internal sealed partial class ListAppInstanceAdminsPaginator : IPaginator<ListAppInstanceAdminsResponse>, IListAppInstanceAdminsPaginator { private readonly IAmazonChimeSDKIdentity _client; private readonly ListAppInstanceAdminsRequest _request; private int _isPaginatorInUse = 0; /// <summary> /// Enumerable containing all full responses for the operation /// </summary> public IPaginatedEnumerable<ListAppInstanceAdminsResponse> Responses => new PaginatedResponse<ListAppInstanceAdminsResponse>(this); internal ListAppInstanceAdminsPaginator(IAmazonChimeSDKIdentity client, ListAppInstanceAdminsRequest request) { this._client = client; this._request = request; } #if BCL IEnumerable<ListAppInstanceAdminsResponse> IPaginator<ListAppInstanceAdminsResponse>.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; ListAppInstanceAdminsResponse response; do { _request.NextToken = nextToken; response = _client.ListAppInstanceAdmins(_request); nextToken = response.NextToken; yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif #if AWS_ASYNC_ENUMERABLES_API async IAsyncEnumerable<ListAppInstanceAdminsResponse> IPaginator<ListAppInstanceAdminsResponse>.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; ListAppInstanceAdminsResponse response; do { _request.NextToken = nextToken; response = await _client.ListAppInstanceAdminsAsync(_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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model { /// <summary> /// Base class for ListAppInstanceBots paginators. /// </summary> internal sealed partial class ListAppInstanceBotsPaginator : IPaginator<ListAppInstanceBotsResponse>, IListAppInstanceBotsPaginator { private readonly IAmazonChimeSDKIdentity _client; private readonly ListAppInstanceBotsRequest _request; private int _isPaginatorInUse = 0; /// <summary> /// Enumerable containing all full responses for the operation /// </summary> public IPaginatedEnumerable<ListAppInstanceBotsResponse> Responses => new PaginatedResponse<ListAppInstanceBotsResponse>(this); internal ListAppInstanceBotsPaginator(IAmazonChimeSDKIdentity client, ListAppInstanceBotsRequest request) { this._client = client; this._request = request; } #if BCL IEnumerable<ListAppInstanceBotsResponse> IPaginator<ListAppInstanceBotsResponse>.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; ListAppInstanceBotsResponse response; do { _request.NextToken = nextToken; response = _client.ListAppInstanceBots(_request); nextToken = response.NextToken; yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif #if AWS_ASYNC_ENUMERABLES_API async IAsyncEnumerable<ListAppInstanceBotsResponse> IPaginator<ListAppInstanceBotsResponse>.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; ListAppInstanceBotsResponse response; do { _request.NextToken = nextToken; response = await _client.ListAppInstanceBotsAsync(_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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model { /// <summary> /// Base class for ListAppInstances paginators. /// </summary> internal sealed partial class ListAppInstancesPaginator : IPaginator<ListAppInstancesResponse>, IListAppInstancesPaginator { private readonly IAmazonChimeSDKIdentity _client; private readonly ListAppInstancesRequest _request; private int _isPaginatorInUse = 0; /// <summary> /// Enumerable containing all full responses for the operation /// </summary> public IPaginatedEnumerable<ListAppInstancesResponse> Responses => new PaginatedResponse<ListAppInstancesResponse>(this); internal ListAppInstancesPaginator(IAmazonChimeSDKIdentity client, ListAppInstancesRequest request) { this._client = client; this._request = request; } #if BCL IEnumerable<ListAppInstancesResponse> IPaginator<ListAppInstancesResponse>.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; ListAppInstancesResponse response; do { _request.NextToken = nextToken; response = _client.ListAppInstances(_request); nextToken = response.NextToken; yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif #if AWS_ASYNC_ENUMERABLES_API async IAsyncEnumerable<ListAppInstancesResponse> IPaginator<ListAppInstancesResponse>.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; ListAppInstancesResponse response; do { _request.NextToken = nextToken; response = await _client.ListAppInstancesAsync(_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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model { /// <summary> /// Base class for ListAppInstanceUserEndpoints paginators. /// </summary> internal sealed partial class ListAppInstanceUserEndpointsPaginator : IPaginator<ListAppInstanceUserEndpointsResponse>, IListAppInstanceUserEndpointsPaginator { private readonly IAmazonChimeSDKIdentity _client; private readonly ListAppInstanceUserEndpointsRequest _request; private int _isPaginatorInUse = 0; /// <summary> /// Enumerable containing all full responses for the operation /// </summary> public IPaginatedEnumerable<ListAppInstanceUserEndpointsResponse> Responses => new PaginatedResponse<ListAppInstanceUserEndpointsResponse>(this); internal ListAppInstanceUserEndpointsPaginator(IAmazonChimeSDKIdentity client, ListAppInstanceUserEndpointsRequest request) { this._client = client; this._request = request; } #if BCL IEnumerable<ListAppInstanceUserEndpointsResponse> IPaginator<ListAppInstanceUserEndpointsResponse>.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; ListAppInstanceUserEndpointsResponse response; do { _request.NextToken = nextToken; response = _client.ListAppInstanceUserEndpoints(_request); nextToken = response.NextToken; yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif #if AWS_ASYNC_ENUMERABLES_API async IAsyncEnumerable<ListAppInstanceUserEndpointsResponse> IPaginator<ListAppInstanceUserEndpointsResponse>.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; ListAppInstanceUserEndpointsResponse response; do { _request.NextToken = nextToken; response = await _client.ListAppInstanceUserEndpointsAsync(_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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model { /// <summary> /// Base class for ListAppInstanceUsers paginators. /// </summary> internal sealed partial class ListAppInstanceUsersPaginator : IPaginator<ListAppInstanceUsersResponse>, IListAppInstanceUsersPaginator { private readonly IAmazonChimeSDKIdentity _client; private readonly ListAppInstanceUsersRequest _request; private int _isPaginatorInUse = 0; /// <summary> /// Enumerable containing all full responses for the operation /// </summary> public IPaginatedEnumerable<ListAppInstanceUsersResponse> Responses => new PaginatedResponse<ListAppInstanceUsersResponse>(this); internal ListAppInstanceUsersPaginator(IAmazonChimeSDKIdentity client, ListAppInstanceUsersRequest request) { this._client = client; this._request = request; } #if BCL IEnumerable<ListAppInstanceUsersResponse> IPaginator<ListAppInstanceUsersResponse>.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; ListAppInstanceUsersResponse response; do { _request.NextToken = nextToken; response = _client.ListAppInstanceUsers(_request); nextToken = response.NextToken; yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif #if AWS_ASYNC_ENUMERABLES_API async IAsyncEnumerable<ListAppInstanceUsersResponse> IPaginator<ListAppInstanceUsersResponse>.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; ListAppInstanceUsersResponse response; do { _request.NextToken = nextToken; response = await _client.ListAppInstanceUsersAsync(_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 chime-sdk-identity-2021-04-20.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using Amazon.ChimeSDKIdentity.Model; using Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations; using Amazon.ChimeSDKIdentity.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.ChimeSDKIdentity { /// <summary> /// Implementation for accessing ChimeSDKIdentity /// /// The Amazon Chime SDK Identity APIs in this section allow software developers to create /// and manage unique instances of their messaging applications. These APIs provide the /// overarching framework for creating and sending messages. For more information about /// the identity APIs, refer to <a href="https://docs.aws.amazon.com/chime/latest/APIReference/API_Operations_Amazon_Chime_SDK_Identity.html">Amazon /// Chime SDK identity</a>. /// </summary> public partial class AmazonChimeSDKIdentityClient : AmazonServiceClient, IAmazonChimeSDKIdentity { private static IServiceMetadata serviceMetadata = new AmazonChimeSDKIdentityMetadata(); #if BCL45 || AWS_ASYNC_ENUMERABLES_API private IChimeSDKIdentityPaginatorFactory _paginators; /// <summary> /// Paginators for the service /// </summary> public IChimeSDKIdentityPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new ChimeSDKIdentityPaginatorFactory(this); } return this._paginators; } } #endif #region Constructors /// <summary> /// Constructs AmazonChimeSDKIdentityClient 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 AmazonChimeSDKIdentityClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonChimeSDKIdentityConfig()) { } /// <summary> /// Constructs AmazonChimeSDKIdentityClient 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 AmazonChimeSDKIdentityClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonChimeSDKIdentityConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonChimeSDKIdentityClient 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 AmazonChimeSDKIdentityClient Configuration Object</param> public AmazonChimeSDKIdentityClient(AmazonChimeSDKIdentityConfig config) : base(FallbackCredentialsFactory.GetCredentials(), config) { } /// <summary> /// Constructs AmazonChimeSDKIdentityClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> public AmazonChimeSDKIdentityClient(AWSCredentials credentials) : this(credentials, new AmazonChimeSDKIdentityConfig()) { } /// <summary> /// Constructs AmazonChimeSDKIdentityClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="region">The region to connect.</param> public AmazonChimeSDKIdentityClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonChimeSDKIdentityConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonChimeSDKIdentityClient with AWS Credentials and an /// AmazonChimeSDKIdentityClient Configuration object. /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="clientConfig">The AmazonChimeSDKIdentityClient Configuration Object</param> public AmazonChimeSDKIdentityClient(AWSCredentials credentials, AmazonChimeSDKIdentityConfig clientConfig) : base(credentials, clientConfig) { } /// <summary> /// Constructs AmazonChimeSDKIdentityClient 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 AmazonChimeSDKIdentityClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonChimeSDKIdentityConfig()) { } /// <summary> /// Constructs AmazonChimeSDKIdentityClient 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 AmazonChimeSDKIdentityClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonChimeSDKIdentityConfig() {RegionEndpoint=region}) { } /// <summary> /// Constructs AmazonChimeSDKIdentityClient with AWS Access Key ID, AWS Secret Key and an /// AmazonChimeSDKIdentityClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="clientConfig">The AmazonChimeSDKIdentityClient Configuration Object</param> public AmazonChimeSDKIdentityClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonChimeSDKIdentityConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// <summary> /// Constructs AmazonChimeSDKIdentityClient 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 AmazonChimeSDKIdentityClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonChimeSDKIdentityConfig()) { } /// <summary> /// Constructs AmazonChimeSDKIdentityClient 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 AmazonChimeSDKIdentityClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonChimeSDKIdentityConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonChimeSDKIdentityClient with AWS Access Key ID, AWS Secret Key and an /// AmazonChimeSDKIdentityClient 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 AmazonChimeSDKIdentityClient Configuration Object</param> public AmazonChimeSDKIdentityClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonChimeSDKIdentityConfig 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 AmazonChimeSDKIdentityEndpointResolver()); } /// <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 CreateAppInstance /// <summary> /// Creates an Amazon Chime SDK messaging <code>AppInstance</code> under an AWS account. /// Only SDK messaging customers use this API. <code>CreateAppInstance</code> supports /// idempotency behavior as described in the AWS API Standard. /// /// /// <para> /// identity /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppInstance service method.</param> /// /// <returns>The response from the CreateAppInstance service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstance">REST API Reference for CreateAppInstance Operation</seealso> public virtual CreateAppInstanceResponse CreateAppInstance(CreateAppInstanceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppInstanceResponseUnmarshaller.Instance; return Invoke<CreateAppInstanceResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateAppInstance operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateAppInstance operation on AmazonChimeSDKIdentityClient.</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 EndCreateAppInstance /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstance">REST API Reference for CreateAppInstance Operation</seealso> public virtual IAsyncResult BeginCreateAppInstance(CreateAppInstanceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppInstanceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateAppInstance operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateAppInstance.</param> /// /// <returns>Returns a CreateAppInstanceResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstance">REST API Reference for CreateAppInstance Operation</seealso> public virtual CreateAppInstanceResponse EndCreateAppInstance(IAsyncResult asyncResult) { return EndInvoke<CreateAppInstanceResponse>(asyncResult); } #endregion #region CreateAppInstanceAdmin /// <summary> /// Promotes an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> to an <code>AppInstanceAdmin</code>. /// The promoted entity can perform the following actions. /// /// <ul> <li> /// <para> /// <code>ChannelModerator</code> actions across all channels in the <code>AppInstance</code>. /// </para> /// </li> <li> /// <para> /// <code>DeleteChannelMessage</code> actions. /// </para> /// </li> </ul> /// <para> /// Only an <code>AppInstanceUser</code> and <code>AppInstanceBot</code> can be promoted /// to an <code>AppInstanceAdmin</code> role. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppInstanceAdmin service method.</param> /// /// <returns>The response from the CreateAppInstanceAdmin service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceAdmin">REST API Reference for CreateAppInstanceAdmin Operation</seealso> public virtual CreateAppInstanceAdminResponse CreateAppInstanceAdmin(CreateAppInstanceAdminRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppInstanceAdminRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppInstanceAdminResponseUnmarshaller.Instance; return Invoke<CreateAppInstanceAdminResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateAppInstanceAdmin operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateAppInstanceAdmin operation on AmazonChimeSDKIdentityClient.</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 EndCreateAppInstanceAdmin /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceAdmin">REST API Reference for CreateAppInstanceAdmin Operation</seealso> public virtual IAsyncResult BeginCreateAppInstanceAdmin(CreateAppInstanceAdminRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppInstanceAdminRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppInstanceAdminResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateAppInstanceAdmin operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateAppInstanceAdmin.</param> /// /// <returns>Returns a CreateAppInstanceAdminResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceAdmin">REST API Reference for CreateAppInstanceAdmin Operation</seealso> public virtual CreateAppInstanceAdminResponse EndCreateAppInstanceAdmin(IAsyncResult asyncResult) { return EndInvoke<CreateAppInstanceAdminResponse>(asyncResult); } #endregion #region CreateAppInstanceBot /// <summary> /// Creates a bot under an Amazon Chime <code>AppInstance</code>. The request consists /// of a unique <code>Configuration</code> and <code>Name</code> for that bot. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppInstanceBot service method.</param> /// /// <returns>The response from the CreateAppInstanceBot service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceBot">REST API Reference for CreateAppInstanceBot Operation</seealso> public virtual CreateAppInstanceBotResponse CreateAppInstanceBot(CreateAppInstanceBotRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppInstanceBotResponseUnmarshaller.Instance; return Invoke<CreateAppInstanceBotResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateAppInstanceBot operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateAppInstanceBot operation on AmazonChimeSDKIdentityClient.</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 EndCreateAppInstanceBot /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceBot">REST API Reference for CreateAppInstanceBot Operation</seealso> public virtual IAsyncResult BeginCreateAppInstanceBot(CreateAppInstanceBotRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppInstanceBotResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateAppInstanceBot operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateAppInstanceBot.</param> /// /// <returns>Returns a CreateAppInstanceBotResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceBot">REST API Reference for CreateAppInstanceBot Operation</seealso> public virtual CreateAppInstanceBotResponse EndCreateAppInstanceBot(IAsyncResult asyncResult) { return EndInvoke<CreateAppInstanceBotResponse>(asyncResult); } #endregion #region CreateAppInstanceUser /// <summary> /// Creates a user under an Amazon Chime <code>AppInstance</code>. The request consists /// of a unique <code>appInstanceUserId</code> and <code>Name</code> for that user. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppInstanceUser service method.</param> /// /// <returns>The response from the CreateAppInstanceUser service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceUser">REST API Reference for CreateAppInstanceUser Operation</seealso> public virtual CreateAppInstanceUserResponse CreateAppInstanceUser(CreateAppInstanceUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppInstanceUserResponseUnmarshaller.Instance; return Invoke<CreateAppInstanceUserResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateAppInstanceUser operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateAppInstanceUser operation on AmazonChimeSDKIdentityClient.</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 EndCreateAppInstanceUser /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceUser">REST API Reference for CreateAppInstanceUser Operation</seealso> public virtual IAsyncResult BeginCreateAppInstanceUser(CreateAppInstanceUserRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppInstanceUserResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateAppInstanceUser operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateAppInstanceUser.</param> /// /// <returns>Returns a CreateAppInstanceUserResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceUser">REST API Reference for CreateAppInstanceUser Operation</seealso> public virtual CreateAppInstanceUserResponse EndCreateAppInstanceUser(IAsyncResult asyncResult) { return EndInvoke<CreateAppInstanceUserResponse>(asyncResult); } #endregion #region DeleteAppInstance /// <summary> /// Deletes an <code>AppInstance</code> and all associated data asynchronously. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstance service method.</param> /// /// <returns>The response from the DeleteAppInstance service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstance">REST API Reference for DeleteAppInstance Operation</seealso> public virtual DeleteAppInstanceResponse DeleteAppInstance(DeleteAppInstanceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppInstanceResponseUnmarshaller.Instance; return Invoke<DeleteAppInstanceResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteAppInstance operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstance operation on AmazonChimeSDKIdentityClient.</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 EndDeleteAppInstance /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstance">REST API Reference for DeleteAppInstance Operation</seealso> public virtual IAsyncResult BeginDeleteAppInstance(DeleteAppInstanceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppInstanceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteAppInstance operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteAppInstance.</param> /// /// <returns>Returns a DeleteAppInstanceResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstance">REST API Reference for DeleteAppInstance Operation</seealso> public virtual DeleteAppInstanceResponse EndDeleteAppInstance(IAsyncResult asyncResult) { return EndInvoke<DeleteAppInstanceResponse>(asyncResult); } #endregion #region DeleteAppInstanceAdmin /// <summary> /// Demotes an <code>AppInstanceAdmin</code> to an <code>AppInstanceUser</code> or <code>AppInstanceBot</code>. /// This action does not delete the user. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstanceAdmin service method.</param> /// /// <returns>The response from the DeleteAppInstanceAdmin service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceAdmin">REST API Reference for DeleteAppInstanceAdmin Operation</seealso> public virtual DeleteAppInstanceAdminResponse DeleteAppInstanceAdmin(DeleteAppInstanceAdminRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppInstanceAdminRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppInstanceAdminResponseUnmarshaller.Instance; return Invoke<DeleteAppInstanceAdminResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteAppInstanceAdmin operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstanceAdmin operation on AmazonChimeSDKIdentityClient.</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 EndDeleteAppInstanceAdmin /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceAdmin">REST API Reference for DeleteAppInstanceAdmin Operation</seealso> public virtual IAsyncResult BeginDeleteAppInstanceAdmin(DeleteAppInstanceAdminRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppInstanceAdminRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppInstanceAdminResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteAppInstanceAdmin operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteAppInstanceAdmin.</param> /// /// <returns>Returns a DeleteAppInstanceAdminResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceAdmin">REST API Reference for DeleteAppInstanceAdmin Operation</seealso> public virtual DeleteAppInstanceAdminResponse EndDeleteAppInstanceAdmin(IAsyncResult asyncResult) { return EndInvoke<DeleteAppInstanceAdminResponse>(asyncResult); } #endregion #region DeleteAppInstanceBot /// <summary> /// Deletes an <code>AppInstanceBot</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstanceBot service method.</param> /// /// <returns>The response from the DeleteAppInstanceBot service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceBot">REST API Reference for DeleteAppInstanceBot Operation</seealso> public virtual DeleteAppInstanceBotResponse DeleteAppInstanceBot(DeleteAppInstanceBotRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppInstanceBotResponseUnmarshaller.Instance; return Invoke<DeleteAppInstanceBotResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteAppInstanceBot operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstanceBot operation on AmazonChimeSDKIdentityClient.</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 EndDeleteAppInstanceBot /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceBot">REST API Reference for DeleteAppInstanceBot Operation</seealso> public virtual IAsyncResult BeginDeleteAppInstanceBot(DeleteAppInstanceBotRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppInstanceBotResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteAppInstanceBot operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteAppInstanceBot.</param> /// /// <returns>Returns a DeleteAppInstanceBotResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceBot">REST API Reference for DeleteAppInstanceBot Operation</seealso> public virtual DeleteAppInstanceBotResponse EndDeleteAppInstanceBot(IAsyncResult asyncResult) { return EndInvoke<DeleteAppInstanceBotResponse>(asyncResult); } #endregion #region DeleteAppInstanceUser /// <summary> /// Deletes an <code>AppInstanceUser</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstanceUser service method.</param> /// /// <returns>The response from the DeleteAppInstanceUser service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceUser">REST API Reference for DeleteAppInstanceUser Operation</seealso> public virtual DeleteAppInstanceUserResponse DeleteAppInstanceUser(DeleteAppInstanceUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppInstanceUserResponseUnmarshaller.Instance; return Invoke<DeleteAppInstanceUserResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteAppInstanceUser operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstanceUser operation on AmazonChimeSDKIdentityClient.</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 EndDeleteAppInstanceUser /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceUser">REST API Reference for DeleteAppInstanceUser Operation</seealso> public virtual IAsyncResult BeginDeleteAppInstanceUser(DeleteAppInstanceUserRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppInstanceUserResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteAppInstanceUser operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteAppInstanceUser.</param> /// /// <returns>Returns a DeleteAppInstanceUserResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceUser">REST API Reference for DeleteAppInstanceUser Operation</seealso> public virtual DeleteAppInstanceUserResponse EndDeleteAppInstanceUser(IAsyncResult asyncResult) { return EndInvoke<DeleteAppInstanceUserResponse>(asyncResult); } #endregion #region DeregisterAppInstanceUserEndpoint /// <summary> /// Deregisters an <code>AppInstanceUserEndpoint</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeregisterAppInstanceUserEndpoint service method.</param> /// /// <returns>The response from the DeregisterAppInstanceUserEndpoint service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeregisterAppInstanceUserEndpoint">REST API Reference for DeregisterAppInstanceUserEndpoint Operation</seealso> public virtual DeregisterAppInstanceUserEndpointResponse DeregisterAppInstanceUserEndpoint(DeregisterAppInstanceUserEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeregisterAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = DeregisterAppInstanceUserEndpointResponseUnmarshaller.Instance; return Invoke<DeregisterAppInstanceUserEndpointResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeregisterAppInstanceUserEndpoint operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeregisterAppInstanceUserEndpoint operation on AmazonChimeSDKIdentityClient.</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 EndDeregisterAppInstanceUserEndpoint /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeregisterAppInstanceUserEndpoint">REST API Reference for DeregisterAppInstanceUserEndpoint Operation</seealso> public virtual IAsyncResult BeginDeregisterAppInstanceUserEndpoint(DeregisterAppInstanceUserEndpointRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeregisterAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = DeregisterAppInstanceUserEndpointResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeregisterAppInstanceUserEndpoint operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeregisterAppInstanceUserEndpoint.</param> /// /// <returns>Returns a DeregisterAppInstanceUserEndpointResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeregisterAppInstanceUserEndpoint">REST API Reference for DeregisterAppInstanceUserEndpoint Operation</seealso> public virtual DeregisterAppInstanceUserEndpointResponse EndDeregisterAppInstanceUserEndpoint(IAsyncResult asyncResult) { return EndInvoke<DeregisterAppInstanceUserEndpointResponse>(asyncResult); } #endregion #region DescribeAppInstance /// <summary> /// Returns the full details of an <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstance service method.</param> /// /// <returns>The response from the DescribeAppInstance service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstance">REST API Reference for DescribeAppInstance Operation</seealso> public virtual DescribeAppInstanceResponse DescribeAppInstance(DescribeAppInstanceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceResponseUnmarshaller.Instance; return Invoke<DescribeAppInstanceResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeAppInstance operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstance operation on AmazonChimeSDKIdentityClient.</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 EndDescribeAppInstance /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstance">REST API Reference for DescribeAppInstance Operation</seealso> public virtual IAsyncResult BeginDescribeAppInstance(DescribeAppInstanceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeAppInstance operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeAppInstance.</param> /// /// <returns>Returns a DescribeAppInstanceResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstance">REST API Reference for DescribeAppInstance Operation</seealso> public virtual DescribeAppInstanceResponse EndDescribeAppInstance(IAsyncResult asyncResult) { return EndInvoke<DescribeAppInstanceResponse>(asyncResult); } #endregion #region DescribeAppInstanceAdmin /// <summary> /// Returns the full details of an <code>AppInstanceAdmin</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceAdmin service method.</param> /// /// <returns>The response from the DescribeAppInstanceAdmin service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceAdmin">REST API Reference for DescribeAppInstanceAdmin Operation</seealso> public virtual DescribeAppInstanceAdminResponse DescribeAppInstanceAdmin(DescribeAppInstanceAdminRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceAdminRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceAdminResponseUnmarshaller.Instance; return Invoke<DescribeAppInstanceAdminResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeAppInstanceAdmin operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceAdmin operation on AmazonChimeSDKIdentityClient.</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 EndDescribeAppInstanceAdmin /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceAdmin">REST API Reference for DescribeAppInstanceAdmin Operation</seealso> public virtual IAsyncResult BeginDescribeAppInstanceAdmin(DescribeAppInstanceAdminRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceAdminRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceAdminResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeAppInstanceAdmin operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeAppInstanceAdmin.</param> /// /// <returns>Returns a DescribeAppInstanceAdminResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceAdmin">REST API Reference for DescribeAppInstanceAdmin Operation</seealso> public virtual DescribeAppInstanceAdminResponse EndDescribeAppInstanceAdmin(IAsyncResult asyncResult) { return EndInvoke<DescribeAppInstanceAdminResponse>(asyncResult); } #endregion #region DescribeAppInstanceBot /// <summary> /// The <code>AppInstanceBot's</code> information. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceBot service method.</param> /// /// <returns>The response from the DescribeAppInstanceBot service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceBot">REST API Reference for DescribeAppInstanceBot Operation</seealso> public virtual DescribeAppInstanceBotResponse DescribeAppInstanceBot(DescribeAppInstanceBotRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceBotResponseUnmarshaller.Instance; return Invoke<DescribeAppInstanceBotResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeAppInstanceBot operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceBot operation on AmazonChimeSDKIdentityClient.</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 EndDescribeAppInstanceBot /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceBot">REST API Reference for DescribeAppInstanceBot Operation</seealso> public virtual IAsyncResult BeginDescribeAppInstanceBot(DescribeAppInstanceBotRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceBotResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeAppInstanceBot operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeAppInstanceBot.</param> /// /// <returns>Returns a DescribeAppInstanceBotResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceBot">REST API Reference for DescribeAppInstanceBot Operation</seealso> public virtual DescribeAppInstanceBotResponse EndDescribeAppInstanceBot(IAsyncResult asyncResult) { return EndInvoke<DescribeAppInstanceBotResponse>(asyncResult); } #endregion #region DescribeAppInstanceUser /// <summary> /// Returns the full details of an <code>AppInstanceUser</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceUser service method.</param> /// /// <returns>The response from the DescribeAppInstanceUser service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceUser">REST API Reference for DescribeAppInstanceUser Operation</seealso> public virtual DescribeAppInstanceUserResponse DescribeAppInstanceUser(DescribeAppInstanceUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceUserResponseUnmarshaller.Instance; return Invoke<DescribeAppInstanceUserResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeAppInstanceUser operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceUser operation on AmazonChimeSDKIdentityClient.</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 EndDescribeAppInstanceUser /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceUser">REST API Reference for DescribeAppInstanceUser Operation</seealso> public virtual IAsyncResult BeginDescribeAppInstanceUser(DescribeAppInstanceUserRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceUserResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeAppInstanceUser operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeAppInstanceUser.</param> /// /// <returns>Returns a DescribeAppInstanceUserResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceUser">REST API Reference for DescribeAppInstanceUser Operation</seealso> public virtual DescribeAppInstanceUserResponse EndDescribeAppInstanceUser(IAsyncResult asyncResult) { return EndInvoke<DescribeAppInstanceUserResponse>(asyncResult); } #endregion #region DescribeAppInstanceUserEndpoint /// <summary> /// Returns the full details of an <code>AppInstanceUserEndpoint</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceUserEndpoint service method.</param> /// /// <returns>The response from the DescribeAppInstanceUserEndpoint service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceUserEndpoint">REST API Reference for DescribeAppInstanceUserEndpoint Operation</seealso> public virtual DescribeAppInstanceUserEndpointResponse DescribeAppInstanceUserEndpoint(DescribeAppInstanceUserEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceUserEndpointResponseUnmarshaller.Instance; return Invoke<DescribeAppInstanceUserEndpointResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeAppInstanceUserEndpoint operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceUserEndpoint operation on AmazonChimeSDKIdentityClient.</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 EndDescribeAppInstanceUserEndpoint /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceUserEndpoint">REST API Reference for DescribeAppInstanceUserEndpoint Operation</seealso> public virtual IAsyncResult BeginDescribeAppInstanceUserEndpoint(DescribeAppInstanceUserEndpointRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceUserEndpointResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeAppInstanceUserEndpoint operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeAppInstanceUserEndpoint.</param> /// /// <returns>Returns a DescribeAppInstanceUserEndpointResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceUserEndpoint">REST API Reference for DescribeAppInstanceUserEndpoint Operation</seealso> public virtual DescribeAppInstanceUserEndpointResponse EndDescribeAppInstanceUserEndpoint(IAsyncResult asyncResult) { return EndInvoke<DescribeAppInstanceUserEndpointResponse>(asyncResult); } #endregion #region GetAppInstanceRetentionSettings /// <summary> /// Gets the retention settings for an <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetAppInstanceRetentionSettings service method.</param> /// /// <returns>The response from the GetAppInstanceRetentionSettings service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/GetAppInstanceRetentionSettings">REST API Reference for GetAppInstanceRetentionSettings Operation</seealso> public virtual GetAppInstanceRetentionSettingsResponse GetAppInstanceRetentionSettings(GetAppInstanceRetentionSettingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAppInstanceRetentionSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAppInstanceRetentionSettingsResponseUnmarshaller.Instance; return Invoke<GetAppInstanceRetentionSettingsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetAppInstanceRetentionSettings operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetAppInstanceRetentionSettings operation on AmazonChimeSDKIdentityClient.</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 EndGetAppInstanceRetentionSettings /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/GetAppInstanceRetentionSettings">REST API Reference for GetAppInstanceRetentionSettings Operation</seealso> public virtual IAsyncResult BeginGetAppInstanceRetentionSettings(GetAppInstanceRetentionSettingsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetAppInstanceRetentionSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAppInstanceRetentionSettingsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetAppInstanceRetentionSettings operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetAppInstanceRetentionSettings.</param> /// /// <returns>Returns a GetAppInstanceRetentionSettingsResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/GetAppInstanceRetentionSettings">REST API Reference for GetAppInstanceRetentionSettings Operation</seealso> public virtual GetAppInstanceRetentionSettingsResponse EndGetAppInstanceRetentionSettings(IAsyncResult asyncResult) { return EndInvoke<GetAppInstanceRetentionSettingsResponse>(asyncResult); } #endregion #region ListAppInstanceAdmins /// <summary> /// Returns a list of the administrators in the <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceAdmins service method.</param> /// /// <returns>The response from the ListAppInstanceAdmins service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceAdmins">REST API Reference for ListAppInstanceAdmins Operation</seealso> public virtual ListAppInstanceAdminsResponse ListAppInstanceAdmins(ListAppInstanceAdminsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceAdminsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceAdminsResponseUnmarshaller.Instance; return Invoke<ListAppInstanceAdminsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListAppInstanceAdmins operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceAdmins operation on AmazonChimeSDKIdentityClient.</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 EndListAppInstanceAdmins /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceAdmins">REST API Reference for ListAppInstanceAdmins Operation</seealso> public virtual IAsyncResult BeginListAppInstanceAdmins(ListAppInstanceAdminsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceAdminsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceAdminsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListAppInstanceAdmins operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAppInstanceAdmins.</param> /// /// <returns>Returns a ListAppInstanceAdminsResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceAdmins">REST API Reference for ListAppInstanceAdmins Operation</seealso> public virtual ListAppInstanceAdminsResponse EndListAppInstanceAdmins(IAsyncResult asyncResult) { return EndInvoke<ListAppInstanceAdminsResponse>(asyncResult); } #endregion #region ListAppInstanceBots /// <summary> /// Lists all <code>AppInstanceBots</code> created under a single <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceBots service method.</param> /// /// <returns>The response from the ListAppInstanceBots service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceBots">REST API Reference for ListAppInstanceBots Operation</seealso> public virtual ListAppInstanceBotsResponse ListAppInstanceBots(ListAppInstanceBotsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceBotsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceBotsResponseUnmarshaller.Instance; return Invoke<ListAppInstanceBotsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListAppInstanceBots operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceBots operation on AmazonChimeSDKIdentityClient.</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 EndListAppInstanceBots /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceBots">REST API Reference for ListAppInstanceBots Operation</seealso> public virtual IAsyncResult BeginListAppInstanceBots(ListAppInstanceBotsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceBotsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceBotsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListAppInstanceBots operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAppInstanceBots.</param> /// /// <returns>Returns a ListAppInstanceBotsResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceBots">REST API Reference for ListAppInstanceBots Operation</seealso> public virtual ListAppInstanceBotsResponse EndListAppInstanceBots(IAsyncResult asyncResult) { return EndInvoke<ListAppInstanceBotsResponse>(asyncResult); } #endregion #region ListAppInstances /// <summary> /// Lists all Amazon Chime <code>AppInstance</code>s created under a single AWS account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstances service method.</param> /// /// <returns>The response from the ListAppInstances service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstances">REST API Reference for ListAppInstances Operation</seealso> public virtual ListAppInstancesResponse ListAppInstances(ListAppInstancesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstancesResponseUnmarshaller.Instance; return Invoke<ListAppInstancesResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListAppInstances operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListAppInstances operation on AmazonChimeSDKIdentityClient.</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 EndListAppInstances /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstances">REST API Reference for ListAppInstances Operation</seealso> public virtual IAsyncResult BeginListAppInstances(ListAppInstancesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstancesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListAppInstances operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAppInstances.</param> /// /// <returns>Returns a ListAppInstancesResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstances">REST API Reference for ListAppInstances Operation</seealso> public virtual ListAppInstancesResponse EndListAppInstances(IAsyncResult asyncResult) { return EndInvoke<ListAppInstancesResponse>(asyncResult); } #endregion #region ListAppInstanceUserEndpoints /// <summary> /// Lists all the <code>AppInstanceUserEndpoints</code> created under a single <code>AppInstanceUser</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceUserEndpoints service method.</param> /// /// <returns>The response from the ListAppInstanceUserEndpoints service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceUserEndpoints">REST API Reference for ListAppInstanceUserEndpoints Operation</seealso> public virtual ListAppInstanceUserEndpointsResponse ListAppInstanceUserEndpoints(ListAppInstanceUserEndpointsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceUserEndpointsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceUserEndpointsResponseUnmarshaller.Instance; return Invoke<ListAppInstanceUserEndpointsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListAppInstanceUserEndpoints operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceUserEndpoints operation on AmazonChimeSDKIdentityClient.</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 EndListAppInstanceUserEndpoints /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceUserEndpoints">REST API Reference for ListAppInstanceUserEndpoints Operation</seealso> public virtual IAsyncResult BeginListAppInstanceUserEndpoints(ListAppInstanceUserEndpointsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceUserEndpointsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceUserEndpointsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListAppInstanceUserEndpoints operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAppInstanceUserEndpoints.</param> /// /// <returns>Returns a ListAppInstanceUserEndpointsResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceUserEndpoints">REST API Reference for ListAppInstanceUserEndpoints Operation</seealso> public virtual ListAppInstanceUserEndpointsResponse EndListAppInstanceUserEndpoints(IAsyncResult asyncResult) { return EndInvoke<ListAppInstanceUserEndpointsResponse>(asyncResult); } #endregion #region ListAppInstanceUsers /// <summary> /// List all <code>AppInstanceUsers</code> created under a single <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceUsers service method.</param> /// /// <returns>The response from the ListAppInstanceUsers service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceUsers">REST API Reference for ListAppInstanceUsers Operation</seealso> public virtual ListAppInstanceUsersResponse ListAppInstanceUsers(ListAppInstanceUsersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceUsersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceUsersResponseUnmarshaller.Instance; return Invoke<ListAppInstanceUsersResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListAppInstanceUsers operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceUsers operation on AmazonChimeSDKIdentityClient.</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 EndListAppInstanceUsers /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceUsers">REST API Reference for ListAppInstanceUsers Operation</seealso> public virtual IAsyncResult BeginListAppInstanceUsers(ListAppInstanceUsersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceUsersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceUsersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListAppInstanceUsers operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAppInstanceUsers.</param> /// /// <returns>Returns a ListAppInstanceUsersResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceUsers">REST API Reference for ListAppInstanceUsers Operation</seealso> public virtual ListAppInstanceUsersResponse EndListAppInstanceUsers(IAsyncResult asyncResult) { return EndInvoke<ListAppInstanceUsersResponse>(asyncResult); } #endregion #region ListTagsForResource /// <summary> /// Lists the tags applied to an Amazon Chime SDK identity resource. /// </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 ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/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 AmazonChimeSDKIdentityClient.</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/chime-sdk-identity-2021-04-20/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 ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult) { return EndInvoke<ListTagsForResourceResponse>(asyncResult); } #endregion #region PutAppInstanceRetentionSettings /// <summary> /// Sets the amount of time in days that a given <code>AppInstance</code> retains data. /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutAppInstanceRetentionSettings service method.</param> /// /// <returns>The response from the PutAppInstanceRetentionSettings service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/PutAppInstanceRetentionSettings">REST API Reference for PutAppInstanceRetentionSettings Operation</seealso> public virtual PutAppInstanceRetentionSettingsResponse PutAppInstanceRetentionSettings(PutAppInstanceRetentionSettingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutAppInstanceRetentionSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutAppInstanceRetentionSettingsResponseUnmarshaller.Instance; return Invoke<PutAppInstanceRetentionSettingsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the PutAppInstanceRetentionSettings operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the PutAppInstanceRetentionSettings operation on AmazonChimeSDKIdentityClient.</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 EndPutAppInstanceRetentionSettings /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/PutAppInstanceRetentionSettings">REST API Reference for PutAppInstanceRetentionSettings Operation</seealso> public virtual IAsyncResult BeginPutAppInstanceRetentionSettings(PutAppInstanceRetentionSettingsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PutAppInstanceRetentionSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutAppInstanceRetentionSettingsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the PutAppInstanceRetentionSettings operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginPutAppInstanceRetentionSettings.</param> /// /// <returns>Returns a PutAppInstanceRetentionSettingsResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/PutAppInstanceRetentionSettings">REST API Reference for PutAppInstanceRetentionSettings Operation</seealso> public virtual PutAppInstanceRetentionSettingsResponse EndPutAppInstanceRetentionSettings(IAsyncResult asyncResult) { return EndInvoke<PutAppInstanceRetentionSettingsResponse>(asyncResult); } #endregion #region PutAppInstanceUserExpirationSettings /// <summary> /// Sets the number of days before the <code>AppInstanceUser</code> is automatically deleted. /// /// <note> /// <para> /// A background process deletes expired <code>AppInstanceUsers</code> within 6 hours /// of expiration. Actual deletion times may vary. /// </para> /// /// <para> /// Expired <code>AppInstanceUsers</code> that have not yet been deleted appear as active, /// and you can update their expiration settings. The system honors the new settings. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutAppInstanceUserExpirationSettings service method.</param> /// /// <returns>The response from the PutAppInstanceUserExpirationSettings service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/PutAppInstanceUserExpirationSettings">REST API Reference for PutAppInstanceUserExpirationSettings Operation</seealso> public virtual PutAppInstanceUserExpirationSettingsResponse PutAppInstanceUserExpirationSettings(PutAppInstanceUserExpirationSettingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutAppInstanceUserExpirationSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutAppInstanceUserExpirationSettingsResponseUnmarshaller.Instance; return Invoke<PutAppInstanceUserExpirationSettingsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the PutAppInstanceUserExpirationSettings operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the PutAppInstanceUserExpirationSettings operation on AmazonChimeSDKIdentityClient.</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 EndPutAppInstanceUserExpirationSettings /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/PutAppInstanceUserExpirationSettings">REST API Reference for PutAppInstanceUserExpirationSettings Operation</seealso> public virtual IAsyncResult BeginPutAppInstanceUserExpirationSettings(PutAppInstanceUserExpirationSettingsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PutAppInstanceUserExpirationSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutAppInstanceUserExpirationSettingsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the PutAppInstanceUserExpirationSettings operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginPutAppInstanceUserExpirationSettings.</param> /// /// <returns>Returns a PutAppInstanceUserExpirationSettingsResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/PutAppInstanceUserExpirationSettings">REST API Reference for PutAppInstanceUserExpirationSettings Operation</seealso> public virtual PutAppInstanceUserExpirationSettingsResponse EndPutAppInstanceUserExpirationSettings(IAsyncResult asyncResult) { return EndInvoke<PutAppInstanceUserExpirationSettingsResponse>(asyncResult); } #endregion #region RegisterAppInstanceUserEndpoint /// <summary> /// Registers an endpoint under an Amazon Chime <code>AppInstanceUser</code>. The endpoint /// receives messages for a user. For push notifications, the endpoint is a mobile device /// used to receive mobile push notifications for a user. /// </summary> /// <param name="request">Container for the necessary parameters to execute the RegisterAppInstanceUserEndpoint service method.</param> /// /// <returns>The response from the RegisterAppInstanceUserEndpoint service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/RegisterAppInstanceUserEndpoint">REST API Reference for RegisterAppInstanceUserEndpoint Operation</seealso> public virtual RegisterAppInstanceUserEndpointResponse RegisterAppInstanceUserEndpoint(RegisterAppInstanceUserEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterAppInstanceUserEndpointResponseUnmarshaller.Instance; return Invoke<RegisterAppInstanceUserEndpointResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the RegisterAppInstanceUserEndpoint operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the RegisterAppInstanceUserEndpoint operation on AmazonChimeSDKIdentityClient.</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 EndRegisterAppInstanceUserEndpoint /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/RegisterAppInstanceUserEndpoint">REST API Reference for RegisterAppInstanceUserEndpoint Operation</seealso> public virtual IAsyncResult BeginRegisterAppInstanceUserEndpoint(RegisterAppInstanceUserEndpointRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterAppInstanceUserEndpointResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the RegisterAppInstanceUserEndpoint operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginRegisterAppInstanceUserEndpoint.</param> /// /// <returns>Returns a RegisterAppInstanceUserEndpointResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/RegisterAppInstanceUserEndpoint">REST API Reference for RegisterAppInstanceUserEndpoint Operation</seealso> public virtual RegisterAppInstanceUserEndpointResponse EndRegisterAppInstanceUserEndpoint(IAsyncResult asyncResult) { return EndInvoke<RegisterAppInstanceUserEndpointResponse>(asyncResult); } #endregion #region TagResource /// <summary> /// Applies the specified tags to the specified Amazon Chime SDK identity resource. /// </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 ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/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 AmazonChimeSDKIdentityClient.</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/chime-sdk-identity-2021-04-20/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 ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/TagResource">REST API Reference for TagResource Operation</seealso> public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult) { return EndInvoke<TagResourceResponse>(asyncResult); } #endregion #region UntagResource /// <summary> /// Removes the specified tags from the specified Amazon Chime SDK identity resource. /// </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 ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/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 AmazonChimeSDKIdentityClient.</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/chime-sdk-identity-2021-04-20/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 ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UntagResource">REST API Reference for UntagResource Operation</seealso> public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult) { return EndInvoke<UntagResourceResponse>(asyncResult); } #endregion #region UpdateAppInstance /// <summary> /// Updates <code>AppInstance</code> metadata. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstance service method.</param> /// /// <returns>The response from the UpdateAppInstance service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstance">REST API Reference for UpdateAppInstance Operation</seealso> public virtual UpdateAppInstanceResponse UpdateAppInstance(UpdateAppInstanceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceResponseUnmarshaller.Instance; return Invoke<UpdateAppInstanceResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateAppInstance operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstance operation on AmazonChimeSDKIdentityClient.</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 EndUpdateAppInstance /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstance">REST API Reference for UpdateAppInstance Operation</seealso> public virtual IAsyncResult BeginUpdateAppInstance(UpdateAppInstanceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateAppInstance operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateAppInstance.</param> /// /// <returns>Returns a UpdateAppInstanceResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstance">REST API Reference for UpdateAppInstance Operation</seealso> public virtual UpdateAppInstanceResponse EndUpdateAppInstance(IAsyncResult asyncResult) { return EndInvoke<UpdateAppInstanceResponse>(asyncResult); } #endregion #region UpdateAppInstanceBot /// <summary> /// Updates the name and metadata of an <code>AppInstanceBot</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstanceBot service method.</param> /// /// <returns>The response from the UpdateAppInstanceBot service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceBot">REST API Reference for UpdateAppInstanceBot Operation</seealso> public virtual UpdateAppInstanceBotResponse UpdateAppInstanceBot(UpdateAppInstanceBotRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceBotResponseUnmarshaller.Instance; return Invoke<UpdateAppInstanceBotResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateAppInstanceBot operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstanceBot operation on AmazonChimeSDKIdentityClient.</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 EndUpdateAppInstanceBot /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceBot">REST API Reference for UpdateAppInstanceBot Operation</seealso> public virtual IAsyncResult BeginUpdateAppInstanceBot(UpdateAppInstanceBotRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceBotResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateAppInstanceBot operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateAppInstanceBot.</param> /// /// <returns>Returns a UpdateAppInstanceBotResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceBot">REST API Reference for UpdateAppInstanceBot Operation</seealso> public virtual UpdateAppInstanceBotResponse EndUpdateAppInstanceBot(IAsyncResult asyncResult) { return EndInvoke<UpdateAppInstanceBotResponse>(asyncResult); } #endregion #region UpdateAppInstanceUser /// <summary> /// Updates the details of an <code>AppInstanceUser</code>. You can update names and metadata. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstanceUser service method.</param> /// /// <returns>The response from the UpdateAppInstanceUser service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceUser">REST API Reference for UpdateAppInstanceUser Operation</seealso> public virtual UpdateAppInstanceUserResponse UpdateAppInstanceUser(UpdateAppInstanceUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceUserResponseUnmarshaller.Instance; return Invoke<UpdateAppInstanceUserResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateAppInstanceUser operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstanceUser operation on AmazonChimeSDKIdentityClient.</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 EndUpdateAppInstanceUser /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceUser">REST API Reference for UpdateAppInstanceUser Operation</seealso> public virtual IAsyncResult BeginUpdateAppInstanceUser(UpdateAppInstanceUserRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceUserResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateAppInstanceUser operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateAppInstanceUser.</param> /// /// <returns>Returns a UpdateAppInstanceUserResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceUser">REST API Reference for UpdateAppInstanceUser Operation</seealso> public virtual UpdateAppInstanceUserResponse EndUpdateAppInstanceUser(IAsyncResult asyncResult) { return EndInvoke<UpdateAppInstanceUserResponse>(asyncResult); } #endregion #region UpdateAppInstanceUserEndpoint /// <summary> /// Updates the details of an <code>AppInstanceUserEndpoint</code>. You can update the /// name and <code>AllowMessage</code> values. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstanceUserEndpoint service method.</param> /// /// <returns>The response from the UpdateAppInstanceUserEndpoint service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceUserEndpoint">REST API Reference for UpdateAppInstanceUserEndpoint Operation</seealso> public virtual UpdateAppInstanceUserEndpointResponse UpdateAppInstanceUserEndpoint(UpdateAppInstanceUserEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceUserEndpointResponseUnmarshaller.Instance; return Invoke<UpdateAppInstanceUserEndpointResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateAppInstanceUserEndpoint operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstanceUserEndpoint operation on AmazonChimeSDKIdentityClient.</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 EndUpdateAppInstanceUserEndpoint /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceUserEndpoint">REST API Reference for UpdateAppInstanceUserEndpoint Operation</seealso> public virtual IAsyncResult BeginUpdateAppInstanceUserEndpoint(UpdateAppInstanceUserEndpointRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceUserEndpointResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateAppInstanceUserEndpoint operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateAppInstanceUserEndpoint.</param> /// /// <returns>Returns a UpdateAppInstanceUserEndpointResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceUserEndpoint">REST API Reference for UpdateAppInstanceUserEndpoint Operation</seealso> public virtual UpdateAppInstanceUserEndpointResponse EndUpdateAppInstanceUserEndpoint(IAsyncResult asyncResult) { return EndInvoke<UpdateAppInstanceUserEndpointResponse>(asyncResult); } #endregion } }
2,569
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 chime-sdk-identity-2021-04-20.normal.json service model. */ using System; using System.Collections.Generic; using Amazon.Runtime; using Amazon.ChimeSDKIdentity.Model; namespace Amazon.ChimeSDKIdentity { /// <summary> /// Interface for accessing ChimeSDKIdentity /// /// The Amazon Chime SDK Identity APIs in this section allow software developers to create /// and manage unique instances of their messaging applications. These APIs provide the /// overarching framework for creating and sending messages. For more information about /// the identity APIs, refer to <a href="https://docs.aws.amazon.com/chime/latest/APIReference/API_Operations_Amazon_Chime_SDK_Identity.html">Amazon /// Chime SDK identity</a>. /// </summary> public partial interface IAmazonChimeSDKIdentity : IAmazonService, IDisposable { #if BCL45 || AWS_ASYNC_ENUMERABLES_API /// <summary> /// Paginators for the service /// </summary> IChimeSDKIdentityPaginatorFactory Paginators { get; } #endif #region CreateAppInstance /// <summary> /// Creates an Amazon Chime SDK messaging <code>AppInstance</code> under an AWS account. /// Only SDK messaging customers use this API. <code>CreateAppInstance</code> supports /// idempotency behavior as described in the AWS API Standard. /// /// /// <para> /// identity /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppInstance service method.</param> /// /// <returns>The response from the CreateAppInstance service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstance">REST API Reference for CreateAppInstance Operation</seealso> CreateAppInstanceResponse CreateAppInstance(CreateAppInstanceRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateAppInstance operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateAppInstance operation on AmazonChimeSDKIdentityClient.</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 EndCreateAppInstance /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstance">REST API Reference for CreateAppInstance Operation</seealso> IAsyncResult BeginCreateAppInstance(CreateAppInstanceRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateAppInstance operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateAppInstance.</param> /// /// <returns>Returns a CreateAppInstanceResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstance">REST API Reference for CreateAppInstance Operation</seealso> CreateAppInstanceResponse EndCreateAppInstance(IAsyncResult asyncResult); #endregion #region CreateAppInstanceAdmin /// <summary> /// Promotes an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> to an <code>AppInstanceAdmin</code>. /// The promoted entity can perform the following actions. /// /// <ul> <li> /// <para> /// <code>ChannelModerator</code> actions across all channels in the <code>AppInstance</code>. /// </para> /// </li> <li> /// <para> /// <code>DeleteChannelMessage</code> actions. /// </para> /// </li> </ul> /// <para> /// Only an <code>AppInstanceUser</code> and <code>AppInstanceBot</code> can be promoted /// to an <code>AppInstanceAdmin</code> role. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppInstanceAdmin service method.</param> /// /// <returns>The response from the CreateAppInstanceAdmin service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceAdmin">REST API Reference for CreateAppInstanceAdmin Operation</seealso> CreateAppInstanceAdminResponse CreateAppInstanceAdmin(CreateAppInstanceAdminRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateAppInstanceAdmin operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateAppInstanceAdmin operation on AmazonChimeSDKIdentityClient.</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 EndCreateAppInstanceAdmin /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceAdmin">REST API Reference for CreateAppInstanceAdmin Operation</seealso> IAsyncResult BeginCreateAppInstanceAdmin(CreateAppInstanceAdminRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateAppInstanceAdmin operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateAppInstanceAdmin.</param> /// /// <returns>Returns a CreateAppInstanceAdminResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceAdmin">REST API Reference for CreateAppInstanceAdmin Operation</seealso> CreateAppInstanceAdminResponse EndCreateAppInstanceAdmin(IAsyncResult asyncResult); #endregion #region CreateAppInstanceBot /// <summary> /// Creates a bot under an Amazon Chime <code>AppInstance</code>. The request consists /// of a unique <code>Configuration</code> and <code>Name</code> for that bot. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppInstanceBot service method.</param> /// /// <returns>The response from the CreateAppInstanceBot service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceBot">REST API Reference for CreateAppInstanceBot Operation</seealso> CreateAppInstanceBotResponse CreateAppInstanceBot(CreateAppInstanceBotRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateAppInstanceBot operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateAppInstanceBot operation on AmazonChimeSDKIdentityClient.</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 EndCreateAppInstanceBot /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceBot">REST API Reference for CreateAppInstanceBot Operation</seealso> IAsyncResult BeginCreateAppInstanceBot(CreateAppInstanceBotRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateAppInstanceBot operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateAppInstanceBot.</param> /// /// <returns>Returns a CreateAppInstanceBotResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceBot">REST API Reference for CreateAppInstanceBot Operation</seealso> CreateAppInstanceBotResponse EndCreateAppInstanceBot(IAsyncResult asyncResult); #endregion #region CreateAppInstanceUser /// <summary> /// Creates a user under an Amazon Chime <code>AppInstance</code>. The request consists /// of a unique <code>appInstanceUserId</code> and <code>Name</code> for that user. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppInstanceUser service method.</param> /// /// <returns>The response from the CreateAppInstanceUser service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceUser">REST API Reference for CreateAppInstanceUser Operation</seealso> CreateAppInstanceUserResponse CreateAppInstanceUser(CreateAppInstanceUserRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateAppInstanceUser operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateAppInstanceUser operation on AmazonChimeSDKIdentityClient.</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 EndCreateAppInstanceUser /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceUser">REST API Reference for CreateAppInstanceUser Operation</seealso> IAsyncResult BeginCreateAppInstanceUser(CreateAppInstanceUserRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateAppInstanceUser operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateAppInstanceUser.</param> /// /// <returns>Returns a CreateAppInstanceUserResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceUser">REST API Reference for CreateAppInstanceUser Operation</seealso> CreateAppInstanceUserResponse EndCreateAppInstanceUser(IAsyncResult asyncResult); #endregion #region DeleteAppInstance /// <summary> /// Deletes an <code>AppInstance</code> and all associated data asynchronously. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstance service method.</param> /// /// <returns>The response from the DeleteAppInstance service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstance">REST API Reference for DeleteAppInstance Operation</seealso> DeleteAppInstanceResponse DeleteAppInstance(DeleteAppInstanceRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteAppInstance operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstance operation on AmazonChimeSDKIdentityClient.</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 EndDeleteAppInstance /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstance">REST API Reference for DeleteAppInstance Operation</seealso> IAsyncResult BeginDeleteAppInstance(DeleteAppInstanceRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteAppInstance operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteAppInstance.</param> /// /// <returns>Returns a DeleteAppInstanceResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstance">REST API Reference for DeleteAppInstance Operation</seealso> DeleteAppInstanceResponse EndDeleteAppInstance(IAsyncResult asyncResult); #endregion #region DeleteAppInstanceAdmin /// <summary> /// Demotes an <code>AppInstanceAdmin</code> to an <code>AppInstanceUser</code> or <code>AppInstanceBot</code>. /// This action does not delete the user. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstanceAdmin service method.</param> /// /// <returns>The response from the DeleteAppInstanceAdmin service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceAdmin">REST API Reference for DeleteAppInstanceAdmin Operation</seealso> DeleteAppInstanceAdminResponse DeleteAppInstanceAdmin(DeleteAppInstanceAdminRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteAppInstanceAdmin operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstanceAdmin operation on AmazonChimeSDKIdentityClient.</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 EndDeleteAppInstanceAdmin /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceAdmin">REST API Reference for DeleteAppInstanceAdmin Operation</seealso> IAsyncResult BeginDeleteAppInstanceAdmin(DeleteAppInstanceAdminRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteAppInstanceAdmin operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteAppInstanceAdmin.</param> /// /// <returns>Returns a DeleteAppInstanceAdminResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceAdmin">REST API Reference for DeleteAppInstanceAdmin Operation</seealso> DeleteAppInstanceAdminResponse EndDeleteAppInstanceAdmin(IAsyncResult asyncResult); #endregion #region DeleteAppInstanceBot /// <summary> /// Deletes an <code>AppInstanceBot</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstanceBot service method.</param> /// /// <returns>The response from the DeleteAppInstanceBot service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceBot">REST API Reference for DeleteAppInstanceBot Operation</seealso> DeleteAppInstanceBotResponse DeleteAppInstanceBot(DeleteAppInstanceBotRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteAppInstanceBot operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstanceBot operation on AmazonChimeSDKIdentityClient.</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 EndDeleteAppInstanceBot /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceBot">REST API Reference for DeleteAppInstanceBot Operation</seealso> IAsyncResult BeginDeleteAppInstanceBot(DeleteAppInstanceBotRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteAppInstanceBot operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteAppInstanceBot.</param> /// /// <returns>Returns a DeleteAppInstanceBotResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceBot">REST API Reference for DeleteAppInstanceBot Operation</seealso> DeleteAppInstanceBotResponse EndDeleteAppInstanceBot(IAsyncResult asyncResult); #endregion #region DeleteAppInstanceUser /// <summary> /// Deletes an <code>AppInstanceUser</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstanceUser service method.</param> /// /// <returns>The response from the DeleteAppInstanceUser service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceUser">REST API Reference for DeleteAppInstanceUser Operation</seealso> DeleteAppInstanceUserResponse DeleteAppInstanceUser(DeleteAppInstanceUserRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteAppInstanceUser operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstanceUser operation on AmazonChimeSDKIdentityClient.</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 EndDeleteAppInstanceUser /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceUser">REST API Reference for DeleteAppInstanceUser Operation</seealso> IAsyncResult BeginDeleteAppInstanceUser(DeleteAppInstanceUserRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteAppInstanceUser operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteAppInstanceUser.</param> /// /// <returns>Returns a DeleteAppInstanceUserResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceUser">REST API Reference for DeleteAppInstanceUser Operation</seealso> DeleteAppInstanceUserResponse EndDeleteAppInstanceUser(IAsyncResult asyncResult); #endregion #region DeregisterAppInstanceUserEndpoint /// <summary> /// Deregisters an <code>AppInstanceUserEndpoint</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeregisterAppInstanceUserEndpoint service method.</param> /// /// <returns>The response from the DeregisterAppInstanceUserEndpoint service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeregisterAppInstanceUserEndpoint">REST API Reference for DeregisterAppInstanceUserEndpoint Operation</seealso> DeregisterAppInstanceUserEndpointResponse DeregisterAppInstanceUserEndpoint(DeregisterAppInstanceUserEndpointRequest request); /// <summary> /// Initiates the asynchronous execution of the DeregisterAppInstanceUserEndpoint operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeregisterAppInstanceUserEndpoint operation on AmazonChimeSDKIdentityClient.</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 EndDeregisterAppInstanceUserEndpoint /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeregisterAppInstanceUserEndpoint">REST API Reference for DeregisterAppInstanceUserEndpoint Operation</seealso> IAsyncResult BeginDeregisterAppInstanceUserEndpoint(DeregisterAppInstanceUserEndpointRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeregisterAppInstanceUserEndpoint operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeregisterAppInstanceUserEndpoint.</param> /// /// <returns>Returns a DeregisterAppInstanceUserEndpointResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeregisterAppInstanceUserEndpoint">REST API Reference for DeregisterAppInstanceUserEndpoint Operation</seealso> DeregisterAppInstanceUserEndpointResponse EndDeregisterAppInstanceUserEndpoint(IAsyncResult asyncResult); #endregion #region DescribeAppInstance /// <summary> /// Returns the full details of an <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstance service method.</param> /// /// <returns>The response from the DescribeAppInstance service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstance">REST API Reference for DescribeAppInstance Operation</seealso> DescribeAppInstanceResponse DescribeAppInstance(DescribeAppInstanceRequest request); /// <summary> /// Initiates the asynchronous execution of the DescribeAppInstance operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstance operation on AmazonChimeSDKIdentityClient.</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 EndDescribeAppInstance /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstance">REST API Reference for DescribeAppInstance Operation</seealso> IAsyncResult BeginDescribeAppInstance(DescribeAppInstanceRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DescribeAppInstance operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeAppInstance.</param> /// /// <returns>Returns a DescribeAppInstanceResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstance">REST API Reference for DescribeAppInstance Operation</seealso> DescribeAppInstanceResponse EndDescribeAppInstance(IAsyncResult asyncResult); #endregion #region DescribeAppInstanceAdmin /// <summary> /// Returns the full details of an <code>AppInstanceAdmin</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceAdmin service method.</param> /// /// <returns>The response from the DescribeAppInstanceAdmin service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceAdmin">REST API Reference for DescribeAppInstanceAdmin Operation</seealso> DescribeAppInstanceAdminResponse DescribeAppInstanceAdmin(DescribeAppInstanceAdminRequest request); /// <summary> /// Initiates the asynchronous execution of the DescribeAppInstanceAdmin operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceAdmin operation on AmazonChimeSDKIdentityClient.</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 EndDescribeAppInstanceAdmin /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceAdmin">REST API Reference for DescribeAppInstanceAdmin Operation</seealso> IAsyncResult BeginDescribeAppInstanceAdmin(DescribeAppInstanceAdminRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DescribeAppInstanceAdmin operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeAppInstanceAdmin.</param> /// /// <returns>Returns a DescribeAppInstanceAdminResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceAdmin">REST API Reference for DescribeAppInstanceAdmin Operation</seealso> DescribeAppInstanceAdminResponse EndDescribeAppInstanceAdmin(IAsyncResult asyncResult); #endregion #region DescribeAppInstanceBot /// <summary> /// The <code>AppInstanceBot's</code> information. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceBot service method.</param> /// /// <returns>The response from the DescribeAppInstanceBot service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceBot">REST API Reference for DescribeAppInstanceBot Operation</seealso> DescribeAppInstanceBotResponse DescribeAppInstanceBot(DescribeAppInstanceBotRequest request); /// <summary> /// Initiates the asynchronous execution of the DescribeAppInstanceBot operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceBot operation on AmazonChimeSDKIdentityClient.</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 EndDescribeAppInstanceBot /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceBot">REST API Reference for DescribeAppInstanceBot Operation</seealso> IAsyncResult BeginDescribeAppInstanceBot(DescribeAppInstanceBotRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DescribeAppInstanceBot operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeAppInstanceBot.</param> /// /// <returns>Returns a DescribeAppInstanceBotResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceBot">REST API Reference for DescribeAppInstanceBot Operation</seealso> DescribeAppInstanceBotResponse EndDescribeAppInstanceBot(IAsyncResult asyncResult); #endregion #region DescribeAppInstanceUser /// <summary> /// Returns the full details of an <code>AppInstanceUser</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceUser service method.</param> /// /// <returns>The response from the DescribeAppInstanceUser service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceUser">REST API Reference for DescribeAppInstanceUser Operation</seealso> DescribeAppInstanceUserResponse DescribeAppInstanceUser(DescribeAppInstanceUserRequest request); /// <summary> /// Initiates the asynchronous execution of the DescribeAppInstanceUser operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceUser operation on AmazonChimeSDKIdentityClient.</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 EndDescribeAppInstanceUser /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceUser">REST API Reference for DescribeAppInstanceUser Operation</seealso> IAsyncResult BeginDescribeAppInstanceUser(DescribeAppInstanceUserRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DescribeAppInstanceUser operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeAppInstanceUser.</param> /// /// <returns>Returns a DescribeAppInstanceUserResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceUser">REST API Reference for DescribeAppInstanceUser Operation</seealso> DescribeAppInstanceUserResponse EndDescribeAppInstanceUser(IAsyncResult asyncResult); #endregion #region DescribeAppInstanceUserEndpoint /// <summary> /// Returns the full details of an <code>AppInstanceUserEndpoint</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceUserEndpoint service method.</param> /// /// <returns>The response from the DescribeAppInstanceUserEndpoint service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceUserEndpoint">REST API Reference for DescribeAppInstanceUserEndpoint Operation</seealso> DescribeAppInstanceUserEndpointResponse DescribeAppInstanceUserEndpoint(DescribeAppInstanceUserEndpointRequest request); /// <summary> /// Initiates the asynchronous execution of the DescribeAppInstanceUserEndpoint operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceUserEndpoint operation on AmazonChimeSDKIdentityClient.</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 EndDescribeAppInstanceUserEndpoint /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceUserEndpoint">REST API Reference for DescribeAppInstanceUserEndpoint Operation</seealso> IAsyncResult BeginDescribeAppInstanceUserEndpoint(DescribeAppInstanceUserEndpointRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DescribeAppInstanceUserEndpoint operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeAppInstanceUserEndpoint.</param> /// /// <returns>Returns a DescribeAppInstanceUserEndpointResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceUserEndpoint">REST API Reference for DescribeAppInstanceUserEndpoint Operation</seealso> DescribeAppInstanceUserEndpointResponse EndDescribeAppInstanceUserEndpoint(IAsyncResult asyncResult); #endregion #region GetAppInstanceRetentionSettings /// <summary> /// Gets the retention settings for an <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetAppInstanceRetentionSettings service method.</param> /// /// <returns>The response from the GetAppInstanceRetentionSettings service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/GetAppInstanceRetentionSettings">REST API Reference for GetAppInstanceRetentionSettings Operation</seealso> GetAppInstanceRetentionSettingsResponse GetAppInstanceRetentionSettings(GetAppInstanceRetentionSettingsRequest request); /// <summary> /// Initiates the asynchronous execution of the GetAppInstanceRetentionSettings operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetAppInstanceRetentionSettings operation on AmazonChimeSDKIdentityClient.</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 EndGetAppInstanceRetentionSettings /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/GetAppInstanceRetentionSettings">REST API Reference for GetAppInstanceRetentionSettings Operation</seealso> IAsyncResult BeginGetAppInstanceRetentionSettings(GetAppInstanceRetentionSettingsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the GetAppInstanceRetentionSettings operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetAppInstanceRetentionSettings.</param> /// /// <returns>Returns a GetAppInstanceRetentionSettingsResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/GetAppInstanceRetentionSettings">REST API Reference for GetAppInstanceRetentionSettings Operation</seealso> GetAppInstanceRetentionSettingsResponse EndGetAppInstanceRetentionSettings(IAsyncResult asyncResult); #endregion #region ListAppInstanceAdmins /// <summary> /// Returns a list of the administrators in the <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceAdmins service method.</param> /// /// <returns>The response from the ListAppInstanceAdmins service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceAdmins">REST API Reference for ListAppInstanceAdmins Operation</seealso> ListAppInstanceAdminsResponse ListAppInstanceAdmins(ListAppInstanceAdminsRequest request); /// <summary> /// Initiates the asynchronous execution of the ListAppInstanceAdmins operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceAdmins operation on AmazonChimeSDKIdentityClient.</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 EndListAppInstanceAdmins /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceAdmins">REST API Reference for ListAppInstanceAdmins Operation</seealso> IAsyncResult BeginListAppInstanceAdmins(ListAppInstanceAdminsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListAppInstanceAdmins operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAppInstanceAdmins.</param> /// /// <returns>Returns a ListAppInstanceAdminsResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceAdmins">REST API Reference for ListAppInstanceAdmins Operation</seealso> ListAppInstanceAdminsResponse EndListAppInstanceAdmins(IAsyncResult asyncResult); #endregion #region ListAppInstanceBots /// <summary> /// Lists all <code>AppInstanceBots</code> created under a single <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceBots service method.</param> /// /// <returns>The response from the ListAppInstanceBots service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceBots">REST API Reference for ListAppInstanceBots Operation</seealso> ListAppInstanceBotsResponse ListAppInstanceBots(ListAppInstanceBotsRequest request); /// <summary> /// Initiates the asynchronous execution of the ListAppInstanceBots operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceBots operation on AmazonChimeSDKIdentityClient.</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 EndListAppInstanceBots /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceBots">REST API Reference for ListAppInstanceBots Operation</seealso> IAsyncResult BeginListAppInstanceBots(ListAppInstanceBotsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListAppInstanceBots operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAppInstanceBots.</param> /// /// <returns>Returns a ListAppInstanceBotsResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceBots">REST API Reference for ListAppInstanceBots Operation</seealso> ListAppInstanceBotsResponse EndListAppInstanceBots(IAsyncResult asyncResult); #endregion #region ListAppInstances /// <summary> /// Lists all Amazon Chime <code>AppInstance</code>s created under a single AWS account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstances service method.</param> /// /// <returns>The response from the ListAppInstances service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstances">REST API Reference for ListAppInstances Operation</seealso> ListAppInstancesResponse ListAppInstances(ListAppInstancesRequest request); /// <summary> /// Initiates the asynchronous execution of the ListAppInstances operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListAppInstances operation on AmazonChimeSDKIdentityClient.</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 EndListAppInstances /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstances">REST API Reference for ListAppInstances Operation</seealso> IAsyncResult BeginListAppInstances(ListAppInstancesRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListAppInstances operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAppInstances.</param> /// /// <returns>Returns a ListAppInstancesResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstances">REST API Reference for ListAppInstances Operation</seealso> ListAppInstancesResponse EndListAppInstances(IAsyncResult asyncResult); #endregion #region ListAppInstanceUserEndpoints /// <summary> /// Lists all the <code>AppInstanceUserEndpoints</code> created under a single <code>AppInstanceUser</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceUserEndpoints service method.</param> /// /// <returns>The response from the ListAppInstanceUserEndpoints service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceUserEndpoints">REST API Reference for ListAppInstanceUserEndpoints Operation</seealso> ListAppInstanceUserEndpointsResponse ListAppInstanceUserEndpoints(ListAppInstanceUserEndpointsRequest request); /// <summary> /// Initiates the asynchronous execution of the ListAppInstanceUserEndpoints operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceUserEndpoints operation on AmazonChimeSDKIdentityClient.</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 EndListAppInstanceUserEndpoints /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceUserEndpoints">REST API Reference for ListAppInstanceUserEndpoints Operation</seealso> IAsyncResult BeginListAppInstanceUserEndpoints(ListAppInstanceUserEndpointsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListAppInstanceUserEndpoints operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAppInstanceUserEndpoints.</param> /// /// <returns>Returns a ListAppInstanceUserEndpointsResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceUserEndpoints">REST API Reference for ListAppInstanceUserEndpoints Operation</seealso> ListAppInstanceUserEndpointsResponse EndListAppInstanceUserEndpoints(IAsyncResult asyncResult); #endregion #region ListAppInstanceUsers /// <summary> /// List all <code>AppInstanceUsers</code> created under a single <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceUsers service method.</param> /// /// <returns>The response from the ListAppInstanceUsers service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceUsers">REST API Reference for ListAppInstanceUsers Operation</seealso> ListAppInstanceUsersResponse ListAppInstanceUsers(ListAppInstanceUsersRequest request); /// <summary> /// Initiates the asynchronous execution of the ListAppInstanceUsers operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceUsers operation on AmazonChimeSDKIdentityClient.</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 EndListAppInstanceUsers /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceUsers">REST API Reference for ListAppInstanceUsers Operation</seealso> IAsyncResult BeginListAppInstanceUsers(ListAppInstanceUsersRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListAppInstanceUsers operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAppInstanceUsers.</param> /// /// <returns>Returns a ListAppInstanceUsersResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceUsers">REST API Reference for ListAppInstanceUsers Operation</seealso> ListAppInstanceUsersResponse EndListAppInstanceUsers(IAsyncResult asyncResult); #endregion #region ListTagsForResource /// <summary> /// Lists the tags applied to an Amazon Chime SDK identity resource. /// </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 ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/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 AmazonChimeSDKIdentityClient.</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/chime-sdk-identity-2021-04-20/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 ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult); #endregion #region PutAppInstanceRetentionSettings /// <summary> /// Sets the amount of time in days that a given <code>AppInstance</code> retains data. /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutAppInstanceRetentionSettings service method.</param> /// /// <returns>The response from the PutAppInstanceRetentionSettings service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/PutAppInstanceRetentionSettings">REST API Reference for PutAppInstanceRetentionSettings Operation</seealso> PutAppInstanceRetentionSettingsResponse PutAppInstanceRetentionSettings(PutAppInstanceRetentionSettingsRequest request); /// <summary> /// Initiates the asynchronous execution of the PutAppInstanceRetentionSettings operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the PutAppInstanceRetentionSettings operation on AmazonChimeSDKIdentityClient.</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 EndPutAppInstanceRetentionSettings /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/PutAppInstanceRetentionSettings">REST API Reference for PutAppInstanceRetentionSettings Operation</seealso> IAsyncResult BeginPutAppInstanceRetentionSettings(PutAppInstanceRetentionSettingsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the PutAppInstanceRetentionSettings operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginPutAppInstanceRetentionSettings.</param> /// /// <returns>Returns a PutAppInstanceRetentionSettingsResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/PutAppInstanceRetentionSettings">REST API Reference for PutAppInstanceRetentionSettings Operation</seealso> PutAppInstanceRetentionSettingsResponse EndPutAppInstanceRetentionSettings(IAsyncResult asyncResult); #endregion #region PutAppInstanceUserExpirationSettings /// <summary> /// Sets the number of days before the <code>AppInstanceUser</code> is automatically deleted. /// /// <note> /// <para> /// A background process deletes expired <code>AppInstanceUsers</code> within 6 hours /// of expiration. Actual deletion times may vary. /// </para> /// /// <para> /// Expired <code>AppInstanceUsers</code> that have not yet been deleted appear as active, /// and you can update their expiration settings. The system honors the new settings. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutAppInstanceUserExpirationSettings service method.</param> /// /// <returns>The response from the PutAppInstanceUserExpirationSettings service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/PutAppInstanceUserExpirationSettings">REST API Reference for PutAppInstanceUserExpirationSettings Operation</seealso> PutAppInstanceUserExpirationSettingsResponse PutAppInstanceUserExpirationSettings(PutAppInstanceUserExpirationSettingsRequest request); /// <summary> /// Initiates the asynchronous execution of the PutAppInstanceUserExpirationSettings operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the PutAppInstanceUserExpirationSettings operation on AmazonChimeSDKIdentityClient.</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 EndPutAppInstanceUserExpirationSettings /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/PutAppInstanceUserExpirationSettings">REST API Reference for PutAppInstanceUserExpirationSettings Operation</seealso> IAsyncResult BeginPutAppInstanceUserExpirationSettings(PutAppInstanceUserExpirationSettingsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the PutAppInstanceUserExpirationSettings operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginPutAppInstanceUserExpirationSettings.</param> /// /// <returns>Returns a PutAppInstanceUserExpirationSettingsResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/PutAppInstanceUserExpirationSettings">REST API Reference for PutAppInstanceUserExpirationSettings Operation</seealso> PutAppInstanceUserExpirationSettingsResponse EndPutAppInstanceUserExpirationSettings(IAsyncResult asyncResult); #endregion #region RegisterAppInstanceUserEndpoint /// <summary> /// Registers an endpoint under an Amazon Chime <code>AppInstanceUser</code>. The endpoint /// receives messages for a user. For push notifications, the endpoint is a mobile device /// used to receive mobile push notifications for a user. /// </summary> /// <param name="request">Container for the necessary parameters to execute the RegisterAppInstanceUserEndpoint service method.</param> /// /// <returns>The response from the RegisterAppInstanceUserEndpoint service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/RegisterAppInstanceUserEndpoint">REST API Reference for RegisterAppInstanceUserEndpoint Operation</seealso> RegisterAppInstanceUserEndpointResponse RegisterAppInstanceUserEndpoint(RegisterAppInstanceUserEndpointRequest request); /// <summary> /// Initiates the asynchronous execution of the RegisterAppInstanceUserEndpoint operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the RegisterAppInstanceUserEndpoint operation on AmazonChimeSDKIdentityClient.</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 EndRegisterAppInstanceUserEndpoint /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/RegisterAppInstanceUserEndpoint">REST API Reference for RegisterAppInstanceUserEndpoint Operation</seealso> IAsyncResult BeginRegisterAppInstanceUserEndpoint(RegisterAppInstanceUserEndpointRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the RegisterAppInstanceUserEndpoint operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginRegisterAppInstanceUserEndpoint.</param> /// /// <returns>Returns a RegisterAppInstanceUserEndpointResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/RegisterAppInstanceUserEndpoint">REST API Reference for RegisterAppInstanceUserEndpoint Operation</seealso> RegisterAppInstanceUserEndpointResponse EndRegisterAppInstanceUserEndpoint(IAsyncResult asyncResult); #endregion #region TagResource /// <summary> /// Applies the specified tags to the specified Amazon Chime SDK identity resource. /// </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 ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/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 AmazonChimeSDKIdentityClient.</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/chime-sdk-identity-2021-04-20/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 ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/TagResource">REST API Reference for TagResource Operation</seealso> TagResourceResponse EndTagResource(IAsyncResult asyncResult); #endregion #region UntagResource /// <summary> /// Removes the specified tags from the specified Amazon Chime SDK identity resource. /// </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 ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/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 AmazonChimeSDKIdentityClient.</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/chime-sdk-identity-2021-04-20/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 ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UntagResource">REST API Reference for UntagResource Operation</seealso> UntagResourceResponse EndUntagResource(IAsyncResult asyncResult); #endregion #region UpdateAppInstance /// <summary> /// Updates <code>AppInstance</code> metadata. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstance service method.</param> /// /// <returns>The response from the UpdateAppInstance service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstance">REST API Reference for UpdateAppInstance Operation</seealso> UpdateAppInstanceResponse UpdateAppInstance(UpdateAppInstanceRequest request); /// <summary> /// Initiates the asynchronous execution of the UpdateAppInstance operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstance operation on AmazonChimeSDKIdentityClient.</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 EndUpdateAppInstance /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstance">REST API Reference for UpdateAppInstance Operation</seealso> IAsyncResult BeginUpdateAppInstance(UpdateAppInstanceRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the UpdateAppInstance operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateAppInstance.</param> /// /// <returns>Returns a UpdateAppInstanceResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstance">REST API Reference for UpdateAppInstance Operation</seealso> UpdateAppInstanceResponse EndUpdateAppInstance(IAsyncResult asyncResult); #endregion #region UpdateAppInstanceBot /// <summary> /// Updates the name and metadata of an <code>AppInstanceBot</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstanceBot service method.</param> /// /// <returns>The response from the UpdateAppInstanceBot service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceBot">REST API Reference for UpdateAppInstanceBot Operation</seealso> UpdateAppInstanceBotResponse UpdateAppInstanceBot(UpdateAppInstanceBotRequest request); /// <summary> /// Initiates the asynchronous execution of the UpdateAppInstanceBot operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstanceBot operation on AmazonChimeSDKIdentityClient.</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 EndUpdateAppInstanceBot /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceBot">REST API Reference for UpdateAppInstanceBot Operation</seealso> IAsyncResult BeginUpdateAppInstanceBot(UpdateAppInstanceBotRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the UpdateAppInstanceBot operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateAppInstanceBot.</param> /// /// <returns>Returns a UpdateAppInstanceBotResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceBot">REST API Reference for UpdateAppInstanceBot Operation</seealso> UpdateAppInstanceBotResponse EndUpdateAppInstanceBot(IAsyncResult asyncResult); #endregion #region UpdateAppInstanceUser /// <summary> /// Updates the details of an <code>AppInstanceUser</code>. You can update names and metadata. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstanceUser service method.</param> /// /// <returns>The response from the UpdateAppInstanceUser service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceUser">REST API Reference for UpdateAppInstanceUser Operation</seealso> UpdateAppInstanceUserResponse UpdateAppInstanceUser(UpdateAppInstanceUserRequest request); /// <summary> /// Initiates the asynchronous execution of the UpdateAppInstanceUser operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstanceUser operation on AmazonChimeSDKIdentityClient.</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 EndUpdateAppInstanceUser /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceUser">REST API Reference for UpdateAppInstanceUser Operation</seealso> IAsyncResult BeginUpdateAppInstanceUser(UpdateAppInstanceUserRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the UpdateAppInstanceUser operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateAppInstanceUser.</param> /// /// <returns>Returns a UpdateAppInstanceUserResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceUser">REST API Reference for UpdateAppInstanceUser Operation</seealso> UpdateAppInstanceUserResponse EndUpdateAppInstanceUser(IAsyncResult asyncResult); #endregion #region UpdateAppInstanceUserEndpoint /// <summary> /// Updates the details of an <code>AppInstanceUserEndpoint</code>. You can update the /// name and <code>AllowMessage</code> values. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstanceUserEndpoint service method.</param> /// /// <returns>The response from the UpdateAppInstanceUserEndpoint service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceUserEndpoint">REST API Reference for UpdateAppInstanceUserEndpoint Operation</seealso> UpdateAppInstanceUserEndpointResponse UpdateAppInstanceUserEndpoint(UpdateAppInstanceUserEndpointRequest request); /// <summary> /// Initiates the asynchronous execution of the UpdateAppInstanceUserEndpoint operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstanceUserEndpoint operation on AmazonChimeSDKIdentityClient.</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 EndUpdateAppInstanceUserEndpoint /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceUserEndpoint">REST API Reference for UpdateAppInstanceUserEndpoint Operation</seealso> IAsyncResult BeginUpdateAppInstanceUserEndpoint(UpdateAppInstanceUserEndpointRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the UpdateAppInstanceUserEndpoint operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateAppInstanceUserEndpoint.</param> /// /// <returns>Returns a UpdateAppInstanceUserEndpointResult from ChimeSDKIdentity.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceUserEndpoint">REST API Reference for UpdateAppInstanceUserEndpoint Operation</seealso> UpdateAppInstanceUserEndpointResponse EndUpdateAppInstanceUserEndpoint(IAsyncResult asyncResult); #endregion } }
1,929
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations; using Amazon.ChimeSDKIdentity.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.ChimeSDKIdentity { /// <summary> /// Implementation for accessing ChimeSDKIdentity /// /// The Amazon Chime SDK Identity APIs in this section allow software developers to create /// and manage unique instances of their messaging applications. These APIs provide the /// overarching framework for creating and sending messages. For more information about /// the identity APIs, refer to <a href="https://docs.aws.amazon.com/chime/latest/APIReference/API_Operations_Amazon_Chime_SDK_Identity.html">Amazon /// Chime SDK identity</a>. /// </summary> public partial class AmazonChimeSDKIdentityClient : AmazonServiceClient, IAmazonChimeSDKIdentity { private static IServiceMetadata serviceMetadata = new AmazonChimeSDKIdentityMetadata(); private IChimeSDKIdentityPaginatorFactory _paginators; /// <summary> /// Paginators for the service /// </summary> public IChimeSDKIdentityPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new ChimeSDKIdentityPaginatorFactory(this); } return this._paginators; } } #region Constructors /// <summary> /// Constructs AmazonChimeSDKIdentityClient 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 AmazonChimeSDKIdentityClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonChimeSDKIdentityConfig()) { } /// <summary> /// Constructs AmazonChimeSDKIdentityClient 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 AmazonChimeSDKIdentityClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonChimeSDKIdentityConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonChimeSDKIdentityClient 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 AmazonChimeSDKIdentityClient Configuration Object</param> public AmazonChimeSDKIdentityClient(AmazonChimeSDKIdentityConfig config) : base(FallbackCredentialsFactory.GetCredentials(), config) { } /// <summary> /// Constructs AmazonChimeSDKIdentityClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> public AmazonChimeSDKIdentityClient(AWSCredentials credentials) : this(credentials, new AmazonChimeSDKIdentityConfig()) { } /// <summary> /// Constructs AmazonChimeSDKIdentityClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="region">The region to connect.</param> public AmazonChimeSDKIdentityClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonChimeSDKIdentityConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonChimeSDKIdentityClient with AWS Credentials and an /// AmazonChimeSDKIdentityClient Configuration object. /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="clientConfig">The AmazonChimeSDKIdentityClient Configuration Object</param> public AmazonChimeSDKIdentityClient(AWSCredentials credentials, AmazonChimeSDKIdentityConfig clientConfig) : base(credentials, clientConfig) { } /// <summary> /// Constructs AmazonChimeSDKIdentityClient 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 AmazonChimeSDKIdentityClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonChimeSDKIdentityConfig()) { } /// <summary> /// Constructs AmazonChimeSDKIdentityClient 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 AmazonChimeSDKIdentityClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonChimeSDKIdentityConfig() {RegionEndpoint=region}) { } /// <summary> /// Constructs AmazonChimeSDKIdentityClient with AWS Access Key ID, AWS Secret Key and an /// AmazonChimeSDKIdentityClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="clientConfig">The AmazonChimeSDKIdentityClient Configuration Object</param> public AmazonChimeSDKIdentityClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonChimeSDKIdentityConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// <summary> /// Constructs AmazonChimeSDKIdentityClient 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 AmazonChimeSDKIdentityClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonChimeSDKIdentityConfig()) { } /// <summary> /// Constructs AmazonChimeSDKIdentityClient 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 AmazonChimeSDKIdentityClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonChimeSDKIdentityConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonChimeSDKIdentityClient with AWS Access Key ID, AWS Secret Key and an /// AmazonChimeSDKIdentityClient 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 AmazonChimeSDKIdentityClient Configuration Object</param> public AmazonChimeSDKIdentityClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonChimeSDKIdentityConfig 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 AmazonChimeSDKIdentityEndpointResolver()); } /// <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 CreateAppInstance /// <summary> /// Creates an Amazon Chime SDK messaging <code>AppInstance</code> under an AWS account. /// Only SDK messaging customers use this API. <code>CreateAppInstance</code> supports /// idempotency behavior as described in the AWS API Standard. /// /// /// <para> /// identity /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppInstance service method.</param> /// /// <returns>The response from the CreateAppInstance service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstance">REST API Reference for CreateAppInstance Operation</seealso> public virtual CreateAppInstanceResponse CreateAppInstance(CreateAppInstanceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppInstanceResponseUnmarshaller.Instance; return Invoke<CreateAppInstanceResponse>(request, options); } /// <summary> /// Creates an Amazon Chime SDK messaging <code>AppInstance</code> under an AWS account. /// Only SDK messaging customers use this API. <code>CreateAppInstance</code> supports /// idempotency behavior as described in the AWS API Standard. /// /// /// <para> /// identity /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppInstance service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateAppInstance service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstance">REST API Reference for CreateAppInstance Operation</seealso> public virtual Task<CreateAppInstanceResponse> CreateAppInstanceAsync(CreateAppInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppInstanceResponseUnmarshaller.Instance; return InvokeAsync<CreateAppInstanceResponse>(request, options, cancellationToken); } #endregion #region CreateAppInstanceAdmin /// <summary> /// Promotes an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> to an <code>AppInstanceAdmin</code>. /// The promoted entity can perform the following actions. /// /// <ul> <li> /// <para> /// <code>ChannelModerator</code> actions across all channels in the <code>AppInstance</code>. /// </para> /// </li> <li> /// <para> /// <code>DeleteChannelMessage</code> actions. /// </para> /// </li> </ul> /// <para> /// Only an <code>AppInstanceUser</code> and <code>AppInstanceBot</code> can be promoted /// to an <code>AppInstanceAdmin</code> role. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppInstanceAdmin service method.</param> /// /// <returns>The response from the CreateAppInstanceAdmin service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceAdmin">REST API Reference for CreateAppInstanceAdmin Operation</seealso> public virtual CreateAppInstanceAdminResponse CreateAppInstanceAdmin(CreateAppInstanceAdminRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppInstanceAdminRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppInstanceAdminResponseUnmarshaller.Instance; return Invoke<CreateAppInstanceAdminResponse>(request, options); } /// <summary> /// Promotes an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> to an <code>AppInstanceAdmin</code>. /// The promoted entity can perform the following actions. /// /// <ul> <li> /// <para> /// <code>ChannelModerator</code> actions across all channels in the <code>AppInstance</code>. /// </para> /// </li> <li> /// <para> /// <code>DeleteChannelMessage</code> actions. /// </para> /// </li> </ul> /// <para> /// Only an <code>AppInstanceUser</code> and <code>AppInstanceBot</code> can be promoted /// to an <code>AppInstanceAdmin</code> role. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppInstanceAdmin service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateAppInstanceAdmin service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceAdmin">REST API Reference for CreateAppInstanceAdmin Operation</seealso> public virtual Task<CreateAppInstanceAdminResponse> CreateAppInstanceAdminAsync(CreateAppInstanceAdminRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppInstanceAdminRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppInstanceAdminResponseUnmarshaller.Instance; return InvokeAsync<CreateAppInstanceAdminResponse>(request, options, cancellationToken); } #endregion #region CreateAppInstanceBot /// <summary> /// Creates a bot under an Amazon Chime <code>AppInstance</code>. The request consists /// of a unique <code>Configuration</code> and <code>Name</code> for that bot. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppInstanceBot service method.</param> /// /// <returns>The response from the CreateAppInstanceBot service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceBot">REST API Reference for CreateAppInstanceBot Operation</seealso> public virtual CreateAppInstanceBotResponse CreateAppInstanceBot(CreateAppInstanceBotRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppInstanceBotResponseUnmarshaller.Instance; return Invoke<CreateAppInstanceBotResponse>(request, options); } /// <summary> /// Creates a bot under an Amazon Chime <code>AppInstance</code>. The request consists /// of a unique <code>Configuration</code> and <code>Name</code> for that bot. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppInstanceBot service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateAppInstanceBot service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceBot">REST API Reference for CreateAppInstanceBot Operation</seealso> public virtual Task<CreateAppInstanceBotResponse> CreateAppInstanceBotAsync(CreateAppInstanceBotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppInstanceBotResponseUnmarshaller.Instance; return InvokeAsync<CreateAppInstanceBotResponse>(request, options, cancellationToken); } #endregion #region CreateAppInstanceUser /// <summary> /// Creates a user under an Amazon Chime <code>AppInstance</code>. The request consists /// of a unique <code>appInstanceUserId</code> and <code>Name</code> for that user. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppInstanceUser service method.</param> /// /// <returns>The response from the CreateAppInstanceUser service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceUser">REST API Reference for CreateAppInstanceUser Operation</seealso> public virtual CreateAppInstanceUserResponse CreateAppInstanceUser(CreateAppInstanceUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppInstanceUserResponseUnmarshaller.Instance; return Invoke<CreateAppInstanceUserResponse>(request, options); } /// <summary> /// Creates a user under an Amazon Chime <code>AppInstance</code>. The request consists /// of a unique <code>appInstanceUserId</code> and <code>Name</code> for that user. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppInstanceUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateAppInstanceUser service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceUser">REST API Reference for CreateAppInstanceUser Operation</seealso> public virtual Task<CreateAppInstanceUserResponse> CreateAppInstanceUserAsync(CreateAppInstanceUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppInstanceUserResponseUnmarshaller.Instance; return InvokeAsync<CreateAppInstanceUserResponse>(request, options, cancellationToken); } #endregion #region DeleteAppInstance /// <summary> /// Deletes an <code>AppInstance</code> and all associated data asynchronously. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstance service method.</param> /// /// <returns>The response from the DeleteAppInstance service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstance">REST API Reference for DeleteAppInstance Operation</seealso> public virtual DeleteAppInstanceResponse DeleteAppInstance(DeleteAppInstanceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppInstanceResponseUnmarshaller.Instance; return Invoke<DeleteAppInstanceResponse>(request, options); } /// <summary> /// Deletes an <code>AppInstance</code> and all associated data asynchronously. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstance service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteAppInstance service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstance">REST API Reference for DeleteAppInstance Operation</seealso> public virtual Task<DeleteAppInstanceResponse> DeleteAppInstanceAsync(DeleteAppInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppInstanceResponseUnmarshaller.Instance; return InvokeAsync<DeleteAppInstanceResponse>(request, options, cancellationToken); } #endregion #region DeleteAppInstanceAdmin /// <summary> /// Demotes an <code>AppInstanceAdmin</code> to an <code>AppInstanceUser</code> or <code>AppInstanceBot</code>. /// This action does not delete the user. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstanceAdmin service method.</param> /// /// <returns>The response from the DeleteAppInstanceAdmin service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceAdmin">REST API Reference for DeleteAppInstanceAdmin Operation</seealso> public virtual DeleteAppInstanceAdminResponse DeleteAppInstanceAdmin(DeleteAppInstanceAdminRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppInstanceAdminRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppInstanceAdminResponseUnmarshaller.Instance; return Invoke<DeleteAppInstanceAdminResponse>(request, options); } /// <summary> /// Demotes an <code>AppInstanceAdmin</code> to an <code>AppInstanceUser</code> or <code>AppInstanceBot</code>. /// This action does not delete the user. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstanceAdmin service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteAppInstanceAdmin service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceAdmin">REST API Reference for DeleteAppInstanceAdmin Operation</seealso> public virtual Task<DeleteAppInstanceAdminResponse> DeleteAppInstanceAdminAsync(DeleteAppInstanceAdminRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppInstanceAdminRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppInstanceAdminResponseUnmarshaller.Instance; return InvokeAsync<DeleteAppInstanceAdminResponse>(request, options, cancellationToken); } #endregion #region DeleteAppInstanceBot /// <summary> /// Deletes an <code>AppInstanceBot</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstanceBot service method.</param> /// /// <returns>The response from the DeleteAppInstanceBot service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceBot">REST API Reference for DeleteAppInstanceBot Operation</seealso> public virtual DeleteAppInstanceBotResponse DeleteAppInstanceBot(DeleteAppInstanceBotRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppInstanceBotResponseUnmarshaller.Instance; return Invoke<DeleteAppInstanceBotResponse>(request, options); } /// <summary> /// Deletes an <code>AppInstanceBot</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstanceBot service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteAppInstanceBot service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceBot">REST API Reference for DeleteAppInstanceBot Operation</seealso> public virtual Task<DeleteAppInstanceBotResponse> DeleteAppInstanceBotAsync(DeleteAppInstanceBotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppInstanceBotResponseUnmarshaller.Instance; return InvokeAsync<DeleteAppInstanceBotResponse>(request, options, cancellationToken); } #endregion #region DeleteAppInstanceUser /// <summary> /// Deletes an <code>AppInstanceUser</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstanceUser service method.</param> /// /// <returns>The response from the DeleteAppInstanceUser service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceUser">REST API Reference for DeleteAppInstanceUser Operation</seealso> public virtual DeleteAppInstanceUserResponse DeleteAppInstanceUser(DeleteAppInstanceUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppInstanceUserResponseUnmarshaller.Instance; return Invoke<DeleteAppInstanceUserResponse>(request, options); } /// <summary> /// Deletes an <code>AppInstanceUser</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstanceUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteAppInstanceUser service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceUser">REST API Reference for DeleteAppInstanceUser Operation</seealso> public virtual Task<DeleteAppInstanceUserResponse> DeleteAppInstanceUserAsync(DeleteAppInstanceUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppInstanceUserResponseUnmarshaller.Instance; return InvokeAsync<DeleteAppInstanceUserResponse>(request, options, cancellationToken); } #endregion #region DeregisterAppInstanceUserEndpoint /// <summary> /// Deregisters an <code>AppInstanceUserEndpoint</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeregisterAppInstanceUserEndpoint service method.</param> /// /// <returns>The response from the DeregisterAppInstanceUserEndpoint service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeregisterAppInstanceUserEndpoint">REST API Reference for DeregisterAppInstanceUserEndpoint Operation</seealso> public virtual DeregisterAppInstanceUserEndpointResponse DeregisterAppInstanceUserEndpoint(DeregisterAppInstanceUserEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeregisterAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = DeregisterAppInstanceUserEndpointResponseUnmarshaller.Instance; return Invoke<DeregisterAppInstanceUserEndpointResponse>(request, options); } /// <summary> /// Deregisters an <code>AppInstanceUserEndpoint</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeregisterAppInstanceUserEndpoint service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeregisterAppInstanceUserEndpoint service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeregisterAppInstanceUserEndpoint">REST API Reference for DeregisterAppInstanceUserEndpoint Operation</seealso> public virtual Task<DeregisterAppInstanceUserEndpointResponse> DeregisterAppInstanceUserEndpointAsync(DeregisterAppInstanceUserEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeregisterAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = DeregisterAppInstanceUserEndpointResponseUnmarshaller.Instance; return InvokeAsync<DeregisterAppInstanceUserEndpointResponse>(request, options, cancellationToken); } #endregion #region DescribeAppInstance /// <summary> /// Returns the full details of an <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstance service method.</param> /// /// <returns>The response from the DescribeAppInstance service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstance">REST API Reference for DescribeAppInstance Operation</seealso> public virtual DescribeAppInstanceResponse DescribeAppInstance(DescribeAppInstanceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceResponseUnmarshaller.Instance; return Invoke<DescribeAppInstanceResponse>(request, options); } /// <summary> /// Returns the full details of an <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstance service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeAppInstance service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstance">REST API Reference for DescribeAppInstance Operation</seealso> public virtual Task<DescribeAppInstanceResponse> DescribeAppInstanceAsync(DescribeAppInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceResponseUnmarshaller.Instance; return InvokeAsync<DescribeAppInstanceResponse>(request, options, cancellationToken); } #endregion #region DescribeAppInstanceAdmin /// <summary> /// Returns the full details of an <code>AppInstanceAdmin</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceAdmin service method.</param> /// /// <returns>The response from the DescribeAppInstanceAdmin service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceAdmin">REST API Reference for DescribeAppInstanceAdmin Operation</seealso> public virtual DescribeAppInstanceAdminResponse DescribeAppInstanceAdmin(DescribeAppInstanceAdminRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceAdminRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceAdminResponseUnmarshaller.Instance; return Invoke<DescribeAppInstanceAdminResponse>(request, options); } /// <summary> /// Returns the full details of an <code>AppInstanceAdmin</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceAdmin service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeAppInstanceAdmin service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceAdmin">REST API Reference for DescribeAppInstanceAdmin Operation</seealso> public virtual Task<DescribeAppInstanceAdminResponse> DescribeAppInstanceAdminAsync(DescribeAppInstanceAdminRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceAdminRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceAdminResponseUnmarshaller.Instance; return InvokeAsync<DescribeAppInstanceAdminResponse>(request, options, cancellationToken); } #endregion #region DescribeAppInstanceBot /// <summary> /// The <code>AppInstanceBot's</code> information. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceBot service method.</param> /// /// <returns>The response from the DescribeAppInstanceBot service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceBot">REST API Reference for DescribeAppInstanceBot Operation</seealso> public virtual DescribeAppInstanceBotResponse DescribeAppInstanceBot(DescribeAppInstanceBotRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceBotResponseUnmarshaller.Instance; return Invoke<DescribeAppInstanceBotResponse>(request, options); } /// <summary> /// The <code>AppInstanceBot's</code> information. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceBot service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeAppInstanceBot service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceBot">REST API Reference for DescribeAppInstanceBot Operation</seealso> public virtual Task<DescribeAppInstanceBotResponse> DescribeAppInstanceBotAsync(DescribeAppInstanceBotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceBotResponseUnmarshaller.Instance; return InvokeAsync<DescribeAppInstanceBotResponse>(request, options, cancellationToken); } #endregion #region DescribeAppInstanceUser /// <summary> /// Returns the full details of an <code>AppInstanceUser</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceUser service method.</param> /// /// <returns>The response from the DescribeAppInstanceUser service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceUser">REST API Reference for DescribeAppInstanceUser Operation</seealso> public virtual DescribeAppInstanceUserResponse DescribeAppInstanceUser(DescribeAppInstanceUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceUserResponseUnmarshaller.Instance; return Invoke<DescribeAppInstanceUserResponse>(request, options); } /// <summary> /// Returns the full details of an <code>AppInstanceUser</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeAppInstanceUser service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceUser">REST API Reference for DescribeAppInstanceUser Operation</seealso> public virtual Task<DescribeAppInstanceUserResponse> DescribeAppInstanceUserAsync(DescribeAppInstanceUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceUserResponseUnmarshaller.Instance; return InvokeAsync<DescribeAppInstanceUserResponse>(request, options, cancellationToken); } #endregion #region DescribeAppInstanceUserEndpoint /// <summary> /// Returns the full details of an <code>AppInstanceUserEndpoint</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceUserEndpoint service method.</param> /// /// <returns>The response from the DescribeAppInstanceUserEndpoint service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceUserEndpoint">REST API Reference for DescribeAppInstanceUserEndpoint Operation</seealso> public virtual DescribeAppInstanceUserEndpointResponse DescribeAppInstanceUserEndpoint(DescribeAppInstanceUserEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceUserEndpointResponseUnmarshaller.Instance; return Invoke<DescribeAppInstanceUserEndpointResponse>(request, options); } /// <summary> /// Returns the full details of an <code>AppInstanceUserEndpoint</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceUserEndpoint service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeAppInstanceUserEndpoint service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceUserEndpoint">REST API Reference for DescribeAppInstanceUserEndpoint Operation</seealso> public virtual Task<DescribeAppInstanceUserEndpointResponse> DescribeAppInstanceUserEndpointAsync(DescribeAppInstanceUserEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceUserEndpointResponseUnmarshaller.Instance; return InvokeAsync<DescribeAppInstanceUserEndpointResponse>(request, options, cancellationToken); } #endregion #region GetAppInstanceRetentionSettings /// <summary> /// Gets the retention settings for an <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetAppInstanceRetentionSettings service method.</param> /// /// <returns>The response from the GetAppInstanceRetentionSettings service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/GetAppInstanceRetentionSettings">REST API Reference for GetAppInstanceRetentionSettings Operation</seealso> public virtual GetAppInstanceRetentionSettingsResponse GetAppInstanceRetentionSettings(GetAppInstanceRetentionSettingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAppInstanceRetentionSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAppInstanceRetentionSettingsResponseUnmarshaller.Instance; return Invoke<GetAppInstanceRetentionSettingsResponse>(request, options); } /// <summary> /// Gets the retention settings for an <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetAppInstanceRetentionSettings service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetAppInstanceRetentionSettings service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/GetAppInstanceRetentionSettings">REST API Reference for GetAppInstanceRetentionSettings Operation</seealso> public virtual Task<GetAppInstanceRetentionSettingsResponse> GetAppInstanceRetentionSettingsAsync(GetAppInstanceRetentionSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetAppInstanceRetentionSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAppInstanceRetentionSettingsResponseUnmarshaller.Instance; return InvokeAsync<GetAppInstanceRetentionSettingsResponse>(request, options, cancellationToken); } #endregion #region ListAppInstanceAdmins /// <summary> /// Returns a list of the administrators in the <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceAdmins service method.</param> /// /// <returns>The response from the ListAppInstanceAdmins service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceAdmins">REST API Reference for ListAppInstanceAdmins Operation</seealso> public virtual ListAppInstanceAdminsResponse ListAppInstanceAdmins(ListAppInstanceAdminsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceAdminsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceAdminsResponseUnmarshaller.Instance; return Invoke<ListAppInstanceAdminsResponse>(request, options); } /// <summary> /// Returns a list of the administrators in the <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceAdmins service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListAppInstanceAdmins service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceAdmins">REST API Reference for ListAppInstanceAdmins Operation</seealso> public virtual Task<ListAppInstanceAdminsResponse> ListAppInstanceAdminsAsync(ListAppInstanceAdminsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceAdminsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceAdminsResponseUnmarshaller.Instance; return InvokeAsync<ListAppInstanceAdminsResponse>(request, options, cancellationToken); } #endregion #region ListAppInstanceBots /// <summary> /// Lists all <code>AppInstanceBots</code> created under a single <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceBots service method.</param> /// /// <returns>The response from the ListAppInstanceBots service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceBots">REST API Reference for ListAppInstanceBots Operation</seealso> public virtual ListAppInstanceBotsResponse ListAppInstanceBots(ListAppInstanceBotsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceBotsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceBotsResponseUnmarshaller.Instance; return Invoke<ListAppInstanceBotsResponse>(request, options); } /// <summary> /// Lists all <code>AppInstanceBots</code> created under a single <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceBots service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListAppInstanceBots service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceBots">REST API Reference for ListAppInstanceBots Operation</seealso> public virtual Task<ListAppInstanceBotsResponse> ListAppInstanceBotsAsync(ListAppInstanceBotsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceBotsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceBotsResponseUnmarshaller.Instance; return InvokeAsync<ListAppInstanceBotsResponse>(request, options, cancellationToken); } #endregion #region ListAppInstances /// <summary> /// Lists all Amazon Chime <code>AppInstance</code>s created under a single AWS account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstances service method.</param> /// /// <returns>The response from the ListAppInstances service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstances">REST API Reference for ListAppInstances Operation</seealso> public virtual ListAppInstancesResponse ListAppInstances(ListAppInstancesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstancesResponseUnmarshaller.Instance; return Invoke<ListAppInstancesResponse>(request, options); } /// <summary> /// Lists all Amazon Chime <code>AppInstance</code>s created under a single AWS account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstances service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListAppInstances service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstances">REST API Reference for ListAppInstances Operation</seealso> public virtual Task<ListAppInstancesResponse> ListAppInstancesAsync(ListAppInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstancesResponseUnmarshaller.Instance; return InvokeAsync<ListAppInstancesResponse>(request, options, cancellationToken); } #endregion #region ListAppInstanceUserEndpoints /// <summary> /// Lists all the <code>AppInstanceUserEndpoints</code> created under a single <code>AppInstanceUser</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceUserEndpoints service method.</param> /// /// <returns>The response from the ListAppInstanceUserEndpoints service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceUserEndpoints">REST API Reference for ListAppInstanceUserEndpoints Operation</seealso> public virtual ListAppInstanceUserEndpointsResponse ListAppInstanceUserEndpoints(ListAppInstanceUserEndpointsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceUserEndpointsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceUserEndpointsResponseUnmarshaller.Instance; return Invoke<ListAppInstanceUserEndpointsResponse>(request, options); } /// <summary> /// Lists all the <code>AppInstanceUserEndpoints</code> created under a single <code>AppInstanceUser</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceUserEndpoints service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListAppInstanceUserEndpoints service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceUserEndpoints">REST API Reference for ListAppInstanceUserEndpoints Operation</seealso> public virtual Task<ListAppInstanceUserEndpointsResponse> ListAppInstanceUserEndpointsAsync(ListAppInstanceUserEndpointsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceUserEndpointsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceUserEndpointsResponseUnmarshaller.Instance; return InvokeAsync<ListAppInstanceUserEndpointsResponse>(request, options, cancellationToken); } #endregion #region ListAppInstanceUsers /// <summary> /// List all <code>AppInstanceUsers</code> created under a single <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceUsers service method.</param> /// /// <returns>The response from the ListAppInstanceUsers service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceUsers">REST API Reference for ListAppInstanceUsers Operation</seealso> public virtual ListAppInstanceUsersResponse ListAppInstanceUsers(ListAppInstanceUsersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceUsersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceUsersResponseUnmarshaller.Instance; return Invoke<ListAppInstanceUsersResponse>(request, options); } /// <summary> /// List all <code>AppInstanceUsers</code> created under a single <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceUsers service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListAppInstanceUsers service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceUsers">REST API Reference for ListAppInstanceUsers Operation</seealso> public virtual Task<ListAppInstanceUsersResponse> ListAppInstanceUsersAsync(ListAppInstanceUsersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceUsersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceUsersResponseUnmarshaller.Instance; return InvokeAsync<ListAppInstanceUsersResponse>(request, options, cancellationToken); } #endregion #region ListTagsForResource /// <summary> /// Lists the tags applied to an Amazon Chime SDK identity resource. /// </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 ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/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> /// Lists the tags applied to an Amazon Chime SDK identity resource. /// </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 ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/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 PutAppInstanceRetentionSettings /// <summary> /// Sets the amount of time in days that a given <code>AppInstance</code> retains data. /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutAppInstanceRetentionSettings service method.</param> /// /// <returns>The response from the PutAppInstanceRetentionSettings service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/PutAppInstanceRetentionSettings">REST API Reference for PutAppInstanceRetentionSettings Operation</seealso> public virtual PutAppInstanceRetentionSettingsResponse PutAppInstanceRetentionSettings(PutAppInstanceRetentionSettingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutAppInstanceRetentionSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutAppInstanceRetentionSettingsResponseUnmarshaller.Instance; return Invoke<PutAppInstanceRetentionSettingsResponse>(request, options); } /// <summary> /// Sets the amount of time in days that a given <code>AppInstance</code> retains data. /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutAppInstanceRetentionSettings service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the PutAppInstanceRetentionSettings service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/PutAppInstanceRetentionSettings">REST API Reference for PutAppInstanceRetentionSettings Operation</seealso> public virtual Task<PutAppInstanceRetentionSettingsResponse> PutAppInstanceRetentionSettingsAsync(PutAppInstanceRetentionSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutAppInstanceRetentionSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutAppInstanceRetentionSettingsResponseUnmarshaller.Instance; return InvokeAsync<PutAppInstanceRetentionSettingsResponse>(request, options, cancellationToken); } #endregion #region PutAppInstanceUserExpirationSettings /// <summary> /// Sets the number of days before the <code>AppInstanceUser</code> is automatically deleted. /// /// <note> /// <para> /// A background process deletes expired <code>AppInstanceUsers</code> within 6 hours /// of expiration. Actual deletion times may vary. /// </para> /// /// <para> /// Expired <code>AppInstanceUsers</code> that have not yet been deleted appear as active, /// and you can update their expiration settings. The system honors the new settings. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutAppInstanceUserExpirationSettings service method.</param> /// /// <returns>The response from the PutAppInstanceUserExpirationSettings service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/PutAppInstanceUserExpirationSettings">REST API Reference for PutAppInstanceUserExpirationSettings Operation</seealso> public virtual PutAppInstanceUserExpirationSettingsResponse PutAppInstanceUserExpirationSettings(PutAppInstanceUserExpirationSettingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutAppInstanceUserExpirationSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutAppInstanceUserExpirationSettingsResponseUnmarshaller.Instance; return Invoke<PutAppInstanceUserExpirationSettingsResponse>(request, options); } /// <summary> /// Sets the number of days before the <code>AppInstanceUser</code> is automatically deleted. /// /// <note> /// <para> /// A background process deletes expired <code>AppInstanceUsers</code> within 6 hours /// of expiration. Actual deletion times may vary. /// </para> /// /// <para> /// Expired <code>AppInstanceUsers</code> that have not yet been deleted appear as active, /// and you can update their expiration settings. The system honors the new settings. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutAppInstanceUserExpirationSettings service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the PutAppInstanceUserExpirationSettings service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/PutAppInstanceUserExpirationSettings">REST API Reference for PutAppInstanceUserExpirationSettings Operation</seealso> public virtual Task<PutAppInstanceUserExpirationSettingsResponse> PutAppInstanceUserExpirationSettingsAsync(PutAppInstanceUserExpirationSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutAppInstanceUserExpirationSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutAppInstanceUserExpirationSettingsResponseUnmarshaller.Instance; return InvokeAsync<PutAppInstanceUserExpirationSettingsResponse>(request, options, cancellationToken); } #endregion #region RegisterAppInstanceUserEndpoint /// <summary> /// Registers an endpoint under an Amazon Chime <code>AppInstanceUser</code>. The endpoint /// receives messages for a user. For push notifications, the endpoint is a mobile device /// used to receive mobile push notifications for a user. /// </summary> /// <param name="request">Container for the necessary parameters to execute the RegisterAppInstanceUserEndpoint service method.</param> /// /// <returns>The response from the RegisterAppInstanceUserEndpoint service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/RegisterAppInstanceUserEndpoint">REST API Reference for RegisterAppInstanceUserEndpoint Operation</seealso> public virtual RegisterAppInstanceUserEndpointResponse RegisterAppInstanceUserEndpoint(RegisterAppInstanceUserEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterAppInstanceUserEndpointResponseUnmarshaller.Instance; return Invoke<RegisterAppInstanceUserEndpointResponse>(request, options); } /// <summary> /// Registers an endpoint under an Amazon Chime <code>AppInstanceUser</code>. The endpoint /// receives messages for a user. For push notifications, the endpoint is a mobile device /// used to receive mobile push notifications for a user. /// </summary> /// <param name="request">Container for the necessary parameters to execute the RegisterAppInstanceUserEndpoint service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the RegisterAppInstanceUserEndpoint service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/RegisterAppInstanceUserEndpoint">REST API Reference for RegisterAppInstanceUserEndpoint Operation</seealso> public virtual Task<RegisterAppInstanceUserEndpointResponse> RegisterAppInstanceUserEndpointAsync(RegisterAppInstanceUserEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterAppInstanceUserEndpointResponseUnmarshaller.Instance; return InvokeAsync<RegisterAppInstanceUserEndpointResponse>(request, options, cancellationToken); } #endregion #region TagResource /// <summary> /// Applies the specified tags to the specified Amazon Chime SDK identity resource. /// </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 ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/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> /// Applies the specified tags to the specified Amazon Chime SDK identity resource. /// </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 ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/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> /// Removes the specified tags from the specified Amazon Chime SDK identity resource. /// </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 ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/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> /// Removes the specified tags from the specified Amazon Chime SDK identity resource. /// </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 ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/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 UpdateAppInstance /// <summary> /// Updates <code>AppInstance</code> metadata. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstance service method.</param> /// /// <returns>The response from the UpdateAppInstance service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstance">REST API Reference for UpdateAppInstance Operation</seealso> public virtual UpdateAppInstanceResponse UpdateAppInstance(UpdateAppInstanceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceResponseUnmarshaller.Instance; return Invoke<UpdateAppInstanceResponse>(request, options); } /// <summary> /// Updates <code>AppInstance</code> metadata. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstance service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateAppInstance service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstance">REST API Reference for UpdateAppInstance Operation</seealso> public virtual Task<UpdateAppInstanceResponse> UpdateAppInstanceAsync(UpdateAppInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceResponseUnmarshaller.Instance; return InvokeAsync<UpdateAppInstanceResponse>(request, options, cancellationToken); } #endregion #region UpdateAppInstanceBot /// <summary> /// Updates the name and metadata of an <code>AppInstanceBot</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstanceBot service method.</param> /// /// <returns>The response from the UpdateAppInstanceBot service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceBot">REST API Reference for UpdateAppInstanceBot Operation</seealso> public virtual UpdateAppInstanceBotResponse UpdateAppInstanceBot(UpdateAppInstanceBotRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceBotResponseUnmarshaller.Instance; return Invoke<UpdateAppInstanceBotResponse>(request, options); } /// <summary> /// Updates the name and metadata of an <code>AppInstanceBot</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstanceBot service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateAppInstanceBot service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceBot">REST API Reference for UpdateAppInstanceBot Operation</seealso> public virtual Task<UpdateAppInstanceBotResponse> UpdateAppInstanceBotAsync(UpdateAppInstanceBotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceBotResponseUnmarshaller.Instance; return InvokeAsync<UpdateAppInstanceBotResponse>(request, options, cancellationToken); } #endregion #region UpdateAppInstanceUser /// <summary> /// Updates the details of an <code>AppInstanceUser</code>. You can update names and metadata. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstanceUser service method.</param> /// /// <returns>The response from the UpdateAppInstanceUser service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceUser">REST API Reference for UpdateAppInstanceUser Operation</seealso> public virtual UpdateAppInstanceUserResponse UpdateAppInstanceUser(UpdateAppInstanceUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceUserResponseUnmarshaller.Instance; return Invoke<UpdateAppInstanceUserResponse>(request, options); } /// <summary> /// Updates the details of an <code>AppInstanceUser</code>. You can update names and metadata. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstanceUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateAppInstanceUser service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceUser">REST API Reference for UpdateAppInstanceUser Operation</seealso> public virtual Task<UpdateAppInstanceUserResponse> UpdateAppInstanceUserAsync(UpdateAppInstanceUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceUserResponseUnmarshaller.Instance; return InvokeAsync<UpdateAppInstanceUserResponse>(request, options, cancellationToken); } #endregion #region UpdateAppInstanceUserEndpoint /// <summary> /// Updates the details of an <code>AppInstanceUserEndpoint</code>. You can update the /// name and <code>AllowMessage</code> values. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstanceUserEndpoint service method.</param> /// /// <returns>The response from the UpdateAppInstanceUserEndpoint service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceUserEndpoint">REST API Reference for UpdateAppInstanceUserEndpoint Operation</seealso> public virtual UpdateAppInstanceUserEndpointResponse UpdateAppInstanceUserEndpoint(UpdateAppInstanceUserEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceUserEndpointResponseUnmarshaller.Instance; return Invoke<UpdateAppInstanceUserEndpointResponse>(request, options); } /// <summary> /// Updates the details of an <code>AppInstanceUserEndpoint</code>. You can update the /// name and <code>AllowMessage</code> values. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstanceUserEndpoint service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateAppInstanceUserEndpoint service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceUserEndpoint">REST API Reference for UpdateAppInstanceUserEndpoint Operation</seealso> public virtual Task<UpdateAppInstanceUserEndpointResponse> UpdateAppInstanceUserEndpointAsync(UpdateAppInstanceUserEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceUserEndpointResponseUnmarshaller.Instance; return InvokeAsync<UpdateAppInstanceUserEndpointResponse>(request, options, cancellationToken); } #endregion } }
2,855
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 chime-sdk-identity-2021-04-20.normal.json service model. */ using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.ChimeSDKIdentity.Model; namespace Amazon.ChimeSDKIdentity { /// <summary> /// Interface for accessing ChimeSDKIdentity /// /// The Amazon Chime SDK Identity APIs in this section allow software developers to create /// and manage unique instances of their messaging applications. These APIs provide the /// overarching framework for creating and sending messages. For more information about /// the identity APIs, refer to <a href="https://docs.aws.amazon.com/chime/latest/APIReference/API_Operations_Amazon_Chime_SDK_Identity.html">Amazon /// Chime SDK identity</a>. /// </summary> public partial interface IAmazonChimeSDKIdentity : IAmazonService, IDisposable { /// <summary> /// Paginators for the service /// </summary> IChimeSDKIdentityPaginatorFactory Paginators { get; } #region CreateAppInstance /// <summary> /// Creates an Amazon Chime SDK messaging <code>AppInstance</code> under an AWS account. /// Only SDK messaging customers use this API. <code>CreateAppInstance</code> supports /// idempotency behavior as described in the AWS API Standard. /// /// /// <para> /// identity /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppInstance service method.</param> /// /// <returns>The response from the CreateAppInstance service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstance">REST API Reference for CreateAppInstance Operation</seealso> CreateAppInstanceResponse CreateAppInstance(CreateAppInstanceRequest request); /// <summary> /// Creates an Amazon Chime SDK messaging <code>AppInstance</code> under an AWS account. /// Only SDK messaging customers use this API. <code>CreateAppInstance</code> supports /// idempotency behavior as described in the AWS API Standard. /// /// /// <para> /// identity /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppInstance service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateAppInstance service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstance">REST API Reference for CreateAppInstance Operation</seealso> Task<CreateAppInstanceResponse> CreateAppInstanceAsync(CreateAppInstanceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateAppInstanceAdmin /// <summary> /// Promotes an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> to an <code>AppInstanceAdmin</code>. /// The promoted entity can perform the following actions. /// /// <ul> <li> /// <para> /// <code>ChannelModerator</code> actions across all channels in the <code>AppInstance</code>. /// </para> /// </li> <li> /// <para> /// <code>DeleteChannelMessage</code> actions. /// </para> /// </li> </ul> /// <para> /// Only an <code>AppInstanceUser</code> and <code>AppInstanceBot</code> can be promoted /// to an <code>AppInstanceAdmin</code> role. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppInstanceAdmin service method.</param> /// /// <returns>The response from the CreateAppInstanceAdmin service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceAdmin">REST API Reference for CreateAppInstanceAdmin Operation</seealso> CreateAppInstanceAdminResponse CreateAppInstanceAdmin(CreateAppInstanceAdminRequest request); /// <summary> /// Promotes an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> to an <code>AppInstanceAdmin</code>. /// The promoted entity can perform the following actions. /// /// <ul> <li> /// <para> /// <code>ChannelModerator</code> actions across all channels in the <code>AppInstance</code>. /// </para> /// </li> <li> /// <para> /// <code>DeleteChannelMessage</code> actions. /// </para> /// </li> </ul> /// <para> /// Only an <code>AppInstanceUser</code> and <code>AppInstanceBot</code> can be promoted /// to an <code>AppInstanceAdmin</code> role. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppInstanceAdmin service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateAppInstanceAdmin service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceAdmin">REST API Reference for CreateAppInstanceAdmin Operation</seealso> Task<CreateAppInstanceAdminResponse> CreateAppInstanceAdminAsync(CreateAppInstanceAdminRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateAppInstanceBot /// <summary> /// Creates a bot under an Amazon Chime <code>AppInstance</code>. The request consists /// of a unique <code>Configuration</code> and <code>Name</code> for that bot. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppInstanceBot service method.</param> /// /// <returns>The response from the CreateAppInstanceBot service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceBot">REST API Reference for CreateAppInstanceBot Operation</seealso> CreateAppInstanceBotResponse CreateAppInstanceBot(CreateAppInstanceBotRequest request); /// <summary> /// Creates a bot under an Amazon Chime <code>AppInstance</code>. The request consists /// of a unique <code>Configuration</code> and <code>Name</code> for that bot. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppInstanceBot service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateAppInstanceBot service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceBot">REST API Reference for CreateAppInstanceBot Operation</seealso> Task<CreateAppInstanceBotResponse> CreateAppInstanceBotAsync(CreateAppInstanceBotRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateAppInstanceUser /// <summary> /// Creates a user under an Amazon Chime <code>AppInstance</code>. The request consists /// of a unique <code>appInstanceUserId</code> and <code>Name</code> for that user. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppInstanceUser service method.</param> /// /// <returns>The response from the CreateAppInstanceUser service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceUser">REST API Reference for CreateAppInstanceUser Operation</seealso> CreateAppInstanceUserResponse CreateAppInstanceUser(CreateAppInstanceUserRequest request); /// <summary> /// Creates a user under an Amazon Chime <code>AppInstance</code>. The request consists /// of a unique <code>appInstanceUserId</code> and <code>Name</code> for that user. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppInstanceUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateAppInstanceUser service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceUser">REST API Reference for CreateAppInstanceUser Operation</seealso> Task<CreateAppInstanceUserResponse> CreateAppInstanceUserAsync(CreateAppInstanceUserRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteAppInstance /// <summary> /// Deletes an <code>AppInstance</code> and all associated data asynchronously. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstance service method.</param> /// /// <returns>The response from the DeleteAppInstance service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstance">REST API Reference for DeleteAppInstance Operation</seealso> DeleteAppInstanceResponse DeleteAppInstance(DeleteAppInstanceRequest request); /// <summary> /// Deletes an <code>AppInstance</code> and all associated data asynchronously. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstance service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteAppInstance service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstance">REST API Reference for DeleteAppInstance Operation</seealso> Task<DeleteAppInstanceResponse> DeleteAppInstanceAsync(DeleteAppInstanceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteAppInstanceAdmin /// <summary> /// Demotes an <code>AppInstanceAdmin</code> to an <code>AppInstanceUser</code> or <code>AppInstanceBot</code>. /// This action does not delete the user. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstanceAdmin service method.</param> /// /// <returns>The response from the DeleteAppInstanceAdmin service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceAdmin">REST API Reference for DeleteAppInstanceAdmin Operation</seealso> DeleteAppInstanceAdminResponse DeleteAppInstanceAdmin(DeleteAppInstanceAdminRequest request); /// <summary> /// Demotes an <code>AppInstanceAdmin</code> to an <code>AppInstanceUser</code> or <code>AppInstanceBot</code>. /// This action does not delete the user. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstanceAdmin service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteAppInstanceAdmin service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceAdmin">REST API Reference for DeleteAppInstanceAdmin Operation</seealso> Task<DeleteAppInstanceAdminResponse> DeleteAppInstanceAdminAsync(DeleteAppInstanceAdminRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteAppInstanceBot /// <summary> /// Deletes an <code>AppInstanceBot</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstanceBot service method.</param> /// /// <returns>The response from the DeleteAppInstanceBot service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceBot">REST API Reference for DeleteAppInstanceBot Operation</seealso> DeleteAppInstanceBotResponse DeleteAppInstanceBot(DeleteAppInstanceBotRequest request); /// <summary> /// Deletes an <code>AppInstanceBot</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstanceBot service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteAppInstanceBot service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceBot">REST API Reference for DeleteAppInstanceBot Operation</seealso> Task<DeleteAppInstanceBotResponse> DeleteAppInstanceBotAsync(DeleteAppInstanceBotRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteAppInstanceUser /// <summary> /// Deletes an <code>AppInstanceUser</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstanceUser service method.</param> /// /// <returns>The response from the DeleteAppInstanceUser service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceUser">REST API Reference for DeleteAppInstanceUser Operation</seealso> DeleteAppInstanceUserResponse DeleteAppInstanceUser(DeleteAppInstanceUserRequest request); /// <summary> /// Deletes an <code>AppInstanceUser</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstanceUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteAppInstanceUser service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceUser">REST API Reference for DeleteAppInstanceUser Operation</seealso> Task<DeleteAppInstanceUserResponse> DeleteAppInstanceUserAsync(DeleteAppInstanceUserRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeregisterAppInstanceUserEndpoint /// <summary> /// Deregisters an <code>AppInstanceUserEndpoint</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeregisterAppInstanceUserEndpoint service method.</param> /// /// <returns>The response from the DeregisterAppInstanceUserEndpoint service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeregisterAppInstanceUserEndpoint">REST API Reference for DeregisterAppInstanceUserEndpoint Operation</seealso> DeregisterAppInstanceUserEndpointResponse DeregisterAppInstanceUserEndpoint(DeregisterAppInstanceUserEndpointRequest request); /// <summary> /// Deregisters an <code>AppInstanceUserEndpoint</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeregisterAppInstanceUserEndpoint service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeregisterAppInstanceUserEndpoint service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeregisterAppInstanceUserEndpoint">REST API Reference for DeregisterAppInstanceUserEndpoint Operation</seealso> Task<DeregisterAppInstanceUserEndpointResponse> DeregisterAppInstanceUserEndpointAsync(DeregisterAppInstanceUserEndpointRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeAppInstance /// <summary> /// Returns the full details of an <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstance service method.</param> /// /// <returns>The response from the DescribeAppInstance service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstance">REST API Reference for DescribeAppInstance Operation</seealso> DescribeAppInstanceResponse DescribeAppInstance(DescribeAppInstanceRequest request); /// <summary> /// Returns the full details of an <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstance service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeAppInstance service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstance">REST API Reference for DescribeAppInstance Operation</seealso> Task<DescribeAppInstanceResponse> DescribeAppInstanceAsync(DescribeAppInstanceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeAppInstanceAdmin /// <summary> /// Returns the full details of an <code>AppInstanceAdmin</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceAdmin service method.</param> /// /// <returns>The response from the DescribeAppInstanceAdmin service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceAdmin">REST API Reference for DescribeAppInstanceAdmin Operation</seealso> DescribeAppInstanceAdminResponse DescribeAppInstanceAdmin(DescribeAppInstanceAdminRequest request); /// <summary> /// Returns the full details of an <code>AppInstanceAdmin</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceAdmin service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeAppInstanceAdmin service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceAdmin">REST API Reference for DescribeAppInstanceAdmin Operation</seealso> Task<DescribeAppInstanceAdminResponse> DescribeAppInstanceAdminAsync(DescribeAppInstanceAdminRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeAppInstanceBot /// <summary> /// The <code>AppInstanceBot's</code> information. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceBot service method.</param> /// /// <returns>The response from the DescribeAppInstanceBot service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceBot">REST API Reference for DescribeAppInstanceBot Operation</seealso> DescribeAppInstanceBotResponse DescribeAppInstanceBot(DescribeAppInstanceBotRequest request); /// <summary> /// The <code>AppInstanceBot's</code> information. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceBot service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeAppInstanceBot service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceBot">REST API Reference for DescribeAppInstanceBot Operation</seealso> Task<DescribeAppInstanceBotResponse> DescribeAppInstanceBotAsync(DescribeAppInstanceBotRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeAppInstanceUser /// <summary> /// Returns the full details of an <code>AppInstanceUser</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceUser service method.</param> /// /// <returns>The response from the DescribeAppInstanceUser service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceUser">REST API Reference for DescribeAppInstanceUser Operation</seealso> DescribeAppInstanceUserResponse DescribeAppInstanceUser(DescribeAppInstanceUserRequest request); /// <summary> /// Returns the full details of an <code>AppInstanceUser</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeAppInstanceUser service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceUser">REST API Reference for DescribeAppInstanceUser Operation</seealso> Task<DescribeAppInstanceUserResponse> DescribeAppInstanceUserAsync(DescribeAppInstanceUserRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeAppInstanceUserEndpoint /// <summary> /// Returns the full details of an <code>AppInstanceUserEndpoint</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceUserEndpoint service method.</param> /// /// <returns>The response from the DescribeAppInstanceUserEndpoint service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceUserEndpoint">REST API Reference for DescribeAppInstanceUserEndpoint Operation</seealso> DescribeAppInstanceUserEndpointResponse DescribeAppInstanceUserEndpoint(DescribeAppInstanceUserEndpointRequest request); /// <summary> /// Returns the full details of an <code>AppInstanceUserEndpoint</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceUserEndpoint service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeAppInstanceUserEndpoint service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceUserEndpoint">REST API Reference for DescribeAppInstanceUserEndpoint Operation</seealso> Task<DescribeAppInstanceUserEndpointResponse> DescribeAppInstanceUserEndpointAsync(DescribeAppInstanceUserEndpointRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetAppInstanceRetentionSettings /// <summary> /// Gets the retention settings for an <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetAppInstanceRetentionSettings service method.</param> /// /// <returns>The response from the GetAppInstanceRetentionSettings service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/GetAppInstanceRetentionSettings">REST API Reference for GetAppInstanceRetentionSettings Operation</seealso> GetAppInstanceRetentionSettingsResponse GetAppInstanceRetentionSettings(GetAppInstanceRetentionSettingsRequest request); /// <summary> /// Gets the retention settings for an <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetAppInstanceRetentionSettings service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetAppInstanceRetentionSettings service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/GetAppInstanceRetentionSettings">REST API Reference for GetAppInstanceRetentionSettings Operation</seealso> Task<GetAppInstanceRetentionSettingsResponse> GetAppInstanceRetentionSettingsAsync(GetAppInstanceRetentionSettingsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListAppInstanceAdmins /// <summary> /// Returns a list of the administrators in the <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceAdmins service method.</param> /// /// <returns>The response from the ListAppInstanceAdmins service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceAdmins">REST API Reference for ListAppInstanceAdmins Operation</seealso> ListAppInstanceAdminsResponse ListAppInstanceAdmins(ListAppInstanceAdminsRequest request); /// <summary> /// Returns a list of the administrators in the <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceAdmins service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListAppInstanceAdmins service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceAdmins">REST API Reference for ListAppInstanceAdmins Operation</seealso> Task<ListAppInstanceAdminsResponse> ListAppInstanceAdminsAsync(ListAppInstanceAdminsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListAppInstanceBots /// <summary> /// Lists all <code>AppInstanceBots</code> created under a single <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceBots service method.</param> /// /// <returns>The response from the ListAppInstanceBots service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceBots">REST API Reference for ListAppInstanceBots Operation</seealso> ListAppInstanceBotsResponse ListAppInstanceBots(ListAppInstanceBotsRequest request); /// <summary> /// Lists all <code>AppInstanceBots</code> created under a single <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceBots service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListAppInstanceBots service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceBots">REST API Reference for ListAppInstanceBots Operation</seealso> Task<ListAppInstanceBotsResponse> ListAppInstanceBotsAsync(ListAppInstanceBotsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListAppInstances /// <summary> /// Lists all Amazon Chime <code>AppInstance</code>s created under a single AWS account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstances service method.</param> /// /// <returns>The response from the ListAppInstances service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstances">REST API Reference for ListAppInstances Operation</seealso> ListAppInstancesResponse ListAppInstances(ListAppInstancesRequest request); /// <summary> /// Lists all Amazon Chime <code>AppInstance</code>s created under a single AWS account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstances service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListAppInstances service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstances">REST API Reference for ListAppInstances Operation</seealso> Task<ListAppInstancesResponse> ListAppInstancesAsync(ListAppInstancesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListAppInstanceUserEndpoints /// <summary> /// Lists all the <code>AppInstanceUserEndpoints</code> created under a single <code>AppInstanceUser</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceUserEndpoints service method.</param> /// /// <returns>The response from the ListAppInstanceUserEndpoints service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceUserEndpoints">REST API Reference for ListAppInstanceUserEndpoints Operation</seealso> ListAppInstanceUserEndpointsResponse ListAppInstanceUserEndpoints(ListAppInstanceUserEndpointsRequest request); /// <summary> /// Lists all the <code>AppInstanceUserEndpoints</code> created under a single <code>AppInstanceUser</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceUserEndpoints service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListAppInstanceUserEndpoints service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceUserEndpoints">REST API Reference for ListAppInstanceUserEndpoints Operation</seealso> Task<ListAppInstanceUserEndpointsResponse> ListAppInstanceUserEndpointsAsync(ListAppInstanceUserEndpointsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListAppInstanceUsers /// <summary> /// List all <code>AppInstanceUsers</code> created under a single <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceUsers service method.</param> /// /// <returns>The response from the ListAppInstanceUsers service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceUsers">REST API Reference for ListAppInstanceUsers Operation</seealso> ListAppInstanceUsersResponse ListAppInstanceUsers(ListAppInstanceUsersRequest request); /// <summary> /// List all <code>AppInstanceUsers</code> created under a single <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceUsers service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListAppInstanceUsers service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceUsers">REST API Reference for ListAppInstanceUsers Operation</seealso> Task<ListAppInstanceUsersResponse> ListAppInstanceUsersAsync(ListAppInstanceUsersRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListTagsForResource /// <summary> /// Lists the tags applied to an Amazon Chime SDK identity resource. /// </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 ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request); /// <summary> /// Lists the tags applied to an Amazon Chime SDK identity resource. /// </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 ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region PutAppInstanceRetentionSettings /// <summary> /// Sets the amount of time in days that a given <code>AppInstance</code> retains data. /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutAppInstanceRetentionSettings service method.</param> /// /// <returns>The response from the PutAppInstanceRetentionSettings service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/PutAppInstanceRetentionSettings">REST API Reference for PutAppInstanceRetentionSettings Operation</seealso> PutAppInstanceRetentionSettingsResponse PutAppInstanceRetentionSettings(PutAppInstanceRetentionSettingsRequest request); /// <summary> /// Sets the amount of time in days that a given <code>AppInstance</code> retains data. /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutAppInstanceRetentionSettings service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the PutAppInstanceRetentionSettings service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/PutAppInstanceRetentionSettings">REST API Reference for PutAppInstanceRetentionSettings Operation</seealso> Task<PutAppInstanceRetentionSettingsResponse> PutAppInstanceRetentionSettingsAsync(PutAppInstanceRetentionSettingsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region PutAppInstanceUserExpirationSettings /// <summary> /// Sets the number of days before the <code>AppInstanceUser</code> is automatically deleted. /// /// <note> /// <para> /// A background process deletes expired <code>AppInstanceUsers</code> within 6 hours /// of expiration. Actual deletion times may vary. /// </para> /// /// <para> /// Expired <code>AppInstanceUsers</code> that have not yet been deleted appear as active, /// and you can update their expiration settings. The system honors the new settings. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutAppInstanceUserExpirationSettings service method.</param> /// /// <returns>The response from the PutAppInstanceUserExpirationSettings service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/PutAppInstanceUserExpirationSettings">REST API Reference for PutAppInstanceUserExpirationSettings Operation</seealso> PutAppInstanceUserExpirationSettingsResponse PutAppInstanceUserExpirationSettings(PutAppInstanceUserExpirationSettingsRequest request); /// <summary> /// Sets the number of days before the <code>AppInstanceUser</code> is automatically deleted. /// /// <note> /// <para> /// A background process deletes expired <code>AppInstanceUsers</code> within 6 hours /// of expiration. Actual deletion times may vary. /// </para> /// /// <para> /// Expired <code>AppInstanceUsers</code> that have not yet been deleted appear as active, /// and you can update their expiration settings. The system honors the new settings. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutAppInstanceUserExpirationSettings service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the PutAppInstanceUserExpirationSettings service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/PutAppInstanceUserExpirationSettings">REST API Reference for PutAppInstanceUserExpirationSettings Operation</seealso> Task<PutAppInstanceUserExpirationSettingsResponse> PutAppInstanceUserExpirationSettingsAsync(PutAppInstanceUserExpirationSettingsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region RegisterAppInstanceUserEndpoint /// <summary> /// Registers an endpoint under an Amazon Chime <code>AppInstanceUser</code>. The endpoint /// receives messages for a user. For push notifications, the endpoint is a mobile device /// used to receive mobile push notifications for a user. /// </summary> /// <param name="request">Container for the necessary parameters to execute the RegisterAppInstanceUserEndpoint service method.</param> /// /// <returns>The response from the RegisterAppInstanceUserEndpoint service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/RegisterAppInstanceUserEndpoint">REST API Reference for RegisterAppInstanceUserEndpoint Operation</seealso> RegisterAppInstanceUserEndpointResponse RegisterAppInstanceUserEndpoint(RegisterAppInstanceUserEndpointRequest request); /// <summary> /// Registers an endpoint under an Amazon Chime <code>AppInstanceUser</code>. The endpoint /// receives messages for a user. For push notifications, the endpoint is a mobile device /// used to receive mobile push notifications for a user. /// </summary> /// <param name="request">Container for the necessary parameters to execute the RegisterAppInstanceUserEndpoint service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the RegisterAppInstanceUserEndpoint service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/RegisterAppInstanceUserEndpoint">REST API Reference for RegisterAppInstanceUserEndpoint Operation</seealso> Task<RegisterAppInstanceUserEndpointResponse> RegisterAppInstanceUserEndpointAsync(RegisterAppInstanceUserEndpointRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region TagResource /// <summary> /// Applies the specified tags to the specified Amazon Chime SDK identity resource. /// </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 ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/TagResource">REST API Reference for TagResource Operation</seealso> TagResourceResponse TagResource(TagResourceRequest request); /// <summary> /// Applies the specified tags to the specified Amazon Chime SDK identity resource. /// </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 ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/TagResource">REST API Reference for TagResource Operation</seealso> Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UntagResource /// <summary> /// Removes the specified tags from the specified Amazon Chime SDK identity resource. /// </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 ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UntagResource">REST API Reference for UntagResource Operation</seealso> UntagResourceResponse UntagResource(UntagResourceRequest request); /// <summary> /// Removes the specified tags from the specified Amazon Chime SDK identity resource. /// </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 ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UntagResource">REST API Reference for UntagResource Operation</seealso> Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateAppInstance /// <summary> /// Updates <code>AppInstance</code> metadata. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstance service method.</param> /// /// <returns>The response from the UpdateAppInstance service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstance">REST API Reference for UpdateAppInstance Operation</seealso> UpdateAppInstanceResponse UpdateAppInstance(UpdateAppInstanceRequest request); /// <summary> /// Updates <code>AppInstance</code> metadata. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstance service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateAppInstance service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstance">REST API Reference for UpdateAppInstance Operation</seealso> Task<UpdateAppInstanceResponse> UpdateAppInstanceAsync(UpdateAppInstanceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateAppInstanceBot /// <summary> /// Updates the name and metadata of an <code>AppInstanceBot</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstanceBot service method.</param> /// /// <returns>The response from the UpdateAppInstanceBot service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceBot">REST API Reference for UpdateAppInstanceBot Operation</seealso> UpdateAppInstanceBotResponse UpdateAppInstanceBot(UpdateAppInstanceBotRequest request); /// <summary> /// Updates the name and metadata of an <code>AppInstanceBot</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstanceBot service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateAppInstanceBot service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceBot">REST API Reference for UpdateAppInstanceBot Operation</seealso> Task<UpdateAppInstanceBotResponse> UpdateAppInstanceBotAsync(UpdateAppInstanceBotRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateAppInstanceUser /// <summary> /// Updates the details of an <code>AppInstanceUser</code>. You can update names and metadata. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstanceUser service method.</param> /// /// <returns>The response from the UpdateAppInstanceUser service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceUser">REST API Reference for UpdateAppInstanceUser Operation</seealso> UpdateAppInstanceUserResponse UpdateAppInstanceUser(UpdateAppInstanceUserRequest request); /// <summary> /// Updates the details of an <code>AppInstanceUser</code>. You can update names and metadata. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstanceUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateAppInstanceUser service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceUser">REST API Reference for UpdateAppInstanceUser Operation</seealso> Task<UpdateAppInstanceUserResponse> UpdateAppInstanceUserAsync(UpdateAppInstanceUserRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateAppInstanceUserEndpoint /// <summary> /// Updates the details of an <code>AppInstanceUserEndpoint</code>. You can update the /// name and <code>AllowMessage</code> values. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstanceUserEndpoint service method.</param> /// /// <returns>The response from the UpdateAppInstanceUserEndpoint service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceUserEndpoint">REST API Reference for UpdateAppInstanceUserEndpoint Operation</seealso> UpdateAppInstanceUserEndpointResponse UpdateAppInstanceUserEndpoint(UpdateAppInstanceUserEndpointRequest request); /// <summary> /// Updates the details of an <code>AppInstanceUserEndpoint</code>. You can update the /// name and <code>AllowMessage</code> values. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstanceUserEndpoint service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateAppInstanceUserEndpoint service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceUserEndpoint">REST API Reference for UpdateAppInstanceUserEndpoint Operation</seealso> Task<UpdateAppInstanceUserEndpointResponse> UpdateAppInstanceUserEndpointAsync(UpdateAppInstanceUserEndpointRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion } }
2,244
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 chime-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations; using Amazon.ChimeSDKIdentity.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.ChimeSDKIdentity { /// <summary> /// Implementation for accessing ChimeSDKIdentity /// /// The Amazon Chime SDK Identity APIs in this section allow software developers to create /// and manage unique instances of their messaging applications. These APIs provide the /// overarching framework for creating and sending messages. For more information about /// the identity APIs, refer to <a href="https://docs.aws.amazon.com/chime/latest/APIReference/API_Operations_Amazon_Chime_SDK_Identity.html">Amazon /// Chime SDK identity</a>. /// </summary> public partial class AmazonChimeSDKIdentityClient : AmazonServiceClient, IAmazonChimeSDKIdentity { private static IServiceMetadata serviceMetadata = new AmazonChimeSDKIdentityMetadata(); #region Constructors /// <summary> /// Constructs AmazonChimeSDKIdentityClient 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 AmazonChimeSDKIdentityClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonChimeSDKIdentityConfig()) { } /// <summary> /// Constructs AmazonChimeSDKIdentityClient 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 AmazonChimeSDKIdentityClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonChimeSDKIdentityConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonChimeSDKIdentityClient 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 AmazonChimeSDKIdentityClient Configuration Object</param> public AmazonChimeSDKIdentityClient(AmazonChimeSDKIdentityConfig config) : base(FallbackCredentialsFactory.GetCredentials(), config) { } /// <summary> /// Constructs AmazonChimeSDKIdentityClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> public AmazonChimeSDKIdentityClient(AWSCredentials credentials) : this(credentials, new AmazonChimeSDKIdentityConfig()) { } /// <summary> /// Constructs AmazonChimeSDKIdentityClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="region">The region to connect.</param> public AmazonChimeSDKIdentityClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonChimeSDKIdentityConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonChimeSDKIdentityClient with AWS Credentials and an /// AmazonChimeSDKIdentityClient Configuration object. /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="clientConfig">The AmazonChimeSDKIdentityClient Configuration Object</param> public AmazonChimeSDKIdentityClient(AWSCredentials credentials, AmazonChimeSDKIdentityConfig clientConfig) : base(credentials, clientConfig) { } /// <summary> /// Constructs AmazonChimeSDKIdentityClient 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 AmazonChimeSDKIdentityClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonChimeSDKIdentityConfig()) { } /// <summary> /// Constructs AmazonChimeSDKIdentityClient 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 AmazonChimeSDKIdentityClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonChimeSDKIdentityConfig() {RegionEndpoint=region}) { } /// <summary> /// Constructs AmazonChimeSDKIdentityClient with AWS Access Key ID, AWS Secret Key and an /// AmazonChimeSDKIdentityClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="clientConfig">The AmazonChimeSDKIdentityClient Configuration Object</param> public AmazonChimeSDKIdentityClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonChimeSDKIdentityConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// <summary> /// Constructs AmazonChimeSDKIdentityClient 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 AmazonChimeSDKIdentityClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonChimeSDKIdentityConfig()) { } /// <summary> /// Constructs AmazonChimeSDKIdentityClient 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 AmazonChimeSDKIdentityClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonChimeSDKIdentityConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonChimeSDKIdentityClient with AWS Access Key ID, AWS Secret Key and an /// AmazonChimeSDKIdentityClient 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 AmazonChimeSDKIdentityClient Configuration Object</param> public AmazonChimeSDKIdentityClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonChimeSDKIdentityConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #if AWS_ASYNC_ENUMERABLES_API private IChimeSDKIdentityPaginatorFactory _paginators; /// <summary> /// Paginators for the service /// </summary> public IChimeSDKIdentityPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new ChimeSDKIdentityPaginatorFactory(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 AmazonChimeSDKIdentityEndpointResolver()); } /// <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 CreateAppInstance internal virtual CreateAppInstanceResponse CreateAppInstance(CreateAppInstanceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppInstanceResponseUnmarshaller.Instance; return Invoke<CreateAppInstanceResponse>(request, options); } /// <summary> /// Creates an Amazon Chime SDK messaging <code>AppInstance</code> under an AWS account. /// Only SDK messaging customers use this API. <code>CreateAppInstance</code> supports /// idempotency behavior as described in the AWS API Standard. /// /// /// <para> /// identity /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppInstance service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateAppInstance service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstance">REST API Reference for CreateAppInstance Operation</seealso> public virtual Task<CreateAppInstanceResponse> CreateAppInstanceAsync(CreateAppInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppInstanceResponseUnmarshaller.Instance; return InvokeAsync<CreateAppInstanceResponse>(request, options, cancellationToken); } #endregion #region CreateAppInstanceAdmin internal virtual CreateAppInstanceAdminResponse CreateAppInstanceAdmin(CreateAppInstanceAdminRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppInstanceAdminRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppInstanceAdminResponseUnmarshaller.Instance; return Invoke<CreateAppInstanceAdminResponse>(request, options); } /// <summary> /// Promotes an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> to an <code>AppInstanceAdmin</code>. /// The promoted entity can perform the following actions. /// /// <ul> <li> /// <para> /// <code>ChannelModerator</code> actions across all channels in the <code>AppInstance</code>. /// </para> /// </li> <li> /// <para> /// <code>DeleteChannelMessage</code> actions. /// </para> /// </li> </ul> /// <para> /// Only an <code>AppInstanceUser</code> and <code>AppInstanceBot</code> can be promoted /// to an <code>AppInstanceAdmin</code> role. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppInstanceAdmin service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateAppInstanceAdmin service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceAdmin">REST API Reference for CreateAppInstanceAdmin Operation</seealso> public virtual Task<CreateAppInstanceAdminResponse> CreateAppInstanceAdminAsync(CreateAppInstanceAdminRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppInstanceAdminRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppInstanceAdminResponseUnmarshaller.Instance; return InvokeAsync<CreateAppInstanceAdminResponse>(request, options, cancellationToken); } #endregion #region CreateAppInstanceBot internal virtual CreateAppInstanceBotResponse CreateAppInstanceBot(CreateAppInstanceBotRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppInstanceBotResponseUnmarshaller.Instance; return Invoke<CreateAppInstanceBotResponse>(request, options); } /// <summary> /// Creates a bot under an Amazon Chime <code>AppInstance</code>. The request consists /// of a unique <code>Configuration</code> and <code>Name</code> for that bot. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppInstanceBot service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateAppInstanceBot service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceBot">REST API Reference for CreateAppInstanceBot Operation</seealso> public virtual Task<CreateAppInstanceBotResponse> CreateAppInstanceBotAsync(CreateAppInstanceBotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppInstanceBotResponseUnmarshaller.Instance; return InvokeAsync<CreateAppInstanceBotResponse>(request, options, cancellationToken); } #endregion #region CreateAppInstanceUser internal virtual CreateAppInstanceUserResponse CreateAppInstanceUser(CreateAppInstanceUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppInstanceUserResponseUnmarshaller.Instance; return Invoke<CreateAppInstanceUserResponse>(request, options); } /// <summary> /// Creates a user under an Amazon Chime <code>AppInstance</code>. The request consists /// of a unique <code>appInstanceUserId</code> and <code>Name</code> for that user. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppInstanceUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateAppInstanceUser service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceUser">REST API Reference for CreateAppInstanceUser Operation</seealso> public virtual Task<CreateAppInstanceUserResponse> CreateAppInstanceUserAsync(CreateAppInstanceUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppInstanceUserResponseUnmarshaller.Instance; return InvokeAsync<CreateAppInstanceUserResponse>(request, options, cancellationToken); } #endregion #region DeleteAppInstance internal virtual DeleteAppInstanceResponse DeleteAppInstance(DeleteAppInstanceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppInstanceResponseUnmarshaller.Instance; return Invoke<DeleteAppInstanceResponse>(request, options); } /// <summary> /// Deletes an <code>AppInstance</code> and all associated data asynchronously. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstance service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteAppInstance service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstance">REST API Reference for DeleteAppInstance Operation</seealso> public virtual Task<DeleteAppInstanceResponse> DeleteAppInstanceAsync(DeleteAppInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppInstanceResponseUnmarshaller.Instance; return InvokeAsync<DeleteAppInstanceResponse>(request, options, cancellationToken); } #endregion #region DeleteAppInstanceAdmin internal virtual DeleteAppInstanceAdminResponse DeleteAppInstanceAdmin(DeleteAppInstanceAdminRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppInstanceAdminRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppInstanceAdminResponseUnmarshaller.Instance; return Invoke<DeleteAppInstanceAdminResponse>(request, options); } /// <summary> /// Demotes an <code>AppInstanceAdmin</code> to an <code>AppInstanceUser</code> or <code>AppInstanceBot</code>. /// This action does not delete the user. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstanceAdmin service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteAppInstanceAdmin service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceAdmin">REST API Reference for DeleteAppInstanceAdmin Operation</seealso> public virtual Task<DeleteAppInstanceAdminResponse> DeleteAppInstanceAdminAsync(DeleteAppInstanceAdminRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppInstanceAdminRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppInstanceAdminResponseUnmarshaller.Instance; return InvokeAsync<DeleteAppInstanceAdminResponse>(request, options, cancellationToken); } #endregion #region DeleteAppInstanceBot internal virtual DeleteAppInstanceBotResponse DeleteAppInstanceBot(DeleteAppInstanceBotRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppInstanceBotResponseUnmarshaller.Instance; return Invoke<DeleteAppInstanceBotResponse>(request, options); } /// <summary> /// Deletes an <code>AppInstanceBot</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstanceBot service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteAppInstanceBot service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceBot">REST API Reference for DeleteAppInstanceBot Operation</seealso> public virtual Task<DeleteAppInstanceBotResponse> DeleteAppInstanceBotAsync(DeleteAppInstanceBotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppInstanceBotResponseUnmarshaller.Instance; return InvokeAsync<DeleteAppInstanceBotResponse>(request, options, cancellationToken); } #endregion #region DeleteAppInstanceUser internal virtual DeleteAppInstanceUserResponse DeleteAppInstanceUser(DeleteAppInstanceUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppInstanceUserResponseUnmarshaller.Instance; return Invoke<DeleteAppInstanceUserResponse>(request, options); } /// <summary> /// Deletes an <code>AppInstanceUser</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstanceUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteAppInstanceUser service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceUser">REST API Reference for DeleteAppInstanceUser Operation</seealso> public virtual Task<DeleteAppInstanceUserResponse> DeleteAppInstanceUserAsync(DeleteAppInstanceUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppInstanceUserResponseUnmarshaller.Instance; return InvokeAsync<DeleteAppInstanceUserResponse>(request, options, cancellationToken); } #endregion #region DeregisterAppInstanceUserEndpoint internal virtual DeregisterAppInstanceUserEndpointResponse DeregisterAppInstanceUserEndpoint(DeregisterAppInstanceUserEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeregisterAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = DeregisterAppInstanceUserEndpointResponseUnmarshaller.Instance; return Invoke<DeregisterAppInstanceUserEndpointResponse>(request, options); } /// <summary> /// Deregisters an <code>AppInstanceUserEndpoint</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeregisterAppInstanceUserEndpoint service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeregisterAppInstanceUserEndpoint service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeregisterAppInstanceUserEndpoint">REST API Reference for DeregisterAppInstanceUserEndpoint Operation</seealso> public virtual Task<DeregisterAppInstanceUserEndpointResponse> DeregisterAppInstanceUserEndpointAsync(DeregisterAppInstanceUserEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeregisterAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = DeregisterAppInstanceUserEndpointResponseUnmarshaller.Instance; return InvokeAsync<DeregisterAppInstanceUserEndpointResponse>(request, options, cancellationToken); } #endregion #region DescribeAppInstance internal virtual DescribeAppInstanceResponse DescribeAppInstance(DescribeAppInstanceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceResponseUnmarshaller.Instance; return Invoke<DescribeAppInstanceResponse>(request, options); } /// <summary> /// Returns the full details of an <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstance service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeAppInstance service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstance">REST API Reference for DescribeAppInstance Operation</seealso> public virtual Task<DescribeAppInstanceResponse> DescribeAppInstanceAsync(DescribeAppInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceResponseUnmarshaller.Instance; return InvokeAsync<DescribeAppInstanceResponse>(request, options, cancellationToken); } #endregion #region DescribeAppInstanceAdmin internal virtual DescribeAppInstanceAdminResponse DescribeAppInstanceAdmin(DescribeAppInstanceAdminRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceAdminRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceAdminResponseUnmarshaller.Instance; return Invoke<DescribeAppInstanceAdminResponse>(request, options); } /// <summary> /// Returns the full details of an <code>AppInstanceAdmin</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceAdmin service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeAppInstanceAdmin service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceAdmin">REST API Reference for DescribeAppInstanceAdmin Operation</seealso> public virtual Task<DescribeAppInstanceAdminResponse> DescribeAppInstanceAdminAsync(DescribeAppInstanceAdminRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceAdminRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceAdminResponseUnmarshaller.Instance; return InvokeAsync<DescribeAppInstanceAdminResponse>(request, options, cancellationToken); } #endregion #region DescribeAppInstanceBot internal virtual DescribeAppInstanceBotResponse DescribeAppInstanceBot(DescribeAppInstanceBotRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceBotResponseUnmarshaller.Instance; return Invoke<DescribeAppInstanceBotResponse>(request, options); } /// <summary> /// The <code>AppInstanceBot's</code> information. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceBot service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeAppInstanceBot service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceBot">REST API Reference for DescribeAppInstanceBot Operation</seealso> public virtual Task<DescribeAppInstanceBotResponse> DescribeAppInstanceBotAsync(DescribeAppInstanceBotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceBotResponseUnmarshaller.Instance; return InvokeAsync<DescribeAppInstanceBotResponse>(request, options, cancellationToken); } #endregion #region DescribeAppInstanceUser internal virtual DescribeAppInstanceUserResponse DescribeAppInstanceUser(DescribeAppInstanceUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceUserResponseUnmarshaller.Instance; return Invoke<DescribeAppInstanceUserResponse>(request, options); } /// <summary> /// Returns the full details of an <code>AppInstanceUser</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeAppInstanceUser service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceUser">REST API Reference for DescribeAppInstanceUser Operation</seealso> public virtual Task<DescribeAppInstanceUserResponse> DescribeAppInstanceUserAsync(DescribeAppInstanceUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceUserResponseUnmarshaller.Instance; return InvokeAsync<DescribeAppInstanceUserResponse>(request, options, cancellationToken); } #endregion #region DescribeAppInstanceUserEndpoint internal virtual DescribeAppInstanceUserEndpointResponse DescribeAppInstanceUserEndpoint(DescribeAppInstanceUserEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceUserEndpointResponseUnmarshaller.Instance; return Invoke<DescribeAppInstanceUserEndpointResponse>(request, options); } /// <summary> /// Returns the full details of an <code>AppInstanceUserEndpoint</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceUserEndpoint service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeAppInstanceUserEndpoint service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceUserEndpoint">REST API Reference for DescribeAppInstanceUserEndpoint Operation</seealso> public virtual Task<DescribeAppInstanceUserEndpointResponse> DescribeAppInstanceUserEndpointAsync(DescribeAppInstanceUserEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceUserEndpointResponseUnmarshaller.Instance; return InvokeAsync<DescribeAppInstanceUserEndpointResponse>(request, options, cancellationToken); } #endregion #region GetAppInstanceRetentionSettings internal virtual GetAppInstanceRetentionSettingsResponse GetAppInstanceRetentionSettings(GetAppInstanceRetentionSettingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAppInstanceRetentionSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAppInstanceRetentionSettingsResponseUnmarshaller.Instance; return Invoke<GetAppInstanceRetentionSettingsResponse>(request, options); } /// <summary> /// Gets the retention settings for an <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetAppInstanceRetentionSettings service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetAppInstanceRetentionSettings service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/GetAppInstanceRetentionSettings">REST API Reference for GetAppInstanceRetentionSettings Operation</seealso> public virtual Task<GetAppInstanceRetentionSettingsResponse> GetAppInstanceRetentionSettingsAsync(GetAppInstanceRetentionSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetAppInstanceRetentionSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAppInstanceRetentionSettingsResponseUnmarshaller.Instance; return InvokeAsync<GetAppInstanceRetentionSettingsResponse>(request, options, cancellationToken); } #endregion #region ListAppInstanceAdmins internal virtual ListAppInstanceAdminsResponse ListAppInstanceAdmins(ListAppInstanceAdminsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceAdminsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceAdminsResponseUnmarshaller.Instance; return Invoke<ListAppInstanceAdminsResponse>(request, options); } /// <summary> /// Returns a list of the administrators in the <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceAdmins service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListAppInstanceAdmins service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceAdmins">REST API Reference for ListAppInstanceAdmins Operation</seealso> public virtual Task<ListAppInstanceAdminsResponse> ListAppInstanceAdminsAsync(ListAppInstanceAdminsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceAdminsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceAdminsResponseUnmarshaller.Instance; return InvokeAsync<ListAppInstanceAdminsResponse>(request, options, cancellationToken); } #endregion #region ListAppInstanceBots internal virtual ListAppInstanceBotsResponse ListAppInstanceBots(ListAppInstanceBotsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceBotsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceBotsResponseUnmarshaller.Instance; return Invoke<ListAppInstanceBotsResponse>(request, options); } /// <summary> /// Lists all <code>AppInstanceBots</code> created under a single <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceBots service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListAppInstanceBots service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceBots">REST API Reference for ListAppInstanceBots Operation</seealso> public virtual Task<ListAppInstanceBotsResponse> ListAppInstanceBotsAsync(ListAppInstanceBotsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceBotsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceBotsResponseUnmarshaller.Instance; return InvokeAsync<ListAppInstanceBotsResponse>(request, options, cancellationToken); } #endregion #region ListAppInstances internal virtual ListAppInstancesResponse ListAppInstances(ListAppInstancesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstancesResponseUnmarshaller.Instance; return Invoke<ListAppInstancesResponse>(request, options); } /// <summary> /// Lists all Amazon Chime <code>AppInstance</code>s created under a single AWS account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstances service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListAppInstances service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstances">REST API Reference for ListAppInstances Operation</seealso> public virtual Task<ListAppInstancesResponse> ListAppInstancesAsync(ListAppInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstancesResponseUnmarshaller.Instance; return InvokeAsync<ListAppInstancesResponse>(request, options, cancellationToken); } #endregion #region ListAppInstanceUserEndpoints internal virtual ListAppInstanceUserEndpointsResponse ListAppInstanceUserEndpoints(ListAppInstanceUserEndpointsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceUserEndpointsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceUserEndpointsResponseUnmarshaller.Instance; return Invoke<ListAppInstanceUserEndpointsResponse>(request, options); } /// <summary> /// Lists all the <code>AppInstanceUserEndpoints</code> created under a single <code>AppInstanceUser</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceUserEndpoints service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListAppInstanceUserEndpoints service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceUserEndpoints">REST API Reference for ListAppInstanceUserEndpoints Operation</seealso> public virtual Task<ListAppInstanceUserEndpointsResponse> ListAppInstanceUserEndpointsAsync(ListAppInstanceUserEndpointsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceUserEndpointsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceUserEndpointsResponseUnmarshaller.Instance; return InvokeAsync<ListAppInstanceUserEndpointsResponse>(request, options, cancellationToken); } #endregion #region ListAppInstanceUsers internal virtual ListAppInstanceUsersResponse ListAppInstanceUsers(ListAppInstanceUsersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceUsersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceUsersResponseUnmarshaller.Instance; return Invoke<ListAppInstanceUsersResponse>(request, options); } /// <summary> /// List all <code>AppInstanceUsers</code> created under a single <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceUsers service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListAppInstanceUsers service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceUsers">REST API Reference for ListAppInstanceUsers Operation</seealso> public virtual Task<ListAppInstanceUsersResponse> ListAppInstanceUsersAsync(ListAppInstanceUsersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceUsersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceUsersResponseUnmarshaller.Instance; return InvokeAsync<ListAppInstanceUsersResponse>(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> /// Lists the tags applied to an Amazon Chime SDK identity resource. /// </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 ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/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 PutAppInstanceRetentionSettings internal virtual PutAppInstanceRetentionSettingsResponse PutAppInstanceRetentionSettings(PutAppInstanceRetentionSettingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutAppInstanceRetentionSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutAppInstanceRetentionSettingsResponseUnmarshaller.Instance; return Invoke<PutAppInstanceRetentionSettingsResponse>(request, options); } /// <summary> /// Sets the amount of time in days that a given <code>AppInstance</code> retains data. /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutAppInstanceRetentionSettings service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the PutAppInstanceRetentionSettings service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/PutAppInstanceRetentionSettings">REST API Reference for PutAppInstanceRetentionSettings Operation</seealso> public virtual Task<PutAppInstanceRetentionSettingsResponse> PutAppInstanceRetentionSettingsAsync(PutAppInstanceRetentionSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutAppInstanceRetentionSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutAppInstanceRetentionSettingsResponseUnmarshaller.Instance; return InvokeAsync<PutAppInstanceRetentionSettingsResponse>(request, options, cancellationToken); } #endregion #region PutAppInstanceUserExpirationSettings internal virtual PutAppInstanceUserExpirationSettingsResponse PutAppInstanceUserExpirationSettings(PutAppInstanceUserExpirationSettingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutAppInstanceUserExpirationSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutAppInstanceUserExpirationSettingsResponseUnmarshaller.Instance; return Invoke<PutAppInstanceUserExpirationSettingsResponse>(request, options); } /// <summary> /// Sets the number of days before the <code>AppInstanceUser</code> is automatically deleted. /// /// <note> /// <para> /// A background process deletes expired <code>AppInstanceUsers</code> within 6 hours /// of expiration. Actual deletion times may vary. /// </para> /// /// <para> /// Expired <code>AppInstanceUsers</code> that have not yet been deleted appear as active, /// and you can update their expiration settings. The system honors the new settings. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutAppInstanceUserExpirationSettings service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the PutAppInstanceUserExpirationSettings service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/PutAppInstanceUserExpirationSettings">REST API Reference for PutAppInstanceUserExpirationSettings Operation</seealso> public virtual Task<PutAppInstanceUserExpirationSettingsResponse> PutAppInstanceUserExpirationSettingsAsync(PutAppInstanceUserExpirationSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutAppInstanceUserExpirationSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutAppInstanceUserExpirationSettingsResponseUnmarshaller.Instance; return InvokeAsync<PutAppInstanceUserExpirationSettingsResponse>(request, options, cancellationToken); } #endregion #region RegisterAppInstanceUserEndpoint internal virtual RegisterAppInstanceUserEndpointResponse RegisterAppInstanceUserEndpoint(RegisterAppInstanceUserEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterAppInstanceUserEndpointResponseUnmarshaller.Instance; return Invoke<RegisterAppInstanceUserEndpointResponse>(request, options); } /// <summary> /// Registers an endpoint under an Amazon Chime <code>AppInstanceUser</code>. The endpoint /// receives messages for a user. For push notifications, the endpoint is a mobile device /// used to receive mobile push notifications for a user. /// </summary> /// <param name="request">Container for the necessary parameters to execute the RegisterAppInstanceUserEndpoint service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the RegisterAppInstanceUserEndpoint service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/RegisterAppInstanceUserEndpoint">REST API Reference for RegisterAppInstanceUserEndpoint Operation</seealso> public virtual Task<RegisterAppInstanceUserEndpointResponse> RegisterAppInstanceUserEndpointAsync(RegisterAppInstanceUserEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterAppInstanceUserEndpointResponseUnmarshaller.Instance; return InvokeAsync<RegisterAppInstanceUserEndpointResponse>(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> /// Applies the specified tags to the specified Amazon Chime SDK identity resource. /// </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 ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/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> /// Removes the specified tags from the specified Amazon Chime SDK identity resource. /// </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 ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/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 UpdateAppInstance internal virtual UpdateAppInstanceResponse UpdateAppInstance(UpdateAppInstanceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceResponseUnmarshaller.Instance; return Invoke<UpdateAppInstanceResponse>(request, options); } /// <summary> /// Updates <code>AppInstance</code> metadata. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstance service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateAppInstance service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstance">REST API Reference for UpdateAppInstance Operation</seealso> public virtual Task<UpdateAppInstanceResponse> UpdateAppInstanceAsync(UpdateAppInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceResponseUnmarshaller.Instance; return InvokeAsync<UpdateAppInstanceResponse>(request, options, cancellationToken); } #endregion #region UpdateAppInstanceBot internal virtual UpdateAppInstanceBotResponse UpdateAppInstanceBot(UpdateAppInstanceBotRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceBotResponseUnmarshaller.Instance; return Invoke<UpdateAppInstanceBotResponse>(request, options); } /// <summary> /// Updates the name and metadata of an <code>AppInstanceBot</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstanceBot service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateAppInstanceBot service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceBot">REST API Reference for UpdateAppInstanceBot Operation</seealso> public virtual Task<UpdateAppInstanceBotResponse> UpdateAppInstanceBotAsync(UpdateAppInstanceBotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceBotResponseUnmarshaller.Instance; return InvokeAsync<UpdateAppInstanceBotResponse>(request, options, cancellationToken); } #endregion #region UpdateAppInstanceUser internal virtual UpdateAppInstanceUserResponse UpdateAppInstanceUser(UpdateAppInstanceUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceUserResponseUnmarshaller.Instance; return Invoke<UpdateAppInstanceUserResponse>(request, options); } /// <summary> /// Updates the details of an <code>AppInstanceUser</code>. You can update names and metadata. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstanceUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateAppInstanceUser service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceUser">REST API Reference for UpdateAppInstanceUser Operation</seealso> public virtual Task<UpdateAppInstanceUserResponse> UpdateAppInstanceUserAsync(UpdateAppInstanceUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceUserResponseUnmarshaller.Instance; return InvokeAsync<UpdateAppInstanceUserResponse>(request, options, cancellationToken); } #endregion #region UpdateAppInstanceUserEndpoint internal virtual UpdateAppInstanceUserEndpointResponse UpdateAppInstanceUserEndpoint(UpdateAppInstanceUserEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceUserEndpointResponseUnmarshaller.Instance; return Invoke<UpdateAppInstanceUserEndpointResponse>(request, options); } /// <summary> /// Updates the details of an <code>AppInstanceUserEndpoint</code>. You can update the /// name and <code>AllowMessage</code> values. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstanceUserEndpoint service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateAppInstanceUserEndpoint service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceUserEndpoint">REST API Reference for UpdateAppInstanceUserEndpoint Operation</seealso> public virtual Task<UpdateAppInstanceUserEndpointResponse> UpdateAppInstanceUserEndpointAsync(UpdateAppInstanceUserEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceUserEndpointResponseUnmarshaller.Instance; return InvokeAsync<UpdateAppInstanceUserEndpointResponse>(request, options, cancellationToken); } #endregion } }
1,972
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 chime-sdk-identity-2021-04-20.normal.json service model. */ using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.ChimeSDKIdentity.Model; namespace Amazon.ChimeSDKIdentity { /// <summary> /// Interface for accessing ChimeSDKIdentity /// /// The Amazon Chime SDK Identity APIs in this section allow software developers to create /// and manage unique instances of their messaging applications. These APIs provide the /// overarching framework for creating and sending messages. For more information about /// the identity APIs, refer to <a href="https://docs.aws.amazon.com/chime/latest/APIReference/API_Operations_Amazon_Chime_SDK_Identity.html">Amazon /// Chime SDK identity</a>. /// </summary> public partial interface IAmazonChimeSDKIdentity : IAmazonService, IDisposable { #if AWS_ASYNC_ENUMERABLES_API /// <summary> /// Paginators for the service /// </summary> IChimeSDKIdentityPaginatorFactory Paginators { get; } #endif #region CreateAppInstance /// <summary> /// Creates an Amazon Chime SDK messaging <code>AppInstance</code> under an AWS account. /// Only SDK messaging customers use this API. <code>CreateAppInstance</code> supports /// idempotency behavior as described in the AWS API Standard. /// /// /// <para> /// identity /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppInstance service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateAppInstance service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstance">REST API Reference for CreateAppInstance Operation</seealso> Task<CreateAppInstanceResponse> CreateAppInstanceAsync(CreateAppInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateAppInstanceAdmin /// <summary> /// Promotes an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> to an <code>AppInstanceAdmin</code>. /// The promoted entity can perform the following actions. /// /// <ul> <li> /// <para> /// <code>ChannelModerator</code> actions across all channels in the <code>AppInstance</code>. /// </para> /// </li> <li> /// <para> /// <code>DeleteChannelMessage</code> actions. /// </para> /// </li> </ul> /// <para> /// Only an <code>AppInstanceUser</code> and <code>AppInstanceBot</code> can be promoted /// to an <code>AppInstanceAdmin</code> role. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppInstanceAdmin service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateAppInstanceAdmin service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceAdmin">REST API Reference for CreateAppInstanceAdmin Operation</seealso> Task<CreateAppInstanceAdminResponse> CreateAppInstanceAdminAsync(CreateAppInstanceAdminRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateAppInstanceBot /// <summary> /// Creates a bot under an Amazon Chime <code>AppInstance</code>. The request consists /// of a unique <code>Configuration</code> and <code>Name</code> for that bot. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppInstanceBot service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateAppInstanceBot service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceBot">REST API Reference for CreateAppInstanceBot Operation</seealso> Task<CreateAppInstanceBotResponse> CreateAppInstanceBotAsync(CreateAppInstanceBotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateAppInstanceUser /// <summary> /// Creates a user under an Amazon Chime <code>AppInstance</code>. The request consists /// of a unique <code>appInstanceUserId</code> and <code>Name</code> for that user. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAppInstanceUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateAppInstanceUser service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/CreateAppInstanceUser">REST API Reference for CreateAppInstanceUser Operation</seealso> Task<CreateAppInstanceUserResponse> CreateAppInstanceUserAsync(CreateAppInstanceUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteAppInstance /// <summary> /// Deletes an <code>AppInstance</code> and all associated data asynchronously. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstance service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteAppInstance service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstance">REST API Reference for DeleteAppInstance Operation</seealso> Task<DeleteAppInstanceResponse> DeleteAppInstanceAsync(DeleteAppInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteAppInstanceAdmin /// <summary> /// Demotes an <code>AppInstanceAdmin</code> to an <code>AppInstanceUser</code> or <code>AppInstanceBot</code>. /// This action does not delete the user. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstanceAdmin service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteAppInstanceAdmin service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceAdmin">REST API Reference for DeleteAppInstanceAdmin Operation</seealso> Task<DeleteAppInstanceAdminResponse> DeleteAppInstanceAdminAsync(DeleteAppInstanceAdminRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteAppInstanceBot /// <summary> /// Deletes an <code>AppInstanceBot</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstanceBot service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteAppInstanceBot service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceBot">REST API Reference for DeleteAppInstanceBot Operation</seealso> Task<DeleteAppInstanceBotResponse> DeleteAppInstanceBotAsync(DeleteAppInstanceBotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteAppInstanceUser /// <summary> /// Deletes an <code>AppInstanceUser</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteAppInstanceUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteAppInstanceUser service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeleteAppInstanceUser">REST API Reference for DeleteAppInstanceUser Operation</seealso> Task<DeleteAppInstanceUserResponse> DeleteAppInstanceUserAsync(DeleteAppInstanceUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeregisterAppInstanceUserEndpoint /// <summary> /// Deregisters an <code>AppInstanceUserEndpoint</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeregisterAppInstanceUserEndpoint service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeregisterAppInstanceUserEndpoint service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DeregisterAppInstanceUserEndpoint">REST API Reference for DeregisterAppInstanceUserEndpoint Operation</seealso> Task<DeregisterAppInstanceUserEndpointResponse> DeregisterAppInstanceUserEndpointAsync(DeregisterAppInstanceUserEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeAppInstance /// <summary> /// Returns the full details of an <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstance service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeAppInstance service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstance">REST API Reference for DescribeAppInstance Operation</seealso> Task<DescribeAppInstanceResponse> DescribeAppInstanceAsync(DescribeAppInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeAppInstanceAdmin /// <summary> /// Returns the full details of an <code>AppInstanceAdmin</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceAdmin service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeAppInstanceAdmin service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceAdmin">REST API Reference for DescribeAppInstanceAdmin Operation</seealso> Task<DescribeAppInstanceAdminResponse> DescribeAppInstanceAdminAsync(DescribeAppInstanceAdminRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeAppInstanceBot /// <summary> /// The <code>AppInstanceBot's</code> information. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceBot service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeAppInstanceBot service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceBot">REST API Reference for DescribeAppInstanceBot Operation</seealso> Task<DescribeAppInstanceBotResponse> DescribeAppInstanceBotAsync(DescribeAppInstanceBotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeAppInstanceUser /// <summary> /// Returns the full details of an <code>AppInstanceUser</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeAppInstanceUser service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceUser">REST API Reference for DescribeAppInstanceUser Operation</seealso> Task<DescribeAppInstanceUserResponse> DescribeAppInstanceUserAsync(DescribeAppInstanceUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeAppInstanceUserEndpoint /// <summary> /// Returns the full details of an <code>AppInstanceUserEndpoint</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeAppInstanceUserEndpoint service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeAppInstanceUserEndpoint service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/DescribeAppInstanceUserEndpoint">REST API Reference for DescribeAppInstanceUserEndpoint Operation</seealso> Task<DescribeAppInstanceUserEndpointResponse> DescribeAppInstanceUserEndpointAsync(DescribeAppInstanceUserEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetAppInstanceRetentionSettings /// <summary> /// Gets the retention settings for an <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetAppInstanceRetentionSettings service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetAppInstanceRetentionSettings service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/GetAppInstanceRetentionSettings">REST API Reference for GetAppInstanceRetentionSettings Operation</seealso> Task<GetAppInstanceRetentionSettingsResponse> GetAppInstanceRetentionSettingsAsync(GetAppInstanceRetentionSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListAppInstanceAdmins /// <summary> /// Returns a list of the administrators in the <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceAdmins service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListAppInstanceAdmins service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceAdmins">REST API Reference for ListAppInstanceAdmins Operation</seealso> Task<ListAppInstanceAdminsResponse> ListAppInstanceAdminsAsync(ListAppInstanceAdminsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListAppInstanceBots /// <summary> /// Lists all <code>AppInstanceBots</code> created under a single <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceBots service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListAppInstanceBots service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceBots">REST API Reference for ListAppInstanceBots Operation</seealso> Task<ListAppInstanceBotsResponse> ListAppInstanceBotsAsync(ListAppInstanceBotsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListAppInstances /// <summary> /// Lists all Amazon Chime <code>AppInstance</code>s created under a single AWS account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstances service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListAppInstances service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstances">REST API Reference for ListAppInstances Operation</seealso> Task<ListAppInstancesResponse> ListAppInstancesAsync(ListAppInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListAppInstanceUserEndpoints /// <summary> /// Lists all the <code>AppInstanceUserEndpoints</code> created under a single <code>AppInstanceUser</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceUserEndpoints service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListAppInstanceUserEndpoints service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceUserEndpoints">REST API Reference for ListAppInstanceUserEndpoints Operation</seealso> Task<ListAppInstanceUserEndpointsResponse> ListAppInstanceUserEndpointsAsync(ListAppInstanceUserEndpointsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListAppInstanceUsers /// <summary> /// List all <code>AppInstanceUsers</code> created under a single <code>AppInstance</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAppInstanceUsers service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListAppInstanceUsers service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListAppInstanceUsers">REST API Reference for ListAppInstanceUsers Operation</seealso> Task<ListAppInstanceUsersResponse> ListAppInstanceUsersAsync(ListAppInstanceUsersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListTagsForResource /// <summary> /// Lists the tags applied to an Amazon Chime SDK identity resource. /// </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 ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region PutAppInstanceRetentionSettings /// <summary> /// Sets the amount of time in days that a given <code>AppInstance</code> retains data. /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutAppInstanceRetentionSettings service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the PutAppInstanceRetentionSettings service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/PutAppInstanceRetentionSettings">REST API Reference for PutAppInstanceRetentionSettings Operation</seealso> Task<PutAppInstanceRetentionSettingsResponse> PutAppInstanceRetentionSettingsAsync(PutAppInstanceRetentionSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region PutAppInstanceUserExpirationSettings /// <summary> /// Sets the number of days before the <code>AppInstanceUser</code> is automatically deleted. /// /// <note> /// <para> /// A background process deletes expired <code>AppInstanceUsers</code> within 6 hours /// of expiration. Actual deletion times may vary. /// </para> /// /// <para> /// Expired <code>AppInstanceUsers</code> that have not yet been deleted appear as active, /// and you can update their expiration settings. The system honors the new settings. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutAppInstanceUserExpirationSettings service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the PutAppInstanceUserExpirationSettings service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/PutAppInstanceUserExpirationSettings">REST API Reference for PutAppInstanceUserExpirationSettings Operation</seealso> Task<PutAppInstanceUserExpirationSettingsResponse> PutAppInstanceUserExpirationSettingsAsync(PutAppInstanceUserExpirationSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region RegisterAppInstanceUserEndpoint /// <summary> /// Registers an endpoint under an Amazon Chime <code>AppInstanceUser</code>. The endpoint /// receives messages for a user. For push notifications, the endpoint is a mobile device /// used to receive mobile push notifications for a user. /// </summary> /// <param name="request">Container for the necessary parameters to execute the RegisterAppInstanceUserEndpoint service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the RegisterAppInstanceUserEndpoint service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/RegisterAppInstanceUserEndpoint">REST API Reference for RegisterAppInstanceUserEndpoint Operation</seealso> Task<RegisterAppInstanceUserEndpointResponse> RegisterAppInstanceUserEndpointAsync(RegisterAppInstanceUserEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region TagResource /// <summary> /// Applies the specified tags to the specified Amazon Chime SDK identity resource. /// </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 ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/TagResource">REST API Reference for TagResource Operation</seealso> Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UntagResource /// <summary> /// Removes the specified tags from the specified Amazon Chime SDK identity resource. /// </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 ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UntagResource">REST API Reference for UntagResource Operation</seealso> Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateAppInstance /// <summary> /// Updates <code>AppInstance</code> metadata. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstance service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateAppInstance service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstance">REST API Reference for UpdateAppInstance Operation</seealso> Task<UpdateAppInstanceResponse> UpdateAppInstanceAsync(UpdateAppInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateAppInstanceBot /// <summary> /// Updates the name and metadata of an <code>AppInstanceBot</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstanceBot service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateAppInstanceBot service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceBot">REST API Reference for UpdateAppInstanceBot Operation</seealso> Task<UpdateAppInstanceBotResponse> UpdateAppInstanceBotAsync(UpdateAppInstanceBotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateAppInstanceUser /// <summary> /// Updates the details of an <code>AppInstanceUser</code>. You can update names and metadata. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstanceUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateAppInstanceUser service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceUser">REST API Reference for UpdateAppInstanceUser Operation</seealso> Task<UpdateAppInstanceUserResponse> UpdateAppInstanceUserAsync(UpdateAppInstanceUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateAppInstanceUserEndpoint /// <summary> /// Updates the details of an <code>AppInstanceUserEndpoint</code>. You can update the /// name and <code>AllowMessage</code> values. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateAppInstanceUserEndpoint service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateAppInstanceUserEndpoint service method, as returned by ChimeSDKIdentity.</returns> /// <exception cref="Amazon.ChimeSDKIdentity.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKIdentity.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-identity-2021-04-20/UpdateAppInstanceUserEndpoint">REST API Reference for UpdateAppInstanceUserEndpoint Operation</seealso> Task<UpdateAppInstanceUserEndpointResponse> UpdateAppInstanceUserEndpointAsync(UpdateAppInstanceUserEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion } }
1,267
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.ChimeSDKIdentity")] #if BCL35 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - Amazon Chime SDK Identity. The Amazon Chime SDK Identity APIs allow software developers to create and manage unique instances of their messaging applications.")] #elif BCL45 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (4.5) - Amazon Chime SDK Identity. The Amazon Chime SDK Identity APIs allow software developers to create and manage unique instances of their messaging applications.")] #elif NETSTANDARD20 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (NetStandard 2.0) - Amazon Chime SDK Identity. The Amazon Chime SDK Identity APIs allow software developers to create and manage unique instances of their messaging applications.")] #elif NETCOREAPP3_1 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (.NET Core 3.1) - Amazon Chime SDK Identity. The Amazon Chime SDK Identity APIs allow software developers to create and manage unique instances of their messaging applications.")] #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.102.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. */ /* * Do not modify this file. This file is generated from the chime-sdk-media-pipelines-2021-07-15.normal.json service model. */ using System; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Util.Internal; using Amazon.ChimeSDKMediaPipelines.Internal; namespace Amazon.ChimeSDKMediaPipelines { /// <summary> /// Configuration for accessing Amazon ChimeSDKMediaPipelines service /// </summary> [AWSSignerType("v4")] public partial class AmazonChimeSDKMediaPipelinesConfig : ClientConfig { private static readonly string UserAgentString = InternalSDKUtils.BuildUserAgentString("3.7.102.31"); private string _userAgent = UserAgentString; /// <summary> /// Default constructor /// </summary> public AmazonChimeSDKMediaPipelinesConfig() : base(new Amazon.Runtime.Internal.DefaultConfigurationProvider(AmazonChimeSDKMediaPipelinesDefaultConfiguration.GetAllConfigurations())) { this.AuthenticationServiceName = "chime"; this.EndpointProvider = new AmazonChimeSDKMediaPipelinesEndpointProvider(); } /// <summary> /// The constant used to lookup in the region hash the endpoint. /// </summary> public override string RegionEndpointServiceName { get { return "media-pipelines-chime"; } } /// <summary> /// Gets the ServiceVersion property. /// </summary> public override string ServiceVersion { get { return "2021-07-15"; } } /// <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 chime-sdk-media-pipelines-2021-07-15.normal.json service model. */ using System; using System.Collections.Generic; using System.Collections.ObjectModel; using Amazon.Runtime; namespace Amazon.ChimeSDKMediaPipelines { /// <summary> /// Configuration for accessing Amazon ChimeSDKMediaPipelines service /// </summary> public static class AmazonChimeSDKMediaPipelinesDefaultConfiguration { /// <summary> /// Collection of all <see cref="DefaultConfiguration"/>s supported by /// ChimeSDKMediaPipelines /// </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 chime-sdk-media-pipelines-2021-07-15.normal.json service model. */ using Amazon.Runtime; using Amazon.Runtime.Endpoints; namespace Amazon.ChimeSDKMediaPipelines.Endpoints { /// <summary> /// Contains parameters used for resolving ChimeSDKMediaPipelines endpoints /// Parameters can be sourced from client config and service operations /// Used by internal ChimeSDKMediaPipelinesEndpointProvider and ChimeSDKMediaPipelinesEndpointResolver /// Can be used by custom EndpointProvider, see ClientConfig.EndpointProvider /// </summary> public class ChimeSDKMediaPipelinesEndpointParameters : EndpointParameters { /// <summary> /// ChimeSDKMediaPipelinesEndpointParameters constructor /// </summary> public ChimeSDKMediaPipelinesEndpointParameters() { 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 chime-sdk-media-pipelines-2021-07-15.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using System.Text; using Amazon.Runtime; namespace Amazon.ChimeSDKMediaPipelines { ///<summary> /// Common exception for the ChimeSDKMediaPipelines service. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class AmazonChimeSDKMediaPipelinesException : AmazonServiceException { /// <summary> /// Construct instance of AmazonChimeSDKMediaPipelinesException /// </summary> /// <param name="message"></param> public AmazonChimeSDKMediaPipelinesException(string message) : base(message) { } /// <summary> /// Construct instance of AmazonChimeSDKMediaPipelinesException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public AmazonChimeSDKMediaPipelinesException(string message, Exception innerException) : base(message, innerException) { } /// <summary> /// Construct instance of AmazonChimeSDKMediaPipelinesException /// </summary> /// <param name="innerException"></param> public AmazonChimeSDKMediaPipelinesException(Exception innerException) : base(innerException.Message, innerException) { } /// <summary> /// Construct instance of AmazonChimeSDKMediaPipelinesException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public AmazonChimeSDKMediaPipelinesException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) { } /// <summary> /// Construct instance of AmazonChimeSDKMediaPipelinesException /// </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 AmazonChimeSDKMediaPipelinesException(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 AmazonChimeSDKMediaPipelinesException 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 AmazonChimeSDKMediaPipelinesException(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 chime-sdk-media-pipelines-2021-07-15.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.ChimeSDKMediaPipelines { /// <summary> /// Constants used for properties of type ArtifactsConcatenationState. /// </summary> public class ArtifactsConcatenationState : ConstantClass { /// <summary> /// Constant Disabled for ArtifactsConcatenationState /// </summary> public static readonly ArtifactsConcatenationState Disabled = new ArtifactsConcatenationState("Disabled"); /// <summary> /// Constant Enabled for ArtifactsConcatenationState /// </summary> public static readonly ArtifactsConcatenationState Enabled = new ArtifactsConcatenationState("Enabled"); /// <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 ArtifactsConcatenationState(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 ArtifactsConcatenationState FindValue(string value) { return FindValue<ArtifactsConcatenationState>(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 ArtifactsConcatenationState(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type ArtifactsState. /// </summary> public class ArtifactsState : ConstantClass { /// <summary> /// Constant Disabled for ArtifactsState /// </summary> public static readonly ArtifactsState Disabled = new ArtifactsState("Disabled"); /// <summary> /// Constant Enabled for ArtifactsState /// </summary> public static readonly ArtifactsState Enabled = new ArtifactsState("Enabled"); /// <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 ArtifactsState(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 ArtifactsState FindValue(string value) { return FindValue<ArtifactsState>(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 ArtifactsState(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type AudioArtifactsConcatenationState. /// </summary> public class AudioArtifactsConcatenationState : ConstantClass { /// <summary> /// Constant Enabled for AudioArtifactsConcatenationState /// </summary> public static readonly AudioArtifactsConcatenationState Enabled = new AudioArtifactsConcatenationState("Enabled"); /// <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 AudioArtifactsConcatenationState(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 AudioArtifactsConcatenationState FindValue(string value) { return FindValue<AudioArtifactsConcatenationState>(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 AudioArtifactsConcatenationState(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type AudioChannelsOption. /// </summary> public class AudioChannelsOption : ConstantClass { /// <summary> /// Constant Mono for AudioChannelsOption /// </summary> public static readonly AudioChannelsOption Mono = new AudioChannelsOption("Mono"); /// <summary> /// Constant Stereo for AudioChannelsOption /// </summary> public static readonly AudioChannelsOption Stereo = new AudioChannelsOption("Stereo"); /// <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 AudioChannelsOption(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 AudioChannelsOption FindValue(string value) { return FindValue<AudioChannelsOption>(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 AudioChannelsOption(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type AudioMuxType. /// </summary> public class AudioMuxType : ConstantClass { /// <summary> /// Constant AudioOnly for AudioMuxType /// </summary> public static readonly AudioMuxType AudioOnly = new AudioMuxType("AudioOnly"); /// <summary> /// Constant AudioWithActiveSpeakerVideo for AudioMuxType /// </summary> public static readonly AudioMuxType AudioWithActiveSpeakerVideo = new AudioMuxType("AudioWithActiveSpeakerVideo"); /// <summary> /// Constant AudioWithCompositedVideo for AudioMuxType /// </summary> public static readonly AudioMuxType AudioWithCompositedVideo = new AudioMuxType("AudioWithCompositedVideo"); /// <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 AudioMuxType(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 AudioMuxType FindValue(string value) { return FindValue<AudioMuxType>(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 AudioMuxType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type CallAnalyticsLanguageCode. /// </summary> public class CallAnalyticsLanguageCode : ConstantClass { /// <summary> /// Constant DeDE for CallAnalyticsLanguageCode /// </summary> public static readonly CallAnalyticsLanguageCode DeDE = new CallAnalyticsLanguageCode("de-DE"); /// <summary> /// Constant EnAU for CallAnalyticsLanguageCode /// </summary> public static readonly CallAnalyticsLanguageCode EnAU = new CallAnalyticsLanguageCode("en-AU"); /// <summary> /// Constant EnGB for CallAnalyticsLanguageCode /// </summary> public static readonly CallAnalyticsLanguageCode EnGB = new CallAnalyticsLanguageCode("en-GB"); /// <summary> /// Constant EnUS for CallAnalyticsLanguageCode /// </summary> public static readonly CallAnalyticsLanguageCode EnUS = new CallAnalyticsLanguageCode("en-US"); /// <summary> /// Constant EsUS for CallAnalyticsLanguageCode /// </summary> public static readonly CallAnalyticsLanguageCode EsUS = new CallAnalyticsLanguageCode("es-US"); /// <summary> /// Constant FrCA for CallAnalyticsLanguageCode /// </summary> public static readonly CallAnalyticsLanguageCode FrCA = new CallAnalyticsLanguageCode("fr-CA"); /// <summary> /// Constant FrFR for CallAnalyticsLanguageCode /// </summary> public static readonly CallAnalyticsLanguageCode FrFR = new CallAnalyticsLanguageCode("fr-FR"); /// <summary> /// Constant ItIT for CallAnalyticsLanguageCode /// </summary> public static readonly CallAnalyticsLanguageCode ItIT = new CallAnalyticsLanguageCode("it-IT"); /// <summary> /// Constant PtBR for CallAnalyticsLanguageCode /// </summary> public static readonly CallAnalyticsLanguageCode PtBR = new CallAnalyticsLanguageCode("pt-BR"); /// <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 CallAnalyticsLanguageCode(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 CallAnalyticsLanguageCode FindValue(string value) { return FindValue<CallAnalyticsLanguageCode>(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 CallAnalyticsLanguageCode(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type ConcatenationSinkType. /// </summary> public class ConcatenationSinkType : ConstantClass { /// <summary> /// Constant S3Bucket for ConcatenationSinkType /// </summary> public static readonly ConcatenationSinkType S3Bucket = new ConcatenationSinkType("S3Bucket"); /// <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 ConcatenationSinkType(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 ConcatenationSinkType FindValue(string value) { return FindValue<ConcatenationSinkType>(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 ConcatenationSinkType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type ConcatenationSourceType. /// </summary> public class ConcatenationSourceType : ConstantClass { /// <summary> /// Constant MediaCapturePipeline for ConcatenationSourceType /// </summary> public static readonly ConcatenationSourceType MediaCapturePipeline = new ConcatenationSourceType("MediaCapturePipeline"); /// <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 ConcatenationSourceType(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 ConcatenationSourceType FindValue(string value) { return FindValue<ConcatenationSourceType>(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 ConcatenationSourceType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type ContentMuxType. /// </summary> public class ContentMuxType : ConstantClass { /// <summary> /// Constant ContentOnly for ContentMuxType /// </summary> public static readonly ContentMuxType ContentOnly = new ContentMuxType("ContentOnly"); /// <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 ContentMuxType(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 ContentMuxType FindValue(string value) { return FindValue<ContentMuxType>(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 ContentMuxType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type ContentRedactionOutput. /// </summary> public class ContentRedactionOutput : ConstantClass { /// <summary> /// Constant Redacted for ContentRedactionOutput /// </summary> public static readonly ContentRedactionOutput Redacted = new ContentRedactionOutput("redacted"); /// <summary> /// Constant Redacted_and_unredacted for ContentRedactionOutput /// </summary> public static readonly ContentRedactionOutput Redacted_and_unredacted = new ContentRedactionOutput("redacted_and_unredacted"); /// <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 ContentRedactionOutput(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 ContentRedactionOutput FindValue(string value) { return FindValue<ContentRedactionOutput>(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 ContentRedactionOutput(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type ContentShareLayoutOption. /// </summary> public class ContentShareLayoutOption : ConstantClass { /// <summary> /// Constant Horizontal for ContentShareLayoutOption /// </summary> public static readonly ContentShareLayoutOption Horizontal = new ContentShareLayoutOption("Horizontal"); /// <summary> /// Constant PresenterOnly for ContentShareLayoutOption /// </summary> public static readonly ContentShareLayoutOption PresenterOnly = new ContentShareLayoutOption("PresenterOnly"); /// <summary> /// Constant Vertical for ContentShareLayoutOption /// </summary> public static readonly ContentShareLayoutOption Vertical = new ContentShareLayoutOption("Vertical"); /// <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 ContentShareLayoutOption(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 ContentShareLayoutOption FindValue(string value) { return FindValue<ContentShareLayoutOption>(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 ContentShareLayoutOption(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type ContentType. /// </summary> public class ContentType : ConstantClass { /// <summary> /// Constant PII for ContentType /// </summary> public static readonly ContentType PII = new ContentType("PII"); /// <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 ContentType(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 ContentType FindValue(string value) { return FindValue<ContentType>(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 ContentType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type ErrorCode. /// </summary> public class ErrorCode : ConstantClass { /// <summary> /// Constant BadRequest for ErrorCode /// </summary> public static readonly ErrorCode BadRequest = new ErrorCode("BadRequest"); /// <summary> /// Constant Forbidden for ErrorCode /// </summary> public static readonly ErrorCode Forbidden = new ErrorCode("Forbidden"); /// <summary> /// Constant NotFound for ErrorCode /// </summary> public static readonly ErrorCode NotFound = new ErrorCode("NotFound"); /// <summary> /// Constant ResourceLimitExceeded for ErrorCode /// </summary> public static readonly ErrorCode ResourceLimitExceeded = new ErrorCode("ResourceLimitExceeded"); /// <summary> /// Constant ServiceFailure for ErrorCode /// </summary> public static readonly ErrorCode ServiceFailure = new ErrorCode("ServiceFailure"); /// <summary> /// Constant ServiceUnavailable for ErrorCode /// </summary> public static readonly ErrorCode ServiceUnavailable = new ErrorCode("ServiceUnavailable"); /// <summary> /// Constant Throttling for ErrorCode /// </summary> public static readonly ErrorCode Throttling = new ErrorCode("Throttling"); /// <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 ErrorCode(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 ErrorCode FindValue(string value) { return FindValue<ErrorCode>(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 ErrorCode(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type FragmentSelectorType. /// </summary> public class FragmentSelectorType : ConstantClass { /// <summary> /// Constant ProducerTimestamp for FragmentSelectorType /// </summary> public static readonly FragmentSelectorType ProducerTimestamp = new FragmentSelectorType("ProducerTimestamp"); /// <summary> /// Constant ServerTimestamp for FragmentSelectorType /// </summary> public static readonly FragmentSelectorType ServerTimestamp = new FragmentSelectorType("ServerTimestamp"); /// <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 FragmentSelectorType(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 FragmentSelectorType FindValue(string value) { return FindValue<FragmentSelectorType>(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 FragmentSelectorType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type LayoutOption. /// </summary> public class LayoutOption : ConstantClass { /// <summary> /// Constant GridView for LayoutOption /// </summary> public static readonly LayoutOption GridView = new LayoutOption("GridView"); /// <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 LayoutOption(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 LayoutOption FindValue(string value) { return FindValue<LayoutOption>(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 LayoutOption(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type LiveConnectorMuxType. /// </summary> public class LiveConnectorMuxType : ConstantClass { /// <summary> /// Constant AudioWithActiveSpeakerVideo for LiveConnectorMuxType /// </summary> public static readonly LiveConnectorMuxType AudioWithActiveSpeakerVideo = new LiveConnectorMuxType("AudioWithActiveSpeakerVideo"); /// <summary> /// Constant AudioWithCompositedVideo for LiveConnectorMuxType /// </summary> public static readonly LiveConnectorMuxType AudioWithCompositedVideo = new LiveConnectorMuxType("AudioWithCompositedVideo"); /// <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 LiveConnectorMuxType(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 LiveConnectorMuxType FindValue(string value) { return FindValue<LiveConnectorMuxType>(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 LiveConnectorMuxType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type LiveConnectorSinkType. /// </summary> public class LiveConnectorSinkType : ConstantClass { /// <summary> /// Constant RTMP for LiveConnectorSinkType /// </summary> public static readonly LiveConnectorSinkType RTMP = new LiveConnectorSinkType("RTMP"); /// <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 LiveConnectorSinkType(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 LiveConnectorSinkType FindValue(string value) { return FindValue<LiveConnectorSinkType>(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 LiveConnectorSinkType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type LiveConnectorSourceType. /// </summary> public class LiveConnectorSourceType : ConstantClass { /// <summary> /// Constant ChimeSdkMeeting for LiveConnectorSourceType /// </summary> public static readonly LiveConnectorSourceType ChimeSdkMeeting = new LiveConnectorSourceType("ChimeSdkMeeting"); /// <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 LiveConnectorSourceType(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 LiveConnectorSourceType FindValue(string value) { return FindValue<LiveConnectorSourceType>(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 LiveConnectorSourceType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type MediaEncoding. /// </summary> public class MediaEncoding : ConstantClass { /// <summary> /// Constant Pcm for MediaEncoding /// </summary> public static readonly MediaEncoding Pcm = new MediaEncoding("pcm"); /// <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 MediaEncoding(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 MediaEncoding FindValue(string value) { return FindValue<MediaEncoding>(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 MediaEncoding(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type MediaInsightsPipelineConfigurationElementType. /// </summary> public class MediaInsightsPipelineConfigurationElementType : ConstantClass { /// <summary> /// Constant AmazonTranscribeCallAnalyticsProcessor for MediaInsightsPipelineConfigurationElementType /// </summary> public static readonly MediaInsightsPipelineConfigurationElementType AmazonTranscribeCallAnalyticsProcessor = new MediaInsightsPipelineConfigurationElementType("AmazonTranscribeCallAnalyticsProcessor"); /// <summary> /// Constant AmazonTranscribeProcessor for MediaInsightsPipelineConfigurationElementType /// </summary> public static readonly MediaInsightsPipelineConfigurationElementType AmazonTranscribeProcessor = new MediaInsightsPipelineConfigurationElementType("AmazonTranscribeProcessor"); /// <summary> /// Constant KinesisDataStreamSink for MediaInsightsPipelineConfigurationElementType /// </summary> public static readonly MediaInsightsPipelineConfigurationElementType KinesisDataStreamSink = new MediaInsightsPipelineConfigurationElementType("KinesisDataStreamSink"); /// <summary> /// Constant LambdaFunctionSink for MediaInsightsPipelineConfigurationElementType /// </summary> public static readonly MediaInsightsPipelineConfigurationElementType LambdaFunctionSink = new MediaInsightsPipelineConfigurationElementType("LambdaFunctionSink"); /// <summary> /// Constant S3RecordingSink for MediaInsightsPipelineConfigurationElementType /// </summary> public static readonly MediaInsightsPipelineConfigurationElementType S3RecordingSink = new MediaInsightsPipelineConfigurationElementType("S3RecordingSink"); /// <summary> /// Constant SnsTopicSink for MediaInsightsPipelineConfigurationElementType /// </summary> public static readonly MediaInsightsPipelineConfigurationElementType SnsTopicSink = new MediaInsightsPipelineConfigurationElementType("SnsTopicSink"); /// <summary> /// Constant SqsQueueSink for MediaInsightsPipelineConfigurationElementType /// </summary> public static readonly MediaInsightsPipelineConfigurationElementType SqsQueueSink = new MediaInsightsPipelineConfigurationElementType("SqsQueueSink"); /// <summary> /// Constant VoiceAnalyticsProcessor for MediaInsightsPipelineConfigurationElementType /// </summary> public static readonly MediaInsightsPipelineConfigurationElementType VoiceAnalyticsProcessor = new MediaInsightsPipelineConfigurationElementType("VoiceAnalyticsProcessor"); /// <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 MediaInsightsPipelineConfigurationElementType(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 MediaInsightsPipelineConfigurationElementType FindValue(string value) { return FindValue<MediaInsightsPipelineConfigurationElementType>(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 MediaInsightsPipelineConfigurationElementType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type MediaPipelineSinkType. /// </summary> public class MediaPipelineSinkType : ConstantClass { /// <summary> /// Constant S3Bucket for MediaPipelineSinkType /// </summary> public static readonly MediaPipelineSinkType S3Bucket = new MediaPipelineSinkType("S3Bucket"); /// <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 MediaPipelineSinkType(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 MediaPipelineSinkType FindValue(string value) { return FindValue<MediaPipelineSinkType>(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 MediaPipelineSinkType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type MediaPipelineSourceType. /// </summary> public class MediaPipelineSourceType : ConstantClass { /// <summary> /// Constant ChimeSdkMeeting for MediaPipelineSourceType /// </summary> public static readonly MediaPipelineSourceType ChimeSdkMeeting = new MediaPipelineSourceType("ChimeSdkMeeting"); /// <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 MediaPipelineSourceType(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 MediaPipelineSourceType FindValue(string value) { return FindValue<MediaPipelineSourceType>(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 MediaPipelineSourceType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type MediaPipelineStatus. /// </summary> public class MediaPipelineStatus : ConstantClass { /// <summary> /// Constant Failed for MediaPipelineStatus /// </summary> public static readonly MediaPipelineStatus Failed = new MediaPipelineStatus("Failed"); /// <summary> /// Constant Initializing for MediaPipelineStatus /// </summary> public static readonly MediaPipelineStatus Initializing = new MediaPipelineStatus("Initializing"); /// <summary> /// Constant InProgress for MediaPipelineStatus /// </summary> public static readonly MediaPipelineStatus InProgress = new MediaPipelineStatus("InProgress"); /// <summary> /// Constant Paused for MediaPipelineStatus /// </summary> public static readonly MediaPipelineStatus Paused = new MediaPipelineStatus("Paused"); /// <summary> /// Constant Stopped for MediaPipelineStatus /// </summary> public static readonly MediaPipelineStatus Stopped = new MediaPipelineStatus("Stopped"); /// <summary> /// Constant Stopping for MediaPipelineStatus /// </summary> public static readonly MediaPipelineStatus Stopping = new MediaPipelineStatus("Stopping"); /// <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 MediaPipelineStatus(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 MediaPipelineStatus FindValue(string value) { return FindValue<MediaPipelineStatus>(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 MediaPipelineStatus(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type MediaPipelineStatusUpdate. /// </summary> public class MediaPipelineStatusUpdate : ConstantClass { /// <summary> /// Constant Pause for MediaPipelineStatusUpdate /// </summary> public static readonly MediaPipelineStatusUpdate Pause = new MediaPipelineStatusUpdate("Pause"); /// <summary> /// Constant Resume for MediaPipelineStatusUpdate /// </summary> public static readonly MediaPipelineStatusUpdate Resume = new MediaPipelineStatusUpdate("Resume"); /// <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 MediaPipelineStatusUpdate(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 MediaPipelineStatusUpdate FindValue(string value) { return FindValue<MediaPipelineStatusUpdate>(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 MediaPipelineStatusUpdate(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type PartialResultsStability. /// </summary> public class PartialResultsStability : ConstantClass { /// <summary> /// Constant High for PartialResultsStability /// </summary> public static readonly PartialResultsStability High = new PartialResultsStability("high"); /// <summary> /// Constant Low for PartialResultsStability /// </summary> public static readonly PartialResultsStability Low = new PartialResultsStability("low"); /// <summary> /// Constant Medium for PartialResultsStability /// </summary> public static readonly PartialResultsStability Medium = new PartialResultsStability("medium"); /// <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 PartialResultsStability(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 PartialResultsStability FindValue(string value) { return FindValue<PartialResultsStability>(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 PartialResultsStability(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type ParticipantRole. /// </summary> public class ParticipantRole : ConstantClass { /// <summary> /// Constant AGENT for ParticipantRole /// </summary> public static readonly ParticipantRole AGENT = new ParticipantRole("AGENT"); /// <summary> /// Constant CUSTOMER for ParticipantRole /// </summary> public static readonly ParticipantRole CUSTOMER = new ParticipantRole("CUSTOMER"); /// <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 ParticipantRole(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 ParticipantRole FindValue(string value) { return FindValue<ParticipantRole>(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 ParticipantRole(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type PresenterPosition. /// </summary> public class PresenterPosition : ConstantClass { /// <summary> /// Constant BottomLeft for PresenterPosition /// </summary> public static readonly PresenterPosition BottomLeft = new PresenterPosition("BottomLeft"); /// <summary> /// Constant BottomRight for PresenterPosition /// </summary> public static readonly PresenterPosition BottomRight = new PresenterPosition("BottomRight"); /// <summary> /// Constant TopLeft for PresenterPosition /// </summary> public static readonly PresenterPosition TopLeft = new PresenterPosition("TopLeft"); /// <summary> /// Constant TopRight for PresenterPosition /// </summary> public static readonly PresenterPosition TopRight = new PresenterPosition("TopRight"); /// <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 PresenterPosition(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 PresenterPosition FindValue(string value) { return FindValue<PresenterPosition>(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 PresenterPosition(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type RealTimeAlertRuleType. /// </summary> public class RealTimeAlertRuleType : ConstantClass { /// <summary> /// Constant IssueDetection for RealTimeAlertRuleType /// </summary> public static readonly RealTimeAlertRuleType IssueDetection = new RealTimeAlertRuleType("IssueDetection"); /// <summary> /// Constant KeywordMatch for RealTimeAlertRuleType /// </summary> public static readonly RealTimeAlertRuleType KeywordMatch = new RealTimeAlertRuleType("KeywordMatch"); /// <summary> /// Constant Sentiment for RealTimeAlertRuleType /// </summary> public static readonly RealTimeAlertRuleType Sentiment = new RealTimeAlertRuleType("Sentiment"); /// <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 RealTimeAlertRuleType(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 RealTimeAlertRuleType FindValue(string value) { return FindValue<RealTimeAlertRuleType>(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 RealTimeAlertRuleType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type RecordingFileFormat. /// </summary> public class RecordingFileFormat : ConstantClass { /// <summary> /// Constant Opus for RecordingFileFormat /// </summary> public static readonly RecordingFileFormat Opus = new RecordingFileFormat("Opus"); /// <summary> /// Constant Wav for RecordingFileFormat /// </summary> public static readonly RecordingFileFormat Wav = new RecordingFileFormat("Wav"); /// <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 RecordingFileFormat(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 RecordingFileFormat FindValue(string value) { return FindValue<RecordingFileFormat>(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 RecordingFileFormat(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type ResolutionOption. /// </summary> public class ResolutionOption : ConstantClass { /// <summary> /// Constant FHD for ResolutionOption /// </summary> public static readonly ResolutionOption FHD = new ResolutionOption("FHD"); /// <summary> /// Constant HD for ResolutionOption /// </summary> public static readonly ResolutionOption HD = new ResolutionOption("HD"); /// <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 ResolutionOption(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 ResolutionOption FindValue(string value) { return FindValue<ResolutionOption>(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 ResolutionOption(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type SentimentType. /// </summary> public class SentimentType : ConstantClass { /// <summary> /// Constant NEGATIVE for SentimentType /// </summary> public static readonly SentimentType NEGATIVE = new SentimentType("NEGATIVE"); /// <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 SentimentType(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 SentimentType FindValue(string value) { return FindValue<SentimentType>(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 SentimentType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type VideoMuxType. /// </summary> public class VideoMuxType : ConstantClass { /// <summary> /// Constant VideoOnly for VideoMuxType /// </summary> public static readonly VideoMuxType VideoOnly = new VideoMuxType("VideoOnly"); /// <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 VideoMuxType(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 VideoMuxType FindValue(string value) { return FindValue<VideoMuxType>(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 VideoMuxType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type VocabularyFilterMethod. /// </summary> public class VocabularyFilterMethod : ConstantClass { /// <summary> /// Constant Mask for VocabularyFilterMethod /// </summary> public static readonly VocabularyFilterMethod Mask = new VocabularyFilterMethod("mask"); /// <summary> /// Constant Remove for VocabularyFilterMethod /// </summary> public static readonly VocabularyFilterMethod Remove = new VocabularyFilterMethod("remove"); /// <summary> /// Constant Tag for VocabularyFilterMethod /// </summary> public static readonly VocabularyFilterMethod Tag = new VocabularyFilterMethod("tag"); /// <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 VocabularyFilterMethod(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 VocabularyFilterMethod FindValue(string value) { return FindValue<VocabularyFilterMethod>(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 VocabularyFilterMethod(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type VoiceAnalyticsConfigurationStatus. /// </summary> public class VoiceAnalyticsConfigurationStatus : ConstantClass { /// <summary> /// Constant Disabled for VoiceAnalyticsConfigurationStatus /// </summary> public static readonly VoiceAnalyticsConfigurationStatus Disabled = new VoiceAnalyticsConfigurationStatus("Disabled"); /// <summary> /// Constant Enabled for VoiceAnalyticsConfigurationStatus /// </summary> public static readonly VoiceAnalyticsConfigurationStatus Enabled = new VoiceAnalyticsConfigurationStatus("Enabled"); /// <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 VoiceAnalyticsConfigurationStatus(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 VoiceAnalyticsConfigurationStatus FindValue(string value) { return FindValue<VoiceAnalyticsConfigurationStatus>(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 VoiceAnalyticsConfigurationStatus(string value) { return FindValue(value); } } }
1,790
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 chime-sdk-media-pipelines-2021-07-15.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.ChimeSDKMediaPipelines.Internal { /// <summary> /// Amazon ChimeSDKMediaPipelines endpoint provider. /// Resolves endpoint for given set of ChimeSDKMediaPipelinesEndpointParameters. /// Can throw AmazonClientException if endpoint resolution is unsuccessful. /// </summary> public class AmazonChimeSDKMediaPipelinesEndpointProvider : IEndpointProvider { /// <summary> /// Resolve endpoint for ChimeSDKMediaPipelinesEndpointParameters /// </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://media-pipelines-chime-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://media-pipelines-chime-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://media-pipelines-chime.{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://media-pipelines-chime.{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 chime-sdk-media-pipelines-2021-07-15.normal.json service model. */ using System; using Amazon.ChimeSDKMediaPipelines.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Endpoints; using Amazon.Util; using Amazon.ChimeSDKMediaPipelines.Endpoints; #pragma warning disable 1591 namespace Amazon.ChimeSDKMediaPipelines.Internal { /// <summary> /// Amazon ChimeSDKMediaPipelines endpoint resolver. /// Custom PipelineHandler responsible for resolving endpoint and setting authentication parameters for ChimeSDKMediaPipelines service requests. /// Collects values for ChimeSDKMediaPipelinesEndpointParameters and then tries to resolve endpoint by calling /// ResolveEndpoint method on GlobalEndpoints.Provider if present, otherwise uses ChimeSDKMediaPipelinesEndpointProvider. /// Responsible for setting authentication and http headers provided by resolved endpoint. /// </summary> public class AmazonChimeSDKMediaPipelinesEndpointResolver : BaseEndpointResolver { protected override void ServiceSpecificHandler(IExecutionContext executionContext, EndpointParameters parameters) { InjectHostPrefix(executionContext.RequestContext); } protected override EndpointParameters MapEndpointsParameters(IRequestContext requestContext) { var config = (AmazonChimeSDKMediaPipelinesConfig)requestContext.ClientConfig; var result = new ChimeSDKMediaPipelinesEndpointParameters(); 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 chime-sdk-media-pipelines-2021-07-15.normal.json service model. */ using Amazon.Runtime.Internal; namespace Amazon.ChimeSDKMediaPipelines.Internal { /// <summary> /// Service metadata for Amazon ChimeSDKMediaPipelines service /// </summary> public partial class AmazonChimeSDKMediaPipelinesMetadata : IServiceMetadata { /// <summary> /// Gets the value of the Service Id. /// </summary> public string ServiceId { get { return "Chime SDK Media Pipelines"; } } /// <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 chime-sdk-media-pipelines-2021-07-15.normal.json service model. */ using Amazon.Runtime; namespace Amazon.ChimeSDKMediaPipelines { /// <summary> /// Base class for ChimeSDKMediaPipelines operation requests. /// </summary> public partial class AmazonChimeSDKMediaPipelinesRequest : 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 chime-sdk-media-pipelines-2021-07-15.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.ChimeSDKMediaPipelines.Model { /// <summary> /// A structure that contains the configuration settings for an Amazon Transcribe call /// analytics processor. /// </summary> public partial class AmazonTranscribeCallAnalyticsProcessorConfiguration { private List<string> _callAnalyticsStreamCategories = new List<string>(); private ContentType _contentIdentificationType; private ContentType _contentRedactionType; private bool? _enablePartialResultsStabilization; private bool? _filterPartialResults; private CallAnalyticsLanguageCode _languageCode; private string _languageModelName; private PartialResultsStability _partialResultsStability; private string _piiEntityTypes; private PostCallAnalyticsSettings _postCallAnalyticsSettings; private VocabularyFilterMethod _vocabularyFilterMethod; private string _vocabularyFilterName; private string _vocabularyName; /// <summary> /// Gets and sets the property CallAnalyticsStreamCategories. /// <para> /// By default, all <code>CategoryEvents</code> are sent to the insights target. If this /// parameter is specified, only included categories are sent to the insights target. /// /// </para> /// </summary> [AWSProperty(Min=1, Max=20)] public List<string> CallAnalyticsStreamCategories { get { return this._callAnalyticsStreamCategories; } set { this._callAnalyticsStreamCategories = value; } } // Check to see if CallAnalyticsStreamCategories property is set internal bool IsSetCallAnalyticsStreamCategories() { return this._callAnalyticsStreamCategories != null && this._callAnalyticsStreamCategories.Count > 0; } /// <summary> /// Gets and sets the property ContentIdentificationType. /// <para> /// Labels all personally identifiable information (PII) identified in your transcript. /// </para> /// /// <para> /// Content identification is performed at the segment level; PII specified in <code>PiiEntityTypes</code> /// is flagged upon complete transcription of an audio segment. /// </para> /// /// <para> /// You can’t set <code>ContentIdentificationType</code> and <code>ContentRedactionType</code> /// in the same request. If you do, your request returns a <code>BadRequestException</code>. /// </para> /// /// <para> /// For more information, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/pii-redaction.html">Redacting /// or identifying personally identifiable information</a> in the <i>Amazon Transcribe /// Developer Guide</i>. /// </para> /// </summary> public ContentType ContentIdentificationType { get { return this._contentIdentificationType; } set { this._contentIdentificationType = value; } } // Check to see if ContentIdentificationType property is set internal bool IsSetContentIdentificationType() { return this._contentIdentificationType != null; } /// <summary> /// Gets and sets the property ContentRedactionType. /// <para> /// Redacts all personally identifiable information (PII) identified in your transcript. /// </para> /// /// <para> /// Content redaction is performed at the segment level; PII specified in <code>PiiEntityTypes</code> /// is redacted upon complete transcription of an audio segment. /// </para> /// /// <para> /// You can’t set <code>ContentRedactionType</code> and <code>ContentIdentificationType</code> /// in the same request. If you do, your request returns a <code>BadRequestException</code>. /// </para> /// /// <para> /// For more information, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/pii-redaction.html">Redacting /// or identifying personally identifiable information</a> in the <i>Amazon Transcribe /// Developer Guide</i>. /// </para> /// </summary> public ContentType ContentRedactionType { get { return this._contentRedactionType; } set { this._contentRedactionType = value; } } // Check to see if ContentRedactionType property is set internal bool IsSetContentRedactionType() { return this._contentRedactionType != null; } /// <summary> /// Gets and sets the property EnablePartialResultsStabilization. /// <para> /// Enables partial result stabilization for your transcription. Partial result stabilization /// can reduce latency in your output, but may impact accuracy. For more information, /// see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/streaming.html#streaming-partial-result-stabilization">Partial-result /// stabilization</a> in the <i>Amazon Transcribe Developer Guide</i>. /// </para> /// </summary> public bool EnablePartialResultsStabilization { get { return this._enablePartialResultsStabilization.GetValueOrDefault(); } set { this._enablePartialResultsStabilization = value; } } // Check to see if EnablePartialResultsStabilization property is set internal bool IsSetEnablePartialResultsStabilization() { return this._enablePartialResultsStabilization.HasValue; } /// <summary> /// Gets and sets the property FilterPartialResults. /// <para> /// If true, <code>UtteranceEvents</code> with <code>IsPartial: true</code> are filtered /// out of the insights target. /// </para> /// </summary> public bool FilterPartialResults { get { return this._filterPartialResults.GetValueOrDefault(); } set { this._filterPartialResults = value; } } // Check to see if FilterPartialResults property is set internal bool IsSetFilterPartialResults() { return this._filterPartialResults.HasValue; } /// <summary> /// Gets and sets the property LanguageCode. /// <para> /// The language code in the configuration. /// </para> /// </summary> [AWSProperty(Required=true)] public CallAnalyticsLanguageCode LanguageCode { get { return this._languageCode; } set { this._languageCode = value; } } // Check to see if LanguageCode property is set internal bool IsSetLanguageCode() { return this._languageCode != null; } /// <summary> /// Gets and sets the property LanguageModelName. /// <para> /// Specifies the name of the custom language model to use when processing a transcription. /// Note that language model names are case sensitive. /// </para> /// /// <para> /// The language of the specified language model must match the language code specified /// in the transcription request. If the languages don't match, the custom language model /// isn't applied. Language mismatches don't generate errors or warnings. /// </para> /// /// <para> /// For more information, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/custom-language-models.html">Custom /// language models</a> in the <i>Amazon Transcribe Developer Guide</i>. /// </para> /// </summary> [AWSProperty(Min=1, Max=200)] public string LanguageModelName { get { return this._languageModelName; } set { this._languageModelName = value; } } // Check to see if LanguageModelName property is set internal bool IsSetLanguageModelName() { return this._languageModelName != null; } /// <summary> /// Gets and sets the property PartialResultsStability. /// <para> /// Specifies the level of stability to use when you enable partial results stabilization /// (<code>EnablePartialResultsStabilization</code>). /// </para> /// /// <para> /// Low stability provides the highest accuracy. High stability transcribes faster, but /// with slightly lower accuracy. /// </para> /// /// <para> /// For more information, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/streaming.html#streaming-partial-result-stabilization">Partial-result /// stabilization</a> in the <i>Amazon Transcribe Developer Guide</i>. /// </para> /// </summary> public PartialResultsStability PartialResultsStability { get { return this._partialResultsStability; } set { this._partialResultsStability = value; } } // Check to see if PartialResultsStability property is set internal bool IsSetPartialResultsStability() { return this._partialResultsStability != null; } /// <summary> /// Gets and sets the property PiiEntityTypes. /// <para> /// Specifies the types of personally identifiable information (PII) to redact from a /// transcript. You can include as many types as you'd like, or you can select <code>ALL</code>. /// </para> /// /// <para> /// To include <code>PiiEntityTypes</code> in your Call Analytics request, you must also /// include <code>ContentIdentificationType</code> or <code>ContentRedactionType</code>, /// but you can't include both. /// </para> /// /// <para> /// Values must be comma-separated and can include: <code>ADDRESS</code>, <code>BANK_ACCOUNT_NUMBER</code>, /// <code>BANK_ROUTING</code>, <code>CREDIT_DEBIT_CVV</code>, <code>CREDIT_DEBIT_EXPIRY</code>, /// <code>CREDIT_DEBIT_NUMBER</code>, <code>EMAIL</code>, <code>NAME</code>, <code>PHONE</code>, /// <code>PIN</code>, <code>SSN</code>, or <code>ALL</code>. /// </para> /// /// <para> /// Length Constraints: Minimum length of 1. Maximum length of 300. /// </para> /// </summary> [AWSProperty(Min=1, Max=300)] public string PiiEntityTypes { get { return this._piiEntityTypes; } set { this._piiEntityTypes = value; } } // Check to see if PiiEntityTypes property is set internal bool IsSetPiiEntityTypes() { return this._piiEntityTypes != null; } /// <summary> /// Gets and sets the property PostCallAnalyticsSettings. /// <para> /// The settings for a post-call analysis task in an analytics configuration. /// </para> /// </summary> public PostCallAnalyticsSettings PostCallAnalyticsSettings { get { return this._postCallAnalyticsSettings; } set { this._postCallAnalyticsSettings = value; } } // Check to see if PostCallAnalyticsSettings property is set internal bool IsSetPostCallAnalyticsSettings() { return this._postCallAnalyticsSettings != null; } /// <summary> /// Gets and sets the property VocabularyFilterMethod. /// <para> /// Specifies how to apply a vocabulary filter to a transcript. /// </para> /// /// <para> /// To replace words with <b>***</b>, choose <code>mask</code>. /// </para> /// /// <para> /// To delete words, choose <code>remove</code>. /// </para> /// /// <para> /// To flag words without changing them, choose <code>tag</code>. /// </para> /// </summary> public VocabularyFilterMethod VocabularyFilterMethod { get { return this._vocabularyFilterMethod; } set { this._vocabularyFilterMethod = value; } } // Check to see if VocabularyFilterMethod property is set internal bool IsSetVocabularyFilterMethod() { return this._vocabularyFilterMethod != null; } /// <summary> /// Gets and sets the property VocabularyFilterName. /// <para> /// Specifies the name of the custom vocabulary filter to use when processing a transcription. /// Note that vocabulary filter names are case sensitive. /// </para> /// /// <para> /// If the language of the specified custom vocabulary filter doesn't match the language /// identified in your media, the vocabulary filter is not applied to your transcription. /// </para> /// /// <para> /// For more information, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/vocabulary-filtering.html">Using /// vocabulary filtering with unwanted words</a> in the <i>Amazon Transcribe Developer /// Guide</i>. /// </para> /// /// <para> /// Length Constraints: Minimum length of 1. Maximum length of 200. /// </para> /// </summary> [AWSProperty(Min=1, Max=200)] public string VocabularyFilterName { get { return this._vocabularyFilterName; } set { this._vocabularyFilterName = value; } } // Check to see if VocabularyFilterName property is set internal bool IsSetVocabularyFilterName() { return this._vocabularyFilterName != null; } /// <summary> /// Gets and sets the property VocabularyName. /// <para> /// Specifies the name of the custom vocabulary to use when processing a transcription. /// Note that vocabulary names are case sensitive. /// </para> /// /// <para> /// If the language of the specified custom vocabulary doesn't match the language identified /// in your media, the custom vocabulary is not applied to your transcription. /// </para> /// /// <para> /// For more information, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/custom-vocabulary.html">Custom /// vocabularies</a> in the <i>Amazon Transcribe Developer Guide</i>. /// </para> /// /// <para> /// Length Constraints: Minimum length of 1. Maximum length of 200. /// </para> /// </summary> [AWSProperty(Min=1, Max=200)] public string VocabularyName { get { return this._vocabularyName; } set { this._vocabularyName = value; } } // Check to see if VocabularyName property is set internal bool IsSetVocabularyName() { return this._vocabularyName != null; } } }
414
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 chime-sdk-media-pipelines-2021-07-15.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.ChimeSDKMediaPipelines.Model { /// <summary> /// A structure that contains the configuration settings for an Amazon Transcribe processor. /// </summary> public partial class AmazonTranscribeProcessorConfiguration { private ContentType _contentIdentificationType; private ContentType _contentRedactionType; private bool? _enablePartialResultsStabilization; private bool? _filterPartialResults; private CallAnalyticsLanguageCode _languageCode; private string _languageModelName; private PartialResultsStability _partialResultsStability; private string _piiEntityTypes; private bool? _showSpeakerLabel; private VocabularyFilterMethod _vocabularyFilterMethod; private string _vocabularyFilterName; private string _vocabularyName; /// <summary> /// Gets and sets the property ContentIdentificationType. /// <para> /// Labels all personally identifiable information (PII) identified in your transcript. /// </para> /// /// <para> /// Content identification is performed at the segment level; PII specified in <code>PiiEntityTypes</code> /// is flagged upon complete transcription of an audio segment. /// </para> /// /// <para> /// You can’t set <code>ContentIdentificationType</code> and <code>ContentRedactionType</code> /// in the same request. If you set both, your request returns a <code>BadRequestException</code>. /// </para> /// /// <para> /// For more information, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/pii-redaction.html">Redacting /// or identifying personally identifiable information</a> in the <i>Amazon Transcribe /// Developer Guide</i>. /// </para> /// </summary> public ContentType ContentIdentificationType { get { return this._contentIdentificationType; } set { this._contentIdentificationType = value; } } // Check to see if ContentIdentificationType property is set internal bool IsSetContentIdentificationType() { return this._contentIdentificationType != null; } /// <summary> /// Gets and sets the property ContentRedactionType. /// <para> /// Redacts all personally identifiable information (PII) identified in your transcript. /// </para> /// /// <para> /// Content redaction is performed at the segment level; PII specified in PiiEntityTypes /// is redacted upon complete transcription of an audio segment. /// </para> /// /// <para> /// You can’t set ContentRedactionType and ContentIdentificationType in the same request. /// If you set both, your request returns a <code>BadRequestException</code>. /// </para> /// /// <para> /// For more information, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/pii-redaction.html">Redacting /// or identifying personally identifiable information</a> in the <i>Amazon Transcribe /// Developer Guide</i>. /// </para> /// </summary> public ContentType ContentRedactionType { get { return this._contentRedactionType; } set { this._contentRedactionType = value; } } // Check to see if ContentRedactionType property is set internal bool IsSetContentRedactionType() { return this._contentRedactionType != null; } /// <summary> /// Gets and sets the property EnablePartialResultsStabilization. /// <para> /// Enables partial result stabilization for your transcription. Partial result stabilization /// can reduce latency in your output, but may impact accuracy. /// </para> /// /// <para> /// For more information, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/streaming.html#streaming-partial-result-stabilization">Partial-result /// stabilization</a> in the <i>Amazon Transcribe Developer Guide</i>. /// </para> /// </summary> public bool EnablePartialResultsStabilization { get { return this._enablePartialResultsStabilization.GetValueOrDefault(); } set { this._enablePartialResultsStabilization = value; } } // Check to see if EnablePartialResultsStabilization property is set internal bool IsSetEnablePartialResultsStabilization() { return this._enablePartialResultsStabilization.HasValue; } /// <summary> /// Gets and sets the property FilterPartialResults. /// <para> /// If true, <code>TranscriptEvents</code> with <code>IsPartial: true</code> are filtered /// out of the insights target. /// </para> /// </summary> public bool FilterPartialResults { get { return this._filterPartialResults.GetValueOrDefault(); } set { this._filterPartialResults = value; } } // Check to see if FilterPartialResults property is set internal bool IsSetFilterPartialResults() { return this._filterPartialResults.HasValue; } /// <summary> /// Gets and sets the property LanguageCode. /// <para> /// The language code that represents the language spoken in your audio. /// </para> /// /// <para> /// If you're unsure of the language spoken in your audio, consider using <code>IdentifyLanguage</code> /// to enable automatic language identification. /// </para> /// /// <para> /// For a list of languages that real-time Call Analytics supports, see the <a href="https://docs.aws.amazon.com/transcribe/latest/dg/supported-languages.html">Supported /// languages table</a> in the <i>Amazon Transcribe Developer Guide</i>. /// </para> /// </summary> [AWSProperty(Required=true)] public CallAnalyticsLanguageCode LanguageCode { get { return this._languageCode; } set { this._languageCode = value; } } // Check to see if LanguageCode property is set internal bool IsSetLanguageCode() { return this._languageCode != null; } /// <summary> /// Gets and sets the property LanguageModelName. /// <para> /// The name of the custom language model that you want to use when processing your transcription. /// Note that language model names are case sensitive. /// </para> /// /// <para> /// The language of the specified language model must match the language code you specify /// in your transcription request. If the languages don't match, the custom language model /// isn't applied. There are no errors or warnings associated with a language mismatch. /// </para> /// /// <para> /// For more information, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/custom-language-models.html">Custom /// language models</a> in the <i>Amazon Transcribe Developer Guide</i>. /// </para> /// </summary> [AWSProperty(Min=1, Max=200)] public string LanguageModelName { get { return this._languageModelName; } set { this._languageModelName = value; } } // Check to see if LanguageModelName property is set internal bool IsSetLanguageModelName() { return this._languageModelName != null; } /// <summary> /// Gets and sets the property PartialResultsStability. /// <para> /// The level of stability to use when you enable partial results stabilization (<code>EnablePartialResultsStabilization</code>). /// </para> /// /// <para> /// Low stability provides the highest accuracy. High stability transcribes faster, but /// with slightly lower accuracy. /// </para> /// /// <para> /// For more information, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/streaming.html#streaming-partial-result-stabilization">Partial-result /// stabilization</a> in the <i>Amazon Transcribe Developer Guide</i>. /// </para> /// </summary> public PartialResultsStability PartialResultsStability { get { return this._partialResultsStability; } set { this._partialResultsStability = value; } } // Check to see if PartialResultsStability property is set internal bool IsSetPartialResultsStability() { return this._partialResultsStability != null; } /// <summary> /// Gets and sets the property PiiEntityTypes. /// <para> /// The types of personally identifiable information (PII) to redact from a transcript. /// You can include as many types as you'd like, or you can select <code>ALL</code>. /// </para> /// /// <para> /// To include <code>PiiEntityTypes</code> in your Call Analytics request, you must also /// include <code>ContentIdentificationType</code> or <code>ContentRedactionType</code>, /// but you can't include both. /// </para> /// /// <para> /// Values must be comma-separated and can include: <code>ADDRESS</code>, <code>BANK_ACCOUNT_NUMBER</code>, /// <code>BANK_ROUTING</code>, <code>CREDIT_DEBIT_CVV</code>, <code>CREDIT_DEBIT_EXPIRY</code>, /// <code>CREDIT_DEBIT_NUMBER</code>, <code>EMAIL</code>, <code>NAME</code>, <code>PHONE</code>, /// <code>PIN</code>, <code>SSN</code>, or <code>ALL</code>. /// </para> /// /// <para> /// If you leave this parameter empty, the default behavior is equivalent to <code>ALL</code>. /// </para> /// </summary> [AWSProperty(Min=1, Max=300)] public string PiiEntityTypes { get { return this._piiEntityTypes; } set { this._piiEntityTypes = value; } } // Check to see if PiiEntityTypes property is set internal bool IsSetPiiEntityTypes() { return this._piiEntityTypes != null; } /// <summary> /// Gets and sets the property ShowSpeakerLabel. /// <para> /// Enables speaker partitioning (diarization) in your transcription output. Speaker partitioning /// labels the speech from individual speakers in your media file. /// </para> /// /// <para> /// For more information, see <a href="https://docs.aws.amazon.com/transcribe/latest/dg/diarization.html">Partitioning /// speakers (diarization)</a> in the <i>Amazon Transcribe Developer Guide</i>. /// </para> /// </summary> public bool ShowSpeakerLabel { get { return this._showSpeakerLabel.GetValueOrDefault(); } set { this._showSpeakerLabel = value; } } // Check to see if ShowSpeakerLabel property is set internal bool IsSetShowSpeakerLabel() { return this._showSpeakerLabel.HasValue; } /// <summary> /// Gets and sets the property VocabularyFilterMethod. /// <para> /// The vocabulary filtering method used in your Call Analytics transcription. /// </para> /// </summary> public VocabularyFilterMethod VocabularyFilterMethod { get { return this._vocabularyFilterMethod; } set { this._vocabularyFilterMethod = value; } } // Check to see if VocabularyFilterMethod property is set internal bool IsSetVocabularyFilterMethod() { return this._vocabularyFilterMethod != null; } /// <summary> /// Gets and sets the property VocabularyFilterName. /// <para> /// The name of the custom vocabulary filter that you specified in your Call Analytics /// request. /// </para> /// /// <para> /// Length Constraints: Minimum length of 1. Maximum length of 200. /// </para> /// </summary> [AWSProperty(Min=1, Max=200)] public string VocabularyFilterName { get { return this._vocabularyFilterName; } set { this._vocabularyFilterName = value; } } // Check to see if VocabularyFilterName property is set internal bool IsSetVocabularyFilterName() { return this._vocabularyFilterName != null; } /// <summary> /// Gets and sets the property VocabularyName. /// <para> /// The name of the custom vocabulary that you specified in your Call Analytics request. /// </para> /// /// <para> /// Length Constraints: Minimum length of 1. Maximum length of 200. /// </para> /// </summary> [AWSProperty(Min=1, Max=200)] public string VocabularyName { get { return this._vocabularyName; } set { this._vocabularyName = value; } } // Check to see if VocabularyName property is set internal bool IsSetVocabularyName() { return this._vocabularyName != null; } } }
375
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 chime-sdk-media-pipelines-2021-07-15.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.ChimeSDKMediaPipelines.Model { /// <summary> /// The configuration for the artifacts concatenation. /// </summary> public partial class ArtifactsConcatenationConfiguration { private AudioConcatenationConfiguration _audio; private CompositedVideoConcatenationConfiguration _compositedVideo; private ContentConcatenationConfiguration _content; private DataChannelConcatenationConfiguration _dataChannel; private MeetingEventsConcatenationConfiguration _meetingEvents; private TranscriptionMessagesConcatenationConfiguration _transcriptionMessages; private VideoConcatenationConfiguration _video; /// <summary> /// Gets and sets the property Audio. /// <para> /// The configuration for the audio artifacts concatenation. /// </para> /// </summary> [AWSProperty(Required=true)] public AudioConcatenationConfiguration Audio { get { return this._audio; } set { this._audio = value; } } // Check to see if Audio property is set internal bool IsSetAudio() { return this._audio != null; } /// <summary> /// Gets and sets the property CompositedVideo. /// <para> /// The configuration for the composited video artifacts concatenation. /// </para> /// </summary> [AWSProperty(Required=true)] public CompositedVideoConcatenationConfiguration CompositedVideo { get { return this._compositedVideo; } set { this._compositedVideo = value; } } // Check to see if CompositedVideo property is set internal bool IsSetCompositedVideo() { return this._compositedVideo != null; } /// <summary> /// Gets and sets the property Content. /// <para> /// The configuration for the content artifacts concatenation. /// </para> /// </summary> [AWSProperty(Required=true)] public ContentConcatenationConfiguration Content { get { return this._content; } set { this._content = value; } } // Check to see if Content property is set internal bool IsSetContent() { return this._content != null; } /// <summary> /// Gets and sets the property DataChannel. /// <para> /// The configuration for the data channel artifacts concatenation. /// </para> /// </summary> [AWSProperty(Required=true)] public DataChannelConcatenationConfiguration DataChannel { get { return this._dataChannel; } set { this._dataChannel = value; } } // Check to see if DataChannel property is set internal bool IsSetDataChannel() { return this._dataChannel != null; } /// <summary> /// Gets and sets the property MeetingEvents. /// <para> /// The configuration for the meeting events artifacts concatenation. /// </para> /// </summary> [AWSProperty(Required=true)] public MeetingEventsConcatenationConfiguration MeetingEvents { get { return this._meetingEvents; } set { this._meetingEvents = value; } } // Check to see if MeetingEvents property is set internal bool IsSetMeetingEvents() { return this._meetingEvents != null; } /// <summary> /// Gets and sets the property TranscriptionMessages. /// <para> /// The configuration for the transcription messages artifacts concatenation. /// </para> /// </summary> [AWSProperty(Required=true)] public TranscriptionMessagesConcatenationConfiguration TranscriptionMessages { get { return this._transcriptionMessages; } set { this._transcriptionMessages = value; } } // Check to see if TranscriptionMessages property is set internal bool IsSetTranscriptionMessages() { return this._transcriptionMessages != null; } /// <summary> /// Gets and sets the property Video. /// <para> /// The configuration for the video artifacts concatenation. /// </para> /// </summary> [AWSProperty(Required=true)] public VideoConcatenationConfiguration Video { get { return this._video; } set { this._video = value; } } // Check to see if Video property is set internal bool IsSetVideo() { return this._video != null; } } }
178