/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the ivs-realtime-2020-07-14.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using Amazon.IVSRealTime.Model; using Amazon.IVSRealTime.Model.Internal.MarshallTransformations; using Amazon.IVSRealTime.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.IVSRealTime { /// /// Implementation for accessing IVSRealTime /// /// Introduction /// /// /// /// The Amazon Interactive Video Service (IVS) stage API is REST compatible, using a standard /// HTTP API and an AWS EventBridge event stream for responses. JSON is used for both /// requests and responses, including errors. /// /// /// /// Terminology: /// /// /// /// Resources /// /// /// /// The following resources contain information about your IVS live stream (see Getting /// Started with Amazon IVS): /// /// /// /// Tagging /// /// /// /// A tag is a metadata label that you assign to an AWS resource. A tag comprises /// a key and a value, both set by you. For example, you might set a tag /// as topic:nature to label a particular video category. See Tagging /// AWS Resources for more information, including restrictions that apply to tags /// and "Tag naming limits and requirements"; Amazon IVS stages has no service-specific /// constraints beyond what is documented there. /// /// /// /// Tags can help you identify and organize your AWS resources. For example, you can use /// the same tag for different resources to indicate that they are related. You can also /// use tags to manage access (see Access /// Tags). /// /// /// /// The Amazon IVS stage API has these tag-related endpoints: TagResource, UntagResource, /// and ListTagsForResource. The following resource supports tagging: Stage. /// /// /// /// At most 50 tags can be applied to a resource. /// /// /// /// Stages Endpoints /// /// /// /// Tags Endpoints /// /// /// public partial class AmazonIVSRealTimeClient : AmazonServiceClient, IAmazonIVSRealTime { private static IServiceMetadata serviceMetadata = new AmazonIVSRealTimeMetadata(); #if BCL45 || AWS_ASYNC_ENUMERABLES_API private IIVSRealTimePaginatorFactory _paginators; /// /// Paginators for the service /// public IIVSRealTimePaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new IVSRealTimePaginatorFactory(this); } return this._paginators; } } #endif #region Constructors /// /// Constructs AmazonIVSRealTimeClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// public AmazonIVSRealTimeClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonIVSRealTimeConfig()) { } /// /// Constructs AmazonIVSRealTimeClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The region to connect. public AmazonIVSRealTimeClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonIVSRealTimeConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonIVSRealTimeClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The AmazonIVSRealTimeClient Configuration Object public AmazonIVSRealTimeClient(AmazonIVSRealTimeConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonIVSRealTimeClient with AWS Credentials /// /// AWS Credentials public AmazonIVSRealTimeClient(AWSCredentials credentials) : this(credentials, new AmazonIVSRealTimeConfig()) { } /// /// Constructs AmazonIVSRealTimeClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonIVSRealTimeClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonIVSRealTimeConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonIVSRealTimeClient with AWS Credentials and an /// AmazonIVSRealTimeClient Configuration object. /// /// AWS Credentials /// The AmazonIVSRealTimeClient Configuration Object public AmazonIVSRealTimeClient(AWSCredentials credentials, AmazonIVSRealTimeConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonIVSRealTimeClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonIVSRealTimeClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonIVSRealTimeConfig()) { } /// /// Constructs AmazonIVSRealTimeClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonIVSRealTimeClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonIVSRealTimeConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonIVSRealTimeClient with AWS Access Key ID, AWS Secret Key and an /// AmazonIVSRealTimeClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonIVSRealTimeClient Configuration Object public AmazonIVSRealTimeClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonIVSRealTimeConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonIVSRealTimeClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonIVSRealTimeClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonIVSRealTimeConfig()) { } /// /// Constructs AmazonIVSRealTimeClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The region to connect. public AmazonIVSRealTimeClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonIVSRealTimeConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonIVSRealTimeClient with AWS Access Key ID, AWS Secret Key and an /// AmazonIVSRealTimeClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonIVSRealTimeClient Configuration Object public AmazonIVSRealTimeClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonIVSRealTimeConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #region Overrides /// /// Creates the signer for the service. /// protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// /// Customize the pipeline /// /// protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler(); pipeline.AddHandlerAfter(new AmazonIVSRealTimeEndpointResolver()); } /// /// Capture metadata for the service. /// protected override IServiceMetadata ServiceMetadata { get { return serviceMetadata; } } #endregion #region Dispose /// /// Disposes the service client. /// protected override void Dispose(bool disposing) { base.Dispose(disposing); } #endregion #region CreateParticipantToken /// /// Creates an additional token for a specified stage. This can be done after stage creation /// or when tokens expire. Tokens always are scoped to the stage for which they are created. /// /// /// /// Encryption keys are owned by Amazon IVS and never used directly by your application. /// /// /// Container for the necessary parameters to execute the CreateParticipantToken service method. /// /// The response from the CreateParticipantToken service method, as returned by IVSRealTime. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for CreateParticipantToken Operation public virtual CreateParticipantTokenResponse CreateParticipantToken(CreateParticipantTokenRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateParticipantTokenRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateParticipantTokenResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateParticipantToken operation. /// /// /// Container for the necessary parameters to execute the CreateParticipantToken operation on AmazonIVSRealTimeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateParticipantToken /// operation. /// REST API Reference for CreateParticipantToken Operation public virtual IAsyncResult BeginCreateParticipantToken(CreateParticipantTokenRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateParticipantTokenRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateParticipantTokenResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateParticipantToken operation. /// /// /// The IAsyncResult returned by the call to BeginCreateParticipantToken. /// /// Returns a CreateParticipantTokenResult from IVSRealTime. /// REST API Reference for CreateParticipantToken Operation public virtual CreateParticipantTokenResponse EndCreateParticipantToken(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateStage /// /// Creates a new stage (and optionally participant tokens). /// /// Container for the necessary parameters to execute the CreateStage service method. /// /// The response from the CreateStage service method, as returned by IVSRealTime. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for CreateStage Operation public virtual CreateStageResponse CreateStage(CreateStageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateStageRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateStageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateStage operation. /// /// /// Container for the necessary parameters to execute the CreateStage operation on AmazonIVSRealTimeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateStage /// operation. /// REST API Reference for CreateStage Operation public virtual IAsyncResult BeginCreateStage(CreateStageRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateStageRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateStageResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateStage operation. /// /// /// The IAsyncResult returned by the call to BeginCreateStage. /// /// Returns a CreateStageResult from IVSRealTime. /// REST API Reference for CreateStage Operation public virtual CreateStageResponse EndCreateStage(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteStage /// /// Shuts down and deletes the specified stage (disconnecting all participants). /// /// Container for the necessary parameters to execute the DeleteStage service method. /// /// The response from the DeleteStage service method, as returned by IVSRealTime. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for DeleteStage Operation public virtual DeleteStageResponse DeleteStage(DeleteStageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteStageRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteStageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteStage operation. /// /// /// Container for the necessary parameters to execute the DeleteStage operation on AmazonIVSRealTimeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteStage /// operation. /// REST API Reference for DeleteStage Operation public virtual IAsyncResult BeginDeleteStage(DeleteStageRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteStageRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteStageResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteStage operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteStage. /// /// Returns a DeleteStageResult from IVSRealTime. /// REST API Reference for DeleteStage Operation public virtual DeleteStageResponse EndDeleteStage(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DisconnectParticipant /// /// Disconnects a specified participant and revokes the participant permanently from a /// specified stage. /// /// Container for the necessary parameters to execute the DisconnectParticipant service method. /// /// The response from the DisconnectParticipant service method, as returned by IVSRealTime. /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for DisconnectParticipant Operation public virtual DisconnectParticipantResponse DisconnectParticipant(DisconnectParticipantRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisconnectParticipantRequestMarshaller.Instance; options.ResponseUnmarshaller = DisconnectParticipantResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DisconnectParticipant operation. /// /// /// Container for the necessary parameters to execute the DisconnectParticipant operation on AmazonIVSRealTimeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisconnectParticipant /// operation. /// REST API Reference for DisconnectParticipant Operation public virtual IAsyncResult BeginDisconnectParticipant(DisconnectParticipantRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DisconnectParticipantRequestMarshaller.Instance; options.ResponseUnmarshaller = DisconnectParticipantResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DisconnectParticipant operation. /// /// /// The IAsyncResult returned by the call to BeginDisconnectParticipant. /// /// Returns a DisconnectParticipantResult from IVSRealTime. /// REST API Reference for DisconnectParticipant Operation public virtual DisconnectParticipantResponse EndDisconnectParticipant(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetParticipant /// /// Gets information about the specified participant token. /// /// Container for the necessary parameters to execute the GetParticipant service method. /// /// The response from the GetParticipant service method, as returned by IVSRealTime. /// /// /// /// /// /// /// /// /// /// REST API Reference for GetParticipant Operation public virtual GetParticipantResponse GetParticipant(GetParticipantRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetParticipantRequestMarshaller.Instance; options.ResponseUnmarshaller = GetParticipantResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetParticipant operation. /// /// /// Container for the necessary parameters to execute the GetParticipant operation on AmazonIVSRealTimeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetParticipant /// operation. /// REST API Reference for GetParticipant Operation public virtual IAsyncResult BeginGetParticipant(GetParticipantRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetParticipantRequestMarshaller.Instance; options.ResponseUnmarshaller = GetParticipantResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetParticipant operation. /// /// /// The IAsyncResult returned by the call to BeginGetParticipant. /// /// Returns a GetParticipantResult from IVSRealTime. /// REST API Reference for GetParticipant Operation public virtual GetParticipantResponse EndGetParticipant(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetStage /// /// Gets information for the specified stage. /// /// Container for the necessary parameters to execute the GetStage service method. /// /// The response from the GetStage service method, as returned by IVSRealTime. /// /// /// /// /// /// /// /// /// /// REST API Reference for GetStage Operation public virtual GetStageResponse GetStage(GetStageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetStageRequestMarshaller.Instance; options.ResponseUnmarshaller = GetStageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetStage operation. /// /// /// Container for the necessary parameters to execute the GetStage operation on AmazonIVSRealTimeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetStage /// operation. /// REST API Reference for GetStage Operation public virtual IAsyncResult BeginGetStage(GetStageRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetStageRequestMarshaller.Instance; options.ResponseUnmarshaller = GetStageResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetStage operation. /// /// /// The IAsyncResult returned by the call to BeginGetStage. /// /// Returns a GetStageResult from IVSRealTime. /// REST API Reference for GetStage Operation public virtual GetStageResponse EndGetStage(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetStageSession /// /// Gets information for the specified stage session. /// /// Container for the necessary parameters to execute the GetStageSession service method. /// /// The response from the GetStageSession service method, as returned by IVSRealTime. /// /// /// /// /// /// /// /// /// /// REST API Reference for GetStageSession Operation public virtual GetStageSessionResponse GetStageSession(GetStageSessionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetStageSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetStageSessionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetStageSession operation. /// /// /// Container for the necessary parameters to execute the GetStageSession operation on AmazonIVSRealTimeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetStageSession /// operation. /// REST API Reference for GetStageSession Operation public virtual IAsyncResult BeginGetStageSession(GetStageSessionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetStageSessionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetStageSessionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetStageSession operation. /// /// /// The IAsyncResult returned by the call to BeginGetStageSession. /// /// Returns a GetStageSessionResult from IVSRealTime. /// REST API Reference for GetStageSession Operation public virtual GetStageSessionResponse EndGetStageSession(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListParticipantEvents /// /// Lists events for a specified participant that occurred during a specified stage session. /// /// Container for the necessary parameters to execute the ListParticipantEvents service method. /// /// The response from the ListParticipantEvents service method, as returned by IVSRealTime. /// /// /// /// /// /// /// REST API Reference for ListParticipantEvents Operation public virtual ListParticipantEventsResponse ListParticipantEvents(ListParticipantEventsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListParticipantEventsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListParticipantEventsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListParticipantEvents operation. /// /// /// Container for the necessary parameters to execute the ListParticipantEvents operation on AmazonIVSRealTimeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListParticipantEvents /// operation. /// REST API Reference for ListParticipantEvents Operation public virtual IAsyncResult BeginListParticipantEvents(ListParticipantEventsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListParticipantEventsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListParticipantEventsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListParticipantEvents operation. /// /// /// The IAsyncResult returned by the call to BeginListParticipantEvents. /// /// Returns a ListParticipantEventsResult from IVSRealTime. /// REST API Reference for ListParticipantEvents Operation public virtual ListParticipantEventsResponse EndListParticipantEvents(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListParticipants /// /// Lists all participants in a specified stage session. /// /// Container for the necessary parameters to execute the ListParticipants service method. /// /// The response from the ListParticipants service method, as returned by IVSRealTime. /// /// /// /// /// /// /// REST API Reference for ListParticipants Operation public virtual ListParticipantsResponse ListParticipants(ListParticipantsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListParticipantsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListParticipantsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListParticipants operation. /// /// /// Container for the necessary parameters to execute the ListParticipants operation on AmazonIVSRealTimeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListParticipants /// operation. /// REST API Reference for ListParticipants Operation public virtual IAsyncResult BeginListParticipants(ListParticipantsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListParticipantsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListParticipantsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListParticipants operation. /// /// /// The IAsyncResult returned by the call to BeginListParticipants. /// /// Returns a ListParticipantsResult from IVSRealTime. /// REST API Reference for ListParticipants Operation public virtual ListParticipantsResponse EndListParticipants(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListStages /// /// Gets summary information about all stages in your account, in the AWS region where /// the API request is processed. /// /// Container for the necessary parameters to execute the ListStages service method. /// /// The response from the ListStages service method, as returned by IVSRealTime. /// /// /// /// /// /// /// /// /// /// REST API Reference for ListStages Operation public virtual ListStagesResponse ListStages(ListStagesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListStagesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListStagesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListStages operation. /// /// /// Container for the necessary parameters to execute the ListStages operation on AmazonIVSRealTimeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListStages /// operation. /// REST API Reference for ListStages Operation public virtual IAsyncResult BeginListStages(ListStagesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListStagesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListStagesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListStages operation. /// /// /// The IAsyncResult returned by the call to BeginListStages. /// /// Returns a ListStagesResult from IVSRealTime. /// REST API Reference for ListStages Operation public virtual ListStagesResponse EndListStages(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListStageSessions /// /// Gets all sessions for a specified stage. /// /// Container for the necessary parameters to execute the ListStageSessions service method. /// /// The response from the ListStageSessions service method, as returned by IVSRealTime. /// /// /// /// /// /// /// REST API Reference for ListStageSessions Operation public virtual ListStageSessionsResponse ListStageSessions(ListStageSessionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListStageSessionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListStageSessionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListStageSessions operation. /// /// /// Container for the necessary parameters to execute the ListStageSessions operation on AmazonIVSRealTimeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListStageSessions /// operation. /// REST API Reference for ListStageSessions Operation public virtual IAsyncResult BeginListStageSessions(ListStageSessionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListStageSessionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListStageSessionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListStageSessions operation. /// /// /// The IAsyncResult returned by the call to BeginListStageSessions. /// /// Returns a ListStageSessionsResult from IVSRealTime. /// REST API Reference for ListStageSessions Operation public virtual ListStageSessionsResponse EndListStageSessions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListTagsForResource /// /// Gets information about AWS tags for the specified ARN. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// The response from the ListTagsForResource service method, as returned by IVSRealTime. /// /// /// /// /// /// /// /// /// /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListTagsForResource operation. /// /// /// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonIVSRealTimeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource /// operation. /// REST API Reference for ListTagsForResource Operation 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); } /// /// Finishes the asynchronous execution of the ListTagsForResource operation. /// /// /// The IAsyncResult returned by the call to BeginListTagsForResource. /// /// Returns a ListTagsForResourceResult from IVSRealTime. /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region TagResource /// /// Adds or updates tags for the AWS resource with the specified ARN. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// The response from the TagResource service method, as returned by IVSRealTime. /// /// /// /// /// /// /// /// /// /// REST API Reference for TagResource Operation public virtual TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the TagResource operation. /// /// /// Container for the necessary parameters to execute the TagResource operation on AmazonIVSRealTimeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource /// operation. /// REST API Reference for TagResource Operation 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); } /// /// Finishes the asynchronous execution of the TagResource operation. /// /// /// The IAsyncResult returned by the call to BeginTagResource. /// /// Returns a TagResourceResult from IVSRealTime. /// REST API Reference for TagResource Operation public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UntagResource /// /// Removes tags from the resource with the specified ARN. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// The response from the UntagResource service method, as returned by IVSRealTime. /// /// /// /// /// /// /// /// /// /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UntagResource operation. /// /// /// Container for the necessary parameters to execute the UntagResource operation on AmazonIVSRealTimeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource /// operation. /// REST API Reference for UntagResource Operation 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); } /// /// Finishes the asynchronous execution of the UntagResource operation. /// /// /// The IAsyncResult returned by the call to BeginUntagResource. /// /// Returns a UntagResourceResult from IVSRealTime. /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateStage /// /// Updates a stage’s configuration. /// /// Container for the necessary parameters to execute the UpdateStage service method. /// /// The response from the UpdateStage service method, as returned by IVSRealTime. /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// REST API Reference for UpdateStage Operation public virtual UpdateStageResponse UpdateStage(UpdateStageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateStageRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateStageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateStage operation. /// /// /// Container for the necessary parameters to execute the UpdateStage operation on AmazonIVSRealTimeClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateStage /// operation. /// REST API Reference for UpdateStage Operation public virtual IAsyncResult BeginUpdateStage(UpdateStageRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateStageRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateStageResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateStage operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateStage. /// /// Returns a UpdateStageResult from IVSRealTime. /// REST API Reference for UpdateStage Operation public virtual UpdateStageResponse EndUpdateStage(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion } }