/* * 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 frauddetector-2019-11-15.normal.json service model. */ using System; using System.Runtime.ExceptionServices; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using System.Net; using Amazon.FraudDetector.Model; using Amazon.FraudDetector.Model.Internal.MarshallTransformations; using Amazon.FraudDetector.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.FraudDetector { /// /// Implementation for accessing FraudDetector /// /// This is the Amazon Fraud Detector API Reference. This guide is for developers who /// need detailed information about Amazon Fraud Detector API actions, data types, and /// errors. For more information about Amazon Fraud Detector features, see the Amazon /// Fraud Detector User Guide. /// /// /// /// We provide the Query API as well as AWS software development kits (SDK) for Amazon /// Fraud Detector in Java and Python programming languages. /// /// /// /// The Amazon Fraud Detector Query API provides HTTPS requests that use the HTTP verb /// GET or POST and a Query parameter Action. AWS SDK provides libraries, /// sample code, tutorials, and other resources for software developers who prefer to /// build applications using language-specific APIs instead of submitting a request over /// HTTP or HTTPS. These libraries provide basic functions that automatically take care /// of tasks such as cryptographically signing your requests, retrying requests, and handling /// error responses, so that it is easier for you to get started. For more information /// about the AWS SDKs, go to Tools /// to build on AWS page, scroll down to the SDK section, and choose plus (+) /// sign to expand the section. /// /// public partial class AmazonFraudDetectorClient : AmazonServiceClient, IAmazonFraudDetector { private static IServiceMetadata serviceMetadata = new AmazonFraudDetectorMetadata(); #region Constructors /// /// Constructs AmazonFraudDetectorClient 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 AmazonFraudDetectorClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonFraudDetectorConfig()) { } /// /// Constructs AmazonFraudDetectorClient 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 AmazonFraudDetectorClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonFraudDetectorConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonFraudDetectorClient 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 AmazonFraudDetectorClient Configuration Object public AmazonFraudDetectorClient(AmazonFraudDetectorConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonFraudDetectorClient with AWS Credentials /// /// AWS Credentials public AmazonFraudDetectorClient(AWSCredentials credentials) : this(credentials, new AmazonFraudDetectorConfig()) { } /// /// Constructs AmazonFraudDetectorClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonFraudDetectorClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonFraudDetectorConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonFraudDetectorClient with AWS Credentials and an /// AmazonFraudDetectorClient Configuration object. /// /// AWS Credentials /// The AmazonFraudDetectorClient Configuration Object public AmazonFraudDetectorClient(AWSCredentials credentials, AmazonFraudDetectorConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonFraudDetectorClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonFraudDetectorClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonFraudDetectorConfig()) { } /// /// Constructs AmazonFraudDetectorClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonFraudDetectorClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonFraudDetectorConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonFraudDetectorClient with AWS Access Key ID, AWS Secret Key and an /// AmazonFraudDetectorClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonFraudDetectorClient Configuration Object public AmazonFraudDetectorClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonFraudDetectorConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonFraudDetectorClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonFraudDetectorClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonFraudDetectorConfig()) { } /// /// Constructs AmazonFraudDetectorClient 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 AmazonFraudDetectorClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonFraudDetectorConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonFraudDetectorClient with AWS Access Key ID, AWS Secret Key and an /// AmazonFraudDetectorClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonFraudDetectorClient Configuration Object public AmazonFraudDetectorClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonFraudDetectorConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #if AWS_ASYNC_ENUMERABLES_API private IFraudDetectorPaginatorFactory _paginators; /// /// Paginators for the service /// public IFraudDetectorPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new FraudDetectorPaginatorFactory(this); } return this._paginators; } } #endif #region Overrides /// /// Creates the signer for the service. /// protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// /// Customizes the runtime pipeline. /// /// Runtime pipeline for the current client. protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler(); pipeline.AddHandlerAfter(new AmazonFraudDetectorEndpointResolver()); } /// /// 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 BatchCreateVariable internal virtual BatchCreateVariableResponse BatchCreateVariable(BatchCreateVariableRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchCreateVariableRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchCreateVariableResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a batch of variables. /// /// Container for the necessary parameters to execute the BatchCreateVariable service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchCreateVariable service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for BatchCreateVariable Operation public virtual Task BatchCreateVariableAsync(BatchCreateVariableRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = BatchCreateVariableRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchCreateVariableResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region BatchGetVariable internal virtual BatchGetVariableResponse BatchGetVariable(BatchGetVariableRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchGetVariableRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchGetVariableResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets a batch of variables. /// /// Container for the necessary parameters to execute the BatchGetVariable service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the BatchGetVariable service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for BatchGetVariable Operation public virtual Task BatchGetVariableAsync(BatchGetVariableRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = BatchGetVariableRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchGetVariableResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CancelBatchImportJob internal virtual CancelBatchImportJobResponse CancelBatchImportJob(CancelBatchImportJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CancelBatchImportJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelBatchImportJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Cancels an in-progress batch import job. /// /// Container for the necessary parameters to execute the CancelBatchImportJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CancelBatchImportJob service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for CancelBatchImportJob Operation public virtual Task CancelBatchImportJobAsync(CancelBatchImportJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CancelBatchImportJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelBatchImportJobResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CancelBatchPredictionJob internal virtual CancelBatchPredictionJobResponse CancelBatchPredictionJob(CancelBatchPredictionJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CancelBatchPredictionJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelBatchPredictionJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Cancels the specified batch prediction job. /// /// Container for the necessary parameters to execute the CancelBatchPredictionJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CancelBatchPredictionJob service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for CancelBatchPredictionJob Operation public virtual Task CancelBatchPredictionJobAsync(CancelBatchPredictionJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CancelBatchPredictionJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelBatchPredictionJobResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateBatchImportJob internal virtual CreateBatchImportJobResponse CreateBatchImportJob(CreateBatchImportJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBatchImportJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBatchImportJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a batch import job. /// /// Container for the necessary parameters to execute the CreateBatchImportJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateBatchImportJob service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for CreateBatchImportJob Operation public virtual Task CreateBatchImportJobAsync(CreateBatchImportJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBatchImportJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBatchImportJobResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateBatchPredictionJob internal virtual CreateBatchPredictionJobResponse CreateBatchPredictionJob(CreateBatchPredictionJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBatchPredictionJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBatchPredictionJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a batch prediction job. /// /// Container for the necessary parameters to execute the CreateBatchPredictionJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateBatchPredictionJob service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for CreateBatchPredictionJob Operation public virtual Task CreateBatchPredictionJobAsync(CreateBatchPredictionJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBatchPredictionJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBatchPredictionJobResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateDetectorVersion internal virtual CreateDetectorVersionResponse CreateDetectorVersion(CreateDetectorVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDetectorVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDetectorVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a detector version. The detector version starts in a DRAFT status. /// /// Container for the necessary parameters to execute the CreateDetectorVersion service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateDetectorVersion service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for CreateDetectorVersion Operation public virtual Task CreateDetectorVersionAsync(CreateDetectorVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDetectorVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDetectorVersionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateList internal virtual CreateListResponse CreateList(CreateListRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateListRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateListResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a list. /// /// /// /// List is a set of input data for a variable in your event dataset. You use the input /// data in a rule that's associated with your detector. For more information, see Lists. /// /// /// Container for the necessary parameters to execute the CreateList service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateList service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for CreateList Operation public virtual Task CreateListAsync(CreateListRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateListRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateListResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateModel internal virtual CreateModelResponse CreateModel(CreateModelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateModelRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateModelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a model using the specified model type. /// /// Container for the necessary parameters to execute the CreateModel service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateModel service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for CreateModel Operation public virtual Task CreateModelAsync(CreateModelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateModelRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateModelResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateModelVersion internal virtual CreateModelVersionResponse CreateModelVersion(CreateModelVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateModelVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateModelVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a version of the model using the specified model type and model id. /// /// Container for the necessary parameters to execute the CreateModelVersion service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateModelVersion service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for CreateModelVersion Operation public virtual Task CreateModelVersionAsync(CreateModelVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateModelVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateModelVersionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateRule internal virtual CreateRuleResponse CreateRule(CreateRuleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRuleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a rule for use with the specified detector. /// /// Container for the necessary parameters to execute the CreateRule service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateRule service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for CreateRule Operation public virtual Task CreateRuleAsync(CreateRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRuleResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateVariable internal virtual CreateVariableResponse CreateVariable(CreateVariableRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVariableRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVariableResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a variable. /// /// Container for the necessary parameters to execute the CreateVariable service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateVariable service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for CreateVariable Operation public virtual Task CreateVariableAsync(CreateVariableRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVariableRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVariableResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteBatchImportJob internal virtual DeleteBatchImportJobResponse DeleteBatchImportJob(DeleteBatchImportJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBatchImportJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBatchImportJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified batch import job ID record. This action does not delete the /// data that was batch imported. /// /// Container for the necessary parameters to execute the DeleteBatchImportJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteBatchImportJob service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for DeleteBatchImportJob Operation public virtual Task DeleteBatchImportJobAsync(DeleteBatchImportJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBatchImportJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBatchImportJobResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteBatchPredictionJob internal virtual DeleteBatchPredictionJobResponse DeleteBatchPredictionJob(DeleteBatchPredictionJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBatchPredictionJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBatchPredictionJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a batch prediction job. /// /// Container for the necessary parameters to execute the DeleteBatchPredictionJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteBatchPredictionJob service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for DeleteBatchPredictionJob Operation public virtual Task DeleteBatchPredictionJobAsync(DeleteBatchPredictionJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBatchPredictionJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBatchPredictionJobResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteDetector internal virtual DeleteDetectorResponse DeleteDetector(DeleteDetectorRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDetectorRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDetectorResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the detector. Before deleting a detector, you must first delete all detector /// versions and rule versions associated with the detector. /// /// /// /// When you delete a detector, Amazon Fraud Detector permanently deletes the detector /// and the data is no longer stored in Amazon Fraud Detector. /// /// /// Container for the necessary parameters to execute the DeleteDetector service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteDetector service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating there was a conflict during a delete operation. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for DeleteDetector Operation public virtual Task DeleteDetectorAsync(DeleteDetectorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDetectorRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDetectorResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteDetectorVersion internal virtual DeleteDetectorVersionResponse DeleteDetectorVersion(DeleteDetectorVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDetectorVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDetectorVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the detector version. You cannot delete detector versions that are in ACTIVE /// status. /// /// /// /// When you delete a detector version, Amazon Fraud Detector permanently deletes the /// detector and the data is no longer stored in Amazon Fraud Detector. /// /// /// Container for the necessary parameters to execute the DeleteDetectorVersion service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteDetectorVersion service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating there was a conflict during a delete operation. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for DeleteDetectorVersion Operation public virtual Task DeleteDetectorVersionAsync(DeleteDetectorVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDetectorVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDetectorVersionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteEntityType internal virtual DeleteEntityTypeResponse DeleteEntityType(DeleteEntityTypeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteEntityTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteEntityTypeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an entity type. /// /// /// /// You cannot delete an entity type that is included in an event type. /// /// /// /// When you delete an entity type, Amazon Fraud Detector permanently deletes that entity /// type and the data is no longer stored in Amazon Fraud Detector. /// /// /// Container for the necessary parameters to execute the DeleteEntityType service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteEntityType service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating there was a conflict during a delete operation. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for DeleteEntityType Operation public virtual Task DeleteEntityTypeAsync(DeleteEntityTypeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteEntityTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteEntityTypeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteEvent internal virtual DeleteEventResponse DeleteEvent(DeleteEventRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteEventRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteEventResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified event. /// /// /// /// When you delete an event, Amazon Fraud Detector permanently deletes that event and /// the event data is no longer stored in Amazon Fraud Detector. If deleteAuditHistory /// is True, event data is available through search for up to 30 seconds /// after the delete operation is completed. /// /// /// Container for the necessary parameters to execute the DeleteEvent service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteEvent service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for DeleteEvent Operation public virtual Task DeleteEventAsync(DeleteEventRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteEventRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteEventResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteEventsByEventType internal virtual DeleteEventsByEventTypeResponse DeleteEventsByEventType(DeleteEventsByEventTypeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteEventsByEventTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteEventsByEventTypeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes all events of a particular event type. /// /// Container for the necessary parameters to execute the DeleteEventsByEventType service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteEventsByEventType service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating there was a conflict during a delete operation. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for DeleteEventsByEventType Operation public virtual Task DeleteEventsByEventTypeAsync(DeleteEventsByEventTypeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteEventsByEventTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteEventsByEventTypeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteEventType internal virtual DeleteEventTypeResponse DeleteEventType(DeleteEventTypeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteEventTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteEventTypeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an event type. /// /// /// /// You cannot delete an event type that is used in a detector or a model. /// /// /// /// When you delete an event type, Amazon Fraud Detector permanently deletes that event /// type and the data is no longer stored in Amazon Fraud Detector. /// /// /// Container for the necessary parameters to execute the DeleteEventType service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteEventType service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating there was a conflict during a delete operation. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for DeleteEventType Operation public virtual Task DeleteEventTypeAsync(DeleteEventTypeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteEventTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteEventTypeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteExternalModel internal virtual DeleteExternalModelResponse DeleteExternalModel(DeleteExternalModelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteExternalModelRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteExternalModelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Removes a SageMaker model from Amazon Fraud Detector. /// /// /// /// You can remove an Amazon SageMaker model if it is not associated with a detector version. /// Removing a SageMaker model disconnects it from Amazon Fraud Detector, but the model /// remains available in SageMaker. /// /// /// Container for the necessary parameters to execute the DeleteExternalModel service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteExternalModel service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating there was a conflict during a delete operation. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for DeleteExternalModel Operation public virtual Task DeleteExternalModelAsync(DeleteExternalModelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteExternalModelRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteExternalModelResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteLabel internal virtual DeleteLabelResponse DeleteLabel(DeleteLabelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteLabelRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteLabelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a label. /// /// /// /// You cannot delete labels that are included in an event type in Amazon Fraud Detector. /// /// /// /// You cannot delete a label assigned to an event ID. You must first delete the relevant /// event ID. /// /// /// /// When you delete a label, Amazon Fraud Detector permanently deletes that label and /// the data is no longer stored in Amazon Fraud Detector. /// /// /// Container for the necessary parameters to execute the DeleteLabel service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteLabel service method, as returned by FraudDetector. /// /// An exception indicating there was a conflict during a delete operation. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for DeleteLabel Operation public virtual Task DeleteLabelAsync(DeleteLabelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteLabelRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteLabelResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteList internal virtual DeleteListResponse DeleteList(DeleteListRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteListRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteListResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the list, provided it is not used in a rule. /// /// /// /// When you delete a list, Amazon Fraud Detector permanently deletes that list and the /// elements in the list. /// /// /// Container for the necessary parameters to execute the DeleteList service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteList service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating there was a conflict during a delete operation. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for DeleteList Operation public virtual Task DeleteListAsync(DeleteListRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteListRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteListResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteModel internal virtual DeleteModelResponse DeleteModel(DeleteModelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteModelRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteModelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a model. /// /// /// /// You can delete models and model versions in Amazon Fraud Detector, provided that they /// are not associated with a detector version. /// /// /// /// When you delete a model, Amazon Fraud Detector permanently deletes that model and /// the data is no longer stored in Amazon Fraud Detector. /// /// /// Container for the necessary parameters to execute the DeleteModel service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteModel service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating there was a conflict during a delete operation. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for DeleteModel Operation public virtual Task DeleteModelAsync(DeleteModelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteModelRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteModelResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteModelVersion internal virtual DeleteModelVersionResponse DeleteModelVersion(DeleteModelVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteModelVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteModelVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a model version. /// /// /// /// You can delete models and model versions in Amazon Fraud Detector, provided that they /// are not associated with a detector version. /// /// /// /// When you delete a model version, Amazon Fraud Detector permanently deletes that model /// version and the data is no longer stored in Amazon Fraud Detector. /// /// /// Container for the necessary parameters to execute the DeleteModelVersion service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteModelVersion service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating there was a conflict during a delete operation. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for DeleteModelVersion Operation public virtual Task DeleteModelVersionAsync(DeleteModelVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteModelVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteModelVersionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteOutcome internal virtual DeleteOutcomeResponse DeleteOutcome(DeleteOutcomeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteOutcomeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteOutcomeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an outcome. /// /// /// /// You cannot delete an outcome that is used in a rule version. /// /// /// /// When you delete an outcome, Amazon Fraud Detector permanently deletes that outcome /// and the data is no longer stored in Amazon Fraud Detector. /// /// /// Container for the necessary parameters to execute the DeleteOutcome service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteOutcome service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating there was a conflict during a delete operation. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for DeleteOutcome Operation public virtual Task DeleteOutcomeAsync(DeleteOutcomeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteOutcomeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteOutcomeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteRule internal virtual DeleteRuleResponse DeleteRule(DeleteRuleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRuleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the rule. You cannot delete a rule if it is used by an ACTIVE /// or INACTIVE detector version. /// /// /// /// When you delete a rule, Amazon Fraud Detector permanently deletes that rule and the /// data is no longer stored in Amazon Fraud Detector. /// /// /// Container for the necessary parameters to execute the DeleteRule service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteRule service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating there was a conflict during a delete operation. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for DeleteRule Operation public virtual Task DeleteRuleAsync(DeleteRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRuleResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteVariable internal virtual DeleteVariableResponse DeleteVariable(DeleteVariableRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVariableRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVariableResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a variable. /// /// /// /// You can't delete variables that are included in an event type in Amazon Fraud Detector. /// /// /// /// Amazon Fraud Detector automatically deletes model output variables and SageMaker model /// output variables when you delete the model. You can't delete these variables manually. /// /// /// /// When you delete a variable, Amazon Fraud Detector permanently deletes that variable /// and the data is no longer stored in Amazon Fraud Detector. /// /// /// Container for the necessary parameters to execute the DeleteVariable service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteVariable service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating there was a conflict during a delete operation. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for DeleteVariable Operation public virtual Task DeleteVariableAsync(DeleteVariableRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVariableRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVariableResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeDetector internal virtual DescribeDetectorResponse DescribeDetector(DescribeDetectorRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDetectorRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDetectorResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets all versions for a specified detector. /// /// Container for the necessary parameters to execute the DescribeDetector service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeDetector service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for DescribeDetector Operation public virtual Task DescribeDetectorAsync(DescribeDetectorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeDetectorRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeDetectorResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeModelVersions internal virtual DescribeModelVersionsResponse DescribeModelVersions(DescribeModelVersionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeModelVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeModelVersionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets all of the model versions for the specified model type or for the specified model /// type and model ID. You can also get details for a single, specified model version. /// /// Container for the necessary parameters to execute the DescribeModelVersions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeModelVersions service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for DescribeModelVersions Operation public virtual Task DescribeModelVersionsAsync(DescribeModelVersionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeModelVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeModelVersionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetBatchImportJobs internal virtual GetBatchImportJobsResponse GetBatchImportJobs(GetBatchImportJobsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetBatchImportJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBatchImportJobsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets all batch import jobs or a specific job of the specified ID. This is a paginated /// API. If you provide a null maxResults, this action retrieves a maximum /// of 50 records per page. If you provide a maxResults, the value must be /// between 1 and 50. To get the next page results, provide the pagination token from /// the GetBatchImportJobsResponse as part of your request. A null pagination /// token fetches the records from the beginning. /// /// Container for the necessary parameters to execute the GetBatchImportJobs service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetBatchImportJobs service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for GetBatchImportJobs Operation public virtual Task GetBatchImportJobsAsync(GetBatchImportJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetBatchImportJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBatchImportJobsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetBatchPredictionJobs internal virtual GetBatchPredictionJobsResponse GetBatchPredictionJobs(GetBatchPredictionJobsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetBatchPredictionJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBatchPredictionJobsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets all batch prediction jobs or a specific job if you specify a job ID. This is /// a paginated API. If you provide a null maxResults, this action retrieves a maximum /// of 50 records per page. If you provide a maxResults, the value must be between 1 and /// 50. To get the next page results, provide the pagination token from the GetBatchPredictionJobsResponse /// as part of your request. A null pagination token fetches the records from the beginning. /// /// Container for the necessary parameters to execute the GetBatchPredictionJobs service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetBatchPredictionJobs service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for GetBatchPredictionJobs Operation public virtual Task GetBatchPredictionJobsAsync(GetBatchPredictionJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetBatchPredictionJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBatchPredictionJobsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetDeleteEventsByEventTypeStatus internal virtual GetDeleteEventsByEventTypeStatusResponse GetDeleteEventsByEventTypeStatus(GetDeleteEventsByEventTypeStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDeleteEventsByEventTypeStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDeleteEventsByEventTypeStatusResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves the status of a DeleteEventsByEventType action. /// /// Container for the necessary parameters to execute the GetDeleteEventsByEventTypeStatus service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetDeleteEventsByEventTypeStatus service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for GetDeleteEventsByEventTypeStatus Operation public virtual Task GetDeleteEventsByEventTypeStatusAsync(GetDeleteEventsByEventTypeStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetDeleteEventsByEventTypeStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDeleteEventsByEventTypeStatusResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetDetectors internal virtual GetDetectorsResponse GetDetectors(GetDetectorsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDetectorsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDetectorsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets all detectors or a single detector if a detectorId is specified. /// This is a paginated API. If you provide a null maxResults, this action /// retrieves a maximum of 10 records per page. If you provide a maxResults, /// the value must be between 5 and 10. To get the next page results, provide the pagination /// token from the GetDetectorsResponse as part of your request. A null pagination /// token fetches the records from the beginning. /// /// Container for the necessary parameters to execute the GetDetectors service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetDetectors service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for GetDetectors Operation public virtual Task GetDetectorsAsync(GetDetectorsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetDetectorsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDetectorsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetDetectorVersion internal virtual GetDetectorVersionResponse GetDetectorVersion(GetDetectorVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDetectorVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDetectorVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets a particular detector version. /// /// Container for the necessary parameters to execute the GetDetectorVersion service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetDetectorVersion service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for GetDetectorVersion Operation public virtual Task GetDetectorVersionAsync(GetDetectorVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetDetectorVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDetectorVersionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetEntityTypes internal virtual GetEntityTypesResponse GetEntityTypes(GetEntityTypesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetEntityTypesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEntityTypesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets all entity types or a specific entity type if a name is specified. This is a /// paginated API. If you provide a null maxResults, this action retrieves /// a maximum of 10 records per page. If you provide a maxResults, the value /// must be between 5 and 10. To get the next page results, provide the pagination token /// from the GetEntityTypesResponse as part of your request. A null pagination /// token fetches the records from the beginning. /// /// Container for the necessary parameters to execute the GetEntityTypes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetEntityTypes service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for GetEntityTypes Operation public virtual Task GetEntityTypesAsync(GetEntityTypesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetEntityTypesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEntityTypesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetEvent internal virtual GetEventResponse GetEvent(GetEventRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetEventRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEventResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves details of events stored with Amazon Fraud Detector. This action does not /// retrieve prediction results. /// /// Container for the necessary parameters to execute the GetEvent service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetEvent service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for GetEvent Operation public virtual Task GetEventAsync(GetEventRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetEventRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEventResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetEventPrediction internal virtual GetEventPredictionResponse GetEventPrediction(GetEventPredictionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetEventPredictionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEventPredictionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Evaluates an event against a detector version. If a version ID is not provided, the /// detector’s (ACTIVE) version is used. /// /// Container for the necessary parameters to execute the GetEventPrediction service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetEventPrediction service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating there was a conflict during a delete operation. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating that the attached customer-owned (external) model threw an /// exception when Amazon Fraud Detector invoked the model. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for GetEventPrediction Operation public virtual Task GetEventPredictionAsync(GetEventPredictionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetEventPredictionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEventPredictionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetEventPredictionMetadata internal virtual GetEventPredictionMetadataResponse GetEventPredictionMetadata(GetEventPredictionMetadataRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetEventPredictionMetadataRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEventPredictionMetadataResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets details of the past fraud predictions for the specified event ID, event type, /// detector ID, and detector version ID that was generated in the specified time period. /// /// Container for the necessary parameters to execute the GetEventPredictionMetadata service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetEventPredictionMetadata service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for GetEventPredictionMetadata Operation public virtual Task GetEventPredictionMetadataAsync(GetEventPredictionMetadataRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetEventPredictionMetadataRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEventPredictionMetadataResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetEventTypes internal virtual GetEventTypesResponse GetEventTypes(GetEventTypesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetEventTypesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEventTypesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets all event types or a specific event type if name is provided. This is a paginated /// API. If you provide a null maxResults, this action retrieves a maximum /// of 10 records per page. If you provide a maxResults, the value must be /// between 5 and 10. To get the next page results, provide the pagination token from /// the GetEventTypesResponse as part of your request. A null pagination /// token fetches the records from the beginning. /// /// Container for the necessary parameters to execute the GetEventTypes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetEventTypes service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for GetEventTypes Operation public virtual Task GetEventTypesAsync(GetEventTypesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetEventTypesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetEventTypesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetExternalModels internal virtual GetExternalModelsResponse GetExternalModels(GetExternalModelsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetExternalModelsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetExternalModelsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the details for one or more Amazon SageMaker models that have been imported into /// the service. This is a paginated API. If you provide a null maxResults, /// this actions retrieves a maximum of 10 records per page. If you provide a maxResults, /// the value must be between 5 and 10. To get the next page results, provide the pagination /// token from the GetExternalModelsResult as part of your request. A null /// pagination token fetches the records from the beginning. /// /// Container for the necessary parameters to execute the GetExternalModels service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetExternalModels service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for GetExternalModels Operation public virtual Task GetExternalModelsAsync(GetExternalModelsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetExternalModelsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetExternalModelsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetKMSEncryptionKey internal virtual GetKMSEncryptionKeyResponse GetKMSEncryptionKey(GetKMSEncryptionKeyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetKMSEncryptionKeyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetKMSEncryptionKeyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the encryption key if a KMS key has been specified to be used to encrypt content /// in Amazon Fraud Detector. /// /// Container for the necessary parameters to execute the GetKMSEncryptionKey service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetKMSEncryptionKey service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// REST API Reference for GetKMSEncryptionKey Operation public virtual Task GetKMSEncryptionKeyAsync(GetKMSEncryptionKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetKMSEncryptionKeyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetKMSEncryptionKeyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetLabels internal virtual GetLabelsResponse GetLabels(GetLabelsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetLabelsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetLabelsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets all labels or a specific label if name is provided. This is a paginated API. /// If you provide a null maxResults, this action retrieves a maximum of /// 50 records per page. If you provide a maxResults, the value must be between /// 10 and 50. To get the next page results, provide the pagination token from the GetGetLabelsResponse /// as part of your request. A null pagination token fetches the records from the beginning. /// /// Container for the necessary parameters to execute the GetLabels service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetLabels service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for GetLabels Operation public virtual Task GetLabelsAsync(GetLabelsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetLabelsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetLabelsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetListElements internal virtual GetListElementsResponse GetListElements(GetListElementsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetListElementsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetListElementsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets all the elements in the specified list. /// /// Container for the necessary parameters to execute the GetListElements service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetListElements service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for GetListElements Operation public virtual Task GetListElementsAsync(GetListElementsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetListElementsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetListElementsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetListsMetadata internal virtual GetListsMetadataResponse GetListsMetadata(GetListsMetadataRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetListsMetadataRequestMarshaller.Instance; options.ResponseUnmarshaller = GetListsMetadataResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the metadata of either all the lists under the account or the specified list. /// /// Container for the necessary parameters to execute the GetListsMetadata service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetListsMetadata service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for GetListsMetadata Operation public virtual Task GetListsMetadataAsync(GetListsMetadataRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetListsMetadataRequestMarshaller.Instance; options.ResponseUnmarshaller = GetListsMetadataResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetModels internal virtual GetModelsResponse GetModels(GetModelsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetModelsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetModelsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets one or more models. Gets all models for the Amazon Web Services account if no /// model type and no model id provided. Gets all models for the Amazon Web Services account /// and model type, if the model type is specified but model id is not provided. Gets /// a specific model if (model type, model id) tuple is specified. /// /// /// /// This is a paginated API. If you provide a null maxResults, this action /// retrieves a maximum of 10 records per page. If you provide a maxResults, /// the value must be between 1 and 10. To get the next page results, provide the pagination /// token from the response as part of your request. A null pagination token fetches the /// records from the beginning. /// /// /// Container for the necessary parameters to execute the GetModels service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetModels service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for GetModels Operation public virtual Task GetModelsAsync(GetModelsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetModelsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetModelsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetModelVersion internal virtual GetModelVersionResponse GetModelVersion(GetModelVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetModelVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetModelVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the details of the specified model version. /// /// Container for the necessary parameters to execute the GetModelVersion service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetModelVersion service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for GetModelVersion Operation public virtual Task GetModelVersionAsync(GetModelVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetModelVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetModelVersionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetOutcomes internal virtual GetOutcomesResponse GetOutcomes(GetOutcomesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetOutcomesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetOutcomesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets one or more outcomes. This is a paginated API. If you provide a null maxResults, /// this actions retrieves a maximum of 100 records per page. If you provide a maxResults, /// the value must be between 50 and 100. To get the next page results, provide the pagination /// token from the GetOutcomesResult as part of your request. A null pagination /// token fetches the records from the beginning. /// /// Container for the necessary parameters to execute the GetOutcomes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetOutcomes service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for GetOutcomes Operation public virtual Task GetOutcomesAsync(GetOutcomesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetOutcomesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetOutcomesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetRules internal virtual GetRulesResponse GetRules(GetRulesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetRulesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRulesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Get all rules for a detector (paginated) if ruleId and ruleVersion /// are not specified. Gets all rules for the detector and the ruleId if /// present (paginated). Gets a specific rule if both the ruleId and the /// ruleVersion are specified. /// /// /// /// This is a paginated API. Providing null maxResults results in retrieving maximum of /// 100 records per page. If you provide maxResults the value must be between 50 and 100. /// To get the next page result, a provide a pagination token from GetRulesResult as part /// of your request. Null pagination token fetches the records from the beginning. /// /// /// Container for the necessary parameters to execute the GetRules service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetRules service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for GetRules Operation public virtual Task GetRulesAsync(GetRulesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetRulesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRulesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetVariables internal virtual GetVariablesResponse GetVariables(GetVariablesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetVariablesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetVariablesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets all of the variables or the specific variable. This is a paginated API. Providing /// null maxSizePerPage results in retrieving maximum of 100 records per /// page. If you provide maxSizePerPage the value must be between 50 and /// 100. To get the next page result, a provide a pagination token from GetVariablesResult /// as part of your request. Null pagination token fetches the records from the beginning. /// /// Container for the necessary parameters to execute the GetVariables service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetVariables service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for GetVariables Operation public virtual Task GetVariablesAsync(GetVariablesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetVariablesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetVariablesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListEventPredictions internal virtual ListEventPredictionsResponse ListEventPredictions(ListEventPredictionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListEventPredictionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListEventPredictionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets a list of past predictions. The list can be filtered by detector ID, detector /// version ID, event ID, event type, or by specifying a time period. If filter is not /// specified, the most recent prediction is returned. /// /// /// /// For example, the following filter lists all past predictions for xyz /// event type - { "eventType":{ "value": "xyz" }” } /// /// /// /// This is a paginated API. If you provide a null maxResults, this action /// will retrieve a maximum of 10 records per page. If you provide a maxResults, /// the value must be between 50 and 100. To get the next page results, provide the nextToken /// from the response as part of your request. A null nextToken fetches the /// records from the beginning. /// /// /// Container for the necessary parameters to execute the ListEventPredictions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListEventPredictions service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for ListEventPredictions Operation public virtual Task ListEventPredictionsAsync(ListEventPredictionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListEventPredictionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListEventPredictionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListTagsForResource internal virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists all tags associated with the resource. This is a paginated API. To get the next /// page results, provide the pagination token from the response as part of your request. /// A null pagination token fetches the records from the beginning. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTagsForResource service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for ListTagsForResource Operation public virtual Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PutDetector internal virtual PutDetectorResponse PutDetector(PutDetectorRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutDetectorRequestMarshaller.Instance; options.ResponseUnmarshaller = PutDetectorResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates or updates a detector. /// /// Container for the necessary parameters to execute the PutDetector service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutDetector service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating there was a conflict during a delete operation. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for PutDetector Operation public virtual Task PutDetectorAsync(PutDetectorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutDetectorRequestMarshaller.Instance; options.ResponseUnmarshaller = PutDetectorResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PutEntityType internal virtual PutEntityTypeResponse PutEntityType(PutEntityTypeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutEntityTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = PutEntityTypeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates or updates an entity type. An entity represents who is performing the event. /// As part of a fraud prediction, you pass the entity ID to indicate the specific entity /// who performed the event. An entity type classifies the entity. Example classifications /// include customer, merchant, or account. /// /// Container for the necessary parameters to execute the PutEntityType service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutEntityType service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating there was a conflict during a delete operation. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for PutEntityType Operation public virtual Task PutEntityTypeAsync(PutEntityTypeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutEntityTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = PutEntityTypeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PutEventType internal virtual PutEventTypeResponse PutEventType(PutEventTypeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutEventTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = PutEventTypeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates or updates an event type. An event is a business activity that is evaluated /// for fraud risk. With Amazon Fraud Detector, you generate fraud predictions for events. /// An event type defines the structure for an event sent to Amazon Fraud Detector. This /// includes the variables sent as part of the event, the entity performing the event /// (such as a customer), and the labels that classify the event. Example event types /// include online payment transactions, account registrations, and authentications. /// /// Container for the necessary parameters to execute the PutEventType service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutEventType service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating there was a conflict during a delete operation. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for PutEventType Operation public virtual Task PutEventTypeAsync(PutEventTypeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutEventTypeRequestMarshaller.Instance; options.ResponseUnmarshaller = PutEventTypeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PutExternalModel internal virtual PutExternalModelResponse PutExternalModel(PutExternalModelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutExternalModelRequestMarshaller.Instance; options.ResponseUnmarshaller = PutExternalModelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates or updates an Amazon SageMaker model endpoint. You can also use this action /// to update the configuration of the model endpoint, including the IAM role and/or the /// mapped variables. /// /// Container for the necessary parameters to execute the PutExternalModel service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutExternalModel service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating there was a conflict during a delete operation. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for PutExternalModel Operation public virtual Task PutExternalModelAsync(PutExternalModelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutExternalModelRequestMarshaller.Instance; options.ResponseUnmarshaller = PutExternalModelResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PutKMSEncryptionKey internal virtual PutKMSEncryptionKeyResponse PutKMSEncryptionKey(PutKMSEncryptionKeyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutKMSEncryptionKeyRequestMarshaller.Instance; options.ResponseUnmarshaller = PutKMSEncryptionKeyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Specifies the KMS key to be used to encrypt content in Amazon Fraud Detector. /// /// Container for the necessary parameters to execute the PutKMSEncryptionKey service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutKMSEncryptionKey service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating there was a conflict during a delete operation. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for PutKMSEncryptionKey Operation public virtual Task PutKMSEncryptionKeyAsync(PutKMSEncryptionKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutKMSEncryptionKeyRequestMarshaller.Instance; options.ResponseUnmarshaller = PutKMSEncryptionKeyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PutLabel internal virtual PutLabelResponse PutLabel(PutLabelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutLabelRequestMarshaller.Instance; options.ResponseUnmarshaller = PutLabelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates or updates label. A label classifies an event as fraudulent or legitimate. /// Labels are associated with event types and used to train supervised machine learning /// models in Amazon Fraud Detector. /// /// Container for the necessary parameters to execute the PutLabel service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutLabel service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating there was a conflict during a delete operation. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for PutLabel Operation public virtual Task PutLabelAsync(PutLabelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutLabelRequestMarshaller.Instance; options.ResponseUnmarshaller = PutLabelResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PutOutcome internal virtual PutOutcomeResponse PutOutcome(PutOutcomeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutOutcomeRequestMarshaller.Instance; options.ResponseUnmarshaller = PutOutcomeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates or updates an outcome. /// /// Container for the necessary parameters to execute the PutOutcome service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutOutcome service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating there was a conflict during a delete operation. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for PutOutcome Operation public virtual Task PutOutcomeAsync(PutOutcomeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutOutcomeRequestMarshaller.Instance; options.ResponseUnmarshaller = PutOutcomeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region SendEvent internal virtual SendEventResponse SendEvent(SendEventRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SendEventRequestMarshaller.Instance; options.ResponseUnmarshaller = SendEventResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Stores events in Amazon Fraud Detector without generating fraud predictions for those /// events. For example, you can use SendEvent to upload a historical dataset, /// which you can then later use to train a model. /// /// Container for the necessary parameters to execute the SendEvent service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SendEvent service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating there was a conflict during a delete operation. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for SendEvent Operation public virtual Task SendEventAsync(SendEventRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SendEventRequestMarshaller.Instance; options.ResponseUnmarshaller = SendEventResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region TagResource internal virtual TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Assigns tags to a resource. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the TagResource service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for TagResource Operation public virtual Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UntagResource internal virtual UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Removes tags from a resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UntagResource service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for UntagResource Operation public virtual Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateDetectorVersion internal virtual UpdateDetectorVersionResponse UpdateDetectorVersion(UpdateDetectorVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDetectorVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDetectorVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates a detector version. The detector version attributes that you can update include /// models, external model endpoints, rules, rule execution mode, and description. You /// can only update a DRAFT detector version. /// /// Container for the necessary parameters to execute the UpdateDetectorVersion service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateDetectorVersion service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating there was a conflict during a delete operation. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for UpdateDetectorVersion Operation public virtual Task UpdateDetectorVersionAsync(UpdateDetectorVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDetectorVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDetectorVersionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateDetectorVersionMetadata internal virtual UpdateDetectorVersionMetadataResponse UpdateDetectorVersionMetadata(UpdateDetectorVersionMetadataRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDetectorVersionMetadataRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDetectorVersionMetadataResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the detector version's description. You can update the metadata for any detector /// version (DRAFT, ACTIVE, or INACTIVE). /// /// Container for the necessary parameters to execute the UpdateDetectorVersionMetadata service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateDetectorVersionMetadata service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating there was a conflict during a delete operation. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for UpdateDetectorVersionMetadata Operation public virtual Task UpdateDetectorVersionMetadataAsync(UpdateDetectorVersionMetadataRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDetectorVersionMetadataRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDetectorVersionMetadataResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateDetectorVersionStatus internal virtual UpdateDetectorVersionStatusResponse UpdateDetectorVersionStatus(UpdateDetectorVersionStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDetectorVersionStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDetectorVersionStatusResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the detector version’s status. You can perform the following promotions or /// demotions using UpdateDetectorVersionStatus: DRAFT to ACTIVE, /// ACTIVE to INACTIVE, and INACTIVE to ACTIVE. /// /// Container for the necessary parameters to execute the UpdateDetectorVersionStatus service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateDetectorVersionStatus service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating there was a conflict during a delete operation. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for UpdateDetectorVersionStatus Operation public virtual Task UpdateDetectorVersionStatusAsync(UpdateDetectorVersionStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDetectorVersionStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDetectorVersionStatusResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateEventLabel internal virtual UpdateEventLabelResponse UpdateEventLabel(UpdateEventLabelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateEventLabelRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateEventLabelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the specified event with a new label. /// /// Container for the necessary parameters to execute the UpdateEventLabel service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateEventLabel service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating there was a conflict during a delete operation. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for UpdateEventLabel Operation public virtual Task UpdateEventLabelAsync(UpdateEventLabelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateEventLabelRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateEventLabelResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateList internal virtual UpdateListResponse UpdateList(UpdateListRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateListRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateListResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates a list. /// /// Container for the necessary parameters to execute the UpdateList service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateList service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating there was a conflict during a delete operation. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for UpdateList Operation public virtual Task UpdateListAsync(UpdateListRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateListRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateListResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateModel internal virtual UpdateModelResponse UpdateModel(UpdateModelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateModelRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateModelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates model description. /// /// Container for the necessary parameters to execute the UpdateModel service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateModel service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating there was a conflict during a delete operation. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for UpdateModel Operation public virtual Task UpdateModelAsync(UpdateModelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateModelRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateModelResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateModelVersion internal virtual UpdateModelVersionResponse UpdateModelVersion(UpdateModelVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateModelVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateModelVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates a model version. Updating a model version retrains an existing model version /// using updated training data and produces a new minor version of the model. You can /// update the training data set location and data access role attributes using this action. /// This action creates and trains a new minor version of the model, for example version /// 1.01, 1.02, 1.03. /// /// Container for the necessary parameters to execute the UpdateModelVersion service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateModelVersion service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating there was a conflict during a delete operation. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for UpdateModelVersion Operation public virtual Task UpdateModelVersionAsync(UpdateModelVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateModelVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateModelVersionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateModelVersionStatus internal virtual UpdateModelVersionStatusResponse UpdateModelVersionStatus(UpdateModelVersionStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateModelVersionStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateModelVersionStatusResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the status of a model version. /// /// /// /// You can perform the following status updates: /// ///
  1. /// /// Change the TRAINING_IN_PROGRESS status to TRAINING_CANCELLED. /// ///
  2. /// /// Change the TRAINING_COMPLETE status to ACTIVE. /// ///
  3. /// /// Change ACTIVE to INACTIVE. /// ///
///
/// Container for the necessary parameters to execute the UpdateModelVersionStatus service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateModelVersionStatus service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating there was a conflict during a delete operation. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for UpdateModelVersionStatus Operation public virtual Task UpdateModelVersionStatusAsync(UpdateModelVersionStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateModelVersionStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateModelVersionStatusResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateRuleMetadata internal virtual UpdateRuleMetadataResponse UpdateRuleMetadata(UpdateRuleMetadataRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRuleMetadataRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRuleMetadataResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates a rule's metadata. The description attribute can be updated. /// /// Container for the necessary parameters to execute the UpdateRuleMetadata service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateRuleMetadata service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating there was a conflict during a delete operation. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for UpdateRuleMetadata Operation public virtual Task UpdateRuleMetadataAsync(UpdateRuleMetadataRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRuleMetadataRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRuleMetadataResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateRuleVersion internal virtual UpdateRuleVersionResponse UpdateRuleVersion(UpdateRuleVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRuleVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRuleVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates a rule version resulting in a new rule version. Updates a rule version resulting /// in a new rule version (version 1, 2, 3 ...). /// /// Container for the necessary parameters to execute the UpdateRuleVersion service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateRuleVersion service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating there was a conflict during a delete operation. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for UpdateRuleVersion Operation public virtual Task UpdateRuleVersionAsync(UpdateRuleVersionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRuleVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRuleVersionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateVariable internal virtual UpdateVariableResponse UpdateVariable(UpdateVariableRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVariableRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVariableResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates a variable. /// /// Container for the necessary parameters to execute the UpdateVariable service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateVariable service method, as returned by FraudDetector. /// /// An exception indicating Amazon Fraud Detector does not have the needed permissions. /// This can occur if you submit a request, such as PutExternalModel, that /// specifies a role that is not in your account. /// /// /// An exception indicating there was a conflict during a delete operation. /// /// /// An exception indicating an internal server error. /// /// /// An exception indicating the specified resource was not found. /// /// /// An exception indicating a throttling error. /// /// /// An exception indicating a specified value is not allowed. /// /// REST API Reference for UpdateVariable Operation public virtual Task UpdateVariableAsync(UpdateVariableRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVariableRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVariableResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion } }