/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the connectcampaigns-2021-01-30.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using Amazon.ConnectCampaignService.Model; using Amazon.ConnectCampaignService.Model.Internal.MarshallTransformations; using Amazon.ConnectCampaignService.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.ConnectCampaignService { /// /// Implementation for accessing ConnectCampaignService /// /// Provide APIs to create and manage Amazon Connect Campaigns. /// public partial class AmazonConnectCampaignServiceClient : AmazonServiceClient, IAmazonConnectCampaignService { private static IServiceMetadata serviceMetadata = new AmazonConnectCampaignServiceMetadata(); #if BCL45 || AWS_ASYNC_ENUMERABLES_API private IConnectCampaignServicePaginatorFactory _paginators; /// /// Paginators for the service /// public IConnectCampaignServicePaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new ConnectCampaignServicePaginatorFactory(this); } return this._paginators; } } #endif #region Constructors /// /// Constructs AmazonConnectCampaignServiceClient 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 AmazonConnectCampaignServiceClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonConnectCampaignServiceConfig()) { } /// /// Constructs AmazonConnectCampaignServiceClient 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 AmazonConnectCampaignServiceClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonConnectCampaignServiceConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonConnectCampaignServiceClient 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 AmazonConnectCampaignServiceClient Configuration Object public AmazonConnectCampaignServiceClient(AmazonConnectCampaignServiceConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonConnectCampaignServiceClient with AWS Credentials /// /// AWS Credentials public AmazonConnectCampaignServiceClient(AWSCredentials credentials) : this(credentials, new AmazonConnectCampaignServiceConfig()) { } /// /// Constructs AmazonConnectCampaignServiceClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonConnectCampaignServiceClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonConnectCampaignServiceConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonConnectCampaignServiceClient with AWS Credentials and an /// AmazonConnectCampaignServiceClient Configuration object. /// /// AWS Credentials /// The AmazonConnectCampaignServiceClient Configuration Object public AmazonConnectCampaignServiceClient(AWSCredentials credentials, AmazonConnectCampaignServiceConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonConnectCampaignServiceClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonConnectCampaignServiceClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonConnectCampaignServiceConfig()) { } /// /// Constructs AmazonConnectCampaignServiceClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonConnectCampaignServiceClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonConnectCampaignServiceConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonConnectCampaignServiceClient with AWS Access Key ID, AWS Secret Key and an /// AmazonConnectCampaignServiceClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonConnectCampaignServiceClient Configuration Object public AmazonConnectCampaignServiceClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonConnectCampaignServiceConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonConnectCampaignServiceClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonConnectCampaignServiceClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonConnectCampaignServiceConfig()) { } /// /// Constructs AmazonConnectCampaignServiceClient 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 AmazonConnectCampaignServiceClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonConnectCampaignServiceConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonConnectCampaignServiceClient with AWS Access Key ID, AWS Secret Key and an /// AmazonConnectCampaignServiceClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonConnectCampaignServiceClient Configuration Object public AmazonConnectCampaignServiceClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonConnectCampaignServiceConfig 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 AmazonConnectCampaignServiceEndpointResolver()); } /// /// 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 CreateCampaign /// /// Creates a campaign for the specified Amazon Connect account. This API is idempotent. /// /// Container for the necessary parameters to execute the CreateCampaign service method. /// /// The response from the CreateCampaign service method, as returned by ConnectCampaignService. /// /// You do not have sufficient access to perform this action. /// /// /// The request could not be processed because of conflict in the current state of the /// resource. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The specified resource was not found. /// /// /// Request would cause a service quota to be exceeded. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for CreateCampaign Operation public virtual CreateCampaignResponse CreateCampaign(CreateCampaignRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCampaignRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCampaignResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateCampaign operation. /// /// /// Container for the necessary parameters to execute the CreateCampaign operation on AmazonConnectCampaignServiceClient. /// 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 EndCreateCampaign /// operation. /// REST API Reference for CreateCampaign Operation public virtual IAsyncResult BeginCreateCampaign(CreateCampaignRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCampaignRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCampaignResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateCampaign operation. /// /// /// The IAsyncResult returned by the call to BeginCreateCampaign. /// /// Returns a CreateCampaignResult from ConnectCampaignService. /// REST API Reference for CreateCampaign Operation public virtual CreateCampaignResponse EndCreateCampaign(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteCampaign /// /// Deletes a campaign from the specified Amazon Connect account. /// /// Container for the necessary parameters to execute the DeleteCampaign service method. /// /// The response from the DeleteCampaign service method, as returned by ConnectCampaignService. /// /// You do not have sufficient access to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The specified resource was not found. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for DeleteCampaign Operation public virtual DeleteCampaignResponse DeleteCampaign(DeleteCampaignRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCampaignRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCampaignResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteCampaign operation. /// /// /// Container for the necessary parameters to execute the DeleteCampaign operation on AmazonConnectCampaignServiceClient. /// 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 EndDeleteCampaign /// operation. /// REST API Reference for DeleteCampaign Operation public virtual IAsyncResult BeginDeleteCampaign(DeleteCampaignRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCampaignRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCampaignResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteCampaign operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteCampaign. /// /// Returns a DeleteCampaignResult from ConnectCampaignService. /// REST API Reference for DeleteCampaign Operation public virtual DeleteCampaignResponse EndDeleteCampaign(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteConnectInstanceConfig /// /// Deletes a connect instance config from the specified AWS account. /// /// Container for the necessary parameters to execute the DeleteConnectInstanceConfig service method. /// /// The response from the DeleteConnectInstanceConfig service method, as returned by ConnectCampaignService. /// /// You do not have sufficient access to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The request could not be processed because of conflict in the current state. /// /// /// The specified resource was not found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for DeleteConnectInstanceConfig Operation public virtual DeleteConnectInstanceConfigResponse DeleteConnectInstanceConfig(DeleteConnectInstanceConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteConnectInstanceConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteConnectInstanceConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteConnectInstanceConfig operation. /// /// /// Container for the necessary parameters to execute the DeleteConnectInstanceConfig operation on AmazonConnectCampaignServiceClient. /// 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 EndDeleteConnectInstanceConfig /// operation. /// REST API Reference for DeleteConnectInstanceConfig Operation public virtual IAsyncResult BeginDeleteConnectInstanceConfig(DeleteConnectInstanceConfigRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteConnectInstanceConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteConnectInstanceConfigResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteConnectInstanceConfig operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteConnectInstanceConfig. /// /// Returns a DeleteConnectInstanceConfigResult from ConnectCampaignService. /// REST API Reference for DeleteConnectInstanceConfig Operation public virtual DeleteConnectInstanceConfigResponse EndDeleteConnectInstanceConfig(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteInstanceOnboardingJob /// /// Delete the Connect Campaigns onboarding job for the specified Amazon Connect instance. /// /// Container for the necessary parameters to execute the DeleteInstanceOnboardingJob service method. /// /// The response from the DeleteInstanceOnboardingJob service method, as returned by ConnectCampaignService. /// /// You do not have sufficient access to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The request could not be processed because of conflict in the current state. /// /// /// The specified resource was not found. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for DeleteInstanceOnboardingJob Operation public virtual DeleteInstanceOnboardingJobResponse DeleteInstanceOnboardingJob(DeleteInstanceOnboardingJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteInstanceOnboardingJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteInstanceOnboardingJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteInstanceOnboardingJob operation. /// /// /// Container for the necessary parameters to execute the DeleteInstanceOnboardingJob operation on AmazonConnectCampaignServiceClient. /// 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 EndDeleteInstanceOnboardingJob /// operation. /// REST API Reference for DeleteInstanceOnboardingJob Operation public virtual IAsyncResult BeginDeleteInstanceOnboardingJob(DeleteInstanceOnboardingJobRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteInstanceOnboardingJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteInstanceOnboardingJobResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteInstanceOnboardingJob operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteInstanceOnboardingJob. /// /// Returns a DeleteInstanceOnboardingJobResult from ConnectCampaignService. /// REST API Reference for DeleteInstanceOnboardingJob Operation public virtual DeleteInstanceOnboardingJobResponse EndDeleteInstanceOnboardingJob(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeCampaign /// /// Describes the specific campaign. /// /// Container for the necessary parameters to execute the DescribeCampaign service method. /// /// The response from the DescribeCampaign service method, as returned by ConnectCampaignService. /// /// You do not have sufficient access to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The specified resource was not found. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for DescribeCampaign Operation public virtual DescribeCampaignResponse DescribeCampaign(DescribeCampaignRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCampaignRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCampaignResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeCampaign operation. /// /// /// Container for the necessary parameters to execute the DescribeCampaign operation on AmazonConnectCampaignServiceClient. /// 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 EndDescribeCampaign /// operation. /// REST API Reference for DescribeCampaign Operation public virtual IAsyncResult BeginDescribeCampaign(DescribeCampaignRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeCampaignRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeCampaignResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeCampaign operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeCampaign. /// /// Returns a DescribeCampaignResult from ConnectCampaignService. /// REST API Reference for DescribeCampaign Operation public virtual DescribeCampaignResponse EndDescribeCampaign(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetCampaignState /// /// Get state of a campaign for the specified Amazon Connect account. /// /// Container for the necessary parameters to execute the GetCampaignState service method. /// /// The response from the GetCampaignState service method, as returned by ConnectCampaignService. /// /// You do not have sufficient access to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The specified resource was not found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for GetCampaignState Operation public virtual GetCampaignStateResponse GetCampaignState(GetCampaignStateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCampaignStateRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCampaignStateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetCampaignState operation. /// /// /// Container for the necessary parameters to execute the GetCampaignState operation on AmazonConnectCampaignServiceClient. /// 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 EndGetCampaignState /// operation. /// REST API Reference for GetCampaignState Operation public virtual IAsyncResult BeginGetCampaignState(GetCampaignStateRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetCampaignStateRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCampaignStateResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetCampaignState operation. /// /// /// The IAsyncResult returned by the call to BeginGetCampaignState. /// /// Returns a GetCampaignStateResult from ConnectCampaignService. /// REST API Reference for GetCampaignState Operation public virtual GetCampaignStateResponse EndGetCampaignState(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetCampaignStateBatch /// /// Get state of campaigns for the specified Amazon Connect account. /// /// Container for the necessary parameters to execute the GetCampaignStateBatch service method. /// /// The response from the GetCampaignStateBatch service method, as returned by ConnectCampaignService. /// /// You do not have sufficient access to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for GetCampaignStateBatch Operation public virtual GetCampaignStateBatchResponse GetCampaignStateBatch(GetCampaignStateBatchRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCampaignStateBatchRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCampaignStateBatchResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetCampaignStateBatch operation. /// /// /// Container for the necessary parameters to execute the GetCampaignStateBatch operation on AmazonConnectCampaignServiceClient. /// 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 EndGetCampaignStateBatch /// operation. /// REST API Reference for GetCampaignStateBatch Operation public virtual IAsyncResult BeginGetCampaignStateBatch(GetCampaignStateBatchRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetCampaignStateBatchRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCampaignStateBatchResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetCampaignStateBatch operation. /// /// /// The IAsyncResult returned by the call to BeginGetCampaignStateBatch. /// /// Returns a GetCampaignStateBatchResult from ConnectCampaignService. /// REST API Reference for GetCampaignStateBatch Operation public virtual GetCampaignStateBatchResponse EndGetCampaignStateBatch(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetConnectInstanceConfig /// /// Get the specific Connect instance config. /// /// Container for the necessary parameters to execute the GetConnectInstanceConfig service method. /// /// The response from the GetConnectInstanceConfig service method, as returned by ConnectCampaignService. /// /// You do not have sufficient access to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The specified resource was not found. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for GetConnectInstanceConfig Operation public virtual GetConnectInstanceConfigResponse GetConnectInstanceConfig(GetConnectInstanceConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetConnectInstanceConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConnectInstanceConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetConnectInstanceConfig operation. /// /// /// Container for the necessary parameters to execute the GetConnectInstanceConfig operation on AmazonConnectCampaignServiceClient. /// 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 EndGetConnectInstanceConfig /// operation. /// REST API Reference for GetConnectInstanceConfig Operation public virtual IAsyncResult BeginGetConnectInstanceConfig(GetConnectInstanceConfigRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetConnectInstanceConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConnectInstanceConfigResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetConnectInstanceConfig operation. /// /// /// The IAsyncResult returned by the call to BeginGetConnectInstanceConfig. /// /// Returns a GetConnectInstanceConfigResult from ConnectCampaignService. /// REST API Reference for GetConnectInstanceConfig Operation public virtual GetConnectInstanceConfigResponse EndGetConnectInstanceConfig(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetInstanceOnboardingJobStatus /// /// Get the specific instance onboarding job status. /// /// Container for the necessary parameters to execute the GetInstanceOnboardingJobStatus service method. /// /// The response from the GetInstanceOnboardingJobStatus service method, as returned by ConnectCampaignService. /// /// You do not have sufficient access to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The specified resource was not found. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for GetInstanceOnboardingJobStatus Operation public virtual GetInstanceOnboardingJobStatusResponse GetInstanceOnboardingJobStatus(GetInstanceOnboardingJobStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetInstanceOnboardingJobStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetInstanceOnboardingJobStatusResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetInstanceOnboardingJobStatus operation. /// /// /// Container for the necessary parameters to execute the GetInstanceOnboardingJobStatus operation on AmazonConnectCampaignServiceClient. /// 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 EndGetInstanceOnboardingJobStatus /// operation. /// REST API Reference for GetInstanceOnboardingJobStatus Operation public virtual IAsyncResult BeginGetInstanceOnboardingJobStatus(GetInstanceOnboardingJobStatusRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetInstanceOnboardingJobStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetInstanceOnboardingJobStatusResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetInstanceOnboardingJobStatus operation. /// /// /// The IAsyncResult returned by the call to BeginGetInstanceOnboardingJobStatus. /// /// Returns a GetInstanceOnboardingJobStatusResult from ConnectCampaignService. /// REST API Reference for GetInstanceOnboardingJobStatus Operation public virtual GetInstanceOnboardingJobStatusResponse EndGetInstanceOnboardingJobStatus(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListCampaigns /// /// Provides summary information about the campaigns under the specified Amazon Connect /// account. /// /// Container for the necessary parameters to execute the ListCampaigns service method. /// /// The response from the ListCampaigns service method, as returned by ConnectCampaignService. /// /// You do not have sufficient access to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for ListCampaigns Operation public virtual ListCampaignsResponse ListCampaigns(ListCampaignsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListCampaignsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCampaignsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListCampaigns operation. /// /// /// Container for the necessary parameters to execute the ListCampaigns operation on AmazonConnectCampaignServiceClient. /// 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 EndListCampaigns /// operation. /// REST API Reference for ListCampaigns Operation public virtual IAsyncResult BeginListCampaigns(ListCampaignsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListCampaignsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCampaignsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListCampaigns operation. /// /// /// The IAsyncResult returned by the call to BeginListCampaigns. /// /// Returns a ListCampaignsResult from ConnectCampaignService. /// REST API Reference for ListCampaigns Operation public virtual ListCampaignsResponse EndListCampaigns(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListTagsForResource /// /// List tags for a resource. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// The response from the ListTagsForResource service method, as returned by ConnectCampaignService. /// /// You do not have sufficient access to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The specified resource was not found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// 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 AmazonConnectCampaignServiceClient. /// 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 ConnectCampaignService. /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region PauseCampaign /// /// Pauses a campaign for the specified Amazon Connect account. /// /// Container for the necessary parameters to execute the PauseCampaign service method. /// /// The response from the PauseCampaign service method, as returned by ConnectCampaignService. /// /// You do not have sufficient access to perform this action. /// /// /// The request could not be processed because of conflict in the current state of the /// resource. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The request could not be processed because of conflict in the current state of the /// campaign. /// /// /// The specified resource was not found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for PauseCampaign Operation public virtual PauseCampaignResponse PauseCampaign(PauseCampaignRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PauseCampaignRequestMarshaller.Instance; options.ResponseUnmarshaller = PauseCampaignResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the PauseCampaign operation. /// /// /// Container for the necessary parameters to execute the PauseCampaign operation on AmazonConnectCampaignServiceClient. /// 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 EndPauseCampaign /// operation. /// REST API Reference for PauseCampaign Operation public virtual IAsyncResult BeginPauseCampaign(PauseCampaignRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PauseCampaignRequestMarshaller.Instance; options.ResponseUnmarshaller = PauseCampaignResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the PauseCampaign operation. /// /// /// The IAsyncResult returned by the call to BeginPauseCampaign. /// /// Returns a PauseCampaignResult from ConnectCampaignService. /// REST API Reference for PauseCampaign Operation public virtual PauseCampaignResponse EndPauseCampaign(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region PutDialRequestBatch /// /// Creates dials requests for the specified campaign Amazon Connect account. This API /// is idempotent. /// /// Container for the necessary parameters to execute the PutDialRequestBatch service method. /// /// The response from the PutDialRequestBatch service method, as returned by ConnectCampaignService. /// /// You do not have sufficient access to perform this action. /// /// /// The request could not be processed because of conflict in the current state of the /// resource. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The request could not be processed because of conflict in the current state of the /// campaign. /// /// /// The specified resource was not found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for PutDialRequestBatch Operation public virtual PutDialRequestBatchResponse PutDialRequestBatch(PutDialRequestBatchRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutDialRequestBatchRequestMarshaller.Instance; options.ResponseUnmarshaller = PutDialRequestBatchResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the PutDialRequestBatch operation. /// /// /// Container for the necessary parameters to execute the PutDialRequestBatch operation on AmazonConnectCampaignServiceClient. /// 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 EndPutDialRequestBatch /// operation. /// REST API Reference for PutDialRequestBatch Operation public virtual IAsyncResult BeginPutDialRequestBatch(PutDialRequestBatchRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PutDialRequestBatchRequestMarshaller.Instance; options.ResponseUnmarshaller = PutDialRequestBatchResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the PutDialRequestBatch operation. /// /// /// The IAsyncResult returned by the call to BeginPutDialRequestBatch. /// /// Returns a PutDialRequestBatchResult from ConnectCampaignService. /// REST API Reference for PutDialRequestBatch Operation public virtual PutDialRequestBatchResponse EndPutDialRequestBatch(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ResumeCampaign /// /// Stops a campaign for the specified Amazon Connect account. /// /// Container for the necessary parameters to execute the ResumeCampaign service method. /// /// The response from the ResumeCampaign service method, as returned by ConnectCampaignService. /// /// You do not have sufficient access to perform this action. /// /// /// The request could not be processed because of conflict in the current state of the /// resource. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The request could not be processed because of conflict in the current state of the /// campaign. /// /// /// The specified resource was not found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for ResumeCampaign Operation public virtual ResumeCampaignResponse ResumeCampaign(ResumeCampaignRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ResumeCampaignRequestMarshaller.Instance; options.ResponseUnmarshaller = ResumeCampaignResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ResumeCampaign operation. /// /// /// Container for the necessary parameters to execute the ResumeCampaign operation on AmazonConnectCampaignServiceClient. /// 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 EndResumeCampaign /// operation. /// REST API Reference for ResumeCampaign Operation public virtual IAsyncResult BeginResumeCampaign(ResumeCampaignRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ResumeCampaignRequestMarshaller.Instance; options.ResponseUnmarshaller = ResumeCampaignResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ResumeCampaign operation. /// /// /// The IAsyncResult returned by the call to BeginResumeCampaign. /// /// Returns a ResumeCampaignResult from ConnectCampaignService. /// REST API Reference for ResumeCampaign Operation public virtual ResumeCampaignResponse EndResumeCampaign(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StartCampaign /// /// Starts a campaign for the specified Amazon Connect account. /// /// Container for the necessary parameters to execute the StartCampaign service method. /// /// The response from the StartCampaign service method, as returned by ConnectCampaignService. /// /// You do not have sufficient access to perform this action. /// /// /// The request could not be processed because of conflict in the current state of the /// resource. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The request could not be processed because of conflict in the current state of the /// campaign. /// /// /// The specified resource was not found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for StartCampaign Operation public virtual StartCampaignResponse StartCampaign(StartCampaignRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartCampaignRequestMarshaller.Instance; options.ResponseUnmarshaller = StartCampaignResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StartCampaign operation. /// /// /// Container for the necessary parameters to execute the StartCampaign operation on AmazonConnectCampaignServiceClient. /// 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 EndStartCampaign /// operation. /// REST API Reference for StartCampaign Operation public virtual IAsyncResult BeginStartCampaign(StartCampaignRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartCampaignRequestMarshaller.Instance; options.ResponseUnmarshaller = StartCampaignResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StartCampaign operation. /// /// /// The IAsyncResult returned by the call to BeginStartCampaign. /// /// Returns a StartCampaignResult from ConnectCampaignService. /// REST API Reference for StartCampaign Operation public virtual StartCampaignResponse EndStartCampaign(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StartInstanceOnboardingJob /// /// Onboard the specific Amazon Connect instance to Connect Campaigns. /// /// Container for the necessary parameters to execute the StartInstanceOnboardingJob service method. /// /// The response from the StartInstanceOnboardingJob service method, as returned by ConnectCampaignService. /// /// You do not have sufficient access to perform this action. /// /// /// The request could not be processed because of conflict in the current state of the /// resource. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The specified resource was not found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for StartInstanceOnboardingJob Operation public virtual StartInstanceOnboardingJobResponse StartInstanceOnboardingJob(StartInstanceOnboardingJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartInstanceOnboardingJobRequestMarshaller.Instance; options.ResponseUnmarshaller = StartInstanceOnboardingJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StartInstanceOnboardingJob operation. /// /// /// Container for the necessary parameters to execute the StartInstanceOnboardingJob operation on AmazonConnectCampaignServiceClient. /// 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 EndStartInstanceOnboardingJob /// operation. /// REST API Reference for StartInstanceOnboardingJob Operation public virtual IAsyncResult BeginStartInstanceOnboardingJob(StartInstanceOnboardingJobRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartInstanceOnboardingJobRequestMarshaller.Instance; options.ResponseUnmarshaller = StartInstanceOnboardingJobResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StartInstanceOnboardingJob operation. /// /// /// The IAsyncResult returned by the call to BeginStartInstanceOnboardingJob. /// /// Returns a StartInstanceOnboardingJobResult from ConnectCampaignService. /// REST API Reference for StartInstanceOnboardingJob Operation public virtual StartInstanceOnboardingJobResponse EndStartInstanceOnboardingJob(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StopCampaign /// /// Stops a campaign for the specified Amazon Connect account. /// /// Container for the necessary parameters to execute the StopCampaign service method. /// /// The response from the StopCampaign service method, as returned by ConnectCampaignService. /// /// You do not have sufficient access to perform this action. /// /// /// The request could not be processed because of conflict in the current state of the /// resource. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The request could not be processed because of conflict in the current state of the /// campaign. /// /// /// The specified resource was not found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for StopCampaign Operation public virtual StopCampaignResponse StopCampaign(StopCampaignRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StopCampaignRequestMarshaller.Instance; options.ResponseUnmarshaller = StopCampaignResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StopCampaign operation. /// /// /// Container for the necessary parameters to execute the StopCampaign operation on AmazonConnectCampaignServiceClient. /// 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 EndStopCampaign /// operation. /// REST API Reference for StopCampaign Operation public virtual IAsyncResult BeginStopCampaign(StopCampaignRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StopCampaignRequestMarshaller.Instance; options.ResponseUnmarshaller = StopCampaignResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StopCampaign operation. /// /// /// The IAsyncResult returned by the call to BeginStopCampaign. /// /// Returns a StopCampaignResult from ConnectCampaignService. /// REST API Reference for StopCampaign Operation public virtual StopCampaignResponse EndStopCampaign(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region TagResource /// /// Tag a resource. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// The response from the TagResource service method, as returned by ConnectCampaignService. /// /// You do not have sufficient access to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The specified resource was not found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// 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 AmazonConnectCampaignServiceClient. /// 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 ConnectCampaignService. /// REST API Reference for TagResource Operation public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UntagResource /// /// Untag a resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// The response from the UntagResource service method, as returned by ConnectCampaignService. /// /// You do not have sufficient access to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The specified resource was not found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// 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 AmazonConnectCampaignServiceClient. /// 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 ConnectCampaignService. /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateCampaignDialerConfig /// /// Updates the dialer config of a campaign. This API is idempotent. /// /// Container for the necessary parameters to execute the UpdateCampaignDialerConfig service method. /// /// The response from the UpdateCampaignDialerConfig service method, as returned by ConnectCampaignService. /// /// You do not have sufficient access to perform this action. /// /// /// The request could not be processed because of conflict in the current state of the /// resource. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The specified resource was not found. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for UpdateCampaignDialerConfig Operation public virtual UpdateCampaignDialerConfigResponse UpdateCampaignDialerConfig(UpdateCampaignDialerConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateCampaignDialerConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateCampaignDialerConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateCampaignDialerConfig operation. /// /// /// Container for the necessary parameters to execute the UpdateCampaignDialerConfig operation on AmazonConnectCampaignServiceClient. /// 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 EndUpdateCampaignDialerConfig /// operation. /// REST API Reference for UpdateCampaignDialerConfig Operation public virtual IAsyncResult BeginUpdateCampaignDialerConfig(UpdateCampaignDialerConfigRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateCampaignDialerConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateCampaignDialerConfigResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateCampaignDialerConfig operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateCampaignDialerConfig. /// /// Returns a UpdateCampaignDialerConfigResult from ConnectCampaignService. /// REST API Reference for UpdateCampaignDialerConfig Operation public virtual UpdateCampaignDialerConfigResponse EndUpdateCampaignDialerConfig(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateCampaignName /// /// Updates the name of a campaign. This API is idempotent. /// /// Container for the necessary parameters to execute the UpdateCampaignName service method. /// /// The response from the UpdateCampaignName service method, as returned by ConnectCampaignService. /// /// You do not have sufficient access to perform this action. /// /// /// The request could not be processed because of conflict in the current state of the /// resource. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The specified resource was not found. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for UpdateCampaignName Operation public virtual UpdateCampaignNameResponse UpdateCampaignName(UpdateCampaignNameRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateCampaignNameRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateCampaignNameResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateCampaignName operation. /// /// /// Container for the necessary parameters to execute the UpdateCampaignName operation on AmazonConnectCampaignServiceClient. /// 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 EndUpdateCampaignName /// operation. /// REST API Reference for UpdateCampaignName Operation public virtual IAsyncResult BeginUpdateCampaignName(UpdateCampaignNameRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateCampaignNameRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateCampaignNameResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateCampaignName operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateCampaignName. /// /// Returns a UpdateCampaignNameResult from ConnectCampaignService. /// REST API Reference for UpdateCampaignName Operation public virtual UpdateCampaignNameResponse EndUpdateCampaignName(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateCampaignOutboundCallConfig /// /// Updates the outbound call config of a campaign. This API is idempotent. /// /// Container for the necessary parameters to execute the UpdateCampaignOutboundCallConfig service method. /// /// The response from the UpdateCampaignOutboundCallConfig service method, as returned by ConnectCampaignService. /// /// You do not have sufficient access to perform this action. /// /// /// The request could not be processed because of conflict in the current state of the /// resource. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The specified resource was not found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by an AWS service. /// /// REST API Reference for UpdateCampaignOutboundCallConfig Operation public virtual UpdateCampaignOutboundCallConfigResponse UpdateCampaignOutboundCallConfig(UpdateCampaignOutboundCallConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateCampaignOutboundCallConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateCampaignOutboundCallConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateCampaignOutboundCallConfig operation. /// /// /// Container for the necessary parameters to execute the UpdateCampaignOutboundCallConfig operation on AmazonConnectCampaignServiceClient. /// 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 EndUpdateCampaignOutboundCallConfig /// operation. /// REST API Reference for UpdateCampaignOutboundCallConfig Operation public virtual IAsyncResult BeginUpdateCampaignOutboundCallConfig(UpdateCampaignOutboundCallConfigRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateCampaignOutboundCallConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateCampaignOutboundCallConfigResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateCampaignOutboundCallConfig operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateCampaignOutboundCallConfig. /// /// Returns a UpdateCampaignOutboundCallConfigResult from ConnectCampaignService. /// REST API Reference for UpdateCampaignOutboundCallConfig Operation public virtual UpdateCampaignOutboundCallConfigResponse EndUpdateCampaignOutboundCallConfig(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion } }