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-messaging-2021-05-15.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.ChimeSDKMessaging.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKMessaging.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for PutChannelMembershipPreferences operation /// </summary> public class PutChannelMembershipPreferencesResponseUnmarshaller : 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) { PutChannelMembershipPreferencesResponse response = new PutChannelMembershipPreferencesResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("ChannelArn", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.ChannelArn = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("Member", targetDepth)) { var unmarshaller = IdentityUnmarshaller.Instance; response.Member = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("Preferences", targetDepth)) { var unmarshaller = ChannelMembershipPreferencesUnmarshaller.Instance; response.Preferences = 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 AmazonChimeSDKMessagingException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static PutChannelMembershipPreferencesResponseUnmarshaller _instance = new PutChannelMembershipPreferencesResponseUnmarshaller(); internal static PutChannelMembershipPreferencesResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static PutChannelMembershipPreferencesResponseUnmarshaller 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-messaging-2021-05-15.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.ChimeSDKMessaging.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKMessaging.Model.Internal.MarshallTransformations { /// <summary> /// PutMessagingStreamingConfigurations Request Marshaller /// </summary> public class PutMessagingStreamingConfigurationsRequestMarshaller : IMarshaller<IRequest, PutMessagingStreamingConfigurationsRequest> , 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((PutMessagingStreamingConfigurationsRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(PutMessagingStreamingConfigurationsRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.ChimeSDKMessaging"); request.Headers["Content-Type"] = "application/json"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2021-05-15"; request.HttpMethod = "PUT"; if (!publicRequest.IsSetAppInstanceArn()) throw new AmazonChimeSDKMessagingException("Request object does not have required field AppInstanceArn set"); request.AddPathResource("{appInstanceArn}", StringUtils.FromString(publicRequest.AppInstanceArn)); request.ResourcePath = "/app-instances/{appInstanceArn}/streaming-configurations"; using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture)) { JsonWriter writer = new JsonWriter(stringWriter); writer.WriteObjectStart(); var context = new JsonMarshallerContext(request, writer); if(publicRequest.IsSetStreamingConfigurations()) { context.Writer.WritePropertyName("StreamingConfigurations"); context.Writer.WriteArrayStart(); foreach(var publicRequestStreamingConfigurationsListValue in publicRequest.StreamingConfigurations) { context.Writer.WriteObjectStart(); var marshaller = StreamingConfigurationMarshaller.Instance; marshaller.Marshall(publicRequestStreamingConfigurationsListValue, 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 PutMessagingStreamingConfigurationsRequestMarshaller _instance = new PutMessagingStreamingConfigurationsRequestMarshaller(); internal static PutMessagingStreamingConfigurationsRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static PutMessagingStreamingConfigurationsRequestMarshaller Instance { get { return _instance; } } } }
114
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the chime-sdk-messaging-2021-05-15.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.ChimeSDKMessaging.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKMessaging.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for PutMessagingStreamingConfigurations operation /// </summary> public class PutMessagingStreamingConfigurationsResponseUnmarshaller : 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) { PutMessagingStreamingConfigurationsResponse response = new PutMessagingStreamingConfigurationsResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("StreamingConfigurations", targetDepth)) { var unmarshaller = new ListUnmarshaller<StreamingConfiguration, StreamingConfigurationUnmarshaller>(StreamingConfigurationUnmarshaller.Instance); response.StreamingConfigurations = 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("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 AmazonChimeSDKMessagingException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static PutMessagingStreamingConfigurationsResponseUnmarshaller _instance = new PutMessagingStreamingConfigurationsResponseUnmarshaller(); internal static PutMessagingStreamingConfigurationsResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static PutMessagingStreamingConfigurationsResponseUnmarshaller 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-messaging-2021-05-15.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.ChimeSDKMessaging.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKMessaging.Model.Internal.MarshallTransformations { /// <summary> /// RedactChannelMessage Request Marshaller /// </summary> public class RedactChannelMessageRequestMarshaller : IMarshaller<IRequest, RedactChannelMessageRequest> , 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((RedactChannelMessageRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(RedactChannelMessageRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.ChimeSDKMessaging"); request.Headers["Content-Type"] = "application/json"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2021-05-15"; request.HttpMethod = "POST"; request.AddSubResource("operation", "redact"); if (!publicRequest.IsSetChannelArn()) throw new AmazonChimeSDKMessagingException("Request object does not have required field ChannelArn set"); request.AddPathResource("{channelArn}", StringUtils.FromString(publicRequest.ChannelArn)); if (!publicRequest.IsSetMessageId()) throw new AmazonChimeSDKMessagingException("Request object does not have required field MessageId set"); request.AddPathResource("{messageId}", StringUtils.FromString(publicRequest.MessageId)); request.ResourcePath = "/channels/{channelArn}/messages/{messageId}"; using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture)) { JsonWriter writer = new JsonWriter(stringWriter); writer.WriteObjectStart(); var context = new JsonMarshallerContext(request, writer); if(publicRequest.IsSetSubChannelId()) { context.Writer.WritePropertyName("SubChannelId"); context.Writer.Write(publicRequest.SubChannelId); } writer.WriteObjectEnd(); string snippet = stringWriter.ToString(); request.Content = System.Text.Encoding.UTF8.GetBytes(snippet); } if (publicRequest.IsSetChimeBearer()) { request.Headers["x-amz-chime-bearer"] = publicRequest.ChimeBearer; } return request; } private static RedactChannelMessageRequestMarshaller _instance = new RedactChannelMessageRequestMarshaller(); internal static RedactChannelMessageRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static RedactChannelMessageRequestMarshaller 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-messaging-2021-05-15.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.ChimeSDKMessaging.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKMessaging.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for RedactChannelMessage operation /// </summary> public class RedactChannelMessageResponseUnmarshaller : 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) { RedactChannelMessageResponse response = new RedactChannelMessageResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("ChannelArn", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.ChannelArn = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("MessageId", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.MessageId = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("SubChannelId", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.SubChannelId = 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 AmazonChimeSDKMessagingException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static RedactChannelMessageResponseUnmarshaller _instance = new RedactChannelMessageResponseUnmarshaller(); internal static RedactChannelMessageResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static RedactChannelMessageResponseUnmarshaller 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-messaging-2021-05-15.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.ChimeSDKMessaging.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKMessaging.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-messaging-2021-05-15.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.ChimeSDKMessaging.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKMessaging.Model.Internal.MarshallTransformations { /// <summary> /// SearchChannels Request Marshaller /// </summary> public class SearchChannelsRequestMarshaller : IMarshaller<IRequest, SearchChannelsRequest> , 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((SearchChannelsRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(SearchChannelsRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.ChimeSDKMessaging"); request.Headers["Content-Type"] = "application/json"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2021-05-15"; request.HttpMethod = "POST"; request.AddSubResource("operation", "search"); 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 = "/channels"; using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture)) { JsonWriter writer = new JsonWriter(stringWriter); writer.WriteObjectStart(); var context = new JsonMarshallerContext(request, writer); if(publicRequest.IsSetFields()) { context.Writer.WritePropertyName("Fields"); context.Writer.WriteArrayStart(); foreach(var publicRequestFieldsListValue in publicRequest.Fields) { context.Writer.WriteObjectStart(); var marshaller = SearchFieldMarshaller.Instance; marshaller.Marshall(publicRequestFieldsListValue, context); context.Writer.WriteObjectEnd(); } context.Writer.WriteArrayEnd(); } writer.WriteObjectEnd(); string snippet = stringWriter.ToString(); request.Content = System.Text.Encoding.UTF8.GetBytes(snippet); } if (publicRequest.IsSetChimeBearer()) { request.Headers["x-amz-chime-bearer"] = publicRequest.ChimeBearer; } request.UseQueryString = true; return request; } private static SearchChannelsRequestMarshaller _instance = new SearchChannelsRequestMarshaller(); internal static SearchChannelsRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static SearchChannelsRequestMarshaller Instance { get { return _instance; } } } }
124
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the chime-sdk-messaging-2021-05-15.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.ChimeSDKMessaging.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKMessaging.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for SearchChannels operation /// </summary> public class SearchChannelsResponseUnmarshaller : 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) { SearchChannelsResponse response = new SearchChannelsResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("Channels", targetDepth)) { var unmarshaller = new ListUnmarshaller<ChannelSummary, ChannelSummaryUnmarshaller>(ChannelSummaryUnmarshaller.Instance); response.Channels = 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 AmazonChimeSDKMessagingException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static SearchChannelsResponseUnmarshaller _instance = new SearchChannelsResponseUnmarshaller(); internal static SearchChannelsResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static SearchChannelsResponseUnmarshaller 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-messaging-2021-05-15.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.ChimeSDKMessaging.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKMessaging.Model.Internal.MarshallTransformations { /// <summary> /// SearchField Marshaller /// </summary> public class SearchFieldMarshaller : IRequestMarshaller<SearchField, 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(SearchField requestObject, JsonMarshallerContext context) { if(requestObject.IsSetKey()) { context.Writer.WritePropertyName("Key"); context.Writer.Write(requestObject.Key); } if(requestObject.IsSetOperator()) { context.Writer.WritePropertyName("Operator"); context.Writer.Write(requestObject.Operator); } if(requestObject.IsSetValues()) { context.Writer.WritePropertyName("Values"); context.Writer.WriteArrayStart(); foreach(var requestObjectValuesListValue in requestObject.Values) { context.Writer.Write(requestObjectValuesListValue); } context.Writer.WriteArrayEnd(); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static SearchFieldMarshaller Instance = new SearchFieldMarshaller(); } }
79
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the chime-sdk-messaging-2021-05-15.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.ChimeSDKMessaging.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKMessaging.Model.Internal.MarshallTransformations { /// <summary> /// SendChannelMessage Request Marshaller /// </summary> public class SendChannelMessageRequestMarshaller : IMarshaller<IRequest, SendChannelMessageRequest> , 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((SendChannelMessageRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(SendChannelMessageRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.ChimeSDKMessaging"); request.Headers["Content-Type"] = "application/json"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2021-05-15"; request.HttpMethod = "POST"; if (!publicRequest.IsSetChannelArn()) throw new AmazonChimeSDKMessagingException("Request object does not have required field ChannelArn set"); request.AddPathResource("{channelArn}", StringUtils.FromString(publicRequest.ChannelArn)); request.ResourcePath = "/channels/{channelArn}/messages"; using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture)) { JsonWriter writer = new JsonWriter(stringWriter); writer.WriteObjectStart(); var context = new JsonMarshallerContext(request, writer); 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.IsSetContent()) { context.Writer.WritePropertyName("Content"); context.Writer.Write(publicRequest.Content); } if(publicRequest.IsSetContentType()) { context.Writer.WritePropertyName("ContentType"); context.Writer.Write(publicRequest.ContentType); } if(publicRequest.IsSetMessageAttributes()) { context.Writer.WritePropertyName("MessageAttributes"); context.Writer.WriteObjectStart(); foreach (var publicRequestMessageAttributesKvp in publicRequest.MessageAttributes) { context.Writer.WritePropertyName(publicRequestMessageAttributesKvp.Key); var publicRequestMessageAttributesValue = publicRequestMessageAttributesKvp.Value; context.Writer.WriteObjectStart(); var marshaller = MessageAttributeValueMarshaller.Instance; marshaller.Marshall(publicRequestMessageAttributesValue, context); context.Writer.WriteObjectEnd(); } context.Writer.WriteObjectEnd(); } if(publicRequest.IsSetMetadata()) { context.Writer.WritePropertyName("Metadata"); context.Writer.Write(publicRequest.Metadata); } if(publicRequest.IsSetPersistence()) { context.Writer.WritePropertyName("Persistence"); context.Writer.Write(publicRequest.Persistence); } if(publicRequest.IsSetPushNotification()) { context.Writer.WritePropertyName("PushNotification"); context.Writer.WriteObjectStart(); var marshaller = PushNotificationConfigurationMarshaller.Instance; marshaller.Marshall(publicRequest.PushNotification, context); context.Writer.WriteObjectEnd(); } if(publicRequest.IsSetSubChannelId()) { context.Writer.WritePropertyName("SubChannelId"); context.Writer.Write(publicRequest.SubChannelId); } if(publicRequest.IsSetTarget()) { context.Writer.WritePropertyName("Target"); context.Writer.WriteArrayStart(); foreach(var publicRequestTargetListValue in publicRequest.Target) { context.Writer.WriteObjectStart(); var marshaller = TargetMarshaller.Instance; marshaller.Marshall(publicRequestTargetListValue, context); context.Writer.WriteObjectEnd(); } context.Writer.WriteArrayEnd(); } 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); } if (publicRequest.IsSetChimeBearer()) { request.Headers["x-amz-chime-bearer"] = publicRequest.ChimeBearer; } return request; } private static SendChannelMessageRequestMarshaller _instance = new SendChannelMessageRequestMarshaller(); internal static SendChannelMessageRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static SendChannelMessageRequestMarshaller Instance { get { return _instance; } } } }
196
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-messaging-2021-05-15.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.ChimeSDKMessaging.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKMessaging.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for SendChannelMessage operation /// </summary> public class SendChannelMessageResponseUnmarshaller : 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) { SendChannelMessageResponse response = new SendChannelMessageResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("ChannelArn", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.ChannelArn = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("MessageId", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.MessageId = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("Status", targetDepth)) { var unmarshaller = ChannelMessageStatusStructureUnmarshaller.Instance; response.Status = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("SubChannelId", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.SubChannelId = 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 AmazonChimeSDKMessagingException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static SendChannelMessageResponseUnmarshaller _instance = new SendChannelMessageResponseUnmarshaller(); internal static SendChannelMessageResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static SendChannelMessageResponseUnmarshaller Instance { get { return _instance; } } } }
152
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-messaging-2021-05-15.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.ChimeSDKMessaging.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKMessaging.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-messaging-2021-05-15.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.ChimeSDKMessaging.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKMessaging.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-messaging-2021-05-15.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.ChimeSDKMessaging.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKMessaging.Model.Internal.MarshallTransformations { /// <summary> /// StreamingConfiguration Marshaller /// </summary> public class StreamingConfigurationMarshaller : IRequestMarshaller<StreamingConfiguration, 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(StreamingConfiguration requestObject, JsonMarshallerContext context) { if(requestObject.IsSetDataType()) { context.Writer.WritePropertyName("DataType"); context.Writer.Write(requestObject.DataType); } if(requestObject.IsSetResourceArn()) { context.Writer.WritePropertyName("ResourceArn"); context.Writer.Write(requestObject.ResourceArn); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static StreamingConfigurationMarshaller Instance = new StreamingConfigurationMarshaller(); } }
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-messaging-2021-05-15.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.ChimeSDKMessaging.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKMessaging.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for StreamingConfiguration Object /// </summary> public class StreamingConfigurationUnmarshaller : IUnmarshaller<StreamingConfiguration, XmlUnmarshallerContext>, IUnmarshaller<StreamingConfiguration, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> StreamingConfiguration IUnmarshaller<StreamingConfiguration, 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 StreamingConfiguration Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; StreamingConfiguration unmarshalledObject = new StreamingConfiguration(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("DataType", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.DataType = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("ResourceArn", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.ResourceArn = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static StreamingConfigurationUnmarshaller _instance = new StreamingConfigurationUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static StreamingConfigurationUnmarshaller 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-messaging-2021-05-15.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.ChimeSDKMessaging.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKMessaging.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for SubChannelSummary Object /// </summary> public class SubChannelSummaryUnmarshaller : IUnmarshaller<SubChannelSummary, XmlUnmarshallerContext>, IUnmarshaller<SubChannelSummary, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> SubChannelSummary IUnmarshaller<SubChannelSummary, 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 SubChannelSummary Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; SubChannelSummary unmarshalledObject = new SubChannelSummary(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("MembershipCount", targetDepth)) { var unmarshaller = IntUnmarshaller.Instance; unmarshalledObject.MembershipCount = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("SubChannelId", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.SubChannelId = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static SubChannelSummaryUnmarshaller _instance = new SubChannelSummaryUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static SubChannelSummaryUnmarshaller 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-messaging-2021-05-15.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.ChimeSDKMessaging.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKMessaging.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-messaging-2021-05-15.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.ChimeSDKMessaging.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKMessaging.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.ChimeSDKMessaging"); request.Headers["Content-Type"] = "application/json"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2021-05-15"; 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-messaging-2021-05-15.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.ChimeSDKMessaging.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKMessaging.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 AmazonChimeSDKMessagingException(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-messaging-2021-05-15.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.ChimeSDKMessaging.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKMessaging.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-messaging-2021-05-15.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.ChimeSDKMessaging.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKMessaging.Model.Internal.MarshallTransformations { /// <summary> /// Target Marshaller /// </summary> public class TargetMarshaller : IRequestMarshaller<Target, 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(Target requestObject, JsonMarshallerContext context) { if(requestObject.IsSetMemberArn()) { context.Writer.WritePropertyName("MemberArn"); context.Writer.Write(requestObject.MemberArn); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static TargetMarshaller Instance = new TargetMarshaller(); } }
62
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the chime-sdk-messaging-2021-05-15.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.ChimeSDKMessaging.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKMessaging.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for Target Object /// </summary> public class TargetUnmarshaller : IUnmarshaller<Target, XmlUnmarshallerContext>, IUnmarshaller<Target, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> Target IUnmarshaller<Target, 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 Target Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; Target unmarshalledObject = new Target(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("MemberArn", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.MemberArn = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static TargetUnmarshaller _instance = new TargetUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static TargetUnmarshaller Instance { get { return _instance; } } } }
92
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the chime-sdk-messaging-2021-05-15.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.ChimeSDKMessaging.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKMessaging.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-messaging-2021-05-15.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.ChimeSDKMessaging.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKMessaging.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-messaging-2021-05-15.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.ChimeSDKMessaging.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKMessaging.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.ChimeSDKMessaging"); request.Headers["Content-Type"] = "application/json"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2021-05-15"; 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-messaging-2021-05-15.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.ChimeSDKMessaging.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKMessaging.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 AmazonChimeSDKMessagingException(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-messaging-2021-05-15.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.ChimeSDKMessaging.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKMessaging.Model.Internal.MarshallTransformations { /// <summary> /// UpdateChannelFlow Request Marshaller /// </summary> public class UpdateChannelFlowRequestMarshaller : IMarshaller<IRequest, UpdateChannelFlowRequest> , 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((UpdateChannelFlowRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(UpdateChannelFlowRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.ChimeSDKMessaging"); request.Headers["Content-Type"] = "application/json"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2021-05-15"; request.HttpMethod = "PUT"; if (!publicRequest.IsSetChannelFlowArn()) throw new AmazonChimeSDKMessagingException("Request object does not have required field ChannelFlowArn set"); request.AddPathResource("{channelFlowArn}", StringUtils.FromString(publicRequest.ChannelFlowArn)); request.ResourcePath = "/channel-flows/{channelFlowArn}"; using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture)) { JsonWriter writer = new JsonWriter(stringWriter); writer.WriteObjectStart(); var context = new JsonMarshallerContext(request, writer); if(publicRequest.IsSetName()) { context.Writer.WritePropertyName("Name"); context.Writer.Write(publicRequest.Name); } if(publicRequest.IsSetProcessors()) { context.Writer.WritePropertyName("Processors"); context.Writer.WriteArrayStart(); foreach(var publicRequestProcessorsListValue in publicRequest.Processors) { context.Writer.WriteObjectStart(); var marshaller = ProcessorMarshaller.Instance; marshaller.Marshall(publicRequestProcessorsListValue, 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 UpdateChannelFlowRequestMarshaller _instance = new UpdateChannelFlowRequestMarshaller(); internal static UpdateChannelFlowRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateChannelFlowRequestMarshaller Instance { get { return _instance; } } } }
120
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the chime-sdk-messaging-2021-05-15.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.ChimeSDKMessaging.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKMessaging.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for UpdateChannelFlow operation /// </summary> public class UpdateChannelFlowResponseUnmarshaller : 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) { UpdateChannelFlowResponse response = new UpdateChannelFlowResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("ChannelFlowArn", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.ChannelFlowArn = 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 AmazonChimeSDKMessagingException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static UpdateChannelFlowResponseUnmarshaller _instance = new UpdateChannelFlowResponseUnmarshaller(); internal static UpdateChannelFlowResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateChannelFlowResponseUnmarshaller 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-messaging-2021-05-15.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.ChimeSDKMessaging.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKMessaging.Model.Internal.MarshallTransformations { /// <summary> /// UpdateChannelMessage Request Marshaller /// </summary> public class UpdateChannelMessageRequestMarshaller : IMarshaller<IRequest, UpdateChannelMessageRequest> , 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((UpdateChannelMessageRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(UpdateChannelMessageRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.ChimeSDKMessaging"); request.Headers["Content-Type"] = "application/json"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2021-05-15"; request.HttpMethod = "PUT"; if (!publicRequest.IsSetChannelArn()) throw new AmazonChimeSDKMessagingException("Request object does not have required field ChannelArn set"); request.AddPathResource("{channelArn}", StringUtils.FromString(publicRequest.ChannelArn)); if (!publicRequest.IsSetMessageId()) throw new AmazonChimeSDKMessagingException("Request object does not have required field MessageId set"); request.AddPathResource("{messageId}", StringUtils.FromString(publicRequest.MessageId)); request.ResourcePath = "/channels/{channelArn}/messages/{messageId}"; using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture)) { JsonWriter writer = new JsonWriter(stringWriter); writer.WriteObjectStart(); var context = new JsonMarshallerContext(request, writer); if(publicRequest.IsSetContent()) { context.Writer.WritePropertyName("Content"); context.Writer.Write(publicRequest.Content); } if(publicRequest.IsSetContentType()) { context.Writer.WritePropertyName("ContentType"); context.Writer.Write(publicRequest.ContentType); } if(publicRequest.IsSetMetadata()) { context.Writer.WritePropertyName("Metadata"); context.Writer.Write(publicRequest.Metadata); } if(publicRequest.IsSetSubChannelId()) { context.Writer.WritePropertyName("SubChannelId"); context.Writer.Write(publicRequest.SubChannelId); } writer.WriteObjectEnd(); string snippet = stringWriter.ToString(); request.Content = System.Text.Encoding.UTF8.GetBytes(snippet); } if (publicRequest.IsSetChimeBearer()) { request.Headers["x-amz-chime-bearer"] = publicRequest.ChimeBearer; } return request; } private static UpdateChannelMessageRequestMarshaller _instance = new UpdateChannelMessageRequestMarshaller(); internal static UpdateChannelMessageRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateChannelMessageRequestMarshaller 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-messaging-2021-05-15.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.ChimeSDKMessaging.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKMessaging.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for UpdateChannelMessage operation /// </summary> public class UpdateChannelMessageResponseUnmarshaller : 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) { UpdateChannelMessageResponse response = new UpdateChannelMessageResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("ChannelArn", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.ChannelArn = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("MessageId", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.MessageId = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("Status", targetDepth)) { var unmarshaller = ChannelMessageStatusStructureUnmarshaller.Instance; response.Status = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("SubChannelId", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.SubChannelId = 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 AmazonChimeSDKMessagingException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static UpdateChannelMessageResponseUnmarshaller _instance = new UpdateChannelMessageResponseUnmarshaller(); internal static UpdateChannelMessageResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateChannelMessageResponseUnmarshaller Instance { get { return _instance; } } } }
152
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-messaging-2021-05-15.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.ChimeSDKMessaging.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKMessaging.Model.Internal.MarshallTransformations { /// <summary> /// UpdateChannelReadMarker Request Marshaller /// </summary> public class UpdateChannelReadMarkerRequestMarshaller : IMarshaller<IRequest, UpdateChannelReadMarkerRequest> , 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((UpdateChannelReadMarkerRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(UpdateChannelReadMarkerRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.ChimeSDKMessaging"); request.Headers["Content-Type"] = "application/json"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2021-05-15"; request.HttpMethod = "PUT"; if (!publicRequest.IsSetChannelArn()) throw new AmazonChimeSDKMessagingException("Request object does not have required field ChannelArn set"); request.AddPathResource("{channelArn}", StringUtils.FromString(publicRequest.ChannelArn)); request.ResourcePath = "/channels/{channelArn}/readMarker"; if (publicRequest.IsSetChimeBearer()) { request.Headers["x-amz-chime-bearer"] = publicRequest.ChimeBearer; } return request; } private static UpdateChannelReadMarkerRequestMarshaller _instance = new UpdateChannelReadMarkerRequestMarshaller(); internal static UpdateChannelReadMarkerRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateChannelReadMarkerRequestMarshaller Instance { get { return _instance; } } } }
93
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-messaging-2021-05-15.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.ChimeSDKMessaging.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKMessaging.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for UpdateChannelReadMarker operation /// </summary> public class UpdateChannelReadMarkerResponseUnmarshaller : 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) { UpdateChannelReadMarkerResponse response = new UpdateChannelReadMarkerResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("ChannelArn", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.ChannelArn = 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 AmazonChimeSDKMessagingException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static UpdateChannelReadMarkerResponseUnmarshaller _instance = new UpdateChannelReadMarkerResponseUnmarshaller(); internal static UpdateChannelReadMarkerResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateChannelReadMarkerResponseUnmarshaller 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-messaging-2021-05-15.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.ChimeSDKMessaging.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKMessaging.Model.Internal.MarshallTransformations { /// <summary> /// UpdateChannel Request Marshaller /// </summary> public class UpdateChannelRequestMarshaller : IMarshaller<IRequest, UpdateChannelRequest> , 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((UpdateChannelRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(UpdateChannelRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.ChimeSDKMessaging"); request.Headers["Content-Type"] = "application/json"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2021-05-15"; request.HttpMethod = "PUT"; if (!publicRequest.IsSetChannelArn()) throw new AmazonChimeSDKMessagingException("Request object does not have required field ChannelArn set"); request.AddPathResource("{channelArn}", StringUtils.FromString(publicRequest.ChannelArn)); request.ResourcePath = "/channels/{channelArn}"; 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.IsSetMode()) { context.Writer.WritePropertyName("Mode"); context.Writer.Write(publicRequest.Mode); } 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); } if (publicRequest.IsSetChimeBearer()) { request.Headers["x-amz-chime-bearer"] = publicRequest.ChimeBearer; } return request; } private static UpdateChannelRequestMarshaller _instance = new UpdateChannelRequestMarshaller(); internal static UpdateChannelRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateChannelRequestMarshaller 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-messaging-2021-05-15.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.ChimeSDKMessaging.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.ChimeSDKMessaging.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for UpdateChannel operation /// </summary> public class UpdateChannelResponseUnmarshaller : 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) { UpdateChannelResponse response = new UpdateChannelResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("ChannelArn", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.ChannelArn = 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 AmazonChimeSDKMessagingException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static UpdateChannelResponseUnmarshaller _instance = new UpdateChannelResponseUnmarshaller(); internal static UpdateChannelResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateChannelResponseUnmarshaller 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-messaging-2021-05-15.normal.json service model. */ using System; using System.Collections.Generic; using System.Text; namespace Amazon.ChimeSDKMessaging.Model { /// <summary> /// Paginators for the ChimeSDKMessaging service ///</summary> public class ChimeSDKMessagingPaginatorFactory : IChimeSDKMessagingPaginatorFactory { private readonly IAmazonChimeSDKMessaging client; internal ChimeSDKMessagingPaginatorFactory(IAmazonChimeSDKMessaging client) { this.client = client; } /// <summary> /// Paginator for ListChannelBans operation ///</summary> public IListChannelBansPaginator ListChannelBans(ListChannelBansRequest request) { return new ListChannelBansPaginator(this.client, request); } /// <summary> /// Paginator for ListChannelFlows operation ///</summary> public IListChannelFlowsPaginator ListChannelFlows(ListChannelFlowsRequest request) { return new ListChannelFlowsPaginator(this.client, request); } /// <summary> /// Paginator for ListChannelMemberships operation ///</summary> public IListChannelMembershipsPaginator ListChannelMemberships(ListChannelMembershipsRequest request) { return new ListChannelMembershipsPaginator(this.client, request); } /// <summary> /// Paginator for ListChannelMembershipsForAppInstanceUser operation ///</summary> public IListChannelMembershipsForAppInstanceUserPaginator ListChannelMembershipsForAppInstanceUser(ListChannelMembershipsForAppInstanceUserRequest request) { return new ListChannelMembershipsForAppInstanceUserPaginator(this.client, request); } /// <summary> /// Paginator for ListChannelMessages operation ///</summary> public IListChannelMessagesPaginator ListChannelMessages(ListChannelMessagesRequest request) { return new ListChannelMessagesPaginator(this.client, request); } /// <summary> /// Paginator for ListChannelModerators operation ///</summary> public IListChannelModeratorsPaginator ListChannelModerators(ListChannelModeratorsRequest request) { return new ListChannelModeratorsPaginator(this.client, request); } /// <summary> /// Paginator for ListChannels operation ///</summary> public IListChannelsPaginator ListChannels(ListChannelsRequest request) { return new ListChannelsPaginator(this.client, request); } /// <summary> /// Paginator for ListChannelsAssociatedWithChannelFlow operation ///</summary> public IListChannelsAssociatedWithChannelFlowPaginator ListChannelsAssociatedWithChannelFlow(ListChannelsAssociatedWithChannelFlowRequest request) { return new ListChannelsAssociatedWithChannelFlowPaginator(this.client, request); } /// <summary> /// Paginator for ListChannelsModeratedByAppInstanceUser operation ///</summary> public IListChannelsModeratedByAppInstanceUserPaginator ListChannelsModeratedByAppInstanceUser(ListChannelsModeratedByAppInstanceUserRequest request) { return new ListChannelsModeratedByAppInstanceUserPaginator(this.client, request); } /// <summary> /// Paginator for ListSubChannels operation ///</summary> public IListSubChannelsPaginator ListSubChannels(ListSubChannelsRequest request) { return new ListSubChannelsPaginator(this.client, request); } /// <summary> /// Paginator for SearchChannels operation ///</summary> public ISearchChannelsPaginator SearchChannels(SearchChannelsRequest request) { return new SearchChannelsPaginator(this.client, request); } } }
126
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the chime-sdk-messaging-2021-05-15.normal.json service model. */ namespace Amazon.ChimeSDKMessaging.Model { /// <summary> /// Paginators for the ChimeSDKMessaging service ///</summary> public interface IChimeSDKMessagingPaginatorFactory { /// <summary> /// Paginator for ListChannelBans operation ///</summary> IListChannelBansPaginator ListChannelBans(ListChannelBansRequest request); /// <summary> /// Paginator for ListChannelFlows operation ///</summary> IListChannelFlowsPaginator ListChannelFlows(ListChannelFlowsRequest request); /// <summary> /// Paginator for ListChannelMemberships operation ///</summary> IListChannelMembershipsPaginator ListChannelMemberships(ListChannelMembershipsRequest request); /// <summary> /// Paginator for ListChannelMembershipsForAppInstanceUser operation ///</summary> IListChannelMembershipsForAppInstanceUserPaginator ListChannelMembershipsForAppInstanceUser(ListChannelMembershipsForAppInstanceUserRequest request); /// <summary> /// Paginator for ListChannelMessages operation ///</summary> IListChannelMessagesPaginator ListChannelMessages(ListChannelMessagesRequest request); /// <summary> /// Paginator for ListChannelModerators operation ///</summary> IListChannelModeratorsPaginator ListChannelModerators(ListChannelModeratorsRequest request); /// <summary> /// Paginator for ListChannels operation ///</summary> IListChannelsPaginator ListChannels(ListChannelsRequest request); /// <summary> /// Paginator for ListChannelsAssociatedWithChannelFlow operation ///</summary> IListChannelsAssociatedWithChannelFlowPaginator ListChannelsAssociatedWithChannelFlow(ListChannelsAssociatedWithChannelFlowRequest request); /// <summary> /// Paginator for ListChannelsModeratedByAppInstanceUser operation ///</summary> IListChannelsModeratedByAppInstanceUserPaginator ListChannelsModeratedByAppInstanceUser(ListChannelsModeratedByAppInstanceUserRequest request); /// <summary> /// Paginator for ListSubChannels operation ///</summary> IListSubChannelsPaginator ListSubChannels(ListSubChannelsRequest request); /// <summary> /// Paginator for SearchChannels operation ///</summary> ISearchChannelsPaginator SearchChannels(SearchChannelsRequest request); } }
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-messaging-2021-05-15.normal.json service model. */ using Amazon.Runtime; namespace Amazon.ChimeSDKMessaging.Model { /// <summary> /// Paginator for the ListChannelBans operation ///</summary> public interface IListChannelBansPaginator { /// <summary> /// Enumerable containing all full responses for the operation /// </summary> IPaginatedEnumerable<ListChannelBansResponse> 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-messaging-2021-05-15.normal.json service model. */ using Amazon.Runtime; namespace Amazon.ChimeSDKMessaging.Model { /// <summary> /// Paginator for the ListChannelFlows operation ///</summary> public interface IListChannelFlowsPaginator { /// <summary> /// Enumerable containing all full responses for the operation /// </summary> IPaginatedEnumerable<ListChannelFlowsResponse> 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-messaging-2021-05-15.normal.json service model. */ using Amazon.Runtime; namespace Amazon.ChimeSDKMessaging.Model { /// <summary> /// Paginator for the ListChannelMembershipsForAppInstanceUser operation ///</summary> public interface IListChannelMembershipsForAppInstanceUserPaginator { /// <summary> /// Enumerable containing all full responses for the operation /// </summary> IPaginatedEnumerable<ListChannelMembershipsForAppInstanceUserResponse> 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-messaging-2021-05-15.normal.json service model. */ using Amazon.Runtime; namespace Amazon.ChimeSDKMessaging.Model { /// <summary> /// Paginator for the ListChannelMemberships operation ///</summary> public interface IListChannelMembershipsPaginator { /// <summary> /// Enumerable containing all full responses for the operation /// </summary> IPaginatedEnumerable<ListChannelMembershipsResponse> 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-messaging-2021-05-15.normal.json service model. */ using Amazon.Runtime; namespace Amazon.ChimeSDKMessaging.Model { /// <summary> /// Paginator for the ListChannelMessages operation ///</summary> public interface IListChannelMessagesPaginator { /// <summary> /// Enumerable containing all full responses for the operation /// </summary> IPaginatedEnumerable<ListChannelMessagesResponse> 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-messaging-2021-05-15.normal.json service model. */ using Amazon.Runtime; namespace Amazon.ChimeSDKMessaging.Model { /// <summary> /// Paginator for the ListChannelModerators operation ///</summary> public interface IListChannelModeratorsPaginator { /// <summary> /// Enumerable containing all full responses for the operation /// </summary> IPaginatedEnumerable<ListChannelModeratorsResponse> 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-messaging-2021-05-15.normal.json service model. */ using Amazon.Runtime; namespace Amazon.ChimeSDKMessaging.Model { /// <summary> /// Paginator for the ListChannelsAssociatedWithChannelFlow operation ///</summary> public interface IListChannelsAssociatedWithChannelFlowPaginator { /// <summary> /// Enumerable containing all full responses for the operation /// </summary> IPaginatedEnumerable<ListChannelsAssociatedWithChannelFlowResponse> 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-messaging-2021-05-15.normal.json service model. */ using Amazon.Runtime; namespace Amazon.ChimeSDKMessaging.Model { /// <summary> /// Paginator for the ListChannelsModeratedByAppInstanceUser operation ///</summary> public interface IListChannelsModeratedByAppInstanceUserPaginator { /// <summary> /// Enumerable containing all full responses for the operation /// </summary> IPaginatedEnumerable<ListChannelsModeratedByAppInstanceUserResponse> 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-messaging-2021-05-15.normal.json service model. */ using Amazon.Runtime; namespace Amazon.ChimeSDKMessaging.Model { /// <summary> /// Paginator for the ListChannels operation ///</summary> public interface IListChannelsPaginator { /// <summary> /// Enumerable containing all full responses for the operation /// </summary> IPaginatedEnumerable<ListChannelsResponse> 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-messaging-2021-05-15.normal.json service model. */ using Amazon.Runtime; namespace Amazon.ChimeSDKMessaging.Model { /// <summary> /// Paginator for the ListSubChannels operation ///</summary> public interface IListSubChannelsPaginator { /// <summary> /// Enumerable containing all full responses for the operation /// </summary> IPaginatedEnumerable<ListSubChannelsResponse> 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-messaging-2021-05-15.normal.json service model. */ using Amazon.Runtime; namespace Amazon.ChimeSDKMessaging.Model { /// <summary> /// Paginator for the SearchChannels operation ///</summary> public interface ISearchChannelsPaginator { /// <summary> /// Enumerable containing all full responses for the operation /// </summary> IPaginatedEnumerable<SearchChannelsResponse> 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-messaging-2021-05-15.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.ChimeSDKMessaging.Model { /// <summary> /// Base class for ListChannelBans paginators. /// </summary> internal sealed partial class ListChannelBansPaginator : IPaginator<ListChannelBansResponse>, IListChannelBansPaginator { private readonly IAmazonChimeSDKMessaging _client; private readonly ListChannelBansRequest _request; private int _isPaginatorInUse = 0; /// <summary> /// Enumerable containing all full responses for the operation /// </summary> public IPaginatedEnumerable<ListChannelBansResponse> Responses => new PaginatedResponse<ListChannelBansResponse>(this); internal ListChannelBansPaginator(IAmazonChimeSDKMessaging client, ListChannelBansRequest request) { this._client = client; this._request = request; } #if BCL IEnumerable<ListChannelBansResponse> IPaginator<ListChannelBansResponse>.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; ListChannelBansResponse response; do { _request.NextToken = nextToken; response = _client.ListChannelBans(_request); nextToken = response.NextToken; yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif #if AWS_ASYNC_ENUMERABLES_API async IAsyncEnumerable<ListChannelBansResponse> IPaginator<ListChannelBansResponse>.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; ListChannelBansResponse response; do { _request.NextToken = nextToken; response = await _client.ListChannelBansAsync(_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-messaging-2021-05-15.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.ChimeSDKMessaging.Model { /// <summary> /// Base class for ListChannelFlows paginators. /// </summary> internal sealed partial class ListChannelFlowsPaginator : IPaginator<ListChannelFlowsResponse>, IListChannelFlowsPaginator { private readonly IAmazonChimeSDKMessaging _client; private readonly ListChannelFlowsRequest _request; private int _isPaginatorInUse = 0; /// <summary> /// Enumerable containing all full responses for the operation /// </summary> public IPaginatedEnumerable<ListChannelFlowsResponse> Responses => new PaginatedResponse<ListChannelFlowsResponse>(this); internal ListChannelFlowsPaginator(IAmazonChimeSDKMessaging client, ListChannelFlowsRequest request) { this._client = client; this._request = request; } #if BCL IEnumerable<ListChannelFlowsResponse> IPaginator<ListChannelFlowsResponse>.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; ListChannelFlowsResponse response; do { _request.NextToken = nextToken; response = _client.ListChannelFlows(_request); nextToken = response.NextToken; yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif #if AWS_ASYNC_ENUMERABLES_API async IAsyncEnumerable<ListChannelFlowsResponse> IPaginator<ListChannelFlowsResponse>.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; ListChannelFlowsResponse response; do { _request.NextToken = nextToken; response = await _client.ListChannelFlowsAsync(_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-messaging-2021-05-15.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.ChimeSDKMessaging.Model { /// <summary> /// Base class for ListChannelMembershipsForAppInstanceUser paginators. /// </summary> internal sealed partial class ListChannelMembershipsForAppInstanceUserPaginator : IPaginator<ListChannelMembershipsForAppInstanceUserResponse>, IListChannelMembershipsForAppInstanceUserPaginator { private readonly IAmazonChimeSDKMessaging _client; private readonly ListChannelMembershipsForAppInstanceUserRequest _request; private int _isPaginatorInUse = 0; /// <summary> /// Enumerable containing all full responses for the operation /// </summary> public IPaginatedEnumerable<ListChannelMembershipsForAppInstanceUserResponse> Responses => new PaginatedResponse<ListChannelMembershipsForAppInstanceUserResponse>(this); internal ListChannelMembershipsForAppInstanceUserPaginator(IAmazonChimeSDKMessaging client, ListChannelMembershipsForAppInstanceUserRequest request) { this._client = client; this._request = request; } #if BCL IEnumerable<ListChannelMembershipsForAppInstanceUserResponse> IPaginator<ListChannelMembershipsForAppInstanceUserResponse>.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; ListChannelMembershipsForAppInstanceUserResponse response; do { _request.NextToken = nextToken; response = _client.ListChannelMembershipsForAppInstanceUser(_request); nextToken = response.NextToken; yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif #if AWS_ASYNC_ENUMERABLES_API async IAsyncEnumerable<ListChannelMembershipsForAppInstanceUserResponse> IPaginator<ListChannelMembershipsForAppInstanceUserResponse>.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; ListChannelMembershipsForAppInstanceUserResponse response; do { _request.NextToken = nextToken; response = await _client.ListChannelMembershipsForAppInstanceUserAsync(_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-messaging-2021-05-15.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.ChimeSDKMessaging.Model { /// <summary> /// Base class for ListChannelMemberships paginators. /// </summary> internal sealed partial class ListChannelMembershipsPaginator : IPaginator<ListChannelMembershipsResponse>, IListChannelMembershipsPaginator { private readonly IAmazonChimeSDKMessaging _client; private readonly ListChannelMembershipsRequest _request; private int _isPaginatorInUse = 0; /// <summary> /// Enumerable containing all full responses for the operation /// </summary> public IPaginatedEnumerable<ListChannelMembershipsResponse> Responses => new PaginatedResponse<ListChannelMembershipsResponse>(this); internal ListChannelMembershipsPaginator(IAmazonChimeSDKMessaging client, ListChannelMembershipsRequest request) { this._client = client; this._request = request; } #if BCL IEnumerable<ListChannelMembershipsResponse> IPaginator<ListChannelMembershipsResponse>.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; ListChannelMembershipsResponse response; do { _request.NextToken = nextToken; response = _client.ListChannelMemberships(_request); nextToken = response.NextToken; yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif #if AWS_ASYNC_ENUMERABLES_API async IAsyncEnumerable<ListChannelMembershipsResponse> IPaginator<ListChannelMembershipsResponse>.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; ListChannelMembershipsResponse response; do { _request.NextToken = nextToken; response = await _client.ListChannelMembershipsAsync(_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-messaging-2021-05-15.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.ChimeSDKMessaging.Model { /// <summary> /// Base class for ListChannelMessages paginators. /// </summary> internal sealed partial class ListChannelMessagesPaginator : IPaginator<ListChannelMessagesResponse>, IListChannelMessagesPaginator { private readonly IAmazonChimeSDKMessaging _client; private readonly ListChannelMessagesRequest _request; private int _isPaginatorInUse = 0; /// <summary> /// Enumerable containing all full responses for the operation /// </summary> public IPaginatedEnumerable<ListChannelMessagesResponse> Responses => new PaginatedResponse<ListChannelMessagesResponse>(this); internal ListChannelMessagesPaginator(IAmazonChimeSDKMessaging client, ListChannelMessagesRequest request) { this._client = client; this._request = request; } #if BCL IEnumerable<ListChannelMessagesResponse> IPaginator<ListChannelMessagesResponse>.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; ListChannelMessagesResponse response; do { _request.NextToken = nextToken; response = _client.ListChannelMessages(_request); nextToken = response.NextToken; yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif #if AWS_ASYNC_ENUMERABLES_API async IAsyncEnumerable<ListChannelMessagesResponse> IPaginator<ListChannelMessagesResponse>.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; ListChannelMessagesResponse response; do { _request.NextToken = nextToken; response = await _client.ListChannelMessagesAsync(_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-messaging-2021-05-15.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.ChimeSDKMessaging.Model { /// <summary> /// Base class for ListChannelModerators paginators. /// </summary> internal sealed partial class ListChannelModeratorsPaginator : IPaginator<ListChannelModeratorsResponse>, IListChannelModeratorsPaginator { private readonly IAmazonChimeSDKMessaging _client; private readonly ListChannelModeratorsRequest _request; private int _isPaginatorInUse = 0; /// <summary> /// Enumerable containing all full responses for the operation /// </summary> public IPaginatedEnumerable<ListChannelModeratorsResponse> Responses => new PaginatedResponse<ListChannelModeratorsResponse>(this); internal ListChannelModeratorsPaginator(IAmazonChimeSDKMessaging client, ListChannelModeratorsRequest request) { this._client = client; this._request = request; } #if BCL IEnumerable<ListChannelModeratorsResponse> IPaginator<ListChannelModeratorsResponse>.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; ListChannelModeratorsResponse response; do { _request.NextToken = nextToken; response = _client.ListChannelModerators(_request); nextToken = response.NextToken; yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif #if AWS_ASYNC_ENUMERABLES_API async IAsyncEnumerable<ListChannelModeratorsResponse> IPaginator<ListChannelModeratorsResponse>.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; ListChannelModeratorsResponse response; do { _request.NextToken = nextToken; response = await _client.ListChannelModeratorsAsync(_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-messaging-2021-05-15.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.ChimeSDKMessaging.Model { /// <summary> /// Base class for ListChannelsAssociatedWithChannelFlow paginators. /// </summary> internal sealed partial class ListChannelsAssociatedWithChannelFlowPaginator : IPaginator<ListChannelsAssociatedWithChannelFlowResponse>, IListChannelsAssociatedWithChannelFlowPaginator { private readonly IAmazonChimeSDKMessaging _client; private readonly ListChannelsAssociatedWithChannelFlowRequest _request; private int _isPaginatorInUse = 0; /// <summary> /// Enumerable containing all full responses for the operation /// </summary> public IPaginatedEnumerable<ListChannelsAssociatedWithChannelFlowResponse> Responses => new PaginatedResponse<ListChannelsAssociatedWithChannelFlowResponse>(this); internal ListChannelsAssociatedWithChannelFlowPaginator(IAmazonChimeSDKMessaging client, ListChannelsAssociatedWithChannelFlowRequest request) { this._client = client; this._request = request; } #if BCL IEnumerable<ListChannelsAssociatedWithChannelFlowResponse> IPaginator<ListChannelsAssociatedWithChannelFlowResponse>.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; ListChannelsAssociatedWithChannelFlowResponse response; do { _request.NextToken = nextToken; response = _client.ListChannelsAssociatedWithChannelFlow(_request); nextToken = response.NextToken; yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif #if AWS_ASYNC_ENUMERABLES_API async IAsyncEnumerable<ListChannelsAssociatedWithChannelFlowResponse> IPaginator<ListChannelsAssociatedWithChannelFlowResponse>.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; ListChannelsAssociatedWithChannelFlowResponse response; do { _request.NextToken = nextToken; response = await _client.ListChannelsAssociatedWithChannelFlowAsync(_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-messaging-2021-05-15.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.ChimeSDKMessaging.Model { /// <summary> /// Base class for ListChannelsModeratedByAppInstanceUser paginators. /// </summary> internal sealed partial class ListChannelsModeratedByAppInstanceUserPaginator : IPaginator<ListChannelsModeratedByAppInstanceUserResponse>, IListChannelsModeratedByAppInstanceUserPaginator { private readonly IAmazonChimeSDKMessaging _client; private readonly ListChannelsModeratedByAppInstanceUserRequest _request; private int _isPaginatorInUse = 0; /// <summary> /// Enumerable containing all full responses for the operation /// </summary> public IPaginatedEnumerable<ListChannelsModeratedByAppInstanceUserResponse> Responses => new PaginatedResponse<ListChannelsModeratedByAppInstanceUserResponse>(this); internal ListChannelsModeratedByAppInstanceUserPaginator(IAmazonChimeSDKMessaging client, ListChannelsModeratedByAppInstanceUserRequest request) { this._client = client; this._request = request; } #if BCL IEnumerable<ListChannelsModeratedByAppInstanceUserResponse> IPaginator<ListChannelsModeratedByAppInstanceUserResponse>.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; ListChannelsModeratedByAppInstanceUserResponse response; do { _request.NextToken = nextToken; response = _client.ListChannelsModeratedByAppInstanceUser(_request); nextToken = response.NextToken; yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif #if AWS_ASYNC_ENUMERABLES_API async IAsyncEnumerable<ListChannelsModeratedByAppInstanceUserResponse> IPaginator<ListChannelsModeratedByAppInstanceUserResponse>.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; ListChannelsModeratedByAppInstanceUserResponse response; do { _request.NextToken = nextToken; response = await _client.ListChannelsModeratedByAppInstanceUserAsync(_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-messaging-2021-05-15.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.ChimeSDKMessaging.Model { /// <summary> /// Base class for ListChannels paginators. /// </summary> internal sealed partial class ListChannelsPaginator : IPaginator<ListChannelsResponse>, IListChannelsPaginator { private readonly IAmazonChimeSDKMessaging _client; private readonly ListChannelsRequest _request; private int _isPaginatorInUse = 0; /// <summary> /// Enumerable containing all full responses for the operation /// </summary> public IPaginatedEnumerable<ListChannelsResponse> Responses => new PaginatedResponse<ListChannelsResponse>(this); internal ListChannelsPaginator(IAmazonChimeSDKMessaging client, ListChannelsRequest request) { this._client = client; this._request = request; } #if BCL IEnumerable<ListChannelsResponse> IPaginator<ListChannelsResponse>.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; ListChannelsResponse response; do { _request.NextToken = nextToken; response = _client.ListChannels(_request); nextToken = response.NextToken; yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif #if AWS_ASYNC_ENUMERABLES_API async IAsyncEnumerable<ListChannelsResponse> IPaginator<ListChannelsResponse>.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; ListChannelsResponse response; do { _request.NextToken = nextToken; response = await _client.ListChannelsAsync(_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-messaging-2021-05-15.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.ChimeSDKMessaging.Model { /// <summary> /// Base class for ListSubChannels paginators. /// </summary> internal sealed partial class ListSubChannelsPaginator : IPaginator<ListSubChannelsResponse>, IListSubChannelsPaginator { private readonly IAmazonChimeSDKMessaging _client; private readonly ListSubChannelsRequest _request; private int _isPaginatorInUse = 0; /// <summary> /// Enumerable containing all full responses for the operation /// </summary> public IPaginatedEnumerable<ListSubChannelsResponse> Responses => new PaginatedResponse<ListSubChannelsResponse>(this); internal ListSubChannelsPaginator(IAmazonChimeSDKMessaging client, ListSubChannelsRequest request) { this._client = client; this._request = request; } #if BCL IEnumerable<ListSubChannelsResponse> IPaginator<ListSubChannelsResponse>.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; ListSubChannelsResponse response; do { _request.NextToken = nextToken; response = _client.ListSubChannels(_request); nextToken = response.NextToken; yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif #if AWS_ASYNC_ENUMERABLES_API async IAsyncEnumerable<ListSubChannelsResponse> IPaginator<ListSubChannelsResponse>.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; ListSubChannelsResponse response; do { _request.NextToken = nextToken; response = await _client.ListSubChannelsAsync(_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-messaging-2021-05-15.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.ChimeSDKMessaging.Model { /// <summary> /// Base class for SearchChannels paginators. /// </summary> internal sealed partial class SearchChannelsPaginator : IPaginator<SearchChannelsResponse>, ISearchChannelsPaginator { private readonly IAmazonChimeSDKMessaging _client; private readonly SearchChannelsRequest _request; private int _isPaginatorInUse = 0; /// <summary> /// Enumerable containing all full responses for the operation /// </summary> public IPaginatedEnumerable<SearchChannelsResponse> Responses => new PaginatedResponse<SearchChannelsResponse>(this); internal SearchChannelsPaginator(IAmazonChimeSDKMessaging client, SearchChannelsRequest request) { this._client = client; this._request = request; } #if BCL IEnumerable<SearchChannelsResponse> IPaginator<SearchChannelsResponse>.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; SearchChannelsResponse response; do { _request.NextToken = nextToken; response = _client.SearchChannels(_request); nextToken = response.NextToken; yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif #if AWS_ASYNC_ENUMERABLES_API async IAsyncEnumerable<SearchChannelsResponse> IPaginator<SearchChannelsResponse>.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; SearchChannelsResponse response; do { _request.NextToken = nextToken; response = await _client.SearchChannelsAsync(_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-messaging-2021-05-15.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using Amazon.ChimeSDKMessaging.Model; using Amazon.ChimeSDKMessaging.Model.Internal.MarshallTransformations; using Amazon.ChimeSDKMessaging.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.ChimeSDKMessaging { /// <summary> /// Implementation for accessing ChimeSDKMessaging /// /// The Amazon Chime SDK messaging APIs in this section allow software developers to send /// and receive messages in custom messaging applications. These APIs depend on the frameworks /// provided by the Amazon Chime SDK identity APIs. For more information about the messaging /// APIs, see <a href="https://docs.aws.amazon.com/chime/latest/APIReference/API_Operations_Amazon_Chime_SDK_Messaging.html">Amazon /// Chime SDK messaging</a>. /// </summary> public partial class AmazonChimeSDKMessagingClient : AmazonServiceClient, IAmazonChimeSDKMessaging { private static IServiceMetadata serviceMetadata = new AmazonChimeSDKMessagingMetadata(); #if BCL45 || AWS_ASYNC_ENUMERABLES_API private IChimeSDKMessagingPaginatorFactory _paginators; /// <summary> /// Paginators for the service /// </summary> public IChimeSDKMessagingPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new ChimeSDKMessagingPaginatorFactory(this); } return this._paginators; } } #endif #region Constructors /// <summary> /// Constructs AmazonChimeSDKMessagingClient 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 AmazonChimeSDKMessagingClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonChimeSDKMessagingConfig()) { } /// <summary> /// Constructs AmazonChimeSDKMessagingClient 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 AmazonChimeSDKMessagingClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonChimeSDKMessagingConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonChimeSDKMessagingClient 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 AmazonChimeSDKMessagingClient Configuration Object</param> public AmazonChimeSDKMessagingClient(AmazonChimeSDKMessagingConfig config) : base(FallbackCredentialsFactory.GetCredentials(), config) { } /// <summary> /// Constructs AmazonChimeSDKMessagingClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> public AmazonChimeSDKMessagingClient(AWSCredentials credentials) : this(credentials, new AmazonChimeSDKMessagingConfig()) { } /// <summary> /// Constructs AmazonChimeSDKMessagingClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="region">The region to connect.</param> public AmazonChimeSDKMessagingClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonChimeSDKMessagingConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonChimeSDKMessagingClient with AWS Credentials and an /// AmazonChimeSDKMessagingClient Configuration object. /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="clientConfig">The AmazonChimeSDKMessagingClient Configuration Object</param> public AmazonChimeSDKMessagingClient(AWSCredentials credentials, AmazonChimeSDKMessagingConfig clientConfig) : base(credentials, clientConfig) { } /// <summary> /// Constructs AmazonChimeSDKMessagingClient 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 AmazonChimeSDKMessagingClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonChimeSDKMessagingConfig()) { } /// <summary> /// Constructs AmazonChimeSDKMessagingClient 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 AmazonChimeSDKMessagingClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonChimeSDKMessagingConfig() {RegionEndpoint=region}) { } /// <summary> /// Constructs AmazonChimeSDKMessagingClient with AWS Access Key ID, AWS Secret Key and an /// AmazonChimeSDKMessagingClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="clientConfig">The AmazonChimeSDKMessagingClient Configuration Object</param> public AmazonChimeSDKMessagingClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonChimeSDKMessagingConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// <summary> /// Constructs AmazonChimeSDKMessagingClient 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 AmazonChimeSDKMessagingClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonChimeSDKMessagingConfig()) { } /// <summary> /// Constructs AmazonChimeSDKMessagingClient 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 AmazonChimeSDKMessagingClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonChimeSDKMessagingConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonChimeSDKMessagingClient with AWS Access Key ID, AWS Secret Key and an /// AmazonChimeSDKMessagingClient 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 AmazonChimeSDKMessagingClient Configuration Object</param> public AmazonChimeSDKMessagingClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonChimeSDKMessagingConfig 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 AmazonChimeSDKMessagingEndpointResolver()); } /// <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 AssociateChannelFlow /// <summary> /// Associates a channel flow with a channel. Once associated, all messages to that channel /// go through channel flow processors. To stop processing, use the <code>DisassociateChannelFlow</code> /// API. /// /// <note> /// <para> /// Only administrators or channel moderators can associate a channel flow. The <code>x-amz-chime-bearer</code> /// request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> /// that makes the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateChannelFlow service method.</param> /// /// <returns>The response from the AssociateChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/AssociateChannelFlow">REST API Reference for AssociateChannelFlow Operation</seealso> public virtual AssociateChannelFlowResponse AssociateChannelFlow(AssociateChannelFlowRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateChannelFlowResponseUnmarshaller.Instance; return Invoke<AssociateChannelFlowResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the AssociateChannelFlow operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the AssociateChannelFlow operation on AmazonChimeSDKMessagingClient.</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 EndAssociateChannelFlow /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/AssociateChannelFlow">REST API Reference for AssociateChannelFlow Operation</seealso> public virtual IAsyncResult BeginAssociateChannelFlow(AssociateChannelFlowRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateChannelFlowResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the AssociateChannelFlow operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginAssociateChannelFlow.</param> /// /// <returns>Returns a AssociateChannelFlowResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/AssociateChannelFlow">REST API Reference for AssociateChannelFlow Operation</seealso> public virtual AssociateChannelFlowResponse EndAssociateChannelFlow(IAsyncResult asyncResult) { return EndInvoke<AssociateChannelFlowResponse>(asyncResult); } #endregion #region BatchCreateChannelMembership /// <summary> /// Adds a specified number of users and bots to a channel. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchCreateChannelMembership service method.</param> /// /// <returns>The response from the BatchCreateChannelMembership service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/BatchCreateChannelMembership">REST API Reference for BatchCreateChannelMembership Operation</seealso> public virtual BatchCreateChannelMembershipResponse BatchCreateChannelMembership(BatchCreateChannelMembershipRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchCreateChannelMembershipRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchCreateChannelMembershipResponseUnmarshaller.Instance; return Invoke<BatchCreateChannelMembershipResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the BatchCreateChannelMembership operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the BatchCreateChannelMembership operation on AmazonChimeSDKMessagingClient.</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 EndBatchCreateChannelMembership /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/BatchCreateChannelMembership">REST API Reference for BatchCreateChannelMembership Operation</seealso> public virtual IAsyncResult BeginBatchCreateChannelMembership(BatchCreateChannelMembershipRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = BatchCreateChannelMembershipRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchCreateChannelMembershipResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the BatchCreateChannelMembership operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginBatchCreateChannelMembership.</param> /// /// <returns>Returns a BatchCreateChannelMembershipResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/BatchCreateChannelMembership">REST API Reference for BatchCreateChannelMembership Operation</seealso> public virtual BatchCreateChannelMembershipResponse EndBatchCreateChannelMembership(IAsyncResult asyncResult) { return EndInvoke<BatchCreateChannelMembershipResponse>(asyncResult); } #endregion #region ChannelFlowCallback /// <summary> /// Calls back Amazon Chime SDK messaging with a processing response message. This should /// be invoked from the processor Lambda. This is a developer API. /// /// /// <para> /// You can return one of the following processing responses: /// </para> /// <ul> <li> /// <para> /// Update message content or metadata /// </para> /// </li> <li> /// <para> /// Deny a message /// </para> /// </li> <li> /// <para> /// Make no changes to the message /// </para> /// </li> </ul> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ChannelFlowCallback service method.</param> /// /// <returns>The response from the ChannelFlowCallback service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ChannelFlowCallback">REST API Reference for ChannelFlowCallback Operation</seealso> public virtual ChannelFlowCallbackResponse ChannelFlowCallback(ChannelFlowCallbackRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ChannelFlowCallbackRequestMarshaller.Instance; options.ResponseUnmarshaller = ChannelFlowCallbackResponseUnmarshaller.Instance; return Invoke<ChannelFlowCallbackResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ChannelFlowCallback operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ChannelFlowCallback operation on AmazonChimeSDKMessagingClient.</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 EndChannelFlowCallback /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ChannelFlowCallback">REST API Reference for ChannelFlowCallback Operation</seealso> public virtual IAsyncResult BeginChannelFlowCallback(ChannelFlowCallbackRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ChannelFlowCallbackRequestMarshaller.Instance; options.ResponseUnmarshaller = ChannelFlowCallbackResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ChannelFlowCallback operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginChannelFlowCallback.</param> /// /// <returns>Returns a ChannelFlowCallbackResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ChannelFlowCallback">REST API Reference for ChannelFlowCallback Operation</seealso> public virtual ChannelFlowCallbackResponse EndChannelFlowCallback(IAsyncResult asyncResult) { return EndInvoke<ChannelFlowCallbackResponse>(asyncResult); } #endregion #region CreateChannel /// <summary> /// Creates a channel to which you can add users and send messages. /// /// /// <para> /// <b>Restriction</b>: You can't change a channel's privacy. /// </para> /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannel service method.</param> /// /// <returns>The response from the CreateChannel service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannel">REST API Reference for CreateChannel Operation</seealso> public virtual CreateChannelResponse CreateChannel(CreateChannelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateChannelResponseUnmarshaller.Instance; return Invoke<CreateChannelResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateChannel operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateChannel operation on AmazonChimeSDKMessagingClient.</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 EndCreateChannel /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannel">REST API Reference for CreateChannel Operation</seealso> public virtual IAsyncResult BeginCreateChannel(CreateChannelRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateChannelResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateChannel operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateChannel.</param> /// /// <returns>Returns a CreateChannelResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannel">REST API Reference for CreateChannel Operation</seealso> public virtual CreateChannelResponse EndCreateChannel(IAsyncResult asyncResult) { return EndInvoke<CreateChannelResponse>(asyncResult); } #endregion #region CreateChannelBan /// <summary> /// Permanently bans a member from a channel. Moderators can't add banned members to a /// channel. To undo a ban, you first have to <code>DeleteChannelBan</code>, and then /// <code>CreateChannelMembership</code>. Bans are cleaned up when you delete users or /// channels. /// /// /// <para> /// If you ban a user who is already part of a channel, that user is automatically kicked /// from the channel. /// </para> /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannelBan service method.</param> /// /// <returns>The response from the CreateChannelBan service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelBan">REST API Reference for CreateChannelBan Operation</seealso> public virtual CreateChannelBanResponse CreateChannelBan(CreateChannelBanRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateChannelBanRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateChannelBanResponseUnmarshaller.Instance; return Invoke<CreateChannelBanResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateChannelBan operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateChannelBan operation on AmazonChimeSDKMessagingClient.</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 EndCreateChannelBan /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelBan">REST API Reference for CreateChannelBan Operation</seealso> public virtual IAsyncResult BeginCreateChannelBan(CreateChannelBanRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateChannelBanRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateChannelBanResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateChannelBan operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateChannelBan.</param> /// /// <returns>Returns a CreateChannelBanResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelBan">REST API Reference for CreateChannelBan Operation</seealso> public virtual CreateChannelBanResponse EndCreateChannelBan(IAsyncResult asyncResult) { return EndInvoke<CreateChannelBanResponse>(asyncResult); } #endregion #region CreateChannelFlow /// <summary> /// Creates a channel flow, a container for processors. Processors are AWS Lambda functions /// that perform actions on chat messages, such as stripping out profanity. You can associate /// channel flows with channels, and the processors in the channel flow then take action /// on all messages sent to that channel. This is a developer API. /// /// /// <para> /// Channel flows process the following items: /// </para> /// <ol> <li> /// <para> /// New and updated messages /// </para> /// </li> <li> /// <para> /// Persistent and non-persistent messages /// </para> /// </li> <li> /// <para> /// The Standard message type /// </para> /// </li> </ol> <note> /// <para> /// Channel flows don't process Control or System messages. For more information about /// the message types provided by Chime SDK messaging, refer to <a href="https://docs.aws.amazon.com/chime/latest/dg/using-the-messaging-sdk.html#msg-types">Message /// types</a> in the <i>Amazon Chime developer guide</i>. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannelFlow service method.</param> /// /// <returns>The response from the CreateChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelFlow">REST API Reference for CreateChannelFlow Operation</seealso> public virtual CreateChannelFlowResponse CreateChannelFlow(CreateChannelFlowRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateChannelFlowResponseUnmarshaller.Instance; return Invoke<CreateChannelFlowResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateChannelFlow operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateChannelFlow operation on AmazonChimeSDKMessagingClient.</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 EndCreateChannelFlow /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelFlow">REST API Reference for CreateChannelFlow Operation</seealso> public virtual IAsyncResult BeginCreateChannelFlow(CreateChannelFlowRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateChannelFlowResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateChannelFlow operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateChannelFlow.</param> /// /// <returns>Returns a CreateChannelFlowResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelFlow">REST API Reference for CreateChannelFlow Operation</seealso> public virtual CreateChannelFlowResponse EndCreateChannelFlow(IAsyncResult asyncResult) { return EndInvoke<CreateChannelFlowResponse>(asyncResult); } #endregion #region CreateChannelMembership /// <summary> /// Adds a member to a channel. The <code>InvitedBy</code> field in <code>ChannelMembership</code> /// is derived from the request header. A channel member can: /// /// <ul> <li> /// <para> /// List messages /// </para> /// </li> <li> /// <para> /// Send messages /// </para> /// </li> <li> /// <para> /// Receive messages /// </para> /// </li> <li> /// <para> /// Edit their own messages /// </para> /// </li> <li> /// <para> /// Leave the channel /// </para> /// </li> </ul> /// <para> /// Privacy settings impact this action as follows: /// </para> /// <ul> <li> /// <para> /// Public Channels: You do not need to be a member to list messages, but you must be /// a member to send messages. /// </para> /// </li> <li> /// <para> /// Private Channels: You must be a member to list or send messages. /// </para> /// </li> </ul> <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUserArn</code> or <code>AppInstanceBot</code> that makes the API /// call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannelMembership service method.</param> /// /// <returns>The response from the CreateChannelMembership service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelMembership">REST API Reference for CreateChannelMembership Operation</seealso> public virtual CreateChannelMembershipResponse CreateChannelMembership(CreateChannelMembershipRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateChannelMembershipRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateChannelMembershipResponseUnmarshaller.Instance; return Invoke<CreateChannelMembershipResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateChannelMembership operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateChannelMembership operation on AmazonChimeSDKMessagingClient.</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 EndCreateChannelMembership /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelMembership">REST API Reference for CreateChannelMembership Operation</seealso> public virtual IAsyncResult BeginCreateChannelMembership(CreateChannelMembershipRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateChannelMembershipRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateChannelMembershipResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateChannelMembership operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateChannelMembership.</param> /// /// <returns>Returns a CreateChannelMembershipResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelMembership">REST API Reference for CreateChannelMembership Operation</seealso> public virtual CreateChannelMembershipResponse EndCreateChannelMembership(IAsyncResult asyncResult) { return EndInvoke<CreateChannelMembershipResponse>(asyncResult); } #endregion #region CreateChannelModerator /// <summary> /// Creates a new <code>ChannelModerator</code>. A channel moderator can: /// /// <ul> <li> /// <para> /// Add and remove other members of the channel. /// </para> /// </li> <li> /// <para> /// Add and remove other moderators of the channel. /// </para> /// </li> <li> /// <para> /// Add and remove user bans for the channel. /// </para> /// </li> <li> /// <para> /// Redact messages in the channel. /// </para> /// </li> <li> /// <para> /// List messages in the channel. /// </para> /// </li> </ul> <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code>of the user that makes /// the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannelModerator service method.</param> /// /// <returns>The response from the CreateChannelModerator service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelModerator">REST API Reference for CreateChannelModerator Operation</seealso> public virtual CreateChannelModeratorResponse CreateChannelModerator(CreateChannelModeratorRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateChannelModeratorRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateChannelModeratorResponseUnmarshaller.Instance; return Invoke<CreateChannelModeratorResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateChannelModerator operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateChannelModerator operation on AmazonChimeSDKMessagingClient.</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 EndCreateChannelModerator /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelModerator">REST API Reference for CreateChannelModerator Operation</seealso> public virtual IAsyncResult BeginCreateChannelModerator(CreateChannelModeratorRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateChannelModeratorRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateChannelModeratorResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateChannelModerator operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateChannelModerator.</param> /// /// <returns>Returns a CreateChannelModeratorResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelModerator">REST API Reference for CreateChannelModerator Operation</seealso> public virtual CreateChannelModeratorResponse EndCreateChannelModerator(IAsyncResult asyncResult) { return EndInvoke<CreateChannelModeratorResponse>(asyncResult); } #endregion #region DeleteChannel /// <summary> /// Immediately makes a channel and its memberships inaccessible and marks them for deletion. /// This is an irreversible process. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUserArn</code> or <code>AppInstanceBot</code> that makes the API /// call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannel service method.</param> /// /// <returns>The response from the DeleteChannel service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannel">REST API Reference for DeleteChannel Operation</seealso> public virtual DeleteChannelResponse DeleteChannel(DeleteChannelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelResponseUnmarshaller.Instance; return Invoke<DeleteChannelResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteChannel operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteChannel operation on AmazonChimeSDKMessagingClient.</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 EndDeleteChannel /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannel">REST API Reference for DeleteChannel Operation</seealso> public virtual IAsyncResult BeginDeleteChannel(DeleteChannelRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteChannel operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteChannel.</param> /// /// <returns>Returns a DeleteChannelResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannel">REST API Reference for DeleteChannel Operation</seealso> public virtual DeleteChannelResponse EndDeleteChannel(IAsyncResult asyncResult) { return EndInvoke<DeleteChannelResponse>(asyncResult); } #endregion #region DeleteChannelBan /// <summary> /// Removes a member from a channel's ban list. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelBan service method.</param> /// /// <returns>The response from the DeleteChannelBan service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelBan">REST API Reference for DeleteChannelBan Operation</seealso> public virtual DeleteChannelBanResponse DeleteChannelBan(DeleteChannelBanRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelBanRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelBanResponseUnmarshaller.Instance; return Invoke<DeleteChannelBanResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteChannelBan operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteChannelBan operation on AmazonChimeSDKMessagingClient.</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 EndDeleteChannelBan /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelBan">REST API Reference for DeleteChannelBan Operation</seealso> public virtual IAsyncResult BeginDeleteChannelBan(DeleteChannelBanRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelBanRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelBanResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteChannelBan operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteChannelBan.</param> /// /// <returns>Returns a DeleteChannelBanResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelBan">REST API Reference for DeleteChannelBan Operation</seealso> public virtual DeleteChannelBanResponse EndDeleteChannelBan(IAsyncResult asyncResult) { return EndInvoke<DeleteChannelBanResponse>(asyncResult); } #endregion #region DeleteChannelFlow /// <summary> /// Deletes a channel flow, an irreversible process. This is a developer API. /// /// <note> /// <para> /// This API works only when the channel flow is not associated with any channel. To /// get a list of all channels that a channel flow is associated with, use the <code>ListChannelsAssociatedWithChannelFlow</code> /// API. Use the <code>DisassociateChannelFlow</code> API to disassociate a channel flow /// from all channels. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelFlow service method.</param> /// /// <returns>The response from the DeleteChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelFlow">REST API Reference for DeleteChannelFlow Operation</seealso> public virtual DeleteChannelFlowResponse DeleteChannelFlow(DeleteChannelFlowRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelFlowResponseUnmarshaller.Instance; return Invoke<DeleteChannelFlowResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteChannelFlow operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteChannelFlow operation on AmazonChimeSDKMessagingClient.</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 EndDeleteChannelFlow /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelFlow">REST API Reference for DeleteChannelFlow Operation</seealso> public virtual IAsyncResult BeginDeleteChannelFlow(DeleteChannelFlowRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelFlowResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteChannelFlow operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteChannelFlow.</param> /// /// <returns>Returns a DeleteChannelFlowResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelFlow">REST API Reference for DeleteChannelFlow Operation</seealso> public virtual DeleteChannelFlowResponse EndDeleteChannelFlow(IAsyncResult asyncResult) { return EndInvoke<DeleteChannelFlowResponse>(asyncResult); } #endregion #region DeleteChannelMembership /// <summary> /// Removes a member from a channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the <code>AppInstanceUserArn</code> /// of the user that makes the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelMembership service method.</param> /// /// <returns>The response from the DeleteChannelMembership service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelMembership">REST API Reference for DeleteChannelMembership Operation</seealso> public virtual DeleteChannelMembershipResponse DeleteChannelMembership(DeleteChannelMembershipRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelMembershipRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelMembershipResponseUnmarshaller.Instance; return Invoke<DeleteChannelMembershipResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteChannelMembership operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteChannelMembership operation on AmazonChimeSDKMessagingClient.</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 EndDeleteChannelMembership /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelMembership">REST API Reference for DeleteChannelMembership Operation</seealso> public virtual IAsyncResult BeginDeleteChannelMembership(DeleteChannelMembershipRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelMembershipRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelMembershipResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteChannelMembership operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteChannelMembership.</param> /// /// <returns>Returns a DeleteChannelMembershipResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelMembership">REST API Reference for DeleteChannelMembership Operation</seealso> public virtual DeleteChannelMembershipResponse EndDeleteChannelMembership(IAsyncResult asyncResult) { return EndInvoke<DeleteChannelMembershipResponse>(asyncResult); } #endregion #region DeleteChannelMessage /// <summary> /// Deletes a channel message. Only admins can perform this action. Deletion makes messages /// inaccessible immediately. A background process deletes any revisions created by <code>UpdateChannelMessage</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelMessage service method.</param> /// /// <returns>The response from the DeleteChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelMessage">REST API Reference for DeleteChannelMessage Operation</seealso> public virtual DeleteChannelMessageResponse DeleteChannelMessage(DeleteChannelMessageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelMessageRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelMessageResponseUnmarshaller.Instance; return Invoke<DeleteChannelMessageResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteChannelMessage operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteChannelMessage operation on AmazonChimeSDKMessagingClient.</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 EndDeleteChannelMessage /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelMessage">REST API Reference for DeleteChannelMessage Operation</seealso> public virtual IAsyncResult BeginDeleteChannelMessage(DeleteChannelMessageRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelMessageRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelMessageResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteChannelMessage operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteChannelMessage.</param> /// /// <returns>Returns a DeleteChannelMessageResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelMessage">REST API Reference for DeleteChannelMessage Operation</seealso> public virtual DeleteChannelMessageResponse EndDeleteChannelMessage(IAsyncResult asyncResult) { return EndInvoke<DeleteChannelMessageResponse>(asyncResult); } #endregion #region DeleteChannelModerator /// <summary> /// Deletes a channel moderator. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelModerator service method.</param> /// /// <returns>The response from the DeleteChannelModerator service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelModerator">REST API Reference for DeleteChannelModerator Operation</seealso> public virtual DeleteChannelModeratorResponse DeleteChannelModerator(DeleteChannelModeratorRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelModeratorRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelModeratorResponseUnmarshaller.Instance; return Invoke<DeleteChannelModeratorResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteChannelModerator operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteChannelModerator operation on AmazonChimeSDKMessagingClient.</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 EndDeleteChannelModerator /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelModerator">REST API Reference for DeleteChannelModerator Operation</seealso> public virtual IAsyncResult BeginDeleteChannelModerator(DeleteChannelModeratorRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelModeratorRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelModeratorResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteChannelModerator operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteChannelModerator.</param> /// /// <returns>Returns a DeleteChannelModeratorResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelModerator">REST API Reference for DeleteChannelModerator Operation</seealso> public virtual DeleteChannelModeratorResponse EndDeleteChannelModerator(IAsyncResult asyncResult) { return EndInvoke<DeleteChannelModeratorResponse>(asyncResult); } #endregion #region DeleteMessagingStreamingConfigurations /// <summary> /// Deletes the streaming configurations for an <code>AppInstance</code>. For more information, /// see <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html">Streaming /// messaging data</a> in the <i>Amazon Chime SDK Developer Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteMessagingStreamingConfigurations service method.</param> /// /// <returns>The response from the DeleteMessagingStreamingConfigurations service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteMessagingStreamingConfigurations">REST API Reference for DeleteMessagingStreamingConfigurations Operation</seealso> public virtual DeleteMessagingStreamingConfigurationsResponse DeleteMessagingStreamingConfigurations(DeleteMessagingStreamingConfigurationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteMessagingStreamingConfigurationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteMessagingStreamingConfigurationsResponseUnmarshaller.Instance; return Invoke<DeleteMessagingStreamingConfigurationsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteMessagingStreamingConfigurations operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteMessagingStreamingConfigurations operation on AmazonChimeSDKMessagingClient.</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 EndDeleteMessagingStreamingConfigurations /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteMessagingStreamingConfigurations">REST API Reference for DeleteMessagingStreamingConfigurations Operation</seealso> public virtual IAsyncResult BeginDeleteMessagingStreamingConfigurations(DeleteMessagingStreamingConfigurationsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteMessagingStreamingConfigurationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteMessagingStreamingConfigurationsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteMessagingStreamingConfigurations operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteMessagingStreamingConfigurations.</param> /// /// <returns>Returns a DeleteMessagingStreamingConfigurationsResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteMessagingStreamingConfigurations">REST API Reference for DeleteMessagingStreamingConfigurations Operation</seealso> public virtual DeleteMessagingStreamingConfigurationsResponse EndDeleteMessagingStreamingConfigurations(IAsyncResult asyncResult) { return EndInvoke<DeleteMessagingStreamingConfigurationsResponse>(asyncResult); } #endregion #region DescribeChannel /// <summary> /// Returns the full details of a channel in an Amazon Chime <code>AppInstance</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannel service method.</param> /// /// <returns>The response from the DescribeChannel service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannel">REST API Reference for DescribeChannel Operation</seealso> public virtual DescribeChannelResponse DescribeChannel(DescribeChannelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelResponseUnmarshaller.Instance; return Invoke<DescribeChannelResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeChannel operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeChannel operation on AmazonChimeSDKMessagingClient.</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 EndDescribeChannel /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannel">REST API Reference for DescribeChannel Operation</seealso> public virtual IAsyncResult BeginDescribeChannel(DescribeChannelRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeChannel operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeChannel.</param> /// /// <returns>Returns a DescribeChannelResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannel">REST API Reference for DescribeChannel Operation</seealso> public virtual DescribeChannelResponse EndDescribeChannel(IAsyncResult asyncResult) { return EndInvoke<DescribeChannelResponse>(asyncResult); } #endregion #region DescribeChannelBan /// <summary> /// Returns the full details of a channel ban. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelBan service method.</param> /// /// <returns>The response from the DescribeChannelBan service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelBan">REST API Reference for DescribeChannelBan Operation</seealso> public virtual DescribeChannelBanResponse DescribeChannelBan(DescribeChannelBanRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelBanRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelBanResponseUnmarshaller.Instance; return Invoke<DescribeChannelBanResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeChannelBan operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeChannelBan operation on AmazonChimeSDKMessagingClient.</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 EndDescribeChannelBan /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelBan">REST API Reference for DescribeChannelBan Operation</seealso> public virtual IAsyncResult BeginDescribeChannelBan(DescribeChannelBanRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelBanRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelBanResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeChannelBan operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeChannelBan.</param> /// /// <returns>Returns a DescribeChannelBanResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelBan">REST API Reference for DescribeChannelBan Operation</seealso> public virtual DescribeChannelBanResponse EndDescribeChannelBan(IAsyncResult asyncResult) { return EndInvoke<DescribeChannelBanResponse>(asyncResult); } #endregion #region DescribeChannelFlow /// <summary> /// Returns the full details of a channel flow in an Amazon Chime <code>AppInstance</code>. /// This is a developer API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelFlow service method.</param> /// /// <returns>The response from the DescribeChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelFlow">REST API Reference for DescribeChannelFlow Operation</seealso> public virtual DescribeChannelFlowResponse DescribeChannelFlow(DescribeChannelFlowRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelFlowResponseUnmarshaller.Instance; return Invoke<DescribeChannelFlowResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeChannelFlow operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeChannelFlow operation on AmazonChimeSDKMessagingClient.</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 EndDescribeChannelFlow /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelFlow">REST API Reference for DescribeChannelFlow Operation</seealso> public virtual IAsyncResult BeginDescribeChannelFlow(DescribeChannelFlowRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelFlowResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeChannelFlow operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeChannelFlow.</param> /// /// <returns>Returns a DescribeChannelFlowResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelFlow">REST API Reference for DescribeChannelFlow Operation</seealso> public virtual DescribeChannelFlowResponse EndDescribeChannelFlow(IAsyncResult asyncResult) { return EndInvoke<DescribeChannelFlowResponse>(asyncResult); } #endregion #region DescribeChannelMembership /// <summary> /// Returns the full details of a user's channel membership. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelMembership service method.</param> /// /// <returns>The response from the DescribeChannelMembership service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelMembership">REST API Reference for DescribeChannelMembership Operation</seealso> public virtual DescribeChannelMembershipResponse DescribeChannelMembership(DescribeChannelMembershipRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelMembershipRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelMembershipResponseUnmarshaller.Instance; return Invoke<DescribeChannelMembershipResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeChannelMembership operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeChannelMembership operation on AmazonChimeSDKMessagingClient.</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 EndDescribeChannelMembership /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelMembership">REST API Reference for DescribeChannelMembership Operation</seealso> public virtual IAsyncResult BeginDescribeChannelMembership(DescribeChannelMembershipRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelMembershipRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelMembershipResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeChannelMembership operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeChannelMembership.</param> /// /// <returns>Returns a DescribeChannelMembershipResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelMembership">REST API Reference for DescribeChannelMembership Operation</seealso> public virtual DescribeChannelMembershipResponse EndDescribeChannelMembership(IAsyncResult asyncResult) { return EndInvoke<DescribeChannelMembershipResponse>(asyncResult); } #endregion #region DescribeChannelMembershipForAppInstanceUser /// <summary> /// Returns the details of a channel based on the membership of the specified <code>AppInstanceUser</code> /// or <code>AppInstanceBot</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelMembershipForAppInstanceUser service method.</param> /// /// <returns>The response from the DescribeChannelMembershipForAppInstanceUser service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelMembershipForAppInstanceUser">REST API Reference for DescribeChannelMembershipForAppInstanceUser Operation</seealso> public virtual DescribeChannelMembershipForAppInstanceUserResponse DescribeChannelMembershipForAppInstanceUser(DescribeChannelMembershipForAppInstanceUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelMembershipForAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelMembershipForAppInstanceUserResponseUnmarshaller.Instance; return Invoke<DescribeChannelMembershipForAppInstanceUserResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeChannelMembershipForAppInstanceUser operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeChannelMembershipForAppInstanceUser operation on AmazonChimeSDKMessagingClient.</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 EndDescribeChannelMembershipForAppInstanceUser /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelMembershipForAppInstanceUser">REST API Reference for DescribeChannelMembershipForAppInstanceUser Operation</seealso> public virtual IAsyncResult BeginDescribeChannelMembershipForAppInstanceUser(DescribeChannelMembershipForAppInstanceUserRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelMembershipForAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelMembershipForAppInstanceUserResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeChannelMembershipForAppInstanceUser operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeChannelMembershipForAppInstanceUser.</param> /// /// <returns>Returns a DescribeChannelMembershipForAppInstanceUserResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelMembershipForAppInstanceUser">REST API Reference for DescribeChannelMembershipForAppInstanceUser Operation</seealso> public virtual DescribeChannelMembershipForAppInstanceUserResponse EndDescribeChannelMembershipForAppInstanceUser(IAsyncResult asyncResult) { return EndInvoke<DescribeChannelMembershipForAppInstanceUserResponse>(asyncResult); } #endregion #region DescribeChannelModeratedByAppInstanceUser /// <summary> /// Returns the full details of a channel moderated by the specified <code>AppInstanceUser</code> /// or <code>AppInstanceBot</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelModeratedByAppInstanceUser service method.</param> /// /// <returns>The response from the DescribeChannelModeratedByAppInstanceUser service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelModeratedByAppInstanceUser">REST API Reference for DescribeChannelModeratedByAppInstanceUser Operation</seealso> public virtual DescribeChannelModeratedByAppInstanceUserResponse DescribeChannelModeratedByAppInstanceUser(DescribeChannelModeratedByAppInstanceUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelModeratedByAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelModeratedByAppInstanceUserResponseUnmarshaller.Instance; return Invoke<DescribeChannelModeratedByAppInstanceUserResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeChannelModeratedByAppInstanceUser operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeChannelModeratedByAppInstanceUser operation on AmazonChimeSDKMessagingClient.</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 EndDescribeChannelModeratedByAppInstanceUser /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelModeratedByAppInstanceUser">REST API Reference for DescribeChannelModeratedByAppInstanceUser Operation</seealso> public virtual IAsyncResult BeginDescribeChannelModeratedByAppInstanceUser(DescribeChannelModeratedByAppInstanceUserRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelModeratedByAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelModeratedByAppInstanceUserResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeChannelModeratedByAppInstanceUser operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeChannelModeratedByAppInstanceUser.</param> /// /// <returns>Returns a DescribeChannelModeratedByAppInstanceUserResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelModeratedByAppInstanceUser">REST API Reference for DescribeChannelModeratedByAppInstanceUser Operation</seealso> public virtual DescribeChannelModeratedByAppInstanceUserResponse EndDescribeChannelModeratedByAppInstanceUser(IAsyncResult asyncResult) { return EndInvoke<DescribeChannelModeratedByAppInstanceUserResponse>(asyncResult); } #endregion #region DescribeChannelModerator /// <summary> /// Returns the full details of a single ChannelModerator. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the <code>AppInstanceUserArn</code> /// of the user that makes the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelModerator service method.</param> /// /// <returns>The response from the DescribeChannelModerator service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelModerator">REST API Reference for DescribeChannelModerator Operation</seealso> public virtual DescribeChannelModeratorResponse DescribeChannelModerator(DescribeChannelModeratorRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelModeratorRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelModeratorResponseUnmarshaller.Instance; return Invoke<DescribeChannelModeratorResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeChannelModerator operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeChannelModerator operation on AmazonChimeSDKMessagingClient.</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 EndDescribeChannelModerator /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelModerator">REST API Reference for DescribeChannelModerator Operation</seealso> public virtual IAsyncResult BeginDescribeChannelModerator(DescribeChannelModeratorRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelModeratorRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelModeratorResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeChannelModerator operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeChannelModerator.</param> /// /// <returns>Returns a DescribeChannelModeratorResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelModerator">REST API Reference for DescribeChannelModerator Operation</seealso> public virtual DescribeChannelModeratorResponse EndDescribeChannelModerator(IAsyncResult asyncResult) { return EndInvoke<DescribeChannelModeratorResponse>(asyncResult); } #endregion #region DisassociateChannelFlow /// <summary> /// Disassociates a channel flow from all its channels. Once disassociated, all messages /// to that channel stop going through the channel flow processor. /// /// <note> /// <para> /// Only administrators or channel moderators can disassociate a channel flow. /// </para> /// /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateChannelFlow service method.</param> /// /// <returns>The response from the DisassociateChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DisassociateChannelFlow">REST API Reference for DisassociateChannelFlow Operation</seealso> public virtual DisassociateChannelFlowResponse DisassociateChannelFlow(DisassociateChannelFlowRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateChannelFlowResponseUnmarshaller.Instance; return Invoke<DisassociateChannelFlowResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DisassociateChannelFlow operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DisassociateChannelFlow operation on AmazonChimeSDKMessagingClient.</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 EndDisassociateChannelFlow /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DisassociateChannelFlow">REST API Reference for DisassociateChannelFlow Operation</seealso> public virtual IAsyncResult BeginDisassociateChannelFlow(DisassociateChannelFlowRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateChannelFlowResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DisassociateChannelFlow operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDisassociateChannelFlow.</param> /// /// <returns>Returns a DisassociateChannelFlowResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DisassociateChannelFlow">REST API Reference for DisassociateChannelFlow Operation</seealso> public virtual DisassociateChannelFlowResponse EndDisassociateChannelFlow(IAsyncResult asyncResult) { return EndInvoke<DisassociateChannelFlowResponse>(asyncResult); } #endregion #region GetChannelMembershipPreferences /// <summary> /// Gets the membership preferences of an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> /// for the specified channel. A user or a bot must be a member of the channel and own /// the membership in order to retrieve membership preferences. Users or bots in the <code>AppInstanceAdmin</code> /// and channel moderator roles can't retrieve preferences for other users or bots. Banned /// users or bots can't retrieve membership preferences for the channel from which they /// are banned. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetChannelMembershipPreferences service method.</param> /// /// <returns>The response from the GetChannelMembershipPreferences service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMembershipPreferences">REST API Reference for GetChannelMembershipPreferences Operation</seealso> public virtual GetChannelMembershipPreferencesResponse GetChannelMembershipPreferences(GetChannelMembershipPreferencesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetChannelMembershipPreferencesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetChannelMembershipPreferencesResponseUnmarshaller.Instance; return Invoke<GetChannelMembershipPreferencesResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetChannelMembershipPreferences operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetChannelMembershipPreferences operation on AmazonChimeSDKMessagingClient.</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 EndGetChannelMembershipPreferences /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMembershipPreferences">REST API Reference for GetChannelMembershipPreferences Operation</seealso> public virtual IAsyncResult BeginGetChannelMembershipPreferences(GetChannelMembershipPreferencesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetChannelMembershipPreferencesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetChannelMembershipPreferencesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetChannelMembershipPreferences operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetChannelMembershipPreferences.</param> /// /// <returns>Returns a GetChannelMembershipPreferencesResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMembershipPreferences">REST API Reference for GetChannelMembershipPreferences Operation</seealso> public virtual GetChannelMembershipPreferencesResponse EndGetChannelMembershipPreferences(IAsyncResult asyncResult) { return EndInvoke<GetChannelMembershipPreferencesResponse>(asyncResult); } #endregion #region GetChannelMessage /// <summary> /// Gets the full details of a channel message. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetChannelMessage service method.</param> /// /// <returns>The response from the GetChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMessage">REST API Reference for GetChannelMessage Operation</seealso> public virtual GetChannelMessageResponse GetChannelMessage(GetChannelMessageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetChannelMessageRequestMarshaller.Instance; options.ResponseUnmarshaller = GetChannelMessageResponseUnmarshaller.Instance; return Invoke<GetChannelMessageResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetChannelMessage operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetChannelMessage operation on AmazonChimeSDKMessagingClient.</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 EndGetChannelMessage /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMessage">REST API Reference for GetChannelMessage Operation</seealso> public virtual IAsyncResult BeginGetChannelMessage(GetChannelMessageRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetChannelMessageRequestMarshaller.Instance; options.ResponseUnmarshaller = GetChannelMessageResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetChannelMessage operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetChannelMessage.</param> /// /// <returns>Returns a GetChannelMessageResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMessage">REST API Reference for GetChannelMessage Operation</seealso> public virtual GetChannelMessageResponse EndGetChannelMessage(IAsyncResult asyncResult) { return EndInvoke<GetChannelMessageResponse>(asyncResult); } #endregion #region GetChannelMessageStatus /// <summary> /// Gets message status for a specified <code>messageId</code>. Use this API to determine /// the intermediate status of messages going through channel flow processing. The API /// provides an alternative to retrieving message status if the event was not received /// because a client wasn't connected to a websocket. /// /// /// <para> /// Messages can have any one of these statuses. /// </para> /// <dl> <dt>SENT</dt> <dd> /// <para> /// Message processed successfully /// </para> /// </dd> <dt>PENDING</dt> <dd> /// <para> /// Ongoing processing /// </para> /// </dd> <dt>FAILED</dt> <dd> /// <para> /// Processing failed /// </para> /// </dd> <dt>DENIED</dt> <dd> /// <para> /// Message denied by the processor /// </para> /// </dd> </dl> <note> <ul> <li> /// <para> /// This API does not return statuses for denied messages, because we don't store them /// once the processor denies them. /// </para> /// </li> <li> /// <para> /// Only the message sender can invoke this API. /// </para> /// </li> <li> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </li> </ul> </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetChannelMessageStatus service method.</param> /// /// <returns>The response from the GetChannelMessageStatus service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMessageStatus">REST API Reference for GetChannelMessageStatus Operation</seealso> public virtual GetChannelMessageStatusResponse GetChannelMessageStatus(GetChannelMessageStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetChannelMessageStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetChannelMessageStatusResponseUnmarshaller.Instance; return Invoke<GetChannelMessageStatusResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetChannelMessageStatus operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetChannelMessageStatus operation on AmazonChimeSDKMessagingClient.</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 EndGetChannelMessageStatus /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMessageStatus">REST API Reference for GetChannelMessageStatus Operation</seealso> public virtual IAsyncResult BeginGetChannelMessageStatus(GetChannelMessageStatusRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetChannelMessageStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetChannelMessageStatusResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetChannelMessageStatus operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetChannelMessageStatus.</param> /// /// <returns>Returns a GetChannelMessageStatusResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMessageStatus">REST API Reference for GetChannelMessageStatus Operation</seealso> public virtual GetChannelMessageStatusResponse EndGetChannelMessageStatus(IAsyncResult asyncResult) { return EndInvoke<GetChannelMessageStatusResponse>(asyncResult); } #endregion #region GetMessagingSessionEndpoint /// <summary> /// The details of the endpoint for the messaging session. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetMessagingSessionEndpoint service method.</param> /// /// <returns>The response from the GetMessagingSessionEndpoint service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetMessagingSessionEndpoint">REST API Reference for GetMessagingSessionEndpoint Operation</seealso> public virtual GetMessagingSessionEndpointResponse GetMessagingSessionEndpoint(GetMessagingSessionEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetMessagingSessionEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMessagingSessionEndpointResponseUnmarshaller.Instance; return Invoke<GetMessagingSessionEndpointResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetMessagingSessionEndpoint operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetMessagingSessionEndpoint operation on AmazonChimeSDKMessagingClient.</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 EndGetMessagingSessionEndpoint /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetMessagingSessionEndpoint">REST API Reference for GetMessagingSessionEndpoint Operation</seealso> public virtual IAsyncResult BeginGetMessagingSessionEndpoint(GetMessagingSessionEndpointRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetMessagingSessionEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMessagingSessionEndpointResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetMessagingSessionEndpoint operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetMessagingSessionEndpoint.</param> /// /// <returns>Returns a GetMessagingSessionEndpointResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetMessagingSessionEndpoint">REST API Reference for GetMessagingSessionEndpoint Operation</seealso> public virtual GetMessagingSessionEndpointResponse EndGetMessagingSessionEndpoint(IAsyncResult asyncResult) { return EndInvoke<GetMessagingSessionEndpointResponse>(asyncResult); } #endregion #region GetMessagingStreamingConfigurations /// <summary> /// Retrieves the data streaming configuration for an <code>AppInstance</code>. For more /// information, see <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html">Streaming /// messaging data</a> in the <i>Amazon Chime SDK Developer Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetMessagingStreamingConfigurations service method.</param> /// /// <returns>The response from the GetMessagingStreamingConfigurations service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetMessagingStreamingConfigurations">REST API Reference for GetMessagingStreamingConfigurations Operation</seealso> public virtual GetMessagingStreamingConfigurationsResponse GetMessagingStreamingConfigurations(GetMessagingStreamingConfigurationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetMessagingStreamingConfigurationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMessagingStreamingConfigurationsResponseUnmarshaller.Instance; return Invoke<GetMessagingStreamingConfigurationsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetMessagingStreamingConfigurations operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetMessagingStreamingConfigurations operation on AmazonChimeSDKMessagingClient.</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 EndGetMessagingStreamingConfigurations /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetMessagingStreamingConfigurations">REST API Reference for GetMessagingStreamingConfigurations Operation</seealso> public virtual IAsyncResult BeginGetMessagingStreamingConfigurations(GetMessagingStreamingConfigurationsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetMessagingStreamingConfigurationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMessagingStreamingConfigurationsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetMessagingStreamingConfigurations operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetMessagingStreamingConfigurations.</param> /// /// <returns>Returns a GetMessagingStreamingConfigurationsResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetMessagingStreamingConfigurations">REST API Reference for GetMessagingStreamingConfigurations Operation</seealso> public virtual GetMessagingStreamingConfigurationsResponse EndGetMessagingStreamingConfigurations(IAsyncResult asyncResult) { return EndInvoke<GetMessagingStreamingConfigurationsResponse>(asyncResult); } #endregion #region ListChannelBans /// <summary> /// Lists all the users and bots banned from a particular channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelBans service method.</param> /// /// <returns>The response from the ListChannelBans service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelBans">REST API Reference for ListChannelBans Operation</seealso> public virtual ListChannelBansResponse ListChannelBans(ListChannelBansRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelBansRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelBansResponseUnmarshaller.Instance; return Invoke<ListChannelBansResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListChannelBans operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListChannelBans operation on AmazonChimeSDKMessagingClient.</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 EndListChannelBans /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelBans">REST API Reference for ListChannelBans Operation</seealso> public virtual IAsyncResult BeginListChannelBans(ListChannelBansRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelBansRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelBansResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListChannelBans operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListChannelBans.</param> /// /// <returns>Returns a ListChannelBansResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelBans">REST API Reference for ListChannelBans Operation</seealso> public virtual ListChannelBansResponse EndListChannelBans(IAsyncResult asyncResult) { return EndInvoke<ListChannelBansResponse>(asyncResult); } #endregion #region ListChannelFlows /// <summary> /// Returns a paginated lists of all the channel flows created under a single Chime. This /// is a developer API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelFlows service method.</param> /// /// <returns>The response from the ListChannelFlows service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelFlows">REST API Reference for ListChannelFlows Operation</seealso> public virtual ListChannelFlowsResponse ListChannelFlows(ListChannelFlowsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelFlowsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelFlowsResponseUnmarshaller.Instance; return Invoke<ListChannelFlowsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListChannelFlows operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListChannelFlows operation on AmazonChimeSDKMessagingClient.</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 EndListChannelFlows /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelFlows">REST API Reference for ListChannelFlows Operation</seealso> public virtual IAsyncResult BeginListChannelFlows(ListChannelFlowsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelFlowsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelFlowsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListChannelFlows operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListChannelFlows.</param> /// /// <returns>Returns a ListChannelFlowsResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelFlows">REST API Reference for ListChannelFlows Operation</seealso> public virtual ListChannelFlowsResponse EndListChannelFlows(IAsyncResult asyncResult) { return EndInvoke<ListChannelFlowsResponse>(asyncResult); } #endregion #region ListChannelMemberships /// <summary> /// Lists all channel memberships in a channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// <para> /// If you want to list the channels to which a specific app instance user belongs, see /// the <a href="https://docs.aws.amazon.com/chime/latest/APIReference/API_messaging-chime_ListChannelMembershipsForAppInstanceUser.html">ListChannelMembershipsForAppInstanceUser</a> /// API. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelMemberships service method.</param> /// /// <returns>The response from the ListChannelMemberships service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMemberships">REST API Reference for ListChannelMemberships Operation</seealso> public virtual ListChannelMembershipsResponse ListChannelMemberships(ListChannelMembershipsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelMembershipsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelMembershipsResponseUnmarshaller.Instance; return Invoke<ListChannelMembershipsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListChannelMemberships operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListChannelMemberships operation on AmazonChimeSDKMessagingClient.</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 EndListChannelMemberships /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMemberships">REST API Reference for ListChannelMemberships Operation</seealso> public virtual IAsyncResult BeginListChannelMemberships(ListChannelMembershipsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelMembershipsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelMembershipsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListChannelMemberships operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListChannelMemberships.</param> /// /// <returns>Returns a ListChannelMembershipsResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMemberships">REST API Reference for ListChannelMemberships Operation</seealso> public virtual ListChannelMembershipsResponse EndListChannelMemberships(IAsyncResult asyncResult) { return EndInvoke<ListChannelMembershipsResponse>(asyncResult); } #endregion #region ListChannelMembershipsForAppInstanceUser /// <summary> /// Lists all channels that an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> /// is a part of. Only an <code>AppInstanceAdmin</code> can call the API with a user ARN /// that is not their own. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelMembershipsForAppInstanceUser service method.</param> /// /// <returns>The response from the ListChannelMembershipsForAppInstanceUser service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMembershipsForAppInstanceUser">REST API Reference for ListChannelMembershipsForAppInstanceUser Operation</seealso> public virtual ListChannelMembershipsForAppInstanceUserResponse ListChannelMembershipsForAppInstanceUser(ListChannelMembershipsForAppInstanceUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelMembershipsForAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelMembershipsForAppInstanceUserResponseUnmarshaller.Instance; return Invoke<ListChannelMembershipsForAppInstanceUserResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListChannelMembershipsForAppInstanceUser operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListChannelMembershipsForAppInstanceUser operation on AmazonChimeSDKMessagingClient.</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 EndListChannelMembershipsForAppInstanceUser /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMembershipsForAppInstanceUser">REST API Reference for ListChannelMembershipsForAppInstanceUser Operation</seealso> public virtual IAsyncResult BeginListChannelMembershipsForAppInstanceUser(ListChannelMembershipsForAppInstanceUserRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelMembershipsForAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelMembershipsForAppInstanceUserResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListChannelMembershipsForAppInstanceUser operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListChannelMembershipsForAppInstanceUser.</param> /// /// <returns>Returns a ListChannelMembershipsForAppInstanceUserResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMembershipsForAppInstanceUser">REST API Reference for ListChannelMembershipsForAppInstanceUser Operation</seealso> public virtual ListChannelMembershipsForAppInstanceUserResponse EndListChannelMembershipsForAppInstanceUser(IAsyncResult asyncResult) { return EndInvoke<ListChannelMembershipsForAppInstanceUserResponse>(asyncResult); } #endregion #region ListChannelMessages /// <summary> /// List all the messages in a channel. Returns a paginated list of <code>ChannelMessages</code>. /// By default, sorted by creation timestamp in descending order. /// /// <note> /// <para> /// Redacted messages appear in the results as empty, since they are only redacted, not /// deleted. Deleted messages do not appear in the results. This action always returns /// the latest version of an edited message. /// </para> /// /// <para> /// Also, the <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN /// of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the /// API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelMessages service method.</param> /// /// <returns>The response from the ListChannelMessages service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMessages">REST API Reference for ListChannelMessages Operation</seealso> public virtual ListChannelMessagesResponse ListChannelMessages(ListChannelMessagesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelMessagesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelMessagesResponseUnmarshaller.Instance; return Invoke<ListChannelMessagesResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListChannelMessages operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListChannelMessages operation on AmazonChimeSDKMessagingClient.</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 EndListChannelMessages /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMessages">REST API Reference for ListChannelMessages Operation</seealso> public virtual IAsyncResult BeginListChannelMessages(ListChannelMessagesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelMessagesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelMessagesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListChannelMessages operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListChannelMessages.</param> /// /// <returns>Returns a ListChannelMessagesResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMessages">REST API Reference for ListChannelMessages Operation</seealso> public virtual ListChannelMessagesResponse EndListChannelMessages(IAsyncResult asyncResult) { return EndInvoke<ListChannelMessagesResponse>(asyncResult); } #endregion #region ListChannelModerators /// <summary> /// Lists all the moderators for a channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelModerators service method.</param> /// /// <returns>The response from the ListChannelModerators service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelModerators">REST API Reference for ListChannelModerators Operation</seealso> public virtual ListChannelModeratorsResponse ListChannelModerators(ListChannelModeratorsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelModeratorsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelModeratorsResponseUnmarshaller.Instance; return Invoke<ListChannelModeratorsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListChannelModerators operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListChannelModerators operation on AmazonChimeSDKMessagingClient.</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 EndListChannelModerators /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelModerators">REST API Reference for ListChannelModerators Operation</seealso> public virtual IAsyncResult BeginListChannelModerators(ListChannelModeratorsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelModeratorsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelModeratorsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListChannelModerators operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListChannelModerators.</param> /// /// <returns>Returns a ListChannelModeratorsResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelModerators">REST API Reference for ListChannelModerators Operation</seealso> public virtual ListChannelModeratorsResponse EndListChannelModerators(IAsyncResult asyncResult) { return EndInvoke<ListChannelModeratorsResponse>(asyncResult); } #endregion #region ListChannels /// <summary> /// Lists all Channels created under a single Chime App as a paginated list. You can specify /// filters to narrow results. /// /// <p class="title"> <b>Functionality &amp; restrictions</b> /// </para> /// <ul> <li> /// <para> /// Use privacy = <code>PUBLIC</code> to retrieve all public channels in the account. /// </para> /// </li> <li> /// <para> /// Only an <code>AppInstanceAdmin</code> can set privacy = <code>PRIVATE</code> to list /// the private channels in an account. /// </para> /// </li> </ul> <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannels service method.</param> /// /// <returns>The response from the ListChannels service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannels">REST API Reference for ListChannels Operation</seealso> public virtual ListChannelsResponse ListChannels(ListChannelsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelsResponseUnmarshaller.Instance; return Invoke<ListChannelsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListChannels operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListChannels operation on AmazonChimeSDKMessagingClient.</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 EndListChannels /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannels">REST API Reference for ListChannels Operation</seealso> public virtual IAsyncResult BeginListChannels(ListChannelsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListChannels operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListChannels.</param> /// /// <returns>Returns a ListChannelsResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannels">REST API Reference for ListChannels Operation</seealso> public virtual ListChannelsResponse EndListChannels(IAsyncResult asyncResult) { return EndInvoke<ListChannelsResponse>(asyncResult); } #endregion #region ListChannelsAssociatedWithChannelFlow /// <summary> /// Lists all channels associated with a specified channel flow. You can associate a channel /// flow with multiple channels, but you can only associate a channel with one channel /// flow. This is a developer API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelsAssociatedWithChannelFlow service method.</param> /// /// <returns>The response from the ListChannelsAssociatedWithChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelsAssociatedWithChannelFlow">REST API Reference for ListChannelsAssociatedWithChannelFlow Operation</seealso> public virtual ListChannelsAssociatedWithChannelFlowResponse ListChannelsAssociatedWithChannelFlow(ListChannelsAssociatedWithChannelFlowRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelsAssociatedWithChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelsAssociatedWithChannelFlowResponseUnmarshaller.Instance; return Invoke<ListChannelsAssociatedWithChannelFlowResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListChannelsAssociatedWithChannelFlow operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListChannelsAssociatedWithChannelFlow operation on AmazonChimeSDKMessagingClient.</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 EndListChannelsAssociatedWithChannelFlow /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelsAssociatedWithChannelFlow">REST API Reference for ListChannelsAssociatedWithChannelFlow Operation</seealso> public virtual IAsyncResult BeginListChannelsAssociatedWithChannelFlow(ListChannelsAssociatedWithChannelFlowRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelsAssociatedWithChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelsAssociatedWithChannelFlowResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListChannelsAssociatedWithChannelFlow operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListChannelsAssociatedWithChannelFlow.</param> /// /// <returns>Returns a ListChannelsAssociatedWithChannelFlowResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelsAssociatedWithChannelFlow">REST API Reference for ListChannelsAssociatedWithChannelFlow Operation</seealso> public virtual ListChannelsAssociatedWithChannelFlowResponse EndListChannelsAssociatedWithChannelFlow(IAsyncResult asyncResult) { return EndInvoke<ListChannelsAssociatedWithChannelFlowResponse>(asyncResult); } #endregion #region ListChannelsModeratedByAppInstanceUser /// <summary> /// A list of the channels moderated by an <code>AppInstanceUser</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelsModeratedByAppInstanceUser service method.</param> /// /// <returns>The response from the ListChannelsModeratedByAppInstanceUser service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelsModeratedByAppInstanceUser">REST API Reference for ListChannelsModeratedByAppInstanceUser Operation</seealso> public virtual ListChannelsModeratedByAppInstanceUserResponse ListChannelsModeratedByAppInstanceUser(ListChannelsModeratedByAppInstanceUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelsModeratedByAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelsModeratedByAppInstanceUserResponseUnmarshaller.Instance; return Invoke<ListChannelsModeratedByAppInstanceUserResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListChannelsModeratedByAppInstanceUser operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListChannelsModeratedByAppInstanceUser operation on AmazonChimeSDKMessagingClient.</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 EndListChannelsModeratedByAppInstanceUser /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelsModeratedByAppInstanceUser">REST API Reference for ListChannelsModeratedByAppInstanceUser Operation</seealso> public virtual IAsyncResult BeginListChannelsModeratedByAppInstanceUser(ListChannelsModeratedByAppInstanceUserRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelsModeratedByAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelsModeratedByAppInstanceUserResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListChannelsModeratedByAppInstanceUser operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListChannelsModeratedByAppInstanceUser.</param> /// /// <returns>Returns a ListChannelsModeratedByAppInstanceUserResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelsModeratedByAppInstanceUser">REST API Reference for ListChannelsModeratedByAppInstanceUser Operation</seealso> public virtual ListChannelsModeratedByAppInstanceUserResponse EndListChannelsModeratedByAppInstanceUser(IAsyncResult asyncResult) { return EndInvoke<ListChannelsModeratedByAppInstanceUserResponse>(asyncResult); } #endregion #region ListSubChannels /// <summary> /// Lists all the SubChannels in an elastic channel when given a channel ID. Available /// only to the app instance admins and channel moderators of elastic channels. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListSubChannels service method.</param> /// /// <returns>The response from the ListSubChannels service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListSubChannels">REST API Reference for ListSubChannels Operation</seealso> public virtual ListSubChannelsResponse ListSubChannels(ListSubChannelsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListSubChannelsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSubChannelsResponseUnmarshaller.Instance; return Invoke<ListSubChannelsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListSubChannels operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListSubChannels operation on AmazonChimeSDKMessagingClient.</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 EndListSubChannels /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListSubChannels">REST API Reference for ListSubChannels Operation</seealso> public virtual IAsyncResult BeginListSubChannels(ListSubChannelsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListSubChannelsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSubChannelsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListSubChannels operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListSubChannels.</param> /// /// <returns>Returns a ListSubChannelsResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListSubChannels">REST API Reference for ListSubChannels Operation</seealso> public virtual ListSubChannelsResponse EndListSubChannels(IAsyncResult asyncResult) { return EndInvoke<ListSubChannelsResponse>(asyncResult); } #endregion #region ListTagsForResource /// <summary> /// Lists the tags applied to an Amazon Chime SDK messaging 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 ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/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 AmazonChimeSDKMessagingClient.</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-messaging-2021-05-15/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 ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult) { return EndInvoke<ListTagsForResourceResponse>(asyncResult); } #endregion #region PutChannelExpirationSettings /// <summary> /// Sets the number of days before the channel is automatically deleted. /// /// <note> <ul> <li> /// <para> /// A background process deletes expired channels within 6 hours of expiration. Actual /// deletion times may vary. /// </para> /// </li> <li> /// <para> /// Expired channels that have not yet been deleted appear as active, and you can update /// their expiration settings. The system honors the new settings. /// </para> /// </li> <li> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </li> </ul> </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutChannelExpirationSettings service method.</param> /// /// <returns>The response from the PutChannelExpirationSettings service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutChannelExpirationSettings">REST API Reference for PutChannelExpirationSettings Operation</seealso> public virtual PutChannelExpirationSettingsResponse PutChannelExpirationSettings(PutChannelExpirationSettingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutChannelExpirationSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutChannelExpirationSettingsResponseUnmarshaller.Instance; return Invoke<PutChannelExpirationSettingsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the PutChannelExpirationSettings operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the PutChannelExpirationSettings operation on AmazonChimeSDKMessagingClient.</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 EndPutChannelExpirationSettings /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutChannelExpirationSettings">REST API Reference for PutChannelExpirationSettings Operation</seealso> public virtual IAsyncResult BeginPutChannelExpirationSettings(PutChannelExpirationSettingsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PutChannelExpirationSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutChannelExpirationSettingsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the PutChannelExpirationSettings operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginPutChannelExpirationSettings.</param> /// /// <returns>Returns a PutChannelExpirationSettingsResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutChannelExpirationSettings">REST API Reference for PutChannelExpirationSettings Operation</seealso> public virtual PutChannelExpirationSettingsResponse EndPutChannelExpirationSettings(IAsyncResult asyncResult) { return EndInvoke<PutChannelExpirationSettingsResponse>(asyncResult); } #endregion #region PutChannelMembershipPreferences /// <summary> /// Sets the membership preferences of an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> /// for the specified channel. The user or bot must be a member of the channel. Only the /// user or bot who owns the membership can set preferences. Users or bots in the <code>AppInstanceAdmin</code> /// and channel moderator roles can't set preferences for other users. Banned users or /// bots can't set membership preferences for the channel from which they are banned. /// /// <note> /// <para> /// The x-amz-chime-bearer request header is mandatory. Use the ARN of an <code>AppInstanceUser</code> /// or <code>AppInstanceBot</code> that makes the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutChannelMembershipPreferences service method.</param> /// /// <returns>The response from the PutChannelMembershipPreferences service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutChannelMembershipPreferences">REST API Reference for PutChannelMembershipPreferences Operation</seealso> public virtual PutChannelMembershipPreferencesResponse PutChannelMembershipPreferences(PutChannelMembershipPreferencesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutChannelMembershipPreferencesRequestMarshaller.Instance; options.ResponseUnmarshaller = PutChannelMembershipPreferencesResponseUnmarshaller.Instance; return Invoke<PutChannelMembershipPreferencesResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the PutChannelMembershipPreferences operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the PutChannelMembershipPreferences operation on AmazonChimeSDKMessagingClient.</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 EndPutChannelMembershipPreferences /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutChannelMembershipPreferences">REST API Reference for PutChannelMembershipPreferences Operation</seealso> public virtual IAsyncResult BeginPutChannelMembershipPreferences(PutChannelMembershipPreferencesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PutChannelMembershipPreferencesRequestMarshaller.Instance; options.ResponseUnmarshaller = PutChannelMembershipPreferencesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the PutChannelMembershipPreferences operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginPutChannelMembershipPreferences.</param> /// /// <returns>Returns a PutChannelMembershipPreferencesResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutChannelMembershipPreferences">REST API Reference for PutChannelMembershipPreferences Operation</seealso> public virtual PutChannelMembershipPreferencesResponse EndPutChannelMembershipPreferences(IAsyncResult asyncResult) { return EndInvoke<PutChannelMembershipPreferencesResponse>(asyncResult); } #endregion #region PutMessagingStreamingConfigurations /// <summary> /// Sets the data streaming configuration for an <code>AppInstance</code>. For more information, /// see <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html">Streaming /// messaging data</a> in the <i>Amazon Chime SDK Developer Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutMessagingStreamingConfigurations service method.</param> /// /// <returns>The response from the PutMessagingStreamingConfigurations service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutMessagingStreamingConfigurations">REST API Reference for PutMessagingStreamingConfigurations Operation</seealso> public virtual PutMessagingStreamingConfigurationsResponse PutMessagingStreamingConfigurations(PutMessagingStreamingConfigurationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutMessagingStreamingConfigurationsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutMessagingStreamingConfigurationsResponseUnmarshaller.Instance; return Invoke<PutMessagingStreamingConfigurationsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the PutMessagingStreamingConfigurations operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the PutMessagingStreamingConfigurations operation on AmazonChimeSDKMessagingClient.</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 EndPutMessagingStreamingConfigurations /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutMessagingStreamingConfigurations">REST API Reference for PutMessagingStreamingConfigurations Operation</seealso> public virtual IAsyncResult BeginPutMessagingStreamingConfigurations(PutMessagingStreamingConfigurationsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PutMessagingStreamingConfigurationsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutMessagingStreamingConfigurationsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the PutMessagingStreamingConfigurations operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginPutMessagingStreamingConfigurations.</param> /// /// <returns>Returns a PutMessagingStreamingConfigurationsResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutMessagingStreamingConfigurations">REST API Reference for PutMessagingStreamingConfigurations Operation</seealso> public virtual PutMessagingStreamingConfigurationsResponse EndPutMessagingStreamingConfigurations(IAsyncResult asyncResult) { return EndInvoke<PutMessagingStreamingConfigurationsResponse>(asyncResult); } #endregion #region RedactChannelMessage /// <summary> /// Redacts message content, but not metadata. The message exists in the back end, but /// the action returns null content, and the state shows as redacted. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the RedactChannelMessage service method.</param> /// /// <returns>The response from the RedactChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/RedactChannelMessage">REST API Reference for RedactChannelMessage Operation</seealso> public virtual RedactChannelMessageResponse RedactChannelMessage(RedactChannelMessageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RedactChannelMessageRequestMarshaller.Instance; options.ResponseUnmarshaller = RedactChannelMessageResponseUnmarshaller.Instance; return Invoke<RedactChannelMessageResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the RedactChannelMessage operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the RedactChannelMessage operation on AmazonChimeSDKMessagingClient.</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 EndRedactChannelMessage /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/RedactChannelMessage">REST API Reference for RedactChannelMessage Operation</seealso> public virtual IAsyncResult BeginRedactChannelMessage(RedactChannelMessageRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = RedactChannelMessageRequestMarshaller.Instance; options.ResponseUnmarshaller = RedactChannelMessageResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the RedactChannelMessage operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginRedactChannelMessage.</param> /// /// <returns>Returns a RedactChannelMessageResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/RedactChannelMessage">REST API Reference for RedactChannelMessage Operation</seealso> public virtual RedactChannelMessageResponse EndRedactChannelMessage(IAsyncResult asyncResult) { return EndInvoke<RedactChannelMessageResponse>(asyncResult); } #endregion #region SearchChannels /// <summary> /// Allows the <code>ChimeBearer</code> to search channels by channel members. Users or /// bots can search across the channels that they belong to. Users in the <code>AppInstanceAdmin</code> /// role can search across all channels. /// /// /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the SearchChannels service method.</param> /// /// <returns>The response from the SearchChannels service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/SearchChannels">REST API Reference for SearchChannels Operation</seealso> public virtual SearchChannelsResponse SearchChannels(SearchChannelsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SearchChannelsRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchChannelsResponseUnmarshaller.Instance; return Invoke<SearchChannelsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the SearchChannels operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the SearchChannels operation on AmazonChimeSDKMessagingClient.</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 EndSearchChannels /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/SearchChannels">REST API Reference for SearchChannels Operation</seealso> public virtual IAsyncResult BeginSearchChannels(SearchChannelsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = SearchChannelsRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchChannelsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the SearchChannels operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginSearchChannels.</param> /// /// <returns>Returns a SearchChannelsResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/SearchChannels">REST API Reference for SearchChannels Operation</seealso> public virtual SearchChannelsResponse EndSearchChannels(IAsyncResult asyncResult) { return EndInvoke<SearchChannelsResponse>(asyncResult); } #endregion #region SendChannelMessage /// <summary> /// Sends a message to a particular channel that the member is a part of. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// /// <para> /// Also, <code>STANDARD</code> messages can be up to 4KB in size and contain metadata. /// Metadata is arbitrary, and you can use it in a variety of ways, such as containing /// a link to an attachment. /// </para> /// /// <para> /// <code>CONTROL</code> messages are limited to 30 bytes and do not contain metadata. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the SendChannelMessage service method.</param> /// /// <returns>The response from the SendChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/SendChannelMessage">REST API Reference for SendChannelMessage Operation</seealso> public virtual SendChannelMessageResponse SendChannelMessage(SendChannelMessageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SendChannelMessageRequestMarshaller.Instance; options.ResponseUnmarshaller = SendChannelMessageResponseUnmarshaller.Instance; return Invoke<SendChannelMessageResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the SendChannelMessage operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the SendChannelMessage operation on AmazonChimeSDKMessagingClient.</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 EndSendChannelMessage /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/SendChannelMessage">REST API Reference for SendChannelMessage Operation</seealso> public virtual IAsyncResult BeginSendChannelMessage(SendChannelMessageRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = SendChannelMessageRequestMarshaller.Instance; options.ResponseUnmarshaller = SendChannelMessageResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the SendChannelMessage operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginSendChannelMessage.</param> /// /// <returns>Returns a SendChannelMessageResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/SendChannelMessage">REST API Reference for SendChannelMessage Operation</seealso> public virtual SendChannelMessageResponse EndSendChannelMessage(IAsyncResult asyncResult) { return EndInvoke<SendChannelMessageResponse>(asyncResult); } #endregion #region TagResource /// <summary> /// Applies the specified tags to the specified Amazon Chime SDK messaging 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 ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/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 AmazonChimeSDKMessagingClient.</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-messaging-2021-05-15/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 ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/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 messaging 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 ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/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 AmazonChimeSDKMessagingClient.</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-messaging-2021-05-15/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 ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UntagResource">REST API Reference for UntagResource Operation</seealso> public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult) { return EndInvoke<UntagResourceResponse>(asyncResult); } #endregion #region UpdateChannel /// <summary> /// Update a channel's attributes. /// /// /// <para> /// <b>Restriction</b>: You can't change a channel's privacy. /// </para> /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateChannel service method.</param> /// /// <returns>The response from the UpdateChannel service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannel">REST API Reference for UpdateChannel Operation</seealso> public virtual UpdateChannelResponse UpdateChannel(UpdateChannelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateChannelResponseUnmarshaller.Instance; return Invoke<UpdateChannelResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateChannel operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateChannel operation on AmazonChimeSDKMessagingClient.</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 EndUpdateChannel /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannel">REST API Reference for UpdateChannel Operation</seealso> public virtual IAsyncResult BeginUpdateChannel(UpdateChannelRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateChannelResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateChannel operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateChannel.</param> /// /// <returns>Returns a UpdateChannelResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannel">REST API Reference for UpdateChannel Operation</seealso> public virtual UpdateChannelResponse EndUpdateChannel(IAsyncResult asyncResult) { return EndInvoke<UpdateChannelResponse>(asyncResult); } #endregion #region UpdateChannelFlow /// <summary> /// Updates channel flow attributes. This is a developer API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateChannelFlow service method.</param> /// /// <returns>The response from the UpdateChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelFlow">REST API Reference for UpdateChannelFlow Operation</seealso> public virtual UpdateChannelFlowResponse UpdateChannelFlow(UpdateChannelFlowRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateChannelFlowResponseUnmarshaller.Instance; return Invoke<UpdateChannelFlowResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateChannelFlow operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateChannelFlow operation on AmazonChimeSDKMessagingClient.</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 EndUpdateChannelFlow /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelFlow">REST API Reference for UpdateChannelFlow Operation</seealso> public virtual IAsyncResult BeginUpdateChannelFlow(UpdateChannelFlowRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateChannelFlowResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateChannelFlow operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateChannelFlow.</param> /// /// <returns>Returns a UpdateChannelFlowResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelFlow">REST API Reference for UpdateChannelFlow Operation</seealso> public virtual UpdateChannelFlowResponse EndUpdateChannelFlow(IAsyncResult asyncResult) { return EndInvoke<UpdateChannelFlowResponse>(asyncResult); } #endregion #region UpdateChannelMessage /// <summary> /// Updates the content of a message. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateChannelMessage service method.</param> /// /// <returns>The response from the UpdateChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelMessage">REST API Reference for UpdateChannelMessage Operation</seealso> public virtual UpdateChannelMessageResponse UpdateChannelMessage(UpdateChannelMessageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateChannelMessageRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateChannelMessageResponseUnmarshaller.Instance; return Invoke<UpdateChannelMessageResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateChannelMessage operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateChannelMessage operation on AmazonChimeSDKMessagingClient.</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 EndUpdateChannelMessage /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelMessage">REST API Reference for UpdateChannelMessage Operation</seealso> public virtual IAsyncResult BeginUpdateChannelMessage(UpdateChannelMessageRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateChannelMessageRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateChannelMessageResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateChannelMessage operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateChannelMessage.</param> /// /// <returns>Returns a UpdateChannelMessageResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelMessage">REST API Reference for UpdateChannelMessage Operation</seealso> public virtual UpdateChannelMessageResponse EndUpdateChannelMessage(IAsyncResult asyncResult) { return EndInvoke<UpdateChannelMessageResponse>(asyncResult); } #endregion #region UpdateChannelReadMarker /// <summary> /// The details of the time when a user last read messages in a channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateChannelReadMarker service method.</param> /// /// <returns>The response from the UpdateChannelReadMarker service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelReadMarker">REST API Reference for UpdateChannelReadMarker Operation</seealso> public virtual UpdateChannelReadMarkerResponse UpdateChannelReadMarker(UpdateChannelReadMarkerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateChannelReadMarkerRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateChannelReadMarkerResponseUnmarshaller.Instance; return Invoke<UpdateChannelReadMarkerResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateChannelReadMarker operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateChannelReadMarker operation on AmazonChimeSDKMessagingClient.</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 EndUpdateChannelReadMarker /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelReadMarker">REST API Reference for UpdateChannelReadMarker Operation</seealso> public virtual IAsyncResult BeginUpdateChannelReadMarker(UpdateChannelReadMarkerRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateChannelReadMarkerRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateChannelReadMarkerResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateChannelReadMarker operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateChannelReadMarker.</param> /// /// <returns>Returns a UpdateChannelReadMarkerResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelReadMarker">REST API Reference for UpdateChannelReadMarker Operation</seealso> public virtual UpdateChannelReadMarkerResponse EndUpdateChannelReadMarker(IAsyncResult asyncResult) { return EndInvoke<UpdateChannelReadMarkerResponse>(asyncResult); } #endregion } }
4,585
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-messaging-2021-05-15.normal.json service model. */ using System; using System.Collections.Generic; using Amazon.Runtime; using Amazon.ChimeSDKMessaging.Model; namespace Amazon.ChimeSDKMessaging { /// <summary> /// Interface for accessing ChimeSDKMessaging /// /// The Amazon Chime SDK messaging APIs in this section allow software developers to send /// and receive messages in custom messaging applications. These APIs depend on the frameworks /// provided by the Amazon Chime SDK identity APIs. For more information about the messaging /// APIs, see <a href="https://docs.aws.amazon.com/chime/latest/APIReference/API_Operations_Amazon_Chime_SDK_Messaging.html">Amazon /// Chime SDK messaging</a>. /// </summary> public partial interface IAmazonChimeSDKMessaging : IAmazonService, IDisposable { #if BCL45 || AWS_ASYNC_ENUMERABLES_API /// <summary> /// Paginators for the service /// </summary> IChimeSDKMessagingPaginatorFactory Paginators { get; } #endif #region AssociateChannelFlow /// <summary> /// Associates a channel flow with a channel. Once associated, all messages to that channel /// go through channel flow processors. To stop processing, use the <code>DisassociateChannelFlow</code> /// API. /// /// <note> /// <para> /// Only administrators or channel moderators can associate a channel flow. The <code>x-amz-chime-bearer</code> /// request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> /// that makes the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateChannelFlow service method.</param> /// /// <returns>The response from the AssociateChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/AssociateChannelFlow">REST API Reference for AssociateChannelFlow Operation</seealso> AssociateChannelFlowResponse AssociateChannelFlow(AssociateChannelFlowRequest request); /// <summary> /// Initiates the asynchronous execution of the AssociateChannelFlow operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the AssociateChannelFlow operation on AmazonChimeSDKMessagingClient.</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 EndAssociateChannelFlow /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/AssociateChannelFlow">REST API Reference for AssociateChannelFlow Operation</seealso> IAsyncResult BeginAssociateChannelFlow(AssociateChannelFlowRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the AssociateChannelFlow operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginAssociateChannelFlow.</param> /// /// <returns>Returns a AssociateChannelFlowResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/AssociateChannelFlow">REST API Reference for AssociateChannelFlow Operation</seealso> AssociateChannelFlowResponse EndAssociateChannelFlow(IAsyncResult asyncResult); #endregion #region BatchCreateChannelMembership /// <summary> /// Adds a specified number of users and bots to a channel. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchCreateChannelMembership service method.</param> /// /// <returns>The response from the BatchCreateChannelMembership service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/BatchCreateChannelMembership">REST API Reference for BatchCreateChannelMembership Operation</seealso> BatchCreateChannelMembershipResponse BatchCreateChannelMembership(BatchCreateChannelMembershipRequest request); /// <summary> /// Initiates the asynchronous execution of the BatchCreateChannelMembership operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the BatchCreateChannelMembership operation on AmazonChimeSDKMessagingClient.</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 EndBatchCreateChannelMembership /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/BatchCreateChannelMembership">REST API Reference for BatchCreateChannelMembership Operation</seealso> IAsyncResult BeginBatchCreateChannelMembership(BatchCreateChannelMembershipRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the BatchCreateChannelMembership operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginBatchCreateChannelMembership.</param> /// /// <returns>Returns a BatchCreateChannelMembershipResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/BatchCreateChannelMembership">REST API Reference for BatchCreateChannelMembership Operation</seealso> BatchCreateChannelMembershipResponse EndBatchCreateChannelMembership(IAsyncResult asyncResult); #endregion #region ChannelFlowCallback /// <summary> /// Calls back Amazon Chime SDK messaging with a processing response message. This should /// be invoked from the processor Lambda. This is a developer API. /// /// /// <para> /// You can return one of the following processing responses: /// </para> /// <ul> <li> /// <para> /// Update message content or metadata /// </para> /// </li> <li> /// <para> /// Deny a message /// </para> /// </li> <li> /// <para> /// Make no changes to the message /// </para> /// </li> </ul> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ChannelFlowCallback service method.</param> /// /// <returns>The response from the ChannelFlowCallback service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ChannelFlowCallback">REST API Reference for ChannelFlowCallback Operation</seealso> ChannelFlowCallbackResponse ChannelFlowCallback(ChannelFlowCallbackRequest request); /// <summary> /// Initiates the asynchronous execution of the ChannelFlowCallback operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ChannelFlowCallback operation on AmazonChimeSDKMessagingClient.</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 EndChannelFlowCallback /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ChannelFlowCallback">REST API Reference for ChannelFlowCallback Operation</seealso> IAsyncResult BeginChannelFlowCallback(ChannelFlowCallbackRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ChannelFlowCallback operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginChannelFlowCallback.</param> /// /// <returns>Returns a ChannelFlowCallbackResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ChannelFlowCallback">REST API Reference for ChannelFlowCallback Operation</seealso> ChannelFlowCallbackResponse EndChannelFlowCallback(IAsyncResult asyncResult); #endregion #region CreateChannel /// <summary> /// Creates a channel to which you can add users and send messages. /// /// /// <para> /// <b>Restriction</b>: You can't change a channel's privacy. /// </para> /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannel service method.</param> /// /// <returns>The response from the CreateChannel service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannel">REST API Reference for CreateChannel Operation</seealso> CreateChannelResponse CreateChannel(CreateChannelRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateChannel operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateChannel operation on AmazonChimeSDKMessagingClient.</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 EndCreateChannel /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannel">REST API Reference for CreateChannel Operation</seealso> IAsyncResult BeginCreateChannel(CreateChannelRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateChannel operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateChannel.</param> /// /// <returns>Returns a CreateChannelResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannel">REST API Reference for CreateChannel Operation</seealso> CreateChannelResponse EndCreateChannel(IAsyncResult asyncResult); #endregion #region CreateChannelBan /// <summary> /// Permanently bans a member from a channel. Moderators can't add banned members to a /// channel. To undo a ban, you first have to <code>DeleteChannelBan</code>, and then /// <code>CreateChannelMembership</code>. Bans are cleaned up when you delete users or /// channels. /// /// /// <para> /// If you ban a user who is already part of a channel, that user is automatically kicked /// from the channel. /// </para> /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannelBan service method.</param> /// /// <returns>The response from the CreateChannelBan service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelBan">REST API Reference for CreateChannelBan Operation</seealso> CreateChannelBanResponse CreateChannelBan(CreateChannelBanRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateChannelBan operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateChannelBan operation on AmazonChimeSDKMessagingClient.</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 EndCreateChannelBan /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelBan">REST API Reference for CreateChannelBan Operation</seealso> IAsyncResult BeginCreateChannelBan(CreateChannelBanRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateChannelBan operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateChannelBan.</param> /// /// <returns>Returns a CreateChannelBanResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelBan">REST API Reference for CreateChannelBan Operation</seealso> CreateChannelBanResponse EndCreateChannelBan(IAsyncResult asyncResult); #endregion #region CreateChannelFlow /// <summary> /// Creates a channel flow, a container for processors. Processors are AWS Lambda functions /// that perform actions on chat messages, such as stripping out profanity. You can associate /// channel flows with channels, and the processors in the channel flow then take action /// on all messages sent to that channel. This is a developer API. /// /// /// <para> /// Channel flows process the following items: /// </para> /// <ol> <li> /// <para> /// New and updated messages /// </para> /// </li> <li> /// <para> /// Persistent and non-persistent messages /// </para> /// </li> <li> /// <para> /// The Standard message type /// </para> /// </li> </ol> <note> /// <para> /// Channel flows don't process Control or System messages. For more information about /// the message types provided by Chime SDK messaging, refer to <a href="https://docs.aws.amazon.com/chime/latest/dg/using-the-messaging-sdk.html#msg-types">Message /// types</a> in the <i>Amazon Chime developer guide</i>. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannelFlow service method.</param> /// /// <returns>The response from the CreateChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelFlow">REST API Reference for CreateChannelFlow Operation</seealso> CreateChannelFlowResponse CreateChannelFlow(CreateChannelFlowRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateChannelFlow operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateChannelFlow operation on AmazonChimeSDKMessagingClient.</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 EndCreateChannelFlow /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelFlow">REST API Reference for CreateChannelFlow Operation</seealso> IAsyncResult BeginCreateChannelFlow(CreateChannelFlowRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateChannelFlow operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateChannelFlow.</param> /// /// <returns>Returns a CreateChannelFlowResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelFlow">REST API Reference for CreateChannelFlow Operation</seealso> CreateChannelFlowResponse EndCreateChannelFlow(IAsyncResult asyncResult); #endregion #region CreateChannelMembership /// <summary> /// Adds a member to a channel. The <code>InvitedBy</code> field in <code>ChannelMembership</code> /// is derived from the request header. A channel member can: /// /// <ul> <li> /// <para> /// List messages /// </para> /// </li> <li> /// <para> /// Send messages /// </para> /// </li> <li> /// <para> /// Receive messages /// </para> /// </li> <li> /// <para> /// Edit their own messages /// </para> /// </li> <li> /// <para> /// Leave the channel /// </para> /// </li> </ul> /// <para> /// Privacy settings impact this action as follows: /// </para> /// <ul> <li> /// <para> /// Public Channels: You do not need to be a member to list messages, but you must be /// a member to send messages. /// </para> /// </li> <li> /// <para> /// Private Channels: You must be a member to list or send messages. /// </para> /// </li> </ul> <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUserArn</code> or <code>AppInstanceBot</code> that makes the API /// call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannelMembership service method.</param> /// /// <returns>The response from the CreateChannelMembership service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelMembership">REST API Reference for CreateChannelMembership Operation</seealso> CreateChannelMembershipResponse CreateChannelMembership(CreateChannelMembershipRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateChannelMembership operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateChannelMembership operation on AmazonChimeSDKMessagingClient.</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 EndCreateChannelMembership /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelMembership">REST API Reference for CreateChannelMembership Operation</seealso> IAsyncResult BeginCreateChannelMembership(CreateChannelMembershipRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateChannelMembership operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateChannelMembership.</param> /// /// <returns>Returns a CreateChannelMembershipResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelMembership">REST API Reference for CreateChannelMembership Operation</seealso> CreateChannelMembershipResponse EndCreateChannelMembership(IAsyncResult asyncResult); #endregion #region CreateChannelModerator /// <summary> /// Creates a new <code>ChannelModerator</code>. A channel moderator can: /// /// <ul> <li> /// <para> /// Add and remove other members of the channel. /// </para> /// </li> <li> /// <para> /// Add and remove other moderators of the channel. /// </para> /// </li> <li> /// <para> /// Add and remove user bans for the channel. /// </para> /// </li> <li> /// <para> /// Redact messages in the channel. /// </para> /// </li> <li> /// <para> /// List messages in the channel. /// </para> /// </li> </ul> <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code>of the user that makes /// the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannelModerator service method.</param> /// /// <returns>The response from the CreateChannelModerator service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelModerator">REST API Reference for CreateChannelModerator Operation</seealso> CreateChannelModeratorResponse CreateChannelModerator(CreateChannelModeratorRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateChannelModerator operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateChannelModerator operation on AmazonChimeSDKMessagingClient.</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 EndCreateChannelModerator /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelModerator">REST API Reference for CreateChannelModerator Operation</seealso> IAsyncResult BeginCreateChannelModerator(CreateChannelModeratorRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateChannelModerator operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateChannelModerator.</param> /// /// <returns>Returns a CreateChannelModeratorResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelModerator">REST API Reference for CreateChannelModerator Operation</seealso> CreateChannelModeratorResponse EndCreateChannelModerator(IAsyncResult asyncResult); #endregion #region DeleteChannel /// <summary> /// Immediately makes a channel and its memberships inaccessible and marks them for deletion. /// This is an irreversible process. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUserArn</code> or <code>AppInstanceBot</code> that makes the API /// call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannel service method.</param> /// /// <returns>The response from the DeleteChannel service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannel">REST API Reference for DeleteChannel Operation</seealso> DeleteChannelResponse DeleteChannel(DeleteChannelRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteChannel operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteChannel operation on AmazonChimeSDKMessagingClient.</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 EndDeleteChannel /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannel">REST API Reference for DeleteChannel Operation</seealso> IAsyncResult BeginDeleteChannel(DeleteChannelRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteChannel operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteChannel.</param> /// /// <returns>Returns a DeleteChannelResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannel">REST API Reference for DeleteChannel Operation</seealso> DeleteChannelResponse EndDeleteChannel(IAsyncResult asyncResult); #endregion #region DeleteChannelBan /// <summary> /// Removes a member from a channel's ban list. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelBan service method.</param> /// /// <returns>The response from the DeleteChannelBan service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelBan">REST API Reference for DeleteChannelBan Operation</seealso> DeleteChannelBanResponse DeleteChannelBan(DeleteChannelBanRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteChannelBan operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteChannelBan operation on AmazonChimeSDKMessagingClient.</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 EndDeleteChannelBan /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelBan">REST API Reference for DeleteChannelBan Operation</seealso> IAsyncResult BeginDeleteChannelBan(DeleteChannelBanRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteChannelBan operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteChannelBan.</param> /// /// <returns>Returns a DeleteChannelBanResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelBan">REST API Reference for DeleteChannelBan Operation</seealso> DeleteChannelBanResponse EndDeleteChannelBan(IAsyncResult asyncResult); #endregion #region DeleteChannelFlow /// <summary> /// Deletes a channel flow, an irreversible process. This is a developer API. /// /// <note> /// <para> /// This API works only when the channel flow is not associated with any channel. To /// get a list of all channels that a channel flow is associated with, use the <code>ListChannelsAssociatedWithChannelFlow</code> /// API. Use the <code>DisassociateChannelFlow</code> API to disassociate a channel flow /// from all channels. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelFlow service method.</param> /// /// <returns>The response from the DeleteChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelFlow">REST API Reference for DeleteChannelFlow Operation</seealso> DeleteChannelFlowResponse DeleteChannelFlow(DeleteChannelFlowRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteChannelFlow operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteChannelFlow operation on AmazonChimeSDKMessagingClient.</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 EndDeleteChannelFlow /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelFlow">REST API Reference for DeleteChannelFlow Operation</seealso> IAsyncResult BeginDeleteChannelFlow(DeleteChannelFlowRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteChannelFlow operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteChannelFlow.</param> /// /// <returns>Returns a DeleteChannelFlowResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelFlow">REST API Reference for DeleteChannelFlow Operation</seealso> DeleteChannelFlowResponse EndDeleteChannelFlow(IAsyncResult asyncResult); #endregion #region DeleteChannelMembership /// <summary> /// Removes a member from a channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the <code>AppInstanceUserArn</code> /// of the user that makes the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelMembership service method.</param> /// /// <returns>The response from the DeleteChannelMembership service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelMembership">REST API Reference for DeleteChannelMembership Operation</seealso> DeleteChannelMembershipResponse DeleteChannelMembership(DeleteChannelMembershipRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteChannelMembership operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteChannelMembership operation on AmazonChimeSDKMessagingClient.</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 EndDeleteChannelMembership /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelMembership">REST API Reference for DeleteChannelMembership Operation</seealso> IAsyncResult BeginDeleteChannelMembership(DeleteChannelMembershipRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteChannelMembership operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteChannelMembership.</param> /// /// <returns>Returns a DeleteChannelMembershipResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelMembership">REST API Reference for DeleteChannelMembership Operation</seealso> DeleteChannelMembershipResponse EndDeleteChannelMembership(IAsyncResult asyncResult); #endregion #region DeleteChannelMessage /// <summary> /// Deletes a channel message. Only admins can perform this action. Deletion makes messages /// inaccessible immediately. A background process deletes any revisions created by <code>UpdateChannelMessage</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelMessage service method.</param> /// /// <returns>The response from the DeleteChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelMessage">REST API Reference for DeleteChannelMessage Operation</seealso> DeleteChannelMessageResponse DeleteChannelMessage(DeleteChannelMessageRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteChannelMessage operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteChannelMessage operation on AmazonChimeSDKMessagingClient.</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 EndDeleteChannelMessage /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelMessage">REST API Reference for DeleteChannelMessage Operation</seealso> IAsyncResult BeginDeleteChannelMessage(DeleteChannelMessageRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteChannelMessage operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteChannelMessage.</param> /// /// <returns>Returns a DeleteChannelMessageResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelMessage">REST API Reference for DeleteChannelMessage Operation</seealso> DeleteChannelMessageResponse EndDeleteChannelMessage(IAsyncResult asyncResult); #endregion #region DeleteChannelModerator /// <summary> /// Deletes a channel moderator. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelModerator service method.</param> /// /// <returns>The response from the DeleteChannelModerator service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelModerator">REST API Reference for DeleteChannelModerator Operation</seealso> DeleteChannelModeratorResponse DeleteChannelModerator(DeleteChannelModeratorRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteChannelModerator operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteChannelModerator operation on AmazonChimeSDKMessagingClient.</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 EndDeleteChannelModerator /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelModerator">REST API Reference for DeleteChannelModerator Operation</seealso> IAsyncResult BeginDeleteChannelModerator(DeleteChannelModeratorRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteChannelModerator operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteChannelModerator.</param> /// /// <returns>Returns a DeleteChannelModeratorResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelModerator">REST API Reference for DeleteChannelModerator Operation</seealso> DeleteChannelModeratorResponse EndDeleteChannelModerator(IAsyncResult asyncResult); #endregion #region DeleteMessagingStreamingConfigurations /// <summary> /// Deletes the streaming configurations for an <code>AppInstance</code>. For more information, /// see <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html">Streaming /// messaging data</a> in the <i>Amazon Chime SDK Developer Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteMessagingStreamingConfigurations service method.</param> /// /// <returns>The response from the DeleteMessagingStreamingConfigurations service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteMessagingStreamingConfigurations">REST API Reference for DeleteMessagingStreamingConfigurations Operation</seealso> DeleteMessagingStreamingConfigurationsResponse DeleteMessagingStreamingConfigurations(DeleteMessagingStreamingConfigurationsRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteMessagingStreamingConfigurations operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteMessagingStreamingConfigurations operation on AmazonChimeSDKMessagingClient.</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 EndDeleteMessagingStreamingConfigurations /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteMessagingStreamingConfigurations">REST API Reference for DeleteMessagingStreamingConfigurations Operation</seealso> IAsyncResult BeginDeleteMessagingStreamingConfigurations(DeleteMessagingStreamingConfigurationsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteMessagingStreamingConfigurations operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteMessagingStreamingConfigurations.</param> /// /// <returns>Returns a DeleteMessagingStreamingConfigurationsResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteMessagingStreamingConfigurations">REST API Reference for DeleteMessagingStreamingConfigurations Operation</seealso> DeleteMessagingStreamingConfigurationsResponse EndDeleteMessagingStreamingConfigurations(IAsyncResult asyncResult); #endregion #region DescribeChannel /// <summary> /// Returns the full details of a channel in an Amazon Chime <code>AppInstance</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannel service method.</param> /// /// <returns>The response from the DescribeChannel service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannel">REST API Reference for DescribeChannel Operation</seealso> DescribeChannelResponse DescribeChannel(DescribeChannelRequest request); /// <summary> /// Initiates the asynchronous execution of the DescribeChannel operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeChannel operation on AmazonChimeSDKMessagingClient.</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 EndDescribeChannel /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannel">REST API Reference for DescribeChannel Operation</seealso> IAsyncResult BeginDescribeChannel(DescribeChannelRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DescribeChannel operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeChannel.</param> /// /// <returns>Returns a DescribeChannelResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannel">REST API Reference for DescribeChannel Operation</seealso> DescribeChannelResponse EndDescribeChannel(IAsyncResult asyncResult); #endregion #region DescribeChannelBan /// <summary> /// Returns the full details of a channel ban. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelBan service method.</param> /// /// <returns>The response from the DescribeChannelBan service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelBan">REST API Reference for DescribeChannelBan Operation</seealso> DescribeChannelBanResponse DescribeChannelBan(DescribeChannelBanRequest request); /// <summary> /// Initiates the asynchronous execution of the DescribeChannelBan operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeChannelBan operation on AmazonChimeSDKMessagingClient.</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 EndDescribeChannelBan /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelBan">REST API Reference for DescribeChannelBan Operation</seealso> IAsyncResult BeginDescribeChannelBan(DescribeChannelBanRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DescribeChannelBan operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeChannelBan.</param> /// /// <returns>Returns a DescribeChannelBanResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelBan">REST API Reference for DescribeChannelBan Operation</seealso> DescribeChannelBanResponse EndDescribeChannelBan(IAsyncResult asyncResult); #endregion #region DescribeChannelFlow /// <summary> /// Returns the full details of a channel flow in an Amazon Chime <code>AppInstance</code>. /// This is a developer API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelFlow service method.</param> /// /// <returns>The response from the DescribeChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelFlow">REST API Reference for DescribeChannelFlow Operation</seealso> DescribeChannelFlowResponse DescribeChannelFlow(DescribeChannelFlowRequest request); /// <summary> /// Initiates the asynchronous execution of the DescribeChannelFlow operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeChannelFlow operation on AmazonChimeSDKMessagingClient.</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 EndDescribeChannelFlow /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelFlow">REST API Reference for DescribeChannelFlow Operation</seealso> IAsyncResult BeginDescribeChannelFlow(DescribeChannelFlowRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DescribeChannelFlow operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeChannelFlow.</param> /// /// <returns>Returns a DescribeChannelFlowResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelFlow">REST API Reference for DescribeChannelFlow Operation</seealso> DescribeChannelFlowResponse EndDescribeChannelFlow(IAsyncResult asyncResult); #endregion #region DescribeChannelMembership /// <summary> /// Returns the full details of a user's channel membership. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelMembership service method.</param> /// /// <returns>The response from the DescribeChannelMembership service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelMembership">REST API Reference for DescribeChannelMembership Operation</seealso> DescribeChannelMembershipResponse DescribeChannelMembership(DescribeChannelMembershipRequest request); /// <summary> /// Initiates the asynchronous execution of the DescribeChannelMembership operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeChannelMembership operation on AmazonChimeSDKMessagingClient.</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 EndDescribeChannelMembership /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelMembership">REST API Reference for DescribeChannelMembership Operation</seealso> IAsyncResult BeginDescribeChannelMembership(DescribeChannelMembershipRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DescribeChannelMembership operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeChannelMembership.</param> /// /// <returns>Returns a DescribeChannelMembershipResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelMembership">REST API Reference for DescribeChannelMembership Operation</seealso> DescribeChannelMembershipResponse EndDescribeChannelMembership(IAsyncResult asyncResult); #endregion #region DescribeChannelMembershipForAppInstanceUser /// <summary> /// Returns the details of a channel based on the membership of the specified <code>AppInstanceUser</code> /// or <code>AppInstanceBot</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelMembershipForAppInstanceUser service method.</param> /// /// <returns>The response from the DescribeChannelMembershipForAppInstanceUser service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelMembershipForAppInstanceUser">REST API Reference for DescribeChannelMembershipForAppInstanceUser Operation</seealso> DescribeChannelMembershipForAppInstanceUserResponse DescribeChannelMembershipForAppInstanceUser(DescribeChannelMembershipForAppInstanceUserRequest request); /// <summary> /// Initiates the asynchronous execution of the DescribeChannelMembershipForAppInstanceUser operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeChannelMembershipForAppInstanceUser operation on AmazonChimeSDKMessagingClient.</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 EndDescribeChannelMembershipForAppInstanceUser /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelMembershipForAppInstanceUser">REST API Reference for DescribeChannelMembershipForAppInstanceUser Operation</seealso> IAsyncResult BeginDescribeChannelMembershipForAppInstanceUser(DescribeChannelMembershipForAppInstanceUserRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DescribeChannelMembershipForAppInstanceUser operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeChannelMembershipForAppInstanceUser.</param> /// /// <returns>Returns a DescribeChannelMembershipForAppInstanceUserResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelMembershipForAppInstanceUser">REST API Reference for DescribeChannelMembershipForAppInstanceUser Operation</seealso> DescribeChannelMembershipForAppInstanceUserResponse EndDescribeChannelMembershipForAppInstanceUser(IAsyncResult asyncResult); #endregion #region DescribeChannelModeratedByAppInstanceUser /// <summary> /// Returns the full details of a channel moderated by the specified <code>AppInstanceUser</code> /// or <code>AppInstanceBot</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelModeratedByAppInstanceUser service method.</param> /// /// <returns>The response from the DescribeChannelModeratedByAppInstanceUser service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelModeratedByAppInstanceUser">REST API Reference for DescribeChannelModeratedByAppInstanceUser Operation</seealso> DescribeChannelModeratedByAppInstanceUserResponse DescribeChannelModeratedByAppInstanceUser(DescribeChannelModeratedByAppInstanceUserRequest request); /// <summary> /// Initiates the asynchronous execution of the DescribeChannelModeratedByAppInstanceUser operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeChannelModeratedByAppInstanceUser operation on AmazonChimeSDKMessagingClient.</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 EndDescribeChannelModeratedByAppInstanceUser /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelModeratedByAppInstanceUser">REST API Reference for DescribeChannelModeratedByAppInstanceUser Operation</seealso> IAsyncResult BeginDescribeChannelModeratedByAppInstanceUser(DescribeChannelModeratedByAppInstanceUserRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DescribeChannelModeratedByAppInstanceUser operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeChannelModeratedByAppInstanceUser.</param> /// /// <returns>Returns a DescribeChannelModeratedByAppInstanceUserResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelModeratedByAppInstanceUser">REST API Reference for DescribeChannelModeratedByAppInstanceUser Operation</seealso> DescribeChannelModeratedByAppInstanceUserResponse EndDescribeChannelModeratedByAppInstanceUser(IAsyncResult asyncResult); #endregion #region DescribeChannelModerator /// <summary> /// Returns the full details of a single ChannelModerator. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the <code>AppInstanceUserArn</code> /// of the user that makes the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelModerator service method.</param> /// /// <returns>The response from the DescribeChannelModerator service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelModerator">REST API Reference for DescribeChannelModerator Operation</seealso> DescribeChannelModeratorResponse DescribeChannelModerator(DescribeChannelModeratorRequest request); /// <summary> /// Initiates the asynchronous execution of the DescribeChannelModerator operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeChannelModerator operation on AmazonChimeSDKMessagingClient.</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 EndDescribeChannelModerator /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelModerator">REST API Reference for DescribeChannelModerator Operation</seealso> IAsyncResult BeginDescribeChannelModerator(DescribeChannelModeratorRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DescribeChannelModerator operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeChannelModerator.</param> /// /// <returns>Returns a DescribeChannelModeratorResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelModerator">REST API Reference for DescribeChannelModerator Operation</seealso> DescribeChannelModeratorResponse EndDescribeChannelModerator(IAsyncResult asyncResult); #endregion #region DisassociateChannelFlow /// <summary> /// Disassociates a channel flow from all its channels. Once disassociated, all messages /// to that channel stop going through the channel flow processor. /// /// <note> /// <para> /// Only administrators or channel moderators can disassociate a channel flow. /// </para> /// /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateChannelFlow service method.</param> /// /// <returns>The response from the DisassociateChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DisassociateChannelFlow">REST API Reference for DisassociateChannelFlow Operation</seealso> DisassociateChannelFlowResponse DisassociateChannelFlow(DisassociateChannelFlowRequest request); /// <summary> /// Initiates the asynchronous execution of the DisassociateChannelFlow operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DisassociateChannelFlow operation on AmazonChimeSDKMessagingClient.</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 EndDisassociateChannelFlow /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DisassociateChannelFlow">REST API Reference for DisassociateChannelFlow Operation</seealso> IAsyncResult BeginDisassociateChannelFlow(DisassociateChannelFlowRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DisassociateChannelFlow operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDisassociateChannelFlow.</param> /// /// <returns>Returns a DisassociateChannelFlowResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DisassociateChannelFlow">REST API Reference for DisassociateChannelFlow Operation</seealso> DisassociateChannelFlowResponse EndDisassociateChannelFlow(IAsyncResult asyncResult); #endregion #region GetChannelMembershipPreferences /// <summary> /// Gets the membership preferences of an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> /// for the specified channel. A user or a bot must be a member of the channel and own /// the membership in order to retrieve membership preferences. Users or bots in the <code>AppInstanceAdmin</code> /// and channel moderator roles can't retrieve preferences for other users or bots. Banned /// users or bots can't retrieve membership preferences for the channel from which they /// are banned. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetChannelMembershipPreferences service method.</param> /// /// <returns>The response from the GetChannelMembershipPreferences service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMembershipPreferences">REST API Reference for GetChannelMembershipPreferences Operation</seealso> GetChannelMembershipPreferencesResponse GetChannelMembershipPreferences(GetChannelMembershipPreferencesRequest request); /// <summary> /// Initiates the asynchronous execution of the GetChannelMembershipPreferences operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetChannelMembershipPreferences operation on AmazonChimeSDKMessagingClient.</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 EndGetChannelMembershipPreferences /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMembershipPreferences">REST API Reference for GetChannelMembershipPreferences Operation</seealso> IAsyncResult BeginGetChannelMembershipPreferences(GetChannelMembershipPreferencesRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the GetChannelMembershipPreferences operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetChannelMembershipPreferences.</param> /// /// <returns>Returns a GetChannelMembershipPreferencesResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMembershipPreferences">REST API Reference for GetChannelMembershipPreferences Operation</seealso> GetChannelMembershipPreferencesResponse EndGetChannelMembershipPreferences(IAsyncResult asyncResult); #endregion #region GetChannelMessage /// <summary> /// Gets the full details of a channel message. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetChannelMessage service method.</param> /// /// <returns>The response from the GetChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMessage">REST API Reference for GetChannelMessage Operation</seealso> GetChannelMessageResponse GetChannelMessage(GetChannelMessageRequest request); /// <summary> /// Initiates the asynchronous execution of the GetChannelMessage operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetChannelMessage operation on AmazonChimeSDKMessagingClient.</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 EndGetChannelMessage /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMessage">REST API Reference for GetChannelMessage Operation</seealso> IAsyncResult BeginGetChannelMessage(GetChannelMessageRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the GetChannelMessage operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetChannelMessage.</param> /// /// <returns>Returns a GetChannelMessageResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMessage">REST API Reference for GetChannelMessage Operation</seealso> GetChannelMessageResponse EndGetChannelMessage(IAsyncResult asyncResult); #endregion #region GetChannelMessageStatus /// <summary> /// Gets message status for a specified <code>messageId</code>. Use this API to determine /// the intermediate status of messages going through channel flow processing. The API /// provides an alternative to retrieving message status if the event was not received /// because a client wasn't connected to a websocket. /// /// /// <para> /// Messages can have any one of these statuses. /// </para> /// <dl> <dt>SENT</dt> <dd> /// <para> /// Message processed successfully /// </para> /// </dd> <dt>PENDING</dt> <dd> /// <para> /// Ongoing processing /// </para> /// </dd> <dt>FAILED</dt> <dd> /// <para> /// Processing failed /// </para> /// </dd> <dt>DENIED</dt> <dd> /// <para> /// Message denied by the processor /// </para> /// </dd> </dl> <note> <ul> <li> /// <para> /// This API does not return statuses for denied messages, because we don't store them /// once the processor denies them. /// </para> /// </li> <li> /// <para> /// Only the message sender can invoke this API. /// </para> /// </li> <li> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </li> </ul> </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetChannelMessageStatus service method.</param> /// /// <returns>The response from the GetChannelMessageStatus service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMessageStatus">REST API Reference for GetChannelMessageStatus Operation</seealso> GetChannelMessageStatusResponse GetChannelMessageStatus(GetChannelMessageStatusRequest request); /// <summary> /// Initiates the asynchronous execution of the GetChannelMessageStatus operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetChannelMessageStatus operation on AmazonChimeSDKMessagingClient.</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 EndGetChannelMessageStatus /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMessageStatus">REST API Reference for GetChannelMessageStatus Operation</seealso> IAsyncResult BeginGetChannelMessageStatus(GetChannelMessageStatusRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the GetChannelMessageStatus operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetChannelMessageStatus.</param> /// /// <returns>Returns a GetChannelMessageStatusResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMessageStatus">REST API Reference for GetChannelMessageStatus Operation</seealso> GetChannelMessageStatusResponse EndGetChannelMessageStatus(IAsyncResult asyncResult); #endregion #region GetMessagingSessionEndpoint /// <summary> /// The details of the endpoint for the messaging session. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetMessagingSessionEndpoint service method.</param> /// /// <returns>The response from the GetMessagingSessionEndpoint service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetMessagingSessionEndpoint">REST API Reference for GetMessagingSessionEndpoint Operation</seealso> GetMessagingSessionEndpointResponse GetMessagingSessionEndpoint(GetMessagingSessionEndpointRequest request); /// <summary> /// Initiates the asynchronous execution of the GetMessagingSessionEndpoint operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetMessagingSessionEndpoint operation on AmazonChimeSDKMessagingClient.</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 EndGetMessagingSessionEndpoint /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetMessagingSessionEndpoint">REST API Reference for GetMessagingSessionEndpoint Operation</seealso> IAsyncResult BeginGetMessagingSessionEndpoint(GetMessagingSessionEndpointRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the GetMessagingSessionEndpoint operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetMessagingSessionEndpoint.</param> /// /// <returns>Returns a GetMessagingSessionEndpointResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetMessagingSessionEndpoint">REST API Reference for GetMessagingSessionEndpoint Operation</seealso> GetMessagingSessionEndpointResponse EndGetMessagingSessionEndpoint(IAsyncResult asyncResult); #endregion #region GetMessagingStreamingConfigurations /// <summary> /// Retrieves the data streaming configuration for an <code>AppInstance</code>. For more /// information, see <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html">Streaming /// messaging data</a> in the <i>Amazon Chime SDK Developer Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetMessagingStreamingConfigurations service method.</param> /// /// <returns>The response from the GetMessagingStreamingConfigurations service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetMessagingStreamingConfigurations">REST API Reference for GetMessagingStreamingConfigurations Operation</seealso> GetMessagingStreamingConfigurationsResponse GetMessagingStreamingConfigurations(GetMessagingStreamingConfigurationsRequest request); /// <summary> /// Initiates the asynchronous execution of the GetMessagingStreamingConfigurations operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetMessagingStreamingConfigurations operation on AmazonChimeSDKMessagingClient.</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 EndGetMessagingStreamingConfigurations /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetMessagingStreamingConfigurations">REST API Reference for GetMessagingStreamingConfigurations Operation</seealso> IAsyncResult BeginGetMessagingStreamingConfigurations(GetMessagingStreamingConfigurationsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the GetMessagingStreamingConfigurations operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetMessagingStreamingConfigurations.</param> /// /// <returns>Returns a GetMessagingStreamingConfigurationsResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetMessagingStreamingConfigurations">REST API Reference for GetMessagingStreamingConfigurations Operation</seealso> GetMessagingStreamingConfigurationsResponse EndGetMessagingStreamingConfigurations(IAsyncResult asyncResult); #endregion #region ListChannelBans /// <summary> /// Lists all the users and bots banned from a particular channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelBans service method.</param> /// /// <returns>The response from the ListChannelBans service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelBans">REST API Reference for ListChannelBans Operation</seealso> ListChannelBansResponse ListChannelBans(ListChannelBansRequest request); /// <summary> /// Initiates the asynchronous execution of the ListChannelBans operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListChannelBans operation on AmazonChimeSDKMessagingClient.</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 EndListChannelBans /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelBans">REST API Reference for ListChannelBans Operation</seealso> IAsyncResult BeginListChannelBans(ListChannelBansRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListChannelBans operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListChannelBans.</param> /// /// <returns>Returns a ListChannelBansResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelBans">REST API Reference for ListChannelBans Operation</seealso> ListChannelBansResponse EndListChannelBans(IAsyncResult asyncResult); #endregion #region ListChannelFlows /// <summary> /// Returns a paginated lists of all the channel flows created under a single Chime. This /// is a developer API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelFlows service method.</param> /// /// <returns>The response from the ListChannelFlows service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelFlows">REST API Reference for ListChannelFlows Operation</seealso> ListChannelFlowsResponse ListChannelFlows(ListChannelFlowsRequest request); /// <summary> /// Initiates the asynchronous execution of the ListChannelFlows operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListChannelFlows operation on AmazonChimeSDKMessagingClient.</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 EndListChannelFlows /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelFlows">REST API Reference for ListChannelFlows Operation</seealso> IAsyncResult BeginListChannelFlows(ListChannelFlowsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListChannelFlows operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListChannelFlows.</param> /// /// <returns>Returns a ListChannelFlowsResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelFlows">REST API Reference for ListChannelFlows Operation</seealso> ListChannelFlowsResponse EndListChannelFlows(IAsyncResult asyncResult); #endregion #region ListChannelMemberships /// <summary> /// Lists all channel memberships in a channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// <para> /// If you want to list the channels to which a specific app instance user belongs, see /// the <a href="https://docs.aws.amazon.com/chime/latest/APIReference/API_messaging-chime_ListChannelMembershipsForAppInstanceUser.html">ListChannelMembershipsForAppInstanceUser</a> /// API. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelMemberships service method.</param> /// /// <returns>The response from the ListChannelMemberships service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMemberships">REST API Reference for ListChannelMemberships Operation</seealso> ListChannelMembershipsResponse ListChannelMemberships(ListChannelMembershipsRequest request); /// <summary> /// Initiates the asynchronous execution of the ListChannelMemberships operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListChannelMemberships operation on AmazonChimeSDKMessagingClient.</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 EndListChannelMemberships /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMemberships">REST API Reference for ListChannelMemberships Operation</seealso> IAsyncResult BeginListChannelMemberships(ListChannelMembershipsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListChannelMemberships operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListChannelMemberships.</param> /// /// <returns>Returns a ListChannelMembershipsResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMemberships">REST API Reference for ListChannelMemberships Operation</seealso> ListChannelMembershipsResponse EndListChannelMemberships(IAsyncResult asyncResult); #endregion #region ListChannelMembershipsForAppInstanceUser /// <summary> /// Lists all channels that an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> /// is a part of. Only an <code>AppInstanceAdmin</code> can call the API with a user ARN /// that is not their own. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelMembershipsForAppInstanceUser service method.</param> /// /// <returns>The response from the ListChannelMembershipsForAppInstanceUser service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMembershipsForAppInstanceUser">REST API Reference for ListChannelMembershipsForAppInstanceUser Operation</seealso> ListChannelMembershipsForAppInstanceUserResponse ListChannelMembershipsForAppInstanceUser(ListChannelMembershipsForAppInstanceUserRequest request); /// <summary> /// Initiates the asynchronous execution of the ListChannelMembershipsForAppInstanceUser operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListChannelMembershipsForAppInstanceUser operation on AmazonChimeSDKMessagingClient.</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 EndListChannelMembershipsForAppInstanceUser /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMembershipsForAppInstanceUser">REST API Reference for ListChannelMembershipsForAppInstanceUser Operation</seealso> IAsyncResult BeginListChannelMembershipsForAppInstanceUser(ListChannelMembershipsForAppInstanceUserRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListChannelMembershipsForAppInstanceUser operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListChannelMembershipsForAppInstanceUser.</param> /// /// <returns>Returns a ListChannelMembershipsForAppInstanceUserResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMembershipsForAppInstanceUser">REST API Reference for ListChannelMembershipsForAppInstanceUser Operation</seealso> ListChannelMembershipsForAppInstanceUserResponse EndListChannelMembershipsForAppInstanceUser(IAsyncResult asyncResult); #endregion #region ListChannelMessages /// <summary> /// List all the messages in a channel. Returns a paginated list of <code>ChannelMessages</code>. /// By default, sorted by creation timestamp in descending order. /// /// <note> /// <para> /// Redacted messages appear in the results as empty, since they are only redacted, not /// deleted. Deleted messages do not appear in the results. This action always returns /// the latest version of an edited message. /// </para> /// /// <para> /// Also, the <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN /// of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the /// API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelMessages service method.</param> /// /// <returns>The response from the ListChannelMessages service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMessages">REST API Reference for ListChannelMessages Operation</seealso> ListChannelMessagesResponse ListChannelMessages(ListChannelMessagesRequest request); /// <summary> /// Initiates the asynchronous execution of the ListChannelMessages operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListChannelMessages operation on AmazonChimeSDKMessagingClient.</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 EndListChannelMessages /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMessages">REST API Reference for ListChannelMessages Operation</seealso> IAsyncResult BeginListChannelMessages(ListChannelMessagesRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListChannelMessages operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListChannelMessages.</param> /// /// <returns>Returns a ListChannelMessagesResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMessages">REST API Reference for ListChannelMessages Operation</seealso> ListChannelMessagesResponse EndListChannelMessages(IAsyncResult asyncResult); #endregion #region ListChannelModerators /// <summary> /// Lists all the moderators for a channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelModerators service method.</param> /// /// <returns>The response from the ListChannelModerators service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelModerators">REST API Reference for ListChannelModerators Operation</seealso> ListChannelModeratorsResponse ListChannelModerators(ListChannelModeratorsRequest request); /// <summary> /// Initiates the asynchronous execution of the ListChannelModerators operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListChannelModerators operation on AmazonChimeSDKMessagingClient.</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 EndListChannelModerators /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelModerators">REST API Reference for ListChannelModerators Operation</seealso> IAsyncResult BeginListChannelModerators(ListChannelModeratorsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListChannelModerators operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListChannelModerators.</param> /// /// <returns>Returns a ListChannelModeratorsResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelModerators">REST API Reference for ListChannelModerators Operation</seealso> ListChannelModeratorsResponse EndListChannelModerators(IAsyncResult asyncResult); #endregion #region ListChannels /// <summary> /// Lists all Channels created under a single Chime App as a paginated list. You can specify /// filters to narrow results. /// /// <p class="title"> <b>Functionality &amp; restrictions</b> /// </para> /// <ul> <li> /// <para> /// Use privacy = <code>PUBLIC</code> to retrieve all public channels in the account. /// </para> /// </li> <li> /// <para> /// Only an <code>AppInstanceAdmin</code> can set privacy = <code>PRIVATE</code> to list /// the private channels in an account. /// </para> /// </li> </ul> <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannels service method.</param> /// /// <returns>The response from the ListChannels service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannels">REST API Reference for ListChannels Operation</seealso> ListChannelsResponse ListChannels(ListChannelsRequest request); /// <summary> /// Initiates the asynchronous execution of the ListChannels operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListChannels operation on AmazonChimeSDKMessagingClient.</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 EndListChannels /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannels">REST API Reference for ListChannels Operation</seealso> IAsyncResult BeginListChannels(ListChannelsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListChannels operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListChannels.</param> /// /// <returns>Returns a ListChannelsResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannels">REST API Reference for ListChannels Operation</seealso> ListChannelsResponse EndListChannels(IAsyncResult asyncResult); #endregion #region ListChannelsAssociatedWithChannelFlow /// <summary> /// Lists all channels associated with a specified channel flow. You can associate a channel /// flow with multiple channels, but you can only associate a channel with one channel /// flow. This is a developer API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelsAssociatedWithChannelFlow service method.</param> /// /// <returns>The response from the ListChannelsAssociatedWithChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelsAssociatedWithChannelFlow">REST API Reference for ListChannelsAssociatedWithChannelFlow Operation</seealso> ListChannelsAssociatedWithChannelFlowResponse ListChannelsAssociatedWithChannelFlow(ListChannelsAssociatedWithChannelFlowRequest request); /// <summary> /// Initiates the asynchronous execution of the ListChannelsAssociatedWithChannelFlow operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListChannelsAssociatedWithChannelFlow operation on AmazonChimeSDKMessagingClient.</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 EndListChannelsAssociatedWithChannelFlow /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelsAssociatedWithChannelFlow">REST API Reference for ListChannelsAssociatedWithChannelFlow Operation</seealso> IAsyncResult BeginListChannelsAssociatedWithChannelFlow(ListChannelsAssociatedWithChannelFlowRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListChannelsAssociatedWithChannelFlow operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListChannelsAssociatedWithChannelFlow.</param> /// /// <returns>Returns a ListChannelsAssociatedWithChannelFlowResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelsAssociatedWithChannelFlow">REST API Reference for ListChannelsAssociatedWithChannelFlow Operation</seealso> ListChannelsAssociatedWithChannelFlowResponse EndListChannelsAssociatedWithChannelFlow(IAsyncResult asyncResult); #endregion #region ListChannelsModeratedByAppInstanceUser /// <summary> /// A list of the channels moderated by an <code>AppInstanceUser</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelsModeratedByAppInstanceUser service method.</param> /// /// <returns>The response from the ListChannelsModeratedByAppInstanceUser service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelsModeratedByAppInstanceUser">REST API Reference for ListChannelsModeratedByAppInstanceUser Operation</seealso> ListChannelsModeratedByAppInstanceUserResponse ListChannelsModeratedByAppInstanceUser(ListChannelsModeratedByAppInstanceUserRequest request); /// <summary> /// Initiates the asynchronous execution of the ListChannelsModeratedByAppInstanceUser operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListChannelsModeratedByAppInstanceUser operation on AmazonChimeSDKMessagingClient.</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 EndListChannelsModeratedByAppInstanceUser /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelsModeratedByAppInstanceUser">REST API Reference for ListChannelsModeratedByAppInstanceUser Operation</seealso> IAsyncResult BeginListChannelsModeratedByAppInstanceUser(ListChannelsModeratedByAppInstanceUserRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListChannelsModeratedByAppInstanceUser operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListChannelsModeratedByAppInstanceUser.</param> /// /// <returns>Returns a ListChannelsModeratedByAppInstanceUserResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelsModeratedByAppInstanceUser">REST API Reference for ListChannelsModeratedByAppInstanceUser Operation</seealso> ListChannelsModeratedByAppInstanceUserResponse EndListChannelsModeratedByAppInstanceUser(IAsyncResult asyncResult); #endregion #region ListSubChannels /// <summary> /// Lists all the SubChannels in an elastic channel when given a channel ID. Available /// only to the app instance admins and channel moderators of elastic channels. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListSubChannels service method.</param> /// /// <returns>The response from the ListSubChannels service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListSubChannels">REST API Reference for ListSubChannels Operation</seealso> ListSubChannelsResponse ListSubChannels(ListSubChannelsRequest request); /// <summary> /// Initiates the asynchronous execution of the ListSubChannels operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListSubChannels operation on AmazonChimeSDKMessagingClient.</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 EndListSubChannels /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListSubChannels">REST API Reference for ListSubChannels Operation</seealso> IAsyncResult BeginListSubChannels(ListSubChannelsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListSubChannels operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListSubChannels.</param> /// /// <returns>Returns a ListSubChannelsResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListSubChannels">REST API Reference for ListSubChannels Operation</seealso> ListSubChannelsResponse EndListSubChannels(IAsyncResult asyncResult); #endregion #region ListTagsForResource /// <summary> /// Lists the tags applied to an Amazon Chime SDK messaging 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 ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/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 AmazonChimeSDKMessagingClient.</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-messaging-2021-05-15/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 ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult); #endregion #region PutChannelExpirationSettings /// <summary> /// Sets the number of days before the channel is automatically deleted. /// /// <note> <ul> <li> /// <para> /// A background process deletes expired channels within 6 hours of expiration. Actual /// deletion times may vary. /// </para> /// </li> <li> /// <para> /// Expired channels that have not yet been deleted appear as active, and you can update /// their expiration settings. The system honors the new settings. /// </para> /// </li> <li> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </li> </ul> </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutChannelExpirationSettings service method.</param> /// /// <returns>The response from the PutChannelExpirationSettings service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutChannelExpirationSettings">REST API Reference for PutChannelExpirationSettings Operation</seealso> PutChannelExpirationSettingsResponse PutChannelExpirationSettings(PutChannelExpirationSettingsRequest request); /// <summary> /// Initiates the asynchronous execution of the PutChannelExpirationSettings operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the PutChannelExpirationSettings operation on AmazonChimeSDKMessagingClient.</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 EndPutChannelExpirationSettings /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutChannelExpirationSettings">REST API Reference for PutChannelExpirationSettings Operation</seealso> IAsyncResult BeginPutChannelExpirationSettings(PutChannelExpirationSettingsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the PutChannelExpirationSettings operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginPutChannelExpirationSettings.</param> /// /// <returns>Returns a PutChannelExpirationSettingsResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutChannelExpirationSettings">REST API Reference for PutChannelExpirationSettings Operation</seealso> PutChannelExpirationSettingsResponse EndPutChannelExpirationSettings(IAsyncResult asyncResult); #endregion #region PutChannelMembershipPreferences /// <summary> /// Sets the membership preferences of an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> /// for the specified channel. The user or bot must be a member of the channel. Only the /// user or bot who owns the membership can set preferences. Users or bots in the <code>AppInstanceAdmin</code> /// and channel moderator roles can't set preferences for other users. Banned users or /// bots can't set membership preferences for the channel from which they are banned. /// /// <note> /// <para> /// The x-amz-chime-bearer request header is mandatory. Use the ARN of an <code>AppInstanceUser</code> /// or <code>AppInstanceBot</code> that makes the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutChannelMembershipPreferences service method.</param> /// /// <returns>The response from the PutChannelMembershipPreferences service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutChannelMembershipPreferences">REST API Reference for PutChannelMembershipPreferences Operation</seealso> PutChannelMembershipPreferencesResponse PutChannelMembershipPreferences(PutChannelMembershipPreferencesRequest request); /// <summary> /// Initiates the asynchronous execution of the PutChannelMembershipPreferences operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the PutChannelMembershipPreferences operation on AmazonChimeSDKMessagingClient.</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 EndPutChannelMembershipPreferences /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutChannelMembershipPreferences">REST API Reference for PutChannelMembershipPreferences Operation</seealso> IAsyncResult BeginPutChannelMembershipPreferences(PutChannelMembershipPreferencesRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the PutChannelMembershipPreferences operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginPutChannelMembershipPreferences.</param> /// /// <returns>Returns a PutChannelMembershipPreferencesResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutChannelMembershipPreferences">REST API Reference for PutChannelMembershipPreferences Operation</seealso> PutChannelMembershipPreferencesResponse EndPutChannelMembershipPreferences(IAsyncResult asyncResult); #endregion #region PutMessagingStreamingConfigurations /// <summary> /// Sets the data streaming configuration for an <code>AppInstance</code>. For more information, /// see <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html">Streaming /// messaging data</a> in the <i>Amazon Chime SDK Developer Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutMessagingStreamingConfigurations service method.</param> /// /// <returns>The response from the PutMessagingStreamingConfigurations service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutMessagingStreamingConfigurations">REST API Reference for PutMessagingStreamingConfigurations Operation</seealso> PutMessagingStreamingConfigurationsResponse PutMessagingStreamingConfigurations(PutMessagingStreamingConfigurationsRequest request); /// <summary> /// Initiates the asynchronous execution of the PutMessagingStreamingConfigurations operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the PutMessagingStreamingConfigurations operation on AmazonChimeSDKMessagingClient.</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 EndPutMessagingStreamingConfigurations /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutMessagingStreamingConfigurations">REST API Reference for PutMessagingStreamingConfigurations Operation</seealso> IAsyncResult BeginPutMessagingStreamingConfigurations(PutMessagingStreamingConfigurationsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the PutMessagingStreamingConfigurations operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginPutMessagingStreamingConfigurations.</param> /// /// <returns>Returns a PutMessagingStreamingConfigurationsResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutMessagingStreamingConfigurations">REST API Reference for PutMessagingStreamingConfigurations Operation</seealso> PutMessagingStreamingConfigurationsResponse EndPutMessagingStreamingConfigurations(IAsyncResult asyncResult); #endregion #region RedactChannelMessage /// <summary> /// Redacts message content, but not metadata. The message exists in the back end, but /// the action returns null content, and the state shows as redacted. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the RedactChannelMessage service method.</param> /// /// <returns>The response from the RedactChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/RedactChannelMessage">REST API Reference for RedactChannelMessage Operation</seealso> RedactChannelMessageResponse RedactChannelMessage(RedactChannelMessageRequest request); /// <summary> /// Initiates the asynchronous execution of the RedactChannelMessage operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the RedactChannelMessage operation on AmazonChimeSDKMessagingClient.</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 EndRedactChannelMessage /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/RedactChannelMessage">REST API Reference for RedactChannelMessage Operation</seealso> IAsyncResult BeginRedactChannelMessage(RedactChannelMessageRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the RedactChannelMessage operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginRedactChannelMessage.</param> /// /// <returns>Returns a RedactChannelMessageResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/RedactChannelMessage">REST API Reference for RedactChannelMessage Operation</seealso> RedactChannelMessageResponse EndRedactChannelMessage(IAsyncResult asyncResult); #endregion #region SearchChannels /// <summary> /// Allows the <code>ChimeBearer</code> to search channels by channel members. Users or /// bots can search across the channels that they belong to. Users in the <code>AppInstanceAdmin</code> /// role can search across all channels. /// /// /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the SearchChannels service method.</param> /// /// <returns>The response from the SearchChannels service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/SearchChannels">REST API Reference for SearchChannels Operation</seealso> SearchChannelsResponse SearchChannels(SearchChannelsRequest request); /// <summary> /// Initiates the asynchronous execution of the SearchChannels operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the SearchChannels operation on AmazonChimeSDKMessagingClient.</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 EndSearchChannels /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/SearchChannels">REST API Reference for SearchChannels Operation</seealso> IAsyncResult BeginSearchChannels(SearchChannelsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the SearchChannels operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginSearchChannels.</param> /// /// <returns>Returns a SearchChannelsResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/SearchChannels">REST API Reference for SearchChannels Operation</seealso> SearchChannelsResponse EndSearchChannels(IAsyncResult asyncResult); #endregion #region SendChannelMessage /// <summary> /// Sends a message to a particular channel that the member is a part of. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// /// <para> /// Also, <code>STANDARD</code> messages can be up to 4KB in size and contain metadata. /// Metadata is arbitrary, and you can use it in a variety of ways, such as containing /// a link to an attachment. /// </para> /// /// <para> /// <code>CONTROL</code> messages are limited to 30 bytes and do not contain metadata. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the SendChannelMessage service method.</param> /// /// <returns>The response from the SendChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/SendChannelMessage">REST API Reference for SendChannelMessage Operation</seealso> SendChannelMessageResponse SendChannelMessage(SendChannelMessageRequest request); /// <summary> /// Initiates the asynchronous execution of the SendChannelMessage operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the SendChannelMessage operation on AmazonChimeSDKMessagingClient.</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 EndSendChannelMessage /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/SendChannelMessage">REST API Reference for SendChannelMessage Operation</seealso> IAsyncResult BeginSendChannelMessage(SendChannelMessageRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the SendChannelMessage operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginSendChannelMessage.</param> /// /// <returns>Returns a SendChannelMessageResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/SendChannelMessage">REST API Reference for SendChannelMessage Operation</seealso> SendChannelMessageResponse EndSendChannelMessage(IAsyncResult asyncResult); #endregion #region TagResource /// <summary> /// Applies the specified tags to the specified Amazon Chime SDK messaging 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 ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/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 AmazonChimeSDKMessagingClient.</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-messaging-2021-05-15/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 ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/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 messaging 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 ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/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 AmazonChimeSDKMessagingClient.</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-messaging-2021-05-15/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 ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UntagResource">REST API Reference for UntagResource Operation</seealso> UntagResourceResponse EndUntagResource(IAsyncResult asyncResult); #endregion #region UpdateChannel /// <summary> /// Update a channel's attributes. /// /// /// <para> /// <b>Restriction</b>: You can't change a channel's privacy. /// </para> /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateChannel service method.</param> /// /// <returns>The response from the UpdateChannel service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannel">REST API Reference for UpdateChannel Operation</seealso> UpdateChannelResponse UpdateChannel(UpdateChannelRequest request); /// <summary> /// Initiates the asynchronous execution of the UpdateChannel operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateChannel operation on AmazonChimeSDKMessagingClient.</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 EndUpdateChannel /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannel">REST API Reference for UpdateChannel Operation</seealso> IAsyncResult BeginUpdateChannel(UpdateChannelRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the UpdateChannel operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateChannel.</param> /// /// <returns>Returns a UpdateChannelResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannel">REST API Reference for UpdateChannel Operation</seealso> UpdateChannelResponse EndUpdateChannel(IAsyncResult asyncResult); #endregion #region UpdateChannelFlow /// <summary> /// Updates channel flow attributes. This is a developer API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateChannelFlow service method.</param> /// /// <returns>The response from the UpdateChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelFlow">REST API Reference for UpdateChannelFlow Operation</seealso> UpdateChannelFlowResponse UpdateChannelFlow(UpdateChannelFlowRequest request); /// <summary> /// Initiates the asynchronous execution of the UpdateChannelFlow operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateChannelFlow operation on AmazonChimeSDKMessagingClient.</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 EndUpdateChannelFlow /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelFlow">REST API Reference for UpdateChannelFlow Operation</seealso> IAsyncResult BeginUpdateChannelFlow(UpdateChannelFlowRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the UpdateChannelFlow operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateChannelFlow.</param> /// /// <returns>Returns a UpdateChannelFlowResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelFlow">REST API Reference for UpdateChannelFlow Operation</seealso> UpdateChannelFlowResponse EndUpdateChannelFlow(IAsyncResult asyncResult); #endregion #region UpdateChannelMessage /// <summary> /// Updates the content of a message. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateChannelMessage service method.</param> /// /// <returns>The response from the UpdateChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelMessage">REST API Reference for UpdateChannelMessage Operation</seealso> UpdateChannelMessageResponse UpdateChannelMessage(UpdateChannelMessageRequest request); /// <summary> /// Initiates the asynchronous execution of the UpdateChannelMessage operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateChannelMessage operation on AmazonChimeSDKMessagingClient.</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 EndUpdateChannelMessage /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelMessage">REST API Reference for UpdateChannelMessage Operation</seealso> IAsyncResult BeginUpdateChannelMessage(UpdateChannelMessageRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the UpdateChannelMessage operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateChannelMessage.</param> /// /// <returns>Returns a UpdateChannelMessageResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelMessage">REST API Reference for UpdateChannelMessage Operation</seealso> UpdateChannelMessageResponse EndUpdateChannelMessage(IAsyncResult asyncResult); #endregion #region UpdateChannelReadMarker /// <summary> /// The details of the time when a user last read messages in a channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateChannelReadMarker service method.</param> /// /// <returns>The response from the UpdateChannelReadMarker service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelReadMarker">REST API Reference for UpdateChannelReadMarker Operation</seealso> UpdateChannelReadMarkerResponse UpdateChannelReadMarker(UpdateChannelReadMarkerRequest request); /// <summary> /// Initiates the asynchronous execution of the UpdateChannelReadMarker operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateChannelReadMarker operation on AmazonChimeSDKMessagingClient.</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 EndUpdateChannelReadMarker /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelReadMarker">REST API Reference for UpdateChannelReadMarker Operation</seealso> IAsyncResult BeginUpdateChannelReadMarker(UpdateChannelReadMarkerRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the UpdateChannelReadMarker operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateChannelReadMarker.</param> /// /// <returns>Returns a UpdateChannelReadMarkerResult from ChimeSDKMessaging.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelReadMarker">REST API Reference for UpdateChannelReadMarker Operation</seealso> UpdateChannelReadMarkerResponse EndUpdateChannelReadMarker(IAsyncResult asyncResult); #endregion } }
3,651
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-messaging-2021-05-15.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.ChimeSDKMessaging.Model; using Amazon.ChimeSDKMessaging.Model.Internal.MarshallTransformations; using Amazon.ChimeSDKMessaging.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.ChimeSDKMessaging { /// <summary> /// Implementation for accessing ChimeSDKMessaging /// /// The Amazon Chime SDK messaging APIs in this section allow software developers to send /// and receive messages in custom messaging applications. These APIs depend on the frameworks /// provided by the Amazon Chime SDK identity APIs. For more information about the messaging /// APIs, see <a href="https://docs.aws.amazon.com/chime/latest/APIReference/API_Operations_Amazon_Chime_SDK_Messaging.html">Amazon /// Chime SDK messaging</a>. /// </summary> public partial class AmazonChimeSDKMessagingClient : AmazonServiceClient, IAmazonChimeSDKMessaging { private static IServiceMetadata serviceMetadata = new AmazonChimeSDKMessagingMetadata(); private IChimeSDKMessagingPaginatorFactory _paginators; /// <summary> /// Paginators for the service /// </summary> public IChimeSDKMessagingPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new ChimeSDKMessagingPaginatorFactory(this); } return this._paginators; } } #region Constructors /// <summary> /// Constructs AmazonChimeSDKMessagingClient 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 AmazonChimeSDKMessagingClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonChimeSDKMessagingConfig()) { } /// <summary> /// Constructs AmazonChimeSDKMessagingClient 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 AmazonChimeSDKMessagingClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonChimeSDKMessagingConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonChimeSDKMessagingClient 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 AmazonChimeSDKMessagingClient Configuration Object</param> public AmazonChimeSDKMessagingClient(AmazonChimeSDKMessagingConfig config) : base(FallbackCredentialsFactory.GetCredentials(), config) { } /// <summary> /// Constructs AmazonChimeSDKMessagingClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> public AmazonChimeSDKMessagingClient(AWSCredentials credentials) : this(credentials, new AmazonChimeSDKMessagingConfig()) { } /// <summary> /// Constructs AmazonChimeSDKMessagingClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="region">The region to connect.</param> public AmazonChimeSDKMessagingClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonChimeSDKMessagingConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonChimeSDKMessagingClient with AWS Credentials and an /// AmazonChimeSDKMessagingClient Configuration object. /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="clientConfig">The AmazonChimeSDKMessagingClient Configuration Object</param> public AmazonChimeSDKMessagingClient(AWSCredentials credentials, AmazonChimeSDKMessagingConfig clientConfig) : base(credentials, clientConfig) { } /// <summary> /// Constructs AmazonChimeSDKMessagingClient 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 AmazonChimeSDKMessagingClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonChimeSDKMessagingConfig()) { } /// <summary> /// Constructs AmazonChimeSDKMessagingClient 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 AmazonChimeSDKMessagingClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonChimeSDKMessagingConfig() {RegionEndpoint=region}) { } /// <summary> /// Constructs AmazonChimeSDKMessagingClient with AWS Access Key ID, AWS Secret Key and an /// AmazonChimeSDKMessagingClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="clientConfig">The AmazonChimeSDKMessagingClient Configuration Object</param> public AmazonChimeSDKMessagingClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonChimeSDKMessagingConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// <summary> /// Constructs AmazonChimeSDKMessagingClient 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 AmazonChimeSDKMessagingClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonChimeSDKMessagingConfig()) { } /// <summary> /// Constructs AmazonChimeSDKMessagingClient 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 AmazonChimeSDKMessagingClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonChimeSDKMessagingConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonChimeSDKMessagingClient with AWS Access Key ID, AWS Secret Key and an /// AmazonChimeSDKMessagingClient 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 AmazonChimeSDKMessagingClient Configuration Object</param> public AmazonChimeSDKMessagingClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonChimeSDKMessagingConfig 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 AmazonChimeSDKMessagingEndpointResolver()); } /// <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 AssociateChannelFlow /// <summary> /// Associates a channel flow with a channel. Once associated, all messages to that channel /// go through channel flow processors. To stop processing, use the <code>DisassociateChannelFlow</code> /// API. /// /// <note> /// <para> /// Only administrators or channel moderators can associate a channel flow. The <code>x-amz-chime-bearer</code> /// request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> /// that makes the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateChannelFlow service method.</param> /// /// <returns>The response from the AssociateChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/AssociateChannelFlow">REST API Reference for AssociateChannelFlow Operation</seealso> public virtual AssociateChannelFlowResponse AssociateChannelFlow(AssociateChannelFlowRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateChannelFlowResponseUnmarshaller.Instance; return Invoke<AssociateChannelFlowResponse>(request, options); } /// <summary> /// Associates a channel flow with a channel. Once associated, all messages to that channel /// go through channel flow processors. To stop processing, use the <code>DisassociateChannelFlow</code> /// API. /// /// <note> /// <para> /// Only administrators or channel moderators can associate a channel flow. The <code>x-amz-chime-bearer</code> /// request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> /// that makes the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateChannelFlow service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the AssociateChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/AssociateChannelFlow">REST API Reference for AssociateChannelFlow Operation</seealso> public virtual Task<AssociateChannelFlowResponse> AssociateChannelFlowAsync(AssociateChannelFlowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateChannelFlowResponseUnmarshaller.Instance; return InvokeAsync<AssociateChannelFlowResponse>(request, options, cancellationToken); } #endregion #region BatchCreateChannelMembership /// <summary> /// Adds a specified number of users and bots to a channel. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchCreateChannelMembership service method.</param> /// /// <returns>The response from the BatchCreateChannelMembership service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/BatchCreateChannelMembership">REST API Reference for BatchCreateChannelMembership Operation</seealso> public virtual BatchCreateChannelMembershipResponse BatchCreateChannelMembership(BatchCreateChannelMembershipRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchCreateChannelMembershipRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchCreateChannelMembershipResponseUnmarshaller.Instance; return Invoke<BatchCreateChannelMembershipResponse>(request, options); } /// <summary> /// Adds a specified number of users and bots to a channel. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchCreateChannelMembership service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the BatchCreateChannelMembership service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/BatchCreateChannelMembership">REST API Reference for BatchCreateChannelMembership Operation</seealso> public virtual Task<BatchCreateChannelMembershipResponse> BatchCreateChannelMembershipAsync(BatchCreateChannelMembershipRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = BatchCreateChannelMembershipRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchCreateChannelMembershipResponseUnmarshaller.Instance; return InvokeAsync<BatchCreateChannelMembershipResponse>(request, options, cancellationToken); } #endregion #region ChannelFlowCallback /// <summary> /// Calls back Amazon Chime SDK messaging with a processing response message. This should /// be invoked from the processor Lambda. This is a developer API. /// /// /// <para> /// You can return one of the following processing responses: /// </para> /// <ul> <li> /// <para> /// Update message content or metadata /// </para> /// </li> <li> /// <para> /// Deny a message /// </para> /// </li> <li> /// <para> /// Make no changes to the message /// </para> /// </li> </ul> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ChannelFlowCallback service method.</param> /// /// <returns>The response from the ChannelFlowCallback service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ChannelFlowCallback">REST API Reference for ChannelFlowCallback Operation</seealso> public virtual ChannelFlowCallbackResponse ChannelFlowCallback(ChannelFlowCallbackRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ChannelFlowCallbackRequestMarshaller.Instance; options.ResponseUnmarshaller = ChannelFlowCallbackResponseUnmarshaller.Instance; return Invoke<ChannelFlowCallbackResponse>(request, options); } /// <summary> /// Calls back Amazon Chime SDK messaging with a processing response message. This should /// be invoked from the processor Lambda. This is a developer API. /// /// /// <para> /// You can return one of the following processing responses: /// </para> /// <ul> <li> /// <para> /// Update message content or metadata /// </para> /// </li> <li> /// <para> /// Deny a message /// </para> /// </li> <li> /// <para> /// Make no changes to the message /// </para> /// </li> </ul> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ChannelFlowCallback service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ChannelFlowCallback service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ChannelFlowCallback">REST API Reference for ChannelFlowCallback Operation</seealso> public virtual Task<ChannelFlowCallbackResponse> ChannelFlowCallbackAsync(ChannelFlowCallbackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ChannelFlowCallbackRequestMarshaller.Instance; options.ResponseUnmarshaller = ChannelFlowCallbackResponseUnmarshaller.Instance; return InvokeAsync<ChannelFlowCallbackResponse>(request, options, cancellationToken); } #endregion #region CreateChannel /// <summary> /// Creates a channel to which you can add users and send messages. /// /// /// <para> /// <b>Restriction</b>: You can't change a channel's privacy. /// </para> /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannel service method.</param> /// /// <returns>The response from the CreateChannel service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannel">REST API Reference for CreateChannel Operation</seealso> public virtual CreateChannelResponse CreateChannel(CreateChannelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateChannelResponseUnmarshaller.Instance; return Invoke<CreateChannelResponse>(request, options); } /// <summary> /// Creates a channel to which you can add users and send messages. /// /// /// <para> /// <b>Restriction</b>: You can't change a channel's privacy. /// </para> /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannel service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateChannel service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannel">REST API Reference for CreateChannel Operation</seealso> public virtual Task<CreateChannelResponse> CreateChannelAsync(CreateChannelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateChannelResponseUnmarshaller.Instance; return InvokeAsync<CreateChannelResponse>(request, options, cancellationToken); } #endregion #region CreateChannelBan /// <summary> /// Permanently bans a member from a channel. Moderators can't add banned members to a /// channel. To undo a ban, you first have to <code>DeleteChannelBan</code>, and then /// <code>CreateChannelMembership</code>. Bans are cleaned up when you delete users or /// channels. /// /// /// <para> /// If you ban a user who is already part of a channel, that user is automatically kicked /// from the channel. /// </para> /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannelBan service method.</param> /// /// <returns>The response from the CreateChannelBan service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelBan">REST API Reference for CreateChannelBan Operation</seealso> public virtual CreateChannelBanResponse CreateChannelBan(CreateChannelBanRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateChannelBanRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateChannelBanResponseUnmarshaller.Instance; return Invoke<CreateChannelBanResponse>(request, options); } /// <summary> /// Permanently bans a member from a channel. Moderators can't add banned members to a /// channel. To undo a ban, you first have to <code>DeleteChannelBan</code>, and then /// <code>CreateChannelMembership</code>. Bans are cleaned up when you delete users or /// channels. /// /// /// <para> /// If you ban a user who is already part of a channel, that user is automatically kicked /// from the channel. /// </para> /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannelBan service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateChannelBan service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelBan">REST API Reference for CreateChannelBan Operation</seealso> public virtual Task<CreateChannelBanResponse> CreateChannelBanAsync(CreateChannelBanRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateChannelBanRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateChannelBanResponseUnmarshaller.Instance; return InvokeAsync<CreateChannelBanResponse>(request, options, cancellationToken); } #endregion #region CreateChannelFlow /// <summary> /// Creates a channel flow, a container for processors. Processors are AWS Lambda functions /// that perform actions on chat messages, such as stripping out profanity. You can associate /// channel flows with channels, and the processors in the channel flow then take action /// on all messages sent to that channel. This is a developer API. /// /// /// <para> /// Channel flows process the following items: /// </para> /// <ol> <li> /// <para> /// New and updated messages /// </para> /// </li> <li> /// <para> /// Persistent and non-persistent messages /// </para> /// </li> <li> /// <para> /// The Standard message type /// </para> /// </li> </ol> <note> /// <para> /// Channel flows don't process Control or System messages. For more information about /// the message types provided by Chime SDK messaging, refer to <a href="https://docs.aws.amazon.com/chime/latest/dg/using-the-messaging-sdk.html#msg-types">Message /// types</a> in the <i>Amazon Chime developer guide</i>. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannelFlow service method.</param> /// /// <returns>The response from the CreateChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelFlow">REST API Reference for CreateChannelFlow Operation</seealso> public virtual CreateChannelFlowResponse CreateChannelFlow(CreateChannelFlowRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateChannelFlowResponseUnmarshaller.Instance; return Invoke<CreateChannelFlowResponse>(request, options); } /// <summary> /// Creates a channel flow, a container for processors. Processors are AWS Lambda functions /// that perform actions on chat messages, such as stripping out profanity. You can associate /// channel flows with channels, and the processors in the channel flow then take action /// on all messages sent to that channel. This is a developer API. /// /// /// <para> /// Channel flows process the following items: /// </para> /// <ol> <li> /// <para> /// New and updated messages /// </para> /// </li> <li> /// <para> /// Persistent and non-persistent messages /// </para> /// </li> <li> /// <para> /// The Standard message type /// </para> /// </li> </ol> <note> /// <para> /// Channel flows don't process Control or System messages. For more information about /// the message types provided by Chime SDK messaging, refer to <a href="https://docs.aws.amazon.com/chime/latest/dg/using-the-messaging-sdk.html#msg-types">Message /// types</a> in the <i>Amazon Chime developer guide</i>. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannelFlow service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelFlow">REST API Reference for CreateChannelFlow Operation</seealso> public virtual Task<CreateChannelFlowResponse> CreateChannelFlowAsync(CreateChannelFlowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateChannelFlowResponseUnmarshaller.Instance; return InvokeAsync<CreateChannelFlowResponse>(request, options, cancellationToken); } #endregion #region CreateChannelMembership /// <summary> /// Adds a member to a channel. The <code>InvitedBy</code> field in <code>ChannelMembership</code> /// is derived from the request header. A channel member can: /// /// <ul> <li> /// <para> /// List messages /// </para> /// </li> <li> /// <para> /// Send messages /// </para> /// </li> <li> /// <para> /// Receive messages /// </para> /// </li> <li> /// <para> /// Edit their own messages /// </para> /// </li> <li> /// <para> /// Leave the channel /// </para> /// </li> </ul> /// <para> /// Privacy settings impact this action as follows: /// </para> /// <ul> <li> /// <para> /// Public Channels: You do not need to be a member to list messages, but you must be /// a member to send messages. /// </para> /// </li> <li> /// <para> /// Private Channels: You must be a member to list or send messages. /// </para> /// </li> </ul> <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUserArn</code> or <code>AppInstanceBot</code> that makes the API /// call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannelMembership service method.</param> /// /// <returns>The response from the CreateChannelMembership service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelMembership">REST API Reference for CreateChannelMembership Operation</seealso> public virtual CreateChannelMembershipResponse CreateChannelMembership(CreateChannelMembershipRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateChannelMembershipRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateChannelMembershipResponseUnmarshaller.Instance; return Invoke<CreateChannelMembershipResponse>(request, options); } /// <summary> /// Adds a member to a channel. The <code>InvitedBy</code> field in <code>ChannelMembership</code> /// is derived from the request header. A channel member can: /// /// <ul> <li> /// <para> /// List messages /// </para> /// </li> <li> /// <para> /// Send messages /// </para> /// </li> <li> /// <para> /// Receive messages /// </para> /// </li> <li> /// <para> /// Edit their own messages /// </para> /// </li> <li> /// <para> /// Leave the channel /// </para> /// </li> </ul> /// <para> /// Privacy settings impact this action as follows: /// </para> /// <ul> <li> /// <para> /// Public Channels: You do not need to be a member to list messages, but you must be /// a member to send messages. /// </para> /// </li> <li> /// <para> /// Private Channels: You must be a member to list or send messages. /// </para> /// </li> </ul> <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUserArn</code> or <code>AppInstanceBot</code> that makes the API /// call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannelMembership service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateChannelMembership service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelMembership">REST API Reference for CreateChannelMembership Operation</seealso> public virtual Task<CreateChannelMembershipResponse> CreateChannelMembershipAsync(CreateChannelMembershipRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateChannelMembershipRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateChannelMembershipResponseUnmarshaller.Instance; return InvokeAsync<CreateChannelMembershipResponse>(request, options, cancellationToken); } #endregion #region CreateChannelModerator /// <summary> /// Creates a new <code>ChannelModerator</code>. A channel moderator can: /// /// <ul> <li> /// <para> /// Add and remove other members of the channel. /// </para> /// </li> <li> /// <para> /// Add and remove other moderators of the channel. /// </para> /// </li> <li> /// <para> /// Add and remove user bans for the channel. /// </para> /// </li> <li> /// <para> /// Redact messages in the channel. /// </para> /// </li> <li> /// <para> /// List messages in the channel. /// </para> /// </li> </ul> <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code>of the user that makes /// the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannelModerator service method.</param> /// /// <returns>The response from the CreateChannelModerator service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelModerator">REST API Reference for CreateChannelModerator Operation</seealso> public virtual CreateChannelModeratorResponse CreateChannelModerator(CreateChannelModeratorRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateChannelModeratorRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateChannelModeratorResponseUnmarshaller.Instance; return Invoke<CreateChannelModeratorResponse>(request, options); } /// <summary> /// Creates a new <code>ChannelModerator</code>. A channel moderator can: /// /// <ul> <li> /// <para> /// Add and remove other members of the channel. /// </para> /// </li> <li> /// <para> /// Add and remove other moderators of the channel. /// </para> /// </li> <li> /// <para> /// Add and remove user bans for the channel. /// </para> /// </li> <li> /// <para> /// Redact messages in the channel. /// </para> /// </li> <li> /// <para> /// List messages in the channel. /// </para> /// </li> </ul> <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code>of the user that makes /// the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannelModerator service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateChannelModerator service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelModerator">REST API Reference for CreateChannelModerator Operation</seealso> public virtual Task<CreateChannelModeratorResponse> CreateChannelModeratorAsync(CreateChannelModeratorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateChannelModeratorRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateChannelModeratorResponseUnmarshaller.Instance; return InvokeAsync<CreateChannelModeratorResponse>(request, options, cancellationToken); } #endregion #region DeleteChannel /// <summary> /// Immediately makes a channel and its memberships inaccessible and marks them for deletion. /// This is an irreversible process. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUserArn</code> or <code>AppInstanceBot</code> that makes the API /// call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannel service method.</param> /// /// <returns>The response from the DeleteChannel service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannel">REST API Reference for DeleteChannel Operation</seealso> public virtual DeleteChannelResponse DeleteChannel(DeleteChannelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelResponseUnmarshaller.Instance; return Invoke<DeleteChannelResponse>(request, options); } /// <summary> /// Immediately makes a channel and its memberships inaccessible and marks them for deletion. /// This is an irreversible process. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUserArn</code> or <code>AppInstanceBot</code> that makes the API /// call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannel service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteChannel service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannel">REST API Reference for DeleteChannel Operation</seealso> public virtual Task<DeleteChannelResponse> DeleteChannelAsync(DeleteChannelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelResponseUnmarshaller.Instance; return InvokeAsync<DeleteChannelResponse>(request, options, cancellationToken); } #endregion #region DeleteChannelBan /// <summary> /// Removes a member from a channel's ban list. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelBan service method.</param> /// /// <returns>The response from the DeleteChannelBan service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelBan">REST API Reference for DeleteChannelBan Operation</seealso> public virtual DeleteChannelBanResponse DeleteChannelBan(DeleteChannelBanRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelBanRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelBanResponseUnmarshaller.Instance; return Invoke<DeleteChannelBanResponse>(request, options); } /// <summary> /// Removes a member from a channel's ban list. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelBan service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteChannelBan service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelBan">REST API Reference for DeleteChannelBan Operation</seealso> public virtual Task<DeleteChannelBanResponse> DeleteChannelBanAsync(DeleteChannelBanRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelBanRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelBanResponseUnmarshaller.Instance; return InvokeAsync<DeleteChannelBanResponse>(request, options, cancellationToken); } #endregion #region DeleteChannelFlow /// <summary> /// Deletes a channel flow, an irreversible process. This is a developer API. /// /// <note> /// <para> /// This API works only when the channel flow is not associated with any channel. To /// get a list of all channels that a channel flow is associated with, use the <code>ListChannelsAssociatedWithChannelFlow</code> /// API. Use the <code>DisassociateChannelFlow</code> API to disassociate a channel flow /// from all channels. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelFlow service method.</param> /// /// <returns>The response from the DeleteChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelFlow">REST API Reference for DeleteChannelFlow Operation</seealso> public virtual DeleteChannelFlowResponse DeleteChannelFlow(DeleteChannelFlowRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelFlowResponseUnmarshaller.Instance; return Invoke<DeleteChannelFlowResponse>(request, options); } /// <summary> /// Deletes a channel flow, an irreversible process. This is a developer API. /// /// <note> /// <para> /// This API works only when the channel flow is not associated with any channel. To /// get a list of all channels that a channel flow is associated with, use the <code>ListChannelsAssociatedWithChannelFlow</code> /// API. Use the <code>DisassociateChannelFlow</code> API to disassociate a channel flow /// from all channels. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelFlow service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelFlow">REST API Reference for DeleteChannelFlow Operation</seealso> public virtual Task<DeleteChannelFlowResponse> DeleteChannelFlowAsync(DeleteChannelFlowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelFlowResponseUnmarshaller.Instance; return InvokeAsync<DeleteChannelFlowResponse>(request, options, cancellationToken); } #endregion #region DeleteChannelMembership /// <summary> /// Removes a member from a channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the <code>AppInstanceUserArn</code> /// of the user that makes the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelMembership service method.</param> /// /// <returns>The response from the DeleteChannelMembership service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelMembership">REST API Reference for DeleteChannelMembership Operation</seealso> public virtual DeleteChannelMembershipResponse DeleteChannelMembership(DeleteChannelMembershipRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelMembershipRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelMembershipResponseUnmarshaller.Instance; return Invoke<DeleteChannelMembershipResponse>(request, options); } /// <summary> /// Removes a member from a channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the <code>AppInstanceUserArn</code> /// of the user that makes the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelMembership service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteChannelMembership service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelMembership">REST API Reference for DeleteChannelMembership Operation</seealso> public virtual Task<DeleteChannelMembershipResponse> DeleteChannelMembershipAsync(DeleteChannelMembershipRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelMembershipRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelMembershipResponseUnmarshaller.Instance; return InvokeAsync<DeleteChannelMembershipResponse>(request, options, cancellationToken); } #endregion #region DeleteChannelMessage /// <summary> /// Deletes a channel message. Only admins can perform this action. Deletion makes messages /// inaccessible immediately. A background process deletes any revisions created by <code>UpdateChannelMessage</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelMessage service method.</param> /// /// <returns>The response from the DeleteChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelMessage">REST API Reference for DeleteChannelMessage Operation</seealso> public virtual DeleteChannelMessageResponse DeleteChannelMessage(DeleteChannelMessageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelMessageRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelMessageResponseUnmarshaller.Instance; return Invoke<DeleteChannelMessageResponse>(request, options); } /// <summary> /// Deletes a channel message. Only admins can perform this action. Deletion makes messages /// inaccessible immediately. A background process deletes any revisions created by <code>UpdateChannelMessage</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelMessage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelMessage">REST API Reference for DeleteChannelMessage Operation</seealso> public virtual Task<DeleteChannelMessageResponse> DeleteChannelMessageAsync(DeleteChannelMessageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelMessageRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelMessageResponseUnmarshaller.Instance; return InvokeAsync<DeleteChannelMessageResponse>(request, options, cancellationToken); } #endregion #region DeleteChannelModerator /// <summary> /// Deletes a channel moderator. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelModerator service method.</param> /// /// <returns>The response from the DeleteChannelModerator service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelModerator">REST API Reference for DeleteChannelModerator Operation</seealso> public virtual DeleteChannelModeratorResponse DeleteChannelModerator(DeleteChannelModeratorRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelModeratorRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelModeratorResponseUnmarshaller.Instance; return Invoke<DeleteChannelModeratorResponse>(request, options); } /// <summary> /// Deletes a channel moderator. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelModerator service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteChannelModerator service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelModerator">REST API Reference for DeleteChannelModerator Operation</seealso> public virtual Task<DeleteChannelModeratorResponse> DeleteChannelModeratorAsync(DeleteChannelModeratorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelModeratorRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelModeratorResponseUnmarshaller.Instance; return InvokeAsync<DeleteChannelModeratorResponse>(request, options, cancellationToken); } #endregion #region DeleteMessagingStreamingConfigurations /// <summary> /// Deletes the streaming configurations for an <code>AppInstance</code>. For more information, /// see <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html">Streaming /// messaging data</a> in the <i>Amazon Chime SDK Developer Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteMessagingStreamingConfigurations service method.</param> /// /// <returns>The response from the DeleteMessagingStreamingConfigurations service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteMessagingStreamingConfigurations">REST API Reference for DeleteMessagingStreamingConfigurations Operation</seealso> public virtual DeleteMessagingStreamingConfigurationsResponse DeleteMessagingStreamingConfigurations(DeleteMessagingStreamingConfigurationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteMessagingStreamingConfigurationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteMessagingStreamingConfigurationsResponseUnmarshaller.Instance; return Invoke<DeleteMessagingStreamingConfigurationsResponse>(request, options); } /// <summary> /// Deletes the streaming configurations for an <code>AppInstance</code>. For more information, /// see <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html">Streaming /// messaging data</a> in the <i>Amazon Chime SDK Developer Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteMessagingStreamingConfigurations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteMessagingStreamingConfigurations service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteMessagingStreamingConfigurations">REST API Reference for DeleteMessagingStreamingConfigurations Operation</seealso> public virtual Task<DeleteMessagingStreamingConfigurationsResponse> DeleteMessagingStreamingConfigurationsAsync(DeleteMessagingStreamingConfigurationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteMessagingStreamingConfigurationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteMessagingStreamingConfigurationsResponseUnmarshaller.Instance; return InvokeAsync<DeleteMessagingStreamingConfigurationsResponse>(request, options, cancellationToken); } #endregion #region DescribeChannel /// <summary> /// Returns the full details of a channel in an Amazon Chime <code>AppInstance</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannel service method.</param> /// /// <returns>The response from the DescribeChannel service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannel">REST API Reference for DescribeChannel Operation</seealso> public virtual DescribeChannelResponse DescribeChannel(DescribeChannelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelResponseUnmarshaller.Instance; return Invoke<DescribeChannelResponse>(request, options); } /// <summary> /// Returns the full details of a channel in an Amazon Chime <code>AppInstance</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannel service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeChannel service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannel">REST API Reference for DescribeChannel Operation</seealso> public virtual Task<DescribeChannelResponse> DescribeChannelAsync(DescribeChannelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelResponseUnmarshaller.Instance; return InvokeAsync<DescribeChannelResponse>(request, options, cancellationToken); } #endregion #region DescribeChannelBan /// <summary> /// Returns the full details of a channel ban. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelBan service method.</param> /// /// <returns>The response from the DescribeChannelBan service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelBan">REST API Reference for DescribeChannelBan Operation</seealso> public virtual DescribeChannelBanResponse DescribeChannelBan(DescribeChannelBanRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelBanRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelBanResponseUnmarshaller.Instance; return Invoke<DescribeChannelBanResponse>(request, options); } /// <summary> /// Returns the full details of a channel ban. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelBan service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeChannelBan service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelBan">REST API Reference for DescribeChannelBan Operation</seealso> public virtual Task<DescribeChannelBanResponse> DescribeChannelBanAsync(DescribeChannelBanRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelBanRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelBanResponseUnmarshaller.Instance; return InvokeAsync<DescribeChannelBanResponse>(request, options, cancellationToken); } #endregion #region DescribeChannelFlow /// <summary> /// Returns the full details of a channel flow in an Amazon Chime <code>AppInstance</code>. /// This is a developer API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelFlow service method.</param> /// /// <returns>The response from the DescribeChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelFlow">REST API Reference for DescribeChannelFlow Operation</seealso> public virtual DescribeChannelFlowResponse DescribeChannelFlow(DescribeChannelFlowRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelFlowResponseUnmarshaller.Instance; return Invoke<DescribeChannelFlowResponse>(request, options); } /// <summary> /// Returns the full details of a channel flow in an Amazon Chime <code>AppInstance</code>. /// This is a developer API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelFlow service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelFlow">REST API Reference for DescribeChannelFlow Operation</seealso> public virtual Task<DescribeChannelFlowResponse> DescribeChannelFlowAsync(DescribeChannelFlowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelFlowResponseUnmarshaller.Instance; return InvokeAsync<DescribeChannelFlowResponse>(request, options, cancellationToken); } #endregion #region DescribeChannelMembership /// <summary> /// Returns the full details of a user's channel membership. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelMembership service method.</param> /// /// <returns>The response from the DescribeChannelMembership service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelMembership">REST API Reference for DescribeChannelMembership Operation</seealso> public virtual DescribeChannelMembershipResponse DescribeChannelMembership(DescribeChannelMembershipRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelMembershipRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelMembershipResponseUnmarshaller.Instance; return Invoke<DescribeChannelMembershipResponse>(request, options); } /// <summary> /// Returns the full details of a user's channel membership. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelMembership service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeChannelMembership service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelMembership">REST API Reference for DescribeChannelMembership Operation</seealso> public virtual Task<DescribeChannelMembershipResponse> DescribeChannelMembershipAsync(DescribeChannelMembershipRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelMembershipRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelMembershipResponseUnmarshaller.Instance; return InvokeAsync<DescribeChannelMembershipResponse>(request, options, cancellationToken); } #endregion #region DescribeChannelMembershipForAppInstanceUser /// <summary> /// Returns the details of a channel based on the membership of the specified <code>AppInstanceUser</code> /// or <code>AppInstanceBot</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelMembershipForAppInstanceUser service method.</param> /// /// <returns>The response from the DescribeChannelMembershipForAppInstanceUser service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelMembershipForAppInstanceUser">REST API Reference for DescribeChannelMembershipForAppInstanceUser Operation</seealso> public virtual DescribeChannelMembershipForAppInstanceUserResponse DescribeChannelMembershipForAppInstanceUser(DescribeChannelMembershipForAppInstanceUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelMembershipForAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelMembershipForAppInstanceUserResponseUnmarshaller.Instance; return Invoke<DescribeChannelMembershipForAppInstanceUserResponse>(request, options); } /// <summary> /// Returns the details of a channel based on the membership of the specified <code>AppInstanceUser</code> /// or <code>AppInstanceBot</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelMembershipForAppInstanceUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeChannelMembershipForAppInstanceUser service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelMembershipForAppInstanceUser">REST API Reference for DescribeChannelMembershipForAppInstanceUser Operation</seealso> public virtual Task<DescribeChannelMembershipForAppInstanceUserResponse> DescribeChannelMembershipForAppInstanceUserAsync(DescribeChannelMembershipForAppInstanceUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelMembershipForAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelMembershipForAppInstanceUserResponseUnmarshaller.Instance; return InvokeAsync<DescribeChannelMembershipForAppInstanceUserResponse>(request, options, cancellationToken); } #endregion #region DescribeChannelModeratedByAppInstanceUser /// <summary> /// Returns the full details of a channel moderated by the specified <code>AppInstanceUser</code> /// or <code>AppInstanceBot</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelModeratedByAppInstanceUser service method.</param> /// /// <returns>The response from the DescribeChannelModeratedByAppInstanceUser service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelModeratedByAppInstanceUser">REST API Reference for DescribeChannelModeratedByAppInstanceUser Operation</seealso> public virtual DescribeChannelModeratedByAppInstanceUserResponse DescribeChannelModeratedByAppInstanceUser(DescribeChannelModeratedByAppInstanceUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelModeratedByAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelModeratedByAppInstanceUserResponseUnmarshaller.Instance; return Invoke<DescribeChannelModeratedByAppInstanceUserResponse>(request, options); } /// <summary> /// Returns the full details of a channel moderated by the specified <code>AppInstanceUser</code> /// or <code>AppInstanceBot</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelModeratedByAppInstanceUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeChannelModeratedByAppInstanceUser service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelModeratedByAppInstanceUser">REST API Reference for DescribeChannelModeratedByAppInstanceUser Operation</seealso> public virtual Task<DescribeChannelModeratedByAppInstanceUserResponse> DescribeChannelModeratedByAppInstanceUserAsync(DescribeChannelModeratedByAppInstanceUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelModeratedByAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelModeratedByAppInstanceUserResponseUnmarshaller.Instance; return InvokeAsync<DescribeChannelModeratedByAppInstanceUserResponse>(request, options, cancellationToken); } #endregion #region DescribeChannelModerator /// <summary> /// Returns the full details of a single ChannelModerator. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the <code>AppInstanceUserArn</code> /// of the user that makes the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelModerator service method.</param> /// /// <returns>The response from the DescribeChannelModerator service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelModerator">REST API Reference for DescribeChannelModerator Operation</seealso> public virtual DescribeChannelModeratorResponse DescribeChannelModerator(DescribeChannelModeratorRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelModeratorRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelModeratorResponseUnmarshaller.Instance; return Invoke<DescribeChannelModeratorResponse>(request, options); } /// <summary> /// Returns the full details of a single ChannelModerator. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the <code>AppInstanceUserArn</code> /// of the user that makes the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelModerator service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeChannelModerator service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelModerator">REST API Reference for DescribeChannelModerator Operation</seealso> public virtual Task<DescribeChannelModeratorResponse> DescribeChannelModeratorAsync(DescribeChannelModeratorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelModeratorRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelModeratorResponseUnmarshaller.Instance; return InvokeAsync<DescribeChannelModeratorResponse>(request, options, cancellationToken); } #endregion #region DisassociateChannelFlow /// <summary> /// Disassociates a channel flow from all its channels. Once disassociated, all messages /// to that channel stop going through the channel flow processor. /// /// <note> /// <para> /// Only administrators or channel moderators can disassociate a channel flow. /// </para> /// /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateChannelFlow service method.</param> /// /// <returns>The response from the DisassociateChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DisassociateChannelFlow">REST API Reference for DisassociateChannelFlow Operation</seealso> public virtual DisassociateChannelFlowResponse DisassociateChannelFlow(DisassociateChannelFlowRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateChannelFlowResponseUnmarshaller.Instance; return Invoke<DisassociateChannelFlowResponse>(request, options); } /// <summary> /// Disassociates a channel flow from all its channels. Once disassociated, all messages /// to that channel stop going through the channel flow processor. /// /// <note> /// <para> /// Only administrators or channel moderators can disassociate a channel flow. /// </para> /// /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateChannelFlow service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DisassociateChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DisassociateChannelFlow">REST API Reference for DisassociateChannelFlow Operation</seealso> public virtual Task<DisassociateChannelFlowResponse> DisassociateChannelFlowAsync(DisassociateChannelFlowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateChannelFlowResponseUnmarshaller.Instance; return InvokeAsync<DisassociateChannelFlowResponse>(request, options, cancellationToken); } #endregion #region GetChannelMembershipPreferences /// <summary> /// Gets the membership preferences of an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> /// for the specified channel. A user or a bot must be a member of the channel and own /// the membership in order to retrieve membership preferences. Users or bots in the <code>AppInstanceAdmin</code> /// and channel moderator roles can't retrieve preferences for other users or bots. Banned /// users or bots can't retrieve membership preferences for the channel from which they /// are banned. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetChannelMembershipPreferences service method.</param> /// /// <returns>The response from the GetChannelMembershipPreferences service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMembershipPreferences">REST API Reference for GetChannelMembershipPreferences Operation</seealso> public virtual GetChannelMembershipPreferencesResponse GetChannelMembershipPreferences(GetChannelMembershipPreferencesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetChannelMembershipPreferencesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetChannelMembershipPreferencesResponseUnmarshaller.Instance; return Invoke<GetChannelMembershipPreferencesResponse>(request, options); } /// <summary> /// Gets the membership preferences of an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> /// for the specified channel. A user or a bot must be a member of the channel and own /// the membership in order to retrieve membership preferences. Users or bots in the <code>AppInstanceAdmin</code> /// and channel moderator roles can't retrieve preferences for other users or bots. Banned /// users or bots can't retrieve membership preferences for the channel from which they /// are banned. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetChannelMembershipPreferences service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetChannelMembershipPreferences service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMembershipPreferences">REST API Reference for GetChannelMembershipPreferences Operation</seealso> public virtual Task<GetChannelMembershipPreferencesResponse> GetChannelMembershipPreferencesAsync(GetChannelMembershipPreferencesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetChannelMembershipPreferencesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetChannelMembershipPreferencesResponseUnmarshaller.Instance; return InvokeAsync<GetChannelMembershipPreferencesResponse>(request, options, cancellationToken); } #endregion #region GetChannelMessage /// <summary> /// Gets the full details of a channel message. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetChannelMessage service method.</param> /// /// <returns>The response from the GetChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMessage">REST API Reference for GetChannelMessage Operation</seealso> public virtual GetChannelMessageResponse GetChannelMessage(GetChannelMessageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetChannelMessageRequestMarshaller.Instance; options.ResponseUnmarshaller = GetChannelMessageResponseUnmarshaller.Instance; return Invoke<GetChannelMessageResponse>(request, options); } /// <summary> /// Gets the full details of a channel message. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetChannelMessage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMessage">REST API Reference for GetChannelMessage Operation</seealso> public virtual Task<GetChannelMessageResponse> GetChannelMessageAsync(GetChannelMessageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetChannelMessageRequestMarshaller.Instance; options.ResponseUnmarshaller = GetChannelMessageResponseUnmarshaller.Instance; return InvokeAsync<GetChannelMessageResponse>(request, options, cancellationToken); } #endregion #region GetChannelMessageStatus /// <summary> /// Gets message status for a specified <code>messageId</code>. Use this API to determine /// the intermediate status of messages going through channel flow processing. The API /// provides an alternative to retrieving message status if the event was not received /// because a client wasn't connected to a websocket. /// /// /// <para> /// Messages can have any one of these statuses. /// </para> /// <dl> <dt>SENT</dt> <dd> /// <para> /// Message processed successfully /// </para> /// </dd> <dt>PENDING</dt> <dd> /// <para> /// Ongoing processing /// </para> /// </dd> <dt>FAILED</dt> <dd> /// <para> /// Processing failed /// </para> /// </dd> <dt>DENIED</dt> <dd> /// <para> /// Message denied by the processor /// </para> /// </dd> </dl> <note> <ul> <li> /// <para> /// This API does not return statuses for denied messages, because we don't store them /// once the processor denies them. /// </para> /// </li> <li> /// <para> /// Only the message sender can invoke this API. /// </para> /// </li> <li> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </li> </ul> </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetChannelMessageStatus service method.</param> /// /// <returns>The response from the GetChannelMessageStatus service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMessageStatus">REST API Reference for GetChannelMessageStatus Operation</seealso> public virtual GetChannelMessageStatusResponse GetChannelMessageStatus(GetChannelMessageStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetChannelMessageStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetChannelMessageStatusResponseUnmarshaller.Instance; return Invoke<GetChannelMessageStatusResponse>(request, options); } /// <summary> /// Gets message status for a specified <code>messageId</code>. Use this API to determine /// the intermediate status of messages going through channel flow processing. The API /// provides an alternative to retrieving message status if the event was not received /// because a client wasn't connected to a websocket. /// /// /// <para> /// Messages can have any one of these statuses. /// </para> /// <dl> <dt>SENT</dt> <dd> /// <para> /// Message processed successfully /// </para> /// </dd> <dt>PENDING</dt> <dd> /// <para> /// Ongoing processing /// </para> /// </dd> <dt>FAILED</dt> <dd> /// <para> /// Processing failed /// </para> /// </dd> <dt>DENIED</dt> <dd> /// <para> /// Message denied by the processor /// </para> /// </dd> </dl> <note> <ul> <li> /// <para> /// This API does not return statuses for denied messages, because we don't store them /// once the processor denies them. /// </para> /// </li> <li> /// <para> /// Only the message sender can invoke this API. /// </para> /// </li> <li> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </li> </ul> </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetChannelMessageStatus service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetChannelMessageStatus service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMessageStatus">REST API Reference for GetChannelMessageStatus Operation</seealso> public virtual Task<GetChannelMessageStatusResponse> GetChannelMessageStatusAsync(GetChannelMessageStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetChannelMessageStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetChannelMessageStatusResponseUnmarshaller.Instance; return InvokeAsync<GetChannelMessageStatusResponse>(request, options, cancellationToken); } #endregion #region GetMessagingSessionEndpoint /// <summary> /// The details of the endpoint for the messaging session. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetMessagingSessionEndpoint service method.</param> /// /// <returns>The response from the GetMessagingSessionEndpoint service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetMessagingSessionEndpoint">REST API Reference for GetMessagingSessionEndpoint Operation</seealso> public virtual GetMessagingSessionEndpointResponse GetMessagingSessionEndpoint(GetMessagingSessionEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetMessagingSessionEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMessagingSessionEndpointResponseUnmarshaller.Instance; return Invoke<GetMessagingSessionEndpointResponse>(request, options); } /// <summary> /// The details of the endpoint for the messaging session. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetMessagingSessionEndpoint service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetMessagingSessionEndpoint service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetMessagingSessionEndpoint">REST API Reference for GetMessagingSessionEndpoint Operation</seealso> public virtual Task<GetMessagingSessionEndpointResponse> GetMessagingSessionEndpointAsync(GetMessagingSessionEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetMessagingSessionEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMessagingSessionEndpointResponseUnmarshaller.Instance; return InvokeAsync<GetMessagingSessionEndpointResponse>(request, options, cancellationToken); } #endregion #region GetMessagingStreamingConfigurations /// <summary> /// Retrieves the data streaming configuration for an <code>AppInstance</code>. For more /// information, see <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html">Streaming /// messaging data</a> in the <i>Amazon Chime SDK Developer Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetMessagingStreamingConfigurations service method.</param> /// /// <returns>The response from the GetMessagingStreamingConfigurations service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetMessagingStreamingConfigurations">REST API Reference for GetMessagingStreamingConfigurations Operation</seealso> public virtual GetMessagingStreamingConfigurationsResponse GetMessagingStreamingConfigurations(GetMessagingStreamingConfigurationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetMessagingStreamingConfigurationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMessagingStreamingConfigurationsResponseUnmarshaller.Instance; return Invoke<GetMessagingStreamingConfigurationsResponse>(request, options); } /// <summary> /// Retrieves the data streaming configuration for an <code>AppInstance</code>. For more /// information, see <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html">Streaming /// messaging data</a> in the <i>Amazon Chime SDK Developer Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetMessagingStreamingConfigurations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetMessagingStreamingConfigurations service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetMessagingStreamingConfigurations">REST API Reference for GetMessagingStreamingConfigurations Operation</seealso> public virtual Task<GetMessagingStreamingConfigurationsResponse> GetMessagingStreamingConfigurationsAsync(GetMessagingStreamingConfigurationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetMessagingStreamingConfigurationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMessagingStreamingConfigurationsResponseUnmarshaller.Instance; return InvokeAsync<GetMessagingStreamingConfigurationsResponse>(request, options, cancellationToken); } #endregion #region ListChannelBans /// <summary> /// Lists all the users and bots banned from a particular channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelBans service method.</param> /// /// <returns>The response from the ListChannelBans service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelBans">REST API Reference for ListChannelBans Operation</seealso> public virtual ListChannelBansResponse ListChannelBans(ListChannelBansRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelBansRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelBansResponseUnmarshaller.Instance; return Invoke<ListChannelBansResponse>(request, options); } /// <summary> /// Lists all the users and bots banned from a particular channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelBans service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListChannelBans service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelBans">REST API Reference for ListChannelBans Operation</seealso> public virtual Task<ListChannelBansResponse> ListChannelBansAsync(ListChannelBansRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelBansRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelBansResponseUnmarshaller.Instance; return InvokeAsync<ListChannelBansResponse>(request, options, cancellationToken); } #endregion #region ListChannelFlows /// <summary> /// Returns a paginated lists of all the channel flows created under a single Chime. This /// is a developer API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelFlows service method.</param> /// /// <returns>The response from the ListChannelFlows service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelFlows">REST API Reference for ListChannelFlows Operation</seealso> public virtual ListChannelFlowsResponse ListChannelFlows(ListChannelFlowsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelFlowsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelFlowsResponseUnmarshaller.Instance; return Invoke<ListChannelFlowsResponse>(request, options); } /// <summary> /// Returns a paginated lists of all the channel flows created under a single Chime. This /// is a developer API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelFlows service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListChannelFlows service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelFlows">REST API Reference for ListChannelFlows Operation</seealso> public virtual Task<ListChannelFlowsResponse> ListChannelFlowsAsync(ListChannelFlowsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelFlowsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelFlowsResponseUnmarshaller.Instance; return InvokeAsync<ListChannelFlowsResponse>(request, options, cancellationToken); } #endregion #region ListChannelMemberships /// <summary> /// Lists all channel memberships in a channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// <para> /// If you want to list the channels to which a specific app instance user belongs, see /// the <a href="https://docs.aws.amazon.com/chime/latest/APIReference/API_messaging-chime_ListChannelMembershipsForAppInstanceUser.html">ListChannelMembershipsForAppInstanceUser</a> /// API. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelMemberships service method.</param> /// /// <returns>The response from the ListChannelMemberships service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMemberships">REST API Reference for ListChannelMemberships Operation</seealso> public virtual ListChannelMembershipsResponse ListChannelMemberships(ListChannelMembershipsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelMembershipsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelMembershipsResponseUnmarshaller.Instance; return Invoke<ListChannelMembershipsResponse>(request, options); } /// <summary> /// Lists all channel memberships in a channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// <para> /// If you want to list the channels to which a specific app instance user belongs, see /// the <a href="https://docs.aws.amazon.com/chime/latest/APIReference/API_messaging-chime_ListChannelMembershipsForAppInstanceUser.html">ListChannelMembershipsForAppInstanceUser</a> /// API. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelMemberships service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListChannelMemberships service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMemberships">REST API Reference for ListChannelMemberships Operation</seealso> public virtual Task<ListChannelMembershipsResponse> ListChannelMembershipsAsync(ListChannelMembershipsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelMembershipsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelMembershipsResponseUnmarshaller.Instance; return InvokeAsync<ListChannelMembershipsResponse>(request, options, cancellationToken); } #endregion #region ListChannelMembershipsForAppInstanceUser /// <summary> /// Lists all channels that an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> /// is a part of. Only an <code>AppInstanceAdmin</code> can call the API with a user ARN /// that is not their own. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelMembershipsForAppInstanceUser service method.</param> /// /// <returns>The response from the ListChannelMembershipsForAppInstanceUser service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMembershipsForAppInstanceUser">REST API Reference for ListChannelMembershipsForAppInstanceUser Operation</seealso> public virtual ListChannelMembershipsForAppInstanceUserResponse ListChannelMembershipsForAppInstanceUser(ListChannelMembershipsForAppInstanceUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelMembershipsForAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelMembershipsForAppInstanceUserResponseUnmarshaller.Instance; return Invoke<ListChannelMembershipsForAppInstanceUserResponse>(request, options); } /// <summary> /// Lists all channels that an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> /// is a part of. Only an <code>AppInstanceAdmin</code> can call the API with a user ARN /// that is not their own. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelMembershipsForAppInstanceUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListChannelMembershipsForAppInstanceUser service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMembershipsForAppInstanceUser">REST API Reference for ListChannelMembershipsForAppInstanceUser Operation</seealso> public virtual Task<ListChannelMembershipsForAppInstanceUserResponse> ListChannelMembershipsForAppInstanceUserAsync(ListChannelMembershipsForAppInstanceUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelMembershipsForAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelMembershipsForAppInstanceUserResponseUnmarshaller.Instance; return InvokeAsync<ListChannelMembershipsForAppInstanceUserResponse>(request, options, cancellationToken); } #endregion #region ListChannelMessages /// <summary> /// List all the messages in a channel. Returns a paginated list of <code>ChannelMessages</code>. /// By default, sorted by creation timestamp in descending order. /// /// <note> /// <para> /// Redacted messages appear in the results as empty, since they are only redacted, not /// deleted. Deleted messages do not appear in the results. This action always returns /// the latest version of an edited message. /// </para> /// /// <para> /// Also, the <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN /// of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the /// API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelMessages service method.</param> /// /// <returns>The response from the ListChannelMessages service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMessages">REST API Reference for ListChannelMessages Operation</seealso> public virtual ListChannelMessagesResponse ListChannelMessages(ListChannelMessagesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelMessagesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelMessagesResponseUnmarshaller.Instance; return Invoke<ListChannelMessagesResponse>(request, options); } /// <summary> /// List all the messages in a channel. Returns a paginated list of <code>ChannelMessages</code>. /// By default, sorted by creation timestamp in descending order. /// /// <note> /// <para> /// Redacted messages appear in the results as empty, since they are only redacted, not /// deleted. Deleted messages do not appear in the results. This action always returns /// the latest version of an edited message. /// </para> /// /// <para> /// Also, the <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN /// of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the /// API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelMessages service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListChannelMessages service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMessages">REST API Reference for ListChannelMessages Operation</seealso> public virtual Task<ListChannelMessagesResponse> ListChannelMessagesAsync(ListChannelMessagesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelMessagesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelMessagesResponseUnmarshaller.Instance; return InvokeAsync<ListChannelMessagesResponse>(request, options, cancellationToken); } #endregion #region ListChannelModerators /// <summary> /// Lists all the moderators for a channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelModerators service method.</param> /// /// <returns>The response from the ListChannelModerators service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelModerators">REST API Reference for ListChannelModerators Operation</seealso> public virtual ListChannelModeratorsResponse ListChannelModerators(ListChannelModeratorsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelModeratorsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelModeratorsResponseUnmarshaller.Instance; return Invoke<ListChannelModeratorsResponse>(request, options); } /// <summary> /// Lists all the moderators for a channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelModerators service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListChannelModerators service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelModerators">REST API Reference for ListChannelModerators Operation</seealso> public virtual Task<ListChannelModeratorsResponse> ListChannelModeratorsAsync(ListChannelModeratorsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelModeratorsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelModeratorsResponseUnmarshaller.Instance; return InvokeAsync<ListChannelModeratorsResponse>(request, options, cancellationToken); } #endregion #region ListChannels /// <summary> /// Lists all Channels created under a single Chime App as a paginated list. You can specify /// filters to narrow results. /// /// <p class="title"> <b>Functionality &amp; restrictions</b> /// </para> /// <ul> <li> /// <para> /// Use privacy = <code>PUBLIC</code> to retrieve all public channels in the account. /// </para> /// </li> <li> /// <para> /// Only an <code>AppInstanceAdmin</code> can set privacy = <code>PRIVATE</code> to list /// the private channels in an account. /// </para> /// </li> </ul> <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannels service method.</param> /// /// <returns>The response from the ListChannels service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannels">REST API Reference for ListChannels Operation</seealso> public virtual ListChannelsResponse ListChannels(ListChannelsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelsResponseUnmarshaller.Instance; return Invoke<ListChannelsResponse>(request, options); } /// <summary> /// Lists all Channels created under a single Chime App as a paginated list. You can specify /// filters to narrow results. /// /// <p class="title"> <b>Functionality &amp; restrictions</b> /// </para> /// <ul> <li> /// <para> /// Use privacy = <code>PUBLIC</code> to retrieve all public channels in the account. /// </para> /// </li> <li> /// <para> /// Only an <code>AppInstanceAdmin</code> can set privacy = <code>PRIVATE</code> to list /// the private channels in an account. /// </para> /// </li> </ul> <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannels service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListChannels service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannels">REST API Reference for ListChannels Operation</seealso> public virtual Task<ListChannelsResponse> ListChannelsAsync(ListChannelsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelsResponseUnmarshaller.Instance; return InvokeAsync<ListChannelsResponse>(request, options, cancellationToken); } #endregion #region ListChannelsAssociatedWithChannelFlow /// <summary> /// Lists all channels associated with a specified channel flow. You can associate a channel /// flow with multiple channels, but you can only associate a channel with one channel /// flow. This is a developer API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelsAssociatedWithChannelFlow service method.</param> /// /// <returns>The response from the ListChannelsAssociatedWithChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelsAssociatedWithChannelFlow">REST API Reference for ListChannelsAssociatedWithChannelFlow Operation</seealso> public virtual ListChannelsAssociatedWithChannelFlowResponse ListChannelsAssociatedWithChannelFlow(ListChannelsAssociatedWithChannelFlowRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelsAssociatedWithChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelsAssociatedWithChannelFlowResponseUnmarshaller.Instance; return Invoke<ListChannelsAssociatedWithChannelFlowResponse>(request, options); } /// <summary> /// Lists all channels associated with a specified channel flow. You can associate a channel /// flow with multiple channels, but you can only associate a channel with one channel /// flow. This is a developer API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelsAssociatedWithChannelFlow service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListChannelsAssociatedWithChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelsAssociatedWithChannelFlow">REST API Reference for ListChannelsAssociatedWithChannelFlow Operation</seealso> public virtual Task<ListChannelsAssociatedWithChannelFlowResponse> ListChannelsAssociatedWithChannelFlowAsync(ListChannelsAssociatedWithChannelFlowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelsAssociatedWithChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelsAssociatedWithChannelFlowResponseUnmarshaller.Instance; return InvokeAsync<ListChannelsAssociatedWithChannelFlowResponse>(request, options, cancellationToken); } #endregion #region ListChannelsModeratedByAppInstanceUser /// <summary> /// A list of the channels moderated by an <code>AppInstanceUser</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelsModeratedByAppInstanceUser service method.</param> /// /// <returns>The response from the ListChannelsModeratedByAppInstanceUser service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelsModeratedByAppInstanceUser">REST API Reference for ListChannelsModeratedByAppInstanceUser Operation</seealso> public virtual ListChannelsModeratedByAppInstanceUserResponse ListChannelsModeratedByAppInstanceUser(ListChannelsModeratedByAppInstanceUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelsModeratedByAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelsModeratedByAppInstanceUserResponseUnmarshaller.Instance; return Invoke<ListChannelsModeratedByAppInstanceUserResponse>(request, options); } /// <summary> /// A list of the channels moderated by an <code>AppInstanceUser</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelsModeratedByAppInstanceUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListChannelsModeratedByAppInstanceUser service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelsModeratedByAppInstanceUser">REST API Reference for ListChannelsModeratedByAppInstanceUser Operation</seealso> public virtual Task<ListChannelsModeratedByAppInstanceUserResponse> ListChannelsModeratedByAppInstanceUserAsync(ListChannelsModeratedByAppInstanceUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelsModeratedByAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelsModeratedByAppInstanceUserResponseUnmarshaller.Instance; return InvokeAsync<ListChannelsModeratedByAppInstanceUserResponse>(request, options, cancellationToken); } #endregion #region ListSubChannels /// <summary> /// Lists all the SubChannels in an elastic channel when given a channel ID. Available /// only to the app instance admins and channel moderators of elastic channels. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListSubChannels service method.</param> /// /// <returns>The response from the ListSubChannels service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListSubChannels">REST API Reference for ListSubChannels Operation</seealso> public virtual ListSubChannelsResponse ListSubChannels(ListSubChannelsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListSubChannelsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSubChannelsResponseUnmarshaller.Instance; return Invoke<ListSubChannelsResponse>(request, options); } /// <summary> /// Lists all the SubChannels in an elastic channel when given a channel ID. Available /// only to the app instance admins and channel moderators of elastic channels. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListSubChannels service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListSubChannels service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListSubChannels">REST API Reference for ListSubChannels Operation</seealso> public virtual Task<ListSubChannelsResponse> ListSubChannelsAsync(ListSubChannelsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListSubChannelsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSubChannelsResponseUnmarshaller.Instance; return InvokeAsync<ListSubChannelsResponse>(request, options, cancellationToken); } #endregion #region ListTagsForResource /// <summary> /// Lists the tags applied to an Amazon Chime SDK messaging 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 ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/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 messaging 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 ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/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 PutChannelExpirationSettings /// <summary> /// Sets the number of days before the channel is automatically deleted. /// /// <note> <ul> <li> /// <para> /// A background process deletes expired channels within 6 hours of expiration. Actual /// deletion times may vary. /// </para> /// </li> <li> /// <para> /// Expired channels that have not yet been deleted appear as active, and you can update /// their expiration settings. The system honors the new settings. /// </para> /// </li> <li> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </li> </ul> </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutChannelExpirationSettings service method.</param> /// /// <returns>The response from the PutChannelExpirationSettings service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutChannelExpirationSettings">REST API Reference for PutChannelExpirationSettings Operation</seealso> public virtual PutChannelExpirationSettingsResponse PutChannelExpirationSettings(PutChannelExpirationSettingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutChannelExpirationSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutChannelExpirationSettingsResponseUnmarshaller.Instance; return Invoke<PutChannelExpirationSettingsResponse>(request, options); } /// <summary> /// Sets the number of days before the channel is automatically deleted. /// /// <note> <ul> <li> /// <para> /// A background process deletes expired channels within 6 hours of expiration. Actual /// deletion times may vary. /// </para> /// </li> <li> /// <para> /// Expired channels that have not yet been deleted appear as active, and you can update /// their expiration settings. The system honors the new settings. /// </para> /// </li> <li> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </li> </ul> </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutChannelExpirationSettings service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the PutChannelExpirationSettings service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutChannelExpirationSettings">REST API Reference for PutChannelExpirationSettings Operation</seealso> public virtual Task<PutChannelExpirationSettingsResponse> PutChannelExpirationSettingsAsync(PutChannelExpirationSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutChannelExpirationSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutChannelExpirationSettingsResponseUnmarshaller.Instance; return InvokeAsync<PutChannelExpirationSettingsResponse>(request, options, cancellationToken); } #endregion #region PutChannelMembershipPreferences /// <summary> /// Sets the membership preferences of an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> /// for the specified channel. The user or bot must be a member of the channel. Only the /// user or bot who owns the membership can set preferences. Users or bots in the <code>AppInstanceAdmin</code> /// and channel moderator roles can't set preferences for other users. Banned users or /// bots can't set membership preferences for the channel from which they are banned. /// /// <note> /// <para> /// The x-amz-chime-bearer request header is mandatory. Use the ARN of an <code>AppInstanceUser</code> /// or <code>AppInstanceBot</code> that makes the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutChannelMembershipPreferences service method.</param> /// /// <returns>The response from the PutChannelMembershipPreferences service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutChannelMembershipPreferences">REST API Reference for PutChannelMembershipPreferences Operation</seealso> public virtual PutChannelMembershipPreferencesResponse PutChannelMembershipPreferences(PutChannelMembershipPreferencesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutChannelMembershipPreferencesRequestMarshaller.Instance; options.ResponseUnmarshaller = PutChannelMembershipPreferencesResponseUnmarshaller.Instance; return Invoke<PutChannelMembershipPreferencesResponse>(request, options); } /// <summary> /// Sets the membership preferences of an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> /// for the specified channel. The user or bot must be a member of the channel. Only the /// user or bot who owns the membership can set preferences. Users or bots in the <code>AppInstanceAdmin</code> /// and channel moderator roles can't set preferences for other users. Banned users or /// bots can't set membership preferences for the channel from which they are banned. /// /// <note> /// <para> /// The x-amz-chime-bearer request header is mandatory. Use the ARN of an <code>AppInstanceUser</code> /// or <code>AppInstanceBot</code> that makes the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutChannelMembershipPreferences service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the PutChannelMembershipPreferences service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutChannelMembershipPreferences">REST API Reference for PutChannelMembershipPreferences Operation</seealso> public virtual Task<PutChannelMembershipPreferencesResponse> PutChannelMembershipPreferencesAsync(PutChannelMembershipPreferencesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutChannelMembershipPreferencesRequestMarshaller.Instance; options.ResponseUnmarshaller = PutChannelMembershipPreferencesResponseUnmarshaller.Instance; return InvokeAsync<PutChannelMembershipPreferencesResponse>(request, options, cancellationToken); } #endregion #region PutMessagingStreamingConfigurations /// <summary> /// Sets the data streaming configuration for an <code>AppInstance</code>. For more information, /// see <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html">Streaming /// messaging data</a> in the <i>Amazon Chime SDK Developer Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutMessagingStreamingConfigurations service method.</param> /// /// <returns>The response from the PutMessagingStreamingConfigurations service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutMessagingStreamingConfigurations">REST API Reference for PutMessagingStreamingConfigurations Operation</seealso> public virtual PutMessagingStreamingConfigurationsResponse PutMessagingStreamingConfigurations(PutMessagingStreamingConfigurationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutMessagingStreamingConfigurationsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutMessagingStreamingConfigurationsResponseUnmarshaller.Instance; return Invoke<PutMessagingStreamingConfigurationsResponse>(request, options); } /// <summary> /// Sets the data streaming configuration for an <code>AppInstance</code>. For more information, /// see <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html">Streaming /// messaging data</a> in the <i>Amazon Chime SDK Developer Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutMessagingStreamingConfigurations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the PutMessagingStreamingConfigurations service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutMessagingStreamingConfigurations">REST API Reference for PutMessagingStreamingConfigurations Operation</seealso> public virtual Task<PutMessagingStreamingConfigurationsResponse> PutMessagingStreamingConfigurationsAsync(PutMessagingStreamingConfigurationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutMessagingStreamingConfigurationsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutMessagingStreamingConfigurationsResponseUnmarshaller.Instance; return InvokeAsync<PutMessagingStreamingConfigurationsResponse>(request, options, cancellationToken); } #endregion #region RedactChannelMessage /// <summary> /// Redacts message content, but not metadata. The message exists in the back end, but /// the action returns null content, and the state shows as redacted. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the RedactChannelMessage service method.</param> /// /// <returns>The response from the RedactChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/RedactChannelMessage">REST API Reference for RedactChannelMessage Operation</seealso> public virtual RedactChannelMessageResponse RedactChannelMessage(RedactChannelMessageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RedactChannelMessageRequestMarshaller.Instance; options.ResponseUnmarshaller = RedactChannelMessageResponseUnmarshaller.Instance; return Invoke<RedactChannelMessageResponse>(request, options); } /// <summary> /// Redacts message content, but not metadata. The message exists in the back end, but /// the action returns null content, and the state shows as redacted. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the RedactChannelMessage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the RedactChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/RedactChannelMessage">REST API Reference for RedactChannelMessage Operation</seealso> public virtual Task<RedactChannelMessageResponse> RedactChannelMessageAsync(RedactChannelMessageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RedactChannelMessageRequestMarshaller.Instance; options.ResponseUnmarshaller = RedactChannelMessageResponseUnmarshaller.Instance; return InvokeAsync<RedactChannelMessageResponse>(request, options, cancellationToken); } #endregion #region SearchChannels /// <summary> /// Allows the <code>ChimeBearer</code> to search channels by channel members. Users or /// bots can search across the channels that they belong to. Users in the <code>AppInstanceAdmin</code> /// role can search across all channels. /// /// /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the SearchChannels service method.</param> /// /// <returns>The response from the SearchChannels service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/SearchChannels">REST API Reference for SearchChannels Operation</seealso> public virtual SearchChannelsResponse SearchChannels(SearchChannelsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SearchChannelsRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchChannelsResponseUnmarshaller.Instance; return Invoke<SearchChannelsResponse>(request, options); } /// <summary> /// Allows the <code>ChimeBearer</code> to search channels by channel members. Users or /// bots can search across the channels that they belong to. Users in the <code>AppInstanceAdmin</code> /// role can search across all channels. /// /// /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the SearchChannels service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the SearchChannels service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/SearchChannels">REST API Reference for SearchChannels Operation</seealso> public virtual Task<SearchChannelsResponse> SearchChannelsAsync(SearchChannelsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SearchChannelsRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchChannelsResponseUnmarshaller.Instance; return InvokeAsync<SearchChannelsResponse>(request, options, cancellationToken); } #endregion #region SendChannelMessage /// <summary> /// Sends a message to a particular channel that the member is a part of. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// /// <para> /// Also, <code>STANDARD</code> messages can be up to 4KB in size and contain metadata. /// Metadata is arbitrary, and you can use it in a variety of ways, such as containing /// a link to an attachment. /// </para> /// /// <para> /// <code>CONTROL</code> messages are limited to 30 bytes and do not contain metadata. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the SendChannelMessage service method.</param> /// /// <returns>The response from the SendChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/SendChannelMessage">REST API Reference for SendChannelMessage Operation</seealso> public virtual SendChannelMessageResponse SendChannelMessage(SendChannelMessageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SendChannelMessageRequestMarshaller.Instance; options.ResponseUnmarshaller = SendChannelMessageResponseUnmarshaller.Instance; return Invoke<SendChannelMessageResponse>(request, options); } /// <summary> /// Sends a message to a particular channel that the member is a part of. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// /// <para> /// Also, <code>STANDARD</code> messages can be up to 4KB in size and contain metadata. /// Metadata is arbitrary, and you can use it in a variety of ways, such as containing /// a link to an attachment. /// </para> /// /// <para> /// <code>CONTROL</code> messages are limited to 30 bytes and do not contain metadata. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the SendChannelMessage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the SendChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/SendChannelMessage">REST API Reference for SendChannelMessage Operation</seealso> public virtual Task<SendChannelMessageResponse> SendChannelMessageAsync(SendChannelMessageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SendChannelMessageRequestMarshaller.Instance; options.ResponseUnmarshaller = SendChannelMessageResponseUnmarshaller.Instance; return InvokeAsync<SendChannelMessageResponse>(request, options, cancellationToken); } #endregion #region TagResource /// <summary> /// Applies the specified tags to the specified Amazon Chime SDK messaging 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 ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/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 messaging 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 ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/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 messaging 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 ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/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 messaging 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 ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/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 UpdateChannel /// <summary> /// Update a channel's attributes. /// /// /// <para> /// <b>Restriction</b>: You can't change a channel's privacy. /// </para> /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateChannel service method.</param> /// /// <returns>The response from the UpdateChannel service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannel">REST API Reference for UpdateChannel Operation</seealso> public virtual UpdateChannelResponse UpdateChannel(UpdateChannelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateChannelResponseUnmarshaller.Instance; return Invoke<UpdateChannelResponse>(request, options); } /// <summary> /// Update a channel's attributes. /// /// /// <para> /// <b>Restriction</b>: You can't change a channel's privacy. /// </para> /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateChannel service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateChannel service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannel">REST API Reference for UpdateChannel Operation</seealso> public virtual Task<UpdateChannelResponse> UpdateChannelAsync(UpdateChannelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateChannelResponseUnmarshaller.Instance; return InvokeAsync<UpdateChannelResponse>(request, options, cancellationToken); } #endregion #region UpdateChannelFlow /// <summary> /// Updates channel flow attributes. This is a developer API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateChannelFlow service method.</param> /// /// <returns>The response from the UpdateChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelFlow">REST API Reference for UpdateChannelFlow Operation</seealso> public virtual UpdateChannelFlowResponse UpdateChannelFlow(UpdateChannelFlowRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateChannelFlowResponseUnmarshaller.Instance; return Invoke<UpdateChannelFlowResponse>(request, options); } /// <summary> /// Updates channel flow attributes. This is a developer API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateChannelFlow service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelFlow">REST API Reference for UpdateChannelFlow Operation</seealso> public virtual Task<UpdateChannelFlowResponse> UpdateChannelFlowAsync(UpdateChannelFlowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateChannelFlowResponseUnmarshaller.Instance; return InvokeAsync<UpdateChannelFlowResponse>(request, options, cancellationToken); } #endregion #region UpdateChannelMessage /// <summary> /// Updates the content of a message. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateChannelMessage service method.</param> /// /// <returns>The response from the UpdateChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelMessage">REST API Reference for UpdateChannelMessage Operation</seealso> public virtual UpdateChannelMessageResponse UpdateChannelMessage(UpdateChannelMessageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateChannelMessageRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateChannelMessageResponseUnmarshaller.Instance; return Invoke<UpdateChannelMessageResponse>(request, options); } /// <summary> /// Updates the content of a message. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateChannelMessage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelMessage">REST API Reference for UpdateChannelMessage Operation</seealso> public virtual Task<UpdateChannelMessageResponse> UpdateChannelMessageAsync(UpdateChannelMessageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateChannelMessageRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateChannelMessageResponseUnmarshaller.Instance; return InvokeAsync<UpdateChannelMessageResponse>(request, options, cancellationToken); } #endregion #region UpdateChannelReadMarker /// <summary> /// The details of the time when a user last read messages in a channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateChannelReadMarker service method.</param> /// /// <returns>The response from the UpdateChannelReadMarker service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelReadMarker">REST API Reference for UpdateChannelReadMarker Operation</seealso> public virtual UpdateChannelReadMarkerResponse UpdateChannelReadMarker(UpdateChannelReadMarkerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateChannelReadMarkerRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateChannelReadMarkerResponseUnmarshaller.Instance; return Invoke<UpdateChannelReadMarkerResponse>(request, options); } /// <summary> /// The details of the time when a user last read messages in a channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateChannelReadMarker service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateChannelReadMarker service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelReadMarker">REST API Reference for UpdateChannelReadMarker Operation</seealso> public virtual Task<UpdateChannelReadMarkerResponse> UpdateChannelReadMarkerAsync(UpdateChannelReadMarkerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateChannelReadMarkerRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateChannelReadMarkerResponseUnmarshaller.Instance; return InvokeAsync<UpdateChannelReadMarkerResponse>(request, options, cancellationToken); } #endregion } }
5,480
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-messaging-2021-05-15.normal.json service model. */ using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.ChimeSDKMessaging.Model; namespace Amazon.ChimeSDKMessaging { /// <summary> /// Interface for accessing ChimeSDKMessaging /// /// The Amazon Chime SDK messaging APIs in this section allow software developers to send /// and receive messages in custom messaging applications. These APIs depend on the frameworks /// provided by the Amazon Chime SDK identity APIs. For more information about the messaging /// APIs, see <a href="https://docs.aws.amazon.com/chime/latest/APIReference/API_Operations_Amazon_Chime_SDK_Messaging.html">Amazon /// Chime SDK messaging</a>. /// </summary> public partial interface IAmazonChimeSDKMessaging : IAmazonService, IDisposable { /// <summary> /// Paginators for the service /// </summary> IChimeSDKMessagingPaginatorFactory Paginators { get; } #region AssociateChannelFlow /// <summary> /// Associates a channel flow with a channel. Once associated, all messages to that channel /// go through channel flow processors. To stop processing, use the <code>DisassociateChannelFlow</code> /// API. /// /// <note> /// <para> /// Only administrators or channel moderators can associate a channel flow. The <code>x-amz-chime-bearer</code> /// request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> /// that makes the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateChannelFlow service method.</param> /// /// <returns>The response from the AssociateChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/AssociateChannelFlow">REST API Reference for AssociateChannelFlow Operation</seealso> AssociateChannelFlowResponse AssociateChannelFlow(AssociateChannelFlowRequest request); /// <summary> /// Associates a channel flow with a channel. Once associated, all messages to that channel /// go through channel flow processors. To stop processing, use the <code>DisassociateChannelFlow</code> /// API. /// /// <note> /// <para> /// Only administrators or channel moderators can associate a channel flow. The <code>x-amz-chime-bearer</code> /// request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> /// that makes the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateChannelFlow service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the AssociateChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/AssociateChannelFlow">REST API Reference for AssociateChannelFlow Operation</seealso> Task<AssociateChannelFlowResponse> AssociateChannelFlowAsync(AssociateChannelFlowRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchCreateChannelMembership /// <summary> /// Adds a specified number of users and bots to a channel. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchCreateChannelMembership service method.</param> /// /// <returns>The response from the BatchCreateChannelMembership service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/BatchCreateChannelMembership">REST API Reference for BatchCreateChannelMembership Operation</seealso> BatchCreateChannelMembershipResponse BatchCreateChannelMembership(BatchCreateChannelMembershipRequest request); /// <summary> /// Adds a specified number of users and bots to a channel. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchCreateChannelMembership service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the BatchCreateChannelMembership service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/BatchCreateChannelMembership">REST API Reference for BatchCreateChannelMembership Operation</seealso> Task<BatchCreateChannelMembershipResponse> BatchCreateChannelMembershipAsync(BatchCreateChannelMembershipRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ChannelFlowCallback /// <summary> /// Calls back Amazon Chime SDK messaging with a processing response message. This should /// be invoked from the processor Lambda. This is a developer API. /// /// /// <para> /// You can return one of the following processing responses: /// </para> /// <ul> <li> /// <para> /// Update message content or metadata /// </para> /// </li> <li> /// <para> /// Deny a message /// </para> /// </li> <li> /// <para> /// Make no changes to the message /// </para> /// </li> </ul> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ChannelFlowCallback service method.</param> /// /// <returns>The response from the ChannelFlowCallback service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ChannelFlowCallback">REST API Reference for ChannelFlowCallback Operation</seealso> ChannelFlowCallbackResponse ChannelFlowCallback(ChannelFlowCallbackRequest request); /// <summary> /// Calls back Amazon Chime SDK messaging with a processing response message. This should /// be invoked from the processor Lambda. This is a developer API. /// /// /// <para> /// You can return one of the following processing responses: /// </para> /// <ul> <li> /// <para> /// Update message content or metadata /// </para> /// </li> <li> /// <para> /// Deny a message /// </para> /// </li> <li> /// <para> /// Make no changes to the message /// </para> /// </li> </ul> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ChannelFlowCallback service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ChannelFlowCallback service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ChannelFlowCallback">REST API Reference for ChannelFlowCallback Operation</seealso> Task<ChannelFlowCallbackResponse> ChannelFlowCallbackAsync(ChannelFlowCallbackRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateChannel /// <summary> /// Creates a channel to which you can add users and send messages. /// /// /// <para> /// <b>Restriction</b>: You can't change a channel's privacy. /// </para> /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannel service method.</param> /// /// <returns>The response from the CreateChannel service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannel">REST API Reference for CreateChannel Operation</seealso> CreateChannelResponse CreateChannel(CreateChannelRequest request); /// <summary> /// Creates a channel to which you can add users and send messages. /// /// /// <para> /// <b>Restriction</b>: You can't change a channel's privacy. /// </para> /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannel service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateChannel service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannel">REST API Reference for CreateChannel Operation</seealso> Task<CreateChannelResponse> CreateChannelAsync(CreateChannelRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateChannelBan /// <summary> /// Permanently bans a member from a channel. Moderators can't add banned members to a /// channel. To undo a ban, you first have to <code>DeleteChannelBan</code>, and then /// <code>CreateChannelMembership</code>. Bans are cleaned up when you delete users or /// channels. /// /// /// <para> /// If you ban a user who is already part of a channel, that user is automatically kicked /// from the channel. /// </para> /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannelBan service method.</param> /// /// <returns>The response from the CreateChannelBan service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelBan">REST API Reference for CreateChannelBan Operation</seealso> CreateChannelBanResponse CreateChannelBan(CreateChannelBanRequest request); /// <summary> /// Permanently bans a member from a channel. Moderators can't add banned members to a /// channel. To undo a ban, you first have to <code>DeleteChannelBan</code>, and then /// <code>CreateChannelMembership</code>. Bans are cleaned up when you delete users or /// channels. /// /// /// <para> /// If you ban a user who is already part of a channel, that user is automatically kicked /// from the channel. /// </para> /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannelBan service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateChannelBan service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelBan">REST API Reference for CreateChannelBan Operation</seealso> Task<CreateChannelBanResponse> CreateChannelBanAsync(CreateChannelBanRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateChannelFlow /// <summary> /// Creates a channel flow, a container for processors. Processors are AWS Lambda functions /// that perform actions on chat messages, such as stripping out profanity. You can associate /// channel flows with channels, and the processors in the channel flow then take action /// on all messages sent to that channel. This is a developer API. /// /// /// <para> /// Channel flows process the following items: /// </para> /// <ol> <li> /// <para> /// New and updated messages /// </para> /// </li> <li> /// <para> /// Persistent and non-persistent messages /// </para> /// </li> <li> /// <para> /// The Standard message type /// </para> /// </li> </ol> <note> /// <para> /// Channel flows don't process Control or System messages. For more information about /// the message types provided by Chime SDK messaging, refer to <a href="https://docs.aws.amazon.com/chime/latest/dg/using-the-messaging-sdk.html#msg-types">Message /// types</a> in the <i>Amazon Chime developer guide</i>. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannelFlow service method.</param> /// /// <returns>The response from the CreateChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelFlow">REST API Reference for CreateChannelFlow Operation</seealso> CreateChannelFlowResponse CreateChannelFlow(CreateChannelFlowRequest request); /// <summary> /// Creates a channel flow, a container for processors. Processors are AWS Lambda functions /// that perform actions on chat messages, such as stripping out profanity. You can associate /// channel flows with channels, and the processors in the channel flow then take action /// on all messages sent to that channel. This is a developer API. /// /// /// <para> /// Channel flows process the following items: /// </para> /// <ol> <li> /// <para> /// New and updated messages /// </para> /// </li> <li> /// <para> /// Persistent and non-persistent messages /// </para> /// </li> <li> /// <para> /// The Standard message type /// </para> /// </li> </ol> <note> /// <para> /// Channel flows don't process Control or System messages. For more information about /// the message types provided by Chime SDK messaging, refer to <a href="https://docs.aws.amazon.com/chime/latest/dg/using-the-messaging-sdk.html#msg-types">Message /// types</a> in the <i>Amazon Chime developer guide</i>. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannelFlow service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelFlow">REST API Reference for CreateChannelFlow Operation</seealso> Task<CreateChannelFlowResponse> CreateChannelFlowAsync(CreateChannelFlowRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateChannelMembership /// <summary> /// Adds a member to a channel. The <code>InvitedBy</code> field in <code>ChannelMembership</code> /// is derived from the request header. A channel member can: /// /// <ul> <li> /// <para> /// List messages /// </para> /// </li> <li> /// <para> /// Send messages /// </para> /// </li> <li> /// <para> /// Receive messages /// </para> /// </li> <li> /// <para> /// Edit their own messages /// </para> /// </li> <li> /// <para> /// Leave the channel /// </para> /// </li> </ul> /// <para> /// Privacy settings impact this action as follows: /// </para> /// <ul> <li> /// <para> /// Public Channels: You do not need to be a member to list messages, but you must be /// a member to send messages. /// </para> /// </li> <li> /// <para> /// Private Channels: You must be a member to list or send messages. /// </para> /// </li> </ul> <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUserArn</code> or <code>AppInstanceBot</code> that makes the API /// call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannelMembership service method.</param> /// /// <returns>The response from the CreateChannelMembership service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelMembership">REST API Reference for CreateChannelMembership Operation</seealso> CreateChannelMembershipResponse CreateChannelMembership(CreateChannelMembershipRequest request); /// <summary> /// Adds a member to a channel. The <code>InvitedBy</code> field in <code>ChannelMembership</code> /// is derived from the request header. A channel member can: /// /// <ul> <li> /// <para> /// List messages /// </para> /// </li> <li> /// <para> /// Send messages /// </para> /// </li> <li> /// <para> /// Receive messages /// </para> /// </li> <li> /// <para> /// Edit their own messages /// </para> /// </li> <li> /// <para> /// Leave the channel /// </para> /// </li> </ul> /// <para> /// Privacy settings impact this action as follows: /// </para> /// <ul> <li> /// <para> /// Public Channels: You do not need to be a member to list messages, but you must be /// a member to send messages. /// </para> /// </li> <li> /// <para> /// Private Channels: You must be a member to list or send messages. /// </para> /// </li> </ul> <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUserArn</code> or <code>AppInstanceBot</code> that makes the API /// call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannelMembership service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateChannelMembership service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelMembership">REST API Reference for CreateChannelMembership Operation</seealso> Task<CreateChannelMembershipResponse> CreateChannelMembershipAsync(CreateChannelMembershipRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateChannelModerator /// <summary> /// Creates a new <code>ChannelModerator</code>. A channel moderator can: /// /// <ul> <li> /// <para> /// Add and remove other members of the channel. /// </para> /// </li> <li> /// <para> /// Add and remove other moderators of the channel. /// </para> /// </li> <li> /// <para> /// Add and remove user bans for the channel. /// </para> /// </li> <li> /// <para> /// Redact messages in the channel. /// </para> /// </li> <li> /// <para> /// List messages in the channel. /// </para> /// </li> </ul> <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code>of the user that makes /// the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannelModerator service method.</param> /// /// <returns>The response from the CreateChannelModerator service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelModerator">REST API Reference for CreateChannelModerator Operation</seealso> CreateChannelModeratorResponse CreateChannelModerator(CreateChannelModeratorRequest request); /// <summary> /// Creates a new <code>ChannelModerator</code>. A channel moderator can: /// /// <ul> <li> /// <para> /// Add and remove other members of the channel. /// </para> /// </li> <li> /// <para> /// Add and remove other moderators of the channel. /// </para> /// </li> <li> /// <para> /// Add and remove user bans for the channel. /// </para> /// </li> <li> /// <para> /// Redact messages in the channel. /// </para> /// </li> <li> /// <para> /// List messages in the channel. /// </para> /// </li> </ul> <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code>of the user that makes /// the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannelModerator service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateChannelModerator service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelModerator">REST API Reference for CreateChannelModerator Operation</seealso> Task<CreateChannelModeratorResponse> CreateChannelModeratorAsync(CreateChannelModeratorRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteChannel /// <summary> /// Immediately makes a channel and its memberships inaccessible and marks them for deletion. /// This is an irreversible process. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUserArn</code> or <code>AppInstanceBot</code> that makes the API /// call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannel service method.</param> /// /// <returns>The response from the DeleteChannel service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannel">REST API Reference for DeleteChannel Operation</seealso> DeleteChannelResponse DeleteChannel(DeleteChannelRequest request); /// <summary> /// Immediately makes a channel and its memberships inaccessible and marks them for deletion. /// This is an irreversible process. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUserArn</code> or <code>AppInstanceBot</code> that makes the API /// call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannel service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteChannel service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannel">REST API Reference for DeleteChannel Operation</seealso> Task<DeleteChannelResponse> DeleteChannelAsync(DeleteChannelRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteChannelBan /// <summary> /// Removes a member from a channel's ban list. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelBan service method.</param> /// /// <returns>The response from the DeleteChannelBan service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelBan">REST API Reference for DeleteChannelBan Operation</seealso> DeleteChannelBanResponse DeleteChannelBan(DeleteChannelBanRequest request); /// <summary> /// Removes a member from a channel's ban list. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelBan service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteChannelBan service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelBan">REST API Reference for DeleteChannelBan Operation</seealso> Task<DeleteChannelBanResponse> DeleteChannelBanAsync(DeleteChannelBanRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteChannelFlow /// <summary> /// Deletes a channel flow, an irreversible process. This is a developer API. /// /// <note> /// <para> /// This API works only when the channel flow is not associated with any channel. To /// get a list of all channels that a channel flow is associated with, use the <code>ListChannelsAssociatedWithChannelFlow</code> /// API. Use the <code>DisassociateChannelFlow</code> API to disassociate a channel flow /// from all channels. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelFlow service method.</param> /// /// <returns>The response from the DeleteChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelFlow">REST API Reference for DeleteChannelFlow Operation</seealso> DeleteChannelFlowResponse DeleteChannelFlow(DeleteChannelFlowRequest request); /// <summary> /// Deletes a channel flow, an irreversible process. This is a developer API. /// /// <note> /// <para> /// This API works only when the channel flow is not associated with any channel. To /// get a list of all channels that a channel flow is associated with, use the <code>ListChannelsAssociatedWithChannelFlow</code> /// API. Use the <code>DisassociateChannelFlow</code> API to disassociate a channel flow /// from all channels. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelFlow service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelFlow">REST API Reference for DeleteChannelFlow Operation</seealso> Task<DeleteChannelFlowResponse> DeleteChannelFlowAsync(DeleteChannelFlowRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteChannelMembership /// <summary> /// Removes a member from a channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the <code>AppInstanceUserArn</code> /// of the user that makes the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelMembership service method.</param> /// /// <returns>The response from the DeleteChannelMembership service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelMembership">REST API Reference for DeleteChannelMembership Operation</seealso> DeleteChannelMembershipResponse DeleteChannelMembership(DeleteChannelMembershipRequest request); /// <summary> /// Removes a member from a channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the <code>AppInstanceUserArn</code> /// of the user that makes the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelMembership service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteChannelMembership service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelMembership">REST API Reference for DeleteChannelMembership Operation</seealso> Task<DeleteChannelMembershipResponse> DeleteChannelMembershipAsync(DeleteChannelMembershipRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteChannelMessage /// <summary> /// Deletes a channel message. Only admins can perform this action. Deletion makes messages /// inaccessible immediately. A background process deletes any revisions created by <code>UpdateChannelMessage</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelMessage service method.</param> /// /// <returns>The response from the DeleteChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelMessage">REST API Reference for DeleteChannelMessage Operation</seealso> DeleteChannelMessageResponse DeleteChannelMessage(DeleteChannelMessageRequest request); /// <summary> /// Deletes a channel message. Only admins can perform this action. Deletion makes messages /// inaccessible immediately. A background process deletes any revisions created by <code>UpdateChannelMessage</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelMessage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelMessage">REST API Reference for DeleteChannelMessage Operation</seealso> Task<DeleteChannelMessageResponse> DeleteChannelMessageAsync(DeleteChannelMessageRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteChannelModerator /// <summary> /// Deletes a channel moderator. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelModerator service method.</param> /// /// <returns>The response from the DeleteChannelModerator service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelModerator">REST API Reference for DeleteChannelModerator Operation</seealso> DeleteChannelModeratorResponse DeleteChannelModerator(DeleteChannelModeratorRequest request); /// <summary> /// Deletes a channel moderator. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelModerator service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteChannelModerator service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelModerator">REST API Reference for DeleteChannelModerator Operation</seealso> Task<DeleteChannelModeratorResponse> DeleteChannelModeratorAsync(DeleteChannelModeratorRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteMessagingStreamingConfigurations /// <summary> /// Deletes the streaming configurations for an <code>AppInstance</code>. For more information, /// see <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html">Streaming /// messaging data</a> in the <i>Amazon Chime SDK Developer Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteMessagingStreamingConfigurations service method.</param> /// /// <returns>The response from the DeleteMessagingStreamingConfigurations service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteMessagingStreamingConfigurations">REST API Reference for DeleteMessagingStreamingConfigurations Operation</seealso> DeleteMessagingStreamingConfigurationsResponse DeleteMessagingStreamingConfigurations(DeleteMessagingStreamingConfigurationsRequest request); /// <summary> /// Deletes the streaming configurations for an <code>AppInstance</code>. For more information, /// see <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html">Streaming /// messaging data</a> in the <i>Amazon Chime SDK Developer Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteMessagingStreamingConfigurations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteMessagingStreamingConfigurations service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteMessagingStreamingConfigurations">REST API Reference for DeleteMessagingStreamingConfigurations Operation</seealso> Task<DeleteMessagingStreamingConfigurationsResponse> DeleteMessagingStreamingConfigurationsAsync(DeleteMessagingStreamingConfigurationsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeChannel /// <summary> /// Returns the full details of a channel in an Amazon Chime <code>AppInstance</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannel service method.</param> /// /// <returns>The response from the DescribeChannel service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannel">REST API Reference for DescribeChannel Operation</seealso> DescribeChannelResponse DescribeChannel(DescribeChannelRequest request); /// <summary> /// Returns the full details of a channel in an Amazon Chime <code>AppInstance</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannel service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeChannel service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannel">REST API Reference for DescribeChannel Operation</seealso> Task<DescribeChannelResponse> DescribeChannelAsync(DescribeChannelRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeChannelBan /// <summary> /// Returns the full details of a channel ban. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelBan service method.</param> /// /// <returns>The response from the DescribeChannelBan service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelBan">REST API Reference for DescribeChannelBan Operation</seealso> DescribeChannelBanResponse DescribeChannelBan(DescribeChannelBanRequest request); /// <summary> /// Returns the full details of a channel ban. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelBan service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeChannelBan service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelBan">REST API Reference for DescribeChannelBan Operation</seealso> Task<DescribeChannelBanResponse> DescribeChannelBanAsync(DescribeChannelBanRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeChannelFlow /// <summary> /// Returns the full details of a channel flow in an Amazon Chime <code>AppInstance</code>. /// This is a developer API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelFlow service method.</param> /// /// <returns>The response from the DescribeChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelFlow">REST API Reference for DescribeChannelFlow Operation</seealso> DescribeChannelFlowResponse DescribeChannelFlow(DescribeChannelFlowRequest request); /// <summary> /// Returns the full details of a channel flow in an Amazon Chime <code>AppInstance</code>. /// This is a developer API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelFlow service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelFlow">REST API Reference for DescribeChannelFlow Operation</seealso> Task<DescribeChannelFlowResponse> DescribeChannelFlowAsync(DescribeChannelFlowRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeChannelMembership /// <summary> /// Returns the full details of a user's channel membership. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelMembership service method.</param> /// /// <returns>The response from the DescribeChannelMembership service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelMembership">REST API Reference for DescribeChannelMembership Operation</seealso> DescribeChannelMembershipResponse DescribeChannelMembership(DescribeChannelMembershipRequest request); /// <summary> /// Returns the full details of a user's channel membership. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelMembership service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeChannelMembership service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelMembership">REST API Reference for DescribeChannelMembership Operation</seealso> Task<DescribeChannelMembershipResponse> DescribeChannelMembershipAsync(DescribeChannelMembershipRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeChannelMembershipForAppInstanceUser /// <summary> /// Returns the details of a channel based on the membership of the specified <code>AppInstanceUser</code> /// or <code>AppInstanceBot</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelMembershipForAppInstanceUser service method.</param> /// /// <returns>The response from the DescribeChannelMembershipForAppInstanceUser service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelMembershipForAppInstanceUser">REST API Reference for DescribeChannelMembershipForAppInstanceUser Operation</seealso> DescribeChannelMembershipForAppInstanceUserResponse DescribeChannelMembershipForAppInstanceUser(DescribeChannelMembershipForAppInstanceUserRequest request); /// <summary> /// Returns the details of a channel based on the membership of the specified <code>AppInstanceUser</code> /// or <code>AppInstanceBot</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelMembershipForAppInstanceUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeChannelMembershipForAppInstanceUser service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelMembershipForAppInstanceUser">REST API Reference for DescribeChannelMembershipForAppInstanceUser Operation</seealso> Task<DescribeChannelMembershipForAppInstanceUserResponse> DescribeChannelMembershipForAppInstanceUserAsync(DescribeChannelMembershipForAppInstanceUserRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeChannelModeratedByAppInstanceUser /// <summary> /// Returns the full details of a channel moderated by the specified <code>AppInstanceUser</code> /// or <code>AppInstanceBot</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelModeratedByAppInstanceUser service method.</param> /// /// <returns>The response from the DescribeChannelModeratedByAppInstanceUser service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelModeratedByAppInstanceUser">REST API Reference for DescribeChannelModeratedByAppInstanceUser Operation</seealso> DescribeChannelModeratedByAppInstanceUserResponse DescribeChannelModeratedByAppInstanceUser(DescribeChannelModeratedByAppInstanceUserRequest request); /// <summary> /// Returns the full details of a channel moderated by the specified <code>AppInstanceUser</code> /// or <code>AppInstanceBot</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelModeratedByAppInstanceUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeChannelModeratedByAppInstanceUser service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelModeratedByAppInstanceUser">REST API Reference for DescribeChannelModeratedByAppInstanceUser Operation</seealso> Task<DescribeChannelModeratedByAppInstanceUserResponse> DescribeChannelModeratedByAppInstanceUserAsync(DescribeChannelModeratedByAppInstanceUserRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeChannelModerator /// <summary> /// Returns the full details of a single ChannelModerator. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the <code>AppInstanceUserArn</code> /// of the user that makes the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelModerator service method.</param> /// /// <returns>The response from the DescribeChannelModerator service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelModerator">REST API Reference for DescribeChannelModerator Operation</seealso> DescribeChannelModeratorResponse DescribeChannelModerator(DescribeChannelModeratorRequest request); /// <summary> /// Returns the full details of a single ChannelModerator. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the <code>AppInstanceUserArn</code> /// of the user that makes the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelModerator service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeChannelModerator service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelModerator">REST API Reference for DescribeChannelModerator Operation</seealso> Task<DescribeChannelModeratorResponse> DescribeChannelModeratorAsync(DescribeChannelModeratorRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DisassociateChannelFlow /// <summary> /// Disassociates a channel flow from all its channels. Once disassociated, all messages /// to that channel stop going through the channel flow processor. /// /// <note> /// <para> /// Only administrators or channel moderators can disassociate a channel flow. /// </para> /// /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateChannelFlow service method.</param> /// /// <returns>The response from the DisassociateChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DisassociateChannelFlow">REST API Reference for DisassociateChannelFlow Operation</seealso> DisassociateChannelFlowResponse DisassociateChannelFlow(DisassociateChannelFlowRequest request); /// <summary> /// Disassociates a channel flow from all its channels. Once disassociated, all messages /// to that channel stop going through the channel flow processor. /// /// <note> /// <para> /// Only administrators or channel moderators can disassociate a channel flow. /// </para> /// /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateChannelFlow service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DisassociateChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DisassociateChannelFlow">REST API Reference for DisassociateChannelFlow Operation</seealso> Task<DisassociateChannelFlowResponse> DisassociateChannelFlowAsync(DisassociateChannelFlowRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetChannelMembershipPreferences /// <summary> /// Gets the membership preferences of an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> /// for the specified channel. A user or a bot must be a member of the channel and own /// the membership in order to retrieve membership preferences. Users or bots in the <code>AppInstanceAdmin</code> /// and channel moderator roles can't retrieve preferences for other users or bots. Banned /// users or bots can't retrieve membership preferences for the channel from which they /// are banned. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetChannelMembershipPreferences service method.</param> /// /// <returns>The response from the GetChannelMembershipPreferences service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMembershipPreferences">REST API Reference for GetChannelMembershipPreferences Operation</seealso> GetChannelMembershipPreferencesResponse GetChannelMembershipPreferences(GetChannelMembershipPreferencesRequest request); /// <summary> /// Gets the membership preferences of an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> /// for the specified channel. A user or a bot must be a member of the channel and own /// the membership in order to retrieve membership preferences. Users or bots in the <code>AppInstanceAdmin</code> /// and channel moderator roles can't retrieve preferences for other users or bots. Banned /// users or bots can't retrieve membership preferences for the channel from which they /// are banned. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetChannelMembershipPreferences service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetChannelMembershipPreferences service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMembershipPreferences">REST API Reference for GetChannelMembershipPreferences Operation</seealso> Task<GetChannelMembershipPreferencesResponse> GetChannelMembershipPreferencesAsync(GetChannelMembershipPreferencesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetChannelMessage /// <summary> /// Gets the full details of a channel message. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetChannelMessage service method.</param> /// /// <returns>The response from the GetChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMessage">REST API Reference for GetChannelMessage Operation</seealso> GetChannelMessageResponse GetChannelMessage(GetChannelMessageRequest request); /// <summary> /// Gets the full details of a channel message. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetChannelMessage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMessage">REST API Reference for GetChannelMessage Operation</seealso> Task<GetChannelMessageResponse> GetChannelMessageAsync(GetChannelMessageRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetChannelMessageStatus /// <summary> /// Gets message status for a specified <code>messageId</code>. Use this API to determine /// the intermediate status of messages going through channel flow processing. The API /// provides an alternative to retrieving message status if the event was not received /// because a client wasn't connected to a websocket. /// /// /// <para> /// Messages can have any one of these statuses. /// </para> /// <dl> <dt>SENT</dt> <dd> /// <para> /// Message processed successfully /// </para> /// </dd> <dt>PENDING</dt> <dd> /// <para> /// Ongoing processing /// </para> /// </dd> <dt>FAILED</dt> <dd> /// <para> /// Processing failed /// </para> /// </dd> <dt>DENIED</dt> <dd> /// <para> /// Message denied by the processor /// </para> /// </dd> </dl> <note> <ul> <li> /// <para> /// This API does not return statuses for denied messages, because we don't store them /// once the processor denies them. /// </para> /// </li> <li> /// <para> /// Only the message sender can invoke this API. /// </para> /// </li> <li> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </li> </ul> </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetChannelMessageStatus service method.</param> /// /// <returns>The response from the GetChannelMessageStatus service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMessageStatus">REST API Reference for GetChannelMessageStatus Operation</seealso> GetChannelMessageStatusResponse GetChannelMessageStatus(GetChannelMessageStatusRequest request); /// <summary> /// Gets message status for a specified <code>messageId</code>. Use this API to determine /// the intermediate status of messages going through channel flow processing. The API /// provides an alternative to retrieving message status if the event was not received /// because a client wasn't connected to a websocket. /// /// /// <para> /// Messages can have any one of these statuses. /// </para> /// <dl> <dt>SENT</dt> <dd> /// <para> /// Message processed successfully /// </para> /// </dd> <dt>PENDING</dt> <dd> /// <para> /// Ongoing processing /// </para> /// </dd> <dt>FAILED</dt> <dd> /// <para> /// Processing failed /// </para> /// </dd> <dt>DENIED</dt> <dd> /// <para> /// Message denied by the processor /// </para> /// </dd> </dl> <note> <ul> <li> /// <para> /// This API does not return statuses for denied messages, because we don't store them /// once the processor denies them. /// </para> /// </li> <li> /// <para> /// Only the message sender can invoke this API. /// </para> /// </li> <li> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </li> </ul> </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetChannelMessageStatus service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetChannelMessageStatus service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMessageStatus">REST API Reference for GetChannelMessageStatus Operation</seealso> Task<GetChannelMessageStatusResponse> GetChannelMessageStatusAsync(GetChannelMessageStatusRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetMessagingSessionEndpoint /// <summary> /// The details of the endpoint for the messaging session. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetMessagingSessionEndpoint service method.</param> /// /// <returns>The response from the GetMessagingSessionEndpoint service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetMessagingSessionEndpoint">REST API Reference for GetMessagingSessionEndpoint Operation</seealso> GetMessagingSessionEndpointResponse GetMessagingSessionEndpoint(GetMessagingSessionEndpointRequest request); /// <summary> /// The details of the endpoint for the messaging session. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetMessagingSessionEndpoint service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetMessagingSessionEndpoint service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetMessagingSessionEndpoint">REST API Reference for GetMessagingSessionEndpoint Operation</seealso> Task<GetMessagingSessionEndpointResponse> GetMessagingSessionEndpointAsync(GetMessagingSessionEndpointRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetMessagingStreamingConfigurations /// <summary> /// Retrieves the data streaming configuration for an <code>AppInstance</code>. For more /// information, see <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html">Streaming /// messaging data</a> in the <i>Amazon Chime SDK Developer Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetMessagingStreamingConfigurations service method.</param> /// /// <returns>The response from the GetMessagingStreamingConfigurations service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetMessagingStreamingConfigurations">REST API Reference for GetMessagingStreamingConfigurations Operation</seealso> GetMessagingStreamingConfigurationsResponse GetMessagingStreamingConfigurations(GetMessagingStreamingConfigurationsRequest request); /// <summary> /// Retrieves the data streaming configuration for an <code>AppInstance</code>. For more /// information, see <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html">Streaming /// messaging data</a> in the <i>Amazon Chime SDK Developer Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetMessagingStreamingConfigurations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetMessagingStreamingConfigurations service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetMessagingStreamingConfigurations">REST API Reference for GetMessagingStreamingConfigurations Operation</seealso> Task<GetMessagingStreamingConfigurationsResponse> GetMessagingStreamingConfigurationsAsync(GetMessagingStreamingConfigurationsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListChannelBans /// <summary> /// Lists all the users and bots banned from a particular channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelBans service method.</param> /// /// <returns>The response from the ListChannelBans service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelBans">REST API Reference for ListChannelBans Operation</seealso> ListChannelBansResponse ListChannelBans(ListChannelBansRequest request); /// <summary> /// Lists all the users and bots banned from a particular channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelBans service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListChannelBans service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelBans">REST API Reference for ListChannelBans Operation</seealso> Task<ListChannelBansResponse> ListChannelBansAsync(ListChannelBansRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListChannelFlows /// <summary> /// Returns a paginated lists of all the channel flows created under a single Chime. This /// is a developer API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelFlows service method.</param> /// /// <returns>The response from the ListChannelFlows service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelFlows">REST API Reference for ListChannelFlows Operation</seealso> ListChannelFlowsResponse ListChannelFlows(ListChannelFlowsRequest request); /// <summary> /// Returns a paginated lists of all the channel flows created under a single Chime. This /// is a developer API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelFlows service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListChannelFlows service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelFlows">REST API Reference for ListChannelFlows Operation</seealso> Task<ListChannelFlowsResponse> ListChannelFlowsAsync(ListChannelFlowsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListChannelMemberships /// <summary> /// Lists all channel memberships in a channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// <para> /// If you want to list the channels to which a specific app instance user belongs, see /// the <a href="https://docs.aws.amazon.com/chime/latest/APIReference/API_messaging-chime_ListChannelMembershipsForAppInstanceUser.html">ListChannelMembershipsForAppInstanceUser</a> /// API. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelMemberships service method.</param> /// /// <returns>The response from the ListChannelMemberships service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMemberships">REST API Reference for ListChannelMemberships Operation</seealso> ListChannelMembershipsResponse ListChannelMemberships(ListChannelMembershipsRequest request); /// <summary> /// Lists all channel memberships in a channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// <para> /// If you want to list the channels to which a specific app instance user belongs, see /// the <a href="https://docs.aws.amazon.com/chime/latest/APIReference/API_messaging-chime_ListChannelMembershipsForAppInstanceUser.html">ListChannelMembershipsForAppInstanceUser</a> /// API. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelMemberships service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListChannelMemberships service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMemberships">REST API Reference for ListChannelMemberships Operation</seealso> Task<ListChannelMembershipsResponse> ListChannelMembershipsAsync(ListChannelMembershipsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListChannelMembershipsForAppInstanceUser /// <summary> /// Lists all channels that an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> /// is a part of. Only an <code>AppInstanceAdmin</code> can call the API with a user ARN /// that is not their own. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelMembershipsForAppInstanceUser service method.</param> /// /// <returns>The response from the ListChannelMembershipsForAppInstanceUser service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMembershipsForAppInstanceUser">REST API Reference for ListChannelMembershipsForAppInstanceUser Operation</seealso> ListChannelMembershipsForAppInstanceUserResponse ListChannelMembershipsForAppInstanceUser(ListChannelMembershipsForAppInstanceUserRequest request); /// <summary> /// Lists all channels that an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> /// is a part of. Only an <code>AppInstanceAdmin</code> can call the API with a user ARN /// that is not their own. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelMembershipsForAppInstanceUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListChannelMembershipsForAppInstanceUser service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMembershipsForAppInstanceUser">REST API Reference for ListChannelMembershipsForAppInstanceUser Operation</seealso> Task<ListChannelMembershipsForAppInstanceUserResponse> ListChannelMembershipsForAppInstanceUserAsync(ListChannelMembershipsForAppInstanceUserRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListChannelMessages /// <summary> /// List all the messages in a channel. Returns a paginated list of <code>ChannelMessages</code>. /// By default, sorted by creation timestamp in descending order. /// /// <note> /// <para> /// Redacted messages appear in the results as empty, since they are only redacted, not /// deleted. Deleted messages do not appear in the results. This action always returns /// the latest version of an edited message. /// </para> /// /// <para> /// Also, the <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN /// of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the /// API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelMessages service method.</param> /// /// <returns>The response from the ListChannelMessages service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMessages">REST API Reference for ListChannelMessages Operation</seealso> ListChannelMessagesResponse ListChannelMessages(ListChannelMessagesRequest request); /// <summary> /// List all the messages in a channel. Returns a paginated list of <code>ChannelMessages</code>. /// By default, sorted by creation timestamp in descending order. /// /// <note> /// <para> /// Redacted messages appear in the results as empty, since they are only redacted, not /// deleted. Deleted messages do not appear in the results. This action always returns /// the latest version of an edited message. /// </para> /// /// <para> /// Also, the <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN /// of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the /// API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelMessages service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListChannelMessages service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMessages">REST API Reference for ListChannelMessages Operation</seealso> Task<ListChannelMessagesResponse> ListChannelMessagesAsync(ListChannelMessagesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListChannelModerators /// <summary> /// Lists all the moderators for a channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelModerators service method.</param> /// /// <returns>The response from the ListChannelModerators service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelModerators">REST API Reference for ListChannelModerators Operation</seealso> ListChannelModeratorsResponse ListChannelModerators(ListChannelModeratorsRequest request); /// <summary> /// Lists all the moderators for a channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelModerators service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListChannelModerators service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelModerators">REST API Reference for ListChannelModerators Operation</seealso> Task<ListChannelModeratorsResponse> ListChannelModeratorsAsync(ListChannelModeratorsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListChannels /// <summary> /// Lists all Channels created under a single Chime App as a paginated list. You can specify /// filters to narrow results. /// /// <p class="title"> <b>Functionality &amp; restrictions</b> /// </para> /// <ul> <li> /// <para> /// Use privacy = <code>PUBLIC</code> to retrieve all public channels in the account. /// </para> /// </li> <li> /// <para> /// Only an <code>AppInstanceAdmin</code> can set privacy = <code>PRIVATE</code> to list /// the private channels in an account. /// </para> /// </li> </ul> <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannels service method.</param> /// /// <returns>The response from the ListChannels service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannels">REST API Reference for ListChannels Operation</seealso> ListChannelsResponse ListChannels(ListChannelsRequest request); /// <summary> /// Lists all Channels created under a single Chime App as a paginated list. You can specify /// filters to narrow results. /// /// <p class="title"> <b>Functionality &amp; restrictions</b> /// </para> /// <ul> <li> /// <para> /// Use privacy = <code>PUBLIC</code> to retrieve all public channels in the account. /// </para> /// </li> <li> /// <para> /// Only an <code>AppInstanceAdmin</code> can set privacy = <code>PRIVATE</code> to list /// the private channels in an account. /// </para> /// </li> </ul> <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannels service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListChannels service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannels">REST API Reference for ListChannels Operation</seealso> Task<ListChannelsResponse> ListChannelsAsync(ListChannelsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListChannelsAssociatedWithChannelFlow /// <summary> /// Lists all channels associated with a specified channel flow. You can associate a channel /// flow with multiple channels, but you can only associate a channel with one channel /// flow. This is a developer API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelsAssociatedWithChannelFlow service method.</param> /// /// <returns>The response from the ListChannelsAssociatedWithChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelsAssociatedWithChannelFlow">REST API Reference for ListChannelsAssociatedWithChannelFlow Operation</seealso> ListChannelsAssociatedWithChannelFlowResponse ListChannelsAssociatedWithChannelFlow(ListChannelsAssociatedWithChannelFlowRequest request); /// <summary> /// Lists all channels associated with a specified channel flow. You can associate a channel /// flow with multiple channels, but you can only associate a channel with one channel /// flow. This is a developer API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelsAssociatedWithChannelFlow service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListChannelsAssociatedWithChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelsAssociatedWithChannelFlow">REST API Reference for ListChannelsAssociatedWithChannelFlow Operation</seealso> Task<ListChannelsAssociatedWithChannelFlowResponse> ListChannelsAssociatedWithChannelFlowAsync(ListChannelsAssociatedWithChannelFlowRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListChannelsModeratedByAppInstanceUser /// <summary> /// A list of the channels moderated by an <code>AppInstanceUser</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelsModeratedByAppInstanceUser service method.</param> /// /// <returns>The response from the ListChannelsModeratedByAppInstanceUser service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelsModeratedByAppInstanceUser">REST API Reference for ListChannelsModeratedByAppInstanceUser Operation</seealso> ListChannelsModeratedByAppInstanceUserResponse ListChannelsModeratedByAppInstanceUser(ListChannelsModeratedByAppInstanceUserRequest request); /// <summary> /// A list of the channels moderated by an <code>AppInstanceUser</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelsModeratedByAppInstanceUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListChannelsModeratedByAppInstanceUser service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelsModeratedByAppInstanceUser">REST API Reference for ListChannelsModeratedByAppInstanceUser Operation</seealso> Task<ListChannelsModeratedByAppInstanceUserResponse> ListChannelsModeratedByAppInstanceUserAsync(ListChannelsModeratedByAppInstanceUserRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListSubChannels /// <summary> /// Lists all the SubChannels in an elastic channel when given a channel ID. Available /// only to the app instance admins and channel moderators of elastic channels. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListSubChannels service method.</param> /// /// <returns>The response from the ListSubChannels service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListSubChannels">REST API Reference for ListSubChannels Operation</seealso> ListSubChannelsResponse ListSubChannels(ListSubChannelsRequest request); /// <summary> /// Lists all the SubChannels in an elastic channel when given a channel ID. Available /// only to the app instance admins and channel moderators of elastic channels. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListSubChannels service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListSubChannels service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListSubChannels">REST API Reference for ListSubChannels Operation</seealso> Task<ListSubChannelsResponse> ListSubChannelsAsync(ListSubChannelsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListTagsForResource /// <summary> /// Lists the tags applied to an Amazon Chime SDK messaging 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 ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request); /// <summary> /// Lists the tags applied to an Amazon Chime SDK messaging 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 ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region PutChannelExpirationSettings /// <summary> /// Sets the number of days before the channel is automatically deleted. /// /// <note> <ul> <li> /// <para> /// A background process deletes expired channels within 6 hours of expiration. Actual /// deletion times may vary. /// </para> /// </li> <li> /// <para> /// Expired channels that have not yet been deleted appear as active, and you can update /// their expiration settings. The system honors the new settings. /// </para> /// </li> <li> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </li> </ul> </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutChannelExpirationSettings service method.</param> /// /// <returns>The response from the PutChannelExpirationSettings service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutChannelExpirationSettings">REST API Reference for PutChannelExpirationSettings Operation</seealso> PutChannelExpirationSettingsResponse PutChannelExpirationSettings(PutChannelExpirationSettingsRequest request); /// <summary> /// Sets the number of days before the channel is automatically deleted. /// /// <note> <ul> <li> /// <para> /// A background process deletes expired channels within 6 hours of expiration. Actual /// deletion times may vary. /// </para> /// </li> <li> /// <para> /// Expired channels that have not yet been deleted appear as active, and you can update /// their expiration settings. The system honors the new settings. /// </para> /// </li> <li> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </li> </ul> </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutChannelExpirationSettings service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the PutChannelExpirationSettings service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutChannelExpirationSettings">REST API Reference for PutChannelExpirationSettings Operation</seealso> Task<PutChannelExpirationSettingsResponse> PutChannelExpirationSettingsAsync(PutChannelExpirationSettingsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region PutChannelMembershipPreferences /// <summary> /// Sets the membership preferences of an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> /// for the specified channel. The user or bot must be a member of the channel. Only the /// user or bot who owns the membership can set preferences. Users or bots in the <code>AppInstanceAdmin</code> /// and channel moderator roles can't set preferences for other users. Banned users or /// bots can't set membership preferences for the channel from which they are banned. /// /// <note> /// <para> /// The x-amz-chime-bearer request header is mandatory. Use the ARN of an <code>AppInstanceUser</code> /// or <code>AppInstanceBot</code> that makes the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutChannelMembershipPreferences service method.</param> /// /// <returns>The response from the PutChannelMembershipPreferences service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutChannelMembershipPreferences">REST API Reference for PutChannelMembershipPreferences Operation</seealso> PutChannelMembershipPreferencesResponse PutChannelMembershipPreferences(PutChannelMembershipPreferencesRequest request); /// <summary> /// Sets the membership preferences of an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> /// for the specified channel. The user or bot must be a member of the channel. Only the /// user or bot who owns the membership can set preferences. Users or bots in the <code>AppInstanceAdmin</code> /// and channel moderator roles can't set preferences for other users. Banned users or /// bots can't set membership preferences for the channel from which they are banned. /// /// <note> /// <para> /// The x-amz-chime-bearer request header is mandatory. Use the ARN of an <code>AppInstanceUser</code> /// or <code>AppInstanceBot</code> that makes the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutChannelMembershipPreferences service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the PutChannelMembershipPreferences service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutChannelMembershipPreferences">REST API Reference for PutChannelMembershipPreferences Operation</seealso> Task<PutChannelMembershipPreferencesResponse> PutChannelMembershipPreferencesAsync(PutChannelMembershipPreferencesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region PutMessagingStreamingConfigurations /// <summary> /// Sets the data streaming configuration for an <code>AppInstance</code>. For more information, /// see <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html">Streaming /// messaging data</a> in the <i>Amazon Chime SDK Developer Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutMessagingStreamingConfigurations service method.</param> /// /// <returns>The response from the PutMessagingStreamingConfigurations service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutMessagingStreamingConfigurations">REST API Reference for PutMessagingStreamingConfigurations Operation</seealso> PutMessagingStreamingConfigurationsResponse PutMessagingStreamingConfigurations(PutMessagingStreamingConfigurationsRequest request); /// <summary> /// Sets the data streaming configuration for an <code>AppInstance</code>. For more information, /// see <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html">Streaming /// messaging data</a> in the <i>Amazon Chime SDK Developer Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutMessagingStreamingConfigurations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the PutMessagingStreamingConfigurations service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutMessagingStreamingConfigurations">REST API Reference for PutMessagingStreamingConfigurations Operation</seealso> Task<PutMessagingStreamingConfigurationsResponse> PutMessagingStreamingConfigurationsAsync(PutMessagingStreamingConfigurationsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region RedactChannelMessage /// <summary> /// Redacts message content, but not metadata. The message exists in the back end, but /// the action returns null content, and the state shows as redacted. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the RedactChannelMessage service method.</param> /// /// <returns>The response from the RedactChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/RedactChannelMessage">REST API Reference for RedactChannelMessage Operation</seealso> RedactChannelMessageResponse RedactChannelMessage(RedactChannelMessageRequest request); /// <summary> /// Redacts message content, but not metadata. The message exists in the back end, but /// the action returns null content, and the state shows as redacted. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the RedactChannelMessage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the RedactChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/RedactChannelMessage">REST API Reference for RedactChannelMessage Operation</seealso> Task<RedactChannelMessageResponse> RedactChannelMessageAsync(RedactChannelMessageRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region SearchChannels /// <summary> /// Allows the <code>ChimeBearer</code> to search channels by channel members. Users or /// bots can search across the channels that they belong to. Users in the <code>AppInstanceAdmin</code> /// role can search across all channels. /// /// /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the SearchChannels service method.</param> /// /// <returns>The response from the SearchChannels service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/SearchChannels">REST API Reference for SearchChannels Operation</seealso> SearchChannelsResponse SearchChannels(SearchChannelsRequest request); /// <summary> /// Allows the <code>ChimeBearer</code> to search channels by channel members. Users or /// bots can search across the channels that they belong to. Users in the <code>AppInstanceAdmin</code> /// role can search across all channels. /// /// /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the SearchChannels service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the SearchChannels service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/SearchChannels">REST API Reference for SearchChannels Operation</seealso> Task<SearchChannelsResponse> SearchChannelsAsync(SearchChannelsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region SendChannelMessage /// <summary> /// Sends a message to a particular channel that the member is a part of. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// /// <para> /// Also, <code>STANDARD</code> messages can be up to 4KB in size and contain metadata. /// Metadata is arbitrary, and you can use it in a variety of ways, such as containing /// a link to an attachment. /// </para> /// /// <para> /// <code>CONTROL</code> messages are limited to 30 bytes and do not contain metadata. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the SendChannelMessage service method.</param> /// /// <returns>The response from the SendChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/SendChannelMessage">REST API Reference for SendChannelMessage Operation</seealso> SendChannelMessageResponse SendChannelMessage(SendChannelMessageRequest request); /// <summary> /// Sends a message to a particular channel that the member is a part of. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// /// <para> /// Also, <code>STANDARD</code> messages can be up to 4KB in size and contain metadata. /// Metadata is arbitrary, and you can use it in a variety of ways, such as containing /// a link to an attachment. /// </para> /// /// <para> /// <code>CONTROL</code> messages are limited to 30 bytes and do not contain metadata. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the SendChannelMessage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the SendChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/SendChannelMessage">REST API Reference for SendChannelMessage Operation</seealso> Task<SendChannelMessageResponse> SendChannelMessageAsync(SendChannelMessageRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region TagResource /// <summary> /// Applies the specified tags to the specified Amazon Chime SDK messaging 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 ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/TagResource">REST API Reference for TagResource Operation</seealso> TagResourceResponse TagResource(TagResourceRequest request); /// <summary> /// Applies the specified tags to the specified Amazon Chime SDK messaging 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 ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/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 messaging 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 ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UntagResource">REST API Reference for UntagResource Operation</seealso> UntagResourceResponse UntagResource(UntagResourceRequest request); /// <summary> /// Removes the specified tags from the specified Amazon Chime SDK messaging 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 ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UntagResource">REST API Reference for UntagResource Operation</seealso> Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateChannel /// <summary> /// Update a channel's attributes. /// /// /// <para> /// <b>Restriction</b>: You can't change a channel's privacy. /// </para> /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateChannel service method.</param> /// /// <returns>The response from the UpdateChannel service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannel">REST API Reference for UpdateChannel Operation</seealso> UpdateChannelResponse UpdateChannel(UpdateChannelRequest request); /// <summary> /// Update a channel's attributes. /// /// /// <para> /// <b>Restriction</b>: You can't change a channel's privacy. /// </para> /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateChannel service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateChannel service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannel">REST API Reference for UpdateChannel Operation</seealso> Task<UpdateChannelResponse> UpdateChannelAsync(UpdateChannelRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateChannelFlow /// <summary> /// Updates channel flow attributes. This is a developer API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateChannelFlow service method.</param> /// /// <returns>The response from the UpdateChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelFlow">REST API Reference for UpdateChannelFlow Operation</seealso> UpdateChannelFlowResponse UpdateChannelFlow(UpdateChannelFlowRequest request); /// <summary> /// Updates channel flow attributes. This is a developer API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateChannelFlow service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelFlow">REST API Reference for UpdateChannelFlow Operation</seealso> Task<UpdateChannelFlowResponse> UpdateChannelFlowAsync(UpdateChannelFlowRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateChannelMessage /// <summary> /// Updates the content of a message. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateChannelMessage service method.</param> /// /// <returns>The response from the UpdateChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelMessage">REST API Reference for UpdateChannelMessage Operation</seealso> UpdateChannelMessageResponse UpdateChannelMessage(UpdateChannelMessageRequest request); /// <summary> /// Updates the content of a message. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateChannelMessage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelMessage">REST API Reference for UpdateChannelMessage Operation</seealso> Task<UpdateChannelMessageResponse> UpdateChannelMessageAsync(UpdateChannelMessageRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateChannelReadMarker /// <summary> /// The details of the time when a user last read messages in a channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateChannelReadMarker service method.</param> /// /// <returns>The response from the UpdateChannelReadMarker service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelReadMarker">REST API Reference for UpdateChannelReadMarker Operation</seealso> UpdateChannelReadMarkerResponse UpdateChannelReadMarker(UpdateChannelReadMarkerRequest request); /// <summary> /// The details of the time when a user last read messages in a channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateChannelReadMarker service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateChannelReadMarker service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelReadMarker">REST API Reference for UpdateChannelReadMarker Operation</seealso> Task<UpdateChannelReadMarkerResponse> UpdateChannelReadMarkerAsync(UpdateChannelReadMarkerRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion } }
4,596
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-messaging-2021-05-15.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.ChimeSDKMessaging.Model; using Amazon.ChimeSDKMessaging.Model.Internal.MarshallTransformations; using Amazon.ChimeSDKMessaging.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.ChimeSDKMessaging { /// <summary> /// Implementation for accessing ChimeSDKMessaging /// /// The Amazon Chime SDK messaging APIs in this section allow software developers to send /// and receive messages in custom messaging applications. These APIs depend on the frameworks /// provided by the Amazon Chime SDK identity APIs. For more information about the messaging /// APIs, see <a href="https://docs.aws.amazon.com/chime/latest/APIReference/API_Operations_Amazon_Chime_SDK_Messaging.html">Amazon /// Chime SDK messaging</a>. /// </summary> public partial class AmazonChimeSDKMessagingClient : AmazonServiceClient, IAmazonChimeSDKMessaging { private static IServiceMetadata serviceMetadata = new AmazonChimeSDKMessagingMetadata(); #region Constructors /// <summary> /// Constructs AmazonChimeSDKMessagingClient 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 AmazonChimeSDKMessagingClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonChimeSDKMessagingConfig()) { } /// <summary> /// Constructs AmazonChimeSDKMessagingClient 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 AmazonChimeSDKMessagingClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonChimeSDKMessagingConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonChimeSDKMessagingClient 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 AmazonChimeSDKMessagingClient Configuration Object</param> public AmazonChimeSDKMessagingClient(AmazonChimeSDKMessagingConfig config) : base(FallbackCredentialsFactory.GetCredentials(), config) { } /// <summary> /// Constructs AmazonChimeSDKMessagingClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> public AmazonChimeSDKMessagingClient(AWSCredentials credentials) : this(credentials, new AmazonChimeSDKMessagingConfig()) { } /// <summary> /// Constructs AmazonChimeSDKMessagingClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="region">The region to connect.</param> public AmazonChimeSDKMessagingClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonChimeSDKMessagingConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonChimeSDKMessagingClient with AWS Credentials and an /// AmazonChimeSDKMessagingClient Configuration object. /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="clientConfig">The AmazonChimeSDKMessagingClient Configuration Object</param> public AmazonChimeSDKMessagingClient(AWSCredentials credentials, AmazonChimeSDKMessagingConfig clientConfig) : base(credentials, clientConfig) { } /// <summary> /// Constructs AmazonChimeSDKMessagingClient 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 AmazonChimeSDKMessagingClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonChimeSDKMessagingConfig()) { } /// <summary> /// Constructs AmazonChimeSDKMessagingClient 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 AmazonChimeSDKMessagingClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonChimeSDKMessagingConfig() {RegionEndpoint=region}) { } /// <summary> /// Constructs AmazonChimeSDKMessagingClient with AWS Access Key ID, AWS Secret Key and an /// AmazonChimeSDKMessagingClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="clientConfig">The AmazonChimeSDKMessagingClient Configuration Object</param> public AmazonChimeSDKMessagingClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonChimeSDKMessagingConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// <summary> /// Constructs AmazonChimeSDKMessagingClient 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 AmazonChimeSDKMessagingClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonChimeSDKMessagingConfig()) { } /// <summary> /// Constructs AmazonChimeSDKMessagingClient 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 AmazonChimeSDKMessagingClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonChimeSDKMessagingConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonChimeSDKMessagingClient with AWS Access Key ID, AWS Secret Key and an /// AmazonChimeSDKMessagingClient 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 AmazonChimeSDKMessagingClient Configuration Object</param> public AmazonChimeSDKMessagingClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonChimeSDKMessagingConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #if AWS_ASYNC_ENUMERABLES_API private IChimeSDKMessagingPaginatorFactory _paginators; /// <summary> /// Paginators for the service /// </summary> public IChimeSDKMessagingPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new ChimeSDKMessagingPaginatorFactory(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 AmazonChimeSDKMessagingEndpointResolver()); } /// <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 AssociateChannelFlow internal virtual AssociateChannelFlowResponse AssociateChannelFlow(AssociateChannelFlowRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateChannelFlowResponseUnmarshaller.Instance; return Invoke<AssociateChannelFlowResponse>(request, options); } /// <summary> /// Associates a channel flow with a channel. Once associated, all messages to that channel /// go through channel flow processors. To stop processing, use the <code>DisassociateChannelFlow</code> /// API. /// /// <note> /// <para> /// Only administrators or channel moderators can associate a channel flow. The <code>x-amz-chime-bearer</code> /// request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> /// that makes the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateChannelFlow service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the AssociateChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/AssociateChannelFlow">REST API Reference for AssociateChannelFlow Operation</seealso> public virtual Task<AssociateChannelFlowResponse> AssociateChannelFlowAsync(AssociateChannelFlowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateChannelFlowResponseUnmarshaller.Instance; return InvokeAsync<AssociateChannelFlowResponse>(request, options, cancellationToken); } #endregion #region BatchCreateChannelMembership internal virtual BatchCreateChannelMembershipResponse BatchCreateChannelMembership(BatchCreateChannelMembershipRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchCreateChannelMembershipRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchCreateChannelMembershipResponseUnmarshaller.Instance; return Invoke<BatchCreateChannelMembershipResponse>(request, options); } /// <summary> /// Adds a specified number of users and bots to a channel. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchCreateChannelMembership service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the BatchCreateChannelMembership service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/BatchCreateChannelMembership">REST API Reference for BatchCreateChannelMembership Operation</seealso> public virtual Task<BatchCreateChannelMembershipResponse> BatchCreateChannelMembershipAsync(BatchCreateChannelMembershipRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = BatchCreateChannelMembershipRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchCreateChannelMembershipResponseUnmarshaller.Instance; return InvokeAsync<BatchCreateChannelMembershipResponse>(request, options, cancellationToken); } #endregion #region ChannelFlowCallback internal virtual ChannelFlowCallbackResponse ChannelFlowCallback(ChannelFlowCallbackRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ChannelFlowCallbackRequestMarshaller.Instance; options.ResponseUnmarshaller = ChannelFlowCallbackResponseUnmarshaller.Instance; return Invoke<ChannelFlowCallbackResponse>(request, options); } /// <summary> /// Calls back Amazon Chime SDK messaging with a processing response message. This should /// be invoked from the processor Lambda. This is a developer API. /// /// /// <para> /// You can return one of the following processing responses: /// </para> /// <ul> <li> /// <para> /// Update message content or metadata /// </para> /// </li> <li> /// <para> /// Deny a message /// </para> /// </li> <li> /// <para> /// Make no changes to the message /// </para> /// </li> </ul> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ChannelFlowCallback service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ChannelFlowCallback service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ChannelFlowCallback">REST API Reference for ChannelFlowCallback Operation</seealso> public virtual Task<ChannelFlowCallbackResponse> ChannelFlowCallbackAsync(ChannelFlowCallbackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ChannelFlowCallbackRequestMarshaller.Instance; options.ResponseUnmarshaller = ChannelFlowCallbackResponseUnmarshaller.Instance; return InvokeAsync<ChannelFlowCallbackResponse>(request, options, cancellationToken); } #endregion #region CreateChannel internal virtual CreateChannelResponse CreateChannel(CreateChannelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateChannelResponseUnmarshaller.Instance; return Invoke<CreateChannelResponse>(request, options); } /// <summary> /// Creates a channel to which you can add users and send messages. /// /// /// <para> /// <b>Restriction</b>: You can't change a channel's privacy. /// </para> /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannel service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateChannel service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannel">REST API Reference for CreateChannel Operation</seealso> public virtual Task<CreateChannelResponse> CreateChannelAsync(CreateChannelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateChannelResponseUnmarshaller.Instance; return InvokeAsync<CreateChannelResponse>(request, options, cancellationToken); } #endregion #region CreateChannelBan internal virtual CreateChannelBanResponse CreateChannelBan(CreateChannelBanRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateChannelBanRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateChannelBanResponseUnmarshaller.Instance; return Invoke<CreateChannelBanResponse>(request, options); } /// <summary> /// Permanently bans a member from a channel. Moderators can't add banned members to a /// channel. To undo a ban, you first have to <code>DeleteChannelBan</code>, and then /// <code>CreateChannelMembership</code>. Bans are cleaned up when you delete users or /// channels. /// /// /// <para> /// If you ban a user who is already part of a channel, that user is automatically kicked /// from the channel. /// </para> /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannelBan service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateChannelBan service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelBan">REST API Reference for CreateChannelBan Operation</seealso> public virtual Task<CreateChannelBanResponse> CreateChannelBanAsync(CreateChannelBanRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateChannelBanRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateChannelBanResponseUnmarshaller.Instance; return InvokeAsync<CreateChannelBanResponse>(request, options, cancellationToken); } #endregion #region CreateChannelFlow internal virtual CreateChannelFlowResponse CreateChannelFlow(CreateChannelFlowRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateChannelFlowResponseUnmarshaller.Instance; return Invoke<CreateChannelFlowResponse>(request, options); } /// <summary> /// Creates a channel flow, a container for processors. Processors are AWS Lambda functions /// that perform actions on chat messages, such as stripping out profanity. You can associate /// channel flows with channels, and the processors in the channel flow then take action /// on all messages sent to that channel. This is a developer API. /// /// /// <para> /// Channel flows process the following items: /// </para> /// <ol> <li> /// <para> /// New and updated messages /// </para> /// </li> <li> /// <para> /// Persistent and non-persistent messages /// </para> /// </li> <li> /// <para> /// The Standard message type /// </para> /// </li> </ol> <note> /// <para> /// Channel flows don't process Control or System messages. For more information about /// the message types provided by Chime SDK messaging, refer to <a href="https://docs.aws.amazon.com/chime/latest/dg/using-the-messaging-sdk.html#msg-types">Message /// types</a> in the <i>Amazon Chime developer guide</i>. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannelFlow service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelFlow">REST API Reference for CreateChannelFlow Operation</seealso> public virtual Task<CreateChannelFlowResponse> CreateChannelFlowAsync(CreateChannelFlowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateChannelFlowResponseUnmarshaller.Instance; return InvokeAsync<CreateChannelFlowResponse>(request, options, cancellationToken); } #endregion #region CreateChannelMembership internal virtual CreateChannelMembershipResponse CreateChannelMembership(CreateChannelMembershipRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateChannelMembershipRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateChannelMembershipResponseUnmarshaller.Instance; return Invoke<CreateChannelMembershipResponse>(request, options); } /// <summary> /// Adds a member to a channel. The <code>InvitedBy</code> field in <code>ChannelMembership</code> /// is derived from the request header. A channel member can: /// /// <ul> <li> /// <para> /// List messages /// </para> /// </li> <li> /// <para> /// Send messages /// </para> /// </li> <li> /// <para> /// Receive messages /// </para> /// </li> <li> /// <para> /// Edit their own messages /// </para> /// </li> <li> /// <para> /// Leave the channel /// </para> /// </li> </ul> /// <para> /// Privacy settings impact this action as follows: /// </para> /// <ul> <li> /// <para> /// Public Channels: You do not need to be a member to list messages, but you must be /// a member to send messages. /// </para> /// </li> <li> /// <para> /// Private Channels: You must be a member to list or send messages. /// </para> /// </li> </ul> <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUserArn</code> or <code>AppInstanceBot</code> that makes the API /// call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannelMembership service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateChannelMembership service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelMembership">REST API Reference for CreateChannelMembership Operation</seealso> public virtual Task<CreateChannelMembershipResponse> CreateChannelMembershipAsync(CreateChannelMembershipRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateChannelMembershipRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateChannelMembershipResponseUnmarshaller.Instance; return InvokeAsync<CreateChannelMembershipResponse>(request, options, cancellationToken); } #endregion #region CreateChannelModerator internal virtual CreateChannelModeratorResponse CreateChannelModerator(CreateChannelModeratorRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateChannelModeratorRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateChannelModeratorResponseUnmarshaller.Instance; return Invoke<CreateChannelModeratorResponse>(request, options); } /// <summary> /// Creates a new <code>ChannelModerator</code>. A channel moderator can: /// /// <ul> <li> /// <para> /// Add and remove other members of the channel. /// </para> /// </li> <li> /// <para> /// Add and remove other moderators of the channel. /// </para> /// </li> <li> /// <para> /// Add and remove user bans for the channel. /// </para> /// </li> <li> /// <para> /// Redact messages in the channel. /// </para> /// </li> <li> /// <para> /// List messages in the channel. /// </para> /// </li> </ul> <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code>of the user that makes /// the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannelModerator service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateChannelModerator service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelModerator">REST API Reference for CreateChannelModerator Operation</seealso> public virtual Task<CreateChannelModeratorResponse> CreateChannelModeratorAsync(CreateChannelModeratorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateChannelModeratorRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateChannelModeratorResponseUnmarshaller.Instance; return InvokeAsync<CreateChannelModeratorResponse>(request, options, cancellationToken); } #endregion #region DeleteChannel internal virtual DeleteChannelResponse DeleteChannel(DeleteChannelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelResponseUnmarshaller.Instance; return Invoke<DeleteChannelResponse>(request, options); } /// <summary> /// Immediately makes a channel and its memberships inaccessible and marks them for deletion. /// This is an irreversible process. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUserArn</code> or <code>AppInstanceBot</code> that makes the API /// call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannel service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteChannel service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannel">REST API Reference for DeleteChannel Operation</seealso> public virtual Task<DeleteChannelResponse> DeleteChannelAsync(DeleteChannelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelResponseUnmarshaller.Instance; return InvokeAsync<DeleteChannelResponse>(request, options, cancellationToken); } #endregion #region DeleteChannelBan internal virtual DeleteChannelBanResponse DeleteChannelBan(DeleteChannelBanRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelBanRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelBanResponseUnmarshaller.Instance; return Invoke<DeleteChannelBanResponse>(request, options); } /// <summary> /// Removes a member from a channel's ban list. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelBan service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteChannelBan service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelBan">REST API Reference for DeleteChannelBan Operation</seealso> public virtual Task<DeleteChannelBanResponse> DeleteChannelBanAsync(DeleteChannelBanRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelBanRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelBanResponseUnmarshaller.Instance; return InvokeAsync<DeleteChannelBanResponse>(request, options, cancellationToken); } #endregion #region DeleteChannelFlow internal virtual DeleteChannelFlowResponse DeleteChannelFlow(DeleteChannelFlowRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelFlowResponseUnmarshaller.Instance; return Invoke<DeleteChannelFlowResponse>(request, options); } /// <summary> /// Deletes a channel flow, an irreversible process. This is a developer API. /// /// <note> /// <para> /// This API works only when the channel flow is not associated with any channel. To /// get a list of all channels that a channel flow is associated with, use the <code>ListChannelsAssociatedWithChannelFlow</code> /// API. Use the <code>DisassociateChannelFlow</code> API to disassociate a channel flow /// from all channels. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelFlow service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelFlow">REST API Reference for DeleteChannelFlow Operation</seealso> public virtual Task<DeleteChannelFlowResponse> DeleteChannelFlowAsync(DeleteChannelFlowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelFlowResponseUnmarshaller.Instance; return InvokeAsync<DeleteChannelFlowResponse>(request, options, cancellationToken); } #endregion #region DeleteChannelMembership internal virtual DeleteChannelMembershipResponse DeleteChannelMembership(DeleteChannelMembershipRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelMembershipRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelMembershipResponseUnmarshaller.Instance; return Invoke<DeleteChannelMembershipResponse>(request, options); } /// <summary> /// Removes a member from a channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the <code>AppInstanceUserArn</code> /// of the user that makes the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelMembership service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteChannelMembership service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelMembership">REST API Reference for DeleteChannelMembership Operation</seealso> public virtual Task<DeleteChannelMembershipResponse> DeleteChannelMembershipAsync(DeleteChannelMembershipRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelMembershipRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelMembershipResponseUnmarshaller.Instance; return InvokeAsync<DeleteChannelMembershipResponse>(request, options, cancellationToken); } #endregion #region DeleteChannelMessage internal virtual DeleteChannelMessageResponse DeleteChannelMessage(DeleteChannelMessageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelMessageRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelMessageResponseUnmarshaller.Instance; return Invoke<DeleteChannelMessageResponse>(request, options); } /// <summary> /// Deletes a channel message. Only admins can perform this action. Deletion makes messages /// inaccessible immediately. A background process deletes any revisions created by <code>UpdateChannelMessage</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelMessage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelMessage">REST API Reference for DeleteChannelMessage Operation</seealso> public virtual Task<DeleteChannelMessageResponse> DeleteChannelMessageAsync(DeleteChannelMessageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelMessageRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelMessageResponseUnmarshaller.Instance; return InvokeAsync<DeleteChannelMessageResponse>(request, options, cancellationToken); } #endregion #region DeleteChannelModerator internal virtual DeleteChannelModeratorResponse DeleteChannelModerator(DeleteChannelModeratorRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelModeratorRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelModeratorResponseUnmarshaller.Instance; return Invoke<DeleteChannelModeratorResponse>(request, options); } /// <summary> /// Deletes a channel moderator. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelModerator service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteChannelModerator service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelModerator">REST API Reference for DeleteChannelModerator Operation</seealso> public virtual Task<DeleteChannelModeratorResponse> DeleteChannelModeratorAsync(DeleteChannelModeratorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelModeratorRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelModeratorResponseUnmarshaller.Instance; return InvokeAsync<DeleteChannelModeratorResponse>(request, options, cancellationToken); } #endregion #region DeleteMessagingStreamingConfigurations internal virtual DeleteMessagingStreamingConfigurationsResponse DeleteMessagingStreamingConfigurations(DeleteMessagingStreamingConfigurationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteMessagingStreamingConfigurationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteMessagingStreamingConfigurationsResponseUnmarshaller.Instance; return Invoke<DeleteMessagingStreamingConfigurationsResponse>(request, options); } /// <summary> /// Deletes the streaming configurations for an <code>AppInstance</code>. For more information, /// see <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html">Streaming /// messaging data</a> in the <i>Amazon Chime SDK Developer Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteMessagingStreamingConfigurations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteMessagingStreamingConfigurations service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteMessagingStreamingConfigurations">REST API Reference for DeleteMessagingStreamingConfigurations Operation</seealso> public virtual Task<DeleteMessagingStreamingConfigurationsResponse> DeleteMessagingStreamingConfigurationsAsync(DeleteMessagingStreamingConfigurationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteMessagingStreamingConfigurationsRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteMessagingStreamingConfigurationsResponseUnmarshaller.Instance; return InvokeAsync<DeleteMessagingStreamingConfigurationsResponse>(request, options, cancellationToken); } #endregion #region DescribeChannel internal virtual DescribeChannelResponse DescribeChannel(DescribeChannelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelResponseUnmarshaller.Instance; return Invoke<DescribeChannelResponse>(request, options); } /// <summary> /// Returns the full details of a channel in an Amazon Chime <code>AppInstance</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannel service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeChannel service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannel">REST API Reference for DescribeChannel Operation</seealso> public virtual Task<DescribeChannelResponse> DescribeChannelAsync(DescribeChannelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelResponseUnmarshaller.Instance; return InvokeAsync<DescribeChannelResponse>(request, options, cancellationToken); } #endregion #region DescribeChannelBan internal virtual DescribeChannelBanResponse DescribeChannelBan(DescribeChannelBanRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelBanRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelBanResponseUnmarshaller.Instance; return Invoke<DescribeChannelBanResponse>(request, options); } /// <summary> /// Returns the full details of a channel ban. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelBan service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeChannelBan service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelBan">REST API Reference for DescribeChannelBan Operation</seealso> public virtual Task<DescribeChannelBanResponse> DescribeChannelBanAsync(DescribeChannelBanRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelBanRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelBanResponseUnmarshaller.Instance; return InvokeAsync<DescribeChannelBanResponse>(request, options, cancellationToken); } #endregion #region DescribeChannelFlow internal virtual DescribeChannelFlowResponse DescribeChannelFlow(DescribeChannelFlowRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelFlowResponseUnmarshaller.Instance; return Invoke<DescribeChannelFlowResponse>(request, options); } /// <summary> /// Returns the full details of a channel flow in an Amazon Chime <code>AppInstance</code>. /// This is a developer API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelFlow service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelFlow">REST API Reference for DescribeChannelFlow Operation</seealso> public virtual Task<DescribeChannelFlowResponse> DescribeChannelFlowAsync(DescribeChannelFlowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelFlowResponseUnmarshaller.Instance; return InvokeAsync<DescribeChannelFlowResponse>(request, options, cancellationToken); } #endregion #region DescribeChannelMembership internal virtual DescribeChannelMembershipResponse DescribeChannelMembership(DescribeChannelMembershipRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelMembershipRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelMembershipResponseUnmarshaller.Instance; return Invoke<DescribeChannelMembershipResponse>(request, options); } /// <summary> /// Returns the full details of a user's channel membership. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelMembership service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeChannelMembership service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelMembership">REST API Reference for DescribeChannelMembership Operation</seealso> public virtual Task<DescribeChannelMembershipResponse> DescribeChannelMembershipAsync(DescribeChannelMembershipRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelMembershipRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelMembershipResponseUnmarshaller.Instance; return InvokeAsync<DescribeChannelMembershipResponse>(request, options, cancellationToken); } #endregion #region DescribeChannelMembershipForAppInstanceUser internal virtual DescribeChannelMembershipForAppInstanceUserResponse DescribeChannelMembershipForAppInstanceUser(DescribeChannelMembershipForAppInstanceUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelMembershipForAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelMembershipForAppInstanceUserResponseUnmarshaller.Instance; return Invoke<DescribeChannelMembershipForAppInstanceUserResponse>(request, options); } /// <summary> /// Returns the details of a channel based on the membership of the specified <code>AppInstanceUser</code> /// or <code>AppInstanceBot</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelMembershipForAppInstanceUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeChannelMembershipForAppInstanceUser service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelMembershipForAppInstanceUser">REST API Reference for DescribeChannelMembershipForAppInstanceUser Operation</seealso> public virtual Task<DescribeChannelMembershipForAppInstanceUserResponse> DescribeChannelMembershipForAppInstanceUserAsync(DescribeChannelMembershipForAppInstanceUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelMembershipForAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelMembershipForAppInstanceUserResponseUnmarshaller.Instance; return InvokeAsync<DescribeChannelMembershipForAppInstanceUserResponse>(request, options, cancellationToken); } #endregion #region DescribeChannelModeratedByAppInstanceUser internal virtual DescribeChannelModeratedByAppInstanceUserResponse DescribeChannelModeratedByAppInstanceUser(DescribeChannelModeratedByAppInstanceUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelModeratedByAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelModeratedByAppInstanceUserResponseUnmarshaller.Instance; return Invoke<DescribeChannelModeratedByAppInstanceUserResponse>(request, options); } /// <summary> /// Returns the full details of a channel moderated by the specified <code>AppInstanceUser</code> /// or <code>AppInstanceBot</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelModeratedByAppInstanceUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeChannelModeratedByAppInstanceUser service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelModeratedByAppInstanceUser">REST API Reference for DescribeChannelModeratedByAppInstanceUser Operation</seealso> public virtual Task<DescribeChannelModeratedByAppInstanceUserResponse> DescribeChannelModeratedByAppInstanceUserAsync(DescribeChannelModeratedByAppInstanceUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelModeratedByAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelModeratedByAppInstanceUserResponseUnmarshaller.Instance; return InvokeAsync<DescribeChannelModeratedByAppInstanceUserResponse>(request, options, cancellationToken); } #endregion #region DescribeChannelModerator internal virtual DescribeChannelModeratorResponse DescribeChannelModerator(DescribeChannelModeratorRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelModeratorRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelModeratorResponseUnmarshaller.Instance; return Invoke<DescribeChannelModeratorResponse>(request, options); } /// <summary> /// Returns the full details of a single ChannelModerator. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the <code>AppInstanceUserArn</code> /// of the user that makes the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelModerator service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeChannelModerator service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelModerator">REST API Reference for DescribeChannelModerator Operation</seealso> public virtual Task<DescribeChannelModeratorResponse> DescribeChannelModeratorAsync(DescribeChannelModeratorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelModeratorRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelModeratorResponseUnmarshaller.Instance; return InvokeAsync<DescribeChannelModeratorResponse>(request, options, cancellationToken); } #endregion #region DisassociateChannelFlow internal virtual DisassociateChannelFlowResponse DisassociateChannelFlow(DisassociateChannelFlowRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateChannelFlowResponseUnmarshaller.Instance; return Invoke<DisassociateChannelFlowResponse>(request, options); } /// <summary> /// Disassociates a channel flow from all its channels. Once disassociated, all messages /// to that channel stop going through the channel flow processor. /// /// <note> /// <para> /// Only administrators or channel moderators can disassociate a channel flow. /// </para> /// /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateChannelFlow service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DisassociateChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DisassociateChannelFlow">REST API Reference for DisassociateChannelFlow Operation</seealso> public virtual Task<DisassociateChannelFlowResponse> DisassociateChannelFlowAsync(DisassociateChannelFlowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateChannelFlowResponseUnmarshaller.Instance; return InvokeAsync<DisassociateChannelFlowResponse>(request, options, cancellationToken); } #endregion #region GetChannelMembershipPreferences internal virtual GetChannelMembershipPreferencesResponse GetChannelMembershipPreferences(GetChannelMembershipPreferencesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetChannelMembershipPreferencesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetChannelMembershipPreferencesResponseUnmarshaller.Instance; return Invoke<GetChannelMembershipPreferencesResponse>(request, options); } /// <summary> /// Gets the membership preferences of an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> /// for the specified channel. A user or a bot must be a member of the channel and own /// the membership in order to retrieve membership preferences. Users or bots in the <code>AppInstanceAdmin</code> /// and channel moderator roles can't retrieve preferences for other users or bots. Banned /// users or bots can't retrieve membership preferences for the channel from which they /// are banned. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetChannelMembershipPreferences service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetChannelMembershipPreferences service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMembershipPreferences">REST API Reference for GetChannelMembershipPreferences Operation</seealso> public virtual Task<GetChannelMembershipPreferencesResponse> GetChannelMembershipPreferencesAsync(GetChannelMembershipPreferencesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetChannelMembershipPreferencesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetChannelMembershipPreferencesResponseUnmarshaller.Instance; return InvokeAsync<GetChannelMembershipPreferencesResponse>(request, options, cancellationToken); } #endregion #region GetChannelMessage internal virtual GetChannelMessageResponse GetChannelMessage(GetChannelMessageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetChannelMessageRequestMarshaller.Instance; options.ResponseUnmarshaller = GetChannelMessageResponseUnmarshaller.Instance; return Invoke<GetChannelMessageResponse>(request, options); } /// <summary> /// Gets the full details of a channel message. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetChannelMessage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMessage">REST API Reference for GetChannelMessage Operation</seealso> public virtual Task<GetChannelMessageResponse> GetChannelMessageAsync(GetChannelMessageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetChannelMessageRequestMarshaller.Instance; options.ResponseUnmarshaller = GetChannelMessageResponseUnmarshaller.Instance; return InvokeAsync<GetChannelMessageResponse>(request, options, cancellationToken); } #endregion #region GetChannelMessageStatus internal virtual GetChannelMessageStatusResponse GetChannelMessageStatus(GetChannelMessageStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetChannelMessageStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetChannelMessageStatusResponseUnmarshaller.Instance; return Invoke<GetChannelMessageStatusResponse>(request, options); } /// <summary> /// Gets message status for a specified <code>messageId</code>. Use this API to determine /// the intermediate status of messages going through channel flow processing. The API /// provides an alternative to retrieving message status if the event was not received /// because a client wasn't connected to a websocket. /// /// /// <para> /// Messages can have any one of these statuses. /// </para> /// <dl> <dt>SENT</dt> <dd> /// <para> /// Message processed successfully /// </para> /// </dd> <dt>PENDING</dt> <dd> /// <para> /// Ongoing processing /// </para> /// </dd> <dt>FAILED</dt> <dd> /// <para> /// Processing failed /// </para> /// </dd> <dt>DENIED</dt> <dd> /// <para> /// Message denied by the processor /// </para> /// </dd> </dl> <note> <ul> <li> /// <para> /// This API does not return statuses for denied messages, because we don't store them /// once the processor denies them. /// </para> /// </li> <li> /// <para> /// Only the message sender can invoke this API. /// </para> /// </li> <li> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </li> </ul> </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetChannelMessageStatus service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetChannelMessageStatus service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMessageStatus">REST API Reference for GetChannelMessageStatus Operation</seealso> public virtual Task<GetChannelMessageStatusResponse> GetChannelMessageStatusAsync(GetChannelMessageStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetChannelMessageStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetChannelMessageStatusResponseUnmarshaller.Instance; return InvokeAsync<GetChannelMessageStatusResponse>(request, options, cancellationToken); } #endregion #region GetMessagingSessionEndpoint internal virtual GetMessagingSessionEndpointResponse GetMessagingSessionEndpoint(GetMessagingSessionEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetMessagingSessionEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMessagingSessionEndpointResponseUnmarshaller.Instance; return Invoke<GetMessagingSessionEndpointResponse>(request, options); } /// <summary> /// The details of the endpoint for the messaging session. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetMessagingSessionEndpoint service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetMessagingSessionEndpoint service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetMessagingSessionEndpoint">REST API Reference for GetMessagingSessionEndpoint Operation</seealso> public virtual Task<GetMessagingSessionEndpointResponse> GetMessagingSessionEndpointAsync(GetMessagingSessionEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetMessagingSessionEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMessagingSessionEndpointResponseUnmarshaller.Instance; return InvokeAsync<GetMessagingSessionEndpointResponse>(request, options, cancellationToken); } #endregion #region GetMessagingStreamingConfigurations internal virtual GetMessagingStreamingConfigurationsResponse GetMessagingStreamingConfigurations(GetMessagingStreamingConfigurationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetMessagingStreamingConfigurationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMessagingStreamingConfigurationsResponseUnmarshaller.Instance; return Invoke<GetMessagingStreamingConfigurationsResponse>(request, options); } /// <summary> /// Retrieves the data streaming configuration for an <code>AppInstance</code>. For more /// information, see <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html">Streaming /// messaging data</a> in the <i>Amazon Chime SDK Developer Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetMessagingStreamingConfigurations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetMessagingStreamingConfigurations service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetMessagingStreamingConfigurations">REST API Reference for GetMessagingStreamingConfigurations Operation</seealso> public virtual Task<GetMessagingStreamingConfigurationsResponse> GetMessagingStreamingConfigurationsAsync(GetMessagingStreamingConfigurationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetMessagingStreamingConfigurationsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMessagingStreamingConfigurationsResponseUnmarshaller.Instance; return InvokeAsync<GetMessagingStreamingConfigurationsResponse>(request, options, cancellationToken); } #endregion #region ListChannelBans internal virtual ListChannelBansResponse ListChannelBans(ListChannelBansRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelBansRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelBansResponseUnmarshaller.Instance; return Invoke<ListChannelBansResponse>(request, options); } /// <summary> /// Lists all the users and bots banned from a particular channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelBans service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListChannelBans service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelBans">REST API Reference for ListChannelBans Operation</seealso> public virtual Task<ListChannelBansResponse> ListChannelBansAsync(ListChannelBansRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelBansRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelBansResponseUnmarshaller.Instance; return InvokeAsync<ListChannelBansResponse>(request, options, cancellationToken); } #endregion #region ListChannelFlows internal virtual ListChannelFlowsResponse ListChannelFlows(ListChannelFlowsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelFlowsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelFlowsResponseUnmarshaller.Instance; return Invoke<ListChannelFlowsResponse>(request, options); } /// <summary> /// Returns a paginated lists of all the channel flows created under a single Chime. This /// is a developer API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelFlows service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListChannelFlows service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelFlows">REST API Reference for ListChannelFlows Operation</seealso> public virtual Task<ListChannelFlowsResponse> ListChannelFlowsAsync(ListChannelFlowsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelFlowsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelFlowsResponseUnmarshaller.Instance; return InvokeAsync<ListChannelFlowsResponse>(request, options, cancellationToken); } #endregion #region ListChannelMemberships internal virtual ListChannelMembershipsResponse ListChannelMemberships(ListChannelMembershipsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelMembershipsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelMembershipsResponseUnmarshaller.Instance; return Invoke<ListChannelMembershipsResponse>(request, options); } /// <summary> /// Lists all channel memberships in a channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// <para> /// If you want to list the channels to which a specific app instance user belongs, see /// the <a href="https://docs.aws.amazon.com/chime/latest/APIReference/API_messaging-chime_ListChannelMembershipsForAppInstanceUser.html">ListChannelMembershipsForAppInstanceUser</a> /// API. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelMemberships service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListChannelMemberships service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMemberships">REST API Reference for ListChannelMemberships Operation</seealso> public virtual Task<ListChannelMembershipsResponse> ListChannelMembershipsAsync(ListChannelMembershipsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelMembershipsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelMembershipsResponseUnmarshaller.Instance; return InvokeAsync<ListChannelMembershipsResponse>(request, options, cancellationToken); } #endregion #region ListChannelMembershipsForAppInstanceUser internal virtual ListChannelMembershipsForAppInstanceUserResponse ListChannelMembershipsForAppInstanceUser(ListChannelMembershipsForAppInstanceUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelMembershipsForAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelMembershipsForAppInstanceUserResponseUnmarshaller.Instance; return Invoke<ListChannelMembershipsForAppInstanceUserResponse>(request, options); } /// <summary> /// Lists all channels that an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> /// is a part of. Only an <code>AppInstanceAdmin</code> can call the API with a user ARN /// that is not their own. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelMembershipsForAppInstanceUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListChannelMembershipsForAppInstanceUser service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMembershipsForAppInstanceUser">REST API Reference for ListChannelMembershipsForAppInstanceUser Operation</seealso> public virtual Task<ListChannelMembershipsForAppInstanceUserResponse> ListChannelMembershipsForAppInstanceUserAsync(ListChannelMembershipsForAppInstanceUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelMembershipsForAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelMembershipsForAppInstanceUserResponseUnmarshaller.Instance; return InvokeAsync<ListChannelMembershipsForAppInstanceUserResponse>(request, options, cancellationToken); } #endregion #region ListChannelMessages internal virtual ListChannelMessagesResponse ListChannelMessages(ListChannelMessagesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelMessagesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelMessagesResponseUnmarshaller.Instance; return Invoke<ListChannelMessagesResponse>(request, options); } /// <summary> /// List all the messages in a channel. Returns a paginated list of <code>ChannelMessages</code>. /// By default, sorted by creation timestamp in descending order. /// /// <note> /// <para> /// Redacted messages appear in the results as empty, since they are only redacted, not /// deleted. Deleted messages do not appear in the results. This action always returns /// the latest version of an edited message. /// </para> /// /// <para> /// Also, the <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN /// of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the /// API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelMessages service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListChannelMessages service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMessages">REST API Reference for ListChannelMessages Operation</seealso> public virtual Task<ListChannelMessagesResponse> ListChannelMessagesAsync(ListChannelMessagesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelMessagesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelMessagesResponseUnmarshaller.Instance; return InvokeAsync<ListChannelMessagesResponse>(request, options, cancellationToken); } #endregion #region ListChannelModerators internal virtual ListChannelModeratorsResponse ListChannelModerators(ListChannelModeratorsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelModeratorsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelModeratorsResponseUnmarshaller.Instance; return Invoke<ListChannelModeratorsResponse>(request, options); } /// <summary> /// Lists all the moderators for a channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelModerators service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListChannelModerators service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelModerators">REST API Reference for ListChannelModerators Operation</seealso> public virtual Task<ListChannelModeratorsResponse> ListChannelModeratorsAsync(ListChannelModeratorsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelModeratorsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelModeratorsResponseUnmarshaller.Instance; return InvokeAsync<ListChannelModeratorsResponse>(request, options, cancellationToken); } #endregion #region ListChannels internal virtual ListChannelsResponse ListChannels(ListChannelsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelsResponseUnmarshaller.Instance; return Invoke<ListChannelsResponse>(request, options); } /// <summary> /// Lists all Channels created under a single Chime App as a paginated list. You can specify /// filters to narrow results. /// /// <p class="title"> <b>Functionality &amp; restrictions</b> /// </para> /// <ul> <li> /// <para> /// Use privacy = <code>PUBLIC</code> to retrieve all public channels in the account. /// </para> /// </li> <li> /// <para> /// Only an <code>AppInstanceAdmin</code> can set privacy = <code>PRIVATE</code> to list /// the private channels in an account. /// </para> /// </li> </ul> <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannels service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListChannels service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannels">REST API Reference for ListChannels Operation</seealso> public virtual Task<ListChannelsResponse> ListChannelsAsync(ListChannelsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelsResponseUnmarshaller.Instance; return InvokeAsync<ListChannelsResponse>(request, options, cancellationToken); } #endregion #region ListChannelsAssociatedWithChannelFlow internal virtual ListChannelsAssociatedWithChannelFlowResponse ListChannelsAssociatedWithChannelFlow(ListChannelsAssociatedWithChannelFlowRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelsAssociatedWithChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelsAssociatedWithChannelFlowResponseUnmarshaller.Instance; return Invoke<ListChannelsAssociatedWithChannelFlowResponse>(request, options); } /// <summary> /// Lists all channels associated with a specified channel flow. You can associate a channel /// flow with multiple channels, but you can only associate a channel with one channel /// flow. This is a developer API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelsAssociatedWithChannelFlow service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListChannelsAssociatedWithChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelsAssociatedWithChannelFlow">REST API Reference for ListChannelsAssociatedWithChannelFlow Operation</seealso> public virtual Task<ListChannelsAssociatedWithChannelFlowResponse> ListChannelsAssociatedWithChannelFlowAsync(ListChannelsAssociatedWithChannelFlowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelsAssociatedWithChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelsAssociatedWithChannelFlowResponseUnmarshaller.Instance; return InvokeAsync<ListChannelsAssociatedWithChannelFlowResponse>(request, options, cancellationToken); } #endregion #region ListChannelsModeratedByAppInstanceUser internal virtual ListChannelsModeratedByAppInstanceUserResponse ListChannelsModeratedByAppInstanceUser(ListChannelsModeratedByAppInstanceUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelsModeratedByAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelsModeratedByAppInstanceUserResponseUnmarshaller.Instance; return Invoke<ListChannelsModeratedByAppInstanceUserResponse>(request, options); } /// <summary> /// A list of the channels moderated by an <code>AppInstanceUser</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelsModeratedByAppInstanceUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListChannelsModeratedByAppInstanceUser service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelsModeratedByAppInstanceUser">REST API Reference for ListChannelsModeratedByAppInstanceUser Operation</seealso> public virtual Task<ListChannelsModeratedByAppInstanceUserResponse> ListChannelsModeratedByAppInstanceUserAsync(ListChannelsModeratedByAppInstanceUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelsModeratedByAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelsModeratedByAppInstanceUserResponseUnmarshaller.Instance; return InvokeAsync<ListChannelsModeratedByAppInstanceUserResponse>(request, options, cancellationToken); } #endregion #region ListSubChannels internal virtual ListSubChannelsResponse ListSubChannels(ListSubChannelsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListSubChannelsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSubChannelsResponseUnmarshaller.Instance; return Invoke<ListSubChannelsResponse>(request, options); } /// <summary> /// Lists all the SubChannels in an elastic channel when given a channel ID. Available /// only to the app instance admins and channel moderators of elastic channels. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListSubChannels service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListSubChannels service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListSubChannels">REST API Reference for ListSubChannels Operation</seealso> public virtual Task<ListSubChannelsResponse> ListSubChannelsAsync(ListSubChannelsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListSubChannelsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSubChannelsResponseUnmarshaller.Instance; return InvokeAsync<ListSubChannelsResponse>(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 messaging 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 ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/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 PutChannelExpirationSettings internal virtual PutChannelExpirationSettingsResponse PutChannelExpirationSettings(PutChannelExpirationSettingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutChannelExpirationSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutChannelExpirationSettingsResponseUnmarshaller.Instance; return Invoke<PutChannelExpirationSettingsResponse>(request, options); } /// <summary> /// Sets the number of days before the channel is automatically deleted. /// /// <note> <ul> <li> /// <para> /// A background process deletes expired channels within 6 hours of expiration. Actual /// deletion times may vary. /// </para> /// </li> <li> /// <para> /// Expired channels that have not yet been deleted appear as active, and you can update /// their expiration settings. The system honors the new settings. /// </para> /// </li> <li> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </li> </ul> </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutChannelExpirationSettings service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the PutChannelExpirationSettings service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutChannelExpirationSettings">REST API Reference for PutChannelExpirationSettings Operation</seealso> public virtual Task<PutChannelExpirationSettingsResponse> PutChannelExpirationSettingsAsync(PutChannelExpirationSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutChannelExpirationSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutChannelExpirationSettingsResponseUnmarshaller.Instance; return InvokeAsync<PutChannelExpirationSettingsResponse>(request, options, cancellationToken); } #endregion #region PutChannelMembershipPreferences internal virtual PutChannelMembershipPreferencesResponse PutChannelMembershipPreferences(PutChannelMembershipPreferencesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutChannelMembershipPreferencesRequestMarshaller.Instance; options.ResponseUnmarshaller = PutChannelMembershipPreferencesResponseUnmarshaller.Instance; return Invoke<PutChannelMembershipPreferencesResponse>(request, options); } /// <summary> /// Sets the membership preferences of an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> /// for the specified channel. The user or bot must be a member of the channel. Only the /// user or bot who owns the membership can set preferences. Users or bots in the <code>AppInstanceAdmin</code> /// and channel moderator roles can't set preferences for other users. Banned users or /// bots can't set membership preferences for the channel from which they are banned. /// /// <note> /// <para> /// The x-amz-chime-bearer request header is mandatory. Use the ARN of an <code>AppInstanceUser</code> /// or <code>AppInstanceBot</code> that makes the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutChannelMembershipPreferences service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the PutChannelMembershipPreferences service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutChannelMembershipPreferences">REST API Reference for PutChannelMembershipPreferences Operation</seealso> public virtual Task<PutChannelMembershipPreferencesResponse> PutChannelMembershipPreferencesAsync(PutChannelMembershipPreferencesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutChannelMembershipPreferencesRequestMarshaller.Instance; options.ResponseUnmarshaller = PutChannelMembershipPreferencesResponseUnmarshaller.Instance; return InvokeAsync<PutChannelMembershipPreferencesResponse>(request, options, cancellationToken); } #endregion #region PutMessagingStreamingConfigurations internal virtual PutMessagingStreamingConfigurationsResponse PutMessagingStreamingConfigurations(PutMessagingStreamingConfigurationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutMessagingStreamingConfigurationsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutMessagingStreamingConfigurationsResponseUnmarshaller.Instance; return Invoke<PutMessagingStreamingConfigurationsResponse>(request, options); } /// <summary> /// Sets the data streaming configuration for an <code>AppInstance</code>. For more information, /// see <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html">Streaming /// messaging data</a> in the <i>Amazon Chime SDK Developer Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutMessagingStreamingConfigurations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the PutMessagingStreamingConfigurations service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutMessagingStreamingConfigurations">REST API Reference for PutMessagingStreamingConfigurations Operation</seealso> public virtual Task<PutMessagingStreamingConfigurationsResponse> PutMessagingStreamingConfigurationsAsync(PutMessagingStreamingConfigurationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutMessagingStreamingConfigurationsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutMessagingStreamingConfigurationsResponseUnmarshaller.Instance; return InvokeAsync<PutMessagingStreamingConfigurationsResponse>(request, options, cancellationToken); } #endregion #region RedactChannelMessage internal virtual RedactChannelMessageResponse RedactChannelMessage(RedactChannelMessageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RedactChannelMessageRequestMarshaller.Instance; options.ResponseUnmarshaller = RedactChannelMessageResponseUnmarshaller.Instance; return Invoke<RedactChannelMessageResponse>(request, options); } /// <summary> /// Redacts message content, but not metadata. The message exists in the back end, but /// the action returns null content, and the state shows as redacted. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the RedactChannelMessage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the RedactChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/RedactChannelMessage">REST API Reference for RedactChannelMessage Operation</seealso> public virtual Task<RedactChannelMessageResponse> RedactChannelMessageAsync(RedactChannelMessageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RedactChannelMessageRequestMarshaller.Instance; options.ResponseUnmarshaller = RedactChannelMessageResponseUnmarshaller.Instance; return InvokeAsync<RedactChannelMessageResponse>(request, options, cancellationToken); } #endregion #region SearchChannels internal virtual SearchChannelsResponse SearchChannels(SearchChannelsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SearchChannelsRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchChannelsResponseUnmarshaller.Instance; return Invoke<SearchChannelsResponse>(request, options); } /// <summary> /// Allows the <code>ChimeBearer</code> to search channels by channel members. Users or /// bots can search across the channels that they belong to. Users in the <code>AppInstanceAdmin</code> /// role can search across all channels. /// /// /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the SearchChannels service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the SearchChannels service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/SearchChannels">REST API Reference for SearchChannels Operation</seealso> public virtual Task<SearchChannelsResponse> SearchChannelsAsync(SearchChannelsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SearchChannelsRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchChannelsResponseUnmarshaller.Instance; return InvokeAsync<SearchChannelsResponse>(request, options, cancellationToken); } #endregion #region SendChannelMessage internal virtual SendChannelMessageResponse SendChannelMessage(SendChannelMessageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SendChannelMessageRequestMarshaller.Instance; options.ResponseUnmarshaller = SendChannelMessageResponseUnmarshaller.Instance; return Invoke<SendChannelMessageResponse>(request, options); } /// <summary> /// Sends a message to a particular channel that the member is a part of. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// /// <para> /// Also, <code>STANDARD</code> messages can be up to 4KB in size and contain metadata. /// Metadata is arbitrary, and you can use it in a variety of ways, such as containing /// a link to an attachment. /// </para> /// /// <para> /// <code>CONTROL</code> messages are limited to 30 bytes and do not contain metadata. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the SendChannelMessage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the SendChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/SendChannelMessage">REST API Reference for SendChannelMessage Operation</seealso> public virtual Task<SendChannelMessageResponse> SendChannelMessageAsync(SendChannelMessageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SendChannelMessageRequestMarshaller.Instance; options.ResponseUnmarshaller = SendChannelMessageResponseUnmarshaller.Instance; return InvokeAsync<SendChannelMessageResponse>(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 messaging 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 ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/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 messaging 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 ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/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 UpdateChannel internal virtual UpdateChannelResponse UpdateChannel(UpdateChannelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateChannelResponseUnmarshaller.Instance; return Invoke<UpdateChannelResponse>(request, options); } /// <summary> /// Update a channel's attributes. /// /// /// <para> /// <b>Restriction</b>: You can't change a channel's privacy. /// </para> /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateChannel service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateChannel service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannel">REST API Reference for UpdateChannel Operation</seealso> public virtual Task<UpdateChannelResponse> UpdateChannelAsync(UpdateChannelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateChannelResponseUnmarshaller.Instance; return InvokeAsync<UpdateChannelResponse>(request, options, cancellationToken); } #endregion #region UpdateChannelFlow internal virtual UpdateChannelFlowResponse UpdateChannelFlow(UpdateChannelFlowRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateChannelFlowResponseUnmarshaller.Instance; return Invoke<UpdateChannelFlowResponse>(request, options); } /// <summary> /// Updates channel flow attributes. This is a developer API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateChannelFlow service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelFlow">REST API Reference for UpdateChannelFlow Operation</seealso> public virtual Task<UpdateChannelFlowResponse> UpdateChannelFlowAsync(UpdateChannelFlowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateChannelFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateChannelFlowResponseUnmarshaller.Instance; return InvokeAsync<UpdateChannelFlowResponse>(request, options, cancellationToken); } #endregion #region UpdateChannelMessage internal virtual UpdateChannelMessageResponse UpdateChannelMessage(UpdateChannelMessageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateChannelMessageRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateChannelMessageResponseUnmarshaller.Instance; return Invoke<UpdateChannelMessageResponse>(request, options); } /// <summary> /// Updates the content of a message. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateChannelMessage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelMessage">REST API Reference for UpdateChannelMessage Operation</seealso> public virtual Task<UpdateChannelMessageResponse> UpdateChannelMessageAsync(UpdateChannelMessageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateChannelMessageRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateChannelMessageResponseUnmarshaller.Instance; return InvokeAsync<UpdateChannelMessageResponse>(request, options, cancellationToken); } #endregion #region UpdateChannelReadMarker internal virtual UpdateChannelReadMarkerResponse UpdateChannelReadMarker(UpdateChannelReadMarkerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateChannelReadMarkerRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateChannelReadMarkerResponseUnmarshaller.Instance; return Invoke<UpdateChannelReadMarkerResponse>(request, options); } /// <summary> /// The details of the time when a user last read messages in a channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateChannelReadMarker service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateChannelReadMarker service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelReadMarker">REST API Reference for UpdateChannelReadMarker Operation</seealso> public virtual Task<UpdateChannelReadMarkerResponse> UpdateChannelReadMarkerAsync(UpdateChannelReadMarkerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateChannelReadMarkerRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateChannelReadMarkerResponseUnmarshaller.Instance; return InvokeAsync<UpdateChannelReadMarkerResponse>(request, options, cancellationToken); } #endregion } }
3,568
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-messaging-2021-05-15.normal.json service model. */ using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.ChimeSDKMessaging.Model; namespace Amazon.ChimeSDKMessaging { /// <summary> /// Interface for accessing ChimeSDKMessaging /// /// The Amazon Chime SDK messaging APIs in this section allow software developers to send /// and receive messages in custom messaging applications. These APIs depend on the frameworks /// provided by the Amazon Chime SDK identity APIs. For more information about the messaging /// APIs, see <a href="https://docs.aws.amazon.com/chime/latest/APIReference/API_Operations_Amazon_Chime_SDK_Messaging.html">Amazon /// Chime SDK messaging</a>. /// </summary> public partial interface IAmazonChimeSDKMessaging : IAmazonService, IDisposable { #if AWS_ASYNC_ENUMERABLES_API /// <summary> /// Paginators for the service /// </summary> IChimeSDKMessagingPaginatorFactory Paginators { get; } #endif #region AssociateChannelFlow /// <summary> /// Associates a channel flow with a channel. Once associated, all messages to that channel /// go through channel flow processors. To stop processing, use the <code>DisassociateChannelFlow</code> /// API. /// /// <note> /// <para> /// Only administrators or channel moderators can associate a channel flow. The <code>x-amz-chime-bearer</code> /// request header is mandatory. Use the ARN of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> /// that makes the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the AssociateChannelFlow service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the AssociateChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/AssociateChannelFlow">REST API Reference for AssociateChannelFlow Operation</seealso> Task<AssociateChannelFlowResponse> AssociateChannelFlowAsync(AssociateChannelFlowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchCreateChannelMembership /// <summary> /// Adds a specified number of users and bots to a channel. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchCreateChannelMembership service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the BatchCreateChannelMembership service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/BatchCreateChannelMembership">REST API Reference for BatchCreateChannelMembership Operation</seealso> Task<BatchCreateChannelMembershipResponse> BatchCreateChannelMembershipAsync(BatchCreateChannelMembershipRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ChannelFlowCallback /// <summary> /// Calls back Amazon Chime SDK messaging with a processing response message. This should /// be invoked from the processor Lambda. This is a developer API. /// /// /// <para> /// You can return one of the following processing responses: /// </para> /// <ul> <li> /// <para> /// Update message content or metadata /// </para> /// </li> <li> /// <para> /// Deny a message /// </para> /// </li> <li> /// <para> /// Make no changes to the message /// </para> /// </li> </ul> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ChannelFlowCallback service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ChannelFlowCallback service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ChannelFlowCallback">REST API Reference for ChannelFlowCallback Operation</seealso> Task<ChannelFlowCallbackResponse> ChannelFlowCallbackAsync(ChannelFlowCallbackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateChannel /// <summary> /// Creates a channel to which you can add users and send messages. /// /// /// <para> /// <b>Restriction</b>: You can't change a channel's privacy. /// </para> /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannel service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateChannel service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannel">REST API Reference for CreateChannel Operation</seealso> Task<CreateChannelResponse> CreateChannelAsync(CreateChannelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateChannelBan /// <summary> /// Permanently bans a member from a channel. Moderators can't add banned members to a /// channel. To undo a ban, you first have to <code>DeleteChannelBan</code>, and then /// <code>CreateChannelMembership</code>. Bans are cleaned up when you delete users or /// channels. /// /// /// <para> /// If you ban a user who is already part of a channel, that user is automatically kicked /// from the channel. /// </para> /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannelBan service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateChannelBan service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelBan">REST API Reference for CreateChannelBan Operation</seealso> Task<CreateChannelBanResponse> CreateChannelBanAsync(CreateChannelBanRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateChannelFlow /// <summary> /// Creates a channel flow, a container for processors. Processors are AWS Lambda functions /// that perform actions on chat messages, such as stripping out profanity. You can associate /// channel flows with channels, and the processors in the channel flow then take action /// on all messages sent to that channel. This is a developer API. /// /// /// <para> /// Channel flows process the following items: /// </para> /// <ol> <li> /// <para> /// New and updated messages /// </para> /// </li> <li> /// <para> /// Persistent and non-persistent messages /// </para> /// </li> <li> /// <para> /// The Standard message type /// </para> /// </li> </ol> <note> /// <para> /// Channel flows don't process Control or System messages. For more information about /// the message types provided by Chime SDK messaging, refer to <a href="https://docs.aws.amazon.com/chime/latest/dg/using-the-messaging-sdk.html#msg-types">Message /// types</a> in the <i>Amazon Chime developer guide</i>. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannelFlow service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelFlow">REST API Reference for CreateChannelFlow Operation</seealso> Task<CreateChannelFlowResponse> CreateChannelFlowAsync(CreateChannelFlowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateChannelMembership /// <summary> /// Adds a member to a channel. The <code>InvitedBy</code> field in <code>ChannelMembership</code> /// is derived from the request header. A channel member can: /// /// <ul> <li> /// <para> /// List messages /// </para> /// </li> <li> /// <para> /// Send messages /// </para> /// </li> <li> /// <para> /// Receive messages /// </para> /// </li> <li> /// <para> /// Edit their own messages /// </para> /// </li> <li> /// <para> /// Leave the channel /// </para> /// </li> </ul> /// <para> /// Privacy settings impact this action as follows: /// </para> /// <ul> <li> /// <para> /// Public Channels: You do not need to be a member to list messages, but you must be /// a member to send messages. /// </para> /// </li> <li> /// <para> /// Private Channels: You must be a member to list or send messages. /// </para> /// </li> </ul> <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUserArn</code> or <code>AppInstanceBot</code> that makes the API /// call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannelMembership service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateChannelMembership service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelMembership">REST API Reference for CreateChannelMembership Operation</seealso> Task<CreateChannelMembershipResponse> CreateChannelMembershipAsync(CreateChannelMembershipRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateChannelModerator /// <summary> /// Creates a new <code>ChannelModerator</code>. A channel moderator can: /// /// <ul> <li> /// <para> /// Add and remove other members of the channel. /// </para> /// </li> <li> /// <para> /// Add and remove other moderators of the channel. /// </para> /// </li> <li> /// <para> /// Add and remove user bans for the channel. /// </para> /// </li> <li> /// <para> /// Redact messages in the channel. /// </para> /// </li> <li> /// <para> /// List messages in the channel. /// </para> /// </li> </ul> <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code>of the user that makes /// the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateChannelModerator service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateChannelModerator service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/CreateChannelModerator">REST API Reference for CreateChannelModerator Operation</seealso> Task<CreateChannelModeratorResponse> CreateChannelModeratorAsync(CreateChannelModeratorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteChannel /// <summary> /// Immediately makes a channel and its memberships inaccessible and marks them for deletion. /// This is an irreversible process. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUserArn</code> or <code>AppInstanceBot</code> that makes the API /// call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannel service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteChannel service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannel">REST API Reference for DeleteChannel Operation</seealso> Task<DeleteChannelResponse> DeleteChannelAsync(DeleteChannelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteChannelBan /// <summary> /// Removes a member from a channel's ban list. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelBan service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteChannelBan service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelBan">REST API Reference for DeleteChannelBan Operation</seealso> Task<DeleteChannelBanResponse> DeleteChannelBanAsync(DeleteChannelBanRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteChannelFlow /// <summary> /// Deletes a channel flow, an irreversible process. This is a developer API. /// /// <note> /// <para> /// This API works only when the channel flow is not associated with any channel. To /// get a list of all channels that a channel flow is associated with, use the <code>ListChannelsAssociatedWithChannelFlow</code> /// API. Use the <code>DisassociateChannelFlow</code> API to disassociate a channel flow /// from all channels. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelFlow service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelFlow">REST API Reference for DeleteChannelFlow Operation</seealso> Task<DeleteChannelFlowResponse> DeleteChannelFlowAsync(DeleteChannelFlowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteChannelMembership /// <summary> /// Removes a member from a channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the <code>AppInstanceUserArn</code> /// of the user that makes the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelMembership service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteChannelMembership service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelMembership">REST API Reference for DeleteChannelMembership Operation</seealso> Task<DeleteChannelMembershipResponse> DeleteChannelMembershipAsync(DeleteChannelMembershipRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteChannelMessage /// <summary> /// Deletes a channel message. Only admins can perform this action. Deletion makes messages /// inaccessible immediately. A background process deletes any revisions created by <code>UpdateChannelMessage</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelMessage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelMessage">REST API Reference for DeleteChannelMessage Operation</seealso> Task<DeleteChannelMessageResponse> DeleteChannelMessageAsync(DeleteChannelMessageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteChannelModerator /// <summary> /// Deletes a channel moderator. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteChannelModerator service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteChannelModerator service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteChannelModerator">REST API Reference for DeleteChannelModerator Operation</seealso> Task<DeleteChannelModeratorResponse> DeleteChannelModeratorAsync(DeleteChannelModeratorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteMessagingStreamingConfigurations /// <summary> /// Deletes the streaming configurations for an <code>AppInstance</code>. For more information, /// see <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html">Streaming /// messaging data</a> in the <i>Amazon Chime SDK Developer Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteMessagingStreamingConfigurations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteMessagingStreamingConfigurations service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DeleteMessagingStreamingConfigurations">REST API Reference for DeleteMessagingStreamingConfigurations Operation</seealso> Task<DeleteMessagingStreamingConfigurationsResponse> DeleteMessagingStreamingConfigurationsAsync(DeleteMessagingStreamingConfigurationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeChannel /// <summary> /// Returns the full details of a channel in an Amazon Chime <code>AppInstance</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannel service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeChannel service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannel">REST API Reference for DescribeChannel Operation</seealso> Task<DescribeChannelResponse> DescribeChannelAsync(DescribeChannelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeChannelBan /// <summary> /// Returns the full details of a channel ban. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelBan service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeChannelBan service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelBan">REST API Reference for DescribeChannelBan Operation</seealso> Task<DescribeChannelBanResponse> DescribeChannelBanAsync(DescribeChannelBanRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeChannelFlow /// <summary> /// Returns the full details of a channel flow in an Amazon Chime <code>AppInstance</code>. /// This is a developer API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelFlow service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelFlow">REST API Reference for DescribeChannelFlow Operation</seealso> Task<DescribeChannelFlowResponse> DescribeChannelFlowAsync(DescribeChannelFlowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeChannelMembership /// <summary> /// Returns the full details of a user's channel membership. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelMembership service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeChannelMembership service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelMembership">REST API Reference for DescribeChannelMembership Operation</seealso> Task<DescribeChannelMembershipResponse> DescribeChannelMembershipAsync(DescribeChannelMembershipRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeChannelMembershipForAppInstanceUser /// <summary> /// Returns the details of a channel based on the membership of the specified <code>AppInstanceUser</code> /// or <code>AppInstanceBot</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelMembershipForAppInstanceUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeChannelMembershipForAppInstanceUser service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelMembershipForAppInstanceUser">REST API Reference for DescribeChannelMembershipForAppInstanceUser Operation</seealso> Task<DescribeChannelMembershipForAppInstanceUserResponse> DescribeChannelMembershipForAppInstanceUserAsync(DescribeChannelMembershipForAppInstanceUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeChannelModeratedByAppInstanceUser /// <summary> /// Returns the full details of a channel moderated by the specified <code>AppInstanceUser</code> /// or <code>AppInstanceBot</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelModeratedByAppInstanceUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeChannelModeratedByAppInstanceUser service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelModeratedByAppInstanceUser">REST API Reference for DescribeChannelModeratedByAppInstanceUser Operation</seealso> Task<DescribeChannelModeratedByAppInstanceUserResponse> DescribeChannelModeratedByAppInstanceUserAsync(DescribeChannelModeratedByAppInstanceUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeChannelModerator /// <summary> /// Returns the full details of a single ChannelModerator. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the <code>AppInstanceUserArn</code> /// of the user that makes the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeChannelModerator service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeChannelModerator service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DescribeChannelModerator">REST API Reference for DescribeChannelModerator Operation</seealso> Task<DescribeChannelModeratorResponse> DescribeChannelModeratorAsync(DescribeChannelModeratorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DisassociateChannelFlow /// <summary> /// Disassociates a channel flow from all its channels. Once disassociated, all messages /// to that channel stop going through the channel flow processor. /// /// <note> /// <para> /// Only administrators or channel moderators can disassociate a channel flow. /// </para> /// /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateChannelFlow service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DisassociateChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/DisassociateChannelFlow">REST API Reference for DisassociateChannelFlow Operation</seealso> Task<DisassociateChannelFlowResponse> DisassociateChannelFlowAsync(DisassociateChannelFlowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetChannelMembershipPreferences /// <summary> /// Gets the membership preferences of an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> /// for the specified channel. A user or a bot must be a member of the channel and own /// the membership in order to retrieve membership preferences. Users or bots in the <code>AppInstanceAdmin</code> /// and channel moderator roles can't retrieve preferences for other users or bots. Banned /// users or bots can't retrieve membership preferences for the channel from which they /// are banned. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetChannelMembershipPreferences service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetChannelMembershipPreferences service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMembershipPreferences">REST API Reference for GetChannelMembershipPreferences Operation</seealso> Task<GetChannelMembershipPreferencesResponse> GetChannelMembershipPreferencesAsync(GetChannelMembershipPreferencesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetChannelMessage /// <summary> /// Gets the full details of a channel message. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetChannelMessage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMessage">REST API Reference for GetChannelMessage Operation</seealso> Task<GetChannelMessageResponse> GetChannelMessageAsync(GetChannelMessageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetChannelMessageStatus /// <summary> /// Gets message status for a specified <code>messageId</code>. Use this API to determine /// the intermediate status of messages going through channel flow processing. The API /// provides an alternative to retrieving message status if the event was not received /// because a client wasn't connected to a websocket. /// /// /// <para> /// Messages can have any one of these statuses. /// </para> /// <dl> <dt>SENT</dt> <dd> /// <para> /// Message processed successfully /// </para> /// </dd> <dt>PENDING</dt> <dd> /// <para> /// Ongoing processing /// </para> /// </dd> <dt>FAILED</dt> <dd> /// <para> /// Processing failed /// </para> /// </dd> <dt>DENIED</dt> <dd> /// <para> /// Message denied by the processor /// </para> /// </dd> </dl> <note> <ul> <li> /// <para> /// This API does not return statuses for denied messages, because we don't store them /// once the processor denies them. /// </para> /// </li> <li> /// <para> /// Only the message sender can invoke this API. /// </para> /// </li> <li> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </li> </ul> </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetChannelMessageStatus service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetChannelMessageStatus service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetChannelMessageStatus">REST API Reference for GetChannelMessageStatus Operation</seealso> Task<GetChannelMessageStatusResponse> GetChannelMessageStatusAsync(GetChannelMessageStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetMessagingSessionEndpoint /// <summary> /// The details of the endpoint for the messaging session. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetMessagingSessionEndpoint service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetMessagingSessionEndpoint service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetMessagingSessionEndpoint">REST API Reference for GetMessagingSessionEndpoint Operation</seealso> Task<GetMessagingSessionEndpointResponse> GetMessagingSessionEndpointAsync(GetMessagingSessionEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetMessagingStreamingConfigurations /// <summary> /// Retrieves the data streaming configuration for an <code>AppInstance</code>. For more /// information, see <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html">Streaming /// messaging data</a> in the <i>Amazon Chime SDK Developer Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetMessagingStreamingConfigurations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetMessagingStreamingConfigurations service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/GetMessagingStreamingConfigurations">REST API Reference for GetMessagingStreamingConfigurations Operation</seealso> Task<GetMessagingStreamingConfigurationsResponse> GetMessagingStreamingConfigurationsAsync(GetMessagingStreamingConfigurationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListChannelBans /// <summary> /// Lists all the users and bots banned from a particular channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelBans service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListChannelBans service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelBans">REST API Reference for ListChannelBans Operation</seealso> Task<ListChannelBansResponse> ListChannelBansAsync(ListChannelBansRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListChannelFlows /// <summary> /// Returns a paginated lists of all the channel flows created under a single Chime. This /// is a developer API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelFlows service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListChannelFlows service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelFlows">REST API Reference for ListChannelFlows Operation</seealso> Task<ListChannelFlowsResponse> ListChannelFlowsAsync(ListChannelFlowsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListChannelMemberships /// <summary> /// Lists all channel memberships in a channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// <para> /// If you want to list the channels to which a specific app instance user belongs, see /// the <a href="https://docs.aws.amazon.com/chime/latest/APIReference/API_messaging-chime_ListChannelMembershipsForAppInstanceUser.html">ListChannelMembershipsForAppInstanceUser</a> /// API. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelMemberships service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListChannelMemberships service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMemberships">REST API Reference for ListChannelMemberships Operation</seealso> Task<ListChannelMembershipsResponse> ListChannelMembershipsAsync(ListChannelMembershipsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListChannelMembershipsForAppInstanceUser /// <summary> /// Lists all channels that an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> /// is a part of. Only an <code>AppInstanceAdmin</code> can call the API with a user ARN /// that is not their own. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelMembershipsForAppInstanceUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListChannelMembershipsForAppInstanceUser service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMembershipsForAppInstanceUser">REST API Reference for ListChannelMembershipsForAppInstanceUser Operation</seealso> Task<ListChannelMembershipsForAppInstanceUserResponse> ListChannelMembershipsForAppInstanceUserAsync(ListChannelMembershipsForAppInstanceUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListChannelMessages /// <summary> /// List all the messages in a channel. Returns a paginated list of <code>ChannelMessages</code>. /// By default, sorted by creation timestamp in descending order. /// /// <note> /// <para> /// Redacted messages appear in the results as empty, since they are only redacted, not /// deleted. Deleted messages do not appear in the results. This action always returns /// the latest version of an edited message. /// </para> /// /// <para> /// Also, the <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN /// of the <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the /// API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelMessages service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListChannelMessages service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelMessages">REST API Reference for ListChannelMessages Operation</seealso> Task<ListChannelMessagesResponse> ListChannelMessagesAsync(ListChannelMessagesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListChannelModerators /// <summary> /// Lists all the moderators for a channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelModerators service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListChannelModerators service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelModerators">REST API Reference for ListChannelModerators Operation</seealso> Task<ListChannelModeratorsResponse> ListChannelModeratorsAsync(ListChannelModeratorsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListChannels /// <summary> /// Lists all Channels created under a single Chime App as a paginated list. You can specify /// filters to narrow results. /// /// <p class="title"> <b>Functionality &amp; restrictions</b> /// </para> /// <ul> <li> /// <para> /// Use privacy = <code>PUBLIC</code> to retrieve all public channels in the account. /// </para> /// </li> <li> /// <para> /// Only an <code>AppInstanceAdmin</code> can set privacy = <code>PRIVATE</code> to list /// the private channels in an account. /// </para> /// </li> </ul> <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannels service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListChannels service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannels">REST API Reference for ListChannels Operation</seealso> Task<ListChannelsResponse> ListChannelsAsync(ListChannelsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListChannelsAssociatedWithChannelFlow /// <summary> /// Lists all channels associated with a specified channel flow. You can associate a channel /// flow with multiple channels, but you can only associate a channel with one channel /// flow. This is a developer API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelsAssociatedWithChannelFlow service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListChannelsAssociatedWithChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelsAssociatedWithChannelFlow">REST API Reference for ListChannelsAssociatedWithChannelFlow Operation</seealso> Task<ListChannelsAssociatedWithChannelFlowResponse> ListChannelsAssociatedWithChannelFlowAsync(ListChannelsAssociatedWithChannelFlowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListChannelsModeratedByAppInstanceUser /// <summary> /// A list of the channels moderated by an <code>AppInstanceUser</code>. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListChannelsModeratedByAppInstanceUser service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListChannelsModeratedByAppInstanceUser service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListChannelsModeratedByAppInstanceUser">REST API Reference for ListChannelsModeratedByAppInstanceUser Operation</seealso> Task<ListChannelsModeratedByAppInstanceUserResponse> ListChannelsModeratedByAppInstanceUserAsync(ListChannelsModeratedByAppInstanceUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListSubChannels /// <summary> /// Lists all the SubChannels in an elastic channel when given a channel ID. Available /// only to the app instance admins and channel moderators of elastic channels. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListSubChannels service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListSubChannels service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListSubChannels">REST API Reference for ListSubChannels Operation</seealso> Task<ListSubChannelsResponse> ListSubChannelsAsync(ListSubChannelsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListTagsForResource /// <summary> /// Lists the tags applied to an Amazon Chime SDK messaging 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 ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region PutChannelExpirationSettings /// <summary> /// Sets the number of days before the channel is automatically deleted. /// /// <note> <ul> <li> /// <para> /// A background process deletes expired channels within 6 hours of expiration. Actual /// deletion times may vary. /// </para> /// </li> <li> /// <para> /// Expired channels that have not yet been deleted appear as active, and you can update /// their expiration settings. The system honors the new settings. /// </para> /// </li> <li> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </li> </ul> </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutChannelExpirationSettings service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the PutChannelExpirationSettings service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutChannelExpirationSettings">REST API Reference for PutChannelExpirationSettings Operation</seealso> Task<PutChannelExpirationSettingsResponse> PutChannelExpirationSettingsAsync(PutChannelExpirationSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region PutChannelMembershipPreferences /// <summary> /// Sets the membership preferences of an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> /// for the specified channel. The user or bot must be a member of the channel. Only the /// user or bot who owns the membership can set preferences. Users or bots in the <code>AppInstanceAdmin</code> /// and channel moderator roles can't set preferences for other users. Banned users or /// bots can't set membership preferences for the channel from which they are banned. /// /// <note> /// <para> /// The x-amz-chime-bearer request header is mandatory. Use the ARN of an <code>AppInstanceUser</code> /// or <code>AppInstanceBot</code> that makes the API call as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutChannelMembershipPreferences service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the PutChannelMembershipPreferences service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutChannelMembershipPreferences">REST API Reference for PutChannelMembershipPreferences Operation</seealso> Task<PutChannelMembershipPreferencesResponse> PutChannelMembershipPreferencesAsync(PutChannelMembershipPreferencesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region PutMessagingStreamingConfigurations /// <summary> /// Sets the data streaming configuration for an <code>AppInstance</code>. For more information, /// see <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/streaming-export.html">Streaming /// messaging data</a> in the <i>Amazon Chime SDK Developer Guide</i>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the PutMessagingStreamingConfigurations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the PutMessagingStreamingConfigurations service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.NotFoundException"> /// One or more of the resources in the request does not exist in the system. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/PutMessagingStreamingConfigurations">REST API Reference for PutMessagingStreamingConfigurations Operation</seealso> Task<PutMessagingStreamingConfigurationsResponse> PutMessagingStreamingConfigurationsAsync(PutMessagingStreamingConfigurationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region RedactChannelMessage /// <summary> /// Redacts message content, but not metadata. The message exists in the back end, but /// the action returns null content, and the state shows as redacted. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the RedactChannelMessage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the RedactChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/RedactChannelMessage">REST API Reference for RedactChannelMessage Operation</seealso> Task<RedactChannelMessageResponse> RedactChannelMessageAsync(RedactChannelMessageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region SearchChannels /// <summary> /// Allows the <code>ChimeBearer</code> to search channels by channel members. Users or /// bots can search across the channels that they belong to. Users in the <code>AppInstanceAdmin</code> /// role can search across all channels. /// /// /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the SearchChannels service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the SearchChannels service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/SearchChannels">REST API Reference for SearchChannels Operation</seealso> Task<SearchChannelsResponse> SearchChannelsAsync(SearchChannelsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region SendChannelMessage /// <summary> /// Sends a message to a particular channel that the member is a part of. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// /// <para> /// Also, <code>STANDARD</code> messages can be up to 4KB in size and contain metadata. /// Metadata is arbitrary, and you can use it in a variety of ways, such as containing /// a link to an attachment. /// </para> /// /// <para> /// <code>CONTROL</code> messages are limited to 30 bytes and do not contain metadata. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the SendChannelMessage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the SendChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/SendChannelMessage">REST API Reference for SendChannelMessage Operation</seealso> Task<SendChannelMessageResponse> SendChannelMessageAsync(SendChannelMessageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region TagResource /// <summary> /// Applies the specified tags to the specified Amazon Chime SDK messaging 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 ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ResourceLimitExceededException"> /// The request exceeds the resource limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/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 messaging 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 ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UntagResource">REST API Reference for UntagResource Operation</seealso> Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateChannel /// <summary> /// Update a channel's attributes. /// /// /// <para> /// <b>Restriction</b>: You can't change a channel's privacy. /// </para> /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateChannel service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateChannel service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannel">REST API Reference for UpdateChannel Operation</seealso> Task<UpdateChannelResponse> UpdateChannelAsync(UpdateChannelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateChannelFlow /// <summary> /// Updates channel flow attributes. This is a developer API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateChannelFlow service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateChannelFlow service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelFlow">REST API Reference for UpdateChannelFlow Operation</seealso> Task<UpdateChannelFlowResponse> UpdateChannelFlowAsync(UpdateChannelFlowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateChannelMessage /// <summary> /// Updates the content of a message. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateChannelMessage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateChannelMessage service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelMessage">REST API Reference for UpdateChannelMessage Operation</seealso> Task<UpdateChannelMessageResponse> UpdateChannelMessageAsync(UpdateChannelMessageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateChannelReadMarker /// <summary> /// The details of the time when a user last read messages in a channel. /// /// <note> /// <para> /// The <code>x-amz-chime-bearer</code> request header is mandatory. Use the ARN of the /// <code>AppInstanceUser</code> or <code>AppInstanceBot</code> that makes the API call /// as the value in the header. /// </para> /// </note> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateChannelReadMarker service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateChannelReadMarker service method, as returned by ChimeSDKMessaging.</returns> /// <exception cref="Amazon.ChimeSDKMessaging.Model.BadRequestException"> /// The input parameters don't match the service's restrictions. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ConflictException"> /// The request could not be processed because of conflict in the current state of the /// resource. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ForbiddenException"> /// The client is permanently forbidden from making the request. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceFailureException"> /// The service encountered an unexpected error. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ServiceUnavailableException"> /// The service is currently unavailable. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.ThrottledClientException"> /// The client exceeded its request rate limit. /// </exception> /// <exception cref="Amazon.ChimeSDKMessaging.Model.UnauthorizedClientException"> /// The client is not currently authorized to make the request. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/chime-sdk-messaging-2021-05-15/UpdateChannelReadMarker">REST API Reference for UpdateChannelReadMarker Operation</seealso> Task<UpdateChannelReadMarkerResponse> UpdateChannelReadMarkerAsync(UpdateChannelReadMarkerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion } }
2,527
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.ChimeSDKMessaging")] #if BCL35 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - Amazon Chime SDK Messaging. The Amazon Chime SDK Messaging APIs allow software developers to send and receive messages in custom messaging applications.")] #elif BCL45 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (4.5) - Amazon Chime SDK Messaging. The Amazon Chime SDK Messaging APIs allow software developers to send and receive messages in custom messaging applications.")] #elif NETSTANDARD20 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (NetStandard 2.0) - Amazon Chime SDK Messaging. The Amazon Chime SDK Messaging APIs allow software developers to send and receive messages in custom messaging applications.")] #elif NETCOREAPP3_1 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (.NET Core 3.1) - Amazon Chime SDK Messaging. The Amazon Chime SDK Messaging APIs allow software developers to send and receive messages in custom 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.104.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-voice-2022-08-03.normal.json service model. */ using System; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Util.Internal; using Amazon.ChimeSDKVoice.Internal; namespace Amazon.ChimeSDKVoice { /// <summary> /// Configuration for accessing Amazon ChimeSDKVoice service /// </summary> [AWSSignerType("v4")] public partial class AmazonChimeSDKVoiceConfig : ClientConfig { private static readonly string UserAgentString = InternalSDKUtils.BuildUserAgentString("3.7.105.10"); private string _userAgent = UserAgentString; /// <summary> /// Default constructor /// </summary> public AmazonChimeSDKVoiceConfig() : base(new Amazon.Runtime.Internal.DefaultConfigurationProvider(AmazonChimeSDKVoiceDefaultConfiguration.GetAllConfigurations())) { this.AuthenticationServiceName = "chime"; this.EndpointProvider = new AmazonChimeSDKVoiceEndpointProvider(); } /// <summary> /// The constant used to lookup in the region hash the endpoint. /// </summary> public override string RegionEndpointServiceName { get { return "voice-chime"; } } /// <summary> /// Gets the ServiceVersion property. /// </summary> public override string ServiceVersion { get { return "2022-08-03"; } } /// <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-voice-2022-08-03.normal.json service model. */ using System; using System.Collections.Generic; using System.Collections.ObjectModel; using Amazon.Runtime; namespace Amazon.ChimeSDKVoice { /// <summary> /// Configuration for accessing Amazon ChimeSDKVoice service /// </summary> public static class AmazonChimeSDKVoiceDefaultConfiguration { /// <summary> /// Collection of all <see cref="DefaultConfiguration"/>s supported by /// ChimeSDKVoice /// </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-voice-2022-08-03.normal.json service model. */ using Amazon.Runtime; using Amazon.Runtime.Endpoints; namespace Amazon.ChimeSDKVoice.Endpoints { /// <summary> /// Contains parameters used for resolving ChimeSDKVoice endpoints /// Parameters can be sourced from client config and service operations /// Used by internal ChimeSDKVoiceEndpointProvider and ChimeSDKVoiceEndpointResolver /// Can be used by custom EndpointProvider, see ClientConfig.EndpointProvider /// </summary> public class ChimeSDKVoiceEndpointParameters : EndpointParameters { /// <summary> /// ChimeSDKVoiceEndpointParameters constructor /// </summary> public ChimeSDKVoiceEndpointParameters() { 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-voice-2022-08-03.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using System.Text; using Amazon.Runtime; namespace Amazon.ChimeSDKVoice { ///<summary> /// Common exception for the ChimeSDKVoice service. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class AmazonChimeSDKVoiceException : AmazonServiceException { /// <summary> /// Construct instance of AmazonChimeSDKVoiceException /// </summary> /// <param name="message"></param> public AmazonChimeSDKVoiceException(string message) : base(message) { } /// <summary> /// Construct instance of AmazonChimeSDKVoiceException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public AmazonChimeSDKVoiceException(string message, Exception innerException) : base(message, innerException) { } /// <summary> /// Construct instance of AmazonChimeSDKVoiceException /// </summary> /// <param name="innerException"></param> public AmazonChimeSDKVoiceException(Exception innerException) : base(innerException.Message, innerException) { } /// <summary> /// Construct instance of AmazonChimeSDKVoiceException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public AmazonChimeSDKVoiceException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) { } /// <summary> /// Construct instance of AmazonChimeSDKVoiceException /// </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 AmazonChimeSDKVoiceException(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 AmazonChimeSDKVoiceException 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 AmazonChimeSDKVoiceException(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-voice-2022-08-03.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.ChimeSDKVoice { /// <summary> /// Constants used for properties of type AlexaSkillStatus. /// </summary> public class AlexaSkillStatus : ConstantClass { /// <summary> /// Constant ACTIVE for AlexaSkillStatus /// </summary> public static readonly AlexaSkillStatus ACTIVE = new AlexaSkillStatus("ACTIVE"); /// <summary> /// Constant INACTIVE for AlexaSkillStatus /// </summary> public static readonly AlexaSkillStatus INACTIVE = new AlexaSkillStatus("INACTIVE"); /// <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 AlexaSkillStatus(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 AlexaSkillStatus FindValue(string value) { return FindValue<AlexaSkillStatus>(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 AlexaSkillStatus(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type CallingNameStatus. /// </summary> public class CallingNameStatus : ConstantClass { /// <summary> /// Constant Unassigned for CallingNameStatus /// </summary> public static readonly CallingNameStatus Unassigned = new CallingNameStatus("Unassigned"); /// <summary> /// Constant UpdateFailed for CallingNameStatus /// </summary> public static readonly CallingNameStatus UpdateFailed = new CallingNameStatus("UpdateFailed"); /// <summary> /// Constant UpdateInProgress for CallingNameStatus /// </summary> public static readonly CallingNameStatus UpdateInProgress = new CallingNameStatus("UpdateInProgress"); /// <summary> /// Constant UpdateSucceeded for CallingNameStatus /// </summary> public static readonly CallingNameStatus UpdateSucceeded = new CallingNameStatus("UpdateSucceeded"); /// <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 CallingNameStatus(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 CallingNameStatus FindValue(string value) { return FindValue<CallingNameStatus>(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 CallingNameStatus(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type CallLegType. /// </summary> public class CallLegType : ConstantClass { /// <summary> /// Constant Callee for CallLegType /// </summary> public static readonly CallLegType Callee = new CallLegType("Callee"); /// <summary> /// Constant Caller for CallLegType /// </summary> public static readonly CallLegType Caller = new CallLegType("Caller"); /// <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 CallLegType(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 CallLegType FindValue(string value) { return FindValue<CallLegType>(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 CallLegType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type Capability. /// </summary> public class Capability : ConstantClass { /// <summary> /// Constant SMS for Capability /// </summary> public static readonly Capability SMS = new Capability("SMS"); /// <summary> /// Constant Voice for Capability /// </summary> public static readonly Capability Voice = new Capability("Voice"); /// <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 Capability(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 Capability FindValue(string value) { return FindValue<Capability>(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 Capability(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type ErrorCode. /// </summary> public class ErrorCode : ConstantClass { /// <summary> /// Constant AccessDenied for ErrorCode /// </summary> public static readonly ErrorCode AccessDenied = new ErrorCode("AccessDenied"); /// <summary> /// Constant BadRequest for ErrorCode /// </summary> public static readonly ErrorCode BadRequest = new ErrorCode("BadRequest"); /// <summary> /// Constant Conflict for ErrorCode /// </summary> public static readonly ErrorCode Conflict = new ErrorCode("Conflict"); /// <summary> /// Constant Forbidden for ErrorCode /// </summary> public static readonly ErrorCode Forbidden = new ErrorCode("Forbidden"); /// <summary> /// Constant Gone for ErrorCode /// </summary> public static readonly ErrorCode Gone = new ErrorCode("Gone"); /// <summary> /// Constant NotFound for ErrorCode /// </summary> public static readonly ErrorCode NotFound = new ErrorCode("NotFound"); /// <summary> /// Constant PhoneNumberAssociationsExist for ErrorCode /// </summary> public static readonly ErrorCode PhoneNumberAssociationsExist = new ErrorCode("PhoneNumberAssociationsExist"); /// <summary> /// Constant PreconditionFailed for ErrorCode /// </summary> public static readonly ErrorCode PreconditionFailed = new ErrorCode("PreconditionFailed"); /// <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 Throttled for ErrorCode /// </summary> public static readonly ErrorCode Throttled = new ErrorCode("Throttled"); /// <summary> /// Constant Throttling for ErrorCode /// </summary> public static readonly ErrorCode Throttling = new ErrorCode("Throttling"); /// <summary> /// Constant Unauthorized for ErrorCode /// </summary> public static readonly ErrorCode Unauthorized = new ErrorCode("Unauthorized"); /// <summary> /// Constant Unprocessable for ErrorCode /// </summary> public static readonly ErrorCode Unprocessable = new ErrorCode("Unprocessable"); /// <summary> /// Constant VoiceConnectorGroupAssociationsExist for ErrorCode /// </summary> public static readonly ErrorCode VoiceConnectorGroupAssociationsExist = new ErrorCode("VoiceConnectorGroupAssociationsExist"); /// <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 GeoMatchLevel. /// </summary> public class GeoMatchLevel : ConstantClass { /// <summary> /// Constant AreaCode for GeoMatchLevel /// </summary> public static readonly GeoMatchLevel AreaCode = new GeoMatchLevel("AreaCode"); /// <summary> /// Constant Country for GeoMatchLevel /// </summary> public static readonly GeoMatchLevel Country = new GeoMatchLevel("Country"); /// <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 GeoMatchLevel(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 GeoMatchLevel FindValue(string value) { return FindValue<GeoMatchLevel>(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 GeoMatchLevel(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type LanguageCode. /// </summary> public class LanguageCode : ConstantClass { /// <summary> /// Constant EnUS for LanguageCode /// </summary> public static readonly LanguageCode EnUS = new LanguageCode("en-US"); /// <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 LanguageCode(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 LanguageCode FindValue(string value) { return FindValue<LanguageCode>(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 LanguageCode(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type NotificationTarget. /// </summary> public class NotificationTarget : ConstantClass { /// <summary> /// Constant EventBridge for NotificationTarget /// </summary> public static readonly NotificationTarget EventBridge = new NotificationTarget("EventBridge"); /// <summary> /// Constant SNS for NotificationTarget /// </summary> public static readonly NotificationTarget SNS = new NotificationTarget("SNS"); /// <summary> /// Constant SQS for NotificationTarget /// </summary> public static readonly NotificationTarget SQS = new NotificationTarget("SQS"); /// <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 NotificationTarget(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 NotificationTarget FindValue(string value) { return FindValue<NotificationTarget>(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 NotificationTarget(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type NumberSelectionBehavior. /// </summary> public class NumberSelectionBehavior : ConstantClass { /// <summary> /// Constant AvoidSticky for NumberSelectionBehavior /// </summary> public static readonly NumberSelectionBehavior AvoidSticky = new NumberSelectionBehavior("AvoidSticky"); /// <summary> /// Constant PreferSticky for NumberSelectionBehavior /// </summary> public static readonly NumberSelectionBehavior PreferSticky = new NumberSelectionBehavior("PreferSticky"); /// <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 NumberSelectionBehavior(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 NumberSelectionBehavior FindValue(string value) { return FindValue<NumberSelectionBehavior>(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 NumberSelectionBehavior(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type OrderedPhoneNumberStatus. /// </summary> public class OrderedPhoneNumberStatus : ConstantClass { /// <summary> /// Constant Acquired for OrderedPhoneNumberStatus /// </summary> public static readonly OrderedPhoneNumberStatus Acquired = new OrderedPhoneNumberStatus("Acquired"); /// <summary> /// Constant Failed for OrderedPhoneNumberStatus /// </summary> public static readonly OrderedPhoneNumberStatus Failed = new OrderedPhoneNumberStatus("Failed"); /// <summary> /// Constant Processing for OrderedPhoneNumberStatus /// </summary> public static readonly OrderedPhoneNumberStatus Processing = new OrderedPhoneNumberStatus("Processing"); /// <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 OrderedPhoneNumberStatus(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 OrderedPhoneNumberStatus FindValue(string value) { return FindValue<OrderedPhoneNumberStatus>(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 OrderedPhoneNumberStatus(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type OriginationRouteProtocol. /// </summary> public class OriginationRouteProtocol : ConstantClass { /// <summary> /// Constant TCP for OriginationRouteProtocol /// </summary> public static readonly OriginationRouteProtocol TCP = new OriginationRouteProtocol("TCP"); /// <summary> /// Constant UDP for OriginationRouteProtocol /// </summary> public static readonly OriginationRouteProtocol UDP = new OriginationRouteProtocol("UDP"); /// <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 OriginationRouteProtocol(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 OriginationRouteProtocol FindValue(string value) { return FindValue<OriginationRouteProtocol>(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 OriginationRouteProtocol(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type PhoneNumberAssociationName. /// </summary> public class PhoneNumberAssociationName : ConstantClass { /// <summary> /// Constant SipRuleId for PhoneNumberAssociationName /// </summary> public static readonly PhoneNumberAssociationName SipRuleId = new PhoneNumberAssociationName("SipRuleId"); /// <summary> /// Constant VoiceConnectorGroupId for PhoneNumberAssociationName /// </summary> public static readonly PhoneNumberAssociationName VoiceConnectorGroupId = new PhoneNumberAssociationName("VoiceConnectorGroupId"); /// <summary> /// Constant VoiceConnectorId for PhoneNumberAssociationName /// </summary> public static readonly PhoneNumberAssociationName VoiceConnectorId = new PhoneNumberAssociationName("VoiceConnectorId"); /// <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 PhoneNumberAssociationName(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 PhoneNumberAssociationName FindValue(string value) { return FindValue<PhoneNumberAssociationName>(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 PhoneNumberAssociationName(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type PhoneNumberOrderStatus. /// </summary> public class PhoneNumberOrderStatus : ConstantClass { /// <summary> /// Constant Cancelled for PhoneNumberOrderStatus /// </summary> public static readonly PhoneNumberOrderStatus Cancelled = new PhoneNumberOrderStatus("Cancelled"); /// <summary> /// Constant CancelRequested for PhoneNumberOrderStatus /// </summary> public static readonly PhoneNumberOrderStatus CancelRequested = new PhoneNumberOrderStatus("CancelRequested"); /// <summary> /// Constant ChangeRequested for PhoneNumberOrderStatus /// </summary> public static readonly PhoneNumberOrderStatus ChangeRequested = new PhoneNumberOrderStatus("ChangeRequested"); /// <summary> /// Constant Exception for PhoneNumberOrderStatus /// </summary> public static readonly PhoneNumberOrderStatus Exception = new PhoneNumberOrderStatus("Exception"); /// <summary> /// Constant Failed for PhoneNumberOrderStatus /// </summary> public static readonly PhoneNumberOrderStatus Failed = new PhoneNumberOrderStatus("Failed"); /// <summary> /// Constant FOC for PhoneNumberOrderStatus /// </summary> public static readonly PhoneNumberOrderStatus FOC = new PhoneNumberOrderStatus("FOC"); /// <summary> /// Constant Partial for PhoneNumberOrderStatus /// </summary> public static readonly PhoneNumberOrderStatus Partial = new PhoneNumberOrderStatus("Partial"); /// <summary> /// Constant PendingDocuments for PhoneNumberOrderStatus /// </summary> public static readonly PhoneNumberOrderStatus PendingDocuments = new PhoneNumberOrderStatus("PendingDocuments"); /// <summary> /// Constant Processing for PhoneNumberOrderStatus /// </summary> public static readonly PhoneNumberOrderStatus Processing = new PhoneNumberOrderStatus("Processing"); /// <summary> /// Constant Submitted for PhoneNumberOrderStatus /// </summary> public static readonly PhoneNumberOrderStatus Submitted = new PhoneNumberOrderStatus("Submitted"); /// <summary> /// Constant Successful for PhoneNumberOrderStatus /// </summary> public static readonly PhoneNumberOrderStatus Successful = new PhoneNumberOrderStatus("Successful"); /// <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 PhoneNumberOrderStatus(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 PhoneNumberOrderStatus FindValue(string value) { return FindValue<PhoneNumberOrderStatus>(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 PhoneNumberOrderStatus(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type PhoneNumberOrderType. /// </summary> public class PhoneNumberOrderType : ConstantClass { /// <summary> /// Constant New for PhoneNumberOrderType /// </summary> public static readonly PhoneNumberOrderType New = new PhoneNumberOrderType("New"); /// <summary> /// Constant Porting for PhoneNumberOrderType /// </summary> public static readonly PhoneNumberOrderType Porting = new PhoneNumberOrderType("Porting"); /// <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 PhoneNumberOrderType(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 PhoneNumberOrderType FindValue(string value) { return FindValue<PhoneNumberOrderType>(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 PhoneNumberOrderType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type PhoneNumberProductType. /// </summary> public class PhoneNumberProductType : ConstantClass { /// <summary> /// Constant SipMediaApplicationDialIn for PhoneNumberProductType /// </summary> public static readonly PhoneNumberProductType SipMediaApplicationDialIn = new PhoneNumberProductType("SipMediaApplicationDialIn"); /// <summary> /// Constant VoiceConnector for PhoneNumberProductType /// </summary> public static readonly PhoneNumberProductType VoiceConnector = new PhoneNumberProductType("VoiceConnector"); /// <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 PhoneNumberProductType(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 PhoneNumberProductType FindValue(string value) { return FindValue<PhoneNumberProductType>(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 PhoneNumberProductType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type PhoneNumberStatus. /// </summary> public class PhoneNumberStatus : ConstantClass { /// <summary> /// Constant AcquireFailed for PhoneNumberStatus /// </summary> public static readonly PhoneNumberStatus AcquireFailed = new PhoneNumberStatus("AcquireFailed"); /// <summary> /// Constant AcquireInProgress for PhoneNumberStatus /// </summary> public static readonly PhoneNumberStatus AcquireInProgress = new PhoneNumberStatus("AcquireInProgress"); /// <summary> /// Constant Assigned for PhoneNumberStatus /// </summary> public static readonly PhoneNumberStatus Assigned = new PhoneNumberStatus("Assigned"); /// <summary> /// Constant Cancelled for PhoneNumberStatus /// </summary> public static readonly PhoneNumberStatus Cancelled = new PhoneNumberStatus("Cancelled"); /// <summary> /// Constant DeleteFailed for PhoneNumberStatus /// </summary> public static readonly PhoneNumberStatus DeleteFailed = new PhoneNumberStatus("DeleteFailed"); /// <summary> /// Constant DeleteInProgress for PhoneNumberStatus /// </summary> public static readonly PhoneNumberStatus DeleteInProgress = new PhoneNumberStatus("DeleteInProgress"); /// <summary> /// Constant PortinCancelRequested for PhoneNumberStatus /// </summary> public static readonly PhoneNumberStatus PortinCancelRequested = new PhoneNumberStatus("PortinCancelRequested"); /// <summary> /// Constant PortinInProgress for PhoneNumberStatus /// </summary> public static readonly PhoneNumberStatus PortinInProgress = new PhoneNumberStatus("PortinInProgress"); /// <summary> /// Constant ReleaseFailed for PhoneNumberStatus /// </summary> public static readonly PhoneNumberStatus ReleaseFailed = new PhoneNumberStatus("ReleaseFailed"); /// <summary> /// Constant ReleaseInProgress for PhoneNumberStatus /// </summary> public static readonly PhoneNumberStatus ReleaseInProgress = new PhoneNumberStatus("ReleaseInProgress"); /// <summary> /// Constant Unassigned for PhoneNumberStatus /// </summary> public static readonly PhoneNumberStatus Unassigned = new PhoneNumberStatus("Unassigned"); /// <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 PhoneNumberStatus(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 PhoneNumberStatus FindValue(string value) { return FindValue<PhoneNumberStatus>(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 PhoneNumberStatus(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type PhoneNumberType. /// </summary> public class PhoneNumberType : ConstantClass { /// <summary> /// Constant Local for PhoneNumberType /// </summary> public static readonly PhoneNumberType Local = new PhoneNumberType("Local"); /// <summary> /// Constant TollFree for PhoneNumberType /// </summary> public static readonly PhoneNumberType TollFree = new PhoneNumberType("TollFree"); /// <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 PhoneNumberType(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 PhoneNumberType FindValue(string value) { return FindValue<PhoneNumberType>(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 PhoneNumberType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type ProxySessionStatus. /// </summary> public class ProxySessionStatus : ConstantClass { /// <summary> /// Constant Closed for ProxySessionStatus /// </summary> public static readonly ProxySessionStatus Closed = new ProxySessionStatus("Closed"); /// <summary> /// Constant InProgress for ProxySessionStatus /// </summary> public static readonly ProxySessionStatus InProgress = new ProxySessionStatus("InProgress"); /// <summary> /// Constant Open for ProxySessionStatus /// </summary> public static readonly ProxySessionStatus Open = new ProxySessionStatus("Open"); /// <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 ProxySessionStatus(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 ProxySessionStatus FindValue(string value) { return FindValue<ProxySessionStatus>(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 ProxySessionStatus(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type SipRuleTriggerType. /// </summary> public class SipRuleTriggerType : ConstantClass { /// <summary> /// Constant RequestUriHostname for SipRuleTriggerType /// </summary> public static readonly SipRuleTriggerType RequestUriHostname = new SipRuleTriggerType("RequestUriHostname"); /// <summary> /// Constant ToPhoneNumber for SipRuleTriggerType /// </summary> public static readonly SipRuleTriggerType ToPhoneNumber = new SipRuleTriggerType("ToPhoneNumber"); /// <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 SipRuleTriggerType(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 SipRuleTriggerType FindValue(string value) { return FindValue<SipRuleTriggerType>(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 SipRuleTriggerType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type VoiceConnectorAwsRegion. /// </summary> public class VoiceConnectorAwsRegion : ConstantClass { /// <summary> /// Constant ApNortheast1 for VoiceConnectorAwsRegion /// </summary> public static readonly VoiceConnectorAwsRegion ApNortheast1 = new VoiceConnectorAwsRegion("ap-northeast-1"); /// <summary> /// Constant ApNortheast2 for VoiceConnectorAwsRegion /// </summary> public static readonly VoiceConnectorAwsRegion ApNortheast2 = new VoiceConnectorAwsRegion("ap-northeast-2"); /// <summary> /// Constant ApSoutheast1 for VoiceConnectorAwsRegion /// </summary> public static readonly VoiceConnectorAwsRegion ApSoutheast1 = new VoiceConnectorAwsRegion("ap-southeast-1"); /// <summary> /// Constant ApSoutheast2 for VoiceConnectorAwsRegion /// </summary> public static readonly VoiceConnectorAwsRegion ApSoutheast2 = new VoiceConnectorAwsRegion("ap-southeast-2"); /// <summary> /// Constant CaCentral1 for VoiceConnectorAwsRegion /// </summary> public static readonly VoiceConnectorAwsRegion CaCentral1 = new VoiceConnectorAwsRegion("ca-central-1"); /// <summary> /// Constant EuCentral1 for VoiceConnectorAwsRegion /// </summary> public static readonly VoiceConnectorAwsRegion EuCentral1 = new VoiceConnectorAwsRegion("eu-central-1"); /// <summary> /// Constant EuWest1 for VoiceConnectorAwsRegion /// </summary> public static readonly VoiceConnectorAwsRegion EuWest1 = new VoiceConnectorAwsRegion("eu-west-1"); /// <summary> /// Constant EuWest2 for VoiceConnectorAwsRegion /// </summary> public static readonly VoiceConnectorAwsRegion EuWest2 = new VoiceConnectorAwsRegion("eu-west-2"); /// <summary> /// Constant UsEast1 for VoiceConnectorAwsRegion /// </summary> public static readonly VoiceConnectorAwsRegion UsEast1 = new VoiceConnectorAwsRegion("us-east-1"); /// <summary> /// Constant UsWest2 for VoiceConnectorAwsRegion /// </summary> public static readonly VoiceConnectorAwsRegion UsWest2 = new VoiceConnectorAwsRegion("us-west-2"); /// <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 VoiceConnectorAwsRegion(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 VoiceConnectorAwsRegion FindValue(string value) { return FindValue<VoiceConnectorAwsRegion>(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 VoiceConnectorAwsRegion(string value) { return FindValue(value); } } }
1,206
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-voice-2022-08-03.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.ChimeSDKVoice.Internal { /// <summary> /// Amazon ChimeSDKVoice endpoint provider. /// Resolves endpoint for given set of ChimeSDKVoiceEndpointParameters. /// Can throw AmazonClientException if endpoint resolution is unsuccessful. /// </summary> public class AmazonChimeSDKVoiceEndpointProvider : IEndpointProvider { /// <summary> /// Resolve endpoint for ChimeSDKVoiceEndpointParameters /// </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://voice-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://voice-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://voice-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://voice-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-voice-2022-08-03.normal.json service model. */ using System; using Amazon.ChimeSDKVoice.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Endpoints; using Amazon.Util; using Amazon.ChimeSDKVoice.Endpoints; #pragma warning disable 1591 namespace Amazon.ChimeSDKVoice.Internal { /// <summary> /// Amazon ChimeSDKVoice endpoint resolver. /// Custom PipelineHandler responsible for resolving endpoint and setting authentication parameters for ChimeSDKVoice service requests. /// Collects values for ChimeSDKVoiceEndpointParameters and then tries to resolve endpoint by calling /// ResolveEndpoint method on GlobalEndpoints.Provider if present, otherwise uses ChimeSDKVoiceEndpointProvider. /// Responsible for setting authentication and http headers provided by resolved endpoint. /// </summary> public class AmazonChimeSDKVoiceEndpointResolver : BaseEndpointResolver { protected override void ServiceSpecificHandler(IExecutionContext executionContext, EndpointParameters parameters) { InjectHostPrefix(executionContext.RequestContext); } protected override EndpointParameters MapEndpointsParameters(IRequestContext requestContext) { var config = (AmazonChimeSDKVoiceConfig)requestContext.ClientConfig; var result = new ChimeSDKVoiceEndpointParameters(); 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-voice-2022-08-03.normal.json service model. */ using Amazon.Runtime.Internal; namespace Amazon.ChimeSDKVoice.Internal { /// <summary> /// Service metadata for Amazon ChimeSDKVoice service /// </summary> public partial class AmazonChimeSDKVoiceMetadata : IServiceMetadata { /// <summary> /// Gets the value of the Service Id. /// </summary> public string ServiceId { get { return "Chime SDK Voice"; } } /// <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-voice-2022-08-03.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.ChimeSDKVoice.Model { /// <summary> /// You don't have the permissions needed to run this action. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class AccessDeniedException : AmazonChimeSDKVoiceException { /// <summary> /// Constructs a new AccessDeniedException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public AccessDeniedException(string message) : base(message) {} /// <summary> /// Construct instance of AccessDeniedException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public AccessDeniedException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of AccessDeniedException /// </summary> /// <param name="innerException"></param> public AccessDeniedException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of AccessDeniedException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public AccessDeniedException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of AccessDeniedException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public AccessDeniedException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the AccessDeniedException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected AccessDeniedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); } #endif } }
124
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the chime-sdk-voice-2022-08-03.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.ChimeSDKVoice.Model { /// <summary> /// A validated address. /// </summary> public partial class Address { private string _city; private string _country; private string _postalCode; private string _postalCodePlus4; private string _postDirectional; private string _preDirectional; private string _state; private string _streetName; private string _streetNumber; private string _streetSuffix; /// <summary> /// Gets and sets the property City. /// <para> /// The city of an address. /// </para> /// </summary> [AWSProperty(Sensitive=true)] public string City { get { return this._city; } set { this._city = value; } } // Check to see if City property is set internal bool IsSetCity() { return this._city != null; } /// <summary> /// Gets and sets the property Country. /// <para> /// The country of an address. /// </para> /// </summary> [AWSProperty(Sensitive=true)] public string Country { get { return this._country; } set { this._country = value; } } // Check to see if Country property is set internal bool IsSetCountry() { return this._country != null; } /// <summary> /// Gets and sets the property PostalCode. /// <para> /// The postal code of an address. /// </para> /// </summary> [AWSProperty(Sensitive=true)] public string PostalCode { get { return this._postalCode; } set { this._postalCode = value; } } // Check to see if PostalCode property is set internal bool IsSetPostalCode() { return this._postalCode != null; } /// <summary> /// Gets and sets the property PostalCodePlus4. /// <para> /// The zip + 4 or postal code + 4 of an address. /// </para> /// </summary> [AWSProperty(Sensitive=true)] public string PostalCodePlus4 { get { return this._postalCodePlus4; } set { this._postalCodePlus4 = value; } } // Check to see if PostalCodePlus4 property is set internal bool IsSetPostalCodePlus4() { return this._postalCodePlus4 != null; } /// <summary> /// Gets and sets the property PostDirectional. /// <para> /// An address suffix location, such as the <code>S. Unit A</code> in <code>Central Park /// S. Unit A</code>. /// </para> /// </summary> [AWSProperty(Sensitive=true)] public string PostDirectional { get { return this._postDirectional; } set { this._postDirectional = value; } } // Check to see if PostDirectional property is set internal bool IsSetPostDirectional() { return this._postDirectional != null; } /// <summary> /// Gets and sets the property PreDirectional. /// <para> /// An address prefix location, such as the <code>N</code> in <code>N. Third St.</code> /// /// </para> /// </summary> [AWSProperty(Sensitive=true)] public string PreDirectional { get { return this._preDirectional; } set { this._preDirectional = value; } } // Check to see if PreDirectional property is set internal bool IsSetPreDirectional() { return this._preDirectional != null; } /// <summary> /// Gets and sets the property State. /// <para> /// The state of an address. /// </para> /// </summary> [AWSProperty(Sensitive=true)] public string State { get { return this._state; } set { this._state = value; } } // Check to see if State property is set internal bool IsSetState() { return this._state != null; } /// <summary> /// Gets and sets the property StreetName. /// <para> /// The address street, such as <code>8th Avenue</code>. /// </para> /// </summary> [AWSProperty(Sensitive=true)] public string StreetName { get { return this._streetName; } set { this._streetName = value; } } // Check to see if StreetName property is set internal bool IsSetStreetName() { return this._streetName != null; } /// <summary> /// Gets and sets the property StreetNumber. /// <para> /// The numeric portion of an address. /// </para> /// </summary> [AWSProperty(Sensitive=true)] public string StreetNumber { get { return this._streetNumber; } set { this._streetNumber = value; } } // Check to see if StreetNumber property is set internal bool IsSetStreetNumber() { return this._streetNumber != null; } /// <summary> /// Gets and sets the property StreetSuffix. /// <para> /// The address suffix, such as the <code>N</code> in <code>8th Avenue N</code>. /// </para> /// </summary> [AWSProperty(Sensitive=true)] public string StreetSuffix { get { return this._streetSuffix; } set { this._streetSuffix = value; } } // Check to see if StreetSuffix property is set internal bool IsSetStreetSuffix() { return this._streetSuffix != null; } } }
240
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-voice-2022-08-03.normal.json service model. */ using Amazon.Runtime; namespace Amazon.ChimeSDKVoice { /// <summary> /// Base class for ChimeSDKVoice operation requests. /// </summary> public partial class AmazonChimeSDKVoiceRequest : 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-voice-2022-08-03.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.ChimeSDKVoice.Model { /// <summary> /// Container for the parameters to the AssociatePhoneNumbersWithVoiceConnectorGroup operation. /// Associates phone numbers with the specified Amazon Chime SDK Voice Connector group. /// </summary> public partial class AssociatePhoneNumbersWithVoiceConnectorGroupRequest : AmazonChimeSDKVoiceRequest { private List<string> _e164PhoneNumbers = new List<string>(); private bool? _forceAssociate; private string _voiceConnectorGroupId; /// <summary> /// Gets and sets the property E164PhoneNumbers. /// <para> /// List of phone numbers, in E.164 format. /// </para> /// </summary> [AWSProperty(Required=true)] public List<string> E164PhoneNumbers { get { return this._e164PhoneNumbers; } set { this._e164PhoneNumbers = value; } } // Check to see if E164PhoneNumbers property is set internal bool IsSetE164PhoneNumbers() { return this._e164PhoneNumbers != null && this._e164PhoneNumbers.Count > 0; } /// <summary> /// Gets and sets the property ForceAssociate. /// <para> /// If true, associates the provided phone numbers with the provided Amazon Chime SDK /// Voice Connector Group and removes any previously existing associations. If false, /// does not associate any phone numbers that have previously existing associations. /// </para> /// </summary> public bool ForceAssociate { get { return this._forceAssociate.GetValueOrDefault(); } set { this._forceAssociate = value; } } // Check to see if ForceAssociate property is set internal bool IsSetForceAssociate() { return this._forceAssociate.HasValue; } /// <summary> /// Gets and sets the property VoiceConnectorGroupId. /// <para> /// The Amazon Chime SDK Voice Connector group ID. /// </para> /// </summary> [AWSProperty(Required=true)] public string VoiceConnectorGroupId { get { return this._voiceConnectorGroupId; } set { this._voiceConnectorGroupId = value; } } // Check to see if VoiceConnectorGroupId property is set internal bool IsSetVoiceConnectorGroupId() { return this._voiceConnectorGroupId != null; } } }
100
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the chime-sdk-voice-2022-08-03.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.ChimeSDKVoice.Model { /// <summary> /// This is the response object from the AssociatePhoneNumbersWithVoiceConnectorGroup operation. /// </summary> public partial class AssociatePhoneNumbersWithVoiceConnectorGroupResponse : AmazonWebServiceResponse { private List<PhoneNumberError> _phoneNumberErrors = new List<PhoneNumberError>(); /// <summary> /// Gets and sets the property PhoneNumberErrors. /// <para> /// If the action fails for one or more of the phone numbers in the request, a list of /// the phone numbers is returned, along with error codes and error messages. /// </para> /// </summary> public List<PhoneNumberError> PhoneNumberErrors { get { return this._phoneNumberErrors; } set { this._phoneNumberErrors = value; } } // Check to see if PhoneNumberErrors property is set internal bool IsSetPhoneNumberErrors() { return this._phoneNumberErrors != null && this._phoneNumberErrors.Count > 0; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the chime-sdk-voice-2022-08-03.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.ChimeSDKVoice.Model { /// <summary> /// Container for the parameters to the AssociatePhoneNumbersWithVoiceConnector operation. /// Associates phone numbers with the specified Amazon Chime SDK Voice Connector. /// </summary> public partial class AssociatePhoneNumbersWithVoiceConnectorRequest : AmazonChimeSDKVoiceRequest { private List<string> _e164PhoneNumbers = new List<string>(); private bool? _forceAssociate; private string _voiceConnectorId; /// <summary> /// Gets and sets the property E164PhoneNumbers. /// <para> /// List of phone numbers, in E.164 format. /// </para> /// </summary> [AWSProperty(Required=true)] public List<string> E164PhoneNumbers { get { return this._e164PhoneNumbers; } set { this._e164PhoneNumbers = value; } } // Check to see if E164PhoneNumbers property is set internal bool IsSetE164PhoneNumbers() { return this._e164PhoneNumbers != null && this._e164PhoneNumbers.Count > 0; } /// <summary> /// Gets and sets the property ForceAssociate. /// <para> /// If true, associates the provided phone numbers with the provided Amazon Chime SDK /// Voice Connector and removes any previously existing associations. If false, does not /// associate any phone numbers that have previously existing associations. /// </para> /// </summary> public bool ForceAssociate { get { return this._forceAssociate.GetValueOrDefault(); } set { this._forceAssociate = value; } } // Check to see if ForceAssociate property is set internal bool IsSetForceAssociate() { return this._forceAssociate.HasValue; } /// <summary> /// Gets and sets the property VoiceConnectorId. /// <para> /// The Voice Connector ID. /// </para> /// </summary> [AWSProperty(Required=true)] public string VoiceConnectorId { get { return this._voiceConnectorId; } set { this._voiceConnectorId = value; } } // Check to see if VoiceConnectorId property is set internal bool IsSetVoiceConnectorId() { return this._voiceConnectorId != null; } } }
100
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the chime-sdk-voice-2022-08-03.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.ChimeSDKVoice.Model { /// <summary> /// This is the response object from the AssociatePhoneNumbersWithVoiceConnector operation. /// </summary> public partial class AssociatePhoneNumbersWithVoiceConnectorResponse : AmazonWebServiceResponse { private List<PhoneNumberError> _phoneNumberErrors = new List<PhoneNumberError>(); /// <summary> /// Gets and sets the property PhoneNumberErrors. /// <para> /// If the action fails for one or more of the phone numbers in the request, a list of /// the phone numbers is returned, along with error codes and error messages. /// </para> /// </summary> public List<PhoneNumberError> PhoneNumberErrors { get { return this._phoneNumberErrors; } set { this._phoneNumberErrors = value; } } // Check to see if PhoneNumberErrors property is set internal bool IsSetPhoneNumberErrors() { return this._phoneNumberErrors != null && this._phoneNumberErrors.Count > 0; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the chime-sdk-voice-2022-08-03.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.ChimeSDKVoice.Model { /// <summary> /// The input parameters don't match the service's restrictions. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class BadRequestException : AmazonChimeSDKVoiceException { /// <summary> /// Constructs a new BadRequestException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public BadRequestException(string message) : base(message) {} /// <summary> /// Construct instance of BadRequestException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public BadRequestException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of BadRequestException /// </summary> /// <param name="innerException"></param> public BadRequestException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of BadRequestException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public BadRequestException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of BadRequestException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public BadRequestException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the BadRequestException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected BadRequestException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); } #endif } }
124
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the chime-sdk-voice-2022-08-03.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.ChimeSDKVoice.Model { /// <summary> /// Container for the parameters to the BatchDeletePhoneNumber operation. /// Moves phone numbers into the <b>Deletion queue</b>. Phone numbers must be disassociated /// from any users or Amazon Chime SDK Voice Connectors before they can be deleted. /// /// /// <para> /// Phone numbers remain in the <b>Deletion queue</b> for 7 days before they are deleted /// permanently. /// </para> /// </summary> public partial class BatchDeletePhoneNumberRequest : AmazonChimeSDKVoiceRequest { private List<string> _phoneNumberIds = new List<string>(); /// <summary> /// Gets and sets the property PhoneNumberIds. /// <para> /// List of phone number IDs. /// </para> /// </summary> [AWSProperty(Required=true, Min=1)] public List<string> PhoneNumberIds { get { return this._phoneNumberIds; } set { this._phoneNumberIds = value; } } // Check to see if PhoneNumberIds property is set internal bool IsSetPhoneNumberIds() { return this._phoneNumberIds != null && this._phoneNumberIds.Count > 0; } } }
66
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-voice-2022-08-03.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.ChimeSDKVoice.Model { /// <summary> /// This is the response object from the BatchDeletePhoneNumber operation. /// </summary> public partial class BatchDeletePhoneNumberResponse : AmazonWebServiceResponse { private List<PhoneNumberError> _phoneNumberErrors = new List<PhoneNumberError>(); /// <summary> /// Gets and sets the property PhoneNumberErrors. /// <para> /// If the action fails for one or more of the phone numbers in the request, a list of /// the phone numbers is returned, along with error codes and error messages. /// </para> /// </summary> public List<PhoneNumberError> PhoneNumberErrors { get { return this._phoneNumberErrors; } set { this._phoneNumberErrors = value; } } // Check to see if PhoneNumberErrors property is set internal bool IsSetPhoneNumberErrors() { return this._phoneNumberErrors != null && this._phoneNumberErrors.Count > 0; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the chime-sdk-voice-2022-08-03.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.ChimeSDKVoice.Model { /// <summary> /// Container for the parameters to the BatchUpdatePhoneNumber operation. /// Updates one or more phone numbers. /// </summary> public partial class BatchUpdatePhoneNumberRequest : AmazonChimeSDKVoiceRequest { private List<UpdatePhoneNumberRequestItem> _updatePhoneNumberRequestItems = new List<UpdatePhoneNumberRequestItem>(); /// <summary> /// Gets and sets the property UpdatePhoneNumberRequestItems. /// <para> /// Lists the phone numbers in the update request. /// </para> /// </summary> [AWSProperty(Required=true)] public List<UpdatePhoneNumberRequestItem> UpdatePhoneNumberRequestItems { get { return this._updatePhoneNumberRequestItems; } set { this._updatePhoneNumberRequestItems = value; } } // Check to see if UpdatePhoneNumberRequestItems property is set internal bool IsSetUpdatePhoneNumberRequestItems() { return this._updatePhoneNumberRequestItems != null && this._updatePhoneNumberRequestItems.Count > 0; } } }
59
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-voice-2022-08-03.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.ChimeSDKVoice.Model { /// <summary> /// This is the response object from the BatchUpdatePhoneNumber operation. /// </summary> public partial class BatchUpdatePhoneNumberResponse : AmazonWebServiceResponse { private List<PhoneNumberError> _phoneNumberErrors = new List<PhoneNumberError>(); /// <summary> /// Gets and sets the property PhoneNumberErrors. /// <para> /// A list of failed phone numbers and their error messages. /// </para> /// </summary> public List<PhoneNumberError> PhoneNumberErrors { get { return this._phoneNumberErrors; } set { this._phoneNumberErrors = value; } } // Check to see if PhoneNumberErrors property is set internal bool IsSetPhoneNumberErrors() { return this._phoneNumberErrors != null && this._phoneNumberErrors.Count > 0; } } }
57
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the chime-sdk-voice-2022-08-03.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.ChimeSDKVoice.Model { /// <summary> /// The details of an Amazon Chime SDK Voice Connector call. /// </summary> public partial class CallDetails { private bool? _isCaller; private string _transactionId; private string _voiceConnectorId; /// <summary> /// Gets and sets the property IsCaller. /// <para> /// Identifies a person as the caller or the callee. /// </para> /// </summary> public bool IsCaller { get { return this._isCaller.GetValueOrDefault(); } set { this._isCaller = value; } } // Check to see if IsCaller property is set internal bool IsSetIsCaller() { return this._isCaller.HasValue; } /// <summary> /// Gets and sets the property TransactionId. /// <para> /// The transaction ID of a Voice Connector call. /// </para> /// </summary> [AWSProperty(Min=1, Max=256)] public string TransactionId { get { return this._transactionId; } set { this._transactionId = value; } } // Check to see if TransactionId property is set internal bool IsSetTransactionId() { return this._transactionId != null; } /// <summary> /// Gets and sets the property VoiceConnectorId. /// <para> /// The Voice Connector ID. /// </para> /// </summary> [AWSProperty(Min=1, Max=128)] public string VoiceConnectorId { get { return this._voiceConnectorId; } set { this._voiceConnectorId = value; } } // Check to see if VoiceConnectorId property is set internal bool IsSetVoiceConnectorId() { return this._voiceConnectorId != null; } } }
97
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-voice-2022-08-03.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.ChimeSDKVoice.Model { /// <summary> /// A suggested address. /// </summary> public partial class CandidateAddress { private string _city; private string _country; private string _postalCode; private string _postalCodePlus4; private string _state; private string _streetInfo; private string _streetNumber; /// <summary> /// Gets and sets the property City. /// <para> /// The city of the candidate address. /// </para> /// </summary> [AWSProperty(Sensitive=true)] public string City { get { return this._city; } set { this._city = value; } } // Check to see if City property is set internal bool IsSetCity() { return this._city != null; } /// <summary> /// Gets and sets the property Country. /// <para> /// The country of the candidate address. /// </para> /// </summary> [AWSProperty(Sensitive=true)] public string Country { get { return this._country; } set { this._country = value; } } // Check to see if Country property is set internal bool IsSetCountry() { return this._country != null; } /// <summary> /// Gets and sets the property PostalCode. /// <para> /// The postal code of the candidate address. /// </para> /// </summary> [AWSProperty(Sensitive=true)] public string PostalCode { get { return this._postalCode; } set { this._postalCode = value; } } // Check to see if PostalCode property is set internal bool IsSetPostalCode() { return this._postalCode != null; } /// <summary> /// Gets and sets the property PostalCodePlus4. /// <para> /// The zip + 4 or postal code +4 of the candidate address. /// </para> /// </summary> [AWSProperty(Sensitive=true)] public string PostalCodePlus4 { get { return this._postalCodePlus4; } set { this._postalCodePlus4 = value; } } // Check to see if PostalCodePlus4 property is set internal bool IsSetPostalCodePlus4() { return this._postalCodePlus4 != null; } /// <summary> /// Gets and sets the property State. /// <para> /// The state of the candidate address. /// </para> /// </summary> [AWSProperty(Sensitive=true)] public string State { get { return this._state; } set { this._state = value; } } // Check to see if State property is set internal bool IsSetState() { return this._state != null; } /// <summary> /// Gets and sets the property StreetInfo. /// <para> /// The street information of the candidate address. /// </para> /// </summary> [AWSProperty(Sensitive=true)] public string StreetInfo { get { return this._streetInfo; } set { this._streetInfo = value; } } // Check to see if StreetInfo property is set internal bool IsSetStreetInfo() { return this._streetInfo != null; } /// <summary> /// Gets and sets the property StreetNumber. /// <para> /// The numeric portion of the candidate address. /// </para> /// </summary> [AWSProperty(Sensitive=true)] public string StreetNumber { get { return this._streetNumber; } set { this._streetNumber = value; } } // Check to see if StreetNumber property is set internal bool IsSetStreetNumber() { return this._streetNumber != null; } } }
178
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-voice-2022-08-03.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.ChimeSDKVoice.Model { /// <summary> /// Multiple instances of the same request were made simultaneously. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class ConflictException : AmazonChimeSDKVoiceException { /// <summary> /// Constructs a new ConflictException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public ConflictException(string message) : base(message) {} /// <summary> /// Construct instance of ConflictException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public ConflictException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of ConflictException /// </summary> /// <param name="innerException"></param> public ConflictException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of ConflictException /// </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 ConflictException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of ConflictException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public ConflictException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the ConflictException 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 ConflictException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); } #endif } }
124
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the chime-sdk-voice-2022-08-03.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.ChimeSDKVoice.Model { /// <summary> /// Container for the parameters to the CreatePhoneNumberOrder operation. /// Creates an order for phone numbers to be provisioned. For numbers outside the U.S., /// you must use the Amazon Chime SDK SIP media application dial-in product type. /// </summary> public partial class CreatePhoneNumberOrderRequest : AmazonChimeSDKVoiceRequest { private List<string> _e164PhoneNumbers = new List<string>(); private PhoneNumberProductType _productType; /// <summary> /// Gets and sets the property E164PhoneNumbers. /// <para> /// List of phone numbers, in E.164 format. /// </para> /// </summary> [AWSProperty(Required=true)] public List<string> E164PhoneNumbers { get { return this._e164PhoneNumbers; } set { this._e164PhoneNumbers = value; } } // Check to see if E164PhoneNumbers property is set internal bool IsSetE164PhoneNumbers() { return this._e164PhoneNumbers != null && this._e164PhoneNumbers.Count > 0; } /// <summary> /// Gets and sets the property ProductType. /// <para> /// The phone number product type. /// </para> /// </summary> [AWSProperty(Required=true)] public PhoneNumberProductType ProductType { get { return this._productType; } set { this._productType = value; } } // Check to see if ProductType property is set internal bool IsSetProductType() { return this._productType != null; } } }
80
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the chime-sdk-voice-2022-08-03.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.ChimeSDKVoice.Model { /// <summary> /// This is the response object from the CreatePhoneNumberOrder operation. /// </summary> public partial class CreatePhoneNumberOrderResponse : AmazonWebServiceResponse { private PhoneNumberOrder _phoneNumberOrder; /// <summary> /// Gets and sets the property PhoneNumberOrder. /// <para> /// The phone number order details. /// </para> /// </summary> public PhoneNumberOrder PhoneNumberOrder { get { return this._phoneNumberOrder; } set { this._phoneNumberOrder = value; } } // Check to see if PhoneNumberOrder property is set internal bool IsSetPhoneNumberOrder() { return this._phoneNumberOrder != null; } } }
57
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the chime-sdk-voice-2022-08-03.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.ChimeSDKVoice.Model { /// <summary> /// Container for the parameters to the CreateProxySession operation. /// Creates a proxy session for the specified Amazon Chime SDK Voice Connector for the /// specified participant phone numbers. /// </summary> public partial class CreateProxySessionRequest : AmazonChimeSDKVoiceRequest { private List<string> _capabilities = new List<string>(); private int? _expiryMinutes; private GeoMatchLevel _geoMatchLevel; private GeoMatchParams _geoMatchParams; private string _name; private NumberSelectionBehavior _numberSelectionBehavior; private List<string> _participantPhoneNumbers = new List<string>(); private string _voiceConnectorId; /// <summary> /// Gets and sets the property Capabilities. /// <para> /// The proxy session's capabilities. /// </para> /// </summary> [AWSProperty(Required=true)] public List<string> Capabilities { get { return this._capabilities; } set { this._capabilities = value; } } // Check to see if Capabilities property is set internal bool IsSetCapabilities() { return this._capabilities != null && this._capabilities.Count > 0; } /// <summary> /// Gets and sets the property ExpiryMinutes. /// <para> /// The number of minutes allowed for the proxy session. /// </para> /// </summary> [AWSProperty(Min=1)] public int ExpiryMinutes { get { return this._expiryMinutes.GetValueOrDefault(); } set { this._expiryMinutes = value; } } // Check to see if ExpiryMinutes property is set internal bool IsSetExpiryMinutes() { return this._expiryMinutes.HasValue; } /// <summary> /// Gets and sets the property GeoMatchLevel. /// <para> /// The preference for matching the country or area code of the proxy phone number with /// that of the first participant. /// </para> /// </summary> public GeoMatchLevel GeoMatchLevel { get { return this._geoMatchLevel; } set { this._geoMatchLevel = value; } } // Check to see if GeoMatchLevel property is set internal bool IsSetGeoMatchLevel() { return this._geoMatchLevel != null; } /// <summary> /// Gets and sets the property GeoMatchParams. /// <para> /// The country and area code for the proxy phone number. /// </para> /// </summary> public GeoMatchParams GeoMatchParams { get { return this._geoMatchParams; } set { this._geoMatchParams = value; } } // Check to see if GeoMatchParams property is set internal bool IsSetGeoMatchParams() { return this._geoMatchParams != null; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the proxy session. /// </para> /// </summary> [AWSProperty(Sensitive=true)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// <summary> /// Gets and sets the property NumberSelectionBehavior. /// <para> /// The preference for proxy phone number reuse, or stickiness, between the same participants /// across sessions. /// </para> /// </summary> public NumberSelectionBehavior NumberSelectionBehavior { get { return this._numberSelectionBehavior; } set { this._numberSelectionBehavior = value; } } // Check to see if NumberSelectionBehavior property is set internal bool IsSetNumberSelectionBehavior() { return this._numberSelectionBehavior != null; } /// <summary> /// Gets and sets the property ParticipantPhoneNumbers. /// <para> /// The participant phone numbers. /// </para> /// </summary> [AWSProperty(Required=true, Min=2, Max=2)] public List<string> ParticipantPhoneNumbers { get { return this._participantPhoneNumbers; } set { this._participantPhoneNumbers = value; } } // Check to see if ParticipantPhoneNumbers property is set internal bool IsSetParticipantPhoneNumbers() { return this._participantPhoneNumbers != null && this._participantPhoneNumbers.Count > 0; } /// <summary> /// Gets and sets the property VoiceConnectorId. /// <para> /// The Voice Connector ID. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=128)] public string VoiceConnectorId { get { return this._voiceConnectorId; } set { this._voiceConnectorId = value; } } // Check to see if VoiceConnectorId property is set internal bool IsSetVoiceConnectorId() { return this._voiceConnectorId != null; } } }
199
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-voice-2022-08-03.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.ChimeSDKVoice.Model { /// <summary> /// This is the response object from the CreateProxySession operation. /// </summary> public partial class CreateProxySessionResponse : AmazonWebServiceResponse { private ProxySession _proxySession; /// <summary> /// Gets and sets the property ProxySession. /// <para> /// The proxy session details. /// </para> /// </summary> public ProxySession ProxySession { get { return this._proxySession; } set { this._proxySession = value; } } // Check to see if ProxySession property is set internal bool IsSetProxySession() { return this._proxySession != null; } } }
57
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the chime-sdk-voice-2022-08-03.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.ChimeSDKVoice.Model { /// <summary> /// Container for the parameters to the CreateSipMediaApplicationCall operation. /// Creates an outbound call to a phone number from the phone number specified in the /// request, and it invokes the endpoint of the specified <code>sipMediaApplicationId</code>. /// </summary> public partial class CreateSipMediaApplicationCallRequest : AmazonChimeSDKVoiceRequest { private Dictionary<string, string> _argumentsMap = new Dictionary<string, string>(); private string _fromPhoneNumber; private Dictionary<string, string> _sipHeaders = new Dictionary<string, string>(); private string _sipMediaApplicationId; private string _toPhoneNumber; /// <summary> /// Gets and sets the property ArgumentsMap. /// <para> /// Context passed to a CreateSipMediaApplication API call. For example, you could pass /// key-value pairs such as: <code>"FirstName": "John", "LastName": "Doe"</code> /// </para> /// </summary> [AWSProperty(Min=0, Max=20)] public Dictionary<string, string> ArgumentsMap { get { return this._argumentsMap; } set { this._argumentsMap = value; } } // Check to see if ArgumentsMap property is set internal bool IsSetArgumentsMap() { return this._argumentsMap != null && this._argumentsMap.Count > 0; } /// <summary> /// Gets and sets the property FromPhoneNumber. /// <para> /// The phone number that a user calls from. This is a phone number in your Amazon Chime /// SDK phone number inventory. /// </para> /// </summary> [AWSProperty(Required=true, Sensitive=true)] public string FromPhoneNumber { get { return this._fromPhoneNumber; } set { this._fromPhoneNumber = value; } } // Check to see if FromPhoneNumber property is set internal bool IsSetFromPhoneNumber() { return this._fromPhoneNumber != null; } /// <summary> /// Gets and sets the property SipHeaders. /// <para> /// The SIP headers added to an outbound call leg. /// </para> /// </summary> [AWSProperty(Min=0, Max=20)] public Dictionary<string, string> SipHeaders { get { return this._sipHeaders; } set { this._sipHeaders = value; } } // Check to see if SipHeaders property is set internal bool IsSetSipHeaders() { return this._sipHeaders != null && this._sipHeaders.Count > 0; } /// <summary> /// Gets and sets the property SipMediaApplicationId. /// <para> /// The ID of the SIP media application. /// </para> /// </summary> [AWSProperty(Required=true)] public string SipMediaApplicationId { get { return this._sipMediaApplicationId; } set { this._sipMediaApplicationId = value; } } // Check to see if SipMediaApplicationId property is set internal bool IsSetSipMediaApplicationId() { return this._sipMediaApplicationId != null; } /// <summary> /// Gets and sets the property ToPhoneNumber. /// <para> /// The phone number that the service should call. /// </para> /// </summary> [AWSProperty(Required=true, Sensitive=true)] public string ToPhoneNumber { get { return this._toPhoneNumber; } set { this._toPhoneNumber = value; } } // Check to see if ToPhoneNumber property is set internal bool IsSetToPhoneNumber() { return this._toPhoneNumber != null; } } }
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-voice-2022-08-03.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.ChimeSDKVoice.Model { /// <summary> /// This is the response object from the CreateSipMediaApplicationCall operation. /// </summary> public partial class CreateSipMediaApplicationCallResponse : AmazonWebServiceResponse { private SipMediaApplicationCall _sipMediaApplicationCall; /// <summary> /// Gets and sets the property SipMediaApplicationCall. /// <para> /// The actual call. /// </para> /// </summary> public SipMediaApplicationCall SipMediaApplicationCall { get { return this._sipMediaApplicationCall; } set { this._sipMediaApplicationCall = value; } } // Check to see if SipMediaApplicationCall property is set internal bool IsSetSipMediaApplicationCall() { return this._sipMediaApplicationCall != null; } } }
57
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the chime-sdk-voice-2022-08-03.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.ChimeSDKVoice.Model { /// <summary> /// Container for the parameters to the CreateSipMediaApplication operation. /// Creates a SIP media application. For more information about SIP media applications, /// see <a href="https://docs.aws.amazon.com/chime-sdk/latest/ag/manage-sip-applications.html">Managing /// SIP media applications and rules</a> in the <i>Amazon Chime SDK Administrator Guide</i>. /// </summary> public partial class CreateSipMediaApplicationRequest : AmazonChimeSDKVoiceRequest { private string _awsRegion; private List<SipMediaApplicationEndpoint> _endpoints = new List<SipMediaApplicationEndpoint>(); private string _name; private List<Tag> _tags = new List<Tag>(); /// <summary> /// Gets and sets the property AwsRegion. /// <para> /// The AWS Region assigned to the SIP media application. /// </para> /// </summary> [AWSProperty(Required=true)] public string AwsRegion { get { return this._awsRegion; } set { this._awsRegion = value; } } // Check to see if AwsRegion property is set internal bool IsSetAwsRegion() { return this._awsRegion != null; } /// <summary> /// Gets and sets the property Endpoints. /// <para> /// List of endpoints (Lambda ARNs) specified for the SIP media application. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=1)] public List<SipMediaApplicationEndpoint> Endpoints { get { return this._endpoints; } set { this._endpoints = value; } } // Check to see if Endpoints property is set internal bool IsSetEndpoints() { return this._endpoints != null && this._endpoints.Count > 0; } /// <summary> /// Gets and sets the property Name. /// <para> /// The SIP media application's name. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=256)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// <summary> /// Gets and sets the property Tags. /// <para> /// The tags assigned to the SIP media application. /// </para> /// </summary> [AWSProperty(Min=1, Max=50)] public List<Tag> Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } } }
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-voice-2022-08-03.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.ChimeSDKVoice.Model { /// <summary> /// This is the response object from the CreateSipMediaApplication operation. /// </summary> public partial class CreateSipMediaApplicationResponse : AmazonWebServiceResponse { private SipMediaApplication _sipMediaApplication; /// <summary> /// Gets and sets the property SipMediaApplication. /// <para> /// The SIP media application details. /// </para> /// </summary> public SipMediaApplication SipMediaApplication { get { return this._sipMediaApplication; } set { this._sipMediaApplication = value; } } // Check to see if SipMediaApplication property is set internal bool IsSetSipMediaApplication() { return this._sipMediaApplication != null; } } }
57
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the chime-sdk-voice-2022-08-03.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.ChimeSDKVoice.Model { /// <summary> /// Container for the parameters to the CreateSipRule operation. /// Creates a SIP rule, which can be used to run a SIP media application as a target for /// a specific trigger type. For more information about SIP rules, see <a href="https://docs.aws.amazon.com/chime-sdk/latest/ag/manage-sip-applications.html">Managing /// SIP media applications and rules</a> in the <i>Amazon Chime SDK Administrator Guide</i>. /// </summary> public partial class CreateSipRuleRequest : AmazonChimeSDKVoiceRequest { private bool? _disabled; private string _name; private List<SipRuleTargetApplication> _targetApplications = new List<SipRuleTargetApplication>(); private SipRuleTriggerType _triggerType; private string _triggerValue; /// <summary> /// Gets and sets the property Disabled. /// <para> /// Disables or enables a SIP rule. You must disable SIP rules before you can delete them. /// </para> /// </summary> public bool Disabled { get { return this._disabled.GetValueOrDefault(); } set { this._disabled = value; } } // Check to see if Disabled property is set internal bool IsSetDisabled() { return this._disabled.HasValue; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the SIP rule. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=256)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// <summary> /// Gets and sets the property TargetApplications. /// <para> /// List of SIP media applications, with priority and AWS Region. Only one SIP application /// per AWS Region can be used. /// </para> /// </summary> [AWSProperty(Min=1, Max=25)] public List<SipRuleTargetApplication> TargetApplications { get { return this._targetApplications; } set { this._targetApplications = value; } } // Check to see if TargetApplications property is set internal bool IsSetTargetApplications() { return this._targetApplications != null && this._targetApplications.Count > 0; } /// <summary> /// Gets and sets the property TriggerType. /// <para> /// The type of trigger assigned to the SIP rule in <code>TriggerValue</code>, currently /// <code>RequestUriHostname</code> or <code>ToPhoneNumber</code>. /// </para> /// </summary> [AWSProperty(Required=true)] public SipRuleTriggerType TriggerType { get { return this._triggerType; } set { this._triggerType = value; } } // Check to see if TriggerType property is set internal bool IsSetTriggerType() { return this._triggerType != null; } /// <summary> /// Gets and sets the property TriggerValue. /// <para> /// If <code>TriggerType</code> is <code>RequestUriHostname</code>, the value can be the /// outbound host name of a Voice Connector. If <code>TriggerType</code> is <code>ToPhoneNumber</code>, /// the value can be a customer-owned phone number in the E164 format. The <code>SipMediaApplication</code> /// specified in the <code>SipRule</code> is triggered if the request URI in an incoming /// SIP request matches the <code>RequestUriHostname</code>, or if the <code>To</code> /// header in the incoming SIP request matches the <code>ToPhoneNumber</code> value. /// </para> /// </summary> [AWSProperty(Required=true)] public string TriggerValue { get { return this._triggerValue; } set { this._triggerValue = value; } } // Check to see if TriggerValue property is set internal bool IsSetTriggerValue() { return this._triggerValue != null; } } }
147
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-voice-2022-08-03.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.ChimeSDKVoice.Model { /// <summary> /// This is the response object from the CreateSipRule operation. /// </summary> public partial class CreateSipRuleResponse : AmazonWebServiceResponse { private SipRule _sipRule; /// <summary> /// Gets and sets the property SipRule. /// <para> /// The SIP rule information, including the rule ID, triggers, and target applications. /// </para> /// </summary> public SipRule SipRule { get { return this._sipRule; } set { this._sipRule = value; } } // Check to see if SipRule property is set internal bool IsSetSipRule() { return this._sipRule != null; } } }
57
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the chime-sdk-voice-2022-08-03.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.ChimeSDKVoice.Model { /// <summary> /// Container for the parameters to the CreateVoiceConnectorGroup operation. /// Creates an Amazon Chime SDK Voice Connector group under the administrator's AWS account. /// You can associate Amazon Chime SDK Voice Connectors with the Voice Connector group /// by including <code>VoiceConnectorItems</code> in the request. /// /// /// <para> /// You can include Voice Connectors from different AWS Regions in your group. This creates /// a fault tolerant mechanism for fallback in case of availability events. /// </para> /// </summary> public partial class CreateVoiceConnectorGroupRequest : AmazonChimeSDKVoiceRequest { private string _name; private List<VoiceConnectorItem> _voiceConnectorItems = new List<VoiceConnectorItem>(); /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the Voice Connector group. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=256)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// <summary> /// Gets and sets the property VoiceConnectorItems. /// <para> /// Lists the Voice Connectors that inbound calls are routed to. /// </para> /// </summary> public List<VoiceConnectorItem> VoiceConnectorItems { get { return this._voiceConnectorItems; } set { this._voiceConnectorItems = value; } } // Check to see if VoiceConnectorItems property is set internal bool IsSetVoiceConnectorItems() { return this._voiceConnectorItems != null && this._voiceConnectorItems.Count > 0; } } }
86
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the chime-sdk-voice-2022-08-03.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.ChimeSDKVoice.Model { /// <summary> /// This is the response object from the CreateVoiceConnectorGroup operation. /// </summary> public partial class CreateVoiceConnectorGroupResponse : AmazonWebServiceResponse { private VoiceConnectorGroup _voiceConnectorGroup; /// <summary> /// Gets and sets the property VoiceConnectorGroup. /// <para> /// The details of the Voice Connector group. /// </para> /// </summary> public VoiceConnectorGroup VoiceConnectorGroup { get { return this._voiceConnectorGroup; } set { this._voiceConnectorGroup = value; } } // Check to see if VoiceConnectorGroup property is set internal bool IsSetVoiceConnectorGroup() { return this._voiceConnectorGroup != null; } } }
57