/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the personalize-2018-05-22.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using Amazon.Personalize.Model; using Amazon.Personalize.Model.Internal.MarshallTransformations; using Amazon.Personalize.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.Personalize { /// /// Implementation for accessing Personalize /// /// Amazon Personalize is a machine learning service that makes it easy to add individualized /// recommendations to customers. /// public partial class AmazonPersonalizeClient : AmazonServiceClient, IAmazonPersonalize { private static IServiceMetadata serviceMetadata = new AmazonPersonalizeMetadata(); #if BCL45 || AWS_ASYNC_ENUMERABLES_API private IPersonalizePaginatorFactory _paginators; /// /// Paginators for the service /// public IPersonalizePaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new PersonalizePaginatorFactory(this); } return this._paginators; } } #endif #region Constructors /// /// Constructs AmazonPersonalizeClient 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 AmazonPersonalizeClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonPersonalizeConfig()) { } /// /// Constructs AmazonPersonalizeClient 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 AmazonPersonalizeClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonPersonalizeConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonPersonalizeClient 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 AmazonPersonalizeClient Configuration Object public AmazonPersonalizeClient(AmazonPersonalizeConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonPersonalizeClient with AWS Credentials /// /// AWS Credentials public AmazonPersonalizeClient(AWSCredentials credentials) : this(credentials, new AmazonPersonalizeConfig()) { } /// /// Constructs AmazonPersonalizeClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonPersonalizeClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonPersonalizeConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonPersonalizeClient with AWS Credentials and an /// AmazonPersonalizeClient Configuration object. /// /// AWS Credentials /// The AmazonPersonalizeClient Configuration Object public AmazonPersonalizeClient(AWSCredentials credentials, AmazonPersonalizeConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonPersonalizeClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonPersonalizeClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonPersonalizeConfig()) { } /// /// Constructs AmazonPersonalizeClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonPersonalizeClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonPersonalizeConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonPersonalizeClient with AWS Access Key ID, AWS Secret Key and an /// AmazonPersonalizeClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonPersonalizeClient Configuration Object public AmazonPersonalizeClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonPersonalizeConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonPersonalizeClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonPersonalizeClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonPersonalizeConfig()) { } /// /// Constructs AmazonPersonalizeClient 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 AmazonPersonalizeClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonPersonalizeConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonPersonalizeClient with AWS Access Key ID, AWS Secret Key and an /// AmazonPersonalizeClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonPersonalizeClient Configuration Object public AmazonPersonalizeClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonPersonalizeConfig 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 AmazonPersonalizeEndpointResolver()); } /// /// 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 CreateBatchInferenceJob /// /// Creates a batch inference job. The operation can handle up to 50 million records and /// the input file must be in JSON format. For more information, see Creating /// a batch inference job. /// /// Container for the necessary parameters to execute the CreateBatchInferenceJob service method. /// /// The response from the CreateBatchInferenceJob service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The limit on the number of requests per second has been exceeded. /// /// /// The specified resource already exists. /// /// /// The specified resource is in use. /// /// /// Could not find the specified resource. /// /// /// You have exceeded the maximum number of tags you can apply to this resource. /// /// REST API Reference for CreateBatchInferenceJob Operation public virtual CreateBatchInferenceJobResponse CreateBatchInferenceJob(CreateBatchInferenceJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBatchInferenceJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBatchInferenceJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateBatchInferenceJob operation. /// /// /// Container for the necessary parameters to execute the CreateBatchInferenceJob operation on AmazonPersonalizeClient. /// 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 EndCreateBatchInferenceJob /// operation. /// REST API Reference for CreateBatchInferenceJob Operation public virtual IAsyncResult BeginCreateBatchInferenceJob(CreateBatchInferenceJobRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBatchInferenceJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBatchInferenceJobResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateBatchInferenceJob operation. /// /// /// The IAsyncResult returned by the call to BeginCreateBatchInferenceJob. /// /// Returns a CreateBatchInferenceJobResult from Personalize. /// REST API Reference for CreateBatchInferenceJob Operation public virtual CreateBatchInferenceJobResponse EndCreateBatchInferenceJob(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateBatchSegmentJob /// /// Creates a batch segment job. The operation can handle up to 50 million records and /// the input file must be in JSON format. For more information, see Getting /// batch recommendations and user segments. /// /// Container for the necessary parameters to execute the CreateBatchSegmentJob service method. /// /// The response from the CreateBatchSegmentJob service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The limit on the number of requests per second has been exceeded. /// /// /// The specified resource already exists. /// /// /// The specified resource is in use. /// /// /// Could not find the specified resource. /// /// /// You have exceeded the maximum number of tags you can apply to this resource. /// /// REST API Reference for CreateBatchSegmentJob Operation public virtual CreateBatchSegmentJobResponse CreateBatchSegmentJob(CreateBatchSegmentJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBatchSegmentJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBatchSegmentJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateBatchSegmentJob operation. /// /// /// Container for the necessary parameters to execute the CreateBatchSegmentJob operation on AmazonPersonalizeClient. /// 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 EndCreateBatchSegmentJob /// operation. /// REST API Reference for CreateBatchSegmentJob Operation public virtual IAsyncResult BeginCreateBatchSegmentJob(CreateBatchSegmentJobRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBatchSegmentJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBatchSegmentJobResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateBatchSegmentJob operation. /// /// /// The IAsyncResult returned by the call to BeginCreateBatchSegmentJob. /// /// Returns a CreateBatchSegmentJobResult from Personalize. /// REST API Reference for CreateBatchSegmentJob Operation public virtual CreateBatchSegmentJobResponse EndCreateBatchSegmentJob(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateCampaign /// /// Creates a campaign that deploys a solution version. When a client calls the GetRecommendations /// and GetPersonalizedRanking /// APIs, a campaign is specified in the request. /// /// /// /// Minimum Provisioned TPS and Auto-Scaling /// /// /// /// A high minProvisionedTPS will increase your bill. We recommend starting /// with 1 for minProvisionedTPS (the default). Track your usage using Amazon /// CloudWatch metrics, and increase the minProvisionedTPS as necessary. /// /// /// /// A transaction is a single GetRecommendations or GetPersonalizedRanking /// call. Transactions per second (TPS) is the throughput and unit of billing for Amazon /// Personalize. The minimum provisioned TPS (minProvisionedTPS) specifies /// the baseline throughput provisioned by Amazon Personalize, and thus, the minimum billing /// charge. /// /// /// /// If your TPS increases beyond minProvisionedTPS, Amazon Personalize auto-scales /// the provisioned capacity up and down, but never below minProvisionedTPS. /// There's a short time delay while the capacity is increased that might cause loss of /// transactions. /// /// /// /// The actual TPS used is calculated as the average requests/second within a 5-minute /// window. You pay for maximum of either the minimum provisioned TPS or the actual TPS. /// We recommend starting with a low minProvisionedTPS, track your usage /// using Amazon CloudWatch metrics, and then increase the minProvisionedTPS /// as necessary. /// /// /// /// Status /// /// /// /// A campaign can be in one of the following states: /// ///
  • /// /// CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED /// ///
  • /// /// DELETE PENDING > DELETE IN_PROGRESS /// ///
/// /// To get the campaign status, call DescribeCampaign. /// /// /// /// Wait until the status of the campaign is ACTIVE before asking /// the campaign for recommendations. /// ///

Related APIs /// ///

///
/// Container for the necessary parameters to execute the CreateCampaign service method. /// /// The response from the CreateCampaign service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The limit on the number of requests per second has been exceeded. /// /// /// The specified resource already exists. /// /// /// The specified resource is in use. /// /// /// Could not find the specified resource. /// /// /// You have exceeded the maximum number of tags you can apply to this resource. /// /// 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 AmazonPersonalizeClient. /// 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 Personalize. /// REST API Reference for CreateCampaign Operation public virtual CreateCampaignResponse EndCreateCampaign(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateDataset /// /// Creates an empty dataset and adds it to the specified dataset group. Use CreateDatasetImportJob /// to import your training data to a dataset. /// /// /// /// There are three types of datasets: /// ///
  • /// /// Interactions /// ///
  • /// /// Items /// ///
  • /// /// Users /// ///
/// /// Each dataset type has an associated schema with required field types. Only the Interactions /// dataset is required in order to train a model (also referred to as creating a solution). /// /// /// /// A dataset can be in one of the following states: /// ///
  • /// /// CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED /// ///
  • /// /// DELETE PENDING > DELETE IN_PROGRESS /// ///
/// /// To get the status of the dataset, call DescribeDataset. /// ///

Related APIs /// ///

///
/// Container for the necessary parameters to execute the CreateDataset service method. /// /// The response from the CreateDataset service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The limit on the number of requests per second has been exceeded. /// /// /// The specified resource already exists. /// /// /// The specified resource is in use. /// /// /// Could not find the specified resource. /// /// /// You have exceeded the maximum number of tags you can apply to this resource. /// /// REST API Reference for CreateDataset Operation public virtual CreateDatasetResponse CreateDataset(CreateDatasetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDatasetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDatasetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateDataset operation. /// /// /// Container for the necessary parameters to execute the CreateDataset operation on AmazonPersonalizeClient. /// 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 EndCreateDataset /// operation. /// REST API Reference for CreateDataset Operation public virtual IAsyncResult BeginCreateDataset(CreateDatasetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDatasetRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDatasetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateDataset operation. /// /// /// The IAsyncResult returned by the call to BeginCreateDataset. /// /// Returns a CreateDatasetResult from Personalize. /// REST API Reference for CreateDataset Operation public virtual CreateDatasetResponse EndCreateDataset(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateDatasetExportJob /// /// Creates a job that exports data from your dataset to an Amazon S3 bucket. To allow /// Amazon Personalize to export the training data, you must specify an service-linked /// IAM role that gives Amazon Personalize PutObject permissions for your /// Amazon S3 bucket. For information, see Exporting /// a dataset in the Amazon Personalize developer guide. /// /// /// /// Status /// /// /// /// A dataset export job can be in one of the following states: /// ///
  • /// /// CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED /// ///
/// /// To get the status of the export job, call DescribeDatasetExportJob, /// and specify the Amazon Resource Name (ARN) of the dataset export job. The dataset /// export is complete when the status shows as ACTIVE. If the status shows as CREATE /// FAILED, the response includes a failureReason key, which describes why /// the job failed. /// ///
/// Container for the necessary parameters to execute the CreateDatasetExportJob service method. /// /// The response from the CreateDatasetExportJob service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The limit on the number of requests per second has been exceeded. /// /// /// The specified resource already exists. /// /// /// The specified resource is in use. /// /// /// Could not find the specified resource. /// /// /// You have exceeded the maximum number of tags you can apply to this resource. /// /// REST API Reference for CreateDatasetExportJob Operation public virtual CreateDatasetExportJobResponse CreateDatasetExportJob(CreateDatasetExportJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDatasetExportJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDatasetExportJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateDatasetExportJob operation. /// /// /// Container for the necessary parameters to execute the CreateDatasetExportJob operation on AmazonPersonalizeClient. /// 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 EndCreateDatasetExportJob /// operation. /// REST API Reference for CreateDatasetExportJob Operation public virtual IAsyncResult BeginCreateDatasetExportJob(CreateDatasetExportJobRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDatasetExportJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDatasetExportJobResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateDatasetExportJob operation. /// /// /// The IAsyncResult returned by the call to BeginCreateDatasetExportJob. /// /// Returns a CreateDatasetExportJobResult from Personalize. /// REST API Reference for CreateDatasetExportJob Operation public virtual CreateDatasetExportJobResponse EndCreateDatasetExportJob(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateDatasetGroup /// /// Creates an empty dataset group. A dataset group is a container for Amazon Personalize /// resources. A dataset group can contain at most three datasets, one for each type of /// dataset: /// ///
  • /// /// Interactions /// ///
  • /// /// Items /// ///
  • /// /// Users /// ///
/// /// A dataset group can be a Domain dataset group, where you specify a domain and use /// pre-configured resources like recommenders, or a Custom dataset group, where you use /// custom resources, such as a solution with a solution version, that you deploy with /// a campaign. If you start with a Domain dataset group, you can still add custom resources /// such as solutions and solution versions trained with recipes for custom use cases /// and deployed with campaigns. /// /// /// /// A dataset group can be in one of the following states: /// ///
  • /// /// CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED /// ///
  • /// /// DELETE PENDING /// ///
/// /// To get the status of the dataset group, call DescribeDatasetGroup. /// If the status shows as CREATE FAILED, the response includes a failureReason /// key, which describes why the creation failed. /// /// /// /// You must wait until the status of the dataset group is ACTIVE /// before adding a dataset to the group. /// /// /// /// You can specify an Key Management Service (KMS) key to encrypt the datasets in the /// group. If you specify a KMS key, you must also include an Identity and Access Management /// (IAM) role that has permission to access the key. /// ///

APIs that require a dataset group ARN in the request /// ///

Related APIs /// ///

///
/// Container for the necessary parameters to execute the CreateDatasetGroup service method. /// /// The response from the CreateDatasetGroup service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The limit on the number of requests per second has been exceeded. /// /// /// The specified resource already exists. /// /// /// You have exceeded the maximum number of tags you can apply to this resource. /// /// REST API Reference for CreateDatasetGroup Operation public virtual CreateDatasetGroupResponse CreateDatasetGroup(CreateDatasetGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDatasetGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDatasetGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateDatasetGroup operation. /// /// /// Container for the necessary parameters to execute the CreateDatasetGroup operation on AmazonPersonalizeClient. /// 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 EndCreateDatasetGroup /// operation. /// REST API Reference for CreateDatasetGroup Operation public virtual IAsyncResult BeginCreateDatasetGroup(CreateDatasetGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDatasetGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDatasetGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateDatasetGroup operation. /// /// /// The IAsyncResult returned by the call to BeginCreateDatasetGroup. /// /// Returns a CreateDatasetGroupResult from Personalize. /// REST API Reference for CreateDatasetGroup Operation public virtual CreateDatasetGroupResponse EndCreateDatasetGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateDatasetImportJob /// /// Creates a job that imports training data from your data source (an Amazon S3 bucket) /// to an Amazon Personalize dataset. To allow Amazon Personalize to import the training /// data, you must specify an IAM service role that has permission to read from the data /// source, as Amazon Personalize makes a copy of your data and processes it internally. /// For information on granting access to your Amazon S3 bucket, see Giving /// Amazon Personalize Access to Amazon S3 Resources. /// /// /// /// By default, a dataset import job replaces any existing data in the dataset that you /// imported in bulk. To add new records without replacing existing data, specify INCREMENTAL /// for the import mode in the CreateDatasetImportJob operation. /// /// /// /// Status /// /// /// /// A dataset import job can be in one of the following states: /// ///
  • /// /// CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED /// ///
/// /// To get the status of the import job, call DescribeDatasetImportJob, /// providing the Amazon Resource Name (ARN) of the dataset import job. The dataset import /// is complete when the status shows as ACTIVE. If the status shows as CREATE FAILED, /// the response includes a failureReason key, which describes why the job /// failed. /// /// /// /// Importing takes time. You must wait until the status shows as ACTIVE before training /// a model using the dataset. /// ///

Related APIs /// ///

///
/// Container for the necessary parameters to execute the CreateDatasetImportJob service method. /// /// The response from the CreateDatasetImportJob service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The limit on the number of requests per second has been exceeded. /// /// /// The specified resource already exists. /// /// /// The specified resource is in use. /// /// /// Could not find the specified resource. /// /// /// You have exceeded the maximum number of tags you can apply to this resource. /// /// REST API Reference for CreateDatasetImportJob Operation public virtual CreateDatasetImportJobResponse CreateDatasetImportJob(CreateDatasetImportJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDatasetImportJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDatasetImportJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateDatasetImportJob operation. /// /// /// Container for the necessary parameters to execute the CreateDatasetImportJob operation on AmazonPersonalizeClient. /// 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 EndCreateDatasetImportJob /// operation. /// REST API Reference for CreateDatasetImportJob Operation public virtual IAsyncResult BeginCreateDatasetImportJob(CreateDatasetImportJobRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDatasetImportJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDatasetImportJobResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateDatasetImportJob operation. /// /// /// The IAsyncResult returned by the call to BeginCreateDatasetImportJob. /// /// Returns a CreateDatasetImportJobResult from Personalize. /// REST API Reference for CreateDatasetImportJob Operation public virtual CreateDatasetImportJobResponse EndCreateDatasetImportJob(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateEventTracker /// /// Creates an event tracker that you use when adding event data to a specified dataset /// group using the PutEvents /// API. /// /// /// /// Only one event tracker can be associated with a dataset group. You will get an error /// if you call CreateEventTracker using the same dataset group as an existing /// event tracker. /// /// /// /// When you create an event tracker, the response includes a tracking ID, which you pass /// as a parameter when you use the PutEvents /// operation. Amazon Personalize then appends the event data to the Interactions dataset /// of the dataset group you specify in your event tracker. /// /// /// /// The event tracker can be in one of the following states: /// ///
  • /// /// CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED /// ///
  • /// /// DELETE PENDING > DELETE IN_PROGRESS /// ///
/// /// To get the status of the event tracker, call DescribeEventTracker. /// /// /// /// The event tracker must be in the ACTIVE state before using the tracking ID. /// ///

Related APIs /// ///

///
/// Container for the necessary parameters to execute the CreateEventTracker service method. /// /// The response from the CreateEventTracker service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The limit on the number of requests per second has been exceeded. /// /// /// The specified resource already exists. /// /// /// The specified resource is in use. /// /// /// Could not find the specified resource. /// /// /// You have exceeded the maximum number of tags you can apply to this resource. /// /// REST API Reference for CreateEventTracker Operation public virtual CreateEventTrackerResponse CreateEventTracker(CreateEventTrackerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateEventTrackerRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateEventTrackerResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateEventTracker operation. /// /// /// Container for the necessary parameters to execute the CreateEventTracker operation on AmazonPersonalizeClient. /// 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 EndCreateEventTracker /// operation. /// REST API Reference for CreateEventTracker Operation public virtual IAsyncResult BeginCreateEventTracker(CreateEventTrackerRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateEventTrackerRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateEventTrackerResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateEventTracker operation. /// /// /// The IAsyncResult returned by the call to BeginCreateEventTracker. /// /// Returns a CreateEventTrackerResult from Personalize. /// REST API Reference for CreateEventTracker Operation public virtual CreateEventTrackerResponse EndCreateEventTracker(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateFilter /// /// Creates a recommendation filter. For more information, see Filtering /// recommendations and user segments. /// /// Container for the necessary parameters to execute the CreateFilter service method. /// /// The response from the CreateFilter service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The limit on the number of requests per second has been exceeded. /// /// /// The specified resource already exists. /// /// /// Could not find the specified resource. /// /// /// You have exceeded the maximum number of tags you can apply to this resource. /// /// REST API Reference for CreateFilter Operation public virtual CreateFilterResponse CreateFilter(CreateFilterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFilterResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateFilter operation. /// /// /// Container for the necessary parameters to execute the CreateFilter operation on AmazonPersonalizeClient. /// 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 EndCreateFilter /// operation. /// REST API Reference for CreateFilter Operation public virtual IAsyncResult BeginCreateFilter(CreateFilterRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFilterResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateFilter operation. /// /// /// The IAsyncResult returned by the call to BeginCreateFilter. /// /// Returns a CreateFilterResult from Personalize. /// REST API Reference for CreateFilter Operation public virtual CreateFilterResponse EndCreateFilter(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateMetricAttribution /// /// Creates a metric attribution. A metric attribution creates reports on the data that /// you import into Amazon Personalize. Depending on how you imported the data, you can /// view reports in Amazon CloudWatch or Amazon S3. For more information, see Measuring /// impact of recommendations. /// /// Container for the necessary parameters to execute the CreateMetricAttribution service method. /// /// The response from the CreateMetricAttribution service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The limit on the number of requests per second has been exceeded. /// /// /// The specified resource already exists. /// /// /// The specified resource is in use. /// /// /// Could not find the specified resource. /// /// REST API Reference for CreateMetricAttribution Operation public virtual CreateMetricAttributionResponse CreateMetricAttribution(CreateMetricAttributionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateMetricAttributionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateMetricAttributionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateMetricAttribution operation. /// /// /// Container for the necessary parameters to execute the CreateMetricAttribution operation on AmazonPersonalizeClient. /// 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 EndCreateMetricAttribution /// operation. /// REST API Reference for CreateMetricAttribution Operation public virtual IAsyncResult BeginCreateMetricAttribution(CreateMetricAttributionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateMetricAttributionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateMetricAttributionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateMetricAttribution operation. /// /// /// The IAsyncResult returned by the call to BeginCreateMetricAttribution. /// /// Returns a CreateMetricAttributionResult from Personalize. /// REST API Reference for CreateMetricAttribution Operation public virtual CreateMetricAttributionResponse EndCreateMetricAttribution(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateRecommender /// /// Creates a recommender with the recipe (a Domain dataset group use case) you specify. /// You create recommenders for a Domain dataset group and specify the recommender's Amazon /// Resource Name (ARN) when you make a GetRecommendations /// request. /// /// /// /// Minimum recommendation requests per second /// /// /// /// A high minRecommendationRequestsPerSecond will increase your bill. We /// recommend starting with 1 for minRecommendationRequestsPerSecond (the /// default). Track your usage using Amazon CloudWatch metrics, and increase the minRecommendationRequestsPerSecond /// as necessary. /// /// /// /// When you create a recommender, you can configure the recommender's minimum recommendation /// requests per second. The minimum recommendation requests per second (minRecommendationRequestsPerSecond) /// specifies the baseline recommendation request throughput provisioned by Amazon Personalize. /// The default minRecommendationRequestsPerSecond is 1. A recommendation /// request is a single GetRecommendations operation. Request throughput /// is measured in requests per second and Amazon Personalize uses your requests per second /// to derive your requests per hour and the price of your recommender usage. /// /// /// /// If your requests per second increases beyond minRecommendationRequestsPerSecond, /// Amazon Personalize auto-scales the provisioned capacity up and down, but never below /// minRecommendationRequestsPerSecond. There's a short time delay while /// the capacity is increased that might cause loss of requests. /// /// /// /// Your bill is the greater of either the minimum requests per hour (based on minRecommendationRequestsPerSecond) /// or the actual number of requests. The actual request throughput used is calculated /// as the average requests/second within a one-hour window. We recommend starting with /// the default minRecommendationRequestsPerSecond, track your usage using /// Amazon CloudWatch metrics, and then increase the minRecommendationRequestsPerSecond /// as necessary. /// /// /// /// Status /// /// /// /// A recommender can be in one of the following states: /// ///
  • /// /// CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED /// ///
  • /// /// STOP PENDING > STOP IN_PROGRESS > INACTIVE > START PENDING > START IN_PROGRESS /// > ACTIVE /// ///
  • /// /// DELETE PENDING > DELETE IN_PROGRESS /// ///
/// /// To get the recommender status, call DescribeRecommender. /// /// /// /// Wait until the status of the recommender is ACTIVE before /// asking the recommender for recommendations. /// ///

Related APIs /// ///

///
/// Container for the necessary parameters to execute the CreateRecommender service method. /// /// The response from the CreateRecommender service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The limit on the number of requests per second has been exceeded. /// /// /// The specified resource already exists. /// /// /// The specified resource is in use. /// /// /// Could not find the specified resource. /// /// /// You have exceeded the maximum number of tags you can apply to this resource. /// /// REST API Reference for CreateRecommender Operation public virtual CreateRecommenderResponse CreateRecommender(CreateRecommenderRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRecommenderRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRecommenderResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateRecommender operation. /// /// /// Container for the necessary parameters to execute the CreateRecommender operation on AmazonPersonalizeClient. /// 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 EndCreateRecommender /// operation. /// REST API Reference for CreateRecommender Operation public virtual IAsyncResult BeginCreateRecommender(CreateRecommenderRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRecommenderRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRecommenderResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateRecommender operation. /// /// /// The IAsyncResult returned by the call to BeginCreateRecommender. /// /// Returns a CreateRecommenderResult from Personalize. /// REST API Reference for CreateRecommender Operation public virtual CreateRecommenderResponse EndCreateRecommender(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateSchema /// /// Creates an Amazon Personalize schema from the specified schema string. The schema /// you create must be in Avro JSON format. /// /// /// /// Amazon Personalize recognizes three schema variants. Each schema is associated with /// a dataset type and has a set of required field and keywords. If you are creating a /// schema for a dataset in a Domain dataset group, you provide the domain of the Domain /// dataset group. You specify a schema when you call CreateDataset. /// ///

Related APIs /// ///

///
/// Container for the necessary parameters to execute the CreateSchema service method. /// /// The response from the CreateSchema service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The limit on the number of requests per second has been exceeded. /// /// /// The specified resource already exists. /// /// REST API Reference for CreateSchema Operation public virtual CreateSchemaResponse CreateSchema(CreateSchemaRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSchemaRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSchemaResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateSchema operation. /// /// /// Container for the necessary parameters to execute the CreateSchema operation on AmazonPersonalizeClient. /// 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 EndCreateSchema /// operation. /// REST API Reference for CreateSchema Operation public virtual IAsyncResult BeginCreateSchema(CreateSchemaRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSchemaRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSchemaResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateSchema operation. /// /// /// The IAsyncResult returned by the call to BeginCreateSchema. /// /// Returns a CreateSchemaResult from Personalize. /// REST API Reference for CreateSchema Operation public virtual CreateSchemaResponse EndCreateSchema(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateSolution /// /// Creates the configuration for training a model. A trained model is known as a solution /// version. After the configuration is created, you train the model (create a solution /// version) by calling the CreateSolutionVersion /// operation. Every time you call CreateSolutionVersion, a new version of /// the solution is created. /// /// /// /// After creating a solution version, you check its accuracy by calling GetSolutionMetrics. /// When you are satisfied with the version, you deploy it using CreateCampaign. /// The campaign provides recommendations to a client through the GetRecommendations /// API. /// /// /// /// To train a model, Amazon Personalize requires training data and a recipe. The training /// data comes from the dataset group that you provide in the request. A recipe specifies /// the training algorithm and a feature transformation. You can specify one of the predefined /// recipes provided by Amazon Personalize. /// /// /// /// Amazon Personalize doesn't support configuring the hpoObjective for solution /// hyperparameter optimization at this time. /// /// /// /// Status /// /// /// /// A solution can be in one of the following states: /// ///
  • /// /// CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED /// ///
  • /// /// DELETE PENDING > DELETE IN_PROGRESS /// ///
/// /// To get the status of the solution, call DescribeSolution. /// Wait until the status shows as ACTIVE before calling CreateSolutionVersion. /// ///

Related APIs /// ///

///
/// Container for the necessary parameters to execute the CreateSolution service method. /// /// The response from the CreateSolution service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The limit on the number of requests per second has been exceeded. /// /// /// The specified resource already exists. /// /// /// The specified resource is in use. /// /// /// Could not find the specified resource. /// /// /// You have exceeded the maximum number of tags you can apply to this resource. /// /// REST API Reference for CreateSolution Operation public virtual CreateSolutionResponse CreateSolution(CreateSolutionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSolutionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSolutionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateSolution operation. /// /// /// Container for the necessary parameters to execute the CreateSolution operation on AmazonPersonalizeClient. /// 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 EndCreateSolution /// operation. /// REST API Reference for CreateSolution Operation public virtual IAsyncResult BeginCreateSolution(CreateSolutionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSolutionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSolutionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateSolution operation. /// /// /// The IAsyncResult returned by the call to BeginCreateSolution. /// /// Returns a CreateSolutionResult from Personalize. /// REST API Reference for CreateSolution Operation public virtual CreateSolutionResponse EndCreateSolution(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateSolutionVersion /// /// Trains or retrains an active solution in a Custom dataset group. A solution is created /// using the CreateSolution /// operation and must be in the ACTIVE state before calling CreateSolutionVersion. /// A new version of the solution is created every time you call this operation. /// /// /// /// Status /// /// /// /// A solution version can be in one of the following states: /// ///
  • /// /// CREATE PENDING /// ///
  • /// /// CREATE IN_PROGRESS /// ///
  • /// /// ACTIVE /// ///
  • /// /// CREATE FAILED /// ///
  • /// /// CREATE STOPPING /// ///
  • /// /// CREATE STOPPED /// ///
/// /// To get the status of the version, call DescribeSolutionVersion. /// Wait until the status shows as ACTIVE before calling CreateCampaign. /// /// /// /// If the status shows as CREATE FAILED, the response includes a failureReason /// key, which describes why the job failed. /// ///

Related APIs /// ///

///
/// Container for the necessary parameters to execute the CreateSolutionVersion service method. /// /// The response from the CreateSolutionVersion service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The limit on the number of requests per second has been exceeded. /// /// /// The specified resource already exists. /// /// /// The specified resource is in use. /// /// /// Could not find the specified resource. /// /// /// You have exceeded the maximum number of tags you can apply to this resource. /// /// REST API Reference for CreateSolutionVersion Operation public virtual CreateSolutionVersionResponse CreateSolutionVersion(CreateSolutionVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSolutionVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSolutionVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateSolutionVersion operation. /// /// /// Container for the necessary parameters to execute the CreateSolutionVersion operation on AmazonPersonalizeClient. /// 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 EndCreateSolutionVersion /// operation. /// REST API Reference for CreateSolutionVersion Operation public virtual IAsyncResult BeginCreateSolutionVersion(CreateSolutionVersionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSolutionVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSolutionVersionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateSolutionVersion operation. /// /// /// The IAsyncResult returned by the call to BeginCreateSolutionVersion. /// /// Returns a CreateSolutionVersionResult from Personalize. /// REST API Reference for CreateSolutionVersion Operation public virtual CreateSolutionVersionResponse EndCreateSolutionVersion(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteCampaign /// /// Removes a campaign by deleting the solution deployment. The solution that the campaign /// is based on is not deleted and can be redeployed when needed. A deleted campaign can /// no longer be specified in a GetRecommendations /// request. For information on creating campaigns, see CreateCampaign. /// /// Container for the necessary parameters to execute the DeleteCampaign service method. /// /// The response from the DeleteCampaign service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The specified resource is in use. /// /// /// Could not find the specified resource. /// /// 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 AmazonPersonalizeClient. /// 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 Personalize. /// REST API Reference for DeleteCampaign Operation public virtual DeleteCampaignResponse EndDeleteCampaign(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteDataset /// /// Deletes a dataset. You can't delete a dataset if an associated DatasetImportJob /// or SolutionVersion is in the CREATE PENDING or IN PROGRESS state. For /// more information on datasets, see CreateDataset. /// /// Container for the necessary parameters to execute the DeleteDataset service method. /// /// The response from the DeleteDataset service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The specified resource is in use. /// /// /// Could not find the specified resource. /// /// REST API Reference for DeleteDataset Operation public virtual DeleteDatasetResponse DeleteDataset(DeleteDatasetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDatasetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDatasetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteDataset operation. /// /// /// Container for the necessary parameters to execute the DeleteDataset operation on AmazonPersonalizeClient. /// 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 EndDeleteDataset /// operation. /// REST API Reference for DeleteDataset Operation public virtual IAsyncResult BeginDeleteDataset(DeleteDatasetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDatasetRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDatasetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteDataset operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteDataset. /// /// Returns a DeleteDatasetResult from Personalize. /// REST API Reference for DeleteDataset Operation public virtual DeleteDatasetResponse EndDeleteDataset(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteDatasetGroup /// /// Deletes a dataset group. Before you delete a dataset group, you must delete the following: /// ///
  • /// /// All associated event trackers. /// ///
  • /// /// All associated solutions. /// ///
  • /// /// All datasets in the dataset group. /// ///
///
/// Container for the necessary parameters to execute the DeleteDatasetGroup service method. /// /// The response from the DeleteDatasetGroup service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The specified resource is in use. /// /// /// Could not find the specified resource. /// /// REST API Reference for DeleteDatasetGroup Operation public virtual DeleteDatasetGroupResponse DeleteDatasetGroup(DeleteDatasetGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDatasetGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDatasetGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteDatasetGroup operation. /// /// /// Container for the necessary parameters to execute the DeleteDatasetGroup operation on AmazonPersonalizeClient. /// 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 EndDeleteDatasetGroup /// operation. /// REST API Reference for DeleteDatasetGroup Operation public virtual IAsyncResult BeginDeleteDatasetGroup(DeleteDatasetGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDatasetGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDatasetGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteDatasetGroup operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteDatasetGroup. /// /// Returns a DeleteDatasetGroupResult from Personalize. /// REST API Reference for DeleteDatasetGroup Operation public virtual DeleteDatasetGroupResponse EndDeleteDatasetGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteEventTracker /// /// Deletes the event tracker. Does not delete the event-interactions dataset from the /// associated dataset group. For more information on event trackers, see CreateEventTracker. /// /// Container for the necessary parameters to execute the DeleteEventTracker service method. /// /// The response from the DeleteEventTracker service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The specified resource is in use. /// /// /// Could not find the specified resource. /// /// REST API Reference for DeleteEventTracker Operation public virtual DeleteEventTrackerResponse DeleteEventTracker(DeleteEventTrackerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteEventTrackerRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteEventTrackerResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteEventTracker operation. /// /// /// Container for the necessary parameters to execute the DeleteEventTracker operation on AmazonPersonalizeClient. /// 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 EndDeleteEventTracker /// operation. /// REST API Reference for DeleteEventTracker Operation public virtual IAsyncResult BeginDeleteEventTracker(DeleteEventTrackerRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteEventTrackerRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteEventTrackerResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteEventTracker operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteEventTracker. /// /// Returns a DeleteEventTrackerResult from Personalize. /// REST API Reference for DeleteEventTracker Operation public virtual DeleteEventTrackerResponse EndDeleteEventTracker(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteFilter /// /// Deletes a filter. /// /// Container for the necessary parameters to execute the DeleteFilter service method. /// /// The response from the DeleteFilter service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The specified resource is in use. /// /// /// Could not find the specified resource. /// /// REST API Reference for DeleteFilter Operation public virtual DeleteFilterResponse DeleteFilter(DeleteFilterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFilterResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteFilter operation. /// /// /// Container for the necessary parameters to execute the DeleteFilter operation on AmazonPersonalizeClient. /// 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 EndDeleteFilter /// operation. /// REST API Reference for DeleteFilter Operation public virtual IAsyncResult BeginDeleteFilter(DeleteFilterRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFilterResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteFilter operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteFilter. /// /// Returns a DeleteFilterResult from Personalize. /// REST API Reference for DeleteFilter Operation public virtual DeleteFilterResponse EndDeleteFilter(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteMetricAttribution /// /// Deletes a metric attribution. /// /// Container for the necessary parameters to execute the DeleteMetricAttribution service method. /// /// The response from the DeleteMetricAttribution service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The specified resource is in use. /// /// /// Could not find the specified resource. /// /// REST API Reference for DeleteMetricAttribution Operation public virtual DeleteMetricAttributionResponse DeleteMetricAttribution(DeleteMetricAttributionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteMetricAttributionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteMetricAttributionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteMetricAttribution operation. /// /// /// Container for the necessary parameters to execute the DeleteMetricAttribution operation on AmazonPersonalizeClient. /// 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 EndDeleteMetricAttribution /// operation. /// REST API Reference for DeleteMetricAttribution Operation public virtual IAsyncResult BeginDeleteMetricAttribution(DeleteMetricAttributionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteMetricAttributionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteMetricAttributionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteMetricAttribution operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteMetricAttribution. /// /// Returns a DeleteMetricAttributionResult from Personalize. /// REST API Reference for DeleteMetricAttribution Operation public virtual DeleteMetricAttributionResponse EndDeleteMetricAttribution(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteRecommender /// /// Deactivates and removes a recommender. A deleted recommender can no longer be specified /// in a GetRecommendations /// request. /// /// Container for the necessary parameters to execute the DeleteRecommender service method. /// /// The response from the DeleteRecommender service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The specified resource is in use. /// /// /// Could not find the specified resource. /// /// REST API Reference for DeleteRecommender Operation public virtual DeleteRecommenderResponse DeleteRecommender(DeleteRecommenderRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRecommenderRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRecommenderResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteRecommender operation. /// /// /// Container for the necessary parameters to execute the DeleteRecommender operation on AmazonPersonalizeClient. /// 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 EndDeleteRecommender /// operation. /// REST API Reference for DeleteRecommender Operation public virtual IAsyncResult BeginDeleteRecommender(DeleteRecommenderRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRecommenderRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRecommenderResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteRecommender operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteRecommender. /// /// Returns a DeleteRecommenderResult from Personalize. /// REST API Reference for DeleteRecommender Operation public virtual DeleteRecommenderResponse EndDeleteRecommender(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteSchema /// /// Deletes a schema. Before deleting a schema, you must delete all datasets referencing /// the schema. For more information on schemas, see CreateSchema. /// /// Container for the necessary parameters to execute the DeleteSchema service method. /// /// The response from the DeleteSchema service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The specified resource is in use. /// /// /// Could not find the specified resource. /// /// REST API Reference for DeleteSchema Operation public virtual DeleteSchemaResponse DeleteSchema(DeleteSchemaRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSchemaRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSchemaResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteSchema operation. /// /// /// Container for the necessary parameters to execute the DeleteSchema operation on AmazonPersonalizeClient. /// 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 EndDeleteSchema /// operation. /// REST API Reference for DeleteSchema Operation public virtual IAsyncResult BeginDeleteSchema(DeleteSchemaRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSchemaRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSchemaResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteSchema operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteSchema. /// /// Returns a DeleteSchemaResult from Personalize. /// REST API Reference for DeleteSchema Operation public virtual DeleteSchemaResponse EndDeleteSchema(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteSolution /// /// Deletes all versions of a solution and the Solution object itself. Before /// deleting a solution, you must delete all campaigns based on the solution. To determine /// what campaigns are using the solution, call ListCampaigns /// and supply the Amazon Resource Name (ARN) of the solution. You can't delete a solution /// if an associated SolutionVersion is in the CREATE PENDING or IN PROGRESS /// state. For more information on solutions, see CreateSolution. /// /// Container for the necessary parameters to execute the DeleteSolution service method. /// /// The response from the DeleteSolution service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The specified resource is in use. /// /// /// Could not find the specified resource. /// /// REST API Reference for DeleteSolution Operation public virtual DeleteSolutionResponse DeleteSolution(DeleteSolutionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSolutionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSolutionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteSolution operation. /// /// /// Container for the necessary parameters to execute the DeleteSolution operation on AmazonPersonalizeClient. /// 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 EndDeleteSolution /// operation. /// REST API Reference for DeleteSolution Operation public virtual IAsyncResult BeginDeleteSolution(DeleteSolutionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSolutionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSolutionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteSolution operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteSolution. /// /// Returns a DeleteSolutionResult from Personalize. /// REST API Reference for DeleteSolution Operation public virtual DeleteSolutionResponse EndDeleteSolution(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeAlgorithm /// /// Describes the given algorithm. /// /// Container for the necessary parameters to execute the DescribeAlgorithm service method. /// /// The response from the DescribeAlgorithm service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// Could not find the specified resource. /// /// REST API Reference for DescribeAlgorithm Operation public virtual DescribeAlgorithmResponse DescribeAlgorithm(DescribeAlgorithmRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAlgorithmRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAlgorithmResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeAlgorithm operation. /// /// /// Container for the necessary parameters to execute the DescribeAlgorithm operation on AmazonPersonalizeClient. /// 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 EndDescribeAlgorithm /// operation. /// REST API Reference for DescribeAlgorithm Operation public virtual IAsyncResult BeginDescribeAlgorithm(DescribeAlgorithmRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAlgorithmRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAlgorithmResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeAlgorithm operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeAlgorithm. /// /// Returns a DescribeAlgorithmResult from Personalize. /// REST API Reference for DescribeAlgorithm Operation public virtual DescribeAlgorithmResponse EndDescribeAlgorithm(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeBatchInferenceJob /// /// Gets the properties of a batch inference job including name, Amazon Resource Name /// (ARN), status, input and output configurations, and the ARN of the solution version /// used to generate the recommendations. /// /// Container for the necessary parameters to execute the DescribeBatchInferenceJob service method. /// /// The response from the DescribeBatchInferenceJob service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// Could not find the specified resource. /// /// REST API Reference for DescribeBatchInferenceJob Operation public virtual DescribeBatchInferenceJobResponse DescribeBatchInferenceJob(DescribeBatchInferenceJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBatchInferenceJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBatchInferenceJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeBatchInferenceJob operation. /// /// /// Container for the necessary parameters to execute the DescribeBatchInferenceJob operation on AmazonPersonalizeClient. /// 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 EndDescribeBatchInferenceJob /// operation. /// REST API Reference for DescribeBatchInferenceJob Operation public virtual IAsyncResult BeginDescribeBatchInferenceJob(DescribeBatchInferenceJobRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBatchInferenceJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBatchInferenceJobResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeBatchInferenceJob operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeBatchInferenceJob. /// /// Returns a DescribeBatchInferenceJobResult from Personalize. /// REST API Reference for DescribeBatchInferenceJob Operation public virtual DescribeBatchInferenceJobResponse EndDescribeBatchInferenceJob(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeBatchSegmentJob /// /// Gets the properties of a batch segment job including name, Amazon Resource Name (ARN), /// status, input and output configurations, and the ARN of the solution version used /// to generate segments. /// /// Container for the necessary parameters to execute the DescribeBatchSegmentJob service method. /// /// The response from the DescribeBatchSegmentJob service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// Could not find the specified resource. /// /// REST API Reference for DescribeBatchSegmentJob Operation public virtual DescribeBatchSegmentJobResponse DescribeBatchSegmentJob(DescribeBatchSegmentJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBatchSegmentJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBatchSegmentJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeBatchSegmentJob operation. /// /// /// Container for the necessary parameters to execute the DescribeBatchSegmentJob operation on AmazonPersonalizeClient. /// 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 EndDescribeBatchSegmentJob /// operation. /// REST API Reference for DescribeBatchSegmentJob Operation public virtual IAsyncResult BeginDescribeBatchSegmentJob(DescribeBatchSegmentJobRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeBatchSegmentJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeBatchSegmentJobResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeBatchSegmentJob operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeBatchSegmentJob. /// /// Returns a DescribeBatchSegmentJobResult from Personalize. /// REST API Reference for DescribeBatchSegmentJob Operation public virtual DescribeBatchSegmentJobResponse EndDescribeBatchSegmentJob(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeCampaign /// /// Describes the given campaign, including its status. /// /// /// /// A campaign can be in one of the following states: /// ///
  • /// /// CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED /// ///
  • /// /// DELETE PENDING > DELETE IN_PROGRESS /// ///
/// /// When the status is CREATE FAILED, the response includes /// the failureReason key, which describes why. /// /// /// /// For more information on campaigns, see CreateCampaign. /// ///
/// Container for the necessary parameters to execute the DescribeCampaign service method. /// /// The response from the DescribeCampaign service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// Could not find the specified resource. /// /// 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 AmazonPersonalizeClient. /// 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 Personalize. /// REST API Reference for DescribeCampaign Operation public virtual DescribeCampaignResponse EndDescribeCampaign(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeDataset /// /// Describes the given dataset. For more information on datasets, see CreateDataset. /// /// Container for the necessary parameters to execute the DescribeDataset service method. /// /// The response from the DescribeDataset service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// Could not find the specified resource. /// /// REST API Reference for DescribeDataset Operation public virtual DescribeDatasetResponse DescribeDataset(DescribeDatasetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDatasetRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDatasetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeDataset operation. /// /// /// Container for the necessary parameters to execute the DescribeDataset operation on AmazonPersonalizeClient. /// 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 EndDescribeDataset /// operation. /// REST API Reference for DescribeDataset Operation public virtual IAsyncResult BeginDescribeDataset(DescribeDatasetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDatasetRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDatasetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeDataset operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeDataset. /// /// Returns a DescribeDatasetResult from Personalize. /// REST API Reference for DescribeDataset Operation public virtual DescribeDatasetResponse EndDescribeDataset(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeDatasetExportJob /// /// Describes the dataset export job created by CreateDatasetExportJob, /// including the export job status. /// /// Container for the necessary parameters to execute the DescribeDatasetExportJob service method. /// /// The response from the DescribeDatasetExportJob service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// Could not find the specified resource. /// /// REST API Reference for DescribeDatasetExportJob Operation public virtual DescribeDatasetExportJobResponse DescribeDatasetExportJob(DescribeDatasetExportJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDatasetExportJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDatasetExportJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeDatasetExportJob operation. /// /// /// Container for the necessary parameters to execute the DescribeDatasetExportJob operation on AmazonPersonalizeClient. /// 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 EndDescribeDatasetExportJob /// operation. /// REST API Reference for DescribeDatasetExportJob Operation public virtual IAsyncResult BeginDescribeDatasetExportJob(DescribeDatasetExportJobRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDatasetExportJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDatasetExportJobResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeDatasetExportJob operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeDatasetExportJob. /// /// Returns a DescribeDatasetExportJobResult from Personalize. /// REST API Reference for DescribeDatasetExportJob Operation public virtual DescribeDatasetExportJobResponse EndDescribeDatasetExportJob(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeDatasetGroup /// /// Describes the given dataset group. For more information on dataset groups, see CreateDatasetGroup. /// /// Container for the necessary parameters to execute the DescribeDatasetGroup service method. /// /// The response from the DescribeDatasetGroup service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// Could not find the specified resource. /// /// REST API Reference for DescribeDatasetGroup Operation public virtual DescribeDatasetGroupResponse DescribeDatasetGroup(DescribeDatasetGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDatasetGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDatasetGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeDatasetGroup operation. /// /// /// Container for the necessary parameters to execute the DescribeDatasetGroup operation on AmazonPersonalizeClient. /// 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 EndDescribeDatasetGroup /// operation. /// REST API Reference for DescribeDatasetGroup Operation public virtual IAsyncResult BeginDescribeDatasetGroup(DescribeDatasetGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDatasetGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDatasetGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeDatasetGroup operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeDatasetGroup. /// /// Returns a DescribeDatasetGroupResult from Personalize. /// REST API Reference for DescribeDatasetGroup Operation public virtual DescribeDatasetGroupResponse EndDescribeDatasetGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeDatasetImportJob /// /// Describes the dataset import job created by CreateDatasetImportJob, /// including the import job status. /// /// Container for the necessary parameters to execute the DescribeDatasetImportJob service method. /// /// The response from the DescribeDatasetImportJob service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// Could not find the specified resource. /// /// REST API Reference for DescribeDatasetImportJob Operation public virtual DescribeDatasetImportJobResponse DescribeDatasetImportJob(DescribeDatasetImportJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDatasetImportJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDatasetImportJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeDatasetImportJob operation. /// /// /// Container for the necessary parameters to execute the DescribeDatasetImportJob operation on AmazonPersonalizeClient. /// 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 EndDescribeDatasetImportJob /// operation. /// REST API Reference for DescribeDatasetImportJob Operation public virtual IAsyncResult BeginDescribeDatasetImportJob(DescribeDatasetImportJobRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDatasetImportJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDatasetImportJobResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeDatasetImportJob operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeDatasetImportJob. /// /// Returns a DescribeDatasetImportJobResult from Personalize. /// REST API Reference for DescribeDatasetImportJob Operation public virtual DescribeDatasetImportJobResponse EndDescribeDatasetImportJob(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeEventTracker /// /// Describes an event tracker. The response includes the trackingId and /// status of the event tracker. For more information on event trackers, /// see CreateEventTracker. /// /// Container for the necessary parameters to execute the DescribeEventTracker service method. /// /// The response from the DescribeEventTracker service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// Could not find the specified resource. /// /// REST API Reference for DescribeEventTracker Operation public virtual DescribeEventTrackerResponse DescribeEventTracker(DescribeEventTrackerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeEventTrackerRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeEventTrackerResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeEventTracker operation. /// /// /// Container for the necessary parameters to execute the DescribeEventTracker operation on AmazonPersonalizeClient. /// 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 EndDescribeEventTracker /// operation. /// REST API Reference for DescribeEventTracker Operation public virtual IAsyncResult BeginDescribeEventTracker(DescribeEventTrackerRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeEventTrackerRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeEventTrackerResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeEventTracker operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeEventTracker. /// /// Returns a DescribeEventTrackerResult from Personalize. /// REST API Reference for DescribeEventTracker Operation public virtual DescribeEventTrackerResponse EndDescribeEventTracker(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeFeatureTransformation /// /// Describes the given feature transformation. /// /// Container for the necessary parameters to execute the DescribeFeatureTransformation service method. /// /// The response from the DescribeFeatureTransformation service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// Could not find the specified resource. /// /// REST API Reference for DescribeFeatureTransformation Operation public virtual DescribeFeatureTransformationResponse DescribeFeatureTransformation(DescribeFeatureTransformationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFeatureTransformationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFeatureTransformationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeFeatureTransformation operation. /// /// /// Container for the necessary parameters to execute the DescribeFeatureTransformation operation on AmazonPersonalizeClient. /// 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 EndDescribeFeatureTransformation /// operation. /// REST API Reference for DescribeFeatureTransformation Operation public virtual IAsyncResult BeginDescribeFeatureTransformation(DescribeFeatureTransformationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFeatureTransformationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFeatureTransformationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeFeatureTransformation operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeFeatureTransformation. /// /// Returns a DescribeFeatureTransformationResult from Personalize. /// REST API Reference for DescribeFeatureTransformation Operation public virtual DescribeFeatureTransformationResponse EndDescribeFeatureTransformation(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeFilter /// /// Describes a filter's properties. /// /// Container for the necessary parameters to execute the DescribeFilter service method. /// /// The response from the DescribeFilter service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// Could not find the specified resource. /// /// REST API Reference for DescribeFilter Operation public virtual DescribeFilterResponse DescribeFilter(DescribeFilterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFilterResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeFilter operation. /// /// /// Container for the necessary parameters to execute the DescribeFilter operation on AmazonPersonalizeClient. /// 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 EndDescribeFilter /// operation. /// REST API Reference for DescribeFilter Operation public virtual IAsyncResult BeginDescribeFilter(DescribeFilterRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeFilterRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeFilterResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeFilter operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeFilter. /// /// Returns a DescribeFilterResult from Personalize. /// REST API Reference for DescribeFilter Operation public virtual DescribeFilterResponse EndDescribeFilter(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeMetricAttribution /// /// Describes a metric attribution. /// /// Container for the necessary parameters to execute the DescribeMetricAttribution service method. /// /// The response from the DescribeMetricAttribution service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// Could not find the specified resource. /// /// REST API Reference for DescribeMetricAttribution Operation public virtual DescribeMetricAttributionResponse DescribeMetricAttribution(DescribeMetricAttributionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeMetricAttributionRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeMetricAttributionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeMetricAttribution operation. /// /// /// Container for the necessary parameters to execute the DescribeMetricAttribution operation on AmazonPersonalizeClient. /// 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 EndDescribeMetricAttribution /// operation. /// REST API Reference for DescribeMetricAttribution Operation public virtual IAsyncResult BeginDescribeMetricAttribution(DescribeMetricAttributionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeMetricAttributionRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeMetricAttributionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeMetricAttribution operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeMetricAttribution. /// /// Returns a DescribeMetricAttributionResult from Personalize. /// REST API Reference for DescribeMetricAttribution Operation public virtual DescribeMetricAttributionResponse EndDescribeMetricAttribution(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeRecipe /// /// Describes a recipe. /// /// /// /// A recipe contains three items: /// ///
  • /// /// An algorithm that trains a model. /// ///
  • /// /// Hyperparameters that govern the training. /// ///
  • /// /// Feature transformation information for modifying the input data before training. /// ///
/// /// Amazon Personalize provides a set of predefined recipes. You specify a recipe when /// you create a solution with the CreateSolution /// API. CreateSolution trains a model by using the algorithm in the specified /// recipe and a training dataset. The solution, when deployed as a campaign, can provide /// recommendations using the GetRecommendations /// API. /// ///
/// Container for the necessary parameters to execute the DescribeRecipe service method. /// /// The response from the DescribeRecipe service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// Could not find the specified resource. /// /// REST API Reference for DescribeRecipe Operation public virtual DescribeRecipeResponse DescribeRecipe(DescribeRecipeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRecipeRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRecipeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeRecipe operation. /// /// /// Container for the necessary parameters to execute the DescribeRecipe operation on AmazonPersonalizeClient. /// 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 EndDescribeRecipe /// operation. /// REST API Reference for DescribeRecipe Operation public virtual IAsyncResult BeginDescribeRecipe(DescribeRecipeRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRecipeRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRecipeResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeRecipe operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeRecipe. /// /// Returns a DescribeRecipeResult from Personalize. /// REST API Reference for DescribeRecipe Operation public virtual DescribeRecipeResponse EndDescribeRecipe(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeRecommender /// /// Describes the given recommender, including its status. /// /// /// /// A recommender can be in one of the following states: /// ///
  • /// /// CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED /// ///
  • /// /// STOP PENDING > STOP IN_PROGRESS > INACTIVE > START PENDING > START IN_PROGRESS /// > ACTIVE /// ///
  • /// /// DELETE PENDING > DELETE IN_PROGRESS /// ///
/// /// When the status is CREATE FAILED, the response includes /// the failureReason key, which describes why. /// /// /// /// The modelMetrics key is null when the recommender is being created or /// deleted. /// /// /// /// For more information on recommenders, see CreateRecommender. /// ///
/// Container for the necessary parameters to execute the DescribeRecommender service method. /// /// The response from the DescribeRecommender service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// Could not find the specified resource. /// /// REST API Reference for DescribeRecommender Operation public virtual DescribeRecommenderResponse DescribeRecommender(DescribeRecommenderRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRecommenderRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRecommenderResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeRecommender operation. /// /// /// Container for the necessary parameters to execute the DescribeRecommender operation on AmazonPersonalizeClient. /// 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 EndDescribeRecommender /// operation. /// REST API Reference for DescribeRecommender Operation public virtual IAsyncResult BeginDescribeRecommender(DescribeRecommenderRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRecommenderRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRecommenderResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeRecommender operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeRecommender. /// /// Returns a DescribeRecommenderResult from Personalize. /// REST API Reference for DescribeRecommender Operation public virtual DescribeRecommenderResponse EndDescribeRecommender(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeSchema /// /// Describes a schema. For more information on schemas, see CreateSchema. /// /// Container for the necessary parameters to execute the DescribeSchema service method. /// /// The response from the DescribeSchema service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// Could not find the specified resource. /// /// REST API Reference for DescribeSchema Operation public virtual DescribeSchemaResponse DescribeSchema(DescribeSchemaRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSchemaRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSchemaResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeSchema operation. /// /// /// Container for the necessary parameters to execute the DescribeSchema operation on AmazonPersonalizeClient. /// 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 EndDescribeSchema /// operation. /// REST API Reference for DescribeSchema Operation public virtual IAsyncResult BeginDescribeSchema(DescribeSchemaRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSchemaRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSchemaResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeSchema operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeSchema. /// /// Returns a DescribeSchemaResult from Personalize. /// REST API Reference for DescribeSchema Operation public virtual DescribeSchemaResponse EndDescribeSchema(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeSolution /// /// Describes a solution. For more information on solutions, see CreateSolution. /// /// Container for the necessary parameters to execute the DescribeSolution service method. /// /// The response from the DescribeSolution service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// Could not find the specified resource. /// /// REST API Reference for DescribeSolution Operation public virtual DescribeSolutionResponse DescribeSolution(DescribeSolutionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSolutionRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSolutionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeSolution operation. /// /// /// Container for the necessary parameters to execute the DescribeSolution operation on AmazonPersonalizeClient. /// 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 EndDescribeSolution /// operation. /// REST API Reference for DescribeSolution Operation public virtual IAsyncResult BeginDescribeSolution(DescribeSolutionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSolutionRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSolutionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeSolution operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeSolution. /// /// Returns a DescribeSolutionResult from Personalize. /// REST API Reference for DescribeSolution Operation public virtual DescribeSolutionResponse EndDescribeSolution(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeSolutionVersion /// /// Describes a specific version of a solution. For more information on solutions, see /// CreateSolution /// /// Container for the necessary parameters to execute the DescribeSolutionVersion service method. /// /// The response from the DescribeSolutionVersion service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// Could not find the specified resource. /// /// REST API Reference for DescribeSolutionVersion Operation public virtual DescribeSolutionVersionResponse DescribeSolutionVersion(DescribeSolutionVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSolutionVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSolutionVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeSolutionVersion operation. /// /// /// Container for the necessary parameters to execute the DescribeSolutionVersion operation on AmazonPersonalizeClient. /// 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 EndDescribeSolutionVersion /// operation. /// REST API Reference for DescribeSolutionVersion Operation public virtual IAsyncResult BeginDescribeSolutionVersion(DescribeSolutionVersionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSolutionVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSolutionVersionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeSolutionVersion operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeSolutionVersion. /// /// Returns a DescribeSolutionVersionResult from Personalize. /// REST API Reference for DescribeSolutionVersion Operation public virtual DescribeSolutionVersionResponse EndDescribeSolutionVersion(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetSolutionMetrics /// /// Gets the metrics for the specified solution version. /// /// Container for the necessary parameters to execute the GetSolutionMetrics service method. /// /// The response from the GetSolutionMetrics service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The specified resource is in use. /// /// /// Could not find the specified resource. /// /// REST API Reference for GetSolutionMetrics Operation public virtual GetSolutionMetricsResponse GetSolutionMetrics(GetSolutionMetricsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetSolutionMetricsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSolutionMetricsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetSolutionMetrics operation. /// /// /// Container for the necessary parameters to execute the GetSolutionMetrics operation on AmazonPersonalizeClient. /// 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 EndGetSolutionMetrics /// operation. /// REST API Reference for GetSolutionMetrics Operation public virtual IAsyncResult BeginGetSolutionMetrics(GetSolutionMetricsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetSolutionMetricsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSolutionMetricsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetSolutionMetrics operation. /// /// /// The IAsyncResult returned by the call to BeginGetSolutionMetrics. /// /// Returns a GetSolutionMetricsResult from Personalize. /// REST API Reference for GetSolutionMetrics Operation public virtual GetSolutionMetricsResponse EndGetSolutionMetrics(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListBatchInferenceJobs /// /// Gets a list of the batch inference jobs that have been performed off of a solution /// version. /// /// Container for the necessary parameters to execute the ListBatchInferenceJobs service method. /// /// The response from the ListBatchInferenceJobs service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The token is not valid. /// /// REST API Reference for ListBatchInferenceJobs Operation public virtual ListBatchInferenceJobsResponse ListBatchInferenceJobs(ListBatchInferenceJobsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListBatchInferenceJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBatchInferenceJobsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListBatchInferenceJobs operation. /// /// /// Container for the necessary parameters to execute the ListBatchInferenceJobs operation on AmazonPersonalizeClient. /// 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 EndListBatchInferenceJobs /// operation. /// REST API Reference for ListBatchInferenceJobs Operation public virtual IAsyncResult BeginListBatchInferenceJobs(ListBatchInferenceJobsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListBatchInferenceJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBatchInferenceJobsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListBatchInferenceJobs operation. /// /// /// The IAsyncResult returned by the call to BeginListBatchInferenceJobs. /// /// Returns a ListBatchInferenceJobsResult from Personalize. /// REST API Reference for ListBatchInferenceJobs Operation public virtual ListBatchInferenceJobsResponse EndListBatchInferenceJobs(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListBatchSegmentJobs /// /// Gets a list of the batch segment jobs that have been performed off of a solution version /// that you specify. /// /// Container for the necessary parameters to execute the ListBatchSegmentJobs service method. /// /// The response from the ListBatchSegmentJobs service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The token is not valid. /// /// REST API Reference for ListBatchSegmentJobs Operation public virtual ListBatchSegmentJobsResponse ListBatchSegmentJobs(ListBatchSegmentJobsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListBatchSegmentJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBatchSegmentJobsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListBatchSegmentJobs operation. /// /// /// Container for the necessary parameters to execute the ListBatchSegmentJobs operation on AmazonPersonalizeClient. /// 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 EndListBatchSegmentJobs /// operation. /// REST API Reference for ListBatchSegmentJobs Operation public virtual IAsyncResult BeginListBatchSegmentJobs(ListBatchSegmentJobsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListBatchSegmentJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBatchSegmentJobsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListBatchSegmentJobs operation. /// /// /// The IAsyncResult returned by the call to BeginListBatchSegmentJobs. /// /// Returns a ListBatchSegmentJobsResult from Personalize. /// REST API Reference for ListBatchSegmentJobs Operation public virtual ListBatchSegmentJobsResponse EndListBatchSegmentJobs(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListCampaigns /// /// Returns a list of campaigns that use the given solution. When a solution is not specified, /// all the campaigns associated with the account are listed. The response provides the /// properties for each campaign, including the Amazon Resource Name (ARN). For more information /// on campaigns, see CreateCampaign. /// /// Container for the necessary parameters to execute the ListCampaigns service method. /// /// The response from the ListCampaigns service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The token is not valid. /// /// 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 AmazonPersonalizeClient. /// 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 Personalize. /// REST API Reference for ListCampaigns Operation public virtual ListCampaignsResponse EndListCampaigns(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListDatasetExportJobs /// /// Returns a list of dataset export jobs that use the given dataset. When a dataset is /// not specified, all the dataset export jobs associated with the account are listed. /// The response provides the properties for each dataset export job, including the Amazon /// Resource Name (ARN). For more information on dataset export jobs, see CreateDatasetExportJob. /// For more information on datasets, see CreateDataset. /// /// Container for the necessary parameters to execute the ListDatasetExportJobs service method. /// /// The response from the ListDatasetExportJobs service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The token is not valid. /// /// REST API Reference for ListDatasetExportJobs Operation public virtual ListDatasetExportJobsResponse ListDatasetExportJobs(ListDatasetExportJobsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDatasetExportJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDatasetExportJobsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListDatasetExportJobs operation. /// /// /// Container for the necessary parameters to execute the ListDatasetExportJobs operation on AmazonPersonalizeClient. /// 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 EndListDatasetExportJobs /// operation. /// REST API Reference for ListDatasetExportJobs Operation public virtual IAsyncResult BeginListDatasetExportJobs(ListDatasetExportJobsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListDatasetExportJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDatasetExportJobsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListDatasetExportJobs operation. /// /// /// The IAsyncResult returned by the call to BeginListDatasetExportJobs. /// /// Returns a ListDatasetExportJobsResult from Personalize. /// REST API Reference for ListDatasetExportJobs Operation public virtual ListDatasetExportJobsResponse EndListDatasetExportJobs(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListDatasetGroups /// /// Returns a list of dataset groups. The response provides the properties for each dataset /// group, including the Amazon Resource Name (ARN). For more information on dataset groups, /// see CreateDatasetGroup. /// /// Container for the necessary parameters to execute the ListDatasetGroups service method. /// /// The response from the ListDatasetGroups service method, as returned by Personalize. /// /// The token is not valid. /// /// REST API Reference for ListDatasetGroups Operation public virtual ListDatasetGroupsResponse ListDatasetGroups(ListDatasetGroupsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDatasetGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDatasetGroupsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListDatasetGroups operation. /// /// /// Container for the necessary parameters to execute the ListDatasetGroups operation on AmazonPersonalizeClient. /// 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 EndListDatasetGroups /// operation. /// REST API Reference for ListDatasetGroups Operation public virtual IAsyncResult BeginListDatasetGroups(ListDatasetGroupsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListDatasetGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDatasetGroupsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListDatasetGroups operation. /// /// /// The IAsyncResult returned by the call to BeginListDatasetGroups. /// /// Returns a ListDatasetGroupsResult from Personalize. /// REST API Reference for ListDatasetGroups Operation public virtual ListDatasetGroupsResponse EndListDatasetGroups(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListDatasetImportJobs /// /// Returns a list of dataset import jobs that use the given dataset. When a dataset is /// not specified, all the dataset import jobs associated with the account are listed. /// The response provides the properties for each dataset import job, including the Amazon /// Resource Name (ARN). For more information on dataset import jobs, see CreateDatasetImportJob. /// For more information on datasets, see CreateDataset. /// /// Container for the necessary parameters to execute the ListDatasetImportJobs service method. /// /// The response from the ListDatasetImportJobs service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The token is not valid. /// /// REST API Reference for ListDatasetImportJobs Operation public virtual ListDatasetImportJobsResponse ListDatasetImportJobs(ListDatasetImportJobsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDatasetImportJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDatasetImportJobsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListDatasetImportJobs operation. /// /// /// Container for the necessary parameters to execute the ListDatasetImportJobs operation on AmazonPersonalizeClient. /// 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 EndListDatasetImportJobs /// operation. /// REST API Reference for ListDatasetImportJobs Operation public virtual IAsyncResult BeginListDatasetImportJobs(ListDatasetImportJobsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListDatasetImportJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDatasetImportJobsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListDatasetImportJobs operation. /// /// /// The IAsyncResult returned by the call to BeginListDatasetImportJobs. /// /// Returns a ListDatasetImportJobsResult from Personalize. /// REST API Reference for ListDatasetImportJobs Operation public virtual ListDatasetImportJobsResponse EndListDatasetImportJobs(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListDatasets /// /// Returns the list of datasets contained in the given dataset group. The response provides /// the properties for each dataset, including the Amazon Resource Name (ARN). For more /// information on datasets, see CreateDataset. /// /// Container for the necessary parameters to execute the ListDatasets service method. /// /// The response from the ListDatasets service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The token is not valid. /// /// REST API Reference for ListDatasets Operation public virtual ListDatasetsResponse ListDatasets(ListDatasetsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDatasetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDatasetsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListDatasets operation. /// /// /// Container for the necessary parameters to execute the ListDatasets operation on AmazonPersonalizeClient. /// 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 EndListDatasets /// operation. /// REST API Reference for ListDatasets Operation public virtual IAsyncResult BeginListDatasets(ListDatasetsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListDatasetsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDatasetsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListDatasets operation. /// /// /// The IAsyncResult returned by the call to BeginListDatasets. /// /// Returns a ListDatasetsResult from Personalize. /// REST API Reference for ListDatasets Operation public virtual ListDatasetsResponse EndListDatasets(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListEventTrackers /// /// Returns the list of event trackers associated with the account. The response provides /// the properties for each event tracker, including the Amazon Resource Name (ARN) and /// tracking ID. For more information on event trackers, see CreateEventTracker. /// /// Container for the necessary parameters to execute the ListEventTrackers service method. /// /// The response from the ListEventTrackers service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The token is not valid. /// /// REST API Reference for ListEventTrackers Operation public virtual ListEventTrackersResponse ListEventTrackers(ListEventTrackersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListEventTrackersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListEventTrackersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListEventTrackers operation. /// /// /// Container for the necessary parameters to execute the ListEventTrackers operation on AmazonPersonalizeClient. /// 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 EndListEventTrackers /// operation. /// REST API Reference for ListEventTrackers Operation public virtual IAsyncResult BeginListEventTrackers(ListEventTrackersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListEventTrackersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListEventTrackersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListEventTrackers operation. /// /// /// The IAsyncResult returned by the call to BeginListEventTrackers. /// /// Returns a ListEventTrackersResult from Personalize. /// REST API Reference for ListEventTrackers Operation public virtual ListEventTrackersResponse EndListEventTrackers(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListFilters /// /// Lists all filters that belong to a given dataset group. /// /// Container for the necessary parameters to execute the ListFilters service method. /// /// The response from the ListFilters service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The token is not valid. /// /// REST API Reference for ListFilters Operation public virtual ListFiltersResponse ListFilters(ListFiltersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListFiltersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFiltersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListFilters operation. /// /// /// Container for the necessary parameters to execute the ListFilters operation on AmazonPersonalizeClient. /// 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 EndListFilters /// operation. /// REST API Reference for ListFilters Operation public virtual IAsyncResult BeginListFilters(ListFiltersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListFiltersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFiltersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListFilters operation. /// /// /// The IAsyncResult returned by the call to BeginListFilters. /// /// Returns a ListFiltersResult from Personalize. /// REST API Reference for ListFilters Operation public virtual ListFiltersResponse EndListFilters(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListMetricAttributionMetrics /// /// Lists the metrics for the metric attribution. /// /// Container for the necessary parameters to execute the ListMetricAttributionMetrics service method. /// /// The response from the ListMetricAttributionMetrics service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The token is not valid. /// /// REST API Reference for ListMetricAttributionMetrics Operation public virtual ListMetricAttributionMetricsResponse ListMetricAttributionMetrics(ListMetricAttributionMetricsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListMetricAttributionMetricsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListMetricAttributionMetricsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListMetricAttributionMetrics operation. /// /// /// Container for the necessary parameters to execute the ListMetricAttributionMetrics operation on AmazonPersonalizeClient. /// 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 EndListMetricAttributionMetrics /// operation. /// REST API Reference for ListMetricAttributionMetrics Operation public virtual IAsyncResult BeginListMetricAttributionMetrics(ListMetricAttributionMetricsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListMetricAttributionMetricsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListMetricAttributionMetricsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListMetricAttributionMetrics operation. /// /// /// The IAsyncResult returned by the call to BeginListMetricAttributionMetrics. /// /// Returns a ListMetricAttributionMetricsResult from Personalize. /// REST API Reference for ListMetricAttributionMetrics Operation public virtual ListMetricAttributionMetricsResponse EndListMetricAttributionMetrics(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListMetricAttributions /// /// Lists metric attributions. /// /// Container for the necessary parameters to execute the ListMetricAttributions service method. /// /// The response from the ListMetricAttributions service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The token is not valid. /// /// REST API Reference for ListMetricAttributions Operation public virtual ListMetricAttributionsResponse ListMetricAttributions(ListMetricAttributionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListMetricAttributionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListMetricAttributionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListMetricAttributions operation. /// /// /// Container for the necessary parameters to execute the ListMetricAttributions operation on AmazonPersonalizeClient. /// 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 EndListMetricAttributions /// operation. /// REST API Reference for ListMetricAttributions Operation public virtual IAsyncResult BeginListMetricAttributions(ListMetricAttributionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListMetricAttributionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListMetricAttributionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListMetricAttributions operation. /// /// /// The IAsyncResult returned by the call to BeginListMetricAttributions. /// /// Returns a ListMetricAttributionsResult from Personalize. /// REST API Reference for ListMetricAttributions Operation public virtual ListMetricAttributionsResponse EndListMetricAttributions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListRecipes /// /// Returns a list of available recipes. The response provides the properties for each /// recipe, including the recipe's Amazon Resource Name (ARN). /// /// Container for the necessary parameters to execute the ListRecipes service method. /// /// The response from the ListRecipes service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The token is not valid. /// /// REST API Reference for ListRecipes Operation public virtual ListRecipesResponse ListRecipes(ListRecipesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListRecipesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRecipesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListRecipes operation. /// /// /// Container for the necessary parameters to execute the ListRecipes operation on AmazonPersonalizeClient. /// 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 EndListRecipes /// operation. /// REST API Reference for ListRecipes Operation public virtual IAsyncResult BeginListRecipes(ListRecipesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListRecipesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRecipesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListRecipes operation. /// /// /// The IAsyncResult returned by the call to BeginListRecipes. /// /// Returns a ListRecipesResult from Personalize. /// REST API Reference for ListRecipes Operation public virtual ListRecipesResponse EndListRecipes(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListRecommenders /// /// Returns a list of recommenders in a given Domain dataset group. When a Domain dataset /// group is not specified, all the recommenders associated with the account are listed. /// The response provides the properties for each recommender, including the Amazon Resource /// Name (ARN). For more information on recommenders, see CreateRecommender. /// /// Container for the necessary parameters to execute the ListRecommenders service method. /// /// The response from the ListRecommenders service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The token is not valid. /// /// REST API Reference for ListRecommenders Operation public virtual ListRecommendersResponse ListRecommenders(ListRecommendersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListRecommendersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRecommendersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListRecommenders operation. /// /// /// Container for the necessary parameters to execute the ListRecommenders operation on AmazonPersonalizeClient. /// 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 EndListRecommenders /// operation. /// REST API Reference for ListRecommenders Operation public virtual IAsyncResult BeginListRecommenders(ListRecommendersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListRecommendersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRecommendersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListRecommenders operation. /// /// /// The IAsyncResult returned by the call to BeginListRecommenders. /// /// Returns a ListRecommendersResult from Personalize. /// REST API Reference for ListRecommenders Operation public virtual ListRecommendersResponse EndListRecommenders(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListSchemas /// /// Returns the list of schemas associated with the account. The response provides the /// properties for each schema, including the Amazon Resource Name (ARN). For more information /// on schemas, see CreateSchema. /// /// Container for the necessary parameters to execute the ListSchemas service method. /// /// The response from the ListSchemas service method, as returned by Personalize. /// /// The token is not valid. /// /// REST API Reference for ListSchemas Operation public virtual ListSchemasResponse ListSchemas(ListSchemasRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListSchemasRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSchemasResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListSchemas operation. /// /// /// Container for the necessary parameters to execute the ListSchemas operation on AmazonPersonalizeClient. /// 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 EndListSchemas /// operation. /// REST API Reference for ListSchemas Operation public virtual IAsyncResult BeginListSchemas(ListSchemasRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListSchemasRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSchemasResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListSchemas operation. /// /// /// The IAsyncResult returned by the call to BeginListSchemas. /// /// Returns a ListSchemasResult from Personalize. /// REST API Reference for ListSchemas Operation public virtual ListSchemasResponse EndListSchemas(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListSolutions /// /// Returns a list of solutions that use the given dataset group. When a dataset group /// is not specified, all the solutions associated with the account are listed. The response /// provides the properties for each solution, including the Amazon Resource Name (ARN). /// For more information on solutions, see CreateSolution. /// /// Container for the necessary parameters to execute the ListSolutions service method. /// /// The response from the ListSolutions service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The token is not valid. /// /// REST API Reference for ListSolutions Operation public virtual ListSolutionsResponse ListSolutions(ListSolutionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListSolutionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSolutionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListSolutions operation. /// /// /// Container for the necessary parameters to execute the ListSolutions operation on AmazonPersonalizeClient. /// 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 EndListSolutions /// operation. /// REST API Reference for ListSolutions Operation public virtual IAsyncResult BeginListSolutions(ListSolutionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListSolutionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSolutionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListSolutions operation. /// /// /// The IAsyncResult returned by the call to BeginListSolutions. /// /// Returns a ListSolutionsResult from Personalize. /// REST API Reference for ListSolutions Operation public virtual ListSolutionsResponse EndListSolutions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListSolutionVersions /// /// Returns a list of solution versions for the given solution. When a solution is not /// specified, all the solution versions associated with the account are listed. The response /// provides the properties for each solution version, including the Amazon Resource Name /// (ARN). /// /// Container for the necessary parameters to execute the ListSolutionVersions service method. /// /// The response from the ListSolutionVersions service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The token is not valid. /// /// /// Could not find the specified resource. /// /// REST API Reference for ListSolutionVersions Operation public virtual ListSolutionVersionsResponse ListSolutionVersions(ListSolutionVersionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListSolutionVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSolutionVersionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListSolutionVersions operation. /// /// /// Container for the necessary parameters to execute the ListSolutionVersions operation on AmazonPersonalizeClient. /// 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 EndListSolutionVersions /// operation. /// REST API Reference for ListSolutionVersions Operation public virtual IAsyncResult BeginListSolutionVersions(ListSolutionVersionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListSolutionVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSolutionVersionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListSolutionVersions operation. /// /// /// The IAsyncResult returned by the call to BeginListSolutionVersions. /// /// Returns a ListSolutionVersionsResult from Personalize. /// REST API Reference for ListSolutionVersions Operation public virtual ListSolutionVersionsResponse EndListSolutionVersions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListTagsForResource /// /// Get a list of tags /// attached to a resource. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// The response from the ListTagsForResource service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The specified resource is in use. /// /// /// Could not find the specified resource. /// /// 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 AmazonPersonalizeClient. /// 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 Personalize. /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StartRecommender /// /// Starts a recommender that is INACTIVE. Starting a recommender does not create any /// new models, but resumes billing and automatic retraining for the recommender. /// /// Container for the necessary parameters to execute the StartRecommender service method. /// /// The response from the StartRecommender service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The specified resource is in use. /// /// /// Could not find the specified resource. /// /// REST API Reference for StartRecommender Operation public virtual StartRecommenderResponse StartRecommender(StartRecommenderRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartRecommenderRequestMarshaller.Instance; options.ResponseUnmarshaller = StartRecommenderResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StartRecommender operation. /// /// /// Container for the necessary parameters to execute the StartRecommender operation on AmazonPersonalizeClient. /// 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 EndStartRecommender /// operation. /// REST API Reference for StartRecommender Operation public virtual IAsyncResult BeginStartRecommender(StartRecommenderRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartRecommenderRequestMarshaller.Instance; options.ResponseUnmarshaller = StartRecommenderResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StartRecommender operation. /// /// /// The IAsyncResult returned by the call to BeginStartRecommender. /// /// Returns a StartRecommenderResult from Personalize. /// REST API Reference for StartRecommender Operation public virtual StartRecommenderResponse EndStartRecommender(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StopRecommender /// /// Stops a recommender that is ACTIVE. Stopping a recommender halts billing and automatic /// retraining for the recommender. /// /// Container for the necessary parameters to execute the StopRecommender service method. /// /// The response from the StopRecommender service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The specified resource is in use. /// /// /// Could not find the specified resource. /// /// REST API Reference for StopRecommender Operation public virtual StopRecommenderResponse StopRecommender(StopRecommenderRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StopRecommenderRequestMarshaller.Instance; options.ResponseUnmarshaller = StopRecommenderResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StopRecommender operation. /// /// /// Container for the necessary parameters to execute the StopRecommender operation on AmazonPersonalizeClient. /// 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 EndStopRecommender /// operation. /// REST API Reference for StopRecommender Operation public virtual IAsyncResult BeginStopRecommender(StopRecommenderRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StopRecommenderRequestMarshaller.Instance; options.ResponseUnmarshaller = StopRecommenderResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StopRecommender operation. /// /// /// The IAsyncResult returned by the call to BeginStopRecommender. /// /// Returns a StopRecommenderResult from Personalize. /// REST API Reference for StopRecommender Operation public virtual StopRecommenderResponse EndStopRecommender(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StopSolutionVersionCreation /// /// Stops creating a solution version that is in a state of CREATE_PENDING or CREATE IN_PROGRESS. /// /// /// /// /// Depending on the current state of the solution version, the solution version state /// changes as follows: /// ///
  • /// /// CREATE_PENDING > CREATE_STOPPED /// /// /// /// or /// ///
  • /// /// CREATE_IN_PROGRESS > CREATE_STOPPING > CREATE_STOPPED /// ///
/// /// You are billed for all of the training completed up until you stop the solution version /// creation. You cannot resume creating a solution version once it has been stopped. /// ///
/// Container for the necessary parameters to execute the StopSolutionVersionCreation service method. /// /// The response from the StopSolutionVersionCreation service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The specified resource is in use. /// /// /// Could not find the specified resource. /// /// REST API Reference for StopSolutionVersionCreation Operation public virtual StopSolutionVersionCreationResponse StopSolutionVersionCreation(StopSolutionVersionCreationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StopSolutionVersionCreationRequestMarshaller.Instance; options.ResponseUnmarshaller = StopSolutionVersionCreationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StopSolutionVersionCreation operation. /// /// /// Container for the necessary parameters to execute the StopSolutionVersionCreation operation on AmazonPersonalizeClient. /// 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 EndStopSolutionVersionCreation /// operation. /// REST API Reference for StopSolutionVersionCreation Operation public virtual IAsyncResult BeginStopSolutionVersionCreation(StopSolutionVersionCreationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StopSolutionVersionCreationRequestMarshaller.Instance; options.ResponseUnmarshaller = StopSolutionVersionCreationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StopSolutionVersionCreation operation. /// /// /// The IAsyncResult returned by the call to BeginStopSolutionVersionCreation. /// /// Returns a StopSolutionVersionCreationResult from Personalize. /// REST API Reference for StopSolutionVersionCreation Operation public virtual StopSolutionVersionCreationResponse EndStopSolutionVersionCreation(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region TagResource /// /// Add a list of tags to a resource. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// The response from the TagResource service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The limit on the number of requests per second has been exceeded. /// /// /// The specified resource is in use. /// /// /// Could not find the specified resource. /// /// /// You have exceeded the maximum number of tags you can apply to this resource. /// /// 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 AmazonPersonalizeClient. /// 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 Personalize. /// REST API Reference for TagResource Operation public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UntagResource /// /// Remove tags /// that are attached to a resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// The response from the UntagResource service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The specified resource is in use. /// /// /// Could not find the specified resource. /// /// /// The request contains more tag keys than can be associated with a resource (50 tag /// keys per resource). /// /// 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 AmazonPersonalizeClient. /// 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 Personalize. /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateCampaign /// /// Updates a campaign by either deploying a new solution or changing the value of the /// campaign's minProvisionedTPS parameter. /// /// /// /// To update a campaign, the campaign status must be ACTIVE or CREATE FAILED. Check the /// campaign status using the DescribeCampaign /// operation. /// /// /// /// You can still get recommendations from a campaign while an update is in progress. /// The campaign will use the previous solution version and campaign configuration to /// generate recommendations until the latest campaign update status is Active. /// /// /// /// /// For more information on campaigns, see CreateCampaign. /// /// /// Container for the necessary parameters to execute the UpdateCampaign service method. /// /// The response from the UpdateCampaign service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The specified resource is in use. /// /// /// Could not find the specified resource. /// /// REST API Reference for UpdateCampaign Operation public virtual UpdateCampaignResponse UpdateCampaign(UpdateCampaignRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateCampaignRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateCampaignResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateCampaign operation. /// /// /// Container for the necessary parameters to execute the UpdateCampaign operation on AmazonPersonalizeClient. /// 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 EndUpdateCampaign /// operation. /// REST API Reference for UpdateCampaign Operation public virtual IAsyncResult BeginUpdateCampaign(UpdateCampaignRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateCampaignRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateCampaignResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateCampaign operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateCampaign. /// /// Returns a UpdateCampaignResult from Personalize. /// REST API Reference for UpdateCampaign Operation public virtual UpdateCampaignResponse EndUpdateCampaign(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateDataset /// /// Update a dataset to replace its schema with a new or existing one. For more information, /// see Replacing /// a dataset's schema. /// /// Container for the necessary parameters to execute the UpdateDataset service method. /// /// The response from the UpdateDataset service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The specified resource is in use. /// /// /// Could not find the specified resource. /// /// REST API Reference for UpdateDataset Operation public virtual UpdateDatasetResponse UpdateDataset(UpdateDatasetRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDatasetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDatasetResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateDataset operation. /// /// /// Container for the necessary parameters to execute the UpdateDataset operation on AmazonPersonalizeClient. /// 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 EndUpdateDataset /// operation. /// REST API Reference for UpdateDataset Operation public virtual IAsyncResult BeginUpdateDataset(UpdateDatasetRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDatasetRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDatasetResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateDataset operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateDataset. /// /// Returns a UpdateDatasetResult from Personalize. /// REST API Reference for UpdateDataset Operation public virtual UpdateDatasetResponse EndUpdateDataset(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateMetricAttribution /// /// Updates a metric attribution. /// /// Container for the necessary parameters to execute the UpdateMetricAttribution service method. /// /// The response from the UpdateMetricAttribution service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The specified resource already exists. /// /// /// The specified resource is in use. /// /// /// Could not find the specified resource. /// /// REST API Reference for UpdateMetricAttribution Operation public virtual UpdateMetricAttributionResponse UpdateMetricAttribution(UpdateMetricAttributionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateMetricAttributionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateMetricAttributionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateMetricAttribution operation. /// /// /// Container for the necessary parameters to execute the UpdateMetricAttribution operation on AmazonPersonalizeClient. /// 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 EndUpdateMetricAttribution /// operation. /// REST API Reference for UpdateMetricAttribution Operation public virtual IAsyncResult BeginUpdateMetricAttribution(UpdateMetricAttributionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateMetricAttributionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateMetricAttributionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateMetricAttribution operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateMetricAttribution. /// /// Returns a UpdateMetricAttributionResult from Personalize. /// REST API Reference for UpdateMetricAttribution Operation public virtual UpdateMetricAttributionResponse EndUpdateMetricAttribution(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateRecommender /// /// Updates the recommender to modify the recommender configuration. If you update the /// recommender to modify the columns used in training, Amazon Personalize automatically /// starts a full retraining of the models backing your recommender. While the update /// completes, you can still get recommendations from the recommender. The recommender /// uses the previous configuration until the update completes. To track the status of /// this update, use the latestRecommenderUpdate returned in the DescribeRecommender /// operation. /// /// Container for the necessary parameters to execute the UpdateRecommender service method. /// /// The response from the UpdateRecommender service method, as returned by Personalize. /// /// Provide a valid value for the field or parameter. /// /// /// The specified resource is in use. /// /// /// Could not find the specified resource. /// /// REST API Reference for UpdateRecommender Operation public virtual UpdateRecommenderResponse UpdateRecommender(UpdateRecommenderRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRecommenderRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRecommenderResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateRecommender operation. /// /// /// Container for the necessary parameters to execute the UpdateRecommender operation on AmazonPersonalizeClient. /// 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 EndUpdateRecommender /// operation. /// REST API Reference for UpdateRecommender Operation public virtual IAsyncResult BeginUpdateRecommender(UpdateRecommenderRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRecommenderRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRecommenderResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateRecommender operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateRecommender. /// /// Returns a UpdateRecommenderResult from Personalize. /// REST API Reference for UpdateRecommender Operation public virtual UpdateRecommenderResponse EndUpdateRecommender(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion } }