/*
* 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.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();
#if BCL45 || 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 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
#region Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customize the pipeline
///
///
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler();
pipeline.AddHandlerAfter(new 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
///
/// Creates a batch of variables.
///
/// Container for the necessary parameters to execute the BatchCreateVariable service method.
///
/// 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 BatchCreateVariableResponse BatchCreateVariable(BatchCreateVariableRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchCreateVariableRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchCreateVariableResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the BatchCreateVariable operation.
///
///
/// Container for the necessary parameters to execute the BatchCreateVariable operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndBatchCreateVariable
/// operation.
/// REST API Reference for BatchCreateVariable Operation
public virtual IAsyncResult BeginBatchCreateVariable(BatchCreateVariableRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchCreateVariableRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchCreateVariableResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the BatchCreateVariable operation.
///
///
/// The IAsyncResult returned by the call to BeginBatchCreateVariable.
///
/// Returns a BatchCreateVariableResult from FraudDetector.
/// REST API Reference for BatchCreateVariable Operation
public virtual BatchCreateVariableResponse EndBatchCreateVariable(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region BatchGetVariable
///
/// Gets a batch of variables.
///
/// Container for the necessary parameters to execute the BatchGetVariable service method.
///
/// 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 BatchGetVariableResponse BatchGetVariable(BatchGetVariableRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchGetVariableRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchGetVariableResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the BatchGetVariable operation.
///
///
/// Container for the necessary parameters to execute the BatchGetVariable operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndBatchGetVariable
/// operation.
/// REST API Reference for BatchGetVariable Operation
public virtual IAsyncResult BeginBatchGetVariable(BatchGetVariableRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchGetVariableRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchGetVariableResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the BatchGetVariable operation.
///
///
/// The IAsyncResult returned by the call to BeginBatchGetVariable.
///
/// Returns a BatchGetVariableResult from FraudDetector.
/// REST API Reference for BatchGetVariable Operation
public virtual BatchGetVariableResponse EndBatchGetVariable(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CancelBatchImportJob
///
/// Cancels an in-progress batch import job.
///
/// Container for the necessary parameters to execute the CancelBatchImportJob service method.
///
/// 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 CancelBatchImportJobResponse CancelBatchImportJob(CancelBatchImportJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CancelBatchImportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = CancelBatchImportJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CancelBatchImportJob operation.
///
///
/// Container for the necessary parameters to execute the CancelBatchImportJob operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCancelBatchImportJob
/// operation.
/// REST API Reference for CancelBatchImportJob Operation
public virtual IAsyncResult BeginCancelBatchImportJob(CancelBatchImportJobRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CancelBatchImportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = CancelBatchImportJobResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CancelBatchImportJob operation.
///
///
/// The IAsyncResult returned by the call to BeginCancelBatchImportJob.
///
/// Returns a CancelBatchImportJobResult from FraudDetector.
/// REST API Reference for CancelBatchImportJob Operation
public virtual CancelBatchImportJobResponse EndCancelBatchImportJob(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CancelBatchPredictionJob
///
/// Cancels the specified batch prediction job.
///
/// Container for the necessary parameters to execute the CancelBatchPredictionJob service method.
///
/// 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 CancelBatchPredictionJobResponse CancelBatchPredictionJob(CancelBatchPredictionJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CancelBatchPredictionJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = CancelBatchPredictionJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CancelBatchPredictionJob operation.
///
///
/// Container for the necessary parameters to execute the CancelBatchPredictionJob operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCancelBatchPredictionJob
/// operation.
/// REST API Reference for CancelBatchPredictionJob Operation
public virtual IAsyncResult BeginCancelBatchPredictionJob(CancelBatchPredictionJobRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CancelBatchPredictionJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = CancelBatchPredictionJobResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CancelBatchPredictionJob operation.
///
///
/// The IAsyncResult returned by the call to BeginCancelBatchPredictionJob.
///
/// Returns a CancelBatchPredictionJobResult from FraudDetector.
/// REST API Reference for CancelBatchPredictionJob Operation
public virtual CancelBatchPredictionJobResponse EndCancelBatchPredictionJob(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateBatchImportJob
///
/// Creates a batch import job.
///
/// Container for the necessary parameters to execute the CreateBatchImportJob service method.
///
/// 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 CreateBatchImportJobResponse CreateBatchImportJob(CreateBatchImportJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBatchImportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBatchImportJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateBatchImportJob operation.
///
///
/// Container for the necessary parameters to execute the CreateBatchImportJob operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateBatchImportJob
/// operation.
/// REST API Reference for CreateBatchImportJob Operation
public virtual IAsyncResult BeginCreateBatchImportJob(CreateBatchImportJobRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBatchImportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBatchImportJobResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateBatchImportJob operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateBatchImportJob.
///
/// Returns a CreateBatchImportJobResult from FraudDetector.
/// REST API Reference for CreateBatchImportJob Operation
public virtual CreateBatchImportJobResponse EndCreateBatchImportJob(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateBatchPredictionJob
///
/// Creates a batch prediction job.
///
/// Container for the necessary parameters to execute the CreateBatchPredictionJob service method.
///
/// 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 CreateBatchPredictionJobResponse CreateBatchPredictionJob(CreateBatchPredictionJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBatchPredictionJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBatchPredictionJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateBatchPredictionJob operation.
///
///
/// Container for the necessary parameters to execute the CreateBatchPredictionJob operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateBatchPredictionJob
/// operation.
/// REST API Reference for CreateBatchPredictionJob Operation
public virtual IAsyncResult BeginCreateBatchPredictionJob(CreateBatchPredictionJobRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateBatchPredictionJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateBatchPredictionJobResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateBatchPredictionJob operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateBatchPredictionJob.
///
/// Returns a CreateBatchPredictionJobResult from FraudDetector.
/// REST API Reference for CreateBatchPredictionJob Operation
public virtual CreateBatchPredictionJobResponse EndCreateBatchPredictionJob(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateDetectorVersion
///
/// Creates a detector version. The detector version starts in a DRAFT
status.
///
/// Container for the necessary parameters to execute the CreateDetectorVersion service method.
///
/// 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 CreateDetectorVersionResponse CreateDetectorVersion(CreateDetectorVersionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDetectorVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDetectorVersionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateDetectorVersion operation.
///
///
/// Container for the necessary parameters to execute the CreateDetectorVersion operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateDetectorVersion
/// operation.
/// REST API Reference for CreateDetectorVersion Operation
public virtual IAsyncResult BeginCreateDetectorVersion(CreateDetectorVersionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateDetectorVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateDetectorVersionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateDetectorVersion operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateDetectorVersion.
///
/// Returns a CreateDetectorVersionResult from FraudDetector.
/// REST API Reference for CreateDetectorVersion Operation
public virtual CreateDetectorVersionResponse EndCreateDetectorVersion(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateList
///
/// 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.
///
/// 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 CreateListResponse CreateList(CreateListRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateListRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateListResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateList operation.
///
///
/// Container for the necessary parameters to execute the CreateList operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateList
/// operation.
/// REST API Reference for CreateList Operation
public virtual IAsyncResult BeginCreateList(CreateListRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateListRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateListResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateList operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateList.
///
/// Returns a CreateListResult from FraudDetector.
/// REST API Reference for CreateList Operation
public virtual CreateListResponse EndCreateList(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateModel
///
/// Creates a model using the specified model type.
///
/// Container for the necessary parameters to execute the CreateModel service method.
///
/// 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 CreateModelResponse CreateModel(CreateModelRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateModelRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateModelResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateModel operation.
///
///
/// Container for the necessary parameters to execute the CreateModel operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateModel
/// operation.
/// REST API Reference for CreateModel Operation
public virtual IAsyncResult BeginCreateModel(CreateModelRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateModelRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateModelResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateModel operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateModel.
///
/// Returns a CreateModelResult from FraudDetector.
/// REST API Reference for CreateModel Operation
public virtual CreateModelResponse EndCreateModel(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateModelVersion
///
/// 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.
///
/// 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 CreateModelVersionResponse CreateModelVersion(CreateModelVersionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateModelVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateModelVersionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateModelVersion operation.
///
///
/// Container for the necessary parameters to execute the CreateModelVersion operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateModelVersion
/// operation.
/// REST API Reference for CreateModelVersion Operation
public virtual IAsyncResult BeginCreateModelVersion(CreateModelVersionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateModelVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateModelVersionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateModelVersion operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateModelVersion.
///
/// Returns a CreateModelVersionResult from FraudDetector.
/// REST API Reference for CreateModelVersion Operation
public virtual CreateModelVersionResponse EndCreateModelVersion(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateRule
///
/// Creates a rule for use with the specified detector.
///
/// Container for the necessary parameters to execute the CreateRule service method.
///
/// 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 CreateRuleResponse CreateRule(CreateRuleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateRuleResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateRule operation.
///
///
/// Container for the necessary parameters to execute the CreateRule operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateRule
/// operation.
/// REST API Reference for CreateRule Operation
public virtual IAsyncResult BeginCreateRule(CreateRuleRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateRuleResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateRule operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateRule.
///
/// Returns a CreateRuleResult from FraudDetector.
/// REST API Reference for CreateRule Operation
public virtual CreateRuleResponse EndCreateRule(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateVariable
///
/// Creates a variable.
///
/// Container for the necessary parameters to execute the CreateVariable service method.
///
/// 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 CreateVariableResponse CreateVariable(CreateVariableRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateVariableRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateVariableResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateVariable operation.
///
///
/// Container for the necessary parameters to execute the CreateVariable operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateVariable
/// operation.
/// REST API Reference for CreateVariable Operation
public virtual IAsyncResult BeginCreateVariable(CreateVariableRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateVariableRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateVariableResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateVariable operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateVariable.
///
/// Returns a CreateVariableResult from FraudDetector.
/// REST API Reference for CreateVariable Operation
public virtual CreateVariableResponse EndCreateVariable(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteBatchImportJob
///
/// 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.
///
/// 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 DeleteBatchImportJobResponse DeleteBatchImportJob(DeleteBatchImportJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBatchImportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBatchImportJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteBatchImportJob operation.
///
///
/// Container for the necessary parameters to execute the DeleteBatchImportJob operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteBatchImportJob
/// operation.
/// REST API Reference for DeleteBatchImportJob Operation
public virtual IAsyncResult BeginDeleteBatchImportJob(DeleteBatchImportJobRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBatchImportJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBatchImportJobResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteBatchImportJob operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteBatchImportJob.
///
/// Returns a DeleteBatchImportJobResult from FraudDetector.
/// REST API Reference for DeleteBatchImportJob Operation
public virtual DeleteBatchImportJobResponse EndDeleteBatchImportJob(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteBatchPredictionJob
///
/// Deletes a batch prediction job.
///
/// Container for the necessary parameters to execute the DeleteBatchPredictionJob service method.
///
/// 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 DeleteBatchPredictionJobResponse DeleteBatchPredictionJob(DeleteBatchPredictionJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBatchPredictionJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBatchPredictionJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteBatchPredictionJob operation.
///
///
/// Container for the necessary parameters to execute the DeleteBatchPredictionJob operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteBatchPredictionJob
/// operation.
/// REST API Reference for DeleteBatchPredictionJob Operation
public virtual IAsyncResult BeginDeleteBatchPredictionJob(DeleteBatchPredictionJobRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteBatchPredictionJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteBatchPredictionJobResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteBatchPredictionJob operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteBatchPredictionJob.
///
/// Returns a DeleteBatchPredictionJobResult from FraudDetector.
/// REST API Reference for DeleteBatchPredictionJob Operation
public virtual DeleteBatchPredictionJobResponse EndDeleteBatchPredictionJob(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteDetector
///
/// 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.
///
/// 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 DeleteDetectorResponse DeleteDetector(DeleteDetectorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDetectorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDetectorResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteDetector operation.
///
///
/// Container for the necessary parameters to execute the DeleteDetector operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteDetector
/// operation.
/// REST API Reference for DeleteDetector Operation
public virtual IAsyncResult BeginDeleteDetector(DeleteDetectorRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDetectorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDetectorResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteDetector operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteDetector.
///
/// Returns a DeleteDetectorResult from FraudDetector.
/// REST API Reference for DeleteDetector Operation
public virtual DeleteDetectorResponse EndDeleteDetector(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteDetectorVersion
///
/// 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.
///
/// 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 DeleteDetectorVersionResponse DeleteDetectorVersion(DeleteDetectorVersionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDetectorVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDetectorVersionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteDetectorVersion operation.
///
///
/// Container for the necessary parameters to execute the DeleteDetectorVersion operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteDetectorVersion
/// operation.
/// REST API Reference for DeleteDetectorVersion Operation
public virtual IAsyncResult BeginDeleteDetectorVersion(DeleteDetectorVersionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteDetectorVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteDetectorVersionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteDetectorVersion operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteDetectorVersion.
///
/// Returns a DeleteDetectorVersionResult from FraudDetector.
/// REST API Reference for DeleteDetectorVersion Operation
public virtual DeleteDetectorVersionResponse EndDeleteDetectorVersion(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteEntityType
///
/// 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.
///
/// 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 DeleteEntityTypeResponse DeleteEntityType(DeleteEntityTypeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteEntityTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteEntityTypeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteEntityType operation.
///
///
/// Container for the necessary parameters to execute the DeleteEntityType operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteEntityType
/// operation.
/// REST API Reference for DeleteEntityType Operation
public virtual IAsyncResult BeginDeleteEntityType(DeleteEntityTypeRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteEntityTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteEntityTypeResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteEntityType operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteEntityType.
///
/// Returns a DeleteEntityTypeResult from FraudDetector.
/// REST API Reference for DeleteEntityType Operation
public virtual DeleteEntityTypeResponse EndDeleteEntityType(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteEvent
///
/// 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.
///
/// 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 DeleteEventResponse DeleteEvent(DeleteEventRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteEventRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteEventResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteEvent operation.
///
///
/// Container for the necessary parameters to execute the DeleteEvent operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteEvent
/// operation.
/// REST API Reference for DeleteEvent Operation
public virtual IAsyncResult BeginDeleteEvent(DeleteEventRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteEventRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteEventResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteEvent operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteEvent.
///
/// Returns a DeleteEventResult from FraudDetector.
/// REST API Reference for DeleteEvent Operation
public virtual DeleteEventResponse EndDeleteEvent(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteEventsByEventType
///
/// Deletes all events of a particular event type.
///
/// Container for the necessary parameters to execute the DeleteEventsByEventType service method.
///
/// 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 DeleteEventsByEventTypeResponse DeleteEventsByEventType(DeleteEventsByEventTypeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteEventsByEventTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteEventsByEventTypeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteEventsByEventType operation.
///
///
/// Container for the necessary parameters to execute the DeleteEventsByEventType operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteEventsByEventType
/// operation.
/// REST API Reference for DeleteEventsByEventType Operation
public virtual IAsyncResult BeginDeleteEventsByEventType(DeleteEventsByEventTypeRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteEventsByEventTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteEventsByEventTypeResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteEventsByEventType operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteEventsByEventType.
///
/// Returns a DeleteEventsByEventTypeResult from FraudDetector.
/// REST API Reference for DeleteEventsByEventType Operation
public virtual DeleteEventsByEventTypeResponse EndDeleteEventsByEventType(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteEventType
///
/// 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.
///
/// 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 DeleteEventTypeResponse DeleteEventType(DeleteEventTypeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteEventTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteEventTypeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteEventType operation.
///
///
/// Container for the necessary parameters to execute the DeleteEventType operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteEventType
/// operation.
/// REST API Reference for DeleteEventType Operation
public virtual IAsyncResult BeginDeleteEventType(DeleteEventTypeRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteEventTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteEventTypeResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteEventType operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteEventType.
///
/// Returns a DeleteEventTypeResult from FraudDetector.
/// REST API Reference for DeleteEventType Operation
public virtual DeleteEventTypeResponse EndDeleteEventType(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteExternalModel
///
/// 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.
///
/// 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 DeleteExternalModelResponse DeleteExternalModel(DeleteExternalModelRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteExternalModelRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteExternalModelResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteExternalModel operation.
///
///
/// Container for the necessary parameters to execute the DeleteExternalModel operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteExternalModel
/// operation.
/// REST API Reference for DeleteExternalModel Operation
public virtual IAsyncResult BeginDeleteExternalModel(DeleteExternalModelRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteExternalModelRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteExternalModelResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteExternalModel operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteExternalModel.
///
/// Returns a DeleteExternalModelResult from FraudDetector.
/// REST API Reference for DeleteExternalModel Operation
public virtual DeleteExternalModelResponse EndDeleteExternalModel(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteLabel
///
/// 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.
///
/// 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 DeleteLabelResponse DeleteLabel(DeleteLabelRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteLabelRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteLabelResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteLabel operation.
///
///
/// Container for the necessary parameters to execute the DeleteLabel operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteLabel
/// operation.
/// REST API Reference for DeleteLabel Operation
public virtual IAsyncResult BeginDeleteLabel(DeleteLabelRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteLabelRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteLabelResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteLabel operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteLabel.
///
/// Returns a DeleteLabelResult from FraudDetector.
/// REST API Reference for DeleteLabel Operation
public virtual DeleteLabelResponse EndDeleteLabel(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteList
///
/// 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.
///
/// 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 DeleteListResponse DeleteList(DeleteListRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteListRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteListResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteList operation.
///
///
/// Container for the necessary parameters to execute the DeleteList operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteList
/// operation.
/// REST API Reference for DeleteList Operation
public virtual IAsyncResult BeginDeleteList(DeleteListRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteListRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteListResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteList operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteList.
///
/// Returns a DeleteListResult from FraudDetector.
/// REST API Reference for DeleteList Operation
public virtual DeleteListResponse EndDeleteList(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteModel
///
/// 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.
///
/// 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 DeleteModelResponse DeleteModel(DeleteModelRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteModelRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteModelResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteModel operation.
///
///
/// Container for the necessary parameters to execute the DeleteModel operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteModel
/// operation.
/// REST API Reference for DeleteModel Operation
public virtual IAsyncResult BeginDeleteModel(DeleteModelRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteModelRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteModelResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteModel operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteModel.
///
/// Returns a DeleteModelResult from FraudDetector.
/// REST API Reference for DeleteModel Operation
public virtual DeleteModelResponse EndDeleteModel(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteModelVersion
///
/// 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.
///
/// 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 DeleteModelVersionResponse DeleteModelVersion(DeleteModelVersionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteModelVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteModelVersionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteModelVersion operation.
///
///
/// Container for the necessary parameters to execute the DeleteModelVersion operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteModelVersion
/// operation.
/// REST API Reference for DeleteModelVersion Operation
public virtual IAsyncResult BeginDeleteModelVersion(DeleteModelVersionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteModelVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteModelVersionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteModelVersion operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteModelVersion.
///
/// Returns a DeleteModelVersionResult from FraudDetector.
/// REST API Reference for DeleteModelVersion Operation
public virtual DeleteModelVersionResponse EndDeleteModelVersion(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteOutcome
///
/// 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.
///
/// 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 DeleteOutcomeResponse DeleteOutcome(DeleteOutcomeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteOutcomeRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteOutcomeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteOutcome operation.
///
///
/// Container for the necessary parameters to execute the DeleteOutcome operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteOutcome
/// operation.
/// REST API Reference for DeleteOutcome Operation
public virtual IAsyncResult BeginDeleteOutcome(DeleteOutcomeRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteOutcomeRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteOutcomeResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteOutcome operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteOutcome.
///
/// Returns a DeleteOutcomeResult from FraudDetector.
/// REST API Reference for DeleteOutcome Operation
public virtual DeleteOutcomeResponse EndDeleteOutcome(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteRule
///
/// 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.
///
/// 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 DeleteRuleResponse DeleteRule(DeleteRuleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRuleResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteRule operation.
///
///
/// Container for the necessary parameters to execute the DeleteRule operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteRule
/// operation.
/// REST API Reference for DeleteRule Operation
public virtual IAsyncResult BeginDeleteRule(DeleteRuleRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRuleRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRuleResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteRule operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteRule.
///
/// Returns a DeleteRuleResult from FraudDetector.
/// REST API Reference for DeleteRule Operation
public virtual DeleteRuleResponse EndDeleteRule(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteVariable
///
/// 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.
///
/// 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 DeleteVariableResponse DeleteVariable(DeleteVariableRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteVariableRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteVariableResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteVariable operation.
///
///
/// Container for the necessary parameters to execute the DeleteVariable operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteVariable
/// operation.
/// REST API Reference for DeleteVariable Operation
public virtual IAsyncResult BeginDeleteVariable(DeleteVariableRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteVariableRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteVariableResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteVariable operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteVariable.
///
/// Returns a DeleteVariableResult from FraudDetector.
/// REST API Reference for DeleteVariable Operation
public virtual DeleteVariableResponse EndDeleteVariable(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeDetector
///
/// Gets all versions for a specified detector.
///
/// Container for the necessary parameters to execute the DescribeDetector service method.
///
/// 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 DescribeDetectorResponse DescribeDetector(DescribeDetectorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDetectorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDetectorResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeDetector operation.
///
///
/// Container for the necessary parameters to execute the DescribeDetector operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeDetector
/// operation.
/// REST API Reference for DescribeDetector Operation
public virtual IAsyncResult BeginDescribeDetector(DescribeDetectorRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeDetectorRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeDetectorResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeDetector operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeDetector.
///
/// Returns a DescribeDetectorResult from FraudDetector.
/// REST API Reference for DescribeDetector Operation
public virtual DescribeDetectorResponse EndDescribeDetector(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeModelVersions
///
/// 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.
///
/// 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 DescribeModelVersionsResponse DescribeModelVersions(DescribeModelVersionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeModelVersionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeModelVersionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeModelVersions operation.
///
///
/// Container for the necessary parameters to execute the DescribeModelVersions operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeModelVersions
/// operation.
/// REST API Reference for DescribeModelVersions Operation
public virtual IAsyncResult BeginDescribeModelVersions(DescribeModelVersionsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeModelVersionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeModelVersionsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeModelVersions operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeModelVersions.
///
/// Returns a DescribeModelVersionsResult from FraudDetector.
/// REST API Reference for DescribeModelVersions Operation
public virtual DescribeModelVersionsResponse EndDescribeModelVersions(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetBatchImportJobs
///
/// 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.
///
/// 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 GetBatchImportJobsResponse GetBatchImportJobs(GetBatchImportJobsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBatchImportJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBatchImportJobsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetBatchImportJobs operation.
///
///
/// Container for the necessary parameters to execute the GetBatchImportJobs operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetBatchImportJobs
/// operation.
/// REST API Reference for GetBatchImportJobs Operation
public virtual IAsyncResult BeginGetBatchImportJobs(GetBatchImportJobsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBatchImportJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBatchImportJobsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetBatchImportJobs operation.
///
///
/// The IAsyncResult returned by the call to BeginGetBatchImportJobs.
///
/// Returns a GetBatchImportJobsResult from FraudDetector.
/// REST API Reference for GetBatchImportJobs Operation
public virtual GetBatchImportJobsResponse EndGetBatchImportJobs(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetBatchPredictionJobs
///
/// 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.
///
/// 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 GetBatchPredictionJobsResponse GetBatchPredictionJobs(GetBatchPredictionJobsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBatchPredictionJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBatchPredictionJobsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetBatchPredictionJobs operation.
///
///
/// Container for the necessary parameters to execute the GetBatchPredictionJobs operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetBatchPredictionJobs
/// operation.
/// REST API Reference for GetBatchPredictionJobs Operation
public virtual IAsyncResult BeginGetBatchPredictionJobs(GetBatchPredictionJobsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetBatchPredictionJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetBatchPredictionJobsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetBatchPredictionJobs operation.
///
///
/// The IAsyncResult returned by the call to BeginGetBatchPredictionJobs.
///
/// Returns a GetBatchPredictionJobsResult from FraudDetector.
/// REST API Reference for GetBatchPredictionJobs Operation
public virtual GetBatchPredictionJobsResponse EndGetBatchPredictionJobs(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetDeleteEventsByEventTypeStatus
///
/// Retrieves the status of a DeleteEventsByEventType
action.
///
/// Container for the necessary parameters to execute the GetDeleteEventsByEventTypeStatus service method.
///
/// 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 GetDeleteEventsByEventTypeStatusResponse GetDeleteEventsByEventTypeStatus(GetDeleteEventsByEventTypeStatusRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDeleteEventsByEventTypeStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDeleteEventsByEventTypeStatusResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetDeleteEventsByEventTypeStatus operation.
///
///
/// Container for the necessary parameters to execute the GetDeleteEventsByEventTypeStatus operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDeleteEventsByEventTypeStatus
/// operation.
/// REST API Reference for GetDeleteEventsByEventTypeStatus Operation
public virtual IAsyncResult BeginGetDeleteEventsByEventTypeStatus(GetDeleteEventsByEventTypeStatusRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDeleteEventsByEventTypeStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDeleteEventsByEventTypeStatusResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetDeleteEventsByEventTypeStatus operation.
///
///
/// The IAsyncResult returned by the call to BeginGetDeleteEventsByEventTypeStatus.
///
/// Returns a GetDeleteEventsByEventTypeStatusResult from FraudDetector.
/// REST API Reference for GetDeleteEventsByEventTypeStatus Operation
public virtual GetDeleteEventsByEventTypeStatusResponse EndGetDeleteEventsByEventTypeStatus(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetDetectors
///
/// 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.
///
/// 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 GetDetectorsResponse GetDetectors(GetDetectorsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDetectorsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDetectorsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetDetectors operation.
///
///
/// Container for the necessary parameters to execute the GetDetectors operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDetectors
/// operation.
/// REST API Reference for GetDetectors Operation
public virtual IAsyncResult BeginGetDetectors(GetDetectorsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDetectorsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDetectorsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetDetectors operation.
///
///
/// The IAsyncResult returned by the call to BeginGetDetectors.
///
/// Returns a GetDetectorsResult from FraudDetector.
/// REST API Reference for GetDetectors Operation
public virtual GetDetectorsResponse EndGetDetectors(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetDetectorVersion
///
/// Gets a particular detector version.
///
/// Container for the necessary parameters to execute the GetDetectorVersion service method.
///
/// 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 GetDetectorVersionResponse GetDetectorVersion(GetDetectorVersionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDetectorVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDetectorVersionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetDetectorVersion operation.
///
///
/// Container for the necessary parameters to execute the GetDetectorVersion operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDetectorVersion
/// operation.
/// REST API Reference for GetDetectorVersion Operation
public virtual IAsyncResult BeginGetDetectorVersion(GetDetectorVersionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDetectorVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDetectorVersionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetDetectorVersion operation.
///
///
/// The IAsyncResult returned by the call to BeginGetDetectorVersion.
///
/// Returns a GetDetectorVersionResult from FraudDetector.
/// REST API Reference for GetDetectorVersion Operation
public virtual GetDetectorVersionResponse EndGetDetectorVersion(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetEntityTypes
///
/// 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.
///
/// 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 GetEntityTypesResponse GetEntityTypes(GetEntityTypesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEntityTypesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEntityTypesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetEntityTypes operation.
///
///
/// Container for the necessary parameters to execute the GetEntityTypes operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetEntityTypes
/// operation.
/// REST API Reference for GetEntityTypes Operation
public virtual IAsyncResult BeginGetEntityTypes(GetEntityTypesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEntityTypesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEntityTypesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetEntityTypes operation.
///
///
/// The IAsyncResult returned by the call to BeginGetEntityTypes.
///
/// Returns a GetEntityTypesResult from FraudDetector.
/// REST API Reference for GetEntityTypes Operation
public virtual GetEntityTypesResponse EndGetEntityTypes(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetEvent
///
/// 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.
///
/// 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 GetEventResponse GetEvent(GetEventRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEventRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEventResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetEvent operation.
///
///
/// Container for the necessary parameters to execute the GetEvent operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetEvent
/// operation.
/// REST API Reference for GetEvent Operation
public virtual IAsyncResult BeginGetEvent(GetEventRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEventRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEventResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetEvent operation.
///
///
/// The IAsyncResult returned by the call to BeginGetEvent.
///
/// Returns a GetEventResult from FraudDetector.
/// REST API Reference for GetEvent Operation
public virtual GetEventResponse EndGetEvent(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetEventPrediction
///
/// 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.
///
/// 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 GetEventPredictionResponse GetEventPrediction(GetEventPredictionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEventPredictionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEventPredictionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetEventPrediction operation.
///
///
/// Container for the necessary parameters to execute the GetEventPrediction operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetEventPrediction
/// operation.
/// REST API Reference for GetEventPrediction Operation
public virtual IAsyncResult BeginGetEventPrediction(GetEventPredictionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEventPredictionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEventPredictionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetEventPrediction operation.
///
///
/// The IAsyncResult returned by the call to BeginGetEventPrediction.
///
/// Returns a GetEventPredictionResult from FraudDetector.
/// REST API Reference for GetEventPrediction Operation
public virtual GetEventPredictionResponse EndGetEventPrediction(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetEventPredictionMetadata
///
/// 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.
///
/// 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 GetEventPredictionMetadataResponse GetEventPredictionMetadata(GetEventPredictionMetadataRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEventPredictionMetadataRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEventPredictionMetadataResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetEventPredictionMetadata operation.
///
///
/// Container for the necessary parameters to execute the GetEventPredictionMetadata operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetEventPredictionMetadata
/// operation.
/// REST API Reference for GetEventPredictionMetadata Operation
public virtual IAsyncResult BeginGetEventPredictionMetadata(GetEventPredictionMetadataRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEventPredictionMetadataRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEventPredictionMetadataResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetEventPredictionMetadata operation.
///
///
/// The IAsyncResult returned by the call to BeginGetEventPredictionMetadata.
///
/// Returns a GetEventPredictionMetadataResult from FraudDetector.
/// REST API Reference for GetEventPredictionMetadata Operation
public virtual GetEventPredictionMetadataResponse EndGetEventPredictionMetadata(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetEventTypes
///
/// 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.
///
/// 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 GetEventTypesResponse GetEventTypes(GetEventTypesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEventTypesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEventTypesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetEventTypes operation.
///
///
/// Container for the necessary parameters to execute the GetEventTypes operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetEventTypes
/// operation.
/// REST API Reference for GetEventTypes Operation
public virtual IAsyncResult BeginGetEventTypes(GetEventTypesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEventTypesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEventTypesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetEventTypes operation.
///
///
/// The IAsyncResult returned by the call to BeginGetEventTypes.
///
/// Returns a GetEventTypesResult from FraudDetector.
/// REST API Reference for GetEventTypes Operation
public virtual GetEventTypesResponse EndGetEventTypes(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetExternalModels
///
/// 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.
///
/// 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 GetExternalModelsResponse GetExternalModels(GetExternalModelsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetExternalModelsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetExternalModelsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetExternalModels operation.
///
///
/// Container for the necessary parameters to execute the GetExternalModels operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetExternalModels
/// operation.
/// REST API Reference for GetExternalModels Operation
public virtual IAsyncResult BeginGetExternalModels(GetExternalModelsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetExternalModelsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetExternalModelsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetExternalModels operation.
///
///
/// The IAsyncResult returned by the call to BeginGetExternalModels.
///
/// Returns a GetExternalModelsResult from FraudDetector.
/// REST API Reference for GetExternalModels Operation
public virtual GetExternalModelsResponse EndGetExternalModels(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetKMSEncryptionKey
///
/// 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.
///
/// 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 GetKMSEncryptionKeyResponse GetKMSEncryptionKey(GetKMSEncryptionKeyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetKMSEncryptionKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetKMSEncryptionKeyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetKMSEncryptionKey operation.
///
///
/// Container for the necessary parameters to execute the GetKMSEncryptionKey operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetKMSEncryptionKey
/// operation.
/// REST API Reference for GetKMSEncryptionKey Operation
public virtual IAsyncResult BeginGetKMSEncryptionKey(GetKMSEncryptionKeyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetKMSEncryptionKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetKMSEncryptionKeyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetKMSEncryptionKey operation.
///
///
/// The IAsyncResult returned by the call to BeginGetKMSEncryptionKey.
///
/// Returns a GetKMSEncryptionKeyResult from FraudDetector.
/// REST API Reference for GetKMSEncryptionKey Operation
public virtual GetKMSEncryptionKeyResponse EndGetKMSEncryptionKey(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetLabels
///
/// 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.
///
/// 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 GetLabelsResponse GetLabels(GetLabelsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetLabelsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetLabelsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetLabels operation.
///
///
/// Container for the necessary parameters to execute the GetLabels operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetLabels
/// operation.
/// REST API Reference for GetLabels Operation
public virtual IAsyncResult BeginGetLabels(GetLabelsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetLabelsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetLabelsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetLabels operation.
///
///
/// The IAsyncResult returned by the call to BeginGetLabels.
///
/// Returns a GetLabelsResult from FraudDetector.
/// REST API Reference for GetLabels Operation
public virtual GetLabelsResponse EndGetLabels(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetListElements
///
/// Gets all the elements in the specified list.
///
/// Container for the necessary parameters to execute the GetListElements service method.
///
/// 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 GetListElementsResponse GetListElements(GetListElementsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetListElementsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetListElementsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetListElements operation.
///
///
/// Container for the necessary parameters to execute the GetListElements operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetListElements
/// operation.
/// REST API Reference for GetListElements Operation
public virtual IAsyncResult BeginGetListElements(GetListElementsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetListElementsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetListElementsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetListElements operation.
///
///
/// The IAsyncResult returned by the call to BeginGetListElements.
///
/// Returns a GetListElementsResult from FraudDetector.
/// REST API Reference for GetListElements Operation
public virtual GetListElementsResponse EndGetListElements(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetListsMetadata
///
/// 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.
///
/// 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 GetListsMetadataResponse GetListsMetadata(GetListsMetadataRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetListsMetadataRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetListsMetadataResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetListsMetadata operation.
///
///
/// Container for the necessary parameters to execute the GetListsMetadata operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetListsMetadata
/// operation.
/// REST API Reference for GetListsMetadata Operation
public virtual IAsyncResult BeginGetListsMetadata(GetListsMetadataRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetListsMetadataRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetListsMetadataResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetListsMetadata operation.
///
///
/// The IAsyncResult returned by the call to BeginGetListsMetadata.
///
/// Returns a GetListsMetadataResult from FraudDetector.
/// REST API Reference for GetListsMetadata Operation
public virtual GetListsMetadataResponse EndGetListsMetadata(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetModels
///
/// 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.
///
/// 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 GetModelsResponse GetModels(GetModelsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetModelsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetModelsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetModels operation.
///
///
/// Container for the necessary parameters to execute the GetModels operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetModels
/// operation.
/// REST API Reference for GetModels Operation
public virtual IAsyncResult BeginGetModels(GetModelsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetModelsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetModelsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetModels operation.
///
///
/// The IAsyncResult returned by the call to BeginGetModels.
///
/// Returns a GetModelsResult from FraudDetector.
/// REST API Reference for GetModels Operation
public virtual GetModelsResponse EndGetModels(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetModelVersion
///
/// Gets the details of the specified model version.
///
/// Container for the necessary parameters to execute the GetModelVersion service method.
///
/// 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 GetModelVersionResponse GetModelVersion(GetModelVersionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetModelVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetModelVersionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetModelVersion operation.
///
///
/// Container for the necessary parameters to execute the GetModelVersion operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetModelVersion
/// operation.
/// REST API Reference for GetModelVersion Operation
public virtual IAsyncResult BeginGetModelVersion(GetModelVersionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetModelVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetModelVersionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetModelVersion operation.
///
///
/// The IAsyncResult returned by the call to BeginGetModelVersion.
///
/// Returns a GetModelVersionResult from FraudDetector.
/// REST API Reference for GetModelVersion Operation
public virtual GetModelVersionResponse EndGetModelVersion(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetOutcomes
///
/// 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.
///
/// 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 GetOutcomesResponse GetOutcomes(GetOutcomesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetOutcomesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetOutcomesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetOutcomes operation.
///
///
/// Container for the necessary parameters to execute the GetOutcomes operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetOutcomes
/// operation.
/// REST API Reference for GetOutcomes Operation
public virtual IAsyncResult BeginGetOutcomes(GetOutcomesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetOutcomesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetOutcomesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetOutcomes operation.
///
///
/// The IAsyncResult returned by the call to BeginGetOutcomes.
///
/// Returns a GetOutcomesResult from FraudDetector.
/// REST API Reference for GetOutcomes Operation
public virtual GetOutcomesResponse EndGetOutcomes(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetRules
///
/// 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.
///
/// 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 GetRulesResponse GetRules(GetRulesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRulesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRulesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetRules operation.
///
///
/// Container for the necessary parameters to execute the GetRules operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetRules
/// operation.
/// REST API Reference for GetRules Operation
public virtual IAsyncResult BeginGetRules(GetRulesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRulesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRulesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetRules operation.
///
///
/// The IAsyncResult returned by the call to BeginGetRules.
///
/// Returns a GetRulesResult from FraudDetector.
/// REST API Reference for GetRules Operation
public virtual GetRulesResponse EndGetRules(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetVariables
///
/// 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.
///
/// 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 GetVariablesResponse GetVariables(GetVariablesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetVariablesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetVariablesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetVariables operation.
///
///
/// Container for the necessary parameters to execute the GetVariables operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetVariables
/// operation.
/// REST API Reference for GetVariables Operation
public virtual IAsyncResult BeginGetVariables(GetVariablesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetVariablesRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetVariablesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetVariables operation.
///
///
/// The IAsyncResult returned by the call to BeginGetVariables.
///
/// Returns a GetVariablesResult from FraudDetector.
/// REST API Reference for GetVariables Operation
public virtual GetVariablesResponse EndGetVariables(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListEventPredictions
///
/// 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.
///
/// 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 ListEventPredictionsResponse ListEventPredictions(ListEventPredictionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListEventPredictionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListEventPredictionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListEventPredictions operation.
///
///
/// Container for the necessary parameters to execute the ListEventPredictions operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListEventPredictions
/// operation.
/// REST API Reference for ListEventPredictions Operation
public virtual IAsyncResult BeginListEventPredictions(ListEventPredictionsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListEventPredictionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListEventPredictionsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListEventPredictions operation.
///
///
/// The IAsyncResult returned by the call to BeginListEventPredictions.
///
/// Returns a ListEventPredictionsResult from FraudDetector.
/// REST API Reference for ListEventPredictions Operation
public virtual ListEventPredictionsResponse EndListEventPredictions(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListTagsForResource
///
/// 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.
///
/// 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 ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListTagsForResource operation.
///
///
/// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource
/// operation.
/// REST API Reference for ListTagsForResource Operation
public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListTagsForResource operation.
///
///
/// The IAsyncResult returned by the call to BeginListTagsForResource.
///
/// Returns a ListTagsForResourceResult from FraudDetector.
/// REST API Reference for ListTagsForResource Operation
public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region PutDetector
///
/// Creates or updates a detector.
///
/// Container for the necessary parameters to execute the PutDetector service method.
///
/// 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 PutDetectorResponse PutDetector(PutDetectorRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutDetectorRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutDetectorResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the PutDetector operation.
///
///
/// Container for the necessary parameters to execute the PutDetector operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutDetector
/// operation.
/// REST API Reference for PutDetector Operation
public virtual IAsyncResult BeginPutDetector(PutDetectorRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutDetectorRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutDetectorResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the PutDetector operation.
///
///
/// The IAsyncResult returned by the call to BeginPutDetector.
///
/// Returns a PutDetectorResult from FraudDetector.
/// REST API Reference for PutDetector Operation
public virtual PutDetectorResponse EndPutDetector(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region PutEntityType
///
/// 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.
///
/// 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 PutEntityTypeResponse PutEntityType(PutEntityTypeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutEntityTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutEntityTypeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the PutEntityType operation.
///
///
/// Container for the necessary parameters to execute the PutEntityType operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutEntityType
/// operation.
/// REST API Reference for PutEntityType Operation
public virtual IAsyncResult BeginPutEntityType(PutEntityTypeRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutEntityTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutEntityTypeResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the PutEntityType operation.
///
///
/// The IAsyncResult returned by the call to BeginPutEntityType.
///
/// Returns a PutEntityTypeResult from FraudDetector.
/// REST API Reference for PutEntityType Operation
public virtual PutEntityTypeResponse EndPutEntityType(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region PutEventType
///
/// 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.
///
/// 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 PutEventTypeResponse PutEventType(PutEventTypeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutEventTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutEventTypeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the PutEventType operation.
///
///
/// Container for the necessary parameters to execute the PutEventType operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutEventType
/// operation.
/// REST API Reference for PutEventType Operation
public virtual IAsyncResult BeginPutEventType(PutEventTypeRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutEventTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutEventTypeResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the PutEventType operation.
///
///
/// The IAsyncResult returned by the call to BeginPutEventType.
///
/// Returns a PutEventTypeResult from FraudDetector.
/// REST API Reference for PutEventType Operation
public virtual PutEventTypeResponse EndPutEventType(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region PutExternalModel
///
/// 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.
///
/// 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 PutExternalModelResponse PutExternalModel(PutExternalModelRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutExternalModelRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutExternalModelResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the PutExternalModel operation.
///
///
/// Container for the necessary parameters to execute the PutExternalModel operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutExternalModel
/// operation.
/// REST API Reference for PutExternalModel Operation
public virtual IAsyncResult BeginPutExternalModel(PutExternalModelRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutExternalModelRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutExternalModelResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the PutExternalModel operation.
///
///
/// The IAsyncResult returned by the call to BeginPutExternalModel.
///
/// Returns a PutExternalModelResult from FraudDetector.
/// REST API Reference for PutExternalModel Operation
public virtual PutExternalModelResponse EndPutExternalModel(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region PutKMSEncryptionKey
///
/// 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.
///
/// 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 PutKMSEncryptionKeyResponse PutKMSEncryptionKey(PutKMSEncryptionKeyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutKMSEncryptionKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutKMSEncryptionKeyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the PutKMSEncryptionKey operation.
///
///
/// Container for the necessary parameters to execute the PutKMSEncryptionKey operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutKMSEncryptionKey
/// operation.
/// REST API Reference for PutKMSEncryptionKey Operation
public virtual IAsyncResult BeginPutKMSEncryptionKey(PutKMSEncryptionKeyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutKMSEncryptionKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutKMSEncryptionKeyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the PutKMSEncryptionKey operation.
///
///
/// The IAsyncResult returned by the call to BeginPutKMSEncryptionKey.
///
/// Returns a PutKMSEncryptionKeyResult from FraudDetector.
/// REST API Reference for PutKMSEncryptionKey Operation
public virtual PutKMSEncryptionKeyResponse EndPutKMSEncryptionKey(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region PutLabel
///
/// 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.
///
/// 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 PutLabelResponse PutLabel(PutLabelRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutLabelRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutLabelResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the PutLabel operation.
///
///
/// Container for the necessary parameters to execute the PutLabel operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutLabel
/// operation.
/// REST API Reference for PutLabel Operation
public virtual IAsyncResult BeginPutLabel(PutLabelRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutLabelRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutLabelResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the PutLabel operation.
///
///
/// The IAsyncResult returned by the call to BeginPutLabel.
///
/// Returns a PutLabelResult from FraudDetector.
/// REST API Reference for PutLabel Operation
public virtual PutLabelResponse EndPutLabel(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region PutOutcome
///
/// Creates or updates an outcome.
///
/// Container for the necessary parameters to execute the PutOutcome service method.
///
/// 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 PutOutcomeResponse PutOutcome(PutOutcomeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutOutcomeRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutOutcomeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the PutOutcome operation.
///
///
/// Container for the necessary parameters to execute the PutOutcome operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutOutcome
/// operation.
/// REST API Reference for PutOutcome Operation
public virtual IAsyncResult BeginPutOutcome(PutOutcomeRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutOutcomeRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutOutcomeResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the PutOutcome operation.
///
///
/// The IAsyncResult returned by the call to BeginPutOutcome.
///
/// Returns a PutOutcomeResult from FraudDetector.
/// REST API Reference for PutOutcome Operation
public virtual PutOutcomeResponse EndPutOutcome(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region SendEvent
///
/// 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.
///
/// 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 SendEventResponse SendEvent(SendEventRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = SendEventRequestMarshaller.Instance;
options.ResponseUnmarshaller = SendEventResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the SendEvent operation.
///
///
/// Container for the necessary parameters to execute the SendEvent operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndSendEvent
/// operation.
/// REST API Reference for SendEvent Operation
public virtual IAsyncResult BeginSendEvent(SendEventRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = SendEventRequestMarshaller.Instance;
options.ResponseUnmarshaller = SendEventResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the SendEvent operation.
///
///
/// The IAsyncResult returned by the call to BeginSendEvent.
///
/// Returns a SendEventResult from FraudDetector.
/// REST API Reference for SendEvent Operation
public virtual SendEventResponse EndSendEvent(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region TagResource
///
/// Assigns tags to a resource.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// The response from the TagResource service method, as returned by 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 TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the TagResource operation.
///
///
/// Container for the necessary parameters to execute the TagResource operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource
/// operation.
/// REST API Reference for TagResource Operation
public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the TagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginTagResource.
///
/// Returns a TagResourceResult from FraudDetector.
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UntagResource
///
/// Removes tags from a resource.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// 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 UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UntagResource operation.
///
///
/// Container for the necessary parameters to execute the UntagResource operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource
/// operation.
/// REST API Reference for UntagResource Operation
public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UntagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginUntagResource.
///
/// Returns a UntagResourceResult from FraudDetector.
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateDetectorVersion
///
/// 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.
///
/// 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 UpdateDetectorVersionResponse UpdateDetectorVersion(UpdateDetectorVersionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDetectorVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDetectorVersionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateDetectorVersion operation.
///
///
/// Container for the necessary parameters to execute the UpdateDetectorVersion operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateDetectorVersion
/// operation.
/// REST API Reference for UpdateDetectorVersion Operation
public virtual IAsyncResult BeginUpdateDetectorVersion(UpdateDetectorVersionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDetectorVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDetectorVersionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateDetectorVersion operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateDetectorVersion.
///
/// Returns a UpdateDetectorVersionResult from FraudDetector.
/// REST API Reference for UpdateDetectorVersion Operation
public virtual UpdateDetectorVersionResponse EndUpdateDetectorVersion(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateDetectorVersionMetadata
///
/// 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.
///
/// 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 UpdateDetectorVersionMetadataResponse UpdateDetectorVersionMetadata(UpdateDetectorVersionMetadataRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDetectorVersionMetadataRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDetectorVersionMetadataResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateDetectorVersionMetadata operation.
///
///
/// Container for the necessary parameters to execute the UpdateDetectorVersionMetadata operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateDetectorVersionMetadata
/// operation.
/// REST API Reference for UpdateDetectorVersionMetadata Operation
public virtual IAsyncResult BeginUpdateDetectorVersionMetadata(UpdateDetectorVersionMetadataRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDetectorVersionMetadataRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDetectorVersionMetadataResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateDetectorVersionMetadata operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateDetectorVersionMetadata.
///
/// Returns a UpdateDetectorVersionMetadataResult from FraudDetector.
/// REST API Reference for UpdateDetectorVersionMetadata Operation
public virtual UpdateDetectorVersionMetadataResponse EndUpdateDetectorVersionMetadata(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateDetectorVersionStatus
///
/// 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.
///
/// 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 UpdateDetectorVersionStatusResponse UpdateDetectorVersionStatus(UpdateDetectorVersionStatusRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDetectorVersionStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDetectorVersionStatusResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateDetectorVersionStatus operation.
///
///
/// Container for the necessary parameters to execute the UpdateDetectorVersionStatus operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateDetectorVersionStatus
/// operation.
/// REST API Reference for UpdateDetectorVersionStatus Operation
public virtual IAsyncResult BeginUpdateDetectorVersionStatus(UpdateDetectorVersionStatusRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateDetectorVersionStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateDetectorVersionStatusResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateDetectorVersionStatus operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateDetectorVersionStatus.
///
/// Returns a UpdateDetectorVersionStatusResult from FraudDetector.
/// REST API Reference for UpdateDetectorVersionStatus Operation
public virtual UpdateDetectorVersionStatusResponse EndUpdateDetectorVersionStatus(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateEventLabel
///
/// Updates the specified event with a new label.
///
/// Container for the necessary parameters to execute the UpdateEventLabel service method.
///
/// 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 UpdateEventLabelResponse UpdateEventLabel(UpdateEventLabelRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateEventLabelRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateEventLabelResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateEventLabel operation.
///
///
/// Container for the necessary parameters to execute the UpdateEventLabel operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateEventLabel
/// operation.
/// REST API Reference for UpdateEventLabel Operation
public virtual IAsyncResult BeginUpdateEventLabel(UpdateEventLabelRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateEventLabelRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateEventLabelResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateEventLabel operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateEventLabel.
///
/// Returns a UpdateEventLabelResult from FraudDetector.
/// REST API Reference for UpdateEventLabel Operation
public virtual UpdateEventLabelResponse EndUpdateEventLabel(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateList
///
/// Updates a list.
///
/// Container for the necessary parameters to execute the UpdateList service method.
///
/// 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 UpdateListResponse UpdateList(UpdateListRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateListRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateListResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateList operation.
///
///
/// Container for the necessary parameters to execute the UpdateList operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateList
/// operation.
/// REST API Reference for UpdateList Operation
public virtual IAsyncResult BeginUpdateList(UpdateListRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateListRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateListResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateList operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateList.
///
/// Returns a UpdateListResult from FraudDetector.
/// REST API Reference for UpdateList Operation
public virtual UpdateListResponse EndUpdateList(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateModel
///
/// Updates model description.
///
/// Container for the necessary parameters to execute the UpdateModel service method.
///
/// 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 UpdateModelResponse UpdateModel(UpdateModelRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateModelRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateModelResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateModel operation.
///
///
/// Container for the necessary parameters to execute the UpdateModel operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateModel
/// operation.
/// REST API Reference for UpdateModel Operation
public virtual IAsyncResult BeginUpdateModel(UpdateModelRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateModelRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateModelResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateModel operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateModel.
///
/// Returns a UpdateModelResult from FraudDetector.
/// REST API Reference for UpdateModel Operation
public virtual UpdateModelResponse EndUpdateModel(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateModelVersion
///
/// 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.
///
/// 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 UpdateModelVersionResponse UpdateModelVersion(UpdateModelVersionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateModelVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateModelVersionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateModelVersion operation.
///
///
/// Container for the necessary parameters to execute the UpdateModelVersion operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateModelVersion
/// operation.
/// REST API Reference for UpdateModelVersion Operation
public virtual IAsyncResult BeginUpdateModelVersion(UpdateModelVersionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateModelVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateModelVersionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateModelVersion operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateModelVersion.
///
/// Returns a UpdateModelVersionResult from FraudDetector.
/// REST API Reference for UpdateModelVersion Operation
public virtual UpdateModelVersionResponse EndUpdateModelVersion(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateModelVersionStatus
///
/// Updates the status of a model version.
///
///
///
/// You can perform the following status updates:
///
/// -
///
/// Change the
TRAINING_IN_PROGRESS
status to TRAINING_CANCELLED
.
///
/// -
///
/// Change the
TRAINING_COMPLETE
status to ACTIVE
.
///
/// -
///
/// Change
ACTIVE
to INACTIVE
.
///
///
///
/// Container for the necessary parameters to execute the UpdateModelVersionStatus service method.
///
/// 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 UpdateModelVersionStatusResponse UpdateModelVersionStatus(UpdateModelVersionStatusRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateModelVersionStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateModelVersionStatusResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateModelVersionStatus operation.
///
///
/// Container for the necessary parameters to execute the UpdateModelVersionStatus operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateModelVersionStatus
/// operation.
/// REST API Reference for UpdateModelVersionStatus Operation
public virtual IAsyncResult BeginUpdateModelVersionStatus(UpdateModelVersionStatusRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateModelVersionStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateModelVersionStatusResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateModelVersionStatus operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateModelVersionStatus.
///
/// Returns a UpdateModelVersionStatusResult from FraudDetector.
/// REST API Reference for UpdateModelVersionStatus Operation
public virtual UpdateModelVersionStatusResponse EndUpdateModelVersionStatus(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateRuleMetadata
///
/// Updates a rule's metadata. The description attribute can be updated.
///
/// Container for the necessary parameters to execute the UpdateRuleMetadata service method.
///
/// 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 UpdateRuleMetadataResponse UpdateRuleMetadata(UpdateRuleMetadataRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateRuleMetadataRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateRuleMetadataResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateRuleMetadata operation.
///
///
/// Container for the necessary parameters to execute the UpdateRuleMetadata operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateRuleMetadata
/// operation.
/// REST API Reference for UpdateRuleMetadata Operation
public virtual IAsyncResult BeginUpdateRuleMetadata(UpdateRuleMetadataRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateRuleMetadataRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateRuleMetadataResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateRuleMetadata operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateRuleMetadata.
///
/// Returns a UpdateRuleMetadataResult from FraudDetector.
/// REST API Reference for UpdateRuleMetadata Operation
public virtual UpdateRuleMetadataResponse EndUpdateRuleMetadata(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateRuleVersion
///
/// 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.
///
/// 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 UpdateRuleVersionResponse UpdateRuleVersion(UpdateRuleVersionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateRuleVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateRuleVersionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateRuleVersion operation.
///
///
/// Container for the necessary parameters to execute the UpdateRuleVersion operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateRuleVersion
/// operation.
/// REST API Reference for UpdateRuleVersion Operation
public virtual IAsyncResult BeginUpdateRuleVersion(UpdateRuleVersionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateRuleVersionRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateRuleVersionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateRuleVersion operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateRuleVersion.
///
/// Returns a UpdateRuleVersionResult from FraudDetector.
/// REST API Reference for UpdateRuleVersion Operation
public virtual UpdateRuleVersionResponse EndUpdateRuleVersion(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateVariable
///
/// Updates a variable.
///
/// Container for the necessary parameters to execute the UpdateVariable service method.
///
/// 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 UpdateVariableResponse UpdateVariable(UpdateVariableRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateVariableRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateVariableResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateVariable operation.
///
///
/// Container for the necessary parameters to execute the UpdateVariable operation on AmazonFraudDetectorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateVariable
/// operation.
/// REST API Reference for UpdateVariable Operation
public virtual IAsyncResult BeginUpdateVariable(UpdateVariableRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateVariableRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateVariableResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateVariable operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateVariable.
///
/// Returns a UpdateVariableResult from FraudDetector.
/// REST API Reference for UpdateVariable Operation
public virtual UpdateVariableResponse EndUpdateVariable(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
}
}